/* Fonts are self-hosted (OFL, see fonts/LICENSE.txt): no third-party requests before first paint. */
@font-face { font-family: 'Syne'; font-style: normal; font-display: swap; font-weight: 400 800; src: url(/fonts/syne.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 300 700; src: url(/fonts/space-grotesk.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* Hidden Party Echoes — interface styles.
   Layout: one column on phones (export lives in a bottom sheet behind a pinned bar),
   two columns from 900px (studio left, export panel right, always in view). Dark only. */

:root {
  --bg: #0b0a12;
  --surface: #15131f;
  --surface-2: #1c1928;
  --sunken: #0b0a12;
  --line: #2a2638;
  --line-2: #3a3450;
  --text: #efeaf6;
  --text-2: #d6d0e4;
  --muted: #b3acc4;
  --faint: #8e87a3;
  --pink: #ff2d78;
  --pink-btn: #e01a5f; /* white text on this passes 4.5:1 contrast */
  --pink-press: #c8124f;
  --pink-tint: rgba(255, 45, 120, 0.14);
  --cyan: #00f0ff;
  --good: #5be39a;
  --danger: #ff6b6b;

  --display: 'Syne', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 24px;
  --gutter: 20px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
body::before, body::after {
  content: ''; position: fixed; z-index: -1; border-radius: 50%; pointer-events: none;
}
body::before { top: -280px; left: -220px; width: 760px; height: 760px; background: radial-gradient(circle, rgba(255,45,120,0.16), rgba(255,45,120,0) 70%); }
body::after { bottom: -320px; right: -220px; width: 760px; height: 760px; background: radial-gradient(circle, rgba(0,240,255,0.08), rgba(0,240,255,0) 70%); }

h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--cyan); }
svg { display: block; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--text); color: var(--bg); border-radius: 8px; }
.skip-link:focus { top: 8px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
@media (min-width: 900px) { :root { --gutter: 32px; } }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.hint { font-size: 13px; color: var(--faint); margin: 0; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid transparent;
  background: none; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn svg .fill { fill: currentColor; stroke: none; }
.btn-primary { background: var(--pink-btn); color: #fff; }
.btn-primary:hover { background: var(--pink-press); }
.btn-secondary { background: var(--surface); border-color: var(--line-2); color: var(--text); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover, .btn-secondary:hover { border-color: #4a4362; }
.btn-link { color: var(--cyan); padding: 0 8px; }
.btn-link:hover { text-decoration: underline; }
.btn-lg { min-height: 56px; border-radius: 16px; font-size: 17px; font-weight: 700; }
.btn-sm { min-height: 36px; padding: 0 12px; border-radius: 10px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: progress; }
.btn-tile { flex-direction: column; gap: 1px; min-height: 56px; border-radius: var(--r); border-color: var(--line-2); background: var(--sunken); }
.btn-tile small { font-size: 12px; font-weight: 500; color: var(--faint); }
.btn-tile:hover { border-color: #4a4362; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--text); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.play-btn {
  width: 56px; height: 56px; flex: none; border-radius: 50%; border: 0;
  background: var(--text); color: var(--bg); display: inline-flex; align-items: center; justify-content: center;
}
.play-btn svg { width: 20px; height: 20px; fill: currentColor; }
.play-btn .i-pause, .play-btn.is-playing .i-play { display: none; }
.play-btn.is-playing .i-pause { display: block; }
.play-btn-sm { width: 48px; height: 48px; }
.play-btn-sm svg { width: 18px; height: 18px; }

.segmented { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r); background: var(--sunken); min-width: 0; }
.segmented button {
  min-height: 40px; padding: 0 16px; border-radius: var(--r-sm); border: 0; background: transparent;
  color: var(--faint); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.segmented button[aria-pressed="true"] { background: var(--line); color: #fff; }
.segmented button.is-room[aria-pressed="true"] { background: var(--cyan); color: var(--bg); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }

/* ── Top bar ─────────────────────────────────────────── */
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.brand span { color: var(--pink); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.account-slot { min-width: 44px; min-height: 44px; display: flex; align-items: center; }
.account-slot .hpe-account-badge { position: relative !important; top: auto !important; right: auto !important; }
@media (min-width: 900px) { .brand { font-size: 20px; } }

/* ── Start ───────────────────────────────────────────── */
.start { display: grid; gap: 28px; padding-top: 12px; padding-bottom: 48px; }
.start h1 { font-weight: 800; font-size: clamp(30px, 8vw, 52px); line-height: 1.04; letter-spacing: -0.02em; }
.hl { color: var(--pink); }
.lede { margin: 14px 0 0; font-size: 17px; color: var(--muted); max-width: 34em; }
.start-copy { display: flex; flex-direction: column; min-width: 0; }

.sample-card { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; max-width: 540px; }
.sample-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: rgba(21,19,31,0.9); border: 1px solid var(--line); flex-wrap: wrap; }
.sample-meta { font-size: 13px; color: var(--faint); }

.drop-card {
  border: 1.5px dashed var(--line-2); border-radius: 28px; background: rgba(21,19,31,0.85);
  padding: 28px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  transition: border-color .2s, background-color .2s;
}
.drop-card.is-over { border-color: var(--pink); background: rgba(255,45,120,0.08); }
.drop-card .btn-primary { width: 100%; max-width: 340px; cursor: pointer; }
.drop-icon { width: 72px; height: 72px; border-radius: 50%; border: 1px solid rgba(255,45,120,0.45); display: flex; align-items: center; justify-content: center; color: var(--pink); }
.drop-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.drop-title { font-family: var(--display); font-weight: 700; font-size: 24px; }
.drop-meta { font-size: 14px; color: var(--faint); }
.inline-error { margin: 0; color: var(--danger); font-size: 14px; }
#fileInput:focus-visible + label { outline: 2px solid var(--cyan); outline-offset: 3px; }

.start-rooms { display: flex; flex-direction: column; gap: 12px; }
.chip-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; }

@media (max-width: 899px) {
  .drop-card { order: -1; }
  .start-copy { display: contents; }
  .start-copy > h1 { order: -3; }
  .start-copy > .lede { order: -2; margin-top: -14px; }
  .drop-title { display: none; }
  .sample-card { margin-top: 0; }
}
@media (min-width: 900px) {
  .start { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 56px; row-gap: 40px; align-items: center; padding-top: 48px; }
  .start-rooms { grid-column: 1 / -1; }
  .drop-card { padding: 48px 40px; gap: 18px; }
  .drop-title { font-size: 26px; }
  .drop-icon { width: 84px; height: 84px; }
  .lede { font-size: 19px; }
}

/* ── Studio ──────────────────────────────────────────── */
.studio { padding-top: 4px; padding-bottom: 140px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.studio-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.player { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.song-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.song-icon { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; }
.song-name { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-time { font-size: 14px; color: var(--faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.player-row { display: flex; align-items: center; gap: 14px; }
.wave-wrap { position: relative; flex: 1; min-width: 0; height: 64px; cursor: pointer; }
.wave-wrap canvas { width: 100%; height: 100%; display: block; }
.mixing { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--text-2); background: rgba(21,19,31,0.55); border-radius: 8px; }
.compare-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.compare-row .segmented { flex: 1 1 auto; max-width: 100%; }
.compare-row .segmented button { flex: 1 1 0; }
.kbd-hint { font-size: 13px; color: var(--faint); display: none; }
@media (min-width: 900px) {
  .player { padding: 22px; gap: 18px; }
  .wave-wrap { height: 72px; }
  .play-btn { width: 64px; height: 64px; }
  .compare-row .segmented { flex: 0 1 auto; }
  .compare-row .segmented button { flex: 0 1 auto; }
  .kbd-hint { display: inline; }
  #changeSongInline { display: none; }
}
@media (max-width: 899px) { #changeSongBtn { display: none !important; } }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.section-head h2 { font-weight: 700; font-size: 20px; }
.section-sub { font-size: 13px; color: var(--faint); }

.room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 900px) { .room-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; } }
.room-tile {
  position: relative; min-height: 60px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface);
  color: var(--text-2); display: flex; align-items: center; gap: 10px; padding: 0 12px;
  font-size: 14px; font-weight: 600; text-align: left; min-width: 0;
  transition: border-color .15s, background-color .15s;
}
.room-tile span { min-width: 0; line-height: 1.2; overflow-wrap: anywhere; }
.room-tile svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.room-tile:hover { border-color: #4a4362; }
.room-tile[aria-pressed="true"] { border: 1.5px solid var(--pink); background: var(--pink-tint); color: #fff; }
.room-tile.is-saved svg { color: var(--cyan); }
@media (min-width: 900px) { .room-tile { min-height: 64px; padding: 0 16px; gap: 12px; font-size: 15px; } }

.fine-toggle {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border-radius: var(--r);
  border: 1px solid var(--line); background: transparent; color: var(--text-2); font-weight: 600; text-align: left;
}
.fine-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; flex: none; }
.fine-title { flex: none; }
.fine-sub { flex: 1; min-width: 0; text-align: right; font-size: 13px; font-weight: 500; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fine-toggle .chev { transition: transform .2s; }
.fine-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.fine-panel { padding: 20px; display: flex; flex-direction: column; gap: 22px; }
.fine-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.base-chip { padding: 6px 12px; border-radius: 999px; background: var(--pink-tint); border: 1px solid rgba(255,45,120,0.5); font-size: 13px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field-title { font-weight: 700; }

.trim { display: flex; flex-direction: column; gap: 10px; }
.trim-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.trim-label { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.trim-box { position: relative; height: 64px; border-radius: 12px; background: var(--sunken); border: 1px solid var(--line); }
.trim-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.trim-sel { position: absolute; top: 0; bottom: 0; border-left: 3px solid var(--cyan); border-right: 3px solid var(--cyan); background: rgba(0,240,255,0.10); pointer-events: none; }
.trim-box input[type=range] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: transparent;
  -webkit-appearance: none; appearance: none; pointer-events: none;
}
.trim-box input[type=range]::-webkit-slider-runnable-track { background: transparent; height: 100%; }
.trim-box input[type=range]::-moz-range-track { background: transparent; height: 100%; }
.trim-box input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto; width: 28px; height: 62px; border-radius: 6px; background: transparent; cursor: ew-resize;
}
.trim-box input[type=range]::-moz-range-thumb { pointer-events: auto; width: 28px; height: 62px; border: 0; border-radius: 6px; background: transparent; cursor: ew-resize; }
.trim-box input[type=range]:focus-visible { outline: none; }
.trim-box input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: inset 0 0 0 2px var(--cyan); }

.sliders { display: grid; gap: 18px; }
@media (min-width: 900px) { .sliders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; } }
.slider { display: flex; flex-direction: column; gap: 6px; }
.slider label { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.slider label span { font-weight: 500; color: var(--muted); }
.slider input[type=range] { width: 100%; height: 28px; margin: 0; accent-color: var(--pink); }
.ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); }

.save-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.save-form { display: flex; gap: 8px; align-items: center; flex: 1 1 320px; }
.save-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--sunken); }

/* ── Export panel / sheet ────────────────────────────── */
.export { flex: 1 1 340px; max-width: 400px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.export-config, .export-result { display: flex; flex-direction: column; gap: 16px; }
.export-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.export-head h2 { font-weight: 700; font-size: 22px; }
.sheet-grabber, .sheet-only { display: none; }
.opt-group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.opt-group legend { padding: 0; margin-bottom: 8px; }
.opt-grid { display: grid; gap: 8px; }
.opt-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px;
  border-radius: 12px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 14px; text-align: center; padding: 6px;
}
.opt-sm span { min-height: 44px; }
.opt small { font-size: 12px; font-weight: 500; color: var(--faint); }
.opt input:checked + span { border: 1.5px solid var(--pink); background: var(--pink-tint); color: #fff; }
.opt input:checked + span small { color: var(--text-2); }
.opt input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.eta { font-weight: 500; font-size: 14px; opacity: 0.85; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.progress { display: flex; flex-direction: column; gap: 8px; }
.progress-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.progress-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pink), var(--cyan)); transition: width .2s; }
.progress-text { font-size: 13px; color: var(--muted); }

.result-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; }
.check { width: 28px; height: 28px; border-radius: 50%; background: rgba(91,227,154,0.16); color: var(--good); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.check svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.result-media { display: flex; justify-content: center; }
.result-media video { max-width: 100%; max-height: 380px; border-radius: 16px; border: 1px solid var(--line-2); background: #000; }
.result-media audio { width: 100%; }
.result-meta { text-align: center; font-size: 14px; color: var(--faint); }

@media (min-width: 900px) {
  .export { position: sticky; top: 20px; }
  .mobile-bar, .sheet-backdrop { display: none !important; }
}

@media (max-width: 899px) {
  .studio { padding-bottom: 120px; }
  .export {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; max-width: none; max-height: 88vh; overflow-y: auto;
    border-radius: 28px 28px 0 0; border-bottom: 0; padding: 10px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
    transform: translateY(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); visibility: hidden;
  }
  body.sheet-open .export { transform: none; visibility: visible; }
  body.sheet-open { overflow: hidden; }
  .sheet-grabber { display: block; align-self: center; width: 40px; height: 5px; border-radius: 3px; background: var(--line-2); flex: none; }
  .sheet-only { display: inline-flex; }
  .sheet-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(5,4,10,0.72); }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: 10px;
    padding: 14px var(--gutter) calc(18px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(11,10,18,0) 0%, rgba(11,10,18,0.96) 30%);
  }
  .mobile-bar .btn-primary { flex: 1; }
  .mobile-bar .btn-secondary { width: 96px; }
  #phoneTip { display: none; }
}

/* ── Footer, overlay, toast ─────────────────────────── */
.site-footer { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; padding-top: 24px; padding-bottom: 32px; font-size: 13px; color: var(--faint); border-top: 1px solid var(--line); }
.site-footer a { color: var(--muted); }
body.has-song .site-footer { padding-bottom: 120px; }
@media (min-width: 900px) { body.has-song .site-footer { padding-bottom: 32px; } }

.drop-overlay { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; background: rgba(11,10,18,0.86); pointer-events: none; }
.drop-overlay div { padding: 28px 40px; border: 2px dashed var(--pink); border-radius: 24px; font-family: var(--display); font-weight: 700; font-size: 28px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 95; max-width: min(92vw, 520px);
  padding: 12px 18px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text);
  font-size: 14px; box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.toast.is-error { border-color: rgba(255,107,107,0.6); }
body.has-song .toast { bottom: 100px; }
@media (min-width: 900px) { body.has-song .toast { bottom: 24px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Saved rooms: the tile plus a small delete button beside it */
.saved-cell { position: relative; min-width: 0; display: flex; }
.saved-cell .room-tile { flex: 1; padding-right: 44px; }
.tile-del {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 8px; border: 0; background: transparent; color: var(--faint);
  display: inline-flex; align-items: center; justify-content: center;
}
.tile-del svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tile-del:hover { color: var(--text); background: var(--surface-2); }

/* ── Guide pages (/muffled-music etc.) ───────────────── */
.guide-main { padding-top: 24px; padding-bottom: 64px; }
.guide-article { max-width: 720px; margin: 0 auto; }
.guide-article h1 { font-weight: 800; font-size: clamp(30px, 7vw, 48px); line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 16px; }
.guide-article h2 { font-weight: 700; font-size: 24px; margin: 44px 0 12px; }
.guide-article h3 { font-family: var(--body); font-size: 17px; margin: 0 0 4px; }
.guide-article p, .guide-article li { color: var(--text-2); font-size: 17px; line-height: 1.65; }
.guide-article p { margin: 0 0 14px; }
.guide-article b { color: var(--text); }
.guide-cta { margin-top: 24px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 16px 16px 16px 60px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--pink-btn); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.steps p { margin: 0; }
.tips { padding-left: 20px; display: grid; gap: 8px; margin: 0; }
.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 14px 16px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; }
.guide-end { margin-top: 40px; display: flex; justify-content: center; }
.more { padding-left: 20px; display: grid; gap: 6px; margin: 0; }
.site-footer .guides { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
