:root {
  --bg: #eef2f7;
  --bg-card: #ffffff;
  --bg-elevated: #f5f7fb;
  --bg-panel: #ffffff;
  --accent: #2b7ec5;
  --accent-dim: #1e6aa8;
  --accent-soft: rgba(43, 126, 197, 0.1);
  --blue: #0ea5e9;
  --green: #059669;
  --indigo: #6366f1;
  --red: #dc2626;
  --text: #1a2332;
  --text-secondary: #4a5d75;
  --text-muted: #6b7c93;
  --border: rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "PingFang SC", "SF Pro Text", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(43, 126, 197, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

#app {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  padding: calc(var(--safe-top) + 12px) 14px calc(var(--safe-bottom) + 20px);
}

.view-studio { padding: 0; margin: 0 -14px; }
.view-studio .studio { padding: 0 14px calc(var(--safe-bottom) + 88px); }

.view { animation: fadeIn 0.25s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

h1 { font-size: 26px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; color: var(--text); }
h2 { font-size: 18px; font-weight: 700; color: var(--text); }
.subtitle { color: var(--text-secondary); font-size: 14px; margin-bottom: 24px; line-height: 1.65; }

.hero-badge {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.card.soft { background: var(--bg-elevated); box-shadow: none; }

.btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 48px; border: none; border-radius: 12px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: transform 0.12s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { background: var(--bg-elevated); color: var(--text); border: 1px solid var(--border); }
.btn-ghost { background: transparent; color: var(--text-muted); min-height: 40px; font-size: 14px; }
.btn-row { display: flex; gap: 10px; margin-top: 16px; }
.btn-row .btn { flex: 1; }

/* Studio */
.studio-hud {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}

.hud-ring { position: relative; width: 44px; height: 44px; flex-shrink: 0; }
.hud-ring svg { width: 100%; height: 100%; }
.hud-ring span {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--accent);
}

.hud-title { font-size: 15px; font-weight: 700; color: var(--text); }
.hud-live { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.hud-live strong { color: var(--accent); font-weight: 700; }

.mod-nav {
  display: flex; gap: 4px; overflow-x: auto;
  padding: 8px 0 12px; scrollbar-width: none;
}
.mod-nav::-webkit-scrollbar { display: none; }

.mod-tab {
  flex: 1; min-width: 58px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 10px 4px; border: none; border-radius: 10px;
  background: transparent; color: var(--text-muted);
  cursor: pointer;
}
.mod-tab.on { background: var(--accent-soft); color: var(--accent); }
.mod-tab.done:not(.on) { color: #047857; }
.mod-tab.done .mod-icon { color: #047857; }
.mod-icon { font-size: 14px; }
.mod-label { font-size: 12px; font-weight: 600; }

.hud-progress-text { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.field-hint { font-weight: 500; color: var(--accent); font-size: 12px; }
.btn-disabled, .btn:disabled {
  opacity: 0.55; cursor: not-allowed; pointer-events: none;
}

.studio-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 360px;
}

.panel-head { padding: 16px 16px 10px; border-bottom: 1px solid var(--border); }
.panel-head p { font-size: 13px; color: var(--text-muted); }
.panel-body { padding: 16px; }
.panel-hint { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.vision-hint { color: var(--accent); }

.field-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-secondary); margin: 14px 0 8px;
}
.field-label:first-child { margin-top: 0; }

.studio-input {
  width: 100%; height: 46px; padding: 0 14px;
  border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg-elevated); color: var(--text);
  font-size: 16px; outline: none;
}
.studio-input:focus { border-color: var(--accent); }

.slider-block { margin-bottom: 20px; }
.slider-hero-block { margin-bottom: 28px; }
.slider-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 10px; }
.slider-name { font-size: 14px; color: var(--text-secondary); font-weight: 500; }

.slider-val {
  font-size: 20px; font-weight: 700; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.slider-val small { font-size: 14px; font-weight: 500; color: var(--text-muted); margin-left: 2px; }

.slider-hero-num {
  font-size: 52px; font-weight: 800; line-height: 1;
  color: var(--accent); letter-spacing: -0.02em;
}
.slider-hero-num small { font-size: 22px; font-weight: 600; }

.slider-marks { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-top: 6px; }

.studio-slider {
  width: 100%; height: 6px; appearance: none; -webkit-appearance: none;
  background: #d8e2ed; border-radius: 3px; outline: none;
  touch-action: pan-x;
}
.studio-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(43, 126, 197, 0.35);
}
.studio-slider::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff;
}

.dual-slider { display: grid; gap: 8px; }

.seg-control { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-item {
  flex: 1 1 auto; min-width: calc(50% - 8px);
  padding: 11px 10px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-elevated);
  color: var(--text-secondary); font-size: 13px; cursor: pointer; text-align: center;
}
.seg-item.on {
  border-color: var(--accent); background: var(--accent-soft);
  color: var(--accent); font-weight: 600;
}

.switch-group { margin-top: 12px; }
.switch-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0; border-bottom: 1px solid var(--border);
}
.switch-label { font-size: 15px; color: var(--text); flex: 1; padding-right: 12px; }
.switch-wrap { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.switch-state {
  font-size: 13px; font-weight: 700; min-width: 28px; text-align: center;
  color: var(--text-muted);
}
.switch-state.yes { color: var(--accent); }
.switch {
  width: 50px; height: 30px; border-radius: 15px; border: none;
  background: #cbd5e1; position: relative; cursor: pointer;
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}
.switch.on { background: var(--accent); }
.switch.on::after { transform: translateX(20px); }

.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tile-grid.multi { grid-template-columns: repeat(3, 1fr); }
.interest-grid { grid-template-columns: repeat(2, 1fr); }
.interest-grid .tile { min-height: 72px; }

.tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; min-height: 76px; padding: 12px 8px;
  border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg-elevated); color: var(--text-secondary); cursor: pointer;
}
.tile.multi { min-height: 82px; }
.tile.on {
  border-color: var(--accent); background: var(--accent-soft); color: var(--accent);
}
.tile-icon { font-size: 22px; }
.tile-label { font-size: 15px; font-weight: 700; text-align: center; color: inherit; }
.tile.on .tile-label { color: var(--accent); }
.tile-sub { font-size: 11px; color: var(--text-muted); text-align: center; }

.panel-card {
  background: var(--bg-elevated); border-radius: 12px;
  padding: 12px; margin-bottom: 12px;
}
.panel-card-head { font-size: 14px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }

.studio-footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  max-width: 480px; margin: 0 auto;
  display: flex; gap: 10px; padding: 12px 14px calc(var(--safe-bottom) + 12px);
  background: rgba(238, 242, 247, 0.92);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.studio-footer .btn { flex: 1; }
.studio-footer .studio-back { flex: 0 0 88px; }

/* Results */
.dash-hero { text-align: center; padding: 20px 16px; }
.dash-count { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.dash-num { font-size: 48px; font-weight: 800; color: var(--accent); }
.dash-unit { font-size: 16px; color: var(--text-muted); }
.dash-sub { font-size: 14px; color: var(--text-secondary); margin-top: 6px; }
.dash-tags { display: flex; gap: 8px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }

.gauge { position: relative; width: 150px; height: 150px; margin: 0 auto 8px; }
.gauge svg { transform: rotate(-90deg); }
.gauge-value {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.gauge-value .score { font-size: 32px; font-weight: 800; color: var(--text); }
.gauge-value .label { font-size: 12px; color: var(--text-muted); }

.tag {
  display: inline-block; padding: 5px 11px; border-radius: 8px;
  font-size: 12px; font-weight: 600;
}
.tag.safe { background: #d1fae5; color: #047857; }
.tag.warn { background: #e0f2fe; color: #0369a1; }
.tag.alert { background: #e0e7ff; color: #4338ca; }
.tag.danger { background: #fee2e2; color: #b91c1c; }
.tag.neutral { background: #f1f5f9; color: var(--text-secondary); }

.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.metric-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px; box-shadow: var(--shadow);
}
.metric-item .name { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.metric-item .value { font-size: 17px; font-weight: 700; color: var(--text); }

.insight-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.insight-card strong { color: var(--accent); }

.ai-card { border-left: 3px solid var(--accent); }
.section-title { font-size: 17px; margin-bottom: 8px; color: var(--text); }
.section-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.portrait-text { font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 14px; }
.action-line { font-size: 15px; color: var(--text); line-height: 1.65; font-weight: 500; }

.guide-list { display: flex; flex-direction: column; gap: 12px; }
.guide-card {
  padding: 14px; border-radius: 12px;
  background: var(--bg-elevated); border: 1px solid var(--border);
}
.guide-card h4 { font-size: 16px; color: var(--accent); margin-bottom: 10px; }
.guide-card ul { list-style: none; }
.guide-card li {
  position: relative; padding-left: 14px; margin-bottom: 8px;
  font-size: 14px; color: var(--text-secondary); line-height: 1.6;
}
.guide-card li::before { content: "·"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.guide-follow { font-size: 13px; color: var(--text-muted); margin-top: 8px; line-height: 1.6; }
.guide-action { font-size: 14px; color: var(--text); font-weight: 600; margin-top: 10px; }

.leisure-card { background: #f0fdf4; border: 1px solid #bbf7d0; padding: 14px; border-radius: 12px; }
.leisure-card h3 { font-size: 15px; color: #047857; margin-bottom: 8px; }
.leisure-card li { font-size: 14px; color: #166534; margin-bottom: 6px; }

.list-block h3 { font-size: 14px; color: var(--accent); margin-bottom: 8px; font-weight: 600; }
.list-block ul { list-style: none; }
.list-block li {
  position: relative; padding-left: 14px; margin-bottom: 8px;
  font-size: 14px; color: var(--text-secondary); line-height: 1.55;
}
.list-block li::before { content: "–"; position: absolute; left: 0; color: var(--text-muted); }

.checkbox-row {
  display: flex; gap: 10px; padding: 12px; border-radius: 10px;
  background: var(--bg-elevated); border: 1px solid var(--border); cursor: pointer;
}
.checkbox-row span { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

.path-intro, .guide-intro { font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 14px; }
.page-back {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: none; padding: 0 0 12px;
  font-size: 14px; color: var(--text-muted); cursor: pointer;
}
.page-back:active { color: var(--accent); }

.wish-modules { display: flex; flex-direction: column; gap: 14px; }
.wish-module { padding: 0; overflow: hidden; }
.wish-module-head {
  display: flex; gap: 12px; padding: 16px 16px 10px;
  border-bottom: 1px solid var(--border);
}
.wish-module-icon { font-size: 28px; line-height: 1; flex-shrink: 0; }
.wish-module-head h3 { font-size: 17px; color: var(--text); margin-bottom: 4px; }
.wish-module-sub { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.wish-module-related { font-size: 12px; color: var(--accent); margin-top: 6px; }
.wish-module .guide-list { padding: 12px 16px 0; }
.wish-module .guide-card.compact { margin-bottom: 10px; }

.side-guide-bar {
  display: flex; align-items: center; justify-content: center; width: 100%;
  margin: 8px 0 0; padding: 15px 16px; border: none;
  border-top: 2px solid #fed7aa;
  background: linear-gradient(135deg, #ea580c 0%, #f97316 45%, #fb923c 100%);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  cursor: pointer; text-align: center;
}
.side-guide-bar:active { filter: brightness(0.95); transform: scale(0.99); }
.side-guide-text {
  font-size: 15px; font-weight: 700; color: #fff;
  letter-spacing: 0.02em;
}
.side-guide-tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: #c2410c;
  padding: 5px 12px; border-radius: 999px;
  background: #ffedd5; border: 1px solid #fdba74; margin-bottom: 8px;
}
.side-guide-header { text-align: center; }
.side-guide-header .subtitle { text-align: center; }
.side-guide-detail-card { border-left: 4px solid #f97316; }
.side-guide-cta-wrap {
  display: flex; flex-direction: column; align-items: center;
  margin-top: 16px; width: 100%;
}
.guide-pending {
  width: 100%; text-align: center; padding: 14px; margin-bottom: 10px;
  background: #fff7ed; border: 1px solid #fed7aa;
}
.guide-pending p { font-size: 14px; color: #9a3412; line-height: 1.65; margin-bottom: 6px; }
.guide-pending p:last-child { margin-bottom: 0; }
.guide-pending strong { color: #c2410c; }
.side-guide-bar.is-open {
  background: linear-gradient(135deg, #dc2626 0%, #ea580c 50%, #f97316 100%);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4);
}

.role-banner { margin-bottom: 14px; padding: 14px 16px; background: #f0f9ff; border: 1px solid #bae6fd; }
.role-title { font-size: 15px; font-weight: 700; color: #0369a1; margin-bottom: 6px; }
.role-tagline { font-size: 13px; color: #0c4a6e; line-height: 1.65; }
.price-hint { font-size: 13px; color: #c2410c; font-weight: 600; margin-top: 6px; }

.promise-box {
  padding: 12px 14px; border-radius: 10px; margin-bottom: 10px;
  font-size: 14px; line-height: 1.65;
}
.promise-box.yes { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.promise-box.no { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.promise-box strong { display: block; margin-bottom: 4px; }

.deliver-grid { display: grid; gap: 10px; margin-top: 14px; }
.deliver-block {
  padding: 12px; border-radius: 10px; background: var(--bg-elevated); border: 1px solid var(--border);
}
.deliver-block.highlight { border-color: #fed7aa; background: #fff7ed; }
.deliver-block h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.deliver-block ul { list-style: none; }
.deliver-block li {
  position: relative; padding-left: 12px; margin-bottom: 6px;
  font-size: 13px; color: var(--text-secondary); line-height: 1.5;
}
.deliver-block li::before { content: "·"; position: absolute; left: 0; color: var(--accent); }

.tier-table { display: flex; flex-direction: column; gap: 8px; }
.tier-row {
  display: grid; grid-template-columns: 72px 48px 1fr; gap: 8px; align-items: start;
  padding: 10px 12px; border-radius: 8px; background: var(--bg-elevated); font-size: 13px;
}
.tier-name { font-weight: 700; color: var(--text); }
.tier-price { font-weight: 700; color: #c2410c; }
.tier-desc { color: var(--text-muted); line-height: 1.5; }

.learn-qr-block.is-placeholder { background: #f8fafc; border: 1px dashed #cbd5e1; }
.qr-placeholder { padding: 24px 12px; text-align: center; }
.qr-placeholder p { font-size: 14px; color: var(--text-secondary); }
.qr-placeholder-sub { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

.learn-qr-block { text-align: center; margin: 16px 0 8px; padding: 14px; background: var(--bg-elevated); border-radius: 12px; }
.learn-qr-label { font-size: 13px; color: var(--text-secondary); margin-bottom: 10px; }
.learn-qr-img { width: 180px; height: 180px; object-fit: contain; border-radius: 8px; }

.ai-hint { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-top: 10px; }
.ai-hint strong { color: var(--accent); }
.wish-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.wish-tag {
  padding: 8px 14px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 15px; font-weight: 700;
}

.blind-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.blind-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
.blind-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--indigo); margin-top: 8px; flex-shrink: 0; }

.learn-card { border-left: 3px solid var(--indigo); margin-top: 14px; }
.learn-detail-card { border-left: 3px solid var(--indigo); }
.learn-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.learn-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--indigo); color: #fff;
  font-size: 14px; font-weight: 800;
}
.learn-tag {
  font-size: 12px; font-weight: 600; color: var(--indigo);
  padding: 4px 10px; border-radius: 999px; background: #eef2ff;
}
.learn-hook { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; }
.learn-flow { display: grid; gap: 10px; margin-bottom: 14px; }
.learn-flow.vertical { gap: 12px; }
.learn-step {
  padding: 10px 12px; border-radius: 10px;
  background: var(--bg-elevated); border: 1px solid var(--border);
}
.learn-step em {
  display: inline-block; font-style: normal; font-size: 12px; font-weight: 700;
  color: var(--indigo); margin-bottom: 4px;
}
.learn-step p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.learn-note { font-size: 12px; color: var(--text-muted); margin-top: 10px; line-height: 1.5; text-align: center; }
.learn-cta {
  display: block; width: 100%; max-width: 320px;
  text-align: center; text-decoration: none; margin: 0 auto;
}

.path-offer-mini {
  text-align: center; padding: 14px; margin-top: 8px;
  font-size: 13px; color: var(--text-muted);
}
.path-offer-mini a { color: var(--accent); text-decoration: none; font-weight: 600; }
.mini-label { display: block; font-size: 11px; margin-bottom: 4px; }

.feature-list { padding: 14px 16px; }
.feature-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 0;
  font-size: 14px; color: var(--text-secondary);
}
.fi-icon { color: var(--accent); width: 18px; text-align: center; }
.privacy-p { font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 12px; }
.check-list { list-style: none; margin-bottom: 20px; }
.check-list li { padding: 6px 0; font-size: 14px; color: var(--text-muted); }

.save-preview { width: 100%; border-radius: 10px; }
.save-hint { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.meta-note { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }

.disclaimer { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 18px; line-height: 1.6; }
.loading { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 0; color: var(--text-secondary); }
.spinner {
  width: 32px; height: 32px;
  border: 2px solid #d8e2ed; border-top-color: var(--accent);
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--safe-bottom) + 24px);
  transform: translateX(-50%); background: #1a2332; color: #fff;
  padding: 11px 18px; border-radius: 999px; font-size: 13px;
  z-index: 100; opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.toast.show { opacity: 1; }

.footer-link { text-align: center; margin-top: 14px; }
.footer-link button {
  background: none; border: none; color: var(--text-muted);
  font-size: 12px; text-decoration: underline; cursor: pointer;
}