/* ===== Design Tokens · 声音造歌MVP =====
   单一来源 · 不要在组件中写裸值
   暖米色系 · iOS 原生质感 · 温润舒适
   ===== */

:root {
  /* ---- color · base ---- */
  --c-bg:            #faf8f5;
  --c-bg-deep:       #f4efe8;
  --c-surface:       #ffffff;
  --c-surface-warm:  #fefbf7;
  --c-surface-soft:  #f8f4ee;
  --c-border:        #ece8e0;
  --c-border-soft:   #f0ede7;
  --c-divider:       #f4f0ea;

  /* ---- color · text ---- */
  --c-text:          #1f1a16;
  --c-text-soft:     #4a4540;
  --c-text-muted:    #8a8278;
  --c-text-faint:    #b5ad9f;

  /* ---- color · brand ---- */
  --c-accent:        #d4786e;
  --c-accent-soft:   #e8a099;
  --c-accent-bg:     #fef5f3;
  --c-accent-mist:   #fbe9e6;

  /* ---- color · semantic ---- */
  --c-danger:        #c44a40;
  --c-danger-bg:     #fef4f2;
  --c-success:       #5c8a6e;
  --c-success-bg:    #f0f5f1;
  --c-info-bg:       #f3f1ec;

  /* ---- shadow · 永远不用纯黑 ---- */
  --shadow-sm:       0 1px 2px rgba(30, 20, 15, 0.04);
  --shadow-md:       0 2px 8px rgba(30, 20, 15, 0.05), 0 1px 2px rgba(30, 20, 15, 0.03);
  --shadow-lg:       0 8px 28px rgba(30, 20, 15, 0.08);
  --shadow-up:       0 -4px 32px rgba(30, 20, 15, 0.10);
  --shadow-accent:   0 2px 12px rgba(212, 120, 110, 0.22);
  --shadow-accent-h: 0 4px 18px rgba(212, 120, 110, 0.30);

  /* ---- radius ---- */
  --r-xs:            4px;
  --r-sm:            8px;
  --r-md:            12px;
  --r-lg:            16px;
  --r-xl:            20px;
  --r-pill:          9999px;

  /* ---- spacing · 8 阶 ---- */
  --s-1:             4px;
  --s-2:             8px;
  --s-3:             12px;
  --s-4:             16px;
  --s-5:             20px;
  --s-6:             24px;
  --s-7:             32px;
  --s-8:             40px;
  --s-9:             48px;
  --s-10:            64px;

  /* ---- font ---- */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: "Songti SC", "Noto Serif SC", "PingFang SC", serif;

  /* ---- font-size ---- */
  --t-display:       32px;   /* Hero 主标 */
  --t-title:         24px;   /* 结果歌名 */
  --t-h1:            20px;   /* 区块大标 */
  --t-h2:            17px;   /* 区块标题 */
  --t-h3:            15px;   /* 卡片标题 */
  --t-body:          15px;   /* 正文 */
  --t-sub:           14px;
  --t-micro:         13px;   /* 辅助说明 */
  --t-caption:       12px;   /* tab label / 徽章 */
  --t-hint:          11px;   /* 法务/AI 标识 */

  /* ---- line-height ---- */
  --lh-tight:        1.25;
  --lh-snug:         1.4;
  --lh-normal:       1.55;
  --lh-relaxed:      1.75;

  /* ---- weight ---- */
  --w-regular:       400;
  --w-medium:        500;
  --w-semibold:      600;
  --w-bold:          700;

  /* ---- motion ---- */
  --ease-out:        cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-spring:     cubic-bezier(0.32, 0.72, 0, 1);
  --d-fast:          150ms;
  --d-base:          220ms;
  --d-slow:          320ms;
  --d-breath:        1600ms;

  /* ---- layout ---- */
  --w-mobile-max:    480px;
  --w-tablet-max:    640px;
  --w-content:       480px;
  --tab-bar-h:       64px;
  --safe-bottom:     env(safe-area-inset-bottom, 0px);
  --safe-top:        env(safe-area-inset-top, 0px);

  /* ---- z-index ---- */
  --z-base:          1;
  --z-sticky:        10;
  --z-tab-bar:       40;
  --z-sheet-mask:    50;
  --z-sheet:         51;
  --z-toast:         60;

  /* ---- breakpoint reference (媒体查询使用) ----
     mobile:  <= 599
     tablet:  600-1023
     desktop: >= 1024
  */
}

/* ---- prefers-color-scheme: dark fallback ----
   MVP 仅做"OS 自动深色不错乱"，不做完整暗色主题
*/
@media (prefers-color-scheme: dark) {
  :root {
    --c-bg:            #1a1714;
    --c-bg-deep:       #14110e;
    --c-surface:       #252220;
    --c-surface-warm:  #2a2624;
    --c-surface-soft:  #2f2b28;
    --c-border:        #3a3531;
    --c-border-soft:   #322e2b;
    --c-divider:       #2c2825;
    --c-text:          #f0ebe5;
    --c-text-soft:     #c9c2b8;
    --c-text-muted:    #8a8278;
    --c-text-faint:    #5e554c;
    --c-accent-bg:     #3a2622;
    --c-accent-mist:   #4a2d29;
    --c-danger-bg:     #3a2522;
    --c-success-bg:    #1f2a23;
    --c-info-bg:       #2a2724;
    --shadow-sm:       0 1px 2px rgba(0, 0, 0, 0.18);
    --shadow-md:       0 2px 8px rgba(0, 0, 0, 0.24), 0 1px 2px rgba(0, 0, 0, 0.16);
    --shadow-lg:       0 8px 28px rgba(0, 0, 0, 0.36);
    --shadow-up:       0 -4px 32px rgba(0, 0, 0, 0.44);
  }
}

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
:root {
  font-family:
    -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB',
    'Noto Sans CJK SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: #273041;
  background: #f5f6f8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

button,
input {
  font: inherit;
}
/* ===== 声音造歌MVP — Premium UI ===== */

/* ---- Foundation ---- */

:root {
  --c-bg: #faf8f5;
  --c-surface: #ffffff;
  --c-surface-warm: #fefbf7;
  --c-border: #ece8e0;
  --c-border-light: #f0ede7;
  --c-text: #1f1a16;
  --c-text-soft: #4a4540;
  --c-text-muted: #8a8278;
  --c-accent: #d4786e;
  --c-accent-soft: #e8a099;
  --c-accent-bg: #fef5f3;
  --c-danger: #c44a40;
  --c-danger-bg: #fef4f2;
  --c-success: #5c8a6e;
  --c-shadow: rgba(30, 20, 15, 0.06);
  --c-shadow-lg: rgba(30, 20, 15, 0.10);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --font: -apple-system, "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", system-ui, sans-serif;
  --transition: 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Page Shell ---- */

.page {
  min-height: 100svh;
  padding: 0 14px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.panel {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
}

/* ---- Hero ---- */

.hero {
  text-align: left;
  padding: 8px 0 4px;
}

.hero .kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-accent);
  letter-spacing: 0.04em;
  background: var(--c-accent-bg);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-text);
  letter-spacing: -0.01em;
}

.hero .sub {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-text-soft);
}

.hero .trust {
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-actions {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

/* ---- Age Gate ---- */

.age-gate {
  border: 1px solid #f0dbd8;
  border-radius: var(--radius-sm);
  background: #fefaf9;
  padding: 12px 14px;
  display: grid;
  gap: 8px;
}

.age-gate p {
  font-size: 13px;
  color: var(--c-text-soft);
  line-height: 1.5;
}

.age-ok {
  font-size: 12px;
  color: var(--c-success);
}

.link-btn {
  border: 0;
  background: transparent;
  color: var(--c-text-muted);
  font-size: 12px;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.link-btn:hover { color: var(--c-accent); }

/* ---- Blocks ---- */

.block {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  padding: 18px 16px;
  transition: border-color var(--transition);
}

.block h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 2px;
}

.hint {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 14px;
}

/* ---- Song Cards ---- */

.songs { display: grid; gap: 10px; }

.song-card {
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-sm);
  background: var(--c-surface-warm);
  padding: 14px;
  transition: border-color var(--transition);
}

.song-card:focus-within {
  border-color: var(--c-accent-soft);
}

.song-head {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

/* ---- Chips ---- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--c-text-soft);
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
}

.chip:hover {
  border-color: var(--c-accent-soft);
  color: var(--c-accent);
}

.chip.active {
  background: var(--c-accent-bg);
  border-color: var(--c-accent-soft);
  color: var(--c-accent);
  font-weight: 500;
}

/* ---- Fields ---- */

.fields {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.fields input {
  height: 40px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  padding: 0 12px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--c-text);
  transition: all var(--transition);
}

.fields input::placeholder { color: var(--c-text-muted); }

.fields input:focus {
  outline: none;
  border-color: var(--c-accent-soft);
  box-shadow: 0 0 0 3px rgba(212, 120, 110, 0.08);
}

/* ---- Fallback ---- */

.fallback { margin-top: 10px; }

.fallback p {
  font-size: 12px;
  color: var(--c-text-muted);
  margin-bottom: 8px;
}

/* ---- Reading Card ---- */

.reading-card {
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #fefbf7 0%, #fdf7f3 100%);
  padding: 16px;
}

.reading-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text);
  letter-spacing: 0.01em;
}

.family {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  color: var(--c-text-muted);
  background: var(--c-surface);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid var(--c-border-light);
}

/* ---- Buttons ---- */

.row-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.secondary,
.primary,
.danger {
  height: 40px;
  border-radius: 20px;
  border: none;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.secondary {
  background: #f3f0eb;
  color: var(--c-text-soft);
}

.secondary:hover:not(:disabled) {
  background: #ebe5dd;
}

.secondary:active:not(:disabled) {
  transform: scale(0.98);
}

.secondary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.primary {
  background: linear-gradient(135deg, #d4786e 0%, #c46a60 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(212, 120, 110, 0.25);
}

.primary:hover:not(:disabled) {
  box-shadow: 0 4px 18px rgba(212, 120, 110, 0.35);
  transform: translateY(-1px);
}

.primary:active:not(:disabled) {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 1px 6px rgba(212, 120, 110, 0.20);
}

.primary:disabled {
  background: #e0dcd6;
  color: #b0a89e;
  box-shadow: none;
  cursor: not-allowed;
}

.danger {
  background: var(--c-danger-bg);
  color: var(--c-danger);
}

.danger:hover { background: #fce8e5; }
.danger:active { transform: scale(0.98); }

/* ---- Micro ---- */

.micro {
  margin-top: 8px;
  font-size: 12px;
  color: var(--c-text-muted);
  line-height: 1.4;
}

/* ---- Recording Indicator ---- */

.recording-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--c-accent-bg);
  border: 1px solid rgba(212, 120, 110, 0.15);
  animation: recording-pulse 2s ease-in-out infinite;
}

.recording-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: blink-dot 0.8s ease-in-out infinite;
}

.recording-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--c-accent);
}

@keyframes recording-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 120, 110, 0.25); }
  50% { box-shadow: 0 0 0 10px rgba(212, 120, 110, 0); }
}

@keyframes blink-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* ---- Audio Block ---- */

.audio-block {
  margin-top: 10px;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-sm);
  background: var(--c-surface-warm);
  padding: 12px;
}

.audio-block p {
  font-size: 13px;
  color: var(--c-text-soft);
  margin-bottom: 8px;
  font-weight: 500;
}

.audio-block audio {
  width: 100%;
  border-radius: var(--radius-xs);
}

/* ---- Hum Card ---- */

.hum-card {
  margin-top: 10px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  padding: 14px;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-text-soft);
  cursor: pointer;
}

.toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--c-accent);
}

/* ---- CTA ---- */

.cta-block {
  position: sticky;
  bottom: 12px;
  background: linear-gradient(to top, var(--c-bg) 60%, rgba(250, 248, 245, 0));
  padding: 14px 0 4px;
  z-index: 10;
}

.cta-block .primary {
  width: 100%;
  height: 48px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---- Waiting ---- */

.waiting {
  border-color: var(--c-accent-soft);
  background: var(--c-accent-bg);
}

.waiting h2 {
  color: var(--c-accent);
  font-size: 15px;
}

.waiting ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.waiting ul li {
  font-size: 14px;
  color: var(--c-text-soft);
  padding-left: 20px;
  position: relative;
  animation: fade-step 0.5s ease-out both;
}

.waiting ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent-soft);
}

.waiting ul li:nth-child(1) { animation-delay: 0.05s; }
.waiting ul li:nth-child(2) { animation-delay: 0.30s; }
.waiting ul li:nth-child(3) { animation-delay: 0.55s; }
.waiting ul li:nth-child(4) { animation-delay: 0.80s; }

.animated-dots {
  display: inline-block;
  width: 18px;
  text-align: left;
}

.animated-dots span {
  animation: dot-blink 1.3s infinite;
  opacity: 0;
  color: var(--c-accent);
}

.animated-dots span:nth-child(2) { animation-delay: 0.18s; }
.animated-dots span:nth-child(3) { animation-delay: 0.36s; }

@keyframes dot-blink {
  0%, 20% { opacity: 0; }
  50% { opacity: 1; }
  80%, 100% { opacity: 0; }
}

@keyframes fade-step {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Error ---- */

.error {
  border-color: #f0dbd8;
  background: #fefaf9;
}

.error h2 { color: var(--c-danger); }
.error p {
  margin: 8px 0;
  color: var(--c-danger);
  font-size: 13px;
}

/* ---- Result ---- */

.result {
  border-color: var(--c-accent-soft);
  animation: result-in 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

@keyframes result-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.result h2 {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-accent);
  text-transform: none;
}

.result h3 {
  margin: 4px 0 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.01em;
}

/* ---- Player ---- */

.player {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.player audio {
  width: 100%;
  border-radius: var(--radius-xs);
}

.icon-btn {
  width: 90px;
}

/* ---- Share ---- */

.share-btn {
  margin-top: 12px;
  width: 100%;
}

.result-actions {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.secondary.favorited {
  background: var(--c-accent-bg);
  color: var(--c-accent);
}

/* ---- Tags ---- */

.tags {
  margin-top: 12px;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-sm);
  background: var(--c-surface-warm);
  padding: 12px 14px;
  display: grid;
  gap: 4px;
}

.tags p {
  font-size: 13px;
  color: var(--c-text-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tag-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--c-accent-bg);
  color: var(--c-accent);
  font-size: 11px;
  font-weight: 500;
}

/* ---- Legal ---- */

.legal {
  margin-top: 12px;
  font-size: 11px;
  color: var(--c-text-muted);
  line-height: 1.5;
}

/* ---- Sheet ---- */

.sheet-mask {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 10, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 10px 12px;
  z-index: 50;
  animation: mask-in 0.22s ease-out;
}

@keyframes mask-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.sheet {
  width: 100%;
  max-width: 440px;
  background: var(--c-surface);
  border-radius: var(--radius);
  padding: 20px 16px 16px;
  box-shadow: 0 -2px 30px var(--c-shadow-lg);
  animation: sheet-up 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}

@keyframes sheet-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.sheet h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 4px;
}

.share-line {
  margin-top: 10px;
  font-size: 15px;
  color: var(--c-text-soft);
  line-height: 1.5;
}

.sheet-actions {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.ranking-toggle { margin-top: 14px; }

/* ---- Ranking ---- */

.ranking-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.ranking-list li {
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--c-surface-warm);
}

.ranking-list strong {
  font-size: 14px;
  color: var(--c-text);
}

.ranking-list p {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--c-text-muted);
}

.rank-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.rank-actions .secondary {
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

/* ---- Lyrics Editor ---- */

.lyrics-editor {
  width: 100%;
  margin-top: 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--c-text);
  resize: vertical;
  line-height: 1.6;
}

.lyrics-editor:focus {
  outline: none;
  border-color: var(--c-accent-soft);
  box-shadow: 0 0 0 3px rgba(212, 120, 110, 0.08);
}

/* ---- Report ---- */

.report-options {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.report-option {
  font-size: 13px;
  color: var(--c-text-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.report-option input {
  accent-color: var(--c-accent);
}

/* ---- Close ---- */

.close-btn {
  margin-top: 12px;
  width: 100%;
}

/* ---- Ranking standalone ---- */

.ranking-list.standalone {
  margin-top: 0;
}

.ranking-list.standalone li {
  background: var(--c-surface-warm);
}

.rank-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-accent-bg);
  color: var(--c-accent);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rank-info {
  flex: 1;
  min-width: 0;
}

.rank-info strong {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-info p {
  margin-top: 2px;
  font-size: 12px;
  color: var(--c-text-muted);
}

/* ---- Toast ---- */

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-text);
  color: #fff;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  z-index: 60;
  animation: toast-in 0.25s ease-out;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(20, 14, 10, 0.20);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
