:root,
[data-theme="light"] {
  --bg: #FBFBFD;
  --surface: #F5F5F7;
  --elevated: #FFFFFF;
  --ink: #1D1D1F;
  --ink-soft: #515154;
  --ink-muted: #86868B;
  --hairline: rgba(29, 29, 31, 0.11);
  --hairline-strong: rgba(29, 29, 31, 0.22);
  --btn-bg: #1D1D1F;
  --btn-ink: #FBFBFD;
  --btn-ghost-hover: rgba(29, 29, 31, 0.05);
  --backdrop: rgba(251, 251, 253, 0.82);
  --spec-primary: #4F46E5;
  --spec-soft: rgba(79, 70, 229, 0.08);
}

[data-theme="dark"] {
  --bg: #0B0B0D;
  --surface: #141417;
  --elevated: #1A1A1F;
  --ink: #F5F5F7;
  --ink-soft: #A1A1A6;
  --ink-muted: #6E6E73;
  --hairline: rgba(255, 255, 255, 0.12);
  --hairline-strong: rgba(255, 255, 255, 0.26);
  --btn-bg: #F5F5F7;
  --btn-ink: #0B0B0D;
  --btn-ghost-hover: rgba(255, 255, 255, 0.07);
  --backdrop: rgba(11, 11, 13, 0.82);
  --spec-primary: #818CF8;
  --spec-soft: rgba(129, 140, 248, 0.11);
}

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

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

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.28s ease, color 0.28s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font-family: inherit;
}

.atelier-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}

.a-wrap {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

.a-wrap-narrow {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

.mono-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Top Navigation */
.a-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--backdrop);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline);
}

.a-nav-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.a-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  min-width: 0;
  background: none;
  border: none;
  padding: 0;
  color: var(--ink);
  text-align: left;
}

.a-wordmark-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--spec-primary);
  flex-shrink: 0;
  transition: background-color 0.35s ease;
}

.a-wordmark-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.a-wordmark-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .a-wordmark-sub,
  .a-preview-pill {
    display: none;
  }
  .a-nav-btn {
    padding: 0 10px;
  }
}

.a-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.a-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
  white-space: nowrap;
}

.a-nav-btn:hover {
  border-color: var(--hairline-strong);
  color: var(--ink);
  background: var(--btn-ghost-hover);
}

.a-theme-btn {
  width: 32px;
  padding: 0;
}

.a-preview-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  color: var(--spec-primary);
}

/* Buttons & Inputs */
.a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.a-btn:active {
  transform: scale(0.985);
}

.a-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.a-btn-solid {
  background: var(--btn-bg);
  color: var(--btn-ink);
}

.a-btn-solid:hover:not(:disabled) {
  opacity: 0.88;
}

.a-btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-strong);
}

.a-btn-outline:hover:not(:disabled) {
  background: var(--btn-ghost-hover);
}

.a-btn-full {
  width: 100%;
}

.a-inline-form {
  display: flex;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.a-inline-form > input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

input[type="text"],
input[type="number"] {
  height: 44px;
  width: 100%;
  max-width: 100%;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: var(--elevated);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
  border-color: var(--spec-primary);
  box-shadow: 0 0 0 3px var(--spec-soft);
}

/* Gallery Home Hero */
.gallery-hero {
  padding: 36px 0 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--hairline);
}

@media (min-width: 760px) {
  .gallery-hero {
    padding: 52px 0 46px;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
  }
}

.hero-copy {
  min-width: 0;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.8vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 12px 0 16px;
}

.hero-lead {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 24px;
  max-width: 480px;
}

.hero-aura-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.aura-canvas-box {
  width: 240px;
  height: 240px;
  position: relative;
}

@media (min-width: 760px) {
  .aura-canvas-box {
    width: 300px;
    height: 300px;
  }
}

.aura-canvas-box canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.aura-caption {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

/* Floating Code Bar */
.redeem-strip {
  max-width: 440px;
}

.redeem-strip-note {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

/* Curated Hairline Index */
.index-section {
  padding: 28px 0 56px;
}

.index-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.index-list {
  border-top: 1px solid var(--hairline);
}

.index-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 22px 6px;
  border-bottom: 1px solid var(--hairline);
  cursor: pointer;
  transition: padding-left 0.22s ease, background-color 0.22s ease;
  min-width: 0;
}

.index-row:hover {
  padding-left: 12px;
  background: var(--spec-soft);
}

.index-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.index-row:hover .index-num {
  color: var(--row-accent, var(--spec-primary));
}

.index-main {
  min-width: 0;
}

.index-en {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--row-accent, var(--ink-muted));
  margin-bottom: 3px;
}

.index-title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.8vw, 22px);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 4px;
}

.index-sub {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}

.index-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.index-specs {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.index-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.index-row:hover .index-arrow {
  transform: translateX(3px);
  border-color: var(--row-accent, var(--spec-primary));
  color: var(--row-accent, var(--spec-primary));
}

@media (max-width: 600px) {
  .index-row {
    grid-template-columns: 36px 1fr;
    gap: 8px 12px;
    padding: 18px 2px;
  }
  .index-meta {
    grid-column: 2;
    justify-content: space-between;
    margin-top: 6px;
  }
  .index-specs {
    text-align: left;
  }
}

/* Specimen Landing */
.specimen-stage {
  padding: 26px 0 56px;
}

.a-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: var(--ink-muted);
  cursor: pointer;
  margin-bottom: 20px;
}

.a-back-btn:hover {
  color: var(--ink);
}

.specimen-hero {
  text-align: center;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--hairline);
}

.specimen-aura-wrap {
  width: 220px;
  height: 220px;
  margin: 0 auto 14px;
}

.specimen-aura-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.specimen-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1.24;
  letter-spacing: -0.02em;
  margin: 10px 0 10px;
  font-weight: 600;
}

.specimen-sub {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 0 auto 22px;
  max-width: 520px;
}

.specimen-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  margin: 0 auto;
}

.specimen-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--hairline);
}

@media (min-width: 680px) {
  .specimen-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.specimen-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin: 0 0 8px;
}

.specimen-col p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.specimen-access-panel {
  padding: 28px 0 10px;
  max-width: 520px;
  margin: 0 auto;
}

.field-stack {
  display: grid;
  gap: 14px;
}

.field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.feedback-line {
  margin-top: 8px;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: var(--surface);
}

.feedback-line.ok {
  border-color: rgba(16, 185, 129, 0.35);
  color: #059669;
}

.feedback-line.err {
  border-color: rgba(239, 68, 68, 0.35);
  color: #DC2626;
}

/* Theater Quiz */
.theater-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.theater-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--hairline);
  z-index: 50;
}

.theater-progress-bar {
  height: 100%;
  background: var(--spec-primary);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.theater-top {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 22px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.theater-counter {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.theater-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 64px;
}

.theater-card {
  width: 100%;
  max-width: 600px;
  animation: theaterIn 0.26s ease;
}

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

.theater-prompt {
  font-family: var(--font-serif);
  font-size: clamp(21px, 3.8vw, 27px);
  line-height: 1.48;
  font-weight: 600;
  margin: 12px 0 32px;
  letter-spacing: -0.015em;
}

.theater-options {
  border-top: 1px solid var(--hairline);
}

.theater-opt {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  padding: 18px 8px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  transition: padding-left 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.theater-opt:hover {
  padding-left: 14px;
  background: var(--spec-soft);
}

.theater-opt.selected {
  padding-left: 14px;
  background: var(--spec-soft);
  box-shadow: inset 2.5px 0 0 var(--spec-primary);
  font-weight: 500;
}

.theater-opt-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 4px;
  flex-shrink: 0;
}

.theater-footer-nav {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.synthesizing-view {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

/* Editorial Report */
.report-hero-editorial {
  padding: 36px 0 38px;
  text-align: center;
  border-bottom: 1px solid var(--hairline);
}

.report-aura-stage {
  width: 240px;
  height: 240px;
  margin: 0 auto 12px;
}

.report-aura-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.report-meta-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.report-hero-editorial h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5.5vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}

.report-hero-sub {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 0 auto 24px;
  max-width: 520px;
}

.report-quote {
  max-width: 560px;
  margin: 0 auto 28px;
  padding: 16px 20px;
  border-left: 2px solid var(--spec-primary);
  text-align: left;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
}

.report-cta-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Telemetry & Charts */
.telemetry-band {
  padding: 36px 0;
  border-bottom: 1px solid var(--hairline);
}

.telemetry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 720px) {
  .telemetry-grid {
    grid-template-columns: 320px 1fr;
    gap: 40px;
  }
}

.polar-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.polar-wrap svg {
  width: 100%;
  max-width: 310px;
  height: auto;
  display: block;
}

.vernier-list {
  display: grid;
  gap: 18px;
}

.vernier-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  font-size: 13.5px;
}

.vernier-head strong {
  font-weight: 600;
}

.vernier-head span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--spec-primary);
  font-variant-numeric: tabular-nums;
}

.vernier-track {
  position: relative;
  height: 2px;
  background: var(--hairline);
}

.vernier-fill {
  height: 100%;
  background: var(--spec-primary);
}

.vernier-dot {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--spec-primary);
  transform: translate(-50%, -50%);
}

.vernier-desc {
  margin-top: 5px;
  font-size: 12px;
  color: var(--ink-muted);
}

/* Apple Watch Ring Gauge */
.ring-gauge-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ring-gauge-svg {
  width: 220px;
  height: 220px;
}

/* Chrono Age Exhibition */
.chrono-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 28px;
}

.chrono-cell {
  padding: 20px 12px;
  text-align: center;
  border-right: 1px solid var(--hairline);
}

.chrono-cell:last-child {
  border-right: none;
}

.chrono-val {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4.5vw, 34px);
  font-weight: 600;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
  .chrono-board {
    grid-template-columns: 1fr 1fr;
  }
  .chrono-cell:nth-child(2) {
    border-right: none;
  }
  .chrono-cell:last-child {
    grid-column: 1 / -1;
    border-right: none;
    border-top: 1px solid var(--hairline);
  }
}

/* MBTI Symmetric Axis */
.mbti-sym-list {
  display: grid;
  gap: 22px;
}

.mbti-sym-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.mbti-sym-track {
  height: 3px;
  background: var(--hairline);
  display: flex;
}

/* Swiss Editorial Sections (Frameless Hairline) */
.editorial-band {
  padding: 34px 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 720px) {
  .editorial-band {
    grid-template-columns: 220px 1fr;
    gap: 32px;
  }
}

.editorial-aside h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin: 6px 0 0;
}

.editorial-body {
  min-width: 0;
  overflow-wrap: anywhere;
}

.editorial-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.88;
}

.editorial-dual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .editorial-dual {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

.editorial-clean-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 12px;
}

.editorial-clean-list li {
  padding-left: 14px;
  border-left: 1.5px solid var(--hairline-strong);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.action-step-row {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}

.action-step-row:last-child {
  border-bottom: none;
}

.action-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--spec-primary);
  flex-shrink: 0;
}

/* Sample banner & Promo */
.sample-strip {
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-soft);
}

.atelier-promo {
  margin: 34px 0 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Footer */
.a-footer {
  margin-top: auto;
  padding: 28px 20px 42px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-muted);
}

.a-footer p {
  margin: 4px auto;
  max-width: 640px;
}

/* Modals */
.a-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.a-modal.hidden {
  display: none;
}

.a-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 13, 0.56);
  backdrop-filter: blur(8px);
}

.a-modal-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--elevated);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 22px 20px;
}

.a-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.a-modal-head h3 {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-size: 19px;
}

.a-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.a-modal-note {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--ink-soft);
}

.poster-style-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.mode-chip {
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
}

.mode-chip.active {
  background: var(--btn-bg);
  color: var(--btn-ink);
  border-color: var(--btn-bg);
}

.poster-stage {
  background: var(--surface);
  border-radius: 14px;
  padding: 10px;
  text-align: center;
  margin-bottom: 14px;
}

.poster-stage img {
  width: 100%;
  max-width: 310px;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.a-archive-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.a-archive-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}

/* Boot & Toast */
.atelier-boot {
  min-height: 60vh;
  display: grid;
  place-items: center;
}

.boot-ring {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--hairline);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.a-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--btn-bg);
  color: var(--btn-ink);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  z-index: 80;
  max-width: calc(100vw - 32px);
}

.a-toast.hidden,
.hidden {
  display: none !important;
}
