/* Night Parade — one stylesheet, four looks. The look sets the tokens; the
   layout below never changes between them. Mobile first. */

:root {
  --bg: #0b0d16;
  --ink: #1d1a17;
  --text: #efe6d2;
  --muted: rgba(239, 230, 210, 0.66);
  --panel: #efe3c8;
  --panel-text: #1d1a17;
  --panel-muted: rgba(29, 26, 23, 0.62);
  --panel-line: rgba(29, 26, 23, 0.22);
  --accent: #c9a227;
  --accent-2: #b8321e;
  --accent-text: #fff6e6;
  --hud: rgba(12, 10, 14, 0.78);
  --hud-text: #efe6d2;
  --hud-line: rgba(239, 230, 210, 0.16);
  --font-display: 'Shippori Mincho', 'Cormorant Garamond', 'Noto Serif JP', serif;
  --font-ui: 'Cormorant Garamond', 'Shippori Mincho', serif;
  --font-jp: 'Shippori Mincho', 'Noto Serif JP', serif;
  --radius: 4px;
  --card-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  --keyart: none;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.45;
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
  touch-action: none;
}
button { font: inherit; color: inherit; cursor: pointer; }
b { font-weight: 600; }
i { font-style: normal; }

/* --- the stage ------------------------------------------------------------- */
.stage { position: fixed; inset: 0; overflow: hidden; background: var(--bg); }
.stage canvas { position: absolute; inset: 0; display: block; touch-action: none; }

/* --- the overlay (cards) --------------------------------------------------- */
.overlay {
  position: fixed; inset: 0; z-index: 20;
  display: flex; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  background: linear-gradient(180deg, rgba(5, 6, 14, 0.55), rgba(5, 6, 14, 0.82));
}
.overlay[hidden] { display: none; }
body[data-screen="title"] .overlay, body[data-screen="intro"] .overlay, body[data-screen="setup"] .overlay, body[data-screen="how"] .overlay, body[data-screen="ledger"] .overlay, body[data-screen="settings"] .overlay, body[data-screen="ending"] .overlay {
  background-image: linear-gradient(180deg, rgba(5, 6, 14, 0.25) 0%, rgba(5, 6, 14, 0.62) 55%, rgba(5, 6, 14, 0.9) 100%), var(--keyart);
  background-size: cover; background-position: center 30%;
}
@media (max-aspect-ratio: 4/5) {
  body[data-screen="title"] .overlay, body[data-screen="intro"] .overlay, body[data-screen="ending"] .overlay { background-image: linear-gradient(180deg, rgba(5, 6, 14, 0.2) 0%, rgba(5, 6, 14, 0.6) 55%, rgba(5, 6, 14, 0.92) 100%), var(--keyart-tall, var(--keyart)); }
}
.overlay > .card { margin: auto; }

.card {
  width: min(100%, 560px);
  background: var(--panel);
  color: var(--panel-text);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  box-shadow: var(--card-shadow);
  position: relative;
}
.card .kicker { margin: 0 0 6px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--panel-muted); }
.card .kicker--gap { margin-top: 20px; }
.card .kicker .muted { text-transform: none; letter-spacing: 0; font-size: 13px; }
.card .name { margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1.12; }
.card .line { margin: 0 0 12px; font-size: 18px; }
.card .voice { margin: 6px 0 14px; font-size: 14px; color: var(--panel-muted); }
.card .voice i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); margin-right: 8px; vertical-align: 1px; }
.card .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }
.card .actions--col { flex-direction: column; align-items: stretch; }
.card .actions--col .row { display: flex; gap: 10px; }
.card .actions--col .row > .btn { flex: 1; }
.card .row--quiet { justify-content: center; flex-wrap: wrap; gap: 4px 0; }
.card .row--quiet .btn { flex: 0 1 auto; font-size: 15px; white-space: nowrap; padding: 8px 12px; }
.card .foot { margin: 20px 0 0; font-size: 13px; color: var(--panel-muted); text-align: center; letter-spacing: 0.04em; }
.actions--quiet { margin-top: 8px; justify-content: center; }
.actions--quiet .btn { font-size: 14px; min-height: 36px; padding: 6px 12px; }

.btn {
  border: 1px solid var(--panel-line); background: transparent; color: var(--panel-text);
  padding: 11px 18px; border-radius: var(--radius); font-size: 17px; letter-spacing: 0.02em;
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform 0.08s ease, background 0.15s ease, opacity 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn i { opacity: 0.7; font-size: 0.9em; }
.btn--primary { background: var(--accent-2); color: var(--accent-text); border-color: transparent; font-weight: 600; }
.btn--quiet { border-color: transparent; color: var(--panel-muted); }
.btn[disabled] { opacity: 0.45; cursor: default; }

/* title */
.title-card { text-align: center; padding-top: 30px; }
.title-card .eyebrow { margin: 0 0 4px; font-family: var(--font-jp); font-size: 20px; letter-spacing: 0.5em; color: var(--accent-2); }
.title-card .word { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 9vw, 64px); line-height: 1; letter-spacing: 0.02em; }
.title-card .tag { margin: 14px auto 4px; font-size: 19px; max-width: 34ch; }
.title-card .tag--sub { font-size: 14px; color: var(--panel-muted); margin-top: 2px; }
.title-card .actions { margin-top: 24px; }

/* story cards */
.story .line { font-size: 17.5px; }
.night-card .line { font-size: 18px; }
.charms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.charm { border: 1px solid var(--panel-line); background: rgba(255, 255, 255, 0.18); border-radius: var(--radius); padding: 12px 8px 10px; text-align: center; display: flex; flex-direction: column; gap: 4px; align-items: center; color: var(--panel-text); min-height: 118px; }
.charm:hover { background: rgba(255, 255, 255, 0.34); }
.charm .charm-kanji { font-family: var(--font-jp); font-size: 28px; color: var(--accent-2); line-height: 1; }
.charm b { font-size: 15px; }
.charm span:last-child { font-size: 12.5px; color: var(--panel-muted); line-height: 1.25; }
@media (max-width: 420px) { .charms { grid-template-columns: 1fr; } .charm { flex-direction: row; text-align: left; min-height: 0; gap: 12px; } .charm .charm-kanji { font-size: 24px; } }

/* setup */
.pick { display: grid; gap: 8px; }
.pick--wrap { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.pick-opt { border: 1px solid var(--panel-line); background: rgba(255, 255, 255, 0.16); border-radius: var(--radius); padding: 10px 12px; text-align: left; display: flex; flex-direction: column; gap: 2px; color: var(--panel-text); }
.pick-opt span { font-size: 13px; color: var(--panel-muted); }
.pick-opt.is-on { border-color: var(--accent-2); box-shadow: inset 0 0 0 1px var(--accent-2); background: rgba(255, 255, 255, 0.34); }
.pick-opt--small { padding: 8px 10px; }

/* results */
.stats { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.stats li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--panel-line); padding: 6px 0; font-size: 15px; }
.stats li b { font-size: 17px; }
.stats--one { grid-template-columns: 1fr; }

/* ledger */
.tabs-row { display: flex; gap: 6px; margin: 4px 0 12px; }
.tab { flex: 1; border: 1px solid var(--panel-line); background: transparent; border-radius: var(--radius); padding: 8px 6px; font-size: 14px; color: var(--panel-muted); }
.tab.is-on { background: var(--accent-2); color: var(--accent-text); border-color: transparent; }
.sign { display: flex; gap: 10px; align-items: center; margin: 0 0 12px; flex-wrap: wrap; }
.sign label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--panel-muted); }
.sign input { width: 84px; font: inherit; font-size: 20px; text-transform: uppercase; letter-spacing: 0.2em; padding: 6px 8px; border: 1px solid var(--panel-line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.5); color: var(--panel-text); text-align: center; }
.sign-score { margin-left: auto; font-size: 18px; font-weight: 600; }
.board { list-style: none; margin: 0; padding: 0; max-height: 44vh; overflow-y: auto; }
.board li { display: grid; grid-template-columns: 28px 52px 1fr auto; gap: 8px; align-items: baseline; padding: 6px 4px; border-bottom: 1px solid var(--panel-line); font-size: 15px; }
.board li.you { background: rgba(255, 255, 255, 0.35); }
.board li.empty { display: block; color: var(--panel-muted); }
.board .board-what { font-size: 13px; color: var(--panel-muted); }

/* how */
.how-list { margin: 0; }
.how-list dt { font-weight: 600; margin-top: 12px; }
.how-list dd { margin: 2px 0 0; font-size: 15.5px; color: var(--panel-muted); }

/* settings */
.sliders { display: grid; gap: 12px; margin-top: 6px; }
.sliders label { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; }
.sliders label.check { grid-template-columns: auto 1fr; }
.sliders input[type="range"] { width: 100%; accent-color: var(--accent-2); }

/* --- HUD ------------------------------------------------------------------- */
.hud { position: fixed; inset: 0; z-index: 10; pointer-events: none; font-family: var(--font-ui); color: var(--hud-text); }
.hud[hidden] { display: none; }
.hud > * { pointer-events: auto; }
.bar--top {
  position: absolute; top: 0; left: 0; right: 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
  padding: calc(6px + env(safe-area-inset-top)) 10px 6px;
  background: linear-gradient(180deg, var(--hud), rgba(0, 0, 0, 0));
  min-height: 54px;
}
.bar-l { display: flex; flex-direction: column; line-height: 1.15; }
.hud-night { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: 0.02em; }
.hud-wave { font-size: 13px; color: var(--muted); }
.bar-c { display: flex; justify-content: center; }
.temple { display: flex; align-items: center; gap: 8px; padding: 4px 10px; border: 1px solid var(--hud-line); border-radius: 999px; background: rgba(0, 0, 0, 0.35); }
.temple-kanji { font-family: var(--font-jp); font-size: 15px; color: var(--accent); }
.temple-n { font-size: 16px; min-width: 22px; text-align: center; }
.lamps { display: flex; gap: 2px; }
.lamps i { width: 6px; height: 9px; border-radius: 2px 2px 3px 3px; background: rgba(255, 255, 255, 0.12); display: block; }
.lamps i.on { background: var(--accent); box-shadow: 0 0 5px rgba(255, 200, 100, 0.7); }
.lamps.low i.on { background: #ff6a3a; }
.lamps.hit { animation: hit 0.4s ease; }
@keyframes hit { 0% { transform: translateX(0); } 25% { transform: translateX(-3px); } 50% { transform: translateX(3px); } 100% { transform: translateX(0); } }
.bar-r { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.purse { font-size: 18px; white-space: nowrap; }
.purse b { font-weight: 600; }
.purse i { font-size: 12px; color: var(--muted); margin-left: 4px; }
.speed { display: flex; border: 1px solid var(--hud-line); border-radius: 999px; overflow: hidden; background: rgba(0, 0, 0, 0.35); }
.speed button { border: 0; background: transparent; padding: 6px 9px; font-size: 12px; color: var(--muted); min-width: 34px; }
.speed button.is-on { background: var(--accent); color: #1a1408; }
.menu-btn { border: 1px solid var(--hud-line); background: rgba(0, 0, 0, 0.35); border-radius: 999px; width: 36px; height: 36px; font-size: 16px; display: grid; place-items: center; }
@media (max-width: 640px) {
  .bar--top { grid-template-columns: auto auto 1fr; gap: 6px; padding-left: 8px; padding-right: 8px; }
  .bar-l { white-space: nowrap; }
  .lamps { display: none; } .purse i { display: none; }
  .speed button { min-width: 28px; padding: 6px 6px; font-size: 11px; }
  .hud-night { font-size: 15px; letter-spacing: 0 !important; } .hud-wave { font-size: 12px; }
  .temple { padding: 3px 8px; gap: 6px; }
  .menu-btn { width: 32px; height: 32px; flex: 0 0 auto; }
  .bar-r { gap: 6px; min-width: 0; }
  .speed button[data-speed="3"] { display: none; }
  .purse { font-size: 16px; }
  .call { padding: 6px 16px; min-height: 42px; bottom: calc(118px + env(safe-area-inset-bottom)); }
  .call b { font-size: 14px; } .call span { font-size: 11px; }
}

.banner {
  position: absolute; left: 50%; top: 22%; transform: translate(-50%, -50%);
  margin: 0; text-align: center; pointer-events: none;
  font-family: var(--font-display); text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.9);
  animation: banner 2.6s ease both;
}
.banner b { display: block; font-size: 36px; font-weight: 600; letter-spacing: 0.06em; }
.banner span { display: block; font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
@keyframes banner { 0% { opacity: 0; transform: translate(-50%, -40%); } 12% { opacity: 1; transform: translate(-50%, -50%); } 80% { opacity: 1; } 100% { opacity: 0; } }
.bark {
  position: absolute; left: 50%; bottom: 200px; transform: translateX(-50%);
  margin: 0; max-width: min(90vw, 460px); text-align: center; pointer-events: none;
  font-style: italic; font-size: 17px; padding: 8px 14px; border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.55); border-left: 3px solid var(--accent-2);
  animation: fadein 0.3s ease both;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

.call {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(126px + env(safe-area-inset-bottom));
  border: 1px solid var(--accent); background: rgba(10, 8, 12, 0.82); color: var(--hud-text);
  border-radius: 999px; padding: 8px 22px; min-height: 48px; display: flex; flex-direction: column; align-items: center; line-height: 1.15;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.call b { font-family: var(--font-display); font-size: 16px; letter-spacing: 0.04em; white-space: nowrap; }
.call span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.call--begin { background: var(--accent-2); border-color: transparent; color: var(--accent-text); }
.call--begin span { color: rgba(255, 246, 230, 0.75); }
.call[hidden] { display: none; }

.sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  background: linear-gradient(0deg, var(--hud) 70%, rgba(0, 0, 0, 0));
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
}
.palette { display: flex; gap: 6px; overflow-x: auto; padding: 4px 10px 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-x; }
.palette::-webkit-scrollbar { display: none; }
.card.card { }
.palette .card {
  flex: 0 0 auto; width: 76px; min-height: 84px; padding: 8px 4px 6px; margin: 0;
  background: rgba(0, 0, 0, 0.42); color: var(--hud-text); border: 1px solid var(--hud-line); border-radius: var(--radius); box-shadow: none;
  display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center;
}
.palette .card-kanji { font-family: var(--font-jp); font-size: 24px; line-height: 1; color: var(--accent); }
.palette .card-name { font-size: 12.5px; line-height: 1.1; }
.palette .card-cost { font-size: 12px; color: var(--muted); }
.palette .card.is-on { border-color: var(--accent); background: rgba(255, 200, 100, 0.16); box-shadow: inset 0 0 0 1px var(--accent); }
.palette .card.is-poor { opacity: 0.5; }
.palette .card.is-poor .card-cost { color: #ff8a6a; }

.inspect { margin: 0 10px 8px; padding: 10px 12px; background: rgba(0, 0, 0, 0.55); border: 1px solid var(--hud-line); border-radius: var(--radius); }
.inspect[hidden] { display: none; }
.in-head { display: flex; align-items: center; gap: 10px; }
.in-head > div { flex: 1; line-height: 1.15; }
.in-head b { display: block; font-family: var(--font-display); font-size: 16px; }
.in-head span { font-size: 12.5px; color: var(--muted); }
.in-kanji { font-family: var(--font-jp); font-size: 26px; color: var(--accent); }
.in-close { border: 0; background: transparent; font-size: 22px; line-height: 1; color: var(--muted); padding: 4px 8px; }
.in-blurb { margin: 6px 0 4px; font-size: 13.5px; color: var(--muted); font-style: italic; }
.in-stats { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; }
.in-stats li { font-size: 13px; display: flex; gap: 6px; }
.in-stats li span { color: var(--muted); }
.in-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.in-actions .btn { padding: 7px 12px; min-height: 38px; font-size: 15px; color: var(--hud-text); border-color: var(--hud-line); }
.in-actions .btn--primary { background: var(--accent-2); color: var(--accent-text); border-color: transparent; }
.in-actions .btn--quiet { color: var(--muted); }

.toast {
  position: absolute; left: 50%; top: 68px; transform: translateX(-50%);
  margin: 0; padding: 6px 14px; background: rgba(0, 0, 0, 0.7); border-radius: 999px; font-size: 14px; pointer-events: none;
  animation: fadein 0.15s ease both;
}
.toast[hidden] { display: none; }

/* wide screens: the sheet becomes a column on the right */
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .sheet { left: auto; width: 296px; top: 62px; bottom: 0; background: linear-gradient(270deg, var(--hud) 80%, rgba(0, 0, 0, 0)); padding: 8px 10px 12px 18px; justify-content: flex-end; }
  .palette { flex-wrap: wrap; overflow: visible; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .palette .card { width: auto; min-height: 88px; }
  .inspect { margin: 0 0 10px; }
  .call { left: calc(50% - 148px); bottom: 28px; }
  .bark { left: calc(50% - 148px); bottom: 110px; }
  .bar--top { right: 0; }
  .bar-r { padding-right: 300px; }
}

/* pause card sits over the street */
.pause { text-align: center; }

/* --- looks ------------------------------------------------------------------ */
.look-emaki {
  --bg: #0b0d16; --panel: #efe3c8; --panel-text: #1d1a17; --accent: #c9a227; --accent-2: #b8321e;
  --hud: rgba(14, 12, 18, 0.8); --radius: 3px;
  --font-display: 'Shippori Mincho', serif; --font-ui: 'Cormorant Garamond', 'Shippori Mincho', serif; --font-jp: 'Shippori Mincho', serif;
}
.look-emaki .card:not(.palette .card) { background-image: linear-gradient(180deg, rgba(255, 250, 235, 0.5), rgba(220, 200, 160, 0.2)), repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.018) 0 2px, transparent 2px 4px); border: 1px solid rgba(60, 40, 20, 0.35); box-shadow: var(--card-shadow), inset 0 0 0 3px rgba(201, 162, 39, 0.35), inset 0 0 0 4px rgba(60, 40, 20, 0.15); }
.look-emaki .card .name { letter-spacing: 0.01em; }
.look-emaki .btn--primary { background: linear-gradient(180deg, #c8402a, #a82a18); box-shadow: inset 0 0 0 1px rgba(255, 220, 190, 0.25); }

.look-ukiyoe {
  --bg: #0e1a2b; --panel: #163254; --panel-text: #f2e6cf; --panel-muted: rgba(242, 230, 207, 0.62); --panel-line: rgba(242, 230, 207, 0.22);
  --accent: #f0b45e; --accent-2: #d2452d; --hud: rgba(10, 22, 40, 0.84); --hud-text: #f2e6cf; --radius: 2px;
  --font-display: 'Playfair Display', 'Zen Antique', serif; --font-ui: 'Zen Antique', 'Playfair Display', serif; --font-jp: 'Zen Antique', serif;
}
.look-ukiyoe .card:not(.palette .card) { border: 2px solid #0a1424; box-shadow: var(--card-shadow), 0 0 0 2px rgba(242, 230, 207, 0.25); background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px); }
.look-ukiyoe .title-card .word { text-transform: uppercase; letter-spacing: 0.06em; }
.look-ukiyoe .btn--primary { background: #d2452d; box-shadow: 0 0 0 2px #0a1424; }
.look-ukiyoe .btn { border-color: rgba(242, 230, 207, 0.3); }
.look-ukiyoe .charm, .look-ukiyoe .pick-opt { background: rgba(0, 0, 0, 0.18); }
.look-ukiyoe .charm:hover, .look-ukiyoe .pick-opt.is-on { background: rgba(0, 0, 0, 0.3); }
.look-ukiyoe .sign input { background: rgba(0, 0, 0, 0.25); }
.look-ukiyoe .board li.you { background: rgba(255, 255, 255, 0.1); }

.look-lanternlight {
  --bg: #05070e; --panel: rgba(10, 13, 22, 0.8); --panel-text: #f3ead8; --panel-muted: rgba(243, 234, 216, 0.6); --panel-line: rgba(240, 180, 94, 0.28);
  --accent: #f0b45e; --accent-2: #e08a3c; --accent-text: #1a1006; --hud: rgba(5, 7, 14, 0.78); --radius: 8px;
  --font-display: 'Marcellus', 'Noto Serif JP', serif; --font-ui: 'Inter', system-ui, sans-serif; --font-jp: 'Noto Serif JP', serif;
}
.look-lanternlight body, body.look-lanternlight { font-size: 16px; }
.look-lanternlight .card:not(.palette .card) { backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(240, 180, 94, 0.28); box-shadow: var(--card-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.look-lanternlight .card .kicker { color: var(--accent); }
.look-lanternlight .btn--primary { background: linear-gradient(180deg, #f6c46e, #d98a3a); color: #1a1006; }
.look-lanternlight .btn { border-color: rgba(243, 234, 216, 0.2); }
.look-lanternlight .charm, .look-lanternlight .pick-opt { background: rgba(255, 255, 255, 0.05); }
.look-lanternlight .charm:hover, .look-lanternlight .pick-opt.is-on { background: rgba(240, 180, 94, 0.14); }
.look-lanternlight .sign input { background: rgba(0, 0, 0, 0.3); }
.look-lanternlight .board li.you { background: rgba(240, 180, 94, 0.14); }
.look-lanternlight .title-card .word { font-weight: 400; letter-spacing: 0.08em; }

.look-kirie {
  --bg: #070812; --panel: #0b0c15; --panel-text: #ffe9c4; --panel-muted: rgba(255, 233, 196, 0.6); --panel-line: rgba(255, 179, 71, 0.35);
  --accent: #ffb347; --accent-2: #ffb347; --accent-text: #140c02; --hud: rgba(7, 8, 18, 0.86); --hud-text: #ffe9c4; --radius: 14px;
  --font-display: 'Josefin Sans', 'Zen Kaku Gothic New', sans-serif; --font-ui: 'Josefin Sans', 'Zen Kaku Gothic New', sans-serif; --font-jp: 'Zen Kaku Gothic New', sans-serif;
}
body.look-kirie { font-size: 16px; }
.look-kirie .card:not(.palette .card) { border: 1px solid rgba(255, 179, 71, 0.5); box-shadow: var(--card-shadow), 0 0 40px rgba(255, 179, 71, 0.12), inset 0 0 0 1px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(255, 179, 71, 0.08); }
.look-kirie .card .name, .look-kirie .title-card .word, .look-kirie .hud-night, .look-kirie .banner b, .look-kirie .in-head b, .look-kirie .call b { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 300; }
.look-kirie .title-card .word { font-size: clamp(36px, 8vw, 56px); }
.look-kirie .card .kicker { color: var(--accent); }
.look-kirie .btn { border-radius: 999px; border-color: rgba(255, 179, 71, 0.4); }
.look-kirie .btn--primary { background: #ffb347; color: #140c02; }
.look-kirie .charm, .look-kirie .pick-opt { background: rgba(255, 179, 71, 0.06); border-radius: 12px; }
.look-kirie .charm:hover, .look-kirie .pick-opt.is-on { background: rgba(255, 179, 71, 0.16); }
.look-kirie .sign input { background: rgba(0, 0, 0, 0.4); border-radius: 999px; }
.look-kirie .board li.you { background: rgba(255, 179, 71, 0.12); }
.look-kirie .palette .card { border-radius: 12px; }
.look-kirie .speed button.is-on { color: #140c02; }
