.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-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{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/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N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dpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/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+bXbT3I8G3xE5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sLXWfh3Ch1W0k8x0nXF+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{--ocean:#a9d6f0;--ocean-deep:#8fc7ea;--land-border:#5a6b7a;--panel:#fff;--panel-shadow:0 -4px 24px #14283c2e;--ink:#1d2b3a;--ink-soft:#55677a;--accent:#2f6fd6;--attack:#d9534f;--trade:#2e9e5b;--truce:#5b8dd6;--ally:#8a5bd6;--recruit:#e0a020;--radius:22px;--touch:60px;color:var(--ink);-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;font-family:Segoe UI,Noto Sans,Helvetica Neue,Arial,sans-serif;font-size:18px}*{box-sizing:border-box}html,body,#root{background:var(--ocean);overscroll-behavior:none;touch-action:manipulation;-webkit-user-select:none;user-select:none;width:100%;height:100%;margin:0;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;margin:0;padding:0}button:focus-visible{outline:4px solid var(--accent);outline-offset:3px}.app{width:100%;height:100%;position:relative;overflow:hidden}.map-wrap,.map{position:absolute;top:0;bottom:0;left:0;right:0}.map-wrap{z-index:0;isolation:isolate}.panel,.zoom-buttons{z-index:10}.topbar{z-index:30}.map{background:var(--ocean);outline:none}.leaflet-container{background:var(--ocean);font:inherit}.map-loading{color:var(--ink);place-items:center;font-size:1.6rem;display:grid;position:absolute;top:0;bottom:0;left:0;right:0}.btn{min-height:var(--touch);min-width:var(--touch);letter-spacing:.02em;white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 22px;font-size:1.25rem;font-weight:800;transition:transform 80ms;display:inline-flex;box-shadow:0 3px #0000001f,0 6px 16px #14283c26}.btn:active{transform:translateY(2px);box-shadow:0 1px #0000001f}.btn-calm{background:var(--panel);color:var(--ink)}.btn-round{background:var(--panel);width:64px;height:64px;color:var(--ink);padding:0;font-size:2rem}.topbar{pointer-events:none;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex;position:absolute;top:0;left:0;right:0}.topbar>*{pointer-events:auto}.topbar-title{text-overflow:ellipsis;white-space:nowrap;background:#ffffffd9;border-radius:999px;max-width:45vw;padding:10px 18px;font-size:1.15rem;font-weight:800;overflow:hidden}.zoom-buttons{flex-direction:column;gap:12px;display:flex;position:absolute;top:50%;right:14px;transform:translateY(-80%)}.panel{background:var(--panel);border-radius:var(--radius) var(--radius) 0 0;min-height:150px;box-shadow:var(--panel-shadow);padding:16px 20px calc(16px + env(safe-area-inset-bottom));position:absolute;bottom:0;left:0;right:0}.panel-empty{place-items:center;min-height:90px;display:grid}.hint{color:var(--ink-soft);font-size:1.4rem;font-weight:700}.identity{align-items:center;gap:18px;display:flex}.identity-flag{border-radius:10px;flex:none;box-shadow:0 2px 8px #00000040}.flag{vertical-align:middle;object-fit:cover;border-radius:4px;display:inline-block}.country-name{letter-spacing:.01em;margin:0;font-size:2rem;font-weight:900;line-height:1.1}.owner-line{color:var(--ink-soft);margin-top:4px;font-weight:700}.facts{color:var(--ink-soft);flex-wrap:wrap;gap:16px;margin-top:6px;font-weight:600;display:flex}.die-chip{color:#7a4d00;background:#fff3d6;border-radius:999px;padding:2px 10px;font-weight:800}.flag-marker-wrap,.cluster-marker-wrap,.map-label{background:0 0;border:0}.flag-marker{cursor:pointer;justify-content:center;align-items:center;width:52px;height:52px;display:flex;position:relative}.flag-marker img{background:#fff;border-radius:4px;width:34px;height:26px;box-shadow:0 0 0 2px #fff,0 2px 6px #00000059}.flag-marker.is-selected img{box-shadow:0 0 0 3px var(--ink), 0 0 0 6px #fff, 0 2px 8px #0006}.flag-marker-name{color:var(--ink);white-space:nowrap;pointer-events:none;background:#ffffffd9;border-radius:6px;padding:1px 6px;font-size:12px;font-weight:700;position:absolute;top:50%;left:46px;transform:translateY(-50%)}.cluster-marker{border:3px solid var(--ink);cursor:pointer;background:#fff;border-radius:50%;justify-content:center;align-items:center;gap:2px;width:56px;height:56px;font-size:15px;font-weight:900;display:flex;box-shadow:0 3px 10px #0000004d}.map-label span{color:#2a3a4a;white-space:nowrap;text-shadow:0 0 3px #fff,0 0 3px #fff,0 0 4px #fff,0 0 6px #fff;pointer-events:none;font-weight:700;display:inline-block;transform:translate(-50%,-50%)}.overlay{z-index:1000;background:#f4f8fb;flex-direction:column;gap:12px;padding:14px;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.find-head{align-items:center;gap:12px;display:flex}.find-input{min-height:var(--touch);font:inherit;border:3px solid var(--ink-soft);color:var(--ink);background:#fff;border-radius:999px;outline:none;flex:1;padding:0 20px;font-size:1.5rem;font-weight:700}.find-input:focus{border-color:var(--accent)}.chips{flex-wrap:wrap;gap:10px;display:flex}.chip{background:#fff;border:3px solid #0000;border-radius:999px;min-height:48px;padding:0 16px;font-size:1.05rem;font-weight:800;box-shadow:0 2px 6px #0000001a}.chip.is-active{border-color:var(--accent);background:#e3ecfb}.find-grid{-webkit-overflow-scrolling:touch;flex:1;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));align-content:start;gap:12px;padding-bottom:20px;display:grid;overflow-y:auto}.tile{text-align:center;background:#fff;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:120px;padding:10px;font-size:1rem;font-weight:800;display:flex;box-shadow:0 2px 8px #0000001a}.tile:active{background:#e3ecfb}.tile .flag{border-radius:8px;box-shadow:0 1px 4px #0000004d}.tile-name{line-height:1.15}.toast{color:#fff;z-index:900;pointer-events:none;background:#1d2b3aeb;border-radius:999px;padding:12px 22px;font-size:1.1rem;font-weight:700;position:absolute;top:92px;left:50%;transform:translate(-50%)}.app.reduce-motion *,.app.reduce-motion :before,.app.reduce-motion :after{transition:none!important;animation:none!important}@media (prefers-reduced-motion:reduce){.app *,.app :before,.app :after{transition:none!important;animation:none!important}}@media (max-width:720px){.topbar{gap:8px;padding:10px}.topbar .btn{padding:0 14px}.topbar .label,.btn-world .world-label{display:none}.btn-world{max-width:none}}@media (max-height:540px){.panel{padding:8px 14px calc(8px + env(safe-area-inset-bottom));min-height:0}.identity{flex-wrap:wrap;gap:10px}.identity-flag{width:56px;height:42px}.country-name{font-size:1.3rem}.facts,.relations{display:none}.stats{margin-top:2px}.stat{padding:2px 10px;font-size:.95rem}.actions,.actions-5{grid-template-columns:repeat(5,1fr);gap:8px;width:100%;margin-left:0}.actions .btn{min-height:48px;padding:0 8px;font-size:.9rem}.panel-empty{min-height:60px}.hint{font-size:1.1rem}.zoom-buttons{transform:translateY(-110%)}}.stats{flex-wrap:wrap;gap:10px;margin-top:6px;display:flex}.stat{border-radius:999px;padding:4px 12px;font-size:1.15rem;font-weight:900}.stat-army{color:#1d3f7a;background:#e3ecfb}.stat-die{color:#7a4d00;background:#fff3d6}.stat-soft{color:var(--ink-soft);background:#eef1f4;font-weight:700}.actions{grid-template-columns:1fr 1fr;align-self:center;gap:12px;margin-left:auto;display:grid}.btn-attack{background:var(--attack);color:#fff}.btn-recruit{background:var(--recruit);color:#2b1a00}.btn:disabled{opacity:.5;cursor:default}.panel-prompt{justify-content:space-between;align-items:center;gap:16px;min-height:110px;display:flex}.prompt{flex-wrap:wrap;align-items:center;gap:8px;font-size:1.6rem;font-weight:800;display:flex}@media (max-width:900px){.identity{flex-wrap:wrap}.actions{width:100%;margin-left:0}}.card-overlay{z-index:20;background:#14283c59;place-items:center;padding:16px;display:grid;position:absolute;top:0;bottom:0;left:0;right:0}.card{text-align:center;background:#fff;border-radius:28px;width:min(720px,100%);max-height:100%;padding:22px 28px;overflow:auto;box-shadow:0 20px 60px #00000059}.vs-grid{grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;display:grid}.power-col{flex-direction:column;align-items:center;gap:4px;display:flex}.power-flag{border-radius:8px;box-shadow:0 2px 6px #0000004d}.power-name{font-size:1.4rem;font-weight:900}.power-lines{min-height:3.2em;color:var(--ink-soft);font-weight:600;line-height:1.4}.power-total{letter-spacing:.04em;margin-top:4px;font-size:1.1rem;font-weight:900}.power-total b{margin-left:6px;font-size:2.2rem}.vs-mark{font-size:2.4rem}.vs-mark.small{font-size:1.4rem}.headline{letter-spacing:.03em;margin-top:12px;font-size:1.7rem;font-weight:900}.headline.stronger{color:#1f7a3a}.headline.weaker{color:#a24b00}.headline.equal{color:#3b5b8a}.chance{color:var(--ink-soft);font-size:1.2rem;font-weight:700}.chance b{color:var(--ink);margin-left:6px;font-size:1.8rem}.rolls-block{flex-direction:column;gap:8px;margin:12px 0;display:flex}.rolls-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.rolls-label{align-items:center;gap:6px;font-weight:700;display:inline-flex}.roll-chips{flex-wrap:wrap;gap:6px;display:inline-flex}.roll-chip{border-radius:10px;place-items:center;width:36px;height:36px;font-size:1.1rem;font-weight:900;display:inline-grid}.roll-chips.win .roll-chip{color:#1f7a3a;background:#d9f2e0}.roll-chips.lose .roll-chip{color:#a02b2b;background:#f8dcdc}.roll-chip.none{color:#777;background:#eee;width:auto;padding:0 10px}.ally-ask{background:#f2ecff;border-radius:16px;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;padding:10px 14px;font-weight:700;display:flex}.ally-ask-buttons{gap:8px;display:flex}.btn-toggle{background:#fff;min-height:48px;box-shadow:inset 0 0 0 3px #d9cff2}.btn-toggle.is-on{background:var(--ally);color:#fff;box-shadow:none}.card-actions{justify-content:space-between;gap:12px;margin-top:16px;display:flex}.card-actions.center{justify-content:center}.btn-roll{background:var(--recruit);color:#2b1a00;min-height:72px;padding:0 40px;font-size:1.6rem}.btn-ok{background:var(--accent);color:#fff;padding:0 48px;font-size:1.4rem}.mini-vs{justify-content:center;align-items:center;gap:10px;font-size:1.6rem;display:flex}.rolls-hint{color:var(--ink-soft);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;font-weight:700;display:flex}.result-roll{font-size:2rem;font-weight:900}.result-title{letter-spacing:.03em;margin:6px 0 10px;font-size:2.4rem;font-weight:900}.result-card.won .result-title{color:#1f7a3a}.result-card.held .result-title{color:#3b5b8a}.result-card.recruit .result-title{color:#7a4d00}.result-line{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin-top:6px;font-weight:700;display:flex}.result-line.big{font-size:1.4rem}.result-why{color:var(--ink-soft);background:#f4f6f8;border-radius:14px;margin-top:12px;padding:10px 14px;font-weight:600}.recruit-head{justify-content:center;align-items:center;gap:10px;font-size:1.3rem;display:flex}.facts-inline{color:var(--ink-soft);font-size:1rem;font-weight:600}.recruit-label{margin:8px 0;font-size:1.5rem;font-weight:900}.die-wrap{filter:drop-shadow(0 10px 12px #0000004d);flex-direction:column;align-items:center;gap:6px;margin:10px auto;display:flex}.die{width:150px;height:150px;color:var(--ink);background:linear-gradient(160deg,#fff,#e6ebf1);place-items:center;display:grid}.die-number{font-variant-numeric:tabular-nums;font-size:64px;font-weight:900;line-height:1}.die.d6{border-radius:24px}.die.d4{clip-path:polygon(50% 0,100% 100%,0 100%)}.die.d4 .die-number{margin-top:46px;font-size:54px}.die.d8{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}.die.d10{clip-path:polygon(50% 0,100% 42%,50% 100%,0 42%)}.die.d12{clip-path:polygon(50% 0,100% 38%,82% 100%,18% 100%,0 38%)}.is-rolling .die{animation:.22s ease-in-out infinite alternate wobble}.is-settled .die{animation:.25s ease-out land}@keyframes wobble{0%{transform:rotate(-7deg)scale(.97)}to{transform:rotate(7deg)scale(1.03)}}@keyframes land{0%{transform:scale(1.15)}to{transform:scale(1)}}.die-caption{color:var(--ink-soft);font-weight:800}.debug-toggle{z-index:11;opacity:.6;background:#ffffff8c;border-radius:50%;width:40px;height:40px;font-size:18px;position:absolute;top:84px;right:16px}.forced-badge{z-index:11;color:#fff;background:#d9534f;border-radius:999px;padding:4px 10px;font-size:.85rem;font-weight:900;position:absolute;top:90px;right:64px}.debug-panel{z-index:30;background:#fff;border-radius:18px;flex-direction:column;gap:10px;width:360px;max-width:calc(100% - 32px);padding:14px;display:flex;position:absolute;top:130px;right:16px;box-shadow:0 10px 30px #0000004d}.debug-title{font-weight:900}.debug-rolls{flex-wrap:wrap;gap:6px;display:flex}.debug-rolls .chip{min-height:40px;padding:0 12px}.debug-note{color:var(--ink-soft);font-size:.85rem}.btn.small{min-height:44px;font-size:1rem}.stat-power{color:#6b4a00;background:#fff1c2}.stat-power.superpower{color:#4d3300;background:#ffd98a}.result-line.gain{color:#1f7a3a}.screen-title{flex:1;margin:0;font-size:1.8rem;font-weight:900}.world-list{-webkit-overflow-scrolling:touch;flex-direction:column;flex:1;gap:12px;padding-bottom:20px;display:flex;overflow-y:auto}.world-row{background:#fff;border:3px solid #0000;border-radius:22px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex;box-shadow:0 2px 8px #0000001a}.world-row.is-current{border-color:var(--accent)}.world-main{flex-direction:column;flex:1;gap:4px;min-width:260px;display:flex}.world-name{align-items:center;gap:10px;font-size:1.5rem;font-weight:900;display:flex}.playing-badge{background:var(--accent);color:#fff;letter-spacing:.05em;border-radius:999px;padding:2px 10px;font-size:.8rem}.world-facts{flex-wrap:wrap;align-items:center;gap:16px;font-weight:700;display:flex}.world-facts.soft{color:var(--ink-soft);font-weight:600}.empire-line{align-items:center;gap:6px;display:inline-flex}.world-buttons{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.confirm-text{font-weight:800}.btn-danger{background:var(--attack);color:#fff}.rename-form{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.rename-form .find-input{min-width:240px;font-size:1.2rem}.topbar-left,.topbar-right{align-items:center;gap:10px;display:flex}.btn-world{background:#ffffffeb;max-width:40vw}.btn-world .world-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.actions-5{grid-template-columns:repeat(3,auto)}.actions-5 .btn{padding:0 18px;font-size:1.1rem}.btn-trade{background:var(--trade);color:#fff}.btn-truce{background:var(--truce);color:#fff}.btn-ally{background:var(--ally);color:#fff}.btn-free{color:#1f5a2a;min-width:0;min-height:40px;box-shadow:none;background:#eef6ee;margin-left:10px;padding:0 14px;font-size:.95rem}.owner-line{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.relations{flex-wrap:wrap;gap:8px;max-height:68px;margin-top:8px;display:flex;overflow:hidden}.rel{background:#eef1f4;border-radius:999px;align-items:center;gap:5px;padding:3px 10px;font-size:.95rem;font-weight:700;display:inline-flex}.rel-ally{color:#4d2a8a;background:#efe6ff}.rel-friend{color:#8a2a4d;background:#ffe3ec}.rel-enemy{color:#8a2a2a;background:#ffe3e3}.panel-prompt.action-attack{box-shadow:inset 0 6px 0 var(--attack), var(--panel-shadow)}.panel-prompt.action-trade{box-shadow:inset 0 6px 0 var(--trade), var(--panel-shadow)}.panel-prompt.action-truce{box-shadow:inset 0 6px 0 var(--truce), var(--panel-shadow)}.panel-prompt.action-ally{box-shadow:inset 0 6px 0 var(--ally), var(--panel-shadow)}.result-card.diplomacy.trade .result-title{color:#b4285a}.result-card.diplomacy.ally .result-title{color:#5a2fa8}.result-card.diplomacy.truce .result-title{color:#2f5aa8}.plus{color:var(--ink-soft);margin:0 4px;font-size:1.6rem}@media (max-width:1100px){.actions-5{grid-template-columns:repeat(2,1fr)}}@media (max-height:540px){.panel .actions-5{grid-template-columns:repeat(5,1fr)}}.identity-flags{flex:none;display:inline-block;position:relative}.flag-was{border-radius:5px;position:absolute;bottom:-8px;right:-8px;box-shadow:0 0 0 2px #fff,0 1px 4px #00000059}.power-was{color:var(--ink-soft);font-size:.95rem;font-weight:700}.tile{position:relative}.tile-owner{border-radius:4px;position:absolute;top:8px;right:8px;box-shadow:0 0 0 2px #fff,0 1px 4px #00000059}.tile-owner-name{color:var(--ink-soft);font-weight:700}.pieces{flex-wrap:wrap;align-items:center;gap:8px;max-height:70px;margin-top:8px;display:flex;overflow-y:auto}.pieces-label{color:var(--ink-soft);font-weight:800}.piece{background:#eef1f4;border-radius:999px;align-items:center;gap:5px;padding:2px 4px 2px 10px;font-size:.95rem;font-weight:700;display:inline-flex}.btn-free.tiny{min-width:32px;min-height:32px;margin-left:2px;padding:0 8px;font-size:.9rem}@media (max-height:540px){.pieces{display:none}}.identity-text{flex:auto;min-width:0}.actions{flex:none}.actions-5{grid-template-columns:repeat(3,max-content);gap:10px}.actions-5 .btn{min-height:56px;padding:0 16px;font-size:1.05rem}@media (max-width:1100px){.actions-5{grid-template-columns:repeat(2,max-content)}}.relations{max-height:46px}.gate{text-align:center;background:#fff;border-radius:28px;flex-direction:column;align-items:center;gap:12px;width:min(420px,100%);margin:auto;padding:28px 32px;display:flex;box-shadow:0 20px 60px #0003}.gate-title{color:var(--ink-soft);font-size:1.3rem;font-weight:900}.gate-question{font-size:1.8rem;font-weight:900}.gate-answer{background:#f4f6f8;border-radius:16px;min-width:90px;padding:4px 16px;font-size:2.4rem;font-weight:900}.gate-answer.is-wrong{color:#a02b2b;background:#ffe3e3}.keypad{grid-template-columns:repeat(3,1fr);gap:10px;width:100%;display:grid}.keypad .key{min-width:0;padding:0;font-size:1.4rem}.settings-body{-webkit-overflow-scrolling:touch;flex-direction:column;flex:1;gap:16px;padding-bottom:24px;display:flex;overflow-y:auto}.settings-group{background:#fff;border-radius:22px;flex-direction:column;gap:14px;padding:16px 20px;display:flex;box-shadow:0 2px 8px #00000014}.settings-group h2{margin:0;font-size:1.3rem;font-weight:900}.setting{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.setting-label{flex-direction:column;min-width:220px;font-size:1.05rem;font-weight:800;display:flex}.setting-hint{color:var(--ink-soft);font-size:.85rem;font-weight:600}.setting .chips .chip{min-height:44px;padding:0 14px;font-size:.95rem}.overlay.title{text-align:center;background:radial-gradient(circle at 20% 20%,#c7e3a4 0,#0000 28%),radial-gradient(circle at 80% 15%,#f3d7a3 0,#0000 26%),radial-gradient(circle at 75% 85%,#d6c7f1 0,#0000 30%),radial-gradient(circle at 15% 80%,#f2bcbc 0,#0000 24%),linear-gradient(160deg,#a9d6f0,#7fc4ec);justify-content:center;align-items:center;gap:18px}.title-flags{flex-wrap:wrap;justify-content:center;gap:10px;max-width:560px;display:flex}.title-flags .flag{border-radius:6px;transform:rotate(-4deg);box-shadow:0 3px 8px #00000040}.title-flags .flag:nth-child(2n){transform:rotate(4deg)}.title-name{letter-spacing:.06em;color:#fff;text-shadow:0 4px #1d2b3a,0 10px 24px #00000059;margin:0;font-size:clamp(2.8rem,9vw,5.5rem);font-weight:900}.title-tagline{color:#1d2b3a;background:#ffffffbf;border-radius:999px;margin:0;padding:8px 18px;font-size:clamp(1.1rem,2.6vw,1.5rem);font-weight:800}.title-buttons{flex-direction:column;align-items:center;gap:14px;margin-top:8px;display:flex}.btn-play{background:var(--recruit);color:#2b1a00;flex-direction:column;gap:0;min-height:84px;padding:0 56px;font-size:2rem;line-height:1.1}.title-world{opacity:.85;font-size:.95rem;font-weight:700}.btn.big{min-width:280px;min-height:64px;font-size:1.3rem}.title-footer{color:#1d2b3a;opacity:.8;margin-top:10px;font-size:.9rem;font-weight:700}@media (max-height:540px){.title-flags{display:none}.overlay.title{gap:10px}.btn-play{min-height:68px;font-size:1.6rem}.title-buttons{flex-flow:wrap;justify-content:center}.btn.big{min-width:0}}.help-body{-webkit-overflow-scrolling:touch;flex:1;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));align-content:start;gap:14px;padding-bottom:24px;display:grid;overflow-y:auto}.help-card{background:#fff;border-radius:22px;padding:18px 20px;box-shadow:0 2px 8px #00000014}.help-emoji{font-size:2.4rem;line-height:1}.help-card h2{margin:8px 0 6px;font-size:1.3rem;font-weight:900}.help-card p{color:var(--ink);margin:6px 0;font-weight:600;line-height:1.4}.help-chips{flex-wrap:wrap;gap:8px;margin:8px 0;display:flex}.help-chips .chip{min-height:40px;font-size:.95rem}.help-chips .chip.is-win{color:#1f7a3a;background:#d9f2e0}.help-chips .chip.is-lose{color:#a02b2b;background:#f8dcdc}.help-credits{color:var(--ink-soft);grid-column:1/-1;padding:0 8px;font-size:.9rem;font-weight:600}.btn-icon{width:var(--touch);padding:0;font-size:1.4rem}.btn-reset{padding:0 16px;font-size:1.05rem}.reset-card .result-title{color:#7a4d00}@media (max-width:720px){.btn-reset{display:none}}.wheel-wrap{flex-direction:column;align-items:center;gap:8px;margin:6px auto;display:flex}.wheel-legend{gap:18px;font-weight:800;display:flex}.wheel-side{color:#fff;border-radius:999px;align-items:center;gap:6px;padding:4px 12px;display:inline-flex}.wheel-side.attacker{background:#3a86ff}.wheel-side.defender{background:#e63946}.wheel-side b{background:#ffffff40;border-radius:999px;padding:0 8px}.wheel-stage{width:min(300px,44vh);height:min(300px,44vh);position:relative}.wheel{filter:drop-shadow(0 10px 14px #0000004d);will-change:transform;width:100%;height:100%;display:block}.wheel-pointer{z-index:2;filter:drop-shadow(0 2px 2px #0000004d);border-top:30px solid #1d2b3a;border-left:16px solid #0000;border-right:16px solid #0000;width:0;height:0;position:absolute;top:-6px;left:50%;transform:translate(-50%)}.wheel-pointer:after{content:"";border-top:22px solid #fff;border-left:12px solid #0000;border-right:12px solid #0000;width:0;height:0;position:absolute;top:-30px;left:-12px}.wheel-result{color:var(--ink);opacity:0;pointer-events:none;font-size:34px;font-weight:900;transition:opacity .2s,transform .25s ease-out;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(.6)}.wheel-result.is-visible{opacity:1;transform:translate(-50%,-50%)scale(1)}@media (max-height:540px){.wheel-stage{width:200px;height:200px}.wheel-legend{font-size:.9rem}}
