/* ── SPONGE ─────────────────────────────────────────────── */
:root {
  --bg: #0a0a09;
  --bg-2: #121210;
  --panel: #171714;
  --line: #2a2a25;
  --line-2: #3a3a33;
  --text: #f2efe4;
  --muted: #9a978b;
  --dim: #6b6960;
  --sponge: #ffe14d;
  --sponge-2: #ffd000;
  --sponge-ink: #1a1600;
  --coral: #ff6b4a;
  --sea: #4ad9c5;
  --ok: #7be38a;
  --err: #ff6b6b;
  --radius: 14px;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --player-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased;
  padding-bottom: var(--player-h); overflow-x: hidden;
}
body::before { /* film grain */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--sponge); color: var(--sponge-ink); }
:focus-visible { outline: 2px solid var(--sponge); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }
.hl { color: var(--sponge); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; font-weight: 600; font-size: 15px; transition: .2s; white-space: nowrap;
}
.btn:hover { border-color: var(--text); }
.btn-sponge { background: var(--sponge); color: var(--sponge-ink); border-color: var(--sponge); }
.btn-sponge:hover { background: #fff; border-color: #fff; transform: translateY(-1px); box-shadow: 0 10px 30px -10px var(--sponge); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; height: 68px; gap: 28px; }
.logo { font: 800 24px/1 var(--display); letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--sponge); position: relative; overflow: hidden; }
.logo-mark::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 30%, var(--bg) 0 2.5px, transparent 3px),
              radial-gradient(circle at 70% 25%, var(--bg) 0 2px, transparent 2.5px),
              radial-gradient(circle at 55% 65%, var(--bg) 0 3.5px, transparent 4px),
              radial-gradient(circle at 20% 78%, var(--bg) 0 1.8px, transparent 2.3px),
              radial-gradient(circle at 85% 80%, var(--bg) 0 1.5px, transparent 2px);
}
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 15px; transition: .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--panel); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: .2s; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links, .nav-cta { display: none; }
  .nav.open .nav-links, .nav.open .nav-cta {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; background: var(--bg); padding: 12px var(--pad);
  }
  .nav.open .nav-links { top: 68px; border-bottom: 0; }
  .nav.open .nav-cta { top: calc(68px + 4 * 44px + 12px); padding-bottom: 20px; border-bottom: 1px solid var(--line); align-items: stretch; }
  .nav.open .nav-links a { font-size: 18px; padding: 10px 0; background: none; }
}

/* ── Hero ── */
.hero { position: relative; padding: clamp(60px, 10vw, 120px) 0 60px; overflow: hidden; }
.hero-pores { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.hero-pores span {
  position: absolute; border-radius: 50%; border: 1px solid var(--line-2);
  animation: float 14s ease-in-out infinite;
}
@keyframes float { 50% { transform: translate(0, -18px) scale(1.04); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--line-2); border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px transparent; } }
.hero h1 {
  font: 800 clamp(64px, 15vw, 210px)/.82 var(--display); letter-spacing: -.055em; margin: 28px 0 0;
  position: relative;
}
.hero h1 .sponge-word { color: var(--sponge); display: inline-block; position: relative; }
.hero h1 .sponge-word::after { /* pores punched through the word */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 14% 30%, var(--bg) 0 .045em, transparent .05em),
    radial-gradient(circle at 31% 68%, var(--bg) 0 .03em, transparent .035em),
    radial-gradient(circle at 52% 26%, var(--bg) 0 .038em, transparent .043em),
    radial-gradient(circle at 66% 72%, var(--bg) 0 .05em, transparent .055em),
    radial-gradient(circle at 83% 38%, var(--bg) 0 .028em, transparent .033em),
    radial-gradient(circle at 92% 75%, var(--bg) 0 .035em, transparent .04em);
}
.hero-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-top: 40px; }
.hero-lede { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--muted); max-width: 520px; margin: 0; }
.hero-lede strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 70px; }
.stat { padding: 26px 0; border-left: 1px solid var(--line); padding-left: 22px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font: 700 clamp(32px, 4vw, 48px)/1 var(--display); letter-spacing: -.03em; }
.stat .mono { color: var(--dim); }
@media (max-width: 820px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ── Marquee ── */
.marquee { overflow: hidden; background: var(--sponge); color: var(--sponge-ink); padding: 16px 0; transform: rotate(-1.5deg); margin: 40px -20px; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: scroll 28s linear infinite; font: 800 clamp(24px, 3vw, 36px)/1 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.marquee-track span { display: flex; align-items: center; gap: 40px; }
.marquee-track span::after { content: '✺'; font-size: .7em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ── Sections ── */
section { padding: clamp(60px, 9vw, 110px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head h2 { font: 800 clamp(40px, 6vw, 76px)/.95 var(--display); letter-spacing: -.045em; margin: 10px 0 0; }
.sec-head p { max-width: 420px; color: var(--muted); margin: 0; }
.kicker { color: var(--sponge); }

/* ── About ── */
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.about-card {
  aspect-ratio: 4/5; border-radius: 24px; position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 20% 10%, #3b3410 0%, transparent 60%), radial-gradient(100% 80% at 90% 100%, #16352f 0%, transparent 60%), var(--panel);
  border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; padding: 28px;
}
.about-card .big { font: 800 clamp(80px, 12vw, 150px)/.8 var(--display); letter-spacing: -.06em; color: var(--sponge); }
.about-card canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.about-card > * { position: relative; }
.about-text p { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.55; margin: 0 0 22px; color: var(--muted); }
.about-text p:first-child { color: var(--text); font: 600 clamp(24px, 2.6vw, 32px)/1.3 var(--display); letter-spacing: -.02em; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; }
.service { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.service b { display: block; font: 700 18px/1.2 var(--display); margin: 10px 0 4px; }
.service small { color: var(--muted); font-size: 14px; }
.service .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--panel); color: var(--sponge); }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .about-card { aspect-ratio: 16/11; } .services { grid-template-columns: 1fr; } }

/* ── Work ── */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.work-card {
  grid-column: span 4; border: 1px solid var(--line); border-radius: 20px; padding: 28px; min-height: 280px;
  display: flex; flex-direction: column; background: var(--bg-2); transition: .25s; position: relative; overflow: hidden;
}
.work-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.work-card.feature { grid-column: span 8; grid-row: span 2; min-height: 576px; background: #0d1512; }
.work-card .work-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.work-card .art-img { object-fit: cover; object-position: 66% 60%; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.work-card:hover .art-img { transform: scale(1.05); }
.work-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 9, .08) 0%, rgba(10, 10, 9, .12) 38%, rgba(10, 10, 9, .9) 100%); pointer-events: none; }
.work-card .tag { align-self: flex-start; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.work-card h3 { font: 800 clamp(28px, 3vw, 40px)/1 var(--display); letter-spacing: -.035em; margin: auto 0 10px; position: relative; }
.work-card.feature h3 { font-size: clamp(54px, 8vw, 110px); }
.work-card p { color: var(--muted); margin: 0; position: relative; }
.work-card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; color: var(--dim); position: relative; }
.work-card.cta { background: var(--sponge); color: var(--sponge-ink); border-color: var(--sponge); }
.work-card.cta p, .work-card.cta .meta { color: #4a4100; }
.work-card.cta .tag { border-color: #00000030; color: var(--sponge-ink); }
.work-card .visit { display: inline-flex; gap: 6px; align-items: center; color: var(--sponge); }
@media (max-width: 960px) { .work-card, .work-card.feature { grid-column: span 12; } .work-card.feature { min-height: 440px; } }

/* ── Beats ── */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; align-items: center; }
.chip { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-2); background: none; font-size: 14px; font-weight: 500; color: var(--muted); transition: .15s; }
.chip:hover { color: var(--text); }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.search { flex: 1; min-width: 200px; max-width: 320px; margin-left: auto; position: relative; }
.search input { width: 100%; padding: 10px 16px 10px 40px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dim); }

.beat-list { border-top: 1px solid var(--line); }
.beat {
  display: grid; grid-template-columns: 56px 64px 1.6fr 1fr 80px 100px auto; gap: 18px; align-items: center;
  padding: 14px 10px; border-bottom: 1px solid var(--line); transition: background .15s; border-radius: 0;
}
.beat:hover { background: var(--bg-2); }
.beat.playing { background: linear-gradient(90deg, color-mix(in srgb, var(--sponge) 10%, transparent), transparent 60%); }
.beat-n { color: var(--dim); text-align: center; }
.play-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: none;
  display: grid; place-items: center; transition: .15s; flex-shrink: 0;
}
.play-btn:hover, .beat.playing .play-btn { background: var(--sponge); border-color: var(--sponge); color: var(--sponge-ink); }
.cover { width: 64px; height: 64px; border-radius: 10px; position: relative; overflow: hidden; flex-shrink: 0; }
.cover::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, #0006 0 6%, transparent 7%), radial-gradient(circle at 70% 60%, #0005 0 9%, transparent 10%),
              radial-gradient(circle at 45% 82%, #0004 0 5%, transparent 6%), radial-gradient(circle at 82% 18%, #0004 0 4%, transparent 5%);
}
.beat-title b { display: block; font: 700 19px/1.2 var(--display); letter-spacing: -.01em; }
.beat-title .tags { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.beat-title .tags span { font-size: 12px; color: var(--dim); }
.beat-title .tags span::before { content: '#'; }
.beat .genre { color: var(--muted); font-size: 14px; }
.beat .bpm, .beat .key { color: var(--muted); }
.price-btn { display: flex; align-items: center; gap: 10px; }
.price-btn .from { font-family: var(--mono); font-size: 12px; color: var(--dim); }
@media (max-width: 900px) {
  .beat { grid-template-columns: 44px 56px 1fr auto; gap: 12px; }
  .beat-n, .beat .genre, .beat .bpm, .beat .key { display: none; }
  .cover { width: 56px; height: 56px; }
  .price-btn .from { display: none; }
}
.beat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.beat-tile { border: 1px solid var(--line); border-radius: 18px; padding: 12px; background: var(--bg-2); transition: .2s; }
.beat-tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
.beat-tile .cover { width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px; }
.beat-tile .cover .play-btn { position: absolute; z-index: 2; right: 12px; bottom: 12px; background: var(--sponge); border-color: var(--sponge); color: var(--sponge-ink); width: 52px; height: 52px; transform: scale(.9); opacity: .92; }
.beat-tile:hover .cover .play-btn { transform: scale(1); opacity: 1; }
.beat-tile .info { padding: 14px 6px 6px; display: flex; justify-content: space-between; gap: 10px; align-items: end; }
.beat-tile b { font: 700 20px/1.1 var(--display); display: block; }
.beat-tile .mono { color: var(--dim); }
.beat-tile .info > div { min-width: 0; }
.beat-tile .info .mono { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1100px) { .beat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .beat-grid { gap: 10px; } .beat-tile b { font-size: 16px; } .beat-tile .info { flex-direction: column; align-items: stretch; } }

/* ── License cards ── */
.lic-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.lic { border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; background: var(--bg-2); position: relative; }
.lic.featured { border-color: var(--sponge); background: linear-gradient(180deg, color-mix(in srgb, var(--sponge) 9%, var(--bg-2)), var(--bg-2)); }
.lic .badge { position: absolute; top: -11px; left: 20px; background: var(--sponge); color: var(--sponge-ink); padding: 3px 10px; border-radius: 999px; font-weight: 700; }
.lic h4 { font: 700 18px/1.2 var(--display); margin: 0 0 12px; }
.lic .price { font: 800 38px/1 var(--display); letter-spacing: -.03em; margin-bottom: 16px; }
.lic .price small { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.lic ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.lic li { display: flex; gap: 8px; }
.lic li::before { content: '✓'; color: var(--sponge); font-weight: 700; }
.lic .btn { margin-top: auto; width: 100%; }
@media (max-width: 1100px) { .lic-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .lic-grid { grid-template-columns: 1fr; } }

/* ── Modal ── */
.modal { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 16px; }
.modal.open { display: grid; }
.modal-bg { position: absolute; inset: 0; background: #000b; backdrop-filter: blur(6px); }
.modal.opening .modal-bg { animation: fade .2s; }
.modal.opening .modal-box { animation: rise .38s cubic-bezier(.2, 1.25, .4, 1); }
.modal.closing .modal-bg { animation: fade-out .15s ease-in forwards; }
.modal.closing .modal-box { animation: sink .15s ease-in forwards; }
@keyframes fade-out { to { opacity: 0; } }
@keyframes sink { to { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal-box {
  position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(20px, 4vw, 36px);
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.96); } }
.modal-close { position: absolute; right: 16px; top: 16px; background: var(--panel); border: 0; width: 38px; height: 38px; border-radius: 50%; font-size: 20px; }
.modal-head { display: flex; gap: 18px; align-items: center; margin-bottom: 24px; padding-right: 40px; }
.modal-head .cover { width: 84px; height: 84px; }
.modal-head h3 { font: 800 34px/1 var(--display); letter-spacing: -.03em; margin: 0 0 6px; }
.lic-pick { display: grid; gap: 10px; }
.lic-opt {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; text-align: left;
  border: 1px solid var(--line-2); border-radius: 14px; padding: 16px 18px; background: none; transition: .15s;
}
.lic-opt:hover { border-color: var(--muted); }
.lic-opt.on { border-color: var(--sponge); background: color-mix(in srgb, var(--sponge) 7%, transparent); }
.lic-opt .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); }
.lic-opt.on .radio { border-color: var(--sponge); background: radial-gradient(circle, var(--sponge) 0 4px, transparent 5px); }
.lic-opt b { font: 700 17px/1.2 var(--display); }
.lic-opt small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.lic-opt .p { font: 800 22px/1 var(--display); }
.modal-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 16px; flex-wrap: wrap; }
.modal-foot .note { font-size: 13px; color: var(--dim); max-width: 420px; }

/* ── Forms ── */
input, textarea, select {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 14px 16px; width: 100%; transition: border-color .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--sponge); }
textarea { resize: vertical; min-height: 160px; }
label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.form-msg { font-size: 14px; margin-top: 12px; min-height: 22px; }
.form-msg.err { color: var(--err); }
.form-msg.ok { color: var(--ok); }
.hp { position: absolute; left: -9999px; }
.kind-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── Auth / account ── */
.auth { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side {
  position: relative; overflow: hidden; padding: clamp(30px, 5vw, 60px); display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--sponge); color: var(--sponge-ink);
}
.auth-side h2 { font: 800 clamp(48px, 6vw, 88px)/.9 var(--display); letter-spacing: -.05em; margin: 0 0 18px; position: relative; }
.auth-side p { position: relative; max-width: 380px; margin: 0; font-size: 18px; color: #4a4100; }
.auth-side .holes { position: absolute; inset: 0 0 55% 0; }
.auth-side .holes i { position: absolute; border-radius: 50%; background: var(--bg); }
.auth-main { display: grid; place-items: center; padding: 40px var(--pad); }
.auth-box { width: min(420px, 100%); }
.tabs { display: flex; background: var(--panel); border-radius: 999px; padding: 4px; margin-bottom: 30px; }
.tabs button { flex: 1; border: 0; background: none; padding: 10px; border-radius: 999px; font-weight: 600; color: var(--muted); }
.tabs button.on { background: var(--text); color: var(--bg); }
.auth-box h1 { font: 800 40px/1 var(--display); letter-spacing: -.03em; margin: 0 0 8px; }
.auth-box .btn { width: 100%; margin-top: 8px; }
@media (max-width: 820px) { .auth { grid-template-columns: 1fr; } .auth-side { min-height: 240px; } }

.dash-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; padding: 50px 0 30px; border-bottom: 1px solid var(--line); }
.dash-head h1 { font: 800 clamp(40px, 6vw, 72px)/.95 var(--display); letter-spacing: -.045em; margin: 10px 0 0; }
.orders { display: grid; gap: 12px; margin-top: 30px; }
.order { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: var(--bg-2); }
.order b { font: 700 19px/1.2 var(--display); }
.order .dl { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .order { grid-template-columns: 56px 1fr; } .order .dl { grid-column: 1 / -1; justify-content: flex-start; } }
.empty { border: 1px dashed var(--line-2); border-radius: 20px; padding: 50px 20px; text-align: center; color: var(--muted); }
.empty b { display: block; font: 700 24px/1.2 var(--display); color: var(--text); margin-bottom: 8px; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 6vw, 80px); }
.contact-info h1 { font: 800 clamp(52px, 8vw, 110px)/.88 var(--display); letter-spacing: -.055em; margin: 14px 0 24px; }
.contact-info p { color: var(--muted); font-size: 18px; }
.mail-link { display: inline-flex; align-items: center; gap: 10px; font: 700 clamp(18px, 2vw, 24px)/1.2 var(--display); border-bottom: 2px solid var(--sponge); padding-bottom: 4px; margin: 10px 0 34px; word-break: break-all; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: '+'; color: var(--sponge); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.form-card { border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 4vw, 36px); background: var(--bg-2); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── CTA band ── */
.cta-band { border-radius: 28px; background: var(--sponge); color: var(--sponge-ink); padding: clamp(36px, 6vw, 70px); position: relative; overflow: hidden; }
.cta-band h2 { font: 800 clamp(44px, 7vw, 100px)/.9 var(--display); letter-spacing: -.05em; margin: 0 0 24px; max-width: 900px; position: relative; }
.cta-band .btn { background: var(--sponge-ink); color: var(--sponge); border-color: var(--sponge-ink); position: relative; }
.cta-band .btn:hover { background: #000; }
.cta-band .holes { position: absolute; top: 0; bottom: 0; right: 0; left: 62%; pointer-events: none; }
@media (max-width: 700px) { .cta-band .holes { left: 0; top: 0; bottom: auto; height: 38px; } }
.cta-band .holes i { position: absolute; border-radius: 50%; background: var(--bg); opacity: .9; }

/* ── Footer ── */
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 50px 0 40px; }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: end; }
.foot-big { font: 800 clamp(60px, 14vw, 190px)/.8 var(--display); letter-spacing: -.06em; color: var(--panel); margin-top: 40px; user-select: none; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); }
.foot-links a:hover { color: var(--text); }

/* ── Player ── */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  background: color-mix(in srgb, var(--bg-2) 92%, transparent); backdrop-filter: blur(16px); border-top: 1px solid var(--line-2);
}
.player.show { transform: none; }
.player .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; height: 78px; }
.player-info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.player-info .cover { width: 50px; height: 50px; border-radius: 8px; }
.player-info b { display: block; font: 700 17px/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-info .mono { color: var(--dim); font-size: 11px; }
.player canvas { width: 100%; height: 44px; display: block; }
.player-actions { display: flex; gap: 10px; align-items: center; }
.vol { width: 90px; accent-color: var(--sponge); padding: 0; }
@media (max-width: 700px) {
  .player .wrap { grid-template-columns: 1fr auto; }
  .player canvas, .vol { display: none; }
}

/* ── Toast ── */
.toast { position: fixed; left: 50%; bottom: calc(var(--player-h) + 20px); transform: translate(-50%, 20px); opacity: 0; z-index: 90;
  background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: opacity .16s ease-in, transform .16s ease-in; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; overflow: hidden; }
.toast.show { opacity: 1; transform: translate(-50%, 0); transition: opacity .2s ease-out, transform .42s cubic-bezier(.2, 1.4, .4, 1); }
.toast-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--sponge-ink); opacity: .35; transform-origin: left; }
.toast.show .toast-bar { animation: toast-bar 3.2s linear forwards; }
@keyframes toast-bar { to { transform: scaleX(0); } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.page-head { padding: clamp(50px, 8vw, 90px) 0 30px; }
.page-head h1 { font: 800 clamp(56px, 10vw, 140px)/.85 var(--display); letter-spacing: -.055em; margin: 14px 0 20px; }
.page-head p { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0; }
.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px var(--pad); }
.center-page h1 { font: 800 clamp(48px, 8vw, 96px)/.9 var(--display); letter-spacing: -.05em; margin: 16px 0; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--sponge); animation: spin .8s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-banner { background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 16px; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.demo-banner b { color: var(--sponge); }

/* ── Motion: rolling numbers, play button, sliding highlight, staggered rows ── */
/* Each slot is as wide as its final digit (the hidden sizer), so "10" doesn't end up spaced like "1 0".
   clip-path hides the strip above and below but lets wider digits pass through sideways. */
.roll { position: relative; display: inline-block; height: 1.1em; line-height: 1.1; vertical-align: top; clip-path: inset(0 -.4em); }
.roll-size { visibility: hidden; }
.roll-col { position: absolute; left: 50%; top: 0; text-align: center; transform: translate(-50%, 0); transition: transform 1.5s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 110ms); }
.roll-col span { display: block; height: 1.1em; line-height: 1.1; }
.rolled .roll-col { transform: translate(-50%, calc(var(--d) * -1.1em)); }

.pp { position: relative; display: block; width: 16px; height: 16px; }
.pp > i { position: absolute; inset: 0; display: block; transition: transform .3s cubic-bezier(.2, 1.3, .4, 1), opacity .14s ease-out; }
.pp svg { display: block; }
.pp-pause, .pp-load { opacity: 0; transform: scale(.3) rotate(-90deg); }
[data-state="pause"] .pp-play, [data-state="loading"] .pp-play { opacity: 0; transform: scale(.3) rotate(90deg); }
[data-state="pause"] .pp-pause, [data-state="loading"] .pp-load { opacity: 1; transform: none; }
.pp-load::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin .7s linear infinite; }
.play-btn:active { transform: scale(.92); }

.has-slider { position: relative; }
.slide-pill { position: absolute; left: 0; top: 0; border-radius: 999px; background: var(--text); pointer-events: none; z-index: 0;
  transition: transform .34s cubic-bezier(.3, 1.2, .4, 1), width .34s cubic-bezier(.3, 1.2, .4, 1), height .2s, opacity .2s; }
.has-slider > .chip, .has-slider > button { position: relative; z-index: 1; }
.has-slider > .chip.on { background: transparent; border-color: transparent; }
.tabs.has-slider > button.on { background: transparent; }

.beat-list .beat { animation: row-in .5s cubic-bezier(.2, .9, .3, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes row-in { from { opacity: 0; transform: translateY(14px); } }
.faq details.closing summary::after { transform: none; }

.pill.showcase { margin-left: 8px; vertical-align: 2px; border-color: var(--sea); color: var(--sea); }

/* ── Agreements (e-sign) ── */
.chat-sys { align-self: center; max-width: 90%; text-align: center; font-size: 13px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 12px; padding: 8px 14px; margin: 6px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-sys .mono { display: block; font-size: 10px; color: var(--dim); margin-top: 3px; }
.chat-sys a { color: var(--sponge); text-decoration: underline; }
.agr-preview { margin: 16px 0 0; max-height: 320px; overflow: auto; white-space: pre-wrap; font: 400 13px/1.6 var(--body); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px; color: var(--muted); }
.agr { max-width: 820px; padding-top: 36px; padding-bottom: 50px; }
.agr-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; }
.doc { border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); padding: clamp(20px, 4vw, 44px); }
.doc h2 { font: 800 clamp(26px, 4vw, 38px)/1.1 var(--display); letter-spacing: -.03em; margin: 0 0 20px; }
.doc h4 { font: 700 15px/1.3 var(--mono); letter-spacing: .06em; margin: 26px 0 8px; color: var(--sponge); }
.doc p { margin: 0 0 10px; color: var(--muted); line-height: 1.7; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.sig-box { border: 1px solid var(--line-2); border-radius: 18px; padding: clamp(18px, 3vw, 30px); margin-top: 18px; background: var(--bg-2); }
.sig-box h3 { font: 700 22px/1.2 var(--display); margin: 0 0 16px; }
.sig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sig-name { font: italic 600 26px/1.3 Georgia, 'Times New Roman', serif; margin: 6px 0 2px; overflow-wrap: anywhere; }
.sig-grid small { color: var(--dim); font-size: 12px; line-height: 1.5; display: block; }
.cert { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.cert h4 { font: 700 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin: 0 0 8px; }
@media (max-width: 640px) { .sig-grid { grid-template-columns: 1fr; } }
@media print {
  body { background: #fff !important; color: #000 !important; }
  body::before, .nav, footer, .no-print, .toast, .player { display: none !important; }
  .doc, .sig-box { background: #fff !important; border: 1px solid #999 !important; }
  .doc p, .doc h2, .sig-grid small, .cert .muted, .tbl td, .sig-name, .sig-box h3 { color: #000 !important; }
  .doc h4 { color: #000 !important; }
  .agr { max-width: none; padding: 0; }
}

/* ── Legal pages ── */
.legal { max-width: 780px; padding-top: clamp(40px, 7vw, 80px); padding-bottom: 40px; }
.legal h1 { font: 800 clamp(40px, 7vw, 76px)/.95 var(--display); letter-spacing: -.045em; margin: 12px 0 10px; }
.legal h2 { font: 700 24px/1.2 var(--display); letter-spacing: -.02em; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal b { color: var(--text); font-weight: 600; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; margin: 12px 0; }
.legal .updated { font-size: 14px; margin: 0 0 28px; }
.tier-list { display: grid; gap: 12px; margin: 16px 0; }
.tier { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--bg-2); }
.tier-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.tier-head b { font: 700 18px/1.2 var(--display); }
.tier ul { margin: 10px 0 0; font-size: 14px; }

/* ── Messaging ── */
.nav-count { background: var(--sponge); color: var(--sponge-ink); border-radius: 999px; font-size: 11px; font-weight: 800; padding: 1px 7px; margin-left: 6px; line-height: 1.5; }
.active-btn { border-color: var(--text); }
.inbox-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.inbox-head h1 { font: 800 clamp(40px, 6vw, 64px)/.95 var(--display); letter-spacing: -.045em; margin: 8px 0 0; }
.inbox { display: grid; grid-template-columns: 320px 1fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; height: min(72vh, 760px); min-height: 460px; background: var(--bg-2); }
.inbox-list { border-right: 1px solid var(--line); overflow-y: auto; }
.thread { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); transition: background .12s; position: relative; }
.thread:hover { background: var(--panel); }
.thread.on { background: var(--panel); box-shadow: inset 3px 0 0 var(--sponge); }
.thread-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.thread-top b { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread-top .mono { color: var(--dim); font-size: 11px; flex-shrink: 0; }
.thread p { margin: 4px 0 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread.unread b { color: var(--text); font-weight: 800; }
.thread.unread::after { content: ''; position: absolute; right: 14px; bottom: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--sponge); }
.thread .pill { margin-top: 6px; display: inline-block; }
.thread .who-line { font-size: 12px; color: var(--dim); margin-top: 2px; }
.inbox-convo { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 0; }
.convo-empty { margin: auto; padding: 30px; text-align: center; }
.convo-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.convo-head b { display: block; font: 700 17px/1.2 var(--display); }
.convo-head .mono { font-size: 11px; }
.convo-head .head-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.back-btn { display: none; width: 36px; height: 36px; border-radius: 50%; background: var(--panel); place-items: center; font-size: 18px; flex-shrink: 0; }
.chat-scroll { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.chat-day { align-self: center; color: var(--dim); font-size: 11px; margin: 10px 0 4px; }
.bubble-row { display: flex; }
.bubble-row.mine { justify-content: flex-end; }
.bubble { max-width: min(78%, 560px); background: var(--panel); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 10px 14px 8px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.5; }
.bubble.from-admin { border-color: color-mix(in srgb, var(--sponge) 35%, var(--line)); }
.bubble-row.mine .bubble { background: var(--sponge); color: var(--sponge-ink); border-color: var(--sponge); border-radius: 16px 16px 4px 16px; }
.bubble a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.bubble .who { display: block; font-size: 10px; opacity: .6; margin-bottom: 2px; }
.bubble .at { display: block; font-size: 10px; opacity: .55; margin-top: 4px; text-align: right; }
.composer { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); align-items: flex-end; }
.composer textarea { min-height: 46px; max-height: 220px; resize: none; padding: 12px 14px; line-height: 1.4; }
.composer .btn { flex-shrink: 0; }
.convo-meta { padding: 10px 18px; border-bottom: 1px solid var(--line); display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 820px) {
  .inbox { grid-template-columns: 1fr; height: calc(100vh - 190px); }
  .inbox-list { border-right: 0; }
  .inbox .inbox-convo { display: none; }
  .inbox.show-convo .inbox-list { display: none; }
  .inbox.show-convo .inbox-convo { display: flex; }
  .back-btn { display: grid; }
  .bubble { max-width: 88%; }
}

/* ── Email code step ── */
.code-input { font: 800 34px/1 var(--mono); letter-spacing: .5em; text-align: center; padding: 16px 10px 16px calc(10px + .5em); }
.code-input::placeholder { color: var(--line-2); }
.check { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin: 0 0 18px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--sponge); padding: 0; }
.link-btn { background: none; border: 0; padding: 0; color: var(--sponge); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link-btn[disabled] { color: var(--dim); text-decoration: none; cursor: default; }

/* ── Info notice (purchases by email) ── */
.info-banner { display: flex; gap: 14px; align-items: flex-start; border: 1px solid color-mix(in srgb, var(--sea) 45%, transparent); background: color-mix(in srgb, var(--sea) 8%, var(--bg-2)); border-radius: 14px; padding: 14px 18px; font-size: 14px; color: var(--muted); margin-bottom: 20px; line-height: 1.55; }
.info-banner b { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; }
.info-ico { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--sea); color: #04201c; display: grid; place-items: center; font: 700 14px/1 var(--display); margin-top: 1px; }

/* ── Real covers, player progress, disabled states ── */
.cover.has-img { background-size: cover; background-position: center; }
.cover.has-img::after { display: none; }
.play-btn[disabled] { opacity: .35; cursor: not-allowed; }
.play-btn[disabled]:hover { background: none; border-color: var(--line-2); color: inherit; }
.lic-opt[disabled] { opacity: .4; cursor: not-allowed; }
.pl-progress { position: absolute; left: 0; right: 0; top: -6px; height: 12px; cursor: pointer; }
.pl-progress::before { content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: var(--line-2); }
.pl-progress span { position: absolute; left: 0; top: 5px; height: 2px; width: 0; background: var(--sponge); }
.pl-progress:hover::before, .pl-progress:hover span { height: 4px; top: 4px; }
.pl-time { color: var(--dim); white-space: nowrap; }
@media (max-width: 700px) { .pl-time { display: none; } }

/* ── Admin ── */
.adm { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.adm-side { border-right: 1px solid var(--line); padding: 22px 16px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; background: var(--bg-2); }
.adm-side .logo { margin: 0 8px 24px; font-size: 20px; }
.adm-side button, .adm-side a.side-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; background: none; border: 0; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: 15px; }
.adm-side button:hover, .adm-side a.side-link:hover { color: var(--text); background: var(--panel); }
.adm-side button.on { color: var(--text); background: var(--panel); }
.adm-side .count { background: var(--sponge); color: var(--sponge-ink); border-radius: 999px; font-size: 12px; font-weight: 700; padding: 1px 8px; }
.adm-side .spacer { flex: 1; }
.adm-main { padding: 30px clamp(16px, 3vw, 44px) 80px; min-width: 0; }
.adm-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.adm-head h1 { font: 800 clamp(32px, 4vw, 46px)/1 var(--display); letter-spacing: -.035em; margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 26px; }
.kpi { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--bg-2); }
.kpi b { display: block; font: 800 30px/1.1 var(--display); letter-spacing: -.02em; margin-top: 6px; }
.kpi .mono { color: var(--dim); }
.warn { border: 1px solid #5c4a10; background: #1f1a08; color: #e8d48a; border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-bottom: 14px; }
.adm-beats { display: grid; gap: 10px; }
.adm-beat { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: var(--bg-2); }
.adm-beat .cover { width: 56px; height: 56px; }
.adm-beat b { font: 700 18px/1.2 var(--display); }
.adm-beat .row-actions { display: flex; gap: 8px; align-items: center; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pill { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--dim); }
.pill.ok { border-color: #2f5c36; color: var(--ok); }
.pill.live { background: var(--ok); color: #0a1f0d; border-color: var(--ok); }
.pill.draft { border-color: var(--line-2); color: var(--muted); }
.drawer { position: fixed; inset: 0; z-index: 85; display: none; }
.drawer.open { display: block; }
.drawer-bg { position: absolute; inset: 0; background: #000a; }
.drawer-box { position: absolute; right: 0; top: 0; bottom: 0; width: min(620px, 100%); background: var(--bg-2); border-left: 1px solid var(--line-2); overflow: auto; padding: 26px clamp(16px, 3vw, 30px) 40px; animation: slide .25s ease-out; }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.drawer-box h2 { font: 800 30px/1 var(--display); letter-spacing: -.03em; margin: 0 0 20px; padding-right: 40px; }
.slot { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; border: 1px dashed var(--line-2); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; transition: .15s; }
.slot.has { border-style: solid; border-color: #2f5c36; }
.slot.drag { border-color: var(--sponge); background: color-mix(in srgb, var(--sponge) 6%, transparent); }
.slot b { font-size: 15px; }
.slot small { display: block; color: var(--dim); font-size: 12px; margin-top: 2px; word-break: break-all; }
.slot .acts { display: flex; gap: 6px; }
.bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: 8px; display: none; }
.bar span { display: block; height: 100%; width: 0; background: var(--sponge); transition: width .15s; }
.slot.uploading .bar { display: block; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; color: var(--text); font-weight: 600; margin: 0; }
.switch input { width: 42px; height: 24px; appearance: none; border-radius: 999px; background: var(--line-2); position: relative; padding: 0; border: 0; cursor: pointer; transition: .15s; }
.switch input::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--text); transition: .15s; }
.switch input:checked { background: var(--ok); }
.switch input:checked::after { left: 21px; }
.colors { display: flex; gap: 8px; flex-wrap: wrap; }
.colors button { width: 34px; height: 34px; border-radius: 8px; border: 2px solid transparent; padding: 0; }
.colors button.on { border-color: var(--text); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); padding: 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.msg { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--bg-2); margin-bottom: 10px; }
.msg.done { opacity: .55; }
.msg-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: start; }
.msg p { white-space: pre-wrap; margin: 10px 0 12px; color: var(--muted); }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--bg-2); margin-bottom: 14px; }
.card h3 { font: 700 20px/1.2 var(--display); margin: 0 0 14px; }
.lic-edit { display: grid; grid-template-columns: 1.4fr 140px auto auto; gap: 12px; align-items: end; }
.small-btn { padding: 7px 12px; font-size: 13px; }
.btn-danger { color: var(--err); border-color: #5c2525; }
.btn-danger:hover { border-color: var(--err); }
@media (max-width: 860px) {
  .adm { grid-template-columns: 1fr; }
  .adm-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .adm-side .logo { margin: 0 12px 0 0; width: 100%; }
  .adm-side .spacer { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .adm-beat { grid-template-columns: 48px 1fr; }
  .adm-beat .row-actions { grid-column: 1 / -1; }
  .lic-edit { grid-template-columns: 1fr 1fr; }
}
