:root {
  color-scheme: dark;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --ink: #f8eed9;
  --muted: #dccdb2;
  --gold: #f1d59b;
  --edge: clamp(12px, 2.25vw, 34px);
  --line: #a99162;
  --plaque: #17281feb;
  --places-top: calc(max(var(--edge), env(safe-area-inset-top)) + 77px);
  --place-item-height: 52px;
  --panel-height: min(650px, calc(100dvh - max(20px, env(safe-area-inset-top)) - max(20px, env(safe-area-inset-bottom))));
  --reading-size: 22px;
  background: #15221b;
  color: var(--ink);
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; }
body.large { --reading-size: 26px; }
[hidden] { display: none !important; }
button, input, a { font: inherit; }
button { color: inherit; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .53; cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #ffe0a1;
  outline-offset: 3px;
}
p, h1, h2, h3, dl, dd, ol { margin: 0; }
svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }

#game { position: relative; width: 100%; height: 100%; height: 100dvh; overflow: hidden; isolation: isolate; }
#temple, .world-markers, .vignette { position: absolute; inset: 0; width: 100%; height: 100%; }
#temple { display: block; touch-action: manipulation; }
.world-markers, .vignette { pointer-events: none; }
.vignette {
  background:
    linear-gradient(180deg, #1b18116e, transparent 23%, transparent 62%, #171811a8),
    radial-gradient(ellipse at 50% 44%, transparent 47%, #271d1260 100%);
}
.hud-top {
  position: absolute;
  top: max(var(--edge), env(safe-area-inset-top));
  left: max(var(--edge), env(safe-area-inset-left));
  right: max(var(--edge), env(safe-area-inset-right));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
  pointer-events: none;
}
.game-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px 17px 10px 12px;
  border-left: 2px solid #d8b975;
  background: linear-gradient(90deg, #15251ff7, #17231ee7 68%, #17231e2b);
  text-shadow: 0 2px 5px #090f0a;
}
.game-mark svg { width: 35px; height: 35px; color: var(--gold); }
.game-mark h1 { font-family: "Batang", "Noto Serif KR", serif; font-weight: 800; font-size: clamp(27px, 3.3vw, 45px); letter-spacing: .09em; line-height: 1.04; white-space: nowrap; }
.game-mark span { display: block; margin-top: 5px; color: #f4e3be; font-size: clamp(14px, 1.25vw, 18px); font-weight: 700; white-space: nowrap; }
.hud-tools { display: flex; gap: 8px; pointer-events: auto; }
.hud-button, .advance, .action-bar button, .command, .seat-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #8e7b56;
  border-radius: 7px;
  background: linear-gradient(#33473c, #202e26);
  box-shadow: inset 0 1px #ffffff12, 0 2px 5px #0e150c46;
  font-weight: 800;
}
.hud-button { min-height: 52px; padding: 6px 16px; font-size: 18px; white-space: nowrap; }
.hud-button svg { color: var(--gold); }
.hud-button:hover, .advance:hover, .action-bar button:hover, .command:not(:disabled):hover, .seat-tag:hover {
  background: linear-gradient(#465c4a, #2a3e32);
  border-color: #e6cc8e;
}
.hud-button:active, .advance:active, .action-bar button:active, .command:not(:disabled):active { box-shadow: inset 0 2px 5px #101510c9; }

.seat-tag {
  position: absolute;
  transform: translate(-50%, -98%);
  min-height: 42px;
  padding: 4px 12px;
  border-color: #e0bc74;
  background: #243c2ff2;
  box-shadow: 0 4px 10px #13171185;
  color: #fff0ce;
  font-size: 16px;
  white-space: nowrap;
  pointer-events: auto;
}
.seat-tag::after { content: ""; position: absolute; width: 7px; height: 7px; background: #243c2f; border: solid #e0bc74; border-width: 0 1px 1px 0; bottom: -5px; transform: rotate(45deg); }

.hud-bottom {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: max(var(--edge), env(safe-area-inset-bottom));
  width: min(calc(100% - 2 * var(--edge)), 740px);
  transform: translateX(-50%);
  display: grid;
  gap: 7px;
  pointer-events: none;
}
.hud-bottom button { pointer-events: auto; }
.field-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 73px;
  padding: 9px 12px 9px 17px;
  border: 1px solid #a48a5c;
  border-left: 3px solid #e5c380;
  border-radius: 6px;
  background: var(--plaque);
  box-shadow: 0 5px 24px #131d1396;
}
.guide-copy { min-width: 0; display: grid; gap: 4px; }
.guide-copy strong { font-size: clamp(18px, 2.45vw, 24px); letter-spacing: -.035em; line-height: 1.24; word-break: keep-all; }
.guide-copy span { font-size: clamp(15px, 1.8vw, 18px); color: var(--muted); line-height: 1.3; word-break: keep-all; }
.large .guide-copy strong { font-size: clamp(21px, 2.65vw, 27px); }
.large .guide-copy span { font-size: clamp(17px, 1.95vw, 20px); }
.advance { min-height: 48px; min-width: 102px; padding: 4px 10px; font-size: 17px; }
.advance svg { width: 22px; height: 22px; color: var(--gold); }
.bow-controls { display: flex; flex: none; gap: 6px; }
.bow-controls .command { min-height: 48px; padding: 4px 11px; font-size: 17px; }
.visit-controls { display: flex; flex: none; gap: 6px; }
.visit-controls .command { min-height: 48px; font-size: clamp(16px, 2.3vw, 20px); white-space: nowrap; }
.field-actions { display: grid; justify-items: center; gap: 5px; }
.field-actions:not(:has(> :not([hidden]))) { display: none; }
.field-actions .visit-controls {
  width: min(100%, 560px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}
.field-actions .visit-controls > button { grid-row: 1; }
.field-actions .visit-controls > button:first-child { grid-column: 2; }
#bow-amount { grid-column: 1; justify-self: end; }
#front-open, #visit-secondary { grid-column: 3; justify-self: start; }
.field-actions .visit-controls .field-primary { min-width: clamp(106px, 36vw, 206px); min-height: 55px; font-size: clamp(19px, 4.2vw, 25px); }
.field-actions:has(#hall-actions:not([hidden])) #visit-action { min-height: 44px; font-size: clamp(16px, 2.3vw, 20px); }
.bow-progress { width: 100%; height: 6px; appearance: none; border: 0; background: #3a493e; border-radius: 3px; overflow: hidden; }
.bow-progress::-webkit-progress-bar { background: #3a493e; }
.bow-progress::-webkit-progress-value { background: #e4c37f; }
.bow-progress::-moz-progress-bar { background: #e4c37f; }
.action-bar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.action-bar button { min-width: 0; min-height: 62px; padding: 4px; font-size: clamp(18px, 2.25vw, 23px); white-space: nowrap; }
.action-bar button svg { color: var(--gold); }
.action-bar .action-main, .primary {
  background: linear-gradient(#ebd5a3, #d2b47a);
  color: #292719;
  border-color: #f7e3b8;
}
.action-bar .action-main svg { color: #413620; }
.action-bar button[aria-pressed="true"] { border-color: #f1d59b; background: #465640; }
.action-bar .action-main:hover, .command.primary:not(:disabled):hover { background: linear-gradient(#fae9bd, #dec28a); color: #292719; }

.notice {
  position: absolute;
  z-index: 3;
  top: calc(var(--places-top) + var(--place-item-height) + 18px);
  left: 50%;
  width: max-content;
  max-width: calc(100% - 28px);
  transform: translateX(-50%);
  padding: 10px 18px;
  border: 1px solid #d6b879;
  border-radius: 6px;
  background: #1d2d23f5;
  color: #f8e7c4;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.35;
  text-align: center;
  word-break: keep-all;
  pointer-events: none;
  box-shadow: 0 5px 20px #11191270;
}
.loading { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 20px; background: #15231e; color: var(--gold); text-align: center; }
.loading svg { width: 62px; height: 62px; margin-bottom: 14px; }
.loading p { font-size: 23px; line-height: 1.5; margin-bottom: 12px; }

.panel {
  position: fixed;
  inset: 0;
  width: min(730px, calc(100% - 2 * var(--edge)));
  height: var(--panel-height);
  max-height: none;
  max-width: none;
  overflow: hidden;
  padding: 0;
  margin: auto;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  border: 1px solid #b6a075;
  border-radius: 9px;
  background:
    linear-gradient(166deg, #263b30, #182a23 56%, #152720);
  box-shadow: inset 0 0 0 3px #14241c, inset 0 0 0 4px #85724c, 0 18px 80px #0a0e0ac7;
  color: var(--ink);
}
.panel[open] { display: grid; }
.panel::backdrop { background: #0a120ed0; }
.small-panel { --panel-height: min(410px, calc(100dvh - 24px)); width: min(560px, calc(100% - 2 * var(--edge))); grid-template-rows: auto minmax(0, 1fr); }
.panel-head {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px clamp(14px, 3.5vw, 28px);
  border-bottom: 1px solid #85734f;
  background: #0d1a1673;
}
.panel-head h2 { font-size: clamp(25px, 4.6vw, 32px); letter-spacing: -.035em; line-height: 1.2; }
.close-button {
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #9c855c;
  border-radius: 6px;
  background: #33473a;
}
.close-button:hover { background: #4a5c46; }
.close-button svg { width: 26px; height: 26px; }
.panel-scroll {
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-color: #b09a6b #172820;
  scrollbar-gutter: stable;
}
.panel-section, .reading-content { padding: 15px clamp(16px, 4vw, 28px) 23px; }
.panel-section p, .reading-content p { font-size: var(--reading-size); line-height: 1.58; overflow-wrap: anywhere; word-break: keep-all; }
.panel-section p + p, .reading-content p + p { margin-top: 9px; }
.panel-section .lead { font-weight: 800; color: #f7dfad; }
.panel-section .quiet { color: var(--muted); font-size: 18px; }
.panel-section h3, .reading-content h3 { font-size: clamp(24px, 5vw, 30px); margin-bottom: 10px; }
.panel-foot {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 9px clamp(13px, 3.5vw, 27px);
  border-top: 1px solid #766648;
  background: #102019bc;
}
.command { min-height: 50px; padding: 7px 15px; font-size: 19px; line-height: 1.24; text-align: center; }
.menu-foot .command { white-space: nowrap; }
.wardrobe-panel {
  top: auto;
  bottom: max(10px, env(safe-area-inset-bottom));
  --panel-height: min(310px, 47dvh);
  width: min(530px, calc(100% - 20px));
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.wardrobe-panel::backdrop { background: radial-gradient(ellipse at 48% 34%, transparent 26%, #111b15aa 100%); }
body:has(.wardrobe-panel[open]) :is(.hud-top, .place-picker, .hud-bottom, .world-markers, #notice) { visibility: hidden; }
.wardrobe-options { display: grid; align-content: center; gap: 8px; padding: 8px clamp(12px, 3vw, 24px); }
.look-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 8px; }
.look-row strong { font-size: 19px; color: var(--gold); }
.look-options { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 5px; }
.look-options > span { min-width: 0; font-size: clamp(16px, 4.3vw, 21px); font-weight: 750; text-align: center; word-break: keep-all; }
.look-arrow { padding: 0; min-height: 46px; font: 800 28px/1 system-ui, sans-serif; }
@media (min-aspect-ratio: 5/4) {
  .panel.wardrobe-panel {
    inset: 0 max(var(--edge), env(safe-area-inset-right)) 0 auto;
    margin: auto 0;
    --panel-height: min(310px, calc(100dvh - 20px));
    width: min(386px, calc(51vw - var(--edge)));
  }
}
.tabs {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 4px;
  height: 58px;
  padding: 5px clamp(9px, 2.8vw, 24px);
  border-bottom: 1px solid #796949;
  background: #17271f;
}
.tabs button {
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 3px;
  background: #22352b;
  font-size: clamp(17px, 3.9vw, 21px);
  font-weight: 800;
  white-space: nowrap;
}
.tabs button[aria-selected="true"] { background: #3a4d3a; border-color: #b6a071; border-bottom: 3px solid #e1c184; color: #ffedc3; }
.tabs button:hover { background: #3a4d3a; }
.bow-choices, .seat-choices { display: grid; gap: 8px; margin-top: 16px; }
.bow-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { flex-direction: column; gap: 4px; padding: 9px 3px; }
.choice strong { font-size: clamp(22px, 5.6vw, 34px); white-space: nowrap; }
.choice span { font-size: clamp(14px, 3.7vw, 17px); font-weight: 700; white-space: nowrap; }
.offering-choices { display: grid; gap: 8px; margin: 15px 0 9px; }
.front-picker { padding: 8px; border: 1px solid #a48a5c; border-radius: 6px; background: var(--plaque); }
.front-picker > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-left: 4px; }
.front-picker strong { font-size: 19px; }
.front-picker .command { min-height: 42px; padding: 4px 7px; font-size: clamp(15px, 3.5vw, 19px); }
.seat-choices { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 6px; }
.seat-choices .command { min-height: 46px; word-break: keep-all; }

.instrument-mode { position: absolute; inset-inline: 0; z-index: 1; pointer-events: none; }
.instrument-mode::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse, #16201972, transparent 72%); }
#instrument-art, .instrument-hit { position: absolute; inset: 0; width: 100%; height: 100%; }
.instrument-hit { pointer-events: auto; border: 0; padding: 0; background: transparent; }
.instrument-guide .visit-controls { flex-wrap: wrap; justify-content: end; }
.instrument-guide #instrument-count { color: var(--gold); font-weight: 700; }
.bead-touch { touch-action: none; cursor: grab; }
.bead-touch.dragging { cursor: grabbing; }
.moktak-touch { cursor: pointer; touch-action: manipulation; }
.moktak-touch:focus-visible { outline-offset: -6px; }
#moktak-auto { font-size: clamp(16px, 4vw, 19px); }
#moktak-auto[aria-checked="true"] { border-color: #f1d59b; background: #465640; }
.place-picker {
  position: absolute;
  z-index: 2;
  top: var(--places-top);
  left: max(var(--edge), env(safe-area-inset-left));
  width: min(535px, calc(100% - max(var(--edge), env(safe-area-inset-left)) - max(var(--edge), env(safe-area-inset-right))));
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr) 37px;
  align-items: stretch;
  padding: 4px;
  gap: 4px;
  border: 1px solid #a48a5c;
  border-radius: 8px;
  background: #14241eea;
}
.place-arrow { border: 0; border-radius: 5px; background: #304237; font-size: 25px; color: var(--gold); }
.place-list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; touch-action: pan-x; scroll-snap-type: x mandatory; }
.place-list::-webkit-scrollbar { display: none; }
.place-list .place-item {
  flex: 0 0 calc((100% - 12px) / 4);
  scroll-snap-align: start;
  min-height: var(--place-item-height);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  padding: 4px 2px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: #26382e;
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
  white-space: nowrap;
}
.place-list svg { width: 21px; height: 21px; color: #e5c98c; }
.place-list .place-item[aria-current="location"] { border-color: #e7c77f; background: #45543c; color: #ffe4ae; }
#lantern-note {
  width: 100%;
  min-height: 96px;
  padding: 10px;
  margin-top: 8px;
  font: inherit;
  font-size: var(--reading-size);
  color: var(--ink);
  background: #28392d;
  border: 1px solid #8b7651;
  border-radius: 6px;
  resize: vertical;
}
#lantern-form .command { margin-top: 12px; }

.reading-index { display: grid; gap: 7px; }
.reading-index button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  align-items: center;
  text-align: left;
  gap: 8px;
  min-height: 58px;
  padding: 8px 12px;
  border: 1px solid #7e7153;
  border-radius: 5px;
  background: #2d4235;
  font-size: var(--reading-size);
  font-weight: 760;
  line-height: 1.23;
  word-break: keep-all;
}
.reading-chevron { color: var(--gold); font-size: 27px; }
.reading-coverage { display: block; margin-top: 3px; font-size: 15px; color: var(--muted); }
.reading-index button:hover { background: #40563f; }
.article-summary { color: #ffe3ae; font-weight: 800; }
.article-note { border-left: 2px solid #d2b175; padding: 6px 0 6px 13px; color: #eddfbf; }
.reading-content .article-note { margin-top: 14px; }
.scripture-section { padding: 13px 0 16px; border-bottom: 1px solid #756447; }
.scripture-section h4 { margin: 0 0 8px; color: var(--gold); font-size: calc(var(--reading-size) + 1px); }
.scripture-section .original { color: #ded0ac; line-height: 1.66; border-left: 2px solid #a08857; padding-left: 11px; }
.scripture-section .interpretation { color: #f8eed6; }
#scripture-texts[data-original="false"] .original { display: none; }
.original-toggle { margin-block: 3px 8px; }
.complete-reading { display: flex; margin-top: 15px; }
.reading-content .scripture-edition { color: var(--muted); margin-bottom: 9px; }
.text-link {
  color: #f3d79e;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 6px 0;
  margin-top: 5px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-underline-offset: 4px;
}
.reading-foot { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content max-content; }
.reading-foot .command { padding-inline: 10px; font-size: clamp(15px, 3.8vw, 19px); }
#reading-page { text-align: center; color: var(--muted); font-size: 16px; white-space: nowrap; }
.directions { display: grid; gap: 16px; padding-left: 25px; font-size: var(--reading-size); line-height: 1.47; }
.directions strong, .directions span { display: block; word-break: keep-all; }
.directions span { color: var(--muted); font-size: .9em; margin-top: 4px; }
.record-list { margin: 12px 0 0; }
.record-list > div, .ranking-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; border-bottom: 1px solid #7b6a4a; font-size: 20px; }
.record-list dd, .ranking-list strong { color: var(--gold); font-weight: 800; white-space: nowrap; }
.ranking-list { margin-top: 8px; padding: 0; list-style: none; }
.ranking-list li { display: grid; grid-template-columns: 45px minmax(0, 1fr) max-content; }
.ranking-list .rank-name { overflow-wrap: anywhere; }
#ranking-status { margin-top: 10px; color: var(--muted); }
#ranking-retry { margin-top: 12px; }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 7px 0; border-bottom: 1px solid #7b6a4a; cursor: pointer; }
.setting strong { display: block; font-size: var(--reading-size); line-height: 1.25; }
.setting small { display: block; font-size: 17px; color: var(--muted); margin-top: 3px; }
.setting input { flex: none; width: 32px; height: 32px; margin: 3px 6px; accent-color: #ecd395; cursor: pointer; }

@media (max-width: 570px) {
  :root { --places-top: calc(max(var(--edge), env(safe-area-inset-top)) + 67px); }
  .game-mark { gap: 5px; padding-left: 7px; padding-right: 9px; }
  .game-mark svg { width: 25px; height: 25px; }
  .game-mark span { font-size: 14px; }
  .hud-tools { gap: 5px; }
  .hud-button { min-height: 46px; font-size: 15px; padding: 4px 8px; gap: 4px; }
  .hud-button svg { width: 18px; height: 18px; }
  .hud-bottom { gap: 5px; }
  .field-guide { padding: 8px 7px 8px 10px; gap: 6px; min-height: 68px; }
  .advance { min-width: 60px; min-height: 46px; flex-direction: column; gap: 0; font-size: 14px; padding: 3px 5px; }
  .advance svg { width: 18px; height: 18px; }
  .place-list .place-item { flex-basis: calc((100% - 8px) / 3); }
  .action-bar { gap: 4px; }
  .action-bar button { flex-direction: column; gap: 1px; min-height: 57px; font-size: 18px; }
  .action-bar button svg { width: 21px; height: 21px; }
  .bow-controls { flex-direction: column; gap: 3px; }
  .bow-controls .command { min-height: 38px; padding: 3px 6px; font-size: 15px; }
  .visit-controls { gap: 4px; }
  .visit-controls .command { min-height: 44px; padding-inline: 9px; }
  .instrument-guide .visit-controls { flex-direction: column; }
  .panel { width: calc(100% - 20px); }
  .panel-head { min-height: 61px; padding-block: 6px; }
  .panel-foot { min-height: 62px; padding-block: 6px; }
  .menu-foot .command { font-size: clamp(15px, 4.3vw, 19px); padding-inline: 9px; }
  .tabs { height: 54px; }
  .seat-tag { font-size: 15px; min-height: 39px; padding-inline: 8px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  :root { --places-top: calc(max(8px, env(safe-area-inset-top)) + 57px); --place-item-height: 44px; }
  .game-mark { padding-block: 5px; }
  .game-mark h1 { font-size: 30px; }
  .hud-top { top: max(8px, env(safe-area-inset-top)); }
  .hud-bottom { bottom: max(7px, env(safe-area-inset-bottom)); width: min(665px, calc(100% - 18px)); gap: 4px; }
  .field-guide { min-height: 54px; padding-block: 5px; }
  .guide-copy strong { font-size: 18px; }
  .guide-copy span { font-size: 15px; }
  .place-list .place-item { grid-auto-flow: column; gap: 3px; }
  .action-bar button { min-height: 45px; font-size: 18px; }
  .panel-head, .panel-foot { min-height: 54px; padding-block: 4px; }
  .tabs { height: 48px; padding-block: 3px; }
  .command, .close-button { min-height: 43px; }
}

@media (max-width: 345px) {
  :root { --edge: 8px; }
  .game-mark svg { display: none; }
  .place-picker { grid-template-columns: 29px minmax(0, 1fr) 29px; }
  .guide-copy span { font-size: 14px; }
  .action-bar button { font-size: 16px; }
}
