/* Home page: dark practice room, warm light, orange call to action. Standalone (other pages use site.css). */
:root {
  --bg: #121014; --bg-2: #18151b; --card: #1d1a21; --card-2: #232027;
  --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .16);
  --ink: #f7f2ec; --ink-2: #b8afa6; --ink-3: #8a8279;
  --orange: #ff9a3d; --orange-2: #ffc285; --violet: #a58bff; --pink: #ff5fa2;
  --display: "Prompt", "Anuphan", system-ui, sans-serif;
  --body: "Anuphan", "Prompt", system-ui, sans-serif;
  --wrap: 1200px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.01em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
section { position: relative; }
.sec-t { font-weight: 600; font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.2; }
.nw { white-space: nowrap; }
html.is-mobile .mock-store { display: none; }

/* phone vs computer: set by home.js on <html> */
html:not(.is-mobile) .only-mob { display: none !important; }
html.is-mobile .only-desk { display: none !important; }

/* ------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 15px 28px;
  font: 600 1.08rem/1.2 var(--display); text-decoration: none; white-space: nowrap; transition: transform .15s, box-shadow .2s, filter .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-cta { color: #2b1504; background: linear-gradient(180deg, #ffc98f, #ff9a3d 70%, #ff8a2a);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 14px 34px -10px rgba(255, 138, 42, .65); }
.btn-cta:hover { transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 18px 40px -10px rgba(255, 138, 42, .8); }
.btn-cta:active { transform: translateY(1px); }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn-sm svg { width: 17px; height: 17px; }
.btn-lg { padding: 18px 36px; font-size: 1.2rem; }
.lnk { background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .25); font-size: .92rem; }
.lnk:hover { color: var(--ink); }

/* ------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(18, 16, 20, .72); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand span { font: 700 1.3rem/1 var(--display); letter-spacing: -.01em; }
.brand b { font-weight: 700; }
.brand i { font-style: normal; background: linear-gradient(95deg, #7aa7ff, #a58bff 60%, #d07bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.links { display: flex; gap: 30px; margin-left: auto; }
.links a { text-decoration: none; color: var(--ink-2); font-size: .98rem; }
.links a:hover { color: var(--ink); }
.lang { display: flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.lang button { border: 0; background: none; padding: 5px 13px; border-radius: 999px; font-size: .88rem; color: var(--ink-2); }
.lang button[aria-pressed="true"] { background: rgba(255, 255, 255, .14); color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------- hero */
.hero { padding: 58px 0 0; isolation: isolate; overflow: hidden; overflow: clip; }
.hero-bg { position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 880px; pointer-events: none; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 22%; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18, 16, 20, .94) 0%, rgba(18, 16, 20, .78) 28%, rgba(18, 16, 20, .2) 52%, rgba(18, 16, 20, 0) 70%),
    linear-gradient(180deg, rgba(18, 16, 20, .35) 0, transparent 14%, transparent 58%, rgba(18, 16, 20, .85) 86%, var(--bg) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 560px; grid-template-areas: "head stage" "act stage" "demo demo"; grid-template-rows: auto 1fr auto; column-gap: 40px; align-items: start; }
.hero-head { grid-area: head; padding-top: 22px; }
.hero-act { grid-area: act; margin-top: 34px; }
.demo { grid-area: demo; }
h1 { font-weight: 700; font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 1.16; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
h1 span, h1 em { display: block; }
h1 em { font-style: normal; color: var(--orange); background: linear-gradient(180deg, #ffc68c, #ff8f2e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html:lang(en) h1 { line-height: 1.06; }
.lead { margin-top: 18px; font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: #e9e1d8; font-weight: 500; }

.picks { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.picks button { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 16px; border: 1px solid var(--line-2);
  background: rgba(30, 27, 33, .72); backdrop-filter: blur(6px); font-weight: 500; font-size: 1.02rem; transition: border-color .2s, background .2s, box-shadow .2s; }
.picks svg { width: 22px; height: 22px; color: var(--ink-2); }
.picks button:hover { border-color: rgba(255, 255, 255, .3); }
.picks button[aria-checked="true"] { border-color: var(--orange); background: rgba(255, 154, 61, .12); box-shadow: 0 0 0 1px var(--orange) inset, 0 8px 26px -10px rgba(255, 154, 61, .6); }
.picks button[aria-checked="true"] svg { color: var(--orange); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.btn-listen { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 500; }
.btn-listen .pc { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--violet); color: var(--ink); box-shadow: 0 0 18px -4px var(--violet); transition: transform .15s; }
.btn-listen .pc svg { width: 18px; height: 18px; margin-left: 2px; }
.btn-listen:hover .pc { transform: scale(1.06); }
.note { margin-top: 14px; color: var(--ink-2); font-size: .95rem; }
.ready { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 20px; }
.pill-chrome { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: .9rem; color: #ddd4ca; }
.pill-chrome svg { width: 18px; height: 18px; color: #8fb6ff; }
.check-out { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; max-width: 460px; padding: 14px 16px; border-radius: 16px; background: rgba(32, 29, 36, .85); border: 1px solid var(--line); }
.check-out .ic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(63, 207, 156, .16); color: #4fd8a6; }
.check-out .ic svg { width: 18px; height: 18px; }
.check-out.warn .ic { background: rgba(255, 181, 71, .16); color: #ffbf5e; }
.check-out.bad .ic { background: rgba(255, 95, 108, .16); color: #ff7a85; }
.check-out b { display: block; font-weight: 600; }
.check-out p { color: var(--ink-2); font-size: .9rem; margin-top: 2px; }

/* stage: a laptop playing the song + the real WichLive panel on top (sizes in % of the stage) */
.hero-stage { grid-area: stage; position: relative; width: 560px; aspect-ratio: 560 / 470; margin: 236px 0 0; justify-self: end; container-type: inline-size; }
.laptop { position: absolute; left: 0; top: 5%; width: 67%; border-radius: 2.6cqw; overflow: hidden; background: #0d0c10; border: .5cqw solid #2a2730;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 50px 90px -30px rgba(0, 0, 0, .95); transform: perspective(1400px) rotateY(9deg); transform-origin: right center; }
.lt-bar { display: flex; align-items: center; gap: 2cqw; height: 6.4cqw; padding: 0 2.4cqw; background: #18161c; color: #a7a1ad; }
.lt-bar svg { width: 3cqw; height: 3cqw; flex: none; }
.lt-url { flex: 1; font-size: 1.9cqw; line-height: 1; color: #8c8692; background: #232028; border-radius: 1.2cqw; padding: 1cqw 2cqw; }
.lt-search { width: 3.4cqw; height: 3.4cqw; border-radius: 50%; border: .45cqw solid #6f6a76; flex: none; }
.lt-video { position: relative; aspect-ratio: 16 / 9; background: #0b0a0d; }
.lt-video img { width: 100%; height: 100%; object-fit: cover; }
.lt-title { position: absolute; left: 6%; top: 36%; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); font-family: var(--display); }
.lt-title b { display: block; font-weight: 600; font-size: 4.6cqw; line-height: 1.2; }
.lt-title span { display: block; font-weight: 500; font-size: 3cqw; line-height: 1.3; opacity: .9; }
.lt-ctrl { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 2.2cqw; padding: 2.6cqw 2.6cqw 1.8cqw; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.lt-ctrl svg { width: 3cqw; height: 3cqw; flex: none; }
.lt-ctrl small { font-size: 1.9cqw; opacity: .9; }
.lt-ctrl .r { margin-left: auto; }
.lt-prog { position: absolute; left: 2.6cqw; right: 2.6cqw; top: .8cqw; height: .6cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .28); }
.lt-prog i { display: block; width: 33%; height: 100%; border-radius: inherit; background: #ff2b2b; }
.lt-foot { display: flex; gap: 2cqw; align-items: center; height: 5cqw; padding: 0 2.6cqw; background: #121015; }
.lt-foot i { width: 9cqw; height: 1.1cqw; border-radius: 1cqw; background: #2b2830; }
.panel-shot { position: absolute; right: 0; top: 0; width: 51%; z-index: 2; }
.panel-shot::before { content: ""; position: absolute; inset: 6% -16% 18% -12%; background: radial-gradient(closest-side, rgba(255, 140, 50, .3), transparent); filter: blur(20px); z-index: -1; }
.panel-shot img { position: absolute; top: 0; left: 0; width: 100%; height: auto; border-radius: 2.8cqw; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s;
  box-shadow: 0 0 0 1px rgba(190, 160, 255, .28), 0 0 30px -6px rgba(140, 110, 255, .45), 0 40px 80px -24px rgba(0, 0, 0, .9); }
.panel-shot img.on { position: relative; opacity: 1; transform: none; }

/* ------------------------------------------------------------- demo */
.demo { margin-top: 34px; display: grid; grid-template-columns: 270px 92px minmax(0, 1fr); grid-template-areas: "h ab ab" "h play wave" "h msg msg"; column-gap: 26px; row-gap: 14px; align-items: center;
  padding: 26px 32px; border-radius: 26px; background: linear-gradient(180deg, rgba(36, 32, 40, .92), rgba(26, 23, 29, .92)); border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9); scroll-margin-top: 90px; }
.demo-h { grid-area: h; }
.demo-h h2 { font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.2; }
.demo-h h2 span { display: block; }
.demo-src { display: flex; gap: 10px; margin-top: 14px; align-items: flex-start; }
.demo-src svg { width: 20px; height: 20px; color: var(--violet); flex: none; margin-top: 3px; }
.demo-src b { display: block; font-weight: 500; }
.demo-src small { display: block; color: var(--ink-3); font-size: .84rem; line-height: 1.4; }
.demo-play { grid-area: play; width: 84px; height: 84px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 50% 40%, #2d2833, #1b181f); box-shadow: 0 0 0 3px #b48cff, 0 0 30px -4px rgba(165, 139, 255, .8), 0 0 0 7px rgba(165, 139, 255, .12); transition: transform .15s; }
.demo-play:hover { transform: scale(1.04); }
.demo-play svg { width: 32px; height: 32px; grid-area: 1 / 1; }
.demo-play .i-play { margin-left: 4px; }
.demo-play .i-pause, .demo-play.playing .i-play { display: none; }
.demo-play.playing .i-pause { display: block; }
.demo-play.loading { animation: pulse 1s infinite alternate; }
@keyframes pulse { to { box-shadow: 0 0 0 3px #ff9a3d, 0 0 34px -2px rgba(255, 154, 61, .8), 0 0 0 9px rgba(255, 154, 61, .12); } }
.demo-wave { grid-area: wave; width: 100%; height: 86px; cursor: pointer; }
.demo-ab { grid-area: ab; justify-self: end; display: flex; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); }
.demo-ab button { border: 0; background: none; padding: 9px 24px; border-radius: 999px; color: var(--ink-2); font-weight: 500; min-width: 120px; transition: background .2s, color .2s; }
.demo-ab button[aria-checked="true"] { color: #2b1504; background: linear-gradient(180deg, #ffc98f, #ff9a3d); font-weight: 600; box-shadow: 0 6px 18px -6px rgba(255, 140, 50, .7); }
.demo-ab button[data-ab="a"][aria-checked="true"] { background: rgba(255, 255, 255, .9); color: #1b181f; box-shadow: none; }
.demo-msg { grid-area: msg; font-size: .88rem; color: var(--ink-3); }

/* ------------------------------------------------------------- why cards */
.why { padding: 70px 0 40px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.card img { width: 100%; aspect-ratio: 2.5; object-fit: cover; }
.card-b { position: relative; padding: 36px 24px 26px; }
.ci { position: absolute; top: -28px; left: 22px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--a);
  background: #1d1a21; box-shadow: 0 0 0 2px var(--a), 0 0 22px -4px var(--a); }
.ci svg { width: 26px; height: 26px; }
.card h3 { font-weight: 600; font-size: 1.32rem; padding-left: 72px; margin-top: -26px; min-height: 30px; }
.card p { margin-top: 16px; color: var(--ink-2); }

/* ------------------------------------------------------------- steps */
.how { padding: 60px 0 40px; scroll-margin-top: 70px; }
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.steps li { padding: 0 26px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.steps li:first-child { padding-left: 0; border-left: 0; }
.steps li:last-child { padding-right: 0; }
.st-h { display: flex; gap: 18px; align-items: flex-start; min-height: 96px; }
.st-h > b { font: 700 2.5rem/1 var(--display); background: linear-gradient(180deg, #c6b2ff, #8b6dff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-h h3 { font-weight: 600; font-size: 1.2rem; line-height: 1.3; margin-top: 4px; }
.st-h p { color: var(--ink-2); font-size: .95rem; margin-top: 6px; }
.mock { margin-top: 18px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #0f0d11; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9); height: 150px; position: relative; }
.mk-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #2a2630; }
.mk-bar i { width: 9px; height: 9px; border-radius: 50%; background: #5b5560; }
.mk-url { margin-left: 10px; font-size: .72rem; color: var(--ink-3); background: rgba(0, 0, 0, .3); padding: 2px 10px; border-radius: 6px; }
.mock-store { background: #f6f7fb; }
.mock-store .mk-bar { background: #e5e7ee; }
.mock-store .mk-bar i { background: #b8bcc8; }
.mk-body { display: flex; align-items: center; gap: 12px; padding: 34px 20px; color: #1c1e3f; position: relative; }
.mk-body img { width: 40px; height: 40px; border-radius: 10px; }
.mk-body b { display: block; font-size: .95rem; }
.mk-body small { color: #6b6f86; font-size: .78rem; }
.mk-btn { margin-left: auto; background: #1a73e8; color: #fff; font: 600 .82rem/1 var(--body); padding: 10px 16px; border-radius: 999px; white-space: nowrap; }
.mk-cur { position: absolute; right: 22px; bottom: 16px; width: 24px; height: 24px; }
.mk-yt { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 14px; background: #121015; color: #d9d3dd; font: 600 .85rem/1 var(--display); }
.mk-yt svg { width: 18px; height: 18px; flex: none; }
.mk-yt .r { margin-left: auto; }
.mk-vid { position: absolute; inset: 62px 10px 0; border-radius: 10px 10px 0 0; overflow: hidden; }
.mk-vid img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 25%; filter: brightness(.85); }
.mk-pl { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(0, 0, 0, .55); display: grid; place-items: center; }
.mk-pl svg { width: 20px; height: 20px; margin-left: 3px; }
.mk-prog { position: absolute; left: 12px; right: 12px; bottom: 10px; height: 3px; background: rgba(255, 255, 255, .25); border-radius: 2px; }
.mk-prog i { display: block; width: 38%; height: 100%; background: #ff3b3b; border-radius: 2px; }
.mock-panel { background: #15131a; }
.mock-panel img { width: 100%; height: auto; }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.specs > div { padding: 18px 20px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.specs p { color: var(--ink-2); font-size: .92rem; margin-top: 8px; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #e6ddd3; }
.tag.rec { background: rgba(79, 216, 166, .14); color: #6fe3b8; }

/* ------------------------------------------------------------- video */
.video-sec { padding: 60px 0 30px; }
.video-h { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.video-h p { color: var(--ink-2); }
.video { margin-top: 24px; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #0b0a0c; border: 1px solid var(--line); position: relative; max-width: 860px; }
.video iframe, .video video { width: 100%; height: 100%; border: 0; display: block; }
.vph, .vposter { position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; background: #0b0a0c; }
.vposter img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vplay { position: relative; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: rgba(18, 16, 20, .7); box-shadow: 0 0 0 3px var(--orange), 0 0 30px -4px rgba(255, 154, 61, .8); }
.vplay svg { width: 30px; height: 30px; margin-left: 4px; color: #fff; }

/* ------------------------------------------------------------- faq */
.faq-sec { padding: 60px 0 70px; scroll-margin-top: 60px; }
.faq { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; align-items: start; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 1.4rem; color: var(--orange); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; font-size: .96rem; }

/* ------------------------------------------------------------- closing */
.closing { min-height: max(440px, 31.25vw); display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; overflow: hidden; isolation: isolate; }
.closing-bg { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; aspect-ratio: 2000 / 625; }
.closing-bg > img { width: 100%; height: 100%; object-fit: cover; }
.closing-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(42% 60% at 50% 42%, rgba(18, 16, 20, .55), transparent 80%), linear-gradient(180deg, var(--bg), rgba(18, 16, 20, .2) 26%, rgba(18, 16, 20, 0) 70%, rgba(18, 16, 20, .5)); }
.closing-in { width: 100%; text-align: center; padding-block: 60px 70px; }
.closing h2 { font-weight: 700; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.2; text-shadow: 0 4px 30px rgba(0, 0, 0, .7); }
.closing .btn { margin-top: 26px; }
.closing .btn-lg { padding: 20px 46px; font-size: 1.35rem; }
.closing .note { color: #d8cfc5; text-shadow: 0 2px 10px #000; }
/* the mascot sits on the road case at the right of the photo */
.mascot { position: absolute; z-index: 1; left: 77.6%; bottom: 36.5%; width: 15.5%; animation: bob 3.2s ease-in-out infinite; }
.mascot img { width: 100%; height: auto; filter: drop-shadow(0 0 24px rgba(90, 170, 255, .45)); }
.mascot svg { position: absolute; color: #ff7cc8; filter: drop-shadow(0 0 8px rgba(255, 110, 200, .7)); }
.mascot .note1 { width: 18%; height: 18%; right: -10%; top: 6%; }
.mascot .note2 { width: 12%; height: 12%; right: -22%; top: 26%; color: #b48cff; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-2deg); } }

/* ------------------------------------------------------------- footer + toast */
footer { border-top: 1px solid var(--line); padding: 30px 0 40px; background: #0e0c10; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
footer .brand img { width: 28px; height: 28px; border-radius: 8px; }
footer .brand span { font-size: 1.05rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer nav a { color: var(--ink-2); text-decoration: none; font-size: .9rem; }
footer nav a:hover { color: var(--ink); }
footer small { margin-left: auto; color: var(--ink-3); font-size: .8rem; }
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50; max-width: calc(100vw - 32px);
  padding: 12px 20px; border-radius: 14px; background: #2b2730; border: 1px solid var(--line-2); box-shadow: 0 20px 40px -14px #000; font-size: .95rem; text-align: center; }

@media (prefers-reduced-motion: reduce) { .mascot { animation: none; } .panel-shot img { transition: none; } html { scroll-behavior: auto; } }

/* ------------------------------------------------------------- tablet */
@media (max-width: 1060px) {
  .links { gap: 20px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 420px; column-gap: 24px; }
  .hero-stage { width: 420px; margin-top: 200px; }
  .demo { grid-template-columns: 210px 84px minmax(0, 1fr); padding: 24px; }
}
/* ------------------------------------------------------------- phone */
@media (max-width: 820px) {
  .links { display: none; }
  .nav .wrap { height: 60px; gap: 12px; justify-content: space-between; }
  .brand span { font-size: 1.15rem; }
  .brand img { width: 32px; height: 32px; }
  html:not(.is-mobile) .nav .btn { padding: 8px 14px; font-size: .85rem; }
  .hero { padding: 40vw 0 26px; }
  .hero-bg { height: 74vw; }
  .hero-bg img { object-position: 74% 20%; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(18, 16, 20, .2) 0, transparent 30%, rgba(18, 16, 20, .75) 72%, var(--bg) 100%); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "demo" "act" "stage"; }
  .hero-head { padding-top: 0; }
  h1 { font-size: clamp(2.2rem, 10.6vw, 3.2rem); line-height: 1.18; }
  .lead { margin-top: 10px; font-size: 1.05rem; }
  .picks { margin-top: 18px; gap: 8px; flex-wrap: nowrap; }
  .picks button { padding: 9px 6px; gap: 6px; font-size: .9rem; border-radius: 14px; flex: 1 1 auto; justify-content: center; min-width: 0; white-space: nowrap; }
  .picks svg { width: 18px; height: 18px; flex: none; }
  .demo { margin-top: 18px; grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "h h" "play wave" "ab ab" "msg msg"; padding: 18px 16px; border-radius: 20px; column-gap: 14px; row-gap: 12px; }
  .demo-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .demo-h h2 { font-size: 1.22rem; }
  .demo-h h2 span { display: inline; }
  .demo-src { margin-top: 0; }
  .demo-src small { display: none; }
  .demo-src b { font-size: .85rem; color: var(--ink-2); white-space: nowrap; }
  .demo-play { width: 60px; height: 60px; }
  .demo-play svg { width: 24px; height: 24px; }
  .demo-wave { height: 60px; }
  .demo-ab { justify-self: stretch; }
  .demo-ab button { flex: 1; min-width: 0; padding: 9px 10px; }
  .hero-act { margin-top: 22px; }
  .hero-stage { justify-self: center; width: min(100%, 460px); margin: 34px 0 10px; }
  .cta-row .btn { width: 100%; }
  .why, .how, .video-sec, .faq-sec { padding-top: 46px; }
  .cards, .steps, .specs, .faq { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 30px; }
  .steps li { padding: 0; border: 0; }
  .st-h { min-height: 0; }
  .closing { min-height: 0; }
  .closing-bg { top: 0; aspect-ratio: auto; }
  .closing-bg > img { object-position: 60% bottom; }
  .closing .btn-lg { font-size: 1.05rem; padding: 16px 22px; max-width: 100%; white-space: normal; }
  .closing-in { padding-block: 60px 230px; }
  .mascot { left: 50%; bottom: 14px; width: 190px; margin-left: -95px; animation: none; }
  footer small { margin-left: 0; }
}
/* phone-only actions */
.mob-act { display: grid; gap: 14px; }
.mob-where { display: flex; align-items: center; gap: 10px; color: #e7ded4; font-weight: 500; }
.mob-where svg { width: 22px; height: 22px; color: var(--orange); flex: none; }
.mob-act .btn { width: 100%; }
.mob-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.mob-steps li { display: flex; gap: 12px; align-items: center; color: var(--ink-2); font-size: .95rem; }
.mob-steps b { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 .85rem/1 var(--display); color: var(--violet); border: 1.5px solid rgba(165, 139, 255, .6); }

/* ------------------------------------------------------------- news & roadmap (1.0.9) */
.nav-news { position: relative; }
.nav-news .dot { position: absolute; top: -2px; right: -9px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.news { padding: 70px 0 40px; scroll-margin-top: 70px; border-top: 1px solid var(--line); isolation: isolate;
  background: radial-gradient(50% 40% at 85% 8%, rgba(255, 154, 61, .09), transparent 70%), radial-gradient(40% 30% at 10% 60%, rgba(165, 139, 255, .07), transparent 70%); }
.news-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #ffc285; font-weight: 600; font-size: .98rem; }
.eyebrow svg { width: 22px; height: 22px; color: var(--orange); }
.news-t { margin-top: 8px; font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.15; }
.news-t em { font-style: normal; background: linear-gradient(180deg, #ffc98f, #ff9a3d 75%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.news-sub { margin-top: 8px; color: var(--ink-2); font-size: 1.08rem; }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
  color: var(--ink); font: 500 .98rem/1.2 var(--body); text-decoration: none; transition: background .2s, border-color .2s, transform .15s; white-space: nowrap; }
.btn-ghost svg { width: 18px; height: 18px; transition: transform .2s; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); }
.btn-ghost:hover svg { transform: translateX(3px); }
.btn-ghost.sm { padding: 10px 20px; font-size: .94rem; }

.nf { background: linear-gradient(180deg, #1c1920, #17151b); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9); transition: border-color .25s, transform .25s; }
.nf:hover { border-color: rgba(255, 255, 255, .16); }
.nf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.nf-vis { position: relative; aspect-ratio: 2.05; overflow: hidden; background: #0d0b0f; isolation: isolate; }
.nf-vis > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.nf-vis::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.nf-body { padding: 22px 28px 24px; display: flex; flex-direction: column; flex: 1; }
.kick { display: flex; align-items: center; gap: 10px; font: 600 .8rem/1 var(--body); letter-spacing: .12em; color: var(--ink-2); }
.kick svg { width: 22px; height: 22px; color: var(--k, var(--violet)); }
.kick.yt svg { color: var(--orange); }
.nf h3 { margin-top: 12px; font-weight: 600; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.25; }
.nf-d { margin-top: 6px; color: var(--ink-2); }
.nf-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.nf-grid .nf-foot { border-top: 1px solid var(--line); margin-top: 18px; }
.not-yet { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: .92rem; }
.not-yet svg { width: 20px; height: 20px; flex: none; }
.nbadge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px 6px 11px; border-radius: 999px; font: 600 .85rem/1 var(--display); white-space: nowrap; }
.nbadge svg { width: 16px; height: 16px; }
.nbadge.plan { position: absolute; top: 16px; left: 16px; color: #ffd08a; background: rgba(30, 22, 12, .78); border: 1.5px solid rgba(255, 170, 70, .7); box-shadow: 0 0 18px -6px rgba(255, 154, 61, .8); backdrop-filter: blur(6px); }
.nbadge.plan svg { color: #ffc14d; }
.nbadge.new { align-self: flex-start; color: #2b1504; background: linear-gradient(180deg, #ffd3a0, #ff9a3d); box-shadow: 0 8px 22px -10px rgba(255, 138, 42, .9); margin-bottom: 14px; }
.concept { position: absolute; right: 14px; bottom: 10px; font-size: .78rem; color: rgba(255, 255, 255, .62); text-shadow: 0 1px 6px #000; }

/* featured: EQ (available now) */
.nf-new { flex-direction: row; margin-top: 34px; border-color: rgba(255, 154, 61, .35);
  background: radial-gradient(60% 90% at 0% 0%, rgba(255, 154, 61, .1), transparent 60%), linear-gradient(180deg, #1d1a21, #17151b); }
.nf-new .nf-vis { flex: 0 0 56%; aspect-ratio: auto; min-height: 340px; }
.nf-new .nf-body { padding: 30px 34px; justify-content: center; }
.vis-eq > .bg { object-position: 42% 32%; filter: saturate(1.05) brightness(1.08); }
.vis-eq::after { background: linear-gradient(90deg, rgba(13, 11, 15, .55) 0%, rgba(13, 11, 15, .1) 45%, rgba(13, 11, 15, .05) 70%, rgba(27, 24, 31, .9) 97%, #1b181f 100%), linear-gradient(0deg, rgba(13, 11, 15, .45), transparent 35%); }
.eq-shot { position: absolute; left: 5%; top: 50%; width: min(48%, 310px); transform: translateY(-50%) rotate(-1.5deg); border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 60px -20px #000, 0 0 0 6px rgba(20, 18, 24, .55), 0 0 60px -10px rgba(255, 154, 61, .45); animation: float 6s ease-in-out infinite; }
.eq-shot img { width: 100%; height: auto; }
@keyframes float { 50% { transform: translateY(calc(-50% - 6px)) rotate(-1.5deg); } }
.nf-pts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.nf-pts li { display: flex; align-items: center; gap: 10px; color: #e6ddd3; }
.nf-pts svg { width: 18px; height: 18px; flex: none; color: #2b1504; background: var(--orange); border-radius: 50%; padding: 3px; }
.ready-now { display: inline-flex; align-items: center; gap: 10px; color: #8fe3bf; font-size: .94rem; font-weight: 500; }
.ready-now i { width: 9px; height: 9px; border-radius: 50%; background: #4fd8a6; box-shadow: 0 0 0 4px rgba(79, 216, 166, .18); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 7px rgba(79, 216, 166, .05); } }

/* lyrics concept: the practice room with a monitor showing highlighted lyrics */
.vis-lyr > .bg { object-position: 0% 45%; filter: brightness(.9); }
.vis-lyr::after { background: linear-gradient(90deg, rgba(13, 11, 15, .15), rgba(13, 11, 15, .35) 45%, rgba(13, 11, 15, .6)), linear-gradient(0deg, rgba(13, 11, 15, .55), transparent 45%); }
.mon { position: absolute; right: 6%; top: 15%; width: 58%; aspect-ratio: 1.62; border-radius: 12px; padding: 7px; background: linear-gradient(180deg, #2a2730, #121015);
  box-shadow: 0 30px 50px -18px #000, 0 0 0 1px rgba(255, 255, 255, .08); transform: perspective(900px) rotateY(-8deg); }
.mon::after { content: ""; position: absolute; left: 44%; right: 44%; bottom: -16px; height: 16px; background: linear-gradient(#1b1920, #0c0b0e); border-radius: 0 0 4px 4px; }
.mon-in { position: relative; height: 100%; border-radius: 7px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: radial-gradient(80% 70% at 50% 40%, #241b33, #0c0a10); }
.ly1 { font: 700 clamp(.95rem, 1.9vw, 1.45rem)/1.2 var(--display); color: #fff; white-space: nowrap; }
.ly1 b { background: linear-gradient(90deg, #ff9a3d 0 50%, #fff 50% 100%); background-size: 200% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sweep 4s linear infinite; }
@keyframes sweep { 0%, 10% { background-position: 100% 0; } 75%, 100% { background-position: 0 0; } }
.ly2 { font: 500 clamp(.7rem, 1.2vw, .9rem)/1.2 var(--display); color: rgba(255, 255, 255, .45); }
.lwave { position: relative; display: flex; align-items: center; gap: 2px; width: 78%; height: 26%; margin-top: 6px; }
.lwave i { flex: 1; height: calc(min(var(--h), 1) * 100%); min-height: 3px; border-radius: 2px; background: linear-gradient(180deg, #d07bff, #7a5cff); opacity: .9; }
.lwave i:nth-child(n+29) { background: linear-gradient(180deg, #ff7bb5, #ff4f8a); }
.lwave .ph { position: absolute; left: 50%; top: -14%; bottom: -14%; width: 2px; background: #fff; box-shadow: 0 0 8px #fff; border-radius: 1px; }
.ldots { display: flex; gap: 6px; margin-top: 6px; }
.ldots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.ldots i:first-child { background: #ffb86b; }

/* queue concept: a YouTube window with the next songs */
.vis-q > .bg { object-position: 50% 30%; filter: blur(3px) brightness(.45); transform: scale(1.06); }
.qwin { position: absolute; left: 5%; right: 5%; top: 19%; bottom: 8%; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto 1fr; gap: 10px; padding: 0 12px 12px;
  border-radius: 12px; background: rgba(20, 18, 24, .88); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 50px -18px #000; }
.qbar { grid-column: 1 / -1; display: flex; gap: 5px; padding: 9px 0 0; }
.qbar i { width: 7px; height: 7px; border-radius: 50%; background: #ff5f57; } .qbar i:nth-child(2) { background: #febc2e; } .qbar i:nth-child(3) { background: #28c840; }
.qplayer { display: flex; flex-direction: column; min-height: 0; border-radius: 8px; overflow: hidden; background: #000; }
.qvid { flex: 1; min-height: 0; }
.qvid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.qctl { display: flex; align-items: center; gap: 8px; padding: 6px 8px 7px; position: relative; color: #fff; }
.qctl svg { width: 13px; height: 13px; }
.qprog { position: absolute; left: 8px; right: 8px; top: 0; height: 3px; background: rgba(255, 255, 255, .25); border-radius: 2px; }
.qprog i { display: block; width: 58%; height: 100%; background: #ff3b3b; border-radius: 2px; position: relative; animation: prog 9s linear infinite; }
.qprog i::after { content: ""; position: absolute; right: -4px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b; }
@keyframes prog { from { width: 20%; } to { width: 95%; } }
.qlist { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 1fr; gap: 7px; min-height: 0; }
.qlist li { display: flex; align-items: center; gap: 8px; padding: 0 8px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); min-height: 0; overflow: hidden;
  font: 500 clamp(.62rem, 1.05vw, .82rem)/1.2 var(--display); color: #eee6dc; }
.qlist li b { font-weight: 600; color: var(--ink-3); width: 1.4em; }
.qlist li img { width: 22%; height: 70%; object-fit: cover; border-radius: 5px; flex: none; }
.qlist li > span:not(.qp) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qlist .gr { width: 14px; height: 14px; color: rgba(255, 255, 255, .35); flex: none; }
.qlist li.on { border: 1.5px solid #ffb547; background: rgba(255, 170, 60, .1); box-shadow: 0 0 20px -8px rgba(255, 170, 60, .8); }
.qlist li.on b { color: #ffc773; }
.qp { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #ff6b7a; display: grid; place-items: center; flex: none; color: #fff; }
.qp svg { width: 10px; height: 10px; margin-left: 1px; }

.news-note { display: flex; align-items: center; gap: 16px; margin-top: 26px; color: var(--ink-3); font-size: .88rem; text-align: center; }
.news-note::before, .news-note::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2)); }
.news-note::after { background: linear-gradient(90deg, var(--line-2), transparent); }

/* idea dialog */
.idea { width: min(560px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line-2); border-radius: 22px; background: #1b181f; color: var(--ink); box-shadow: 0 40px 80px -20px #000; }
.idea::backdrop { background: rgba(8, 7, 10, .7); backdrop-filter: blur(4px); }
.idea-in { position: relative; padding: 28px 28px 24px; }
.idea .nbadge.plan { position: static; }
.idea h3 { margin-top: 14px; font-size: 1.55rem; font-weight: 600; }
.idea-x { position: absolute; right: 14px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .06); font-size: 1.4rem; line-height: 1; color: var(--ink-2); }
.idea-x:hover { background: rgba(255, 255, 255, .12); color: var(--ink); }
.idea-pts { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: p; display: grid; gap: 10px; }
.idea-pts li { counter-increment: p; display: flex; gap: 12px; color: #e6ddd3; }
.idea-pts li::before { content: counter(p); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 .82rem/1 var(--display); color: var(--violet); border: 1.5px solid rgba(165, 139, 255, .6); margin-top: 1px; }
.idea-note { margin-top: 16px; color: var(--ink-3); font-size: .9rem; }
.idea-act { margin-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { .eq-shot, .ly1 b, .qprog i, .ready-now i { animation: none; } }
@media (max-width: 1060px) {
  .nf-new .nf-vis { flex-basis: 50%; }
  .eq-shot { width: min(60%, 300px); }
}
@media (max-width: 820px) {
  .news { padding-top: 46px; }
  .news-h { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nf-new { flex-direction: column; margin-top: 24px; }
  .nf-new .nf-vis { flex-basis: auto; aspect-ratio: 1.25; min-height: 0; }
  .vis-eq::after { background: linear-gradient(0deg, #1b181f 0%, rgba(13, 11, 15, .35) 45%, rgba(13, 11, 15, .1)); }
  .vis-eq > .bg { object-position: 25% 30%; }
  .eq-shot { width: 58%; left: 5%; top: 46%; }
  .nf-new .nf-body { padding: 22px 20px 24px; }
  .nf-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .nf-body { padding: 20px 20px 22px; }
  .nf-foot .btn-ghost { flex: 1; justify-content: center; }
  .vis-q { aspect-ratio: 1.45; }
  .qwin { left: 4%; right: 4%; top: 21%; grid-template-columns: 1fr 1fr; }
  .qlist li img, .qlist li.on .gr { display: none; }
  .qlist li { font-size: .8rem; }
  .news-note { font-size: .82rem; }
}

/* in development: live chords (visual on the right) */
.nf-dev { flex-direction: row-reverse; margin-top: 22px; border-color: rgba(165, 139, 255, .35);
  background: radial-gradient(60% 90% at 100% 0%, rgba(165, 139, 255, .11), transparent 60%), linear-gradient(180deg, #1d1a21, #17151b); }
.vis-chord > .bg { object-position: 50% 45%; filter: brightness(.8) saturate(1.05); }
.vis-chord::after { background: linear-gradient(270deg, rgba(13, 11, 15, .15) 0%, rgba(13, 11, 15, .1) 55%, rgba(27, 24, 31, .9) 97%, #1b181f 100%), linear-gradient(0deg, rgba(10, 8, 12, .92), rgba(10, 8, 12, .35) 55%, transparent 80%); }
.ch-ov { position: absolute; left: 6%; right: 5%; bottom: 13%; }
.ch-now { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 12px; }
.ch-cur { font: 700 clamp(2.6rem, 5vw, 4rem)/1 var(--display); letter-spacing: -.02em; color: #fff; text-shadow: 0 4px 24px rgba(0, 0, 0, .7); min-width: 2.3em; }
.ch-next, .ch-key { display: grid; padding: 7px 12px; border-radius: 10px; background: rgba(165, 139, 255, .22); font: 600 1.05rem/1.1 var(--display); color: #fff; margin-bottom: 4px; }
.ch-key { background: rgba(255, 255, 255, .08); margin-left: auto; }
.ch-next small, .ch-key small { font: 500 .7rem/1.2 var(--body); color: var(--ink-2); }
.ch-next i, .ch-key i { font-style: normal; }
.ch-lane { position: relative; height: 46px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(4px); }
.ch-strip { position: absolute; top: 0; bottom: 0; left: 0; display: flex; gap: 4px; padding: 5px 0; will-change: transform; }
.cb { flex: none; width: 92px; display: grid; place-items: center; border-radius: 7px; font: 600 .95rem/1 var(--display); color: #efe8ff; background: rgba(124, 92, 255, .34); border: 1px solid rgba(165, 139, 255, .38); }
.cb.m { background: rgba(255, 95, 162, .26); border-color: rgba(255, 95, 162, .38); }
.cb.on { background: linear-gradient(180deg, #ffb15e, #ff8a2a); color: #2b1504; border-color: #ffc285; }
.ch-ph { position: absolute; top: 0; bottom: 0; left: 30%; width: 2px; background: #fff; box-shadow: 0 0 10px #fff; }
.nbadge.dev { align-self: flex-start; color: #e9e2ff; background: rgba(165, 139, 255, .18); border: 1.5px solid rgba(165, 139, 255, .6); margin-bottom: 14px; }
.nbadge.dev i { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(165, 139, 255, .2); animation: blink 2s ease-in-out infinite; }
.kick.ch svg { color: var(--violet); }
.nf-dev .nf-pts svg { background: var(--violet); color: #fff; }
.dev-now { display: inline-flex; align-items: center; gap: 10px; color: #c9bcff; font-size: .94rem; }
.dev-now svg { width: 20px; height: 20px; flex: none; }
.idea .nbadge.dev-b { color: #e9e2ff; background: rgba(165, 139, 255, .18); border-color: rgba(165, 139, 255, .6); box-shadow: none; }
.idea .nbadge.dev-b svg { color: var(--violet); }
@media (max-width: 820px) {
  .nf-dev { flex-direction: column; margin-top: 18px; }
  .nf-dev .nf-vis { aspect-ratio: 1.25; }
  .vis-chord::after { background: linear-gradient(0deg, #1b181f 0%, rgba(13, 11, 15, .55) 50%, rgba(13, 11, 15, .15)); }
  .ch-ov { bottom: 16%; }
  .cb { width: 76px; }
}

/* ---------------------------------------------------------------- invite a friend */
.ref-bar { padding: 14px 0 0; position: relative; z-index: 5; }
.rb { display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 12px; border-radius: 18px; border: 1px solid rgba(255, 170, 70, .45);
  background: linear-gradient(90deg, rgba(255, 154, 61, .16), rgba(165, 139, 255, .12)), rgba(24, 20, 26, .92); box-shadow: 0 18px 40px -24px rgba(255, 138, 42, .8); }
.rb-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #2b1504; background: linear-gradient(160deg, #ffd3a1, #ff9a3d 70%); }
.rb-ic svg { width: 24px; height: 24px; }
.rb-t { flex: 1; min-width: 0; display: grid; line-height: 1.45; }
.rb-t b { font: 600 1.05rem/1.35 var(--display); }
.rb-t span { color: var(--ink-2); font-size: .95rem; }
.rb .btn { flex: none; }
.rb .btn svg { width: 18px; height: 18px; }
.rb-x { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .06); font-size: 1.3rem; line-height: 1; opacity: .7; }
.rb-x:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
@media (max-width: 720px) {
  .rb { flex-wrap: wrap; position: relative; padding-right: 48px; }
  .rb .btn { width: 100%; }
  .rb-x { position: absolute; top: 10px; right: 10px; }
}

.nf-ref { position: relative; display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); margin-top: 34px; padding: clamp(18px, 3vw, 26px) clamp(18px, 3vw, 30px);
  border-radius: 22px; border: 1px solid rgba(255, 170, 70, .4); overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 140% at 0% 50%, rgba(255, 154, 61, .2), transparent 62%), radial-gradient(60% 140% at 100% 0%, rgba(165, 139, 255, .16), transparent 60%), linear-gradient(180deg, #1c1920, #17151b); }
.nf-ref + .nf { margin-top: 22px; }
.nr-art { position: relative; flex: none; width: 128px; height: 112px; }
.nr-gift { position: absolute; left: 10px; top: 14px; width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; color: #2b1504;
  background: linear-gradient(160deg, #ffd9ad, #ff9a3d 68%, #ff8a2a); box-shadow: 0 18px 40px -14px rgba(255, 138, 42, .95), 0 1px 0 rgba(255, 255, 255, .5) inset; transform: rotate(-6deg); }
.nr-gift svg { width: 44px; height: 44px; }
.nr-b { position: absolute; padding: 5px 10px; border-radius: 999px; font: 700 .9rem/1 var(--display); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .8); }
.nr-b.b1 { right: 0; top: 2px; color: #12301f; background: linear-gradient(160deg, #a5f5d2, #4fd8a6); }
.nr-b.b2 { right: 6px; bottom: 4px; color: #1b1240; background: linear-gradient(160deg, #d2c6ff, #a58bff); }
.nr-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nr-body .nbadge.new { margin-bottom: 10px; }
.nr-body h3 { font-weight: 600; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.25; }
.nr-pts { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-size: .98rem; }
.nr-pts li { display: flex; align-items: baseline; gap: 7px; }
.nr-pts b { flex: none; min-width: 2.2em; font: 700 1.2rem/1 var(--display); color: var(--orange-2); }
.nr-go { flex: none; }
.nr-go svg { width: 20px; height: 20px; }
@media (max-width: 820px) {
  .nf-ref { flex-wrap: wrap; }
  .nr-art { width: 96px; height: 88px; }
  .nr-gift { width: 64px; height: 64px; left: 4px; top: 12px; border-radius: 18px; }
  .nr-gift svg { width: 34px; height: 34px; }
  .nr-body { flex-basis: calc(100% - 140px); }
  .nr-pts { flex-direction: column; gap: 4px; }
  .nr-go { width: 100%; }
}

/* ------------------------------------------------------------- live counters (under the main button) */
.stats { display: inline-flex; flex-wrap: wrap; align-items: stretch; margin-top: 18px; border-radius: 18px; background: rgba(26, 23, 29, .66); border: 1px solid var(--line); backdrop-filter: blur(8px); visibility: hidden; }
.stats.on { visibility: visible; animation: stIn .5s ease both; }
.stats.off { display: none; }
.stat { display: flex; align-items: center; gap: 12px; padding: 11px 20px 11px 14px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .si { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(165, 139, 255, .14); color: var(--violet); }
.stat .si.dl { background: rgba(255, 154, 61, .14); color: var(--orange); }
.stat .si svg { width: 19px; height: 19px; }
.stat div > b { display: block; font: 600 1.32rem/1.15 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.stat small { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; color: var(--ink-2); font-size: .84rem; line-height: 1.4; }
.today { display: inline-flex; align-items: center; gap: 6px; font-style: normal; color: #8fe3bf; font-weight: 500; }
.today i { width: 7px; height: 7px; border-radius: 50%; background: #4fd8a6; box-shadow: 0 0 0 3px rgba(79, 216, 166, .18); animation: blink 2s ease-in-out infinite; }
.today b { font-variant-numeric: tabular-nums; font-weight: 600; }
@keyframes stIn { from { opacity: 0; transform: translateY(6px); } }
.mob-act .stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 6px; }
.mob-act .stats.off { display: none; }
.mob-act .stat { padding: 11px 12px; gap: 10px; }
.mob-act .stat .si { width: 32px; height: 32px; border-radius: 10px; }
.mob-act .stat small { flex-direction: column; align-items: flex-start; gap: 0; }
@media (prefers-reduced-motion: reduce) { .stats.on, .today i { animation: none; } }
