/* Graftlings — aged vellum, engraved-plate line art, verdigris and bone. */
:root {
  --paper: #e8dfc8;
  --paper2: #d8cdb8;
  --ink: #2a2320;
  --verdigris: #4a7a6a;
  --rust: #9a5a3a;
  --bone: #f2ecd8;
  --err: #8a3a2a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
/* manipulation kills iOS double-tap zoom (rapid taps are game input here);
   pinch-zoom still works */
html { touch-action: manipulation; }
html, body { height: 100%; }
/* app shell: fixed chrome, no page scroll, no rubber-banding — views scroll
   inside #main like a mobile game, not a web page */
body {
  position: fixed; inset: 0; overflow: hidden;
  overscroll-behavior: none;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  background-image: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.35), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(120,100,70,.03) 3px 4px);
}
:root { --topbar-h: 46px; --tabs-h: calc(46px + env(safe-area-inset-bottom)); }
.small { font-size: .85rem; }
h1, h2, h3 { font-variant: small-caps; letter-spacing: .06em; font-weight: 600; }
h2 { margin: 14px 0 6px; }
h3 { margin: 10px 0 4px; }
button {
  font: inherit; font-variant: small-caps; letter-spacing: .05em;
  background: var(--bone); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 3px;
  padding: 8px 18px; cursor: pointer;
  box-shadow: 2px 2px 0 rgba(42,35,32,.35);
  touch-action: manipulation;
}
button:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 rgba(42,35,32,.35); }
button:disabled { opacity: .5; }
input {
  font: inherit; width: 100%; padding: 10px; margin: 6px 0;
  background: var(--bone); border: 2px solid var(--ink); border-radius: 3px; color: var(--ink);
}
.linkish { background: none; border: none; box-shadow: none; text-decoration: underline; padding: 4px; }
.muted { color: #6a5f50; font-style: italic; }
.err { color: var(--err); font-weight: bold; min-height: 1.2em; }
.done { color: var(--verdigris); font-weight: bold; }
.center { text-align: center; }
.hidden { display: none; }

/* gate */
.gate { position: fixed; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 32px 16px; text-align: center; }
.gate > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.title { font-size: clamp(1.5rem, 8vw, 2.6rem); letter-spacing: .22em;
  padding-left: .22em; /* rebalance the phantom trailing letter-space */
  margin: 18px 0 8px; text-shadow: 2px 2px 0 rgba(120,100,70,.25); }
.tagline { max-width: 52ch; margin: 0 auto 24px; font-style: italic; }
.gate-forms { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.gate-forms form { flex: 1 1 280px; max-width: 340px; text-align: left; }

/* shell */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--topbar-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 14px; border-bottom: 3px double var(--ink);
  background: var(--paper2); z-index: 5;
}
.brand { font-variant: small-caps; letter-spacing: .2em; font-weight: bold; }
.who { margin-left: auto; font-style: italic; }
#main {
  position: fixed; top: var(--topbar-h); bottom: var(--tabs-h); left: 0; right: 0;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  padding: 12px 14px 20px;
}
@media (min-width: 900px) { #main { left: calc(50% - 430px); right: calc(50% - 430px); } }
.tabs {
  position: fixed; bottom: 0; left: 0; right: 0; height: var(--tabs-h);
  display: flex; z-index: 5; align-items: flex-start;
  background: var(--paper2); border-top: 3px double var(--ink);
  padding-bottom: env(safe-area-inset-bottom);
}
.tab { flex: 1; border: none; box-shadow: none; border-radius: 0; padding: 12px 2px;
  background: none; font-size: .82rem; }
.tab.active { background: var(--ink); color: var(--bone); }

/* ------------------------------------------------ overlays (games, arena) */
.game-overlay, .arena {
  position: fixed; top: 0; bottom: 0; left: 0; right: 0; z-index: 20;
  background: var(--paper); display: flex; flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 900px) { .game-overlay, .arena { left: calc(50% - 430px); right: calc(50% - 430px); } }
.overlay-bar { display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-bottom: 3px double var(--ink); background: var(--paper2); }
.overlay-title { font-variant: small-caps; font-weight: bold; letter-spacing: .06em; }
.overlay-body { flex: 1; overflow-y: auto; padding: 10px 14px; display: flex;
  flex-direction: column; }
.overlay-body .game-blurb { font-size: .82rem; margin: 2px 0 10px; }
.result-modal {
  position: absolute; inset: 0; z-index: 30; display: flex; align-items: center;
  justify-content: center; background: rgba(42,35,32,.45); padding: 20px;
}
.result-card { text-align: center; max-width: 380px; width: 100%;
  max-height: 80vh; overflow-y: auto; }
.result-card .big-score { font-size: 2.4rem; font-weight: bold; margin: 8px 0; }
.result-return { display: block; width: 100%; margin-top: 14px; padding: 14px;
  font-size: 1.05rem; background: var(--ink); color: var(--bone); }

/* ------------------------------------------------------------- the arena */
.arena-field { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column;
  justify-content: space-between; padding: 10px 12px 0;
  background: radial-gradient(ellipse at 50% 85%, rgba(120,100,70,.18), transparent 65%); }
.arena-row { display: flex; align-items: center; gap: 8px; min-height: 0; flex: 1; }
.foe-row { justify-content: flex-end; }
.me-row { justify-content: flex-start; }
.fighter { width: min(38vw, 190px); flex: 0 0 auto; }
.fighter svg { width: 100%; height: auto; display: block; }
.fighter.shake { animation: shake .45s; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-7px); } 55% { transform: translateX(5px); }
  80% { transform: translateX(-3px); }
}
.fighter.foe.shake { animation: shakefoe .45s; }
@keyframes shakefoe {
  0%, 100% { transform: scaleX(-1) translateX(0); }
  25% { transform: scaleX(-1) translateX(-7px); } 55% { transform: scaleX(-1) translateX(5px); }
  80% { transform: scaleX(-1) translateX(-3px); }
}
.arena .fighter.foe { transform: scaleX(-1); }
.arena .fighter.foe svg { transform: none; }
.plate { background: var(--bone); border: 2px solid var(--ink); border-radius: 4px;
  padding: 6px 10px; min-width: 130px; box-shadow: 2px 2px 0 rgba(42,35,32,.3); }
.hpbar { height: 10px; border: 1.5px solid var(--ink); border-radius: 5px;
  background: var(--paper2); margin: 4px 0 2px; overflow: hidden; }
.hpfill { height: 100%; width: 100%; background: var(--verdigris); transition: width .4s; }
.hpfill.mid { background: #c9b44a; }
.hpfill.low { background: var(--rust); }
.hpnum { font-size: .72rem; color: #6a5f50; }
.arena-log {
  flex: 0 0 auto; min-height: 3.2em; margin: 8px 12px; padding: 8px 12px;
  background: var(--bone); border: 2px solid var(--ink); border-radius: 4px;
  font-style: italic; font-size: .92rem;
}
.arena-moves { flex: 0 0 auto; display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; padding: 0 12px 12px; }
.arena-moves.waiting { opacity: .55; pointer-events: none; }
.move-btn { display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
  padding: 10px 12px; font-variant: normal; }
.move-btn > span:first-child { font-variant: small-caps; font-weight: bold; }
.move-sub { font-size: .74rem; color: #6a5f50; }
.flee-btn { align-items: center; justify-content: center; background: var(--paper2);
  font-variant: small-caps; padding: 8px; }

/* foe cards (gauntlet + pandect) */
.foe-card { display: flex; gap: 12px; align-items: center; }
.foe-thumb { flex: 0 0 96px; background: var(--paper2); border: 2px solid var(--ink);
  border-radius: 4px; }
.foe-thumb svg { width: 96px; height: 96px; display: block; }
.foe-info { flex: 1; }

.panel {
  background: var(--bone); border: 2px solid var(--ink); border-radius: 4px;
  padding: 14px; margin: 10px 0;
  box-shadow: 3px 3px 0 rgba(42,35,32,.25);
}

/* beast sheet */
.sheet { display: flex; flex-wrap: wrap; gap: 16px; }
.portrait {
  flex: 1 1 300px; max-width: 420px; margin: 0 auto;
  background: var(--paper2); border: 2px solid var(--ink); border-radius: 4px;
}
.portrait svg { width: 100%; height: auto; display: block; }
.sheet-info { flex: 1 1 300px; }
.pentagon { width: 220px; display: block; margin: 6px auto; }
.pent-outer { fill: none; stroke: var(--ink); stroke-width: 1.5; opacity: .5; }
.pent-inner { fill: rgba(74,122,106,.45); stroke: var(--verdigris); stroke-width: 2; }
.pent-label { font-size: 11px; fill: var(--ink); font-family: Georgia, serif; }
.moves { list-style: none; }
.moves li { padding: 4px 0; border-bottom: 1px dotted rgba(42,35,32,.4); }
details summary { cursor: pointer; padding: 4px 0; font-variant: small-caps; }
details p { padding: 4px 0 8px; font-style: italic; }

/* essence tags */
.tag { font-size: .72rem; padding: 1px 7px; border-radius: 8px; border: 1px solid var(--ink);
  font-variant: small-caps; letter-spacing: .04em; white-space: nowrap; }
.tag.caloric { background: #d9663d33; } .tag.brumal { background: #7fb4c933; }
.tag.voltaic { background: #c9b44a33; } .tag.pelagic { background: #4a7a9a33; }
.tag.chthonic { background: #8a7a5e44; } .tag.verdant { background: #8fae4e33; }
.tag.umbral { background: #8a6fae33; } .tag.aetheric { background: #b8a8d833; }

/* builder */
.builder .portrait { position: sticky; top: 0; z-index: 4; max-height: 34vh; }
.builder .portrait svg { max-height: 34vh; }
.slot-row h3 { margin-top: 14px; }
.slot-opts { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0; }
.slot-opt {
  flex: 0 0 auto; display: flex; flex-direction: column; gap: 3px; align-items: flex-start;
  min-width: 150px; padding: 8px 10px; text-align: left; font-variant: normal;
}
.slot-opt .opt-name { font-variant: small-caps; font-weight: bold; }
.slot-opt .opt-stats { font-size: .74rem; color: #6a5f50; }
.slot-opt .opt-trait { font-size: .74rem; color: var(--verdigris); }
.slot-opt.selected { background: var(--ink); color: var(--bone); }
.slot-opt.selected .opt-stats, .slot-opt.selected .opt-trait { color: var(--paper2); }
.slot-desc { font-style: italic; font-size: .86rem; min-height: 2.2em; padding: 2px 0; }
.tint-row { display: flex; gap: 12px; padding: 6px 0; }
.tint-swatch { width: 46px; height: 46px; border-radius: 50%; padding: 0; }
.tint-swatch.selected { outline: 3px solid var(--ink); outline-offset: 3px; }

/* trials */
.trial-card button { margin-top: 6px; }
.game-blurb { font-style: italic; margin: 8px 0 14px; }
.lex-board { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.lex-row { display: flex; gap: 5px; }
.lex-tile {
  width: 52px; height: 52px; border: 2px solid var(--ink); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-variant: small-caps; background: var(--paper2);
}
.lex-tile.hit { background: var(--verdigris); color: var(--bone); }
.lex-tile.near { background: #c9b44a; }
.lex-tile.cold { background: #8a7a5e; color: var(--bone); }
.lex-kbd { margin-top: 14px; }
.lex-kbd-row { display: flex; gap: 4px; justify-content: center; margin: 4px 0; }
.lex-key { padding: 10px 6px; min-width: 30px; font-size: .95rem; }
.lex-key.wide { min-width: 46px; }
.lex-key.hit { background: var(--verdigris); color: var(--bone); }
.lex-key.near { background: #c9b44a; }
.lex-key.cold { background: #8a7a5e; color: var(--bone); }
.lex-msg { margin-top: 12px; font-style: italic; min-height: 1.4em; }
canvas.shaft { width: min(100%, 440px, 46vh); display: block; margin: 0 auto;
  border: 2px solid var(--ink); border-radius: 4px; touch-action: manipulation; }
.sim-status { font-variant: small-caps; text-align: center; margin: 8px 0; min-height: 1.3em; }
.sim-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 340px; margin: 0 auto; }
.sim-glyph { font-size: 1.8rem; padding: 16px 0; }
.sim-glyph.lit { background: var(--verdigris); color: var(--bone); }

.sluice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  max-width: 340px; margin: 0 auto; }
.sluice-cell { font-size: 1.6rem; padding: 14px 0; background: #8a7a5e; color: var(--bone); }
.sluice-cell.open { background: var(--verdigris); }

/* battles / pandect */
.chron.won { border-left: 6px solid var(--verdigris); }
.chron.lost { border-left: 6px solid var(--rust); }
.chron-text p { margin: 8px 0; font-style: italic; }
.pandect-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.pandect-thumb { flex: 0 0 90px; }
.pandect-thumb svg { width: 90px; height: 90px; }
.chal-out { flex: 1 1 100%; }

/* ------------------------------------------------ battle system v2 (the rail) */
.tag.maneuver-tag { background: #8a7a5e33; }
.block { display: block; }
.cd-badge {
  font-size: .68rem; padding: 1px 6px; border-radius: 3px;
  border: 1px solid var(--ink); background: var(--paper2);
  font-variant: small-caps; letter-spacing: .04em; white-space: nowrap;
}
#register-list .foe-info button { margin-top: 6px; }
#wild-go { padding: 12px 22px; }

/* loadout overlay: fixed head + foot, only the pool grid scrolls */
.loadout {
  position: fixed; top: 0; bottom: 0; left: 0; right: 0; z-index: 20;
  background: var(--paper); display: flex; flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 900px) { .loadout { left: calc(50% - 430px); right: calc(50% - 430px); } }
.loadout-foe {
  flex: 0 0 auto; display: flex; gap: 10px; align-items: center;
  padding: 8px 12px; border-bottom: 3px double var(--ink); background: var(--paper2);
}
.loadout-foe .foe-thumb, .loadout-self .foe-thumb { flex: 0 0 56px; }
.loadout-foe .foe-thumb svg, .loadout-self .foe-thumb svg { width: 56px; height: 56px; }
.loadout-foe h3, .loadout-self h3 { margin: 0; }
.loadout-body {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain; padding: 8px 12px 12px;
}
.loadout-self { display: flex; gap: 10px; align-items: center; }
.loadout-body > h3 { margin: 10px 0 6px; }
/* the pick badges hang off the cards; the padding keeps them inside the scroller */
.skill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px 8px 0; }
@media (max-width: 340px) { .skill-grid { grid-template-columns: 1fr; } }
.skill-card {
  position: relative; display: flex; flex-direction: column; gap: 3px;
  align-items: flex-start; text-align: left; font-variant: normal;
  padding: 9px 10px; min-height: 84px;
}
.skill-card.maneuver { background: var(--paper2); }
.sk-head { display: flex; align-items: center; gap: 6px; width: 100%; }
.sk-name { font-variant: small-caps; font-weight: bold; letter-spacing: .04em; }
.sk-head .cd-badge { margin-left: auto; }
.sk-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sk-pw { font-size: .74rem; color: #6a5f50; }
.sk-desc { font-size: .76rem; font-style: italic; line-height: 1.25; }
.skill-card.selected { background: var(--ink); color: var(--bone); }
.skill-card.selected .sk-pw, .skill-card.selected .sk-desc { color: var(--paper2); }
.skill-card.selected .cd-badge { background: var(--paper2); color: var(--ink); }
.skill-card.selected .tag { border-color: var(--paper2); color: var(--bone); }
.skill-card .pick-num {
  position: absolute; top: -8px; right: -8px; width: 22px; height: 22px;
  border-radius: 50%; font-size: .8rem; line-height: 20px; text-align: center;
}
.skill-card.selected .pick-num {
  background: var(--verdigris); color: var(--bone); border: 2px solid var(--ink);
}
.loadout-foot {
  flex: 0 0 auto; padding: 8px 12px 12px; border-top: 3px double var(--ink);
  background: var(--paper2); text-align: center;
}
.loadout-foot .err { font-size: .85rem; }
.lo-go { display: block; width: 100%; padding: 14px; font-size: 1.05rem;
  background: var(--ink); color: var(--bone); }
.lo-go:disabled { background: var(--paper2); color: var(--ink); }

/* arena: status chips + cooldown-aware move buttons */
.chips { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 3px; }
.status-chip {
  font-size: .62rem; padding: 0 5px; border-radius: 7px;
  border: 1px solid var(--ink); background: var(--paper2);
  font-variant: small-caps; letter-spacing: .04em; white-space: nowrap;
}
.move-btn.maneuver { background: var(--paper2); }
.move-btn.cooldown, .move-btn:disabled { opacity: .45; box-shadow: none; }
.move-btn.cooldown:active { transform: none; }
.move-cd { font-size: .7rem; font-variant: small-caps; color: var(--rust); }

/* trial voting */
.vote-row { display: inline-flex; gap: 8px; margin: 4px 0; }
.vote-btn { font-size: .82rem; padding: 5px 12px; background: var(--paper2); }
.vote-btn.selected { background: var(--ink); color: var(--bone); }

/* ---------------------------------------- the bright (plain) voice
   Full re-theme: violet chrome, white cards, vivid accents. No beige. */
.bright {
  --paper: #edeafd;
  --paper2: #ddd7f5;
  --ink: #2b2342;
  --verdigris: #0d9e72;
  --rust: #e4572e;
  --bone: #ffffff;
  --err: #d63b2f;
  --accent: #6c4fe0;
}
.bright body {
  background-image: linear-gradient(180deg, #f2effd 0%, #e6e0f8 100%);
}
.bright .topbar, .bright .tabs, .bright .overlay-bar {
  background: #2b2342; color: #f3f1fa;
  border-color: #191330; border-width: 2px; border-style: solid;
  border-left: none; border-right: none;
}
.bright .topbar { border-top: none; }
.bright .tabs { border-bottom: none; }
.bright .topbar .brand { color: #fff; letter-spacing: .24em; }
.bright .topbar .who { color: #bdb3e6; }
.bright .topbar .linkish { color: #bdb3e6; }
.bright .overlay-bar { border-top: none; }
.bright .overlay-bar .overlay-title { color: #fff; }
.bright .overlay-bar .linkish { color: #bdb3e6; }
.bright .tab { color: #bdb3e6; }
.bright .tab.active { background: var(--accent); color: #fff; }
.bright button {
  background: #fff; border: 2px solid #c9bff2; border-radius: 10px;
  box-shadow: 0 2px 5px rgba(43,35,66,.15); color: var(--ink);
}
.bright button:active { transform: translateY(1px); box-shadow: 0 1px 2px rgba(43,35,66,.15); }
.bright .panel, .bright .plate {
  background: #fff; border: 1.5px solid #d8d0f4; border-radius: 12px;
  box-shadow: 0 3px 10px rgba(43,35,66,.10);
}
.bright input {
  background: #fff; border: 2px solid #c9bff2; border-radius: 10px;
}
.bright .muted { color: #6f6790; }
.bright .portrait, .bright .foe-thumb {
  background: #ddd7f5; border: 1.5px solid #c9bff2; border-radius: 12px;
}
.bright .portrait svg, .bright .foe-thumb svg, .bright .fighter svg,
.bright .pandect-thumb svg { filter: saturate(1.4) brightness(1.06); }
.bright #b-save, .bright .lo-go, .bright .result-return, .bright #wild-go {
  background: var(--accent); color: #fff; border-color: #4c37a8;
}
.bright .slot-opt, .bright .skill-card { background: #fff; border-radius: 10px; }
.bright .slot-opt.selected, .bright .skill-card.selected {
  background: var(--accent); color: #fff; border-color: #4c37a8;
}
.bright .slot-opt.selected .opt-stats, .bright .slot-opt.selected .opt-trait,
.bright .skill-card.selected .sk-pw, .bright .skill-card.selected .sk-desc,
.bright .skill-card.selected .muted { color: #ddd7f5; }
.bright .skill-card.maneuver { background: #f3effe; }
.bright .move-btn.maneuver { background: #f3effe; }
.bright .tint-swatch.selected { outline-color: var(--accent); }
.bright .tag { border-color: transparent; font-weight: bold; }
.bright .tag.caloric { background: #ffb08e; color: #7a2d00; }
.bright .tag.brumal { background: #a8dcf5; color: #084d6e; }
.bright .tag.voltaic { background: #f7e27a; color: #6e5500; }
.bright .tag.pelagic { background: #9cc4f2; color: #0d3a72; }
.bright .tag.chthonic { background: #d8bb92; color: #573a12; }
.bright .tag.verdant { background: #aee69a; color: #1e5c0e; }
.bright .tag.umbral { background: #cdb2f2; color: #45207c; }
.bright .tag.aetheric { background: #c2d4f7; color: #23407c; }
.bright .tag.maneuver-tag { background: #2b2342; color: #fff; }
.bright .hpbar { border-color: #c9bff2; background: #eae5fa; }
.bright .hpfill { background: #17b877; }
.bright .hpfill.mid { background: #f2b02a; }
.bright .hpfill.low { background: #e4482a; }
.bright .status-chip { background: #f3effe; border-color: #c9bff2; }
.bright .arena-field {
  background: radial-gradient(ellipse at 50% 88%, rgba(108,79,224,.20), transparent 62%);
}
.bright .arena-log { background: #fff; border-radius: 10px; border-color: #c9bff2; }
.bright .pent-outer { stroke: #9a8ed0; }
.bright .pent-inner { fill: rgba(108,79,224,.35); stroke: var(--accent); }
.bright .pent-label { fill: var(--ink); font-weight: bold; }
.bright .chron.won { border-left-color: #17b877; }
.bright .chron.lost { border-left-color: #e4572e; }
.bright .done { color: #0d9e72; }
.bright .lex-tile { border-radius: 8px; background: #eae5fa; border-color: #c9bff2; }
.bright .lex-tile.hit { background: #17b877; color: #fff; }
.bright .lex-tile.near { background: #f2b02a; color: #503c00; }
.bright .lex-tile.cold { background: #8a86a5; color: #fff; }
.bright .lex-key.hit { background: #17b877; color: #fff; }
.bright .lex-key.near { background: #f2b02a; }
.bright .lex-key.cold { background: #8a86a5; color: #fff; }
.bright .sim-glyph.lit { background: var(--accent); color: #fff; }
.bright .sluice-cell { background: #8a86a5; }
.bright .sluice-cell.open { background: #17b877; }
.bright .vote-btn.selected { background: var(--accent); color: #fff; border-color: #4c37a8; }
.bright .game-blurb { display: none; } /* card descriptions carry the rules */
.bright .gate { background: linear-gradient(180deg, #2b2342 0%, #453569 38%, #edeafd 52%); }
.bright .gate .title { color: #fff; text-shadow: 0 3px 12px rgba(20,12,48,.6); }
.bright .gate .tagline { color: #ddd7f5; }

/* onboarding guide (plain voice only) */
.guide-card { border-left: 6px solid var(--accent); }
.guide-card ol { margin: 6px 0 4px 22px; }
.guide-card li { margin: 4px 0; }
.guide-dismiss { float: right; }

/* bright fixes: tabs and linkish must not inherit the white pill button look */
.bright .tab { background: none; border: none; box-shadow: none; border-radius: 0; color: #bdb3e6; }
.bright .tab.active { background: var(--accent); color: #fff; border-radius: 10px 10px 0 0; }
.bright .linkish { background: none; border: none; box-shadow: none; }

/* loadout: the always-carried pair */
.always-row { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.always-chip { background: var(--paper2); border: 1.5px solid var(--ink);
  border-radius: 8px; padding: 6px 10px; font-size: .85rem; }
.bright .always-chip { background: #f3effe; border-color: #c9bff2; }
