:root {
  color-scheme: light;
  --ink: #102e25; --green: #07563d; --muted: #51675c; --line: #d9e3dd; --paper: #f2f6f3;
  font-family: Poppins, "Noto Sans Bengali", system-ui, sans-serif; color: var(--ink); background: var(--paper);
}
* { box-sizing: border-box }
[hidden] { display: none !important }
body { margin: 0; line-height: 1.5 }
html[lang=bn] body { font-family: "Noto Sans Bengali", Poppins, system-ui, sans-serif; line-height: 1.65 }
a { color: inherit; text-decoration: none }
button { font: inherit; cursor: pointer }
a:focus-visible,button:focus-visible,summary:focus-visible { outline: 3px solid #de9114; outline-offset: 3px }
.wrap { width: min(calc(100% - 48px), 1220px); margin-inline: auto }
.mast { background: #fff; border-bottom: 1px solid var(--line) }
.mast-inner,.tools,.brand,.wide-nav,.languages,.edition,.panel-head,.member,.dialog-top,footer { display: flex; align-items: center }
.mast-inner { gap: 40px; min-height: 76px }
.brand { gap: 10px; flex-shrink: 0 }
.brand b { font: 900 17px/.98 Poppins,system-ui,sans-serif; letter-spacing: -.7px }
.crest { background: #0a4434; color: #ffe691; border-bottom: 3px solid #cba24c; border-radius: 9px 9px 18px 18px; width: 40px; height: 45px; display: grid; place-items: center; font: 32px/1 Georgia,serif }
.wide-nav { gap: 25px; font-size: .93rem; font-weight: 600 }
.wide-nav a:hover,.text-link:hover,.section-link:hover { text-decoration: underline }
.tools { margin-left: auto; gap: 16px }
.languages { border: 1px solid var(--line); border-radius: 8px; padding: 3px; background: var(--paper) }
.languages button { min-height: 34px; border: 0; background: transparent; color: var(--muted); padding: 4px 11px; border-radius: 5px; font-weight: 700 }
.languages [aria-pressed=true] { background: white; color: var(--ink); box-shadow: 0 1px 5px #183d2424 }
.account,.primary { display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 700 }
.account { background: var(--green); color: white; min-height: 42px; padding: 6px 18px }
.edition { padding: 25px 0 17px; justify-content: space-between; gap: 16px }
h1,h2,h3,p { margin: 0 }
h1 { font-size: clamp(2rem,3.1vw,2.8rem); line-height: 1.2; letter-spacing: -.055em }
.edition time { color: var(--muted); text-align: end; font-size: .94rem }
.lead-grid,.lower-grid { display: grid; gap: 18px }
.lead-grid { grid-template-columns: minmax(0,1.8fr) minmax(290px,1fr) }
.feature { position: relative; isolation: isolate; overflow: hidden; background: #003627; color: #fff; border-radius: 18px; min-height: 340px; display: flex; align-items: center }
.hero-art { position: absolute; right: 0; top: 0; width: 55%; height: 100%; object-fit: cover; object-position: center; z-index: -2 }
.feature::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#003627 36%,rgba(0,54,39,.84) 52%,rgba(0,54,39,.02) 74%) }
.feature-copy { padding: clamp(20px,3vw,38px); width: 66%; overflow-wrap: anywhere }
.kicker { color: #ffdf83; font-weight: 700; display: flex; align-items: center; gap: 9px; font-size: .92rem }
.rule { width: 24px; height: 3px; background: #ffdf83 }
.feature-meta,.feature-copy>p:not(.kicker) { color: #d3e8dc; font-size: .95rem }
.feature-meta { margin: 18px 0 5px }
.feature h2 { font-size: clamp(2rem,3.2vw,3rem); line-height: 1.12; letter-spacing: -.05em }
.feature h2 .versus { display: block; font-size: .82rem; letter-spacing: .08em; line-height: 1.5; margin: 3px 0; color: #d7cc91 }
.feature-copy>p:not(.kicker) { margin-top: 11px }
.primary { color: #173420; background: #ffda69; padding: 10px 18px; margin-top: 18px }
.primary:hover { background: #ffe799 }
.panel { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 22px; min-width: 0; display: flex; flex-direction: column }
.panel-head { justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 13px }
.panel h2 { font-size: 1.38rem; line-height: 1.32; letter-spacing: -.04em }
#scoreState,.sample { color: var(--muted); font-weight: 650; font-size: .83rem }
#scoreState.live { color: #b22d39 }
#scoreState.live::before { content: ''; display: inline-block; width: 7px; height: 7px; background: currentColor; border-radius: 50%; margin-right: 5px }
.score,.story,.rank { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding: 12px 0 }
.score:hover,.story:hover,.rank:hover { color: var(--green); background: #f5f9f6 }
.score .teams { flex: 1; min-width: 0 }
.teams span,.score-num span { display: block }
.score-num { text-align: end; color: var(--ink); font-variant-numeric: tabular-nums }
.teams span { font-weight: 650; font-size: .96rem; overflow-wrap: anywhere }
.score small,.story small { color: var(--muted); display: block; font-size: .8rem }
.score-time { font-size: .84rem; max-width: 7rem; text-align: end; color: var(--muted) }
.section-link,.text-link { color: var(--green); font-weight: 700; font-size: .92rem }
.section-link { display: block; border-top: 1px solid var(--line); margin-top: auto; padding-top: 12px }
.lower-grid { margin-top: 18px; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) }
.story img { width: 76px; height: 60px; border-radius: 7px; object-fit: cover; flex: none }
.story b { font-size: .98rem; line-height: 1.38; display: block }
.story small { margin-top: 4px }
.quiz { background: #fff9e9; border-color: #e8dfc2 }
.quiz h3 { font-size: 1.22rem; line-height: 1.45; margin: 5px 0 12px }
.options { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 17px }
.options a { background: #fffdfa; border: 1px solid #d8ccaa; border-radius: 7px; font-size: .88rem; padding: 6px 10px }
.options a:hover { border-color: var(--green) }
.rank { font-size: .94rem; min-height: 53px }
.rank .pos { display: grid; place-items: center; min-width: 29px; height: 31px; border-radius: 7px; background: #eef4ef; color: #255842; font-weight: 700 }
.rank strong { overflow-wrap: anywhere }
.rank .pts { margin-left: auto; white-space: nowrap; color: var(--muted) }
.empty { margin: 14px 0 20px; color: var(--muted); font-size: .95rem }
.member,#resume { background: #e5efe8; border-radius: 10px; padding: 12px 16px; margin-bottom: 14px }
.member { gap: 1rem; flex-wrap: wrap }
#stats { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .92rem }
.resume-link { font-weight: 700; text-decoration: underline }
.guide { margin: 22px 0 28px; font-size: .95rem }
.guide summary { cursor: pointer; font-weight: 650 }
.guide p { margin: 10px 0; max-width: 65ch }
footer { justify-content: space-between; border-top: 1px solid var(--line); padding: 19px 0 28px; color: var(--muted); font-size: .85rem }
dialog { border: 0; border-radius: 16px; padding: 25px; color: var(--ink); width: min(620px,92%); max-height: 85vh; overflow: auto }
dialog::backdrop { background: #09291fde }
.dialog-top { justify-content: space-between; color: var(--muted); margin-bottom: 16px }
.dialog-top button { border: 1px solid var(--line); padding: 6px 12px; border-radius: 6px; background: white }
#articleText { white-space: pre-line; margin: 16px 0; overflow-wrap: anywhere }
html[lang=bn] :is(h1,h2,h3) { letter-spacing: 0; line-height: 1.38 }
@media(max-width: 950px) {
  .wide-nav { display: none }
  .lower-grid { grid-template-columns: 1fr 1fr }
  .news { grid-row: span 2 }
  .lead-grid { grid-template-columns: 1.4fr 1fr }
}
@media(max-width: 700px) {
  .wrap { width: calc(100% - 28px) }
  .mast-inner { min-height: 64px; gap: 7px }
  .tools { gap: 6px }
  .brand { gap: 6px }
  .brand b { font-size: 13px }
  .crest { width: 30px; height: 35px; font-size: 24px }
  .languages button { font-size: .86rem; padding: 3px 7px }
  .account { padding: 6px 10px; font-size: .9rem }
  .edition { padding: 18px 0 12px }
  .edition time { font-size: .82rem }
  .lead-grid,.lower-grid { grid-template-columns: minmax(0,1fr); gap: 12px }
  .lower-grid { margin-top: 12px }
  .feature { min-height: 275px }
  .feature-copy { padding: 20px; width: 68% }
  .feature h2 { font-size: clamp(1.7rem,6vw,2.2rem) }
  .hero-art { object-position: 55% center }
  .panel { padding: 18px }
  .news { grid-row: auto }
  .member { gap: 4px }
}
