:root{
  --navy:#12284b; --navy-dark:#0c1c36; --gold:#c9a227; --red:#b3202c;
  --ink:#1a1a1a; --gray:#5a6472; --line:#e3e6ea; --bg:#ffffff; --soft:#f5f6f8; --surface:#ffffff;
}
*{box-sizing:border-box}
body{margin:0;font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.55}
a{color:var(--navy);text-decoration:none}
a:hover{text-decoration:underline}
.site-header{position:sticky;top:0;z-index:100;background:var(--navy);color:#fff;padding:14px 20px;display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;border-bottom:4px solid var(--gold);box-shadow:0 2px 10px rgba(0,0,0,.18);transition:background .25s ease,transform .25s ease,visibility 0s}
.site-header.scrolled{background:rgba(18,40,75,.86);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.site-header.header-hidden{transform:translateY(-100%);visibility:hidden;transition:background .25s ease,transform .25s ease,visibility 0s .25s}
@media (prefers-reduced-motion: reduce){.site-header{transition:none}}
.brand{display:flex;align-items:center;gap:12px;color:#fff}
.brand:hover{text-decoration:none}
.brand img{width:52px;height:52px;object-fit:contain}
.brand-text{display:flex;flex-direction:column}
.brand-name{font-family:Georgia,"Times New Roman",serif;font-size:22px;font-weight:700;line-height:1.15}
.brand-tag{font-size:13px;color:#d8c98a;letter-spacing:.02em}
.site-header nav{margin-left:auto;display:flex;gap:18px;flex-wrap:wrap}
.site-header nav a{color:#fff;font-weight:600;font-size:15px}
.site-header nav a.active{color:var(--gold)}
main{max-width:1080px;margin:0 auto;padding:24px 20px 40px}
.page-title{font-family:Georgia,serif;font-size:32px;margin:6px 0 4px}
.section-intro{color:var(--gray);max-width:720px;margin:0 0 20px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:22px;margin-top:18px}
.card{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--surface)}
.card a{color:inherit;display:block}
.card a:hover{text-decoration:none}
.card img{width:100%;height:190px;object-fit:cover;display:block;background:var(--soft)}
.card-body{padding:14px 16px 16px}
.kicker{color:var(--red);font-weight:700;font-size:12.5px;letter-spacing:.01em;margin:0 0 6px}
.card h3{font-family:Georgia,serif;font-size:19px;line-height:1.3;margin:0 0 8px}
.card-desc{color:#333;font-size:14.5px;margin:0 0 10px}
.card-date{color:var(--gray);font-size:13px;margin:0}
.story{max-width:720px;margin:0 auto}
.story h1{font-family:Georgia,serif;font-size:34px;line-height:1.2;margin:4px 0 8px}
.byline{color:var(--gray);font-size:14px;margin:0 0 18px}
.hero{margin:0 0 20px}
.hero img{width:100%;height:auto;border-radius:8px;display:block}
.story img{max-width:100%;height:auto}
.hero-credit{color:var(--gray);font-size:12.5px;margin:6px 0 0;text-align:right}
.story-photo{margin:20px 0 8px}
.story-photo img{display:block;width:100%}
.story p{font-size:17px;margin:0 0 16px}
.story h2{font-family:Georgia,serif;font-size:23px;margin:26px 0 10px}
.story ul{font-size:17px;margin:0 0 16px;padding-left:22px}
.story li{margin-bottom:6px}
.story blockquote{border-left:4px solid var(--gold);margin:20px 0;padding:4px 0 4px 16px;font-family:Georgia,serif;font-size:19px;font-style:italic;color:#333}
.source-line,.fb-line{font-size:14.5px;color:var(--gray);border-top:1px solid var(--line);padding-top:12px}
.fb-line{border-top:none;padding-top:0}
.related{max-width:1080px;margin:36px auto 0}
.related h2{font-family:Oswald,Arial,sans-serif;text-transform:uppercase;letter-spacing:.04em;color:var(--navy);border-bottom:3px solid var(--gold);padding-bottom:6px;margin:0 0 14px;font-size:22px}
.site-footer{background:var(--navy-dark);color:#cdd5e0;padding:26px 20px;text-align:center;margin-top:20px}
.site-footer a{color:#fff;font-weight:600}
.foot-brand{font-family:Georgia,serif;font-size:16px;color:#fff;margin:0 0 8px}
.foot-note{font-size:13px;color:#93a1b5;max-width:640px;margin:10px auto 0}
@media (max-width:640px){
  .brand-name{font-size:18px}
  .story h1{font-size:27px}
  .site-header nav{margin-left:0}
}

#mih-install{background:transparent;color:var(--gold);border:1.5px solid var(--gold);border-radius:999px;padding:9px 18px;font-size:15px;font-weight:600;cursor:pointer}
#mih-install:hover{background:var(--gold);color:var(--navy-dark)}

/* 2026-11-12 batch: featured story, home sections, byline links, signup, search, watch */
.byline a{color:var(--red);text-decoration:none;font-weight:600}
.byline a:hover{text-decoration:underline}
.card.feature{grid-column:1/-1}
.card.feature h3{font-size:clamp(26px,4.5vw,40px);line-height:1.15}
.card.feature img{max-height:480px;object-fit:cover;width:100%}
.home-section{margin-top:34px}
.home-section h2{font-family:Oswald,Arial,sans-serif;text-transform:uppercase;letter-spacing:.04em;color:var(--navy);border-bottom:3px solid var(--gold);padding-bottom:6px;margin:0 0 14px}
.more-link{margin:10px 2px 0}
.more-link a{color:var(--red);font-weight:600;text-decoration:none}
.more-link a:hover{text-decoration:underline}
.signup{max-width:520px;margin:14px auto;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:var(--soft)}
.signup-title{font-weight:700;color:var(--navy);margin:0 0 8px}
.signup-row{display:flex;gap:8px;margin:0}
.signup-row input{flex:1;padding:10px 12px;border:1px solid var(--line);border-radius:8px;font-size:16px}
.signup-row button{background:var(--red);color:#fff;border:0;border-radius:8px;padding:10px 16px;font-weight:700;cursor:pointer}
.search-box input{width:100%;max-width:640px;padding:12px 14px;font-size:17px;border:1.5px solid var(--line);border-radius:10px}
.search-note{color:var(--gray)}
.video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
.video-frame{position:relative;padding-top:56.25%;background:#000;border-radius:10px;overflow:hidden}
.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.video-title{font-weight:600;margin:8px 0 2px}

/* persistent header search + watch page organization */
.searchbar { display:flex; gap:.4rem; align-items:center; margin-left:auto; }
.searchbar-field { position:relative; display:flex; }
.searchbar-mascot { position:absolute; left:7px; top:50%; transform:translateY(-50%); width:24px; height:24px; border-radius:50%; object-fit:cover; object-position:top center; pointer-events:none; }
.searchbar input { padding:.38rem .6rem .38rem 38px; border:1px solid #c9cdd4; border-radius:6px; font-size:.9rem; width:235px; }
.searchbar button { padding:.4rem .7rem; border:0; border-radius:6px; background:#7a1f1f; color:#fff; font-size:.9rem; cursor:pointer; }
/* Floating Ask MIH button (Cory, Nov 28 — replaces the header ask bar):
   bottom corner on every page, opens the Ask MIH web app. Hidden on
   /ask/ itself via ask-ui.css. */
.ask-fab { position:fixed; right:16px; bottom:calc(16px + env(safe-area-inset-bottom)); width:58px; height:58px; border-radius:50%; background:#0d1b2e; border:2px solid #f6f2ea; box-shadow:0 4px 16px rgba(0,0,0,.35); z-index:60; display:block; }
.ask-fab img { width:100%; height:100%; border-radius:50%; object-fit:cover; object-position:top center; display:block; }
.ask-fab::after { content:"Ask MIH"; position:absolute; right:68px; top:50%; transform:translateY(-50%); background:#0d1b2e; color:#fff; padding:4px 10px; border-radius:999px; font-size:12.5px; white-space:nowrap; border:1px solid #2b3a4f; }
/* Main-site install flow (Nov 28 — replaces the old auto install banner):
   header/menu "Add to Phone" button + bottom-sheet guide, driven by
   /assets/site-install.js. One flow, two entry points (header + footer). */
.install-nav-btn { background:transparent; color:#fff; border:1px solid rgba(255,255,255,.45); border-radius:6px; padding:.42rem .85rem; font-size:14px; font-weight:600; cursor:pointer; }
@media (max-width:860px){
  .site-header .install-nav-btn{display:none}
  .site-header.menu-open .install-nav-btn{display:inline-block;order:9;margin-top:10px}
}
.install-sheet { position:fixed; inset:0; background:rgba(4,10,20,.68); z-index:200; display:flex; align-items:flex-end; justify-content:center; }
.install-sheet .sheet-card { background:var(--navy); color:#e8edf4; border-radius:18px 18px 0 0; max-width:520px; width:100%; padding:18px 18px 20px; position:relative; box-sizing:border-box; }
.install-sheet .sheet-card h2 { font-size:21px; margin:6px 0 8px; color:#fff; font-family:Georgia,serif; }
.install-sheet .sheet-card p { font-size:15.5px; line-height:1.45; margin:6px 0; }
.install-sheet .sheet-x { position:absolute; top:10px; right:12px; background:transparent; border:0; color:#ff6b6f; font-size:20px; cursor:pointer; padding:6px; }
.install-sheet .sheet-icon { height:52px; width:52px; border-radius:12px; }
.install-sheet .trap-dots { font-size:30px; letter-spacing:2px; color:#fff; text-align:right; padding-right:6px; }
.install-sheet .sheet-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.install-sheet .sheet-head h2 { margin:0; }
.install-sheet .sheet-head .sheet-x { position:static; padding:0 2px; flex:0 0 auto; }
.install-sheet .trap-arrow { display:inline-block; color:var(--gold); font-size:26px; margin-left:8px; animation:trapbob 1.1s ease-in-out infinite; }
@keyframes trapbob { 0%,100%{transform:translate(0,0)} 50%{transform:translate(5px,-5px)} }
.install-sheet .trap-step { background:rgba(0,0,0,.25); border:1px solid rgba(255,255,255,.25); border-radius:10px; padding:12px 14px; }
.install-sheet .trap-step .cue { color:var(--gold); letter-spacing:2px; font-weight:700; }
.install-sheet .steps { list-style:none; margin:12px 0 0; padding:0; }
.install-sheet .steps li { display:flex; align-items:center; gap:12px; padding:10px 0; border-top:1px solid rgba(255,255,255,.18); font-size:15.5px; line-height:1.4; }
.install-sheet .steps svg { flex:0 0 auto; color:#7db3e8; }
.install-sheet .step-tile { flex:0 0 auto; width:26px; height:26px; border-radius:7px; background:rgba(255,255,255,.16); color:#fff; display:flex; align-items:center; justify-content:center; font-size:19px; }
.install-sheet .step-icon { flex:0 0 auto; width:30px; height:30px; border-radius:7px; }
.watch-feature { margin:1.2rem 0 1.6rem; }
.watch-feature .video-title { font-size:1.15rem; font-weight:700; }
@media (max-width: 640px) { .searchbar { width:100%; margin:.5rem 0 0; } .searchbar-field { flex:1; } .searchbar input { flex:1; width:auto; } }

/* watch page: capped sections, tap-to-play thumbnails */
.video-card.lite { display:block; text-decoration:none; color:inherit; cursor:pointer; }
.video-card.lite .thumb { position:relative; display:block; aspect-ratio:16/9; overflow:hidden; border-radius:8px; background:#111; }
.video-card.lite .thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.play-badge { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:52px; height:52px; border-radius:50%; background:rgba(122,31,31,.92); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.1rem; padding-left:4px; }
.watch-all { margin:1.4rem 0 .4rem; font-weight:600; }

/* hub logos, share row, watch list rows */
.hub-logo { margin:.6rem 0 .1rem; text-align:center; }
.hub-logo img { height:42px; width:auto; display:block; margin:0 auto; }
.share-row { display:flex; flex-wrap:wrap; gap:.45rem; align-items:center; margin:.55rem 0 .8rem; }
.share-label { font-weight:600; margin-right:.15rem; }
.share-btn { padding:.38rem .75rem; border:1px solid #c9cdd4; border-radius:999px; background:#fff; color:#7a1f1f; font-size:.88rem; font-weight:600; text-decoration:none; cursor:pointer; }
.share-btn:hover { background:#f6e9e9; }
.video-list { display:flex; flex-direction:column; gap:14px; }
.video-list .video-card.lite { display:flex; gap:12px; align-items:center; }
.video-list .video-card.lite .thumb { flex:0 0 148px; }
.video-list .play-badge { width:34px; height:34px; font-size:.8rem; }
.video-list .vmeta { display:flex; flex-direction:column; }
.video-list .vmeta .video-title { margin:0 0 2px; }
.video-list .vmeta .card-date { margin:0; }
.signup{max-width:520px;margin:14px auto 18px;padding:16px 18px;border:1px solid #c9cdd4;border-radius:10px;background:#fff}
.signup-head{font-family:Oswald,Arial,sans-serif;text-transform:uppercase;letter-spacing:.04em;color:var(--navy);margin:0 0 10px;font-size:17px}
.signup form{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.signup input{flex:1 1 220px;padding:.55rem .7rem;border:1px solid #c9cdd4;border-radius:6px;font-size:.95rem}
.signup button{padding:.55rem 1rem;border:0;border-radius:6px;background:#7a1f1f;color:#fff;font-weight:600;cursor:pointer}
.signup-note{margin:8px 0 0;font-size:.85rem;color:#555}

/* hub listing pages: compact story rows (same geometry as the Watch list) */
.story-list { display:flex; flex-direction:column; gap:14px; }
.story-row { display:flex; gap:12px; align-items:center; text-decoration:none; color:inherit; }
.story-row .thumb { flex:0 0 148px; display:block; aspect-ratio:16/9; overflow:hidden; border-radius:8px; background:#e8e8e8; }
.story-row .thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.story-row .smeta { display:flex; flex-direction:column; }
.story-row .story-title { font-weight:600; margin:0 0 2px; line-height:1.3; }
.story-row .story-date { color:#666; font-size:.88rem; }

/* dark mode */
.theme-toggle{background:transparent;border:1px solid rgba(255,255,255,.45);color:#fff;border-radius:999px;padding:.38rem .7rem;cursor:pointer;font-size:13px;font-weight:600;line-height:1.2;white-space:nowrap}
html[data-theme="dark"]{--ink:#e8edf4;--gray:#9fb0c3;--line:#2b3a4f;--bg:#0d1522;--soft:#16222f;--surface:#141f30}
html[data-theme="dark"] a{color:#8fb4e8}
html[data-theme="dark"] .card-desc{color:#c3cedb}
html[data-theme="dark"] .story blockquote{color:#d5dde8}
html[data-theme="dark"] .home-section h2,html[data-theme="dark"] .related h2{color:#dbe4f0}
html[data-theme="dark"] .story-row .thumb{background:#1c2a3f}
html[data-theme="dark"] .share-btn{background:var(--surface);color:#e8b4b8;border-color:#2b3a4f}
html[data-theme="dark"] .searchbar input{background:#0f1a2b;color:#e8edf4;border-color:#2b3a4f}
html[data-theme="dark"] .searchbar button{background:#7a1f1f}
html[data-theme="dark"] input#q,html[data-theme="dark"] .search-page input{background:#0f1a2b;color:#e8edf4;border-color:#2b3a4f}
html[data-theme="dark"] .video-title{color:var(--ink)}

/* hub logo beside the name (no longer a centered block) */
.page-head{display:flex;align-items:center;gap:14px;margin:6px 0 4px}
.page-head .hub-logo-img{height:46px;width:auto}
.page-head .page-title{margin:0}
.story-head{display:flex;gap:12px;align-items:flex-start}
.story-head .hub-logo-img{height:40px;width:auto;margin-top:8px}
.story-head h1{margin-top:0}

/* Translate control (language switcher, header) */
.translate-wrap{display:inline-flex;align-items:center;gap:6px}
.translate-globe{font-size:15px;line-height:1}
.lang-select{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.45);border-radius:6px;font-size:13px;padding:3px 4px;max-width:130px}
.lang-select option{color:#12284b;background:#fff}

/* Affiliate product cards (gift guide / storm prep) */
.aff-item { display: flex; gap: 18px; align-items: flex-start; margin: 22px 0; padding: 16px; border: 1px solid var(--border, #d8d8d8); border-radius: 12px; }
.aff-item img { width: 170px; height: 170px; object-fit: contain; flex: 0 0 auto; border-radius: 8px; background: #fff; }
.aff-item .aff-text { flex: 1 1 auto; min-width: 0; }
.aff-item .aff-text h2 { margin-top: 0; }
@media (max-width: 640px) {
  .aff-item { flex-direction: column; align-items: center; text-align: left; }
  .aff-item img { width: 200px; height: 200px; }
  .aff-item .aff-text { width: 100%; }
}
.story a,.source-line a,.fb-line a{color:var(--red);text-decoration:underline;text-underline-offset:2px}

/* 2026-11-19 slop-report fixes: full-frame graphics, in-flow install invite,
   mobile menu header, compact mobile cards */
.card img.hero-contain{height:auto;max-height:430px;object-fit:contain;background:#fff}
.card.feature img.hero-contain{max-height:600px}
.story-row .thumb img.hero-contain{object-fit:contain;background:#fff}
.install-invite{display:flex;align-items:center;gap:12px;background:var(--navy);color:#fff;border-radius:12px;padding:12px 14px;margin:18px 0}
.install-invite img{width:44px;height:44px;border-radius:10px;flex:0 0 auto}
.install-invite .ii-text{flex:1 1 auto;font-size:14px;line-height:1.35}
.install-invite .ii-go{background:#c8a415;color:#12284b;border:0;border-radius:9px;padding:9px 14px;font-weight:700;font-size:14px;flex:0 0 auto;cursor:pointer}
.install-invite .ii-x{background:transparent;color:#fff;border:0;font-size:22px;line-height:1;padding:2px 4px;flex:0 0 auto;cursor:pointer}
.menu-btn{display:none}
@media (max-width:860px){
  .site-header{padding:10px 14px;gap:10px 16px}
  .menu-btn{display:inline-block;margin-left:auto;background:transparent;color:#fff;border:1px solid rgba(255,255,255,.45);border-radius:6px;padding:.42rem .85rem;font-size:14px;font-weight:600;cursor:pointer}
  .site-header nav,.site-header .searchbar,.site-header .theme-toggle,.site-header .translate-wrap{display:none}
  /* Open menu = one slim column list, not wrapped rows (Cory, Nov 28). */
  .site-header.menu-open nav{display:flex;flex-direction:column;flex-basis:100%;margin-left:0;order:5;gap:0}
  .site-header.menu-open nav a{padding:7px 2px;border-top:1px solid rgba(255,255,255,.14);font-size:15.5px}
  .site-header.menu-open .theme-toggle{display:inline-block;order:7;margin-top:10px}
  .site-header.menu-open .translate-wrap{display:inline-flex;order:8;margin-top:10px;margin-left:10px}
  .grid .card:not(.feature) a{display:flow-root}
  .grid .card:not(.feature) img{float:left;width:118px;height:118px;object-fit:cover;margin:0 12px 6px 0}
  .grid .card:not(.feature) img.hero-contain{object-fit:contain;background:var(--soft)}
  .grid .card:not(.feature) .card-body{padding:12px 14px 14px}
}

/* ===== Vicksburg Scanner Radio (/scanner/) — pre-launch page (2026-11-27;
   design pass 2026-11-27: hero brand band, console player frame, agency
   tiles, ad-style sponsor slots). Sponsor slots are the two .sponsor-slot
   blocks; the player embed is .player-frame (its iframe src is
   SCANNER_STREAM_URL in build.py — the iframe is cross-origin and cannot
   be restyled, so the frame around it carries the design). ===== */
.scanner{max-width:880px;margin:0 auto}
.scanner-notice{background:var(--navy-dark);color:#aeb9c9;text-align:center;padding:22px 20px 4px;margin:26px auto 0}
.scanner .scanner-notice h2{font-family:Georgia,serif;font-size:16px;color:#e8edf4;margin:0 0 10px;border:0;display:block;padding:0}
.scanner-notice p{font-size:13.5px;line-height:1.55;max-width:680px;margin:0 auto 10px}
.scanner-notice a{color:#fff;font-weight:600}
.scanner p{font-size:17px;margin:0 0 16px}
.scanner h2{font-family:Georgia,serif;font-size:23px;margin:30px 0 12px;padding-bottom:5px;border-bottom:3px solid var(--gold);display:inline-block}
.scanner-sub{color:var(--gray);font-size:16.5px;max-width:700px;margin:16px 0 4px}

/* Hero brand band — navy-to-red gradient, signal-wave motif, big logo */
.scanner-hero{position:relative;text-align:center;color:#fff;border-radius:16px;padding:22px 22px 20px;margin:6px 0 4px;border-bottom:5px solid var(--gold);box-shadow:0 8px 26px rgba(12,28,54,.28);background:radial-gradient(130% 150% at 88% -10%,rgba(200,16,40,.5),rgba(200,16,40,0) 55%),linear-gradient(158deg,#1a3560 0%,var(--navy) 42%,var(--navy-dark) 100%)}
.hero-waves{display:block;width:230px;height:auto;margin:0 auto 2px}
.hero-waves path{stroke:var(--gold);stroke-width:5;opacity:.85}
.hero-waves path:nth-child(2){opacity:.55}
.hero-waves path:nth-child(3){opacity:.3}
.hero-waves circle{fill:var(--red);stroke:var(--gold);stroke-width:2}
.scanner-logo{display:block;width:120px;height:auto;margin:2px auto 10px}
.hero-kicker{color:#d8c98a;font-weight:700;font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;margin:0 0 6px}
.scanner-hero h1{font-family:Georgia,serif;font-size:44px;line-height:1.1;margin:0 0 8px;color:#fff}
.hero-tag{color:#cdd5e0;font-size:16px;margin:0 0 16px}
.hero-status{margin:0}
.scanner-status{display:inline-block;background:var(--red);color:#fff;font-weight:700;font-size:13px;letter-spacing:.09em;text-transform:uppercase;border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:6px 16px;box-shadow:0 2px 8px rgba(0,0,0,.3)}

/* Sponsor slots — styled like real ad inventory, "Ad" corner tag */
.sponsor-slot{position:relative;border:1px solid var(--line);border-top:4px solid var(--gold);background:var(--surface);border-radius:12px;text-align:center;padding:20px 18px 18px;margin:22px 0;box-shadow:0 3px 14px rgba(12,28,54,.08)}
.sponsor-slot .ad-tag{position:absolute;top:10px;right:12px;font-size:10px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--gray);border:1px solid var(--line);border-radius:4px;padding:2px 6px}
.sponsor-slot .sponsor-label{font-size:12.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--gray);margin:0 0 4px}
.sponsor-slot .sponsor-name{font-family:Georgia,serif;font-size:25px;color:var(--navy);margin:0}
.sponsor-presented .sponsor-name{font-size:28px}
html[data-theme="dark"] .sponsor-slot .sponsor-name{color:#dbe4f0}
.sponsor-slot .sponsor-note{font-size:14.5px;color:var(--gray);margin:6px 0 0}

/* Player — radio console frame around the (unstyleable) embed */
.player-frame{border:2px solid var(--navy-dark);border-radius:14px;overflow:hidden;margin:22px 0 10px;box-shadow:0 10px 30px rgba(12,28,54,.25);background:var(--navy-dark)}
.player-bar{background:linear-gradient(180deg,#1a3560,var(--navy));color:#fff;display:flex;align-items:center;gap:12px;padding:15px 18px;border-bottom:5px solid var(--gold)}
.player-play{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--gold);color:var(--navy-dark);font-size:15px;flex:0 0 auto;padding-left:2px}
.player-bar .player-title{font-family:Oswald,Arial,sans-serif;text-transform:uppercase;letter-spacing:.05em;font-size:18px;font-weight:600}
.player-badge{margin-left:auto;display:inline-flex;align-items:center;gap:7px;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.35);color:#fff;font-size:12px;font-weight:700;letter-spacing:.08em;border-radius:999px;padding:5px 12px;text-transform:uppercase;white-space:nowrap}
.player-badge .badge-dot{width:8px;height:8px;border-radius:50%;border:2px solid var(--gold);flex:0 0 auto}
.player-meter{display:flex;align-items:flex-end;gap:3px;height:16px;padding:5px 18px 0;background:var(--navy-dark)}
.player-meter span{flex:1 1 0;background:var(--gold);opacity:.28;height:45%;border-radius:1px}
.player-meter span:nth-child(2n){height:75%}
.player-meter span:nth-child(3n){height:100%}
.player-meter span:nth-child(5n){height:60%}
.player-meter span:nth-child(7n){height:85%;background:var(--red);opacity:.4}
.player-frame iframe{display:block;width:100%;height:560px;border:0;background:var(--navy-dark)}
.player-note{color:var(--gray);font-size:14.5px}

/* Gold signal-wave divider */
.wave-divider{margin:26px 0 2px}
.wave-divider svg{display:block;width:100%;height:18px}
.wave-divider path{fill:none;stroke:var(--gold);stroke-width:2.5}

/* Agency tiles */
.agency-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(168px,1fr));gap:8px;margin:4px 0 14px}
.agency-tile{display:flex;align-items:center;gap:9px;background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--red);border-radius:8px;padding:8px 10px}
.agency-mark{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 4px;border-radius:50%;background:var(--navy);color:#fff;border:1.5px solid var(--gold);font-family:Oswald,Arial,sans-serif;font-weight:600;font-size:11.5px;letter-spacing:.03em;flex:0 0 auto}
.agency-name{font-size:13.5px;font-weight:600;line-height:1.25}

/* How it works — numbered steps */
.how-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:4px 0 20px}
.how-step{background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:14px 15px}
.how-num{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--red);color:#fff;font-weight:700;font-size:14.5px;margin-bottom:8px}
.how-step .how-title{font-family:Oswald,Arial,sans-serif;text-transform:uppercase;letter-spacing:.05em;font-weight:600;font-size:15.5px;margin:0 0 4px}
.how-step .how-text{font-size:14.5px;color:var(--gray);margin:0}

@media (max-width:640px){
  .scanner-hero{padding:18px 14px 16px}
  .scanner-hero h1{font-size:31px}
  .scanner-logo{width:100px}
  .hero-waves{width:180px}
  .player-bar .player-title{font-size:16px}
  .player-frame iframe{height:480px}
}
