:root {
  --ink: #1f2622;
  --muted: #69716c;
  --paper: #f5f1e8;
  --panel: #fffdf8;
  --line: #dcd8cc;
  --green: #174c3c;
  --green-2: #276c55;
  --orange: #ed6a2c;
  --orange-soft: #fff0e4;
  --yellow: #f4c04e;
  --water: #7cc8d4;
  --danger: #d94a3d;
  --shadow: 0 18px 48px rgba(39, 46, 38, 0.14);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button, a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

.app-shell { min-height: 100vh; }

.topbar {
  height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50% 50% 50% 12%;
  color: white;
  background: var(--orange);
  font-family: Georgia, serif;
  font-size: 25px;
  font-style: italic;
  font-weight: 700;
  transform: rotate(-5deg);
}

.brand strong, .brand small { display: block; letter-spacing: .14em; }
.brand strong { font-family: Georgia, serif; font-size: 18px; }
.brand small { margin-top: 1px; color: var(--muted); font-size: 8px; font-weight: 800; }

.level-meter {
  display: grid;
  grid-template-columns: auto auto 132px auto;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.level-meter > span, .level-meter small { color: var(--muted); }
.level-meter > strong { font-family: Georgia, serif; font-size: 23px; letter-spacing: 0; }
.level-progress { width: 132px; height: 5px; border-radius: 99px; overflow: hidden; background: #dedbd2; }
.level-progress i { display: block; width: 8.33%; height: 100%; background: var(--orange); transition: width .35s ease; }

.top-actions { display: flex; justify-content: flex-end; gap: 10px; }
.language-picker select {
  height: 40px;
  padding: 0 24px 0 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink);
  background: var(--panel);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}
.language-picker select:hover, .language-picker select:focus { border-color: var(--green); outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon-btn, .pill-btn, .undo-btn {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--panel);
  cursor: pointer;
}
.icon-btn { width: 40px; height: 40px; border-radius: 50%; font-weight: 800; }
.pill-btn { height: 40px; padding: 0 17px; border-radius: 99px; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.icon-btn:hover, .pill-btn:hover, .undo-btn:hover:not(:disabled) { border-color: var(--green); }

.game-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  min-height: calc(100vh - 78px);
}

.side-panel {
  padding: 34px 27px 26px;
  border-right: 1px solid var(--line);
  background: var(--panel);
}

.mission-panel { display: flex; flex-direction: column; gap: 28px; }
.eyebrow { margin: 0 0 8px; color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; line-height: .98; }
h1 { margin-bottom: 13px; font-size: clamp(30px, 2.6vw, 42px); font-weight: 500; }
.mission-copy { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.stat-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 9px; }
.stat-card { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #faf8f2; }
.stat-card > span, .stat-card > small { display: block; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.stat-card > strong { display: block; margin: 7px 0 5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; }
.timer-card > strong { color: var(--green); }
.timer-card.danger > strong { color: var(--danger); animation: pulse .6s ease infinite alternate; }
.timer-track { height: 3px; border-radius: 9px; overflow: hidden; background: #dedbd2; }
.timer-track i { display: block; width: 100%; height: 100%; background: var(--green-2); transition: width .1s linear, background .3s; }
.timer-card.danger .timer-track i { background: var(--danger); }
.stat-card[data-road-type="highway"] > strong { color: var(--green-2); }
.stat-card[data-road-type="bend"] > strong,
.stat-card[data-road-type="rough"] > strong,
.stat-card[data-road-type="bridge"] > strong { color: #a15f35; }

.section-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.section-label span { color: var(--muted); }
.order-list { display: flex; flex-direction: column; gap: 8px; }
.order-card {
  display: grid;
  grid-template-columns: 39px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 61px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  transition: opacity .3s, border-color .3s, transform .3s;
}
.order-card.delivered { opacity: .55; border-color: #abcabb; transform: scale(.98); }
.order-food { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; background: var(--orange-soft); font-size: 20px; }
.order-info { min-width: 0; }
.order-info strong, .order-info span { display: block; }
.order-info strong { overflow: hidden; font-family: Georgia, serif; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.order-info span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.order-status { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; color: var(--orange); background: var(--orange-soft); font-size: 9px; font-weight: 900; }
.order-card.delivered .order-status { color: white; background: var(--green-2); }

.tip-card {
  display: flex;
  gap: 11px;
  margin-top: auto;
  padding: 13px;
  border-radius: 13px;
  color: #dcefe6;
  background: var(--green);
}
.tip-card p { margin: 0; font-size: 10px; line-height: 1.45; }
.tip-card strong { color: white; font-size: 11px; }
.tip-icon { font-size: 20px; }
.site-disclaimer { padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.45; }
.site-disclaimer p { margin: 0 0 4px; }
.site-disclaimer a { color: var(--green); font-weight: 800; }

.map-panel { display: grid; grid-template-rows: 44px minmax(520px, 1fr) 51px; min-width: 0; padding: 0 24px; background: var(--paper); }
.map-toolbar, .map-footer { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.weather span { color: var(--yellow); }
.map-legend { display: flex; align-items: center; gap: 13px; }
.map-legend span { display: inline-flex; align-items: center; gap: 5px; }
.map-legend i { display: inline-block; width: 8px; height: 8px; border: 2px solid white; border-radius: 50%; box-shadow: 0 0 0 1px #9da49f; }
.map-legend .legend-road { width: 17px; height: 5px; border: 0; border-radius: 3px; }
.map-legend .legend-fast { background: #628e7b; box-shadow: 0 0 0 2px #edf9f3; }
.map-legend .legend-slow { background: #a77c58; box-shadow: 0 0 0 2px #f2e0cb; }
.map-legend .legend-warning { display: grid; place-items: center; width: 14px; height: 13px; padding-top: 2px; border: 0; border-radius: 0; color: white; background: var(--danger); box-shadow: none; clip-path: polygon(50% 0, 100% 100%, 0 100%); font-size: 8px; font-style: normal; line-height: 1; }
.map-legend .legend-stop { background: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.queue-readout { display: flex; align-items: center; gap: 9px; }
#queueDots { display: flex; gap: 4px; }
#queueDots i { width: 8px; height: 8px; border: 1px solid #aaa79f; border-radius: 50%; background: transparent; }
#queueDots i.filled { border-color: var(--orange); background: var(--orange); }

.map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid #cec9bd;
  border-radius: 20px;
  background: #e9e5da;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}
.terrain, .roads, .route-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.hill { fill: #dbe2cf; }
.hill-two { fill: #c7d8bd; }
.park { fill: #b7d0ad; opacity: .85; }
.sand { fill: #eadcb3; }
.water { fill: var(--water); }
.stream { fill: none; stroke: #8ecbd0; stroke-width: 5; opacity: .7; }
.buildings { fill: #d1cec5; stroke: #c1bdb1; stroke-width: 2; }
.map-labels { fill: rgba(48,63,55,.55); font-size: 12px; font-weight: 800; letter-spacing: .18em; }

.road-casing { stroke: #aaa99f; stroke-width: 17; stroke-linecap: round; }
.road { stroke: #fbfaf4; stroke-width: 12; stroke-linecap: round; transition: stroke .25s; }
.road-casing.road-highway { stroke: #628e7b; stroke-width: 18; }
.road.road-highway { stroke: #edf9f3; }
.road-casing.road-bend { stroke: #afa184; }
.road.road-bend { stroke: #fff9e9; }
.road-casing.road-rough { stroke: #a77c58; stroke-dasharray: 7 4; }
.road.road-rough { stroke: #f2e0cb; stroke-dasharray: 6 4; }
.road-casing.road-bridge { stroke: #668f9b; stroke-width: 18; }
.road.road-bridge { stroke: #e8f5f7; stroke-width: 9; stroke-dasharray: 12 4; }
.road.blocked { stroke: #f6c5b3; stroke-dasharray: 15 8; }
.road-casing.blocked { stroke: var(--danger); stroke-width: 19; stroke-dasharray: 15 8; }
.planned-road { stroke: var(--orange); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 4 12; animation: routeFlow .8s linear infinite; }

.map-objects { position: absolute; inset: 0; }
.node {
  position: absolute;
  z-index: 8;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 4px solid #fdfbf5;
  border-radius: 50%;
  background: #9da49f;
  box-shadow: 0 2px 5px rgba(30, 35, 32, .25);
  cursor: default;
  transform: translate(-50%, -50%);
  transition: width .15s, height .15s, background .15s, box-shadow .15s;
}
.node.reachable { width: 29px; height: 29px; background: var(--orange); box-shadow: 0 0 0 7px rgba(237,106,44,.19), 0 3px 8px rgba(30,35,32,.3); cursor: pointer; animation: nodePulse 1.15s ease infinite alternate; }
.node.queued { background: var(--orange); }
.node.current { background: var(--green); }
.node:focus-visible { outline: 4px solid white; box-shadow: 0 0 0 7px var(--green); }
.node.waypoint { width: 11px; height: 11px; border-width: 2px; background: #b1b5b1; box-shadow: 0 1px 3px rgba(30,35,32,.2); }
.node.waypoint.road-highway { background: #628e7b; }
.node.waypoint.road-bend { background: #9c8e70; }
.node.waypoint.road-rough { background: #a77c58; }
.node.waypoint.road-bridge { background: #668f9b; }
.node.waypoint.reachable { width: 19px; height: 19px; border-width: 3px; background: var(--orange); box-shadow: 0 0 0 6px rgba(237,106,44,.17), 0 2px 6px rgba(30,35,32,.25); }
.node.waypoint.queued { background: var(--orange); }
.node.waypoint.current { width: 17px; height: 17px; background: var(--green); }
.node.order-stop { width: 27px; height: 27px; border-color: white; background: var(--danger); box-shadow: 0 0 0 5px rgba(217,74,61,.16), 0 3px 8px rgba(30,35,32,.28); }
.node.order-stop.reachable { width: 32px; height: 32px; background: var(--danger); box-shadow: 0 0 0 8px rgba(217,74,61,.18), 0 3px 8px rgba(30,35,32,.3); }
.node.order-stop.delivered-stop { background: var(--green-2); box-shadow: 0 0 0 5px rgba(39,108,85,.15), 0 3px 8px rgba(30,35,32,.25); }

.road-warning {
  position: absolute;
  z-index: 12;
  display: grid;
  place-items: center;
  width: 28px;
  height: 25px;
  padding-top: 5px;
  color: white;
  background: var(--danger);
  filter: drop-shadow(0 3px 3px rgba(47, 31, 27, .28));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  font-size: 14px;
  font-weight: 1000;
  line-height: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.destination {
  position: absolute;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  transform: translate(-17px, -49px);
}
.destination-pin {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 3px solid white;
  border-radius: 50% 50% 50% 12%;
  color: white;
  background: var(--danger);
  box-shadow: 0 5px 12px rgba(30,35,32,.22);
  font-size: 16px;
  transform: rotate(-45deg);
}
.destination-pin span { transform: rotate(45deg); }
.destination-tag { padding: 5px 8px; border-radius: 7px; background: rgba(255,253,248,.91); box-shadow: 0 3px 8px rgba(30,35,32,.12); font-size: 9px; font-weight: 900; white-space: nowrap; }
.destination.delivered .destination-pin { background: var(--green-2); }
.destination.delivered .destination-tag { text-decoration: line-through; opacity: .65; }

.restaurant-marker {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 7px;
  left: 16%;
  top: 21.43%;
  pointer-events: none;
  transform: translate(-23px, -57px);
}
.pin-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 4px solid white; border-radius: 50% 50% 50% 12%; color: white; background: var(--green); box-shadow: var(--shadow); font-family: Georgia, serif; font-size: 20px; font-weight: 800; transform: rotate(-45deg); }
.pin-icon::first-letter { transform: rotate(45deg); }
.marker-label { padding: 6px 8px; border-radius: 7px; background: rgba(255,253,248,.93); box-shadow: 0 3px 8px rgba(30,35,32,.12); }
.marker-label strong, .marker-label small { display: block; }
.marker-label strong { font-family: Georgia, serif; font-size: 12px; }
.marker-label small { color: var(--muted); font-size: 7px; font-weight: 900; letter-spacing: .13em; }

.courier {
  position: absolute;
  z-index: 20;
  left: 16%;
  top: 21.43%;
  width: 50px;
  height: 42px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 5px 3px rgba(38,45,41,.25));
  transition-property: left, top;
  transition-timing-function: linear;
}
.courier-emoji { font-size: 33px; }
.courier-bag { position: absolute; z-index: 1; top: -6px; right: -5px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border: 2px solid white; border-radius: 99px; color: white; background: var(--orange); font-size: 9px; font-weight: 900; }

.roadblock {
  position: absolute;
  z-index: 7;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 3px solid white;
  border-radius: 50%;
  color: white;
  background: var(--danger);
  box-shadow: 0 4px 9px rgba(50,30,27,.25);
  font-size: 15px;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.map-toast { position: absolute; z-index: 35; left: 50%; top: 20px; padding: 9px 15px; border-radius: 99px; color: white; background: var(--ink); box-shadow: var(--shadow); font-size: 11px; font-weight: 800; pointer-events: none; opacity: 0; transform: translate(-50%, -12px); transition: opacity .2s, transform .2s; }
.map-toast.visible { opacity: 1; transform: translate(-50%, 0); }

.start-card, .result-card {
  position: absolute;
  z-index: 40;
  left: 50%;
  top: 50%;
  width: min(390px, calc(100% - 32px));
  padding: 28px;
  border: 1px solid rgba(31,38,34,.17);
  border-radius: 21px;
  text-align: center;
  background: rgba(255,253,248,.96);
  box-shadow: 0 22px 70px rgba(26, 39, 32, .26);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}
.start-card h2, .result-card h2 { margin: 0 0 11px; font-size: 38px; font-weight: 500; }
.start-card > p:not(.eyebrow), .result-card > p:not(.eyebrow) { margin: 0 auto 19px; max-width: 310px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.start-icon { margin-bottom: 11px; font-size: 38px; }
.brief-stats { display: flex; justify-content: center; gap: 7px; margin: 19px 0; }
.brief-stats span { padding: 7px 9px; border-radius: 8px; color: var(--muted); background: #efede5; font-size: 9px; }
.brief-stats strong { color: var(--ink); }
.primary-btn { width: 100%; height: 48px; border: 0; border-radius: 10px; color: white; background: var(--orange); box-shadow: 0 8px 20px rgba(237,106,44,.25); font-size: 11px; font-weight: 900; letter-spacing: .12em; cursor: pointer; transition: transform .15s, filter .15s; }
.primary-btn:hover { filter: brightness(.95); transform: translateY(-1px); }
.primary-btn span { margin-left: 8px; font-size: 17px; }
.start-card > small { display: block; margin-top: 12px; color: var(--muted); font-size: 8px; }
.hidden { display: none !important; }

.result-badge { display: grid; place-items: center; width: 52px; height: 52px; margin: -55px auto 18px; border: 5px solid white; border-radius: 50%; color: white; background: var(--green-2); box-shadow: 0 7px 18px rgba(23,76,60,.25); font-size: 24px; }
.result-card.failed .result-badge { background: var(--danger); }
.result-card.failed .stars { color: #c8c4b9; }
.stars { margin: -5px 0 18px; color: var(--yellow); font-size: 24px; letter-spacing: .12em; }
.result-stats { display: grid; grid-template-columns: repeat(3,1fr); margin-bottom: 19px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result-stats span { color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.result-stats strong { display: block; margin-top: 5px; color: var(--ink); font-family: ui-monospace, monospace; font-size: 14px; letter-spacing: 0; }
.text-btn { margin-top: 11px; padding: 5px; border: 0; color: var(--muted); background: none; font-size: 10px; font-weight: 800; text-decoration: underline; cursor: pointer; }

.map-footer { justify-content: flex-start; gap: 23px; }
.control-hint { display: flex; align-items: center; gap: 7px; }
kbd { padding: 4px 7px; border: 1px solid #c9c4b9; border-bottom-width: 2px; border-radius: 5px; color: var(--ink); background: #fffdf8; font-family: inherit; font-size: 8px; }
.undo-btn { margin-left: auto; padding: 7px 11px; border-radius: 7px; font-size: 8px; font-weight: 900; letter-spacing: .09em; }
.undo-btn:disabled { opacity: .4; cursor: default; }

.levels-dialog { width: min(630px, calc(100% - 28px)); padding: 0; border: 1px solid var(--line); border-radius: 22px; color: var(--ink); background: var(--panel); box-shadow: var(--shadow); }
.levels-dialog::backdrop { background: rgba(19,31,25,.55); backdrop-filter: blur(4px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; padding: 25px 27px 18px; }
.dialog-header h2 { margin: 0; font-size: 31px; font-weight: 500; }
.levels-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; padding: 0 27px 25px; }
.level-button { position: relative; min-height: 91px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; text-align: left; color: var(--ink); background: #f8f6ef; cursor: pointer; }
.level-button:hover:not(:disabled), .level-button.active { border-color: var(--orange); background: var(--orange-soft); }
.level-button:disabled { opacity: .45; cursor: not-allowed; }
.level-button > strong { display: block; font-family: Georgia, serif; font-size: 24px; }
.level-button > span { display: block; margin-top: 7px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .07em; }
.level-button .level-stars { position: absolute; right: 9px; top: 9px; margin: 0; color: var(--yellow); font-size: 8px; letter-spacing: 0; }
.level-lock { position: absolute; right: 10px; bottom: 9px; }
.dialog-footer { display: flex; align-items: center; justify-content: space-between; padding: 15px 27px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.dialog-footer .text-btn { margin: 0; }
.danger { color: var(--danger); }

.consent-banner {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 930px;
  margin: auto;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  color: white;
  background: rgba(25, 37, 31, .97);
  box-shadow: 0 18px 60px rgba(19, 31, 25, .35);
  backdrop-filter: blur(12px);
}
.consent-copy { display: flex; align-items: center; gap: 13px; }
.consent-copy strong { display: block; margin-bottom: 3px; font-family: Georgia, serif; font-size: 15px; }
.consent-copy p { margin: 0; color: #cdd8d2; font-size: 10px; line-height: 1.5; }
.consent-copy a { color: white; }
.consent-icon { display: grid; place-items: center; flex: 0 0 37px; width: 37px; height: 37px; border-radius: 50% 50% 50% 12%; background: var(--orange); font-family: Georgia, serif; font-size: 18px; font-weight: 800; transform: rotate(-5deg); }
.consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.consent-primary, .consent-secondary { height: 38px; padding: 0 15px; border-radius: 8px; font-size: 9px; font-weight: 900; letter-spacing: .07em; cursor: pointer; }
.consent-primary { border: 1px solid var(--orange); color: white; background: var(--orange); }
.consent-secondary { border: 1px solid #718078; color: white; background: transparent; }
.consent-primary:hover, .consent-secondary:hover { filter: brightness(1.1); }

@keyframes routeFlow { to { stroke-dashoffset: -16; } }
@keyframes nodePulse { to { box-shadow: 0 0 0 10px rgba(237,106,44,.08), 0 3px 8px rgba(30,35,32,.3); } }
@keyframes pulse { to { opacity: .55; } }

@media (max-width: 960px) {
  .topbar { grid-template-columns: 1fr auto; }
  .level-meter { display: none; }
  .game-layout { grid-template-columns: 250px minmax(0, 1fr); }
  .side-panel { padding: 25px 18px 18px; }
  .stat-grid { grid-template-columns: 1fr; }
  .tip-card { display: none; }
  .map-panel { padding: 0 14px; }
}

@media (max-width: 700px) {
  body { overflow: auto; }
  .topbar { position: relative; z-index: 60; height: 64px; padding: 0 14px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand strong { font-size: 15px; }
  .top-actions #soundButton { display: none; }
  .language-picker select { width: 51px; height: 36px; padding: 0 7px; }
  .pill-btn { height: 36px; padding: 0 13px; }
  .game-layout { display: flex; flex-direction: column; min-height: calc(100vh - 64px); }
  .mission-panel { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 13px 14px 9px; border-right: 0; border-bottom: 1px solid var(--line); }
  .mission-panel > div:first-child { min-width: 0; }
  .eyebrow { margin-bottom: 3px; font-size: 8px; }
  h1 { overflow: hidden; margin: 0 0 3px; font-size: 22px; text-overflow: ellipsis; white-space: nowrap; }
  .mission-copy, .orders-block, .tip-card { display: none; }
  .site-disclaimer { grid-column: 1 / -1; padding-top: 5px; font-size: 7px; line-height: 1.3; }
  .site-disclaimer p { display: inline; margin: 0; }
  .site-disclaimer a { margin-left: 4px; }
  .stat-grid { display: grid; grid-template-columns: 96px 74px; gap: 6px; }
  .stat-card { padding: 8px; }
  .stat-card > strong { margin: 3px 0; font-size: 14px; }
  .stat-card > small { display: none; }
  .map-panel { flex: 1; grid-template-rows: 31px minmax(500px, calc(100vh - 206px)) 43px; padding: 0 7px; }
  .map-toolbar { padding: 0 6px; font-size: 7px; }
  .map-legend { display: none; }
  .map { min-height: 500px; border-radius: 14px; }
  .map-labels { font-size: 9px; }
  .restaurant-marker .marker-label, .destination-tag { display: none; }
  .pin-icon { width: 37px; height: 37px; }
  .start-card, .result-card { padding: 23px 19px; }
  .start-card h2, .result-card h2 { font-size: 32px; }
  .brief-stats { flex-wrap: wrap; margin: 14px 0; }
  .control-hint { display: none; }
  .map-footer { justify-content: flex-end; }
  .levels-grid { grid-template-columns: repeat(3,1fr); padding: 0 17px 20px; }
  .dialog-header { padding: 20px 17px 16px; }
  .dialog-footer { padding: 13px 17px; }
  .consent-banner { right: 10px; bottom: 10px; left: 10px; display: block; padding: 15px; }
  .consent-copy { align-items: flex-start; }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

[data-regional-consent][hidden] { display: none; }
[data-regional-consent] button:disabled { opacity: .65; cursor: default; }
