.theme-picker{position:relative}.theme-picker-trigger{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:var(--surface);border:1px solid var(--border);border-radius:8px;color:var(--text);font-size:.9rem;transition:background .2s,border-color .2s}.theme-picker-trigger:hover{background:var(--surface-hover);border-color:var(--accent)}.theme-picker-icon{font-size:1.1rem;line-height:1}.theme-picker-label{font-weight:500}.theme-picker-menu{position:absolute;top:calc(100% + .25rem);right:0;min-width:10rem;padding:.25rem;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:0 8px 24px #00000059;z-index:100}.theme-picker-option{display:flex;align-items:center;gap:.5rem;width:100%;padding:.5rem .75rem;background:transparent;border:none;border-radius:6px;color:var(--text);font-size:.9rem;text-align:left;transition:background .15s}.theme-picker-option:hover{background:var(--surface-hover)}.theme-picker-option.active{background:var(--surface-hover);color:var(--accent);font-weight:600}.theme-picker-swatch{width:1rem;height:1rem;border-radius:4px;border:1px solid var(--border);flex-shrink:0}.theme-picker-swatch[data-theme-swatch=dark]{background:#1a2332}.theme-picker-swatch[data-theme-swatch=light]{background:#f1f5f9}.theme-picker-swatch[data-theme-swatch=ocean]{background:#0e7490}.theme-picker-swatch[data-theme-swatch=forest]{background:#166534}.theme-picker-swatch[data-theme-swatch=sunset]{background:#c2410c}.theme-picker-swatch[data-theme-swatch=highcontrast]{background:#000;border-color:#fff}.country-info{width:100%;max-width:900px;margin:0 auto}.country-info-nav{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-bottom:1.5rem}.country-info-label{font-size:.95rem;color:var(--text-muted);font-weight:500}.country-info-select{padding:.5rem .75rem;background:var(--surface);border:1px solid var(--border);border-radius:8px;color:var(--text);font-size:.95rem;font-weight:500;cursor:pointer;min-width:10rem}.country-info-select:hover,.country-info-select:focus{border-color:var(--accent);outline:none}.country-info-surprise{padding:.5rem .75rem;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:.9rem;font-weight:500;cursor:pointer}.country-info-surprise:hover{border-color:var(--accent);background:var(--surface-hover)}.country-info-picker-title{margin:0 0 .75rem;font-size:1rem;color:var(--text-muted);font-weight:500}.country-info-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.5rem;margin-bottom:2rem}.country-info-card{display:flex;flex-direction:column;align-items:center;gap:.35rem;padding:.5rem;border:2px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font-size:.8rem;text-align:center;cursor:pointer;transition:border-color .15s,background .15s,transform .1s}.country-info-card:hover{border-color:var(--accent);background:var(--surface-hover);transform:translateY(-1px)}.country-info-card.selected{border-color:var(--accent);background:var(--surface-hover)}.country-info-card-flag{display:block;border-radius:4px;object-fit:cover}.country-info-card-name{line-height:1.2;font-weight:500}.country-info-detail{padding:1.25rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.country-info-detail-header{display:flex;flex-wrap:wrap;gap:1.25rem;margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border)}.country-info-detail-flag{width:100%;max-width:280px;height:auto;border-radius:8px;object-fit:cover}.country-info-detail-meta{flex:1;min-width:200px}.country-info-detail-name{margin:0 0 .5rem;font-size:1.75rem;font-weight:700;color:var(--text)}.country-info-detail-native,.country-info-detail-capital,.country-info-detail-continent{margin:.25rem 0;font-size:.95rem;color:var(--text-muted)}.country-info-detail-native strong,.country-info-detail-capital strong,.country-info-detail-continent strong{color:var(--text)}.country-info-detail-borders{margin:.25rem 0;font-size:.9rem;color:var(--text-muted)}.country-info-detail-borders strong{color:var(--text);font-weight:500}.country-info-section{margin-bottom:1.25rem}.country-info-section h3{margin:0 0 .5rem;font-size:1.1rem;font-weight:600;color:var(--text)}.country-info-section p{margin:0;font-size:.95rem;line-height:1.6;color:var(--text-muted)}.country-info-fun ul{margin:0;padding-left:1.25rem}.country-info-fun li{margin:.35rem 0;font-size:.95rem;line-height:1.5;color:var(--text-muted)}.country-info-links{margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;gap:1rem}.country-info-link{font-size:.95rem;font-weight:500;color:var(--accent);text-decoration:none}.country-info-link:hover{color:var(--accent-hover);text-decoration:underline}.country-info-trail-btn{background:none;border:none;padding:0;font:inherit;cursor:pointer}@media (max-width: 768px){.country-info-nav{flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.country-info-select,.country-info-surprise{min-height:44px}.country-info-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:.5rem}.country-info-card{padding:.6rem .4rem;min-height:44px}.country-info-detail{padding:1rem}.country-info-detail-header{flex-direction:column;gap:1rem}.country-info-detail-name{font-size:1.35rem}.country-info-links{flex-direction:column;gap:.75rem}.country-info-link{display:inline-block;padding:.5rem 0;min-height:44px;line-height:1.4}}.ad-slot{overflow:hidden;background:var(--surface);border:1px solid var(--border)}.ad-slot--footer{width:100%;max-width:1200px;margin:0 auto 1rem;min-height:50px;border-radius:8px}@media (min-width: 768px){.ad-slot--footer{min-height:90px}}.ad-slot--sidebar{width:100%;max-width:300px;min-height:250px;margin-top:auto;border-radius:8px}.ad-slot-placeholder{display:flex;align-items:center;justify-content:center;min-height:inherit;color:var(--text-muted);font-size:.75rem}.ad-slot-label{opacity:.6}.home{min-height:100vh;display:flex;flex-direction:column}.home-header{width:100%;flex-shrink:0;padding:1.25rem 1rem;background:var(--surface);border-bottom:1px solid var(--border);box-shadow:0 1px 3px #00000014;box-sizing:border-box}.home-sidebar-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:1.25rem;cursor:pointer;flex-shrink:0;-webkit-tap-highlight-color:transparent}.home-sidebar-toggle:hover{background:var(--surface-hover);border-color:var(--accent)}.home-sidebar-backdrop{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:90;-webkit-tap-highlight-color:transparent}.home-header-inner{max-width:1200px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:1rem 1.5rem}.home-header-inner .logo-icon{font-size:2.25rem;line-height:1}.home-header-inner .logo-title{margin:0;font-size:1.75rem;font-weight:700;letter-spacing:-.02em;background:linear-gradient(135deg,#60a5fa,#a78bfa);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.home-header-inner .tagline{margin:0;font-size:.95rem;color:var(--text-muted)}.home-header .home-nav{margin-left:auto;margin-right:auto;margin-bottom:0}.home-body{display:flex;flex:1;min-height:0}.home-sidebar{width:220px;flex-shrink:0;padding:1.25rem 1rem;background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;gap:1.5rem}.home-sidebar-section{display:flex;flex-direction:column;gap:.5rem}.home-sidebar-label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.home-sidebar .theme-picker{width:100%}.home-sidebar .theme-picker-trigger{width:100%;justify-content:flex-start;box-sizing:border-box}.home-sidebar .theme-picker-menu{left:100%;right:auto;top:0;margin-left:.25rem}.home-sidebar-checkbox{display:flex;align-items:center;gap:.5rem;font-size:.9rem;color:var(--text);cursor:pointer}.home-sidebar-checkbox input{cursor:pointer}.home-stats{display:flex;flex-direction:column;gap:.5rem}.home-stat-row{display:flex;flex-direction:column;gap:.15rem}.home-stat-label{font-size:.8rem;font-weight:500;color:var(--text)}.home-stat-value{font-size:.75rem;color:var(--text-muted)}.home-stats-empty{margin:0;font-size:.8rem;color:var(--text-muted)}.home-leaderboard-list{margin:0;padding:0;list-style:none;font-size:.85rem;max-height:180px;overflow-y:auto}.home-leaderboard-row{display:flex;align-items:center;gap:.5rem;padding:.25rem 0;border-bottom:1px solid var(--border)}.home-leaderboard-row:last-child{border-bottom:none}.home-leaderboard-rank{flex-shrink:0;color:var(--text-muted);min-width:1.5rem}.home-leaderboard-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.home-leaderboard-score{flex-shrink:0;font-weight:600;color:var(--accent)}.home-leaderboard-env-msg{display:flex;flex-direction:column;gap:.35rem}.home-leaderboard-env-msg p,.home-leaderboard-empty,.home-leaderboard-loading,.home-leaderboard-error{margin:0;font-size:.8rem;color:var(--text-muted)}.home-leaderboard-error{color:#dc2626}.home-leaderboard-error-wrap{display:flex;flex-direction:column;gap:.5rem}.home-leaderboard-error-wrap .home-leaderboard-error{margin:0}.home-leaderboard-hint{margin:0;font-size:.75rem;color:var(--text-muted)}.home-leaderboard-hint code{font-size:.7rem}.home-leaderboard-test-btn{margin-top:.5rem;padding:.4rem .6rem;font-size:.8rem;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);cursor:pointer;-webkit-tap-highlight-color:transparent}.home-leaderboard-test-btn:hover{background:var(--surface-hover);border-color:var(--accent)}.home-leaderboard-test-btn:disabled{opacity:.7;cursor:not-allowed}.home-sidebar-bug-btn{width:100%;padding:.6rem .75rem;border:none;border-radius:8px;background:#dc2626;color:#fff;font-size:.9rem;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.35rem;-webkit-tap-highlight-color:transparent}.home-sidebar-bug-btn:hover{background:#b91c1c}.home-sidebar-bug-btn:active{background:#991b1b}.home-sidebar-coffee-btn{width:100%;padding:.6rem .75rem;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:.9rem;font-weight:600;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:.35rem;-webkit-tap-highlight-color:transparent;transition:background .15s,border-color .15s}.home-sidebar-coffee-btn:hover{background:var(--surface-hover);border-color:var(--accent)}.home-sidebar-coffee-btn:active{background:var(--surface-hover)}.bug-report-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:100;padding:1rem;box-sizing:border-box}.bug-report-modal{background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 32px #0003;width:100%;max-width:420px;max-height:90vh;overflow:auto}.bug-report-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid var(--border)}.bug-report-header h2{margin:0;font-size:1.15rem;font-weight:600;color:var(--text)}.bug-report-close{padding:.35rem;border:none;background:transparent;color:var(--text-muted);font-size:1.25rem;cursor:pointer;line-height:1;border-radius:6px;-webkit-tap-highlight-color:transparent}.bug-report-close:hover:not(:disabled){background:var(--surface-hover);color:var(--text)}.bug-report-form{padding:1.25rem;display:flex;flex-direction:column;gap:.75rem}.bug-report-label{font-size:.85rem;font-weight:600;color:var(--text)}.bug-report-input,.bug-report-textarea{width:100%;padding:.5rem .75rem;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:.9rem;font-family:inherit;box-sizing:border-box}.bug-report-textarea{resize:vertical;min-height:80px}.bug-report-input:focus,.bug-report-textarea:focus{outline:none;border-color:var(--accent)}.bug-report-input:disabled,.bug-report-textarea:disabled{opacity:.7;cursor:not-allowed}.bug-report-error{margin:0;font-size:.85rem;color:#dc2626}.bug-report-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:.5rem}.bug-report-cancel{padding:.5rem 1rem;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:.9rem;font-weight:500;cursor:pointer}.bug-report-cancel:hover:not(:disabled){background:var(--surface-hover)}.bug-report-submit{padding:.5rem 1.25rem;border:none;border-radius:8px;background:#dc2626;color:#fff;font-size:.9rem;font-weight:600;cursor:pointer}.bug-report-submit:hover:not(:disabled){background:#b91c1c}.bug-report-submit:disabled{opacity:.8;cursor:not-allowed}.bug-report-success{margin:0;padding:1.5rem 1.25rem;font-size:1rem;color:var(--text);text-align:center}.home-content{flex:1;display:flex;flex-direction:column;align-items:center;padding:2rem 1rem 3rem;min-width:0}.home-nav{display:flex;justify-content:center;gap:.5rem;margin-bottom:1.5rem}.home-nav-tab{padding:.6rem 1.25rem;border:2px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text-muted);font-size:1rem;font-weight:600;cursor:pointer;transition:border-color .15s,background .15s,color .15s}.home-nav-tab:hover{border-color:var(--accent);background:var(--surface-hover);color:var(--text)}.home-nav-tab.active{border-color:var(--accent);background:var(--accent);color:#fff}.home-main-info{width:100%}.home-main-leaderboard{width:100%;max-width:480px;margin:0 auto;padding:1.5rem 1rem}.home-leaderboard-title{margin:0 0 1rem;font-size:1.25rem;font-weight:700;color:var(--text)}.home-leaderboard-main-msg,.home-leaderboard-main-empty{margin:0;font-size:.95rem;color:var(--text-muted)}.home-leaderboard-main-error{display:flex;flex-direction:column;gap:.75rem}.home-leaderboard-main-error p{margin:0;font-size:.95rem;color:#dc2626}.home-leaderboard-main-list{margin:0 0 1rem;padding:0;list-style:none;counter-reset:rank;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--surface)}.home-leaderboard-main-row{display:grid;grid-template-columns:2.5rem 1fr auto;align-items:center;gap:.75rem;padding:.6rem 1rem;border-bottom:1px solid var(--border);font-size:1rem}.home-leaderboard-main-row:last-child{border-bottom:none}.home-leaderboard-main-rank{font-weight:700;color:var(--text-muted);min-width:1.5rem}.home-leaderboard-main-name{font-weight:500;overflow:hidden;text-overflow:ellipsis}.home-leaderboard-main-score{font-weight:700;color:var(--accent)}.home-leaderboard-main-actions{display:flex;flex-wrap:wrap;gap:.5rem}.home-leaderboard-refresh{padding:.5rem .75rem;font-size:.9rem;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);cursor:pointer;-webkit-tap-highlight-color:transparent}.home-leaderboard-refresh:hover:not(:disabled){background:var(--surface-hover);border-color:var(--accent)}.home-leaderboard-refresh:disabled{opacity:.7;cursor:not-allowed}.home-filters{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-bottom:1.5rem}.home-filter-label{font-size:.95rem;color:var(--text-muted);font-weight:500}.home-continent-select{padding:.5rem .75rem;background:var(--surface);border:1px solid var(--border);border-radius:8px;color:var(--text);font-size:.95rem;font-weight:500;cursor:pointer;min-width:10rem}.home-continent-select:hover,.home-continent-select:focus{border-color:var(--accent);outline:none}.home-player-name{width:100%}.home-name-edit{display:flex;flex-direction:column;gap:.5rem}.home-name-input{width:100%;padding:.5rem .6rem;border:1px solid var(--border);border-radius:6px;background:var(--bg);color:var(--text);font-size:.9rem;box-sizing:border-box}.home-name-input:focus{outline:none;border-color:var(--accent)}.home-name-input::placeholder{color:var(--text-muted)}.home-name-save{padding:.4rem .75rem;border:none;border-radius:6px;background:var(--accent);color:#fff;font-size:.9rem;font-weight:600;cursor:pointer}.home-name-save:hover{background:var(--accent-hover)}.home-name-greeting{margin:0;font-size:.9rem;color:var(--text-muted);display:flex;flex-wrap:wrap;align-items:center;gap:.25rem}.home-name-greeting strong{color:var(--text)}.home-name-change{padding:0;border:none;background:none;color:var(--accent);font-size:.85rem;cursor:pointer;text-decoration:underline}.home-name-change:hover{color:var(--accent-hover)}.home-name-prompt{width:100%;padding:.5rem .6rem;border:1px dashed var(--border);border-radius:6px;background:transparent;color:var(--text-muted);font-size:.9rem;cursor:pointer;text-align:left}.home-name-prompt:hover{border-color:var(--accent);color:var(--accent)}.home-name-save{width:100%}.home-main{width:100%;max-width:900px}.mode-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.25rem}.mode-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;text-align:left;transition:background .2s,border-color .2s,transform .15s}.mode-card:hover{background:var(--surface-hover);border-color:var(--accent);transform:translateY(-2px)}.mode-icon{font-size:2rem;display:block;margin-bottom:.75rem}.mode-card h2{margin:0 0 .5rem;font-size:1.25rem;font-weight:600}.mode-card p{margin:0;color:var(--text-muted);font-size:.9rem;line-height:1.5}.mode-card-daily{cursor:default}.mode-card-daily:hover{transform:none}.home-daily-play{margin-top:.75rem;padding:.5rem 1rem;border:none;border-radius:8px;background:var(--accent);color:#fff;font-size:.95rem;font-weight:600;cursor:pointer}.home-daily-play:hover{background:var(--accent-hover)}.home-footer{margin-top:auto;padding-top:2rem;color:var(--text-muted);font-size:.85rem;text-align:center}.home-footer p{margin:0}.home-shortcuts{margin-top:.5rem!important;font-size:.8rem;color:var(--text-muted)}.home-shortcuts kbd{padding:.15rem .35rem;border-radius:4px;background:var(--surface);border:1px solid var(--border);font-size:.75rem}@media (max-width: 768px){.home-sidebar-toggle{display:flex}.home-sidebar .theme-picker-menu{left:0;right:auto;top:100%;margin-left:0;margin-top:.25rem;min-width:100%}.home-header-inner{justify-content:flex-start;gap:.5rem 1rem;padding-left:.5rem;padding-right:.5rem}.home-header-inner .logo-icon{font-size:1.75rem}.home-header-inner .logo-title{font-size:1.35rem}.home-header-inner .tagline{font-size:.85rem;width:100%;order:10;margin-top:-.25rem}.home-nav{width:100%;order:10;margin-top:.25rem;margin-bottom:.5rem}.home-nav-tab{flex:1;padding:.75rem .5rem;font-size:.95rem}.home-body{position:relative}.home-sidebar-backdrop{display:block}.home-sidebar{position:fixed;top:0;left:0;bottom:0;width:min(280px,85vw);max-width:100%;z-index:100;transform:translate(-100%);transition:transform .25s ease-out;box-shadow:none;overflow-y:auto;-webkit-overflow-scrolling:touch}.home-sidebar-open{transform:translate(0);box-shadow:4px 0 20px #0000004d}.home-content{padding:1rem .75rem 2rem;width:100%}.home-filters{flex-wrap:wrap;margin-bottom:1rem}.home-continent-select{min-width:0;flex:1}.mode-grid{grid-template-columns:1fr;gap:1rem}.mode-card{padding:1.25rem;min-height:auto}.mode-card h2{font-size:1.15rem}.mode-card p{font-size:.9rem}.home-footer{padding-top:1.5rem;font-size:.8rem}.home-shortcuts{font-size:.75rem}}@media (max-width: 480px){.home-header{padding:.75rem .5rem}.home-header-inner .logo-title{font-size:1.2rem}.home-content{padding:.75rem .5rem 1.5rem}.mode-card{padding:1rem}}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.pin-game{min-height:100vh;display:flex;flex-direction:column;padding:1rem;max-width:900px;margin:0 auto}.pin-header{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:.75rem}.pin-header .btn-back{background:transparent;border:1px solid var(--border);color:var(--text);padding:.5rem .75rem;border-radius:8px;font-size:.9rem}.pin-header .btn-back:hover{background:var(--surface-hover)}.pin-header h1{margin:0;font-size:1.25rem;font-weight:600}.pin-stats{margin-left:auto;color:var(--text-muted);font-size:.9rem;display:flex;gap:1rem}.pin-prompt{margin:0 0 1rem;font-size:1.1rem;color:var(--text-muted)}.pin-prompt-correct{color:var(--success);font-weight:600}.pin-prompt-wrong{color:var(--error);font-weight:600}.pin-goal-wrap{display:inline-flex;align-items:center;gap:.25rem}.pin-goal-select{padding:.25rem .5rem;background:var(--surface);border:1px solid var(--border);border-radius:6px;color:var(--text);font-size:.85rem;cursor:pointer}.pin-goal-select:disabled{opacity:.8;cursor:default}.pin-game-over{padding:2rem 1rem;text-align:center}.pin-game-over-title{margin:0 0 .5rem;font-size:1.5rem;font-weight:700;color:var(--text)}.pin-game-over-stats{margin:0 0 1.5rem;font-size:1.1rem;color:var(--text-muted)}.pin-game-over-stats strong{color:var(--text)}.pin-game-over-actions{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center}.pin-btn-secondary{background:var(--surface)!important;color:var(--text)}.map-wrapper{position:relative;width:100%;height:0;padding-bottom:50%;border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);background:var(--surface)}@media (max-width: 768px){.pin-game{padding:.75rem}.pin-header h1{font-size:1.1rem}.map-wrapper{padding-bottom:65%}.map-wrapper .leaflet-control-zoom a{width:40px!important;height:40px!important;line-height:40px!important}.map-type-trigger{padding:.6rem .75rem;min-height:44px}}.map-wrapper .pin-map{position:absolute;top:0;left:0;right:0;bottom:0;cursor:crosshair;z-index:0}.map-wrapper .leaflet-control-zoom{border:1px solid var(--border)!important;border-radius:8px!important;overflow:hidden}.map-wrapper .leaflet-control-zoom a{background:var(--surface)!important;color:var(--text)!important;width:32px!important;height:32px!important;line-height:32px!important;font-size:18px!important}.map-wrapper .leaflet-control-zoom a:hover{background:var(--surface-hover)!important;color:var(--accent)!important}.map-type-selector-wrap{position:absolute;top:.5rem;right:.5rem;z-index:1000}.map-type-selector{position:relative}.map-type-trigger{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);font-size:.9rem;font-weight:500;cursor:pointer;transition:background .2s,border-color .2s,box-shadow .2s;box-shadow:0 2px 8px #0003}.map-type-trigger:hover{background:var(--surface-hover);border-color:var(--accent);box-shadow:0 4px 12px #00000040}.map-type-icon{font-size:1.1rem;line-height:1}.map-type-chevron{font-size:.65rem;opacity:.8;margin-left:.25rem}.map-type-menu{position:absolute;top:calc(100% + .35rem);right:0;min-width:11rem;padding:.35rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 8px 24px #00000059;z-index:1001}.map-type-option{display:flex;align-items:center;gap:.5rem;width:100%;padding:.5rem .75rem;background:transparent;border:none;border-radius:6px;color:var(--text);font-size:.9rem;text-align:left;cursor:pointer;transition:background .15s}.map-type-option:hover{background:var(--surface-hover)}.map-type-option.active{background:var(--surface-hover);color:var(--accent);font-weight:600}.map-type-option-icon{font-size:1rem;line-height:1}.map-wrapper .leaflet-control-attribution{background:#00000080!important;color:#fffc;font-size:10px}.pin-marker-icon{background:transparent!important;border:none!important}.pin-actions{margin-top:1rem;display:flex;justify-content:center}.pin-actions .btn-primary{background:var(--accent);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600}.pin-actions .btn-primary:hover{background:var(--accent-hover)}.trail-game{min-height:100vh;display:flex;flex-direction:column;padding:1.5rem;max-width:600px;margin:0 auto}.trail-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.trail-header .btn-back{background:transparent;border:1px solid var(--border);color:var(--text);padding:.5rem .75rem;border-radius:8px;font-size:.9rem}.trail-header .btn-back:hover{background:var(--surface-hover)}.trail-header h1{margin:0;font-size:1.25rem;font-weight:600}.trail-instruction{margin:0 0 1rem;color:var(--text-muted);line-height:1.5}.trail-instruction strong{color:var(--text)}.trail-chain{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.25rem;margin-bottom:1.5rem;min-height:3rem;font-size:1rem}.chain-item{color:var(--text)}.chain-arrow{color:var(--text-muted);font-weight:600}.chain-target{color:var(--accent);font-weight:600}.trail-form{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.trail-input{flex:1;min-width:180px;padding:.75rem 1rem;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:1rem}.trail-input:focus{outline:none;border-color:var(--accent)}.trail-input.input-error{border-color:var(--error)}.trail-form .btn-primary{background:var(--accent);color:#fff;border:none;padding:.75rem 1.25rem;border-radius:8px;font-size:1rem;font-weight:600}.trail-form .btn-primary:hover{background:var(--accent-hover)}.trail-feedback{width:100%;margin:0;font-size:.9rem}.trail-feedback.error{color:var(--error)}.trail-won{text-align:center;padding:2rem}.trail-won p{margin:0 0 1rem;font-size:1.25rem;color:var(--success)}.trail-won .btn-primary{background:var(--accent);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600}.trail-won .btn-primary:hover{background:var(--accent-hover)}.trail-empty{padding:2rem 1rem;text-align:center;color:var(--text-muted);line-height:1.6}.trail-empty p{margin:0 0 .5rem}.trail-empty strong{color:var(--text)}@media (max-width: 768px){.trail-game{padding:1rem}.trail-header h1{font-size:1.1rem}.trail-form{flex-direction:column;align-items:stretch}.trail-input{min-width:0;padding:.75rem 1rem;min-height:48px}.trail-form .btn-primary,.trail-won .btn-primary{min-height:48px;padding:.75rem 1rem}}.flag-game{min-height:100vh;display:flex;flex-direction:column;padding:1.5rem;max-width:500px;margin:0 auto}.flag-header{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.flag-header .btn-back{background:transparent;border:1px solid var(--border);color:var(--text);padding:.5rem .75rem;border-radius:8px;font-size:.9rem}.flag-header .btn-back:hover{background:var(--surface-hover)}.flag-header h1{margin:0;font-size:1.25rem;font-weight:600}.flag-stats{margin-left:auto;color:var(--text-muted);font-size:.9rem;display:flex;gap:1rem}.flag-prompt{margin:0 0 1rem;color:var(--text-muted);font-size:1rem}.flag-display{width:100%;aspect-ratio:16 / 10;border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);margin-bottom:1.5rem;background:var(--surface)}.flag-image{width:100%;height:100%;object-fit:cover}.flag-options{display:flex;flex-direction:column;gap:.5rem}.flag-option{padding:.85rem 1rem;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:1rem;text-align:left;transition:background .2s,border-color .2s}.flag-option:hover:not(:disabled){background:var(--surface-hover);border-color:var(--accent)}.flag-option.correct{border-color:var(--success);background:#22c55e26;color:var(--success)}.flag-option.wrong{border-color:var(--error);background:#ef444426;color:var(--error)}.flag-option:disabled{cursor:default;opacity:.9}.flag-actions{margin-top:1.5rem;display:flex;justify-content:center}.flag-actions .btn-primary{background:var(--accent);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600}.flag-actions .btn-primary:hover{background:var(--accent-hover)}.flag-summary-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:100;padding:1rem}.flag-summary{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;max-width:360px;width:100%}.flag-summary h2{margin:0 0 1rem;font-size:1.25rem;font-weight:600;color:var(--text)}.flag-summary-text{margin:0 0 1.25rem;font-size:1rem;color:var(--text-muted)}.flag-summary-text strong{color:var(--text)}.flag-summary-actions{display:flex;flex-wrap:wrap;gap:.75rem}.flag-summary-actions .btn-primary{background:var(--accent);color:#fff;border:none;padding:.6rem 1rem;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer}.flag-summary-actions .btn-primary:hover{background:var(--accent-hover)}.flag-summary-actions .btn-secondary{background:transparent;color:var(--text);border:1px solid var(--border);padding:.6rem 1rem;border-radius:8px;font-size:.95rem;cursor:pointer}.flag-summary-actions .btn-secondary:hover{background:var(--surface-hover)}.flag-end-session{padding:.35rem .6rem;border:1px solid var(--border);border-radius:6px;background:transparent;color:var(--text-muted);font-size:.8rem;cursor:pointer}.flag-end-session:hover{border-color:var(--accent);color:var(--accent)}@media (max-width: 768px){.flag-game{padding:1rem}.flag-header{gap:.5rem;margin-bottom:.75rem}.flag-header h1{font-size:1.1rem}.flag-option{padding:1rem;min-height:48px}.flag-summary-actions{gap:.5rem}.flag-summary-actions .btn-primary,.flag-summary-actions .btn-secondary{flex:1;min-width:120px;padding:.75rem 1rem}}.native-game{min-height:100vh;display:flex;flex-direction:column;padding:1.5rem;max-width:520px;margin:0 auto}.native-header{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.native-header .btn-back{background:transparent;border:1px solid var(--border);color:var(--text);padding:.5rem .75rem;border-radius:8px;font-size:.9rem}.native-header .btn-back:hover{background:var(--surface-hover)}.native-header h1{margin:0;font-size:1.25rem;font-weight:600}.native-stats{margin-left:auto;color:var(--text-muted);font-size:.9rem;display:flex;gap:1rem}.native-prompt{margin:0 0 1rem;font-size:1.1rem;color:var(--text-muted)}.native-prompt strong{color:var(--text)}.native-choices{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.native-choice{width:100%;padding:.875rem 1rem;border:2px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font-size:1rem;text-align:left;cursor:pointer;transition:border-color .15s,background .15s}.native-choice:hover:not(:disabled){border-color:var(--accent);background:var(--surface-hover)}.native-choice:focus{outline:none;border-color:var(--accent)}.native-choice.correct{border-color:var(--success);background:#22c55e26;cursor:default}.native-choice.wrong{border-color:var(--error);background:#ef444426;cursor:default}.native-choice:disabled{cursor:default}.native-result{margin-top:.5rem}.native-result p{margin:0 0 1rem;font-size:1.1rem}.native-result-correct{color:var(--success);font-weight:600}.native-result-wrong{color:var(--error)}.native-result .btn-primary{background:var(--accent);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600}.native-result .btn-primary:hover{background:var(--accent-hover)}.native-empty{padding:2rem 0;color:var(--text-muted);text-align:center}.native-summary-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:100;padding:1rem}.native-summary{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;max-width:360px;width:100%}.native-summary h2{margin:0 0 1rem;font-size:1.25rem;font-weight:600;color:var(--text)}.native-summary-text{margin:0 0 1.25rem;font-size:1rem;color:var(--text-muted)}.native-summary-text strong{color:var(--text)}.native-summary-actions{display:flex;flex-wrap:wrap;gap:.75rem}.native-summary-actions .btn-primary{background:var(--accent);color:#fff;border:none;padding:.6rem 1rem;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer}.native-summary-actions .btn-primary:hover{background:var(--accent-hover)}.native-summary-actions .btn-secondary{background:transparent;color:var(--text);border:1px solid var(--border);padding:.6rem 1rem;border-radius:8px;font-size:.95rem;cursor:pointer}.native-summary-actions .btn-secondary:hover{background:var(--surface-hover)}.native-end-session{padding:.35rem .6rem;border:1px solid var(--border);border-radius:6px;background:transparent;color:var(--text-muted);font-size:.8rem;cursor:pointer}.native-end-session:hover{border-color:var(--accent);color:var(--accent)}@media (max-width: 768px){.native-game{padding:1rem}.native-header h1{font-size:1.1rem}.native-option{padding:1rem;min-height:48px}.native-summary-actions .btn-primary,.native-summary-actions .btn-secondary{flex:1;min-width:100px;padding:.75rem 1rem}}.capital-game{min-height:100vh;display:flex;flex-direction:column;padding:1.5rem;max-width:520px;margin:0 auto}.capital-header{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.capital-header .btn-back{background:transparent;border:1px solid var(--border);color:var(--text);padding:.5rem .75rem;border-radius:8px;font-size:.9rem}.capital-header .btn-back:hover{background:var(--surface-hover)}.capital-header h1{margin:0;font-size:1.25rem;font-weight:600}.capital-stats{margin-left:auto;color:var(--text-muted);font-size:.9rem;display:flex;gap:1rem}.capital-prompt{margin:0 0 1rem;font-size:1.1rem;color:var(--text-muted)}.capital-prompt strong{color:var(--text)}.capital-choices{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.capital-choice{width:100%;padding:.875rem 1rem;border:2px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font-size:1rem;text-align:left;cursor:pointer;transition:border-color .15s,background .15s}.capital-choice:hover:not(:disabled){border-color:var(--accent);background:var(--surface-hover)}.capital-choice:focus{outline:none;border-color:var(--accent)}.capital-choice.correct{border-color:var(--success);background:#22c55e26;cursor:default}.capital-choice.wrong{border-color:var(--error);background:#ef444426;cursor:default}.capital-choice:disabled{cursor:default}.capital-result{margin-top:.5rem}.capital-result p{margin:0 0 1rem;font-size:1.1rem}.capital-result-correct{color:var(--success);font-weight:600}.capital-result-wrong{color:var(--error)}.capital-result .btn-primary{background:var(--accent);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600}.capital-result .btn-primary:hover{background:var(--accent-hover)}.capital-empty{padding:2rem 0;color:var(--text-muted);text-align:center}.capital-summary-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:100;padding:1rem}.capital-summary{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;max-width:360px;width:100%}.capital-summary h2{margin:0 0 1rem;font-size:1.25rem;font-weight:600;color:var(--text)}.capital-summary-text{margin:0 0 1.25rem;font-size:1rem;color:var(--text-muted)}.capital-summary-text strong{color:var(--text)}.capital-summary-actions{display:flex;flex-wrap:wrap;gap:.75rem}.capital-summary-actions .btn-primary{background:var(--accent);color:#fff;border:none;padding:.6rem 1rem;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer}.capital-summary-actions .btn-primary:hover{background:var(--accent-hover)}.capital-summary-actions .btn-secondary{background:transparent;color:var(--text);border:1px solid var(--border);padding:.6rem 1rem;border-radius:8px;font-size:.95rem;cursor:pointer}.capital-summary-actions .btn-secondary:hover{background:var(--surface-hover)}.capital-end-session{padding:.35rem .6rem;border:1px solid var(--border);border-radius:6px;background:transparent;color:var(--text-muted);font-size:.8rem;cursor:pointer}.capital-end-session:hover{border-color:var(--accent);color:var(--accent)}@media (max-width: 768px){.capital-game{padding:1rem}.capital-header h1{font-size:1.1rem}.capital-option{padding:1rem;min-height:48px}.capital-summary-actions .btn-primary,.capital-summary-actions .btn-secondary{flex:1;min-width:100px;padding:.75rem 1rem}}.map-game{min-height:100vh;display:flex;flex-direction:column;padding:1.5rem;max-width:560px;margin:0 auto}.map-header{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.map-header .btn-back{background:transparent;border:1px solid var(--border);color:var(--text);padding:.5rem .75rem;border-radius:8px;font-size:.9rem}.map-header .btn-back:hover{background:var(--surface-hover)}.map-header h1{margin:0;font-size:1.25rem;font-weight:600}.map-stats{margin-left:auto;color:var(--text-muted);font-size:.9rem;display:flex;gap:1rem}.map-instruction{margin:0 0 1rem;font-size:1rem;color:var(--text-muted)}.map-drop-zones{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.75rem;margin-bottom:1.5rem}.map-zone{min-height:88px;padding:.75rem;border:2px dashed var(--border);border-radius:10px;background:var(--surface);transition:border-color .2s,background .2s}.map-zone-drag-over{border-color:var(--accent);background:var(--surface-hover)}.map-zone-correct{border-style:solid;border-color:var(--success);background:#22c55e1a}.map-zone-wrong{border-style:solid;border-color:var(--error);background:#ef44441a}.map-zone-label{font-weight:600;font-size:.95rem;color:var(--text);margin-bottom:.5rem}.map-zone-placeholder{font-size:.85rem;color:var(--text-muted)}.map-zone-city{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.4rem .5rem;border-radius:6px;background:var(--bg);font-size:.9rem}.map-zone-city.correct{background:#22c55e33;color:var(--success)}.map-zone-city.wrong{background:#ef444433;color:var(--error)}.map-zone-remove{flex-shrink:0;width:22px;height:22px;padding:0;border:none;border-radius:4px;background:var(--border);color:var(--text);font-size:1.1rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}.map-zone-remove:hover{background:var(--error);color:#fff}.map-cities-pool{margin-bottom:1rem}.map-cities-label{display:block;font-size:.9rem;color:var(--text-muted);margin-bottom:.5rem}.map-cities-list{display:flex;flex-wrap:wrap;gap:.5rem}.map-city-chip{padding:.5rem .75rem;border-radius:8px;background:var(--surface);border:2px solid var(--border);font-size:.95rem;cursor:grab;-webkit-user-select:none;user-select:none;transition:border-color .15s,background .15s}.map-city-chip:hover{border-color:var(--accent);background:var(--surface-hover)}.map-city-chip:active{cursor:grabbing}.map-actions{margin-top:.5rem}.map-actions .btn-primary,.map-result .btn-primary{background:var(--accent);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600}.map-actions .btn-primary:hover,.map-result .btn-primary:hover{background:var(--accent-hover)}.map-result{margin-top:1rem}.map-result p{margin:0 0 1rem;font-size:1.1rem}.map-result-correct{color:var(--success);font-weight:600}.map-result-wrong{color:var(--text-muted)}.map-empty{padding:2rem 0;color:var(--text-muted);text-align:center}.map-summary-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:100;padding:1rem}.map-summary{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;max-width:360px;width:100%}.map-summary h2{margin:0 0 1rem;font-size:1.25rem;font-weight:600;color:var(--text)}.map-summary-text{margin:0 0 1.25rem;font-size:1rem;color:var(--text-muted)}.map-summary-text strong{color:var(--text)}.map-summary-actions{display:flex;flex-wrap:wrap;gap:.75rem}.map-summary-actions .btn-primary{background:var(--accent);color:#fff;border:none;padding:.6rem 1rem;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer}.map-summary-actions .btn-primary:hover{background:var(--accent-hover)}.map-summary-actions .btn-secondary{background:transparent;color:var(--text);border:1px solid var(--border);padding:.6rem 1rem;border-radius:8px;font-size:.95rem;cursor:pointer}.map-summary-actions .btn-secondary:hover{background:var(--surface-hover)}.map-end-session{padding:.35rem .6rem;border:1px solid var(--border);border-radius:6px;background:transparent;color:var(--text-muted);font-size:.8rem;cursor:pointer}.map-end-session:hover{border-color:var(--accent);color:var(--accent)}@media (max-width: 768px){.map-game{padding:1rem}.map-header h1{font-size:1.1rem}.map-drop-zones{grid-template-columns:1fr;gap:.75rem}.map-zone{min-height:80px;padding:1rem}.map-zone-city{min-height:44px}.map-summary-actions .btn-primary,.map-summary-actions .btn-secondary{flex:1;min-width:100px;padding:.75rem 1rem}}.bigger-game{min-height:100vh;display:flex;flex-direction:column;padding:1.5rem;max-width:520px;margin:0 auto}.bigger-header{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.bigger-header .btn-back{background:transparent;border:1px solid var(--border);color:var(--text);padding:.5rem .75rem;border-radius:8px;font-size:.9rem}.bigger-header .btn-back:hover{background:var(--surface-hover)}.bigger-header h1{margin:0;font-size:1.25rem;font-weight:600}.bigger-stats{margin-left:auto;color:var(--text-muted);font-size:.9rem;display:flex;align-items:center;gap:.75rem}.bigger-prompt{margin:0 0 1rem;font-size:1.1rem;color:var(--text-muted)}.bigger-prompt strong{color:var(--text)}.bigger-choices{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.bigger-choice{flex:1;min-width:120px;padding:1rem;border:2px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font-size:1rem;font-weight:600;cursor:pointer;transition:border-color .15s,background .15s}.bigger-choice:hover:not(:disabled){border-color:var(--accent);background:var(--surface-hover)}.bigger-choice.correct{border-color:var(--success);background:#22c55e26}.bigger-choice.wrong{border-color:var(--error);background:#ef444426}.bigger-choice:disabled{cursor:default}.bigger-vs{font-size:.9rem;color:var(--text-muted);font-weight:600}.bigger-result{margin-top:.5rem}.bigger-result p{margin:0 0 1rem;font-size:1.1rem}.bigger-result-correct{color:var(--success);font-weight:600}.bigger-result-wrong{color:var(--error)}.bigger-result .btn-primary{background:var(--accent);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600}.bigger-result .btn-primary:hover{background:var(--accent-hover)}.bigger-empty{padding:2rem 0;color:var(--text-muted);text-align:center}.bigger-summary-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:100;padding:1rem}.bigger-summary{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;max-width:360px;width:100%}.bigger-summary h2{margin:0 0 1rem;font-size:1.25rem;font-weight:600;color:var(--text)}.bigger-summary-text{margin:0 0 1.25rem;font-size:1rem;color:var(--text-muted)}.bigger-summary-text strong{color:var(--text)}.bigger-summary-actions{display:flex;flex-wrap:wrap;gap:.75rem}.bigger-summary-actions .btn-primary{background:var(--accent);color:#fff;border:none;padding:.6rem 1rem;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer}.bigger-summary-actions .btn-primary:hover{background:var(--accent-hover)}.bigger-summary-actions .btn-secondary{background:transparent;color:var(--text);border:1px solid var(--border);padding:.6rem 1rem;border-radius:8px;font-size:.95rem;cursor:pointer}.bigger-summary-actions .btn-secondary:hover{background:var(--surface-hover)}.bigger-end-session{padding:.35rem .6rem;border:1px solid var(--border);border-radius:6px;background:transparent;color:var(--text-muted);font-size:.8rem;cursor:pointer}.bigger-end-session:hover{border-color:var(--accent);color:var(--accent)}@media (max-width: 768px){.bigger-game{padding:1rem}.bigger-header h1{font-size:1.1rem}.bigger-choice{padding:1.25rem 1rem;min-height:56px}.bigger-summary-actions .btn-primary,.bigger-summary-actions .btn-secondary{flex:1;min-width:100px;padding:.75rem 1rem}}.spelling-game{min-height:100vh;display:flex;flex-direction:column;padding:1.5rem;max-width:520px;margin:0 auto}.spelling-header{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.spelling-header .btn-back{background:transparent;border:1px solid var(--border);color:var(--text);padding:.5rem .75rem;border-radius:8px;font-size:.9rem}.spelling-header .btn-back:hover{background:var(--surface-hover)}.spelling-header h1{margin:0;font-size:1.25rem;font-weight:600}.spelling-stats{margin-left:auto;color:var(--text-muted);font-size:.9rem;display:flex;align-items:center;gap:.75rem}.spelling-prompt{margin:0 0 1rem;font-size:1.1rem;color:var(--text-muted)}.spelling-prompt strong{color:var(--text)}.spelling-form{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin-bottom:1rem}.spelling-input{flex:1;min-width:180px;padding:.75rem 1rem;border:2px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font-size:1rem}.spelling-input:focus{outline:none;border-color:var(--accent)}.spelling-input.correct{border-color:var(--success);background:#22c55e1a}.spelling-input.wrong{border-color:var(--error);background:#ef44441a}.spelling-input:disabled{cursor:default}.spelling-form .btn-primary{background:var(--accent);color:#fff;border:none;padding:.75rem 1.25rem;border-radius:8px;font-size:1rem;font-weight:600}.spelling-result{margin-top:.5rem}.spelling-result p{margin:0 0 1rem;font-size:1.1rem}.spelling-result-correct{color:var(--success);font-weight:600}.spelling-result-wrong{color:var(--error)}.spelling-result .btn-primary{background:var(--accent);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600}.spelling-empty{padding:2rem 0;color:var(--text-muted);text-align:center}.spelling-summary-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:100;padding:1rem}.spelling-summary{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;max-width:360px;width:100%}.spelling-summary h2{margin:0 0 1rem;font-size:1.25rem;font-weight:600;color:var(--text)}.spelling-summary-text{margin:0 0 1.25rem;font-size:1rem;color:var(--text-muted)}.spelling-summary-text strong{color:var(--text)}.spelling-summary-actions{display:flex;flex-wrap:wrap;gap:.75rem}.spelling-summary-actions .btn-primary{background:var(--accent);color:#fff;border:none;padding:.6rem 1rem;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer}.spelling-summary-actions .btn-secondary{background:transparent;color:var(--text);border:1px solid var(--border);padding:.6rem 1rem;border-radius:8px;font-size:.95rem;cursor:pointer}.spelling-end-session{padding:.35rem .6rem;border:1px solid var(--border);border-radius:6px;background:transparent;color:var(--text-muted);font-size:.8rem;cursor:pointer}.spelling-end-session:hover{border-color:var(--accent);color:var(--accent)}@media (max-width: 768px){.spelling-game{padding:1rem}.spelling-header h1{font-size:1.1rem}.spelling-form input{padding:.75rem 1rem;min-height:48px;font-size:1rem}.spelling-form .btn-primary,.spelling-result .btn-primary{min-height:48px;padding:.75rem 1rem}.spelling-summary-actions .btn-primary,.spelling-summary-actions .btn-secondary{flex:1;min-width:100px;padding:.75rem 1rem}}:root,[data-theme=dark]{--bg: #0f1419;--surface: #1a2332;--surface-hover: #243044;--border: #2d3a4d;--text: #e6edf3;--text-muted: #8b9eb5;--accent: #3b82f6;--accent-hover: #2563eb;--success: #22c55e;--warning: #eab308;--error: #ef4444;--radius: 12px;--font-sans: "Outfit", system-ui, sans-serif;--font-mono: "JetBrains Mono", monospace}[data-theme=light]{--bg: #f8fafc;--surface: #ffffff;--surface-hover: #f1f5f9;--border: #e2e8f0;--text: #0f172a;--text-muted: #64748b;--accent: #2563eb;--accent-hover: #1d4ed8;--success: #16a34a;--warning: #ca8a04;--error: #dc2626}[data-theme=ocean]{--bg: #0c4a6e;--surface: #0e7490;--surface-hover: #0891b2;--border: #22d3ee;--text: #e0f2fe;--text-muted: #7dd3fc;--accent: #38bdf8;--accent-hover: #0ea5e9;--success: #2dd4bf;--warning: #fbbf24;--error: #f87171}[data-theme=forest]{--bg: #14532d;--surface: #166534;--surface-hover: #15803d;--border: #4ade80;--text: #dcfce7;--text-muted: #86efac;--accent: #22c55e;--accent-hover: #16a34a;--success: #4ade80;--warning: #facc15;--error: #f87171}[data-theme=sunset]{--bg: #431407;--surface: #9a3412;--surface-hover: #c2410c;--border: #fdba74;--text: #fff7ed;--text-muted: #fed7aa;--accent: #fb923c;--accent-hover: #f97316;--success: #4ade80;--warning: #fbbf24;--error: #f87171}[data-theme=highcontrast]{--bg: #000;--surface: #111;--surface-hover: #222;--border: #fff;--text: #fff;--text-muted: #ccc;--accent: #0ff;--accent-hover: #0dd;--success: #0f0;--warning: #ff0;--error: #f00}*{box-sizing:border-box}html{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}body{margin:0;font-family:var(--font-sans);background:var(--bg);color:var(--text);min-height:100vh;-webkit-font-smoothing:antialiased;overflow-x:hidden;font-size:16px}#root{min-height:100vh}button:not(.theme-picker-option),a[role=button],.mode-card,.flag-option,.native-option,.capital-option,.country-info-card,.home-nav-tab{min-height:44px}.home-nav-tab,.mode-card{min-width:44px}button,select,input{font-size:1rem}button{font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}input{font-family:inherit}.app{position:relative;min-height:100vh}[class$=-summary-overlay]{padding:1rem;align-items:flex-start;overflow-y:auto;-webkit-overflow-scrolling:touch}[class$=-summary]{margin:auto;max-height:calc(100vh - 2rem);overflow-y:auto}@media (max-width: 768px){[class$=-summary-overlay]{padding:.75rem}.btn-back{min-height:44px;padding:.6rem 1rem!important}}[data-reduce-motion=true] *,[data-reduce-motion=true] *:before,[data-reduce-motion=true] *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
