/* CARAOK site styles (Spec 05b). The :root variables below are a copy of packages/brand/src/tokens.css; a test keeps them equal. */
:root {
  --c-midnight: #0A0614;
  --c-panel: #151027;
  --c-panel-high: #1E1736;
  --c-border: #2C2350;
  --c-pink: #FF3FA4;
  --c-magenta: #C42CFF;
  --c-violet: #6F36FF;
  --c-cyan: #28D7FF;
  --c-blue: #1677FF;
  --c-text: #F7F3FF;
  --c-text-dim: #B9AFCC;
  --c-text-faint: #8A80A3;
  --c-gold: #FFC93C;
  --c-success: #3DDC97;
  --c-danger: #FF5C7A;

  --cta-gradient: linear-gradient(135deg, #FF3FA4, #6F36FF);
  --hero-glow:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(196, 44, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 45% at 85% 10%, rgba(111, 54, 255, 0.2), transparent 70%),
    radial-gradient(ellipse 45% 40% at 60% 100%, rgba(40, 215, 255, 0.1), transparent 70%),
    linear-gradient(180deg, #0A0614, #151027);

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --r-control: 12px; --r-card: 16px; --r-feature: 20px; --r-feature-lg: 24px; --r-pill: 999px;
  --t-control: 180ms; --t-panel: 320ms;
  --font-display: 'Montserrat', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --focus-ring: 3px solid #28D7FF;
  --gutter: clamp(16px, 3vw, 48px); /* spec 36: full width, fluid gutters */
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

/* Fonts are self-hosted (Inter + Montserrat, latin + vietnamese). */
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/inter-vietnamese-400-normal.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/inter-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/inter-vietnamese-500-normal.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:500;src:url(/fonts/inter-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/inter-vietnamese-600-normal.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/inter-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/inter-vietnamese-700-normal.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/inter-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/montserrat-vietnamese-700-normal.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Montserrat';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/montserrat-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-display:swap;font-weight:800;src:url(/fonts/montserrat-vietnamese-800-normal.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Montserrat';font-style:normal;font-display:swap;font-weight:800;src:url(/fonts/montserrat-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; background: var(--c-midnight); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html { font-size: 100%; } @media (min-width: 1920px) { html { font-size: 112.5%; } } @media (min-width: 2400px) { html { font-size: 125%; } }
body { margin: 0; background: var(--c-midnight); color: var(--c-text); font: 400 1.0625rem/1.6 var(--font-ui); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-cyan); text-underline-offset: 3px; }
a:hover { color: var(--c-text); }
:focus-visible { outline: var(--focus-ring); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--c-panel); color: var(--c-text); padding: 8px 16px; border-radius: var(--r-control); z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; margin: 0 auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; margin: 0; letter-spacing: -0.01em; text-wrap: balance; overflow-wrap: normal; hyphens: none; }
h1 { font-size: clamp(34px, 2vw + 22px, 76px); }
h2 { font-size: clamp(27px, 1.6vw + 16px, 56px); font-weight: 800; line-height: 1.12; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
.dim { color: var(--c-text-dim); }
.eyebrow { font: 700 0.8125rem/1.2 var(--font-ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-cyan); }
.gt { font-style: normal; color: var(--c-pink); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) { .gt { background: linear-gradient(100deg, #FF3FA4 0%, #C42CFF 30%, #28D7FF 55%, #C42CFF 80%, #FF3FA4 100%) 0 0 / 200% 100% repeat-x; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: gtsheen 8s linear infinite; } }
@keyframes gtsheen { to { background-position: 200% 0; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 6, 20, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(44, 35, 80, 0.7); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand-link { display: inline-flex; align-items: center; flex: none; }
.brand-link img { height: 36px; width: auto; }
.nav { display: none; gap: 4px; margin-left: clamp(8px, 2vw, 40px); }
.nav a { color: var(--c-text-dim); text-decoration: none; padding: 8px 14px; border-radius: var(--r-control); font-weight: 500; font-size: 0.9375rem; white-space: nowrap; transition: color var(--t-control), background var(--t-control); }
.nav a:hover { color: var(--c-text); background: var(--c-panel); }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }


/* Buttons */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; max-width: 100%; border-radius: var(--r-control); font: 700 1.0625rem/1.2 var(--font-ui); white-space: nowrap; text-align: center; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: box-shadow var(--t-control), transform var(--t-control), background var(--t-control); }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 55%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent); transform: translateX(-130%) skewX(-18deg); pointer-events: none; }
.btn:hover::after, .btn:focus-visible::after { transform: translateX(260%) skewX(-18deg); transition: transform 0.75s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--cta-gradient); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { color: #fff; box-shadow: 0 0 0 1px rgba(255, 63, 164, 0.5), 0 0 28px rgba(255, 63, 164, 0.35); }
.btn-secondary { background: var(--c-panel); color: var(--c-text); border-color: var(--c-cyan); }
.btn-secondary:hover, .btn-secondary:focus-visible { color: var(--c-text); background: var(--c-panel-high); box-shadow: 0 0 22px rgba(40, 215, 255, 0.18); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 15px; } /* spec 36: 44 px tap target */
.btn.header-cta { display: none; }
@media (min-width: 1100px) { .nav { display: flex; } .btn.header-cta { display: inline-flex; } .menu-btn, .sheet { display: none !important; } }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(247, 243, 255, 0.28); background: rgba(21, 16, 39, 0.6); color: var(--c-text); cursor: pointer; padding: 0; }
.js .menu-btn { display: inline-flex; }
.bars { position: relative; width: 18px; height: 14px; }
.bars i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--t-panel) var(--ease), opacity var(--t-control); }
.bars i:nth-child(1) { top: 0; } .bars i:nth-child(2) { top: 6px; } .bars i:nth-child(3) { top: 12px; }
.menu-open .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); } .menu-open .bars i:nth-child(2) { opacity: 0; } .menu-open .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; top: 68px; z-index: 40; display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: 24px var(--gutter) 48px; background: radial-gradient(ellipse 80% 50% at 80% 0%, rgba(196, 44, 255, 0.25), transparent 70%), #0A0614; overflow-y: auto; }
.sheet[hidden] { display: none; }
.sheet nav { display: flex; flex-direction: column; }
.sheet nav a { color: var(--c-text); text-decoration: none; font: 800 clamp(26px, 6vw, 40px)/1.2 var(--font-display); padding: 14px 0; border-bottom: 1px solid var(--c-border); white-space: nowrap; }
.sheet nav a:hover { color: var(--c-cyan); }
.sheet .btn { align-self: flex-start; }
.menu-open { overflow: hidden; }
.site-header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (max-width: 1099px) { .site-header.over-hero.menu-open { background: #0A0614 !important; } }


/* Vertical rhythm (05g, Hanson): about half the 05d padding so the page scrolls shorter; the hero stays full-screen. */
section.block { padding: clamp(32px, 3vw, 52px) 0; position: relative; }
.head { max-width: 52rem; margin-bottom: clamp(16px, 1.8vw, 28px); display: flex; flex-direction: column; gap: 10px; }
.grid { display: grid; gap: clamp(14px, 1.6vw, 28px); grid-template-columns: 1fr; }
.grid > * { min-width: 0; }
@media (min-width: 600px) { .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid.four { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 820px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }


/* Cards, bands, features (05d: glow + lift + cursor light) */
.card, .step, .feature { --mx: 50%; --my: 0%; position: relative; }
.card { background: linear-gradient(180deg, rgba(30, 23, 54, 0.9), var(--c-panel)); border: 1px solid var(--c-border); border-radius: var(--r-card); padding: clamp(20px, 1.6vw, 30px); display: flex; flex-direction: column; gap: 8px; transition: border-color var(--t-control), box-shadow var(--t-panel), translate var(--t-panel) var(--ease); }
.card::before, .step::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(196, 44, 255, 0.2), transparent 70%); transition: opacity var(--t-panel); }
.card:hover::before, .step:hover::before { opacity: 1; }
.card:hover { border-color: rgba(111, 54, 255, 0.85); box-shadow: 0 14px 40px rgba(10, 6, 20, 0.5), 0 0 28px rgba(111, 54, 255, 0.22); translate: 0 -4px; }
.card p { color: var(--c-text-dim); font-size: 1rem; }
.card h2 { font-size: 1.375rem; }
.pillar-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c-pink); margin-bottom: 8px; box-shadow: 0 0 14px 2px rgba(255, 63, 164, 0.6); }
.pillar-dot.cyan { background: var(--c-cyan); box-shadow: 0 0 14px 2px rgba(40, 215, 255, 0.55); } .pillar-dot.violet { background: var(--c-violet); box-shadow: 0 0 14px 2px rgba(111, 54, 255, 0.7); } .pillar-dot.magenta { background: var(--c-magenta); box-shadow: 0 0 14px 2px rgba(196, 44, 255, 0.6); }
.step-num { font: 800 0.9375rem/1 var(--font-display); color: var(--c-cyan); letter-spacing: 0.1em; }
/* Soft seams instead of hard lines: the band fades in and out of the midnight page. */
.band { background: linear-gradient(180deg, var(--c-midnight) 0, rgba(21, 16, 39, 0.92) clamp(60px, 9vw, 150px), rgba(21, 16, 39, 0.92) calc(100% - clamp(60px, 9vw, 150px)), var(--c-midnight) 100%); }
.band .card { background: linear-gradient(180deg, rgba(30, 23, 54, 0.6), var(--c-midnight)); }
.feature { background-color: var(--c-panel); border: 1px solid var(--c-border); border-radius: var(--r-feature-lg); padding: clamp(22px, 2.6vw, 40px) clamp(22px, 3.2vw, 52px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; background-image: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(196, 44, 255, 0.16), transparent 70%), radial-gradient(ellipse 50% 70% at 0% 100%, rgba(40, 215, 255, 0.07), transparent 70%); }
.feature p { max-width: 38rem; color: var(--c-text-dim); }
.soon { display: inline-block; padding: 4px 14px; border-radius: var(--r-pill); border: 1px solid var(--c-gold); color: var(--c-gold); font: 700 0.8125rem/1.4 var(--font-ui); letter-spacing: 0.04em; white-space: nowrap; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; width: 100%; max-width: 520px; }
.store { display: flex; flex-direction: column; align-items: flex-start; padding: 12px 24px; border: 1px solid var(--c-border); border-radius: var(--r-control); background: var(--c-midnight); flex: 1 1 200px; transition: border-color var(--t-control), translate var(--t-panel) var(--ease); }
.store:hover { border-color: var(--c-cyan); translate: 0 -3px; }
.store small { font-size: 0.8125rem; color: var(--c-text-dim); }
.store strong { font: 700 1rem/1.3 var(--font-ui); color: var(--c-text); white-space: nowrap; }

/* Footer: phones one centred column; from 900 px brand left, links right, copyright row below. */
.site-footer { background: linear-gradient(180deg, var(--c-midnight), var(--c-panel) 70%); padding: clamp(32px, 3vw, 48px) 0 clamp(22px, 2vw, 32px); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(196, 44, 255, 0.55), rgba(40, 215, 255, 0.5), transparent); }
.site-footer .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(18px, 2vw, 28px); }
.foot-brand { width: 241px; max-width: 100%; container-type: inline-size; }
.foot-brand .brand-link { display: block; }
.site-footer img { width: 100%; height: auto; }
.hero-logo, .foot-brand { container-type: inline-size; position: relative; }
/* inside the logo's lower band, right of the C: baseline at the C bottom (97.2% of the image height), 26.2% to 98.8% of its width */
.logo-tag { position: absolute; left: 26.2%; top: 86.05%; width: 72.6%; font: 700 4.4cqw/1 var(--font-display); letter-spacing: .05em; text-transform: uppercase; color: var(--c-cyan); white-space: nowrap; text-align: justify; text-align-last: justify; z-index: 2 }
.site-footer .links { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 22px; font: 500 0.9375rem/1.4 var(--font-ui); }
.site-footer .links a { color: var(--c-text); text-decoration: none; white-space: nowrap; padding: 2px 0; transition: color var(--t-control); }
.site-footer .links a:hover { color: var(--c-cyan); }
.site-footer .foot-copy { color: var(--c-text-dim); font-size: 0.875rem; line-height: 1.7; }
.site-footer .foot-copy .nowrap { white-space: nowrap; display: block; }
/* The "·" is a ::before on the item after it (not a separate element), so if a line ever wraps the dot moves with its item and never dangles. */
@media (min-width: 600px) {
  .site-footer .links { gap: 6px 0; }
  .site-footer .foot-copy .nowrap { display: inline; }
  .site-footer .links a + a::before, .site-footer .foot-copy .nowrap + .nowrap::before { content: "·"; color: var(--c-text-faint); margin: 0 0.75em; font-weight: 400; }
  .site-footer .foot-copy .nowrap + .nowrap::before { margin: 0 0.5em 0 0.25em; }
}
@media (min-width: 900px) {
  .site-footer .wrap { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "brand links" "copy copy"; align-items: center; column-gap: clamp(24px, 4vw, 64px); row-gap: clamp(20px, 2vw, 28px); text-align: left; }
  .foot-brand { grid-area: brand; }
  .site-footer .links { grid-area: links; justify-content: flex-end; }
  .site-footer .foot-copy { grid-area: copy; display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; padding-top: clamp(16px, 1.6vw, 22px); border-top: 1px solid rgba(44, 35, 80, 0.8); }
  .site-footer .foot-copy .nowrap + .nowrap::before { content: none; }
}
.site-footer .foot-copy a { color: var(--c-text-dim); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(185, 175, 204, 0.4); transition: color var(--t-control), border-color var(--t-control); }
.site-footer .foot-copy a:hover { color: var(--c-cyan); border-bottom-color: var(--c-cyan); }

/* Info pages: CARAOK Home + TV link */
.page-hero { background: var(--hero-glow); position: relative; padding: clamp(36px, 4vw, 64px) 0 clamp(28px, 3vw, 48px); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(180deg, transparent, var(--c-midnight)); pointer-events: none; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; position: relative; z-index: 1; }
.hero-copy h1 { font-size: clamp(34px, 3vw + 18px, 92px); max-width: 18em; }
.grow { background: linear-gradient(100deg, #F7F3FF 0%, #F7F3FF 45%, #FF9AD0 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { max-width: 42rem; font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.5rem); color: var(--c-text-dim); line-height: 1.6; }
.info-grid { padding-top: 0; }
.back { margin-top: clamp(20px, 2vw, 36px); }
.tv-page { min-height: calc(100svh - 68px); display: flex; align-items: center; justify-content: center; padding: clamp(32px, 6vw, 96px) var(--gutter); background: var(--hero-glow); }
.tv-card { width: min(100%, 46rem); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 56px); border: 1px solid var(--c-border); border-radius: var(--r-feature-lg); background: rgba(21, 16, 39, 0.82); box-shadow: 0 30px 80px rgba(10, 6, 20, 0.6), 0 0 60px rgba(111, 54, 255, 0.14); }
.tv-card h1 { font-size: clamp(30px, 2vw + 18px, 52px); }
.tv-card p { color: var(--c-text-dim); font-size: 1.125rem; max-width: 36rem; }
.tv-mark { position: relative; display: inline-flex; }
.tv-mark::before, .tv-mark::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(40, 215, 255, 0.5); animation: ping 3.2s ease-out infinite; }
.tv-mark::after { animation-delay: 1.6s; }
@keyframes ping { from { transform: scale(0.7); opacity: 0.9; } to { transform: scale(1.5); opacity: 0; } }
.tv-links a { white-space: nowrap; }
.tv-card .codebox, .codebox { font: 800 clamp(30px, 6vw, 56px)/1.2 var(--font-display); letter-spacing: 0.18em; color: var(--c-cyan); display: none; text-shadow: 0 0 28px rgba(40, 215, 255, 0.5); }
.panelbox { background: var(--c-midnight); border: 1px solid var(--c-border); border-radius: var(--r-card); padding: 18px 22px; width: 100%; }
.panelbox p { color: var(--c-text); font-size: 1.125rem; max-width: none; }
.panelbox strong { color: var(--c-cyan); }

/* QR bridge pages /r/CODE and /tv/link?c=CODE (spec 05f). Same glowing card as the TV link page; one small gradient, no photos. */
.bridge { gap: 14px; }
.bridge a:not(.btn):not(.store) { text-underline-offset: 3px; }
.b-body { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
/* hidden must beat every display rule below (.b-note is display:flex etc.), or the coming-soon note shows in the store state. */
.bridge [hidden] { display: none !important; }
.bridge .b-label { font: 700 0.8125rem/1.2 var(--font-ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-text-faint); margin-top: 4px; }
.bridge .b-code { font: 800 clamp(30px, 9.5vw, 64px)/1.1 var(--font-display); letter-spacing: 0.12em; text-indent: 0.12em; color: var(--c-cyan); text-shadow: 0 0 28px rgba(40, 215, 255, 0.5); white-space: nowrap; max-width: 100%; }
.bridge .b-note { display: flex; flex-direction: column; align-items: center; gap: 10px; }
/* "Coming soon" on purpose: a glowing gold pill with a star, gently breathing (still under reduced motion). */
.bridge .b-note .soon { padding: 6px 18px; font-size: 0.875rem; background: rgba(255, 196, 61, 0.1); box-shadow: 0 0 22px rgba(255, 196, 61, 0.28); animation: soonglow 2.8s ease-in-out infinite; }
.bridge .b-note .soon::before { content: "\2726\00a0"; }
.bridge .b-note span:not(.soon) { color: var(--c-text); font-size: 1.125rem; max-width: 30rem; text-wrap: balance; }
@keyframes soonglow { 0%, 100% { box-shadow: 0 0 22px rgba(255, 196, 61, 0.28); } 50% { box-shadow: 0 0 34px rgba(255, 196, 61, 0.5); } }
.bridge .b-status { font-size: 1rem; }
.bridge .b-status:empty { display: none; }
.b-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; width: 100%; max-width: 22rem; margin: 6px 0; }
.b-actions .btn { width: 100%; }
.bridge .b-have { font-size: 1rem; }
.b-desk { display: flex; align-items: center; justify-content: center; gap: 24px; width: 100%; text-align: left; }
.b-qr { width: 168px; height: 168px; border-radius: var(--r-control); background: #fff; flex: none; }
.bridge .b-scan { font-size: 1rem; margin-bottom: 10px; }
.b-desk .stores { flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; max-width: none; gap: 10px; }
.b-desk .store { flex: none; }
.bridge .b-bad-h { font: 800 clamp(22px, 1vw + 16px, 32px)/1.25 var(--font-display); color: var(--c-text); max-width: none; text-wrap: balance; }
.b-steps { list-style: none; margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid var(--c-border); display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 30rem; text-align: left; color: var(--c-text); font-size: 1rem; }
.b-steps li { display: flex; align-items: center; gap: 12px; }
.b-steps span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 800 0.875rem/1 var(--font-display); color: var(--c-midnight); background: var(--c-cyan); }
@media (max-width: 560px) {
  .b-desk { flex-direction: column; }
  .b-desk .stores { width: 100%; }
}


/* Legal pages: Privacy, Terms, Disclaimer. One readable column (~70ch), brand type. */
.legal { padding: clamp(32px, 3.5vw, 56px) var(--gutter) clamp(40px, 4.5vw, 72px); background: var(--hero-glow); }
.legal .article { width: min(100%, 70ch); margin: 0 auto; }
.legal-head { display: flex; flex-direction: column; gap: 12px; padding-bottom: clamp(18px, 2vw, 28px); margin-bottom: clamp(18px, 2vw, 28px); border-bottom: 1px solid var(--c-border); }
.legal-head h1 { font-size: clamp(32px, 2vw + 18px, 60px); }
.legal-head .updated { color: var(--c-text-faint); font-size: 0.9375rem; }
.legal-head .intro { color: var(--c-text-dim); font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.25rem); }
.legal .article h2 { font-size: clamp(1.25rem, 0.5vw + 1rem, 1.625rem); margin-top: clamp(26px, 2.5vw, 36px); margin-bottom: 8px; }
.legal .article h2 + p, .legal .article h2 + ul { margin-top: 0; }
.legal .article p, .legal .article li { margin: 10px 0; color: var(--c-text-dim); line-height: 1.65; }
.legal .article strong { color: var(--c-text); font-weight: 600; }
.legal .article ul, .legal .article ol { padding-left: 1.25em; margin: 12px 0; }
.legal .article li::marker { color: var(--c-magenta); }
/* Numbered how-to steps (delete-account page): brand-coloured numerals, one step per line. */
.legal .article ol.steps-list { list-style: none; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 10px; }
.legal .article ol.steps-list li { position: relative; padding-left: 42px; margin: 0; min-height: 28px; counter-increment: step; }
.legal .article ol.steps-list li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 800 0.875rem/1 var(--font-display); color: var(--c-midnight); background: var(--c-cyan); }
.legal .article a { color: var(--c-cyan); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: clamp(28px, 3vw, 44px); padding-top: 20px; border-top: 1px solid var(--c-border); font-size: 0.9375rem; }
.legal-nav a { white-space: nowrap; }
.legal-nav .cur { color: var(--c-text-faint); white-space: nowrap; }

/* ---------- Spec 05c additions ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
section[id] { scroll-margin-top: 64px; }

/* Header: sticky + solid on every page; on the landing page it floats over the hero and turns solid after scrolling (JS adds .js and .is-solid). */
.site-header { transition: background var(--t-panel), border-color var(--t-panel); }
.site-header.over-hero { position: fixed; left: 0; right: 0; }
.js .site-header.over-hero:not(.is-solid) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.lang-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 36px; padding: 0 12px; border: 1px solid rgba(247, 243, 255, 0.28); border-radius: var(--r-pill); color: var(--c-text); font: 700 13px/1 var(--font-ui); letter-spacing: 0.08em; text-decoration: none; transition: border-color var(--t-control), background var(--t-control); }
.lang-pill:hover { color: var(--c-text); border-color: var(--c-cyan); background: rgba(40, 215, 255, 0.08); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center-block { display: flex; flex-direction: column; align-items: center; }
.center-head { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }

/* Scroll reveal (only when JS is on; off under reduced motion) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease) var(--d, 0s), transform 0.8s var(--ease) var(--d, 0s), border-color var(--t-control), box-shadow var(--t-panel), translate var(--t-panel) var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* How a party works: steps + visual */
.split { display: grid; gap: clamp(32px, 4vw, 80px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1.05fr 0.95fr; } }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.step { display: flex; gap: 20px; align-items: flex-start; background: linear-gradient(180deg, rgba(30, 23, 54, 0.6), var(--c-midnight)); border: 1px solid var(--c-border); border-radius: var(--r-card); padding: clamp(18px, 1.5vw, 28px) clamp(20px, 2vw, 32px); transition: border-color var(--t-control), translate var(--t-panel) var(--ease), box-shadow var(--t-panel); }
.step:hover { border-color: rgba(111, 54, 255, 0.85); translate: 4px 0; box-shadow: 0 0 28px rgba(111, 54, 255, 0.2); }
.step .step-num { font-size: 1.75rem; line-height: 1; background: var(--cta-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; padding-top: 2px; }
.step h3 { margin-bottom: 4px; }
.step p { color: var(--c-text-dim); font-size: 1rem; }

/* Feature panels with a visual (photo if present, designed fallback otherwise) */
.feature-visual { display: grid; gap: clamp(28px, 3vw, 64px); align-items: center; }
.feature-copy { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.feature-copy p { max-width: 36rem; color: var(--c-text-dim); }
@media (min-width: 960px) { .feature-visual { grid-template-columns: 1.1fr 0.9fr; } .feature-visual.flip { grid-template-columns: 0.9fr 1.1fr; } .feature-visual.flip .visual { order: -1; } }
.visual { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-feature); overflow: hidden; border: 1px solid var(--c-border); background: radial-gradient(ellipse 70% 60% at 70% 20%, rgba(196, 44, 255, 0.35), transparent 70%), radial-gradient(ellipse 60% 50% at 20% 90%, rgba(40, 215, 255, 0.18), transparent 70%), linear-gradient(180deg, #1E1736, #0A0614); box-shadow: 0 24px 60px -24px rgba(10, 6, 20, 0.9), 0 0 60px -20px rgba(111, 54, 255, 0.35); }
/* 05d photos: <picture> (lazy, WebP + JPEG) fills the panel; --pos keeps the subject in the 3:2 crop. The designed art (.fbv) stays underneath until the photo is in. */
.visual .pic { position: absolute; inset: 0; z-index: 1; }
.visual .photo { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); display: block; transition: transform 0.9s var(--ease); }
.visual::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(247, 243, 255, 0.06), inset 0 -80px 80px -60px rgba(10, 6, 20, 0.7); }
.visual.has-photo .fbv { display: none; }
.visual > span, .visual .fbv > span { position: absolute; }
.visual .fbv { position: absolute; inset: 0; }
.visual .live { z-index: 2; }
@media (hover: hover) and (pointer: fine) { .visual:hover .photo { transform: scale(1.03); } }
.vis-phones .vp { width: 22%; aspect-ratio: 9 / 18; border-radius: 14px; border: 2px solid rgba(247, 243, 255, 0.2); background: linear-gradient(160deg, rgba(255, 63, 164, 0.45), rgba(111, 54, 255, 0.3) 60%, rgba(40, 215, 255, 0.25)); box-shadow: 0 0 40px rgba(111, 54, 255, 0.35); }
.vis-phones .vp1 { left: 12%; top: 22%; transform: rotate(-9deg); } .vis-phones .vp2 { left: 39%; top: 12%; } .vis-phones .vp3 { left: 66%; top: 22%; transform: rotate(9deg); }
.vis-tv .tvbox { left: 12%; top: 16%; width: 76%; aspect-ratio: 16 / 9; border-radius: 12px; border: 3px solid rgba(247, 243, 255, 0.16); background: linear-gradient(135deg, rgba(196, 44, 255, 0.55), rgba(40, 215, 255, 0.35)); box-shadow: 0 0 70px rgba(196, 44, 255, 0.35); display: flex; align-items: center; justify-content: center; }
.vis-tv .tvqr { width: 26%; aspect-ratio: 1; border-radius: 8px; border: 6px solid #F7F3FF; background: #F7F3FF var(--qr) center / 100% 100%; }
.vis-tv .tvstand { left: 38%; width: 24%; top: 70%; height: 6px; border-radius: 3px; background: rgba(247, 243, 255, 0.18); }
.vis-venue .neon { background: linear-gradient(90deg, transparent, #FF3FA4, transparent); height: 2px; box-shadow: 0 0 18px 2px rgba(255, 63, 164, 0.6); }
.vis-venue .n1 { left: 10%; right: 10%; top: 24%; } .vis-venue .n2 { left: 24%; right: 24%; top: 74%; background: linear-gradient(90deg, transparent, #6F36FF, transparent); box-shadow: 0 0 18px 2px rgba(111, 54, 255, 0.6); }
.vis-venue .bokeh { border-radius: 50%; background: radial-gradient(circle, rgba(255, 63, 164, 0.5), transparent 70%); }
.vis-venue .b1 { width: 34%; aspect-ratio: 1; left: 52%; top: 10%; } .vis-venue .b2 { width: 22%; aspect-ratio: 1; left: 20%; top: 44%; background: radial-gradient(circle, rgba(40, 215, 255, 0.4), transparent 70%); } .vis-venue .b3 { width: 28%; aspect-ratio: 1; left: 58%; top: 52%; background: radial-gradient(circle, rgba(111, 54, 255, 0.5), transparent 70%); }
.eq-s { right: 10%; left: 10%; bottom: 8%; width: auto; height: 22%; }

/* Phones: one CTA per row so labels never wrap mid-word */
@media (max-width: 479px) { .feature .btn, .center-block .btn, .sheet .btn { width: 100%; } }

/* Fun details (05d) */
.live { position: absolute; left: 5%; top: 6%; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; border-radius: var(--r-pill); background: rgba(10, 6, 20, 0.7); border: 1px solid rgba(255, 63, 164, 0.55); font: 800 0.75rem/1 var(--font-ui); letter-spacing: 0.14em; color: var(--c-text); white-space: nowrap; }
.live i { width: 9px; height: 9px; border-radius: 50%; background: var(--c-pink); box-shadow: 0 0 0 0 rgba(255, 63, 164, 0.7); animation: livepulse 1.6s ease-out infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(255, 63, 164, 0.7); } 100% { box-shadow: 0 0 0 10px rgba(255, 63, 164, 0); } }
.vis-phones .vp { animation: phonebob 5s ease-in-out infinite alternate; } .vis-phones .vp2 { animation-delay: -1.7s; } .vis-phones .vp3 { animation-delay: -3.2s; }
@keyframes phonebob { to { translate: 0 -6px; } }
/* Phone -> TV: the phone scans the TV's code, a check pops up, repeat (6 s) */
.vis-tv .tvqr { position: absolute; right: 7%; top: 14%; overflow: hidden; animation: qrfade 6s ease-in-out infinite; }
.vis-tv .tvqr .scan { position: absolute; left: 0; right: 0; top: 0; height: 14%; background: linear-gradient(180deg, transparent, rgba(40, 215, 255, 0.85), transparent); animation: scanmove 6s ease-in-out infinite; }
@keyframes scanmove { 0%, 18% { top: -14%; opacity: 0; } 22% { opacity: 1; } 48% { top: 100%; opacity: 1; } 52%, 100% { top: 100%; opacity: 0; } }
@keyframes qrfade { 0%, 55% { opacity: 1; } 62%, 88% { opacity: 0.25; } 96%, 100% { opacity: 1; } }
.vis-tv .tvok { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; display: grid; place-items: center; color: #0A0614; background: var(--c-cyan); box-shadow: 0 0 40px rgba(40, 215, 255, 0.7); opacity: 0; transform: scale(0.4); animation: okpop 6s ease-in-out infinite; }
@keyframes okpop { 0%, 56% { opacity: 0; transform: scale(0.4); } 64% { opacity: 1; transform: scale(1.12); } 68%, 88% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(0.9); } }
.vis-tv .tvphone { left: 70%; top: 62%; width: 13%; aspect-ratio: 9 / 18; border-radius: 12px; border: 2px solid rgba(40, 215, 255, 0.7); background: linear-gradient(160deg, rgba(255, 63, 164, 0.55), rgba(111, 54, 255, 0.45)); box-shadow: 0 0 30px rgba(40, 215, 255, 0.35); transform: rotate(8deg); }
.vis-tv .wave { position: absolute; left: 50%; top: 0; width: 160%; aspect-ratio: 1; margin: -80% 0 0 -80%; border-radius: 50%; border: 2px solid rgba(40, 215, 255, 0.6); opacity: 0; animation: wave 3s ease-out infinite; }
.vis-tv .w2 { animation-delay: 1.5s; }
@keyframes wave { 0% { transform: scale(0.2); opacity: 0.9; } 100% { transform: scale(1.1); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) { .vis-tv .tvok { animation-play-state: running; } }

/* CA · RA · OK = karaoke (05d): a small brand moment right after the hero. The syllables slide together into CARAOK when the section scrolls in, then the punchline fades up. */
section.name { padding: clamp(20px, 2.5vw, 40px) 0 clamp(10px, 1.1vw, 16px); }
/* Three feature panels in a row (CARAOK Home, venues, events): a card-sized gap between them, not a section gap. */
#home, #venues { padding-bottom: clamp(14px, 1.6vw, 28px); }
.name-play { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.name-play::before { content: ""; position: absolute; left: 50%; top: 42%; width: min(80vw, 1100px); height: 70%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(111, 54, 255, 0.14), transparent); filter: blur(40px); }
.name-play > * { position: relative; }
.syl { display: flex; align-items: center; justify-content: center; gap: 0.14em; margin: 0; font: 800 clamp(50px, 13vw, 148px)/1 var(--font-display); letter-spacing: 0.04em; white-space: nowrap; }
.syl .s { color: var(--c-pink); }
.syl .s2 { color: var(--c-magenta); } .syl .s3 { color: var(--c-cyan); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .syl .s { -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
  .syl .s1 { background-image: linear-gradient(100deg, #FF3FA4, #FF6FC0); } .syl .s2 { background-image: linear-gradient(100deg, #C42CFF, #8A4BFF); } .syl .s3 { background-image: linear-gradient(100deg, #6F8CFF, #28D7FF); }
}
.syl .dot { display: inline-block; width: 0.4em; overflow: hidden; text-align: center; font-size: 0.6em; color: var(--c-cyan); opacity: 0.85; text-shadow: 0 0 14px rgba(40, 215, 255, 0.7); }
.name-h { font-size: clamp(22px, 1.1vw + 14px, 40px); font-weight: 700; line-height: 1.2; }
.name-sub { max-width: 34rem; }
@media (prefers-reduced-motion: no-preference) {
  .syl { transition: gap 0.9s var(--ease) 0.55s; }
  .syl .dot { transition: width 0.9s var(--ease) 0.55s, opacity 0.5s ease 0.55s, transform 0.9s var(--ease) 0.55s; }
  .js .name-play.in .syl { gap: 0; }
  .js .name-play.in .syl .dot { width: 0; opacity: 0; transform: translateY(0.3em) scale(0); }
  .js .name-h, .js .name-sub { opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease) 1.35s, transform 0.7s var(--ease) 1.35s; }
  .js .name-sub { transition-delay: 1.55s; }
  .js .name-play.in .name-h, .js .name-play.in .name-sub { opacity: 1; transform: none; }
}

/* Language chooser fallback (/) */
.is-chooser { background: var(--hero-glow); }
.chooser { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(28px, 4vw, 56px); padding: 32px var(--gutter); position: relative; overflow: hidden; text-align: center; }
.chooser::before, .chooser::after { content: ""; position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; pointer-events: none; animation: bgdrift2 14s ease-in-out infinite alternate; }
.chooser::before { left: -20vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(196, 44, 255, 0.28), transparent); }
.chooser::after { right: -20vmax; bottom: -30vmax; background: radial-gradient(closest-side, rgba(40, 215, 255, 0.16), transparent); animation-delay: -6s; }
@keyframes bgdrift2 { to { transform: translate3d(4vmax, 3vmax, 0) scale(1.08); } }
.chooser > * { position: relative; z-index: 1; }
.chooser img { width: min(86%, 560px, 40vw + 200px); height: auto; animation: floaty 6s ease-in-out infinite alternate; }
@keyframes floaty { to { transform: translateY(-8px); } }
.chooser-btns { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; width: 100%; }
.chooser-btns .btn { min-width: 220px; min-height: 58px; font-size: 1.125rem; }
@media (max-width: 479px) { .chooser-btns .btn { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* QR-like decoration (abstract, not a real code) */
:root { --qr: url("/img/qr-deco.svg"); }

/* Spec 32: pricing for karaoke bars */
.price-grid, .plan-grid { margin-top: clamp(20px, 2.4vw, 36px); }
/* Spec 36: Free / Pro / Pro Home in one row from 1024 px, the bar plans below */
@media (min-width: 1024px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card.hot { border-color: var(--c-pink); }
.plan-cta { margin-top: clamp(14px, 1.6vw, 28px); }
.venue-head { margin-top: clamp(40px, 5vw, 80px); }
.price-card h3 { font-size: 1.125rem; }
.price { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; font-family: var(--font-ui); color: var(--c-text); }
.price .amt { font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 800; line-height: 1.05; }
.price .cur, .price .per, .price-inline .cur, .price-inline .per { font-size: 1rem; color: var(--c-text-dim); font-weight: 600; }
.price-card.addon { margin-top: clamp(14px, 1.6vw, 28px); flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price-card.addon > div { min-width: 0; flex: 1 1 260px; }
.price-inline { display: inline-flex; align-items: baseline; gap: 3px; margin-left: 8px; color: var(--c-gold); }
.price-inline .amt { font-weight: 800; }
.price-cta { margin-top: clamp(14px, 1.6vw, 28px); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price-cta .free { font: 800 1.5rem/1.2 var(--font-ui); color: var(--c-text); }
.price-cta > div { min-width: 0; flex: 1 1 240px; }
.price-note { margin-top: 14px; font-size: 0.875rem; }
@media (max-width: 599px) { .price-cta .btn { width: 100%; } }

/* Spec 37: caraok.party/tv */
.tvurl { margin-top: 8px; }
.urlpill { display: inline-block; padding: 6px 16px; border-radius: var(--r-pill); border: 1px solid var(--c-cyan); color: var(--c-cyan); font: 700 1.125rem/1.4 var(--font-ui); letter-spacing: 0.02em; }
.tvhow .card p { color: var(--c-text-dim); }
.bridge:not([data-kind="tv"]) .b-tvhow { display: none; }
.b-tvhow { margin: 14px 0 0; font-size: 1rem; } .b-tvhow a { color: var(--c-cyan); display: inline-flex; align-items: center; min-height: 44px; }

/* review 36-37 m12: every link that stands on its own is a 44 px tap target (links inside running text are exempt) */
.skip { min-height: 44px; display: inline-flex; align-items: center; }
.brand-link { min-height: 44px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; }
.lang-pill { min-height: 44px; }
.site-footer .links a, .legal-nav a { display: inline-flex; align-items: center; min-height: 44px; }
/* Nov 2 2026 (Hanson): no underlines on any link */
a, a:hover, a:focus-visible { text-decoration: none; }
.site-footer .foot-copy a { border-bottom: 0; }

/* Spec 127b (B4): the party's outside view on the event link page /e/<id> (filled by outside.js; the bridge card sits under it). */
.tv-page:has(.outside) { flex-direction: column; gap: 18px; }
.outside { align-items: stretch; text-align: left; gap: 14px; }
.outside [hidden] { display: none !important; }
.o-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.o-live { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 12px; border-radius: var(--r-pill); font: 800 0.8125rem/1 var(--font-ui); letter-spacing: 0.12em; color: var(--c-midnight); background: var(--c-gold); box-shadow: 0 0 22px rgba(255, 201, 60, 0.4); }
.outside .o-name { font-size: clamp(26px, 2vw + 14px, 44px); line-height: 1.15; overflow-wrap: anywhere; }
.o-sub { font: 700 0.8125rem/1.2 var(--font-ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-text-faint); margin: 0 0 8px; }
.o-sub.ok { color: var(--c-success); }
.o-card { background: var(--c-midnight); border: 1px solid var(--c-border); border-radius: var(--r-card); padding: 16px 18px; }
.o-rows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.o-rows:empty { display: none; }
.o-row { display: flex; justify-content: space-between; gap: 12px; font-size: 1.0625rem; }
.o-row .o-who { font-weight: 700; color: var(--c-text); flex: none; max-width: 50%; overflow-wrap: anywhere; }
.o-row .o-guest { color: var(--c-text-faint); font-weight: 500; }
.o-row .o-guest::before { content: "\1F512\00a0"; }
.o-row .o-title { text-align: right; overflow-wrap: anywhere; }
.o-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.o-item { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-control); overflow: hidden; background: var(--c-panel-high); border: 2px solid transparent; }
.o-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.o-item.o-hl { border-color: var(--c-cyan); box-shadow: 0 0 22px rgba(40, 215, 255, 0.45); }
.o-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8); background: rgba(10, 6, 20, 0.22); }
.o-item:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
.outside .o-empty, .outside .o-status { font-size: 1rem; margin: 0; }
.o-note .o-note-h { font: 800 clamp(22px, 1vw + 16px, 30px)/1.25 var(--font-display); color: var(--c-text); margin: 0 0 6px; max-width: none; }
.o-err { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.o-err p { color: var(--c-danger); margin: 0; }
@media (max-width: 600px) { .o-grid { grid-template-columns: repeat(2, 1fr); } }
