@font-face { font-family: "Inter"; src: url("/_front/fonts/inter.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/_front/fonts/inter-tight.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/_front/fonts/geist-mono.woff") format("woff"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #090510;
  --bg-2: #0D0618;
  --deep: #05020B;
  --violet: #B794F4;
  --violet-rgb: 183, 148, 244;
  --violet-l: #D6BCFA;
  --violet-d: #7857DF;
  --mint: #6EE7B7;
  --red: #F87171;
  --amber: #FCD34D;
  --text: rgba(255, 255, 255, .92);
  --muted: rgba(236, 228, 255, .72);
  --faint: rgba(226, 216, 255, .58);
  --line: rgba(var(--violet-rgb), .22);
  --glass: rgba(18, 9, 34, .74);
  --glass-2: rgba(28, 15, 52, .72);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --panel-w: min(452px, 92vw);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { overflow: hidden; }
a { color: var(--violet-l); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--violet-l); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

#stage { position: fixed; inset: 0; z-index: 0; }
#stage canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(5, 2, 11, .75) 100%); }
.flash { position: fixed; inset: 0; z-index: 30; pointer-events: none; background: radial-gradient(circle at 50% 50%, #fff 0%, #D6BCFA 30%, rgba(120, 87, 223, .0) 75%); opacity: 0; }

/* Loader */
.loader { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; align-content: center; gap: 22px; background: var(--bg); transition: opacity .7s var(--ease), visibility .7s; }
.loader-mark { width: 64px; height: 64px; filter: drop-shadow(0 0 18px rgba(183, 148, 244, .55)); animation: pulse 1.6s ease-in-out infinite; }
.loader-bar { display: block; width: 140px; height: 2px; background: rgba(var(--violet-rgb), .18); border-radius: 2px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--violet-l); box-shadow: 0 0 12px var(--violet); transition: width .3s; }
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; }
@keyframes pulse { 50% { transform: scale(.94); opacity: .75; } }

/* Corner header */
.corner { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 16px 20px; pointer-events: none; }
.corner > * { pointer-events: auto; }
.brand { background: none; border: 0; padding: 4px; cursor: pointer; border-radius: 10px; opacity: 0; transform: translateY(-6px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.brand svg { display: block; height: 30px; width: auto; }
.stage-inside .brand { opacity: 1; transform: none; }
.store-chip { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); backdrop-filter: blur(10px); font-size: 12.5px; opacity: 0; transform: translateY(-6px); transition: opacity .6s var(--ease) .1s, transform .6s var(--ease) .1s; }
.store-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.store-chip em { font-style: normal; color: var(--faint); margin-left: 4px; }
.stage-inside .store-chip { opacity: 1; transform: none; }
.corner-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ghost-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); backdrop-filter: blur(10px); color: var(--text); font-size: 13.5px; font-weight: 550; cursor: pointer; transition: border-color .2s, background .2s; }
.ghost-btn:hover { border-color: rgba(var(--violet-rgb), .6); background: var(--glass-2); }
.ghost-btn kbd { font-family: var(--mono); font-size: 11px; padding: 2px 6px; border-radius: 6px; background: rgba(var(--violet-rgb), .16); color: var(--violet-l); }
.gb-ico { display: none; width: 18px; height: 18px; flex: none; }
.theme-btn { width: 38px; padding: 0; justify-content: center; }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .i-moon, html.light .theme-btn .i-sun { display: none; }
html.light .theme-btn .i-moon { display: block; }
.signup-pill, .primary-btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 18px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #D6BCFA, #B794F4); color: #14082a; font-size: 13.5px; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 6px 24px rgba(183, 148, 244, .35); transition: transform .2s var(--ease), box-shadow .2s; }
.signup-pill:hover, .primary-btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 10px 30px rgba(183, 148, 244, .5); }

/* Live feed */
.livefeed { position: fixed; top: 70px; left: 20px; right: 20px; z-index: 15; display: flex; align-items: center; gap: 12px; height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(9, 5, 16, .62); backdrop-filter: blur(8px); font-family: var(--mono); font-size: 11px; letter-spacing: .04em; opacity: 0; transform: translateY(-8px); transition: opacity .6s var(--ease) .2s, transform .6s var(--ease) .2s; pointer-events: none; }
.stage-inside .livefeed { opacity: 1; transform: none; }
.livefeed-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--violet-l); font-weight: 600; white-space: nowrap; }
.livefeed-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.livefeed-track { position: relative; flex: 1; overflow: hidden; height: 100%; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.livefeed-run { position: absolute; top: 0; left: 0; display: flex; align-items: center; gap: 28px; height: 100%; white-space: nowrap; will-change: transform; }
.feed-item { color: var(--muted); }
.feed-item b { color: var(--text); font-weight: 600; }
.feed-item .up { color: var(--mint); font-weight: 600; }
.feed-item .warn { color: var(--amber); font-weight: 600; }
.feed-item .k { color: var(--faint); margin-right: 6px; }

/* Intro */
.intro { position: fixed; inset: 0; z-index: 10; pointer-events: none; transition: opacity .6s var(--ease), visibility .6s; }
.stage-inside .intro, .stage-entering .intro { opacity: 0; visibility: hidden; }
/* The tagline-to-button block sits centred between the bottom of the logo
   (--logo-bottom, measured from the 3D mark) and the top of the fine print (--foot-h). */
.intro-main { position: absolute; left: 0; right: 0; top: var(--logo-bottom, 52vh); bottom: var(--foot-h, 120px); display: grid; align-content: center; justify-items: center; gap: 12px; text-align: center; padding: 0 20px; }
.intro:not(.measured) .intro-main { visibility: hidden; }
.intro-main::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 140vw); height: 360px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(5,2,11,.82), rgba(5,2,11,.5) 55%, transparent); z-index: -1; pointer-events: none; }
.intro-foot { position: absolute; left: 0; right: 0; bottom: 0; display: grid; justify-items: center; gap: 10px; text-align: center; padding: 18px 20px clamp(22px, 5vh, 52px); background: linear-gradient(transparent, rgba(5,2,11,.75) 40%); }
.intro-main > *, .intro-foot > * { opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.tagline-text .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(8px); animation: wordIn .8s var(--ease) forwards; animation-delay: calc(var(--i) * 80ms); }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }
.intro.show-tag .tagline, .intro.show-tag .verbs { opacity: 1; transform: none; }
.intro.show-cta .enter-btn, .intro.show-cta .intro-price, .intro.show-cta .intro-note { opacity: 1; transform: none; }
.intro.show-cta .verbs { transition-delay: .1s; }
.tagline { position: relative; margin: 0; font-family: var(--display); font-size: clamp(20px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.01em; color: #fff; text-shadow: 0 0 30px rgba(183, 148, 244, .55); }
.tagline-text .s { color: var(--violet-l); opacity: .75; }
.tagline-sweep { position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: linear-gradient(90deg, transparent, var(--violet-l), transparent); transform: scaleX(0); transform-origin: left; }
.intro.show-tag .tagline-sweep { animation: sweep 2.6s var(--ease) .4s forwards; }
@keyframes sweep { 0% { transform: scaleX(0); opacity: 1; } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: .35; } }
.verbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.verbs span { transition: color .4s, text-shadow .4s; }
.verbs span.on { color: var(--violet-l); text-shadow: 0 0 14px rgba(183, 148, 244, .8); }
.enter-btn { position: relative; pointer-events: auto; display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; min-height: 56px; padding: 14px 28px; border: 1px solid rgba(214, 188, 250, .55); border-radius: 999px; background: linear-gradient(180deg, rgba(56, 0, 128, .65), rgba(20, 8, 42, .8)); color: #fff; font-family: var(--display); font-size: 17px; font-weight: 650; letter-spacing: .01em; cursor: pointer; box-shadow: 0 0 40px rgba(120, 87, 223, .45), inset 0 0 18px rgba(214, 188, 250, .18); transition: transform .3s var(--ease), box-shadow .3s; }
.enter-btn svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.enter-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 70px rgba(183, 148, 244, .6), inset 0 0 22px rgba(214, 188, 250, .3); }
.enter-btn:hover svg { transform: translateX(4px); }
.enter-ring { position: absolute; inset: -6px; border-radius: inherit; border: 1px solid rgba(214, 188, 250, .5); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.96); opacity: .9; } 100% { transform: scale(1.25, 1.6); opacity: 0; } }
.intro-price { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); pointer-events: auto; }
.intro-price a { margin-left: 6px; font-weight: 600; }
.intro-note { margin: -6px 0 0; font-size: 12px; color: var(--faint); max-width: 520px; }
.intro-hint { margin: 2px 0 0; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); opacity: 0; transition: opacity 1s .8s; }
.intro.show-cta .intro-hint { opacity: 1; transform: none; }

/* Arrival */
.arrival { position: fixed; left: 50%; top: 120px; z-index: 16; width: min(520px, 92vw); padding: 22px 26px; transform: translate(-50%, 10px) scale(.98); border: 1px solid var(--line); border-radius: 22px; background: var(--glass); backdrop-filter: blur(14px); text-align: center; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s; }
.arrival.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.arrival-kicker { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--violet-l); }
.arrival-title { margin: 8px 0 6px; font-family: var(--display); font-size: 26px; font-weight: 650; letter-spacing: -.01em; }
.arrival-sub { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.arrival-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* Hover tip */
.hover-tip { position: fixed; z-index: 14; pointer-events: none; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(9, 5, 16, .85); font-size: 12.5px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translate(-50%, -140%); transition: opacity .15s; }
.hover-tip small { display: block; font-weight: 450; color: var(--faint); font-size: 11.5px; }
.hover-tip.show { opacity: 1; }

/* Panel */
.panel { position: fixed; top: 112px; right: 16px; bottom: 96px; z-index: 18; width: var(--panel-w); display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgba(24, 12, 46, .86), rgba(12, 6, 24, .9)); backdrop-filter: blur(16px); box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .03) inset; transform: translateX(calc(100% + 40px)); transition: transform .55s var(--ease); outline: none; }
.panel.open { transform: none; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 0 20px; }
.panel-count { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--faint); }
.panel-nav { display: flex; gap: 4px; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer; }
.icon-btn:hover { border-color: var(--line); color: #fff; background: rgba(var(--violet-rgb), .08); }
.icon-btn svg { width: 18px; height: 18px; }
.panel-body { flex: 1; overflow-y: auto; padding: 6px 20px 20px; scrollbar-width: thin; scrollbar-color: rgba(var(--violet-rgb), .3) transparent; }
.p-eyebrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-l); }
.p-tag { padding: 2px 8px; border: 1px solid rgba(110, 231, 183, .45); border-radius: 999px; color: var(--mint); font-size: 10px; letter-spacing: .08em; }
.panel h2 { text-wrap: balance; margin: 0 0 8px; font-family: var(--display); font-size: 26px; line-height: 1.12; font-weight: 650; letter-spacing: -.015em; }
.p-lede { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.p-section { margin: 18px 0 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.p-note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--faint); }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(var(--violet-rgb), .14); }
.p-foot a { font-size: 13.5px; font-weight: 600; text-decoration: none; }
.p-foot a:hover { text-decoration: underline; }
.works { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(var(--violet-rgb), .06); color: var(--text); font-size: 12.5px; font-weight: 550; cursor: pointer; transition: background .2s, border-color .2s; }
.chip:hover { border-color: rgba(var(--violet-rgb), .6); background: rgba(var(--violet-rgb), .14); }
.chip[aria-pressed="true"] { border-color: var(--violet-l); background: rgba(var(--violet-rgb), .22); color: #fff; }

/* Demo widgets */
.demo { border: 1px solid rgba(var(--violet-rgb), .2); border-radius: 16px; background: rgba(5, 2, 11, .5); padding: 14px; }
.demo + .demo { margin-top: 10px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.sb { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpis.two { grid-template-columns: repeat(2, 1fr); }
.kpi { padding: 10px; border: 1px solid rgba(var(--violet-rgb), .16); border-radius: 12px; background: rgba(var(--violet-rgb), .05); }
.kpi span { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.kpi b { display: block; margin-top: 4px; font-family: var(--display); font-size: 19px; font-weight: 650; font-variant-numeric: tabular-nums; }
.c-mint { color: var(--mint); } .c-red { color: var(--red); } .c-amber { color: var(--amber); } .c-violet { color: var(--violet-l); } .c-faint { color: var(--faint); }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.li { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid rgba(var(--violet-rgb), .14); border-radius: 12px; background: rgba(var(--violet-rgb), .04); font-size: 13px; }
.li .t { flex: 1; min-width: 0; }
.li .t b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .t small { display: block; color: var(--faint); font-size: 11.5px; margin-top: 1px; }
.li .v { flex: none; max-width: 42%; font-family: var(--mono); font-size: 11.5px; text-align: right; }
.list > li { min-width: 0; }
button.li { min-width: 0; }
button.li { width: 100%; text-align: left; color: inherit; cursor: pointer; transition: border-color .2s, background .2s; }
button.li:hover { border-color: rgba(var(--violet-rgb), .45); }
button.li[aria-pressed="true"] { border-color: var(--violet-l); background: rgba(var(--violet-rgb), .16); }
.li.done { opacity: .45; }
.li.done .t b { text-decoration: line-through; }
.check { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid rgba(var(--violet-rgb), .6); display: grid; place-items: center; flex: none; }
.li.done .check { background: var(--mint); border-color: var(--mint); }
.li.done .check::after { content: ""; width: 8px; height: 4px; border-left: 2px solid #072; border-bottom: 2px solid #072; transform: rotate(-45deg) translate(1px, -1px); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 7px 14px; border: 1px solid rgba(var(--violet-rgb), .45); border-radius: 10px; background: rgba(var(--violet-rgb), .12); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s, opacity .2s; }
.btn:hover { background: rgba(var(--violet-rgb), .24); border-color: var(--violet-l); }
.btn.solid { background: var(--violet); color: #14082a; border-color: var(--violet); }
.btn.solid:hover { background: var(--violet-l); }
.btn.mint { border-color: rgba(110, 231, 183, .5); background: rgba(110, 231, 183, .12); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.seg { display: inline-flex; padding: 3px; border: 1px solid rgba(var(--violet-rgb), .25); border-radius: 10px; background: rgba(5, 2, 11, .5); }
.seg button { min-height: 30px; padding: 4px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.seg button[aria-pressed="true"] { background: rgba(var(--violet-rgb), .3); color: #fff; }
.slider { display: grid; grid-template-columns: 92px 1fr 34px; align-items: center; gap: 10px; font-size: 12.5px; margin: 6px 0; }
.slider label { color: var(--muted); }
.slider output { font-family: var(--mono); text-align: right; color: var(--violet-l); }
input[type="range"] { width: 100%; accent-color: var(--violet); height: 24px; background: transparent; }
.field { display: grid; gap: 4px; font-size: 12.5px; }
.field span { color: var(--faint); font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.input { min-height: 38px; padding: 8px 12px; border: 1px solid rgba(var(--violet-rgb), .35); border-radius: 10px; background: rgba(5, 2, 11, .65); color: #fff; font: inherit; font-size: 14px; }
.input:focus { border-color: var(--violet-l); outline: none; box-shadow: 0 0 0 3px rgba(var(--violet-rgb), .25); }
.bar { height: 6px; border-radius: 6px; background: rgba(var(--violet-rgb), .14); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet-d), var(--violet-l)); transition: width .5s var(--ease); }
.bar.mint i { background: linear-gradient(90deg, #34d399, var(--mint)); }
.bar.red i { background: linear-gradient(90deg, #ef4444, var(--red)); }
.mono { font-family: var(--mono); }
.small { font-size: 12px; }
.muted { color: var(--muted); }
.gap8 { display: grid; gap: 8px; }
.verdict { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.verdict.good { background: rgba(110, 231, 183, .14); color: var(--mint); border: 1px solid rgba(110, 231, 183, .4); }
.verdict.ok { background: rgba(252, 211, 77, .12); color: var(--amber); border: 1px solid rgba(252, 211, 77, .4); }
.verdict.bad { background: rgba(248, 113, 113, .12); color: var(--red); border: 1px solid rgba(248, 113, 113, .4); }
.score-ring { position: relative; width: 104px; height: 104px; flex: none; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 34px; font-weight: 700; }
.score-ring small { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: var(--faint); }
.log { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .35); font-family: var(--mono); font-size: 11.5px; line-height: 1.6; color: var(--muted); max-height: 150px; overflow: auto; }
.log div { animation: logIn .4s var(--ease); }
.log .ok { color: var(--mint); } .log .hold { color: var(--amber); } .log .off { color: var(--faint); }
@keyframes logIn { from { opacity: 0; transform: translateY(4px); } }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; font-weight: 600; background: none; border: 0; padding: 4px 0; min-height: 36px; }
.switch i { position: relative; width: 40px; height: 22px; border-radius: 22px; background: rgba(255, 255, 255, .14); transition: background .25s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.switch[aria-checked="true"] i { background: var(--mint); }
.switch[aria-checked="true"] i::after { transform: translateX(18px); }
.graph { width: 100%; height: auto; display: block; }
.graph .node rect { fill: rgba(var(--violet-rgb), .08); stroke: rgba(var(--violet-rgb), .5); }
.graph .node.lit rect { fill: rgba(var(--violet-rgb), .3); stroke: var(--violet-l); }
.graph text { fill: #fff; font-family: var(--sans); font-size: 10px; }
.graph text.k { fill: var(--violet-l); font-family: var(--mono); font-size: 8.5px; letter-spacing: .12em; }
.graph path.edge { stroke: rgba(var(--violet-rgb), .45); stroke-width: 1.5; fill: none; }
.graph circle.pulse { fill: var(--violet-l); filter: drop-shadow(0 0 4px #D6BCFA); }
.table { width: 100%; border-collapse: collapse; font-size: 12px; }
.table th { text-align: left; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--faint); font-weight: 500; padding: 6px 4px; border-bottom: 1px solid rgba(var(--violet-rgb), .16); }
.table td { padding: 7px 4px; border-bottom: 1px solid rgba(var(--violet-rgb), .08); font-variant-numeric: tabular-nums; }
.table td:nth-child(2) { max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.table tr.sel td { background: rgba(var(--violet-rgb), .1); }
.table tbody tr { cursor: pointer; }
.table tr.cur td { background: rgba(110, 231, 183, .1); }
.table tr.cur td:nth-child(2) { color: var(--mint); }
.itemcard { margin-top: 10px; padding: 10px; border: 1px solid rgba(110, 231, 183, .3); border-radius: 12px; background: rgba(110, 231, 183, .04); }
.table input[type="checkbox"] { accent-color: var(--violet); width: 16px; height: 16px; }
.pill { display: inline-block; padding: 1px 7px; border-radius: 6px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; }
.pill.dead { background: rgba(248, 113, 113, .15); color: var(--red); }
.pill.live { background: rgba(110, 231, 183, .12); color: var(--mint); }
.bulkbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; padding: 8px; border-radius: 12px; background: rgba(var(--violet-rgb), .12); font-size: 12.5px; }
.bulkbar[hidden] { display: none; }
.photo { position: relative; display: grid; place-items: center; height: 150px; border: 1.5px dashed rgba(var(--violet-rgb), .4); border-radius: 14px; background: rgba(var(--violet-rgb), .04); overflow: hidden; }
.photo svg.item { width: 120px; height: 120px; }
.photo .beam { position: absolute; left: 0; right: 0; height: 40px; top: -40px; background: linear-gradient(180deg, transparent, rgba(214, 188, 250, .45), transparent); }
.photo.scanning .beam { animation: beam 1.1s ease-in-out 2; }
@keyframes beam { to { top: 100%; } }
.fillrow { display: grid; grid-template-columns: 96px 1fr; gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid rgba(var(--violet-rgb), .08); font-size: 12.5px; }
.fillrow span { color: var(--faint); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.fillrow b { font-weight: 550; min-height: 1.2em; }
.fillrow b.need { color: var(--amber); }
.caret::after { content: "▍"; color: var(--violet-l); animation: blink .8s infinite; }
.steps { display: flex; gap: 6px; margin-bottom: 10px; }
.steps span { flex: 1; padding: 6px 4px; border-radius: 8px; background: rgba(var(--violet-rgb), .06); font-family: var(--mono); font-size: 9.5px; text-align: center; color: var(--faint); letter-spacing: .06em; transition: all .3s; }
.steps span.on { background: rgba(var(--violet-rgb), .26); color: #fff; }
.steps span.ok { background: rgba(110, 231, 183, .14); color: var(--mint); }
.phone { width: 180px; margin: 0 auto; padding: 10px; border: 2px solid rgba(var(--violet-rgb), .45); border-radius: 26px; background: #07030f; box-shadow: 0 0 30px rgba(120, 87, 223, .3); }
.phone .screen { border-radius: 18px; overflow: hidden; background: rgba(var(--violet-rgb), .06); padding: 10px; min-height: 200px; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.board .col { padding: 8px; border-radius: 12px; background: rgba(var(--violet-rgb), .05); border: 1px solid rgba(var(--violet-rgb), .12); min-height: 120px; }
.board .col h4 { margin: 0 0 6px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; color: var(--faint); font-weight: 500; }
.task { display: block; width: 100%; margin-bottom: 6px; padding: 7px 8px; border: 1px solid rgba(var(--violet-rgb), .2); border-radius: 9px; background: rgba(9, 5, 16, .6); color: var(--text); font-size: 11.5px; text-align: left; line-height: 1.35; cursor: pointer; }
.task:hover { border-color: var(--violet-l); }
.task small { display: block; margin-top: 3px; color: var(--faint); font-size: 10.5px; }
.avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 11px; font-weight: 700; color: #14082a; flex: none; }
.chat { display: grid; gap: 8px; }
.bubble { max-width: 92%; padding: 10px 12px; border-radius: 14px; font-size: 13px; line-height: 1.5; }
.bubble.q { justify-self: end; background: rgba(var(--violet-rgb), .22); border-bottom-right-radius: 4px; }
.bubble.a { justify-self: start; background: rgba(255, 255, 255, .05); border: 1px solid rgba(var(--violet-rgb), .16); border-bottom-left-radius: 4px; }
.wf { width: 100%; height: auto; display: block; }
.seg.wrap { flex-wrap: wrap; }
.seg.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; width: 100%; }
.seg.grid3 button { width: 100%; text-align: center; }
.funnel { display: grid; gap: 6px; }
.funnel div { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.funnel i { display: block; height: 14px; border-radius: 5px; }
.funnel b { font-family: var(--mono); font-size: 12px; color: #fff; }
.perf { display: grid; gap: 6px; }
.perf .row { gap: 8px; padding: 6px 8px; border-radius: 10px; background: rgba(255, 255, 255, .035); }
.agebars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; align-items: end; height: 120px; }
.agebars div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.agebars i { display: block; width: 100%; border-radius: 5px; }
.agebars b { font-family: var(--mono); font-size: 12px; }
.agebars span { font-size: 10.5px; color: var(--faint); white-space: nowrap; }
.wf text { font-family: var(--mono); font-size: 9px; fill: var(--faint); }
.wf text.v { fill: #fff; font-size: 9.5px; }
.clip { position: relative; display: block; width: 100%; padding: 0; border: 1px solid rgba(var(--violet-rgb), .25); border-radius: 14px; overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 16 / 9; }
.clip.tall { aspect-ratio: 9 / 16; max-width: 220px; margin: 0 auto; }
.clip img, .clip video { display: block; width: 100%; height: 100%; object-fit: cover; }
.clip .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 40%, rgba(5, 2, 11, .7)); }
.clip .play span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(9, 5, 16, .8); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.clip .play svg { width: 14px; height: 14px; }
.clip.playing .play { display: none; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plan { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid rgba(var(--violet-rgb), .22); border-radius: 16px; background: rgba(var(--violet-rgb), .05); }
.plan h3 { margin: 0; font-family: var(--display); font-size: 18px; }
.plan .price { font-family: var(--display); font-size: 30px; font-weight: 700; }
.plan .price small { font-size: 13px; color: var(--faint); font-weight: 500; }
.plan ul { margin: 0; padding-left: 16px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.panel .plans { grid-template-columns: 1fr; }

/* Dock */
.dock { position: fixed; left: 50%; bottom: 18px; z-index: 17; display: flex; align-items: center; gap: 6px; max-width: calc(100vw - 24px); padding: 6px; border: 1px solid var(--line); border-radius: 18px; background: rgba(12, 6, 24, .78); backdrop-filter: blur(14px); transform: translate(-50%, 140%); transition: transform .6s var(--ease) .3s; }
.stage-inside .dock { transform: translate(-50%, 0); }
.dock-items { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.dock-items::-webkit-scrollbar { display: none; }
.dock-btn { position: relative; display: grid; justify-items: center; gap: 3px; min-width: 64px; min-height: 52px; padding: 6px 6px 5px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer; font-size: 10.5px; font-weight: 600; white-space: nowrap; transition: color .2s, background .2s, border-color .2s; }
.dock-btn svg { width: 20px; height: 20px; }
.dock-btn:hover { color: #fff; background: rgba(var(--violet-rgb), .1); }
.dock-btn[aria-current="true"] { color: #fff; border-color: rgba(var(--violet-rgb), .5); background: rgba(var(--violet-rgb), .2); }
.dock-btn.gate { color: var(--violet-l); }
.dock-extra { display: none; }
@media (max-width: 960px) and (min-width: 761px) { .dock-extra { display: grid; } }
.dock-tour { display: grid; justify-items: center; gap: 3px; min-width: 60px; min-height: 52px; padding: 6px; border: 1px solid rgba(var(--violet-rgb), .4); border-radius: 12px; background: rgba(var(--violet-rgb), .14); color: #fff; font-size: 10.5px; font-weight: 700; cursor: pointer; }
.dock-tour svg { width: 18px; height: 18px; }
.dock-tour .i-pause { display: none; }
.dock-tour[aria-pressed="true"] .i-pause { display: block; }
.dock-tour[aria-pressed="true"] .i-play { display: none; }

/* Stats */
.stats { position: fixed; left: 20px; bottom: 22px; z-index: 16; display: flex; gap: 18px; font-family: var(--mono); opacity: 0; transition: opacity .6s .4s; pointer-events: none; }
.stage-inside .stats { opacity: 1; }
.stats span { display: block; font-size: 9px; letter-spacing: .12em; color: var(--faint); }
.stats b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stats [data-stat="profit"] { color: var(--mint); }
.fineprint-link { position: fixed; right: 18px; bottom: 26px; z-index: 16; padding: 6px 4px; border: 0; background: none; color: var(--faint); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fineprint-link:hover { color: #fff; }

/* Preview-only view switch, in the header */
.viewswitch { display: flex; align-items: center; gap: 2px; padding: 3px 3px 3px 10px; border: 1px dashed rgba(252, 211, 77, .5); border-radius: 999px; background: rgba(9, 5, 16, .7); backdrop-filter: blur(8px); }
.viewswitch span { margin-right: 4px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.viewswitch button { min-height: 30px; padding: 4px 11px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; cursor: pointer; }
.viewswitch button:hover { color: #fff; }
.viewswitch button[aria-pressed="true"] { background: rgba(var(--violet-rgb), .3); color: #fff; }
@media (max-width: 760px) { .viewswitch span { display: none; } .viewswitch { position: fixed; top: 96px; left: 10px; padding-left: 3px; } .viewswitch button { min-height: 28px; padding: 3px 9px; font-size: 11px; } }
.credits-wrap summary { cursor: pointer; color: var(--violet-l); }
.credits { margin: 8px 0 0; padding-left: 18px; font-size: 12px; line-height: 1.6; }

/* Product photos in the demos */
.pic, .thumb { display: block; object-fit: contain; background: #f3f0f8; border-radius: 10px; flex: none; }
.thumb { width: 40px; height: 40px; border-radius: 8px; }
.thumb.sm { width: 26px; height: 26px; border-radius: 6px; }
.pic.md { width: 76px; height: 76px; }
.pic.xs { width: 22px; height: 22px; border-radius: 6px; }
.pic.fill { width: 100%; height: 100%; border-radius: 12px; }
.find { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; }
.find .score-ring { width: 90px; height: 90px; }
.find .score-ring b { font-size: 28px; }
.chip.pick { padding-left: 5px; }
.photo.real { border-style: solid; background: #f3f0f8; padding: 6px; }
.photo.real { height: 178px; }
.photo.real .pic.fill { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; }
.cell { display: inline-flex; align-items: center; gap: 8px; }
.btn.sm { min-height: 32px; padding: 5px 10px; font-size: 12px; white-space: nowrap; }
.btn.c-amber { color: var(--amber); } .btn.c-red { color: var(--red); } .btn.c-violet { color: var(--violet-l); }

/* Strategy graph: real boxes, live wires */
.sg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-areas: "t c ." ". a n"; gap: 26px 14px; margin-top: 12px; padding: 12px 6px; }
.sg-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sg-node { position: relative; z-index: 1; display: grid; gap: 4px; padding: 10px 11px; border: 1.5px solid var(--c); border-radius: 12px; background: rgba(18, 9, 36, .95); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 35%, transparent); transition: background .3s, box-shadow .3s, transform .3s; }
.sg-node span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.sg-node b { font-size: 12.5px; line-height: 1.3; font-weight: 600; }
.sg-node.lit { background: color-mix(in srgb, var(--c) 28%, #120924); box-shadow: 0 0 34px var(--c); transform: scale(1.04); }
.sg .w-base { fill: none; stroke: rgba(183, 148, 244, .35); stroke-width: 2; }
.sg .w-glow { fill: none; stroke: url(#sgw); stroke-width: 4; filter: drop-shadow(0 0 6px #D6BCFA); opacity: .9; }
.sg .w-flow { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 8 12; animation: flow .6s linear infinite; }
.sg .w-dot { fill: #fff; filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 12px #B794F4); }
@keyframes flow { to { stroke-dashoffset: -20; } }
.sg.off .w-glow { opacity: .25; filter: none; }
.sg.off .w-flow { opacity: .25; animation-duration: 2.4s; }
.sg.off .w-dot { opacity: .35; }
.sg.off .sg-node { box-shadow: none; }

/* Modals */
/* Modals */
.modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; background: rgba(5, 2, 11, .6); backdrop-filter: blur(6px); }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: min(760px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, #170b2c, #0c0618); box-shadow: 0 30px 90px rgba(0, 0, 0, .6); animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal-close { position: absolute; top: 12px; right: 12px; }
.fine-card { width: min(560px, 100%); font-size: 14px; line-height: 1.6; color: var(--muted); }
.fine-card h2 { margin: 0 0 12px; color: #fff; font-family: var(--display); }
.limit-note { padding: 12px 14px; border: 1px solid rgba(var(--violet-rgb), .3); border-radius: 12px; background: rgba(var(--violet-rgb), .07); }
.fine-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.palette-card { width: min(520px, 100%); padding: 10px; align-self: start; margin-top: 12vh; }
.palette-search { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid rgba(var(--violet-rgb), .16); }
.palette-search svg { width: 18px; height: 18px; color: var(--faint); }
.palette-search input { flex: 1; min-height: 40px; border: 0; background: transparent; color: #fff; font: inherit; font-size: 16px; outline: none; }
.palette-list { list-style: none; margin: 6px 0 0; padding: 0; max-height: 50vh; overflow: auto; }
.palette-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: 14px; }
.palette-list li small { margin-left: auto; color: var(--faint); font-size: 12px; }
.palette-list li[aria-selected="true"], .palette-list li:hover { background: rgba(var(--violet-rgb), .16); }
.palette-list svg { width: 18px; height: 18px; color: var(--violet-l); }

.toast { position: fixed; left: 50%; bottom: 100px; z-index: 45; padding: 10px 16px; border: 1px solid rgba(110, 231, 183, .4); border-radius: 12px; background: rgba(9, 5, 16, .92); color: #fff; font-size: 13px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); max-width: 90vw; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Flat fallback */
.flat { position: relative; z-index: 5; height: 100vh; overflow: auto; padding: 40px 20px 80px; }
body.no-webgl { overflow: auto; }
body.no-webgl .intro, body.no-webgl .dock, body.no-webgl .stats, body.no-webgl .livefeed, body.no-webgl .store-chip, body.no-webgl .brand, body.no-webgl .vignette { display: none; }
.flat-hero { max-width: 640px; margin: 40px auto 30px; text-align: center; }
.flat-hero h1 { font-family: var(--display); font-size: 34px; }
.flat-logo svg { height: 56px; }
.flat-list { display: grid; gap: 18px; max-width: 640px; margin: 0 auto; }
.flat-list section { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--glass); }

/* Music */
.music { flex: none; display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(9, 5, 16, .72); backdrop-filter: blur(10px); opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.music.show { opacity: 1; transform: none; }
.mu-btn { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(var(--violet-rgb), .18); color: var(--violet-l); cursor: pointer; }
.mu-btn:hover { background: rgba(var(--violet-rgb), .32); color: #fff; }
.mu-btn svg { width: 17px; height: 17px; }
.mu-off, .music.muted .mu-on { display: none; }
.music.muted .mu-off { display: block; }
.mu-eq { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.mu-eq i { width: 3px; height: 4px; border-radius: 1px; background: var(--mint); }
.music.playing:not(.muted) .mu-eq i { animation: mu-eq .9s ease-in-out infinite alternate; }
.music.playing:not(.muted) .mu-eq i:nth-child(2) { animation-delay: -.3s; }
.music.playing:not(.muted) .mu-eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes mu-eq { from { height: 3px; } to { height: 12px; } }
.mu-title { flex: none; max-width: 150px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.music .mu-vol { --v: 30%; flex: none; width: 80px; height: 14px; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; }
.mu-vol::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--violet-l) var(--v), rgba(255, 255, 255, .18) var(--v)); }
.mu-vol::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--violet-l) var(--v), rgba(255, 255, 255, .18) var(--v)); }
.mu-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(var(--violet-rgb), .4); }
.mu-vol::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
.mu-add { padding: 5px 10px; border-radius: 999px; background: rgba(252, 211, 77, .14); color: var(--amber); font-size: 11.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.music.nofiles .mu-eq, .music.nofiles [data-mu="next"], .music.nofiles .mu-title, .music.nofiles .mu-vol { display: none; }
.music[hidden] { display: none; }
@media (max-width: 1320px) { .stats { display: none; } }
.corner > *, .corner-actions > * { flex: none; white-space: nowrap; }
.store-chip { min-width: 0; flex: 0 1 auto; overflow: hidden; }
@media (max-width: 1500px) { .mu-eq, .mu-title { display: none; } }
@media (max-width: 1320px) { .ghost-btn[data-action="palette"] span { display: none; } .viewswitch span { display: none; } }
@media (max-width: 1160px) { .store-chip b { display: none; } .store-chip em { margin: 0; } .music .mu-vol { display: none; } }
@media (max-width: 960px) { .stage-inside .ghost-btn[data-action="plans"] { display: none; } .ghost-btn[data-action="palette"] { display: none; } .brand svg { height: 26px; } .corner { gap: 8px; padding: 12px 14px; } }
/* Small screens */
@media (max-width: 760px) {
  .corner { padding: 10px 12px; gap: 8px; }
  /* Phones (WEBSITE-TYASI-3D-003): no demo-store chip; Search and Plans sit in the header
     instead of the dock. The 3D page itself carries the sample-data label. */
  .store-chip, .stage-inside .store-chip { display: none; }
  .corner-actions { gap: 6px; }
  .ghost-btn[data-action="palette"], .stage-inside .ghost-btn[data-action="plans"], .ghost-btn[data-action="plans"] { display: inline-flex; }
  .ghost-btn[data-action="palette"] { width: 36px; padding: 0; justify-content: center; }
  .ghost-btn[data-action="palette"] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ghost-btn[data-action="palette"] kbd { display: none; }
  .ghost-btn[data-action="palette"] .gb-ico { display: block; }
  .dock-extra { display: none; }
  .stage-inside .fineprint-link { top: auto; bottom: 92px; right: 12px; left: auto; }
  .music { position: fixed; left: 10px; bottom: 84px; z-index: 17; padding-right: 6px; }
  .mu-vol, .mu-title { display: none; }
  .music.nofiles .mu-title { display: none; }
  body.panel-open .music, body.panel-open .viewswitch { opacity: 0; pointer-events: none; }
  .panel.open ~ .fineprint-link { display: none; }
  .brand svg { height: 24px; }
  .ghost-btn, .signup-pill { min-height: 36px; padding: 7px 12px; font-size: 13px; }
  .theme-btn { width: 36px; padding: 0; }
  .livefeed { top: 56px; left: 10px; right: 10px; }
  body:not(.stage-inside) .store-chip { display: none; }
  .panel.open ~ .livefeed, body.panel-open .livefeed { opacity: 0; }
  .panel { top: auto; left: 8px; right: 8px; bottom: 82px; width: auto; height: 40vh; border-radius: 20px; transform: translateY(calc(100% + 100px)); }
  .panel.open { transform: none; }
  .stats { display: none; }
  .fineprint-link { bottom: auto; top: 92px; right: 12px; font-size: 11px; }
  .dock { bottom: 10px; }
  .dock-btn { min-width: 58px; }
  .plans { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ==== Light mode: generated by scripts/tyasi-3d-light.mjs, do not edit ==== */
html.light { color-scheme: light; --violet-rgb: 120, 87, 223; }
html.light { --bg: rgb(248,246,254); --deep: rgb(249,247,255); --violet: rgb(120,87,223); --violet-l: rgb(107,70,193); --violet-d: rgb(120,87,223); --mint: rgb(5,150,105); --red: rgb(220,38,38); --amber: rgb(180,83,9); --text: rgba(29,20,48,0.92); --muted: rgba(29,20,48,0.72); --faint: rgba(29,20,48,0.58); --glass: rgba(255,255,255,0.883); --glass-2: rgba(255,255,255,0.874); }
html.light .vignette { background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(76,52,140,0.165) 100%); }
html.light .flash { background: radial-gradient(circle at 50% 50%, rgb(29,20,48) 0%, rgb(107,70,193) 30%, rgba(120,87,223,0) 75%); }
html.light .loader-mark { filter: drop-shadow(0 0 18px rgba(120,87,223,0.632)); }
html.light .signup-pill, html.light .primary-btn { background: linear-gradient(180deg, rgb(107,70,193), rgb(120,87,223)); color: rgb(255,255,255); box-shadow: 0 0 0 1px rgba(76,52,140,0.138) inset, 0 6px 24px rgba(120,87,223,0.402); }
html.light .signup-pill:hover, html.light .primary-btn:hover { box-shadow: 0 0 0 1px rgba(76,52,140,0.193) inset, 0 10px 30px rgba(120,87,223,0.575); }
html.light .livefeed { background: rgba(255,255,255,0.829); }
html.light .intro-main::before { background: radial-gradient(closest-side, rgba(76,52,140,0.18), rgba(76,52,140,0.11) 55%, transparent); }
html.light .intro-foot { background: linear-gradient(transparent, rgba(76,52,140,0.165) 40%); }
html.light .tagline { color: rgb(29,20,48); text-shadow: 0 0 30px rgba(120,87,223,0.632); }
html.light .verbs span.on { text-shadow: 0 0 14px rgba(120,87,223,0.92); }
html.light .enter-btn { border: 1px solid rgba(107,70,193,0.632); background: linear-gradient(180deg, rgba(255,255,255,0.843), rgba(255,255,255,0.8)); color: rgb(29,20,48); box-shadow: 0 0 40px rgba(120,87,223,0.203), inset 0 0 18px rgba(107,70,193,0.207); }
html.light .enter-btn:hover { box-shadow: 0 0 70px rgba(120,87,223,0.69), inset 0 0 22px rgba(107,70,193,0.345); }
html.light .enter-ring { border: 1px solid rgba(107,70,193,0.575); }
html.light .hover-tip { background: rgba(255,255,255,0.933); }
html.light .panel { background: linear-gradient(180deg, rgba(255,255,255,0.937), rgba(255,255,255,0.955)); box-shadow: 0 30px 80px rgba(76,52,140,0.11), 0 0 0 1px rgba(255,255,255,0.75) inset; }
html.light .icon-btn:hover { color: rgb(29,20,48); }
html.light .p-tag { border: 1px solid rgba(5,150,105,0.517); }
html.light .chip[aria-pressed="true"] { color: rgb(29,20,48); }
html.light .demo { background: rgba(76,52,140,0.11); }
html.light .btn { color: rgb(29,20,48); }
html.light .btn.solid { color: rgb(255,255,255); }
html.light .btn.mint { border-color: rgba(5,150,105,0.575); background: rgba(5,150,105,0.138); }
html.light .seg { background: rgba(76,52,140,0.11); }
html.light .seg button[aria-pressed="true"] { color: rgb(29,20,48); }
html.light .input { background: rgba(76,52,140,0.143); color: rgb(29,20,48); }
html.light .verdict.good { background: rgba(5,150,105,0.161); border: 1px solid rgba(5,150,105,0.46); }
html.light .verdict.ok { background: rgba(180,83,9,0.138); border: 1px solid rgba(180,83,9,0.46); }
html.light .verdict.bad { background: rgba(220,38,38,0.138); border: 1px solid rgba(220,38,38,0.46); }
html.light .log { background: rgba(76,52,140,0.077); }
html.light .switch i { background: rgba(76,52,140,0.077); }
html.light .switch i::after { background: rgb(29,20,48); }
html.light .graph text { fill: rgb(29,20,48); }
html.light .graph circle.pulse { filter: drop-shadow(0 0 4px rgb(107,70,193)); }
html.light .table tr.cur td { background: rgba(5,150,105,0.115); }
html.light .itemcard { border: 1px solid rgba(5,150,105,0.345); background: rgba(5,150,105,0.046); }
html.light .pill.dead { background: rgba(220,38,38,0.172); }
html.light .pill.live { background: rgba(5,150,105,0.138); }
html.light .photo .beam { background: linear-gradient(180deg, transparent, rgba(107,70,193,0.517), transparent); }
html.light .steps span.on { color: rgb(29,20,48); }
html.light .steps span.ok { background: rgba(5,150,105,0.161); }
html.light .phone { background: rgb(249,247,255); box-shadow: 0 0 30px rgba(120,87,223,0.135); }
html.light .task { background: rgba(255,255,255,0.82); }
html.light .avatar { color: rgb(255,255,255); }
html.light .bubble.a { background: rgba(255,255,255,0.85); }
html.light .funnel b { color: rgb(29,20,48); }
html.light .perf .row { background: rgba(255,255,255,0.775); }
html.light .wf text.v { fill: rgb(29,20,48); }
html.light .clip { background: rgb(250,248,255); }
html.light .clip .play { background: linear-gradient(180deg, transparent 40%, rgba(76,52,140,0.154)); }
html.light .clip .play span { background: rgba(255,255,255,0.91); }
html.light .dock { background: rgba(255,255,255,0.901); }
html.light .dock-btn:hover { color: rgb(29,20,48); }
html.light .dock-btn[aria-current="true"] { color: rgb(29,20,48); }
html.light .dock-tour { color: rgb(29,20,48); }
html.light .fineprint-link:hover { color: rgb(29,20,48); }
html.light .viewswitch { border: 1px dashed rgba(180,83,9,0.575); background: rgba(255,255,255,0.865); }
html.light .viewswitch button:hover { color: rgb(29,20,48); }
html.light .viewswitch button[aria-pressed="true"] { color: rgb(29,20,48); }
html.light .sg-node { background: rgba(255,255,255,0.96); }
html.light .sg-node.lit { background: color-mix(in srgb, var(--c) 28%, rgb(247,244,254)); }
html.light .sg .w-base { stroke: rgba(120,87,223,0.402); }
html.light .sg .w-glow { filter: drop-shadow(0 0 6px rgb(107,70,193)); }
html.light .sg .w-flow { stroke: rgb(29,20,48); }
html.light .sg .w-dot { fill: rgb(29,20,48); filter: drop-shadow(0 0 6px rgb(29,20,48)) drop-shadow(0 0 12px rgb(120,87,223)); }
html.light .modal { background: rgba(76,52,140,0.132); }
html.light .modal-card { background: linear-gradient(180deg, rgb(246,243,254), rgb(248,245,254)); box-shadow: 0 30px 90px rgba(76,52,140,0.132); }
html.light .fine-card h2 { color: rgb(29,20,48); }
html.light .palette-search input { color: rgb(29,20,48); }
html.light .toast { border: 1px solid rgba(5,150,105,0.46); background: rgba(255,255,255,0.96); color: rgb(29,20,48); }
html.light .music { background: rgba(255,255,255,0.874); }
html.light .mu-btn:hover { color: rgb(29,20,48); }
html.light .mu-vol::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--violet-l) var(--v), rgba(76,52,140,0.099) var(--v)); }
html.light .mu-vol::-moz-range-track { background: linear-gradient(90deg, var(--violet-l) var(--v), rgba(76,52,140,0.099) var(--v)); }
html.light .mu-vol::-webkit-slider-thumb { background: rgb(29,20,48); }
html.light .mu-vol::-moz-range-thumb { background: rgb(29,20,48); }
html.light .mu-add { background: rgba(180,83,9,0.161); }
/* ==== End of generated light mode ==== */
/* Light mode, by hand (kept when the block above is regenerated). */
html.light .flash { background: radial-gradient(circle at 50% 50%, #fff 0%, #EFE6FD 30%, rgba(120, 87, 223, 0) 75%); }
html.light .vignette { background: radial-gradient(120% 90% at 50% 45%, transparent 60%, rgba(120, 87, 223, .12) 100%); }
html.light .intro-main::before { background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, .55) 55%, transparent); }
html.light .intro-foot { background: linear-gradient(transparent, rgba(255, 255, 255, .8) 40%); }
html.light .tagline { text-shadow: 0 0 24px rgba(255, 255, 255, .9); }
html.light .brand svg path[fill="#fff"] { fill: #1d1430; }
html.light .switch i { background: rgba(76, 52, 140, .2); }
html.light .switch i::after { background: #fff; box-shadow: 0 1px 3px rgba(29, 20, 48, .3); }
html.light .avatar { color: #14082a; }
html.light .mu-vol::-webkit-slider-thumb { background: #fff; box-shadow: 0 0 0 3px rgba(var(--violet-rgb), .45); }
html.light .mu-vol::-moz-range-thumb { background: #fff; }
html.light .sg .w-flow { stroke: var(--violet-l); }
html.light .sg .w-dot { fill: var(--violet); filter: drop-shadow(0 0 4px rgba(120, 87, 223, .6)); }
html.light .panel, html.light .dock, html.light .modal-card { box-shadow: 0 18px 50px rgba(76, 52, 140, .16), 0 0 0 1px rgba(255, 255, 255, .6) inset; }
