@charset "UTF-8";
.battle-dialogue{position:absolute;inset:auto 0 0;height:18%;min-height:55px;display:flex;align-items:center;gap:12px;background:#17253bea;color:#fff;border-top:2px solid #e99ab5;padding:7px 15px;z-index:5;pointer-events:none}
.battle-dialogue img{height:100%;width:65px;object-fit:cover;object-position:50% 10%;background:#f9eceb;border:1px solid #edc59d}
.battle-dialogue>div{flex:1;min-width:0}.battle-dialogue b{font-size:12px;color:#ffd0e2}.battle-dialogue p{font-size:15px;line-height:1.55;margin:3px 0;max-width:44em}.battle-dialogue button{pointer-events:auto;padding:9px}
.special-bar{display:flex;gap:12px;align-items:center;background:#1f3044;color:#f6dfb2;padding:8px 18px;font:700 10px system-ui}.special-bar progress{flex:1;height:8px;accent-color:#edb2cb}.special-bar b{min-width:36px}
.presentation{position:absolute;inset:0;z-index:9;background:#14293bec;color:#fff6db;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;border:6px double #dbb77a}.presentation h2{font:800 24px system-ui;letter-spacing:3px}.presentation p{font:700 13px system-ui;margin:10px}.presentation button{margin-top:20px}.presentation:has(#staffEntries:empty){background:#183c50e8}
#continueStage{font-size:10px;margin-top:6px;padding:5px 9px}
@media(max-width:650px){.battle-dialogue{gap:6px;padding:4px 7px;min-height:52px}.battle-dialogue img{width:38px}.battle-dialogue b{font-size:9px}.battle-dialogue p{font-size:10px;line-height:1.35;margin:2px 0}.battle-dialogue button{font-size:10px;padding:8px 6px}.battle-dialogue kbd{display:none}.special-bar{font-size:8px;padding:6px 9px;gap:6px}.game-actions>span{max-width:23%}.game-actions button{padding:7px 5px}.powerbar [data-slot]{min-width:0;font-size:6px}.presentation h2{font-size:15px}.presentation p{font-size:9px;margin:6px}.presentation{padding:8px}.presentation button{margin-top:5px;font-size:10px}.machine[data-scene=staff] .screen{min-height:350px}.title-copy p{margin-bottom:9px}}
:root {
  color-scheme:light;
  --ink:#423951;
  --muted:#86738c;
  --pink:#dc5f94;
  --line:#e8d9e7;
  --blue:#96d4e3;
  --paper:#fff9fc;
  --shadow:0 18px 60px #6d46741a;
  font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,system-ui,sans-serif
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:radial-gradient(ellipse at 85% 12%,#dfeef5 0,transparent 45%),radial-gradient(ellipse at 10% 85%,#f8dce9 0,transparent 50%),#fcf5f9;
  color:var(--ink);
  min-height:100vh
}
button,input {
  font:inherit
}
button {
  cursor:pointer;
  border:1px solid var(--line);
  background:#fffbfd;
  color:var(--ink);
  border-radius:9px;
  padding:9px 15px;
  font-size:12px;
  font-weight:700;
  transition:background .15s,transform .15s
}
button:hover:not(:disabled) {
  background:#fbe8f1;
  transform:translateY(-1px)
}
button:disabled {
  cursor:default;
  opacity:.4
}
button:focus-visible,a:focus-visible,input:focus-visible {
  outline:3px solid #4ea9c4;
  outline-offset:3px
}
.hidden {
  display:none!important
}
.arcade {
  max-width:1200px;
  margin:0 auto;
  padding:24px 38px 20px
}
.masthead {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:26px
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--ink);
  text-decoration:none;
  font-size:20px;
  font-weight:900;
  letter-spacing:-.6px
}
.brand-star {
  color:var(--pink)
}
.brand small {
  display:block;
  font-size:8px;
  letter-spacing:1.7px;
  color:var(--muted);
  margin-top:4px
}
.toolbar {
  display:flex;
  gap:7px
}
.toolbar button {
  background:#ffffff99;
  font-size:10px;
  padding:9px 11px
}
.page-note {
  display:flex;
  justify-content:space-between;
  font-size:9px;
  letter-spacing:2px;
  color:var(--muted);
  margin-bottom:12px
}
.page-note i {
  display:inline-block;
  background:#efdfeb;
  border-radius:5px;
  padding:4px 7px;
  font-style:normal;
  margin-left:6px
}
.machine {
  overflow:hidden;
  background:var(--paper);
  border:1px solid #e1d1e3;
  border-radius:18px;
  box-shadow:var(--shadow)
}
.hud {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:13px 23px;
  border-bottom:1px solid var(--line);
  background:#fff9fc;
  min-height:65px
}
.hud>div>span {
  display:block;
  font-size:9px;
  letter-spacing:1.5px;
  color:var(--muted);
  margin-bottom:4px
}
.hud strong {
  font-size:16px;
  letter-spacing:1px
}
.hud .stage-hud {
  text-align:center
}
.stage-hud strong {
  font-size:12px;
  letter-spacing:.5px
}
.hud .resources span {
  font-size:9px;
  letter-spacing:.5px
}
.resources b {
  font-size:12px;
  color:var(--pink);
  margin-left:6px
}
.screen {
  position:relative;
  aspect-ratio:16/9;
  isolation:isolate;
  background:#343052;
  overflow:hidden
}
canvas {
  position:absolute;
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  outline:none;
  touch-action:none
}
.title-screen {
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#fff5f9 0%,#fff4f9fa 33%,#f6eaf7e8 48%,#e3eaf199 100%);
  overflow:hidden
}
.title-copy {
  position:relative;
  z-index:3;
  width:48%;
  height:100%;
  padding:6% 0 3% 6.5%
}
.eyebrow {
  color:#9c6289;
  font-size:10px;
  font-weight:700;
  letter-spacing:1.8px
}
h1 {
  font-family:system-ui,sans-serif;
  font-weight:950;
  line-height:.91;
  font-size:clamp(40px,6vw,74px);
  letter-spacing:-3px;
  margin:20px 0 0;
  color:#514060;
  text-shadow:0 3px 0 #fff
}
h1>span {
  color:#e280aa
}
h1 small {
  display:block;
  font-size:21px;
  letter-spacing:6px;
  color:var(--pink);
  line-height:1.5;
  margin:8px 0 0;
  font-weight:800
}
.title-copy p {
  font-size:13px;
  line-height:1.85;
  color:#816984;
  margin:14px 0 17px
}
.difficulty {
  display:flex;
  gap:7px;
  margin-bottom:12px
}
.difficulty button {
  font-size:10px;
  padding:6px 13px;
  min-width:98px;
  background:#fff8fc
}
.difficulty button small {
  display:block;
  font-size:8px;
  font-weight:500;
  margin-top:2px
}
.difficulty button[aria-pressed=true] {
  border-color:#e184aa;
  background:#f9deea;
  box-shadow:inset 0 0 0 1px #fff
}
.primary {
  background:#da6798;
  color:#fff;
  border-color:#da6798;
  box-shadow:0 5px 16px #d3679730;
  padding:12px 22px;
  font-size:13px;
  letter-spacing:.6px
}
.primary:hover:not(:disabled) {
  background:#ca5689
}
.title-copy>.primary {
  width:255px;
  max-width:100%;
  display:flex;
  justify-content:space-between
}
.title-links {
  display:flex;
  gap:5px;
  margin-top:12px
}
.title-links button {
  border:0;
  background:transparent;
  font-size:10px;
  color:#876c87;
  padding:7px 10px
}
.title-art {
  position:absolute;
  left:43%;
  right:0;
  top:0;
  bottom:0
}
.title-momo {
  position:absolute;
  height:106%;
  right:4%;
  top:1%;
  z-index:2;
  filter:drop-shadow(0 10px 20px #7d518a29)
}
.title-gamu {
  position:absolute;
  height:77%;
  left:1%;
  top:19%;
  opacity:.93;
  filter:drop-shadow(0 7px 15px #55507c20)
}
.clock-orbit {
  position:absolute;
  width:84%;
  aspect-ratio:1;
  top:7%;
  left:6%;
  border:2px solid #fff9;
  border-radius:50%;
  box-shadow:0 0 0 17px #fffb,0 0 0 19px #cfa4d53d,0 0 0 42px #fff2;
  background:radial-gradient(circle,#ffe5f077,transparent 70%)
}
.clock-orbit:before,.clock-orbit:after {
  content:"";
  position:absolute;
  width:3px;
  height:28%;
  background:#d5a8c1;
  top:22%;
  left:50%;
  transform-origin:bottom;
  border-radius:3px;
  transform:rotate(22deg)
}
.clock-orbit:after {
  height:21%;
  top:29%;
  transform:rotate(118deg)
}
.clock-orbit span {
  position:absolute;
  font:18px Georgia,serif;
  color:#cbb0cf
}
.clock-orbit span:nth-child(1) {
  top:10px;
  left:47%
}
.clock-orbit span:nth-child(2) {
  right:13px;
  top:48%
}
.clock-orbit span:nth-child(3) {
  bottom:10px;
  left:48%
}
.clock-orbit span:nth-child(4) {
  left:13px;
  top:48%
}
.character-tag {
  position:absolute;
  z-index:4;
  right:4%;
  bottom:6%;
  padding:10px 17px;
  background:#fff5fae8;
  border:1px solid #fff;
  border-radius:10px;
  font:800 14px system-ui;
  letter-spacing:2px;
  color:#ba698e;
  box-shadow:0 8px 30px #57445b1a
}
.character-tag span {
  font-size:9px;
  color:#7d879f
}
.character-tag small {
  display:block;
  font:10px sans-serif;
  letter-spacing:1px;
  margin-top:4px;
  color:#847088
}
.title-stamp {
  position:absolute;
  right:14px;
  top:16px;
  font:8px/1.6 system-ui;
  letter-spacing:1px;
  color:#9284a5
}
.game-actions {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  padding:10px 18px;
  border-bottom:1px solid var(--line)
}
.game-actions>span {
  font-size:10px;
  color:var(--muted)
}
.game-actions>div {
  display:flex;
  gap:6px
}
.game-actions button {
  font-size:10px;
  padding:7px 12px
}
kbd {
  font:9px system-ui;
  border:1px solid #dfd6e3;
  border-radius:4px;
  padding:2px 4px;
  background:#fff8fc;
  color:#8d7892;
  margin-left:4px
}
.powerbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:13px 18px;
  background:#f7f0f7
}
.power-caption {
  font:800 9px system-ui;
  color:#9b7191;
  letter-spacing:1px
}
.power-caption small {
  display:block;
  font:8px sans-serif;
  letter-spacing:0;
  margin-top:5px
}
.powerbar #upgrades {
  display:flex;
  gap:5px;
  flex:1;
  justify-content:center
}
.powerbar [data-slot] {
  padding:7px 9px;
  border:1px solid #e1d4e5;
  border-radius:6px;
  font:800 9px system-ui;
  min-width:65px;
  text-align:center;
  color:#8b7795
}
.powerbar .selected {
  background:#ffe0a5;
  border-color:#e0b870;
  color:#7c5c48;
  box-shadow:0 0 0 2px #fff!important
}
.powerbar .equipped {
  box-shadow:inset 0 -2px #82c2d6
}
.powerbar #weapon {
  font:800 9px system-ui;
  color:#9b7191;
  white-space:nowrap
}
.dialogue {
  position:absolute;
  inset:0
}
.dialogue-background {
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:.88
}
.dialogue-shade {
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,#3b294cbb,transparent 65%,#2c264366)
}
.chapter-header {
  position:absolute;
  top:18px;
  left:22px;
  right:22px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  z-index:4
}
.chapter-header>span {
  font-size:10px;
  letter-spacing:1.5px;
  color:white;
  text-shadow:0 2px 4px #302139
}
.chapter-header>div {
  display:flex;
  gap:5px
}
.chapter-header button {
  font-size:9px;
  padding:6px 10px;
  background:#fff4facf
}
.chapter-header button[aria-pressed=true] {
  background:#c8ecf4
}
.portraits {
  position:absolute;
  inset:9% 12% 12%;
  display:flex;
  justify-content:space-between;
  align-items:flex-end
}
.portraits figure {
  position:relative;
  margin:0;
  height:100%;
  width:43%;
  opacity:.55;
  filter:saturate(.6) brightness(.8);
  transition:filter .2s,opacity .2s,transform .2s
}
.portraits figure.speaking {
  opacity:1;
  filter:none;
  transform:translateY(-4px)
}
.portraits img {
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:bottom;
  filter:drop-shadow(0 8px 14px #21143166)
}
.portraits figcaption {
  display:none;
  color:white;
  font-size:13px;
  position:absolute;
  bottom:25%;
  left:35%
}
.portraits .missing figcaption {
  display:block
}
.dialogue-box {
  position:absolute;
  bottom:18px;
  left:4%;
  right:4%;
  min-height:120px;
  background:#fff9fdf5;
  border:2px solid #efd4e3;
  border-radius:13px;
  padding:15px 24px 22px;
  box-shadow:0 12px 45px #291f393d;
  z-index:4
}
.speaker-row {
  display:flex;
  align-items:center;
  justify-content:space-between
}
.speaker-row>span {
  background:#d86596;
  color:white;
  font-size:12px;
  padding:5px 18px;
  border-radius:6px;
  min-width:105px;
  text-align:center;
  font-weight:700
}
.speaker-row small {
  font:9px system-ui;
  letter-spacing:1px;
  color:#b59aaf
}
.dialogue-box p {
  font-size:14px;
  line-height:1.9;
  color:#514257;
  margin:12px 35px 9px 2px;
  min-height:52px
}
.dialogue-box #advance {
  position:absolute;
  bottom:10px;
  right:14px;
  background:transparent;
  border:0;
  font-size:10px;
  color:#aa6189;
  padding:5px 8px
}
.notice {
  position:absolute;
  top:20%;
  left:50%;
  transform:translate(-50%,-8px);
  max-width:90%;
  background:#fff6f4ed;
  color:#805371;
  border:1px solid #f5c8dd;
  border-radius:8px;
  box-shadow:0 8px 24px #2d1d3f33;
  padding:12px 24px;
  font-weight:800;
  font-size:14px;
  text-align:center;
  opacity:0;
  pointer-events:none;
  transition:.2s;
  z-index:8
}
.notice.visible {
  opacity:1;
  transform:translate(-50%,0)
}
.center-overlay {
  position:absolute;
  inset:0;
  background:#fff5faed;
  backdrop-filter:blur(7px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:20px;
  z-index:10
}
.center-overlay h2 {
  font-size:27px;
  letter-spacing:1px;
  margin:15px 0 8px
}
.center-overlay p {
  font-size:12px;
  color:var(--muted);
  line-height:1.8;
  margin:0 0 14px
}
.center-overlay>button {
  min-width:210px;
  margin:4px 0
}
.center-overlay>strong {
  font:800 22px system-ui;
  letter-spacing:2px;
  color:#d86596;
  margin:8px 0 18px
}
.touch-controls {
  display:none;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:15px 0;
  touch-action:none
}
.touch-stick {
  width:100px;
  height:100px;
  position:relative;
  border:2px solid #e5cee0;
  border-radius:50%;
  background:#fff8fc;
  touch-action:none;
  box-shadow:inset 0 0 0 10px #f4e8f3
}
.touch-stick>span {
  position:absolute;
  width:40px;
  height:40px;
  left:28px;
  top:28px;
  border-radius:50%;
  background:#dda1bf;
  border:4px solid #fff8;
  pointer-events:none
}
.touch-stick small {
  position:absolute;
  left:30px;
  bottom:5px;
  font:8px system-ui;
  letter-spacing:2px;
  color:#b494aa
}
.touch-buttons {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:7px
}
.touch-buttons button {
  font-size:10px;
  padding:10px
}
.touch-buttons button:first-child {
  grid-column:span 2
}
.touch-buttons [aria-pressed=true] {
  background:#d5edf3
}
.touch-controls>span {
  font-size:9px;
  color:var(--muted);
  line-height:1.8
}
footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-top:16px;
  font-size:9px;
  color:#99849d;
  line-height:1.8
}
footer #loadStatus {
  text-align:right;
  font-size:9px
}
.controls-note {
  white-space:nowrap
}
dialog {
  border:1px solid #e5cee0;
  border-radius:18px;
  background:#fff9fc;
  color:var(--ink);
  box-shadow:var(--shadow);
  padding:25px;
  max-width:520px;
  width:calc(100% - 32px);
  max-height:85dvh;
  overflow:auto
}
dialog::backdrop {
  background:#2d264a77;
  backdrop-filter:blur(4px)
}
.panel-head {
  display:flex;
  justify-content:space-between;
  align-items:center
}
.panel-head button {
  border:0;
  background:transparent;
  font-size:22px;
  padding:0 8px
}
dialog h2 {
  font-size:21px;
  margin:12px 0 18px
}
dialog p {
  font-size:12px;
  line-height:2
}
dialog .primary {
  width:100%;
  margin-top:10px
}
.setting {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:14px 0;
  border-bottom:1px solid var(--line);
  font-size:12px
}
.setting input {
  accent-color:#d5689b
}
.setting input[type=range] {
  width:140px
}
.panel-note {
  font-size:10px!important;
  color:var(--muted)
}
dl {
  font-size:12px;
  line-height:1.9
}
dt {
  font-weight:800;
  color:#b3658d;
  margin-top:10px
}
dd {
  margin:2px 0 0
}
#logEntries {
  max-height:46dvh;
  overflow:auto
}
#logEntries article {
  padding:10px 0;
  border-bottom:1px solid var(--line)
}
#logEntries b {
  font-size:11px;
  color:#ba6990
}
#logEntries p {
  margin:5px 0;
  font-size:12px
}
.machine:fullscreen {
  border:0;
  border-radius:0;
  display:flex;
  flex-direction:column;
  background:#241f35;
  height:100dvh
}
.machine:fullscreen .screen {
  flex:1;
  min-height:0;
  aspect-ratio:auto
}
.machine:fullscreen .hud,.machine:fullscreen .powerbar,.machine:fullscreen .game-actions {
  flex-shrink:0
}
.machine:fullscreen .title-screen,.machine:fullscreen .dialogue {
  max-width:1200px;
  width:100%;
  left:50%;
  transform:translateX(-50%)
}
.machine:fullscreen .title-momo {
  height:100%
}
.machine:fullscreen .game-actions {
  background:var(--paper)
}
@media(max-width:950px) {
  .arcade {
    padding:18px 22px
  }
  .title-copy {
    padding-top:5%
  }
  h1 {
    font-size:58px
  }
  .title-copy p {
    font-size:11px;
    margin:9px 0 10px
  }
  h1 small {
    font-size:16px
  }
  .eyebrow {
    font-size:8px
  }
  .title-copy>.primary {
    padding:10px 17px;
    width:230px
  }
  .title-links {
    margin-top:6px
  }
  .difficulty {
    margin-bottom:9px
  }
  .powerbar [data-slot] {
    min-width:50px;
    padding:7px 6px
  }
  .dialogue-box p {
    font-size:13px
  }
  .touch-controls {
    display:flex
  }
  footer {
    flex-wrap:wrap
  }
  .controls-note {
    white-space:normal
  }
}
@media(max-width:650px) {
  .arcade {
    padding:14px 12px
  }
  .masthead {
    gap:6px;
    margin-bottom:15px
  }
  .brand {
    font-size:15px;
    gap:5px
  }
  .brand>img {
    width:28px;
    height:28px
  }
  .brand small {
    font-size:6px;
    letter-spacing:.5px
  }
  .toolbar {
    gap:4px
  }
  .toolbar button {
    font-size:9px;
    padding:7px
  }
  .toolbar #full {
    font-size:0
  }
  .toolbar #full:before {
    content:"⛶";
    font-size:16px
  }
  .page-note {
    font-size:7px;
    letter-spacing:1px
  }
  .page-note>span:last-child {
    display:none
  }
  .machine {
    border-radius:12px
  }
  .hud {
    padding:10px 12px;
    min-height:56px
  }
  .hud strong {
    font-size:13px
  }
  .hud .stage-hud {
    max-width:45%
  }
  .stage-hud strong {
    font-size:9px;
    letter-spacing:0
  }
  .hud>div>span {
    font-size:7px;
    letter-spacing:.6px
  }
  .resources b {
    font-size:8px;
    margin-left:3px
  }
  .hud .resources span {
    font-size:7px
  }
  .machine[data-scene=title] .screen {
    aspect-ratio:auto;
    min-height:550px
  }
  .machine[data-scene=dialogue] .screen {
    aspect-ratio:auto;
    min-height:480px
  }
  .title-copy {
    padding:28px 22px;
    width:100%;
    height:auto
  }
  .title-copy .eyebrow {
    font-size:8px
  }
  h1 {
    font-size:57px;
    margin-top:18px
  }
  h1 small {
    font-size:17px;
    letter-spacing:5px
  }
  .title-copy p {
    font-size:11px;
    margin:10px 0 17px
  }
  .title-copy>.primary {
    width:205px;
    margin-top:11px
  }
  .title-copy .difficulty {
    position:relative;
    z-index:5
  }
  .difficulty button {
    min-width:90px;
    padding:8px 10px
  }
  .title-links {
    margin-top:12px;
    gap:0
  }
  .title-links button {
    padding:8px
  }
  .title-art {
    left:30%;
    top:19%;
    right:-13%;
    bottom:-3%
  }
  .title-momo {
    right:-1%;
    height:100%;
    top:0
  }
  .title-gamu {
    height:65%;
    top:26%;
    left:-4%;
    opacity:.8
  }
  .clock-orbit {
    top:10%;
    left:0;
    width:110%
  }
  .title-stamp {
    top:auto;
    bottom:13px;
    left:23px;
    right:auto;
    font-size:7px
  }
  .character-tag {
    right:21%;
    bottom:9%;
    font-size:11px;
    padding:9px
  }
  .character-tag small {
    font-size:8px
  }
  .title-screen {
    background:linear-gradient(130deg,#fff5f9 0%,#fcebf4fa 50%,#dbe5f277)
  }
  .title-copy {
    background:linear-gradient(90deg,#fff6fa 0%,#fff5faf5 43%,transparent 80%)
  }
  .game-actions {
    padding:9px;
    gap:4px
  }
  .game-actions>span {
    font-size:8px;
    max-width:39%
  }
  .game-actions button {
    font-size:9px;
    padding:8px
  }
  .game-actions kbd {
    display:none
  }
  .powerbar {
    gap:7px;
    padding:10px 8px;
    flex-wrap:wrap
  }
  .power-caption {
    font-size:8px
  }
  .power-caption small {
    font-size:7px
  }
  .powerbar #upgrades {
    gap:3px;
    justify-content:flex-end
  }
  .powerbar [data-slot] {
    padding:7px 3px;
    min-width:39px;
    font-size:7px
  }
  .powerbar #weapon {
    display:none
  }
  .chapter-header {
    top:13px;
    left:12px;
    right:12px;
    align-items:flex-start
  }
  .chapter-header>span {
    font-size:8px;
    max-width:48%;
    line-height:1.7;
    letter-spacing:.5px
  }
  .chapter-header button {
    font-size:8px;
    padding:7px
  }
  .portraits {
    inset:16% 0 24%
  }
  .portraits figure {
    width:50%;
    height:100%
  }
  .portraits img {
    object-fit:cover;
    object-position:top
  }
  .dialogue-box {
    left:3%;
    right:3%;
    bottom:13px;
    min-height:150px;
    padding:12px 14px 22px
  }
  .dialogue-box p {
    font-size:13px;
    line-height:1.85;
    margin:10px 5px 14px
  }
  .speaker-row>span {
    font-size:11px;
    padding:5px 13px
  }
  .center-overlay h2 {
    font-size:20px
  }
  .center-overlay p {
    font-size:10px;
    margin-bottom:7px
  }
  .center-overlay>button {
    min-width:180px;
    font-size:10px;
    padding:8px
  }
  .center-overlay>strong {
    font-size:17px;
    margin:5px 0
  }
  .center-overlay .eyebrow {
    font-size:8px
  }
  .touch-controls {
    gap:10px
  }
  .touch-controls>span {
    display:none
  }
  footer {
    margin-top:6px;
    display:block;
    font-size:8px
  }
  .controls-note {
    display:none
  }
  footer #loadStatus {
    display:block;
    text-align:center;
    font-size:8px
  }
  dialog {
    padding:20px
  }
  .machine:fullscreen[data-scene=title] .screen,.machine:fullscreen[data-scene=dialogue] .screen {
    min-height:0
  }
  .machine:fullscreen .title-copy {
    padding-top:20px
  }
}
@media(pointer:coarse) {
  .touch-controls {
    display:flex
  }
}
#exitFull {
  display:none
}
.machine[data-scene=warp] .presentation{background:#13375244;justify-content:space-between;padding:40px 20px}
.machine[data-scene=staff] #staffEntries{animation:staff-arrive 2s ease-out}.machine[data-scene=staff] .presentation h2{color:#f2bfd6}
@keyframes staff-arrive{from{opacity:0;transform:translateY(50px)}to{opacity:1;transform:none}}
@media(max-width:650px){.game-actions>span{max-width:23%}.game-actions button{padding:7px 5px}.powerbar [data-slot]{font-size:6px;min-width:0}.powerbar #upgrades{flex-wrap:wrap}.title-copy #continueStage{max-width:205px;display:block}.machine[data-scene=warp] .presentation{padding:15px}}
.machine:fullscreen #exitFull {
  display:inline-block
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    transition:none!important
  }
}

#continueStage[hidden]{display:none!important}

@media(max-width:650px){.battle-dialogue{height:20%;min-height:0;gap:4px}.battle-dialogue img{width:28px}.battle-dialogue b{font-size:8px}.battle-dialogue p{font-size:9px;line-height:1.2;margin:1px 0}.battle-dialogue button{padding:6px}.game-actions>span{max-width:23%}}

.battle-avatar{position:relative;display:block;overflow:hidden;width:95px;height:100%;flex-shrink:0;background:#f9eceb;border:1px solid #edc59d}
.battle-avatar img{position:absolute;left:0;top:0;width:100%;height:auto;max-width:none;transform:scale(1.8);transform-origin:50% 0%;border:0}
@media(max-width:650px){.battle-avatar{width:38px}.battle-avatar img{width:100%;height:auto}}

.portraits #gamuFigure{height:85%}
