/* ============================================================
   JW.VAULT — design system
   ============================================================ */
:root {
  --bg: #050507;
  --bg-1: #0b0b10;
  --bg-2: #101017;
  --card: #0e0e14;
  --line: rgba(255,255,255,0.07);
  --line-2: rgba(255,255,255,0.14);
  --text: #f5f5f7;
  --muted: #8a8a96;
  --dim: #5b5b66;
  --a1: #8c78ff;
  --a2: #ff5fa2;
  --a3: #3ee0ff;
  --grad: linear-gradient(120deg, var(--a1), var(--a2) 55%, var(--a3));
  --tint: #8c78ff;
  --glow: rgba(140,120,255,0.16);
  --green: #3ddc84;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --r: 16px;
  --head: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 12px); }
body {
  background: var(--bg); color: var(--text);
  font: 14px/1.5 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
img { display: block; }
::selection { background: var(--a1); color: #fff; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; animation-timing-function: var(--ease); }
.page-head { view-transition-name: page-head; }
.top { view-transition-name: top; }

/* ---------- ambience ---------- */
.bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(140,120,255,0.13), transparent 60%),
    radial-gradient(700px 420px at -10% 10%, rgba(255,95,162,0.07), transparent 60%),
    var(--bg);
}
.bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.35;
}
.glow {
  position: fixed; width: 560px; height: 560px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, var(--glow), transparent 65%);
  pointer-events: none; left: -999px; top: -999px; transform: translate(-50%, -50%);
}

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 40; height: var(--head);
  display: flex; align-items: center; gap: 18px;
  padding: 0 clamp(14px, 3vw, 32px);
  background: rgba(5,5,7,0.72); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--display); font-style: italic; font-weight: 900; font-size: 19px; letter-spacing: -0.03em;
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px; background: var(--grad);
  display: grid; place-items: center; font-size: 12px; color: #000; font-weight: 900; letter-spacing: -0.04em;
  box-shadow: 0 6px 20px -6px var(--a1);
}
.brand span { color: var(--dim); }
.tabs {
  position: relative; display: flex; gap: 2px; padding: 4px; margin: 0 auto;
  background: rgba(255,255,255,0.035); border: 1px solid var(--line); border-radius: 999px;
}
.tabs a {
  position: relative; z-index: 1;
  font-family: var(--display); font-style: italic; font-weight: 800; font-size: 12.5px;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 8px 15px; border-radius: 999px; color: var(--muted);
  transition: color 0.3s var(--ease); white-space: nowrap;
}
.tabs a:hover { color: var(--text); }
.tabs a.is-on { color: #000; }
.tab-ind {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px;
  background: var(--text); transition: transform 0.45s var(--ease), width 0.45s var(--ease);
}
.top-right { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--muted); transition: all 0.25s var(--ease);
}
.icon-btn:hover { color: var(--text); border-color: var(--line-2); background: rgba(255,255,255,0.04); }
.icon-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- page head (compact hero) ---------- */
main { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 0 clamp(14px, 3vw, 32px) 80px; }
.page-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 34px 0 22px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-style: italic; font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.ph-title {
  font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(40px, 6.4vw, 76px); line-height: 0.92; letter-spacing: -0.045em; margin-top: 8px;
}
.ph-title em { font-style: inherit; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph-sub { color: var(--muted); max-width: 470px; margin-top: 10px; font-size: 14.5px; }
.ph-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.stat {
  min-width: 96px; padding: 12px 16px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
}
.stat b { display: block; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 26px; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }

/* ---------- toolbar ---------- */
.toolbar {
  position: sticky; top: var(--head); z-index: 30;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 12px 0; margin-bottom: 6px;
  background: linear-gradient(180deg, rgba(5,5,7,0.94) 70%, rgba(5,5,7,0));
}
.search {
  flex: 1 1 260px; min-width: 0; max-width: 420px;
  display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 12px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.search:focus-within { border-color: var(--line-2); box-shadow: 0 0 0 4px rgba(140,120,255,0.12); }
.search svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; }
.search input::placeholder { color: var(--dim); }
.search input::-webkit-search-cancel-button { display: none; }
kbd { font: 11px var(--body); color: var(--dim); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 6px; }
.seg {
  display: inline-flex; padding: 3px; gap: 2px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
}
.seg button {
  font-family: var(--display); font-style: italic; font-weight: 800; font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted); padding: 8px 12px; border-radius: 9px; transition: all 0.25s var(--ease);
}
.seg button:hover { color: var(--text); }
.seg button.is-on { background: var(--text); color: #000; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 14px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text);
  font-family: var(--display); font-style: italic; font-weight: 800; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase;
  transition: all 0.25s var(--ease); white-space: nowrap;
}
.btn:hover { border-color: var(--line-2); transform: translateY(-1px); }
.btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn.is-on { background: rgba(255,95,162,0.12); border-color: rgba(255,95,162,0.45); color: #ff8fbf; }
.btn-primary { background: var(--text); color: #000; border-color: var(--text); position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.7) 50%, transparent 70%); transform: translateX(-120%);
}
.btn-primary:hover::after { transform: translateX(120%); transition: transform 0.7s var(--ease); }
.btn-grad { background: var(--grad); color: #000; border: 0; }
.btn-soon { background: rgba(255,255,255,0.06); color: var(--dim); pointer-events: none; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; }
.chip {
  font-size: 12.5px; font-weight: 500; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); transition: all 0.2s var(--ease);
}
.chip span { opacity: 0.55; font-size: 11px; margin-left: 3px; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.is-on { background: var(--text); color: #000; border-color: var(--text); }
.count-line { font-size: 12px; color: var(--dim); margin: -8px 0 10px; }
.empty { text-align: center; color: var(--muted); padding: 50px 0; font-family: var(--display); font-style: italic; font-weight: 700; font-size: 17px; }

/* ---------- pack cards ---------- */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card {
  position: relative; border-radius: var(--r); overflow: hidden; background: var(--card);
  border: 1px solid var(--line); isolation: isolate;
  animation: rise-in 0.6s var(--ease) backwards;
  transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s var(--ease);
}
@keyframes rise-in { from { opacity: 0; transform: translateY(16px) scale(0.985); } }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 24px 50px -24px rgba(0,0,0,0.9), 0 0 0 1px rgba(140,120,255,0.18); }
.card-link { position: absolute; inset: 0; z-index: 3; }
.thumb { position: relative; aspect-ratio: 1; overflow: hidden; background: #000; }
.thumb img, .thumb video, .thumb .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb img { transition: transform 0.8s var(--ease); }
.thumb video { opacity: 0; transition: opacity 0.45s var(--ease); }
.card.is-previewing .thumb video { opacity: 1; }
.card:hover .thumb img { transform: scale(1.05); }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.6)); pointer-events: none; }
.cover {
  display: flex; align-items: flex-end; padding: 14px;
  font-family: var(--display); font-style: italic; font-weight: 900; font-size: 26px; line-height: 0.92; text-transform: uppercase;
}
.pill {
  position: absolute; z-index: 4; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px; background: rgba(0,0,0,0.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.12);
}
.pill-new { top: 10px; left: 10px; background: #fff; color: #000; border-color: #fff; }
.pill-live { bottom: 10px; left: 10px; display: flex; align-items: center; gap: 5px; opacity: 0; transition: opacity 0.3s; }
.pill-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff4d4d; }
.card.is-previewing .pill-live { opacity: 1; }
.fav {
  position: absolute; z-index: 5; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12); color: #fff; transition: transform 0.25s var(--ease), color 0.25s, background 0.25s;
}
.fav svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.fav:hover { transform: scale(1.1); }
.fav.is-on { color: var(--a2); background: rgba(255,95,162,0.16); border-color: rgba(255,95,162,0.5); }
.fav.is-on svg { fill: currentColor; }
.fav.pop { animation: pop 0.4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } }
.card-body { padding: 12px 14px 14px; }
.card-show { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.card-title { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; line-height: 1.15; margin-top: 2px; }
.tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.tag { font-size: 10.5px; font-weight: 500; color: var(--muted); padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,0.05); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.meta { display: flex; gap: 10px; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.meta b { color: var(--text); font-weight: 600; }
.card .btn { position: relative; z-index: 4; height: 34px; padding: 0 12px; font-size: 11px; }

/* ---------- pack page ---------- */
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-family: var(--display); font-style: italic; font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 22px; transition: color 0.2s, gap 0.3s var(--ease); }
.back:hover { color: var(--text); gap: 10px; }
.back svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pack-top { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(20px, 4vw, 40px); align-items: center; padding: 18px 0 26px; }
.pack-cover { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: 0 30px 90px -40px var(--tint); }
.pack-cover img, .pack-cover video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pack-cover video { opacity: 0; transition: opacity 0.5s; }
.pack-cover.is-previewing video { opacity: 1; }
.pack-title { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 5.5vw, 64px); line-height: 0.92; letter-spacing: -0.04em; margin: 6px 0 10px; }
.pack-info .ph-stats { margin-top: 16px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.actions .btn { height: 44px; padding: 0 18px; font-size: 12.5px; }
.folder { margin-top: 12px; font-size: 12px; color: var(--muted); }
.folder b { color: var(--text); font-weight: 500; }
.rows { list-style: none; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg-1); }
.row {
  display: grid; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line);
  animation: rise-in 0.45s var(--ease) backwards; transition: background 0.2s;
}
.row:first-child { border-top: 0; }
.row:hover { background: rgba(255,255,255,0.03); }
.clip-row { grid-template-columns: 30px 46px minmax(0,1fr) minmax(70px, 180px) 80px; }
.n { font-size: 11.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.ext { justify-self: start; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; padding: 3px 6px; border-radius: 5px; background: rgba(255,255,255,0.06); color: var(--muted); }
.name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.06); overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, rgba(255,255,255,0.3), var(--tint)); border-radius: inherit; transform-origin: left; animation: grow 0.9s var(--ease) backwards; }
@keyframes grow { from { transform: scaleX(0); } }
.size { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 12.5px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 6px 0 10px; }
.sec-head h2 { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 24px; text-transform: uppercase; letter-spacing: -0.02em; }
.sec-head h2 span { color: var(--dim); font-size: 15px; margin-left: 6px; letter-spacing: 0; }

/* ---------- audios ---------- */
.track-row { grid-template-columns: 38px minmax(0,1fr) 54px minmax(100px, 220px) 46px 30px 30px 30px; }
.play {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); transition: all 0.25s var(--ease);
}
.play svg { width: 13px; height: 13px; fill: currentColor; }
.play:hover { transform: scale(1.08); border-color: var(--text); }
.row.is-cur { background: linear-gradient(90deg, rgba(140,120,255,0.12), rgba(255,255,255,0.02)); }
.row.is-cur .play { background: var(--text); color: #000; border-color: var(--text); }
.i-pause { display: none; }
.row.is-playing .i-play, .player.is-playing .pmain .i-play { display: none; }
.row.is-playing .i-pause, .player.is-playing .pmain .i-pause { display: block; }
.t-meta { min-width: 0; display: flex; flex-direction: column; }
.t-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.is-cur .t-title { font-family: var(--display); font-style: italic; font-weight: 800; }
.t-sub { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bpm { justify-self: start; font-size: 10.5px; font-weight: 700; font-variant-numeric: tabular-nums; padding: 3px 7px; border-radius: 6px; background: rgba(62,224,255,0.08); color: #8be9ff; white-space: nowrap; }
.wave { width: 100%; height: 32px; cursor: pointer; }
.dur { text-align: right; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.mini {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--dim); transition: all 0.2s var(--ease);
}
.mini svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mini:hover { color: var(--text); background: rgba(255,255,255,0.07); }
.mini.is-on { color: var(--a2); }
.mini.is-on svg { fill: currentColor; }
.more { height: 1px; }

.player {
  position: fixed; left: 50%; bottom: 14px; z-index: 45; width: min(960px, calc(100% - 20px)); transform: translateX(-50%);
  background: rgba(12,12,17,0.86); backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.85);
  animation: player-in 0.5s var(--ease);
}
@keyframes player-in { from { opacity: 0; transform: translate(-50%, 24px); } }
.player-in { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 10px 14px; }
.pbtns { display: flex; gap: 6px; align-items: center; }
.pbtn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: all 0.2s; }
.pbtn:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.pbtn svg { width: 15px; height: 15px; fill: currentColor; }
.pmain { width: 42px; height: 42px; background: var(--text); color: #000; }
.pmain:hover { background: #fff; color: #000; transform: scale(1.05); }
.pmid { min-width: 0; }
.ptitle { display: flex; gap: 8px; align-items: baseline; min-width: 0; }
.ptitle strong { font-family: var(--display); font-style: italic; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptitle span { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.pseek { display: flex; align-items: center; gap: 10px; margin-top: 5px; font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pright { display: flex; gap: 8px; align-items: center; }
input[type=range] {
  -webkit-appearance: none; appearance: none; flex: 1; height: 4px; border-radius: 4px; cursor: pointer; outline: 0;
  background: linear-gradient(90deg, var(--text) var(--p, 0%), rgba(255,255,255,0.14) var(--p, 0%));
}
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #fff; }
#vol { width: 84px; flex: none; }
body.has-player main { padding-bottom: 120px; }

/* ---------- shop ---------- */
.shop-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.prod { display: flex; flex-direction: column; }
.prod .card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 22px; letter-spacing: -0.02em; }
.pill-sale { top: 10px; left: 10px; background: var(--a2); color: #000; border-color: var(--a2); }
.prod .card-foot { margin-top: auto; }

/* ---------- tools ---------- */
.tool-groups { display: grid; gap: 26px; }
.tool-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.tool {
  position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center;
  padding: 14px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
  animation: rise-in 0.5s var(--ease) backwards; transition: transform 0.35s var(--ease), border-color 0.25s, background 0.25s;
}
.tool:hover { transform: translateY(-2px); border-color: var(--line-2); background: #12121a; }
.tool-ic { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,0.04); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.tool-ic img { width: 40px; height: 40px; object-fit: contain; }
.tool-name { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.price-pill { font-family: var(--body); font-style: normal; font-weight: 600; font-size: 10.5px; letter-spacing: 0.02em; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,0.07); color: var(--muted); }
.price-pill.free { background: rgba(61,220,132,0.12); color: var(--green); }
.tool-desc { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.tool-links { display: flex; gap: 10px; margin-top: 8px; font-size: 12px; font-weight: 600; }
.tool-links a { display: inline-flex; gap: 4px; align-items: center; color: var(--text); opacity: 0.85; transition: opacity 0.2s; }
.tool-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.tool-links a.sub { color: var(--muted); }
.group-title { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 20px; text-transform: uppercase; letter-spacing: -0.01em; }
.group-title span { color: var(--dim); font-size: 13px; }
.note { font-size: 12px; color: var(--dim); margin-top: 18px; }

/* ---------- request ---------- */
.req-wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; align-items: start; }
.panel { border-radius: 20px; background: var(--card); border: 1px solid var(--line); padding: 22px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.field input, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; outline: 0;
  transition: border-color 0.2s, box-shadow 0.2s; resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--line-2); box-shadow: 0 0 0 4px rgba(140,120,255,0.12); }
.hp { position: absolute; left: -9999px; }
.form-msg { font-size: 13px; margin-top: 10px; min-height: 20px; }
.form-msg.err { color: #ff7b7b; }
.done { text-align: center; padding: 30px 10px; }
.done h3 { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 30px; text-transform: uppercase; }
.done p { color: var(--muted); margin: 6px 0 16px; }
.steps { display: grid; gap: 12px; }
.steps div { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.steps b { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,0.06); font-family: var(--display); font-style: italic; }
.steps p { font-size: 13px; color: var(--muted); }
.steps strong { color: var(--text); font-weight: 600; display: block; }

/* ---------- toast + footer ---------- */
.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 60; transform: translate(-50%, 20px); opacity: 0;
  padding: 10px 16px; border-radius: 12px; background: #fff; color: #000; font-weight: 600; font-size: 13px;
  transition: all 0.35s var(--ease); pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.foot { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 22px clamp(14px, 3vw, 32px); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); max-width: 1280px; margin: 0 auto; }
.foot strong { color: var(--text); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .top { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 8px; row-gap: 8px; }
  :root { --head: 104px; }
  .tabs { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; margin: 0; }
  .tabs::-webkit-scrollbar { display: none; }
  .top-right { margin-left: auto; }
  .req-wrap { grid-template-columns: 1fr; }
  .track-row { grid-template-columns: 34px minmax(0,1fr) 46px 40px 30px; }
  .track-row .wave, .track-row .copy, .track-row .favb { display: none; }
}
@media (max-width: 640px) {
  .page-head { padding: 22px 0 14px; }
  .ph-stats { width: 100%; }
  .stat { flex: 1; min-width: 0; padding: 10px 12px; }
  .stat b { font-size: 21px; }
  .grid, .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-title { font-size: 16px; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .card .btn { width: 100%; }
  .pack-top { grid-template-columns: 1fr; }
  .pack-cover { max-width: 340px; }
  .clip-row { grid-template-columns: 26px minmax(0,1fr) 70px; }
  .clip-row .ext, .clip-row .bar { display: none; }
  .tool-grid { grid-template-columns: 1fr; }
  .player-in { grid-template-columns: auto 1fr; gap: 10px; }
  .pright, #prev { display: none; }
  .search { max-width: none; flex-basis: 100%; }
  kbd { display: none; }
  .glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
}
