:root {
  --bg: #F8F6F2;
  --bg-soft: #FFF8EE;
  --panel: rgba(255,255,255,0.84);
  --panel-strong: rgba(255,255,255,0.94);
  --text: #17181C;
  --muted: #6C6F76;
  --line: #E7DED1;
  --blue: #2563EB;
  --cyan: #06B6D4;
  --orange: #F97316;
  --green: #22C55E;
  --yellow: #EAB308;
  --red: #EF4444;
  --ocean: #D9F0FF;
  --country: #EEF1F4;
  --country-border: #9AA7B5;
  --shadow: 0 18px 44px rgba(26, 33, 46, 0.08);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(37,99,235,0.16), transparent 20%),
    radial-gradient(circle at left center, rgba(6,182,212,0.16), transparent 22%),
    radial-gradient(circle at 78% 18%, rgba(249,115,22,0.14), transparent 16%),
    linear-gradient(180deg, #FCFBF8, var(--bg));
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
body {
  width: min(1420px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 32px;
  overflow-x: clip;
}
.mvp-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.mvp-logo { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.nav-right { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.nav-link-btn, .mvp-nav-btn, .mvp-btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-weight: 700;
}
.nav-link-btn {
  background: rgba(255,255,255,0.82);
  color: var(--text);
  border-color: var(--line);
}
.mvp-nav-btn, .mvp-btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  box-shadow: 0 14px 28px rgba(37,99,235,.18);
}
.mvp-btn-secondary {
  background: linear-gradient(135deg, #fff, var(--bg-soft));
  color: var(--text);
  border: 1px solid var(--line);
}
.nav-link-btn:hover, .mvp-nav-btn:hover, .mvp-btn:hover, .difficulty-card:hover, .summary-tab:hover { transform: scale(1.03); }
.full-width { width: 100%; }
.top-gap { margin-top: 10px; }
.mvp-page { margin-top: 24px; display: grid; gap: 24px; position: relative; z-index: 1; }
.mvp-hero, .mvp-card, .map-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.mvp-hero {
  min-height: 540px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px;
  background: linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,247,232,0.94));
}
.hero-orb, .hero-streak { position: absolute; pointer-events: none; }
.hero-orb { border-radius: 50%; filter: blur(10px); }
.orb-blue { width: 420px; height: 420px; right: 4%; top: -6%; background: radial-gradient(circle, rgba(37,99,235,0.24) 0%, transparent 66%); }
.orb-cyan { width: 320px; height: 320px; left: -6%; bottom: -8%; background: radial-gradient(circle, rgba(6,182,212,0.20) 0%, transparent 66%); }
.orb-orange { width: 260px; height: 260px; right: 16%; bottom: 8%; background: radial-gradient(circle, rgba(249,115,22,0.18) 0%, transparent 66%); }
.hero-streak { height: 12px; border-radius: 999px; transform: rotate(-16deg); }
.streak-a { width: 280px; right: 12%; top: 28%; background: linear-gradient(90deg, transparent, rgba(37,99,235,.75), transparent); }
.streak-b { width: 220px; right: 8%; top: 36%; background: linear-gradient(90deg, transparent, rgba(249,115,22,.68), transparent); }
.mvp-hero-content { position: relative; z-index: 1; max-width: 820px; }
.mvp-hero h1, .profile-title { margin: 0; font-size: clamp(48px, 8vw, 90px); line-height: .94; letter-spacing: -.06em; }
.profile-title { font-size: clamp(34px, 5vw, 58px); }
.mvp-subtitle { margin: 16px 0 0; font-size: clamp(18px, 2.2vw, 26px); color: var(--muted); }
.mvp-eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.mvp-eyebrow.blue { color: var(--blue); }
.mvp-eyebrow.orange { color: var(--orange); }
.mvp-eyebrow.green { color: var(--green); }
.mvp-grid.two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.mvp-grid.four-up { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.mvp-grid.four-up > .mvp-card {
  min-height: 122px;
  padding: 16px 20px 14px;
}
.mvp-grid.four-up .mvp-eyebrow {
  margin: 0 0 10px;
}
.mvp-grid.four-up .big-stat {
  gap: 16px;
}
.mvp-grid.four-up .big-stat span {
  font-size: 12px;
  line-height: 1.15;
}
.mvp-grid.four-up .big-stat strong {
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
}
.mvp-card { padding: 24px; background: linear-gradient(180deg, rgba(255,255,255,0.90), rgba(255,247,236,0.94)); }
.blue-block { background: linear-gradient(180deg, rgba(37,99,235,0.14), rgba(255,255,255,0.94)); }
.cyan-block { background: linear-gradient(180deg, rgba(6,182,212,0.14), rgba(255,255,255,0.94)); }
.orange-block { background: linear-gradient(180deg, rgba(249,115,22,0.16), rgba(255,255,255,0.94)); }
.neutral-block { background: linear-gradient(180deg, rgba(255,248,238,0.98), rgba(255,255,255,0.94)); }
.green-block { background: linear-gradient(180deg, rgba(34,197,94,0.14), rgba(255,255,255,0.94)); }
.stat-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 0; }
.stat-row span, .big-stat span, .history-head span { color: var(--muted); font-size: 13px; }
.stat-row strong, .big-stat strong, .history-row strong { font-size: 24px; font-weight: 800; }
.good-text { color: var(--green); }
.bad-text { color: var(--red); }
.orange-text { color: var(--orange); }
.blue-text { color: var(--blue); }
.game-page { gap: 18px; }
.difficulty-screen {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 170px);
  padding: 6px 0;
}
.difficulty-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: rgba(248,246,242,0.34);
  backdrop-filter: blur(12px);
}
.difficulty-screen > * { position: relative; z-index: 1; }
.difficulty-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: 100%; max-width: 1220px; }
.difficulty-card {
  min-height: 300px;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  cursor: pointer;
  padding: 32px;
  text-align: center;
  background: var(--panel);
}
.difficulty-card strong { font-size: 44px; line-height: 1.05; }
.easy-card { background: linear-gradient(180deg, rgba(34,197,94,0.20), rgba(255,255,255,0.98)); }
.medium-card { background: linear-gradient(180deg, rgba(234,179,8,0.22), rgba(255,255,255,0.98)); }
.hard-card { background: linear-gradient(180deg, rgba(239,68,68,0.20), rgba(255,255,255,0.98)); }
.game-shell { display: grid; gap: 18px; position: relative; z-index: 1; }
.game-mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.88);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.game-mini-top strong { font-size: 18px; }
.difficulty-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 14px; border-radius: 999px; font-weight: 700; }
.easy-pill { background: rgba(34,197,94,0.16); color: var(--green); }
.medium-pill { background: rgba(234,179,8,0.18); color: #a16207; }
.hard-pill { background: rgba(239,68,68,0.16); color: var(--red); }
.game-layout { display: grid; grid-template-columns: 1.1fr 0.42fr; gap: 24px; align-items: stretch; position: relative; z-index: 1; }
.map-shell { padding: 18px; background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(244,248,252,0.98)); overflow: clip; }
#map {
  width: 100%;
  min-height: 720px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #cfe0ef;
  position: relative;
  z-index: 0;
}
.game-side { display: grid; gap: 14px; align-content: start; }
.compact-card { padding: 20px; }
.action-card { display: grid; align-content: start; }
.tight-target-card { padding-top: 16px; padding-bottom: 16px; }
.target-row strong { font-size: clamp(20px, 2vw, 28px); line-height: 1.05; }
.unified-stats-card {
  background: linear-gradient(180deg, rgba(37,99,235,0.10), rgba(6,182,212,0.08), rgba(255,255,255,0.94));
}
.stat-emphasis-unified { color: #2f5fbe; }
.difficulty-display-card strong { font-size: 24px; }
.easy-display { background: linear-gradient(180deg, rgba(34,197,94,0.16), rgba(255,255,255,0.94)); }
.medium-display { background: linear-gradient(180deg, rgba(234,179,8,0.18), rgba(255,255,255,0.94)); }
.hard-display { background: linear-gradient(180deg, rgba(239,68,68,0.16), rgba(255,255,255,0.94)); }
.feedback-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 14px; margin-top: 14px; border-radius: 999px; background: linear-gradient(135deg, rgba(37,99,235,0.14), rgba(6,182,212,0.16)); color: var(--blue); font-weight: 700; }
.summary-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.summary-tab {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.82);
  color: var(--muted);
  cursor: pointer;
  transition: .2s ease;
  font-weight: 700;
}
.summary-tab.active[data-summary="overall"] { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; border-color: transparent; }
.summary-tab.active[data-summary="easy"] { background: rgba(34,197,94,0.16); color: var(--green); border-color: rgba(34,197,94,0.22); }
.summary-tab.active[data-summary="medium"] { background: rgba(234,179,8,0.20); color: #a16207; border-color: rgba(234,179,8,0.24); }
.summary-tab.active[data-summary="hard"] { background: rgba(239,68,68,0.16); color: var(--red); border-color: rgba(239,68,68,0.24); }
.results-layout { display: grid; grid-template-columns: 1fr 0.8fr; gap: 22px; }
.results-main { min-height: 380px; display: grid; place-items: center; text-align: center; }
.result-gradient-blue { background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(6,182,212,0.14), rgba(255,255,255,0.94)); }
.results-side, .profile-sections { display: grid; gap: 16px; }
.result-actions { display: grid; gap: 14px; }
.history-list, .full-history-list { display: grid; gap: 12px; margin-top: 12px; }
.history-head-clean, .history-row-clean {
  display: grid;
  grid-template-columns: 1.45fr .75fr 1fr .9fr 1fr;
  gap: 12px;
  align-items: center;
}
.history-head-clean { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.history-row-clean { padding: 14px 0; border-bottom: 1px solid rgba(231,222,209,0.8); }
.pagination-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 16px; }
.leaflet-container { background: var(--ocean); }
.leaflet-control-zoom { display: none; }
.leaflet-control-attribution { display: none; }
.leaflet-pane, .leaflet-top, .leaflet-bottom { z-index: 1 !important; }
.leaflet-interactive { cursor: pointer; transition: fill .2s ease, stroke .2s ease, opacity .2s ease; }
.compact-game-layout { grid-template-columns: 1.08fr 0.4fr; gap: 18px; align-items: stretch; }
.compact-map-shell { padding: 14px; }
.compact-side-panel { gap: 10px; }
.compact-side-panel .compact-card { padding: 14px; }
.compact-side-panel .stat-row { padding: 4px 0; }
.compact-action-card { gap: 10px; }
.compact-action-card .top-gap { margin-top: 0; }
.answer-input {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  font: inherit;
}
.game-page {
  min-height: calc(100vh - 110px);
}
.game-shell {
  min-height: calc(100vh - 150px);
}
.hidden { display: none !important; }
@media (max-width: 1100px) {
  .mvp-grid.two-up, .mvp-grid.four-up, .game-layout, .difficulty-grid, .results-layout, .profile-sections { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { width: min(100% - 20px, 1320px); }
  .mvp-nav, .mvp-hero, .game-mini-top, .pagination-row { flex-direction: column; align-items: stretch; }
  .nav-right { width: 100%; justify-content: flex-start; }
  #map { min-height: 520px; }
  .mvp-hero { min-height: 460px; padding: 28px; }
  .history-head-clean, .history-row-clean { grid-template-columns: 1fr 1fr; }
  .summary-tabs { justify-content: flex-start; }
}

/* homepage stat card typography final override */
.mvp-page .mvp-grid.four-up > .mvp-card .big-stat strong {
  font-size: 22px !important;
  line-height: 1 !important;
}
.mvp-page .mvp-grid.four-up > .mvp-card .big-stat {
  gap: 16px !important;
}
.mvp-page .mvp-grid.four-up > .mvp-card .mvp-eyebrow {
  margin-bottom: 10px !important;
}

/* precise polish overrides */
.mvp-grid.four-up > .mvp-card {
  min-height: 122px !important;
  padding: 14px 20px 12px !important;
}
.mvp-grid.four-up > .mvp-card .big-stat {
  gap: 16px !important;
}
.mvp-grid.four-up > .mvp-card .big-stat span {
  font-size: 11px !important;
  line-height: 1.2 !important;
}
.mvp-grid.four-up > .mvp-card .big-stat strong {
  font-size: 18px !important;
  line-height: 1 !important;
}
.difficulty-screen {
  min-height: calc(100vh - 170px) !important;
  padding: 6px 0 !important;
}
.difficulty-grid {
  gap: 20px !important;
  max-width: 1100px !important;
}
.difficulty-card {
  min-height: 240px !important;
  padding: 28px !important;
}
.difficulty-card strong {
  font-size: 38px !important;
}
.tight-target-card {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}
.target-row strong {
  font-size: clamp(20px, 2vw, 28px) !important;
  line-height: 1.05 !important;
}
.unified-stats-card {
  background: linear-gradient(180deg, rgba(37,99,235,0.10), rgba(6,182,212,0.08), rgba(255,255,255,0.94)) !important;
}
.stat-emphasis-unified {
  color: #2f5fbe !important;
}

/* two-mode platform additions */
.hero-mode-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.hero-mode-card {
  text-align: left;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.mode-copy {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}
.mini-mode-stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}
.answer-input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  color: var(--text);
  outline: none;
}
.answer-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.10);
}
@media (max-width: 1100px) {
  .hero-mode-grid { grid-template-columns: 1fr; }
}

/* homepage/game mode cleanup */
.compact-hero-card {
  min-height: 150px;
  display: grid;
  align-content: space-between;
}
.compact-hero-card .mvp-eyebrow {
  margin-bottom: 0;
}
/* profile stats platform layout */
.stats-mode-card {
  display: grid;
  gap: 14px;
}
.mode-tabs {
  justify-content: flex-start;
}
.history-head-5,
.history-row-5 {
  display: grid;
  grid-template-columns: 1.4fr .9fr .8fr .8fr 1fr;
  gap: 12px;
  align-items: center;
}
.history-head-5 {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.history-row-5 {
  padding: 14px 0;
  border-bottom: 1px solid rgba(231,222,209,0.8);
}
.outline-map-shell #outlineMap {
  width: 100%;
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #cfe0ef;
  background: #d9f0ff;
}
@media (max-width: 760px) {
  .history-head-5,
  .history-row-5 {
    grid-template-columns: 1fr 1fr;
  }
}
0ff;
}
@media (max-width: 760px) {
  .history-head-5,
  .history-row-5 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Salbash / TerraRush navigation structure */
.salbash-left,
.terra-brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.salbash-brand,
.terrarush-logo-link {
  color: inherit;
  text-decoration: none;
}
.salbash-section-link {
  min-height: 40px;
  padding: 0 14px;
}
.terra-home-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.84);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}
.terra-home-icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(31,42,46,0.08);
}
.salbash-nav {
  justify-content: flex-start;
}
.salbash-hero .mvp-hero-content {
  max-width: 780px;
}
@media (max-width: 760px) {
  .salbash-left,
  .terra-brand-wrap {
    width: 100%;
    justify-content: flex-start;
  }
}
/* TerraRush earth-inspired theme restore */
:root {
  --bg: #F3EFE6;
  --bg-soft: #ECE5D7;
  --panel: rgba(248, 245, 239, 0.86);
  --panel-strong: rgba(244, 240, 232, 0.94);
  --text: #1F2A2E;
  --muted: #5E6966;
  --line: rgba(95, 112, 101, 0.12);
  --blue: #4F7C82;
  --cyan: #6A98A6;
  --orange: #A89A6B;
  --green: #6F9B6C;
  --yellow: #C5B37A;
  --red: #B46A5A;
  --ocean: #D7E2E2;
  --country: #E8E4DB;
  --country-border: #9FA89D;
  --shadow: 0 12px 28px rgba(31, 42, 46, 0.07);
}
html, body {
  background:
    radial-gradient(circle at 14% 18%, rgba(106,152,166,0.10), transparent 22%),
    radial-gradient(circle at 82% 24%, rgba(111,155,108,0.10), transparent 24%),
    radial-gradient(circle at 60% 84%, rgba(216,200,166,0.12), transparent 26%),
    linear-gradient(180deg, #F7F3EB 0%, #EEE7DA 100%);
}
body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
body::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='480' viewBox='0 0 480 480'%3E%3Cg fill='none' stroke='%235d7065' stroke-opacity='0.10' stroke-width='1.1'%3E%3Cpath d='M20 120c50-40 110-40 160 0s110 40 160 0 90-40 120-20'/%3E%3Cpath d='M-10 180c60-46 120-46 180 0s120 46 180 0 90-46 150-12'/%3E%3Cpath d='M30 250c55-38 105-38 160 0s105 38 160 0 105-38 150 0'/%3E%3Cpath d='M-20 315c62-42 122-42 184 0s122 42 184 0 92-42 142-14'/%3E%3Cpath d='M20 385c58-36 118-36 176 0s118 36 176 0 96-36 148-8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 640px 640px;
  background-repeat: repeat;
  opacity: 0.22;
}
body::after {
  background:
    radial-gradient(circle at 8% 82%, rgba(79,124,130,0.10), transparent 18%),
    radial-gradient(circle at 92% 12%, rgba(111,155,108,0.08), transparent 20%);
}
body > * {
  position: relative;
  z-index: 1;
}
.mvp-nav,
.mvp-card,
.map-shell,
.mvp-hero {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.mvp-nav {
  background: rgba(246,243,236,0.90);
}
.nav-link-btn {
  background: rgba(250,248,243,0.88);
  border-color: rgba(95,112,101,0.10);
}
.mvp-btn-primary,
.mvp-nav-btn {
  background: linear-gradient(135deg, #4F7C82, #6F9B6C);
  color: #fff;
  box-shadow: 0 10px 22px rgba(63,95,69,0.14);
}
.mvp-btn-secondary {
  background: linear-gradient(135deg, rgba(246,242,235,0.98), rgba(234,228,216,0.96));
  color: var(--text);
  border: 1px solid rgba(95,112,101,0.14);
}
.nav-link-btn:hover,
.mvp-nav-btn:hover,
.mvp-btn:hover,
.difficulty-card:hover,
.summary-tab:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(31,42,46,0.08);
}
.mvp-hero {
  background:
    radial-gradient(circle at 18% 20%, rgba(106,152,166,0.10), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(111,155,108,0.10), transparent 24%),
    linear-gradient(180deg, rgba(248,245,239,0.96), rgba(240,234,224,0.94));
}
.hero-orb,
.hero-streak {
  display: none;
}
.mvp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='520' viewBox='0 0 900 520'%3E%3Cg fill='none' stroke='%236e7f52' stroke-opacity='0.08' stroke-width='1.2'%3E%3Cpath d='M-40 110c120-70 240-70 360 0s240 70 360 0 180-70 260-20'/%3E%3Cpath d='M-20 190c100-52 220-52 320 0s220 52 320 0 180-52 260-12'/%3E%3Cpath d='M0 300c120-64 230-64 340 0s230 64 340 0 180-64 260-18'/%3E%3Cpath d='M-20 390c110-48 220-48 330 0s220 48 330 0 180-48 260-14'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  pointer-events: none;
}
.blue-block {
  background: linear-gradient(180deg, rgba(79,124,130,0.12), rgba(249,247,242,0.96));
}
.cyan-block {
  background: linear-gradient(180deg, rgba(106,152,166,0.12), rgba(249,247,242,0.96));
}
.orange-block {
  background: linear-gradient(180deg, rgba(168,154,107,0.14), rgba(249,247,242,0.96));
}
.green-block {
  background: linear-gradient(180deg, rgba(111,155,108,0.12), rgba(249,247,242,0.96));
}
.neutral-block {
  background: linear-gradient(180deg, rgba(245,241,234,0.98), rgba(250,248,243,0.94));
}
.easy-card {
  background: linear-gradient(180deg, rgba(111,155,108,0.18), rgba(250,248,243,0.98));
}
.medium-card {
  background: linear-gradient(180deg, rgba(106,152,166,0.18), rgba(250,248,243,0.98));
}
.hard-card {
  background: linear-gradient(180deg, rgba(168,154,107,0.20), rgba(250,248,243,0.98));
}
.easy-pill { background: rgba(111,155,108,0.16); color: #486C49; }
.medium-pill { background: rgba(106,152,166,0.16); color: #466B73; }
.hard-pill { background: rgba(168,154,107,0.18); color: #7C6B43; }
.easy-display { background: linear-gradient(180deg, rgba(111,155,108,0.14), rgba(248,245,239,0.96)); }
.medium-display { background: linear-gradient(180deg, rgba(106,152,166,0.14), rgba(248,245,239,0.96)); }
.hard-display { background: linear-gradient(180deg, rgba(168,154,107,0.16), rgba(248,245,239,0.96)); }
.game-mini-top {
  background: rgba(246,243,236,0.90);
}
.map-shell,
.compact-map-shell,
.outline-map-shell {
  background: linear-gradient(180deg, rgba(237,235,228,0.98), rgba(230,228,220,0.98)) !important;
}
#map,
#outlineMap,
.outline-map-shell #outlineMap {
  background: #DCE5E2 !important;
  border-color: #C4CDC6 !important;
}
.leaflet-container {
  background: #DCE5E2 !important;
}
.answer-input {
  background: rgba(252,250,246,0.96);
  border-color: rgba(95,112,101,0.12);
  color: var(--text);
}
.answer-input:focus {
  border-color: rgba(79,124,130,0.28);
  box-shadow: 0 0 0 3px rgba(79,124,130,0.10);
}
.correct-result-card {
  background: linear-gradient(180deg, rgba(111,155,108,0.22), rgba(248,245,239,0.96)) !important;
}
.incorrect-result-card {
  background: linear-gradient(180deg, rgba(180,106,90,0.18), rgba(248,245,239,0.96)) !important;
}
.good-text { color: #486C49; }
.bad-text { color: #9A5B4A; }
.orange-text { color: #8C7B52; }
.blue-text { color: #466B73; }
.result-gradient-blue {
  background: linear-gradient(135deg, rgba(79,124,130,0.16), rgba(111,155,108,0.12), rgba(248,245,239,0.96));
}
.summary-tab.active[data-summary="overall"] {
  background: linear-gradient(135deg, #4F7C82, #6F9B6C);
  color: #fff;
}
.summary-tab.active[data-summary="easy"] { background: rgba(111,155,108,0.16); color: #486C49; border-color: rgba(111,155,108,0.22); }
.summary-tab.active[data-summary="medium"] { background: rgba(106,152,166,0.16); color: #466B73; border-color: rgba(106,152,166,0.24); }
.summary-tab.active[data-summary="hard"] { background: rgba(168,154,107,0.18); color: #7C6B43; border-color: rgba(168,154,107,0.24); }
