/* Country bonus round. Builds on styles.css. */
:root { --sea: #e3ecf1; --land: #ebe6dc; --land-edge: #b9b3a7; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --sea: #15202a; --land: #3a3731; --land-edge: #5c574f; }
}
:root[data-theme="dark"] { --sea: #15202a; --land: #3a3731; --land-edge: #5c574f; }

.bonus { margin: 0 0 48px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.bonus-locked { text-align: center; color: var(--ink-soft); font-size: 14px; }
.bonus-head { text-align: center; margin-bottom: 14px; }
.bonus-head .kicker {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--accent); padding: 3px 8px; border-radius: 4px;
}
.bonus-head h3 { font-family: var(--serif); font-weight: 700; font-size: 24px; line-height: 1.15; margin: 10px 0 6px; }
.bonus-head p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.bonus-map { margin: 0 auto 16px; max-width: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.bonus-map svg { display: block; width: 100%; height: auto; }
.bonus-map .sea { fill: var(--sea); }
.bonus-map .land { fill: var(--land); stroke: var(--land-edge); stroke-width: .6; stroke-linejoin: round; }
.bonus-map .target { fill: var(--accent); stroke: var(--surface); stroke-width: .8; stroke-linejoin: round; }

.bonus-pool { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 520px) { .bonus-pool { grid-template-columns: 1fr; } }
.bonus-pool .card { width: 100%; height: 100%; }
.bonus-pool .local { font-size: 11.5px; color: var(--ink-soft); margin-top: 6px; font-style: italic; }
.bonus-pool .card:disabled { cursor: default; }
.bonus-pool .card.st-g { opacity: 1; border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.bonus-pool .card.st-wrong { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.bonus-pool .card.st-wrong .tag { background: var(--accent); color: #fff; }
.bonus-pool .card.st-x { opacity: .6; }
.bonus-pool .card.st-x .title { text-decoration: none; }

.bonus-verdict { text-align: center; font-weight: 600; margin: 16px 0 0; }
.bonus-verdict.ok { color: var(--green); }
.bonus-verdict.no { color: var(--accent); }
.bonus-note { text-align: center; font-size: 12px; color: var(--ink-soft); margin-top: 14px; }
.bonus-pool .card.st-x .tag { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* Modal: "Play bonus" or "Share result", then the question itself */
.bonus-modal { max-width: min(480px, calc(100vw - 32px)); }
.bonus-modal .bonus-head { margin-bottom: 12px; }
.bonus-modal .bonus-head h2 { margin: 10px 0 6px; }
.bonus-map.small { max-width: 280px; margin-bottom: 14px; }
.bonus-choice { display: grid; gap: 8px; margin-top: 14px; }
.bonus-choice .cta { margin: 0; }
/* Cards as compact rows so three fit in the modal */
.bonus-modal .bonus-pool { grid-template-columns: 1fr; gap: 8px; }
.bonus-modal .card { flex-direction: row; align-items: stretch; }
.bonus-modal .card .img { width: 86px; flex: none; aspect-ratio: auto; min-height: 76px; }
.bonus-modal .card .img.noimg { font-size: 30px; }
.bonus-modal .card .body { padding: 8px 10px; padding-right: 74px; }
.bonus-modal .bonus-note { margin-bottom: 0; }

.bonus-launch { text-align: center; }
.bonus-launch .cta { margin-top: 4px; }
