/* phone setup */
.pair { display: grid; grid-template-columns: 1fr 240px; gap: 40px; align-items: center; }
.pair > * { min-width: 0; }
@media (max-width: 860px) { .pair { grid-template-columns: 1fr; justify-items: center; } .pair .tv { width: 100%; } }
.pair-screen { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 28px; }
@media (max-width: 560px) { .pair-screen { grid-template-columns: 1fr; } }
.qr-box { background: #fff; padding: 12px; border-radius: 12px; width: 150px; max-width: 100%; }
.qr-box canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.pair-text { display: grid; gap: 12px; min-width: 0; }
.pair-text h3 { font-size: 1.125rem; }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); font-size: .875rem; }
.status { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--ok); transition: color .3s; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.waiting { color: var(--muted); }
.status.waiting i { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .2; } }
.phone { width: 240px; max-width: 100%; border: 1px solid var(--line); border-radius: 36px; padding: 10px; background: #000; transition: transform .6s var(--ease); }
.phone.tilt { transform: rotate(-3deg) translateY(-6px); }
.phone-in { background: var(--panel); border-radius: 28px; padding: 28px 18px 22px; display: grid; gap: 12px; }
.pf { display: grid; gap: 4px; font-size: .6875rem; color: var(--muted); }
.field { background: var(--raise); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; min-height: 31px; font-size: .6875rem; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: border-color .2s; }
.field.typing { border-color: var(--fg); }
.field.typing::after { content: ""; display: inline-block; width: 1px; height: 1em; background: var(--fg); vertical-align: -2px; margin-left: 1px; animation: pulse .8s steps(1) infinite; }
.seg-mini { display: flex; background: var(--raise); border-radius: 8px; padding: 3px; font-size: .75rem; }
.seg-mini b, .seg-mini em { flex: 1; text-align: center; padding: 5px; border-radius: 6px; font-style: normal; font-weight: 500; }
.seg-mini b { background: var(--fg); color: var(--bg); }
.seg-mini em { color: var(--muted); }
.send { margin-top: 6px; text-align: center; background: var(--fg); color: var(--bg); border-radius: 99px; padding: 10px; font-weight: 600; font-size: .8125rem; transition: transform .15s; }
.send.press { transform: scale(.94); }

/* guide */
/* Heading over the demo on the left, the paragraph over the steps on the right, so neither column waits for the other. */
.guide-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 64px; align-items: start; }
.gw-col { display: grid; gap: clamp(28px, 4vw, 48px); align-content: start; min-width: 0; }
.gw-col > * { min-width: 0; }
.gw-title .eyebrow { margin-bottom: 18px; }
@media (max-width: 960px) {
  .guide-wrap { grid-template-columns: 1fr; }
  .gw-col { display: contents; }
  .gw-title { order: 1; } .gw-lede { order: 2; } .gw-demo { order: 3; } .ladder { order: 4; }
}
.seg { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 99px; padding: 4px; margin-bottom: 14px; }
.seg button { font: 500 .875rem var(--body); color: var(--muted); background: none; border: 0; padding: 8px 16px; border-radius: 99px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.epg { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
.epg table { border-collapse: collapse; width: 100%; min-width: 540px; table-layout: fixed; }
.epg th, .epg td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 10px 12px; text-align: left; font-size: .8125rem; vertical-align: top; }
.epg thead th { font-family: var(--mono); font-weight: 400; font-size: .6875rem; color: var(--muted); }
.epg th.ch { width: 160px; }
.epg tbody th { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.epg tbody th small { display: block; font-family: var(--mono); font-weight: 400; font-size: .625rem; color: var(--faint); }
.epg tbody th .raw-name { font-family: var(--mono); font-weight: 400; font-size: .6875rem; }
.epg td small { display: block; color: var(--muted); font-size: .75rem; }
.epg td.now { background: var(--raise); }
.epg .noinfo { color: var(--faint); font-style: italic; }
.epg tr { transition: opacity .35s; }
.epg tr.flip { opacity: 0; }
.epg tr:last-child th, .epg tr:last-child td { border-bottom: 0; }
.epg td:last-child, .epg th:last-child { border-right: 0; }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: step; }
.ladder li { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); counter-increment: step; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.ladder li > * { min-width: 0; }
.ladder li::before { content: counter(step); font-family: var(--mono); font-size: .75rem; width: 26px; height: 26px; border-radius: 99px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.ladder li.wait { opacity: 0; transform: translateX(16px); }
.ladder h3 { font-size: 1rem; }
.ladder p { color: var(--muted); font-size: .875rem; margin-top: 2px; }
.ladder .pct { font-family: var(--mono); font-size: .75rem; color: var(--ok); font-variant-numeric: tabular-nums; padding-top: 3px; }
.receipt { margin-top: 14px; font-family: var(--mono); font-size: .75rem; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; overflow-x: auto; }
.receipt span { white-space: nowrap; }
.receipt b { color: var(--fg); font-weight: 500; }
.bar { height: 6px; border-radius: 9px; background: var(--raise); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; width: 98%; background: var(--ok); border-radius: inherit; transition: width 1.4s var(--ease); }

/* sports */
.nosearch { margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 10px 18px; border: 1px solid var(--line); border-radius: 99px; background: var(--panel); color: var(--faint); font-size: .9375rem; min-height: 46px; }
.nosearch s { text-decoration-color: var(--bad); text-decoration-thickness: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nosearch.typing s { text-decoration-color: transparent; color: var(--fg); }
.caret { display: none; width: 2px; height: 1.1em; background: var(--fg); animation: pulse .8s steps(1) infinite; }
.nosearch.typing .caret { display: inline-block; margin-left: -8px; }
.sports { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; }
.sports > * { min-width: 0; }
@media (max-width: 960px) { .sports { grid-template-columns: 1fr; } }
.sp-left { display: grid; gap: 14px; }
.today { margin: 6px 0 -2px; }
.follow { padding: 18px 20px; }
.follow-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { font-size: .8125rem; padding: 6px 12px; border-radius: 99px; background: var(--raise); border: 1px solid var(--line); }
.upcoming { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.upcoming li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; }
.upcoming li > * { min-width: 0; }
.upcoming time { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.upcoming strong { display: block; font-size: .875rem; font-weight: 600; }
.upcoming small { color: var(--muted); font-size: .75rem; }
.fixtures { display: grid; gap: 10px; }
.fx { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; text-align: left; color: inherit; font: inherit; width: 100%; transition: border-color .2s, background .2s; }
.fx > * { min-width: 0; }
.fx:hover { border-color: var(--faint); }
.fx[aria-pressed="true"] { border-color: var(--fg); background: var(--raise); }
.fx time { font-family: var(--mono); font-size: .8125rem; }
.fx time.live { color: var(--bad); }
.fx strong { display: block; font-weight: 600; font-size: .9375rem; }
.fx small { color: var(--muted); font-size: .75rem; }
.fx .n { font-family: var(--mono); font-size: .6875rem; color: var(--muted); white-space: nowrap; }
.match { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.match-hero { padding: 28px 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; text-align: center; background: radial-gradient(120% 140% at 0% 0%, var(--c1) 0%, transparent 55%), radial-gradient(120% 140% at 100% 100%, var(--c2) 0%, transparent 55%), #111; transition: background .4s; }
.crest { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center; font: 800 1rem var(--display); color: #fff; border: 2px solid rgba(255,255,255,.4); }
.match-hero b { font-family: var(--display); font-size: 1.05rem; font-weight: 600; display: block; }
.vs { font-family: var(--mono); font-size: .75rem; color: rgba(255,255,255,.7); }
.vs strong { display: block; font-family: var(--display); font-size: 1.6rem; color: #fff; }
.follow-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 20px 0; }
.fbtn { font: 500 .75rem var(--body); color: var(--fg); background: none; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; cursor: pointer; }
.fbtn[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.where { padding: 18px 20px 20px; }
.where ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.where li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); animation: rise .45s var(--ease) both; }
.where li:nth-child(2) { animation-delay: .08s; }
.where li:nth-child(3) { animation-delay: .16s; }
.where li > * { min-width: 0; }
.where li strong { font-size: .875rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.where li small { font-size: .75rem; color: var(--muted); display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* library */
.wall { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.wall-row { display: flex; gap: 14px; width: max-content; animation: drift 70s linear infinite; }
.wall-row.rev { animation-direction: reverse; animation-duration: 85s; }
.wall:hover .wall-row { animation-play-state: paused; }
.wall-row .poster { width: 150px; flex: none; transition: transform .3s var(--ease); }
.wall-row .poster:hover { transform: translateY(-6px) scale(1.03); }
@keyframes drift { to { transform: translateX(-50%); } }
.poster { aspect-ratio: 2 / 3; max-width: 100%; border-radius: 10px; position: relative; overflow: hidden; color: #fff; background: #222; }
.poster svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.poster .pt { position: absolute; left: 10px; right: 10px; bottom: 10px; font: 800 1rem/1.02 var(--display); letter-spacing: -.02em; text-wrap: balance; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.poster .pt small { display: block; font: 500 .5625rem var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-bottom: 4px; }
.poster .badge { position: absolute; top: 8px; left: 8px; font: 500 .5625rem var(--mono); letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.55); padding: 3px 6px; border-radius: 4px; }
.lib { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.lib > * { min-width: 0; }
@media (max-width: 900px) { .lib { grid-template-columns: 1fr; } }
.dupes { margin-top: 18px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.dupes .poster { filter: saturate(.25) brightness(.6); transition: filter .5s, transform .6s var(--ease), opacity .6s; }
.dupes .poster .pt { font: 400 .5rem/1.2 var(--mono); letter-spacing: 0; }
.dupes.merge .poster { transform: translateY(40px) scale(.7); opacity: 0; }
.dupes.merge .poster:nth-child(1), .dupes.merge .poster:nth-child(6) { transition-delay: .05s; }
.dupes.merge .poster:nth-child(3), .dupes.merge .poster:nth-child(4) { transition-delay: .2s; }
.arrow { text-align: center; font-family: var(--mono); font-size: .75rem; color: var(--muted); margin: 14px 0; }
.one { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; }
.one > * { min-width: 0; }
.one h4 { font-size: 1.25rem; }
.one p { color: var(--muted); font-size: .8125rem; }
.versions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.station { margin-top: 18px; display: grid; gap: 8px; }
.feed { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; font-family: var(--mono); font-size: .75rem; padding: 8px 12px; border-radius: 8px; background: #0f0f12; color: var(--faint); transition: background .4s, color .4s; }
.feed > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed.live { color: var(--fg); background: var(--raise); }
.feed.stall { color: var(--bad); }

/* privacy */
.priv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.priv > * { min-width: 0; }
@media (max-width: 760px) { .priv { grid-template-columns: 1fr; } }
.priv ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.priv li { display: flex; gap: 12px; align-items: baseline; font-size: .9375rem; }
.priv li::before { font-family: var(--mono); flex: none; width: 18px; }
.yes li::before { content: "✓"; color: var(--ok); }
.no li::before { content: "✕"; color: var(--bad); }
.no li { color: var(--muted); }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; scroll-margin-top: 96px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.plan.pro { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.plan .eyebrow { color: inherit; opacity: .6; }
.plan h3 { font-size: 1.75rem; font-weight: 800; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9375rem; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: "→"; position: absolute; left: 0; opacity: .5; }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plan.pro .btn { background: var(--bg); color: var(--fg); border-color: var(--bg); }

/* faq */
.faq { width: 100%; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--display); font-size: 1.25rem; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 22px; }

@media (prefers-reduced-motion: reduce) {
  .wall-row, .where li, .status.waiting i { animation: none; }
  .wall { overflow-x: auto; }
}
