/* ============================================================
   고요 GOYO — sleep sounds
   ============================================================ */

:root{
  --night-0:#060511;
  --night-1:#09081a;
  --night-2:#140f30;
  --night-3:#191339;
  --ink:#f3f0ff;
  --ink-soft:#cdc6e8;
  --dim:rgba(206,198,232,.62);
  --dim-2:rgba(206,198,232,.38);
  --line:rgba(255,255,255,.09);
  --line-strong:rgba(255,255,255,.16);
  --glass:rgba(255,255,255,.055);
  --glass-2:rgba(255,255,255,.08);
  --coral:#f3a69b;
  --coral-soft:#ffc3b6;
  --lav:#b48cf2;
  --lav-soft:#d3b8ff;
  --grad:linear-gradient(102deg,#f6b3a5 0%,#e3a3c6 42%,#b48cf2 100%);
  --grad-soft:linear-gradient(135deg,rgba(243,166,155,.22),rgba(180,140,242,.22));
  --radius:26px;
  --shadow:0 24px 60px -24px rgba(4,2,18,.9);
  --wrap:1200px;
  --ease:cubic-bezier(.22,.8,.24,1);
  --serif:"Noto Serif KR","Pretendard Variable",Pretendard,serif;
  --sans:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,system-ui,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;overflow-x:clip}
body{
  margin:0;
  font-family:var(--sans);
  background:var(--night-1);
  color:var(--ink);
  line-height:1.6;
  letter-spacing:-.01em;
  overflow-x:hidden;
  word-break:keep-all;
  overflow-wrap:break-word;
  -webkit-font-smoothing:antialiased;
  padding-bottom:0;
}
body.has-player{padding-bottom:132px}
body.video-on{padding-bottom:132px}
img{display:block;max-width:100%}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
a{color:inherit;text-decoration:none}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3,p{margin:0}
:focus-visible{outline:2px solid var(--lav-soft);outline-offset:3px;border-radius:8px}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.ic{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.flip{transform:scaleX(-1)}
.br-mo{display:none}
.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:clamp(20px,4vw,40px)}

/* ── background ─────────────────────────────────────────── */
.bg{position:fixed;inset:0;z-index:-1;overflow:hidden;background:var(--night-1)}
.bg-sky{
  position:absolute;inset:0;
  background:
    radial-gradient(1200px 760px at 50% -14%,#251a4f 0%,rgba(37,26,79,0) 62%),
    radial-gradient(900px 600px at 88% 8%,rgba(90,52,140,.45) 0%,rgba(90,52,140,0) 60%),
    linear-gradient(180deg,#0b0920 0%,#09081a 38%,#070614 100%);
}
.bg-glow{position:absolute;border-radius:50%;filter:blur(90px);opacity:.5;animation:drift 26s var(--ease) infinite alternate}
.bg-glow--a{width:620px;height:620px;left:-160px;top:-120px;background:radial-gradient(circle,rgba(180,140,242,.38),transparent 65%)}
.bg-glow--b{width:540px;height:540px;right:-140px;top:120px;background:radial-gradient(circle,rgba(243,166,155,.22),transparent 68%);animation-delay:-9s}
.bg-glow--c{width:700px;height:700px;left:38%;top:58%;background:radial-gradient(circle,rgba(76,60,170,.3),transparent 66%);animation-delay:-16s}
@keyframes drift{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(40px,-40px,0) scale(1.12)}}
.bg-stars{
  position:absolute;inset:-10%;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%,rgba(255,255,255,.75),transparent),
    radial-gradient(1.2px 1.2px at 78% 12%,rgba(255,255,255,.6),transparent),
    radial-gradient(1.6px 1.6px at 42% 32%,rgba(255,255,255,.55),transparent),
    radial-gradient(1.1px 1.1px at 88% 46%,rgba(255,255,255,.5),transparent),
    radial-gradient(1.3px 1.3px at 24% 62%,rgba(255,255,255,.45),transparent),
    radial-gradient(1.2px 1.2px at 64% 74%,rgba(255,255,255,.5),transparent),
    radial-gradient(1.5px 1.5px at 8% 84%,rgba(255,255,255,.4),transparent),
    radial-gradient(1.1px 1.1px at 52% 8%,rgba(255,255,255,.55),transparent),
    radial-gradient(1.2px 1.2px at 94% 78%,rgba(255,255,255,.35),transparent);
  opacity:.55;animation:twinkle 9s ease-in-out infinite alternate;
}
@keyframes twinkle{from{opacity:.35}to{opacity:.7}}
.bg-grain{
  position:absolute;inset:0;opacity:.035;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── glass helpers ──────────────────────────────────────── */
.glass{
  background:linear-gradient(160deg,rgba(255,255,255,.085),rgba(255,255,255,.03));
  border:1px solid var(--line);
  backdrop-filter:blur(22px) saturate(130%);
  -webkit-backdrop-filter:blur(22px) saturate(130%);
  box-shadow:var(--shadow);
}

/* ── buttons ────────────────────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  border-radius:999px;font-weight:600;letter-spacing:-.01em;
  transition:transform .25s var(--ease),box-shadow .25s var(--ease),background .25s,border-color .25s,color .25s;
  white-space:nowrap;
}
.btn .ic{width:17px;height:17px}
.btn--cta{
  background:var(--grad);color:#22122b;
  box-shadow:0 12px 34px -12px rgba(226,140,200,.75), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn--cta:hover{transform:translateY(-2px);box-shadow:0 18px 44px -14px rgba(226,140,200,.85), inset 0 1px 0 rgba(255,255,255,.5)}
.btn--cta:active{transform:translateY(0) scale(.985)}
.btn--glass{background:rgba(255,255,255,.07);border:1px solid var(--line-strong);color:var(--ink)}
.btn--glass:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.28)}
.btn--ghost{color:var(--ink-soft);border:1px solid transparent}
.btn--ghost:hover{color:var(--ink);background:rgba(255,255,255,.07)}
.btn--sm{height:44px;padding:0 20px;font-size:14px}
.btn--lg{height:58px;padding:0 30px;font-size:16px}
.btn--xs{height:34px;padding:0 13px;font-size:12.5px;gap:6px}
.btn--xs .ic{width:15px;height:15px}

.round-btn{
  width:46px;height:46px;border-radius:50%;display:grid;place-items:center;
  background:rgba(255,255,255,.08);border:1px solid var(--line);
  color:var(--ink);transition:.22s var(--ease);
}
.round-btn:hover{background:rgba(255,255,255,.15);transform:translateY(-1px)}
.round-btn--stop{color:var(--coral-soft);background:rgba(243,166,155,.12);border-color:rgba(243,166,155,.25)}
.round-btn--stop:hover{background:rgba(243,166,155,.2)}
.round-btn--xs{width:28px;height:28px;background:transparent;border:0}
.round-btn--xs .ic{width:16px;height:16px;transform:rotate(90deg)}

/* ── nav ────────────────────────────────────────────────── */
.nav-wrap{position:fixed;inset:0 0 auto;z-index:60;padding:18px clamp(12px,2.4vw,24px);pointer-events:none}
.nav-wrap::before{
  content:"";position:absolute;inset:0 0 -28px 0;pointer-events:none;
  background:linear-gradient(180deg,rgba(8,7,22,.94) 0%,rgba(8,7,22,.72) 58%,rgba(8,7,22,0) 100%);
}
.nav{
  pointer-events:auto;
  max-width:var(--wrap);margin-inline:auto;
  height:70px;border-radius:999px;
  display:flex;align-items:center;gap:24px;
  padding:0 12px 0 22px;
  background:linear-gradient(120deg,rgba(24,20,52,.72),rgba(16,13,38,.62));
}
.brand{display:flex;align-items:center;gap:10px;flex:none}
.brand-mark{
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  background:var(--grad);color:#1a0f26;flex:none;
  box-shadow:0 6px 18px -6px rgba(226,140,200,.8);
}
.brand-mark svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.brand-name{font-family:var(--serif);font-size:21px;font-weight:700;letter-spacing:.02em}
.brand-sub{font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:var(--dim-2);margin-top:4px}
.nav-links{display:flex;gap:6px;margin-inline:auto}
.nav-links a{
  font-size:14.5px;color:var(--ink-soft);padding:9px 15px;border-radius:999px;
  transition:.2s;
}
.nav-links a:hover{color:var(--ink);background:rgba(255,255,255,.07)}
.nav-actions{display:flex;align-items:center;gap:6px}

/* ── type ───────────────────────────────────────────────── */
.eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  font-size:11.5px;letter-spacing:.2em;text-transform:uppercase;
  color:var(--dim);font-weight:600;
}
.dot-live{width:7px;height:7px;border-radius:50%;background:var(--coral);box-shadow:0 0 0 4px rgba(243,166,155,.16);animation:pulse 2.4s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}
.sec-title{font-family:var(--serif);font-size:clamp(28px,3.3vw,42px);font-weight:600;line-height:1.32;letter-spacing:-.02em;margin-top:14px}

/* ── hero ───────────────────────────────────────────────── */
.hero{padding:clamp(128px,13vw,168px) 0 clamp(40px,6vw,72px);position:relative}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:clamp(32px,5vw,64px);align-items:center}
.hero-copy h1{
  font-family:var(--serif);
  font-size:clamp(36px,3.75vw,52px);
  line-height:1.34;font-weight:600;letter-spacing:-.035em;
  margin:20px 0 22px;
  text-wrap:balance;
}
.hero-copy h1 em{
  font-style:normal;
  background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;
  padding-right:.06em;
}
.lead{color:var(--ink-soft);font-size:clamp(15px,1.15vw,17px);line-height:1.78;max-width:520px;font-weight:400}
.hero-cta{display:flex;gap:12px;margin-top:34px;flex-wrap:wrap}
.hero-facts{display:flex;gap:22px;margin-top:30px;color:var(--dim);font-size:13px;flex-wrap:wrap}
.hero-facts li{display:flex;align-items:center;gap:7px}
.hero-facts .ic{width:14px;height:14px;color:var(--lav)}

.hero-visual{position:relative;min-height:460px;display:flex;align-items:center;justify-content:center}
.halo{
  position:absolute;width:100%;aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle at 55% 45%,rgba(180,140,242,.36),rgba(243,166,155,.12) 42%,transparent 66%);
  filter:blur(50px);z-index:0;
}

/* dashboard */
.dash{
  position:relative;z-index:1;width:min(420px,100%);
  border-radius:32px;padding:24px;
  background:linear-gradient(165deg,rgba(43,34,86,.72),rgba(19,15,44,.82));
  border:1px solid rgba(255,255,255,.13);
}
.dash-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.dash-eyebrow{font-size:11px;letter-spacing:.14em;color:var(--dim-2);text-transform:uppercase;font-weight:600}
.dash-title{font-size:16.5px;font-weight:600;margin-top:7px;letter-spacing:-.01em}
.dash-chip{
  display:inline-flex;align-items:center;gap:6px;flex:none;
  font-size:12px;font-weight:600;color:var(--ink-soft);
  padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid var(--line);
}
.dash-chip .ic{width:13px;height:13px}
.dash-main{display:flex;align-items:center;gap:20px;margin-top:22px}
.ring{position:relative;width:118px;height:118px;flex:none}
.ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.ring-track{fill:none;stroke:rgba(255,255,255,.08);stroke-width:9}
.ring-value{fill:none;stroke:url(#ringGrad);stroke-width:9;stroke-linecap:round;filter:drop-shadow(0 0 8px rgba(180,140,242,.55))}
.ring-label{position:absolute;inset:0;display:grid;place-content:center;text-align:center;gap:1px}
.ring-label strong{font-size:30px;font-weight:700;letter-spacing:-.03em;line-height:1}
.ring-label span{font-size:10.5px;color:var(--dim);letter-spacing:.02em}
.dash-list{display:grid;gap:11px;flex:1;font-size:12.5px}
.dash-list li{display:flex;justify-content:space-between;gap:10px;align-items:baseline;padding-bottom:9px;border-bottom:1px dashed rgba(255,255,255,.07)}
.dash-list li:last-child{border-bottom:0;padding-bottom:0}
.dash-list span{color:var(--dim-2);flex:none}
.dash-list strong{font-weight:600;color:var(--ink-soft);text-align:right;font-size:12.5px}
.dash-chart{margin-top:20px;padding-top:16px;border-top:1px solid rgba(255,255,255,.07)}
.dash-chart-head{display:flex;justify-content:space-between;align-items:center;font-size:11.5px;color:var(--dim);font-weight:600;letter-spacing:.04em}
.dash-chart-tag{font-size:10px;padding:3px 8px;border-radius:999px;background:rgba(180,140,242,.16);color:var(--lav-soft)}
.dash-chart svg{width:100%;height:66px;margin-top:8px;display:block}
.chart-area{fill:url(#areaGrad);stroke:none}
.chart-line{fill:none;stroke:#c6a6ff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 6px rgba(180,140,242,.7))}
.dash-chart-foot{display:flex;justify-content:space-between;font-size:10px;color:var(--dim-2);margin-top:2px}
.dash-now{
  margin-top:18px;display:flex;align-items:center;gap:12px;
  padding:12px 14px;border-radius:18px;
  background:linear-gradient(120deg,rgba(243,166,155,.14),rgba(180,140,242,.14));
  border:1px solid rgba(255,255,255,.09);
}
.dash-now-label{display:block;font-size:10.5px;color:var(--dim-2);letter-spacing:.06em}
.dash-now strong{font-size:13px;font-weight:600}
.dash-now>div{flex:1;line-height:1.35}
.dash-now-btn{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--grad);color:#1a0f26;flex:none}
.dash-now-btn .ic{width:15px;height:15px}

.eq{display:inline-flex;align-items:flex-end;gap:2.5px;height:18px}
.eq i{width:3px;border-radius:2px;background:linear-gradient(180deg,var(--coral),var(--lav));animation:eq 1.05s ease-in-out infinite}
.eq i:nth-child(1){height:45%;animation-delay:-.2s}
.eq i:nth-child(2){height:95%;animation-delay:-.55s}
.eq i:nth-child(3){height:60%;animation-delay:-.8s}
.eq i:nth-child(4){height:80%;animation-delay:-.35s}
.eq--sm{height:14px}
@keyframes eq{0%,100%{transform:scaleY(.45)}50%{transform:scaleY(1)}}

.float-chip{
  position:absolute;z-index:2;display:flex;align-items:center;gap:10px;
  padding:11px 15px;border-radius:16px;font-size:11px;
  background:linear-gradient(150deg,rgba(48,38,92,.85),rgba(22,18,50,.9));
}
.float-chip>div{display:grid;line-height:1.25}
.float-chip span{color:var(--dim-2);font-size:10px;letter-spacing:.04em}
.float-chip strong{font-size:12.5px;font-weight:600}
.float-chip .ic{width:16px;height:16px;color:var(--lav-soft)}
.float-chip--a{top:-22px;right:-26px;animation:bob 7s ease-in-out infinite}
.float-chip--b{bottom:-26px;left:-26px;animation:bob 8.5s ease-in-out infinite reverse}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}

/* ── sections ───────────────────────────────────────────── */
.board,.music,.how,.foot{scroll-margin-top:110px}
.board{padding:clamp(56px,7vw,96px) 0 clamp(40px,5vw,64px)}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;flex-wrap:wrap}
.sec-desc{color:var(--dim);font-size:14px;line-height:1.8;max-width:400px}
.sec-head--row{align-items:center}

.filters{display:flex;gap:8px;flex-wrap:wrap;margin:34px 0 26px}
.chip{
  height:38px;padding:0 17px;border-radius:999px;font-size:13.5px;font-weight:500;
  color:var(--ink-soft);background:rgba(255,255,255,.045);border:1px solid var(--line);
  transition:.22s var(--ease);
}
.chip:hover{color:var(--ink);background:rgba(255,255,255,.09)}
.chip.is-active{color:#22122b;background:var(--grad);border-color:transparent;font-weight:600;box-shadow:0 10px 26px -14px rgba(226,140,200,.9)}
.chip--sm{height:32px;padding:0 13px;font-size:12.5px}
.chip--sm.is-active{background:var(--grad);color:#22122b}

/* board grid */
.board-grid{
  display:grid;grid-template-columns:repeat(6,1fr);
  gap:14px;
}
.tile{
  position:relative;border-radius:24px;padding:20px 14px 16px;
  background:linear-gradient(165deg,rgba(255,255,255,.075),rgba(255,255,255,.022));
  border:1px solid var(--line);
  display:flex;flex-direction:column;align-items:center;gap:12px;
  text-align:center;transition:transform .28s var(--ease),border-color .28s,background .28s,box-shadow .28s;
  overflow:hidden;
}
.tile::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:radial-gradient(120% 80% at 50% 0%,rgba(180,140,242,.22),transparent 62%);
  opacity:0;transition:opacity .3s;
}
.tile:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.2);background:linear-gradient(165deg,rgba(255,255,255,.1),rgba(255,255,255,.03))}
.tile:hover::after{opacity:.7}
.tile.is-on{border-color:rgba(197,160,255,.5);background:linear-gradient(165deg,rgba(120,84,190,.28),rgba(243,166,155,.1))}
.tile.is-on::after{opacity:1}
.tile-orb{
  position:relative;width:78px;height:78px;border-radius:50%;display:grid;place-items:center;flex:none;
  background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.16),rgba(255,255,255,.03) 62%);
  border:1px solid rgba(255,255,255,.13);
  color:var(--lav-soft);
  transition:.35s var(--ease);
}
.tile-orb .ic{width:32px;height:32px;stroke-width:1.55}
.tile-orb::before{
  content:"";position:absolute;inset:-7px;border-radius:50%;
  background:conic-gradient(from 140deg,rgba(243,166,155,.55),rgba(180,140,242,.55),rgba(243,166,155,.55));
  filter:blur(12px);opacity:0;transition:opacity .35s;z-index:-1;
}
.tile:hover .tile-orb{color:#fff;border-color:rgba(255,255,255,.24)}
.tile.is-on .tile-orb{
  background:var(--grad);color:#1a0f26;border-color:transparent;
  box-shadow:0 0 0 1px rgba(255,255,255,.25), 0 14px 38px -10px rgba(200,140,230,.85);
  animation:orbPulse 3.4s ease-in-out infinite;
}
.tile.is-on .tile-orb::before{opacity:.85}
@keyframes orbPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.045)}}
.tile-name{font-size:14px;font-weight:600;letter-spacing:-.01em;line-height:1.35}
.tile-sub{font-size:11px;color:var(--dim-2);margin-top:-6px;display:flex;align-items:center;gap:5px;justify-content:center}
.tile-sub .live-dot{width:5px;height:5px;border-radius:50%;background:var(--coral);box-shadow:0 0 0 3px rgba(243,166,155,.18)}
.tile-vol{
  width:100%;display:flex;align-items:center;gap:6px;
  max-height:0;opacity:0;overflow:hidden;
  transition:max-height .35s var(--ease),opacity .3s,margin .3s;
}
.tile.is-on .tile-vol{max-height:26px;opacity:1;margin-top:2px}
.tile-vol .ic{width:13px;height:13px;color:var(--dim);flex:none}
.tile-vol input{width:100%;height:3px}
.tile.is-error .tile-orb{color:var(--coral-soft);border-color:rgba(243,166,155,.4)}
.tile-badge{
  position:absolute;top:10px;right:10px;font-size:9px;letter-spacing:.08em;
  padding:3px 7px;border-radius:999px;background:rgba(243,166,155,.18);
  color:var(--coral-soft);border:1px solid rgba(243,166,155,.28);font-weight:700;
}

/* range inputs */
input[type=range]{
  -webkit-appearance:none;appearance:none;background:transparent;margin:0;
  --fill:60%;
}
input[type=range]::-webkit-slider-runnable-track{
  height:3px;border-radius:3px;
  background:linear-gradient(90deg,var(--coral-soft) 0,var(--lav) var(--fill),rgba(255,255,255,.14) var(--fill));
}
input[type=range]::-moz-range-track{height:3px;border-radius:3px;background:rgba(255,255,255,.16)}
input[type=range]::-moz-range-progress{height:3px;border-radius:3px;background:var(--grad)}
input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;width:12px;height:12px;border-radius:50%;
  background:#fff;margin-top:-4.5px;box-shadow:0 2px 8px rgba(0,0,0,.5);
}
input[type=range]::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:50%;background:#fff}
.tile-vol input{--fill:50%}

.board-note{
  display:flex;align-items:center;gap:8px;margin-top:22px;
  font-size:12.5px;color:var(--dim-2);
}
.board-note .ic{width:14px;height:14px;color:var(--lav)}

/* ── carousel ───────────────────────────────────────────── */
.music{padding:clamp(48px,6vw,88px) 0}
.carousel-nav{display:flex;gap:8px}
.carousel{
  display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x proximity;
  scroll-padding-inline:max(20px,calc((100vw - var(--wrap))/2 + 40px));
  padding:30px max(20px,calc((100vw - var(--wrap))/2 + 40px)) 16px;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
.carousel::-webkit-scrollbar{display:none}
.card{
  flex:0 0 300px;scroll-snap-align:start;
  border-radius:24px;overflow:hidden;border:1px solid var(--line);
  background:linear-gradient(170deg,rgba(255,255,255,.08),rgba(255,255,255,.02));
  transition:transform .3s var(--ease),border-color .3s,box-shadow .3s;
  position:relative;
}
.card:hover{transform:translateY(-5px);border-color:rgba(255,255,255,.22);box-shadow:0 26px 50px -24px rgba(0,0,0,.9)}
.card-thumb{position:relative;aspect-ratio:16/9;overflow:hidden;background:#161033}
.card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease),filter .4s;filter:saturate(.85) brightness(.82)}
.card:hover .card-thumb img{transform:scale(1.05);filter:saturate(1) brightness(.9)}
.card-thumb::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(9,8,26,.05) 0%,rgba(9,8,26,.15) 55%,rgba(9,8,26,.9) 100%);
}
.card-badge{
  position:absolute;top:10px;left:10px;z-index:2;
  font-size:10.5px;font-weight:600;padding:4px 9px;border-radius:999px;
  background:rgba(9,8,26,.62);border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(8px);color:var(--ink-soft);
}
.card-badge--live{color:var(--coral-soft);border-color:rgba(243,166,155,.35);background:rgba(60,20,34,.6)}
.card-play{
  position:absolute;right:12px;bottom:12px;z-index:3;
  width:44px;height:44px;border-radius:50%;display:grid;place-items:center;
  background:var(--grad);color:#1a0f26;
  box-shadow:0 10px 26px -8px rgba(226,140,200,.9);
  transition:transform .25s var(--ease);
}
.card:hover .card-play{transform:scale(1.08)}
.card-play .ic{width:18px;height:18px}
.card.is-on .card-play{background:#fff}
.card-body{padding:15px 16px 17px}
.card-title{font-size:14.5px;font-weight:600;line-height:1.45;letter-spacing:-.01em;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px}
.card-meta{margin-top:9px;font-size:11.5px;color:var(--dim-2);display:flex;align-items:center;gap:6px}

/* ── how ────────────────────────────────────────────────── */
.how{padding:clamp(24px,3.5vw,52px) 0 clamp(60px,7vw,96px)}
.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.how-card{border-radius:24px;padding:26px 24px 28px;position:relative;overflow:hidden}
.how-num{
  font-family:var(--serif);font-size:12px;letter-spacing:.16em;color:var(--coral-soft);
  display:block;margin-bottom:14px;
}
.how-card h3{font-size:17px;font-weight:600;letter-spacing:-.01em}
.how-card p{margin-top:8px;font-size:13.5px;color:var(--dim);line-height:1.75}

/* ── footer ─────────────────────────────────────────────── */
.foot{border-top:1px solid rgba(255,255,255,.06);padding:36px 0 44px}
.foot-inner{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.brand--foot .brand-name{font-size:18px}
.brand--foot .brand-mark{width:28px;height:28px}
.foot p{font-size:12.5px;color:var(--dim-2);line-height:1.7}
.foot-copy{margin-left:auto;font-size:11.5px;color:var(--dim-2);letter-spacing:.08em}

/* ── mini player ────────────────────────────────────────── */
.player{
  position:fixed;z-index:70;left:50%;bottom:22px;transform:translate(-50%,150%);
  width:min(1020px,calc(100% - 32px));
  border-radius:26px;padding:13px 16px;
  display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:20px;
  background:linear-gradient(120deg,rgba(34,27,70,.92),rgba(18,14,42,.94));
  border:1px solid rgba(255,255,255,.14);
  transition:transform .45s var(--ease),opacity .35s;
  opacity:0;
}
body.has-player .player{transform:translate(-50%,0);opacity:1}
.player-main{display:flex;align-items:center;gap:13px;min-width:0}
.player-art{
  width:46px;height:46px;border-radius:14px;flex:none;display:grid;place-items:center;
  background:linear-gradient(140deg,rgba(243,166,155,.85),rgba(180,140,242,.9));
  color:#20122c;
}
.player-art .ic{width:22px;height:22px;stroke-width:1.7}
.player-meta{min-width:0;line-height:1.35}
.player-kicker{display:block;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--dim-2)}
.player-title{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.player-controls{display:flex;gap:8px}
.player-timer{display:flex;align-items:center;gap:9px}
.player-timer-label{display:none}
.player-count{font-variant-numeric:tabular-nums;font-size:13px;font-weight:600;color:var(--lav-soft);min-width:46px;text-align:right}
.player-extra{display:flex;align-items:center}
#videoToggle[aria-pressed="true"]{background:rgba(180,140,242,.2);border-color:rgba(180,140,242,.4);color:#fff}

/* ── video stage ────────────────────────────────────────── */
.stage{
  position:fixed;z-index:65;right:26px;bottom:112px;
  width:344px;border-radius:20px;overflow:hidden;
  left:-9999px;opacity:0;pointer-events:none;
  transition:opacity .3s;
  padding:0;background:rgba(12,9,30,.94);
}
body.video-on .stage{left:auto;opacity:1;pointer-events:auto}
.stage-head{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:8px 8px 8px 14px;font-size:11.5px;color:var(--dim);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.stage-head span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stage-body{position:relative;height:193px;background:#000}
.stage-body iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ── toast ──────────────────────────────────────────────── */
.toast{
  position:fixed;z-index:90;left:50%;bottom:112px;transform:translate(-50%,16px);
  padding:11px 18px;border-radius:999px;font-size:13px;
  background:rgba(28,22,58,.95);border:1px solid rgba(255,255,255,.16);
  box-shadow:0 18px 40px -18px rgba(0,0,0,.9);
  opacity:0;pointer-events:none;transition:.32s var(--ease);
  max-width:calc(100% - 40px);text-align:center;
}
.toast.is-on{opacity:1;transform:translate(-50%,0)}

/* off-screen players */
#ytStage{position:fixed;left:-10000px;top:0;width:320px;height:180px;opacity:.01;pointer-events:none;overflow:hidden}
#ytStage iframe{width:100%;height:100%;border:0}

/* ============================================================
   responsive
   ============================================================ */
@media (max-width:1080px){
  .nav-links{display:none}
  .hero-grid{grid-template-columns:1fr;gap:52px}
  .hero-visual{min-height:auto;margin-top:8px}
  .dash{width:min(440px,100%)}
  .float-chip--a{right:0}
  .float-chip--b{left:0;bottom:-14px}
  .how-grid{grid-template-columns:1fr 1fr}
  .sec-head{gap:18px}
  .board-grid{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:1180px) and (min-width:1081px){
  .board-grid{grid-template-columns:repeat(5,1fr)}
}
@media (min-width:721px){
  .player-timer-label{display:none}
}
@media (max-width:860px){
  .player{grid-template-columns:1fr auto;grid-template-areas:"main main" "timer extra";gap:10px 12px;padding:12px 14px;border-radius:22px}
  .player-main{grid-area:main}
  .player-timer{grid-area:timer;overflow-x:auto;scrollbar-width:none}
  .player-timer::-webkit-scrollbar{display:none}
  .player-extra{grid-area:extra}
  .timer-chips{display:flex;gap:6px}
  .player-count{min-width:auto}
  .stage{right:16px;left:auto;bottom:150px;width:min(320px,calc(100% - 32px))}
  body.video-on .stage{left:auto}
  .stage-body{height:180px}
  .toast{bottom:150px}
  body.has-player{padding-bottom:170px}
  .foot-copy{margin-left:0;width:100%}
}
@media (max-width:720px){
  body{padding-bottom:0}
  .nav{height:60px;padding:0 8px 0 14px;gap:10px}
  .nav-wrap{padding:12px}
  .brand-mark{width:30px;height:30px}
  .brand-name{font-size:19px}
  .brand-sub{display:none}
  .nav-actions .btn--ghost{display:none}
  .btn--sm{height:40px;padding:0 16px;font-size:13px}
  .hero{padding:108px 0 20px}
  .hero-copy h1{font-size:clamp(30px,8.4vw,38px);line-height:1.36;margin:16px 0 18px}
  .br-mo{display:block}
  .lead{font-size:14.5px;line-height:1.75}
  .hero-cta{margin-top:26px;gap:10px}
  .btn--lg{height:52px;padding:0 22px;font-size:14.5px;flex:1;min-width:0}
  .hero-cta .btn--glass{flex:0 0 auto;padding:0 18px}
  .hero-facts{margin-top:22px;gap:16px;font-size:12px}
  .br-wide{display:none}
  .dash{padding:20px;border-radius:26px}
  .dash-main{gap:16px}
  .ring{width:100px;height:100px}
  .ring-label strong{font-size:26px}
  .dash-list{font-size:12px}
  .dash-list strong{font-size:12px}
  .float-chip{display:none}
  .board{padding-top:34px}
  .sec-title{font-size:clamp(25px,7.2vw,32px)}
  .sec-desc{font-size:13.5px}
  .filters{margin:24px 0 20px;gap:7px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;margin-inline:-20px;padding-inline:20px}
  .filters::-webkit-scrollbar{display:none}
  .chip{height:36px;padding:0 14px;font-size:13px;flex:none}
  .board-grid{grid-template-columns:repeat(3,1fr);gap:9px}
  .tile{padding:15px 8px 13px;border-radius:20px;gap:9px}
  .tile-orb{width:60px;height:60px}
  .tile-orb .ic{width:26px;height:26px}
  .tile-name{font-size:12.5px;line-height:1.3}
  .tile-sub{font-size:10px;gap:4px}
  .tile-badge{top:7px;right:7px;font-size:8px;padding:2px 6px}
  .tile-vol .ic{display:none}
  .tile.is-on .tile-vol{max-height:22px}
  .board-note{font-size:11.5px;line-height:1.6}
  .music{padding-top:40px}
  .carousel-nav{display:none}
  .card{flex:0 0 76vw;max-width:300px}
  .carousel{padding-left:20px;padding-right:20px;gap:14px;scroll-padding-left:20px}
  .how-grid{grid-template-columns:1fr;gap:10px}
  .how-card{padding:20px}
  .how{padding-top:28px}
  .foot{padding:28px 0 120px}
  .foot-inner{gap:14px}
  .player{width:calc(100% - 24px);bottom:12px;padding:11px 12px 12px;border-radius:22px}
  .player-art{width:42px;height:42px;border-radius:12px}
  .player-title{font-size:13px}
  .round-btn{width:42px;height:42px}
  body.has-player{padding-bottom:158px}
  .stage{right:12px;left:auto;bottom:158px;width:calc(100% - 24px)}
  body.video-on .stage{left:auto}
  .stage-body{height:190px}
  .toast{bottom:158px}
  .br-mo{display:block}
}
@media (max-width:380px){
  .board-grid{grid-template-columns:repeat(2,1fr)}
  .tile-orb{width:68px;height:68px}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001s!important;animation-iteration-count:1!important;transition-duration:.001s!important}
  html{scroll-behavior:auto}
}
