/* সব পত্রিকা / AllPapers.bd — logo-first directory, Bangla-first type, light + dark. */
:root {
  --bg: #f4f2ec;
  --surface: #ffffff;
  --surface-2: #faf8f3;
  --ink: #17201b;
  --ink-2: #3a453f;
  --muted: #69736d;
  --line: #e2ded3;
  --line-strong: #17201b;
  --green: #0b5d44;
  --green-2: #0e7556;
  --green-soft: #e6f2ec;
  --red: #e5322d;
  --star: #d99400;
  --plate: #ffffff;
  --plate-dark: #18211c;
  --on-green: #ffffff;
  --shadow-sm: 0 1px 2px rgba(23, 32, 27, .06);
  --shadow: 0 1px 2px rgba(23, 32, 27, .05), 0 8px 24px -14px rgba(23, 32, 27, .28);
  --radius: 14px;
  --text: "Noto Sans Bengali", "Hind Siliguri", "Nirmala UI", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head: "Anek Bangla", "Noto Sans Bengali", "Nirmala UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1311; --surface: #161d1a; --surface-2: #121815; --ink: #eef1ec; --ink-2: #cdd4cf; --muted: #9aa49e;
    --line: #26302b; --line-strong: #eef1ec; --green: #3fbf8f; --green-2: #5fd4a6; --green-soft: #15291f;
    --red: #ff6a5f; --star: #f5c04a; --plate: #f7f6f2; --plate-dark: #0a0f0c; --on-green: #06120c;
    --shadow-sm: none; --shadow: 0 1px 0 rgba(0,0,0,.35); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1311; --surface: #161d1a; --surface-2: #121815; --ink: #eef1ec; --ink-2: #cdd4cf; --muted: #9aa49e;
  --line: #26302b; --line-strong: #eef1ec; --green: #3fbf8f; --green-2: #5fd4a6; --green-soft: #15291f;
  --red: #ff6a5f; --star: #f5c04a; --plate: #f7f6f2; --plate-dark: #0a0f0c; --on-green: #06120c;
  --shadow-sm: none; --shadow: 0 1px 0 rgba(0,0,0,.35); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 0; letter-spacing: -.005em; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: var(--on-green); padding: 8px 12px; z-index: 60; border-radius: 8px; }
.skip:focus { left: 8px; }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }

/* Numbers: always the heavy headline face so Bangla digits read clearly. */
.count, .stats dd, .districts a span, .pill span, .hero-sub, .dateline { font-variant-numeric: tabular-nums; }
.count {
  display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 9px; margin-left: 10px;
  border-radius: 999px; background: var(--green-soft); color: var(--green); font: 700 15px/1 var(--head); vertical-align: middle;
}

/* ---------- Ribbon + header ---------- */
.ribbon { background: var(--green); color: #e7f3ec; font-size: 13.5px; }
:root[data-theme="dark"] .ribbon { background: #0b241a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ribbon { background: #0b241a; } }
.ribbon-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.dateline { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--head); font-weight: 500; font-size: 14.5px; letter-spacing: .01em; }
.tools { display: flex; align-items: center; gap: 6px; flex: none; }
.lang { font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; }
.lang:hover { background: rgba(255,255,255,.24); color: #fff; }
.icon-btn { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 999px; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; }
.icon-btn .i-sun { display: none; }
:root[data-theme="dark"] .icon-btn .i-sun { display: block; } :root[data-theme="dark"] .icon-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .icon-btn .i-sun { display: block; } :root:not([data-theme="light"]) .icon-btn .i-moon { display: none; } }

.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 44px; height: 44px; border-radius: 11px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-bn { font: 800 27px/1.05 var(--head); letter-spacing: -.01em; }
.brand-en { font: 600 12.5px/1 var(--text); color: var(--muted); letter-spacing: .14em; text-transform: lowercase; margin-top: 3px; }
.brand-en b { color: var(--red); font-weight: 700; }
.head-search { flex: 1; max-width: 560px; margin-left: auto; }
.my-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 15px; flex: none; }
.head-search + .my-link { margin-left: 0; }
.head-in > .brand + .my-link { margin-left: auto; }
.my-link span:first-child { color: var(--star); }

.sections { border-top: 1px solid var(--line); }
.scroller { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 10px 12px; font: 600 15.5px/1.2 var(--head); color: var(--ink-2); border-bottom: 3px solid transparent; white-space: nowrap; }
.tab:hover { color: var(--green); }
.tab.is-on { color: var(--green); border-bottom-color: var(--green); }

/* ---------- Search ---------- */
.search { position: relative; display: flex; align-items: center; width: 100%; }
.search > svg { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 46px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--ink);
  padding: 0 44px 0 44px; font: 500 16px var(--text); -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--green); background: var(--surface); box-shadow: 0 0 0 4px var(--green-soft); }
.kbd { position: absolute; right: 14px; font: 600 12px var(--text); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 0 7px; }
.search-big input { height: 60px; font-size: 18px; padding-left: 52px; background: var(--surface); box-shadow: var(--shadow); border-color: transparent; }
.search-big > svg { left: 18px; width: 24px; height: 24px; color: var(--green); }
.results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; z-index: 50; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -20px rgba(0,0,0,.4); max-height: min(70vh, 560px); overflow: auto; text-align: left; }
.results li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; cursor: pointer; }
.results li[aria-selected="true"], .results li:hover { background: var(--green-soft); }
.results .r-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.results .r-logo { flex: none; width: 92px; height: 40px; border-radius: 8px; background: var(--plate); border: 1px solid var(--line); display: grid; place-items: center; padding: 4px 6px; overflow: hidden; }
.results .r-logo.is-light { background: var(--plate-dark); }
.results .r-logo img { max-width: 100%; max-height: 30px; object-fit: contain; }
.results .r-logo .wm-mono { width: 28px; height: 28px; font-size: 14px; }
.results .r-text { min-width: 0; display: flex; flex-direction: column; }
.results .r-name { font: 600 16px/1.3 var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.results .r-meta { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.results .r-link { font-size: 13px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.results .r-empty { color: var(--muted); cursor: default; }

/* ---------- Hero ---------- */
main { padding-top: 22px; padding-bottom: 56px; }
.hero {
  position: relative; overflow: hidden; border-radius: 22px; padding: 44px 24px 0; margin-bottom: 8px; text-align: center;
  background:
    radial-gradient(520px 260px at 92% -10%, color-mix(in srgb, var(--red) 22%, transparent), transparent 70%),
    radial-gradient(700px 360px at 0% 120%, color-mix(in srgb, var(--green) 26%, transparent), transparent 70%),
    var(--green-soft);
}
.hero-in { max-width: 760px; margin: 0 auto; }
.hero-title { font: 800 clamp(36px, 6.4vw, 64px)/1.08 var(--head); letter-spacing: -.02em; color: var(--ink); }
.hero-title em { font-style: normal; color: var(--green); position: relative; white-space: nowrap; }
.hero-title em::after { content: ""; display: inline-block; width: .2em; height: .2em; margin-left: .08em; border-radius: 50%; background: var(--red); vertical-align: .05em; }
.hero-sub { margin: 14px auto 22px; max-width: 600px; color: var(--ink-2); font-size: 17.5px; }
.quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; margin: 16px 0 0; font-size: 14.5px; }
.quick-label { color: var(--muted); }
.quick a { padding: 3px 12px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 75%, transparent); border: 1px solid var(--line); font-weight: 500; }
.quick a:hover { border-color: var(--green); }
.quick .quick-epaper { background: var(--green); color: var(--on-green); border-color: var(--green); font-weight: 600; }
.quick .quick-epaper:hover { color: var(--on-green); filter: brightness(1.08); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 32px -24px 0; padding: 0; background: color-mix(in srgb, var(--surface) 70%, transparent); border-top: 1px solid var(--line); }
.stats div { padding: 16px 8px 14px; border-left: 1px solid var(--line); display: flex; flex-direction: column-reverse; gap: 2px; }
.stats div:first-child { border-left: 0; }
.stats dt { font-size: 14px; color: var(--muted); font-weight: 500; }
.stats dd { margin: 0; font: 800 34px/1.05 var(--head); color: var(--green); }
.stats dd small { font-size: 20px; color: var(--muted); font-weight: 600; }

/* ---------- Sections ---------- */
.block { margin: 34px 0 6px; }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--line-strong); }
.block h2 { font-size: 26px; font-weight: 700; display: flex; align-items: center; }
.block > h2 { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--line-strong); font-size: 22px; }
.star-ico { color: var(--star); margin-right: 6px; }
.more { font: 600 15px var(--head); color: var(--green); white-space: nowrap; padding: 4px 12px; border-radius: 999px; background: var(--green-soft); }
.more:hover { filter: brightness(.97); }
.lede { color: var(--ink-2); max-width: 70ch; margin: 6px 0 14px; font-size: 16.5px; }
.page-head { margin: 6px 0 18px; }
.page-head h1 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 800; }
.dateline-big { margin: 6px 0 0; font: 700 18px var(--head); color: var(--green); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.crumbs a:hover { color: var(--green); }

.promo { display: flex; align-items: center; gap: 16px; margin: 26px 0 4px; padding: 18px 22px; border-radius: var(--radius); background: var(--green); color: var(--on-green); box-shadow: var(--shadow); }
.promo:hover { color: var(--on-green); filter: brightness(1.06); }
.promo-ico { font-size: 30px; }
.promo-text { display: flex; flex-direction: column; flex: 1; }
.promo-text strong { font: 800 22px/1.2 var(--head); }
.promo-text span { opacity: .9; }
.promo-go { font-size: 26px; }

/* ---------- Tiles: logo plate first ---------- */
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); }
.tile { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tile:hover { border-color: color-mix(in srgb, var(--green) 55%, var(--line)); box-shadow: var(--shadow); transform: translateY(-2px); }
.tile[hidden] { display: none; }
.plate { position: relative; display: grid; place-items: center; height: 96px; margin: 6px 6px 0; padding: 26px 14px 10px; border-radius: 10px; background: var(--plate); overflow: hidden; }
.plate img { display: block; width: auto; height: auto; max-width: 100%; max-height: 54px; object-fit: contain; }
.plate.is-light { background: var(--plate-dark); }
.plate .ext { position: absolute; top: 6px; right: 8px; font-size: 13px; color: #7d8782; opacity: 0; transition: opacity .15s; }
.tile:hover .plate .ext { opacity: 1; }
.wordmark { display: flex; align-items: center; gap: 8px; max-width: 100%; }
.wm-mono { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font: 700 16px var(--head); color: #fff; background: hsl(var(--h) 48% 38%); }
.wm-name { font: 800 19px/1.15 var(--head); color: #1b2420; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tile-meta { display: flex; align-items: center; gap: 6px; padding: 8px 6px 8px 12px; }
.tile-name { flex: 1; min-width: 0; font: 600 15.5px/1.3 var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.tile-name:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.tile-actions { display: flex; align-items: center; gap: 2px; flex: none; }
/* ePaper badge sits on the plate's top-left corner (a sibling link, so no nested anchors). */
.tile > .tag-epaper { position: absolute; top: 11px; left: 11px; z-index: 2; font: 700 12px/1 var(--head); color: #fff; background: var(--green); padding: 5px 8px; border-radius: 999px; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
:root[data-theme="dark"] .tile > .tag-epaper { color: var(--on-green); }
.tile > .tag-epaper:hover { color: #fff; filter: brightness(1.1); }
.tag-dead { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: 12px; }
.tile.is-dead .plate { filter: grayscale(1); opacity: .7; }
.star { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; border-radius: 999px; cursor: pointer; font-size: 20px; line-height: 1; color: #a3aca7; }
.star:hover { background: var(--green-soft); color: var(--star); }
.star[aria-pressed="true"] { color: var(--star); }
.tile.is-dragging { opacity: .5; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 16px; }
.chip { min-height: 38px; padding: 4px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font: 600 15px var(--head); }
.chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 600 15px var(--head); white-space: nowrap; }
.pill span { font: 700 13px var(--head); color: var(--green); background: var(--green-soft); border-radius: 999px; padding: 1px 7px; }
.pill:hover { border-color: var(--green); color: var(--green); }
.pill.is-empty { color: var(--muted); border-style: dashed; background: transparent; }
.wrap-pills { flex-wrap: wrap; overflow: visible; gap: 8px; }

/* ---------- Regions ---------- */
.regions { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.region { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 16px; box-shadow: var(--shadow-sm); }
.region h3 { font-size: 21px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.region h3 .count { margin-left: 8px; }
.districts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.districts a { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 8px; font: 500 15px/1.4 var(--head); background: var(--green-soft); }
.districts a span { font: 700 13px var(--head); color: var(--on-green); background: var(--green); border-radius: 999px; padding: 0 6px; }
.districts a.is-empty { background: transparent; color: var(--muted); border: 1px dashed var(--line); }
.district-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 6px; }

/* ---------- Profile ---------- */
.profile { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); max-width: 880px; }
.profile-head { display: flex; align-items: center; gap: 18px; }
.plate-lg { flex: none; width: 240px; height: 108px; margin: 0; padding: 14px; border: 1px solid var(--line); }
.plate-lg img { max-height: 76px; }
.profile h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; }
.alt-name { margin: 2px 0 0; color: var(--muted); font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 8px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font: 700 16px var(--head); cursor: pointer; }
.btn:hover { border-color: var(--green); color: var(--green); }
.btn-primary { background: var(--green); border-color: var(--green); color: var(--on-green); }
.btn-primary:hover { color: var(--on-green); filter: brightness(1.07); }
.btn.star-btn { width: auto; height: auto; min-height: 48px; display: inline-flex; padding: 8px 20px; border-radius: 999px; color: var(--ink); font-size: 16px; white-space: nowrap; }
.btn.star-btn[aria-pressed="true"] { color: var(--star); border-color: var(--star); }
.about p { font-size: 17.5px; max-width: 65ch; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.facts dd a { color: var(--green); }
.ok-dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--green); margin-right: 8px; vertical-align: middle; }
.warn { background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); padding: 8px 12px; border-radius: 10px; font-weight: 600; }
.report { margin: 18px 0 0; font-size: 14px; }
.report a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

.empty { color: var(--muted); padding: 22px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; background: var(--surface-2); }
.empty .btn { margin-top: 10px; }
.empty.big { padding: 56px 18px; }
.empty.big h1 { font-size: 34px; color: var(--ink); }
.page-body { max-width: 760px; }
.page-body h1 { font-size: 38px; font-weight: 800; margin-bottom: 12px; }
.prose { font-size: 17px; color: var(--ink-2); }
.prose h2 { font-size: 22px; margin: 22px 0 6px; color: var(--ink); }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-foot { margin-top: 24px; background: var(--surface); border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14.5px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.disclaimer { max-width: 72ch; margin: 0 0 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 500; }
.foot-links a:hover { color: var(--green); }
.copy { margin: 14px 0 0; }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  .head-in { flex-wrap: wrap; gap: 10px; min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
  .head-search { order: 3; flex-basis: 100%; max-width: none; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-bn { font-size: 23px; }
  .my-label { display: none; }
  .head-in .my-link { margin-left: auto; padding: 8px 12px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .dateline { font-size: 13px; }
  .kbd { display: none; }
  .search input { padding-right: 16px; }
  .hero { padding: 30px 16px 0; border-radius: 18px; margin: 0 -4px 6px; }
  .hero-sub { font-size: 16px; }
  .search-big input { height: 54px; font-size: 16.5px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin: 24px -16px 0; }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats dd { font-size: 30px; }
  .block h2 { font-size: 22px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .plate { height: 84px; padding: 24px 10px 8px; }
  .plate img { max-height: 46px; }
  .wm-name { font-size: 16px; }
  .wm-mono { width: 28px; height: 28px; font-size: 14px; }
  .tile-meta { padding: 6px 4px 6px 10px; }
  .tile-name { font-size: 14.5px; }
  .tile > .tag-epaper { top: 8px; left: 8px; padding: 4px 6px; font-size: 11px; }
  .star { width: 32px; height: 32px; font-size: 19px; }
  .profile { padding: 16px; }
  .profile-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .plate-lg { width: 100%; height: 96px; padding: 12px; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
  .results { position: fixed; top: 132px; left: 8px; right: 8px; }
  .promo { padding: 14px 16px; }
  .promo-text strong { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Today's date page + FAQ ---------- */
.dates { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.date-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow-sm); border-top: 5px solid var(--green); }
.date-card:nth-child(2) { border-top-color: var(--red); }
.date-card:nth-child(3) { border-top-color: var(--star); }
.date-card h2 { font-size: 17px; font-weight: 600; color: var(--muted); }
.date-big { margin: 6px 0 2px; font: 800 clamp(30px, 4vw, 38px)/1.15 var(--head); color: var(--ink); }
.date-sub { margin: 0; color: var(--muted); font-size: 14.5px; }
.month { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
.month li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; display: flex; flex-direction: column; }
.month b { font: 800 22px/1.1 var(--head); }
.month span { font-size: 12.5px; color: var(--muted); }
.month li.is-today { background: var(--green); border-color: var(--green); color: var(--on-green); }
.month li.is-today span { color: var(--on-green); opacity: .85; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font: 700 17px/1.4 var(--head); }
.faq details p { margin: 8px 0 0; color: var(--ink-2); }
.profile .faq { margin-top: 22px; }
.dateline:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Home: every section at a glance ---------- */
.section-index { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin: 18px 0 4px; }
.section-index a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font: 600 15.5px/1.25 var(--head); box-shadow: var(--shadow-sm); }
.section-index a:hover { border-color: var(--green); color: var(--green); }
.section-index b { flex: none; font: 800 15px var(--head); color: var(--green); background: var(--green-soft); border-radius: 999px; padding: 1px 9px; }
@media (max-width: 640px) { .section-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } .section-index a { padding: 9px 11px; font-size: 14.5px; } }
.tag-fb { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: #1877f2; color: #fff; font: 800 14px/1 system-ui, sans-serif; }
