/* Günün Ülkesi: readable clue cards above a guess map that colours guesses by distance. */
.hint-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;outline-offset:4px}
.hint-card{display:flex;flex-direction:column;gap:4px;min-width:0;padding:10px 12px;border:2px solid #c9dbea;border-left:6px solid var(--gs-a);border-radius:14px;background:#fff;box-shadow:0 3px 0 #0b2a5b14;scroll-margin-block:90px}
.hint-card-label{display:flex;align-items:center;gap:6px;font:900 11px/1.2 var(--ui);letter-spacing:.08em;text-transform:uppercase;color:#0f4c75}
.hint-card-label i{font-style:normal;font-size:15px;letter-spacing:0}
.hint-card strong{font:900 clamp(20px,1.9vw,27px)/1.15 var(--ui);color:#0b2a5b;overflow-wrap:anywhere}
.hint-card small{font:700 12px/1.35 var(--ui);color:#3b556d}
.hint-card.is-text strong{font-size:15px;line-height:1.35;font-weight:800}
.hint-card.is-flag strong{font-size:40px;line-height:1}
.hint-card.is-new{border-color:#e5a526;border-left-color:#e5a526;background:#fffbea;animation:hint-arrive .5s ease-out}
.hint-card.is-new .hint-card-label::after{content:"YENİ";margin-left:auto;padding:2px 6px;border-radius:20px;background:#e5a526;color:#fff;font-size:9px;letter-spacing:.06em}
.hint-card.is-locked{border-style:dashed;border-left-width:2px;border-color:#b9c9d6;background:#f3f7fa;box-shadow:none}
.hint-card.is-locked .hint-card-label{color:#5d7488}
.hint-card.is-locked strong{color:#9fb3c4}
.hint-card.is-locked small{color:#5d7488}
.hint-card:focus-visible{outline:3px solid #e5a526}
@keyframes hint-arrive{from{transform:translateY(6px);opacity:.3}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.hint-card.is-new{animation:none}}

.world-atlas.is-pickable .political-country{cursor:pointer}
.world-atlas.is-pickable .political-country:hover{filter:brightness(1.12)}
.political-country.is-marked{stroke:#0b2a5b;stroke-width:2.2}
.political-country.is-subject.is-marked{stroke:#0b3d22;stroke-width:3}
.guess-legend{display:flex;flex-wrap:wrap;gap:4px 12px;margin:0;padding:6px 10px;border-radius:10px;background:#102c44;color:#e8f1f8;font:800 11px/1.3 var(--ui)}
.guess-legend span{display:inline-flex;align-items:center;gap:5px}
.guess-legend i{display:inline-block;width:12px;height:12px;border-radius:3px;border:1px solid #0b2a5b}

.daily-challenge .guess-entry{border-left:6px solid var(--guess-tone,#c9dbea);background:#fff;color:#0b2a5b}
.daily-challenge .guess-entry > span{font-size:11px;color:#3b556d;font-weight:900}
.daily-challenge .guess-entry b{font-weight:900}
.daily-challenge .guess-distance{margin-left:auto;font:900 13px var(--ui);font-style:normal;color:#0b2a5b;white-space:nowrap}
.daily-challenge .guess-entry .guess-direction{margin-left:6px;font-size:18px;line-height:1}
.daily-challenge .hint-unlock-note{color:#0f4c75}

@media(min-width:601px){
 [data-screen="play"] .daily-challenge .visual-scene.country-scene{display:flex;flex-direction:column;gap:8px;overflow:hidden}
 [data-screen="play"] .country-scene > .hint-board,[data-screen="play"] .country-scene > .guess-legend,[data-screen="play"] .country-scene > .hint-unlock-note{flex:none}
 [data-screen="play"] .daily-challenge .country-scene > .flat-atlas{flex:1 1 auto;height:auto;min-height:150px;max-height:none;display:flex;flex-direction:column;margin:0}
 [data-screen="play"] .daily-challenge .country-scene .world-atlas{flex:1;height:0;min-height:0;max-height:none;aspect-ratio:auto!important}
 [data-screen="play"] .daily-challenge .answer-panel .guess-timeline{max-height:none}
}
@media(min-width:601px) and (max-height:700px){
 .hint-card{padding:6px 10px;gap:2px}
 .hint-card strong{font-size:19px}
 .hint-card.is-text strong{font-size:13px}
 .hint-card.is-flag strong{font-size:30px}
 .hint-card small{font-size:11px}
}
@media(max-width:600px){
 .hint-board{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hint-card strong{font-size:21px}
 .daily-challenge .country-scene > .flat-atlas{display:flex;flex-direction:column}
 .daily-challenge .country-scene .world-atlas{height:280px;aspect-ratio:auto!important}
 .daily-challenge .country-scene > .guess-legend{margin-top:8px}
}
.world-atlas.has-marks .political-country:not(.is-marked):not(.is-subject){fill:#d3dce4}
.hint-flag{display:block;height:44px;width:auto;border-radius:4px;border:1px solid #c9dbea;box-shadow:0 2px 6px #0b2a5b22}
@media(min-width:601px) and (max-height:700px){.hint-flag{height:30px}}

/* Nüfus piramidi: mode picker on the intro card. */
.mode-picker{display:grid;gap:8px;margin:0 0 18px;padding:0;border:0;text-align:left}
.mode-picker legend{margin-bottom:8px;font:900 13px var(--ui);color:var(--navy)}
.mode-option{display:flex;align-items:center;gap:10px;padding:10px 12px;border:2px solid #d3e0ea;border-radius:14px;background:#fff;cursor:pointer}
.mode-option:has(input:checked){border-color:var(--gs-a);background:color-mix(in srgb,var(--gs-a) 8%,white)}
.mode-option input{width:18px;height:18px;accent-color:var(--gs-a);flex:none}
.mode-option span{display:grid;gap:2px}
.mode-option b{font:900 14px var(--ui);color:var(--navy)}
.mode-option small{font:700 12px/1.35 var(--ui);color:#3b556d}
.mode-option.is-disabled{opacity:.55;cursor:not-allowed}
.mode-note{margin:2px 0 0;padding:8px 10px;border-radius:10px;background:#eef5fb;color:#24445f;font:700 12px/1.45 var(--ui)}
.mode-note.is-warning{background:#fff4d6;color:#6b4a07}
.result-card #change-mode{display:block;margin:10px auto 0}
/* Six choices stay readable after answering: one column beside the explanation. */
@media(min-width:900px){
 [data-screen="play"] .challenge-card[data-result] .answer-panel .options:has(button:nth-child(5)){grid-template-columns:1fr;gap:4px}
 [data-screen="play"] .challenge-card[data-result] .answer-panel .options:has(button:nth-child(5)) button{min-height:36px;padding:4px 10px}
}
