:root{
  --bg:#0a0a0c;
  --panel:#141418;
  --panel-2:#1c1c22;
  --line:#2a2a33;
  --text:#f4f4f6;
  --muted:#9a9aa6;
  --accent:#00b8d9;      /* cyan — rebrand here */
  --accent-2:#22d3ee;
  --live:#ff2d2d;        /* LIVE badge stays red (universal live signal) */
  --radius:14px;
  --gap:16px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  min-height:100vh;
}

/* ---------- Header ---------- */
header{
  display:flex;align-items:center;gap:16px;
  padding:14px 20px;
  padding-top:calc(14px + env(safe-area-inset-top));
  background:linear-gradient(180deg,#16161b 0%,#101013 100%);
  border-bottom:1px solid var(--line);
  position:sticky;top:0;z-index:50;
}
.logo{
  height:44px;width:auto;display:block;
  filter:drop-shadow(0 2px 10px rgba(0,184,217,.5));
}
.title-block{display:flex;flex-direction:column;line-height:1.1}
.title-block .t1{font-size:18px;font-weight:800;letter-spacing:.5px}
.title-block .t2{font-size:12px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:1px}
.header-spacer{flex:1}
.event-name{
  font-size:14px;font-weight:700;color:var(--text);
  background:var(--panel-2);border:1px solid var(--line);
  padding:8px 14px;border-radius:999px;max-width:40vw;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.event-name.muted{color:var(--muted);font-weight:600;font-style:italic}

/* ---------- Header sponsors ----------
   config.sponsors jsonb (0-4 {img,href,label}). Desktop: normal header flex
   item, right-aligned between the watch counter and the event name (no extra
   positioning needed — header-spacer already pushes this whole group right).
   Mobile: forced onto its own full-width row directly below the rest of the
   header via flex-wrap + flex-basis:100% (order pushes it after eventName so
   only this element wraps, not the compact row above it) — deliberately kept
   in normal flow (no position:fixed/sticky/z-index of its own) rather than
   overlaid, so it doesn't compete with #dropBanner's fixed positioning. */
#sponsorStrip{
  display:flex;align-items:center;gap:10px;
  flex:0 1 auto;min-width:0;overflow-x:auto;
}
#sponsorStrip[hidden]{display:none}
#sponsorStrip a{flex:0 0 auto;display:block;line-height:0}
#sponsorStrip img{
  height:28px;width:auto;object-fit:contain;
  display:block;opacity:.85;transition:opacity .15s;flex:0 0 auto;
}
#sponsorStrip a:hover img,#sponsorStrip img:hover{opacity:1}
@media(max-width:1000px){
  header{flex-wrap:wrap}
  #sponsorStrip:not([hidden]){
    order:10;flex-basis:100%;width:100%;
    margin-top:10px;padding-top:10px;
    border-top:1px solid var(--line);
    overflow-x:auto;-webkit-overflow-scrolling:touch;
    gap:16px;justify-content:flex-start;
  }
  #sponsorStrip img{height:22px}
}

/* ---------- Layout ---------- */
main{padding:var(--gap);max-width:1600px;margin:0 auto}
.section-label{
  font-size:11px;font-weight:800;letter-spacing:2px;color:var(--muted);
  text-transform:uppercase;margin:6px 2px 10px;
}
.hero-row{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--gap);margin-bottom:var(--gap);
}
.player-wall{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--gap);
}

/* ---------- Tile ---------- */
.tile{
  background:var(--panel);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;
}
.tile.hero .banner{
  background:linear-gradient(90deg,var(--accent) 0%,#054a5c 100%);
}
.banner{
  display:flex;align-items:center;gap:10px;padding:10px 14px;
  background:var(--panel-2);border-bottom:1px solid var(--line);
}
.banner .b-logo{
  height:24px;width:auto;display:block;flex:0 0 auto;
}
.lockup-text{flex:1 1 auto;min-width:0;line-height:1.3}
.banner .b-title{font-weight:900;font-size:15px;display:inline}
/* Collab lockup — title_prefix from config.brand, inserted between the
   banner's b-logo and b-title. Hero never gets its own prefix logo image
   (spec: no second logo) — just the accent-colored prefix text. */
.banner .b-prefix{
  display:inline;margin-right:8px;
  font-weight:900;font-size:15px;letter-spacing:.6px;text-transform:uppercase;
  /* Dark-on-accent (matches .pin-chip.active / .audio-chip.active convention) —
     var(--accent) text would wash out against the hero banner's own accent
     gradient background. Player-tile captions use var(--accent-2) instead (see
     .caption .cap-prefix below), where the background is the dark panel. */
  color:#04222b;white-space:nowrap;
}
.live-badge{
  display:inline-flex;align-items:center;gap:6px;
  font-size:11px;font-weight:800;letter-spacing:1px;
  background:var(--live);color:#fff;padding:4px 9px;border-radius:999px;text-transform:uppercase;
}
.live-dot{width:7px;height:7px;border-radius:50%;background:#fff;animation:pulse 1.4s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.25}}

.video-wrap{position:relative;width:100%;aspect-ratio:16/9;background:#000}
.video-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

.plat-badge{
  position:absolute;top:8px;right:8px;z-index:2;
  font-size:10px;font-weight:800;letter-spacing:.5px;
  padding:4px 8px;border-radius:6px;background:rgba(0,0,0,.7);color:#fff;text-transform:uppercase;
}

/* Top-left chip row: watch-chip (mobile only) + audio-chip (always). Both
   chips position statically inside this flex row; the row itself is the
   thing anchored top-left over the video. */
.video-chips{
  position:absolute;top:8px;left:8px;z-index:3;
  display:flex;align-items:center;gap:6px;
}
.audio-chip{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:40px;min-height:40px;padding:6px;
  font-size:17px;line-height:1;
  color:var(--text);background:rgba(10,10,12,.85);
  border:1px solid var(--line);border-radius:999px;
  cursor:pointer;
}
.audio-chip.active{
  color:#04222b;background:var(--accent-2);border-color:var(--accent-2);
}

/* Pin-to-top chip — top-right, under the plat-badge. */
.pin-chip{
  position:absolute;top:34px;right:8px;z-index:3;
  width:28px;height:28px;padding:0;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:13px;line-height:1;
  color:var(--muted);background:rgba(10,10,12,.7);
  border:1px solid var(--line);border-radius:50%;
  cursor:pointer;
}
.pin-chip.active{
  color:#04222b;background:var(--accent-2);border-color:var(--accent-2);
}

/* 🎒 Bag chip — cyan-outline pill; shown in hero banner / player caption. */
.bag-chip{
  display:inline-flex;align-items:center;gap:4px;
  font-size:12px;font-weight:700;color:var(--accent);
  border:1px solid var(--accent);border-radius:999px;
  padding:3px 10px;background:transparent;text-decoration:none;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px;
  flex:0 0 auto;
}
a.bag-chip:hover{background:rgba(0,184,217,.12)}

/* Score ticker overlay — bottom of the video area, above the iframe, below
   the watch-chip (z-index:3). Absent/empty score = element doesn't exist. */
.score-bar{
  position:absolute;left:0;right:0;bottom:0;z-index:2;
  background:#000c;color:#fff;font-weight:800;font-size:13px;
  border-left:3px solid var(--accent);padding:6px 10px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  pointer-events:none; /* never swallow taps meant for linkout anchors under it */
}

/* Link-out tile (TikTok / IG live) */
.linkout{
  position:absolute;inset:0;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:14px;text-decoration:none;color:#fff;
  background:radial-gradient(circle at 50% 40%,#26262e 0%,#0a0a0c 100%);
}
.linkout .av{
  width:74px;height:74px;border-radius:50%;background:var(--panel-2);
  display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:900;
  border:2px solid var(--accent);
}
.linkout .lo-txt{font-weight:800;font-size:15px}
.linkout .lo-cta{
  font-size:12px;font-weight:700;color:#fff;background:var(--accent);
  padding:8px 16px;border-radius:999px;
}
.linkout:hover .lo-cta{background:var(--accent-2)}

/* Empty tile */
.empty{
  position:absolute;inset:0;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:8px;color:var(--muted);
  background:repeating-linear-gradient(45deg,#101014,#101014 12px,#141418 12px,#141418 24px);
}
.empty .e-plus{font-size:32px;opacity:.5}
.empty .e-txt{font-size:13px;font-weight:600}

.caption{
  display:flex;align-items:center;gap:8px;
  padding:8px 12px;
  border-top:1px solid var(--line);background:var(--panel-2);
}
.caption .cap-title{
  display:inline;
  font-size:16px;font-weight:900;color:#fff;letter-spacing:.2px;
}
/* Collab lockup — logo (~16px) + prefix text, inserted before cap-title. */
.caption .cap-prefix-logo{height:20px;width:auto;display:inline-block;vertical-align:-4px;margin-right:6px;}
.caption .cap-prefix{
  display:inline;margin-right:8px;
  font-weight:900;font-size:16px;letter-spacing:.6px;text-transform:uppercase;
  color:var(--accent-2);white-space:nowrap;
  text-shadow:0 0 14px currentColor; /* glow inherits the brand accent — grabs the eye on matchups */
}

/* ---------- Responsive (prototype) ---------- */
@media(max-width:900px){
  .hero-row{grid-template-columns:1fr}
  .player-wall{grid-template-columns:1fr}
  .event-name{max-width:30vw}
}

/* ---------- Task 3 additions ---------- */
.layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;max-width:1700px;margin:0 auto}
#chatMount{position:sticky;top:70px;height:calc(100vh - 90px)}
/* Brand toggle: chat_enabled:false in config.brand hides the chat panel
   entirely and lets the desktop layout collapse back to a single column. */
body.chat-off #chatMount{display:none}
body.chat-off .layout{grid-template-columns:1fr}
.watch{font-weight:800;font-size:13px;color:var(--text);background:var(--panel-2);
  border:1px solid var(--line);padding:8px 14px;border-radius:999px}
.share-btn{
  flex:0 0 auto;width:40px;height:40px;border-radius:50%;
  background:var(--panel-2);border:1px solid var(--line);color:var(--text);
  font-size:16px;line-height:1;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
}
.share-btn:hover{border-color:var(--accent);color:var(--accent)}
.cs-toast{
  position:fixed;left:50%;bottom:24px;transform:translateX(-50%);
  background:var(--panel-2);border:1px solid var(--accent);color:var(--text);
  font-weight:700;font-size:13px;padding:10px 18px;border-radius:999px;
  z-index:200;box-shadow:0 4px 20px rgba(0,0,0,.4);
  padding-bottom:calc(10px + env(safe-area-inset-bottom));
}
.tile-down{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  color:var(--muted);font-weight:800;background:#0d0d11}
@media(max-width:1000px){.layout{grid-template-columns:1fr}
  #chatMount{position:fixed;left:0;right:0;bottom:0;top:auto;height:45vh;z-index:60}}

/* Facebook embed fallback link (FB embeds are flaky on some browsers) */
.fb-fallback{
  display:block;padding:5px 12px;font-size:12px;font-weight:600;color:var(--muted);
  text-decoration:none;background:var(--panel-2);border-top:1px solid var(--line);
}
.fb-fallback:hover{color:var(--text)}

/* Ad strip */
#adStrip{display:flex;gap:10px;align-items:center;margin-top:var(--gap);overflow-x:auto;padding-bottom:4px}
.shop-cta{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;
  font-weight:800;font-size:13px;color:#fff;background:var(--accent);
  padding:12px 18px;border-radius:10px;text-decoration:none;white-space:nowrap;
}
.shop-cta:hover{background:var(--accent-2)}
.ad-tile{
  flex:0 0 auto;display:block;width:140px;height:60px;border-radius:10px;overflow:hidden;
  border:1px solid var(--line);background:var(--panel-2);
}
.ad-tile img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:1000px){#adStrip{flex-wrap:nowrap}}

/* ---------- Task 4: Chat ---------- */
.chat{
  display:flex;flex-direction:column;height:100%;
  background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;
}
.chat-head{
  flex:0 0 auto;display:flex;align-items:center;gap:8px;
  padding:12px 14px;font-size:12px;font-weight:800;letter-spacing:1.5px;
  color:var(--muted);text-transform:uppercase;
  background:var(--panel-2);border-bottom:1px solid var(--line);
}
.chat-head #chatSlow{
  font-size:11px;font-weight:800;letter-spacing:.5px;color:var(--text);
  background:var(--panel);border:1px solid var(--line);
  padding:3px 8px;border-radius:999px;text-transform:none;
}
.chat-pin:empty{display:none}
.chat-pin{flex:0 0 auto;border-bottom:1px solid var(--line)}
.pin{
  padding:8px 14px;font-size:13px;font-weight:700;color:var(--text);
  background:rgba(0,184,217,.12);border-left:3px solid var(--accent);
}
.pin + .pin{border-top:1px solid rgba(0,184,217,.15)}
.chat-unread{
  font-size:11px;font-weight:900;color:#04222b;background:var(--accent);
  padding:2px 8px;border-radius:999px;letter-spacing:0;text-transform:none;
}
.chat-scroll-wrap{position:relative;flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
.chat-scroll{
  flex:1 1 auto;overflow-y:auto;padding:10px 14px;
  display:flex;flex-direction:column;gap:6px;
}
.chat-msg{font-size:13px;line-height:1.4;color:var(--text);word-break:break-word}
.chat-msg b{color:var(--accent);font-weight:800;margin-right:5px}
.chat-jump{
  position:absolute;left:50%;bottom:10px;transform:translateX(-50%);
  background:var(--accent);color:#04222b;border:0;border-radius:999px;
  font-size:12px;font-weight:800;padding:8px 16px;cursor:pointer;
  box-shadow:0 4px 14px rgba(0,0,0,.4);
}
.chat-jump:hover{background:var(--accent-2)}
.chat-form{
  flex:0 0 auto;display:flex;gap:6px;padding:10px;
  border-top:1px solid var(--line);background:var(--panel-2);
}
.chat-form input{
  background:var(--panel);border:1px solid var(--line);color:var(--text);
  border-radius:8px;padding:9px 10px;font-size:13px;outline:none;
}
.chat-form input:focus{border-color:var(--accent)}
.chat-form #chatNick{width:90px;flex:0 0 90px}
.chat-form #chatBody{flex:1 1 auto;min-width:0}
.chat-form button{
  flex:0 0 auto;background:var(--accent);color:#fff;border:0;border-radius:8px;
  width:38px;font-size:15px;font-weight:800;cursor:pointer;
}
.chat-form button:hover{background:var(--accent-2)}

@media(max-width:1000px){
  .chat{border-radius:var(--radius) var(--radius) 0 0}
  .chat-head{
    position:relative;padding-top:16px;justify-content:center;
    cursor:pointer;
  }
  .chat-head::before{
    content:"";position:absolute;top:6px;left:50%;transform:translateX(-50%);
    width:36px;height:4px;border-radius:999px;background:var(--line);
  }
  .chat-toggle{font-size:12px;color:var(--muted)}
  .chat-scroll{padding:8px 12px}
  .chat-form input{padding:10px}
  .chat-form{padding-bottom:calc(10px + env(safe-area-inset-bottom))}

  /* Collapsed = slim tappable bar so the page below (shop CTA etc.) stays
     reachable. Toggled by chat.js via a class on #chatMount; default is
     expanded, state persists in localStorage cs_chat_open. Desktop is
     unaffected — these rules only apply inside this max-width block. */
  #chatMount.chat-collapsed{height:48px;overflow:hidden}
  #chatMount.chat-collapsed .chat{height:48px;border-radius:var(--radius)}
  #chatMount.chat-collapsed .chat-head{padding-top:12px}
  #chatMount.chat-collapsed .chat-pin,
  #chatMount.chat-collapsed .chat-scroll,
  #chatMount.chat-collapsed .chat-form{display:none}
}

/* ---------- Task 5: Code Drop Banner ---------- */
#dropBanner{
  position:sticky;top:70px;z-index:45;
  cursor:pointer;
}
.drop-inner{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;
  padding:14px 20px;
  background:linear-gradient(100deg,var(--accent-2) 0%,var(--accent) 45%,#04222b 100%);
  color:#fff;font-weight:800;font-size:15px;letter-spacing:.2px;text-align:center;
  box-shadow:0 4px 22px rgba(0,184,217,.5);
  animation:dropPulse 1.6s ease-in-out infinite;
}
#dropBanner:hover .drop-inner{filter:brightness(1.08)}
.drop-code{
  background:#fff;color:#04222b;
  font-size:20px;font-weight:900;letter-spacing:1.5px;
  padding:4px 16px;border-radius:999px;
  box-shadow:0 2px 10px rgba(0,0,0,.3);
}
.drop-count{
  font-variant-numeric:tabular-nums;font-weight:800;font-size:14px;
  background:rgba(0,0,0,.28);padding:4px 12px;border-radius:999px;
}
.drop-cta{
  font-size:11px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;
  opacity:.92;text-decoration:underline;text-underline-offset:2px;
}
@keyframes dropPulse{
  0%,100%{box-shadow:0 4px 22px rgba(0,184,217,.5)}
  50%{box-shadow:0 4px 38px rgba(34,211,238,.9)}
}
@media(max-width:1000px){
  #dropBanner{
    /* raised above #watchMode (z-index:55) so drops stay visible while watching.
       top tracks the header's real rendered height (--header-h, set by JS) so a
       wrapped sponsor row never gets covered; 70px is the no-JS fallback. */
    position:fixed;left:0;right:0;top:var(--header-h, 70px);z-index:70;
  }
  /* reserve space in flow so the fixed banner never overlaps content below it */
  #dropBanner:not([hidden]) ~ main{padding-top:90px}
  .drop-inner{padding:10px 14px;font-size:13px;gap:6px}
  .drop-code{font-size:17px;padding:3px 12px}
  .drop-count{font-size:12px;padding:3px 9px}
  .drop-cta{font-size:10px}
}

/* ---------- Task 6: Watch Mode (mobile only) ---------- */
.watch-chip{display:none}
#watchMode{display:none}
@media(max-width:1000px){
  .watch-chip{
    display:inline-flex;align-items:center;justify-content:center;gap:4px;
    min-height:40px;padding:8px 12px;
    font-size:11px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;
    color:var(--text);background:rgba(10,10,12,.85);
    border:1px solid var(--accent);border-radius:999px;
    cursor:pointer;
  }
  body.watching{overflow:hidden}
  #watchMode{
    display:flex;flex-direction:column;
    position:fixed;inset:0;z-index:55;
    background:var(--bg);
  }
  #watchMode[hidden]{display:none}
  .wm-topbar{
    flex:0 0 48px;height:48px;display:flex;align-items:center;gap:10px;
    padding:0 12px;background:var(--panel-2);border-bottom:1px solid var(--line);
  }
  .wm-exit{
    flex:0 0 auto;min-height:48px;min-width:48px;
    display:inline-flex;align-items:center;justify-content:center;gap:6px;
    background:none;border:0;color:var(--text);font-weight:800;font-size:13px;cursor:pointer;
  }
  .wm-title{
    flex:1;display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden;
    font-weight:700;font-size:13px;color:var(--muted);
  }
  /* Collab lockup, compact — logo + prefix + title text. The title itself
     moved from a bare text node on .wm-title to this nested span so the
     ellipsis has a single flexible target once the logo/prefix are siblings. */
  .wm-title-text{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .wm-title-logo{height:14px;width:auto;display:block;flex:0 0 auto;}
  .wm-title-prefix{
    font-weight:800;font-size:11px;letter-spacing:.5px;text-transform:uppercase;
    color:var(--accent-2);flex:0 0 auto;white-space:nowrap;
  }
  .wm-bag{flex:0 0 auto;display:flex;align-items:center;max-width:30vw}
  .wm-bag .bag-chip{font-size:11px;padding:2px 8px;max-width:100%}
  /* Height capped at 45vh so landscape phones (e.g. 932x430) don't have the
     video eat the whole viewport and crush chat to nothing. When the cap
     kicks in, the 16:9 video-wrap below is centered by this flex box with
     black letterbox bars instead of stretching. */
  .wm-video{
    position:relative;width:100%;height:min(56.25vw, 45vh);background:#000;flex:0 0 auto;
    display:flex;align-items:center;justify-content:center;overflow:hidden;
  }
  .wm-video .video-wrap{
    width:min(100%, calc(45vh * 16 / 9));
  }

  /* Chat fills the remaining space below the watch video; overrides the
     normal fixed 45vh bottom-sheet rule above (higher specificity: element
     + class + id beats a bare id selector). */
  body.watching #chatMount{
    position:fixed;left:0;right:0;
    top:calc(48px + min(56.25vw, 45vh));bottom:0;height:auto;
    z-index:56;
  }

  /* ---------- Task 7: Landscape dual-screen ---------- */
  .wm-dual-btn,.wm-single-btn{
    flex:0 0 auto;min-height:48px;min-width:44px;padding:0 10px;
    display:none;align-items:center;justify-content:center;gap:4px;
    background:none;border:0;color:var(--text);font-weight:800;font-size:11px;
    letter-spacing:.5px;text-transform:uppercase;cursor:pointer;
  }
}

/* DUAL entry chip only makes sense in landscape (spec: "show a DUAL button
   ONLY when landscape"), and only while in single watch (not already dual). */
@media(max-width:1000px) and (orientation:landscape){
  body.watching:not(.dual-watch) .wm-dual-btn{display:inline-flex}
}

body.dual-watch .wm-single-btn{display:inline-flex}
/* Title keeps its flex:1 slot (visibility, not display) so ✕/⊟ stay pinned
   left/right instead of collapsing together. */
body.dual-watch .wm-title{visibility:hidden}
body.dual-watch .wm-bag{visibility:hidden}
body.dual-watch .wm-video{display:none}
body.dual-watch #chatMount{display:none}

.wm-dual{display:none}
body.dual-watch .wm-dual{
  display:flex;flex-direction:row;align-items:stretch;justify-content:center;
  flex:1 1 auto;gap:2px;overflow:hidden;background:#000;min-height:0;
}
.wm-pane{
  flex:1 1 50%;max-width:50%;min-width:0;display:flex;flex-direction:column;
  align-items:center;justify-content:center;
}
.wm-pane .video-wrap{
  width:100%;aspect-ratio:16/9;max-height:100%;background:#000;
}
.wm-pane-strip{
  flex:0 0 20px;width:100%;height:20px;display:flex;align-items:center;justify-content:center;gap:4px;
  font-size:10px;font-weight:700;color:var(--text);background:var(--panel-2);
  overflow:hidden;padding:0 6px;
}
/* Collab lockup, compact — logo + prefix + title/score/bag text. */
.wm-pane-text{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.wm-pane-logo{height:12px;width:auto;display:block;flex:0 0 auto;}
.wm-pane-prefix{
  font-weight:800;font-size:9px;letter-spacing:.3px;text-transform:uppercase;
  color:var(--accent-2);flex:0 0 auto;white-space:nowrap;
}

/* Second-stream picker sheet — fixed overlay, only ever opened from the
   landscape-only DUAL chip, but kept unscoped so it always centers/covers
   correctly regardless of viewport. */
.dual-picker{
  position:fixed;inset:0;z-index:80;
  display:flex;align-items:flex-end;justify-content:center;
  background:rgba(0,0,0,.5);
}
.dual-picker[hidden]{display:none}
.dual-picker-sheet{
  width:100%;max-height:70vh;overflow-y:auto;
  background:var(--panel);border:1px solid var(--line);
  border-radius:var(--radius) var(--radius) 0 0;
  padding-bottom:env(safe-area-inset-bottom);
}
.dual-picker-head{
  padding:14px;font-weight:800;font-size:12px;letter-spacing:1.5px;text-transform:uppercase;
  color:var(--muted);border-bottom:1px solid var(--line);
}
.dual-picker-row{
  display:flex;align-items:center;gap:10px;width:100%;min-height:48px;
  padding:10px 14px;background:none;border:0;border-bottom:1px solid var(--line);
  color:var(--text);font-size:14px;font-weight:700;text-align:left;cursor:pointer;
}
.dual-picker-row .dp-plat{
  flex:0 0 auto;font-size:10px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;
  color:var(--muted);background:var(--panel-2);padding:3px 7px;border-radius:6px;
}
.dual-picker-row .dp-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dual-picker-empty{padding:20px 14px;color:var(--muted);font-size:13px;font-weight:600;text-align:center}
