:root {
  color-scheme: dark;
  --bg: #090b10;
  --bg-deep: #06070a;
  --panel: #10141c;
  --panel-2: #151a24;
  --panel-3: #1a202c;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(200, 170, 110, 0.28);
  --text: #f3ead9;
  --muted: #a7a49e;
  --dim: #74767d;
  --gold: #c8aa6e;
  --gold-bright: #e4c88f;
  --red: #7b2229;
  --red-bright: #a53a42;
  --good: #6ea887;
  --warn: #d6a85c;
  --danger: #d26a70;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1680px;
  --story-width: 820px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body { margin: 0; min-height: 100vh; background:
  radial-gradient(circle at 20% -10%, rgba(123, 34, 41, .18), transparent 32rem),
  radial-gradient(circle at 90% 0%, rgba(200, 170, 110, .08), transparent 26rem),
  var(--bg); color: var(--text); }
body[data-text-size="compact"] { font-size: 14px; }
body[data-text-size="large"] { font-size: 18px; }
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
a { color: var(--gold-bright); }
img { max-width: 100%; }
::selection { background: rgba(200,170,110,.28); color: white; }

#app { min-height: 100vh; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { margin: 0 0 .5rem; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 800; color: var(--gold); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.stack { display: grid; gap: 1rem; }
.cluster { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

.boot-screen, .auth-screen, .error-screen {
  min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 2rem;
}
.boot-screen h1, .auth-screen h1, .error-screen h1 { margin: .2rem 0 .75rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 5vw, 4rem); font-weight: 500; }
.brand-sigil { width: 74px; height: 74px; display: grid; place-items: center; margin: 0 auto 1.5rem; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold-bright); font-family: Georgia, serif; font-size: 2.2rem; box-shadow: inset 0 0 0 8px rgba(200,170,110,.035); }
.loader { width: 46px; height: 46px; margin: 1.5rem auto 0; border-radius: 50%; border: 3px solid rgba(255,255,255,.08); border-top-color: var(--gold); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.btn { border: 1px solid var(--line); background: var(--panel-2); color: var(--text); min-height: 44px; padding: .7rem 1rem; border-radius: 12px; cursor: pointer; transition: .18s ease; display: inline-flex; gap: .5rem; align-items: center; justify-content: center; text-decoration: none; }
.btn:hover:not(:disabled) { border-color: var(--line-strong); transform: translateY(-1px); background: #1a2029; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: linear-gradient(180deg, #d2b476, #b99759); color: #111318; border-color: transparent; font-weight: 800; }
.btn.danger { color: #ffd9dc; border-color: rgba(210,106,112,.28); background: rgba(123,34,41,.22); }
.btn.ghost { background: transparent; }
.btn.small { min-height: 36px; padding: .45rem .7rem; border-radius: 10px; font-size: .86rem; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; }

.topbar { min-height: 72px; display: flex; align-items: center; gap: 1rem; padding: .85rem clamp(1rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); background: rgba(9,11,16,.86); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 50; }
.brand { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.brand-mini { width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; font-family: Georgia, serif; color: var(--gold-bright); }
.brand-copy strong { display: block; letter-spacing: .02em; }
.brand-copy span { display: block; color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 36vw; }
.connection { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .82rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(110,168,135,.08); }
.dot.offline { background: var(--danger); }
.avatar-chip { display: flex; align-items: center; gap: .65rem; padding: .35rem .55rem .35rem .35rem; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
.avatar-circle { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(200,170,110,.12); border: 1px solid var(--line-strong); color: var(--gold-bright); font-weight: 800; font-size: .75rem; }

.dashboard { width: min(var(--max), 100%); margin: 0 auto; padding: clamp(1.2rem, 4vw, 4rem); }
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 2rem; align-items: stretch; margin: 1rem 0 3rem; }
.hero-main, .hero-side { border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.hero-main { min-height: 360px; padding: clamp(2rem, 6vw, 5rem); display: flex; flex-direction: column; justify-content: end; background:
  linear-gradient(0deg, rgba(6,7,10,.96), rgba(6,7,10,.15) 70%),
  radial-gradient(circle at 70% 30%, rgba(123,34,41,.22), transparent 30rem), #11151d; }
.hero-main h1 { font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 6.7rem); line-height: .92; font-weight: 500; margin: .4rem 0 1rem; letter-spacing: -.045em; }
.hero-main p { max-width: 55rem; font-size: clamp(1rem, 2vw, 1.2rem); color: #c7c4bc; line-height: 1.65; }
.hero-side { background: linear-gradient(180deg, rgba(200,170,110,.08), transparent), var(--panel); padding: 2rem; display: grid; align-content: space-between; gap: 2rem; }
.hero-side h2 { font-family: Georgia, serif; font-weight: 500; font-size: 2rem; margin: 0; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.metric { padding: 1rem; border: 1px solid var(--line); background: rgba(255,255,255,.025); border-radius: 14px; }
.metric strong { display: block; font-size: 1.45rem; }
.metric span { font-size: .78rem; color: var(--muted); }

.section-head { display: flex; align-items: end; gap: 1rem; margin: 0 0 1.2rem; }
.section-head h2 { font-family: Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; margin: 0; }
.section-head p { margin: .3rem 0 0; color: var(--muted); }
.campaign-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; }
.campaign-card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); overflow: hidden; transition: .18s ease; min-height: 310px; display: flex; flex-direction: column; }
.campaign-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.campaign-art { aspect-ratio: 16/8; background: #121722 center/cover no-repeat; position: relative; }
.campaign-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--panel), transparent 70%); }
.campaign-body { padding: 1.2rem; display: grid; gap: .85rem; flex: 1; }
.campaign-body h3 { font-family: Georgia, serif; font-weight: 500; font-size: 1.5rem; margin: 0; }
.campaign-meta { display: flex; gap: .5rem; flex-wrap: wrap; color: var(--muted); font-size: .78rem; }
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .55rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); color: var(--muted); font-size: .76rem; }
.empty-card { min-height: 250px; border: 1px dashed rgba(200,170,110,.24); border-radius: var(--radius); padding: 2rem; display: grid; place-content: center; text-align: center; background: rgba(200,170,110,.025); }
.empty-card h3 { font-family: Georgia, serif; font-size: 1.8rem; font-weight: 500; margin: 0 0 .5rem; }

.create-shell { width: min(1160px, 100%); margin: 0 auto; padding: clamp(1rem, 4vw, 3rem); }
.wizard-head { margin: 1rem 0 2rem; }
.wizard-head h1 { font-family: Georgia, serif; font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 500; margin: .4rem 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 2rem 0; }
.step { border-top: 2px solid var(--line); padding-top: .7rem; color: var(--dim); font-size: .78rem; }
.step.active, .step.done { border-color: var(--gold); color: var(--gold-bright); }
.wizard-panel { border: 1px solid var(--line); border-radius: 24px; background: var(--panel); padding: clamp(1.2rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.wizard-panel h2 { font-family: Georgia, serif; font-size: 2rem; font-weight: 500; margin-top: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .9rem; }
.choice { text-align: left; border: 1px solid var(--line); background: var(--panel-2); border-radius: 16px; padding: 1rem; min-height: 130px; cursor: pointer; }
.choice:hover, .choice.selected { border-color: var(--gold); background: rgba(200,170,110,.07); }
.choice strong { display: block; font-size: 1.05rem; margin-bottom: .4rem; }
.choice span { color: var(--muted); line-height: 1.5; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.field { display: grid; gap: .45rem; }
.field.full { grid-column: 1/-1; }
.field label { color: #d8d1c3; font-weight: 700; font-size: .85rem; }
.input, .select, .textarea { width: 100%; color: var(--text); background: #0c1017; border: 1px solid var(--line); border-radius: 12px; padding: .8rem .9rem; outline: none; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,170,110,.09); }
.textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); padding: .9rem 1rem; border-radius: 14px; background: var(--panel-2); }
.toggle input { width: 20px; height: 20px; accent-color: var(--gold); }
.wizard-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }

.game-shell { min-height: 100vh; display: grid; grid-template-rows: auto 1fr; }
.game-layout { width: min(var(--max), 100%); margin: 0 auto; display: grid; grid-template-columns: 230px minmax(0, 1fr) 300px; min-height: calc(100vh - 72px); }
.game-nav { border-right: 1px solid var(--line); padding: 1rem; position: sticky; top: 72px; height: calc(100vh - 72px); display: flex; flex-direction: column; background: rgba(9,11,16,.45); }
.nav-group { display: grid; gap: .35rem; }
.nav-btn { border: 0; background: transparent; color: var(--muted); padding: .8rem .85rem; border-radius: 12px; text-align: left; cursor: pointer; display: flex; align-items: center; gap: .75rem; }
.nav-btn:hover { background: rgba(255,255,255,.035); color: var(--text); }
.nav-btn.active { background: rgba(200,170,110,.1); color: var(--gold-bright); }
.nav-glyph { width: 22px; text-align: center; }
.nav-footer { margin-top: auto; display: grid; gap: .7rem; }

.game-main { min-width: 0; padding: clamp(1rem, 3vw, 2.4rem); }
.game-main-inner { width: min(var(--story-width), 100%); margin: 0 auto; }
.context-rail { border-left: 1px solid var(--line); padding: 1rem; background: rgba(9,11,16,.3); }
.context-rail h3 { margin: .4rem 0 1rem; font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.context-card { border: 1px solid var(--line); border-radius: 14px; padding: .85rem; background: var(--panel); margin-bottom: .65rem; }
.context-card strong { display: block; }
.context-card span { color: var(--muted); font-size: .8rem; }

.location-hero { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; margin-bottom: 1rem; background: var(--panel); }
.location-art { min-height: 220px; padding: 1.5rem; display: flex; align-items: end; background: linear-gradient(0deg, rgba(6,7,10,.95), rgba(6,7,10,.15)), #151b25 center/cover no-repeat; }
.location-art h1 { font-family: Georgia, serif; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 500; margin: .25rem 0; }
.location-art p { color: #d4d0c8; margin: 0; max-width: 60ch; line-height: 1.55; }
.scene-strip { display: flex; gap: .5rem; padding: .85rem 1rem; border-top: 1px solid var(--line); flex-wrap: wrap; }

.story-feed { display: grid; gap: .75rem; margin: 1rem 0 8rem; }
.story-entry { border: 1px solid transparent; border-radius: 16px; padding: 1rem 1.1rem; line-height: 1.7; position: relative; }
.story-entry.narration { font-family: Georgia, serif; color: #e8dfcf; font-size: 1.06em; background: linear-gradient(90deg, rgba(200,170,110,.055), transparent); border-left-color: rgba(200,170,110,.24); }
.story-entry.dialogue { background: var(--panel); border-color: var(--line); }
.story-entry.player { margin-left: clamp(1rem, 7vw, 5rem); background: rgba(123,34,41,.16); border-color: rgba(123,34,41,.32); }
.story-entry.system { color: var(--warn); background: rgba(214,168,92,.06); border-color: rgba(214,168,92,.16); font-size: .86rem; }
.story-entry.chapter { text-align: center; text-transform: uppercase; letter-spacing: .17em; color: var(--gold); font-size: .72rem; padding: 1.5rem; }
.story-entry.roll { display: flex; align-items: center; gap: 1rem; background: #0b0f15; border-color: var(--line); }
.roll-die { width: 48px; height: 48px; border: 1px solid var(--line-strong); display: grid; place-items: center; transform: rotate(45deg); border-radius: 8px; color: var(--gold-bright); }
.roll-die strong { transform: rotate(-45deg); }
.speaker { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.speaker .avatar-circle { width: 28px; height: 28px; }
.speaker strong { font-size: .9rem; color: var(--gold-bright); }
.entry-actions { display: flex; gap: .4rem; margin-top: .7rem; }
.read-btn { border: 0; background: transparent; color: var(--muted); padding: .3rem 0; cursor: pointer; font-size: .78rem; }
.read-btn:hover { color: var(--gold-bright); }

.suggestions { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0; }
.suggestion { border: 1px solid var(--line); background: rgba(255,255,255,.02); border-radius: 999px; padding: .55rem .8rem; color: #c5c1b8; cursor: pointer; font-size: .82rem; }
.suggestion:hover { border-color: var(--line-strong); color: var(--gold-bright); }
.composer-wrap { position: fixed; z-index: 35; left: max(230px, calc((100vw - var(--max)) / 2 + 230px)); right: max(300px, calc((100vw - var(--max)) / 2 + 300px)); bottom: 0; padding: 1rem clamp(1rem, 3vw, 2.4rem) 1.2rem; background: linear-gradient(0deg, var(--bg) 70%, transparent); pointer-events: none; }
.composer { width: min(var(--story-width), 100%); margin: auto; border: 1px solid var(--line-strong); border-radius: 18px; background: #0c1017; box-shadow: 0 20px 60px rgba(0,0,0,.45); padding: .7rem; pointer-events: auto; }
.composer textarea { width: 100%; min-height: 62px; max-height: 180px; resize: vertical; border: 0; outline: 0; background: transparent; color: var(--text); padding: .5rem; line-height: 1.5; }
.composer-foot { display: flex; align-items: center; gap: .7rem; padding: .3rem .35rem 0; }
.composer-foot span { color: var(--dim); font-size: .75rem; }

.panel-title { margin-bottom: 1.5rem; }
.panel-title h1 { font-family: Georgia, serif; font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 500; margin: .2rem 0; }
.panel-title p { color: var(--muted); line-height: 1.6; }
.surface-grid { display: grid; gap: 1rem; }
.surface-card { border: 1px solid var(--line); background: var(--panel); border-radius: 18px; padding: 1rem; }
.surface-card h3 { margin: 0 0 .6rem; }
.map-board { min-height: 360px; border: 1px solid var(--line); border-radius: 20px; padding: 1rem; display: grid; gap: .75rem; background: radial-gradient(circle at 50% 50%, rgba(200,170,110,.08), transparent 55%), #0b0f15; }
.location-row { display: flex; gap: .8rem; align-items: center; padding: .8rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
.location-marker { width: 14px; height: 14px; border-radius: 50%; background: #4d5058; flex: none; }
.location-row.current .location-marker { background: var(--gold); box-shadow: 0 0 0 6px rgba(200,170,110,.09); }
.location-row.locked { opacity: .45; }

.tabs { display: flex; gap: .35rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.tab { border: 0; background: transparent; color: var(--muted); padding: .75rem .8rem; border-bottom: 2px solid transparent; cursor: pointer; }
.tab.active { color: var(--gold-bright); border-color: var(--gold); }
.journal-list { display: grid; gap: .65rem; }
.journal-item { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: .9rem 1rem; }
.journal-item strong { display: block; margin-bottom: .25rem; }
.journal-item small { color: var(--muted); }

.sheet-hero { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1rem; align-items: start; margin-bottom: 1rem; }
.sheet-hero h1 { font-family: Georgia, serif; font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 500; margin: .2rem 0; }
.hp-card { min-width: 180px; border: 1px solid var(--line-strong); border-radius: 16px; padding: 1rem; background: rgba(200,170,110,.05); }
.hp-card strong { display: block; font-size: 1.5rem; }
progress { width: 100%; height: 8px; border: 0; border-radius: 10px; overflow: hidden; background: #252932; }
progress::-webkit-progress-bar { background: #252932; }
progress::-webkit-progress-value { background: var(--good); }
progress::-moz-progress-bar { background: var(--good); }
.stat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; }
.stat { text-align: center; border: 1px solid var(--line); border-radius: 14px; padding: .8rem .4rem; background: var(--panel); }
.stat span { display: block; color: var(--muted); font-size: .7rem; }
.stat strong { display: block; font-size: 1.35rem; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.data-list { display: grid; gap: .5rem; }
.data-row { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: .55rem 0; }
.data-row:last-child { border-bottom: 0; }
.notes-save { display: flex; justify-content: flex-end; margin-top: .6rem; }

.settings-grid { display: grid; gap: 1rem; }
.settings-section { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); padding: 1rem; }
.settings-section h3 { margin: 0 0 .9rem; }
.danger-zone { border-color: rgba(210,106,112,.22); }
.voice-status { display: flex; gap: .5rem; align-items: center; font-size: .8rem; color: var(--muted); }

.combat-card { border: 1px solid rgba(210,106,112,.28); background: linear-gradient(180deg, rgba(123,34,41,.16), var(--panel)); border-radius: 16px; padding: 1rem; margin: 1rem 0; }
.combat-card h3 { color: #ffd6d9; margin: 0 0 .5rem; }

.toast-stack { position: fixed; right: 1rem; bottom: 1rem; z-index: 100; display: grid; gap: .5rem; width: min(390px, calc(100vw - 2rem)); }
.toast { border: 1px solid var(--line); background: #151a23; border-radius: 14px; padding: .9rem 1rem; box-shadow: var(--shadow); }
.toast.error { border-color: rgba(210,106,112,.35); }
.toast.success { border-color: rgba(110,168,135,.32); }
.offline-banner { background: #452126; color: #ffdfe1; text-align: center; padding: .45rem 1rem; font-size: .8rem; }

.mobile-nav { display: none; }

@media (max-width: 1120px) {
  .game-layout { grid-template-columns: 200px minmax(0,1fr); }
  .context-rail { display: none; }
  .composer-wrap { left: max(200px, calc((100vw - var(--max)) / 2 + 200px)); right: max(0px, calc((100vw - var(--max)) / 2)); }
  .hero { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topbar { min-height: 62px; padding: .7rem .85rem; }
  .brand-copy span, .connection span, .avatar-chip span { display: none; }
  .dashboard, .create-shell { padding: 1rem; }
  .hero-main { min-height: 310px; padding: 1.3rem; }
  .hero-main h1 { font-size: 3.4rem; }
  .hero-side { padding: 1.2rem; }
  .steps { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .step { font-size: 0; }
  .step::after { content: attr(data-short); font-size: .72rem; }
  .field-grid { grid-template-columns: 1fr; }
  .game-layout { display: block; min-height: calc(100vh - 62px); }
  .game-nav { display: none; }
  .game-main { padding: .8rem .8rem 7.5rem; }
  .location-art { min-height: 190px; padding: 1rem; }
  .story-feed { margin-bottom: 6rem; }
  .story-entry.player { margin-left: 1rem; }
  .composer-wrap { left: 0; right: 0; bottom: 58px; padding: .7rem; }
  .composer-foot span { display: none; }
  .mobile-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; height: 60px; z-index: 45; background: rgba(9,11,16,.96); border-top: 1px solid var(--line); backdrop-filter: blur(16px); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-nav .nav-btn { border-radius: 0; padding: .4rem; font-size: .68rem; text-align: center; display: grid; justify-items: center; gap: .1rem; }
  .sheet-hero { grid-template-columns: 1fr; }
  .hp-card { min-width: 0; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .campaign-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .wizard-panel { padding: 1rem; }
  .story-entry { padding: .85rem; }
  .topbar .btn.small { padding: .4rem .55rem; }
}
