.currency-control {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 padding: 3px 7px;
 color: #34513d;
 font-size: 13px;
 font-weight: 650;
}
.currency-control select {
 min-height: 36px;
 padding: 4px 7px;
 border: 1px solid #8fa38c;
 border-radius: 7px;
 background: #f9faed;
 color: #274637;
 font: inherit;
 cursor: pointer;
}
.popup-panel .currency-control {margin-top: 6px; width: 100%; justify-content: space-between}
.language-buttons button {white-space: nowrap}
@media (max-width: 620px) {
 .quest-menu {justify-content: flex-start}
 .quest-menu .currency-control {margin-inline-start: auto}
 .currency-control select {min-height: 40px}
}

#quest-map {
 inset: 0;
 width: 100%;
 height: 100%;
 transform: none;
}
#scene-scroll {position: relative; isolation: isolate}
#map-backdrop, #scene {
 display: block;
 width: 100%;
 height: 100%;
}
#map-backdrop {
 position: absolute;
 inset: 0;
 z-index: -1;
 pointer-events: none;
}
body.game-locked #allocation-console #dock-svg {
 width: 126px;
 height: 59px;
 filter: drop-shadow(0 3px 3px #10271f66);
}
#allocation-console #tray-dock #tray-readout {min-width: 0}
#orientation-dialog {
 width: min(360px, calc(100% - 32px));
 padding: 24px;
 text-align: center;
 color: #294839;
 background: #f6f7ec;
}
#orientation-dialog::backdrop {background: #243f33eb}
#orientation-dialog h2 {font-size: 25px; line-height: 1.15}
#orientation-dialog p {font-size: 15px; line-height: 1.5}
#orientation-dialog button {min-height: 44px}
.landscape-icon {
 width: 68px;
 height: 40px;
 margin: 4px auto 14px;
 border: 3px solid #395d47;
 border-radius: 9px;
 background: #c6d9af;
 box-shadow: inset 0 0 0 3px #eaf1db;
}
@media (max-width: 960px) and (max-height: 540px) and (orientation: landscape) {
 body.game-locked .pinned {padding: 0 10px}
 body .pinned > header, body.game-locked .pinned > header {min-height: 40px; padding-block: 2px}
 .pinned .game-links button, .pinned .game-links summary {min-height: 34px}
 body[data-round] .pinned .phase-head {min-height: 0; padding: 5px 9px}
 body[data-round] #eyebrow {margin-bottom: 1px}
 body[data-round] .phase-head h1 {font-size: 21px}
 body.game-locked #allocation-console {
  grid-template-columns: minmax(184px, .9fr) minmax(0, 1.1fr);
  gap: 6px;
  padding: 3px 8px;
 }
 body.game-locked #allocation-console #tray-dock {min-height: 39px; gap: 5px}
 body.game-locked #allocation-console #dock-svg {width: 104px; height: 48px}
 #allocation-console #tray-total {font-size: clamp(14px, 2.7vw, 20px)}
 #allocation-console .nozzles button {min-height: 34px; font-size: 12px; padding-inline: 4px}
 #tool-menu-label {min-height: 34px; font-size: 12px}
 #pour-prompt {margin-top: 4px; font-size: 13px}
 body.game-locked:not([data-round=actual]) .scene-scroll.chart {flex: 1 0 145px; height: auto}
 .scene-scroll.chart {margin-inline-start: 68px; width: calc(100% - 68px)}
 #money-axis span {width: 65px}
 #chart-scene [data-x-percent], #chart-scene [data-x-end] {display: none}
 #phone-axis:not([hidden]) {
  display: flex;
  justify-content: space-between;
  flex-shrink: 0;
  margin: -3px 0 0 68px;
  padding: 0 3.5%;
  font-size: 10px;
  color: #425c48;
 }
 #stage-actions:not([hidden]) {margin-block: 3px}
 #stage-actions button {min-height: 37px}
 #view-controls {margin: 1px 0}
 #control-title {min-height: 0; padding-block: 3px}
 dialog {max-height: calc(100dvh - 20px); overflow: auto}
}
