.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;top:0;left:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:0 0}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{-webkit-transform-origin:0 0;width:1600px;height:1600px}.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{width:auto;padding:0;max-width:none!important;max-height:none!important}.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:#33b5e566}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;z-index:800;width:0;height:0}.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{z-index:800;pointer-events:visiblePainted;pointer-events:auto;position:relative}.leaflet-top,.leaflet-bottom{z-index:1000;pointer-events:none;position:absolute}.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;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{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{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.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{outline-offset:1px;background:#ddd}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:#ffffff80;border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px #000000a6}.leaflet-bar a{text-align:center;color:#000;background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;text-decoration:none;display:block}.leaflet-bar a,.leaflet-control-layers-toggle{background-position: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:none;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.leaflet-bar a.leaflet-disabled{cursor:default;color:#bbb;background-color:#f4f4f4}.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-right-radius:2px;border-bottom-left-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{text-indent:1px;font:700 18px Lucida Console,Monaco,monospace}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px #0006}.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/POLof0XLK61mZCmJS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dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/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{color:#333;background:#fff;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{padding-right:5px;overflow:hidden scroll}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{font-size:1.08333em;display:block}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;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+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQY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XF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;padding:0 5px;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{width:1em;height:.6669em;vertical-align:baseline!important;display:inline!important}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{white-space:nowrap;box-sizing:border-box;text-shadow:1px 1px #fff;background:#fffc;border:2px solid #777;border-top:none;padding:2px 5px 1px;line-height:1.1}.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{background-clip:padding-box;border:2px solid #0003}.leaflet-popup{text-align:center;margin-bottom:20px;position:absolute}.leaflet-popup-content-wrapper{text-align:left;border-radius:12px;padding:1px}.leaflet-popup-content{min-height:1px;margin:13px 24px 13px 20px;font-size:1.08333em;line-height:1.3}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{pointer-events:none;width:40px;height:20px;margin-top:-1px;margin-left:-20px;position:absolute;left:50%;overflow:hidden}.leaflet-popup-tip{pointer-events:auto;width:17px;height:17px;margin:-10px auto 0;padding:1px;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{color:#333;background:#fff;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{text-align:center;color:#757575;background:0 0;border:none;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;text-decoration:none;position:absolute;top:0;right:0}.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{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";width:24px;filter:progid:DXImageTransform.Microsoft.Matrix(M11=.707107, M12=.707107, M21=-.707107, M22=.707107);margin:0 auto}.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{color:#222;white-space:nowrap;-webkit-user-select:none;user-select:none;pointer-events:none;background-color:#fff;border:1px solid #fff;border-radius:3px;padding:6px;position:absolute;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{pointer-events:none;content:"";background:0 0;border:6px solid #0000;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{margin-left:-6px;left:50%}.leaflet-tooltip-top:before{border-top-color:#fff;margin-bottom:-12px;bottom:0}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-top:-12px;margin-left:-6px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;margin-left:-12px;left:0}@media print{.leaflet-control{-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;print-color-adjust:exact}}:root{--primary:#5b92e5;--primary-hover:#4880d1;--primary-dark:#2f5fa8;--bg-light:#f8fafc;--surface:#fff;--border:#e2e8f0;--muted:#64748b;--text:#0f172a;--correct:#22c55e;--wrong:#ef4444;--tip-bg:#fefce8;--tip-border:#fde047}*{box-sizing:border-box}body{color:var(--text);height:100vh;background-color:var(--bg-light);flex-direction:column;height:100dvh;margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:flex;overflow:hidden}button:focus-visible{outline:3px solid var(--primary);outline-offset:2px}a:focus-visible{outline:3px solid var(--primary);outline-offset:2px}@media (prefers-reduced-motion:reduce){*{transition-duration:.01ms!important;animation-duration:.01ms!important}}header{border-bottom:1px solid var(--border);z-index:1;background:#fff;flex-shrink:0;padding:15px 20px;position:relative}.header-content{justify-content:space-between;align-items:center;max-width:1600px;margin:0 auto;display:flex}h1{margin:0;font-size:1.5rem}.status-bar{gap:22px;font-size:1.05rem;font-weight:600;display:flex}main{z-index:1;flex-grow:1;width:100%;max-width:1600px;margin:0 auto;display:flex;position:relative;overflow:hidden}.sidebar{border-right:1px solid var(--border);background:#fff;flex-direction:column;flex-shrink:0;width:400px;padding:20px;display:flex;overflow:hidden}.map-container{background:#fff;flex-grow:1;position:relative}.leaflet-container{background:#fff}#map{width:100%;height:100%}.script-display{text-align:center;background:var(--surface);border:1px solid var(--border);overflow-wrap:break-word;word-break:break-word;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;height:150px;margin-bottom:20px;padding:20px 16px;font-size:2.2rem;line-height:1.35;display:flex;overflow:hidden;box-shadow:0 1px 2px #0000000a}.script-display.sign-mode{background:linear-gradient(#bfdbfe,#e0f2fe 70%,#dcfce7);padding:8px 10px}.sign-svg{width:100%;height:100%;max-height:134px}.instructions{margin:0 0 10px;font-size:1.1rem;font-weight:700}.sub-instruction{color:#475569;margin:0 0 15px;font-size:.95rem}#progress-summary{flex-direction:column;flex-shrink:0;gap:8px;display:flex}#progress-summary:not(:empty){margin-bottom:18px}.progress-collapse{border:1px solid var(--border);background:var(--surface);border-radius:10px;overflow:hidden}.progress-bar{cursor:pointer;align-items:center;gap:8px;padding:8px 10px;list-style:none;display:flex}.progress-bar::-webkit-details-marker{display:none}.ppill-row{flex-wrap:wrap;flex:1;gap:6px;min-width:0;display:flex}.ppill{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;gap:4px;padding:2px 9px;font-size:.82rem;font-weight:600;display:inline-flex}.ppill.ok{color:#166534;background:#dcfce7;border-color:#bbf7d0}.ppill.bad{color:#991b1b;background:#fee2e2;border-color:#fecaca}.progress-caret{color:var(--muted);flex-shrink:0;display:inline-flex}.progress-caret .icon{width:1.1em;height:1.1em;transition:transform .2s}.progress-collapse[open] .progress-caret .icon{transform:rotate(180deg)}.progress-detail{flex-direction:column;gap:8px;max-height:34vh;padding:0 10px 10px;display:flex;overflow-y:auto}.progress-tip{color:#713f12;background:var(--tip-bg);border:1px solid var(--tip-border);border-radius:6px;margin-top:6px;padding:6px 8px;font-size:.82rem;line-height:1.4}.progress-tip strong{text-transform:uppercase;letter-spacing:.04em;color:#ca8a04;margin-bottom:2px;font-size:.68rem;display:block}.progress-item{border:1px solid var(--border);background:var(--surface);border-radius:8px;align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.progress-item.correct{background:#dcfce7;border-color:#bbf7d0}.progress-item.wrong{background:#fee2e2;border-color:#fecaca}.progress-icon{color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;font-size:.8rem;font-weight:700;line-height:1;display:flex}.progress-item.correct .progress-icon{background:var(--correct)}.progress-item.wrong .progress-icon{background:var(--wrong)}.progress-body{flex-direction:column;line-height:1.3;display:flex}.progress-label{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-size:.72rem;font-weight:600}.progress-value{color:var(--text);font-size:1rem;font-weight:600}.progress-value small{color:var(--muted);font-weight:400}#stage-1a-ui,#stage-1b-ui{flex-direction:column;flex:auto;min-height:0;display:flex}#stage-2-ui,#stage-1a-ui .instructions,#stage-1b-ui .instructions{flex-shrink:0}.grid{grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:20px;display:grid}#script-family-options,#language-options{flex:auto;align-content:start;min-height:4rem;padding-right:6px;overflow-y:auto}.sidebar::-webkit-scrollbar{width:8px}#script-family-options::-webkit-scrollbar{width:8px}#language-options::-webkit-scrollbar{width:8px}.sidebar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}#script-family-options::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}#language-options::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}button{border:1px solid var(--border);cursor:pointer;touch-action:manipulation;color:var(--text);background:#fff;border-radius:6px;padding:10px;font-family:inherit;font-size:.95rem;transition:all .2s}button:hover:not(:disabled){background:#f1f5f9}button:disabled{opacity:.5;cursor:not-allowed;background:#e2e8f0}button.used{opacity:.4;pointer-events:none;text-decoration:line-through}button.correct{border-color:var(--correct);color:#fff;font-weight:700;background:var(--correct)!important}button.wrong{border-color:var(--wrong);color:#fff;opacity:.8;text-decoration:line-through;background:var(--wrong)!important}.feedback{border-radius:8px;flex-shrink:0;max-height:40vh;margin-top:15px;padding:15px;font-size:1rem;line-height:1.5;display:none;overflow-y:auto}#stage-2-ui.revealed .action-bar,#stage-2-ui.revealed .instructions{display:none}.feedback.correct{color:#166534;background:#dcfce7;border:1px solid #bbf7d0}.feedback.wrong{color:#991b1b;background:#fee2e2;border:1px solid #fecaca}.feedback-tip{background:var(--tip-bg);border:1px solid var(--tip-border);color:#713f12;border-radius:8px;align-items:flex-start;gap:10px;margin-top:12px;padding:12px;display:flex}.feedback-tip .icon{color:#ca8a04;flex-shrink:0;width:1.4em;height:1.4em;margin-top:2px}.feedback-tip strong{text-transform:uppercase;letter-spacing:.04em;margin-bottom:3px;font-size:.78rem;display:block}.feedback-tip p{margin:0;font-size:.95rem}.controls{flex-shrink:0;margin-top:15px}.btn-primary{background:var(--primary);color:#fff;border:none;width:100%;padding:12px 24px;font-size:1.1rem;font-weight:700}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-link{color:var(--primary-dark);cursor:pointer;background:0 0;border:none;padding:2px 4px;font-size:.9rem;text-decoration:underline}.btn-link:hover{color:var(--primary);background:0 0}.btn-advance{cursor:pointer;color:#fff;border:none;border-radius:6px;justify-content:center;align-items:center;gap:8px;width:100%;padding:12px 24px;font-size:1.1rem;font-weight:700;display:flex}.btn-advance.btn-continue{background:#f59e0b}.btn-advance.btn-continue:hover:not(:disabled){background:#d98908}.btn-advance.btn-next{background:var(--primary-dark)}.btn-advance.btn-next:hover:not(:disabled){background:#274e8c}.btn-advance.btn-finish{background:var(--correct)}.btn-advance.btn-finish:hover:not(:disabled){background:#1ba34c}#game-over{text-align:center;z-index:1000;width:min(620px,100vw - 40px);max-height:90vh;background:#fff;border-radius:12px;max-height:90dvh;padding:40px;display:none;position:absolute;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 10px 25px #0003}.streak-line{color:#b45309;margin:4px 0 12px;font-weight:700}.share-preview{border:1px solid var(--border);white-space:pre;background:#f1f5f9;border-radius:10px;max-width:300px;margin:0 auto 12px;padding:12px;font-family:inherit;font-size:.95rem;line-height:1.35}#share-btn{max-width:300px;margin:0 auto 8px}#daily-leaderboard{text-align:left;background:#f1f5f9;border-radius:8px;margin:20px 0;padding:15px}#daily-leaderboard-list{max-height:240px;margin:10px 0 0;padding:0;list-style:none;overflow-y:auto}#daily-leaderboard-list li{border-bottom:1px solid var(--border);justify-content:space-between;gap:10px;padding:6px 0;font-size:.95rem;display:flex}#daily-leaderboard-list li:last-child{border-bottom:none}#daily-leaderboard-list .lb-name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}#daily-leaderboard-list .lb-score{color:var(--muted);flex-shrink:0}#daily-leaderboard-list .lb-empty{color:var(--muted);justify-content:center}.account-best{color:var(--primary-dark);font-weight:600}#review-block{text-align:left;background:var(--tip-bg);border:1px solid var(--tip-border);border-radius:10px;margin:24px 0;padding:15px}#review-block h3{color:#713f12;align-items:center;gap:8px;margin:0 0 12px;display:inline-flex}#review-block h3 .icon{color:#ca8a04}#review-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.review-card{border:1px solid var(--border);background:#fff;border-radius:8px;align-items:flex-start;gap:14px;padding:10px 12px;display:flex}.review-sample{overflow-wrap:anywhere;flex-shrink:0;max-width:45%;font-size:1.5rem;line-height:1.25}.review-body{font-size:.92rem;line-height:1.4}.review-body p{color:#57534e;margin:4px 0 0}#round-summary{text-align:left;margin:24px 0}#round-summary h3{align-items:center;gap:8px;margin:0 0 12px;display:inline-flex}#round-summary-list{flex-direction:column;gap:12px;max-height:42vh;margin:0;padding:0 6px 0 0;list-style:none;display:flex;overflow-y:auto}.summary-card{border:1px solid var(--border);background:var(--surface);border-radius:10px;overflow:hidden;box-shadow:0 1px 2px #0000000a}.summary-head{cursor:pointer;align-items:center;gap:10px;padding:11px 14px;list-style:none;display:flex}.summary-head::-webkit-details-marker{display:none}.summary-card[open] .summary-head{border-bottom:1px solid var(--border)}.summary-round{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);flex-shrink:0;font-size:.72rem;font-weight:700}.summary-sample{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:1.15rem;line-height:1.2;overflow:hidden}.summary-glyphs{flex-shrink:0;gap:4px;display:flex}.summary-glyph{color:#fff;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;font-size:.7rem;font-weight:700;line-height:1;display:inline-flex}.summary-glyph.ok{background:var(--correct)}.summary-glyph.bad{background:var(--wrong)}.summary-caret{color:var(--muted);flex-shrink:0;display:inline-flex}.summary-caret .icon{width:1.1em;height:1.1em;transition:transform .2s}.summary-card[open] .summary-caret .icon{transform:rotate(180deg)}.summary-rows{flex-direction:column;gap:8px;padding:12px 14px;display:flex}.summary-row{grid-template-columns:90px 1fr;align-items:start;gap:10px;display:grid}.summary-key{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);padding-top:3px;font-size:.72rem;font-weight:600}.summary-val{flex-wrap:wrap;align-items:baseline;gap:6px;font-size:.98rem;display:flex}.summary-status{flex-shrink:0;font-weight:700}.summary-row.is-correct .summary-status{color:var(--correct)}.summary-row.is-wrong .summary-status{color:var(--wrong)}.summary-answer{color:var(--text);font-weight:600}.summary-guess{color:var(--wrong);font-size:.85rem}.summary-tip{color:#713f12;background:var(--tip-bg);border:1px solid var(--tip-border);border-radius:6px;flex-basis:100%;padding:6px 8px;font-size:.85rem;line-height:1.4}.summary-chips{gap:6px}.chip{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;gap:4px;padding:3px 9px;font-size:.82rem;font-weight:500;display:inline-flex}.chip-hit{color:#166534;background:#dcfce7;border-color:#bbf7d0}.chip-missed{color:#475569;border-color:var(--border);background:#f1f5f9;border-style:dashed}.chip-wrong{color:#991b1b;background:#fee2e2;border-color:#fecaca}.leaflet-interactive{cursor:crosshair!important}#start-screen{z-index:2000;background:0 0;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;top:0;bottom:0;left:0;right:0;overflow:hidden}#bg-canvas{pointer-events:none;z-index:0;width:100%;height:100%;transition:filter .4s;display:block;position:fixed;top:0;bottom:0;left:0;right:0}body.playing #bg-canvas{filter:blur(10px)}body.home>header,body.home>#game-area{visibility:hidden}.start-card{z-index:1;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);text-align:center;background:#ffffffdb;border-radius:16px;width:100%;max-width:560px;max-height:calc(100dvh - 24px);padding:32px 40px;position:relative;overflow-y:auto;box-shadow:0 20px 40px #14326e47}.start-card h1{margin:0 0 10px;font-size:1.8rem}.start-tagline{color:#475569;margin:0 0 18px;font-size:1rem}.welcome-back{color:var(--primary-dark);margin:0 0 14px;font-size:.92rem;font-weight:600}.mode-card{text-align:left;border:2px solid var(--primary);background:linear-gradient(120deg,#eff6ff,#dbeafe);border-radius:12px;flex-direction:column;gap:6px;width:100%;margin-bottom:20px;padding:16px 18px;transition:all .15s;display:flex}.mode-card:hover:not(:disabled){background:linear-gradient(120deg,#eff6ff,#dbeafe);transform:translateY(-2px);box-shadow:0 6px 16px #2f5fa82e}.mode-head{align-items:center;gap:8px;font-size:1.15rem;font-weight:700;display:flex}.mode-head .icon{color:var(--primary-dark)}.mode-action{background:var(--primary);color:#fff;border-radius:999px;margin-left:auto;padding:4px 14px;font-size:.85rem;font-weight:700}.mode-desc{color:var(--muted);font-size:.88rem}.practice-block{text-align:left}.practice-block h3{align-items:center;gap:8px;margin:0 0 4px;display:inline-flex}.practice-desc{color:var(--muted);margin:0 0 12px;font-size:.88rem}.difficulty-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.btn-difficulty{border:2px solid var(--border);background:#fff;border-radius:10px;flex-direction:column;align-items:center;gap:4px;padding:14px 12px;font-size:1.1rem;font-weight:700;transition:all .15s;display:flex}.btn-difficulty:hover:not(:disabled){border-color:var(--primary);background:#eff6ff;transform:translateY(-2px)}.btn-difficulty .diff-count{color:#64748b;font-size:.8rem;font-weight:400}.start-status{color:#64748b;margin:18px 0 0;font-size:.9rem}.start-links{color:var(--muted);flex-direction:column;align-items:center;gap:12px;margin-top:14px;display:flex}.controls-row{gap:10px;display:flex}.action-bar .sub-instruction{margin-bottom:10px}.btn-secondary{color:var(--text);cursor:pointer;background:#e2e8f0;border:none;border-radius:6px;flex:1;padding:12px}#leaderboard{text-align:left;background:#f1f5f9;border-radius:8px;margin:20px 0;padding:15px}#leaderboard-list{margin:10px 0 0;padding:0;list-style:none}#leaderboard-list li{border-bottom:1px solid var(--border);padding:6px 0;font-size:.95rem}#leaderboard-list li:last-child{border-bottom:none}.modal{text-align:left;border:none;border-radius:16px;width:calc(100vw - 40px);max-width:580px;max-height:85dvh;padding:30px 34px;box-shadow:0 24px 48px #0f172a4d}.modal::backdrop{background:#0f172a8c}.modal h2{margin-top:0}.modal h3{margin-bottom:6px}.modal p,.modal li{line-height:1.55}.about-steps,.about-links{margin:0;padding-left:22px}.about-credits{color:var(--muted);font-size:.85rem}.modal .btn-primary{margin-top:10px}.modal-small{text-align:center;max-width:380px}.modal-small p{color:var(--muted);font-size:.92rem}#name-input{border:2px solid var(--border);text-align:center;border-radius:8px;width:100%;margin-bottom:14px;padding:12px;font-family:inherit;font-size:1.05rem}#name-input:focus{border-color:var(--primary);outline:none}.icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;width:1.1em;height:1.1em}.icon-trophy{color:#f59e0b}h1{align-items:center;gap:10px;display:inline-flex}h1 .icon{color:var(--primary);width:1.2em;height:1.2em}.brand-btn{font:inherit;color:inherit;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:10px;margin:0;padding:0;line-height:1;transition:opacity .15s;display:inline-flex}.brand-btn:hover:not(:disabled){opacity:.7;background:0 0}.status-bar .stat{align-items:center;gap:8px;display:inline-flex}.status-bar .stat .icon{color:var(--primary);width:1.15em;height:1.15em}.btn-primary,.btn-secondary,#next-btn{justify-content:center;align-items:center;gap:8px;display:inline-flex}#leaderboard h3,#daily-leaderboard h3{align-items:center;gap:8px;margin:0;display:inline-flex}@keyframes correctGlow{0%{box-shadow:0 0 #22c55e99}to{box-shadow:0 0 0 14px #22c55e00}}.flash-correct{animation:.5s ease-out correctGlow}@media (max-width:768px){header{padding:10px 14px}h1{font-size:1.2rem}.status-bar{gap:12px;font-size:.92rem}#game-area{flex-direction:column}.sidebar{border-right:none;border-bottom:1px solid var(--border);flex:auto;width:100%;min-height:0;padding:12px 14px;overflow-y:auto}.map-container{flex:0 0 32dvh;order:1}body.stage-countries .map-container{flex-basis:52dvh}body.stage-countries .sidebar{flex:auto}.script-display{height:96px;margin-bottom:12px;padding:10px 12px;font-size:1.5rem}body.stage-countries .script-display{height:72px}.sign-svg{max-height:80px}#stage-1a-ui,#stage-1b-ui{display:block}#script-family-options,#language-options{flex:none;min-height:0;max-height:none;overflow:visible}body.stage-countries .action-bar{z-index:1200;border-top:1px solid var(--border);padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#fffffff5;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 12px #0f172a14}body.stage-countries .action-bar .sub-instruction{text-align:center;margin:0 0 8px;font-weight:600}#stage-2-ui.revealed .action-bar{display:none}body.playing .controls{z-index:1210;padding:10px 14px calc(10px + env(safe-area-inset-bottom));pointer-events:none;margin:0;position:fixed;bottom:0;left:0;right:0}body.playing .controls .btn-advance{pointer-events:auto;box-shadow:0 6px 18px #0f172a40}#game-over{width:calc(100vw - 20px);max-height:94dvh;padding:24px 18px}.start-card{padding:22px 20px}.review-sample{font-size:1.2rem}.summary-sample{font-size:1.1rem}}.bmc-link{color:#0f172a;white-space:nowrap;background:#fd0;border:1px solid #0000001f;border-radius:10px;align-items:center;gap:8px;padding:9px 18px;font-size:.95rem;font-weight:700;text-decoration:none;transition:transform .15s,box-shadow .15s,background .15s;display:inline-flex;box-shadow:0 1px 2px #00000014}.bmc-link:hover{background:#ffe533;transform:translateY(-1px);box-shadow:0 6px 16px #0000002e}.bmc-cup{font-size:1.15em;line-height:1}.go-support{margin:18px 0 0}.modal .bmc-link{margin:4px 0 6px}
