/* ==========================================================================
   News CMS – public site
   Brand colours come ONLY from brand_vars(): --brand --accent --dark --brand2 (+ -rgb).
   Skins: html[data-view="classic|tech|real3d|channel"]; classic, real3d + channel support [data-theme="dark"].
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --font: 'Mukta', 'Noto Sans Devanagari', 'Nirmala UI', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-title: var(--font);
  --font-disp: 'Teko', var(--font);
  --font-label: var(--font);
  --wrap: 1320px;
  --gut: 32px;
  --gap: 24px;
  --r: 14px;
  --r-sm: 9px;
  --ease: cubic-bezier(.2, .75, .25, 1);
  --nav-h: 54px;

  /* classic light (default) */
  --bg: #f5f3ef;
  --surface: #ffffff;
  --surface-2: #faf8f5;
  --text: #16171a;
  --text-2: #3d4047;
  --muted: #62666e;
  --line: #e4e0d9;
  --line-2: #d6d1c8;
  --shadow: 0 1px 2px rgba(20, 20, 20, .06), 0 2px 10px rgba(20, 20, 20, .04);
  --shadow-h: 0 14px 34px -12px rgba(20, 20, 20, .28);
  --ph: #ebe7e1;
  --ph-2: #f6f3ee;
  --head-bg: #ffffff;
  --top-bg: var(--dark);
  --top-text: rgba(255, 255, 255, .86);
  --nav-bg: var(--brand);
  --nav-text: #ffffff;
  --chip-bg: var(--brand);
  --chip-text: #ffffff;
  --foot-bg: var(--dark);
  --foot-text: rgba(255, 255, 255, .9);
  --foot-muted: rgba(255, 255, 255, .62);
  --focus: var(--brand2);
  --title-color: var(--text);
  --link-hover: var(--brand);
  color-scheme: light;
}
html[data-view="classic"] { --font-title: 'Martel', 'Mukta', serif; }
html[data-view="classic"][data-theme="dark"],
html[data-view="real3d"][data-theme="dark"] {
  --bg: #0f1013;
  --surface: #17191d;
  --surface-2: #1c1e23;
  --text: #ececee;
  --text-2: #c9cbd1;
  --muted: #9da1aa;
  --line: #2a2d33;
  --line-2: #363a41;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-h: 0 16px 36px -12px rgba(0, 0, 0, .7);
  --ph: #1e2025;
  --ph-2: #26292f;
  --head-bg: #121417;
  --top-bg: #08090b;
  --foot-bg: #08090b;
  --focus: var(--accent);
  --link-hover: var(--accent);
  color-scheme: dark;
}

/* tech HUD: always dark */
html[data-view="tech"] {
  --font-label: 'Rajdhani', var(--font);
  --bg: #05070b;
  --surface: rgba(16, 20, 28, .78);
  --surface-2: rgba(255, 255, 255, .03);
  --text: #eef1f6;
  --text-2: #c6ccd6;
  --muted: #98a1b1;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset;
  --shadow-h: 0 0 0 1px rgba(var(--brand-rgb), .45), 0 18px 44px -14px rgba(var(--brand-rgb), .6);
  --ph: #0d1118;
  --ph-2: #151b25;
  --head-bg: transparent;
  --top-bg: rgba(0, 0, 0, .55);
  --top-text: #a9b2c2;
  --nav-bg: rgba(6, 8, 13, .84);
  --chip-bg: rgba(var(--brand-rgb), .2);
  --foot-bg: rgba(0, 0, 0, .6);
  --focus: var(--accent);
  --link-hover: var(--accent);
  --r: 10px;
  color-scheme: dark;
}

/* real3d skeuomorphic */
html[data-view="real3d"] {
  --bg: #e6e2dc;
  --s1: #fbf9f6;
  --s2: #e9e5df;
  --surface: linear-gradient(145deg, var(--s1), var(--s2));
  --sh-d: rgba(80, 70, 60, .22);
  --sh-l: rgba(255, 255, 255, .95);
  --shadow: 7px 7px 16px var(--sh-d), -6px -6px 14px var(--sh-l);
  --shadow-h: 12px 14px 26px var(--sh-d), -8px -8px 18px var(--sh-l);
  --line: rgba(0, 0, 0, .07);
  --ph: #dcd7d0;
  --ph-2: #ebe7e1;
  --head-bg: transparent;
  --r: 18px;
}
html[data-view="real3d"][data-theme="dark"] {
  --bg: #1b1d21;
  --s1: #2a2d33;
  --s2: #1f2226;
  --sh-d: rgba(0, 0, 0, .6);
  --sh-l: rgba(255, 255, 255, .045);
  --line: rgba(255, 255, 255, .06);
  --ph: #24272c;
  --ph-2: #2d3036;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; min-height: 100vh;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--link-hover); }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; color: var(--title-color); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.ic { flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }
html:not(.js) .js-only { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.main { display: block; min-height: 50vh; padding-bottom: 56px; outline: none; }

/* ---------- 3. Buttons, chips, pulse ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .98rem; line-height: 1; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s, background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .92rem; }
.btn-block { display: flex; width: 100%; }
.btn-brand, .btn-yt { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgba(var(--brand-rgb), .7); }
.btn-yt { background: linear-gradient(180deg, var(--brand), var(--brand2)); }
.btn-brand:hover, .btn-yt:hover { color: #fff; box-shadow: 0 10px 22px -8px rgba(var(--brand-rgb), .85); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { color: #fff; background: #178a45; }

.chip {
  position: relative; z-index: 2; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
  padding: 3px 11px 2px; border-radius: 5px; background: var(--chip-bg); color: var(--chip-text);
  font: 700 .8rem/1.5 var(--font-label); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chip:hover { color: var(--chip-text); filter: brightness(1.1); }
.chip-soft { background: rgba(var(--brand-rgb), .1); color: var(--brand); }
.chip-soft:hover { color: var(--brand); }
[data-theme="dark"] .chip-soft, [data-view="tech"] .chip-soft { color: #ff9b9e; color: color-mix(in srgb, var(--brand) 45%, white); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; animation: pulse 1.6s ease-out infinite; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 3px; border-radius: 6px; background: var(--accent); color: #111; font: 700 .82rem/1.3 var(--font-label); }
.badge-soft { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(6px); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--brand)); flex: none; }

/* ---------- 4. Topbar ---------- */
.topbar { background: var(--top-bg); color: var(--top-text); font-size: .86rem; }
.tb-in { display: flex; align-items: center; gap: 18px; min-height: 38px; }
.tb-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.tb-clock { display: none; font-family: var(--font-label); font-weight: 600; letter-spacing: .08em; color: var(--accent); font-variant-numeric: tabular-nums; }
.tb-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.tb-social { display: flex; gap: 2px; }
.tb-social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; opacity: .85; }
.tb-social a:hover { opacity: 1; color: var(--accent); }
.tb-lang { font-weight: 700; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; line-height: 1.4; }
.tb-lang:hover { color: #111; background: var(--accent); border-color: var(--accent); }
.tb-theme { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); background: transparent; color: inherit; }
.tb-theme:hover { background: rgba(255, 255, 255, .12); }
.i-sun { display: none; }
[data-theme="dark"] .i-sun { display: inline; }
[data-theme="dark"] .i-moon { display: none; }
[data-theme] [data-theme-toggle] span { display: inline-flex; }
[data-theme="light"] [data-theme-toggle] .i-sun, [data-theme="dark"] [data-theme-toggle] .i-moon { display: none; }

/* ---------- 5. Masthead + lockup ---------- */
.masthead { background: var(--head-bg); border-bottom: 1px solid var(--line); }
.mh-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; color: inherit; }
.brand:hover { color: inherit; }
.mh-tag { display: flex; flex-direction: column; gap: 2px; padding-left: 22px; border-left: 3px solid var(--brand); min-width: 0; }
.mh-tag strong { font: 700 1.25rem/1.3 var(--font-title); color: var(--text); }
.mh-tag span { color: var(--muted); font-size: .95rem; }
.mh-side { display: flex; justify-content: flex-end; min-width: 0; }
.mh-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.mh-side .ad { max-width: 728px; }

.logo-img { width: auto; object-fit: contain; border-radius: 12px; }
.logo-img.brand-lg { height: 78px; }
.logo-img.brand-sm { height: 42px; border-radius: 9px; }
.logo-img.brand-foot { height: 92px; }
.lockup { display: inline-flex; align-items: center; gap: 12px; }
.lk-mark {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 13px; flex: none; color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--brand2));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14), 0 8px 18px -8px rgba(var(--brand-rgb), .8);
}
.lk-mark .ic { width: 28px; height: 28px; }
.lk-text { display: flex; flex-direction: column; align-items: flex-start; }
.lk-top { font: 500 1.05rem/1 var(--font-disp); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); padding-left: 2px; }
.lk-main { font: 600 2.75rem/.95 var(--font-disp); text-transform: uppercase; letter-spacing: .01em; color: var(--brand); padding-top: .08em; }
.lk-bot { font: 600 .98rem/1 var(--font-disp); letter-spacing: .32em; text-transform: uppercase; background: var(--accent); color: #111; padding: 4px 8px 2px 10px; margin-top: 3px; border-radius: 2px; }
.brand-sm .lk-mark { width: 38px; height: 38px; border-radius: 10px; }
.brand-sm .lk-mark .ic { width: 20px; height: 20px; }
.brand-sm .lk-top { display: none; }
.brand-sm .lk-main { font-size: 1.75rem; }
.brand-sm .lk-bot { font-size: .7rem; padding: 2px 6px 1px 7px; margin-top: 1px; }
.brand-foot .lk-main { color: #fff; }
.brand-foot .lk-top { color: var(--foot-muted); }
html[lang="hi"] .lk-main { line-height: 1.12; letter-spacing: 0; text-transform: none; }
html[lang="hi"] .lk-top, html[lang="hi"] .lk-bot { letter-spacing: .06em; }

/* ---------- 6. Navbar (sticky) ---------- */
.navbar { position: sticky; top: 0; z-index: 60; background: var(--nav-bg); color: var(--nav-text); box-shadow: 0 2px 0 rgba(0, 0, 0, .06); }
.nav-in { display: flex; align-items: center; gap: 8px; min-height: var(--nav-h); }
.nav-burger { display: none; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: inherit; flex: none; }
.nav-burger:hover { color: inherit; background: rgba(255, 255, 255, .12); }
.nav-mini { display: none; flex: none; color: inherit; margin-right: 6px; }
.nav-mini .lk-main { color: #fff; }
.nav-mini .lk-mark { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.is-stuck .nav-mini { display: inline-flex; animation: fadeIn .3s var(--ease); }
.nav-list { display: flex; align-items: stretch; min-width: 0; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-list a {
  position: relative; display: flex; align-items: center; gap: 7px; height: var(--nav-h); padding: 0 15px;
  font-weight: 700; font-size: 1.04rem; white-space: nowrap; color: inherit;
}
.nav-list a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-list a:hover { color: inherit; background: rgba(0, 0, 0, .12); }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }
.nav-list a.is-active { background: rgba(0, 0, 0, .18); }
.navbar :focus-visible { outline-color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.nav-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: inherit; }
.nav-icon:hover, .nav-icon[aria-expanded="true"] { color: inherit; background: rgba(255, 255, 255, .16); }
.navbar .btn-yt { background: #fff; color: var(--brand); box-shadow: none; }
.navbar .btn-yt:hover { color: var(--brand2); }
.searchpanel { background: var(--surface-2); border-bottom: 1px solid var(--line); color: var(--text); padding: 14px 0; animation: fadeIn .25s var(--ease); }
.searchpanel[hidden] { display: none; }
.search-form, .lh-search { display: flex; gap: 10px; }
.search-form input, .lh-search input {
  flex: 1; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--text); font-size: 1.05rem;
}
html[data-view="real3d"] .search-form input, html[data-view="real3d"] .lh-search input { background: var(--s2); }
.search-form input:focus, .lh-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .2); }

/* category strip (tablet / phone) */
.catstrip { display: none; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.cs-in { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px var(--gut); scroll-snap-type: x proximity; }
.cs-in::-webkit-scrollbar { display: none; }
.cs-in a { flex: none; scroll-snap-align: start; padding: 7px 15px 6px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: .95rem; white-space: nowrap; background: var(--surface); }
html[data-view="real3d"] .cs-in a { background: var(--s1); }
.cs-in a.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 7. Ticker ---------- */
.ticker { background: var(--surface); border-bottom: 1px solid var(--line); }
.tk-in { display: flex; align-items: stretch; min-height: 46px; }
.tk-label {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; flex: none;
  padding: 0 26px 0 16px; background: var(--brand); color: #fff;
  font: 700 .98rem/1 var(--font-label); letter-spacing: .04em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.tk-viewport { position: relative; flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 40px), transparent); }
html:not(.js) .tk-viewport { overflow-x: auto; }
.tk-track { display: flex; width: max-content; will-change: transform; }
.tk-track.is-anim { animation: marquee var(--tk-dur, 40s) linear infinite; }
.ticker:hover .tk-track, .ticker:focus-within .tk-track { animation-play-state: paused; }
.tk-item { display: inline-flex; align-items: center; gap: 14px; padding: 0 22px; white-space: nowrap; font-weight: 600; font-size: 1rem; }
.tk-item::before { content: ''; width: 8px; height: 8px; transform: rotate(45deg); background: var(--brand); flex: none; }
.tk-item.is-brk { color: var(--brand); }
[data-view="tech"] .tk-item.is-brk, [data-theme="dark"] .tk-item.is-brk { color: var(--accent); }
.tk-item a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 8. Layout ---------- */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.col-main { min-width: 0; }
.col-side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--nav-h) + 20px); min-width: 0; }
.grid { display: grid; gap: var(--gap); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sec { margin-top: 44px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-top: 12px; border-top: 3px solid var(--text); }
.sec-head h2 { display: flex; align-items: center; gap: 10px; font: 800 1.5rem/1.3 var(--font-title); min-width: 0; }
.sec-head h2 .ic { color: var(--brand); }
.sec-head.sm { margin-bottom: 14px; padding-top: 10px; }
.sec-head.sm h2 { font-size: 1.18rem; }
.more { display: inline-flex; align-items: center; gap: 6px; flex: none; font-weight: 700; font-size: .95rem; color: var(--brand); padding: 6px 2px; }
[data-theme="dark"] .more, [data-view="tech"] .more { color: var(--accent); }
.more .ic { transition: transform .25s var(--ease); }
.more:hover .ic { transform: translateX(4px); }

/* ---------- 9. Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.card-media, .vthumb {
  position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; flex: none;
  background: linear-gradient(100deg, var(--ph) 30%, var(--ph-2) 50%, var(--ph) 70%) 0 0 / 220% 100%;
  animation: shimmer 1.6s linear infinite;
}
.card-media img, .vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img, .vcard:hover .vthumb img, .vthumb:hover img { transform: scale(1.06); }
.card-media.no-img { display: grid; place-items: center; color: var(--muted); animation: none; background: linear-gradient(135deg, rgba(var(--brand-rgb), .14), rgba(var(--accent-rgb), .12)); }
.card-body { display: flex; flex-direction: column; gap: 9px; padding: 15px 17px 17px; flex: 1; min-width: 0; }
.card-title { font: 700 1.14rem/1.45 var(--font); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-title a:hover { color: var(--link-hover); }
.card-sum { color: var(--text-2); font-size: 1rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; color: var(--muted); font-size: .86rem; }
.card-meta > * { display: inline-flex; align-items: center; gap: 5px; }
.card.is-breaking { border-color: rgba(var(--brand-rgb), .5); }

/* row: thumbnail left */
.card-row { flex-direction: row; align-items: stretch; gap: 0; }
.card-row .card-media { width: 38%; max-width: 168px; aspect-ratio: 4 / 3; }
.card-row .card-body { padding: 10px 14px; gap: 6px; }
.card-row .card-title { font-size: 1rem; line-height: 1.45; }
.card-row .chip { font-size: .72rem; padding: 2px 8px 1px; }
.card-row .vplay.sm { width: 30px; height: 30px; }

/* lead: big card */
.card-lead .card-media { aspect-ratio: 16 / 9; }
.card-lead .card-title { font: 800 1.55rem/1.4 var(--font-title); -webkit-line-clamp: 4; }
.card-lead .card-body { padding: 18px 20px 20px; gap: 11px; }

/* overlay: text on image */
.card-overlay { height: 100%; min-height: 440px; border: 0; background: #0d0d0d; }
.card-overlay .card-media { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.card-overlay .card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .55) 58%, rgba(0, 0, 0, .9)); }
.card-overlay .card-body { position: relative; z-index: 1; margin-top: auto; padding: 28px 30px 26px; gap: 12px; flex: none; color: #fff; pointer-events: none; }
.card-overlay .card-body a { pointer-events: auto; }
.card-overlay .card-title { font: 800 2.15rem/1.32 var(--font-title); color: #fff; -webkit-line-clamp: 4; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.card-overlay .card-title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.card-overlay .card-sum { color: rgba(255, 255, 255, .86); font-size: 1.06rem; }
.card-overlay .card-meta { color: rgba(255, 255, 255, .78); }

/* mini: ranked list */
.card-mini { flex-direction: row; align-items: flex-start; gap: 14px; padding: 12px 0; border: 0; border-radius: 0; background: none; box-shadow: none; border-bottom: 1px solid var(--line); overflow: visible; }
.card-mini:hover { transform: none; box-shadow: none; }
.mostread li:last-child .card-mini { border-bottom: 0; padding-bottom: 0; }
.card-mini .card-body { padding: 0; gap: 4px; }
.card-mini .card-title { font-size: 1rem; }
.rank { font: 600 2.6rem/.8 var(--font-disp); color: var(--brand); min-width: 32px; padding-top: 6px; opacity: .9; }

.ph-mark { opacity: .55; }

/* ---------- 10. Video cards ---------- */
.vcard { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.vbody { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.vtitle { font: 700 1.06rem/1.45 var(--font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vtitle a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.vplay {
  position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center;
  width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; color: #fff;
  background: rgba(var(--brand-rgb), .92); box-shadow: 0 0 0 6px rgba(255, 255, 255, .22), 0 10px 26px rgba(0, 0, 0, .4);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.vplay .ic { margin-left: 3px; }
.vthumb:hover .vplay, .vcard:hover .vplay { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 255, 255, .18), 0 10px 26px rgba(0, 0, 0, .4); }
.vplay.sm { width: 38px; height: 38px; margin: -19px 0 0 -19px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .2); }
.vplay.xl { width: 86px; height: 86px; margin: -43px 0 0 -43px; box-shadow: 0 0 0 10px rgba(255, 255, 255, .2), 0 14px 36px rgba(0, 0, 0, .5); }
.vdur { position: absolute; right: 8px; bottom: 8px; z-index: 2; padding: 2px 7px; border-radius: 5px; background: rgba(0, 0, 0, .82); color: #fff; font: 600 .8rem/1.4 var(--font); font-variant-numeric: tabular-nums; }
.vcard-row { flex-direction: row; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-sm); background: transparent; border-color: transparent; box-shadow: none; }
.vcard-row:hover { transform: none; box-shadow: none; background: var(--surface-2); }
.vcard-row .vthumb { width: 44%; max-width: 170px; border-radius: 8px; }
.vcard-row .vbody { padding: 0; }
.vcard-row .vtitle { font-size: .98rem; -webkit-line-clamp: 3; }
.vcard-row .card-meta { font-size: .8rem; }
.vcard-short { width: 100%; border-radius: 16px; }
.vcard-short .vthumb { aspect-ratio: 9 / 16; }
.vshort-title { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 40px 12px 12px; color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.4; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85)); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vthumb-xl { border-radius: var(--r); }
.vthumb iframe, .vthumb-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vthumb-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }

/* rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: rgba(var(--brand-rgb), .6) transparent; }
.rail > * { scroll-snap-align: start; }
.rail-shorts { grid-auto-columns: 200px; }
.rail-wrap { position: relative; }
.rail-btn { position: absolute; top: calc(50% - 40px); z-index: 5; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--surface); color: var(--text); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transition: opacity .2s; }
html[data-view="real3d"] .rail-btn { background: var(--s1); }
.rail-btn:hover { color: var(--brand); }
.rail-btn[disabled] { opacity: 0; pointer-events: none; }
.rail-prev { left: -14px; }
.rail-next { right: -14px; }

/* video band */
.vband { margin-top: 52px; padding: 34px 0 22px; background: var(--dark); color: #fff; --title-color: #fff; --surface: rgba(255, 255, 255, .06); --surface-2: rgba(255, 255, 255, .1); --line: rgba(255, 255, 255, .1); --muted: rgba(255, 255, 255, .66); --text: #fff; --shadow: none; --link-hover: var(--accent); }
.vband .sec-head { border-top-color: var(--accent); }
.vband .sec-head h2 .ic { color: var(--accent); }
.vband .more { color: var(--accent); }
.vband .chip-soft { color: var(--accent); background: rgba(var(--accent-rgb), .14); }

/* ---------- 11. Home blocks ---------- */
.live { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 28px; padding: 22px; border-radius: calc(var(--r) + 6px); background: var(--dark); color: #fff; box-shadow: 0 20px 50px -24px rgba(var(--brand-rgb), .7); }
.live-info { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.live-h { font: 800 2rem/1.25 var(--font-title); color: #fff; }
.live-info p { color: rgba(255, 255, 255, .75); }
.badge-live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 5px; border-radius: 6px; background: var(--brand); color: #fff; font: 700 1rem/1 var(--font-label); letter-spacing: .12em; }
.badge-live .pulse { background: #fff; }

.hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: var(--gap); margin-top: 28px; }
.hero-main { min-width: 0; }
.hero-side { display: grid; grid-template-rows: repeat(4, 1fr); gap: 14px; min-width: 0; }
.hero-side .card-row .card-media { max-width: 150px; }

.vhero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: var(--gap); margin-top: 28px; align-items: start; }
.vh-main { min-width: 0; }
.vh-main .vthumb-xl { box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .6); }
.vh-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 35%, rgba(0, 0, 0, .55) 62%, rgba(0, 0, 0, .92)); }
.vh-main .vplay.xl { top: 40%; }
.vh-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 10px; padding: 28px 30px 26px; color: #fff; }
.vh-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.vh-title { font: 800 2.05rem/1.32 var(--font-title); text-shadow: 0 2px 14px rgba(0, 0, 0, .45); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vh-meta { display: flex; gap: 16px; color: rgba(255, 255, 255, .8); font-size: .92rem; }
.vh-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.vh-side { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.vh-side-head { display: flex; align-items: center; gap: 8px; padding: 2px 8px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font: 800 1.15rem/1.3 var(--font-title); }
.vh-side-head .ic { color: var(--brand); }
.vh-all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; min-height: 44px; border-radius: 10px; background: rgba(var(--brand-rgb), .08); color: var(--brand); font-weight: 700; }
.vh-all:hover { background: var(--brand); color: #fff; }
[data-theme="dark"] .vh-all, [data-view="tech"] .vh-all { color: var(--accent); background: rgba(var(--accent-rgb), .08); }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile-v .tile-n { opacity: .8; color: var(--brand); }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 128px; padding: 18px 20px;
  border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .3s;
}
.tile::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.tile::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--c); opacity: .09; transition: transform .5s var(--ease), opacity .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); color: inherit; }
.tile:hover::after { transform: scale(1.5); opacity: .16; }
.tile-n { position: absolute; top: 12px; right: 18px; font: 600 2.2rem/1 var(--font-disp); color: var(--muted); opacity: .45; }
.tile-name { font: 800 1.35rem/1.3 var(--font-title); position: relative; z-index: 1; }
.tile-sub { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; font-weight: 600; position: relative; z-index: 1; }

.cat-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--gap); }
.cg-list { display: flex; flex-direction: column; gap: 14px; }
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cat-col { display: flex; flex-direction: column; gap: 14px; }
.cat-col .sec-head { margin-bottom: 4px; }

/* ---------- 12. Sidebar panels ---------- */
.panel { position: relative; padding: 18px 20px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel .sec-head { border-top: 0; padding-top: 0; }
.panel .sec-head h2 { font-family: var(--font); }
.follow { display: flex; flex-direction: column; gap: 14px; }
.follow .sec-head { margin-bottom: 0; }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.soc { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); transition: transform .25s var(--ease), background-color .2s, color .2s; }
.soc:hover { transform: translateY(-2px); color: #fff; background: var(--brand); border-color: var(--brand); }
.soc-whatsapp:hover { background: #1fa855; border-color: #1fa855; }
.soc-facebook:hover { background: #1877f2; border-color: #1877f2; }
.soc-x:hover { background: #000; border-color: #000; }
.soon { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; overflow: hidden; border-top: 4px solid var(--brand); }
.soon::after { content: ''; position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .3), transparent 70%); pointer-events: none; }
.soon-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: rgba(var(--brand-rgb), .1); color: var(--brand); }
[data-theme="dark"] .soon-ic, [data-view="tech"] .soon-ic { color: var(--accent); background: rgba(var(--accent-rgb), .1); }
.soon-h { font: 800 1.4rem/1.3 var(--font-title); }
.soon p { color: var(--text-2); }
.soon-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-top: 40px; padding: 56px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.soon-hero h2 { font: 800 2rem/1.3 var(--font-title); }
.soon-hero p { max-width: 560px; color: var(--text-2); }
.side-ad .ad img { width: 100%; }

/* ads */
.ad { position: relative; display: block; text-align: center; }
.ad a { display: inline-block; border-radius: 8px; overflow: hidden; }
.ad img { margin-inline: auto; max-height: 280px; width: auto; }
.ad-label { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ad-inline { margin: 28px 0; padding: 14px 0; border-block: 1px solid var(--line); }
.foot-ad { padding-top: 28px; }
.foot-ad .ad-label { color: var(--foot-muted); }
.mh-side .ad img { max-height: 96px; }

/* ---------- 13. Listing ---------- */
.list-hero { position: relative; padding: 30px 0 26px; background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; }
.list-hero.has-cat::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, color-mix(in srgb, var(--c) 14%, transparent), transparent 55%); pointer-events: none; }
.lh-in { position: relative; display: flex; flex-direction: column; gap: 12px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; }
.crumbs a:hover { color: var(--brand); }
.lh-title { font: 800 clamp(1.9rem, 1.4rem + 2vw, 2.9rem)/1.25 var(--font-title); display: flex; align-items: center; gap: 14px; }
.list-hero.has-cat .lh-title::before { content: ''; width: 8px; align-self: stretch; min-height: 1em; border-radius: 4px; background: var(--c); }
.lh-sub { color: var(--muted); font-weight: 600; }
.lh-search { max-width: 640px; }
.list-hero + .cols, .list-hero + .wrap { margin-top: 32px; }
.list-grid .card-lead { grid-column: span 2; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.fchip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); font-weight: 700; }
.fchip span { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--line); font-size: .78rem; }
.fchip:hover { border-color: var(--brand); color: var(--brand); }
.fchip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.fchip.is-active span { background: rgba(255, 255, 255, .22); }
.vgrid { margin-top: 4px; }
.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.pg-nums { display: flex; gap: 6px; flex-wrap: wrap; }
.pg-num, .pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 700; }
html[data-view="real3d"] .pg-num, html[data-view="real3d"] .pg-btn { background: var(--s1); box-shadow: 3px 3px 8px var(--sh-d), -3px -3px 8px var(--sh-l); border: 0; }
.pg-num:hover, .pg-btn:hover { border-color: var(--brand); color: var(--brand); }
.pg-num.is-cur { background: var(--brand); border-color: var(--brand); color: #fff; }
.pg-gap { align-self: center; color: var(--muted); padding: 0 4px; }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 56px 24px; border-radius: var(--r); background: var(--surface); border: 1px dashed var(--line-2); }
.empty p { color: var(--text-2); max-width: 460px; font-size: 1.08rem; }
.empty-ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(var(--brand-rgb), .1); color: var(--brand); }
.note { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--r-sm); background: rgba(var(--accent-rgb), .14); border: 1px solid rgba(var(--accent-rgb), .4); color: var(--text); font-weight: 600; }
.col-main > .note + .sec { margin-top: 28px; }

/* ---------- 14. Article ---------- */
.preview-bar { background: repeating-linear-gradient(-45deg, var(--accent), var(--accent) 14px, rgba(var(--accent-rgb), .85) 14px, rgba(var(--accent-rgb), .85) 28px); color: #111; font-weight: 600; }
.preview-bar .wrap { display: flex; align-items: center; gap: 10px; min-height: 46px; flex-wrap: wrap; }
.art-cols { margin-top: 28px; }
.art { min-width: 0; }
.art-head { display: flex; flex-direction: column; gap: 16px; margin-top: 14px; }
.art-title { font: 800 clamp(1.75rem, 1.15rem + 2.1vw, 2.75rem)/1.32 var(--font-title); letter-spacing: -.005em; }
.art-lead { font-size: 1.24rem; line-height: 1.65; color: var(--text-2); padding-left: 16px; border-left: 4px solid var(--brand); font-weight: 500; }
.art-meta { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-block: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; flex: none; background: linear-gradient(140deg, var(--brand), var(--brand2)); color: #fff; font-weight: 800; font-size: 1.2rem; }
.am-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.am-author { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.am-loc { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: .92rem; }
.am-date { color: var(--muted); font-size: .9rem; }
.sep { margin: 0 6px; opacity: .6; }
.am-views { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: .92rem; flex: none; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; font-size: .92rem; margin-right: 4px; }
.sh { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; color: #fff; transition: transform .2s var(--ease), filter .2s; }
.sh:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.1); }
.sh-whatsapp { background: #1fa855; }
.sh-facebook { background: #1877f2; }
.sh-x { background: #111; }
[data-view="tech"] .sh-x, [data-theme="dark"] .sh-x { background: #2b2d31; }
.sh-telegram { background: #229ed9; }
.sh-copy, .sh-native { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); }
.sh-copy:hover, .sh-native:hover { color: var(--brand); }
.sh-copy.is-done { background: #1fa855; color: #fff; border-color: #1fa855; }
.share-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.art-hero { margin: 24px 0 0; }
.art-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); background: var(--ph); }
.art-hero figcaption, .prose figcaption { margin-top: 10px; color: var(--muted); font-size: .92rem; padding-left: 12px; border-left: 3px solid var(--line-2); }
.art-video { margin-top: 24px; }
.prose { font-size: 1.16rem; line-height: 1.9; color: var(--text); overflow-wrap: anywhere; }
.art-body { margin-top: 26px; }
.prose > * + * { margin-top: 1.05em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--font-title); margin-top: 1.6em; line-height: 1.4; }
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.35rem; }
.prose h4 { font-size: 1.15rem; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .prose a, [data-view="tech"] .prose a { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--brand); }
.prose blockquote { margin-inline: 0; padding: 18px 22px 18px 26px; border-left: 5px solid var(--brand); background: var(--surface-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 1.22rem; font-weight: 600; color: var(--text-2); }
.prose img { border-radius: var(--r-sm); margin-inline: auto; }
.prose figure { margin-inline: 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-sm); }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 1rem; max-width: 100%; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: 8px 12px; text-align: left; }
.prose th { background: var(--surface-2); }
.prose hr { border: 0; border-top: 1px solid var(--line-2); }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; }
.tags-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.tags a { padding: 6px 13px 5px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: .92rem; font-weight: 600; }
.tags a:hover { border-color: var(--brand); color: var(--brand); }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.pn { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .2s, transform .3s var(--ease); }
.pn:hover { border-color: var(--brand); color: inherit; transform: translateY(-2px); }
.pn-next { text-align: right; align-items: flex-end; }
.pn-l { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 700; font-size: .88rem; }
[data-theme="dark"] .pn-l, [data-view="tech"] .pn-l { color: var(--accent); }
.pn-t { font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 15. Page + 404 ---------- */
.page-body { padding: 30px 34px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 26px; }
.contact-cards li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; overflow-wrap: anywhere; }
.cc-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; flex: none; }
.page-upd { margin-top: 24px; color: var(--muted); font-size: .9rem; }
.nf { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding-top: 56px; }
.nf-code { display: flex; align-items: center; gap: 8px; font: 600 9rem/.85 var(--font-disp); color: var(--brand); }
.nf-0 { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; border: 8px solid var(--brand); color: var(--brand); }
[data-view="tech"] .nf-code { color: var(--text); text-shadow: 0 0 30px rgba(var(--brand-rgb), .8); }
.nf-title { font: 800 2rem/1.3 var(--font-title); }
.nf-text { color: var(--text-2); max-width: 520px; }
.nf-search { width: 100%; max-width: 560px; }

/* ---------- 16. Footer ---------- */
.site-foot { background: var(--foot-bg); color: var(--foot-text); border-top: 4px solid var(--brand); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 48px 36px; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.foot-tag { font-weight: 700; color: var(--accent); }
.foot-about { color: var(--foot-muted); font-size: .98rem; line-height: 1.7; }
.site-foot .soc { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); color: #fff; }
.site-foot .soc:hover { background: var(--brand); border-color: var(--brand); }
.foot-h { font: 700 1.05rem/1.3 var(--font-label); color: #fff; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid rgba(255, 255, 255, .1); position: relative; letter-spacing: .02em; }
.foot-h::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 44px; height: 2px; background: var(--accent); }
.foot-links li + li { margin-top: 4px; }
.foot-links.two { columns: 2; column-gap: 16px; }
.foot-links.two li { break-inside: avoid; }
.foot-links a { display: inline-block; padding: 5px 0; color: var(--foot-muted); }
.foot-links a:hover { color: var(--accent); }
.foot-contact { display: flex; flex-direction: column; gap: 12px; color: var(--foot-muted); margin-bottom: 18px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.foot-contact .ic { color: var(--accent); margin-top: 3px; }
.foot-contact a:hover { color: var(--accent); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; color: var(--foot-muted); }
.fb-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; flex-wrap: wrap; padding-block: 10px; }
.fb-lang { font-weight: 700; color: #fff; }
.fb-lang:hover { color: var(--accent); }

/* ---------- 17. Drawer, modal, to-top ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.drawer.is-open, .drawer:target { visibility: visible; pointer-events: auto; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .3s; backdrop-filter: blur(2px); }
.drawer-panel {
  position: absolute; left: 0; top: 0; bottom: 0; width: min(88vw, 380px); display: flex; flex-direction: column; gap: 16px;
  padding: 16px 18px 28px; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); color: var(--text);
  transform: translateX(-102%); transition: transform .38s var(--ease); box-shadow: 20px 0 50px rgba(0, 0, 0, .3);
}
html[data-view="tech"] .drawer-panel { background: #070a10; border-right: 1px solid rgba(var(--brand-rgb), .4); }
.drawer.is-open .drawer-scrim, .drawer:target .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel, .drawer:target .drawer-panel { transform: none; }
.dr-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.dr-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); }
.dr-search { display: flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; background: var(--surface); }
html[data-view="real3d"] .dr-search { background: var(--s1); }
.dr-search input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 0; background: transparent; }
.dr-search input:focus { outline: none; }
.dr-search button { width: 52px; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; }
.dr-nav a { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 12px; border-radius: 10px; font-weight: 700; font-size: 1.08rem; }
.dr-nav a > span:not(.dot) { flex: 1; }
.dr-nav a .ic:last-child:not(:first-child) { color: var(--muted); }
.dr-nav a:hover, .dr-nav a.is-active { background: rgba(var(--brand-rgb), .1); color: var(--brand); }
[data-theme="dark"] .dr-nav a:hover, [data-theme="dark"] .dr-nav a.is-active, [data-view="tech"] .dr-nav a:hover, [data-view="tech"] .dr-nav a.is-active { color: var(--accent); }
.dr-nav .dot { margin: 0 5px; }
.dr-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.dr-tools .btn { flex: 1; }
.dr-pages { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.dr-pages a { display: inline-block; padding: 6px 0; }
html.no-scroll { overflow: hidden; }

.vmodal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 20px; }
.vmodal[hidden] { display: none; }
.vm-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .86); backdrop-filter: blur(6px); animation: fadeIn .25s; }
.vm-box { position: relative; width: min(1040px, 100%); animation: popIn .35s var(--ease); }
.vm-box.is-short { width: min(400px, 100%); }
.vm-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.vm-box.is-short .vm-frame { aspect-ratio: 9 / 16; max-height: 80vh; margin-inline: auto; }
.vm-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vm-title { color: #fff; margin-top: 12px; font-weight: 700; font-size: 1.05rem; line-height: 1.5; }
.vm-close { position: absolute; right: 0; top: -56px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; }
.vm-close:hover { background: var(--brand); }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 10px 24px -8px rgba(var(--brand-rgb), .8); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.to-top:hover { color: #fff; }
.is-scrolled .to-top { opacity: 1; transform: none; pointer-events: auto; }

/* ==========================================================================
   SKIN: classic (light newspaper) – refinements
   ========================================================================== */
html[data-view="classic"] .mh-in { grid-template-columns: 1fr auto 1fr; }
html[data-view="classic"] .mh-in .brand { grid-column: 2; grid-row: 1; justify-self: center; }
html[data-view="classic"] .mh-tag { grid-column: 1; grid-row: 1; border-left: 0; padding-left: 0; }
html[data-view="classic"] .mh-tag strong { font-style: normal; font-size: 1.15rem; color: var(--brand); }
html[data-view="classic"] .masthead { border-bottom: 0; }
html[data-view="classic"] .masthead .wrap { border-bottom: 1px solid var(--line-2); }
html[data-view="classic"] .card-title { font-weight: 700; }
html[data-view="classic"] .card-lead .card-title, html[data-view="classic"] .card-overlay .card-title { font-weight: 800; }
html[data-view="classic"][data-theme="dark"] .masthead .wrap { border-bottom-color: var(--line); }
html[data-view="classic"][data-theme="dark"] .lk-main { color: #fff; }
html[data-view="classic"][data-theme="dark"] .navbar { box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }

/* ==========================================================================
   SKIN: tech (dark HUD)
   ========================================================================== */
html[data-view="tech"] body {
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(var(--brand-rgb), .22), transparent 62%),
    radial-gradient(900px 520px at 100% 4%, rgba(var(--accent-rgb), .07), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--bg);
}
html[data-view="tech"] .topbar { border-bottom: 1px solid var(--line); font-family: var(--font-label); font-weight: 600; letter-spacing: .03em; }
html[data-view="tech"] .tb-clock { display: inline-flex; }
html[data-view="tech"] .tb-clock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #2bd576; box-shadow: 0 0 8px #2bd576; }
html[data-view="tech"] .masthead { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent); }
html[data-view="tech"] .mh-tag { border-left: 2px solid var(--accent); }
html[data-view="tech"] .mh-tag strong { font-family: var(--font-label); color: #fff; letter-spacing: .02em; }
html[data-view="tech"] .lk-main { color: #fff; text-shadow: 0 0 22px rgba(var(--brand-rgb), .85), 0 0 2px rgba(var(--brand-rgb), .9); }
html[data-view="tech"] .lk-top { color: var(--accent); }
html[data-view="tech"] .lk-mark { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 0 26px rgba(var(--brand-rgb), .7); }
html[data-view="tech"] .navbar {
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-block: 1px solid rgba(var(--brand-rgb), .45);
  box-shadow: 0 0 0 0 transparent, 0 10px 30px -18px rgba(var(--brand-rgb), .9);
}
html[data-view="tech"] .nav-list a { font-family: var(--font-label); font-weight: 700; letter-spacing: .03em; font-size: 1.08rem; color: var(--text-2); }
html[data-view="tech"] .nav-list a:hover, html[data-view="tech"] .nav-list a.is-active { color: #fff; background: rgba(var(--brand-rgb), .16); }
html[data-view="tech"] .nav-list a::after { height: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
html[data-view="tech"] .navbar .btn-yt { background: var(--brand); color: #fff; box-shadow: 0 0 18px rgba(var(--brand-rgb), .7); }
html[data-view="tech"] .nav-mini .lk-mark { background: linear-gradient(140deg, var(--brand), var(--brand2)); }
html[data-view="tech"] .searchpanel { background: rgba(6, 8, 13, .95); }
html[data-view="tech"] .search-form input, html[data-view="tech"] .lh-search input, html[data-view="tech"] .dr-search { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); }
html[data-view="tech"] .catstrip { background: rgba(6, 8, 13, .7); }
html[data-view="tech"] .cs-in a { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); font-family: var(--font-label); font-weight: 700; }
html[data-view="tech"] .cs-in a.is-active { background: rgba(var(--brand-rgb), .3); border-color: var(--brand); box-shadow: 0 0 14px rgba(var(--brand-rgb), .5); }
html[data-view="tech"] .ticker { background: linear-gradient(90deg, rgba(var(--brand-rgb), .16), rgba(255, 255, 255, .02)); border-bottom: 1px solid rgba(var(--brand-rgb), .3); }
html[data-view="tech"] .tk-label { box-shadow: 0 0 24px rgba(var(--brand-rgb), .8); font-family: var(--font-label); }
html[data-view="tech"] .tk-item::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
html[data-view="tech"] .sec-head { border-top: 0; padding-top: 0; }
html[data-view="tech"] .sec-head h2 { font-family: var(--font-label); font-weight: 700; letter-spacing: .03em; font-size: 1.6rem; flex: 1; }
html[data-view="tech"] .sec-head h2::before { content: '//'; color: var(--accent); font-weight: 700; margin-right: -2px; text-shadow: 0 0 10px rgba(var(--accent-rgb), .7); }
html[data-view="tech"] .sec-head h2 .ic { color: var(--brand); filter: drop-shadow(0 0 6px rgba(var(--brand-rgb), .9)); }
html[data-view="tech"] .sec-head h2::after { content: ''; flex: 1; min-width: 20px; height: 1px; margin-left: 8px; background: linear-gradient(90deg, rgba(var(--brand-rgb), .9), rgba(var(--brand-rgb), 0)); }
html[data-view="tech"] .card, html[data-view="tech"] .vcard:not(.vcard-row), html[data-view="tech"] .panel, html[data-view="tech"] .tile, html[data-view="tech"] .vh-side, html[data-view="tech"] .pn, html[data-view="tech"] .empty, html[data-view="tech"] .soon-hero, html[data-view="tech"] .list-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
}
/* corner brackets */
html[data-view="tech"] .card:not(.card-mini)::before, html[data-view="tech"] .card:not(.card-mini)::after,
html[data-view="tech"] .vcard:not(.vcard-row)::before, html[data-view="tech"] .vcard:not(.vcard-row)::after,
html[data-view="tech"] .panel::before, html[data-view="tech"] .vh-side::before, html[data-view="tech"] .vh-side::after,
html[data-view="tech"] .vh-main::before, html[data-view="tech"] .vh-main::after {
  content: ''; position: absolute; z-index: 4; width: 16px; height: 16px; pointer-events: none; transition: width .35s var(--ease), height .35s var(--ease);
}
html[data-view="tech"] .card:not(.card-mini)::before, html[data-view="tech"] .vcard:not(.vcard-row)::before, html[data-view="tech"] .panel::before, html[data-view="tech"] .vh-side::before, html[data-view="tech"] .vh-main::before { left: 0; top: 0; border-left: 2px solid var(--accent); border-top: 2px solid var(--accent); border-top-left-radius: var(--r); }
html[data-view="tech"] .card:not(.card-mini)::after, html[data-view="tech"] .vcard:not(.vcard-row)::after, html[data-view="tech"] .vh-side::after, html[data-view="tech"] .vh-main::after { right: 0; bottom: 0; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); border-bottom-right-radius: var(--r); }
html[data-view="tech"] .card:hover::before, html[data-view="tech"] .card:hover::after, html[data-view="tech"] .vcard:hover::before, html[data-view="tech"] .vcard:hover::after { width: 30px; height: 30px; }
html[data-view="tech"] .vh-main { position: relative; }
html[data-view="tech"] .vh-main::before { left: -6px; top: -6px; width: 30px; height: 30px; border-radius: 0; }
html[data-view="tech"] .vh-main::after { right: -6px; bottom: -6px; width: 30px; height: 30px; border-radius: 0; }
html[data-view="tech"] .card:hover, html[data-view="tech"] .vcard:not(.vcard-row):hover, html[data-view="tech"] .tile:hover, html[data-view="tech"] .pn:hover { border-color: rgba(var(--brand-rgb), .55); }
html[data-view="tech"] .card-overlay { background: #05070b; }
html[data-view="tech"] .card-overlay .card-media::after { background: linear-gradient(180deg, rgba(5, 7, 11, 0) 25%, rgba(5, 7, 11, .6) 55%, rgba(5, 7, 11, .95)), linear-gradient(90deg, rgba(var(--brand-rgb), .25), transparent 60%); }
html[data-view="tech"] .chip { border: 1px solid rgba(var(--brand-rgb), .85); font-family: var(--font-label); letter-spacing: .04em; box-shadow: 0 0 12px -2px rgba(var(--brand-rgb), .7); }
html[data-view="tech"] .chip-soft { border: 0; box-shadow: none; }
html[data-view="tech"] .vplay { box-shadow: 0 0 0 1px rgba(255, 255, 255, .3), 0 0 26px rgba(var(--brand-rgb), .9); }
html[data-view="tech"] .vthumb-xl::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px); }
html[data-view="tech"] .vh-shade { background: linear-gradient(180deg, rgba(5, 7, 11, .0) 30%, rgba(5, 7, 11, .6) 60%, rgba(5, 7, 11, .95)), linear-gradient(90deg, rgba(var(--brand-rgb), .3), transparent 50%); }
html[data-view="tech"] .vh-title, html[data-view="tech"] .card-overlay .card-title { font-family: var(--font); }
html[data-view="tech"] .badge { box-shadow: 0 0 16px rgba(var(--accent-rgb), .6); font-family: var(--font-label); }
html[data-view="tech"] .vh-side-head, html[data-view="tech"] .tile-name, html[data-view="tech"] .soon-h, html[data-view="tech"] .live-h { font-family: var(--font-label); letter-spacing: .02em; }
html[data-view="tech"] .tile::before { box-shadow: 0 0 14px var(--c); }
html[data-view="tech"] .tile-n { font-family: var(--font-label); font-weight: 700; color: var(--accent); opacity: .35; }
html[data-view="tech"] .vband { background: linear-gradient(180deg, rgba(var(--brand-rgb), .1), rgba(0, 0, 0, .4)); border-block: 1px solid rgba(var(--brand-rgb), .3); }
html[data-view="tech"] .vband .sec-head { border: 0; }
html[data-view="tech"] .live { background: linear-gradient(120deg, rgba(var(--brand-rgb), .25), rgba(255, 255, 255, .03)); border: 1px solid rgba(var(--brand-rgb), .45); }
html[data-view="tech"] .rank { font-family: var(--font-label); font-weight: 700; font-size: 2rem; color: var(--accent); text-shadow: 0 0 12px rgba(var(--accent-rgb), .6); }
html[data-view="tech"] .list-hero { border-bottom: 1px solid rgba(var(--brand-rgb), .35); }
html[data-view="tech"] .lh-title { font-family: var(--font-label); letter-spacing: .02em; }
html[data-view="tech"] .art-title, html[data-view="tech"] .card-lead .card-title { font-family: var(--font); }
html[data-view="tech"] .art-lead { border-left-color: var(--accent); }
html[data-view="tech"] .avatar { box-shadow: 0 0 18px rgba(var(--brand-rgb), .7); }
html[data-view="tech"] .pg-num.is-cur, html[data-view="tech"] .fchip.is-active { box-shadow: 0 0 16px rgba(var(--brand-rgb), .7); }
html[data-view="tech"] .site-foot { border-top: 1px solid rgba(var(--brand-rgb), .6); box-shadow: 0 -10px 40px -20px rgba(var(--brand-rgb), .8); backdrop-filter: blur(8px); }
html[data-view="tech"] .foot-h { font-family: var(--font-label); text-transform: uppercase; letter-spacing: .1em; }
html[data-view="tech"] .prose blockquote { background: rgba(var(--brand-rgb), .08); }
html[data-view="tech"] .preview-bar { color: #111; }

/* ==========================================================================
   SKIN: real3d (skeuomorphic)
   ========================================================================== */
html[data-view="real3d"] body { background: radial-gradient(1200px 600px at 50% -10%, rgba(255, 255, 255, .6), transparent 70%), var(--bg); }
html[data-view="real3d"][data-theme="dark"] body { background: radial-gradient(1200px 600px at 50% -10%, rgba(255, 255, 255, .04), transparent 70%), var(--bg); }
html[data-view="real3d"] .topbar { background: linear-gradient(180deg, #2c2c2e, #151516); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .06); }
html[data-view="real3d"] .masthead { border-bottom: 0; }
html[data-view="real3d"] .lk-mark { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35), inset 0 -3px 0 rgba(0, 0, 0, .25), 4px 6px 12px var(--sh-d), -3px -3px 8px var(--sh-l); }
html[data-view="real3d"] .lk-main { text-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 2px 3px rgba(0, 0, 0, .18); }
html[data-view="real3d"][data-theme="dark"] .lk-main { color: #fff; text-shadow: 0 2px 4px rgba(0, 0, 0, .6); }
html[data-view="real3d"] .logo-img.brand-lg { box-shadow: 6px 6px 14px var(--sh-d), -5px -5px 12px var(--sh-l); }
html[data-view="real3d"] .navbar {
  background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 52%, rgba(0, 0, 0, .1)), linear-gradient(180deg, var(--brand), var(--brand2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .22), 0 8px 18px -8px rgba(0, 0, 0, .45);
}
html[data-view="real3d"] .nav-list a { text-shadow: 0 -1px 0 rgba(0, 0, 0, .35); }
html[data-view="real3d"] .nav-list a.is-active { background: rgba(0, 0, 0, .22); box-shadow: inset 0 3px 8px rgba(0, 0, 0, .35); }
html[data-view="real3d"] .nav-list a::after { display: none; }
html[data-view="real3d"] .navbar .btn-yt { background: linear-gradient(180deg, #fff, #e9e6e1); box-shadow: 0 2px 4px rgba(0, 0, 0, .3), inset 0 -2px 0 rgba(0, 0, 0, .1); }
html[data-view="real3d"] .btn-brand, html[data-view="real3d"] .btn-yt:not(.navbar .btn-yt), html[data-view="real3d"] .chip:not(.chip-soft), html[data-view="real3d"] .tk-label, html[data-view="real3d"] .badge-live, html[data-view="real3d"] .pg-num.is-cur, html[data-view="real3d"] .fchip.is-active, html[data-view="real3d"] .cs-in a.is-active, html[data-view="real3d"] .vplay, html[data-view="real3d"] .to-top, html[data-view="real3d"] .avatar, html[data-view="real3d"] .cc-ic {
  background: linear-gradient(180deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, .12)), linear-gradient(180deg, var(--brand), var(--brand2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -2px 0 rgba(0, 0, 0, .2), 0 4px 10px -2px rgba(0, 0, 0, .35);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
}
html[data-view="real3d"] .chip { border-radius: 999px; padding: 3px 12px 2px; }
html[data-view="real3d"] .btn-ghost, html[data-view="real3d"] .soc, html[data-view="real3d"] .tags a, html[data-view="real3d"] .fchip:not(.is-active), html[data-view="real3d"] .cs-in a:not(.is-active), html[data-view="real3d"] .sh-copy, html[data-view="real3d"] .dr-close {
  background: linear-gradient(180deg, var(--s1), var(--s2)); border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 3px 3px 8px var(--sh-d), -3px -3px 8px var(--sh-l);
}
html[data-view="real3d"][data-theme="dark"] .btn-ghost, html[data-view="real3d"][data-theme="dark"] .soc, html[data-view="real3d"][data-theme="dark"] .tags a, html[data-view="real3d"][data-theme="dark"] .fchip:not(.is-active), html[data-view="real3d"][data-theme="dark"] .cs-in a:not(.is-active), html[data-view="real3d"][data-theme="dark"] .sh-copy, html[data-view="real3d"][data-theme="dark"] .dr-close { border-color: rgba(255, 255, 255, .06); }
html[data-view="real3d"] .card, html[data-view="real3d"] .vcard:not(.vcard-row), html[data-view="real3d"] .panel, html[data-view="real3d"] .tile, html[data-view="real3d"] .vh-side, html[data-view="real3d"] .pn, html[data-view="real3d"] .soon-hero, html[data-view="real3d"] .empty, html[data-view="real3d"] .contact-cards li {
  border: 1px solid rgba(255, 255, 255, .55);
}
html[data-view="real3d"][data-theme="dark"] .card, html[data-view="real3d"][data-theme="dark"] .vcard:not(.vcard-row), html[data-view="real3d"][data-theme="dark"] .panel, html[data-view="real3d"][data-theme="dark"] .tile, html[data-view="real3d"][data-theme="dark"] .vh-side, html[data-view="real3d"][data-theme="dark"] .pn, html[data-view="real3d"][data-theme="dark"] .soon-hero, html[data-view="real3d"][data-theme="dark"] .empty { border-color: rgba(255, 255, 255, .05); }
html[data-view="real3d"] .card:not(.card-overlay):not(.card-mini) .card-media, html[data-view="real3d"] .vcard:not(.vcard-row):not(.vcard-short) .vthumb {
  margin: 10px 10px 0; border-radius: calc(var(--r) - 6px);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .7), 0 4px 10px rgba(0, 0, 0, .25);
}
html[data-view="real3d"][data-theme="dark"] .card:not(.card-overlay):not(.card-mini) .card-media, html[data-view="real3d"][data-theme="dark"] .vcard:not(.vcard-row):not(.vcard-short) .vthumb { box-shadow: 0 0 0 2px rgba(255, 255, 255, .06), 0 4px 12px rgba(0, 0, 0, .5); }
html[data-view="real3d"] .card-row .card-media { margin: 8px 0 8px 8px !important; border-radius: 10px !important; }
html[data-view="real3d"] .card-mini { background: none; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; }
html[data-view="real3d"] .card-overlay { border: 0; box-shadow: 10px 12px 26px var(--sh-d), -6px -6px 16px var(--sh-l); }
html[data-view="real3d"] .vcard-row:hover { background: var(--s2); box-shadow: inset 2px 2px 6px var(--sh-d), inset -2px -2px 6px var(--sh-l); }
html[data-view="real3d"] .sec-head { border-top: 0; padding-top: 0; }
html[data-view="real3d"] .sec-head h2 {
  padding: 8px 20px 6px 14px; border-radius: 999px; background: linear-gradient(180deg, var(--s1), var(--s2));
  box-shadow: 4px 4px 10px var(--sh-d), -4px -4px 10px var(--sh-l); font-size: 1.32rem; border: 1px solid rgba(255, 255, 255, .5);
}
html[data-view="real3d"][data-theme="dark"] .sec-head h2 { border-color: rgba(255, 255, 255, .05); }
html[data-view="real3d"] .sec-head h2 .ic { filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .6)); }
html[data-view="real3d"] .panel .sec-head h2 { padding: 0; background: none; box-shadow: none; border: 0; }
html[data-view="real3d"] .sec-head::after { content: ''; flex: 1; height: 6px; border-radius: 6px; order: 1; box-shadow: inset 2px 2px 4px var(--sh-d), inset -2px -2px 4px var(--sh-l); }
html[data-view="real3d"] .sec-head .more { order: 2; }
html[data-view="real3d"] .panel .sec-head::after { display: none; }
html[data-view="real3d"] .ticker { background: var(--s2); border: 0; box-shadow: inset 0 3px 8px var(--sh-d), inset 0 -2px 4px var(--sh-l); }
html[data-view="real3d"] .list-hero { background: linear-gradient(180deg, var(--s1), var(--s2)); border-bottom: 0; box-shadow: 0 8px 18px -10px var(--sh-d); }
html[data-view="real3d"] .vband { background: linear-gradient(180deg, #2a2a2c, var(--dark)); box-shadow: inset 0 10px 20px -10px rgba(0, 0, 0, .7), inset 0 -10px 20px -10px rgba(0, 0, 0, .7); }
html[data-view="real3d"] .vband .vcard { background: linear-gradient(145deg, #303034, #1f1f22); border-color: rgba(255, 255, 255, .06); box-shadow: 6px 6px 14px rgba(0, 0, 0, .5), -3px -3px 10px rgba(255, 255, 255, .04); }
html[data-view="real3d"] .vband .vcard .vthumb { box-shadow: 0 0 0 2px rgba(255, 255, 255, .08), 0 4px 10px rgba(0, 0, 0, .5) !important; }
html[data-view="real3d"] .live { background: linear-gradient(145deg, #2c2c2f, var(--dark)); box-shadow: 10px 12px 28px var(--sh-d), -6px -6px 16px var(--sh-l); }
html[data-view="real3d"] .vthumb-xl { box-shadow: 0 0 0 6px var(--s1), 10px 14px 30px var(--sh-d), -6px -6px 16px var(--sh-l) !important; }
html[data-view="real3d"] .art-hero img { box-shadow: 0 0 0 6px var(--s1), 10px 12px 26px var(--sh-d), -6px -6px 16px var(--sh-l); }
html[data-view="real3d"] .search-form input, html[data-view="real3d"] .lh-search input { box-shadow: inset 3px 3px 7px var(--sh-d), inset -3px -3px 7px var(--sh-l); border-color: transparent; }
html[data-view="real3d"] .prose blockquote { background: var(--s2); box-shadow: inset 3px 3px 8px var(--sh-d), inset -3px -3px 8px var(--sh-l); }
html[data-view="real3d"] .site-foot { background: linear-gradient(180deg, #232325, #111); border-top: 0; box-shadow: inset 0 4px 0 var(--brand), inset 0 5px 0 rgba(255, 255, 255, .2); }
html[data-view="real3d"] .site-foot .soc { background: linear-gradient(180deg, #333, #1b1b1b); box-shadow: 3px 3px 8px rgba(0, 0, 0, .6), -2px -2px 6px rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .06); }
html[data-view="real3d"] .tile::before { width: 7px; box-shadow: inset -2px 0 3px rgba(0, 0, 0, .2); }
html[data-view="real3d"] .rank { text-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 2px 3px rgba(0, 0, 0, .2); }
html[data-view="real3d"] .drawer-panel { background: var(--bg); }
html[data-view="real3d"] .preview-bar { box-shadow: inset 0 -2px 4px rgba(0, 0, 0, .15); }

/* ---------- 18. Motion ---------- */
@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .75); } 70% { box-shadow: 0 0 0 9px rgba(var(--accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.badge-live .pulse { animation-name: pulse; }

@media (prefers-reduced-motion: reduce) {
  /* keep fades; drop large movement + zoom */
  .js .rv { transform: none; transition: opacity .6s ease; }
  .card:hover, .vcard:hover, .tile:hover, .pn:hover, .btn:hover, .soc:hover, .sh:hover { transform: none; }
  .card:hover .card-media img, .vcard:hover .vthumb img, .vthumb:hover img { transform: none; }
  .drawer-panel { transition: transform .2s ease; }
  .vm-box { animation: fadeIn .2s; }
  .tile:hover::after { transform: none; }
}

/* ---------- 19. Responsive ---------- */
@media (max-width: 1240px) {
  :root { --gut: 24px; --gap: 20px; }
  .cols { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
  .g4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); }
  .nav-list a { padding: 0 11px; font-size: .99rem; }
  .card-overlay .card-title, .vh-title { font-size: 1.8rem; }
}
@media (max-width: 1024px) {
  :root { --nav-h: 60px; }
  .masthead { display: none; }
  .masthead:has(.ad) { display: block; }
  .masthead:has(.ad) .brand, .masthead:has(.ad) .mh-tag { display: none; }
  .masthead:has(.ad) .mh-in { grid-template-columns: 1fr; padding-block: 10px; }
  .masthead:has(.ad) .mh-side { justify-content: center; }
  .nav-burger { display: grid; }
  .nav-mini, .is-stuck .nav-mini { display: inline-flex; animation: none; }
  .nav-list { display: none; }
  .navbar .nav-yt span { display: none; }
  .navbar .nav-yt { width: 44px; height: 44px; padding: 0; border-radius: 50%; }
  .catstrip { display: block; }
  .tb-social, .tb-city { display: none; }
  .cols { grid-template-columns: minmax(0, 1fr); }
  .col-side { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .hero, .vhero, .live { grid-template-columns: minmax(0, 1fr); }
  .hero-side { grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vh-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
  .vh-side-head, .vh-all { grid-column: 1 / -1; }
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail { grid-auto-columns: calc((100% - var(--gap)) / 2.15); }
  .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .rail-btn { display: none; }
  .card-overlay { min-height: 400px; }
}
@media (max-width: 680px) {
  :root { --gut: 16px; --gap: 16px; --nav-h: 58px; }
  body { font-size: 1.03rem; }
  .tb-in { gap: 10px; min-height: 36px; }
  .tb-date { font-size: .8rem; }
  .brand-sm .lk-main { font-size: 1.5rem; }
  .logo-img.brand-sm { height: 40px; }
  .col-side { grid-template-columns: minmax(0, 1fr); }
  .g3, .g4, .sec-grid { grid-template-columns: minmax(0, 1fr); }
  .list-grid .card-lead { grid-column: auto; }
  .hero, .vhero { margin-top: 16px; }
  .hero-side { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .vh-side { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .vh-main .vthumb-xl { border-radius: 12px; }
  .vh-cap { padding: 16px 16px 14px; gap: 7px; }
  .vh-title { font-size: 1.18rem; -webkit-line-clamp: 2; }
  .vh-badges .badge-soft { display: none; }
  .vh-meta { font-size: .82rem; }
  .vh-main .vplay.xl { width: 64px; height: 64px; margin: -32px 0 0 -32px; top: 36%; }
  .card-overlay { min-height: 360px; }
  .card-overlay .card-body { padding: 20px 18px 18px; }
  .card-overlay .card-title { font-size: 1.42rem; }
  .card-overlay .card-sum { display: none; }
  .card-lead .card-title { font-size: 1.3rem; }
  .card-row .card-media { width: 36%; }
  .sec { margin-top: 34px; }
  .sec-head h2 { font-size: 1.3rem; }
  html[data-view="tech"] .sec-head h2 { font-size: 1.36rem; }
  html[data-view="real3d"] .sec-head h2 { font-size: 1.15rem; padding: 7px 16px 5px 12px; }
  .rail { grid-auto-columns: 80%; }
  .rail-shorts { grid-auto-columns: 46%; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tile { min-height: 110px; padding: 14px 14px 14px 18px; }
  .tile-name { font-size: 1.12rem; }
  .tile-n { font-size: 1.7rem; right: 12px; }
  .live { padding: 14px; gap: 16px; margin-top: 16px; }
  .live-h { font-size: 1.5rem; }
  .art-cols { margin-top: 16px; }
  .art-lead { font-size: 1.1rem; }
  .art-meta { flex-wrap: wrap; }
  .am-views { margin-left: 60px; }
  .prose { font-size: 1.1rem; line-height: 1.85; }
  .prevnext { grid-template-columns: minmax(0, 1fr); }
  .pn-next { text-align: left; align-items: flex-start; }
  .page-body { padding: 22px 18px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 36px 24px; }
  .fb-in { justify-content: center; text-align: center; }
  .list-hero { padding: 22px 0 20px; }
  .lh-search .btn span { display: none; }
  .lh-search .btn { width: 48px; padding: 0; }
  .search-form .btn span { display: none; }
  .search-form .btn { width: 48px; padding: 0; }
  .nf-code { font-size: 6rem; }
  .nf-0 { width: 84px; height: 84px; border-width: 6px; }
  .nf-0 .ic { width: 44px; height: 44px; }
  .vm-close { top: -54px; }
  .to-top { right: 14px; bottom: 14px; }
  .pager .pg-btn span { display: none; }
  html[data-view="real3d"] .card:not(.card-overlay):not(.card-mini) .card-media, html[data-view="real3d"] .vcard:not(.vcard-row):not(.vcard-short) .vthumb { margin: 8px 8px 0; }
}
@media (max-width: 380px) {
  .tb-date .ic { display: none; }
  .brand-sm .lk-bot { display: none; }
}
@media print {
  .topbar, .navbar, .catstrip, .ticker, .col-side, .site-foot, .share, .to-top, .related, .prevnext, .ad { display: none !important; }
  body { background: #fff; color: #000; }
  .cols { display: block; }
}
@media (min-width: 1025px) { .sh-native { display: none !important; } }
.g-fit { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
html[data-view="real3d"] .vband .sec-head h2 { background: linear-gradient(180deg, #34343a, #1d1d20); border-color: rgba(255, 255, 255, .08); box-shadow: 4px 4px 10px rgba(0, 0, 0, .5), -2px -2px 8px rgba(255, 255, 255, .05); color: #fff; }
html[data-view="real3d"] .vband .sec-head::after { box-shadow: inset 2px 2px 4px rgba(0, 0, 0, .6), inset -1px -1px 2px rgba(255, 255, 255, .06); }
.prose h2, .prose h3 { font-weight: 800; }
@media (max-width: 680px) {
  .share-label { display: none; }
  .share { gap: 10px; }
  .art-meta { flex-wrap: nowrap; align-items: flex-start; }
  .am-views { margin-left: 0; padding-top: 4px; }
  .am-date { font-size: .84rem; }
}
.hero + .cols > .col-side, .vhero + .cols > .col-side { margin-top: 44px; }
@media (max-width: 680px) { .hero + .cols > .col-side, .vhero + .cols > .col-side { margin-top: 34px; } }
@media (max-width: 680px) {
  .vh-main .vthumb-xl { aspect-ratio: auto; background: var(--dark); animation: none; }
  .vh-main .vthumb-xl img { aspect-ratio: 16 / 9; height: auto; }
  .vh-main .vh-shade { display: none; }
  .vh-main .vplay.xl { top: calc((100vw - 2 * var(--gut)) * .28125); }
  .vh-main .vh-cap { position: relative; padding: 14px 16px 16px; background: linear-gradient(180deg, rgba(var(--brand-rgb), .22), rgba(0, 0, 0, 0)), var(--dark); }
  .vh-title { -webkit-line-clamp: 3; text-shadow: none; }
  html[data-view="tech"] .vthumb-xl::after { display: none; }
}
html[lang="hi"] .lk-top { font-size: 1.3rem; line-height: 1; }

/* ---------- Article photo gallery + lightbox ---------- */
.art-gallery { margin: 28px 0 8px; }
.ag-h { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; margin-bottom: 12px; }
.ag-h .ic { color: var(--brand); }
.ag-h small { margin-left: auto; font-size: .82rem; color: var(--muted); font-weight: 500; }
.ag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ag-item { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--ph); }
.ag-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ag-item:hover img { transform: scale(1.05); }
.ag-item:first-child { grid-column: span 2; grid-row: span 2; }
.lbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(0, 0, 0, .92); padding: 50px 12px; }
.lbox img { max-width: min(1200px, 100%); max-height: 100%; object-fit: contain; border-radius: 6px; }
.lbox button { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lbox button:hover { background: var(--brand); }
.lbox .lb-x { top: 10px; right: 10px; }
.lbox .lb-p { left: 10px; top: 50%; margin-top: -23px; }
.lbox .lb-n { right: 10px; top: 50%; margin-top: -23px; }
.lbox .lb-c { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .75); font-size: .85rem; }
@media (max-width: 560px) { .ag-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Platform credit (Unisoft Corner) ---------- */
.fb-credit { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--foot-muted, rgba(255,255,255,.62)); }
.fb-credit img { width: 22px; height: 22px; border-radius: 50%; background: #fff; padding: 1px; }
.fb-credit b { color: #F5C400; font-weight: 700; letter-spacing: .02em; }
a.fb-credit:hover b { text-decoration: underline; }

/* Big screens: use more of the width instead of a narrow centre column. */
@media (min-width: 1700px) { :root { --wrap: 1600px; } }
@media (min-width: 2200px) { :root { --wrap: 1880px; } }
.town-chips { margin-top: 14px; }
.local-towns .chips { gap: 8px; }
.local-towns .fchip { min-height: 36px; padding: 0 12px; font-size: .92rem; }
/* Towns menu in the header */
.nav-towns { position: relative; flex: none; }
.nav-towns > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; cursor: pointer; font-weight: 700; color: inherit; background: rgba(255, 255, 255, .12); white-space: nowrap; }
.nav-towns > summary::-webkit-details-marker { display: none; }
.nav-towns > summary:hover, .nav-towns[open] > summary, .nav-towns > summary.is-active { background: rgba(255, 255, 255, .22); }
.nav-towns > summary span { max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
.nav-towns[open] > summary .ic:last-child { transform: rotate(180deg); }
.nt-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: min(340px, calc(100vw - 32px)); max-height: min(70vh, 480px); overflow: auto; padding: 12px; border-radius: 14px; background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, .25); }
.nt-h { margin: 0 4px 8px; font-size: .8rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.nt-panel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nt-panel a { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: 9px; font-weight: 700; color: var(--text); }
.nt-panel a:hover, .nt-panel a.is-active { background: rgba(var(--brand-rgb), .1); color: var(--brand); }
.nt-panel em, .dr-towns em { font-style: normal; font-size: .75rem; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--brand); color: #fff; text-align: center; }
.nt-zero { opacity: .6; }
.dr-h { display: flex; align-items: center; gap: 8px; margin: 16px 12px 8px; font-weight: 800; color: var(--muted); font-size: .85rem; }
.dr-towns { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 8px; }
.dr-towns a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; }
.dr-towns a.is-active { border-color: var(--brand); color: var(--brand); }
@media (max-width: 560px) { .nav-towns > summary { padding: 0 10px; } .nav-towns > summary span { display: none; } }
html[data-view="tech"] .nt-panel { background: #10141c; border-color: rgba(255, 255, 255, .12); }
.nt-panel { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }

/* ==========================================================================
   Channel skin: TV-channel banner masthead (yellow centre, red halftone wedges,
   black base), black nav + ticker, big header ad. Dark theme is maroon-black.
   ========================================================================== */
html[data-view="channel"] {
  --ch-red: var(--brand); --ch-yel: #ffe500; --ch-gold: #f5c400; --ch-wedge: min(10vw, 150px);
  --bg: #f2f2f3; --surface: #ffffff; --surface-2: #f7f7f8;
  --line: rgba(17, 17, 17, .11); --line-2: rgba(17, 17, 17, .2);
  --head-bg: transparent; --top-bg: #5c0a0c; --top-text: rgba(255, 255, 255, .9);
  --nav-bg: #111111; --nav-text: #ffffff; --foot-bg: #111111;
  --chip-bg: var(--brand); --r: 10px;
}
html[data-view="channel"][data-theme="dark"] {
  --bg: #12080a; --surface: #241013; --surface-2: #1c0b0d;
  --text: #f6eeee; --text-2: #e2d4d5; --muted: #b9a5a7;
  --line: rgba(255, 229, 0, .12); --line-2: rgba(255, 229, 0, .22);
  --shadow: none; --shadow-h: 0 16px 36px -12px rgba(0, 0, 0, .8);
  --ph: #2a1215; --ph-2: #34181b; --top-bg: #000000; --nav-bg: #0a0405; --foot-bg: #0a0405;
  --focus: var(--ch-yel); --link-hover: var(--ch-yel);
  color-scheme: dark;
}
html[data-view="channel"] .tb-clock { display: inline-flex; align-items: center; gap: 7px; color: var(--ch-yel); }
html[data-view="channel"] .tb-clock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #ff3b42; animation: chBlink 1.2s infinite; }
@keyframes chBlink { 50% { opacity: .25; } }

/* masthead = the channel banner, same in light and dark */
html[data-view="channel"] .masthead {
  position: relative; overflow: hidden; color: #111; border-bottom: 6px solid #111;
  background: radial-gradient(120% 160% at 50% 35%, #fff48a 0%, var(--ch-yel) 42%, var(--ch-gold) 100%);
}
html[data-view="channel"] .masthead::before, html[data-view="channel"] .masthead::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: var(--ch-wedge); z-index: 0;
  background: radial-gradient(rgba(255, 255, 255, .32) 1.1px, transparent 1.7px) 0 0 / 9px 9px, var(--ch-red);
}
html[data-view="channel"] .masthead::before { left: 0; clip-path: polygon(0 0, 100% 0, 55% 100%, 0 100%); }
html[data-view="channel"] .masthead::after { right: 0; clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%); }
html[data-view="channel"] .mh-in {
  position: relative; z-index: 1; grid-template-columns: auto auto minmax(0, 1fr); gap: 14px 28px; padding-block: 14px;
  padding-inline: max(var(--gut), calc(var(--ch-wedge) * .8 - max(0px, (100vw - var(--wrap)) / 2)));
}
html[data-view="channel"] .mh-tag { border-left: 0; padding-left: 0; align-items: flex-start; gap: 6px; }
html[data-view="channel"] .mh-tag strong {
  display: inline-block; background: var(--ch-red); color: #fff; border-radius: 3px; padding: 5px 11px 3px;
  font: 600 1.25rem/1.05 var(--font-disp); letter-spacing: .03em;
}
html[data-view="channel"] .mh-tag span { color: #2b2200; font-weight: 600; font-size: .92rem; }
html[data-view="channel"] .masthead .logo-img.brand-lg { height: 84px; box-shadow: 0 0 0 3px #111, 0 8px 20px -8px rgba(0, 0, 0, .6); }
html[data-view="channel"] .masthead .lk-mark { background: #111; color: var(--ch-yel); box-shadow: none; }
html[data-view="channel"] .masthead .lk-top { background: #111; color: var(--ch-yel); padding: 4px 7px 1px; letter-spacing: .12em; }
html[data-view="channel"] .masthead .lk-main { background: var(--ch-red); color: #fff; padding: 6px 10px 2px; }
html[data-view="channel"] .masthead .lk-bot { background: #111; color: var(--ch-yel); }
html[data-view="channel"] .mh-side { min-width: 0; justify-content: flex-end; }
html[data-view="channel"] .mh-side .ad { max-width: 820px; }
html[data-view="channel"] .mh-side .ad a { border-radius: 6px; box-shadow: 0 0 0 3px #111, 0 10px 22px -12px rgba(0, 0, 0, .7); background: #fff; }
html[data-view="channel"] .mh-side .ad img { max-height: 104px; display: block; }
html[data-view="channel"] .masthead .ad-label { color: #4d3f00; font-weight: 700; text-align: right; }
html[data-view="channel"] .ad-slot {
  display: grid; justify-items: center; align-content: center; gap: 2px; width: min(728px, 100%); min-height: 92px; padding: 8px 18px;
  border: 2px dashed rgba(0, 0, 0, .45); border-radius: 8px; background: rgba(255, 255, 255, .45); color: #111; text-align: center;
}
html[data-view="channel"] a.ad-slot:hover { background: rgba(255, 255, 255, .75); color: #111; border-color: #111; }
html[data-view="channel"] .ad-slot .ad-label { margin: 0; text-align: center; }
html[data-view="channel"] .ad-slot b { font: 600 1.7rem/1.05 var(--font-disp); color: var(--ch-red); }
html[data-view="channel"] .ad-slot small { font-size: .84rem; color: #3d3000; font-weight: 600; }

/* nav + ticker: broadcast black with yellow */
html[data-view="channel"] .navbar { box-shadow: 0 3px 0 var(--ch-red); }
html[data-view="channel"] .nav-list a { font-weight: 700; }
html[data-view="channel"] .nav-list a:hover, html[data-view="channel"] .nav-list a.is-active { color: var(--ch-yel); background: rgba(255, 229, 0, .08); }
html[data-view="channel"] .nav-list a::after { background: var(--ch-yel); }
html[data-view="channel"] .navbar :focus-visible { outline-color: var(--ch-yel); }
html[data-view="channel"] .navbar .btn-yt { background: var(--ch-red); color: #fff; }
html[data-view="channel"] .navbar .btn-yt:hover { color: #fff; filter: brightness(1.1); }
html[data-view="channel"] .nav-mini .lk-mark { background: var(--ch-red); }
html[data-view="channel"] .ticker { background: #111; border-bottom: 0; color: #f5f5f5; }
html[data-view="channel"] .tk-label { background: var(--ch-yel); color: #111; font: 700 1.3rem/1 var(--font-disp); letter-spacing: .02em; padding-top: 3px; }
html[data-view="channel"] .tk-label .pulse { background: var(--ch-red); }
html[data-view="channel"] .tk-item::before { background: var(--ch-red); border-radius: 50%; transform: none; }
html[data-view="channel"] .tk-item.is-brk { color: #ffb3bb; }
html[data-view="channel"] .cs-in a.is-active { background: #111; border-color: #111; color: var(--ch-yel); }
html[data-view="channel"][data-theme="dark"] .cs-in a.is-active { background: var(--ch-yel); border-color: var(--ch-yel); color: #111; }

/* sections + cards: red/yellow tab like the channel panels */
html[data-view="channel"] .sec-head { position: relative; border-top: 1px solid var(--line-2); padding-top: 14px; }
html[data-view="channel"] .sec-head::before { content: ''; position: absolute; left: 0; top: -3px; width: 72px; height: 5px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--ch-red) 0 60%, var(--ch-yel) 60%); }
html[data-view="channel"] .sec-head h2 { font-family: var(--font); }
html[data-view="channel"][data-theme="dark"] .sec-head h2 .ic, html[data-view="channel"][data-theme="dark"] .more { color: var(--ch-yel); }
html[data-view="channel"] .site-foot { border-top: 6px solid var(--ch-yel); box-shadow: inset 0 3px 0 var(--ch-red); }

@media (max-width: 1024px) {
  html[data-view="channel"] { --ch-wedge: 22px; }
  html[data-view="channel"] .masthead, html[data-view="channel"] .masthead:has(.ad) { display: block; }
  html[data-view="channel"] .masthead .brand { display: inline-flex; }
  html[data-view="channel"] .mh-in, html[data-view="channel"] .masthead:has(.ad) .mh-in { grid-template-columns: auto minmax(0, 1fr); padding-block: 10px; gap: 10px 14px; }
  html[data-view="channel"] .masthead .mh-tag { display: flex; }
  html[data-view="channel"] .mh-side { grid-column: 1 / -1; justify-content: center; }
  html[data-view="channel"] .masthead .logo-img.brand-lg { height: 56px; }
  html[data-view="channel"] .nav-mini { display: none; }
  html[data-view="channel"] .is-stuck .nav-mini { display: inline-flex; }
  html[data-view="channel"] .ad-slot { min-height: 64px; }
}
@media (max-width: 680px) {
  html[data-view="channel"] .mh-tag strong { font-size: 1.05rem; }
  html[data-view="channel"] .mh-tag span { display: none; }
  html[data-view="channel"] .masthead .lk-main { font-size: 1.9rem; }
  html[data-view="channel"] .ad-slot b { font-size: 1.35rem; }
}

/* Channel: top story shows the whole 16:9 picture with the headline in a black band below
   (no headline over the picture), side stories use uncropped 16:9 thumbnails. */
html[data-view="channel"] .hero { align-items: start; }
html[data-view="channel"] .card-overlay { height: auto; min-height: 0; background: #111; border: 0; }
html[data-view="channel"] .card-overlay .card-media { position: relative; inset: auto; aspect-ratio: 16 / 9; height: auto; }
html[data-view="channel"] .card-overlay .card-media::after { display: none; }
html[data-view="channel"] .card-overlay .card-body { margin-top: 0; padding: 18px 24px 20px; gap: 10px; border-top: 5px solid var(--ch-yel); background: #111; }
html[data-view="channel"] .card-overlay .card-title { font-size: 1.85rem; line-height: 1.35; text-shadow: none; -webkit-line-clamp: 3; }
html[data-view="channel"] .card-overlay .card-sum { color: rgba(255, 255, 255, .8); -webkit-line-clamp: 2; }
html[data-view="channel"] .card-overlay .chip { background: var(--ch-red); }
html[data-view="channel"] .hero-side { grid-template-rows: none; align-content: start; gap: 12px; }
html[data-view="channel"] .card-row { align-items: center; }
html[data-view="channel"] .card-row .card-media { aspect-ratio: 16 / 9; width: 42%; max-width: 190px; margin: 10px 0 10px 10px; border-radius: 6px; }
html[data-view="channel"] .card-row .card-media img { object-fit: cover; }
html[data-view="channel"] .card-row .card-body { align-self: stretch; justify-content: center; }
@media (max-width: 680px) {
  html[data-view="channel"] .card-overlay .card-body { padding: 14px 16px 16px; }
  html[data-view="channel"] .card-overlay .card-title { font-size: 1.35rem; }
  html[data-view="channel"] .card-row .card-media { width: 40%; }
}

/* ---------- Opening splash (broadcast ident): logo builds, red-gold line draws, screen opens like a curtain ---------- */
.intro { display: none; }
.intro-on .intro { display: block; position: fixed; inset: 0; z-index: 1000; cursor: pointer; }
.intro-on body { overflow: hidden; }
.in-half { position: absolute; left: 0; right: 0; height: 50.5%; background: radial-gradient(120% 140% at 50% 100%, #3a0a0e, #0a0507 70%); }
.in-t { top: 0; }
.in-b { bottom: 0; background: radial-gradient(120% 140% at 50% 0%, #3a0a0e, #0a0507 70%); }
html[data-view="tech"] .in-t { background: radial-gradient(120% 140% at 50% 100%, #0b2238, #04070f 70%); }
html[data-view="tech"] .in-b { background: radial-gradient(120% 140% at 50% 0%, #0b2238, #04070f 70%); }
html[data-view="real3d"] .in-t { background: radial-gradient(120% 140% at 50% 100%, #3a3a40, #151517 70%); }
html[data-view="real3d"] .in-b { background: radial-gradient(120% 140% at 50% 0%, #3a3a40, #151517 70%); }
.intro-on .in-t { animation: inUp .85s 3.4s cubic-bezier(.7, 0, .2, 1) forwards; }
.intro-on .in-b { animation: inDown .85s 3.4s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes inUp { to { transform: translateY(-101%); } }
@keyframes inDown { to { transform: translateY(101%); } }
.in-c { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 20px; padding: 24px; text-align: center; }
.intro-on .in-c { animation: inOut .45s 3.1s ease forwards; }
@keyframes inOut { to { opacity: 0; transform: scale(1.06); } }
.in-logo { opacity: 0; }
.intro-on .in-logo { animation: inM 1s .3s cubic-bezier(.2, .8, .2, 1) forwards; }
.in-logo .logo-img { height: 150px; width: auto; border-radius: 22px; box-shadow: 0 0 0 4px #111, 0 0 0 7px var(--accent), 0 24px 60px -16px rgba(0, 0, 0, .9); }
.in-logo .lockup { transform: scale(1.6); margin: 30px 0; }
.in-logo .lk-main { color: #fff; }
.in-logo .lk-top { color: var(--accent); }
@keyframes inM { from { opacity: 0; transform: translateY(30px) scale(.9); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0); } }
.in-line { width: min(420px, 70vw); height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--brand) 20%, #ffd400 50%, var(--brand) 80%, transparent); transform: scaleX(0); }
html[data-view="tech"] .in-line { background: linear-gradient(90deg, transparent, var(--brand) 20%, #ffd400 50%, #00e5ff 80%, transparent); }
.intro-on .in-line { animation: inLine 1.1s 1.1s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes inLine { to { transform: scaleX(1); } }
.in-cap { font: 500 1.6rem/1.2 var(--font-disp); letter-spacing: .3em; color: rgba(255, 255, 255, .88); opacity: 0; }
html[lang="hi"] .in-cap { letter-spacing: .03em; font-family: var(--font); font-weight: 600; font-size: 1.35rem; }
.intro-on .in-cap { animation: inCap 1.1s 1.6s ease forwards; }
@keyframes inCap { from { opacity: 0; letter-spacing: .5em; } to { opacity: 1; } }
.intro.skip .in-c { animation: inOut .25s ease forwards; }
.intro.skip .in-t { animation: inUp .45s cubic-bezier(.7, 0, .2, 1) forwards; }
.intro.skip .in-b { animation: inDown .45s cubic-bezier(.7, 0, .2, 1) forwards; }
@media (max-width: 680px) { .in-logo .logo-img { height: 110px; } .in-logo .lockup { transform: scale(1.2); margin: 14px 0; } .in-cap { font-size: 1.15rem; } }
/* reduced motion: same splash, no movement, just a fade */
@media (prefers-reduced-motion: reduce) {
  .intro-on .in-t, .intro-on .in-b, .intro-on .in-c, .intro-on .in-logo, .intro-on .in-line, .intro-on .in-cap { animation: none; transform: none; opacity: 1; }
  .intro-on .intro { animation: inFade .6s 3.4s ease forwards; }
}
@keyframes inFade { to { opacity: 0; visibility: hidden; } }
