/* The Simplest News — one small stylesheet. Dark by default, Light on request. System fonts only (fast). */
:root {
  --bg: #0f1115;
  --bg-2: #151820;
  --card: #181c24;
  --card-2: #1f2430;
  --line: #2a303c;
  --text: #eceef2;
  --muted: #9aa3b2;
  --accent: #5aa9ff;
  --accent-ink: #06121f;
  --gold: #e8b64c;
  --up: #3ecf8e;
  --down: #ff6b6b;
  --warn: #ffb648;
  --shadow: 0 14px 40px rgb(0 0 0 / 50%);
  --radius: 14px;
  --radius-sm: 9px;
  --font: "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", "Nirmala UI", Mangal, sans-serif;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #f4f6f9;
  --card: #ffffff;
  --card-2: #f1f4f8;
  --line: #e2e6ec;
  --text: #15181d;
  --muted: #5d6676;
  --accent: #0b63ce;
  --accent-ink: #ffffff;
  --gold: #a87400;
  --up: #12805c;
  --down: #c62828;
  --warn: #b25e00;
  --shadow: 0 14px 40px rgb(20 30 50 / 16%);
  color-scheme: light;
}

/* one language at a time */
html[data-lang="hi"] .l-en,
html[data-lang="en"] .l-hi { display: none !important; }

/* "hidden" always hides, even when a rule below gives the element its own display (like the More news button) */
[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
html[data-lang="hi"] body { font-size: 18px; line-height: 1.6; }
a { color: var(--accent); }
img { max-width: 100%; }
button, select, input { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; font-weight: 600; }
b, strong { font-weight: 600; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- header (only this slim bar stays at the top) ---------- */
.hd { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.hd__in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 14px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; min-width: 0; }
.logo img { flex: none; border-radius: 8px; }
.logo__t { font-weight: 600; font-size: 1.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo__t b { color: var(--accent); font-weight: 600; }
.hd__tools { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
.seg { display: inline-flex; flex: none; background: var(--card-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.seg button { border: 0; background: none; padding: 4px 10px; border-radius: 999px; font-size: .88rem; font-weight: 500; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.theme { flex: none; border: 1px solid var(--line); background: var(--card-2); border-radius: 999px; padding: 4px 11px; font-size: .88rem; font-weight: 500; cursor: pointer; white-space: nowrap; }
[data-theme="light"] .theme--to-light, :root:not([data-theme="light"]) .theme--to-dark { display: none; }
.hd .sm, .loc__short { display: none; }
.hd__loc { display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 300px; border: 1px solid var(--line); background: var(--card-2); color: var(--text); border-radius: 999px; padding: 4px 11px; font-size: .88rem; font-weight: 500; cursor: pointer; white-space: nowrap; }
.hd__loc[hidden] { display: none; }
.hd__loc > span:not([aria-hidden]) { overflow: hidden; text-overflow: ellipsis; }
.hd__loc.is-approx { border-style: dashed; color: var(--muted); }
.hd__loc.is-busy { opacity: .6; }
.hd__loc:hover, .theme:hover, .hd__search:hover { border-color: var(--accent); }
/* 🔍 in the top bar */
.hd__search { flex: none; display: inline-grid; place-items: center; width: 32px; height: 30px; border: 1px solid var(--line); background: var(--card-2); color: var(--text); border-radius: 999px; text-decoration: none; }
/* the search box */
.srch { display: flex; align-items: center; gap: 8px; margin: 10px 0 2px; background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px 4px 4px 12px; }
.srch[hidden] { display: none; }
.srch:focus-within { border-color: var(--accent); }
.srch__icon { display: inline-flex; color: var(--muted); }
.srch__in { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 1rem; padding: 6px 0; outline: none; }
.srch__in::placeholder { color: var(--muted); }
.srch__go { flex: none; border: 0; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 600; font-size: .92rem; padding: 6px 14px; cursor: pointer; }
@media (max-width: 760px) {
  .loc__full { display: none; }
  .loc__short { display: inline; }
  .hd__loc { max-width: 34vw; }
}
@media (max-width: 560px) {
  .hd__in { gap: 6px; padding: 7px 10px; }
  .hd__tools { gap: 5px; }
  .hd .lg { display: none; }
  .hd .sm { display: inline; }
  /* the full name always shows; when space is short, the place name gets shorter instead */
  .logo { flex: none; gap: 6px; }
  .logo img { width: 26px; height: 26px; }
  .logo__t { font-size: .98rem; }
  /* one small language button: it shows the other language, one tap switches */
  .seg { padding: 0; }
  html[data-lang="hi"] .seg [data-set-lang="hi"], html[data-lang="en"] .seg [data-set-lang="en"] { display: none; }
  .seg button { padding: 4px 9px; color: var(--text); }
  .theme, .hd__loc { padding: 4px 9px; }
}
@media (max-width: 370px) {
  .hd__in { gap: 4px; padding: 7px 8px; }
  .hd__tools { gap: 4px; }
  .logo { gap: 5px; }
  .logo img { width: 22px; height: 22px; }
  .logo__t { font-size: .86rem; }
  .seg button, .theme { padding: 4px 6px; }
  .hd__loc { padding: 4px 7px; }
  .hd__search { width: 28px; height: 28px; }
}

/* group buttons: all of them, on rows (no sideways scrolling) */
.gnav { border-bottom: 1px solid var(--line); }
/* same width as the top bar and the page, so the buttons line up with them on both sides */
.gnav__in { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px; }
.gnav__in:not(.is-open) { justify-content: space-between; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--card-2); color: var(--text); text-decoration: none; font-size: .88rem; font-weight: 500; white-space: nowrap; border: 1px solid transparent; }
.chip:hover { border-color: var(--line); }
.chip.is-on { background: var(--accent); color: var(--accent-ink); }
.chip--small { padding: 3px 9px; font-size: .8rem; }
.gnav [hidden] { display: none !important; }
/* "More ▾" / "Less ▴": one line of groups, or all of them */
.chip--more { cursor: pointer; font-family: inherit; color: var(--accent); border-color: var(--line); background: none; }
.chip--more:hover { border-color: var(--accent); }
.chip--more__less, .gnav__in.is-open .chip--more__more, .trend__in.is-open .chip--more__more { display: none; }
.gnav__in.is-open .chip--more__less, .trend__in.is-open .chip--more__less { display: inline; }
/* "🔥 Trending": one line under the search box on Home */
.trend { margin: 9px 0 0; }
.trend__in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.trend__label { flex: none; font-size: .84rem; font-weight: 600; color: var(--muted); }
.chip--trend { font-size: .84rem; padding: 3px 10px; border-color: var(--line); background: none; }
.chip--trend:hover { border-color: var(--accent); }
.chip--trend.is-on { border-color: transparent; }
@media (max-width: 560px) { .chip--trend { font-size: .8rem; padding: 3px 8px; } }
.chip[aria-pressed] { cursor: pointer; }
@media (max-width: 560px) { .gnav__in { gap: 5px; padding: 7px 10px; } .chip { padding: 3px 8px; font-size: .82rem; } }
@media (max-width: 370px) { .gnav__in { padding-left: 8px; padding-right: 8px; } }

/* ---------- page ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 10px 14px 40px; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
/* phones: the news lines up with the top bar and the group buttons */
@media (max-width: 560px) { .wrap { padding-left: 10px; padding-right: 10px; } }
@media (max-width: 370px) { .wrap { padding-left: 8px; padding-right: 8px; } }
@media (min-width: 1000px) { .wrap { grid-template-columns: minmax(0, 1fr) 330px; } }
.wrap--text { grid-template-columns: minmax(0, 760px); justify-content: center; }
.main { min-width: 0; }
.side { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 1000px) { .side { position: sticky; top: 62px; align-self: start; max-height: calc(100vh - 74px); overflow: auto; scrollbar-width: thin; } }
.pagehead { margin: 8px 0 6px; }
.pagehead h1 { font-size: 1.45rem; margin: 0; }
.pagehead__about { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }

.tabs { display: flex; gap: 2px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 10px 0 0; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 10px 13px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; border-bottom: 3px solid transparent; }
.tab.is-on { color: var(--text); border-bottom-color: var(--accent); font-weight: 600; }
/* phones: all 6 place tabs side by side, without sideways scrolling */
@media (max-width: 560px) { .tabs { gap: 0; } .tab { flex: 1 1 auto; padding: 9px 3px; font-size: .9rem; text-align: center; } }

/* the Stocks box: news about the reader's own stocks */
.stk { position: relative; margin: 10px 0 2px; }
.stk[hidden] { display: none; }
.stk__f { display: flex; align-items: center; gap: 8px; background: var(--card-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px 12px; }
.stk__f:focus-within { border-color: var(--accent); }
.stk__in { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 1rem; padding: 6px 0; outline: none; }
.stk__in::placeholder { color: var(--muted); }
.stk__sug { position: absolute; z-index: 25; left: 0; right: 0; top: 46px; margin: 0; padding: 4px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: 340px; overflow: auto; }
.stk__sug[hidden] { display: none; }
.stk__sug button { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 1px; border: 0; background: none; color: var(--text); font: inherit; font-weight: 500; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.stk__sug button:hover, .stk__sug button:focus-visible { background: var(--card-2); }
.stk__sug small { color: var(--muted); font-size: .8rem; font-weight: 400; }
.stk__list { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; font-size: .9rem; }
.stk__list:empty { display: none; }
.stk__only { color: var(--muted); }
.stk__pill { display: inline-flex; align-items: center; gap: 4px; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 3px 4px 3px 10px; font-weight: 500; }
.stk__pill button { border: 0; background: rgb(0 0 0 / 15%); color: inherit; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: .72rem; line-height: 1; }
.stk__clear { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; }
/* "See 94 stories in Country →" under a nearly empty list */
.seemore { margin: 14px 0 4px; font-weight: 600; }
.seemore[hidden] { display: none; }
.seemore a { color: var(--accent); text-decoration: none; }
.seemore a:hover { text-decoration: underline; }

.ctls { margin: 10px 0 2px; }
.ctl__range { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.ctl__range[hidden] { display: none; }
.ctl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ctl__f { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.ctl select, .ctl__date { background: var(--card-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; font-size: .9rem; font-weight: 500; color: var(--text); max-width: 46vw; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: var(--card-2); color: var(--text); padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .92rem; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--accent); }
.btn--small { padding: 4px 10px; font-size: .82rem; }
.btn--more { display: flex; margin: 16px auto 0; min-width: 200px; }
.btn--wa { background: #1fa855; border-color: #1fa855; color: #fff; }
.btn[disabled] { opacity: .5; }

/* ---------- story list ---------- */
.list { margin-top: 4px; }
.it { border-bottom: 1px solid var(--line); border-radius: var(--radius-sm); transition: background .15s; }
.it__link { display: flex; gap: 12px; align-items: flex-start; padding: 12px 6px; color: var(--text); text-decoration: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.it__link:hover .it__h { color: var(--accent); }
.it__img { flex: none; width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--card-2); }
.it__img--icon { display: grid; place-items: center; font-size: 1.9rem; }
.it__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.it__h { font-size: 1.04em; font-weight: 600; line-height: 1.38; overflow-wrap: anywhere; }
.it__meta { font-size: .8em; color: var(--muted); line-height: 1.4; }
.it__place { color: var(--text); opacity: .85; }
.it.is-open { background: var(--card); border-bottom-color: transparent; box-shadow: inset 0 0 0 1px var(--line); margin: 6px 0; }
.it__qa { padding: 0 12px 14px; }
@media (min-width: 640px) { .it__qa { padding-left: 90px; } }
.it__links { margin: 10px 0 0; font-size: .9rem; font-weight: 500; }
.it__hint { margin: 6px 0 0; font-size: .78rem; color: var(--muted); }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--card-2); color: var(--warn); border: 1px solid var(--line); vertical-align: 1px; }
.badge--big { background: var(--down); color: #fff; border-color: transparent; margin-right: 6px; }
.empty { color: var(--muted); padding: 24px 6px; text-align: center; }

/* a search on other news websites (GDELT, Google Trends, Google News), below our own results */
.ox { margin: 26px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.ox[hidden] { display: none; }
.ox__h { font-size: 1.05rem; margin: 0 0 4px; }
.ox__list { list-style: none; margin: 0; padding: 0; }
.ox__it { padding: 10px 6px; border-bottom: 1px solid var(--line); }
.ox__it a { color: var(--text); text-decoration: none; font-weight: 600; line-height: 1.38; overflow-wrap: anywhere; }
.ox__it a:hover { color: var(--accent); }
.ox__meta { display: block; margin-top: 3px; font-size: .8em; color: var(--muted); }
.ox__tag { color: var(--warn); font-weight: 600; }
.ox__msg { color: var(--muted); margin: 12px 6px; }
.ox__msg--wait::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: ox-spin .9s linear infinite; }
@keyframes ox-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ox__msg--wait::before { animation: none; } }
.ox__more { display: flex; margin: 12px auto 0; }
.ox__credit { margin: 10px 6px 0; font-size: .78rem; color: var(--muted); }
.ox__gn { margin: 16px 0 0; text-align: center; }
.ox__gn .btn { white-space: normal; text-align: center; max-width: 100%; }

/* the 9 answers */
.qa { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 7px 12px; margin: 0; font-size: .96em; }
.qa__row { display: contents; }
.qa dt { font-weight: 600; color: var(--accent); white-space: nowrap; }
.qa dd { margin: 0; line-height: 1.45; }
.qa__coming, .qa__wait { margin: 0; color: var(--muted); }
.qa__snip { display: block; color: var(--text); margin-top: 6px; }

/* ---------- pop-up box ---------- */
.pop { position: fixed; z-index: 60; width: min(560px, calc(100vw - 16px)); max-height: min(78vh, 720px); overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px 18px; overscroll-behavior: contain; }
.pop[hidden] { display: none; }
.pop--sheet { left: 0 !important; right: 0; bottom: 0; top: auto !important; width: 100%; max-height: 82vh; border-radius: 18px 18px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); animation: up .18s ease-out; }
@keyframes up { from { transform: translateY(30px); opacity: .6; } }
.pop-bg { position: fixed; inset: 0; z-index: 55; background: rgb(0 0 0 / 55%); }
.pop__x { position: sticky; top: 0; float: right; border: 0; background: var(--card-2); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1rem; margin: -4px -6px 4px 8px; }
.pop__img { width: 100%; height: 170px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 10px; background: var(--card-2); }
.pop--sheet .pop__img { height: 150px; }
.pop__h { font-size: 1.15em; margin: 0 0 4px; }
.pop__meta { margin: 0 0 12px; font-size: .82em; color: var(--muted); }

/* ---------- story page ---------- */
.st { padding-top: 6px; }
.st__groups { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.st__h { font-size: 1.6rem; line-height: 1.3; margin: 0 0 6px; }
.st__meta { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.st__fig { margin: 16px 0 0; max-width: 480px; }
.st__fig img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--card-2); }
.st__fig figcaption { font-size: .76rem; color: var(--muted); margin-top: 4px; }
.st .qa { font-size: 1.04em; gap: 10px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.st__src { margin-top: 20px; }
.st__src h2, .rel h2 { font-size: 1.1rem; }
.st__src ul { margin: 0; padding-left: 20px; }
.st__src li { margin: 4px 0; }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.rel { margin-top: 24px; }

/* ---------- side boxes ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.panel h2 { font-size: 1.02rem; margin: 0 0 8px; }
.panel h2 a { color: var(--text); text-decoration: none; }
.chg { font-weight: 600; white-space: nowrap; font-size: .78rem; }
.chg--up { color: var(--up); }
.chg--down { color: var(--down); }
.mbox__g24 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 4px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.mbox__g24 small { color: var(--muted); }
.mbox__g24 b { margin-left: auto; font-size: 1.02rem; }
.mbox { --metal: var(--gold); --metal-soft: rgb(232 182 76 / 26%); padding: 10px 0 8px; border-bottom: 1px solid var(--line); }
.mbox.metal--silver { --metal: #9aa8bd; --metal-soft: rgb(154 168 189 / 24%); }
.mbox__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.mbox__name { display: flex; flex-direction: column; font-weight: 600; font-size: .98rem; line-height: 1.3; }
.mbox__name::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--metal); margin-bottom: 4px; }
.mbox__name small { color: var(--muted); font-weight: 500; font-size: .76rem; }
.mbox__now { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.mbox__now b { font-size: 1.2rem; font-weight: 600; white-space: nowrap; }
.metal__plot { position: relative; aspect-ratio: 2 / 1; margin: 6px 0 0; border-bottom: 1px solid var(--line); }
.metal__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.metal__grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.metal__line { fill: none; stroke: var(--metal); stroke-width: 2.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.metal__stop1 { stop-color: var(--metal-soft); }
.metal__stop2 { stop-color: var(--metal-soft); stop-opacity: 0; }
.metal__ylab { position: absolute; left: 2px; transform: translateY(-115%); font-size: .66rem; color: var(--muted); background: var(--card); padding: 0 3px; border-radius: 3px; line-height: 1.3; }
.metal__dot { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--metal); box-shadow: 0 0 0 2px var(--card), 0 0 0 5px var(--metal-soft); }
.metal__xaxis { position: relative; height: 18px; font-size: .68rem; color: var(--muted); margin-bottom: 2px; }
.metal__xaxis span { position: absolute; top: 3px; transform: translateX(-50%); }
.mbox__then { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 4px 0 0; }
.mbox__then div { background: var(--card-2); border-radius: var(--radius-sm); padding: 5px 6px; text-align: center; }
.mbox__then dt { font-size: .7rem; color: var(--muted); line-height: 1.3; }
.mbox__then dd { margin: 0; font-size: .82rem; font-weight: 600; line-height: 1.35; white-space: nowrap; }
.mbox__then dd sup { color: var(--muted); }
.mbox__then .chg { display: block; font-size: .72rem; }
.rates-foot { margin: 8px 0 0; font-size: .76rem; color: var(--muted); line-height: 1.45; }
.rates-foot a { color: var(--accent); font-weight: 600; }
.main > .metals { margin: 12px 0 4px; }
@media (min-width: 760px) {
  .main > .metals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .main > .metals > h2, .main > .metals > .mbox__g24, .main > .metals > .rates-foot { grid-column: 1 / -1; }
  .main > .metals .metal__plot { aspect-ratio: 2.2 / 1; }
}
.wrap--wide { grid-template-columns: minmax(0, 1fr) !important; }
.wrap--wide .side:not(:has(.ad:not([hidden]))) { display: none; }

/* ---------- trailers & songs ---------- */
.vids { margin: 12px 0 6px; }
.vids h2 { font-size: 1.05rem; margin: 0 0 8px; }
.vids__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 46%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
@media (min-width: 700px) { .vids__row { grid-auto-columns: minmax(220px, 31%); } }
.vid { scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; color: var(--text); }
.vid__img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--card-2); }
.vid__img img, .vid__img iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vid__play { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; background: rgb(0 0 0 / 60%); color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.vid__kind { position: absolute; left: 6px; top: 6px; background: rgb(0 0 0 / 65%); color: #fff; font-size: .7rem; font-weight: 600; padding: 1px 7px; border-radius: 999px; }
.vid__t { font-size: .85rem; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vid__ch { font-size: .75rem; color: var(--muted); }

.vids--side { margin: 0; }
.vids--side .vids__row { display: flex; flex-direction: column; gap: 10px; overflow: visible; padding: 0; }
.vids--side .vid { flex-direction: row; align-items: flex-start; gap: 10px; }
.vids--side .vid__img { flex: none; width: 128px; }
.vids--side .vid__play { width: 32px; height: 32px; font-size: .8rem; }
.vids--side .vid__kind { font-size: .62rem; }
.vids--side .vid > .vid__t, .vids--side .vid > .vid__ch { display: none; }
.vid__txt { display: none; }
.vids--side .vid__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

/* ---------- ads (spots stay empty until AdSense is set up) ---------- */
.ad { margin: 12px 0; text-align: center; min-height: 0; }
.ad__label { display: block; font-size: .66rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.ad--empty:not([hidden]) { min-height: 100px; border: 2px dashed var(--line); border-radius: var(--radius-sm); display: grid; place-items: center; color: var(--muted); }
.ad--empty:not([hidden])::after { content: "Ad · विज्ञापन (" attr(data-ad) ")"; font-size: .8rem; }
.ad--side.ad--empty:not([hidden]) { min-height: 250px; }

/* ---------- text pages, footer ---------- */
.prose { font-size: 1rem; }
.prose h1 { font-size: 1.6rem; margin-top: 10px; }
.prose h2 { font-size: 1.15rem; margin-top: 1.4em; }
.prose li { margin: 6px 0; }
.ft { border-top: 1px solid var(--line); background: var(--bg-2); }
.ft__in { max-width: 1180px; margin: 0 auto; padding: 18px 14px 28px; font-size: .86rem; color: var(--muted); }
.ft__brand b { color: var(--text); }
.ft__links a { color: var(--text); }
.ft__note { font-size: .78rem; }

@media (max-width: 480px) {
  .it__img { width: 64px; height: 64px; }
  .st__h { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
