/* COTI.tv · confidential infrastructure theme (layered last). 8px grid, 1px borders, one cyan accent, one focus glow. */
:root{
  --bg:#05080f;--bg-2:#08101d;--surface:rgba(12,20,34,.72);--surface-2:rgba(16,26,43,.85);--surface-hover:rgba(16,187,213,.05);
  --line:rgba(148,178,214,.12);--line-2:rgba(148,178,214,.2);--line-hi:rgba(16,187,213,.45);
  --cyan:#10bbd5;--cyan-2:#10bbd5;--cyan-dim:rgba(16,187,213,.12);
  --text:#e6edf6;--text-2:#9aa8bb;--text-3:#64748b;--ok:#34d399;--warn:#f5b84a;--bad:#f87171;
  --r-sm:6px;--r:8px;--r-lg:12px;
  --display:"Outfit","Inter",ui-sans-serif,system-ui,sans-serif;--ui:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --focus:0 0 0 1px var(--cyan),0 0 0 4px rgba(16,187,213,.18);
  /* remap legacy tokens */
  --color-background:var(--bg);--color-surface:var(--surface);--color-surface-solid:#0c1422;--color-surface-hover:var(--surface-hover);
  --color-border:var(--line);--color-border-hover:var(--line-2);--color-primary:var(--cyan);--color-primary-hover:var(--cyan-2);--color-primary-foreground:#03121a;
  --color-title:var(--text);--color-text:var(--text);--color-text-primary:var(--text);--color-text-secondary:var(--text-2);--color-text-muted:var(--text-3);
  --radius-md:var(--r-sm);--radius-lg:var(--r);--radius-xl:var(--r-lg);--glow:none;--font:var(--ui)}
html{font-family:var(--ui);font-feature-settings:"cv11","ss01";-webkit-font-smoothing:antialiased}
body{background:var(--bg);color:var(--text);
  background-image:radial-gradient(900px 520px at 85% -12%,rgba(16,187,213,.07),transparent 70%);background-attachment:fixed}
::selection{background:rgba(16,187,213,.25)}
h1,h2,h3,.vt,.title-neon{font-family:var(--display);letter-spacing:-.015em;color:var(--text)}
.title-neon{text-shadow:none;font-weight:700}.title-xl{font-size:clamp(2.4rem,6vw,3.6rem)}
.vt{font-weight:700;font-size:1.25rem;line-height:1.3;margin:16px 0 8px}
.mono,code{font-family:var(--mono)}
.label,.side h3,label,th,.eyebrow,.micro,.badge{font-family:var(--ui);font-weight:600;letter-spacing:.08em;font-size:.6875rem;text-transform:uppercase;color:var(--text-2)}
.muted{color:var(--text-3)}
a{color:inherit}a:hover{color:var(--text)}
:focus-visible{outline:none;box-shadow:var(--focus);border-radius:var(--r-sm)}
/* icons */
.ic{flex:none;vertical-align:-2px;stroke-width:1.5}
/* wordmark + mark */
.wordmark{font-family:var(--display);font-weight:700;letter-spacing:-.01em;color:var(--text)}.wordmark__tv{color:var(--cyan)}
.ctvmark{color:var(--cyan);display:block}.ctvmark--lg{margin:0 auto 16px}
.ctvmark__n{animation:ctvNode 9s ease-in-out infinite}@keyframes ctvNode{0%,100%{opacity:1}50%{opacity:.45}}
/* nav */
.nav{background:rgba(5,8,15,.82);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}
.brand{gap:8px;font-size:1.0625rem}.brand em{all:unset}
.nav__links a{font-family:var(--ui);text-transform:none;letter-spacing:0;font-size:.8125rem;font-weight:500;color:var(--text-2);padding:6px 8px;border-radius:var(--r-sm)}
.nav__links a:hover{color:var(--text);background:var(--surface-hover)}.nav__links a.active{color:var(--text);text-shadow:none;background:rgba(148,178,214,.08)}
.tag{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 8px;border:1px solid var(--line-2);border-radius:999px;font:500 .6875rem/1 var(--ui);color:var(--text-2);letter-spacing:.02em}
.tag--unoff{margin-left:4px;color:var(--text-3)}
/* panels: glass, crisp 1px, no glow soup */
.panel,.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:0 1px 0 rgba(255,255,255,.03) inset;backdrop-filter:blur(10px)}
.panel{padding:16px}.panel--main{box-shadow:0 1px 0 rgba(255,255,255,.03) inset}
.watch{gap:16px}.stagger .panel--main,.stagger .side,.stagger .rail{animation:fadeUp .4s ease-out both}
@keyframes fadeUp{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.player{border-radius:var(--r);border:1px solid var(--line);background:#02040a}
/* buttons */
.btn{font:500 .8125rem/1 var(--ui);height:32px;padding:0 12px;border-radius:var(--r);border:1px solid var(--line-2);background:rgba(148,178,214,.04);color:var(--text);display:inline-flex;align-items:center;gap:8px;box-shadow:none;text-shadow:none;transition:background .15s,border-color .15s}
.btn:hover:not(:disabled){background:rgba(148,178,214,.08);border-color:rgba(148,178,214,.32)}
.btn--primary{background:var(--cyan);border-color:var(--cyan);color:#03121a;font-weight:600}.btn--primary:hover:not(:disabled){background:var(--cyan-2);border-color:var(--cyan-2)}
.btn--sm{height:28px;padding:0 10px;font-size:.75rem}.btn:disabled{opacity:.45}
.btn.on{border-color:var(--line-hi);color:var(--cyan);background:var(--cyan-dim)}
.btn--support{color:var(--text-2)}
.unmute{position:absolute;left:12px;bottom:12px;z-index:3}
/* inputs */
input,textarea,select{background:rgba(2,6,14,.6);border:1px solid var(--line-2);border-radius:var(--r);color:var(--text);font:400 .875rem var(--ui);padding:8px 12px}
input:focus,textarea:focus,select:focus{outline:none;border-color:var(--cyan);box-shadow:var(--focus)}
/* badges / tags */
.badge{display:inline-flex;align-items:center;gap:6px;height:20px;padding:0 8px;border-radius:var(--r-sm);border:1px solid var(--line-2);background:rgba(148,178,214,.05);color:var(--text-2);font-size:.625rem}
.badge:not(.badge--live):first-child{border-color:var(--line-hi);color:var(--cyan);background:var(--cyan-dim)}
.badge--live{background:rgba(248,113,113,.08)!important;color:#fca5a5!important;border-color:rgba(248,113,113,.35)!important}
.wavebars{display:inline-flex;align-items:center;gap:1.5px;height:10px}.wavebars i{width:1.5px;height:4px;background:currentColor;border-radius:1px;animation:wb 1.6s ease-in-out infinite}
.wavebars i:nth-child(2){animation-delay:-.4s}.wavebars i:nth-child(3){animation-delay:-.8s}.wavebars i:nth-child(4){animation-delay:-1.2s}
@keyframes wb{0%,100%{height:3px}50%{height:10px}}
.pc__off{display:inline-flex;align-items:center;gap:4px;font:500 .625rem/1 var(--ui);color:var(--cyan);border:1px solid var(--line-hi);border-radius:var(--r-sm);padding:3px 6px;margin-left:6px}
/* meta row + reactions */
.meta{gap:8px;color:var(--text-3);font-size:.8125rem}
.react .btn{gap:6px}
/* Up Next */
.side h3,.rail h3{color:var(--text-2)}
.sorttg{border-color:var(--line-2);border-radius:var(--r-sm);padding:2px;gap:2px}
.sorttg button{border-radius:4px;font:500 .6875rem/1 var(--ui);padding:5px 8px;color:var(--text-3);letter-spacing:0}
.sorttg button.on{background:rgba(148,178,214,.1);color:var(--text)}
.item{border-radius:var(--r);border:1px solid transparent;transition:background .15s,border-color .15s}
.item:hover{background:var(--surface-hover);border-color:var(--line)}
.item b{font-family:var(--ui);font-weight:600;color:var(--text)}.item small{color:var(--text-3);font-family:var(--ui)}
.thumb{border-radius:var(--r-sm);border:1px solid var(--line);background-color:#0b1220}
.up__m{align-items:center;gap:4px}.up__m i{width:8px}.up__list .item small.up__m{display:none}
.up__btn{border-radius:var(--r-sm);border-color:var(--line-2);font:500 .75rem/1 var(--ui);height:26px;padding:0 10px}
.up__pg{font-family:var(--mono);color:var(--text-3)}
/* social cards: clean SaaS cards */
.pc,.pc--x{background:var(--surface-2)!important;border:1px solid var(--line)!important;border-radius:var(--r-lg)!important;box-shadow:none!important;font-family:var(--ui)!important}
.pc::before,.pc--x::before{display:none}
.pc:hover,.pc--x:hover{border-color:var(--line-2)!important;box-shadow:none!important}
.pc__body,.pc--x .pc__body{color:var(--text)!important}.pc__sub,.pc--x .pc__sub,.pc__m,.pc--x .pc__m{color:var(--text-3)!important}
.pc__ft,.pc--x .pc__ft{border-top-color:var(--line)!important}
.pc__cta,.pc--x .pc__cta{background:transparent!important;border:1px solid var(--line-2)!important;border-radius:var(--r-sm)!important;font:500 .75rem/1 var(--ui)!important}
.pc__thumb{border-color:var(--line)!important;border-radius:var(--r)!important}
/* footer */
.foot{border-top:1px solid var(--line);color:var(--text-3);font-size:.75rem;gap:16px}
.foot__brand{gap:8px!important}.foot__mark .ctvmark{color:var(--text-3)}.foot__note{color:var(--text-3)}
.foot__sep{width:1px;height:12px;background:var(--line-2)}
/* skeletons + empty states */
.skel{position:relative;overflow:hidden;background:rgba(148,178,214,.06);border-radius:var(--r-sm)}
.skel::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(148,178,214,.08),transparent);animation:sk 1.4s ease-in-out infinite}
@keyframes sk{to{transform:translateX(100%)}}
.empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:32px 16px;color:var(--text-3);text-align:center;font-size:.8125rem}
.empty .ic{color:var(--text-3)}
/* masked value cue */
.masked{font-family:var(--mono);letter-spacing:.12em;color:var(--text-3)}
/* poster fallback */
.ytposter{background-color:#02040a!important}.ytposter::after{content:"";position:absolute;inset:0;background:rgba(2,4,10,.45)}
.ytposter>*{position:relative;z-index:1}
.ytposter__play{width:64px;height:64px;border-radius:50%;border:1px solid rgba(230,237,246,.5);background:rgba(5,8,15,.55);color:var(--text);display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(6px);transition:border-color .15s,background .15s}
.ytposter__play:hover{border-color:var(--cyan);background:rgba(5,8,15,.75)}.ytposter__play .ic{margin-left:3px}
@media (prefers-reduced-motion: reduce){.ctvmark__n,.wavebars i,.skel::after,.stagger .panel--main,.stagger .side,.stagger .rail{animation:none!important}}
@media (max-width:640px){.foot{flex-wrap:wrap;gap:8px}.foot__brand{flex-wrap:wrap}.foot__sep{display:none}.tag--unoff{display:none}}

/* lockup */
.lockup{display:block;color:#fff;shape-rendering:geometricPrecision}.lockup__tv{color:#fff}
.brand{line-height:0}.foot__mark .lockup{color:rgba(230,237,246,.7)}
.login__lockup{display:flex;justify-content:center;margin:8px 0 16px}

/* footer v2: 8px grid, centered row, safe right padding */
.foot{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1280px;margin:32px auto 0;padding:16px 24px;box-sizing:border-box;min-height:64px}
.foot__brand{display:inline-flex!important;align-items:center;gap:8px!important;margin:0;line-height:1;font-size:.8125rem}
.foot .btn--support{margin:0;flex:none;height:32px;padding:0 16px}
@media (max-width:640px){.foot{flex-direction:row;flex-wrap:nowrap;padding:16px;gap:8px;margin-top:24px}.foot .btn--support{padding:0 12px}}

/* ---- thumbnails v2: fixed 16:9, cover-cropped, skeleton, X placeholder ---- */
.thumb{position:relative;overflow:hidden;aspect-ratio:16/9;height:auto!important;background-image:none!important;background-color:#0b1220;display:block;flex:none}
.thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transition:opacity .25s}
.thumb.thumb--ok img{opacity:1}
.thumb__ph{position:absolute;inset:0;display:grid;place-items:center;color:var(--text-3);font:500 .625rem/1 var(--ui);letter-spacing:.06em;text-transform:uppercase}
.thumb:not(.thumb--ok) .thumb__ph:not(.thumb__ph--x){color:transparent}
.thumb:not(.thumb--ok)::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(148,178,214,.07),transparent);animation:sk 1.4s ease-in-out infinite}
.thumb__ph--x{color:#e7e9ea;background:#000}
.thumb__src{position:absolute;right:4px;bottom:4px;width:18px;height:18px;border-radius:4px;background:rgba(0,0,0,.75);color:#fff;display:grid;place-items:center}
.thumb__src svg{width:11px;height:11px}
/* Up Next rows: thumb ~40%, 2-line title, 1-line meta; rows share the fixed column height */
@media (min-width:1101px){
  .watch--3>.side .up__list .item{display:grid;grid-template-columns:40% minmax(0,1fr);gap:8px;align-items:center;padding:4px;height:auto}
  .watch--3>.side .up__list .thumb{width:100%!important;height:auto!important;max-height:none}
}
.up__list .item>div:last-child{min-width:0;display:flex;flex-direction:column;gap:4px}
.up__list .item b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.78rem;line-height:1.3;font-weight:600}
.up__list .item small:first-of-type{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.6875rem}
.up__list .item:hover{border-color:var(--line-hi);background:var(--surface-hover)}
.up__list .item:hover .thumb{border-color:var(--line-hi)}
.vcard .thumb{width:100%}

.pc__ft{display:flex;align-items:center;gap:8px}.pc__ft .pc__ms{flex:1;min-width:0}
.pc__exp{height:26px;padding:0 10px;cursor:pointer;color:var(--text)!important}
.pc__src{display:grid;place-items:center;width:26px;height:26px;border:1px solid var(--line);border-radius:6px;color:var(--text-3);opacity:.8}.pc__src:hover{opacity:1;border-color:var(--line-2)}
.pc__src svg,.pc__src img{width:12px!important;height:12px!important}
.pc__embed{margin-top:8px}
/* social rail: centered cards, no horizontal scroll, stable gutter */
.watch--3>.rail{box-sizing:border-box;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable both-edges;padding-left:12px;padding-right:12px}
.watch--3>.rail *,.watch--3>.rail{box-sizing:border-box}
.watch--3 .rail__grid{width:100%;margin:0 auto;justify-items:stretch}
.watch--3 .rail .pc{width:100%;max-width:100%;min-width:0;margin:0}
.watch--3 .rail .pc__body,.watch--3 .rail .pc__name{overflow-wrap:anywhere}
.watch--3>.side{scrollbar-gutter:stable}
/* themed scrollbars everywhere (thin, transparent track, cyan thumb) */
*{scrollbar-width:thin;scrollbar-color:rgba(16,187,213,.25) transparent}
*:hover{scrollbar-color:rgba(16,187,213,.45) transparent}
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track,::-webkit-scrollbar-corner{background:transparent}
::-webkit-scrollbar-thumb{background:rgba(16,187,213,.25);border-radius:999px}
::-webkit-scrollbar-thumb:hover{background:rgba(16,187,213,.5)}
html{scrollbar-color:rgba(16,187,213,.25) var(--bg)}

.yt__hint{position:absolute;left:50%;top:12px;transform:translateX(-50%);z-index:4;pointer-events:none;display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px;border-radius:999px;background:rgba(5,8,15,.82);border:1px solid var(--line-hi);color:var(--text);font:500 .75rem/1 var(--ui)}

/* native X expanded view */
.pc__embed{margin-top:8px;display:flex;flex-direction:column;gap:8px}
.xn__tx{color:var(--text);font-size:.9375rem;line-height:1.45;overflow-wrap:anywhere}
.xn__vid{width:100%;max-height:420px;border-radius:8px;border:1px solid var(--line);background:#000;display:block}
.xn__ph{display:grid;gap:4px;border-radius:8px;overflow:hidden}.xn__ph--2,.xn__ph--4{grid-template-columns:1fr 1fr}.xn__ph--3{grid-template-columns:2fr 1fr}
.xn__ph img{width:100%;height:100%;max-height:320px;object-fit:cover;display:block;border:1px solid var(--line)}
.xn__q{border:1px solid var(--line-2);border-radius:8px;padding:8px 12px;display:flex;flex-direction:column;gap:6px}
.xn__qh{font-size:.8125rem;color:var(--text-2)}.xn__qh span{color:var(--text-3)}.xn__q .xn__tx{font-size:.875rem}
.xn__ct{display:flex;flex-wrap:wrap;gap:12px;font-size:.6875rem;color:var(--text-3)}.xn__ct b{color:var(--text);font-weight:600}
/* social rail v2: tighter padding, no clipping */
.watch--3>.rail{padding-left:8px!important;padding-right:8px!important;min-width:0;box-sizing:border-box}
.watch--3>.rail .rail__grid{grid-template-columns:minmax(0,1fr)!important;margin:0!important;padding:0!important;min-width:0}
.rail .pc{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:12px!important;box-sizing:border-box}
.rail .pc *{min-width:0;max-width:100%;box-sizing:border-box}
.rail .pc__body,.rail .xn__tx,.rail .pc__name,.rail .xn__qh{overflow-wrap:anywhere;word-break:break-word}
.rail .pc__thumb,.rail .pc__embed,.rail .xn__q,.rail .xn__vid,.rail .xn__ph,.rail .pc img,.rail .pc video{width:100%!important;max-width:100%!important}
.rail .pc img,.rail .pc video{object-fit:cover;height:auto}
.rail .xn__q{padding:8px!important}
/* wide layout: use page margins */
main,.nav__in,.foot{max-width:1920px!important}
main{padding-left:20px!important;padding-right:20px!important}
@media(min-width:1100px){.watch--3{grid-template-columns:minmax(0,24fr) minmax(0,52fr) minmax(0,24fr)!important}}
@media(min-width:1600px){.watch--3{grid-template-columns:minmax(0,26fr) minmax(0,48fr) minmax(0,26fr)!important}}
.watch--3>.side .up__list .item{grid-template-columns:44% minmax(0,1fr)!important}
.watch--3>.rail{scrollbar-gutter:auto!important;overflow-y:auto}
.rail .pc__hd{display:flex;flex-wrap:nowrap;min-width:0;width:100%}
.rail .pc__hd>*{flex:none}.rail .pc__hd>div:not([class*=logo]),.rail .pc__hd .pc__who{flex:1 1 auto!important;min-width:0!important;overflow:hidden}
.rail .pc__hd .pc__name,.rail .pc__hd b,.rail .pc__hd time{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.rail .pc__hd .pc__who{flex:1 1 0!important}
.rail .pc__hd{overflow:hidden}
/* footer pull-quote */
.fquote{max-width:760px;margin:56px auto 0;padding:0 24px;text-align:center;position:relative}
.fquote blockquote{margin:0;position:relative;padding:0 40px}
.fquote blockquote::before,.fquote blockquote::after{font-family:Georgia,"Times New Roman",serif;font-size:4.5rem;line-height:1;color:rgba(16,187,213,.35);position:absolute}
.fquote blockquote::before{content:"\201C";left:0;top:-14px}.fquote blockquote::after{content:"\201D";right:0;bottom:-44px}
.fquote p{margin:0;font-family:Georgia,"Times New Roman",serif;font-style:italic;font-weight:400;font-size:clamp(1.15rem,1.6vw,1.5rem);line-height:1.45;color:var(--text-2,#c9d3e0);letter-spacing:.005em}
.fquote figcaption{margin-top:14px;display:flex;justify-content:center}
.fquote__sig{display:inline-block;width:190px;color:rgba(236,242,250,.82);transform:rotate(-3deg);transition:color .2s,opacity .2s}
.fquote__sig svg{width:100%;height:auto;display:block}.fquote__sig:hover{color:#fff}
.fquote__sig .sig__fl{stroke-dasharray:420;stroke-dashoffset:0}
@media(max-width:640px){.fquote{margin-top:40px}.fquote blockquote{padding:0 28px}.fquote blockquote::before,.fquote blockquote::after{font-size:3rem}.fquote__sig{width:150px}}
.rail .pc img.pc__av,.rail .xn__qh img{width:36px!important;height:36px!important;max-width:none!important;flex:none!important;border-radius:50%}
.fquote__by{font-family:inherit;font-size:.875rem;font-style:normal;letter-spacing:.02em;color:var(--text-3,#7d8a9c);text-decoration:none;transition:color .2s}
.fquote__by:hover,.fquote__by:focus-visible{color:#10bbd5}
/* handwritten quote (traced from Mathieu's handwriting) */
.fquote{max-width:880px}
.fquote blockquote{padding:0!important}.fquote blockquote::before,.fquote blockquote::after{content:none!important}
.fquote__hand{display:block;width:100%;height:auto;color:rgba(236,242,250,.86)}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:640px){.fquote{padding:0 16px}}
.fquote__hand{color:rgba(236,242,250,.88)}
/* graffiti tag quote: one line, under the footer */
.fquote--tag{max-width:none!important;margin:0 auto!important;padding:4px 16px 24px!important;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.fquote--tag blockquote{margin:0;padding:0!important}
.fquote--tag .fquote__hand{width:min(540px,78vw);height:auto;color:rgba(226,240,250,.85);filter:drop-shadow(0 0 6px rgba(16,187,213,.18))}
.fquote--tag figcaption{margin:0!important}.fquote--tag .fquote__by{font-size:.75rem}
@media(max-width:640px){.fquote--tag{gap:4px;padding-bottom:20px}.fquote--tag .fquote__hand{width:92vw}}
/* social rail paging (mirrors Up Next) */
.watch--3>.rail{display:flex;flex-direction:column;overflow:hidden!important}
.watch--3>.rail .rail__grid{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;align-content:start}
.watch--3>.rail .up__nav{margin-top:auto;padding-top:8px;flex:none}
.rail__hd--one{flex-wrap:nowrap!important;min-width:0;justify-content:flex-start!important;gap:6px!important}
.rail__hd--one .label{flex:none;margin:0;white-space:nowrap}
.rail__sub{flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:.6875rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-3,#7d8a9c)}
.rail__spacer{visibility:hidden}
@media(max-width:1100px){.watch--3>.rail .rail__grid{overflow:visible}}
.watch--3>.side>.up__hd,.watch--3>.rail>.up__hd{height:34px;min-height:34px;padding:0!important;margin:0 0 8px!important;box-sizing:border-box;align-items:center}
.watch--3>.rail>.rail__hd--one{display:flex!important;flex-direction:row!important;align-items:center!important;text-align:left!important;width:100%}.rail__hd--one .label,.rail__hd--one .rail__sub{text-align:left!important;margin:0!important;line-height:1.2}
/* inline handwritten quote in footer row */
.foot{display:grid!important;grid-template-columns:1fr auto 1fr;align-items:center}
.foot>.foot__brand{justify-self:start}.foot>.btn--support{justify-self:end}
.foot__quote{display:flex;align-items:center;justify-content:center;line-height:0;color:rgba(226,234,244,.82)}
.foot__quote-svg{height:28px;width:auto;max-width:min(560px,46vw);display:block}
@media(max-width:900px){.foot{grid-template-columns:1fr auto;row-gap:12px}.foot__quote{grid-column:1/-1;grid-row:2}.foot__quote-svg{height:auto;width:100%;max-width:520px}}
.foot__quote{color:rgba(232,238,246,.9)}
.foot__quote-svg{height:44px!important;width:auto!important;max-width:none!important}
.foot{min-height:76px}
@media(max-width:1100px){.foot{grid-template-columns:1fr auto}.foot__quote{grid-column:1/-1;grid-row:2}.foot__quote-svg{height:auto!important;width:100%!important;max-width:560px!important}}
/* handwritten titles: fit inside existing line boxes, no layout change */
[data-hw].hw-done{display:inline-flex;align-items:center;line-height:inherit;color:inherit}
[data-hw] svg.hw{display:block;width:auto;flex:none;overflow:visible}
.nav__links a.hw-done svg.hw{height:20px}
.nav__links a.hw-done{color:rgba(226,234,244,.78)}.nav__links a.hw-done:hover,.nav__links a.hw-done.on,.nav__links a.hw-done[aria-current]{color:#fff}
.up__hd .hw-done svg.hw{height:22px}
.up__hd .rail__sub.hw-done svg.hw,.up__hd .hw-cotivideos svg.hw{height:17px}
.up__hd .rail__sub.hw-done{overflow:hidden;min-width:0;flex:0 1 auto;color:var(--text-3,#7d8a9c)}
.up__hd .hw-row{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.hw-cotivideos{color:var(--text-3,#7d8a9c)}
.lb .eyebrow.hw-done svg.hw{height:14px}
.lb h1.hw-done{display:flex}.lb h1.hw-done svg.hw{height:40px}
.nav__links a.hw-done svg.hw{height:16px}
.lb .eyebrow.hw-done{display:flex}
/* hw fix: ~1.7x visual size, thicker strokes, near-white; negative block margins keep line boxes unchanged */
[data-hw].hw-done,[data-hw].hw-done.rail__sub,.hw-cotivideos{color:#e8eef5!important;opacity:1!important}
[data-hw] svg.hw path{stroke-width:1.1px!important;vector-effect:non-scaling-stroke}
.nav__links a.hw-done svg.hw{height:27px!important;margin-block:-5.5px}
.up__hd .hw-done svg.hw{height:36px!important;margin-block:-7px}
.up__hd .rail__sub.hw-done svg.hw,.up__hd .hw-cotivideos svg.hw{height:28px!important;margin-block:-5.5px}
.lb .eyebrow.hw-done svg.hw{height:24px!important;margin-block:-5px}
.lb h1.hw-done svg.hw{height:56px!important;margin-block:-8px}
.nav__links a.hw-done:hover,.nav__links a.hw-done.on{color:#10bbd5!important}
.watch--3>.rail>.up__hd{align-items:center}.rail__sub{align-self:center}
.foot__quote-svg{height:48px!important}.foot{min-height:80px}
/* leaderboard handwritten title: big, centred */
.lb .eyebrow.hw-done{justify-content:center;margin-bottom:6px}
.lb .eyebrow.hw-done svg.hw{height:30px!important;margin-block:0!important}
.lb h1.hw-done{justify-content:center;margin:0 0 12px}
.lb h1.hw-done svg.hw{height:clamp(48px,4vw,76px)!important;margin-block:0!important}
.lb h1.hw-done svg.hw path{stroke-width:2.4px!important}.lb .eyebrow.hw-done svg.hw path{stroke-width:1.4px!important}
/* v3: bigger nav handwriting, sole rail title */
.watch--3>.rail>.up__hd .hw-topsocial svg.hw{height:42px!important;margin-block:-8px!important}
.nav__links a.hw-done svg.hw{height:36px!important;margin-block:-6px!important}
.nav__links a.hw-done{padding-block:2px}
svg.hw{preserveAspectRatio:xMidYMid meet}
.watch--3>.side .up__hd .hw-upnext svg.hw{height:42px!important;margin-block:-8px!important}
.watch--3>.side .up__hd .hw-cotivideos svg.hw{height:34px!important;margin-block:-6px!important}
.up__hd,.up__hd .hw-row,.up__hd [data-hw]{overflow:visible!important}
.nav__links a.hw-done{padding:2px 10px!important;height:40px;box-sizing:border-box}
.nav__links a.hw-done svg.hw{height:34px!important;margin-block:0!important}
.lb h1.hw-done svg.hw path{stroke-width:1.8px!important}.lb .eyebrow.hw-done svg.hw path{stroke-width:1.1px!important}
.nav__links a.hw-done{height:36px;padding:2px 10px!important;margin-block:-4px}
.nav__links a.hw-done svg.hw{height:32px!important}
/* hw v4: tight-cropped viewBoxes, ~15% bigger, more spacing */
.nav__links{gap:14px!important}
.nav__links a.hw-done{height:36px;padding:1px 12px!important;margin-block:-4px}
.nav__links a.hw-done svg.hw{height:30px!important}
.watch--3>.rail>.up__hd,.watch--3>.side>.up__hd{padding-left:6px!important}
.watch--3>.rail>.up__hd .hw-topsocial svg.hw,.watch--3>.side .up__hd .hw-upnext svg.hw{height:38px!important;margin-block:-2px!important}
.watch--3>.side .up__hd .hw-cotivideos svg.hw{height:31px!important;margin-block:-2px!important}
.watch--3>.side .up__hd .hw-row{gap:14px!important}
.nav__links a.hw-done{height:38px;margin-block:-5px}.nav__links a.hw-done svg.hw{height:34px!important}
/* hw6: real-size bigger handwriting, mild 1.1x widening */
[data-hw] svg.hw{width:auto!important}
.nav__in{padding-block:6px!important}
.nav__links{gap:16px!important}
.nav__links a.hw-done{height:48px;margin-block:0;padding:3px 12px!important}
.nav__links a.hw-done svg.hw{height:42px!important}
.watch--3>.rail>.up__hd,.watch--3>.side>.up__hd{height:52px!important;min-height:52px!important}
.watch--3>.rail>.up__hd .hw-topsocial svg.hw,.watch--3>.side .up__hd .hw-upnext svg.hw{height:48px!important;margin-block:0!important}
.watch--3>.side .up__hd .hw-cotivideos svg.hw{height:38px!important;margin-block:0!important}
.lb .eyebrow.hw-done svg.hw{height:34px!important}
.lb h1.hw-done svg.hw{height:clamp(56px,4.6vw,88px)!important}
.watch--3>.side>.up__hd>*:not(.hw-row){flex:none}
.watch--3>.side>.up__hd .hw-row{gap:10px!important;min-width:0;overflow:hidden!important}
.watch--3>.side .up__hd .hw-cotivideos svg.hw{height:34px!important}
@media(max-width:1599px){.watch--3>.side .up__hd .hw-upnext svg.hw{height:42px!important}.watch--3>.side .up__hd .hw-cotivideos svg.hw{height:28px!important}.watch--3>.side>.up__hd .hw-row{gap:8px!important}.watch--3>.side>.up__hd{padding-left:2px!important}}
/* handwritten COTI.tv logo */
.brand--hand{display:inline-flex;align-items:center;color:#e8eef5;line-height:0}
.brand--hand .hw-done svg.hw{height:50px!important}
.brand--hand:hover{color:#fff}
.brand--hand{gap:10px}
.brand--hand .brand__mark{height:26px;width:auto;flex:none;display:block;color:#fff;transform:translateY(1px)}
.brand--hand .hw-done svg.hw{height:46px!important}
.brand--hand{margin-right:12px}
.brand--hand .hw-done svg.hw{height:42px!important}.brand--hand .brand__mark{height:24px}.brand--hand{gap:9px}
/* ===== mobile compact header + fit (mobile only) ===== */
@media (max-width:700px){
  .nav__in{display:grid!important;grid-template-columns:1fr auto;grid-template-areas:"brand auth" "links links";align-items:center;gap:4px 8px!important;padding:6px 12px!important}
  .nav__in>.brand{grid-area:brand;margin-right:0!important;gap:7px!important}
  .nav__in>.nav__auth{grid-area:auth;justify-self:end}
  .nav__in>.nav__links{grid-area:links;display:flex;flex-wrap:nowrap;gap:4px!important;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;margin:0 -4px;padding:0 0 2px;min-width:0;width:auto!important}
  .nav__in>.nav__links::-webkit-scrollbar{display:none}
  .brand--hand .hw-done svg.hw{height:27px!important}
  .brand--hand .brand__mark{height:16px!important}
  .nav__links a.hw-done{height:32px!important;margin-block:0!important;padding:2px 10px!important;flex:none}
  .nav__links a.hw-done svg.hw{height:25px!important}
  .watch--3>.rail>.up__hd .hw-topsocial svg.hw,.watch--3>.side .up__hd .hw-upnext svg.hw{height:36px!important}
  .watch--3>.side .up__hd .hw-cotivideos svg.hw{height:26px!important}
  .watch--3>.rail>.up__hd,.watch--3>.side>.up__hd{height:44px!important;min-height:44px!important}
  .lb .eyebrow.hw-done svg.hw{height:26px!important}
  .lb h1.hw-done svg.hw{height:52px!important}
  .lb{overflow-x:hidden}.lb .lbtab,.lb table{display:block;overflow-x:auto;max-width:100%}
}
/* mobile header v2: stacked, tidy */
@media (max-width:700px){
  .nav__in{padding:8px 14px 6px!important;gap:2px 8px!important}
  .nav__in>.nav__links{justify-content:space-between;overflow:visible;margin:0!important;padding:0!important;gap:0!important}
  .nav__links a.hw-done{height:30px!important;padding:2px 8px!important;border-radius:8px}
  .nav__links a.hw-done:first-child{margin-left:-8px!important}
  .nav__links a.hw-done:nth-child(3){margin-right:-8px!important}
  .nav__links a.hw-done svg.hw{height:22px!important}
  .brand--hand .hw-done svg.hw{height:26px!important}
  .nav__auth .btn,.nav__auth button{padding:6px 12px!important;font-size:13px!important;min-height:0!important}
}
@media (max-width:700px){
  .nav__links a.hw-done svg.hw{height:28px!important}
  .nav__links a.hw-done{height:32px!important}
  #authBox .btn.btn--sm{padding:5px 12px!important;font-size:13px!important;line-height:1.2!important;height:auto!important}
}
/* ===== mobile header v3: menu button (delete this block to restore the stacked v2 version above) ===== */
.nav__menu{display:none}
@media (max-width:700px){
  .nav{position:sticky}
  .nav__in{position:relative;grid-template-columns:1fr auto auto!important;grid-template-areas:"brand auth menu"!important;height:56px;padding:0 12px 0 14px!important;gap:0 8px!important}
  .nav__menu{grid-area:menu;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:9px;background:transparent;border:1px solid rgba(16,187,213,.18);color:#e8eef5;cursor:pointer;padding:0;transition:border-color .2s,background .2s}
  .nav__menu:hover,.nav--open .nav__menu{border-color:rgba(16,187,213,.5);background:rgba(16,187,213,.06)}
  .brand--hand .hw-done svg.hw{height:25px!important}
  .nav__in>.nav__links{position:absolute!important;top:calc(100% + 6px);right:10px;left:auto;width:min(260px,calc(100vw - 20px))!important;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:4px!important;padding:8px!important;margin:0!important;background:#0a1220;border:1px solid rgba(16,187,213,.18);border-radius:14px;box-shadow:0 14px 40px rgba(0,0,0,.55);z-index:60;opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s ease,transform .18s ease,visibility 0s .18s;overflow:visible}
  .nav--open .nav__in>.nav__links{opacity:1;visibility:visible;transform:none;transition:opacity .18s ease,transform .18s ease}
  .nav__links a.hw-done,.nav__links a.hw-done:first-child,.nav__links a.hw-done:nth-child(3){height:52px!important;margin:0!important;padding:0 14px!important;justify-content:flex-start;border-radius:10px}
  .nav__links a.hw-done svg.hw{height:34px!important}
  .nav__links a.active{background:rgba(16,187,213,.1)!important;box-shadow:inset 0 0 0 1px rgba(16,187,213,.25)}
}
/* new flag artwork (PNG, gradients) */
.brand--hand img.brand__mark{height:24px;width:auto;transform:none}
@media (max-width:700px){.brand--hand img.brand__mark{height:16px!important}}
/* ===== sign-in wallets (CipherDEX style) ===== */
.login__lockup{display:flex;align-items:center;justify-content:center;gap:9px;margin-bottom:.4rem}
.login__lockup .login__flag{height:22px;width:auto}
.login__lockup .hw-done svg.hw{height:36px!important}
.wl{display:flex;flex-direction:column;gap:8px;width:100%}
.wl button{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:10px 14px;border-radius:12px;cursor:pointer;
  border:1px solid rgba(16,187,213,.16);background:rgba(10,18,32,.6);color:#e8eef5;font:500 14px/1.2 Inter,system-ui,sans-serif;transition:border-color .18s,background .18s}
.wl button:hover,.wl button:focus-visible{border-color:rgba(16,187,213,.5);background:rgba(16,187,213,.05)}
.wl button:disabled{opacity:.55;cursor:wait}
.wl button>span{flex:1}.wl button>small{color:#7f8ea3;font:500 11px/1 "JetBrains Mono",monospace;letter-spacing:.02em}
.wl button img{border-radius:6px;flex:none}
.wl .wl__ct{min-height:56px;border-color:rgba(16,187,213,.42);background:linear-gradient(180deg,rgba(16,187,213,.08),rgba(16,187,213,.02));font-weight:600;font-size:15px}
.wl .wl__ct>small{color:#10bbd5}
.wl__qr{border:1px solid rgba(16,187,213,.16);border-radius:12px;padding:12px;background:#0a1220}
.wl__qrimg{background:#fff;border-radius:8px;padding:8px;width:220px;max-width:100%;margin:0 auto 8px}.wl__qrimg svg{display:block;width:100%;height:auto}
.wl__get{margin-top:6px;padding-top:10px;border-top:1px solid rgba(255,255,255,.06);display:flex;flex-direction:column;gap:8px}
.wl__getl{display:flex;align-items:center;gap:6px;color:#9fb0c6;font:600 11px/1 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.wl__links{display:flex;flex-wrap:wrap;gap:6px}
.wl__out{display:inline-flex;gap:3px;align-items:center;padding:5px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.08);color:#c9d5e3;font-size:12px;text-decoration:none}
.wl__out:hover{border-color:rgba(16,187,213,.45);color:#fff}.wl__out span{opacity:.55;font-size:10px}
/* ===== support panel (address only) ===== */
.tip.tip--min{width:min(380px,92vw);padding:22px 22px 18px;border-radius:16px;background:#0a1220;border:1px solid rgba(16,187,213,.18);box-shadow:0 24px 70px rgba(0,0,0,.6);text-align:center}
.tip__x{position:absolute;top:10px;right:12px;all:unset;cursor:pointer;color:#7f8ea3;font-size:20px;line-height:1;padding:4px 8px}
.tip--min .tip__x{position:absolute;top:10px;right:10px}.tip__x:hover{color:#fff}
.tip__hd{display:flex;align-items:center;justify-content:center;gap:8px;color:#10bbd5}.tip__hd h3{margin:0;color:#e8eef5;font:600 17px/1.2 Inter,sans-serif}
.tip__sub{margin:6px 0 14px;color:#7f8ea3;font:500 11px/1 "JetBrains Mono",monospace;letter-spacing:.04em;text-transform:uppercase}
.tip__qr{display:inline-block;padding:8px;border-radius:12px;border:1px solid rgba(16,187,213,.16);background:#0d0f12}.tip__qr img{display:block;width:168px;height:168px}
.tip__box{display:flex;align-items:center;gap:8px;margin:14px 0 10px;padding:8px 8px 8px 12px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.02);text-align:left}
.tip__addr{flex:1;min-width:0;font:500 12.5px/1.45 "JetBrains Mono",monospace;color:#e8eef5;word-break:break-all;background:none;padding:0}
.tip__copy{all:unset;flex:none;cursor:pointer;padding:6px 12px;border-radius:8px;border:1px solid rgba(16,187,213,.3);color:#10bbd5;font:600 12px/1 Inter,sans-serif;transition:all .18s}
.tip__copy:hover{background:rgba(16,187,213,.08)}.tip__copy.is-done{border-color:rgba(70,220,150,.45);color:#5fe0a0}
.tip__note{margin:0 0 6px;color:#c9d5e3;font-size:13px;line-height:1.45}
.tip__verify{margin:0;display:flex;align-items:center;justify-content:center;gap:5px;color:#7f8ea3;font-size:11.5px}.tip__verify b{color:#c9d5e3;font-family:"JetBrains Mono",monospace;font-weight:600}
.wl button img.wl__ico{width:22px;height:22px;object-fit:contain;border-radius:5px}
.tip__nets{display:flex;justify-content:center;gap:6px;margin:8px 0 14px}
.tip__net{display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.02);color:#c9d5e3;font:500 11.5px/1 Inter,sans-serif;letter-spacing:.01em}
.tip__net img{height:14px;width:auto;display:block}
@media (max-width:700px){.wl__links{display:grid;grid-template-columns:1fr 1fr;gap:6px}.wl__out{justify-content:center}}
.wl button[aria-busy]{border-color:rgba(16,187,213,.6)}
.wl button:disabled{cursor:pointer;opacity:1}
.wl__qhd{display:flex;align-items:center;justify-content:space-between;margin:-2px 0 10px;font:600 13px/1 Inter,sans-serif;color:#e8eef5}
.wl .wl__qr button.wl__back,.wl .wl__qr button.wl__x{all:unset;cursor:pointer;color:#9fb0c6;font:500 13px/1 Inter,sans-serif;padding:6px 8px;border-radius:8px;min-height:0;width:auto;border:0;background:none}
.wl .wl__qr button.wl__x{font-size:18px;padding:2px 8px}
.wl .wl__qr button.wl__back:hover,.wl .wl__qr button.wl__x:hover{color:#fff;background:rgba(255,255,255,.05)}
.wl .wl__qr .wl__retry{all:unset;display:inline-block;cursor:pointer;margin-top:8px;padding:8px 16px;border-radius:10px;border:1px solid rgba(16,187,213,.4);color:#10bbd5;font:600 13px/1 Inter,sans-serif;width:auto;min-height:0;background:none}
/* ===== TG Q&A news ticker ===== */
.ticker{display:flex;align-items:stretch;height:36px;width:100%;box-sizing:border-box;background:#070d18;border-top:1px solid rgba(16,187,213,.28);border-bottom:1px solid rgba(16,187,213,.28);
  font:500 13px/34px Inter,system-ui,sans-serif;color:#c9d5e3;overflow:hidden;position:relative;z-index:5}
.ticker[hidden]{display:none}
.ticker__lbl{flex:none;display:flex;align-items:center;gap:8px;padding:0 14px 0 16px;background:linear-gradient(90deg,#0b1730,#0a1324);border-right:1px solid rgba(16,187,213,.28);
  color:#e8eef5;font:600 11px/1 "JetBrains Mono",monospace;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.ticker__dot{width:6px;height:6px;border-radius:50%;background:#10bbd5;animation:tkPulse 2.4s ease-out infinite}
@keyframes tkPulse{0%{box-shadow:0 0 0 0 rgba(16,187,213,.55)}70%{box-shadow:0 0 0 7px rgba(16,187,213,0)}100%{box-shadow:0 0 0 0 rgba(16,187,213,0)}}
.ticker__vp{flex:1;min-width:0;overflow:hidden;position:relative;outline:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent)}
.ticker__vp:focus-visible{box-shadow:inset 0 0 0 1px rgba(16,187,213,.6)}
.ticker__track{display:flex;width:max-content;margin:0;padding:0;list-style:none;white-space:nowrap;animation:tkRoll var(--tk-dur,60s) linear 1.5s infinite;will-change:transform}
.ticker__vp:hover .ticker__track,.ticker__vp:focus .ticker__track,.ticker__vp:focus-within .ticker__track{animation-play-state:paused}
@keyframes tkRoll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.ticker__it{padding:0 22px;position:relative}
.ticker__it::after{content:"";position:absolute;right:-3px;top:50%;width:5px;height:5px;margin-top:-3px;transform:rotate(45deg);border:1px solid rgba(16,187,213,.55)}
.ticker__it b{color:#10bbd5;font-weight:600}.ticker__a b{color:#10bbd5}.ticker__a{color:#e8eef5}.ticker__src{color:#6f7f95;font:500 11px/1 "JetBrains Mono",monospace;margin-left:8px}
.ticker__ctl{display:none;flex:none;align-items:center;gap:2px;padding:0 8px;border-left:1px solid rgba(16,187,213,.18)}
.ticker--static .ticker__ctl{display:flex}.ticker--static .ticker__track{animation:none;width:auto;max-width:100%}
.ticker--static .ticker__it{overflow:hidden;text-overflow:ellipsis;max-width:100%}.ticker--static .ticker__it::after{display:none}
.ticker__btn{all:unset;cursor:pointer;width:24px;height:24px;line-height:24px;text-align:center;border-radius:6px;color:#9fb0c6;font-size:16px}
.ticker__btn:hover,.ticker__btn:focus-visible{color:#fff;background:rgba(16,187,213,.1)}
@media (prefers-reduced-motion:reduce){.ticker__track{animation:none!important}.ticker__dot{animation:none}}
@media (max-width:700px){.ticker{height:30px;font-size:11.5px;line-height:28px}.ticker__lbl{padding:0 10px;font-size:9.5px;gap:6px}.ticker__it{padding:0 16px}.ticker__src{display:none}}
/* ticker v2: no label badge, edge-to-edge with soft fades */
.ticker__lbl,.ticker__dot,.ticker__src{display:none!important}
.ticker__vp{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 64px,#000 calc(100% - 64px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 64px,#000 calc(100% - 64px),transparent)}
@media (max-width:700px){.ticker__vp{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 28px),transparent)}}
/* unify new COTI.TV wordmark with the nav words' visible ink (v2 trace has taller caps) */
.brand--hand .hw-cotitv svg.hw{height:31px!important}
.brand--hand img.brand__mark{height:18px}
.lb .eyebrow.hw-cotitv svg.hw,.lb .eyebrow .hw-cotitv svg.hw{height:25px!important}
@media (max-width:700px){
  .brand--hand .hw-cotitv svg.hw{height:19px!important}
  .brand--hand img.brand__mark{height:12px!important}
  .lb .eyebrow.hw-cotitv svg.hw,.lb .eyebrow .hw-cotitv svg.hw{height:20px!important}
}

/* ticker NEW badge (Q&As asked within 48h) */
.ticker__new{display:inline-block;margin-right:8px;padding:2px 6px 1px;border:1px solid rgba(16,187,213,.6);border-radius:999px;color:#10bbd5;background:rgba(16,187,213,.06);font:600 9.5px/1.2 "JetBrains Mono",ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase;vertical-align:1px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* mobile menu v3.1: stacking above ticker/player, scrollable panel, no tap delay */
@media (max-width:700px){
  .nav{z-index:70}
  .nav__menu{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
  .nav__in>.nav__links{max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
}
/* mobile v3.2: header + ticker scroll away with the page (no sticky/fixed, no translucent overlay) */
@media (max-width:700px){
  .nav{position:relative!important;top:auto!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#05080f!important}
  .ticker{position:relative!important;top:auto!important}
}
.pc__exp{touch-action:manipulation;-webkit-tap-highlight-color:transparent}.pc__exp[aria-busy="true"]{opacity:.7;cursor:progress}
/* rail card header: name+badges on one line, "@handle · time" on one line (ellipsis instead of wrapping) */
.rail .pc__name{flex-wrap:nowrap!important;overflow:hidden}.rail .pc__name b{flex:0 1 auto;min-width:0}.rail .pc__name>*:not(b){flex:none}
.rail .pc__sub{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;word-break:normal!important;overflow-wrap:normal!important}
.rail .pc__name{display:flex!important;align-items:center;gap:4px}.rail .pc__name b{display:block!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rail .pc__sub,.rail .pc__sub *{display:inline!important}.rail .pc__sub{display:block!important}

/* native X video player */
.player--xv{position:relative;display:flex;align-items:center;justify-content:center;background:#05080f;aspect-ratio:16/9;width:100%;overflow:hidden;border-radius:inherit}
.player--xv video.xv{display:block;width:100%;height:100%;aspect-ratio:var(--xv-ar,16/9);object-fit:contain;background:#05080f}
.player--xv.player--portrait video.xv{width:auto;max-width:100%;height:100%}
.player--xv .xv__poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:.5}

/* YouTube stall card */
.ytstall{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#02040a;cursor:pointer;overflow:hidden}
.ytstall__bg{position:absolute;inset:0;background:center/cover no-repeat;filter:blur(6px) brightness(.35);transform:scale(1.06)}
.ytstall__card{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:18px 22px;border:1px solid rgba(16,187,213,.28);border-radius:14px;background:rgba(5,8,15,.72);text-align:center}
.ytstall__card b{font:600 15px/1.3 Inter,system-ui,sans-serif;color:#e8eef5;margin-top:6px}.ytstall__card span{color:#9fb0c4;font-size:13px}
.ytstall__card small{color:#10bbd5;font-size:11px;min-height:14px}
/* ===== header live stats v2: fills the free space between nav and Sign in, centred, fluid ===== */
.nav__auth{flex:none;white-space:nowrap}
.hstats{flex:1 1 auto;min-width:0;display:flex;justify-content:center;align-items:center;overflow:hidden;align-self:stretch;
  margin:0 clamp(8px,1.2vw,28px);container-type:inline-size}
.hstats__row{display:flex;align-items:stretch;flex:none;max-width:100%;gap:0}
.hg{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:0 clamp(10px,1.6vw,34px);min-height:34px;border-left:1px solid rgba(16,187,213,.14);text-decoration:none;color:inherit;white-space:nowrap}
.hg:first-child{border-left:0;padding-left:0}.hg:last-child{padding-right:0}
.hg[hidden]{display:none}
.hg+.hg[hidden]+.hg,.hg[hidden]+.hg{border-left:1px solid rgba(16,187,213,.14)}
.hg__l{display:flex;align-items:center;gap:5px;font:500 clamp(8.5px,.55vw,10.5px)/1 "JetBrains Mono",ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase;color:#6f7f95}
.hg__l i{display:inline-flex;width:1.15em;height:1.15em;color:#10bbd5}.hg__l svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.hg__v{display:flex;align-items:baseline;gap:clamp(5px,.45vw,9px);font:500 clamp(11.5px,.72vw,14px)/1 "JetBrains Mono",ui-monospace,monospace;color:#e8eef5;font-variant-numeric:tabular-nums}
.hc{font-size:.84em}.hc.up{color:#2fd58b}.hc.down{color:#ff5c6c}
.hsep{color:#3b4a5e}
a.hg:hover .hv,a.hg:hover .hr__nm{color:#10bbd5}
.hr{display:inline-flex;align-items:baseline;gap:4px}
.hr+.hr{margin-left:clamp(4px,.5vw,10px)}
.hr__n{display:inline-flex;align-items:center;justify-content:center;width:1.25em;height:1.25em;border:1px solid rgba(16,187,213,.45);border-radius:50%;color:#10bbd5;font-size:.72em;align-self:center}
.hr__nm{max-width:14ch;overflow:hidden;text-overflow:ellipsis}
.hr__pt{color:#6f7f95;font-size:.84em}
.hd{width:.6em;height:.6em;border-radius:50%;background:#56657a;align-self:center}
.hd.on{background:#2fd58b;box-shadow:0 0 0 3px rgba(47,213,139,.14)}.hd.off{background:#ff5c6c;box-shadow:0 0 0 3px rgba(255,92,108,.14)}
/* condense steps applied by stats.js only when the row doesn't fit */
.c1 .hr--3,.c3 .hr--2{display:none}.c2 .hr__pt{display:none}.c4 .hg--opt,.c4 .hsep{display:none}
@media (max-width:700px){.hstats{display:none!important}}

/* ?yt=lite facade */
.ytlite{all:unset;position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;cursor:pointer;background:#02040a;overflow:hidden}
.ytlite__bg{position:absolute;inset:0;background:center/cover no-repeat;filter:brightness(.55)}
.ytlite .ytposter__play,.ytlite__tag{position:relative}
.ytlite__tag{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#cfe9f5;background:rgba(5,8,15,.6);border:1px solid rgba(16,187,213,.3);border-radius:999px;padding:4px 10px}
.ytlite:focus-visible{outline:2px solid #10bbd5;outline-offset:-2px}
.ytlite__skip{position:absolute;right:10px;bottom:10px;z-index:3;font-size:11px;padding:6px 10px;border-radius:999px;border:1px solid rgba(16,187,213,.35);background:rgba(5,8,15,.8);color:#e8eef5;cursor:pointer}

.yttoast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,12px);z-index:200;padding:8px 14px;border:1px solid rgba(34,211,238,.45);border-radius:999px;background:#05080f;color:#cfefff;font-size:12px;letter-spacing:.04em;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
.yttoast.on{opacity:1;transform:translate(-50%,0)}
@media (prefers-reduced-motion:reduce){.yttoast{transition:none}}
.yttoast.act{pointer-events:auto}.yttoast button{margin-left:8px;padding:2px 10px;border:1px solid rgba(34,211,238,.6);border-radius:999px;background:transparent;color:#22d3ee;font:inherit;cursor:pointer}

/* welcome lead is shown left-aligned from the first frame (clear of the left fade), holds 1.5s, then the loop scrolls */
.ticker__lead{padding-left:64px!important}@media (max-width:700px){.ticker__lead{padding-left:28px!important}}
.ticker__xg{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-right:8px;border:1px solid rgba(207,239,255,.35);border-radius:4px;color:#e7f6ff;vertical-align:-3px}
.ticker__x{cursor:default}
