/* ==========================================================================
   ToneCraft — visual system
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-400.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("../assets/fonts/oswald-latin-400.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0d0d0f;
  --bg-2: #111114;
  --panel: #151518;
  --card: #1a1a1f;
  --card-2: #202026;
  --border: #2a2a31;
  --border-strong: #3a3a43;
  --text: #f4f1e9;
  --text-2: #cbc7bd;
  --muted: #9c9aa2;
  --faint: #8b8892;
  --amber: #f0b428;
  --amber-2: #ffd166;
  --amber-dim: #8c6614;
  --amber-soft: rgba(240, 180, 40, 0.1);
  --red: #e2543e;
  --green: #69c08c;
  --blue: #6fa8dc;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-h: 68px;
  --max: 1220px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 14% 0%, rgba(240, 180, 40, 0.075), transparent 65%),
    radial-gradient(45% 40% at 92% 8%, rgba(111, 168, 220, 0.035), transparent 65%),
    linear-gradient(180deg, #0f0f11 0%, var(--bg) 40%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

::selection { background: var(--amber); color: #181208; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; }
[hidden] { display: none !important; }

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -70px;
  z-index: 200;
  background: var(--amber);
  color: #181208;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 10px 16px;
  border-radius: 8px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

#main-content { min-height: 60vh; }
.page-enter { animation: pageIn 0.35s ease both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ type */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.012em;
  line-height: 0.95;
  text-wrap: balance;
}
.is-accent { color: var(--amber); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow--live { color: var(--text-2); }

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(240, 180, 40, 0.12);
  flex: none;
  animation: livePulse 2.8s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(240, 180, 40, 0.1); }
  50% { box-shadow: 0 0 0 6px rgba(240, 180, 40, 0.04); }
}
.dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--faint);
  display: inline-block;
}

/* --------------------------------------------------------------- controls */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn .icon { width: 15px; height: 15px; }
.btn--primary { background: var(--amber); border-color: var(--amber); color: #181208; }
.btn--primary:hover {
  background: var(--amber-2);
  border-color: var(--amber-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(240, 180, 40, 0.17);
}
.btn--secondary { background: var(--card); border-color: var(--border-strong); color: var(--text); }
.btn--secondary:hover { border-color: var(--amber); color: var(--amber-2); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text-2); }
.btn--ghost:hover { border-color: var(--border-strong); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn--quiet { background: transparent; border-color: transparent; color: var(--muted); padding: 0.45rem 0.6rem; }
.btn--quiet:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.btn--sm { padding: 0.55rem 0.85rem; font-size: 0.74rem; }
.btn--lg { padding: 0.95rem 1.45rem; font-size: 0.88rem; }
.btn--block { width: 100%; }
.btn.is-saved { color: var(--amber); border-color: rgba(240, 180, 40, 0.35); background: var(--amber-soft); }

.icon-btn {
  width: 40px;
  height: 40px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); background: var(--card); }
.icon-btn .icon { width: 17px; height: 17px; }

.icon { width: 18px; height: 18px; flex: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.text-link .icon { width: 14px; height: 14px; transition: transform 0.18s ease; }
.text-link:hover .icon { transform: translateX(3px); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.28rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.085em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--accent { color: var(--amber); border-color: rgba(240, 180, 40, 0.32); background: var(--amber-soft); }
.tag--dim { color: var(--muted); }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 15, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.header-inner {
  max-width: var(--max);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--amber); flex: none; }
.brand__mark { width: 30px; height: 30px; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.23rem;
  letter-spacing: 0.13em;
  color: var(--text);
}
.brand__word span { color: var(--amber); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 28px; }
.nav a {
  position: relative;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.035); }
.nav a.is-active { color: var(--text); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.18rem;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
}
.nav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  margin-left: 3px;
  border-radius: 8px;
  background: var(--amber);
  color: #181208;
  font-size: 0.54rem;
  font-weight: 700;
  vertical-align: 1px;
}
.header-actions { margin-left: auto; }
.header-cta { padding: 0.55rem 0.95rem; }

/* ------------------------------------------------------------------- home */
.home { overflow: hidden; }

.hero { position: relative; padding: clamp(46px, 7vw, 92px) 24px 36px; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto 40%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(240, 180, 40, 0.07), transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
}
.hero__copy { position: relative; z-index: 2; }
.hero__title {
  margin-top: 18px;
  font-size: clamp(3.5rem, 7vw, 6.6rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0.012em;
}
.hero__title span { display: block; }
.hero__title .is-accent {
  background: linear-gradient(178deg, var(--amber-2) 8%, #d69514 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede {
  max-width: 34rem;
  margin: 22px 0 26px;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  line-height: 1.65;
}
.hero__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 18px; }
.hero__quick-label {
  color: var(--faint);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 2px;
}
.quick-chip {
  padding: 0.36rem 0.68rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-2);
  font-size: 0.7rem;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.quick-chip:hover { border-color: rgba(240, 180, 40, 0.5); color: var(--amber); background: var(--amber-soft); }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 0.68rem;
  letter-spacing: 0.025em;
}
.hero__stats strong { color: var(--text-2); font-weight: 600; }

/* Search --------------------------------------------------------------- */
.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 640px;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.search:focus-within {
  border-color: rgba(240, 180, 40, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: 0 0 0 4px rgba(240, 180, 40, 0.07);
}
.search__icon { width: 19px; height: 19px; color: var(--muted); }
.search__input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  outline: none;
  background: none;
  font-size: 0.96rem;
}
.search__input::placeholder { color: var(--faint); }
.search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  color: var(--faint);
  font-size: 0.68rem;
  font-family: var(--font-body);
  flex: none;
}
.search__submit { flex: none; padding: 0.68rem 1rem; font-size: 0.76rem; }
.search__label--short { display: none; }
.search--lg { padding: 7px 7px 7px 20px; }
.search--lg .search__input { height: 50px; font-size: 1rem; }
.search--lg .search__submit { padding: 0.8rem 1.15rem; }
.search__results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 60;
  padding: 8px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: rgba(20, 20, 24, 0.98);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  max-height: 390px;
  overflow-y: auto;
  text-align: left;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 8px;
  border-radius: 11px;
  transition: background 0.15s ease;
}
.search-result:hover, .search-result.is-active { background: rgba(255, 255, 255, 0.055); }
.search-result .art { width: 38px; height: 38px; border-radius: 7px; flex: none; }
.search-result__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.search-result__text strong {
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result__text span { color: var(--muted); font-size: 0.66rem; }
.search-result__genre {
  color: var(--faint);
  font-size: 0.55rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.search__empty {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
  color: var(--muted);
  font-size: 0.8rem;
}
.search__empty strong { color: var(--text); font-weight: 600; }
.search__empty a { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; color: var(--amber); font-size: 0.72rem; }
.search__empty .icon { width: 13px; height: 13px; }

/* Hero rig visual ------------------------------------------------------- */
.hero__visual { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-rig { position: relative; width: 100%; max-width: 470px; padding: 8px 16px 36px 0; }
.hero-rig__halo {
  position: absolute;
  inset: 4% 2% 10%;
  background: radial-gradient(closest-side, rgba(240, 180, 40, 0.24), rgba(240, 180, 40, 0.04) 55%, transparent 75%);
  filter: blur(38px);
  z-index: 0;
}
.amp-unit {
  position: relative;
  z-index: 1;
  padding: 14px;
  border: 1px solid #3b3b44;
  border-radius: 24px;
  background: linear-gradient(158deg, #2d2d34 0%, #1b1b1f 45%, #121215 100%);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transform: rotate(-3deg);
}
.amp-unit__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 6px 11px;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  font-size: 0.68rem;
}
.amp-unit__brand { color: var(--amber); font-weight: 500; }
.amp-unit__model { margin-left: auto; color: #7d7a83; font-size: 0.58rem; }
.amp-unit__led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 14px rgba(240, 180, 40, 0.9);
  flex: none;
}
.amp-unit__panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 10px 11px;
  border: 1px solid #36363e;
  border-radius: 10px;
  background: linear-gradient(180deg, #25252b, #1b1b20);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.mini-knob { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.mini-knob__dial {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  border: 1px solid #4a4a53;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #4a4a53, #1c1c21 66%);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.09), 0 5px 12px rgba(0, 0, 0, 0.5);
}
.mini-knob__needle {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 2px;
  height: 13px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--amber);
  transform-origin: 50% 15px;
  transform: rotate(var(--angle, -10deg));
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 0 6px rgba(240, 180, 40, 0.35);
}
.mini-knob__label {
  color: #8d8a94;
  font-size: 0.48rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.amp-unit__grille {
  position: relative;
  height: 148px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2d2d33;
  border-radius: 10px;
  background: repeating-linear-gradient(0deg, #101012 0 4px, #1c1c20 4px 8px);
  box-shadow: inset 0 0 44px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
.amp-unit__grille::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 100% at 50% 0%, rgba(255, 255, 255, 0.045), transparent 60%);
}
.amp-unit__badge {
  position: relative;
  z-index: 1;
  padding: 2px 12px 2px 16px;
  border: 1px solid rgba(240, 180, 40, 0.18);
  border-radius: 6px;
  color: rgba(240, 180, 40, 0.32);
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.2em;
}
.hero-card {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: min(294px, 84%);
  padding: 15px 16px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 17px;
  background: rgba(21, 21, 25, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  animation: floatCard 7s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-card__top {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.hero-card__top .live-dot { width: 5px; height: 5px; }
.hero-card__song {
  margin-top: 8px;
  overflow: hidden;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.hero-card__artist { margin-top: 4px; color: var(--muted); font-size: 0.68rem; }
.hero-card__values {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.hero-card__values span { display: flex; flex-direction: column; gap: 1px; }
.hero-card__values small { color: var(--faint); font-size: 0.53rem; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-card__values b { color: var(--amber); font-family: var(--font-display); font-size: 1.02rem; font-weight: 500; }
.hero-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; }
.hero-card__rig {
  min-width: 0;
  overflow: hidden;
  color: var(--faint);
  font-size: 0.56rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-card__status { display: inline-flex; align-items: center; gap: 3px; color: var(--green); font-size: 0.56rem; flex: none; }
.hero-card__status .icon { width: 11px; height: 11px; }
.hero-rig__caption {
  position: absolute;
  right: 16px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #7f7c86;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-rig__caption .line { width: 26px; height: 1px; background: var(--border); }

/* Sections ------------------------------------------------------------- */
.section { max-width: var(--max); margin: 0 auto; padding: 62px 24px; }
.section--tight { padding-top: 26px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.section-head__main h2 { margin-top: 8px; font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 500; }
.section-head__copy {
  max-width: 48rem;
  margin-top: 11px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}
.section-head > .text-link { flex: none; margin-bottom: 6px; }

/* Song cards ----------------------------------------------------------- */
.song-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.song-grid--four { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.song-grid--explore { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.song-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0) 40%), var(--panel);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.song-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 180, 40, 0.3);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.34);
}
.song-card__artwrap { position: relative; overflow: hidden; border-radius: 11px; aspect-ratio: 4 / 3; }
.song-card__artwrap .art { transition: transform 0.6s cubic-bezier(0.2, 0.75, 0.2, 1); }
.song-card:hover .song-card__artwrap .art { transform: scale(1.045); }
.song-card__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 12px 4px 3px; }
.song-card__title {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.05;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.song-card__artist { display: flex; gap: 5px; color: var(--muted); font-size: 0.7rem; }
.song-card__artist span { color: var(--faint); }
.song-card__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 8px; }
.song-card__arrow {
  position: absolute;
  top: 19px;
  right: 19px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(13, 13, 15, 0.66);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.song-card__arrow .icon { width: 14px; height: 14px; }
.song-card:hover .song-card__arrow { opacity: 1; transform: none; }

/* Album art ------------------------------------------------------------ */
.art {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(90% 85% at 18% 8%, var(--a2) 0%, transparent 62%),
    linear-gradient(145deg, var(--a1) 0%, #0a0a0c 96%);
  isolation: isolate;
}
.art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)' opacity='0.7'/%3E%3C/svg%3E");
}
.art__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(55% 65% at 76% 82%, color-mix(in srgb, var(--accent) 32%, transparent), transparent 70%);
  opacity: 0.65;
}
.art__motif { position: absolute; z-index: 1; pointer-events: none; }
.art__letter {
  position: absolute;
  left: 11px;
  bottom: 7px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 0.8;
  text-transform: uppercase;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.45);
}
.art__tag {
  position: absolute;
  top: 9px;
  right: 10px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.art--bolt .art__motif {
  top: 8%;
  right: 9%;
  width: 42%;
  height: 68%;
  background: var(--accent);
  clip-path: polygon(54% 0, 100% 0, 63% 41%, 93% 41%, 27% 100%, 41% 55%, 8% 55%);
  opacity: 0.88;
  transform: rotate(7deg);
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.35));
}
.art--wave .art__motif {
  top: 2%;
  right: -18%;
  width: 105%;
  height: 88%;
  background: repeating-linear-gradient(114deg, transparent 0 13px, color-mix(in srgb, var(--accent) 62%, transparent) 13px 15px);
  clip-path: ellipse(54% 44% at 62% 46%);
  opacity: 0.55;
  transform: rotate(-6deg);
}
.art--sun .art__motif {
  top: 12%;
  right: 10%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 25%, transparent));
  mask-image: repeating-linear-gradient(0deg, #000 0 6px, transparent 6px 10px);
  -webkit-mask-image: repeating-linear-gradient(0deg, #000 0 6px, transparent 6px 10px);
  opacity: 0.9;
}
.art--rings .art__motif {
  top: 4%;
  right: 2%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 9px, color-mix(in srgb, var(--accent) 62%, transparent) 9px 11px);
  opacity: 0.55;
}
.art--grid .art__motif {
  inset: 6% -22% -14% 28%;
  background:
    linear-gradient(0deg, transparent 20%, color-mix(in srgb, var(--accent) 28%, transparent)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.2) 18px 19px),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(255, 255, 255, 0.16) 18px 19px);
  transform: perspective(230px) rotateX(52deg);
  transform-origin: bottom;
  opacity: 0.5;
  mask-image: linear-gradient(0deg, #000, transparent 82%);
  -webkit-mask-image: linear-gradient(0deg, #000, transparent 82%);
}
.art--orb .art__motif {
  top: 15%;
  right: 12%;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, color-mix(in srgb, var(--accent) 92%, #fff 8%), color-mix(in srgb, var(--accent) 18%, transparent) 70%);
  box-shadow: 0 0 46px color-mix(in srgb, var(--accent) 35%, transparent);
  opacity: 0.85;
}
.art--mini { border-radius: inherit; }
.art--mini .art__letter { left: 5px; bottom: 3px; font-size: 1rem; }
.art--mini .art__tag { display: none; }
.art--mini .art__motif { opacity: 0.55; }

/* Steps ---------------------------------------------------------------- */
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent 45%), var(--panel);
}
.step-card::before {
  content: "";
  position: absolute;
  right: -30%;
  bottom: -60%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 180, 40, 0.075), transparent 70%);
  pointer-events: none;
}
.step-card__top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.step-card__num { color: var(--amber); font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.16em; }
.step-card__top .icon { width: 24px; height: 24px; color: var(--muted); }
.step-card h3 { font-size: 1.5rem; font-weight: 500; }
.step-card p { flex: 1; color: var(--muted); font-size: 0.82rem; line-height: 1.65; }
.step-card .text-link { margin-top: 4px; }

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel);
}
.feature { display: grid; gap: 9px; padding: 27px; border-right: 1px solid var(--border); }
.feature:last-child { border-right: 0; }
.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 2px;
  border: 1px solid rgba(240, 180, 40, 0.25);
  border-radius: 11px;
  background: var(--amber-soft);
  color: var(--amber);
}
.feature__icon .icon { width: 19px; height: 19px; }
.feature h3 { font-size: 1.25rem; font-weight: 500; }
.feature p { color: var(--muted); font-size: 0.8rem; line-height: 1.62; }

/* FAQ ------------------------------------------------------------------ */
.faq-list { display: grid; gap: 8px; max-width: 900px; }
.faq {
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--panel);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__chev { color: var(--muted); transition: transform 0.2s ease; }
.faq__chev .icon { width: 17px; height: 17px; }
.faq[open] .faq__chev { transform: rotate(180deg); }
.faq p {
  max-width: 74ch;
  padding: 0 20px 19px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}
.faq p a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

/* CTA ------------------------------------------------------------------ */
.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(30px, 4.5vw, 50px);
  overflow: hidden;
  border: 1px solid rgba(240, 180, 40, 0.22);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(75% 130% at 12% 0%, rgba(240, 180, 40, 0.11), transparent 60%),
    linear-gradient(120deg, #181614, #111113 55%);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: 45%;
  aspect-ratio: 1;
  border: 1px solid rgba(240, 180, 40, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(240, 180, 40, 0.015), 0 0 0 100px rgba(240, 180, 40, 0.01);
  pointer-events: none;
}
.cta-band__title { margin-top: 9px; font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 500; }
.cta-band__copy { margin-top: 11px; color: var(--muted); font-size: 0.88rem; }
.cta-band__actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 9px; flex: none; }

/* --------------------------------------------------------------- pages */
.page { max-width: var(--max); margin: 0 auto; padding: 42px 24px 84px; }
.page-head { max-width: 840px; padding: 14px 0 30px; }
.page-head__title { margin-top: 10px; font-size: clamp(2.7rem, 5.4vw, 4.9rem); font-weight: 600; }
.page-head__title .is-accent {
  background: linear-gradient(178deg, var(--amber-2), #d69514);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-head__copy { max-width: 640px; margin-top: 15px; color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

/* Explore -------------------------------------------------------------- */
.explore-tools { display: flex; flex-direction: column; gap: 15px; margin-bottom: 26px; }
.explore-tools .search { max-width: 660px; }
.genre-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}
.genre-row::-webkit-scrollbar { display: none; }
.genre-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 0.4rem 0.68rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-2);
  font-size: 0.7rem;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.genre-chip span { color: var(--faint); font-size: 0.6rem; }
.genre-chip:hover { border-color: var(--border-strong); color: var(--text); }
.genre-chip.is-active { border-color: var(--amber); background: var(--amber); color: #181208; font-weight: 600; }
.genre-chip.is-active span { color: rgba(24, 18, 8, 0.6); }
.explore-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 2px; }
.explore-count { color: var(--muted); font-size: 0.76rem; }
.explore-count strong { color: var(--text); font-weight: 600; }
.select-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.48rem 2rem 0.48rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239c9aa2' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 0.65rem center;
  color: var(--text-2);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.select:focus { outline: none; border-color: var(--amber); }

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 64px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.012);
  text-align: center;
}
.empty-state__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--card);
  color: var(--muted);
}
.empty-state h2 { margin-top: 8px; font-size: 2rem; font-weight: 500; }
.empty-state p { max-width: 430px; margin-bottom: 8px; color: var(--muted); font-size: 0.86rem; line-height: 1.6; }

/* ------------------------------------------------------------------ rig */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
}
.notice__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}
.notice__icon .icon { width: 15px; height: 15px; }
.notice strong { display: block; font-size: 0.78rem; font-weight: 600; }
.notice p { margin-top: 2px; color: var(--muted); font-size: 0.72rem; line-height: 1.55; }
.notice a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
.notice--accent { border-color: rgba(240, 180, 40, 0.28); background: linear-gradient(90deg, rgba(240, 180, 40, 0.075), rgba(240, 180, 40, 0.015)); }
.notice--accent .notice__icon { background: var(--amber-soft); color: var(--amber); }
.notice--warn { border-color: rgba(226, 84, 62, 0.28); background: rgba(226, 84, 62, 0.055); }
.notice--warn .notice__icon { background: rgba(226, 84, 62, 0.1); color: var(--red); }
.notice--success { border-color: rgba(105, 192, 140, 0.25); background: rgba(105, 192, 140, 0.05); }
.notice--success .notice__icon { background: rgba(105, 192, 140, 0.09); color: var(--green); }
.notice--slim { padding: 11px 13px; }

.rig-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 314px;
  gap: 24px;
  align-items: start;
  margin-top: 6px;
}
.rig-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.rig-section {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 35%), var(--panel);
}
.rig-section__head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.rig-section__num {
  flex: none;
  padding: 4px 7px;
  border: 1px solid rgba(240, 180, 40, 0.3);
  border-radius: 6px;
  background: var(--amber-soft);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}
.rig-section__head h2 { font-size: 1.75rem; font-weight: 500; }
.rig-section__head p { margin-top: 3px; color: var(--muted); font-size: 0.7rem; }

.gear-grid { display: grid; gap: 8px; }
.gear-grid--guitars, .gear-grid--amps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gear-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 70px;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.015);
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.gear-card:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.028); }
.gear-card.is-selected {
  border-color: var(--amber);
  background: linear-gradient(180deg, rgba(240, 180, 40, 0.09), rgba(240, 180, 40, 0.03));
  box-shadow: inset 0 0 0 1px rgba(240, 180, 40, 0.18);
}
.gear-card__art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex: none;
  overflow: hidden;
  border: 1px solid #27272d;
  border-radius: 8px;
  background: #101012;
}
.gear-card__svg { width: 44px; height: 44px; }
.gear-art { width: 100%; height: 100%; }
.gear-card__info { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.gear-card__brand { color: var(--faint); font-size: 0.54rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.gear-card__name {
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gear-card__meta {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.6rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gear-card__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: none;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.gear-card__check .icon { width: 11px; height: 11px; }
.gear-card.is-selected .gear-card__check { border-color: var(--amber); background: var(--amber); color: #181208; }

.pedal-group { margin-top: 16px; }
.pedal-group:first-of-type { margin-top: 0; }
.pedal-group__head { display: flex; align-items: baseline; gap: 9px; margin-bottom: 8px; }
.pedal-group__head h3 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pedal-group__head span { color: var(--faint); font-size: 0.6rem; }
.pedal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.pedal-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 55px;
  min-width: 0;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.014);
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.pedal-card:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.028); }
.pedal-card.is-selected { border-color: rgba(240, 180, 40, 0.55); background: rgba(240, 180, 40, 0.055); }
.pedal-card__art { display: flex; align-items: center; justify-content: center; width: 30px; height: 40px; flex: none; }
.pedal-card__svg { width: 28px; height: 36px; }
.pedal-art { width: 100%; height: 100%; }
.pedal-card__info { display: flex; flex-direction: column; min-width: 0; gap: 0; line-height: 1.25; }
.pedal-card__info small {
  overflow: hidden;
  color: var(--faint);
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pedal-card__info strong {
  overflow: hidden;
  font-size: 0.68rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pedal-card__info span { color: var(--muted); font-size: 0.5rem; }
.pedal-card__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  margin-left: auto;
  flex: none;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--muted);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.pedal-card__check .icon { width: 10px; height: 10px; transition: transform 0.18s ease; }
.pedal-card.is-selected .pedal-card__check { border-color: var(--amber); background: var(--amber); color: #181208; }
.pedal-card.is-selected .pedal-card__check .icon { transform: rotate(45deg); }

.rig-side { position: sticky; top: calc(var(--header-h) + 16px); }
.summary-card {
  padding: 19px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(110% 70% at 20% 0%, rgba(240, 180, 40, 0.075), transparent 55%),
    var(--panel);
}
.summary-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.summary-card__head h2 { font-size: 1.45rem; font-weight: 500; }
.summary-rows { display: flex; flex-direction: column; gap: 11px; margin-bottom: 17px; }
.summary-row { display: flex; align-items: flex-start; gap: 9px; }
.summary-row__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}
.summary-row__icon .icon { width: 14px; height: 14px; }
.summary-row small { display: block; margin-bottom: 1px; color: var(--faint); font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; }
.summary-row strong { font-size: 0.73rem; font-weight: 600; }
.summary-row .is-muted { color: var(--muted); font-weight: 500; }
.summary-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.mini-chip { padding: 0.17rem 0.38rem; border: 1px solid var(--border); border-radius: 4px; background: rgba(255, 255, 255, 0.045); color: var(--text-2); font-size: 0.54rem; }
.summary-actions { display: flex; justify-content: space-between; gap: 4px; margin-top: 9px; }
.summary-card__note { display: flex; align-items: center; gap: 4px; margin-top: 13px; color: var(--faint); font-size: 0.58rem; }
.summary-card__note .icon { width: 11px; height: 11px; color: var(--green); }
.rig-footnote { display: flex; gap: 7px; padding: 2px 4px; color: var(--faint); font-size: 0.65rem; line-height: 1.6; }
.rig-footnote .icon { width: 13px; height: 13px; flex: none; margin-top: 1px; }

/* ---------------------------------------------------------------- tone */
.tone-page { max-width: 1240px; margin: 0 auto; padding: 26px 24px 86px; }
.tone-crumb { display: flex; align-items: center; gap: 9px; margin: 6px 0 20px; color: var(--faint); font-size: 0.64rem; letter-spacing: 0.04em; }
.back-link { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 0.7rem; font-weight: 500; transition: color 0.18s ease; }
.back-link:hover { color: var(--amber); }
.back-link .icon { width: 14px; height: 14px; }
.tone-crumb__sep { color: var(--border-strong); }

.tone-head {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  margin-bottom: 22px;
}
.tone-head__art {
  width: 176px;
  height: 176px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.42);
}
.tone-head__info { min-width: 0; }
.tone-head__info .eyebrow { margin-bottom: 5px; }
.tone-head__title { font-size: clamp(2.6rem, 5.4vw, 4.5rem); font-weight: 600; }
.tone-head__artist { margin-top: 7px; color: var(--muted); font-size: 0.85rem; }
.tone-head__artist span { margin: 0 6px; color: var(--faint); }
.tone-head__note { max-width: 54ch; margin-top: 10px; color: var(--text-2); font-size: 0.83rem; line-height: 1.55; }
.tone-head__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.tone-head__actions { display: flex; align-items: center; gap: 7px; padding-top: 3px; }
.tone-head__actions .btn { gap: 6px; }

.tone-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  padding: 11px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.segmented { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); }
.segment {
  padding: 0.46rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease;
}
a.segment:hover { color: var(--text); }
.segment.is-active { background: var(--amber); color: #181208; }
.tone-toolbar__right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tweak-hint { display: inline-flex; align-items: center; gap: 4px; color: var(--faint); font-size: 0.62rem; }
.tweak-hint .icon { width: 12px; height: 12px; }

.tone-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}
.tone-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tone-side { position: static; display: flex; flex-direction: column; gap: 12px; }

.panel {
  padding: 21px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 40%), var(--panel);
}
.tone-panel { position: relative; }
.panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.panel__head--tight { margin-bottom: 13px; }
.panel__kicker {
  margin-bottom: 3px;
  color: var(--amber);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.panel__head h2 { font-size: 1.68rem; font-weight: 500; }
.side-panel { padding: 17px; }
.side-panel .panel__head h2 { font-size: 1.28rem; }
.panel__note {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.65;
}
.panel__micro {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 13px;
  color: var(--faint);
  font-size: 0.62rem;
  line-height: 1.55;
}
.panel__micro .icon { width: 12px; height: 12px; flex: none; margin-top: 1px; }

.guitar-settings { display: flex; flex-direction: column; gap: 18px; }
.field-label { display: block; margin-bottom: 7px; color: var(--faint); font-size: 0.57rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.pickup-options { display: flex; flex-wrap: wrap; gap: 5px; }
.pickup-option {
  padding: 0.38rem 0.62rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 500;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.pickup-option:hover { border-color: var(--border-strong); color: var(--text); }
.pickup-option.is-active { border-color: var(--amber); background: var(--amber); color: #181208; font-weight: 600; }
.pickup-option small { font-size: 0.5rem; opacity: 0.65; }
.knob-row { display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.guitar-fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 128px;
  align-self: center;
  margin-left: auto;
  padding-left: 18px;
  border-left: 1px solid var(--border);
}
.guitar-fact small { color: var(--faint); font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; }
.guitar-fact strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.guitar-fact span { color: var(--muted); font-size: 0.6rem; }

/* Knobs --------------------------------------------------------------- */
.knob {
  --knob-size: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  width: var(--knob-size);
  flex: none;
  border-radius: 12px;
  outline: none;
  cursor: ns-resize;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.knob__svg { width: var(--knob-size); height: var(--knob-size); overflow: visible; }
.knob__track { fill: none; stroke: #2b2b32; stroke-width: 5; stroke-linecap: round; }
.knob__fill { fill: none; stroke: var(--amber); stroke-width: 5; stroke-linecap: round; transition: stroke-dasharray 0.06s linear; }
.knob__ticks { color: var(--muted); opacity: 0.45; }
.knob__tick { stroke: currentColor; stroke-width: 1; }
.knob__tick.is-major { stroke: var(--text-2); stroke-width: 1.3; opacity: 0.8; }
.knob__cap { fill: #28282e; stroke: #41414a; stroke-width: 1; }
.knob__cap-inner { fill: #1a1a1e; stroke: #303036; stroke-width: 0.8; }
.knob__needle { stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; }
.knob__value {
  margin-top: -5px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}
.knob__label {
  max-width: 92px;
  color: var(--faint);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}
.knob:hover .knob__cap { stroke: var(--border-strong); }
.knob:focus-visible { box-shadow: 0 0 0 2px rgba(240, 180, 40, 0.45); }
.knob.is-dragging { cursor: grabbing; }
.knob.is-dragging .knob__needle { stroke: var(--amber-2); }
.knob.is-dirty .knob__value { color: var(--amber); }
.knob.is-dirty .knob__fill { stroke: var(--amber-2); }
.knob.is-dirty .knob__label::after { content: " ·"; color: var(--amber); }
.knob-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 16px 8px; }
.amp-settings-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 18px; }

/* Amp/pedal details --------------------------------------------------- */
.pedal-detail {
  margin-bottom: 9px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.014);
}
.pedal-detail:last-of-type { margin-bottom: 0; }
.pedal-detail__head { display: flex; align-items: center; gap: 11px; margin-bottom: 9px; }
.pedal-detail__art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 52px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #101012;
}
.pedal-detail__svg { width: 30px; height: 40px; }
.pedal-detail__title { min-width: 0; }
.pedal-detail__title h3 { font-size: 1.1rem; font-weight: 500; letter-spacing: 0.02em; }
.pedal-detail__title p { margin-top: 2px; color: var(--muted); font-size: 0.6rem; }
.pedal-detail__head .tag { margin-left: auto; flex: none; }
.pedal-detail__purpose { max-width: 62ch; margin-bottom: 12px; color: var(--text-2); font-size: 0.7rem; line-height: 1.6; }
.knob-row--pedal { gap: 16px; }
.knob-row--pedal .knob { --knob-size: 68px; }
.knob-row--pedal .knob__value { font-size: 1rem; }
.knob-row--pedal .knob__label { font-size: 0.52rem; }
.fixed-row { display: flex; flex-wrap: wrap; gap: 7px; }
.fixed-chip {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 105px;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.02);
}
.fixed-chip small { color: var(--faint); font-size: 0.5rem; letter-spacing: 0.1em; text-transform: uppercase; }
.fixed-chip strong { color: var(--text-2); font-size: 0.7rem; font-weight: 600; }

.gaps { display: flex; flex-direction: column; gap: 7px; margin-top: 13px; }
.gap {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px;
  border: 1px solid rgba(226, 84, 62, 0.24);
  border-radius: 9px;
  background: rgba(226, 84, 62, 0.045);
}
.gap__icon { flex: none; color: var(--red); }
.gap__icon .icon { width: 16px; height: 16px; }
.gap strong { display: block; margin-bottom: 2px; font-size: 0.7rem; }
.gap p { color: var(--muted); font-size: 0.63rem; line-height: 1.5; }
.gap .text-link { flex: none; margin-left: auto; font-size: 0.6rem; }
.empty-inline {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px;
  border: 1px dashed var(--border-strong);
  border-radius: 11px;
  color: var(--muted);
  font-size: 0.72rem;
}
.empty-inline .icon { width: 21px; height: 21px; color: var(--faint); }

/* Side panels --------------------------------------------------------- */
.chain { display: flex; flex-direction: column; padding: 0; list-style: none; }
.chain__node { position: relative; display: flex; align-items: center; gap: 9px; padding: 8px 0; }
.chain__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #111114;
  color: var(--muted);
}
.chain__icon .icon { width: 15px; height: 15px; }
.chain__node--guitar .chain__icon { color: #c9a06a; }
.chain__node--amp .chain__icon { color: var(--amber); }
.chain__node--pedal .chain__icon { color: var(--green); }
.chain__text { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.chain__text strong { font-size: 0.71rem; font-weight: 600; }
.chain__text small { overflow: hidden; color: var(--muted); font-size: 0.58rem; text-overflow: ellipsis; white-space: nowrap; }
.chain__arrow { position: absolute; left: 14px; bottom: -5px; z-index: 1; color: var(--faint); }
.chain__arrow .icon { width: 10px; height: 10px; }

.fit__top { display: flex; align-items: baseline; justify-content: space-between; color: var(--muted); font-size: 0.68rem; }
.fit__top span { color: var(--text); font-weight: 600; }
.fit__top strong { color: var(--amber); font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.fit__bar { height: 6px; margin-top: 8px; overflow: hidden; border-radius: 99px; background: #26262c; }
.fit__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #b57a10, var(--amber), var(--amber-2)); }
.fit p { margin-top: 9px; color: var(--faint); font-size: 0.58rem; line-height: 1.5; }
.rationale { display: flex; flex-direction: column; gap: 6px; margin-top: 13px; padding: 11px 0 0; border-top: 1px solid var(--border); list-style: none; }
.rationale li { position: relative; padding-left: 13px; color: var(--muted); font-size: 0.63rem; line-height: 1.55; }
.rationale li::before { content: ""; position: absolute; left: 0; top: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--amber); opacity: 0.6; }

.adaptation-list { display: flex; flex-direction: column; gap: 9px; padding: 0; list-style: none; }
.adaptation { display: flex; align-items: flex-start; gap: 8px; }
.adaptation__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}
.adaptation__icon .icon { width: 12px; height: 12px; }
.adaptation p { color: var(--muted); font-size: 0.64rem; line-height: 1.55; }
.adaptation--sample .adaptation__icon, .adaptation--auto .adaptation__icon {
  border-color: rgba(240, 180, 40, 0.3);
  background: var(--amber-soft);
  color: var(--amber);
}
.adaptation--missing .adaptation__icon { border-color: rgba(226, 84, 62, 0.3); background: rgba(226, 84, 62, 0.08); color: var(--red); }
.adaptation--swap .adaptation__icon { border-color: rgba(111, 168, 220, 0.3); background: rgba(111, 168, 220, 0.08); color: var(--blue); }
.adaptation--pickup .adaptation__icon, .adaptation--gain .adaptation__icon, .adaptation--eq .adaptation__icon { color: #c9a06a; }
.adaptation--info .adaptation__icon { border-color: rgba(105, 192, 140, 0.3); background: rgba(105, 192, 140, 0.08); color: var(--green); }

.ref-rig { display: flex; flex-direction: column; gap: 9px; }
.ref-row { display: flex; flex-direction: column; gap: 1px; padding-bottom: 7px; border-bottom: 1px solid var(--border); }
.ref-row small { color: var(--faint); font-size: 0.51rem; letter-spacing: 0.1em; text-transform: uppercase; }
.ref-row strong { font-size: 0.69rem; font-weight: 600; }
.ref-pedals { display: flex; flex-direction: column; gap: 7px; }
.ref-pedal { display: flex; flex-direction: column; gap: 1px; }
.ref-pedal strong { font-size: 0.66rem; font-weight: 600; }
.ref-pedal span { color: var(--muted); font-size: 0.59rem; }
.ref-pedal small { color: var(--faint); font-size: 0.54rem; }
.ref-none { color: var(--faint); font-size: 0.6rem; }
.ref-note { margin-top: 5px; padding-top: 9px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.61rem; line-height: 1.6; }

.play-notes { display: flex; flex-direction: column; gap: 7px; padding: 0; list-style: none; counter-reset: note; }
.play-notes li { position: relative; padding-left: 21px; color: var(--muted); font-size: 0.64rem; line-height: 1.55; counter-increment: note; }
.play-notes li::before {
  content: counter(note, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}
.related-list { display: flex; flex-direction: column; gap: 4px; }
.related-card { display: flex; align-items: center; gap: 9px; padding: 6px; border: 1px solid transparent; border-radius: 9px; transition: background 0.18s ease, border-color 0.18s ease; }
.related-card:hover { border-color: var(--border); background: rgba(255, 255, 255, 0.03); }
.related-card .art { width: 38px; height: 38px; border-radius: 6px; flex: none; }
.related-card > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.related-card strong { overflow: hidden; font-size: 0.68rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.related-card small { color: var(--muted); font-size: 0.56rem; }
.related-card > .icon { width: 13px; height: 13px; color: var(--faint); flex: none; }
.tone-disclaimer { display: flex; gap: 6px; padding: 0 4px; color: var(--faint); font-size: 0.56rem; line-height: 1.55; }
.tone-disclaimer .icon { width: 12px; height: 12px; flex: none; margin-top: 1px; }

/* ---------------------------------------------------------------- saved */
.saved-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.saved-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.saved-card:hover { transform: translateY(-2px); border-color: rgba(240, 180, 40, 0.3); }
.saved-card__link { position: relative; display: flex; flex-direction: column; padding: 9px; }
.saved-card__art { width: 100%; aspect-ratio: 4 / 3; border-radius: 10px; }
.saved-card__body { padding: 11px 4px 4px; }
.saved-card__body h3 { font-size: 1.28rem; font-weight: 500; }
.saved-card__body p { margin: 2px 0 7px; color: var(--muted); font-size: 0.66rem; }
.saved-card__meta { display: flex; flex-wrap: wrap; gap: 4px; }
.saved-card__arrow {
  position: absolute;
  top: 17px;
  right: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(13, 13, 15, 0.6);
}
.saved-card__arrow .icon { width: 13px; height: 13px; }
.saved-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-top: auto;
  padding: 8px 13px;
  border-top: 1px solid var(--border);
}
.saved-card__foot > span { display: flex; align-items: center; gap: 4px; color: var(--faint); font-size: 0.55rem; }
.saved-card__foot .icon { width: 11px; height: 11px; }
.saved-card__foot .btn .icon { width: 12px; height: 12px; }

/* --------------------------------------------------------------- prose */
.page--prose { max-width: 980px; }
.prose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 44px; margin-top: 8px; }
.prose h2 {
  margin-bottom: 9px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.prose p { margin-bottom: 12px; color: var(--muted); font-size: 0.84rem; line-height: 1.75; }
.prose strong { color: var(--text-2); font-weight: 600; }
.prose a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.prose-cta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--border); }

.page--notfound { display: flex; flex-direction: column; justify-content: center; min-height: 60vh; max-width: 820px; padding-top: 70px; }
.notfound-search { margin: 22px 0; }
.error-actions { display: flex; flex-wrap: wrap; gap: 9px; }

/* ---------------------------------------------------------------- footer */
.site-footer { margin-top: 34px; border-top: 1px solid var(--border); background: rgba(10, 10, 12, 0.55); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 50px 24px 26px; }
.footer-top {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.footer-brand { max-width: 320px; }
.brand--footer { margin-bottom: 12px; }
.footer-brand p { color: var(--muted); font-size: 0.72rem; line-height: 1.65; }
.footer-col h2 {
  margin: 3px 0 10px;
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-col a { display: block; padding: 3px 0; color: var(--muted); font-size: 0.7rem; transition: color 0.18s ease; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; }
.footer-bottom p { color: var(--faint); font-size: 0.58rem; line-height: 1.6; }
.footer-tag { color: #7f7c86 !important; font-family: var(--font-display); font-size: 0.56rem !important; letter-spacing: 0.12em; text-transform: uppercase; }

/* --------------------------------------------------------------- tabbar */
.tabbar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 55;
  padding: 6px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: rgba(20, 20, 24, 0.94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.tabbar a {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 3px;
  border-radius: 12px;
  color: var(--faint);
  font-size: 0.52rem;
  letter-spacing: 0.04em;
}
.tabbar a .icon { width: 19px; height: 19px; }
.tabbar a.is-active { background: rgba(240, 180, 40, 0.08); color: var(--amber); }
.tabbar__badge {
  position: absolute;
  top: 3px;
  right: calc(50% - 18px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 7px;
  background: var(--amber);
  color: #181208;
  font-size: 0.47rem;
  font-weight: 700;
}

/* ---------------------------------------------------------------- toast */
.toast-root {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: max-content;
  max-width: calc(100vw - 32px);
  transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 9px 14px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #1c1c21;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.42);
  color: var(--text);
  font-size: 0.71rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.toast.is-visible { opacity: 1; transform: none; }
.toast__dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px rgba(240, 180, 40, 0.6); }

/* --------------------------------------------------------------- dialog */
.dialog {
  width: 100%;
  max-width: min(560px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}
.dialog::backdrop { background: rgba(5, 5, 7, 0.72); backdrop-filter: blur(6px); }
.dialog__card {
  padding: 21px;
  border: 1px solid var(--border-strong);
  border-radius: 19px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dialog__head h2 { margin-top: 3px; font-size: 1.55rem; font-weight: 500; }
.dialog__card > p { margin: 7px 0 11px; color: var(--muted); font-size: 0.72rem; line-height: 1.5; }
.dialog__textarea {
  width: 100%;
  min-height: 220px;
  padding: 11px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #101012;
  color: var(--text-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  line-height: 1.55;
}
.dialog__actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 13px; }

.noscript {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  padding: 12px;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  font-size: 0.78rem;
  text-align: center;
}

/* ================================================================ responsive */
@media (max-width: 1120px) {
  .song-grid--explore { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tone-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .tone-head { grid-template-columns: 150px minmax(0, 1fr) auto; }
  .tone-head__art { width: 150px; height: 150px; }
  .pedal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero__copy { max-width: 680px; }
  .hero__visual { justify-content: flex-start; padding-left: 4%; }
  .hero-rig { max-width: 520px; }
  .rig-layout { grid-template-columns: minmax(0, 1fr); }
  .rig-side { position: static; }
  .tone-layout { grid-template-columns: minmax(0, 1fr); }
  .tone-side { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tone-disclaimer { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .header-inner { gap: 16px; }
  .header-actions { margin-left: auto; }
  .tabbar { display: flex; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .toast-root { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .site-footer { margin-bottom: 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .section-head > .text-link { margin-bottom: 0; }
  .feature-band { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--border); }
  .feature:last-child { border-bottom: 0; }
  .song-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .song-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .song-grid--explore { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .saved-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-col:last-child { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .hero { padding-top: 38px; }
  .hero__visual { padding-left: 0; justify-content: center; }
  .hero-rig { max-width: 450px; padding-right: 8px; }
  .step-grid { grid-template-columns: 1fr; }
  .tone-head { grid-template-columns: 118px minmax(0, 1fr); }
  .tone-head__art { width: 118px; height: 118px; border-radius: 12px; }
  .tone-head__actions { grid-column: 1 / -1; padding-top: 6px; }
  .tone-head__title { font-size: clamp(2.3rem, 8vw, 3.6rem); }
  .tone-head__note { font-size: 0.78rem; }
  .tone-side { grid-template-columns: 1fr; }
  .page { padding-top: 28px; }
  .footer-top { grid-template-columns: 1.5fr 1fr; }
  .footer-col:nth-child(4) { display: none; }
  .footer-brand p { max-width: 280px; }
  .tone-toolbar__right .tweak-hint { display: none; }
  .knob { --knob-size: 76px; }
  .knob-row { gap: 14px; }
  .guitar-fact { border-left: 0; padding-left: 0; margin-left: 0; width: 100%; }
  .prose-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 640px) {
  .header-inner { padding: 0 16px; }
  .header-cta { padding: 0.55rem 0.8rem; font-size: 0.7rem; }
  .header-cta .icon { display: none; }
  .brand__word { font-size: 1.08rem; }
  .brand__mark { width: 27px; height: 27px; }
  .hero, .section, .page, .tone-page { padding-left: 16px; padding-right: 16px; }
  .footer-inner { padding-left: 16px; padding-right: 16px; }
  .hero__title { font-size: clamp(3.2rem, 15vw, 4.8rem); }
  .hero__lede { font-size: 0.92rem; }
  .hero__stats { gap: 12px; font-size: 0.62rem; }
  .search { padding-left: 14px; }
  .search__kbd { display: none; }
  .search__submit { padding: 0.62rem 0.8rem; font-size: 0.7rem; }
  .search--lg .search__submit { padding: 0.7rem 0.85rem; }
  .search__label--full { display: none; }
  .search__label--short { display: inline; }
  .search-result__genre { display: none; }
  .section { padding-top: 44px; padding-bottom: 44px; }
  .section-head__main h2 { font-size: 2rem; }
  .song-grid, .song-grid--four, .song-grid--explore { grid-template-columns: 1fr; }
  .song-card__title { font-size: 1.35rem; }
  .song-card__artwrap { aspect-ratio: 16 / 10; }
  .tone-head { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .tone-head__art { width: 96px; height: 96px; }
  .tone-head__title { font-size: clamp(2rem, 9vw, 2.9rem); }
  .tone-head__artist { font-size: 0.75rem; }
  .tone-head__tags .tag:nth-child(3) { display: none; }
  .panel { padding: 16px; }
  .panel__head { flex-wrap: wrap; gap: 8px; }
  .panel__head h2 { font-size: 1.4rem; }
  .amp-settings-meta .tag { font-size: 0.52rem; }
  .knob-grid { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 12px 4px; }
  .knob { --knob-size: 70px; }
  .knob__value { font-size: 1rem; }
  .knob__label { font-size: 0.5rem; }
  .gear-grid--guitars, .gear-grid--amps { grid-template-columns: 1fr; }
  .rig-section { padding: 16px; }
  .pedal-grid { gap: 6px; }
  .tone-crumb { margin-top: 0; }
  .tone-toolbar { gap: 8px; }
  .tone-toolbar__right { width: 100%; justify-content: space-between; }
  .tone-toolbar__right .btn { flex: 1; }
  .fixed-row .fixed-chip { min-width: 90px; }
  .saved-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-col { display: block !important; }
  .footer-bottom { flex-direction: column; }
  .explore-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cta-band { padding: 26px 20px; }
  .cta-band__actions { flex-direction: column; width: 100%; }
  .cta-band__actions .btn { width: 100%; }
  .tone-side { gap: 10px; }
}

@media (max-width: 400px) {
  .brand__word { font-size: 0.98rem; letter-spacing: 0.08em; }
  .header-cta { font-size: 0.64rem; padding: 0.5rem 0.65rem; }
  .hero__quick-label { width: 100%; }
  .pedal-grid { grid-template-columns: 1fr; }
  .tone-head { grid-template-columns: 1fr; }
  .tone-head__art { width: 84px; height: 84px; }
  .tone-head__actions { grid-column: auto; }
}

/* ------------------------------------------------------------ print */
@media print {
  :root {
    --bg: #fff;
    --panel: #fff;
    --card: #f5f5f5;
    --border: #d4d4d4;
    --border-strong: #b8b8b8;
    --text: #111;
    --text-2: #222;
    --muted: #444;
    --faint: #666;
    --amber: #9a6b00;
    --amber-2: #b57f00;
    --amber-soft: #f6eedc;
  }
  body { background: #fff; color: #111; padding: 0 !important; }
  body::before, body::after { display: none; }
  .site-header, .site-footer, .tabbar, .toast-root, .tone-toolbar,
  .tone-head__actions, .tone-crumb, .tone-disclaimer, .hero, .site-footer { display: none !important; }
  .page-enter { animation: none; }
  .tone-page { max-width: 100%; padding: 0; }
  .tone-head { grid-template-columns: 120px 1fr; margin-bottom: 12px; }
  .tone-head__art { width: 120px; height: 120px; }
  .tone-layout { display: block; margin-top: 10px; }
  .tone-main { gap: 10px; }
  .tone-side { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .tone-side > section:nth-last-of-type(1) { display: none; }
  .panel { border: 1px solid #ccc; background: #fff; break-inside: avoid; padding: 14px; margin-bottom: 8px; }
  .knob__track { stroke: #ddd; }
  .knob__fill, .knob__needle { stroke: #9a6b00; }
  .knob__ticks { color: #888; }
  .knob__cap { fill: #eee; stroke: #bbb; }
  .knob__cap-inner { fill: #f7f7f7; stroke: #ccc; }
  .tag, .fixed-chip, .notice { border-color: #ccc; background: #fafafa; }
  .notice { display: none; }
  .art { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .song-art, .tone-head__art { border: 1px solid #bbb; }
  a { text-decoration: none; color: inherit; }
  .related-list, .fit__bar { display: none; }
  .knob { cursor: default; }
}

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