/* © 2026 multiview.cc · proprietary build 2026-11-11 · ee1961d1b9 · copying prohibited · see LICENSE */
/* Multiview — Sports */

:root {
  --bg: #08090c;
  --panel: #0f1218;
  --panel-hi: #151a23;
  --line: rgba(255, 255, 255, .07);
  --line-hi: rgba(255, 255, 255, .14);
  --text: #eef1f6;
  --muted: #8d96a7;
  --muted-dim: #5f6877;
  --accent: #6ea8ff;
  --accent-dim: rgba(110, 168, 255, .14);
  --accent-line: rgba(110, 168, 255, .34);
  --danger: #ff6b6b;
  --ok: #47d39a;
  --r-lg: 14px;
  --r-md: 10px;
  --r-sm: 8px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: .16s;
  --dur-mid: .24s;
  --dur-slow: .5s;
  --topbar-h: 48px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 50% -18%, rgba(58, 92, 160, .30), transparent 62%),
    radial-gradient(700px 420px at 88% 0%, rgba(96, 62, 160, .12), transparent 65%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(110, 168, 255, .3); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── scrollbars ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .1);
  border: 3px solid transparent;
  border-radius: 99px;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .2); background-clip: content-box; }

/* ── top bar ────────────────────────────────────────────────── */
.topbar {
  flex: 0 0 auto;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(9, 10, 14, .74);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  position: relative;
  z-index: 30;
  transition: height .24s var(--ease-out), opacity .18s var(--ease), border-color .2s;
}

/* auto-hide: collapse the chrome without clipping the More menu */
body.chrome-hidden .topbar {
  height: 0;
  opacity: 0;
  pointer-events: none;
  border-bottom-color: transparent;
}
body.chrome-hidden .pastebar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
  border-bottom-color: transparent;
}

/* Idle means no pointer at all: the cursor disappears with the chrome and comes
   back the moment anything moves. */
body.chrome-hidden,
body.chrome-hidden * { cursor: none; }

/* ...and so does every hover affordance: no tile pill, no ring, no focus box. */
body.chrome-hidden .tile-ui {
  opacity: 0 !important;
  transform: translateY(-6px) scale(.985) !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body.chrome-hidden .tile::before,
body.chrome-hidden .tile.is-selected::before,
body.chrome-hidden .tile:hover::before { opacity: 0 !important; }
body.chrome-hidden .tile:focus-visible { outline: none; }
body.chrome-hidden .tile-head:hover { background: linear-gradient(180deg, #11151c, #0c1015); }

.more-wrap { position: relative; }
.more-menu {
  position: absolute;
  top: 34px;
  right: 0;
  z-index: 120;
  width: 224px;
  padding: 5px;
  border: .5px solid var(--line-hi);
  border-radius: 11px;
  background: rgba(14, 17, 23, .98);
  box-shadow: 0 24px 50px -24px #000;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.more-menu[hidden] { display: none; }
.more-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 31px;
  padding: 0 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #c9d2df;
  font-size: 12px;
  text-align: left;
  transition: background .13s, color .13s;
}
.more-item:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.more-item kbd { font-size: 8.5px; padding: 1.5px 4px; opacity: .65; }
.more-item.has-windows { color: #dff7ec; }
.more-item.has-windows::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(71, 211, 154, .12);
}
.more-hint {
  font-size: 8.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.more-item .more-check { opacity: 0; color: var(--ok); font-size: 11px; }
.more-item[aria-pressed="true"] .more-check { opacity: 1; }
.more-sep { height: 1px; margin: 4px 6px; background: var(--line); }


.spacer { flex: 1 1 auto; }

/* tabs */
.view-nav + .tabs-wrap {
  margin-left: 7px;
  padding-left: 11px;
  border-left: 1px solid rgba(255, 255, 255, .08);
}
.tabs-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 0 1 auto;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
  max-width: min(46vw, 620px);
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 8px 0 11px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  max-width: 190px;
  transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), transform .1s var(--ease);
  position: relative;
}

.tab:hover { background: rgba(255, 255, 255, .045); color: #cfd6e2; }
.tab:active { transform: translateY(1px); }

.tab[aria-selected="true"] {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .1);
  color: #f2f5fa;
}

.tab-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tab-label[contenteditable="true"] {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
  text-overflow: clip;
}

.tab-count {
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  color: var(--muted-dim);
  background: rgba(255, 255, 255, .055);
  border-radius: 5px;
  padding: 1px 5px;
  line-height: 1.35;
  margin-left: 2px;
}
.tab[aria-selected="true"] .tab-count { color: #a9c7f5; background: rgba(110, 168, 255, .16); }

.tab-close {
  /* 24px hit area, 10px glyph — meets the minimum touch target without bulk */
  width: 24px;
  height: 24px;
  margin: -4px -5px -4px 0;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted-dim);
  opacity: 0;
  transition: opacity .14s, background .14s, color .14s;
}
.tab:hover .tab-close, .tab[aria-selected="true"] .tab-close { opacity: 1; }
.tab-close:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 30px;
  padding: 0 11px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .035);
  color: #c8d0dd;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .12s var(--ease);
}
a.btn { text-decoration: none; }
a.more-item { text-decoration: none; }
.btn:hover { background: rgba(255, 255, 255, .075); border-color: var(--line-hi); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn:disabled:hover { background: rgba(255, 255, 255, .035); border-color: var(--line); color: #c8d0dd; }

.btn.icon { width: 30px; padding: 0; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { background: rgba(255, 255, 255, .06); color: #fff; border-color: transparent; }

.btn.primary {
  background: linear-gradient(180deg, #7db2ff, #5d97f0);
  border-color: rgba(110, 168, 255, .55);
  color: #06121f;
  font-weight: 620;
  box-shadow: 0 6px 18px -8px rgba(110, 168, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn.primary:hover { background: linear-gradient(180deg, #8fbcff, #6aa1f5); color: #06121f; }

.tool-group {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-left: 9px;
  margin-left: 3px;
  border-left: 1px solid var(--line);
  flex: 0 0 auto;
}

/* layout picker */
.layout-wrap { position: relative; flex: 0 0 auto; }
.layout-picker {
  position: absolute;
  top: 34px;
  right: 0;
  z-index: 120;
  display: none;
  grid-template-columns: repeat(3, 34px);
  gap: 2px;
  padding: 5px;
  border: .5px solid var(--line-hi);
  border-radius: 11px;
  background: rgba(14, 17, 23, .98);
  box-shadow: 0 24px 50px -24px #000;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.layout-picker[hidden] { display: none; }
.layout-wrap.is-open .layout-picker { display: grid; }

.layout-opt {
  width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted-dim);
  transition: background .14s var(--ease), color .14s var(--ease), transform .1s var(--ease);
}
.layout-opt:hover { background: rgba(255, 255, 255, .07); color: #dfe6f0; }
.layout-opt:active { transform: scale(.9); }
.layout-opt[aria-pressed="true"] {
  background: rgba(110, 168, 255, .16);
  color: #a9c9ff;
  box-shadow: inset 0 0 0 1px rgba(110, 168, 255, .28);
}

/* ── paste bar ──────────────────────────────────────────────── */
.pastebar {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  max-height: 72px;
  overflow: hidden;
  padding: 8px 10px;
  position: relative;
  z-index: 20;
  transition: max-height .24s var(--ease-out), padding .24s var(--ease-out), opacity .18s var(--ease);
}

.paste-field {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 5px 5px 5px 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018));
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  min-width: 0;
}
.paste-field:focus-within {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(110, 168, 255, .075), rgba(110, 168, 255, .02));
  box-shadow: 0 0 0 3px rgba(110, 168, 255, .1);
}

.paste-icon { color: var(--muted-dim); flex: 0 0 auto; transition: color .18s; }
.paste-field:focus-within .paste-icon { color: var(--accent); }

#urlInput {
  flex: 1 1 auto;
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  resize: none;
  line-height: 1.45;
  font-size: 13px;
  max-height: 96px;
  overflow-y: auto;
  padding: 0;
  min-width: 0;
}
#urlInput::placeholder { color: #5c6473; }

.paste-add { height: 30px; padding: 0 15px; flex: 0 0 auto; }

/* ── stage / grid ───────────────────────────────────────────── */
.stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
}

.grid {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 1px;
  padding: 0;
  background: #05070a;
  overflow: hidden;
}
/* the light background only exists to colour the 1px seams between tiles */
.grid:has(.tile) { background: rgba(255, 255, 255, .12); }

.grid.is-focus { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(0, 1fr); overflow: hidden; }
.grid.is-focus .tile:not(.is-focused) { display: none; }
.grid.is-focus .tile.is-focused { grid-column: 1 / -1; }

/* ── tile ───────────────────────────────────────────────────── */
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  background: #000;
  overflow: hidden;
  /* isolate each frame so nine players don't force whole-wall relayout/paint */
  contain: layout paint;
  /* the 1px grid gap is the border — no per-tile ring, so seams stay a hairline */
  box-shadow: none;
}

/* Entrance runs once, when the tile is created — never again on view switches
   or focus changes. Opacity on the frame, scale on the body: compositor-only. */
.tile.is-entering {
  animation: tile-fade .34s var(--ease-out) backwards;
  animation-delay: calc(var(--enter, 0) * 36ms);
}

@keyframes tile-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Optional source header — off by default, toggled from Source info → View or T */
.tile-head {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  height: 27px;
  padding: 0 10px;
  background: linear-gradient(180deg, #11151c, #0c1015);
  border-bottom: .5px solid rgba(255, 255, 255, .07);
  font-size: 10.5px;
  color: #aab4c4;
}
body.show-headers .tile-head { display: flex; cursor: pointer; }
body.show-headers .tile-head:hover { background: linear-gradient(180deg, #151b24, #0f141b); }
body.show-headers .tile-ui { top: 35px; }
.tile-head-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ok); flex: 0 0 auto; }
.tile.head-window .tile-head-dot { background: #ffb35c; }
.tile-head-name { color: #e7ecf4; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-head-host { color: #626d7d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-head-tag {
  margin-left: auto;
  flex: 0 0 auto;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(110, 168, 255, .1);
  color: #8fb8ff;
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tile.is-selected::before { opacity: 1; box-shadow: inset 0 0 0 1px rgba(110, 168, 255, .7); }

/* hover ring is a composited overlay, not a box-shadow repaint */
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  opacity: 0;
  transition: opacity .16s var(--ease);
  box-shadow: inset 0 0 0 1px rgba(110, 168, 255, .55);
}
.tile:hover::before { opacity: 1; }
.tile.is-drop::before { opacity: 1; box-shadow: inset 0 0 0 2px rgba(110, 168, 255, .85); }
.tile.is-dragging { opacity: .45; }

/* layout swaps are FLIP-animated in JS; this only marks the promoted layer */
.tile.is-flipping { will-change: transform; z-index: 2; }

.tile.is-entering .tile-body {
  animation: body-settle .72s var(--ease-out) backwards;
  animation-delay: calc(var(--enter, 0) * 36ms);
}

@keyframes body-settle {
  from { opacity: .3; transform: scale(1.018); }
  to { opacity: 1; transform: none; }
}

/* a single soft light sweep on arrival — transform + opacity only */
.tile.is-entering .tile-body::before {
  content: "";
  position: absolute;
  inset: -25% -45%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(104deg, transparent 42%, rgba(255, 255, 255, .075) 50%, transparent 58%);
  animation: tile-sheen .58s var(--ease-out) both;
  animation-delay: calc(var(--enter, 0) * 36ms + 60ms);
}

@keyframes tile-sheen {
  0% { opacity: 0; transform: translateX(-48%); }
  34% { opacity: 1; }
  100% { opacity: 0; transform: translateX(48%); }
}

.grid.is-focus .tile.is-focused { animation: focus-in .2s var(--ease) both; }

@keyframes focus-in {
  from { opacity: .5; }
  to { opacity: 1; }
}

/* floating controls — there is no header, the frame is the whole tile */
.tile-ui {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 3px;
  border-radius: 9px;
  border: .5px solid rgba(255, 255, 255, .16);
  background: rgba(10, 13, 18, .84);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 12px 28px -16px #000;
  opacity: 0;
  transform: translateY(-6px) scale(.985);
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s var(--ease-out), transform .22s var(--ease-out), visibility .18s;
}
.tile:hover .tile-ui,
.tile:focus-within .tile-ui { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }

body.is-moving .tile-ui { opacity: 0 !important; pointer-events: none; visibility: hidden; }

@media (hover: none) {
  .tile-ui { opacity: .82; transform: none; visibility: visible; pointer-events: auto; }
}

/* keyboard focus lands on the tile, which reveals the pill */
.tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.grip {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(2, 2px);
  grid-template-rows: repeat(3, 2px);
  opacity: .65;
  padding: 2px;
}
.grip i { width: 2px; height: 2px; border-radius: 50%; background: currentColor; display: block; }

.tbtn {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #a7b1c1;
  transition: background .14s, color .14s, transform .1s var(--ease);
}
.tbtn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.tbtn:active { transform: scale(.88); }
.tbtn[hidden] { display: none; }
.tbtn:disabled { opacity: .3; cursor: not-allowed; }
.tbtn:disabled:hover { background: transparent; color: #a7b1c1; }
.tbtn.danger:hover { background: rgba(255, 107, 107, .18); color: #ff9494; }
.tbtn[aria-pressed="true"] { color: #ffb0b0; }
.tbtn-grip { cursor: grab; width: 22px; }
.tbtn-grip:active { cursor: grabbing; }

.tbtn.is-audio {
  color: #a9c9ff;
  background: rgba(110, 168, 255, .16);
}

.tile-audio {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 4;
  display: none;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px;
  border-radius: 99px;
  border: 1px solid rgba(110, 168, 255, .32);
  background: rgba(10, 13, 18, .8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #cfe4ff;
  font-size: 9px;
  font-weight: 640;
  letter-spacing: .1em;
  text-transform: uppercase;
  pointer-events: none;
}
.tile-audio b { font-weight: 640; }
.tile.is-audio .tile-audio { display: inline-flex; }

.cc-glyph {
  font-size: 9px;
  font-weight: 720;
  letter-spacing: .01em;
  line-height: 1;
  padding: 2px 2px 1px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px currentColor;
}
.tbtn[aria-pressed="true"] .cc-glyph { background: rgba(110, 168, 255, .18); }

/* arrange mode: a veil over every frame so a hold anywhere starts the drag */
body.is-moving .tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(7, 9, 13, .22);
  box-shadow: inset 0 0 0 .5px rgba(110, 168, 255, .3);
  cursor: grab;
}
body.is-moving .tile:active::after { cursor: grabbing; }

body.is-dragging-tile iframe { pointer-events: none; }
body.is-dragging-tile { cursor: grabbing; }

.tile-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background: #000;
}

/* source label while a tile boots — 9-up feels populated immediately */
.tile-boot {
  position: absolute;
  left: 50%;
  top: calc(50% + 19px);
  transform: translateX(-50%);
  z-index: 3;
  display: none;
  max-width: 86%;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(8, 11, 16, .62);
  border: .5px solid rgba(255, 255, 255, .1);
  font-size: 9.5px;
  font-weight: 550;
  letter-spacing: .02em;
  color: #aab4c4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.tile.is-loading .tile-boot { display: block; }

/* loading ring, removed as soon as the frame reports a load */
.tile.is-loading .tile-body::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .13);
  border-top-color: rgba(110, 168, 255, .95);
  animation: spin .75s linear infinite;
  pointer-events: none;
  z-index: 3;
}

@keyframes spin { to { transform: rotate(360deg); } }

.tile-body iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

/* Clean player tiles: an invisible shield stops hover from waking the site's own
   control bar. App controls live in the floating pill above it. */
.tile-shield {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  background: transparent;
  cursor: default;
}
.tile.is-clean .tile-shield { display: block; }

/* Our own fullscreen — no site chrome, just the video and the hover pill. */
.tile:fullscreen {
  background: #000;
  border-radius: 0;
  width: 100vw;
  height: 100vh;
}
.tile:fullscreen .tile-body { flex: 1 1 auto; }

/* blocked / empty card */
.tile-card {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 14px;
  text-align: center;
  background:
    radial-gradient(420px 220px at 50% 0%, rgba(110, 168, 255, .1), transparent 70%),
    #0c0f15;
  z-index: 1;
}
.tile.is-blocked .tile-card { display: grid; animation: card-in .34s var(--ease-out) both; }

@keyframes card-in {
  from { opacity: 0; transform: translateY(7px) scale(.99); }
  to { opacity: 1; transform: none; }
}

.card-inner { max-width: 320px; display: grid; gap: 8px; justify-items: center; }

.card-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #9ec2ff;
  background: rgba(110, 168, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(110, 168, 255, .22);
  margin-bottom: 2px;
}

.card-title { font-size: 13px; font-weight: 600; color: #e7ecf4; line-height: 1.3; }
.card-host {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted-dim);
  background: rgba(255, 255, 255, .05);
  border-radius: 5px;
  padding: 2px 6px;
}
.card-copy { font-size: 11.5px; line-height: 1.5; color: var(--muted); margin: 1px 0 3px; }
.tile-card .card-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.tile-card .card-actions .btn { height: 27px; font-size: 11.5px; padding: 0 10px; }

/* add tile */
.tile-add {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 120px;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, .012);
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .07);
  color: var(--muted-dim);
  font-size: 12px;
  transition: color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
  animation: tile-in .22s var(--ease) both;
}
.tile-add:hover {
  color: #b9d3fb;
  background: rgba(110, 168, 255, .05);
  box-shadow: inset 0 0 0 .5px var(--accent-line);
}
.tile-add .plus {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.tile-add .plus svg { transition: transform .3s var(--ease); }
.tile-add:hover .plus { border-color: var(--accent-line); background: rgba(110, 168, 255, .1); }
.tile-add:hover .plus svg { transform: rotate(90deg); }

/* ── hero (empty state) ─────────────────────────────────────── */
.hero {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
  z-index: 5;
}
.hero[hidden] { display: none; }

.hero-inner {
  max-width: 980px;
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-text { max-width: 540px; }

/* decorative mini board */
.hero-visual {
  display: none;
  position: relative;
  flex: 0 0 286px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -40px -30px;
  background: radial-gradient(closest-side, rgba(110, 168, 255, .16), transparent 75%);
  filter: blur(14px);
  z-index: 0;
}

.mini-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mini {
  border: .5px solid rgba(255, 255, 255, .09);
  border-radius: 10px;
  overflow: hidden;
  background: #0d1015;
  box-shadow: 0 14px 30px -22px #000;
}

.mini-bar {
  height: 15px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 5px;
  background: linear-gradient(180deg, #171c26, #12161e);
  border-bottom: 1px solid var(--line);
}
.mini-bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6ea8ff;
  opacity: .8;
}
.mini-bar b {
  height: 3px;
  width: 34%;
  border-radius: 2px;
  background: rgba(255, 255, 255, .16);
}

.mini-body {
  height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255, 255, 255, .22);
  background:
    radial-gradient(120px 60px at 50% 0%, rgba(110, 168, 255, .08), transparent 70%),
    #080a0e;
}
.mini-body.live { color: rgba(255, 107, 107, .5); }
.mini-body.live svg { animation: live-pulse 2.8s var(--ease) infinite; }

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}
.mini.is-blocked .mini-body span {
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.mini-caption {
  position: relative;
  margin: 12px 0 0;
  text-align: center;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #4e5764;
}

@media (min-width: 1080px) {
  .hero-visual { display: block; }
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7f9dc9;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.06;
  letter-spacing: -.032em;
  font-weight: 620;
  background: linear-gradient(180deg, #f2f6fc 20%, #a8b6cc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.62;
  color: #a3adbd;
  max-width: 50ch;
}.hero-copy em { color: #d5deea; font-style: normal; font-weight: 550; }

.hero-steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 9px;
}
.hero-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #98a3b4;
}
.hero-steps span {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: #a9c9ff;
  background: rgba(110, 168, 255, .11);
  box-shadow: inset 0 0 0 1px rgba(110, 168, 255, .2);
  margin-top: .5px;
}

.hero-note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted-dim);
  max-width: 52ch;
}

.linkish {
  border: 0;
  background: none;
  padding: 0;
  color: #9dc0f0;
  font-size: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(157, 192, 240, .35);
  text-underline-offset: 2px;
}
.linkish:hover { color: #cfe2ff; text-decoration-color: currentColor; }

/* ── toasts ─────────────────────────────────────────────────── */
.toasts {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 60;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  max-width: min(460px, calc(100vw - 32px));
  padding: 9px 14px;
  border-radius: 9px;
  border: 1px solid var(--line-hi);
  background: rgba(24, 29, 39, .96);
  color: #e2e8f1;
  font-size: 12.5px;
  line-height: 1.4;
  box-shadow: 0 16px 40px -18px #000, 0 0 0 1px rgba(0, 0, 0, .3);
  backdrop-filter: blur(12px);
  animation: toast-in .3s var(--ease-out) both;
}
.toast.out { animation: toast-out .18s var(--ease) both; }
.toast.warn { border-color: rgba(255, 190, 90, .35); }
.toast.err { border-color: rgba(255, 107, 107, .35); }

@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(.975); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(4px) scale(.99); } }

/* ── dialogs ────────────────────────────────────────────────── */
.sheet {
  width: min(560px, calc(100vw - 32px));
  max-height: min(78vh, 680px);
  padding: 0;
  border: 1px solid var(--line-hi);
  border-radius: 16px;
  background: rgba(15, 18, 24, .98);
  color: var(--text);
  box-shadow: 0 40px 90px -30px #000, 0 0 0 1px rgba(0, 0, 0, .5);
  overflow: hidden;
  display: none;
  flex-direction: column;
  backdrop-filter: blur(20px);
}
.sheet[open] { display: flex; animation: sheet-in .3s var(--ease-out) both; }
.sheet::backdrop { background: rgba(4, 6, 10, .62); backdrop-filter: blur(3px); }
.sheet[open]::backdrop { animation: backdrop-in .24s var(--ease-out) both; }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.sheet-narrow { width: min(460px, calc(100vw - 32px)); }

@keyframes sheet-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 13px;
  border-bottom: 1px solid var(--line);
}
.sheet-head h2 { margin: 0; font-size: 15px; font-weight: 620; letter-spacing: -.015em; }
.sheet-sub { margin: 3px 0 0; font-size: 11.5px; color: var(--muted-dim); }

.sheet.has-tabs .sheet-head { border-bottom: 0; padding-bottom: 6px; }

.sheet-tabs {
  display: flex;
  gap: 2px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}

.sheet-tab {
  position: relative;
  padding: 7px 10px 10px;
  border: 0;
  border-radius: 7px 7px 0 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 560;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.sheet-tab:hover { color: #dde5f0; background: rgba(255, 255, 255, .04); }
.sheet-tab.is-active { color: #eef3fa; }
.sheet-tab.is-active::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  animation: tab-in .2s var(--ease) both;
}

@keyframes tab-in { from { transform: scaleX(.4); opacity: 0; } to { transform: none; opacity: 1; } }

.sheet-body {
  padding: 14px 16px;
  overflow-y: auto;
  min-height: 0;
}
.sheet-body:focus,
.sheet-body:focus-visible { outline: none; }

.sheet-foot {
  margin: 0;
  padding: 11px 16px 14px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted-dim);
}
.sheet-foot code, .sheet-body code, .tips code {
  font-family: var(--mono);
  font-size: .92em;
  background: rgba(255, 255, 255, .07);
  border-radius: 4px;
  padding: 1px 4px;
  color: #c3d2e6;
}

.src-group + .src-group { margin-top: 18px; }
.src-group h3 {
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 620;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-dim);
  display: flex;
  align-items: center;
  gap: 7px;
}
.src-group h3::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }

.src-list { display: grid; gap: 1px; }

.src-row {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: background .13s var(--ease);
}
.src-row:hover { background: rgba(255, 255, 255, .05); }

.src-act {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 560;
  letter-spacing: .01em;
  color: var(--muted-dim);
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: color .13s, border-color .13s, background .13s;
}
.src-row:hover .src-act {
  color: #d2deee;
  border-color: var(--line-hi);
  background: rgba(255, 255, 255, .06);
}
.src-row[data-add-url]:hover .src-act {
  color: #d6e8ff;
  border-color: var(--accent-line);
  background: var(--accent-dim);
}

.src-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--muted-dim);
}
.src-row.yes .src-dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(71, 211, 154, .12); }
.src-row.no .src-dot { background: #7d8798; }

.src-name { font-size: 12.5px; font-weight: 520; color: #dfe6f0; flex: 0 0 auto; }
.src-note {
  font-size: 11px;
  color: var(--muted-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 0;
}

.sheet-link {
  display: inline-block;
  margin-top: 8px;
  color: #9dc0f0;
  text-decoration: none;
  border-bottom: 1px solid rgba(157, 192, 240, .32);
  padding-bottom: 1px;
}
.sheet-link:hover { color: #d3e5ff; border-color: currentColor; }

/* ── board sharing ──────────────────────────────────────────── */
.board-meta {
  margin: 0 0 11px;
  font-size: 11.5px;
  color: var(--muted-dim);
  font-variant-numeric: tabular-nums;
}

.board-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.board-sep {
  height: 1px;
  margin: 16px 0 14px;
  background: var(--line);
}

.board-label {
  display: block;
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 620;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.board-input {
  width: 100%;
  min-height: 64px;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.board-input:focus {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px rgba(110, 168, 255, .1);
}

.board-preview { margin: 8px 0 0; font-size: 11.5px; color: #9ec2ff; }
.board-error { margin: 8px 0 0; font-size: 11.5px; color: #ff9b9b; }

.board-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  font-size: 11.5px;
  color: var(--muted);
  cursor: pointer;
}
.board-check input { accent-color: var(--accent); }

.board-note {
  margin: 14px 0 0;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted-dim);
}

.keys { display: grid; gap: 2px; margin: 0; }
.keys > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 8px;
  border-radius: 7px;
}
.keys > div:hover { background: rgba(255, 255, 255, .035); }
.keys dt { display: flex; gap: 3px; flex: 0 0 70px; }
.keys dd { margin: 0; flex: 1 1 auto; font-size: 12px; color: var(--muted); }

kbd {
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 600;
  min-width: 20px;
  padding: 2.5px 5px;
  text-align: center;
  border-radius: 5px;
  border: 1px solid var(--line-hi);
  border-bottom-width: 2px;
  background: rgba(255, 255, 255, .06);
  color: #c9d3e0;
}

.tips {
  margin: 16px 0 0;
  padding: 12px 0 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  gap: 7px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
}
.tips li { padding-left: 13px; position: relative; }
.tips li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-dim);
}
.tips strong { color: #cdd7e4; font-weight: 560; }

/* ── faq ────────────────────────────────────────────────────── */
.faq { display: grid; gap: 2px; }

.faq details {
  border-radius: 8px;
  transition: background .16s var(--ease);
}
.faq details[open] { background: rgba(255, 255, 255, .038); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 8px;
  list-style: none;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 520;
  color: #dfe6f0;
  transition: color .15s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }

.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-right: 2px;
  border-right: 1.5px solid var(--muted-dim);
  border-bottom: 1.5px solid var(--muted-dim);
  transform: rotate(45deg);
  transition: transform .22s var(--ease), border-color .15s;
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
  border-color: var(--accent);
}

.faq details p {
  margin: 0;
  padding: 0 14px 11px 10px;
  font-size: 11.5px;
  line-height: 1.62;
  color: #98a3b4;
  animation: faq-in .18s var(--ease) both;
}

@keyframes faq-in {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: none; }
}

.faq-foot {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted-dim);
}

/* ── cinema mode ────────────────────────────────────────────── */
body.is-cinema .topbar,
body.is-cinema .pastebar { display: none; }

body.is-cinema .grid { padding: 0; gap: 0; background: #000; }

.cinema-exit {
  position: fixed;
  top: 9px;
  left: 50%;
  z-index: 80;
  display: none;
  align-items: center;
  height: 32px;
  padding: 0 15px;
  border-radius: 99px;
  border: 1px solid var(--line-hi);
  background: rgba(18, 22, 30, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 26px -14px #000;
  color: #cfd9e6;
  font-size: 11.5px;
  font-weight: 520;
  white-space: nowrap;
  transform: translate(-50%, -46px);
  opacity: 0;
  pointer-events: none;
  transition: transform .22s var(--ease), opacity .22s var(--ease), background .15s, color .15s;
}
body.is-cinema .cinema-exit { display: flex; }
body.is-cinema.cinema-peek .cinema-exit,
body.is-cinema .cinema-exit:focus-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.cinema-exit { font-size: 12px; }
.cinema-exit:hover { background: rgba(26, 32, 43, .97); color: #fff; border-color: var(--accent-line); }


/* ── arrange mode ───────────────────────────────────────────── */
.btn[aria-pressed="true"] {
  background: var(--accent-dim);
  border-color: var(--accent-line);
  color: #cfe4ff;
}

.move-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 7px 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--line-hi);
  background: rgba(18, 22, 30, .93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 44px -24px #000;
  color: #cfd9e6;
  font-size: 12px;
  white-space: nowrap;
  animation: move-bar-in .2s var(--ease) both;
}
.move-bar[hidden] { display: none; }

@keyframes move-bar-in {
  from { opacity: 0; transform: translate(-50%, 8px) scale(.98); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.move-bar .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(110, 168, 255, .16);
  flex: 0 0 auto;
}
.move-bar .btn { height: 26px; font-size: 11.5px; padding: 0 11px; }

/* ── responsive ─────────────────────────────────────────────── */
@media (max-width: 760px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .grid[data-cols="2"] { grid-template-columns: minmax(0, 1fr); }
  #sourcesBtn { display: none; }
  .tabs { max-width: 42vw; }
  .hero-inner { max-width: 100%; }
  .pastebar .btn.primary { padding: 0 14px; }
}

@media (max-width: 640px) {
  .tabs { max-width: 52vw; }
  #popoutAllBtn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .board-card:hover { transform: none; }
  .preset-card:hover { transform: none; }
  .sport-card:hover, .signin-chip:hover { transform: none; }
  .sport-card:hover .sport-thumb img { transform: none; }
  .preset-card:hover .preset-thumb img { transform: none; }
  .suggest-card:hover { transform: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
}

/* ── top-level views ────────────────────────────────────────── */
[hidden] { display: none !important; }

.view-nav {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  flex: 0 0 auto;
}
.view-nav button {
  height: 24px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 540;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.view-nav button:hover { color: #e8eef7; }
.view-nav button[aria-current="page"] {
  background: var(--accent-dim);
  color: #dce9ff;
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

body[data-view="home"] .tabs-wrap,
body[data-view="sources"] .tabs-wrap,
body[data-view="suggested"] .tabs-wrap,
body[data-view="home"] .layout-wrap,
body[data-view="sources"] .layout-wrap,
body[data-view="suggested"] .layout-wrap,
body[data-view="home"] .tool-group,
body[data-view="sources"] .tool-group,
body[data-view="suggested"] .tool-group { display: none; }

.view-home,
.view-sources,
.view-suggested {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

/* ── suggested channels ─────────────────────────────────────── */
.suggest-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 2px 0 14px;
}
.suggest-filters { display: flex; gap: 4px; flex-wrap: wrap; }
.suggest-chip {
  height: 27px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 540;
  transition: border-color .14s, color .14s, background .14s;
}
.suggest-chip:hover { border-color: var(--line-hi); color: #fff; }
.suggest-chip.is-on { border-color: var(--accent-line); background: rgba(110, 168, 255, .12); color: #dce9ff; }
.suggest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.suggest-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 112px;
  padding: 13px;
  border: .5px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .018);
  text-align: left;
  color: inherit;
  transition: border-color .16s var(--ease), background .16s var(--ease), transform .2s var(--ease-out);
}
.suggest-card:hover { border-color: var(--accent-line); background: rgba(110, 168, 255, .055); transform: translateY(-2px); }
.suggest-card:active { transform: none; }
.suggest-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.suggest-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9fe8c8;
}
.suggest-live i { width: 5px; height: 5px; border-radius: 50%; background: var(--ok); }
.suggest-live.is-vod { color: #9ec2ff; }
.suggest-live.is-vod i { background: var(--accent); }
.suggest-live.is-off { color: #ffd29a; }
.suggest-live.is-off i { background: #ffb35c; }
.suggest-check { margin: 8px 0 0; font-size: 10.5px; letter-spacing: .03em; color: var(--muted-dim); }
.suggest-tag { font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dim); }
.suggest-name { font-size: 13px; font-weight: 620; letter-spacing: -.005em; color: #e7ecf4; }
.suggest-note { font-size: 11px; line-height: 1.45; color: var(--muted-dim); }
.suggest-add { margin-top: auto; font-size: 10.5px; font-weight: 600; color: #8fb8ff; }
.suggest-foot { margin: 18px 0 0; font-size: 11px; line-height: 1.55; color: var(--muted-dim); max-width: 72ch; }

@media (max-width: 900px) {
  .suggest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .suggest-grid { grid-template-columns: 1fr; }
}

/* ── dashboard ──────────────────────────────────────────────── */
.dash {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 22px 52px;
  display: grid;
  gap: 26px;
}

.dash-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.dash-head h1 {
  margin: 3px 0 6px;
  font-size: 28px;
  font-weight: 620;
  letter-spacing: -.03em;
}
.dash-sub {
  margin: 0;
  max-width: 62ch;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.dash-actions { display: flex; gap: 8px; }

.dash-sec { display: grid; gap: 11px; }
.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sec-head h2 {
  margin: 0;
  font-size: 10.5px;
  font-weight: 620;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.sec-meta { font-size: 11px; color: var(--muted-dim); font-variant-numeric: tabular-nums; }

.home {
  max-width: 1160px;
  margin: 0 auto;
  padding: 50px 24px 76px;
}
.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 46%);
  gap: 40px;
  align-items: center;
}
/* a barely-there dot grid gives the empty space texture without noise */
.home-hero::before {
  content: "";
  position: absolute;
  inset: -36px -18px -18px;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(70% 80% at 24% 38%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 80% at 24% 38%, #000 0%, transparent 78%);
}
.home-copy, .home-visual { position: relative; z-index: 1; }
.home-copy { max-width: 620px; }
.home-copy .eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8fb8ff;
}
.home-copy h1 {
  margin: 0;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: .98;
  letter-spacing: -.038em;
  font-weight: 800;
  color: #fff;
}
.home-copy h1 .grad {
  background: linear-gradient(92deg, #8fb8ff 0%, #a78bfa 58%, #cdbaff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home-sub {
  margin: 20px 0 0;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.6;
  color: #a3adbd;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips span {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .028);
  font-size: 12px;
  color: #c9d2df;
}
.hero-paste {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 520px;
  margin-top: 28px;
  padding: 5px 5px 5px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.hero-paste:focus-within {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px rgba(110, 168, 255, .1);
}
.hero-paste input {
  flex: 1 1 auto;
  min-width: 0;
  height: 34px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 13px;
}
.hero-paste input::placeholder { color: #5c6473; }
.hero-paste .btn { height: 34px; padding: 0 16px; flex: 0 0 auto; }
.hero-alt { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hero-alt .btn { height: 30px; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.home-fine { margin: 16px 0 0; font-size: 12px; color: #6f7a8a; }

.home-founder {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 7px 0 0;
  font-size: 10.5px;
  letter-spacing: .01em;
  color: #9fb3c8;
}
.home-founder i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(71, 211, 154, .12);
}

.home-visual { display: none; }

/* ── home: animated sports render ─────────────────────────── */
.home-render {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  perspective: 1600px;
  user-select: none;
}
.render-glow {
  position: absolute;
  inset: 12% 4% 8%;
  background: radial-gradient(60% 60% at 50% 40%, rgba(110, 168, 255, .22), transparent 70%);
  filter: blur(40px);
  opacity: .9;
}
.render-wall {
  position: absolute;
  inset: 7% 3% 13%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 5px;
  transform: rotateY(-15deg) rotateX(6deg);
  transform-style: preserve-3d;
  will-change: transform;
  animation: wall-float 14s ease-in-out infinite alternate;
}
.render-wall::after {
  content: '';
  position: absolute;
  inset: -20%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(106deg, transparent 40%, rgba(255, 255, 255, .13) 50%, transparent 60%);
  animation: render-sweep 8s linear infinite;
}
.render-screen {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: #070a0f;
  box-shadow: 0 18px 36px -18px #000, inset 0 0 0 1px rgba(255, 255, 255, .035);
}
.render-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .82;
  filter: saturate(1.06) contrast(1.04);
}
.render-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 12, .05), rgba(5, 8, 12, .55));
}
.screen-live {
  position: absolute;
  left: 5px;
  bottom: 5px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 14px;
  padding: 0 5px;
  border-radius: 4px;
  background: rgba(5, 8, 12, .72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #dce9fa;
  font-size: 7px;
  font-weight: 650;
  letter-spacing: .04em;
  white-space: nowrap;
}
.screen-live i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ff5d5d;
  box-shadow: 0 0 0 2px rgba(255, 93, 93, .18);
  animation: live-pulse 1.8s ease-in-out infinite;
}
.render-floor {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 1%;
  height: 24%;
  background: radial-gradient(ellipse at center, rgba(110, 168, 255, .16), transparent 68%);
  filter: blur(24px);
  transform: rotateX(68deg);
}
.render-badge {
  position: absolute;
  top: 3%;
  right: 2%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 9px;
  border: .5px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(10, 14, 20, .8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #dce9fa;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.render-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff5d5d;
  box-shadow: 0 0 0 3px rgba(255, 93, 93, .14);
  animation: live-pulse 1.8s ease-in-out infinite;
}
.render-caption {
  position: absolute;
  left: 2%;
  bottom: 0;
  margin: 0;
  font-size: 9px;
  font-weight: 620;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #4e5764;
}

@keyframes wall-float {
  from { transform: rotateY(-15deg) rotateX(6deg) translateY(0); }
  to { transform: rotateY(-11deg) rotateX(4deg) translateY(-7px); }
}
@keyframes render-sweep {
  0% { transform: translateX(-65%); }
  55%, 100% { transform: translateX(65%); }
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
@media (prefers-reduced-motion: reduce) {
  .render-wall, .render-wall::after, .screen-live i, .render-badge i { animation: none; }
}
.home-preview {
  padding: 12px;
  border: .5px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: linear-gradient(180deg, #0e1117, #090c11);
  box-shadow: 0 50px 110px -50px rgba(0, 0, 0, .9), 0 0 0 8px rgba(255, 255, 255, .012);
}
.home-preview .mini-grid { gap: 4px; }
.home-preview .mini { border-radius: 8px; }
.home-preview .mini-body { height: 82px; }
.preview-caption {
  margin: 11px 2px 1px;
  font-size: 9px;
  font-weight: 620;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #4e5764;
}

/* feature row under the hero */
.home-feats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 46px;
  padding-top: 22px;
  border-top: .5px solid rgba(255, 255, 255, .08);
}
.feat { padding: 0 22px; }
.feat + .feat { border-left: .5px solid rgba(255, 255, 255, .08); }
.feat:first-child { padding-left: 0; }
.feat-ico {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-bottom: 9px;
  border-radius: 7px;
  color: #9ec2ff;
  background: rgba(110, 168, 255, .1);
  box-shadow: inset 0 0 0 .5px rgba(110, 168, 255, .26);
}
.feat h2 {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  color: #e7ecf4;
}
.feat p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #8792a3;
  max-width: 34ch;
}

@media (min-width: 1020px) {
  .home-visual { display: block; }
}

.home-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding: 13px 16px;
  border: .5px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, .008));
}
.demo-copy { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.demo-eyebrow {
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8fb8ff;
}
.demo-copy p { margin: 0; font-size: 11.5px; color: var(--muted-dim); }
.demo-sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.demo-sizes button {
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, .02);
  color: #c9d2df;
  font-size: 11px;
  font-weight: 600;
  transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease), transform .12s var(--ease);
}
.demo-sizes button:hover { border-color: var(--accent-line); background: rgba(110, 168, 255, .12); color: #fff; }
.demo-sizes button:active { transform: scale(.96); }

@media (max-width: 760px) {
  .home-demo { flex-direction: column; align-items: stretch; gap: 10px; }
  .demo-sizes { justify-content: flex-start; }
}


.home-presets, .home-signin, .home-sports, .home-strip {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}
.home-presets { margin-top: 30px; }
.preset-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.preset-head p { margin: 0; font-size: 11.5px; color: var(--muted-dim); }
.preset-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.preset-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 11px;
  border: .5px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, .018);
  text-align: left;
  color: inherit;
  transition: border-color .16s var(--ease), background .16s var(--ease), transform .2s var(--ease-out);
}
.preset-card:hover { border-color: var(--accent-line); background: rgba(110, 168, 255, .06); transform: translateY(-2px); }
.preset-card:active { transform: none; }
.preset-thumb {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 2px;
  height: 84px;
  overflow: hidden;
  border-radius: 6px;
  background: #080b10;
}
.preset-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .82;
  filter: saturate(.95);
  transition: transform .4s var(--ease-out), opacity .2s var(--ease);
}
.preset-card:hover .preset-thumb img { transform: scale(1.05); opacity: 1; }
.preset-thumb i {
  border-radius: 2px;
  background: linear-gradient(160deg, rgba(110, 168, 255, .28), rgba(110, 168, 255, .08));
  box-shadow: inset 0 0 0 .5px rgba(110, 168, 255, .2);
}
.preset-name { font-size: 12.5px; font-weight: 600; color: #e7ecf4; }
.preset-meta { font-size: 10.5px; color: var(--muted-dim); }

@media (max-width: 900px) {
  .preset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── channels sidebar ─────────────────────────────────────── */
.channel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 135;
  background: rgba(4, 6, 10, .55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.channel-backdrop[hidden] { display: none; }

.channel-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 140;
  display: flex;
  flex-direction: column;
  width: min(380px, 100vw);
  background:
    radial-gradient(110% 70% at 100% 0%, rgba(110, 168, 255, .08), transparent 60%),
    #0b0e14;
  border-left: .5px solid var(--line-hi);
  box-shadow: -40px 0 90px -40px #000;
}
.channel-drawer[hidden] { display: none; }
body.channels-open { overflow: hidden; }
#channelsBtn[aria-expanded="true"] { color: #cfe4ff; background: rgba(110, 168, 255, .12); border-color: var(--accent-line); }

.channel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 16px 12px;
  border-bottom: .5px solid var(--line);
}
.channel-head h2 {
  margin: 3px 0 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.02em;
}
.channel-search { padding: 10px 12px 6px; }
.channel-search input {
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font-size: 12px;
}
.channel-search input:focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px rgba(110, 168, 255, .1); }
.channel-search input::placeholder { color: #5c6473; }

.channel-list { flex: 1 1 auto; overflow-y: auto; padding: 2px 8px 12px; }
.channel-section h3 {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 8px 3px;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.channel-section h3 span { font-weight: 400; opacity: .65; letter-spacing: 0; }
.channel-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
}
.channel-row:hover { background: rgba(255, 255, 255, .045); }
.channel-dot { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; background: #6b7688; }
.channel-dot.live { background: var(--ok); box-shadow: 0 0 0 3px rgba(71, 211, 154, .12); }
.channel-dot.play { background: #6ea8ff; box-shadow: 0 0 0 3px rgba(110, 168, 255, .12); }
.channel-row-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.channel-row-text b {
  font-size: 12px;
  font-weight: 600;
  color: #e7ecf4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.channel-row-text span {
  font-size: 10px;
  color: var(--muted-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.channel-add {
  flex: 0 0 auto;
  margin-left: auto;
  height: 24px;
  padding: 0 8px;
  font-size: 10.5px;
}
.channel-add:disabled { opacity: .4; }
.channel-empty { padding: 22px 12px; font-size: 12px; color: var(--muted-dim); }
.channel-foot {
  margin: 0;
  padding: 10px 14px 14px;
  border-top: .5px solid var(--line);
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted-dim);
}

@media (max-width: 640px) {
  .channel-drawer { width: 100%; border-left: 0; }
}

/* On a phone the toolbar keeps Mute + More; Arrange and Channels are in More. */
@media (max-width: 560px) {
  #moveBtn, #channelsBtn { display: none; }
  .tool-group { gap: 3px; }
  .view-nav { gap: 1px; }
  .view-nav button { padding-left: 8px; padding-right: 8px; }
}

/* ── home: sport previews ─────────────────────────────────── */
.home-sports { margin-top: 34px; }
.sport-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sport-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: .5px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, .018);
  text-align: left;
  color: inherit;
  transition: border-color .16s var(--ease), background .16s var(--ease), transform .2s var(--ease-out), box-shadow .2s var(--ease);
}
.sport-card:hover {
  border-color: var(--accent-line);
  background: rgba(110, 168, 255, .055);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -24px #000;
}
.sport-card:active { transform: none; }
.sport-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(110, 168, 255, .3), transparent 60%),
    linear-gradient(160deg, #1a2230, #0d1118);
}
.sport-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .84;
  filter: saturate(.92);
  transition: transform .45s var(--ease-out), opacity .2s var(--ease);
}
.sport-card:hover .sport-thumb img { transform: scale(1.045); opacity: 1; }
.sport-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0) 34%, rgba(8, 9, 12, .74));
}
.sport-feed {
  position: absolute;
  left: 7px;
  bottom: 6px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 16px;
  padding: 0 6px;
  border-radius: 5px;
  background: rgba(8, 10, 14, .68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #d3e2f5;
}
.sport-feed i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff5d5d;
  box-shadow: 0 0 0 2px rgba(255, 93, 93, .18);
}
.sport-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 100%;
  height: 100%;
}
.sport-mosaic img { opacity: .55; filter: saturate(.8) brightness(.85); }
.sport-card.sport-all:hover .sport-thumb img { opacity: .78; transform: scale(1.02); }
.sport-body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px 10px;
}
.sport-name { font-size: 12.5px; font-weight: 600; color: #e7ecf4; }
.sport-league {
  font-size: 10px;
  color: var(--muted-dim);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── home: sign-in sites ──────────────────────────────────── */
.home-signin { margin-top: 34px; }
.signin-card {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px 22px;
  border: .5px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(120% 150% at 0% 0%, rgba(110, 168, 255, .075), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .024), rgba(255, 255, 255, .006));
}
.signin-copy h2 {
  margin: 6px 0 8px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #eef3fa;
}
.signin-copy p {
  margin: 0;
  max-width: 48ch;
  font-size: 12px;
  line-height: 1.58;
  color: var(--muted);
}
.signin-copy strong { color: #dfe9f8; font-weight: 600; }
.signin-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}
.signin-steps li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px 0 4px;
  border: .5px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .028);
  font-size: 10.5px;
  color: #c3ccda;
}
.signin-steps b {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(110, 168, 255, .16);
  color: #cfe4ff;
  font-size: 8.5px;
  font-weight: 700;
}
.signin-paste {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 430px;
  margin-top: 12px;
  padding: 4px 4px 4px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.signin-paste:focus-within {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px rgba(110, 168, 255, .1);
}
.signin-paste input {
  flex: 1 1 auto;
  min-width: 0;
  height: 30px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 12px;
}
.signin-paste input::placeholder { color: #5c6473; }
.signin-paste .btn { height: 30px; padding: 0 13px; font-size: 11.5px; flex: 0 0 auto; }

.signin-sites { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.signin-label {
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.signin-row { display: flex; flex-wrap: wrap; gap: 5px; }
.signin-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  border: .5px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, .025);
  color: #c9d2df;
  font-size: 11px;
  font-weight: 520;
  transition: border-color .14s var(--ease), background .14s var(--ease), color .14s var(--ease), transform .12s var(--ease);
}
.signin-chip span { color: var(--muted-dim); font-size: 10px; transition: color .14s; }
.signin-chip:hover {
  border-color: var(--accent-line);
  background: rgba(110, 168, 255, .1);
  color: #fff;
  transform: translateY(-1px);
}
.signin-chip:hover span { color: #9ec2ff; }
.signin-chip:active { transform: none; }
.signin-fine { margin: 1px 0 0; font-size: 10px; line-height: 1.5; color: var(--muted-dim); }

/* ── sign-in tile card ────────────────────────────────────── */
.card-badge {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border: .5px solid rgba(255, 179, 92, .32);
  border-radius: 5px;
  background: rgba(255, 179, 92, .1);
  color: #ffcf96;
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.card-badge[hidden] { display: none; }

@media (max-width: 900px) {
  .sport-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signin-card { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
}
@media (max-width: 560px) {
  .sport-body { flex-direction: column; align-items: flex-start; gap: 2px; }
  .sport-league { text-align: left; }
  .signin-chip { height: 28px; }
}

.home-strip { margin-top: 46px; }
.strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.strip-head h2 {
  margin: 0;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6b7585;
}
.link-btn {
  border: 0;
  background: transparent;
  padding: 4px 0;
  color: #8d97a7;
  font-size: 11.5px;
}
.link-btn:hover { color: #eef3fa; }

.board-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.board-card {
  position: relative;
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .018);
  text-align: left;
  color: inherit;
  transition: border-color .16s var(--ease), background .16s var(--ease),
    transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.board-card:hover {
  border-color: var(--line-hi);
  background: rgba(255, 255, 255, .04);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -26px #000;
}
.board-card:active { transform: none; }
.board-card.is-active { border-color: var(--accent-line); }
.board-card:not(.board-new)::after {
  content: "→";
  position: absolute;
  top: 9px;
  right: 11px;
  font-size: 12px;
  color: #9ec2ff;
  opacity: 0;
  transform: translateX(-3px);
  transition: opacity .15s var(--ease), transform .15s var(--ease);
}
.board-card:not(.board-new):hover::after { opacity: 1; transform: none; }
.board-thumb {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), 1fr);
  grid-auto-rows: 1fr;
  gap: 2px;
  height: 46px;
  margin-bottom: 3px;
}
.board-thumb i { border-radius: 3px; background: rgba(255, 255, 255, .04); }
.board-thumb i.on {
  background: linear-gradient(160deg, rgba(110, 168, 255, .36), rgba(110, 168, 255, .14));
  box-shadow: inset 0 0 0 .5px rgba(110, 168, 255, .3);
}
.board-name { font-size: 12.5px; font-weight: 560; }
.board-meta { font-size: 10.5px; color: var(--muted-dim); }
.board-new {
  align-items: center;
  justify-content: center;
  border-style: dashed;
  min-height: 88px;
}
.board-plus { font-size: 18px; color: var(--muted-dim); }

.recent-row { display: flex; flex-wrap: wrap; gap: 8px; }
.recent-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .018);
  color: inherit;
  font-size: 12px;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.recent-chip:hover { border-color: var(--line-hi); background: rgba(255, 255, 255, .04); }
.recent-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: #7d8798; flex: 0 0 auto; }
.recent-chip .dot.media { background: var(--accent); }
.recent-chip-name {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recent-chip-time { font-size: 10.5px; color: var(--muted-dim); }

.src-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.src-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .018);
  color: inherit;
  font-size: 12px;
}
.src-chip:hover { border-color: var(--line-hi); }
.src-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: #6b7688; flex: 0 0 auto; }
.src-chip.on .dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(71, 211, 154, .12); }
.src-chip-name { font-weight: 560; }
.src-chip-status { font-size: 10.5px; color: var(--muted-dim); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.pill i { width: 6px; height: 6px; border-radius: 50%; background: #6b7688; }
.pill.ok { color: #8fe3bd; }
.pill.ok i { background: var(--ok); box-shadow: 0 0 0 3px rgba(71, 211, 154, .13); }

/* ── source cards ───────────────────────────────────────────── */
.src-cards { display: grid; gap: 12px; }
.card {
  display: grid;
  gap: 11px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  background: rgba(255, 255, 255, .018);
}
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-head h2 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.card-head p { margin: 2px 0 0; font-size: 11.5px; color: var(--muted-dim); }
.card-copy { margin: 0; max-width: 80ch; font-size: 12px; line-height: 1.6; color: var(--muted); }
.card-stats {
  display: flex;
  gap: 26px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.card-stats div { display: grid; gap: 2px; }
.card-stats strong { font-size: 14px; font-weight: 600; }
.card-stats span { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dim); }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-start; }
.card-note { margin: 0; font-size: 11px; line-height: 1.55; color: var(--muted-dim); }
.card-more summary { padding: 3px 0; cursor: pointer; font-size: 11.5px; color: var(--muted); }
.card-more summary:hover { color: #dfe6f0; }
.card-more[open] summary { margin-bottom: 9px; }

.form { display: grid; gap: 9px; }
.field { display: grid; gap: 5px; }
.field > span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.field > span em { font-style: normal; letter-spacing: 0; text-transform: none; opacity: .7; }
.field input {
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  font-size: 12px;
  outline: none;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field input:focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px rgba(110, 168, 255, .1); }
.form-row { display: flex; gap: 8px; flex-wrap: wrap; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; }
.form-msg { margin: 0; font-size: 11.5px; color: #9ec2ff; }
.form-msg.err { color: #ff9b9b; }
.check { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--accent); }

/* ── channel browser ────────────────────────────────────────── */
.browser {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .012);
  overflow: hidden;
}
.browser-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}
.browser-head h2 { margin: 0; font-size: 14px; font-weight: 600; }
.browser-sub { margin: 2px 0 0; font-size: 11px; color: var(--muted-dim); }
.browser-tools { display: flex; align-items: center; gap: 8px; padding: 11px 14px; flex-wrap: wrap; }
.browser-search {
  flex: 1 1 220px;
  min-width: 0;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  font-size: 12px;
  outline: none;
}
.browser-search:focus { border-color: var(--accent-line); }
.browser-select {
  height: 32px;
  max-width: 200px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  font-size: 12px;
}
.browser-note { margin: 0; padding: 0 14px 9px; font-size: 11px; color: var(--muted-dim); }
.chan-viewport { max-height: min(52vh, 520px); overflow-y: auto; border-top: 1px solid var(--line); }
.chan-rows { position: relative; }
.chan-row {
  position: absolute;
  left: 0;
  right: 0;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}
.chan-row:hover { background: rgba(255, 255, 255, .035); }
.chan-row.static { position: static; }
.chan-logo {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  object-fit: contain;
  background: rgba(255, 255, 255, .05);
}
.chan-logo.placeholder {
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 650;
  color: #9ec2ff;
}
.chan-text { display: grid; gap: 2px; min-width: 0; flex: 1 1 auto; }
.chan-text strong {
  font-size: 12.5px;
  font-weight: 540;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chan-text span {
  font-size: 11px;
  color: var(--muted-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chan-fav {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted-dim);
}
.chan-fav:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.chan-fav.on { color: #ffcf7a; }
.browser-empty { padding: 22px 14px; font-size: 12px; color: var(--muted); }
.browser-empty.err { color: #ff9b9b; }

/* ── direct-stream tiles ────────────────────────────────────── */
.tile-media { position: absolute; inset: 0; background: #000; }
.tile-body iframe[hidden] { display: none !important; }
.media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}
.tile-media-label {
  position: absolute;
  opacity: 0;
  transition: opacity .15s var(--ease);
  top: 8px;
  left: 8px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 120px);
  height: 22px;
  padding: 0 9px;
  border: 1px solid var(--line-hi);
  border-radius: 99px;
  background: rgba(10, 13, 18, .8);
  backdrop-filter: blur(10px);
  color: #cfd9e6;
  font-size: 10px;
  font-weight: 560;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.tile:hover .tile-media-label,
.tile:focus-within .tile-media-label { opacity: 1; }

.tile.has-media-error .tile-media::after {
  content: "This stream did not start — see the message";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  font-size: 11.5px;
  color: #ff9b9b;
  background: rgba(8, 10, 14, .82);
}

@media (max-width: 1019px) {
  .home-hero { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 760px) {
  .home { padding: 34px 16px 56px; }
  .board-card { flex: 1 1 100%; max-width: none; }
  .home-copy h1 { font-size: clamp(34px, 9vw, 46px); }
  .home-strip { margin-top: 38px; }
  .dash { padding: 20px 14px 40px; gap: 20px; }
  .dash-head h1 { font-size: 23px; }
  .form-row.two { grid-template-columns: 1fr; }
  .view-nav button { padding: 0 8px; font-size: 11.5px; }
  .recent-meta { display: none; }
}

/* ── plan ───────────────────────────────────────────────────── */
.plan-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}
.plan-founder-id {
  padding: 2px 6px;
  border: .5px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, .03);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  color: #cfe4ff;
}
.plan-founder-since { font-size: 10.5px; color: var(--muted-dim); }
.plan-headline {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.02em;
}
.plan-copy { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.plan-install {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 12px;
  border: .5px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .02);
}
.plan-install .btn { flex: 0 0 auto; height: 29px; padding: 0 12px; font-size: 11.5px; }
.plan-install p { margin: 0; font-size: 11.5px; line-height: 1.55; color: var(--muted-dim); }
.plan-get {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 12px;
  border: .5px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .02);
}
.plan-get-row { display: flex; flex-wrap: wrap; gap: 6px; }
.plan-get-row .btn { height: 29px; padding: 0 12px; font-size: 11.5px; }
.plan-get p { margin: 0; font-size: 11.5px; line-height: 1.55; color: var(--muted-dim); }
.plan-pro-note { margin: 0; font-size: 11px; color: #9ec2ff; }
.plan-sep { height: 1px; margin: 16px 0; background: var(--line); }
.plan-pro { display: grid; gap: 9px; }
.plan-pro-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.plan-pro-head strong { font-size: 13px; }
.plan-price { font-size: 12px; color: #9ec2ff; font-variant-numeric: tabular-nums; }
.plan-list {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}
.plan-list li::marker { color: #6b7688; }
.plan-list + .btn { justify-self: start; margin-top: 2px; }

/* ── sources list ───────────────────────────────────────────── */
.src-sub {
  margin: 12px 8px 4px;
  font-size: 9.5px;
  font-weight: 620;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

/* ── plan visibility ────────────────────────────────────────── */
.plan-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: rgba(110, 168, 255, .1);
  color: #dce9ff;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease), transform .12s var(--ease);
}
.plan-chip:hover {
  border-color: rgba(110, 168, 255, .55);
  color: #fff;
  background: rgba(110, 168, 255, .18);
}
.plan-chip:active { transform: scale(.98); }
.plan-chip-arrow { font-size: 12px; opacity: .85; }

/* Keep the wall itself quiet: the plan lives on Home and in More. */
body[data-view="wall"] .plan-chip { display: none; }
.plan-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(71, 211, 154, .12);
}

.home-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.price-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .018);
}
.price-card.pro {
  position: relative;
  overflow: hidden;
  border-color: var(--accent-line);
  background: rgba(110, 168, 255, .05);
}
.price-card.pro::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 168, 255, .6), transparent);
}
.price-card h3 { margin: 0; font-size: 15px; font-weight: 620; letter-spacing: -.01em; }
.price-card p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.price-note { font-size: 11px !important; color: var(--muted-dim) !important; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.price-tag { font-size: 13px; font-weight: 600; color: #9ec2ff; font-variant-numeric: tabular-nums; }
.price-list {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}
.price-list li::marker { color: #6b7688; }
.price-card .btn { align-self: flex-start; margin-top: auto; height: 28px; font-size: 11.5px; }

@media (max-width: 760px) {
  .home-pricing { grid-template-columns: 1fr; }
  /* the plan stays visible on small screens — it is the point of the chip */
  .plan-chip { height: 26px; padding: 0 9px; gap: 5px; font-size: 10.5px; }
  .plan-chip-arrow { display: none; }
}

/* ── source inspector ────────────────────────────────────────── */
.source-heading { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.source-heading h2 { margin: 0; }
.source-state {
  display: inline-flex;
  align-items: center;
  height: 17px;
  padding: 0 7px;
  border-radius: 99px;
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.source-state.is-inline { color: #9fe8c8; background: rgba(71, 211, 154, .12); box-shadow: inset 0 0 0 .5px rgba(71, 211, 154, .24); }
.source-state.is-window { color: #ffd29a; background: rgba(255, 179, 92, .12); box-shadow: inset 0 0 0 .5px rgba(255, 179, 92, .26); }
.info-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
  border-bottom: .5px solid rgba(255, 255, 255, .06);
  font-size: 12px;
}
.info-row span { color: var(--muted-dim); }
.info-row b { color: #dfe7f2; font-weight: 540; overflow-wrap: anywhere; }
.source-meta { padding: 12px 0; border-bottom: .5px solid rgba(255, 255, 255, .06); }
.meta-card { display: flex; align-items: center; gap: 10px; }
.meta-thumb {
  width: 96px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 6px;
  border: .5px solid var(--line);
  background: #000;
}
.meta-copy { display: grid; gap: 3px; min-width: 0; }
.meta-copy b { font-size: 12px; font-weight: 600; line-height: 1.35; color: #e7ecf4; overflow-wrap: anywhere; }
.meta-copy span { font-size: 10.5px; color: var(--muted-dim); }
.meta-note { margin: 0; font-size: 11px; line-height: 1.55; color: var(--muted-dim); }
.source-meta .btn { margin-top: 9px; height: 27px; padding: 0 10px; font-size: 11px; }
.info-url { display: grid; gap: 5px; padding: 11px 0; border-bottom: .5px solid rgba(255, 255, 255, .06); }
.info-url > span { font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dim); }
.info-url code {
  display: block;
  padding: 7px 9px;
  border: .5px solid var(--line);
  border-radius: 7px;
  background: rgba(0, 0, 0, .28);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.45;
  color: #bfd2ea;
  overflow-wrap: anywhere;
}
.info-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 13px; }
.info-actions .btn { height: 28px; padding: 0 10px; font-size: 11.5px; }
.info-hint { font-size: 10.5px; color: var(--muted-dim); }
.info-copy { margin: 10px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.info-copy kbd { font-size: 9.5px; padding: 1px 4px; }
.info-pre {
  margin: 12px 0 0;
  max-height: 220px;
  overflow: auto;
  padding: 10px 11px;
  border: .5px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, .3);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.55;
  color: #b9cadf;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.info-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border: .5px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .02);
  font-size: 12px;
  font-weight: 550;
  color: #dfe7f2;
  cursor: pointer;
}
.info-toggle input { width: 15px; height: 15px; accent-color: var(--accent); }

/* ── window wall ────────────────────────────────────────────── */
.wall-meta {
  margin: 0 0 8px;
  font-size: 11.5px;
  color: var(--muted-dim);
  font-variant-numeric: tabular-nums;
}
.wall-copy { margin: 0 0 14px; font-size: 12px; line-height: 1.55; color: var(--muted); }
.wall-presets {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  margin-bottom: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .03);
}
.wall-presets button {
  height: 26px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 540;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.wall-presets button:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.wall-presets button[aria-pressed="true"] {
  background: var(--accent-dim);
  color: #dce9ff;
  box-shadow: inset 0 0 0 1px var(--accent-line);
}
.wall-actions { display: flex; gap: 8px; margin-bottom: 12px; }

/* home preview live tag */
.home-preview { position: relative; }
.preview-live {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 18px;
  padding: 0 7px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(8, 10, 14, .82);
  font-size: 8.5px;
  font-weight: 640;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ffb0b0;
}
.preview-live i { width: 5px; height: 5px; border-radius: 50%; background: #ff5f57; }

/* wall toolbar: open-window indicator */
#popoutAllBtn.has-windows {
  color: #cfe4ff;
  background: rgba(110, 168, 255, .12);
  border-color: var(--accent-line);
  position: relative;
}
#popoutAllBtn.has-windows::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 2px rgba(8, 10, 14, .9);
}

/* empty-wall actions */
.hero-keys-hint {
  margin: 14px 0 0;
  font-size: 11px;
  color: #5f6877;
}
.hero-keys-hint kbd { font-size: 9.5px; padding: 1.5px 4px; margin-right: 2px; }
.hero-keys-hint span { opacity: .5; margin: 0 3px; }


/* preview cell labels */
.mini-tag {
  font-size: 8px;
  font-weight: 620;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #4f5866;
}
.mini.is-window { border-color: rgba(110, 168, 255, .22); }
.mini.is-window .mini-body { color: rgba(143, 184, 255, .55); }
.mini.is-window .mini-tag { color: #7a92b8; }

@media (max-width: 900px) {
  .home-feats { grid-template-columns: 1fr; gap: 0; }
  .feat { padding: 14px 0; }
  .feat + .feat { border-left: 0; border-top: .5px solid rgba(255, 255, 255, .08); }
}

/* empty-wall actions */
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-actions .btn { height: 30px; font-size: 12px; }


@keyframes view-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* home: one soft rise per section, 40ms apart */
.home > * { animation: view-in .46s var(--ease-out) backwards; }
.home > :nth-child(2) { animation-delay: 40ms; }
.home > :nth-child(3) { animation-delay: 80ms; }
.home > :nth-child(4) { animation-delay: 120ms; }
.home > :nth-child(5) { animation-delay: 160ms; }

@media (max-width: 520px) {
  .info-row { grid-template-columns: 78px minmax(0, 1fr); gap: 9px; }
  .info-actions .btn { flex: 1 1 auto; justify-content: center; }
}
