.goal-progress-info{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap;margin:9px 0 6px}.overview-results .goal-progress-info b,.map-goal-progress .goal-progress-info b{font-size:22px;color:#216447;letter-spacing:-.6px;line-height:1.2}.goal-progress-info>span{font-size:10px;color:var(--muted)}.overview-results .goal-progress-info strong,.map-goal-progress .goal-progress-info strong{display:block;flex-basis:100%;font-size:13px;letter-spacing:0;line-height:1.5;white-space:normal;color:#344937}.mission-meter{display:block;height:7px;border-radius:20px;overflow:hidden;background:#cedbd2;margin:7px 0}.mission-meter i{display:block;width:var(--progress);height:100%;border-radius:inherit;background:#27865b;transition:width .8s ease}.goal-coverage{display:block;color:#697b6e;font-size:9px;line-height:1.6}.game-stage{display:none}.map-goal-progress{padding:0 20px 12px;background:#f5f9f5}.map-goal-progress .goal-progress-info{margin-top:0}.map-goal-progress .goal-progress-info strong{flex-basis:auto;margin-left:auto}.map-goal-progress .mission-meter{height:6px}.game-score[hidden]{display:none}.dashboard-controls #dash-game{margin-left:0;font-size:11px}.game-score{display:flex;align-items:center;gap:30px;padding:14px 20px;border:1px solid #41616f;border-radius:14px;margin-bottom:14px}.game-score>div{margin-right:auto}.game-score small,.game-score strong,.game-score b{display:block}.game-score small{font-size:9px;line-height:1.7;letter-spacing:.5px}.game-score strong{font-size:19px}.game-score b{font-size:25px;color:#f1ce65;line-height:1.3}.game-score em{font-size:14px;font-style:normal;color:#b3c7d2}
/* Optional game theme; election map colors retain their established meanings. */
#comparison.game-mode{--ink:#edf9f8;--muted:#bbcad1;--border:#355360;--bg:#0c1a27;background:radial-gradient(ellipse at 15% 0,#183e48,transparent 55%),#0c1a27;color:#edf9f8;padding:20px;border-radius:20px;box-shadow:0 15px 70px #14374630}.game-mode .panel,.game-mode .overview-candidate{background:#142a37;border-color:#355360;color:#edf9f8}.game-mode .overview-name,.game-mode .map-focus-bar strong,.game-mode h2,.game-mode .screen-brand{color:#edf9f8}.game-mode .overview-candidate.active{box-shadow:0 0 0 2px #5adfc4,0 0 24px #5adfc430}.game-mode .overview-results .vote-metric{background:#173d3b}.game-mode .overview-results .vote-metric.manual{background:#453526}.game-mode .overview-results strong{color:#7bf2c5}.game-mode .overview-results .manual strong{color:#ffd98e}.game-mode .goal-progress-info b,.game-mode .map-goal-progress .goal-progress-info b{color:#7bf2c5}.game-mode .goal-progress-info strong,.game-mode .overview-results .goal-progress-info strong{color:#edf9f8}.game-mode .goal-coverage,.game-mode .goal-progress-info>span{color:#bdcdd4}.game-mode .mission-meter{height:10px;background:#082f35}.game-mode .mission-meter i{position:relative;background:linear-gradient(90deg,#2ba7a0,#79ffbd);box-shadow:0 0 12px #79ffbd80}.game-mode .mission-meter i::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 15%,#fff8 50%,transparent 85%);animation:mission-shimmer 3s linear infinite}.game-mode .game-stage{display:inline-block;margin-top:7px;font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#92f7d1}.game-mode .game-score{background:linear-gradient(110deg,#143d40,#202e48)}.game-mode .source-health{background:#173d3b;color:#bfdfd6}.game-mode .dual-maps article:last-child .source-health{background:#453526;color:#eed6b0}.game-mode .dashboard-map{background:#112635}.dashboard-page .game-mode .map-foot{background:#17332f;border-color:#365747}.dashboard-page .game-mode .map-foot strong{color:#7bf2c5}.dashboard-page .game-mode .dual-maps article:last-child .map-foot{background:#3b3024}.dashboard-page .game-mode .dual-maps article:last-child .map-foot strong{color:#ffd98e}.game-mode .map-goal-progress{background:#142a37}.game-mode .outside-summary{background:#39235b;color:#dac5ff}.game-mode .outside-votes{color:#dac5ff!important}.game-mode .notice{background:#183441;border-color:#355360;color:#d2e4e8}.game-mode .goal-celebration{border:2px solid #f3ce5d;box-shadow:0 0 55px #f3ce5d70}.game-mode .goal-trophy{animation:mission-trophy 1.6s ease-in-out infinite}.game-mode .dashboard-map .mission-complete{filter:drop-shadow(0 0 3px #ffd75d);stroke:#ffdf83;stroke-width:1.2}.game-mode .live-strip{box-shadow:0 0 15px #73f6c515}.game-mode #dash-game{background:#7041c8;color:white;border-color:#a886ed}.game-mode .game-score>span{min-width:140px}.game-mode .legend-view .entry-help{color:#b9cdd6}
@keyframes mission-grow{from{width:0}to{width:var(--progress)}}@keyframes mission-shimmer{from{transform:translateX(-100%)}to{transform:translateX(150%)}}@keyframes mission-trophy{50%{transform:rotate(-9deg) scale(1.1)}}
.comparison-fullscreen .map-goal-progress{padding:0 16px 7px}.comparison-fullscreen .goal-progress-info{margin:5px 0}.comparison-fullscreen .game-score{padding:9px 16px;margin-bottom:8px}.comparison-fullscreen .game-score strong{font-size:16px}.comparison-fullscreen .game-score b{font-size:21px}.comparison-fullscreen .goal-progress-info b{font-size:20px}.comparison-fullscreen.game-mode{border-radius:0}.comparison-fullscreen .overview-results .goal-progress-info strong{font-size:12px}.comparison-fullscreen .game-stage{margin-top:4px}
@media(max-width:650px){#comparison.game-mode{padding:12px}.game-score{gap:12px;flex-wrap:wrap}.game-score>div{flex-basis:100%}.game-score>span{flex:1}.map-goal-progress .goal-progress-info strong{flex-basis:100%;margin-left:0}.comparison-fullscreen .game-score{gap:10px}.game-mode .game-score>span{min-width:110px}}
@media(prefers-reduced-motion:reduce){.game-mode .mission-meter i,.game-mode .mission-meter i::after,.game-mode .goal-trophy{animation:none!important}.mission-meter i{transition:none}}
.game-mode select,.game-mode input,.game-mode .button,.game-mode .dashboard-views button{color:#e4f5f2;background:#203e4c;border-color:#496675}.game-mode .dashboard-views{background:#112b36}.game-mode .dashboard-views button.active,.game-mode .button.primary{background:#316856;color:white}.game-mode .performance-tag{color:#304a3d}.game-mode .performance-tag.gold{color:#66531b}
@media(min-width:851px){.comparison-fullscreen.game-mode .overview-candidate{padding:9px 12px}.comparison-fullscreen.game-mode .overview-results{margin-top:6px}.comparison-fullscreen.game-mode .overview-results .vote-metric{padding:8px 10px}.comparison-fullscreen.game-mode .goal-progress-info strong{font-size:11px}.comparison-fullscreen.game-mode .goal-coverage{font-size:8px}.comparison-fullscreen.game-mode .game-score{padding:6px 14px}.comparison-fullscreen.game-mode .overview-target{margin-top:2px}.comparison-fullscreen.game-mode .mission-meter{margin:4px 0;height:6px}}
#comparison.game-mode .dashboard-controls select{background:#203e4c;color:#edf9f8;border-color:#496675}#comparison.game-mode .dashboard-controls select option{background:#203e4c;color:#edf9f8}
@media(min-width:851px){.comparison-fullscreen .overview-results .goal-progress-info{margin:3px 0}.comparison-fullscreen .goal-coverage{line-height:1.2}.comparison-fullscreen .game-stage{font-size:8px}.comparison-fullscreen .overview-results .vote-unit{display:none}.comparison-fullscreen .overview-results .performance-tag{display:none}.comparison-fullscreen .overview-results .goal-progress-info strong{line-height:1.2}.comparison-fullscreen .map-goal-progress .game-stage,.comparison-fullscreen .map-goal-progress .goal-coverage{display:none}.comparison-fullscreen .overview-results .outside-votes{font-size:8px}.comparison-fullscreen .map-goal-progress .goal-progress-info b{font-size:18px}.comparison-fullscreen .map-goal-progress .goal-progress-info strong{font-size:12px}}
.game-mode .color-legend>span{background:#203e4c;color:#dceae8}.game-mode .eyebrow{color:#a9c9bd}.game-mode .badge{color:#234b3a}
@media(min-width:851px){
 .comparison-fullscreen .overview-results .goal-coverage,.comparison-fullscreen .overview-results .game-stage,.comparison-fullscreen .overview-results .vote-metric>small:not(:first-child):not(.outside-votes){display:none}
 .dashboard-page .comparison-fullscreen .overview-results strong{font-size:34px}.dashboard-page .comparison-fullscreen .overview-results .goal-progress-info strong{font-size:12px}
 .comparison-fullscreen .overview-results .goal-progress-info b{font-size:18px}.comparison-fullscreen .overview-results .goal-progress-info strong{flex-basis:auto;margin-left:auto}
 .comparison-fullscreen .game-score>div>small:last-child{display:none}.comparison-fullscreen .game-score>span{display:grid;grid-template-columns:auto auto;column-gap:12px;align-items:center}.comparison-fullscreen .game-score>span>small:last-child{grid-column:1 / -1}.comparison-fullscreen .game-score b{font-size:18px}.comparison-fullscreen .game-score{gap:24px;padding:5px 12px}
 .dashboard-page .comparison-fullscreen .map-foot strong{font-size:38px}.dashboard-page .comparison-fullscreen .map-foot{padding:7px 16px}.comparison-fullscreen .dashboard-map{min-height:160px}.comparison-fullscreen #map-view{min-height:420px}.comparison-fullscreen .dashboard-controls{gap:8px}.comparison-fullscreen .map-goal-progress .mission-meter{margin:3px 0}
}

/* Explicit tooltip contrast, both inside native fullscreen and under body. */
#dash-tooltip{background:#102f29;color:#f7fffb;border:1px solid #6c9988}#dash-tooltip b,#dash-tooltip strong{color:#f7fffb}#dash-tooltip small{color:#d1e8dc}#dash-tooltip em{color:#ffe09a}#dash-tooltip .outside-votes{color:#ddc5ff!important}
.game-rankings[hidden]{display:none!important}.game-rankings{background:#142a37;border:1px solid #41616f;border-radius:14px;padding:12px 14px;margin-bottom:14px;min-width:0;color:#edf9f8}.ranking-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.ranking-header>strong{font-size:12px}.ranking-header label{display:flex;align-items:center;gap:6px;font-size:9px;color:#bfd0d6}.ranking-header select{padding:5px;border-radius:6px;font-size:10px;max-width:150px;background:#203e4c;color:#edf9f8;border:1px solid #496675}.ranking-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ranking-columns>div{min-width:0}.ranking-columns h3{margin:0 0 6px;font-size:11px;color:#7bf2c5}.ranking-columns>div:last-child h3{color:#ffbf8f}.ranking-columns ol{list-style:none;padding:0;margin:0}.ranking-columns li{display:flex;align-items:center;gap:6px;border-top:1px solid #ffffff10;padding:6px 0;min-height:36px}.ranking-position{font-size:10px;color:#a9bec9;width:10px;flex:none}.ranking-city{flex:1;min-width:0}.ranking-city b{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ranking-city small{display:block;color:#b5c9d0;font-size:9px;margin-top:2px}.ranking-columns li>strong{color:#7bf2c5;font-size:12px;white-space:nowrap}.ranking-columns>div:last-child li>strong{color:#ffbf8f}.ranking-columns .ranking-empty{font-size:11px;color:#c1d0d5;line-height:1.6}#ranking-note{font-size:9px;line-height:1.5;color:#b5c9d0;margin:8px 0 0}
@media(min-width:1200px){.game-mode #profile-game-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(390px,1fr);gap:16px;align-items:start}.game-mode #profile-game-layout .overview-list{gap:10px}.game-mode #profile-game-layout .overview-candidate{flex-basis:280px}.game-mode #profile-game-layout .game-rankings{margin-top:36px}.comparison-fullscreen.game-mode #profile-game-layout .game-rankings{margin-top:35px;padding:9px 12px}.comparison-fullscreen .ranking-columns li{padding:4px 0;min-height:31px}.comparison-fullscreen #ranking-note{font-size:8px;margin-top:5px}}
@media(max-width:650px){.ranking-header{align-items:flex-start;flex-direction:column}.ranking-columns{gap:10px}.ranking-city b{white-space:normal}.ranking-columns li{flex-wrap:wrap}.ranking-columns li>strong{margin-left:16px}}
@media(min-width:851px){.game-mode.comparison-fullscreen #profile-game-layout .game-rankings{margin-top:0}.game-mode.comparison-fullscreen .dual-maps{min-height:360px}.game-mode.comparison-fullscreen #map-view{min-height:470px}.game-mode.comparison-fullscreen .dual-maps .panel-head,.game-mode.comparison-fullscreen .source-health,.game-mode.comparison-fullscreen .map-foot,.game-mode.comparison-fullscreen .map-goal-progress,.game-mode.comparison-fullscreen .outside-summary{flex-shrink:0}}
.game-visibility[hidden],#game-no-maps[hidden],#tse-map-panel[hidden],#manual-map-panel[hidden]{display:none!important}.game-visibility{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 10px;color:#bdd1d7;font-size:11px}.game-visibility>span{margin-right:4px}.game-visibility button{border:1px solid #496675;background:#172d3a;color:#bbcad1;border-radius:8px;padding:7px 10px;cursor:pointer;font:inherit}.game-visibility button[aria-pressed=true]{background:#275348;border-color:#6eb59b;color:#eafff5}.game-visibility button:focus-visible{outline:2px solid #f5d575;outline-offset:2px}.game-visibility small{font-size:10px}.dual-maps.single-map{grid-template-columns:minmax(0,1fr)!important}.single-map .dashboard-map svg{max-height:65vh}.comparison-fullscreen .single-map .dashboard-map svg{max-height:none}.comparison-fullscreen #municipal-details{flex:none;margin-top:18px}.game-mode #municipal-details{background:#142a37;color:#edf9f8}.game-mode #municipal-details th{color:#bfd5d9;background:#203e4c}.game-mode #municipal-details input{background:#203e4c;color:#edf9f8}.game-mode #goal-table small{color:#bfd5d9}.game-mode #municipal-details td{border-color:#355360}.game-mode #municipal-details .performance-tag{color:#304a3d}.comparison-fullscreen .game-visibility{flex:none;margin-bottom:8px}
.game-mode .single-map .dashboard-map{min-height:300px}.game-mode.comparison-fullscreen .single-map{min-height:510px}.game-mode.comparison-fullscreen .single-map .dashboard-map{min-height:300px}
