/* ============================================================
   晚言社 · Demo 全站样式
   主题：月夜、星光、暖灯
   ============================================================ */

:root {
  --bg: #070b14;
  --bg-2: #0b1220;
  --panel: rgba(18, 26, 43, 0.72);
  --panel-solid: #111a2b;
  --panel-soft: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #eef2ff;
  --muted: #a7b2ca;
  --dim: #8390aa;
  --warm: #f6b17a;
  --warm-2: #ffd6a5;
  --gold: #e8c47a;
  --moon: #cbd5e1;
  --ok: #7bc8a4;
  --danger: #e07a7a;
  --violet: #b8a6d9;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 30px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.22);
  --serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  background:
    radial-gradient(900px 620px at 88% -8%, rgba(203, 213, 225, 0.11), transparent 62%),
    radial-gradient(820px 520px at -4% 104%, rgba(246, 177, 122, 0.12), transparent 62%),
    linear-gradient(180deg, #070b14 0%, #0a101d 42%, #070b14 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.28) 100%);
}

::selection { background: rgba(246, 177, 122, 0.35); color: #fff; }

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

:focus-visible {
  outline: 2px solid var(--warm);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- background ---------- */
.starfield,
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.star {
  position: absolute;
  width: var(--s, 2px);
  height: var(--s, 2px);
  border-radius: 50%;
  background: #fff;
  opacity: 0.65;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.95), 0 0 18px rgba(203, 213, 225, 0.4);
  animation: twinkle var(--dur, 5s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
.star-bright {
  background: #fffdf8;
  box-shadow: 0 0 10px #fff, 0 0 24px rgba(232, 196, 122, 0.55), 0 0 42px rgba(246, 177, 122, 0.18);
}
@keyframes twinkle {
  from { opacity: 0.06; transform: scale(0.65); }
  45% { opacity: 1; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1.35); }
}
.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
}
.aurora::before {
  width: 62vw;
  height: 62vw;
  right: -18vw;
  top: -26vw;
  background: radial-gradient(circle, rgba(203, 213, 225, 0.10), transparent 66%);
}
.aurora::after {
  width: 58vw;
  height: 58vw;
  left: -22vw;
  bottom: -30vw;
  background: radial-gradient(circle, rgba(246, 177, 122, 0.10), transparent 66%);
}

.shell { position: relative; z-index: 1; }
.container { width: min(1180px, 100%); margin: 0 auto; padding: 0 24px; }
.page-main { min-height: 60vh; padding-bottom: 40px; }

/* ---------- typography ---------- */
.serif { font-family: var(--serif); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.warm { color: var(--warm); }
.mono { font-family: var(--mono); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--warm);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--warm));
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: 0.01em; }
h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.12; }
h2 { font-size: clamp(26px, 3.1vw, 36px); line-height: 1.25; }
h3 { font-size: 19px; line-height: 1.35; }
p { color: var(--muted); }
.lead { font-size: 15.5px; line-height: 1.9; color: var(--muted); max-width: 620px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 11, 20, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; filter: drop-shadow(0 0 12px rgba(246, 177, 122, 0.22)); }
.brand-name { font-family: var(--serif); font-size: 19px; line-height: 1.1; letter-spacing: 0.08em; }
.brand-sub { font-size: 8px; letter-spacing: 0.34em; color: var(--dim); text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 1px; margin-left: auto; }
.nav-link {
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  transition: 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-link.active { color: var(--warm); background: rgba(246, 177, 122, 0.09); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.points-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(232, 196, 122, 0.22);
  border-radius: 999px;
  background: rgba(232, 196, 122, 0.07);
  color: var(--gold);
  font-size: 12px;
  white-space: nowrap;
}
.points-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #3a4a6b, #1b2438);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--serif);
  font-size: 14px;
  color: var(--warm-2);
}
.icon-btn {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  transition: 0.2s ease;
}
.icon-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); border-color: var(--line); }
.mobile-toggle { display: none; }

.mobile-drawer {
  position: fixed;
  inset: 72px 0 0;
  z-index: 55;
  background: rgba(7, 11, 20, 0.98);
  backdrop-filter: blur(22px);
  padding: 18px 24px 36px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
  overflow-y: auto;
}
.mobile-drawer.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.mobile-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--text);
}
.mobile-drawer a span { color: var(--dim); font-size: 12px; }
.mobile-drawer .drawer-foot { margin-top: 24px; display: flex; gap: 10px; }

/* ---------- buttons / pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: linear-gradient(135deg, #f6b17a, #e9a269);
  color: #1b120b;
  box-shadow: 0 10px 30px rgba(246, 177, 122, 0.22);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(246, 177, 122, 0.3); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(246, 177, 122, 0.3); }
.btn-soft {
  background: rgba(246, 177, 122, 0.10);
  border-color: rgba(246, 177, 122, 0.24);
  color: var(--warm);
}
.btn-soft:hover { background: rgba(246, 177, 122, 0.16); }
.btn-sm { min-height: 34px; padding: 0 13px; font-size: 12px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
  white-space: nowrap;
}
.badge-warm { color: var(--warm); border-color: rgba(246, 177, 122, 0.25); background: rgba(246, 177, 122, 0.08); }
.badge-gold { color: var(--gold); border-color: rgba(232, 196, 122, 0.25); background: rgba(232, 196, 122, 0.08); }
.badge-ok { color: var(--ok); border-color: rgba(123, 200, 164, 0.25); background: rgba(123, 200, 164, 0.08); }
.badge-danger { color: var(--danger); border-color: rgba(224, 122, 122, 0.25); background: rgba(224, 122, 122, 0.08); }
.badge-violet { color: var(--violet); border-color: rgba(184, 166, 217, 0.25); background: rgba(184, 166, 217, 0.08); }

.stars { color: var(--warm); letter-spacing: 2px; font-size: 12px; white-space: nowrap; }
.stars .empty { color: rgba(255, 255, 255, 0.16); }
.rating-row { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--dim); }

.progress {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.progress > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d9955d, var(--warm-2));
  box-shadow: 0 0 12px rgba(246, 177, 122, 0.35);
}

/* ---------- layout ---------- */
.section { padding: 54px 0; }
.section-tight { padding: 34px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.section-head h2 { margin-top: 8px; }
.section-head p { margin-top: 6px; font-size: 13px; color: var(--dim); }
.section-link { color: var(--warm); font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.section-link:hover { color: var(--warm-2); }

.grid { display: grid; gap: 16px; }
.split-2 { grid-template-columns: 1.1fr 0.9fr; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 44px;
  align-items: center;
  padding: 68px 0 34px;
  min-height: 560px;
}
.hero-copy h1 { margin: 18px 0 18px; }
.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #ffd6a5, #f6b17a 52%, #d9955d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { max-width: 530px; font-size: 15px; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-stats { display: flex; gap: 26px; margin-top: 34px; }
.hero-stat b { display: block; font-family: var(--serif); font-size: 22px; color: var(--text); font-weight: 600; }
.hero-stat span { font-size: 10.5px; letter-spacing: 0.12em; color: var(--dim); }
.hero-note { margin-top: 18px; font-size: 11px; color: var(--dim); display: flex; align-items: center; gap: 8px; }
.hero-note::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 10px var(--warm); }

/* hero scene */
.scene {
  position: relative;
  height: 480px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, #0a1324 0%, #101b30 58%, #0a0f1c 100%);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 260px at 76% 18%, rgba(203, 213, 225, 0.15), transparent 68%),
    radial-gradient(320px 260px at 18% 82%, rgba(246, 177, 122, 0.20), transparent 70%);
  pointer-events: none;
}
.scene-window {
  position: absolute;
  left: 7%;
  top: 8%;
  width: 70%;
  height: 62%;
  border: 1px solid rgba(203, 213, 225, 0.20);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20, 34, 58, 0.85), rgba(10, 17, 31, 0.7));
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4), 0 0 50px rgba(203, 213, 225, 0.04);
}
.scene-window::before,
.scene-window::after {
  content: "";
  position: absolute;
  background: rgba(203, 213, 225, 0.14);
}
.scene-window::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.scene-window::after { left: 0; right: 0; top: 50%; height: 1px; }
.scene-moon {
  position: absolute;
  right: 18%;
  top: 13%;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #dbe3ef 48%, #aab7cc 100%);
  box-shadow: 0 0 70px rgba(203, 213, 225, 0.45);
}
.scene-moon::after {
  content: "";
  position: absolute;
  inset: -24%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203, 213, 225, 0.16), transparent 65%);
}
.scene-guitar {
  position: absolute;
  right: 1%;
  bottom: -7%;
  width: 50%;
  transform: rotate(-9deg);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
}
.scene-guitar svg { width: 100%; height: auto; }
.scene-lamp { position: absolute; left: 7%; bottom: 8%; width: 150px; height: 160px; }
.lamp-glow {
  position: absolute;
  left: -70px;
  bottom: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 177, 122, 0.30), transparent 64%);
  filter: blur(8px);
}
.lamp-shade {
  position: absolute;
  left: 35px;
  top: 0;
  width: 78px;
  height: 54px;
  background: linear-gradient(180deg, #f6b17a, #c98555);
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
  border-radius: 6px 6px 2px 2px;
  box-shadow: 0 0 30px rgba(246, 177, 122, 0.45);
}
.lamp-stand {
  position: absolute;
  left: 72px;
  top: 54px;
  width: 2px;
  height: 82px;
  background: linear-gradient(180deg, #d9a06a, rgba(217, 160, 106, 0.1));
}
.lamp-base {
  position: absolute;
  left: 46px;
  bottom: 0;
  width: 54px;
  height: 8px;
  border-radius: 50%;
  background: rgba(246, 177, 122, 0.25);
  filter: blur(2px);
}
.scene-caption {
  position: absolute;
  left: 22px;
  bottom: 16px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(238, 242, 255, 0.42);
  text-transform: uppercase;
}
.scene-caption span { color: var(--warm); }

/* ---------- status / tasks ---------- */
.status-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(24, 34, 55, 0.82), rgba(12, 18, 31, 0.85));
  box-shadow: var(--shadow-soft);
}
.status-kicker { font-size: 10.5px; letter-spacing: 0.2em; color: var(--warm); text-transform: uppercase; }
.status-title { margin: 8px 0 6px; font-family: var(--serif); font-size: 26px; }
.status-title span { color: var(--warm); }
.status-desc { font-size: 13px; color: var(--muted); max-width: 460px; }
.status-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.status-progress { margin-top: 18px; max-width: 430px; }
.status-progress .progress { margin-top: 8px; }
.task-list { display: grid; gap: 2px; align-content: start; }
.task {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 13px;
}
.task:last-child { border-bottom: 0; }
.task input { accent-color: var(--warm); width: 15px; height: 15px; }
.task.done { color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(246, 177, 122, 0.4); }
.task .task-time { margin-left: auto; font-size: 10.5px; color: var(--dim); }

/* ---------- path strip ---------- */
.path-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  position: relative;
  padding-top: 4px;
}
.path-strip::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 177, 122, 0.32), rgba(203, 213, 225, 0.18), rgba(246, 177, 122, 0.12), transparent);
}
.path-node { position: relative; text-align: center; padding: 0 4px; }
.path-dot {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(15, 23, 39, 0.9);
  color: var(--dim);
  font-family: var(--serif);
  font-size: 15px;
  position: relative;
  z-index: 1;
  transition: 0.2s ease;
}
.path-node.done .path-dot { border-color: rgba(123, 200, 164, 0.3); color: var(--ok); }
.path-node.current .path-dot {
  border-color: rgba(246, 177, 122, 0.65);
  color: var(--warm);
  background: radial-gradient(circle at 50% 35%, rgba(246, 177, 122, 0.22), rgba(15, 23, 39, 0.95));
  box-shadow: 0 0 0 6px rgba(246, 177, 122, 0.06), 0 0 30px rgba(246, 177, 122, 0.22);
}
.path-node.current .path-dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(246, 177, 122, 0.24);
}
.path-name { font-size: 13px; color: var(--muted); }
.path-node.current .path-name { color: var(--warm); }
.path-sub { font-size: 10.5px; color: var(--dim); margin-top: 3px; }

/* ---------- board cards ---------- */
.board-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.board-card {
  position: relative;
  overflow: hidden;
  padding: 22px 20px;
  min-height: 156px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(22, 31, 51, 0.82), rgba(11, 17, 29, 0.9));
  transition: 0.22s ease;
}
.board-card:hover { transform: translateY(-3px); border-color: rgba(246, 177, 122, 0.3); box-shadow: var(--shadow-soft); }
.board-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 177, 122, 0.13), transparent 68%);
}
.board-glyph {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(246, 177, 122, 0.22);
  background: rgba(246, 177, 122, 0.08);
  font-family: var(--serif);
  font-size: 17px;
  color: var(--warm);
  margin-bottom: 16px;
}
.board-card h3 { font-size: 18px; margin-bottom: 5px; }
.board-card p { font-size: 11.5px; line-height: 1.6; color: var(--dim); }
.board-count { display: block; margin-top: 14px; font-size: 10px; letter-spacing: 0.1em; color: rgba(246, 177, 122, 0.7); }

/* ---------- generic cards ---------- */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 28, 45, 0.78), rgba(12, 18, 31, 0.9));
  transition: 0.22s ease;
}
.card:hover { border-color: rgba(246, 177, 122, 0.25); box-shadow: var(--shadow-soft); }
.card-body { padding: 16px; }

/* tab card */
.tab-card { display: flex; flex-direction: column; overflow: hidden; }
.tab-card:hover { transform: translateY(-3px); }
.tab-cover {
  position: relative;
  height: 148px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c1, #26344d), var(--c2, #101724));
}
.tab-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent);
}
.tab-cover::after {
  content: "";
  position: absolute;
  left: -30%;
  top: -50%;
  width: 80%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  transform: rotate(18deg);
}
.tab-glyph {
  position: absolute;
  right: 12px;
  bottom: -16px;
  font-family: var(--serif);
  font-size: 92px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.13);
  user-select: none;
}
.tab-cover .badge { position: absolute; left: 12px; top: 12px; }
.tab-cover .cover-meta {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.46);
  text-transform: uppercase;
}
.tab-card h3 { font-size: 18px; margin: 3px 0 2px; }
.byline { font-size: 11.5px; color: var(--dim); }
.card-kicker { font-size: 10px; letter-spacing: 0.14em; color: var(--warm); text-transform: uppercase; margin-bottom: 7px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: var(--dim);
}
.card-foot .price { color: var(--gold); font-family: var(--serif); font-size: 14px; }

/* tutorial card */
.tutorial-card { overflow: hidden; display: flex; flex-direction: column; }
.tutorial-cover {
  position: relative;
  height: 140px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c1, #2a3a50), var(--c2, #101724));
}
.tutorial-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(180px 100px at 82% 20%, rgba(255, 255, 255, 0.12), transparent 60%),
    repeating-linear-gradient(115deg, transparent 0 26px, rgba(255, 255, 255, 0.035) 26px 27px);
}
.play-dot {
  position: absolute;
  left: 16px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(7, 11, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--warm-2);
  backdrop-filter: blur(6px);
}
.play-dot svg { width: 13px; height: 13px; margin-left: 2px; }
.tutorial-cover .badge { position: absolute; right: 12px; top: 12px; }
.tutorial-card h3 { font-size: 16px; margin: 3px 0 5px; }
.tutorial-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 10.5px; color: var(--dim); margin-top: 8px; }
.tutorial-card .progress { margin-top: 12px; }

/* model card */
.model-card { overflow: hidden; display: flex; flex-direction: column; }
.model-cover {
  height: 172px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(200px 120px at 50% 30%, rgba(255, 255, 255, 0.08), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.035), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.model-cover svg { height: 150px; width: auto; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.35)); }
.model-card h3 { font-size: 17px; }
.model-specs { font-size: 10.5px; color: var(--dim); margin-top: 4px; }
.model-styles { font-size: 9.5px; color: rgba(246, 177, 122, 0.68); line-height: 1.5; margin-top: 3px; }
.model-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.tag { display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.08); font-size: 9px; line-height: 1.5; white-space: nowrap; }
.tag-position { color: var(--warm); border-color: rgba(246, 177, 122, 0.28); background: rgba(246, 177, 122, 0.09); }
.tag-scenario { color: #a9c9dc; border-color: rgba(143, 199, 217, 0.24); background: rgba(143, 199, 217, 0.07); }
.tag-feature { color: #a9d0b8; border-color: rgba(159, 196, 180, 0.22); background: rgba(159, 196, 180, 0.07); }
.model-taxonomy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 4px 0 18px; }
.tax-card { padding: 16px; }
.tax-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.tax-head > span:last-child { font-size: 8.5px; color: var(--dim); text-align: right; }
.tax-row { display: grid; grid-template-columns: 42px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.tax-row:last-child { border-bottom: 0; }
.tax-label { font-size: 9px; color: var(--dim); padding-top: 2px; }
.tax-values { display: flex; flex-wrap: wrap; gap: 4px; }
.tax-values span { font-size: 9px; color: var(--muted); padding: 2px 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.04); }
@media (max-width: 900px) { .model-taxonomy { grid-template-columns: 1fr; } }

/* artist card */
.artist-card { padding: 20px; display: flex; gap: 14px; align-items: center; }
.artist-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 20px;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(145deg, var(--accent, #4a5a7a), rgba(10, 16, 28, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.06);
}
.artist-card h3 { font-size: 16px; }
.artist-card p { font-size: 11px; color: var(--dim); margin-top: 2px; }
.artist-card .artist-meta { font-size: 10px; color: var(--warm); margin-top: 7px; letter-spacing: 0.06em; }

/* ---------- page hero / breadcrumb ---------- */
.page-hero { padding: 46px 0 22px; }
.page-hero h1 { margin: 12px 0 10px; font-size: clamp(32px, 4vw, 48px); }
.page-hero p { max-width: 660px; font-size: 14px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--dim); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--warm); }
.breadcrumb span { color: rgba(255, 255, 255, 0.18); }
.page-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }

/* ---------- filter bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 22, 37, 0.66);
  backdrop-filter: blur(10px);
  margin: 18px 0;
}
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 9.5px; letter-spacing: 0.16em; color: var(--dim); text-transform: uppercase; }
.field select,
.field input,
.field textarea {
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(7, 11, 20, 0.6);
  color: var(--text);
  font-size: 12.5px;
  outline: none;
  color-scheme: dark;
}
.field select:focus,
.field input:focus,
.field textarea:focus { border-color: rgba(246, 177, 122, 0.45); }
.field-search { flex: 1; min-width: 210px; }
.field-search input { width: 100%; }
.field-search input::placeholder { color: var(--dim); }
.filter-actions { display: flex; gap: 7px; margin-left: auto; }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 16px; font-size: 11.5px; color: var(--dim); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 11.5px;
  transition: 0.2s ease;
}
.chip:hover { border-color: rgba(246, 177, 122, 0.3); color: var(--text); }
.chip.active { background: rgba(246, 177, 122, 0.11); border-color: rgba(246, 177, 122, 0.4); color: var(--warm); }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(7, 11, 20, 0.5); width: fit-content; max-width: 100%; overflow-x: auto; }
.tab-btn {
  padding: 8px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--dim);
  font-size: 12px;
  white-space: nowrap;
  transition: 0.2s ease;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { background: rgba(246, 177, 122, 0.13); color: var(--warm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.25s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- tab detail ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr); gap: 24px; align-items: start; }
.detail-head { display: flex; gap: 18px; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.detail-head h1 { font-size: clamp(30px, 4vw, 44px); margin: 5px 0 5px; }
.detail-head .byline { font-size: 13px; }
.detail-actions { display: flex; gap: 8px; flex-shrink: 0; }

.paper {
  position: relative;
  background: #f4eee1;
  color: #2a2620;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.paper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.55), transparent 55%);
  mix-blend-mode: soft-light;
}
.paper-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 10px; color: #7a6a52; letter-spacing: 0.08em; }
.paper-title { font-family: var(--serif); font-size: 17px; color: #2a2620; }
.paper svg { width: 100%; height: auto; border-radius: 8px; background: #fbf7ee; }
.paper-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 10.5px; color: #5d5242; }
.paper-tools { display: flex; gap: 6px; }
.paper-btn {
  height: 28px;
  min-width: 28px;
  padding: 0 8px;
  border: 1px solid rgba(42, 38, 32, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.35);
  color: #4a4033;
  font-size: 10.5px;
}
.paper-btn:hover { background: rgba(255, 255, 255, 0.7); }
.paper-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.paper-watermark {
  position: absolute;
  right: 22px;
  top: 56%;
  transform: rotate(-28deg);
  font-family: var(--serif);
  font-size: 22px;
  color: rgba(42, 38, 32, 0.08);
  pointer-events: none;
  white-space: nowrap;
}

.download-card { position: sticky; top: 92px; padding: 20px; }
.price-row { display: flex; align-items: baseline; gap: 7px; margin: 8px 0 4px; }
.price-main { font-family: var(--serif); font-size: 38px; color: var(--warm); line-height: 1; }
.price-unit { font-size: 11px; color: var(--dim); }
.download-note { font-size: 10.5px; color: var(--dim); margin-bottom: 14px; }
.format-row { display: flex; gap: 6px; margin: 10px 0 14px; }
.format-pill {
  padding: 5px 9px;
  border: 1px solid rgba(246, 177, 122, 0.24);
  border-radius: 7px;
  background: rgba(246, 177, 122, 0.06);
  color: var(--warm);
  font-family: var(--mono);
  font-size: 10.5px;
}
.version-list { display: grid; gap: 7px; margin-top: 12px; }
.version-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  transition: 0.2s ease;
}
.version-item:hover { border-color: rgba(246, 177, 122, 0.3); }
.version-item.active { border-color: rgba(246, 177, 122, 0.45); background: rgba(246, 177, 122, 0.075); }
.version-name { font-size: 12.5px; color: var(--text); }
.version-meta { font-size: 10px; color: var(--dim); margin-top: 2px; }

.link-box {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
  margin-top: 8px;
  font-size: 11.5px;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: var(--dim); }
.status-dot.ok { background: var(--ok); box-shadow: 0 0 9px rgba(123, 200, 164, 0.6); }
.link-box .link-text { flex: 1; color: var(--muted); }

.mini-list { display: grid; gap: 8px; margin-top: 12px; }
.mini-row { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.mini-row .k { color: var(--dim); width: 52px; flex-shrink: 0; }
.mini-row .v { color: var(--text); }

/* ---------- tutorial detail ---------- */
.lesson-list { display: grid; gap: 0; margin-top: 14px; }
.lesson-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.055); }
.lesson-item:last-child { border-bottom: 0; }
.lesson-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--dim); font-size: 10px; flex-shrink: 0; }
.lesson-item.done .lesson-num { border-color: rgba(123, 200, 164, 0.3); color: var(--ok); }
.lesson-title { flex: 1; font-size: 12.5px; color: var(--text); }
.lesson-time { font-size: 10px; color: var(--dim); }
.lesson-check { color: var(--dim); }
.lesson-item.done .lesson-check { color: var(--ok); }

.progress-card { padding: 20px; position: sticky; top: 92px; }
.progress-big { font-family: var(--serif); font-size: 42px; color: var(--warm); line-height: 1; }
.progress-label { font-size: 10.5px; letter-spacing: 0.16em; color: var(--dim); text-transform: uppercase; margin-top: 5px; }
.progress-card .progress { margin: 14px 0 18px; }

/* ---------- model detail ---------- */
.model-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 26px 0 10px; }
.model-art {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(300px 200px at 50% 34%, rgba(255, 255, 255, 0.09), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(10, 16, 28, 0.5));
  overflow: hidden;
}
.model-art::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 12%; height: 20px; border-radius: 50%; background: rgba(0, 0, 0, 0.3); filter: blur(12px); }
.model-art svg { height: 280px; width: auto; position: relative; z-index: 1; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.4)); }
.model-info h1 { font-size: clamp(30px, 4vw, 44px); margin: 6px 0; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.spec-table td { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 12.5px; }
.spec-table td:first-child { color: var(--dim); width: 100px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.pros-cons .card { padding: 18px; }
.pros-cons h4 { font-family: var(--serif); font-size: 15px; margin-bottom: 8px; }
.pros-cons li { position: relative; padding-left: 16px; font-size: 12px; color: var(--muted); margin: 6px 0; }
.pros-cons li::before { position: absolute; left: 0; top: 0; }
.pros li::before { content: "+"; color: var(--ok); }
.cons li::before { content: "−"; color: var(--danger); }

/* ---------- backing ---------- */
.backing-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 22, 37, 0.6);
  transition: 0.2s ease;
}
.backing-row:hover { border-color: rgba(246, 177, 122, 0.24); }
.backing-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 177, 122, 0.3);
  background: rgba(246, 177, 122, 0.08);
  color: var(--warm);
  flex-shrink: 0;
}
.backing-play svg { width: 14px; height: 14px; }
.backing-play.playing { background: var(--warm); color: #1b120b; }
.backing-main { flex: 1; min-width: 0; }
.backing-main h4 { font-family: var(--serif); font-size: 14px; }
.backing-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 10px; color: var(--dim); margin-top: 3px; }
.waveform { display: flex; align-items: center; gap: 2px; height: 22px; width: 96px; flex-shrink: 0; }
.waveform i { width: 2px; border-radius: 2px; background: rgba(246, 177, 122, 0.4); height: var(--h); }
.backing-row.playing .waveform i { animation: wave 0.8s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes wave { to { transform: scaleY(0.35); opacity: 0.5; } }

/* ---------- theory accordion ---------- */
.acc { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(15, 22, 37, 0.6); }
.acc + .acc { margin-top: 10px; }
.acc-head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 15px 16px; background: transparent; border: 0; text-align: left; }
.acc-num { font-family: var(--mono); font-size: 11px; color: var(--warm); width: 24px; flex-shrink: 0; }
.acc-title { flex: 1; font-size: 13.5px; color: var(--text); }
.acc-meta { font-size: 10px; color: var(--dim); }
.acc-chev { color: var(--dim); transition: 0.2s ease; }
.acc.open .acc-chev { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 16px 16px 52px; }
.acc.open .acc-body { display: block; animation: fadeUp 0.2s ease; }
.acc-body p { font-size: 12px; color: var(--muted); }
.acc-body .mini-row { margin-top: 6px; }

/* ---------- AI ---------- */
.ai-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; align-items: start; }
.dropzone {
  border: 1.5px dashed rgba(246, 177, 122, 0.32);
  border-radius: 16px;
  padding: 34px 20px;
  text-align: center;
  background: rgba(246, 177, 122, 0.035);
  transition: 0.2s ease;
}
.dropzone:hover, .dropzone.drag { border-color: rgba(246, 177, 122, 0.6); background: rgba(246, 177, 122, 0.06); }
.dropzone .dz-icon { width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 14px; display: grid; place-items: center; background: rgba(246, 177, 122, 0.1); color: var(--warm); }
.dropzone h4 { font-family: var(--serif); font-size: 17px; }
.dropzone p { font-size: 11.5px; color: var(--dim); margin-top: 4px; }
.ai-steps { display: grid; gap: 6px; margin-top: 16px; }
.ai-step { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid transparent; color: var(--dim); font-size: 11.5px; }
.ai-step .step-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.ai-step.active { border-color: rgba(246, 177, 122, 0.22); background: rgba(246, 177, 122, 0.05); color: var(--warm); }
.ai-step.active .step-dot { background: var(--warm); box-shadow: 0 0 10px var(--warm); }
.ai-step.done { color: var(--ok); }
.ai-step.done .step-dot { background: var(--ok); }
.ai-output {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0a111e;
  padding: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.9;
  color: #b9c6dd;
  max-height: 240px;
  overflow: auto;
}
.ai-output .t { color: var(--warm); }
.ai-output .en { color: #8fa7c9; }
.ai-output .zh { color: #d9e2f2; }

/* ---------- community ---------- */
.request-card { padding: 18px; }
.request-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.request-card h3 { font-size: 16px; margin: 4px 0; }
.request-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 10.5px; color: var(--dim); margin-top: 8px; }
.request-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 11px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 11px; color: var(--dim); }
.bounty { color: var(--gold); font-family: var(--serif); font-size: 15px; }
.request-hero { position: relative; }
.request-hero h1 { padding-right: 160px; }
.request-byline { margin-top: 10px; font-size: 10px; color: var(--dim); letter-spacing: 0.04em; }
.solved-mark {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid rgba(159, 196, 180, 0.35);
  border-radius: 5px;
  color: #a9d0b8;
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.08em;
  transform: rotate(-3deg);
}
.solved-stamp {
  position: absolute;
  right: 34px;
  top: 70px;
  z-index: 2;
  padding: 10px 18px;
  border: 3px double rgba(217, 166, 166, 0.65);
  border-radius: 8px;
  color: rgba(217, 166, 166, 0.9);
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.18em;
  transform: rotate(-12deg);
  opacity: 0.85;
  pointer-events: none;
}
.solved-note { font-size: 10px; color: #a9d0b8; }
.request-post { padding: 20px; }
.post-head { display: flex; align-items: center; gap: 10px; }
.post-head > div { flex: 1; }
.post-head b { display: block; font-size: 12px; font-weight: 400; color: var(--text); }
.post-head small { display: block; margin-top: 2px; font-size: 9px; color: var(--dim); }
.request-post p { margin-top: 14px; font-size: 13px; line-height: 1.95; color: var(--muted); }
.reply-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 24px 0 12px; }
.reply-head h2 { font-size: 26px; margin-top: 3px; }
.reply-head h2 span { font-size: 11px; color: var(--dim); font-family: var(--sans); margin-left: 6px; }
.reply-list { display: grid; gap: 10px; }
.reply-item { padding: 16px; }
.reply-item.accepted { border-color: rgba(159, 196, 180, 0.32); background: rgba(159, 196, 180, 0.04); }
.reply-item p { margin-top: 10px; font-size: 12px; line-height: 1.9; color: var(--muted); }
.reply-form { padding: 18px; margin-top: 16px; }
.reply-form textarea { width: 100%; min-height: 86px; resize: vertical; margin-top: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--text); font: inherit; font-size: 12px; }
.reply-form textarea:focus { outline: none; border-color: rgba(246, 177, 122, 0.45); }
@media (max-width: 720px) {
  .solved-stamp { position: static; display: inline-block; margin-top: 12px; font-size: 18px; transform: rotate(-4deg); }
  .request-hero h1 { padding-right: 0; }
  .reply-head { align-items: flex-start; flex-direction: column; }
}

/* ---------- club ---------- */
.club-hero {
  padding: 44px 0 26px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}
.club-quote {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(260px 160px at 80% 20%, rgba(246, 177, 122, 0.12), transparent 70%),
    linear-gradient(145deg, rgba(24, 34, 55, 0.8), rgba(12, 18, 31, 0.9));
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.8;
  color: var(--text);
}
.club-quote small { display: block; margin-top: 14px; font-family: var(--sans); font-size: 10.5px; color: var(--dim); letter-spacing: 0.12em; }
.activity-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.activity-date { width: 62px; flex-shrink: 0; text-align: center; }
.activity-date b { display: block; font-family: var(--serif); font-size: 20px; color: var(--warm); line-height: 1.1; }
.activity-date span { font-size: 9px; color: var(--dim); letter-spacing: 0.1em; }
.activity-main { flex: 1; }
.activity-main h4 { font-family: var(--serif); font-size: 14px; }
.activity-main p { font-size: 10.5px; color: var(--dim); margin-top: 2px; }
.work-card { padding: 18px; }
.work-cover { height: 96px; border-radius: 12px; margin-bottom: 12px; background: linear-gradient(135deg, var(--c1, #3a4a6b), var(--c2, #141c2c)); position: relative; overflow: hidden; }
.work-cover::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, 0.04) 22px 23px); }

/* ---------- search ---------- */
.search-box { display: flex; gap: 8px; margin: 16px 0 22px; }
.search-box input { flex: 1; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(7, 11, 20, 0.65); color: var(--text); font-size: 14px; outline: none; }
.search-box input:focus { border-color: rgba(246, 177, 122, 0.5); }
.search-group { margin: 26px 0; }
.search-group h3 { font-size: 15px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.search-group h3 span { font-size: 10px; color: var(--dim); font-family: var(--sans); letter-spacing: 0.1em; }
.result-link { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.055); }
.result-link:hover { color: var(--warm); }
.result-type { font-size: 9px; color: var(--warm); border: 1px solid rgba(246, 177, 122, 0.25); border-radius: 5px; padding: 2px 5px; flex-shrink: 0; }
.result-title { flex: 1; font-size: 12.5px; }
.result-sub { font-size: 10px; color: var(--dim); }

/* ---------- profile ---------- */
.profile-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(300px 180px at 86% 10%, rgba(246, 177, 122, 0.12), transparent 70%),
    linear-gradient(145deg, rgba(24, 34, 55, 0.82), rgba(12, 18, 31, 0.9));
  margin-top: 18px;
}
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #3a4a6b, #1b2438);
  border: 1px solid rgba(246, 177, 122, 0.28);
  font-family: var(--serif);
  font-size: 26px;
  color: var(--warm-2);
  box-shadow: 0 0 30px rgba(246, 177, 122, 0.12);
  flex-shrink: 0;
}
.profile-info { flex: 1; }
.profile-info h1 { font-size: 28px; margin: 0; }
.profile-sub { font-size: 11.5px; color: var(--dim); margin-top: 4px; }
.profile-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.profile-stat { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.02); }
.profile-stat b { display: block; font-family: var(--serif); font-size: 20px; color: var(--warm); }
.profile-stat span { font-size: 10px; color: var(--dim); }
.profile-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; margin-top: 20px; align-items: start; }
.profile-card { padding: 18px; }
.profile-card h3 { font-size: 15px; margin-bottom: 10px; }
.profile-avatar-img { display: block; object-fit: cover; padding: 0; }
.profile-meta { display: grid; gap: 2px; margin-top: 14px; }
.profile-meta-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 12px; }
.profile-meta-row:last-child { border-bottom: 0; }
.profile-meta-row span { color: var(--dim); }
.profile-meta-row b { color: var(--text); font-weight: 500; text-align: right; }
.profile-email-edit { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.profile-email-edit b { text-align: right; }
.profile-email-form { margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.02); }
.profile-email-form label { display: grid; gap: 5px; font-size: 10px; letter-spacing: 0.12em; color: var(--dim); text-transform: uppercase; }
.profile-email-form input { width: 100%; min-height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; background: rgba(7, 11, 20, 0.7); color: var(--text); outline: none; }
.profile-email-form input:focus { border-color: rgba(246, 177, 122, 0.45); }
.profile-email-form[hidden], .profile-email-edit .btn[hidden] { display: none; }
.admin-invite-card { margin-top: 20px; }
.admin-invite-head h3 { font-size: 20px; margin-bottom: 4px; }
.admin-invite-head p { font-size: 11.5px; color: var(--dim); }
.invite-controls { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.invite-controls label { display: grid; gap: 5px; font-size: 10px; letter-spacing: 0.12em; color: var(--dim); text-transform: uppercase; }
.invite-controls input { width: 104px; min-height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: rgba(7, 11, 20, 0.7); color: var(--text); outline: none; }
.invite-controls input:focus { border-color: rgba(246, 177, 122, 0.45); }
.invite-code { font-family: var(--mono); letter-spacing: 0.08em; color: var(--warm-2); font-weight: 500; }
.invite-list .table-wrap { margin-top: 4px; }
.invite-list .empty p { margin: 0; }

/* ---------- auth ---------- */
body[data-chrome="none"] .page-main { padding-bottom: 0; min-height: 0; }
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.08fr 0.92fr; }
.auth-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px;
  background:
    radial-gradient(500px 360px at 70% 20%, rgba(203, 213, 225, 0.12), transparent 65%),
    radial-gradient(420px 320px at 20% 90%, rgba(246, 177, 122, 0.16), transparent 70%),
    linear-gradient(160deg, #0b1324, #080d18);
  border-right: 1px solid var(--line);
}
.auth-visual h1 { font-size: clamp(36px, 4.4vw, 58px); margin-top: 18px; }
.auth-visual .auth-quote { max-width: 430px; margin-top: 18px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.auth-visual .scene-mini { margin-top: 26px; max-width: 420px; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: min(420px, 100%); padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(15, 22, 37, 0.78); backdrop-filter: blur(14px); }
.auth-card h2 { font-size: 28px; margin-bottom: 4px; }
.auth-card p { font-size: 12px; color: var(--dim); margin-bottom: 20px; }
.auth-form { display: grid; gap: 12px; }
.auth-form label { font-size: 10px; letter-spacing: 0.14em; color: var(--dim); text-transform: uppercase; }
.auth-form input { min-height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(7, 11, 20, 0.7); color: var(--text); outline: none; }
.auth-form input:focus { border-color: rgba(246, 177, 122, 0.45); }
.auth-hint { margin-top: 14px; padding: 10px 12px; border: 1px dashed rgba(246, 177, 122, 0.25); border-radius: 10px; font-size: 10.5px; color: var(--dim); }
.auth-hint b { color: var(--warm); }

/* ---------- admin ---------- */
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-side { border-right: 1px solid var(--line); background: rgba(8, 13, 23, 0.85); padding: 22px 14px; position: sticky; top: 0; height: 100vh; }
.admin-brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 20px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.admin-nav a { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 9px; font-size: 12px; color: var(--muted); }
.admin-nav a:hover, .admin-nav a.active { background: rgba(246, 177, 122, 0.08); color: var(--warm); }
.admin-main { padding: 26px 28px 50px; min-width: 0; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.admin-stat { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: rgba(15, 22, 37, 0.65); }
.admin-stat b { display: block; font-family: var(--serif); font-size: 24px; color: var(--warm); }
.admin-stat span { font-size: 10px; color: var(--dim); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: rgba(15, 22, 37, 0.55); }
table.data { width: 100%; border-collapse: collapse; min-width: 620px; }
table.data th { text-align: left; font-size: 9.5px; letter-spacing: 0.14em; color: var(--dim); font-weight: 500; padding: 11px 13px; border-bottom: 1px solid var(--line); text-transform: uppercase; }
table.data td { padding: 11px 13px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 11.5px; color: var(--muted); }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: rgba(255, 255, 255, 0.02); }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { margin-top: 60px; border-top: 1px solid var(--line); background: rgba(5, 8, 15, 0.55); padding: 44px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand p { font-size: 11.5px; color: var(--dim); max-width: 300px; margin-top: 10px; line-height: 1.8; }
.footer-col h4 { font-size: 10px; letter-spacing: 0.18em; color: var(--warm); text-transform: uppercase; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 11.5px; color: var(--muted); padding: 4px 0; }
.footer-col a:hover { color: var(--warm); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 34px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 10px; color: var(--dim); }

/* ---------- toast / modal ---------- */
.toast {
  position: fixed;
  top: 82px;
  left: 50%;
  right: auto;
  bottom: auto;
  z-index: 120;
  max-width: min(460px, calc(100vw - 32px));
  padding: 12px 15px;
  border: 1px solid rgba(246, 177, 122, 0.25);
  border-left: 3px solid var(--warm);
  border-radius: 12px;
  background: rgba(15, 22, 37, 0.94);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 12px;
  opacity: 0;
  transform: translate(-50%, -10px);
  pointer-events: none;
  transition: 0.24s ease;
  backdrop-filter: blur(14px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--warm); }

.toast.toast-info {
  border-color: rgba(184, 166, 217, 0.35);
  border-left-color: var(--violet);
  background: linear-gradient(135deg, rgba(28, 33, 54, 0.98), rgba(15, 22, 37, 0.98));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42), 0 0 24px rgba(184, 166, 217, 0.08);
}

.toast.toast-warning {
  border-color: rgba(246, 177, 122, 0.55);
  border-left-color: var(--warm);
  background: linear-gradient(135deg, rgba(56, 38, 20, 0.98), rgba(30, 22, 16, 0.98));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42), 0 0 24px rgba(246, 177, 122, 0.14);
  color: #ffefdc;
}

.toast.toast-success {
  border-color: rgba(123, 200, 164, 0.55);
  border-left-color: var(--ok);
  background: linear-gradient(135deg, rgba(18, 48, 36, 0.98), rgba(11, 29, 23, 0.98));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42), 0 0 24px rgba(123, 200, 164, 0.13);
  color: #e8fff4;
}

.toast.toast-error {
  border-color: rgba(224, 122, 122, 0.6);
  border-left-color: var(--danger);
  background: linear-gradient(135deg, rgba(58, 24, 27, 0.98), rgba(31, 16, 20, 0.98));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42), 0 0 24px rgba(224, 122, 122, 0.16);
  color: #ffe8e8;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(3, 6, 12, 0.72);
  backdrop-filter: blur(10px);
}
.modal-backdrop.open { display: flex; }
.modal { width: min(520px, 100%); max-height: 86vh; overflow: auto; padding: 22px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #101827; box-shadow: var(--shadow); animation: fadeUp 0.24s ease; }
.modal h3 { font-size: 21px; margin-bottom: 4px; }
.modal p { font-size: 11.5px; color: var(--dim); margin-bottom: 16px; }
.modal-close { position: absolute; right: 18px; top: 18px; }
.modal-form { display: grid; gap: 10px; }
.modal-form label { font-size: 9.5px; letter-spacing: 0.14em; color: var(--dim); text-transform: uppercase; }
.modal-form input,
.modal-form textarea,
.modal-form select { width: 100%; min-height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; background: rgba(7, 11, 20, 0.7); color: var(--text); outline: none; font-size: 12.5px; }
.modal-form textarea { min-height: 86px; padding: 10px 11px; resize: vertical; }
.modal-form input:focus,
.modal-form textarea:focus,
.modal-form select:focus { border-color: rgba(246, 177, 122, 0.45); }

/* ---------- empty / utility ---------- */
.empty { padding: 40px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty h3 { font-size: 17px; margin-bottom: 5px; }
.empty p { font-size: 11.5px; color: var(--dim); }
.divider { height: 1px; background: var(--line); margin: 18px 0; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-18 { margin-top: 18px; } .mt-24 { margin-top: 24px; }
.flex { display: flex; } .between { justify-content: space-between; } .center { align-items: center; } .wrap { flex-wrap: wrap; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; }
.w-100 { width: 100%; }
.text-right { text-align: right; }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .nav-link { padding: 8px 9px; font-size: 12.5px; }
  .brand-sub { display: none; }
}
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-grid; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 46px; min-height: 0; }
  .scene { max-width: 560px; width: 100%; margin: 0 auto; height: 440px; }
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: 1fr; }
  .split-2 { grid-template-columns: 1fr; }
  .download-card, .progress-card { position: static; }
  .model-hero { grid-template-columns: 1fr; }
  .club-hero { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { display: none; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-nav { display: flex; flex-wrap: wrap; gap: 2px; }
  .admin-nav a { padding: 7px 9px; }
}
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .section { padding: 42px 0; }
  .hero h1 { font-size: 40px; }
  .hero-stats { gap: 18px; }
  .status-card { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .path-strip { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 8px; scrollbar-width: none; }
  .path-strip::-webkit-scrollbar { display: none; }
  .path-node { min-width: 116px; }
  .path-strip::before { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .board-card { padding: 17px 14px; min-height: 142px; }
  .board-card h3 { font-size: 16px; }
  .board-card p { font-size: 10.5px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .detail-head { flex-direction: column; }
  .detail-actions { width: 100%; }
  .pros-cons { grid-template-columns: 1fr; }
  .profile-head { flex-wrap: wrap; }
  .profile-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .auth-card { padding: 22px; }
  .admin-main { padding: 20px 16px 40px; }
  .admin-top { align-items: flex-start; flex-direction: column; }
  .modal { padding: 18px; }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .nav { height: 64px; gap: 10px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 17px; }
  .points-pill { padding: 0 9px; font-size: 10.5px; }
  .avatar { width: 30px; height: 30px; }
  .mobile-drawer { inset: 64px 0 0; }
  .hero h1 { font-size: 34px; }
  .hero-actions .btn { flex: 1; }
  .scene { height: 360px; }
  .scene-guitar { width: 56%; }
  .board-grid { grid-template-columns: 1fr; }
  .profile-avatar { width: 58px; height: 58px; }
  .profile-info h1 { font-size: 23px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid .footer-col:last-child { display: block; }
  .toast { top: 72px; right: 12px; bottom: auto; left: 12px; max-width: none; transform: translateY(-10px); }
  .toast.show { transform: none; }
}

/* ---------- home carousel / category / member / tools ---------- */
.avatar-xs { width: 24px; height: 24px; font-size: 10px; }
.avatar-sm { width: 30px; height: 30px; font-size: 11px; }
.avatar-xl {
  width: 112px;
  height: 112px;
  font-size: 40px;
  border: 1px solid rgba(246, 177, 122, 0.28);
  box-shadow: 0 0 45px rgba(246, 177, 122, 0.12), inset 0 0 30px rgba(255, 255, 255, 0.04);
  position: relative;
}
.member-link { text-decoration: none; color: var(--gold); }
.member-link::before { display: none; }
.member-link:hover { border-color: rgba(232, 196, 122, 0.45); background: rgba(232, 196, 122, 0.11); }
.tools-link { color: var(--warm); }
.tools-link:hover { border-color: rgba(246, 177, 122, 0.3); background: rgba(246, 177, 122, 0.08); }

.hero-carousel {
  position: relative;
  margin-top: 24px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a101d;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}
.carousel-track { display: flex; height: 560px; transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); }
.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.carousel-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 20, 0.95) 0%, rgba(7, 11, 20, 0.82) 34%, rgba(7, 11, 20, 0.34) 68%, rgba(7, 11, 20, 0.52) 100%),
    linear-gradient(0deg, rgba(7, 11, 20, 0.5), transparent 55%);
}
.carousel-content { position: relative; z-index: 2; max-width: 650px; padding: 64px; }
.carousel-content .eyebrow { color: var(--accent, var(--warm)); }
.carousel-content h2 { margin: 14px 0 16px; font-size: clamp(42px, 5.4vw, 64px); }
.carousel-content p { max-width: 540px; font-size: 14.5px; line-height: 1.9; color: var(--muted); }
.carousel-content .btn { margin-top: 24px; }
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(7, 11, 20, 0.42);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  transition: 0.2s ease;
}
.carousel-nav:hover { background: rgba(246, 177, 122, 0.15); border-color: rgba(246, 177, 122, 0.4); }
.carousel-nav.prev { left: 20px; }
.carousel-nav.next { right: 20px; }
.carousel-dots { position: absolute; z-index: 3; right: 28px; bottom: 26px; display: flex; gap: 7px; }
.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.24);
  transition: 0.25s ease;
}
.carousel-dots button.active { width: 24px; background: var(--warm); box-shadow: 0 0 12px rgba(246, 177, 122, 0.5); }
.hero-member-widget {
  position: absolute;
  z-index: 4;
  top: 20px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-member-chip {
  position: static;
  z-index: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px 7px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 11, 20, 0.56);
  backdrop-filter: blur(14px);
  color: var(--text);
  transition: 0.2s ease;
}
.checkin-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(246, 177, 122, 0.36);
  background: rgba(246, 177, 122, 0.12);
  color: var(--warm);
  font-size: 10px;
  white-space: nowrap;
  transition: 0.2s ease;
}
.checkin-chip:hover { background: rgba(246, 177, 122, 0.2); border-color: rgba(246, 177, 122, 0.6); }
.checkin-chip.done { color: var(--dim); border-color: var(--line); background: rgba(255, 255, 255, 0.03); }
.hero-member-chip:hover { border-color: rgba(246, 177, 122, 0.45); background: rgba(7, 11, 20, 0.78); }
.hero-member-chip b { display: block; font-size: 11px; font-weight: 500; }
.hero-member-chip small { display: block; font-size: 9px; color: var(--dim); margin-top: 2px; }
.hero-member-chip svg { color: var(--dim); }

.subhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 30px 0 14px; }
.subhead h3 { font-size: 22px; margin-top: 3px; }
.subhead > span { font-size: 10px; color: var(--dim); }
.library-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.library-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px; }
.library-link h3 { font-size: 18px; margin: 3px 0; }
.library-link p { font-size: 11px; color: var(--dim); }
.library-link svg { color: var(--warm); flex-shrink: 0; }
.home-tab-tools { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.field.compact { min-width: 112px; }
.field.compact.field-search { min-width: 170px; flex: 0 1 220px; }
.field.compact label { font-size: 9px; }
.field.compact input, .field.compact select { height: 34px; font-size: 11px; }
.tool-card { padding: 22px; display: flex; flex-direction: column; align-items: flex-start; }
.tool-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(246, 177, 122, 0.2);
  background: rgba(246, 177, 122, 0.08);
  color: var(--warm);
  margin-bottom: 14px;
}
.tool-card h3 { font-size: 20px; }
.tool-card p { font-size: 11.5px; line-height: 1.8; color: var(--dim); margin-top: 6px; flex: 1; }
.tool-link { margin-top: 16px; font-size: 10px; color: var(--warm); display: inline-flex; align-items: center; gap: 5px; }

.backing-cover {
  position: relative;
  height: 148px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c1, #3b4a6b), var(--c2, #111a2b));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.backing-cover::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 24px;
  height: 38px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.32) 0 3px, transparent 3px 9px);
  opacity: 0.7;
}
.backing-cover .badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.backing-icon {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.88);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
  z-index: 2;
}
.backing-icon svg { width: 38px; height: 38px; }
.backing-bpm {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(7, 11, 20, 0.55);
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  letter-spacing: 0.06em;
}
.backing-meta { margin-top: 5px; font-size: 10px; color: var(--dim); }
.backing-card .card-body { padding: 15px; }
.backing-card h3 { font-size: 17px; margin: 2px 0 3px; }

.backing-player { padding: 18px; }
.player-art {
  position: relative;
  height: 210px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(260px 160px at 50% 30%, rgba(255, 255, 255, 0.12), transparent 70%),
    linear-gradient(135deg, var(--c1, #3b4a6b), var(--c2, #111a2b));
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.player-art::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 32px;
  height: 54px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0 4px, transparent 4px 12px);
  opacity: 0.7;
}
.player-art .badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.player-icon {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.9);
  z-index: 2;
}
.player-icon svg { width: 62px; height: 62px; }
.player-key {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
}
.player-controls { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.player-controls .progress { flex: 1; }
.player-play { width: 38px; height: 38px; border: 1px solid rgba(246, 177, 122, 0.3); background: rgba(246, 177, 122, 0.1); color: var(--warm); flex-shrink: 0; }
.player-play svg { width: 16px; height: 16px; }
.player-time { font-size: 10px; color: var(--dim); white-space: nowrap; }

.material-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  text-align: left;
  cursor: pointer;
}
.material-card:hover { border-color: rgba(246, 177, 122, 0.3); }
.material-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(246, 177, 122, 0.1);
  color: var(--warm);
  border: 1px solid rgba(246, 177, 122, 0.16);
}
.material-info { flex: 1; min-width: 0; }
.material-info b { display: block; font-size: 12px; font-weight: 400; color: var(--text); }
.material-info small { display: block; margin-top: 3px; font-size: 9px; color: var(--dim); }


.category-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 34px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(145deg, rgba(24, 34, 55, 0.82), rgba(12, 18, 31, 0.92));
  background:
    radial-gradient(420px 300px at 74% 30%, color-mix(in srgb, var(--accent, #f6b17a) 16%, transparent), transparent 72%),
    linear-gradient(145deg, rgba(24, 34, 55, 0.82), rgba(12, 18, 31, 0.92));
  overflow: hidden;
}
.category-hero-content h1 { margin: 10px 0 10px; font-size: clamp(38px, 5vw, 56px); }
.category-hero-content .lead { max-width: 560px; }
.category-sound { margin-top: 14px; font-size: 12px; color: var(--warm); display: flex; align-items: center; gap: 7px; }
.category-hero-art { display: grid; place-items: center; min-height: 320px; }
.category-hero-art img { height: 340px; width: auto; object-fit: contain; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.42)); }
.category-facts { margin-top: 16px; }
.fact-card { padding: 16px; }
.fact-card b { display: block; margin-top: 6px; font-family: var(--serif); font-size: 17px; font-weight: 500; }

.tool-panel { padding: 24px; }
.dropzone { display: block; margin-top: 18px; cursor: pointer; text-align: center; }
.dropzone .tool-icon { margin: 0 auto 12px; }
.dropzone b { display: block; font-size: 13px; }
.dropzone small { display: block; margin-top: 5px; font-size: 10px; color: var(--dim); }
.field-row { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.field-row .field { flex: 1; min-width: 120px; }
#ai, #metronome, #tuner, #lessonBackings, #lessonMaterials { scroll-margin-top: 92px; }
.ai-progress { margin-top: 18px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); font-size: 11px; color: var(--muted); }
.ai-progress .progress { margin-top: 9px; }
.ai-output { margin-top: 18px; padding: 16px; border-radius: 14px; border: 1px solid rgba(246, 177, 122, 0.2); background: rgba(246, 177, 122, 0.03); }
.ai-output pre { margin: 12px 0 0; max-height: 240px; overflow: auto; font-family: var(--mono); font-size: 10.5px; line-height: 1.9; color: var(--muted); white-space: pre-wrap; }
.tool-steps { display: grid; gap: 12px; margin-top: 14px; }
.tool-steps > div { display: flex; gap: 10px; align-items: flex-start; }
.tool-steps span { font-family: var(--serif); font-size: 15px; color: var(--warm); }
.tool-steps p { font-size: 11.5px; color: var(--muted); }
.metro-display { display: flex; align-items: baseline; gap: 10px; margin: 20px 0 8px; }
.metro-display b { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--warm); }
.metro-display span { font-size: 10px; letter-spacing: 0.2em; color: var(--dim); }
.beat-dot { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; background: rgba(246, 177, 122, 0.16); color: var(--warm); display: grid; place-items: center; font-size: 14px; }
.beat-dot.beat { animation: beatPulse 0.16s ease; background: var(--warm); color: #1a1208; }
@keyframes beatPulse { 0% { transform: scale(1); } 50% { transform: scale(1.45); } 100% { transform: scale(1); } }
.range { width: 100%; accent-color: var(--warm); }
.tuner-strings { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.tuner-string { padding: 14px 6px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); color: var(--muted); transition: 0.2s ease; }
.tuner-string b { display: block; font-family: var(--serif); font-size: 20px; color: var(--text); }
.tuner-string span { display: block; font-size: 9px; margin-top: 4px; }
.tuner-string small { display: block; font-size: 9px; color: var(--dim); margin-top: 2px; }
.tuner-string:hover, .tuner-string.active { border-color: rgba(246, 177, 122, 0.42); background: rgba(246, 177, 122, 0.08); color: var(--warm); }
.tuner-status { margin-top: 14px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); font-size: 11px; color: var(--muted); }

.member-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(460px 260px at 18% 10%, rgba(246, 177, 122, 0.12), transparent 70%),
    linear-gradient(145deg, rgba(24, 34, 55, 0.84), rgba(12, 18, 31, 0.92));
}
.level-chip {
  position: absolute;
  right: -8px;
  bottom: -6px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(232, 196, 122, 0.3);
  background: #111a2b;
  color: var(--gold);
  font-size: 10px;
  font-family: var(--sans);
  letter-spacing: 0.04em;
}
.member-info h1 { font-size: clamp(32px, 4vw, 46px); margin: 8px 0 4px; }
.member-handle { font-size: 10px; color: var(--dim); letter-spacing: 0.04em; }
.member-signature { margin-top: 14px; font-family: var(--serif); font-size: 17px; color: var(--warm-2); }
.member-bio { margin-top: 8px; font-size: 12px; color: var(--muted); max-width: 560px; line-height: 1.9; }
.member-score { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 110px; }
.member-score b { font-family: var(--serif); font-size: 46px; color: var(--warm); line-height: 1; }
.member-score span { font-size: 10px; color: var(--dim); }
.member-score .btn { margin-top: 10px; white-space: nowrap; }
.member-stats { margin-top: 16px; }
.stat-card { padding: 18px; }
.stat-card b { display: block; font-family: var(--serif); font-size: 30px; color: var(--warm); margin: 6px 0 3px; }
.stat-card span:last-child { font-size: 10px; color: var(--dim); }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.04); font-size: 11.5px; }
.contact-row span { color: var(--dim); }
.contact-row a, .contact-row b { color: var(--text); font-weight: 400; }
.contact-row a:hover { color: var(--warm); }
.level-progress { display: flex; align-items: center; gap: 12px; margin: 12px 0 10px; }
.level-progress .progress { flex: 1; }
.level-progress span { font-size: 10px; color: var(--dim); white-space: nowrap; }
.member-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.04); font-size: 11.5px; color: var(--muted); }
.member-row:hover { color: var(--text); }
.member-row b { display: block; font-weight: 400; color: var(--text); font-size: 12px; }
.member-row small { display: block; margin-top: 3px; font-size: 9.5px; color: var(--dim); }
.drawer-utils { display: grid; gap: 3px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.drawer-utils a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; font-size: 13px; color: var(--muted); }
.drawer-utils a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }

.checkin-card { padding: 24px; }
.checkin-card h2 { font-size: 30px; margin-top: 4px; }
.checkin-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; margin-top: 18px; }
.checkin-day {
  min-height: 92px;
  padding: 10px 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
}
.checkin-day-label { font-size: 9px; color: var(--dim); }
.checkin-day b { font-family: var(--serif); font-size: 18px; color: var(--muted); font-weight: 500; }
.checkin-day small { font-size: 8.5px; color: var(--dim); }
.checkin-day.done { border-color: rgba(246, 177, 122, 0.32); background: rgba(246, 177, 122, 0.08); }
.checkin-day.done b { color: var(--warm); }
.checkin-day.today { box-shadow: 0 0 0 1px rgba(246, 177, 122, 0.55), 0 0 18px rgba(246, 177, 122, 0.12); border-color: rgba(246, 177, 122, 0.55); }
.checkin-day.today small { color: var(--warm); }
.checkin-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.checkin-big { min-width: 210px; }
.checkin-big:disabled { opacity: 0.55; cursor: default; }
.checkin-rules { margin-top: 18px; padding: 22px; }
.checkin-rules h3 { font-size: 24px; margin: 4px 0 12px; }
.rule-row { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.rule-row:last-child { border-bottom: 0; }
.rule-row span { font-family: var(--serif); font-size: 14px; color: var(--warm); }
.rule-row p { font-size: 11.5px; color: var(--muted); line-height: 1.7; }
@media (max-width: 900px) { .checkin-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .checkin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 1020px) {
  .carousel-track, .carousel-slide { height: 500px; }
  .carousel-content { padding: 48px; }
  .category-hero { grid-template-columns: 1fr; }
  .category-hero-art { min-height: 230px; }
  .category-hero-art img { height: 250px; }
  .member-hero { grid-template-columns: auto 1fr; }
  .member-score { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; gap: 12px; }
  .member-score b { font-size: 34px; }
}
@media (max-width: 900px) {
  .tuner-strings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .carousel-track, .carousel-slide { height: 460px; }
  .carousel-content { padding: 90px 24px 30px; }
  .carousel-content h2 { font-size: 38px; }
  .carousel-content p { font-size: 13px; }
  .hero-member-chip { top: 14px; right: 14px; }
  .hero-member-widget { top: 14px; right: 14px; }
  .hero-member-chip b { font-size: 10px; }
  .carousel-nav { width: 36px; height: 36px; top: auto; bottom: 20px; transform: none; }
  .carousel-nav.prev { left: 18px; }
  .carousel-nav.next { left: 62px; right: auto; }
  .carousel-dots { right: 18px; bottom: 20px; }
  .subhead { align-items: flex-start; flex-direction: column; gap: 6px; }
  .library-split { grid-template-columns: 1fr; }
  .home-tab-tools { align-items: stretch; }
  .field.compact.field-search { flex: 1 1 100%; }
  .category-hero { padding: 24px; }
  .category-hero-art { display: none; }
  .member-hero { grid-template-columns: 1fr; padding: 24px; gap: 18px; }
  .member-score { grid-column: auto; }
  .avatar-xl { width: 88px; height: 88px; font-size: 32px; }
  .member-info h1 { font-size: 32px; }
  .member-info h1 .badge { display: inline-block; margin-top: 6px; }
}
@media (max-width: 480px) {
  .carousel-track, .carousel-slide { height: 440px; }
  .carousel-content h2 { font-size: 34px; }
  .carousel-nav { display: none; }
  .hero-member-chip { padding: 5px 8px 5px 6px; }
  .hero-member-chip small { display: none; }
  .carousel-dots { bottom: 18px; }
  .tuner-strings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member-score { flex-wrap: wrap; }
}


.brand-logo { height: 40px; width: auto; display: block; object-fit: contain; filter: brightness(1.18) drop-shadow(0 0 10px rgba(246, 177, 122, 0.16)); }
.footer-brand .brand-logo { height: 44px; margin-bottom: 10px; }

.home-hero {
  position: relative;
  min-height: 560px;
  margin-top: 24px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  background: #0a101d;
}
.home-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 20, 0.94) 0%, rgba(7, 11, 20, 0.82) 34%, rgba(7, 11, 20, 0.34) 68%, rgba(7, 11, 20, 0.52) 100%),
    linear-gradient(0deg, rgba(7, 11, 20, 0.55), transparent 55%);
}
.home-hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 64px;
}
.home-hero h1 { margin: 16px 0 18px; font-size: clamp(40px, 5vw, 62px); }
.home-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #ffd6a5, #f6b17a 52%, #d9955d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home-hero .hero-lead { max-width: 540px; font-size: 15px; line-height: 1.95; }
.home-hero .hero-actions { margin-top: 26px; }
.home-hero .hero-stats { margin-top: 30px; }

.entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .entry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.entry-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  min-height: 168px;
  transition: 0.22s ease;
}
.entry-card:hover { transform: translateY(-3px); border-color: rgba(246, 177, 122, 0.3); box-shadow: var(--shadow-soft); }
.entry-glyph {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid rgba(246, 177, 122, 0.22);
  font-family: var(--serif);
  font-size: 17px;
}
.entry-card h3 { font-size: 19px; margin-top: 16px; }
.entry-card p { font-size: 10.5px; line-height: 1.6; color: var(--dim); margin-top: 4px; min-height: 33px; }
.entry-count { display: block; margin-top: 13px; font-size: 10px; letter-spacing: 0.08em; color: rgba(246, 177, 122, 0.74); }

.guitar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guitar-card { overflow: hidden; }
.guitar-card-img {
  height: 270px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(220px 150px at 50% 40%, rgba(255, 255, 255, 0.07), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.03), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.guitar-card-img img {
  height: 246px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease;
}
.guitar-card:hover .guitar-card-img img { transform: translateY(-5px) scale(1.02); }
.guitar-card .card-body { padding: 16px; }
.guitar-card h3 { font-size: 18px; margin: 2px 0 3px; }
.guitar-card p { font-size: 11px; line-height: 1.6; color: var(--dim); }

.model-photo {
  height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background:
    radial-gradient(180px 130px at 50% 42%, rgba(255, 255, 255, 0.07), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.03), transparent);
}
.model-photo img {
  height: 208px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.35));
  transition: transform 0.25s ease;
}
.model-card:hover .model-photo img { transform: translateY(-4px); }
.model-art img {
  height: 300px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.42));
}

.community-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  background:
    radial-gradient(320px 180px at 84% 20%, rgba(246, 177, 122, 0.12), transparent 70%),
    linear-gradient(145deg, rgba(24, 34, 55, 0.82), rgba(12, 18, 31, 0.9));
}
.community-cta h2 { font-size: 28px; margin-top: 6px; }
.community-cta p { font-size: 12.5px; color: var(--muted); margin-top: 6px; max-width: 560px; }

@media (max-width: 1020px) {
  .home-hero { min-height: 500px; }
  .home-hero-content { padding: 48px; }
  .entry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .guitar-grid { grid-template-columns: 1fr; }
  .guitar-card-img { height: 230px; }
  .guitar-card-img img { height: 210px; }
}
@media (max-width: 720px) {
  .home-hero { min-height: 460px; border-radius: 22px; }
  .home-hero-content { padding: 30px 24px; }
  .home-hero h1 { font-size: 36px; }
  .home-hero .hero-stats { gap: 16px; }
  .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry-card { min-height: 150px; }
  .community-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .brand-logo { height: 32px; }
  .footer-brand .brand-logo { height: 38px; }
  .home-hero { min-height: 430px; }
  .home-hero h1 { font-size: 32px; }
  .entry-grid { grid-template-columns: 1fr; }
  .entry-card { min-height: 0; }
  .guitar-card-img { height: 210px; }
  .guitar-card-img img { height: 190px; }
  .model-photo { height: 200px; }
  .model-photo img { height: 188px; }
  .model-art img { height: 250px; }
}


.stage-list { display: grid; gap: 10px; }
.stage-card { display: block; padding: 18px; }
.stage-card.current { border-color: rgba(246, 177, 122, 0.36); background: linear-gradient(150deg, rgba(246, 177, 122, 0.07), rgba(12, 18, 31, 0.9)); }
.stage-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.stage-card h3 { font-size: 18px; }
.stage-card p { font-size: 11.5px; color: var(--dim); margin-top: 3px; }

.sub-card { display: block; padding: 18px; }
.sub-card .board-glyph { margin-bottom: 10px; }
.sub-card h3 { font-size: 16px; }
.sub-card p { font-size: 11px; color: var(--dim); margin-top: 3px; }

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(246, 177, 122, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(246, 177, 122, 0.09), rgba(15, 22, 37, 0.7));
}
.callout h3 { font-size: 16px; margin-top: 4px; }
.callout p { font-size: 11.5px; color: var(--muted); margin-top: 4px; max-width: 640px; }

.quiz { padding: 26px; max-width: 860px; margin: 0 auto; }
.quiz-q { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.quiz-q:last-of-type { border-bottom: 0; }
.quiz-q-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.quiz-num { font-family: var(--mono); font-size: 10px; color: var(--warm); }
.quiz-q h3 { font-size: 16px; }
.quiz-options { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz-opt {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 12px;
  transition: 0.2s ease;
}
.quiz-opt:hover { border-color: rgba(246, 177, 122, 0.3); color: var(--text); }
.quiz-opt.active { background: rgba(246, 177, 122, 0.13); border-color: rgba(246, 177, 122, 0.45); color: var(--warm); }
.result-card { padding: 24px; }

.gear-card {
  display: block;
  width: 100%;
  font-family: inherit;
  color: inherit;
  text-align: left;
  background: linear-gradient(180deg, rgba(20, 28, 45, 0.78), rgba(12, 18, 31, 0.9));
}
.gear-card:hover { transform: translateY(-2px); border-color: rgba(246, 177, 122, 0.25); box-shadow: var(--shadow-soft); }

.gear-type-grid { align-items: stretch; }
.gear-type-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.gear-type-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -40px;
  top: -50px;
  border-radius: 50%;
  background: var(--type-accent);
  opacity: 0.08;
  filter: blur(12px);
  pointer-events: none;
}
.gear-type-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--type-accent) 40%, transparent); box-shadow: var(--shadow-soft); }
.gear-type-card h3 { font-size: 24px; margin-top: 2px; }
.gear-type-card p { font-size: 11.5px; line-height: 1.8; color: var(--muted); flex: 1; }
.gear-type-card .section-link { margin-top: 6px; font-size: 10px; }
.gear-type-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--type-accent) 40%, transparent);
  background: color-mix(in srgb, var(--type-accent) 10%, transparent);
  color: var(--type-accent);
  font-family: var(--serif);
  font-size: 22px;
}
.gear-type-head { display: flex; align-items: flex-start; gap: 16px; margin-top: 14px; }
.gear-type-head .gear-type-icon { width: 70px; height: 70px; border-radius: 20px; font-size: 32px; }
.gear-type-head h1 { margin-top: 3px; }
.gear-type-head .lead { margin-top: 6px; }
.type-counts { display: flex; gap: 12px; flex-wrap: wrap; font-size: 9px; color: var(--dim); margin-top: 2px; }
.care-card { padding: 16px; }
.care-card h3 { font-size: 18px; margin-top: 8px; }
.care-card p { font-size: 11px; line-height: 1.75; color: var(--muted); margin-top: 4px; }
.care-card .flex.between { margin-top: 10px; }

.engagement-card {
  position: relative;
  padding: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(246, 177, 122, 0.09), rgba(143, 167, 217, 0.06) 45%, rgba(12, 18, 31, 0.94));
  border-color: rgba(246, 177, 122, 0.2);
}
.engagement-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  top: -140px;
  border-radius: 50%;
  background: rgba(246, 177, 122, 0.12);
  filter: blur(40px);
  pointer-events: none;
}
.engagement-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.engagement-head h2 { font-size: 34px; margin-top: 3px; }
.engagement-sub { margin-top: 8px; font-size: 11px; color: var(--dim); }
.vote-score { display: flex; align-items: flex-end; gap: 26px; margin-top: 16px; }
.score { display: flex; align-items: baseline; gap: 6px; }
.score b { font-family: var(--serif); font-size: 42px; line-height: 0.9; font-weight: 500; }
.score-like b { color: var(--warm); text-shadow: 0 0 24px rgba(246, 177, 122, 0.28); }
.score-dislike b { color: #d9a6a6; }
.score span { font-size: 10px; color: var(--dim); }
.vote-box { display: flex; gap: 10px; }
.btn-vote {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 12px;
  transition: 0.2s ease;
}
.btn-vote svg { width: 17px; height: 17px; color: var(--warm); }
.btn-vote b { color: var(--text); font-size: 14px; }
.btn-vote:hover { border-color: rgba(246, 177, 122, 0.45); transform: translateY(-1px); }
.btn-vote.active { border-color: rgba(246, 177, 122, 0.7); background: rgba(246, 177, 122, 0.18); color: var(--warm); box-shadow: 0 0 22px rgba(246, 177, 122, 0.12); }
.like-mini { display: inline-flex; align-items: center; gap: 5px; color: var(--warm); font-size: 11px; font-weight: 500; }
.like-mini svg { width: 13px; height: 13px; }
.comments-block { position: relative; margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.comment-list-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.comment-list { display: grid; gap: 8px; }
.comment-item { padding: 11px 13px; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 10px; background: rgba(255, 255, 255, 0.02); }
.comment-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.comment-meta b { font-size: 11px; font-weight: 500; color: var(--text); }
.comment-meta small { font-size: 9px; color: var(--dim); }
.comment-item p { margin-top: 4px; font-size: 11.5px; line-height: 1.75; color: var(--muted); }
.comment-form { margin-top: 12px; }
.comment-form textarea { width: 100%; min-height: 72px; resize: vertical; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--text); font: inherit; font-size: 12px; }
.comment-form textarea:focus { outline: none; border-color: rgba(246, 177, 122, 0.45); }

.register-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 18px; align-items: start; }
.register-card, .register-aside { padding: 26px; }
.register-card h2 { font-size: 36px; margin-top: 4px; }
.auth-switch { display: inline-flex; gap: 4px; padding: 4px; margin-top: 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03); }
.auth-switch button { border: 0; background: transparent; color: var(--dim); border-radius: 999px; padding: 7px 16px; font: inherit; font-size: 11px; cursor: pointer; }
.auth-switch button.active { background: rgba(246, 177, 122, 0.16); color: var(--warm); }
.register-form { display: grid; gap: 12px; margin-top: 18px; }
.register-form[hidden] { display: none; }
.register-form label { display: grid; gap: 5px; font-size: 10px; color: var(--dim); }
.register-form input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--text); font: inherit; font-size: 12px; }
.register-form input:focus { outline: none; border-color: rgba(246, 177, 122, 0.45); }
.register-hint { font-size: 10px; color: var(--dim); }
.register-hint code { color: var(--warm); }
.register-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.oauth-divider { display: flex; align-items: center; gap: 10px; margin: 20px 0 12px; color: var(--dim); font-size: 10px; }
.oauth-divider::before, .oauth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.oauth-row { display: flex; gap: 8px; flex-wrap: wrap; }
.oauth-btn { flex: 1; min-width: 130px; justify-content: center; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--text); }
.oauth-btn b { font-family: var(--serif); font-size: 16px; margin-right: 4px; }
.oauth-qq b { color: #6fb7ff; }
.oauth-wechat b { color: #7bc8a4; }
.oauth-btn:hover { border-color: rgba(246, 177, 122, 0.4); }
.register-aside h3 { font-size: 24px; margin: 5px 0 12px; }
.register-benefit { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.register-benefit:last-of-type { border-bottom: 0; }
.register-benefit span { font-family: var(--serif); color: var(--warm); font-size: 13px; }
.register-benefit p { font-size: 11.5px; color: var(--muted); line-height: 1.7; }

#sheet { will-change: transform; }

@media (max-width: 720px) {
  .callout { align-items: flex-start; flex-direction: column; }
  .quiz { padding: 18px; }
  .result-card { padding: 18px; }
  .gear-type-head { flex-direction: column; gap: 10px; }
  .gear-type-head .gear-type-icon { width: 54px; height: 54px; font-size: 26px; }
  .engagement-head { align-items: flex-start; flex-direction: column; }
  .engagement-head h2 { font-size: 28px; }
  .vote-score { gap: 20px; }
  .score b { font-size: 34px; }
  .vote-box { width: 100%; }
  .btn-vote { flex: 1; justify-content: center; }
  .register-grid { grid-template-columns: 1fr; }
  .register-card, .register-aside { padding: 20px; }
  .register-card h2 { font-size: 30px; }
}

@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; }
  .star { animation: none; opacity: 0.7; }
  .star-bright { opacity: 0.95; }
}

/* ---------- submissions ---------- */
.submit-tabs { margin-bottom: 18px; }
.submit-panels { margin-bottom: 22px; }
.submit-form { padding: 26px; }
.submit-form[hidden] { display: none; }
.submit-form h3 { font-size: 24px; margin: 4px 0 16px; }
.submit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.submit-form label { display: grid; gap: 6px; margin-top: 12px; font-size: 10px; letter-spacing: 0.1em; color: var(--dim); }
.submit-form input,
.submit-form select,
.submit-form textarea { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: rgba(7, 11, 20, 0.7); color: var(--text); font: inherit; font-size: 12.5px; outline: none; }
.submit-form textarea { resize: vertical; }
.submit-form input:focus,
.submit-form select:focus,
.submit-form textarea:focus { border-color: rgba(246, 177, 122, 0.45); }
.submit-form input[type="file"] { padding: 8px; color: var(--muted); }
.submit-form .btn { margin-top: 18px; }
.submit-disclaimer { font-size: 11px; color: var(--dim); border-top: 1px solid var(--line); padding-top: 14px; }
.my-submissions-card { margin-top: 20px; }
.my-submissions-card .review-head { align-items: flex-start; }
.review-card { margin-top: 14px; }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.review-head h3 { font-size: 21px; margin: 6px 0 4px; }
.review-head p { font-size: 11px; color: var(--dim); }
.review-source { font-size: 11.5px; color: var(--muted); margin-top: 10px; }
.review-json { max-height: 220px; overflow: auto; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(7, 11, 20, 0.7); color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.review-card .admin-actions { margin-top: 14px; }
.status-pill { display: inline-block; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; color: var(--muted); }
.status-pending { color: var(--warm); border-color: rgba(246, 177, 122, 0.4); background: rgba(246, 177, 122, 0.08); }
.status-approved { color: var(--ok); border-color: rgba(123, 200, 164, 0.4); background: rgba(123, 200, 164, 0.08); }
.status-rejected { color: var(--danger); border-color: rgba(224, 122, 122, 0.4); background: rgba(224, 122, 122, 0.08); }
@media (max-width: 640px) {
  .submit-grid { grid-template-columns: 1fr; }
  .submit-form { padding: 18px; }
}
.content-disclaimer { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 10.5px; line-height: 1.8; color: var(--dim); }
.content-disclaimer a { color: var(--warm); }
.tab-versions-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.tab-versions-head h4 { font-size: 17px; margin: 0 0 4px; }
.tab-versions-head p { font-size: 11px; color: var(--dim); }
.tab-version-row { margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.02); }
.tab-version-row > .btn { margin-top: 10px; }
.tab-version-row .submit-grid { margin-top: 0; }
.tab-version-row [data-v-name-custom][hidden], .tab-version-row [data-v-notation-custom][hidden] { display: none; }
.manage-filter { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--dim); letter-spacing: 0.1em; }
.manage-filter select { min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: rgba(7, 11, 20, 0.7); color: var(--text); outline: none; }
.status-published { color: var(--ok); border-color: rgba(123, 200, 164, 0.4); background: rgba(123, 200, 164, 0.08); }
.status-hidden { color: var(--danger); border-color: rgba(224, 122, 122, 0.4); background: rgba(224, 122, 122, 0.08); }
.pdf-frame { display: block; width: 100%; height: min(78vh, 920px); border: 0; border-radius: 8px; background: #fbf7ee; }
.paper-empty { display: grid; place-items: center; min-height: 420px; border: 1px dashed rgba(42, 38, 32, 0.22); border-radius: 8px; color: #7a6a52; font-size: 12px; background: #fbf7ee; }
.format-toggle { display: inline-flex; gap: 4px; margin: 10px 0; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03); }
.format-choice { border: 0; background: transparent; color: var(--dim); border-radius: 999px; padding: 6px 16px; font: inherit; font-size: 11px; cursor: pointer; }
.format-choice.active { background: rgba(246, 177, 122, 0.16); color: var(--warm); }
.format-choice:disabled { opacity: 0.35; cursor: not-allowed; }
.tutorial-chapter-row { margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.02); }
.tutorial-chapter-row > .btn { margin-top: 10px; }
.tutorial-chapter-row .submit-grid { margin-top: 0; }
.lesson-resources { display: flex; gap: 4px; flex-wrap: wrap; }
.lesson-resource { padding: 3px 7px; border: 1px solid rgba(246, 177, 122, 0.28); border-radius: 6px; background: rgba(246, 177, 122, 0.06); color: var(--warm); font: inherit; font-size: 9.5px; line-height: 1.4; text-decoration: none; cursor: pointer; }
.lesson-resource:hover { background: rgba(246, 177, 122, 0.13); }
.lesson-resource:disabled { border-color: var(--line); background: transparent; color: var(--dim); opacity: 0.5; cursor: not-allowed; }
@media (max-width: 760px) {
  .lesson-item { flex-wrap: wrap; }
  .lesson-title { flex-basis: calc(100% - 44px); }
  .lesson-resources { padding-left: 40px; }
}
.version-audition { flex-shrink: 0; padding: 3px 7px; border: 1px solid rgba(246, 177, 122, 0.28); border-radius: 6px; background: rgba(246, 177, 122, 0.06); color: var(--warm); font-size: 9.5px; line-height: 1.4; cursor: pointer; }
.version-audition:hover { background: rgba(246, 177, 122, 0.13); }
.version-audition.disabled { border-color: var(--line); background: transparent; color: var(--dim); opacity: 0.5; cursor: not-allowed; }
.version-backing { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 10px; }
.version-backing .btn { padding: 4px 8px; font-size: 10px; }
.admin-hide-row { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.btn.admin-hide-btn { width: 100%; background: linear-gradient(135deg, rgb(246, 177, 122), rgb(233, 162, 105)); border-color: transparent; color: rgb(27, 18, 11); font-weight: 700; }
.btn.admin-hide-btn:hover { background: linear-gradient(135deg, rgb(246, 177, 122), rgb(233, 162, 105)); border-color: transparent; color: rgb(27, 18, 11); }
.pdf-pages { display: flex; flex-direction: column; gap: 8px; max-height: 78vh; overflow: auto; padding: 4px; border-radius: 8px; background: #e9e0cf; overscroll-behavior: contain; }
.pdf-page-image { display: block; width: 100%; height: auto; background: #fff; border-radius: 4px; box-shadow: 0 2px 8px rgba(42, 38, 32, 0.12); }
#pdfPageCount { color: #7a6a52; margin-left: 4px; }
@media (max-width: 760px) {
  .pdf-pages { max-height: none; overflow: visible; padding: 0; background: transparent; }
}

.profile-address-edit { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; max-width: 72%; }
.profile-address-edit b { text-align: right; font-weight: 500; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-address-form textarea { width: 100%; min-height: 84px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 9px; background: rgba(7, 11, 20, 0.7); color: var(--text); outline: none; resize: vertical; font: inherit; line-height: 1.7; }
.profile-address-form textarea:focus { border-color: rgba(246, 177, 122, 0.45); }
.profile-address-edit .btn[hidden] { display: none; }

.email-code-row { display: flex; gap: 8px; align-items: stretch; }
.email-code-row input { flex: 1; min-width: 0; }
.email-code-row .btn { flex-shrink: 0; white-space: nowrap; }
.auth-text-btn { margin-top: 10px; padding: 0; border: 0; background: transparent; color: var(--dim); font: inherit; font-size: 11px; text-align: right; cursor: pointer; }
.auth-text-btn:hover { color: var(--warm); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.pagination .btn { min-width: 76px; }

.load-more-comments { width: 100%; margin-top: 8px; }

.revision-diff { margin: 12px 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.revision-diff-head, .revision-diff-row { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 8px; padding: 8px 10px; font-size: 11px; }
.revision-diff-head { color: var(--dim); background: rgba(255, 255, 255, 0.04); text-transform: uppercase; letter-spacing: 0.08em; }
.revision-diff-row { border-top: 1px solid var(--line); color: var(--muted); }
.revision-diff-row span:first-child { color: var(--dim); }
.revision-diff-row span:nth-child(2) { color: var(--danger); }
.revision-diff-row span:nth-child(3) { color: var(--ok); }
