@font-face {
  font-family: PX;
  src: url(assets/pixel.woff2) format('woff2');
  font-display: swap;
}
:root {
  --red: #FF1210;
  --red-d: #B80B09;
  --ink: #091E23;
  --ink2: #3E4B4F;
  --muted: #5E6A6E;
  --bg: #F5F5F5;
  --card: #FFFFFF;
  --zone: #F3F5F6;
  --line: #DCE0E2;
  --green: #12A15A;
  --green-light: #DDF2E5;
  --gold: #FFC83D;
  --pink: #E0408A;
  --pink-ink: #C2185B;
  --sun: linear-gradient(90deg,#6A2C80 0%,#E0408A 30%,#FF1210 55%,#FFB347 80%,#FFD27A 100%);
  --display: 'Arial Black','Arial Bold',Arial,Helvetica,sans-serif;
  --px: PX,ui-monospace,Menlo,Consolas,'Courier New',monospace;
  --mono: ui-monospace,Menlo,Consolas,'Courier New',monospace;
  --r: 24px;
  --ease: cubic-bezier(.22,.7,.2,1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font: 16px/1.45 Arial,Helvetica,sans-serif;
  font-variant-numeric: tabular-nums;
  background-color: var(--bg);
  background-image: linear-gradient(rgba(9,30,35,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(9,30,35,.05) 1px,transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}
button,input,textarea { font: inherit; color: inherit; }
button,a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
h1,h2,h3,p,figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.results-grid :focus-visible,.zoom-modal :focus-visible { outline-color: #fff; }
.final-ticket :focus-visible { outline-color: var(--ink); }
::selection { color: var(--ink); background: var(--gold); }
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 20; padding: 12px; background: #fff; }
.skip-link:focus { top: 8px; }
.site-header,.horizon-wrap,.intro,.game-screen,.results-screen,.site-footer { max-width: 600px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.site-header { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: block; flex: none; }
.brand img { display: block; height: 26px; width: auto; }
.header-label { margin-left: auto; color: var(--muted); font: 700 11px/1.3 var(--mono); letter-spacing: .04em; }
.horizon { height: 4px; margin-top: -4px; margin-bottom: 14px; border-radius: 2px; background: var(--sun); }
.text-button { background: none; min-height: 44px; padding: 7px 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: var(--muted); }
.text-button:hover { color: var(--pink-ink); }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--ink2); font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.red-dot { flex: none; width: 8px; height: 8px; border-radius: 1px; background: var(--red); }
.primary-button,.secondary-button { min-height: 54px; padding: 12px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 16px; font-size: 15px; font-weight: 700; text-decoration: none; transition: transform .1s var(--ease),box-shadow .1s var(--ease),background-color .2s; }
.primary-button { color: #fff; background: var(--red); box-shadow: 0 5px 0 var(--red-d); }
.primary-button:not(:disabled):hover { background: #E7100E; }
.primary-button:not(:disabled):active { transform: translateY(4px); box-shadow: 0 1px 0 var(--red-d); }
.primary-button>span { font-size: 23px; line-height: 1; font-weight: 400; }
.primary-button:disabled { color: var(--ink2); background: #DCE0E2; box-shadow: 0 5px 0 #BCC4C7; }
.secondary-button { color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 2px var(--ink),0 5px 0 var(--ink); }
.secondary-button:not(:disabled):hover { background: var(--zone); }
.secondary-button:active { transform: translateY(4px); box-shadow: inset 0 0 0 2px var(--ink),0 1px 0 var(--ink); }
.full { width: 100%; }

/* Mission briefing, with a photographic route instead of the chart illustration. */
.hero { display: flex; flex-direction: column; align-items: stretch; padding: 24px 20px 22px; border-radius: var(--r); background: var(--card); box-shadow: 0 1px 0 #091E230A; }
.hero-copy { display: contents; }
.hero-copy>.eyebrow { order: 0; }
.hero h1 { order: 1; position: relative; width: fit-content; margin: 18px 0 19px 5px; font: 900 clamp(42px,10.5vw,58px)/1.02 var(--display); letter-spacing: -.015em; text-transform: uppercase; transform: skewX(-8deg); transform-origin: 0 100%; }
.hero h1>span { color: var(--red); }
.hero h1 svg { position: absolute; right: 0; bottom: -11px; width: 72%; height: 17px; fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.hero-lead { order: 2; font-size: 16px; line-height: 1.45; color: var(--ink2); }
.hero-art { order: 3; position: relative; width: 100%; max-width: 490px; height: 305px; margin: 10px auto 14px; isolation: isolate; }
.orbit { position: absolute; z-index: -1; left: 10%; top: 8%; width: 75%; height: 84%; border: 1px solid #E1E5E7; border-radius: 50%; transform: rotate(-25deg); }
.flight-path { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.travel-card { position: absolute; border: 2px solid var(--ink); border-radius: 14px; padding: 7px; background: #fff; box-shadow: 0 5px 0 #091E231C; }
.travel-card .photo-window { overflow: hidden; border-radius: 7px; }
.travel-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.travel-main { z-index: 2; top: 72px; left: 2%; width: 70%; transform: rotate(-7deg); }
.travel-main .photo-window { height: 158px; }
.travel-card figcaption { position: relative; padding: 10px 4px 4px; }
.travel-card strong { display: block; font-size: 13px; font-weight: 700; }
.travel-small { z-index: 3; top: 15px; right: 2%; width: 43%; transform: rotate(9deg); }
.travel-small .photo-window { height: 105px; }
.travel-small figcaption { padding: 8px 3px 3px; }
.travel-small strong { font-size: 11px; line-height: 1.35; }
.round-stamp { position: absolute; z-index: 4; right: 0; bottom: 25px; width: 96px; height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--gold); color: var(--ink); font: 700 10px/1.4 var(--mono); text-align: center; transform: rotate(12deg); box-shadow: 0 4px 0 #091E2329; }
.spark { position: absolute; top: 0; right: 0; color: var(--pink); font-size: 26px; }
.game-facts { order: 4; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 2px 0 16px; }
.game-facts>span { display: block; min-width: 0; padding: 11px 12px; border-radius: 14px; background: var(--bg); color: var(--ink2); font-size: 12px; }
.game-facts b { display: block; margin-bottom: 4px; color: var(--ink); font: 900 24px/1 var(--display); letter-spacing: -.02em; }
.hero-actions { order: 5; width: 100%; }
.hero-actions .primary-button { width: 100%; }
.daily-caption { margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.6; text-align: center; }
.practice-link { order: 6; margin-top: 4px; font-size: 12px; }
.practice-link>span { font-size: 19px; }
.saved-note { order: 7; font-size: 12px; color: var(--muted); text-align: center; }
.saved-note .text-button { color: var(--pink-ink); font-size: 12px; }
.steps-strip { display: grid; grid-template-columns: 1fr; gap: 15px; padding: 22px 20px; margin-top: 16px; border-radius: var(--r); background: var(--card); }
.step { display: flex; align-items: center; gap: 14px; }
.step+.step { padding-top: 15px; border-top: 1px solid var(--line); }
.step>span { display: grid; place-items: center; flex: none; height: 30px; width: 30px; border-radius: 8px; color: var(--pink-ink); background: #FFF1F6; font: 400 8px/1 var(--px); }
.step strong { font-size: 13px; }
.step p { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* Rounds remain inside the same column. */
.game-hud { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 69px; padding: 8px 0 15px; }
.back-button { min-width: 44px; justify-content: flex-start; }
.back-button>span { font-size: 22px; }
.hud-route { text-align: center; }
.hud-route>.eyebrow { justify-content: center; font: 700 10px/1.4 var(--mono); color: var(--muted); letter-spacing: .04em; }
.progress { display: flex; gap: 5px; justify-content: center; margin-top: 9px; }
.progress span { height: 7px; width: 27px; border-radius: 2px; background: var(--line); }
.progress .current { background: var(--ink); }
.progress .right { background: var(--green); }
.progress .wrong { background: var(--red); }
.hud-score { min-width: 107px; text-align: right; }
.label { display: block; margin-bottom: 4px; font: 700 11px/1.4 var(--mono); color: var(--muted); letter-spacing: .03em; }
.hud-score strong { font: 900 24px/1 var(--display); }
.score-max { font-size: 11px; color: var(--muted); margin-left: 4px; }
.question-heading { padding: 21px 20px 19px; margin-bottom: 14px; border-radius: var(--r); background: var(--card); }
.question-heading>.eyebrow { font: 700 10px/1.6 var(--mono); color: var(--pink-ink); letter-spacing: .03em; margin-bottom: 11px; }
.question-heading h2 { outline: none; margin-left: 3px; font: 900 29px/1.06 var(--display); letter-spacing: -.015em; text-transform: uppercase; transform: skewX(-6deg); transform-origin: 0 100%; }
.question-heading>p { font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 11px; }
.arena { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
.dish-card { min-width: 0; border-radius: var(--r); overflow: hidden; background: var(--card); box-shadow: 0 1px 0 #091E230A; }
.dish-image-wrap { position: relative; height: 310px; background: var(--zone); }
.dish-image-wrap>img { display: block; height: 100%; width: 100%; object-fit: cover; }
.image-badge { position: absolute; top: 15px; left: 15px; max-width: calc(100% - 30px); padding: 6px 8px; color: #fff; background: var(--ink); border-radius: 7px; font: 700 10px/1.5 var(--mono); letter-spacing: .03em; }
.zoom-button { display: grid; place-items: center; position: absolute; bottom: 14px; right: 14px; width: 44px; height: 44px; padding: 0; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 3px 0 #091E2324; }
.zoom-button:active { transform: translateY(2px); box-shadow: 0 1px 0 #091E2324; }
.dish-card>figcaption { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; }
.dish-card>figcaption>span:first-child { color: var(--ink2); font: 700 11px/1.5 var(--mono); letter-spacing: .03em; }
.dish-card>figcaption>span:last-child { font-size: 11px; line-height: 1.5; color: var(--muted); text-align: right; }
.dish-card>figcaption a { text-underline-offset: 3px; }
.play-panel { min-width: 0; padding: 22px 20px; border-radius: var(--r); background: var(--card); box-shadow: 0 1px 0 #091E230A; }
.round-eyebrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.round-eyebrow .eyebrow { color: var(--pink-ink); font: 700 10px/1.4 var(--mono); letter-spacing: .03em; }
.reward { display: inline-block; border-radius: 7px; padding: 6px 8px; background: var(--green-light); color: #0B5C34; font-size: 11px; font-weight: 700; white-space: nowrap; }
.play-panel h3 { font: 900 24px/1.1 var(--display); text-transform: uppercase; letter-spacing: -.015em; margin-bottom: 9px; }
.panel-description { color: var(--muted); font-size: 14px; line-height: 1.5; }
.flag { flex: none; font-family: Arial,sans-serif; font-size: 24px; line-height: 1; }
.hint-area { border-top: 1px solid var(--line); margin-top: 21px; padding-top: 12px; }
.hint-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hint-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 5px 0; background: none; color: var(--ink2); font-size: 12px; font-weight: 700; }
.hint-button:disabled { color: var(--muted); }
.hint-icon { font-size: 20px; color: var(--pink-ink); }
.hint-price { font-size: 11px; color: var(--muted); }
.hint-list { display: grid; gap: 8px; }
.hint { margin-top: 5px; padding: 12px 14px; border-radius: 14px; background: #FFF3D3; color: #6E4E00; font-size: 13px; line-height: 1.5; }
.hint b { display: block; margin-bottom: 4px; font: 700 10px/1.4 var(--mono); }
.skip-button { display: flex; margin: 12px auto 0; min-height: 44px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.game-footnote { margin: 13px 2px 0; font-size: 11px; line-height: 1.6; color: var(--muted); }
.game-footnote:empty { display: none; }
.image-error { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; background: var(--zone); text-align: center; }
.image-error>span { color: var(--muted); font-size: 12px; }

/* The actual map stays local: pan, pinch and country paths. */
.map-stage { position: relative; height: clamp(380px, 56svh, 500px); overflow: hidden; background: #EBEFF1; isolation: isolate; }
.world-map { height: 100%; width: 100%; display: block; touch-action: none; user-select: none; }
.world-map path[data-map-country] { fill: #C8D1D5; stroke: #fff; stroke-width: .7; cursor: pointer; transition: fill .15s; }
.world-map path[data-map-country]:hover { fill: #A8BAC2; }
.world-map path.map-picked,.world-map path.map-picked:hover { fill: var(--gold); stroke: #9E7620; stroke-width: 1.2; }
.world-map path.map-found,.world-map path.map-found:hover { fill: var(--green); stroke: #0B5C34; }
.world-map path.map-miss,.world-map path.map-miss:hover { fill: #E9A5B1; stroke: #BE5775; }
.world-map path.map-revealed,.world-map path.map-revealed:hover { fill: #FFD87A; stroke: #B58B36; }
.map-toolbar { position: absolute; left: 12px; right: 13px; top: 12px; z-index: 2; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.map-search { pointer-events: auto; min-height: 44px; padding: 6px 12px; border-radius: 10px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; box-shadow: 0 3px 0 #091E2324; }
.map-search span { font-size: 19px; margin-right: 5px; vertical-align: -1px; }
.map-compass { color: var(--muted); font: 700 10px/1.4 var(--mono); }
.map-controls { position: absolute; z-index: 2; right: 12px; bottom: 30px; display: grid; gap: 6px; }
.map-controls button { width: 44px; height: 44px; padding: 0; border-radius: 10px; color: var(--ink); background: #fff; box-shadow: 0 3px 0 #091E2324; font-size: 22px; }
.map-controls button:disabled { color: #98A5AA; box-shadow: 0 3px 0 #091E2312; }
.map-hover { position: absolute; bottom: 13px; left: 12px; max-width: 70%; padding: 5px 8px; border-radius: 6px; color: var(--ink2); background: #fffffff2; font-size: 11px; font-weight: 700; line-height: 1.5; pointer-events: none; }
.map-attribution { position: absolute; right: 9px; bottom: 6px; font-size: 10px; color: var(--muted); }
.map-attribution a { text-decoration: none; }
.map-legend { display: flex; align-items: center; gap: 5px; font-size: 11px; }
.map-legend i { height: 9px; width: 9px; display: inline-block; border-radius: 2px; }
.legend-found { background: var(--green); }
.legend-miss { margin-left: 5px; background: #DA7B93; }
.ranking-product { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ranking-product img { height: 48px; width: 56px; object-fit: cover; border-radius: 8px; }
.ranking-product>div { flex: 1; min-width: 0; }
.ranking-product .eyebrow { color: var(--pink-ink); font: 700 10px/1.4 var(--mono); letter-spacing: .02em; margin-bottom: 5px; }
.ranking-product h3 { font-size: 23px; margin-bottom: 0; overflow-wrap: anywhere; }
.data-spec { background: var(--zone); border-radius: 14px; padding: 12px 14px; margin: 14px 0 15px; }
.data-spec>strong { display: block; font-size: 13px; }
.data-spec>span { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.method-details { color: var(--muted); font-size: 11px; margin-top: 8px; }
.method-details summary { cursor: pointer; }
.method-details p { margin-top: 7px; line-height: 1.6; }
.ranking-status { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.ranking-status b { color: var(--ink); }
.mistakes { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.mistakes i { display: grid; place-items: center; height: 20px; width: 20px; border-radius: 5px; background: var(--zone); font-size: 15px; font-style: normal; color: #97A3A8; }
.mistakes i.lost { background: #FFE5EC; color: #A42852; }
.mistakes small { font: 700 10px/1.4 var(--mono); margin-left: 3px; }
.ranking { list-style: none; display: grid; padding: 0; margin: 13px 0 8px; }
.ranking li { display: flex; align-items: center; gap: 9px; min-height: 34px; padding: 8px 0; border-bottom: 1px solid #E7ECEE; font-size: 13px; }
.rank-number { width: 13px; flex: none; color: var(--muted); font: 700 10px/1.4 var(--mono); }
.ranking .flag { font-size: 21px; }
.rank-name { flex: 1; min-width: 0; font-weight: 700; }
.rank-value { font-size: 11px; color: var(--muted); white-space: nowrap; }
.ranking .picked { background: var(--green-light); margin: 0 -8px; padding: 8px; border-radius: 7px; }
.ranking .unopened { color: #7C878B; }
.ranking .unopened .rank-name { font-size: 12px; font-weight: 400; }
.rank-lock { width: 21px; color: #9BA6AA; text-align: center; font-size: 12px; }
.ranking .not-found { color: #866522; }
.ranking-note,.ranking-note+p { font-size: 12px; line-height: 1.5; color: var(--muted); }
.map-feedback { min-height: 20px; margin-top: 9px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.map-feedback.hit { color: #0B5C34; }
.map-feedback.miss { color: var(--pink-ink); }
.mobile-mapbar:not([hidden]) { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: calc(100% - 32px); max-width: 568px; padding: 12px 14px calc(13px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; background: #fff; box-shadow: 0 -5px 24px #091E231A; border: 1px solid var(--line); border-bottom: 0; }
.mobile-mapbar>div { flex: 1; min-width: 0; }
.mobile-country-name { display: block; max-width: 100%; min-height: 44px; padding: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; color: var(--ink); background: none; font-size: 12px; font-weight: 700; }
.mobile-map-status { display: block; color: var(--muted); font-size: 11px; line-height: 1.5; }
.mobile-mapbar .primary-button { flex: none; min-height: 44px; padding: 10px 14px; border-radius: 12px; font-size: 13px; }
.country-tried { font-size: 10px; color: var(--green); }

/* Answers and sources use the same white briefing sheet. */
.result-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.feedback-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 7px; background: var(--green-light); color: #0B5C34; font: 700 10px/1.5 var(--mono); letter-spacing: .03em; }
.feedback-badge.wrong { color: var(--pink-ink); background: #FFF1F6; }
.points-earned { font: 900 27px/1 var(--display); color: var(--green); white-space: nowrap; }
.points-earned.zero { color: var(--muted); }
.result-country { display: flex; align-items: center; gap: 10px; margin: 13px 0; font-size: 17px; font-weight: 700; }
.your-guess { font-size: 12px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.result-fact { color: var(--ink2); font-size: 14px; line-height: 1.6; }
.source-link { display: inline-block; font-size: 11px; color: var(--muted); line-height: 1.6; text-underline-offset: 3px; margin: 14px 0 18px; overflow-wrap: anywhere; }
.next-button { width: 100%; margin-top: 3px; margin-bottom: 5px; }
.ranking-result h3 { margin-bottom: 10px; }
.ranking-result .result-fact { font-size: 13px; }
.ranking-result .source-link { margin-top: 12px; }

/* Night mission result: same OMNI sunset score and pink shadow as fresh main. */
.results-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; padding: 24px 20px; color: #fff; background: var(--ink); border-radius: var(--r); }
.final-hero>.eyebrow { color: #C8D5D9; font: 700 10px/1.5 var(--mono); letter-spacing: .03em; }
.final-hero h1 { margin: 20px 0 16px 5px; color: #fff; font: 900 38px/1.06 var(--display); letter-spacing: -.015em; text-transform: uppercase; transform: skewX(-6deg); transform-origin: 0 100%; text-shadow: 3px 3px 0 var(--pink); }
.final-score { display: flex; align-items: baseline; gap: 12px; margin: 27px 0 13px; }
.final-score strong { font: 400 49px/1.3 var(--px); font-synthesis: none; letter-spacing: -.06em; background: var(--sun); background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.final-score>span { color: #C8D5D9; font-size: 15px; }
.final-score-details { color: #C8D5D9; font-size: 12px; line-height: 1.6; }
.final-squares { font-size: 24px; letter-spacing: 4px; margin: 17px 0 25px; white-space: nowrap; }
.results-actions { display: grid; gap: 15px; }
.results-actions>.primary-button,.results-actions>.secondary-button { width: 100%; font-size: 14px; }
.results-actions>.secondary-button { color: #fff; background: transparent; box-shadow: inset 0 0 0 2px #fff,0 5px 0 #000; }
.results-actions>.secondary-button:not(:disabled):hover { background: #ffffff14; }
.results-actions>.secondary-button:active { box-shadow: inset 0 0 0 2px #fff,0 1px 0 #000; }
.results-actions>.text-button { color: #C8D5D9; margin: -3px 0 -7px; }
.results-actions>.text-button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.share-status { min-height: 20px; color: #66E7B7; font-size: 12px; line-height: 1.6; margin-top: 14px; }
.tomorrow-note { color: #B2C1C7; font-size: 12px; line-height: 1.6; margin-top: 10px; }
.final-ticket { color: var(--ink); background: #fff; border-radius: 18px; padding: 20px; }
.ticket-top { padding-bottom: 15px; border-bottom: 1px dashed #C5CDD0; }
.ticket-top h2 { font: 900 18px/1.1 var(--display); text-transform: uppercase; letter-spacing: -.015em; }
.rounds-summary { display: grid; list-style: none; padding: 0; margin: 0; }
.summary-row { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid #E7ECEE; }
.summary-thumb { flex: none; width: 55px; height: 48px; border-radius: 8px; object-fit: cover; }
.summary-info { min-width: 0; flex: 1; }
.summary-info h3 { font-size: 13px; line-height: 1.4; }
.summary-info p { font-size: 11px; line-height: 1.5; color: var(--muted); margin-top: 5px; }
.summary-points { font-size: 14px; font-weight: 700; color: #0B5C34; }
.summary-points.zero { color: var(--muted); }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 10px; line-height: 1.5; }
.site-footer>span { display: flex; align-items: center; gap: 7px; }
.footer-star { color: var(--pink-ink); font-size: 16px; }
.site-footer>.footer-links { display: flex; flex-wrap: wrap; gap: 0 16px; }
.footer-links>.text-button { font-size: 11px; }
.noscript { max-width: 600px; text-align: center; padding: 20px; margin: auto; color: var(--muted); font-size: 13px; }
.modal { position: fixed; width: calc(100% - 32px); max-width: 560px; max-height: 86svh; padding: 28px 24px; border: 0; border-radius: var(--r); overflow: auto; background: var(--card); color: var(--ink); }
.modal::backdrop,.zoom-modal::backdrop { background: #091E2370; }
.close-button { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 12px; background: var(--bg); color: var(--ink); font-size: 23px; }
.modal>.eyebrow { font-size: 10px; color: var(--pink-ink); max-width: 85%; padding-right: 10px; }
.modal h2 { font: 900 28px/1.06 var(--display); text-transform: uppercase; letter-spacing: -.015em; margin: 17px 35px 22px 0; }
.rules { display: grid; gap: 14px; padding-left: 21px; margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink2); }
.rules strong { color: var(--ink); }
.rules li::marker { color: var(--pink-ink); font: 700 13px var(--mono); }
.modal-note { border-radius: 14px; padding: 13px 14px; margin: 20px 0 16px; background: var(--bg); font-size: 13px; line-height: 1.6; color: var(--ink2); }
.modal>.primary-button { font-size: 14px; margin-bottom: 6px; }
.search-field { display: flex; align-items: center; gap: 10px; border: 2px solid #C5CDD0; border-radius: 12px; padding: 10px 12px; margin-bottom: 14px; color: var(--muted); }
.search-field:focus-within { border-color: var(--ink); }
.search-field input { width: 100%; min-width: 0; min-height: 26px; padding: 0; outline: none; border: 0; background: none; color: var(--ink); font-size: 16px; }
.search-field input:focus-visible { outline: none; }
.search-field input::placeholder { color: #7C878B; }
.country-list { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; max-height: 43svh; min-height: 100px; overflow-y: auto; overscroll-behavior: contain; padding: 4px; }
.country-option { display: flex; align-items: center; gap: 8px; min-height: 48px; border: 1px solid transparent; border-radius: 9px; padding: 8px; background: none; color: var(--ink2); font-size: 12px; text-align: left; }
.country-option:hover,.country-option[aria-pressed=true] { border-color: #E7A5C4; background: #FFF1F6; }
.country-option .flag { font-size: 21px; }
.country-count { color: var(--muted); font-size: 11px; line-height: 1.6; margin-top: 12px; }
.country-empty { grid-column: 1/-1; font-size: 13px; line-height: 1.6; color: var(--muted); padding: 20px 0; }
.source-intro { color: var(--ink2); font-size: 13px; line-height: 1.6; margin-bottom: 19px; }
.source-callout { padding: 14px; border-radius: 14px; background: var(--zone); color: var(--ink2); font-size: 12px; line-height: 1.7; }
.source-callout strong { color: var(--ink); }
.source-section h3 { font: 900 18px/1.15 var(--display); text-transform: uppercase; margin: 25px 0 14px; }
.source-item { border-top: 1px solid var(--line); padding: 14px 0; color: var(--ink2); font-size: 12px; line-height: 1.6; }
.source-item h4 { margin: 0 0 7px; color: var(--ink); font-size: 13px; }
.source-item a { color: var(--muted); text-underline-offset: 3px; overflow-wrap: anywhere; }
.source-item .source-link { margin: 8px 0; font-size: 12px; }
.source-item details { margin-top: 4px; }
.source-item summary { min-height: 44px; display: flex; align-items: center; color: var(--pink-ink); cursor: pointer; }
.source-method { margin-top: 8px; font-size: 12px; line-height: 1.6; }
.photo-author { color: var(--ink); }
.zoom-modal { width: min(1100px,95vw); max-height: 94svh; padding: 0; border: 0; overflow: auto; background: transparent; color: white; }
.zoom-modal>img { display: block; width: 100%; max-height: 82svh; object-fit: contain; border-radius: 14px; background: var(--ink); }
.zoom-close { position: fixed; right: 18px; top: 14px; z-index: 2; width: 44px; height: 44px; background: white; color: var(--ink); font-size: 27px; border-radius: 12px; }
.zoom-modal>p { color: #DCE3E5; font-size: 11px; line-height: 1.6; padding: 12px 0; }
.zoom-modal>p a { text-underline-offset: 3px; }
#share-text { width: 100%; padding: 14px; border: 2px solid #C5CDD0; border-radius: 12px; background: #fff; color: var(--ink); font-size: 13px; line-height: 1.7; resize: vertical; margin-bottom: 16px; }
@keyframes enter { from { opacity: .5; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.play-panel { animation: enter .2s var(--ease); }
@media(max-width:480px) {
  .hero { padding: 22px 18px 20px; }
  .hero h1 { font-size: 44px; }
  .hero-lead { font-size: 15px; }
  .hero-art { height: 270px; }
  .travel-main { top: 64px; width: 72%; }
  .travel-main .photo-window { height: 135px; }
  .travel-small { width: 44%; }
  .travel-small .photo-window { height: 86px; }
  .travel-card strong { font-size: 12px; }
  .travel-small strong { font-size: 11px; }
  .round-stamp { width: 86px; height: 86px; bottom: 24px; }
  .game-facts>span { font-size: 11px; padding: 11px 9px; }
  .game-facts b { font-size: 22px; }
  .hud-score { min-width: 95px; }
  .hud-score strong { font-size: 22px; }
  .progress span { width: 22px; }
  .question-heading { padding: 20px 18px; }
  .question-heading h2 { font-size: 25px; }
  .question-heading>p { font-size: 12px; }
  .dish-image-wrap { height: 235px; }
  .dish-card>figcaption { gap: 8px; padding: 11px 13px; }
  .play-panel { padding: 21px 18px; }
  .panel-description { font-size: 13px; }
  .map-stage { height: clamp(330px, 46svh, 400px); }
  .map-hover { font-size: 10px; max-width: 66%; }
  .rank-name { font-size: 12px; }
  .rank-value { font-size: 10px; }
  .ranking-status { font-size: 11px; }
  .mistakes i { height: 19px; width: 19px; }
  .mobile-mapbar { width: 100% !important; border-radius: 0 !important; }
  .mobile-country-name { font-size: 11px; }
  .mobile-mapbar .primary-button { font-size: 12px; padding: 10px 13px; gap: 9px; }
  .results-grid { padding: 23px 18px; }
  .final-hero h1 { font-size: 32px; }
  .final-score strong { font-size: 44px; }
  .final-score>span { font-size: 13px; }
  .final-ticket { padding: 18px 14px; }
  .ticket-top h2 { font-size: 16px; }
  .summary-row { gap: 10px; }
  .summary-info h3 { font-size: 12px; }
  .summary-info p { font-size: 10px; }
  .summary-thumb { width: 48px; height: 44px; }
  .summary-points { font-size: 12px; }
  .site-footer { flex-wrap: wrap; gap: 3px 12px; }
  .modal { padding: 27px 20px; width: calc(100% - 24px); }
  .modal h2 { font-size: 26px; }
  .country-list { grid-template-columns: 1fr 1fr; max-height: 46svh; }
  .country-option { font-size: 12px; }
}
@media(max-width:370px) {
  .hero h1 { font-size: 40px; }
  .hero-art { height: 252px; }
  .travel-main .photo-window { height: 120px; }
  .travel-small .photo-window { height: 76px; }
  .round-stamp { width: 82px; height: 82px; }
  .game-facts b { font-size: 20px; }
  .question-heading h2 { font-size: 23px; }
  .map-search { font-size: 10px; }
  .final-hero h1 { font-size: 29px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* A photo round uses the same live map in its answer card. */
.origin-map-slot { margin-top: 18px; overflow: hidden; border-radius: 14px; }
.origin-map-slot .map-stage { height: 400px; }
.game-screen.has-active-map { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
@media(max-width:480px) { .origin-map-slot .map-stage { height: 340px; } }
