:root{--theme-bg-1: #1a1a2e;--theme-bg-2: #16213e;--theme-bg-3: #0f3460;--theme-card-bg: rgba(255, 255, 255, .06);--theme-card-border: rgba(255, 255, 255, .1);--theme-text: #e8e8e8;--theme-text-muted: #a0aec0;--theme-accent: #e94560;--theme-accent-from: #e94560;--theme-accent-to: #c73e54;--theme-accent-shadow: rgba(233, 69, 96, .4);--theme-link: #63b3ed;--motion-long: 3s;--motion-med: .65s;--motion-fast: .22s;--turn-glow-rgb: 99, 179, 237}*,*:before,*:after{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:linear-gradient(160deg,var(--theme-bg-1) 0%,var(--theme-bg-2) 50%,var(--theme-bg-3) 100%);min-height:100vh;color:var(--theme-text);font-size:15px;transition:background .35s ease,color .25s ease}.connection-indicator{position:fixed;top:calc(1rem + 3px + max(var(--tg-content-safe-area-inset-top, 0px),env(safe-area-inset-top,0px)));right:10px;z-index:350;display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;background:#0a0e18c7;border:1px solid rgba(255,255,255,.12);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);font-size:12px;line-height:1;color:#d1d5db}.connection-indicator__dot{width:8px;height:8px;border-radius:50%;display:inline-block}.connection-indicator--good .connection-indicator__dot{background:#22c55e;box-shadow:0 0 10px #22c55ecc}.connection-indicator--bad .connection-indicator__dot{background:#ef4444;box-shadow:0 0 10px #ef4444cc}body:has(.game-page) .connection-indicator{top:calc(1rem + 3px + max(var(--tg-content-safe-area-inset-top, 0px),env(safe-area-inset-top,0px)) + var(--tg-game-page-extra-top, 0px))}#app{width:100%;max-width:520px;margin:0 auto;padding:calc(1rem + max(var(--tg-content-safe-area-inset-top, 0px),env(safe-area-inset-top,0px))) 1rem 1.5rem;display:flex;flex-direction:column;align-items:center}h1{font-size:1.6rem;margin:0 0 1rem;text-align:center}.page-title{font-size:1.5rem;font-weight:700;margin:0 0 .35rem;text-align:center;letter-spacing:.02em}.page-subtitle{text-align:center;color:var(--theme-text-muted);font-size:.95rem;margin:0 0 1rem}.tg-auth-line{text-align:center;font-size:.85rem;color:var(--theme-link);margin:0 0 1.25rem}@media(min-width:540px){body{font-size:17px}h1{font-size:1.8rem}}.page{width:100%;max-width:100%;animation:fade var(--motion-med) ease}@keyframes fade{0%{opacity:0}to{opacity:1}}.form-group label{display:block;margin-bottom:.35rem;margin-top:.75rem;font-size:.9rem;color:#b8b8b8}.form-group input:not([type=checkbox]){width:100%;padding:.6rem .75rem;font-size:1rem;border:1px solid #2d3748;border-radius:8px;background:#ffffff0f;color:#e8e8e8}.form-group select{width:100%;padding:.55rem .65rem;font-size:.95rem;border:1px solid #2d3748;border-radius:8px;background:#1e293b;color:#e8e8e8;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;cursor:pointer}.form-group select option{background:#1e293b;color:#e8e8e8}.form-group input::placeholder{color:#718096}.form-group input[type=range]{width:100%;max-width:100%;padding:0;height:2.25rem;background:transparent;border:none;border-radius:0;accent-color:var(--theme-accent);cursor:pointer}.admin-check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.45rem .85rem;margin-top:.35rem}.admin-check-item{display:flex;align-items:center;gap:.35rem;font-size:.92rem;color:#d6deed;line-height:1.2;margin:0}.form-group .admin-check-item{display:flex;margin:0;font-size:.92rem;color:#d6deed}.admin-check-inline{margin-top:.8rem}.form-group .admin-check-item input[type=checkbox]{width:16px;height:16px;margin:0;padding:0;flex:0 0 auto;accent-color:#22c55e}.btn{display:inline-block;padding:.6rem 1.1rem;font-size:.95rem;font-weight:600;border:none;border-radius:8px;cursor:pointer;transition:transform var(--motion-fast),box-shadow var(--motion-fast)}.btn:active{transform:scale(.98)}.btn-primary{background:linear-gradient(135deg,var(--theme-accent-from) 0%,var(--theme-accent-to) 100%);color:#fff;width:100%;margin-top:.5rem}.btn-primary:hover{box-shadow:0 4px 14px var(--theme-accent-shadow)}.btn-secondary{background:#ffffff1a;color:var(--theme-text);border:1px solid #2d3748}.btn-secondary:hover{background:#ffffff26}.btn-linkish{padding:0;border:none;background:transparent;color:#e8e8e8;font-size:.95rem;font-weight:600;cursor:pointer}.btn-linkish:hover{color:var(--theme-link)}.create-panel-head{position:relative;text-align:center;margin:0 0 .85rem;min-height:2.25rem;display:flex;align-items:center;justify-content:center}.create-panel-head .create-panel-back{position:absolute;left:0;top:50%;transform:translateY(-50%);z-index:1}.create-panel-head .create-panel-title{margin:0;width:100%;text-align:center;padding:0 4.5rem;box-sizing:border-box}.btn-sm{padding:.35rem .6rem;font-size:.8rem}.card{width:100%;max-width:520px;margin-left:auto;margin-right:auto;background:var(--theme-card-bg);border:1px solid var(--theme-card-border);border-radius:16px;padding:1.15rem 1.1rem 1.25rem;margin-bottom:1rem;box-shadow:0 4px 24px #0003,0 0 0 1px #ffffff08;transition:transform var(--motion-med) ease,box-shadow var(--motion-med) ease,border-color var(--motion-med) ease,background var(--motion-med) ease}.account-card{position:relative}.account-online{position:absolute;top:1rem;right:1.1rem;font-size:.9rem;font-weight:600;color:var(--theme-text-muted);min-width:1.5em;text-align:right}.account-top-row{display:flex;align-items:center;gap:.75rem;margin-bottom:.65rem}.account-top-row--solo{justify-content:flex-end;margin-bottom:.5rem}.account-name-block{flex:1;min-width:0}.account-theme-wrap{display:flex;align-items:center;gap:.35rem;flex-shrink:0}.account-theme-label{font-size:.7rem;font-weight:500;color:var(--theme-text-muted);margin:0;white-space:nowrap}.account-theme-custom{position:relative}.account-theme-trigger{display:inline-flex;align-items:center;gap:.2rem;font-size:.72rem;padding:.2rem .4rem;background:#1e293bd9;border:1px solid rgba(255,255,255,.2);border-radius:6px;color:var(--theme-text);cursor:pointer;min-width:0;max-width:5.5rem}.account-theme-trigger:hover{border-color:#ffffff59}.account-theme-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-theme-arrow{font-size:.6rem;opacity:.8}.account-theme-dropdown{position:absolute;top:100%;right:0;margin:.2rem 0 0;padding:.25rem 0;list-style:none;background:#1e293b;border:1px solid rgba(255,255,255,.2);border-radius:8px;box-shadow:0 4px 12px #0006;min-width:6rem;z-index:100;display:none}.account-theme-dropdown--open{display:block}.account-theme-option{padding:.35rem .6rem;font-size:.8rem;color:#e8e8e8;cursor:pointer;white-space:nowrap}.account-theme-option:hover{background:#ffffff1a}.card h2{font-size:1.1rem;margin:0 0 .75rem}.card-collapsible{padding-top:.8rem}.card-collapsible>summary{cursor:pointer;list-style:none;font-size:1.08rem;font-weight:700;outline:none}.card-collapsible>summary::-webkit-details-marker{display:none}.card-collapsible>summary:after{content:"▾";float:right;color:var(--theme-text-muted);transition:transform .18s ease}.card-collapsible[open]>summary:after{transform:rotate(180deg)}.card-hint{font-size:.85rem;color:var(--theme-text-muted);margin:0 0 .5rem}.short-code-row{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.short-code{font-size:1.75rem;font-weight:700;letter-spacing:.2em;color:var(--theme-text);min-width:5ch}.btn-block{width:100%;display:block;text-align:center;margin-top:.5rem}.form-block{margin-top:1rem}.form-block-label{font-size:.85rem;color:var(--theme-text-muted);margin-bottom:.35rem}.pack-list{display:flex;flex-direction:column;gap:.35rem;font-size:.85rem;max-height:180px;overflow-y:auto;padding-right:.25rem}.pack-search{width:100%;margin-bottom:.4rem;padding:.45rem .6rem;font-size:.85rem;border-radius:8px;border:1px solid #2d3748;background:#00000040;color:#e8e8e8}.pack-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.25rem .4rem;border-radius:6px;border:none;background:transparent;color:inherit;cursor:pointer;text-align:left}.pack-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.2}.pack-row input[type=checkbox]{flex-shrink:0;margin:0;align-self:center}.pack-row-selected{background:#63b3ed33;border:1px solid rgba(99,179,237,.6)}.edit-pack-list{display:flex;flex-direction:column;gap:.5rem;max-height:220px;overflow-y:auto;padding-right:.25rem;margin-bottom:.75rem}.edit-pack-card{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.5rem .75rem;border-radius:8px;border:1px solid rgba(255,255,255,.1);background:#0003;cursor:pointer;transition:background .15s,border-color .15s}.edit-pack-card:hover{background:#0000004d;border-color:#ffffff26}.edit-pack-card-selected{background:#63b3ed26;border-color:#63b3ed80}.edit-pack-card-selected:hover{background:#63b3ed33}.edit-pack-card-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:.15rem}.edit-pack-title{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.edit-pack-id{font-size:.75rem;color:#a0aec0}.edit-pack-delete{flex-shrink:0}.edit-pack-empty{font-size:.85rem;color:#a0aec0;padding:.5rem 0;margin:0}.edit-questions-block{max-height:200px;overflow-y:auto;border:1px solid #2d3748;border-radius:8px;padding:.5rem .75rem;font-size:.85rem;background:#00000026}.edit-question-row{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem;margin-bottom:.5rem;padding-bottom:.5rem;border-bottom:1px solid rgba(255,255,255,.06)}.edit-question-row:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.edit-question-content{flex:1;min-width:0}.edit-question-options{font-size:.8rem;color:#a0aec0;margin-top:.2rem}.edit-questions-empty,.edit-questions-error{font-size:.85rem;margin:0;padding:.25rem 0}.edit-questions-empty{color:#a0aec0}.edit-questions-error{color:#f56565}.card:hover{transform:translateY(-2px);box-shadow:0 8px 32px #0000004d,0 0 0 1px #ffffff0f;border-color:#ffffff1f}.players-list{list-style:none;padding:0;margin:0}.players-list li{padding:.5rem 0;border-bottom:1px solid rgba(255,255,255,.06);display:flex;justify-content:space-between;align-items:center}.players-list-stats{transition:opacity var(--motion-med) ease,transform var(--motion-med) ease}.players-list-stats-anim{opacity:.75;transform:translateY(-1px)}.players-list li:last-child{border-bottom:none}.rating-list{margin:0 -.25rem}.rating-row{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem;padding:.6rem .25rem!important;min-height:2.75rem}.rating-player{display:flex;align-items:center;gap:.5rem;min-width:0;flex:1}.rating-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;border:1px solid rgba(255,255,255,.2);flex-shrink:0}.rating-name-wrap{min-width:0;display:flex;align-items:baseline;gap:.25rem;flex-wrap:wrap}.rating-rank{font-size:.85rem;color:var(--theme-text-muted);flex-shrink:0}.rating-name{font-size:.95rem;word-break:break-word;line-height:1.3}.rating-stats{display:flex;flex-direction:column;align-items:flex-end;gap:.2rem;flex-shrink:0}.rating-pts{font-size:.9rem;font-weight:600;color:var(--theme-text)}.rating-wl{font-size:.8rem;color:var(--theme-text-muted)}.btn-profile-tap{min-height:2.25rem;padding:.4rem .65rem;font-size:.85rem;margin-top:.25rem}.page-history{position:relative;width:100%}.history-page-actions{margin-top:1.25rem;width:100%;padding-bottom:max(.35rem,env(safe-area-inset-bottom,0px))}.modal.modal-history-detail{z-index:280;background:#000000b8;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);padding:max(.65rem,env(safe-area-inset-top,0px)) .85rem max(.65rem,env(safe-area-inset-bottom,0px));align-items:stretch;justify-content:center}.modal-history-detail .modal-history-detail-content{max-width:100%;width:100%;max-height:min(calc(100dvh - 1.25rem),calc(100vh - 1.25rem));display:flex;flex-direction:column;padding:0;overflow:hidden}.modal-history-detail-heading{flex-shrink:0;margin:0;padding:.95rem 1.1rem .65rem;font-size:1.12rem;text-align:center;border-bottom:1px solid rgba(255,255,255,.1)}.modal-history-detail-body{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:.85rem 1.1rem 1rem;margin:0;-webkit-overflow-scrolling:touch}.modal-history-detail-footer{flex-shrink:0;padding:.65rem 1.1rem .85rem;border-top:1px solid rgba(255,255,255,.1);padding-bottom:max(.75rem,env(safe-area-inset-bottom,0px))}.history-list{display:flex;flex-direction:column;gap:.5rem}.history-game-btn{text-align:left;padding:.65rem .75rem;min-height:2.75rem;display:flex;flex-direction:column;align-items:stretch;gap:.2rem}.history-game-num{font-weight:600;font-size:.9rem}.history-game-meta{font-size:.85rem;color:var(--theme-text-muted);word-break:break-word}.history-detail{margin-top:.25rem}.history-detail-list{margin-top:.5rem}.history-detail-row{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;padding:.5rem 0!important}.history-detail-name{flex:1;min-width:0;word-break:break-word}.history-detail-pts{font-size:.9rem;color:var(--theme-text-muted)}.history-detail-row .btn-profile-tap{margin-top:0}@media(max-width:380px){.rating-avatar{width:32px;height:32px}.rating-name{font-size:.9rem}.rating-stats{font-size:.85rem}.btn-profile-tap{min-height:2.5rem;padding:.5rem .75rem}}.copy-row{display:flex;gap:.5rem;align-items:center;margin-bottom:1rem}.copy-row input{flex:1;padding:.5rem .75rem;font-size:.85rem;border:1px solid #2d3748;border-radius:6px;background:#0003;color:#e8e8e8}.error-msg{background:#e9456033;border:1px solid rgba(233,69,96,.4);color:#feb2b2;padding:.75rem;border-radius:8px;margin-bottom:1rem;font-size:.9rem}.ui-state{margin:0;color:var(--theme-text-muted);font-size:.92rem}.ui-state-error{color:#fca5a5}.link-back{display:inline-block;margin-bottom:1rem;color:#a0aec0;text-decoration:none;font-size:.9rem}.link-back:hover{color:#e8e8e8}.card-map{overflow:visible}.card-map .players-in-card-title{font-size:1rem;font-weight:600;margin:1rem 0 .5rem;color:var(--theme-text, #e2e8f0)}.card-map .players-list{margin-bottom:0}.hex-map.island-map{display:block;width:100%;max-width:480px;margin:0 auto;border-radius:16px;overflow:visible;box-shadow:0 8px 32px #00000059,inset 0 1px #ffffff0d}.hex-map.island-map.map-water-wave .island-svg{animation:waterWaveTint var(--motion-long) ease-in-out}@keyframes waterWaveTint{0%{filter:none}35%{filter:saturate(1.15) brightness(1.06)}70%{filter:saturate(1.08) brightness(1.03)}to{filter:none}}.card-map.turn-change-pulse{animation:turnChangePulse var(--motion-long) ease-in-out}@keyframes turnChangePulse{0%{box-shadow:0 8px 32px #00000059,inset 0 1px #ffffff0d;transform:translateY(0)}25%{box-shadow:0 10px 38px #0000006b,inset 0 0 0 1px rgba(var(--turn-glow-rgb),.28),inset 0 0 32px rgba(var(--turn-glow-rgb),.22);transform:translateY(-1px)}55%{box-shadow:0 10px 40px #00000070,inset 0 0 0 1px rgba(var(--turn-glow-rgb),.34),inset 0 0 40px rgba(var(--turn-glow-rgb),.28);transform:translateY(-2px)}to{box-shadow:0 8px 32px #00000059,inset 0 1px #ffffff0d;transform:translateY(0)}}.island-svg{display:block;width:100%;height:auto;pointer-events:none}.island-svg .hex-cell{pointer-events:auto;transition:opacity var(--motion-med) ease}@media(hover:hover)and (pointer:fine){.island-svg .hex-cell[data-capturable="1"]:hover polygon[data-role=poly]{filter:brightness(1.08)}}@keyframes capturablePulseHex{0%,to{stroke:#22c55e;stroke-width:2.25px;stroke-opacity:1}50%{stroke:#86efac;stroke-width:5px;stroke-opacity:1}}.game-turn-active .island-svg .hex-cell[data-capturable="1"]:not(.hex-cell-captured) polygon[data-role=poly]{animation:capturablePulseHex 1.1s ease-in-out infinite;vector-effect:non-scaling-stroke}@keyframes duelPulseHex{0%,to{stroke:#f87171;stroke-width:2.25px;stroke-opacity:1}50%{stroke:#fecaca;stroke-width:5px;stroke-opacity:1}}.island-svg .hex-cell[data-duel="1"] polygon[data-role=poly]{animation:duelPulseHex 1.4s ease-in-out infinite;vector-effect:non-scaling-stroke}.players-list .player-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;vertical-align:middle}@keyframes turnPulse{0%,to{box-shadow:0 10px 36px #00000057,inset 0 0 0 1px #22c55e47,inset 0 0 22px #22c55e24;transform:translateY(0)}50%{box-shadow:0 10px 36px #00000057,inset 0 0 0 1px #22c55e61,inset 0 0 30px #22c55e38;transform:translateY(-1px)}}.turn-indicator{position:relative;padding:.85rem 1rem;border-radius:10px;background:#48bb7826;border:1px solid rgba(72,187,120,.6);animation:turnPulse 1.6s ease-out infinite}.game-turn-active .card{border-color:#22c55e59;box-shadow:0 8px 30px #00000047,inset 0 0 0 1px #22c55e38,inset 0 0 18px #22c55e1f}.game-turn-active .card-map{box-shadow:0 10px 36px #00000057,inset 0 0 0 1px #22c55e52,inset 0 0 26px #22c55e2e}.game-turn-active .btn-primary{background:linear-gradient(135deg,#22c55e,#16a34a)}.game-turn-active .btn-primary:hover{box-shadow:0 4px 14px #22c55e73}.game-page{position:relative;--bottom-status-offset: 0px;padding-top:var(--tg-game-page-extra-top, 0px)}.modal{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:100;padding:1rem}.game-page .modal-question,.game-page .modal-duel{position:absolute;top:var(--tg-game-page-extra-top, 0px);left:0;right:0;bottom:0;background:#000000a6;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);border-radius:12px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--motion-med) ease,transform var(--motion-med) ease;transform:translateY(6px)}.game-page .modal-question.modal-open,.game-page .modal-duel.modal-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}.modal-turn-result{position:absolute;top:var(--tg-game-page-extra-top, 0px);left:0;right:0;bottom:0;background:transparent;display:flex;align-items:center;justify-content:center;z-index:50;padding:1rem;pointer-events:none}.modal-turn-result .modal-content{pointer-events:auto}.modal-turn-result.modal-open{animation:none}.modal-turn-result.modal-open .modal-content{animation:modalPop var(--motion-med) ease-out}.modal-turn-result-content{text-align:center}.turn-result-avatar-wrap{width:80px;height:80px;margin:0 auto 1rem;border-radius:50%;overflow:hidden;border:3px solid rgba(255,255,255,.25);box-shadow:0 0 24px #22c55e59,0 4px 12px #0006;background:#ffffff14}.turn-result-avatar-wrap .capture-event-avatar{width:100%;height:100%;object-fit:cover;display:block}.turn-result-capture-title{font-size:1.1rem;margin:0 0 .5rem;color:var(--theme-text)}.modal-turn-result .btn-primary{min-width:140px;margin-top:.5rem}.game-chat{margin-top:1rem}.game-chat-panel{display:flex;flex-direction:column;max-height:260px;padding:.5rem;border-radius:12px;background:#141923f5;border:1px solid rgba(255,255,255,.12);box-shadow:0 4px 20px #0006}.game-chat-messages{flex:1;min-height:80px;max-height:140px;overflow-y:auto;padding:.4rem 0;font-size:.85rem;line-height:1.4}.game-chat-msg{margin-bottom:.35rem;word-break:break-word}.game-chat-msg-name{color:var(--theme-accent);font-weight:600}.game-chat-msg-text{color:var(--theme-text)}.game-chat-form{display:flex;gap:.5rem;margin-top:.4rem;padding-top:.4rem;border-top:1px solid rgba(255,255,255,.08)}.game-chat-input{flex:1;padding:.4rem .6rem;font-size:.9rem;border-radius:8px;border:1px solid rgba(255,255,255,.15);background:#00000040;color:var(--theme-text)}.game-chat-input::placeholder{color:var(--theme-text-muted)}.game-chat-send{padding:.4rem .8rem;font-size:.85rem}.modal-content{background:linear-gradient(180deg,#1e2433,#161b26);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:1.25rem 1.15rem 1.35rem;max-width:360px;width:100%;box-shadow:0 24px 48px #00000080}@keyframes modalPop{0%{transform:scale(.85) translateY(10px);opacity:0}60%{transform:scale(1.02) translateY(0);opacity:1}to{transform:scale(1) translateY(0);opacity:1}}.modal.modal-open .modal-content{animation:modalPop var(--motion-med) ease-out}.modal-content h3{margin:0 0 1rem;font-size:1.1rem}.modal-capture-event-content{text-align:center}.capture-event-avatar-wrap{width:80px;height:80px;margin:0 auto 1rem;border-radius:50%;overflow:hidden;border:3px solid rgba(255,255,255,.25);box-shadow:0 0 24px #22c55e59,0 4px 12px #0006;background:#ffffff14}.capture-event-avatar{width:100%;height:100%;object-fit:cover;display:block}.capture-event-title{font-size:1.25rem;font-weight:700;margin:0;color:var(--theme-text);letter-spacing:.02em}.capture-event-text{font-size:.95rem;line-height:1.55;color:var(--theme-text-muted)}.modal-capture-event .btn-primary{min-width:140px}#question-media{border-radius:10px;overflow:hidden;margin-bottom:.65rem}.question-media-image{width:100%;max-height:280px;object-fit:contain;background:#00000059;border-radius:10px;border:1px solid rgba(255,255,255,.12);display:block}.question-media-audio{width:100%;border-radius:8px;min-height:48px}.question-media-image.loading{min-height:120px;background:#00000059 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2"><circle cx="12" cy="12" r="10" opacity="0.3"/><path d="M12 2a10 10 0 0 1 10 10"><animateTransform attributeName="transform" type="rotate" from="0 12 12" to="360 12 12" dur="1s" repeatCount="indefinite"/></path></svg>') center center no-repeat}#question-options{display:flex;flex-direction:column;flex-wrap:wrap;gap:.45rem;margin-bottom:.85rem}#question-options:has(.option-img-btn){flex-direction:row}#question-options .option-img-btn{cursor:pointer;transition:border-color .15s}#question-options .option-img-btn:hover{border-color:#63b3ed!important}#question-options .option-btn{width:100%;text-align:left}.option-disabled{opacity:.6;cursor:default!important;pointer-events:none}.toast{position:fixed;bottom:calc(1.5rem + var(--bottom-status-offset));left:50%;transform:translate(-50%) translateY(8px);padding:.75rem 1.25rem;border-radius:8px;font-weight:600;z-index:200;max-width:90%;text-align:center;box-shadow:0 4px 12px #0000004d;opacity:1;transition:opacity var(--motion-med) ease,transform var(--motion-med) ease}.bottom-status{position:fixed;left:50%;bottom:1.1rem;transform:translate(-50%);z-index:190;width:min(520px,92%);background:#0a0e18db;border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:.55rem .75rem;box-shadow:0 10px 26px #00000073;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.bottom-status-line{font-weight:650;line-height:1.25;text-align:center}.bottom-status-turn{color:#e2e8f0}.bottom-status-info{margin-top:.25rem;color:#fbd38d;font-weight:700}.toast.toast-hide{opacity:0;transform:translate(-50%) translateY(18px)}.toast-success{background:#38a169;color:#fff}.toast-error{background:#e53e3e;color:#fff}.toast-info{background:#3182ce;color:#fff}.dice-hint{color:#a0aec0;font-size:.9rem;margin-bottom:1rem}.dice-value{width:64px;height:64px;margin:0 auto 1rem;background:#fff;color:#1a1a2e;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700;box-shadow:inset 0 0 0 2px #2d3748}#dice-roll{width:100%}.hex-map-wrapper{display:flex;justify-content:center;margin:0 auto}.capture-announcement{position:fixed;top:0;right:0;bottom:0;left:0;z-index:150;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#000000bf,#00000073);pointer-events:none}.capture-announcement-inner{text-align:center;display:flex;flex-direction:column;align-items:center;gap:.25rem}.capture-announcement-icon{width:72px;height:72px;margin-bottom:.35rem;border-radius:50%;overflow:hidden;border:2px solid rgba(255,255,255,.75);box-shadow:0 0 18px #63b3eda6}.capture-announcement-avatar{width:100%;height:100%;object-fit:cover;display:block}.capture-announcement-player{font-size:1.8rem;font-weight:800;letter-spacing:.03em;color:#fff;text-shadow:0 0 12px rgba(99,179,237,.8),0 0 40px rgba(99,179,237,.4),0 2px 4px rgba(0,0,0,.6)}.capture-announcement-action{font-size:1rem;font-weight:500;color:#a0aec0;text-transform:uppercase;letter-spacing:.15em;margin:.1rem 0}.capture-announcement-tile{font-size:2.2rem;font-weight:900;letter-spacing:.04em;background:linear-gradient(135deg,#fbd38d,#f6ad55 40%,#ed8936);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;filter:drop-shadow(0 2px 6px rgba(0,0,0,.5))}@keyframes captureAnnounceIn{0%{opacity:0;transform:scale(.5);filter:blur(12px)}50%{opacity:1;transform:scale(1.08);filter:blur(0px)}to{opacity:1;transform:scale(1);filter:blur(0px)}}@keyframes captureAnnounceOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.15);filter:blur(6px)}}@keyframes captureGlow{0%,to{text-shadow:0 0 12px rgba(99,179,237,.8),0 0 40px rgba(99,179,237,.4),0 2px 4px rgba(0,0,0,.6)}50%{text-shadow:0 0 24px rgba(99,179,237,1),0 0 60px rgba(99,179,237,.7),0 2px 4px rgba(0,0,0,.6)}}@keyframes captureIconBounce{0%{transform:scale(0) rotate(-20deg)}50%{transform:scale(1.3) rotate(5deg)}75%{transform:scale(.9) rotate(-2deg)}to{transform:scale(1) rotate(0)}}@keyframes captureSlideUp{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}.capture-announcement-enter{animation:captureAnnounceIn .5s cubic-bezier(.34,1.56,.64,1) forwards}.capture-announcement-enter .capture-announcement-icon{animation:captureIconBounce .6s .1s cubic-bezier(.34,1.56,.64,1) both}.capture-announcement-enter .capture-announcement-player{animation:captureSlideUp .4s .15s ease-out both,captureGlow 1.5s .4s ease-in-out infinite}.capture-announcement-enter .capture-announcement-action{animation:captureSlideUp .4s .25s ease-out both}.capture-announcement-enter .capture-announcement-tile{animation:captureSlideUp .4s .35s ease-out both}.capture-announcement-exit{animation:captureAnnounceOut .4s ease-in forwards}.question-context-header{display:flex;align-items:center;justify-content:center;gap:1rem;margin-bottom:.75rem;flex-wrap:wrap}.question-context-header--duel .question-context-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid #4a5568}.question-context-duel-side{display:flex;flex-direction:column;align-items:center;gap:.35rem}.question-context-player-name{font-size:.85rem;font-weight:600;color:#e2e8f0;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.question-context-vs{font-weight:700;color:#e2e8f0}.question-context-header--attack{gap:.5rem .75rem}.question-context-header--attack .question-context-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid #4a5568}.question-context-attacker-name{font-weight:600;color:#e2e8f0;font-size:.95rem}.question-context-tile-icon{display:inline-flex;color:#f6ad55}.question-context-tile-icon svg{display:block}.question-context-tile-name{font-weight:700;color:#fbd38d;font-size:.95rem}@media(hover:hover){.island-svg .hex-cell[data-capturable="1"]:hover polygon[data-role=poly]{filter:brightness(1.25) drop-shadow(0 0 6px rgba(99,179,237,.6));transition:filter .2s ease}}.island-svg .hex-cell polygon{transition:fill var(--motion-long) ease,stroke var(--motion-long) ease,filter var(--motion-med) ease}@keyframes turnSlideIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.page-enter .turn-indicator{animation:turnPulse 1.6s ease-out infinite,turnSlideIn .35s ease-out}@keyframes cardSlideUp{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.page-enter .card{animation:cardSlideUp .3s ease-out both}.page-enter .card:nth-child(2){animation-delay:.06s}.page-enter .card:nth-child(3){animation-delay:.12s}.page-enter .card:nth-child(4){animation-delay:.18s}@keyframes mapFadeScale{0%{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}.page-enter .hex-map.island-map{animation:mapFadeScale .4s ease-out}@keyframes hexCaptureNew{0%{transform:scale(.7);filter:brightness(2) drop-shadow(0 0 12px rgba(72,187,120,.9))}40%{transform:scale(1.12);filter:brightness(1.3) drop-shadow(0 0 8px rgba(72,187,120,.5))}to{transform:scale(1);filter:none}}@keyframes hexCaptureFill{0%{fill:var(--capture-from, #4a5568)}to{fill:var(--capture-to, #68d391)}}.island-svg .hex-cell.hex-cell-captured polygon{animation:hexCaptureFill 3s ease-in-out forwards,hexCaptureNew .5s cubic-bezier(.34,1.56,.64,1);transform-origin:center}@keyframes toastSlide{0%{opacity:0;transform:translate(-50%) translateY(24px) scale(.9)}to{opacity:1;transform:translate(-50%) translateY(0) scale(1)}}.toast.toast-success,.toast.toast-error,.toast.toast-info{animation:toastSlide var(--motion-med) cubic-bezier(.34,1.56,.64,1)}@media(prefers-reduced-motion:reduce){:root{--motion-long: .01ms;--motion-med: .01ms;--motion-fast: .01ms}*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}@keyframes modalBgFade{0%{background:#0000}to{background:#000000b3}}.modal.modal-open{animation:modalBgFade .25s ease-out}.card-victory{text-align:center}.card-victory .victory-solo{font-size:1.15rem;font-weight:600;margin:.5rem 0 .75rem;color:#68d391}.card-victory #to-lobby{margin-top:1rem}.card-game-over{text-align:center}.card-game-over h2{margin-bottom:1.25rem}.podium{display:flex;align-items:flex-end;justify-content:center;gap:.5rem;margin-bottom:1.5rem;min-height:140px}.podium-item{display:flex;flex-direction:column;align-items:center;flex:0 1 100px}.podium-place-1{order:2}.podium-place-2{order:1}.podium-place-3{order:3}.podium-avatar{width:56px;height:56px;border-radius:50%;object-fit:cover;border:3px solid #4a5568;margin-bottom:.35rem}.podium-place-1 .podium-avatar{width:72px;height:72px;border-color:#eab308}.podium-place-2 .podium-avatar{border-color:#94a3b8}.podium-place-3 .podium-avatar{border-color:#b45309}.podium-medal{font-size:1.5rem;line-height:1;margin-bottom:.25rem}.podium-name{font-weight:600;color:#e2e8f0;font-size:.95rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.podium-points{font-size:.85rem;color:#94a3b8}.podium-place-1 .podium-name{font-size:1.05rem;color:#fbd38d}.card-game-over #to-lobby{margin-top:.5rem}.gen-pack-card{position:relative;overflow:hidden}.gen-pack-card--loading{box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-accent) 55%,transparent),0 12px 40px var(--theme-accent-shadow)}.gen-generate-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;display:none;align-items:center;justify-content:center;padding:1.25rem;background:#0a0c18b8;backdrop-filter:blur(10px) saturate(1.2);-webkit-backdrop-filter:blur(10px) saturate(1.2);animation:genOverlayIn .35s ease-out}.gen-generate-overlay__panel{text-align:center;max-width:22rem;padding:1.5rem 1.35rem;border-radius:16px;background:linear-gradient(145deg,color-mix(in srgb,var(--theme-card-bg) 92%,var(--theme-accent) 8%),color-mix(in srgb,var(--theme-bg-2) 85%,transparent));border:1px solid color-mix(in srgb,var(--theme-accent) 35%,var(--theme-card-border));box-shadow:0 4px 24px #00000059,0 0 48px color-mix(in srgb,var(--theme-accent) 18%,transparent)}.gen-generate-overlay__title{margin:.85rem 0 .35rem;font-size:1.1rem;font-weight:700;letter-spacing:.02em;background:linear-gradient(90deg,var(--theme-text),var(--theme-accent));-webkit-background-clip:text;background-clip:text;color:transparent}.gen-generate-overlay__sub{margin:0;font-size:.88rem;line-height:1.45;color:var(--theme-text-muted)}.gen-generate-spinner{width:52px;height:52px;margin:0 auto;border-radius:50%;border:3px solid color-mix(in srgb,var(--theme-text-muted) 35%,transparent);border-top-color:var(--theme-accent);border-right-color:color-mix(in srgb,var(--theme-accent) 50%,transparent);animation:genSpin .85s linear infinite;box-shadow:0 0 20px var(--theme-accent-shadow)}.gen-status-line{min-height:1.25rem;font-size:.92rem;color:color-mix(in srgb,var(--theme-text) 88%,var(--theme-accent))}@keyframes genSpin{to{transform:rotate(360deg)}}@keyframes genOverlayIn{0%{opacity:0}to{opacity:1}}:root{color-scheme:dark;--theme-bg-1:#090e12;--theme-bg-2:#0d1519;--theme-bg-3:#101c20;--theme-card-bg:rgba(20,31,35,.92);--theme-card-border:rgba(177,213,194,.13);--theme-text:#edf4ee;--theme-text-muted:#9baea4;--theme-accent:#c7f36b;--theme-accent-from:#d2f77a;--theme-accent-to:#a9df4f;--theme-accent-shadow:rgba(185,236,96,.2);--theme-link:#d5f58d;--surface-soft:#111b1f;--line-soft:rgba(193,222,204,.14);--radius-card:22px;--radius-control:14px}body{min-height:100dvh;background:radial-gradient(ellipse at 14% -12%,rgba(138,181,100,.12),transparent 34rem),radial-gradient(ellipse at 100% 8%,rgba(63,112,97,.13),transparent 32rem),linear-gradient(160deg,#090e12,#0d1519 58%,#10191b);color:var(--theme-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:15px;line-height:1.5;letter-spacing:.005em}#app{max-width:1040px;min-height:100dvh;padding:calc(1.15rem + max(var(--tg-content-safe-area-inset-top,0px),env(safe-area-inset-top,0px))) clamp(1rem,3.2vw,2rem) 2.5rem;align-items:stretch}.page{width:100%;max-width:100%;animation:refresh-in .28s ease both}@keyframes refresh-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}h1,h2,h3,.page-title{color:#f3f7f2;letter-spacing:-.035em;line-height:1.15}h1{font-size:clamp(1.65rem,5vw,2.45rem);font-weight:780}h2{font-size:1.17rem;font-weight:720}.page-title{margin:0 0 .45rem;text-align:left;font-size:clamp(1.8rem,5vw,2.7rem)}.page-subtitle,.tg-auth-line{margin:0 0 1.3rem;text-align:left;color:#a7b9ae}.card{width:100%;max-width:none;margin:0 0 1rem;padding:clamp(1rem,2.5vw,1.45rem);background:linear-gradient(145deg,#182528f7,#111c1ff7);border:1px solid var(--theme-card-border);border-radius:var(--radius-card);box-shadow:0 14px 40px #00000030,inset 0 1px #ffffff06;transition:border-color .2s,transform .2s}.card:hover{transform:translateY(-1px);border-color:#c3e98f40}.card h2{margin:0 0 .85rem;font-size:1.12rem}.card-hint,.ui-state,.stagnant-hint{color:var(--theme-text-muted);line-height:1.55}#main-menu-card{padding:clamp(1rem,2vw,1.35rem)}#main-menu-card>.btn-primary{min-height:58px;font-size:1.05rem}#create-details,#join-details{border-color:#c7f36b47}.create-panel-head{justify-content:flex-start;margin-bottom:1.2rem}.create-panel-head .create-panel-title{padding:0 0 0 5.5rem;text-align:left;font-size:1.4rem}.create-panel-head .create-panel-back{left:0}.account-top-row{gap:1rem;align-items:center;flex-wrap:wrap}.account-card #account-avatar{width:60px!important;height:60px!important;border:2px solid rgba(199,243,107,.5)!important}.account-name-block{min-width:150px}.account-online{top:1rem;right:1rem;padding:.35rem .65rem;border-radius:999px;background:#c7f36b1a;color:#d4f58e;font-size:.78rem;font-weight:700}.account-theme-trigger{min-height:42px;border-radius:12px;background:var(--surface-soft);border-color:var(--line-soft)}.btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;padding:.68rem 1rem;border:1px solid transparent;border-radius:var(--radius-control);font:inherit;font-size:.94rem;font-weight:680;line-height:1.15;text-decoration:none;cursor:pointer;transition:transform .16s,background .16s,border-color .16s,box-shadow .16s}.btn:hover{transform:translateY(-1px)}.btn:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid rgba(199,243,107,.55);outline-offset:2px}.btn:active{transform:scale(.985)}.btn-primary{color:#14200d;background:linear-gradient(135deg,#d5f784,#b5e85b);box-shadow:0 6px 18px #abdd5b29}.btn-primary:hover{background:#defb98;box-shadow:0 9px 24px #abdd5b3d}.btn-secondary{color:#e2ece4;background:#1b292d;border:1px solid rgba(185,216,194,.16)}.btn-secondary:hover{background:#24363a;border-color:#b9d8c24d}.btn-danger{background:#e25c5c24;color:#ffb0a8;border:1px solid rgba(226,92,92,.24)}.btn-linkish,.link-back{color:#cbed91}.btn-block{width:100%}.btn-sm,.btn-small{min-height:36px;padding:.5rem .72rem;border-radius:11px}.form-group{margin-bottom:1rem}.form-group label,.form-block-label{margin:.85rem 0 .4rem;color:#dce7dd;font-size:.88rem;font-weight:650}.form-group label:first-of-type{margin-top:0}.form-group input:not([type=checkbox]):not([type=range]),.form-group select,.pack-search,.copy-row input,.game-chat-input,.input-numeric{width:100%;min-height:46px;padding:.7rem .85rem;color:#eff5ef;background:#0e181b;border:1px solid rgba(182,216,193,.19);border-radius:13px;font:inherit;transition:border-color .16s,box-shadow .16s}.form-group input:focus,.form-group select:focus,.pack-search:focus,.game-chat-input:focus{border-color:#c7f36ba6;box-shadow:0 0 0 3px #c7f36b1a;outline:0}.form-group input::placeholder,.game-chat-input::placeholder{color:#6f8278}.form-group select,.form-group select option{background-color:#111d20;color:#edf4ee}.form-group input[type=range]{accent-color:#c7f36b}.admin-check-item,.pack-row,.edit-pack-card,.history-game-btn{border-radius:13px}.admin-check-item{background:#ffffff06;border:1px solid var(--line-soft)}.pack-list{gap:.55rem}.pack-row{padding:.75rem;background:#101b1e;border:1px solid var(--line-soft)}.pack-row-selected,.edit-pack-card-selected{border-color:#c7f36b94;background:#c7f36b14}.edit-pack-card,.edit-question-row{background:#111c20;border-color:var(--line-soft)}.account-theme-dropdown{background:#122024;border-color:var(--line-soft);border-radius:14px}.account-theme-option:hover{background:#203237}.players-list li,.rating-row,.history-game-btn{background:#111d20;border:1px solid var(--line-soft);border-radius:14px}.players-list li{padding:.75rem .85rem}.rating-row{padding:.75rem;margin-bottom:.5rem}.rating-row:first-child{border-color:#c7f36b61}.rating-pts{color:#d3f58e;font-weight:750}.rating-rank{color:#9eaf9f}.history-game-btn{padding:.9rem;color:inherit}.history-game-btn:hover{background:#1b2b2f;border-color:#c7f36b4d}.link-back{display:inline-flex;padding:.45rem .7rem;margin:0 0 .7rem;text-decoration:none;font-weight:650;border-radius:10px}.link-back:hover{background:#c7f36b14}.game-page{max-width:100%}.game-page .card-map{padding:clamp(.7rem,2vw,1.2rem);overflow:hidden}.card-map .players-in-card-title{color:#dce9de}.hex-map-wrapper{border-radius:18px}.card-map .players-list li{background:#0c1619cc}.turn-indicator{border-radius:999px}.game-chat-panel{background:#0f1a1df7;border:1px solid var(--line-soft);border-radius:20px;box-shadow:0 18px 55px #00000059}.game-chat-messages{scrollbar-color:#354a41 transparent}.game-chat-input{flex:1}.game-chat-send{width:auto;margin:0}.bottom-status{border:1px solid var(--line-soft);border-radius:16px;background:#0c1518f0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.modal{padding:1rem;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#04090ab8}.modal-content{width:min(100%,560px);padding:clamp(1.2rem,4vw,2rem);background:linear-gradient(145deg,#1a292d,#101b1f);border:1px solid rgba(193,222,204,.2);border-radius:24px;box-shadow:0 28px 90px #0000008c}.modal-content h3{color:#f2f7ef;font-size:1.35rem}.option-btn,.option-img-btn{min-height:52px;border-radius:14px;border:1px solid rgba(187,216,194,.19);background:#1b2a2e;color:#edf4ee}.option-btn:hover,.option-img-btn:hover{background:#26383a;border-color:#c7f36b80}.toast{border:1px solid var(--line-soft);border-radius:14px;box-shadow:0 12px 36px #00000059}.error-msg{border:1px solid rgba(246,119,105,.3);border-radius:14px;background:#7c222233;color:#ffb5ac;padding:.85rem 1rem}.ui-state{padding:1.25rem 0}.connection-indicator{top:calc(1rem + max(var(--tg-content-safe-area-inset-top,0px),env(safe-area-inset-top,0px)));right:max(12px,calc((100vw - 1000px)/2));padding:.45rem .7rem;background:#0c1416e0;border-color:var(--line-soft);border-radius:999px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.page:has(#main-menu-card){display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.78fr);column-gap:1rem;align-content:start}.page:has(#main-menu-card)>.game-home-hero,.page:has(#main-menu-card)>.page-title,.page:has(#main-menu-card)>.page-subtitle,.page:has(#main-menu-card)>.tg-auth-line,.page:has(#main-menu-card)>#home-error{grid-column:1/-1}.page:has(#main-menu-card)>.account-card{grid-column:1;align-self:start}.page:has(#main-menu-card)>#main-menu-card{grid-column:2;grid-row:auto;align-self:start}.page:has(#main-menu-card)>#create-details,.page:has(#main-menu-card)>#join-details{grid-column:1/-1}@media(max-width:760px){#app{max-width:620px;padding-left:1rem;padding-right:1rem}.page:has(#main-menu-card){display:flex;flex-direction:column;gap:0}.page-title{margin-top:.25rem}.card{border-radius:19px}.page:has(#main-menu-card)>#main-menu-card{grid-row:auto}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}:root{--app-safe-top: 0px;--app-safe-bottom: 0px;--app-viewport-height: 100dvh;--motion-long: .7s;--motion-med: .22s}html{overflow-x:hidden;scroll-padding-top:calc(var(--app-safe-top) + 16px)}body{overflow-x:hidden;-webkit-text-size-adjust:100%}#app{min-height:var(--app-viewport-height);padding-top:calc(max(var(--app-safe-top),env(safe-area-inset-top,0px)) + 16px);padding-bottom:calc(max(var(--app-safe-bottom),env(safe-area-inset-bottom,0px)) + 24px)}.telegram-mobile body:before{content:"";position:fixed;inset:0 0 auto;height:var(--app-safe-top);background:#101a1c;z-index:500;pointer-events:none}.page,.card,.form-group,.account-name-block{min-width:0}.page-title{padding-right:28px}.card .card{max-width:100%;padding:16px 0;margin-bottom:0;background:transparent;border:0;border-radius:0;box-shadow:none}.card .card:hover{transform:none}.card .card-collapsible{border-top:1px solid var(--line-soft);margin-top:20px!important}.admin-check-grid{grid-template-columns:1fr;gap:8px}.form-group .admin-check-item{display:flex;align-items:center;gap:10px;padding:10px 12px;margin:0;min-height:44px;line-height:1.4}.form-group .admin-check-item input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;accent-color:var(--theme-accent)}.btn,.btn-linkish,.link-back,.account-theme-trigger{touch-action:manipulation}.btn:disabled{opacity:.48;cursor:default;transform:none}.modal,.game-page .modal-question,.game-page .modal-duel,.modal-turn-result,.modal.modal-history-detail{position:fixed;top:var(--app-safe-top);bottom:auto;left:0;right:0;height:calc(var(--app-viewport-height) - var(--app-safe-top) - var(--app-safe-bottom));padding:12px;border-radius:0;align-items:center;overflow:hidden}.modal-content{max-height:100%;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.modal-history-detail .modal-history-detail-content{max-height:100%;width:min(100%,600px);padding:0}.modal-history-detail-body{overflow-wrap:anywhere;padding:16px}.modal-history-detail-footer{padding:12px 16px;background:#142125}.history-detail-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:8px}.history-detail-name{overflow-wrap:anywhere;min-width:0}.history-detail-pts{white-space:nowrap}.connection-indicator,body:has(.game-page) .connection-indicator{top:calc(var(--app-safe-top) + 20px);right:max(16px,calc((100vw - 1000px)/2));padding:6px}.connection-indicator__text{display:none}.game-page{padding-top:0}.game-page .card-map{overflow:visible}.hex-map.island-map{max-width:650px;border:1px solid #30464a;border-radius:18px;overflow:hidden;box-shadow:none}.hex-map-wrapper{margin:12px -4px 0}.island-svg{width:100%;display:block;touch-action:manipulation}.island-svg .hex-cell polygon{transition:fill .22s,stroke .22s,stroke-width .22s}.game-turn-active .island-svg .hex-cell[data-capturable="1"]:not(.hex-cell-captured) polygon[data-role=poly]{animation:none;stroke:#c7f36b}.island-svg .hex-cell[data-duel="1"] polygon[data-role=poly]{animation:none;stroke:#fb8f84}.hex-cell text{pointer-events:none}.map-legend{display:flex;flex-wrap:wrap;gap:12px;padding:10px 2px 0;font-size:11px;color:#b4c6ba}.map-legend span{display:inline-flex;align-items:center;gap:5px}.map-legend i{width:9px;height:9px;border-radius:3px;border:2px solid #c7f36b}.map-legend span:last-child i{border-color:#fb8f84}.map-legend span:first-child i{border-color:#708d92}.card-map #turn-title{font-size:18px;margin-bottom:4px}.game-turn-active .card{animation:none}.game-chat-panel{margin-top:12px}.game-chat-form,.game-chat-input{min-width:0}.bottom-status,.toast{bottom:calc(var(--app-safe-bottom) + 12px);max-width:calc(100vw - 24px)}#question-options{gap:8px}#question-text{font-size:clamp(18px,4.8vw,24px);line-height:1.35;margin:12px 0 18px}#question-timer{padding:6px 10px;border-radius:999px;background:#0e181b;color:#c7f36b!important;font-variant-numeric:tabular-nums;width:fit-content}.option-btn{text-align:left;justify-content:flex-start;padding:12px 14px;line-height:1.4}@media(max-width:600px){#app{padding-left:calc(12px + var(--app-safe-left,0px));padding-right:calc(12px + var(--app-safe-right,0px))}body{font-size:14px}.page-title{font-size:26px;line-height:1.15}.page-subtitle{font-size:14px;line-height:1.5;margin-bottom:16px}h1{font-size:24px}.card{padding:16px;margin-bottom:12px;border-radius:18px}.card h2{font-size:17px}.account-top-row{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px}.account-card #account-avatar{width:48px!important;height:48px!important}.account-name-block{min-width:0}.account-theme-wrap{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;width:100%}.account-theme-label{margin:0;font-size:12px}.account-theme-trigger{min-width:100px}.account-card #account-status{font-size:12px}.account-card #btn-logout{margin-top:10px;min-height:40px;font-size:13px}.btn{min-height:44px;font-size:14px;padding:11px 14px}#main-menu-card>.btn-primary{min-height:50px;font-size:16px}.form-group input:not([type=checkbox]):not([type=range]),.form-group select,.pack-search,.copy-row input,.game-chat-input,.input-numeric{font-size:16px;min-height:46px}.form-group label{font-size:13px}.create-panel-head .create-panel-title{font-size:19px;padding-left:76px}.history-detail-row{grid-template-columns:minmax(0,1fr) auto;gap:6px 8px}.history-detail-row .btn-profile-tap{grid-column:1/-1;width:100%;min-height:36px;padding:7px}.players-list li{padding:9px;gap:8px}.players-list-display{font-size:13px}.players-list-stats{font-size:12px}.game-chat-send{font-size:12px;padding:10px}.modal-content{padding:18px;border-radius:20px}.modal-history-detail-heading{padding:16px;text-align:left}}.hex-map-wrapper{overflow:auto;max-width:100%;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:6px}.map-legend{padding:0;gap:7px;font-size:10px}.map-zoom{display:flex;gap:4px}.map-zoom .btn{padding:8px;width:40px;min-height:40px;font-size:20px}.island-svg .hex-cell:focus{outline:none}.island-svg .hex-cell:focus-visible polygon{stroke:#fff;stroke-width:3px}#question-text:focus{outline:none}.page{animation:mobile-page-in .18s ease}@keyframes mobile-page-in{0%{opacity:0}to{opacity:1}}.hex-map-wrapper{display:block}.page-enter .hex-map.island-map{animation:mobile-page-in .18s ease}.island-svg .hex-cell.hex-cell-captured polygon{animation:hexCaptureFill .3s ease-out,hexCaptureNew .38s ease-out}body:has(.modal.modal-open) .connection-indicator{opacity:0;pointer-events:none}.hex-map.island-map{border-color:#527b7a;background:#173641;box-shadow:0 10px 24px #0004}.hex-cell polygon[data-role=poly]{stroke-linejoin:round}.hex-cell text[data-role=label]{paint-order:stroke fill;stroke:#173228;stroke-width:2.4px;stroke-linejoin:round;font-weight:750}.tile-terrain{opacity:.92}.game-turn-active .hex-cell[data-capturable="1"] polygon[data-role=poly]{animation:frontier-breathe 2.8s ease-in-out infinite}.island-svg .hex-cell[data-duel="1"] polygon[data-role=poly]{animation:duel-frontier 1.8s ease-in-out infinite}@keyframes frontier-breathe{50%{stroke-opacity:.55}}@keyframes duel-frontier{50%{stroke-width:4;stroke-opacity:.65}}.hex-cell.hex-cell-captured{animation:territory-pop .58s cubic-bezier(.2,.8,.25,1);transform-box:fill-box;transform-origin:center}@keyframes territory-pop{0%{transform:scale(.92)}45%{transform:scale(1.06)}to{transform:scale(1)}}.battle-effects{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:420;overflow:hidden}.battle-spark{position:absolute;width:5px;height:8px;border-radius:2px;animation:battle-burst .8s ease-out both;box-shadow:0 0 8px currentColor}@keyframes battle-burst{0%{opacity:0;transform:translate(-50%,-50%) scale(.4)}12%{opacity:1}to{opacity:0;transform:translate(var(--spark-x),var(--spark-y)) rotate(var(--spark-rotation)) scale(.3)}}.answer-impact-good{animation:answer-good .4s ease-out}.answer-impact-bad{animation:answer-bad .36s ease-out}@keyframes answer-good{40%{filter:brightness(1.15);transform:scale(1.015)}}@keyframes answer-bad{20%,60%{transform:translate(-4px)}40%,80%{transform:translate(4px)}}#question-timer.timer-urgent{color:#ffd0a0!important;background:#5d302d;animation:timer-alert .9s ease-in-out infinite}@keyframes timer-alert{50%{box-shadow:0 0 0 4px #f28b6430}}.numeric-range-hint{padding:12px;margin:0 0 12px;border:1px solid #c7f36b70;background:#c7f36b12;border-radius:12px;color:#d4f79c;font-size:14px;line-height:1.5}#question-powerups .btn{background:#233a39;border:1px solid #52716b;color:#e2eddd}#question-powerups .btn:disabled{opacity:.5}#question-options>p{margin-top:0}.character-picker{border:0;padding:0;margin:20px 0 12px;display:flex;gap:12px}.character-picker legend{margin-bottom:10px;font-weight:650}.character-option{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:12px;padding:14px 10px;background:#10252b;color:#e9f0ed;border:1px solid #365052;border-radius:16px;font:inherit;cursor:pointer}.character-option>svg{width:44px;height:58px;flex-shrink:0}.character-option.selected{border-color:#c7f36b;background:#22362a;box-shadow:inset 0 0 0 1px #c7f36b}.character-option:focus-visible{outline:3px solid #c7f36b;outline-offset:3px}.map-ruler{pointer-events:none;filter:drop-shadow(0 2px 2px #06191e80)}.map-ruler .ruler-body{animation:none}.ruler-active .ruler-body{filter:drop-shadow(0 0 3px #ffd46b90)}.kaykit-frames{pointer-events:none}.character-option>svg{width:58px;height:70px}@media(prefers-reduced-motion:reduce){.map-ruler .ruler-body{animation:none!important}}.game-fullscreen-button{position:fixed;top:calc(var(--app-safe-top, 0px) + 8px);right:48px;z-index:440;padding:8px 12px;border:1px solid #466253;border-radius:12px;background:#17302a;color:#d9f2bb;font:inherit;font-size:12px;min-height:36px;cursor:pointer}.game-fullscreen-button[hidden]{display:none}.game-fullscreen-button:focus-visible{outline:2px solid #c7f36b;outline-offset:3px}.character-picker{min-inline-size:0}@media(max-width:380px){.character-option{flex-direction:column;gap:2px;padding:10px 6px}}.game-setup-dialog{position:fixed;inset:calc(var(--app-safe-top, 0px) + 12px) 12px calc(var(--app-safe-bottom, 0px) + 12px);width:min(520px,calc(100vw - 24px));height:fit-content;max-height:calc(var(--app-viewport-height, 100dvh) - var(--app-safe-top, 0px) - var(--app-safe-bottom, 0px) - 24px);margin:auto;padding:0;overflow:auto;border:1px solid #405b52;border-radius:24px;background:#142726;color:#eaf1e9;box-shadow:0 24px 100px #0009}.game-setup-dialog::backdrop{background:#03100ddd;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.game-setup-form{padding:22px}.game-setup-heading{display:flex;align-items:center;justify-content:space-between}.setup-eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:.13em;color:#b9d290}.setup-close{border:0;background:#233a34;color:#dae9db;width:36px;height:36px;border-radius:50%;font-size:24px;cursor:pointer}.game-setup-form h2{margin:12px 0 8px;font-size:25px}.setup-victory-options{display:grid;gap:10px;margin:18px 0}.setup-victory-options button,.setup-map-options button{font:inherit;text-align:left;border:1px solid #3b524b;border-radius:16px;padding:14px;background:#102120;color:#e9f0e7;cursor:pointer}.setup-victory-options strong,.setup-victory-options span{display:block}.setup-victory-options span{margin-top:5px;color:#9db2a8;font-size:13px}.game-setup-form [aria-pressed=true]{border-color:#c7f36b;background:#263c2b;box-shadow:inset 0 0 0 1px #c7f36b}.setup-slider-panel{background:#0d1e1c;border-radius:18px;padding:16px;margin:18px 0}.setup-slider-panel label{display:block;font-size:14px;color:#bdd0c1}.setup-slider-panel output{display:block;font-size:38px;line-height:1.3;font-weight:750;color:#d4f797;margin:8px 0}#setup-goal{width:100%;height:28px;accent-color:#c7f36b;cursor:pointer}.setup-range-limits{display:flex;justify-content:space-between;font-size:12px;color:#8ca89b}.setup-map-options{min-inline-size:0;padding:0;border:0;margin:18px 0}.setup-map-options legend{font-weight:650;margin-bottom:10px}.setup-map-options>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.setup-map-options button{padding:10px 4px;text-align:center;min-width:0}.setup-map-options svg{width:100%;max-width:68px;height:58px;color:#a9c79e}.setup-map-options strong{display:block;font-size:12px}.setup-map-options span{display:block;font-size:10px;color:#9db2a8;margin-top:5px}.setup-final-hint{text-align:center}.game-setup-form button:focus-visible{outline:2px solid #c7f36b;outline-offset:3px}@media(max-width:380px){.game-setup-form{padding:16px}.game-setup-form h2{font-size:22px}}@media(max-width:600px){.game-setup-form{padding:16px}.game-setup-form h2{font-size:22px;margin:8px 0}.setup-victory-options{margin:12px 0;gap:8px}.setup-victory-options button{padding:10px 12px}.setup-victory-options strong{font-size:14px}.setup-victory-options span{font-size:12px;margin-top:3px}.setup-slider-panel{padding:12px;margin:12px 0}.setup-slider-panel output{font-size:32px;margin:4px 0}.setup-slider-panel .card-hint{font-size:12px}.setup-map-options{margin:12px 0}.setup-map-options svg{height:42px}.setup-final-hint{display:none}.game-setup-form>button[type=submit]{position:sticky;bottom:0;box-shadow:0 -8px 14px #142726;margin-top:14px}}.question-setup-dialog [hidden]{display:none!important}.question-setup-dialog .pack-list{max-height:32dvh;overflow-y:auto;margin-top:12px}.question-setup-dialog .pack-row{min-height:48px;width:100%;text-align:left;overflow-wrap:anywhere}.question-setup-dialog #question-next{position:sticky;bottom:0;margin-top:12px}.question-kind-options{display:grid;gap:12px;border:0;padding:0;margin:12px 0}.question-kind-options label{display:flex;align-items:center;gap:10px;min-height:44px}.question-kind-options input{width:20px;height:20px;flex:0 0 20px}.question-setup-dialog #question-status{overflow-wrap:anywhere}.mode-description{display:block;margin-top:7px;font-size:13px;line-height:1.5;font-weight:400;opacity:.85}#btn-create-mode-classic,#btn-create-mode-table{text-align:left;white-space:normal;padding:15px;line-height:1.4}#btn-create-mode-classic strong,#btn-create-mode-table strong{display:block}.lobby-bot-toggle{margin:12px 0 8px}.players-list li{gap:12px;min-width:0}.players-list li>span:first-child{min-width:0;overflow-wrap:anywhere}.players-list li>span:last-child{flex-shrink:0}.copy-row{align-items:center}.copy-row input{min-width:0}.copy-row .btn{flex-shrink:0}.question-selection{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px;overflow-wrap:anywhere}.question-selection:empty{display:none}.question-selection strong{width:100%;font-size:13px;color:#afc4b6}.question-selection span{border:1px solid #6b854c;border-radius:10px;background:#c7f36b12;color:#dcf3b0;padding:6px 9px;font-size:12px}.question-created{padding:18px 0 4px}.question-created h3{font-size:21px;line-height:1.3;margin:8px 0}.question-created .btn+.btn{margin-top:10px}.question-generating-screen{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:var(--app-viewport-height,100dvh);max-width:none;max-height:none;margin:0;padding:calc(var(--app-safe-top,0px) + 24px) 24px calc(var(--app-safe-bottom,0px) + 24px);box-sizing:border-box;overflow:auto;border:0;border-radius:0;background:#101f1d;color:#eaf1e9;animation:generation-enter .2s ease-out}.question-generating-screen::backdrop{background:#101f1d}.question-generating-content{min-height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;max-width:440px;margin:0 auto}.question-generating-content h2{font-size:clamp(25px,6vw,34px);margin:20px 0 12px;line-height:1.25}.question-generating-content p{line-height:1.6;margin:0 0 14px}.question-generation-art{position:relative;width:180px;height:160px;margin:0 0 32px}.question-generation-art span{position:absolute;top:36px;left:52px;display:grid;place-items:center;width:76px;height:94px;font-size:40px;font-weight:700;border:1px solid #c7f36b88;border-radius:20px;color:#dcf99d;background:#263a28;box-shadow:0 14px 40px #0005;animation:generation-card 2.4s ease-in-out infinite}.question-generation-art span:first-child{left:8px;top:44px;transform:rotate(-18deg);animation-delay:-.8s}.question-generation-art span:nth-child(3){left:98px;top:44px;transform:rotate(18deg);animation-delay:-1.6s}.question-generation-art i{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid #c7f36b22;border-radius:50%}.generation-dots{display:flex;gap:9px;margin:12px}.generation-dots i{width:7px;height:7px;border-radius:50%;background:#c7f36b;animation:generation-dot 1.2s ease-in-out infinite}.generation-dots i:nth-child(2){animation-delay:.2s}.generation-dots i:nth-child(3){animation-delay:.4s}@keyframes generation-enter{0%{opacity:0}to{opacity:1}}@keyframes generation-card{50%{translate:0 -9px;filter:brightness(1.2)}}@keyframes generation-dot{50%{opacity:.3;translate:0 -4px}}@media(prefers-reduced-motion:reduce){.question-generating-screen,.question-generation-art span,.generation-dots i,.page{animation:none!important}}#btn-create-mode-classic,#btn-create-mode-table{display:block}.create-panel-head{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:12px 18px;margin-bottom:16px}.create-panel-head .create-panel-back{position:static;transform:none}.create-panel-head .create-panel-title{margin:0;padding:0}.game-setup-dialog{background:var(--theme-card-bg,#142726);color:var(--theme-text,#eaf1e9);border-color:var(--theme-card-border,#405b52)}.question-generating-screen,.question-generating-screen::backdrop{background:var(--surface-soft,#111b1f);color:var(--theme-text,#eaf1e9)}.create-panel-head .create-panel-title{width:auto;flex:1;min-width:0}.create-panel-head .create-panel-back{white-space:nowrap}.question-setup-dialog .pack-row{display:block}.question-setup-dialog .pack-row strong{display:block;font-weight:650}.question-setup-dialog .pack-row small{display:block;color:var(--theme-text-muted);font-size:11px;margin-top:4px}.question-selection span{max-width:100%;min-width:0}.territory-outline{stroke-width:2.7;stroke-linejoin:round;stroke-linecap:round;opacity:.95}.territory-wave{stroke:#f0ffd8;stroke-width:5;filter:drop-shadow(0 0 4px #d8ff9c)}.island-svg .hex-cell-merged polygon[data-role=poly]{fill-opacity:0;stroke-opacity:.15;stroke-width:.7;filter:none}.island-svg .hex-cell-merged .tile-terrain{opacity:.4}.island-svg .hex-cell-merged[data-duel="1"] polygon[data-role=poly],.island-svg .hex-cell-merged:focus-visible polygon[data-role=poly]{stroke-opacity:1;stroke-width:3}.island-svg .hex-cell-merged.hex-cell-captured{animation:none}@media(prefers-reduced-motion:reduce){.territory-wave{display:none}}#btn-create-mode-teams{display:block;width:100%;text-align:left;white-space:normal;padding:15px;line-height:1.4;margin-top:8px}#btn-create-mode-teams strong{display:block}.lobby-team-picker,.lobby-quest-picker{border:1px solid var(--line-soft);border-radius:16px;padding:14px;margin:16px 0}.lobby-team-picker>div{display:flex;gap:8px;flex-wrap:wrap}.lobby-quest-picker .btn{margin-top:8px;white-space:normal;text-align:left;justify-content:flex-start}.lobby-quest-picker [aria-pressed=true],.lobby-team-picker [aria-pressed=true]{border-color:#c7f36b;background:#263c2b;color:#eaf5d3}.adventure-panel:empty{display:none}.personal-quest{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 12px;border:1px solid #53654a;border-radius:12px;margin:10px 0;font-size:12px}.personal-quest span{flex:1;min-width:0}.personal-quest progress{width:100%;height:5px;accent-color:#c7f36b}.team-score{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 0;font-size:14px}.team-score strong:first-child{color:#86e2a1}.team-score strong:last-child{color:#91c8ff}.map-event-banner{display:grid;gap:4px;background:#b0842022;border:1px solid #d9b459;border-radius:12px;padding:12px;margin:10px 0;font-size:12px;color:#ffdf91;overflow-wrap:anywhere}.island-svg .hex-cell-event polygon[data-role=poly]{stroke:#ffcf65!important;stroke-opacity:1;stroke-width:3.5!important;animation:event-beacon 1.7s ease-in-out infinite;filter:drop-shadow(0 0 4px #ffc75a88)}@keyframes event-beacon{50%{stroke-opacity:.55}}@media(prefers-reduced-motion:reduce){.island-svg .hex-cell-event polygon[data-role=poly]{animation:none!important}}.hex-map.island-map{background:#126382;border-color:#65d9ee;box-shadow:0 10px 30px #081b2566,inset 0 0 0 1px #b3f5ff33}.hex-cell text[data-role=label]{stroke:#163d40;stroke-width:3.3px;fill:#fff;font-weight:800}.island-svg .hex-cell:not(.hex-cell-merged) .tile-terrain{opacity:.8}.island-svg .hex-cell-merged .tile-terrain{opacity:.28}.territory-outline{stroke-width:3.3;filter:drop-shadow(0 1px 2px #10343d99)}.game-turn-active .hex-cell[data-capturable="1"] polygon[data-role=poly]{stroke:#f1ffa0;stroke-width:3.2}:root{--game-gold:#ffd37b;--game-ink:#102631;--game-steel:#334f62;--game-red:#ff5b70}body{background:radial-gradient(ellipse at 15% 0%,#234b4a 0,transparent 55%),radial-gradient(ellipse at 95% 60%,#203b52 0,transparent 50%),#0f1c26;background-attachment:fixed}.btn{border-radius:14px;font-weight:800;letter-spacing:.01em;transition:background .18s,box-shadow .18s,transform .12s;box-shadow:0 4px #06131880,inset 0 1px #ffffff13}.btn:not(:disabled):active{transform:translateY(3px);box-shadow:0 1px #06131880,inset 0 2px 6px #0003}.btn-primary{background:linear-gradient(180deg,#e4ff96,#aedf4e);color:#1b321f;border:1px solid #eaffbd;box-shadow:0 5px #5b812e,0 7px 20px #a5df3320,inset 0 2px #fff7;text-shadow:0 1px 0 #ffffff55}.btn-primary:hover:not(:disabled){background:linear-gradient(180deg,#ecffb0,#bde95d)}.btn-secondary{background:linear-gradient(180deg,#304852,#20343f);border:1px solid #506774;color:#edf7ff}.btn:focus-visible,.hex-cell:focus-visible{outline:3px solid #ffdc83;outline-offset:4px}.btn:disabled{box-shadow:none}.card{background:linear-gradient(145deg,#20353bf2,#14252ef5);border-color:#3a535d;box-shadow:0 6px 20px #030e142e,inset 0 1px #ffffff08}.battle-kicker{display:block;color:#ffdc8b;font-size:10px;font-weight:900;letter-spacing:.17em;line-height:1.5}.game-home-hero{position:relative;isolation:isolate;overflow:hidden;min-height:210px;margin-bottom:18px;padding:24px 20px;border:1px solid #678d8c;border-radius:24px;background:radial-gradient(ellipse at 80% 40%,#6baa7770,transparent 65%),linear-gradient(125deg,#204653,#21484a 60%,#41654d);box-shadow:0 6px #071a24,inset 0 1px #b5fff533}.game-home-hero .page-title{position:relative;z-index:1;max-width:72%;font-size:clamp(25px,6vw,39px);line-height:1.08;margin:10px 0;color:#fff7df;text-shadow:0 3px 0 #102c39}.game-home-hero .page-subtitle{position:relative;z-index:1;max-width:68%;font-size:13px;color:#d3e6de;margin:0;line-height:1.5}.home-hero-art{position:absolute;width:190px;height:180px;right:-27px;bottom:-4px;pointer-events:none;filter:drop-shadow(0 10px 7px #071d2766)}.home-hero-art .hero-territory{fill:#80b978;stroke:#b8e69b;stroke-width:2}#main-menu-card{padding:18px;background:linear-gradient(160deg,#293e47,#182b36)}#btn-play-main{min-height:62px;font-size:21px;letter-spacing:.04em}#btn-play-main{display:flex;align-items:center;justify-content:center;gap:12px}.short-code{color:#ffe1a1!important;letter-spacing:.16em;text-shadow:0 2px 0 #805d32}.ruler-choice[aria-pressed=true]{border-color:#ffdc88;box-shadow:0 0 0 2px #ffdc8829,inset 0 0 26px #edc66c12}.battlefield-heading{border-bottom:1px solid #63858b55;padding-bottom:10px;margin-bottom:10px}.card-map #turn-title{font-size:clamp(20px,5.3vw,27px);line-height:1.2;margin:4px 0 0;font-weight:900;color:#f6f7df}.game-turn-active .battlefield-heading .battle-kicker{color:#cfff8c}.battlefield-tip{font-size:12px;color:#bdd0d7;line-height:1.5;margin-bottom:10px}.game-page .card-map{background:linear-gradient(165deg,#29434c,#172d39 60%,#20333b);border:1px solid #63848a;box-shadow:0 6px #081c28,0 12px 25px #0002;padding:16px 12px}.game-page .game-turn-active .card-map{border-color:#9ebc71}.hex-map.island-map{border:2px solid #7bced6;box-shadow:0 5px #082c42,0 9px 20px #071c3066,inset 0 1px #dff9;border-radius:20px}.hex-map-wrapper{margin:12px -3px 4px;overflow:auto;overscroll-behavior:contain}.personal-quest{padding:10px;border-radius:12px;border:1px solid #81986c55;background:#abc88d0a;font-size:11px}.personal-quest strong{color:#deefad}.team-score{font-variant-numeric:tabular-nums}.map-event-banner{background:linear-gradient(110deg,#79551c66,#3d3e2b);border-color:#e6bc64;box-shadow:inset 3px 0 #ffcf70}.map-legend span:first-child i{background:#ff586c;border-color:#ffa098;border-radius:50%;box-shadow:0 0 7px #ff5b7066}.players-list>li{border-radius:12px;background:#0d253344;border-color:#69849344}.map-guard{filter:drop-shadow(0 0 3px #ff354c99)}.guard-body{animation:guard-breathe 2.5s ease-in-out infinite;animation-delay:var(--guard-delay,0s);transform-origin:0 10px;transform-box:view-box}.guard-aura{animation:guard-beacon 2.5s ease-in-out infinite;animation-delay:var(--guard-delay,0s)}.guard-fighting .guard-axe{animation:guard-ready .7s ease-in-out infinite;transform-origin:12px 2px}.guard-fighting .guard-body{translate:14px 0}.guard-defeated{animation:guard-fall .65s ease-in forwards}.question-guard{flex:0 0 48px;width:48px;height:48px}.question-guard svg{display:block;width:100%;height:100%;filter:drop-shadow(0 0 6px #ff526d55)}.game-page .modal-question{background:radial-gradient(ellipse at 50% 30%,#315666c9,#061621f2);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.game-page .modal-question .modal-content{border-radius:24px;border:1px solid #6e8b98;background:linear-gradient(160deg,#2b4755,#172e3c 70%);box-shadow:0 9px #081c29,0 24px 60px #0008,inset 0 1px #e2faff22;padding:22px 18px}#question-text{color:#fff5de;font-weight:800}#question-timer{background:#0a2432;border:1px solid #7297a455;color:#ddfca1!important;min-width:108px;text-align:center;font-weight:800;box-shadow:inset 0 2px 5px #0002}#question-timer.timer-urgent{color:#ffb3ac!important;border-color:#fa7c7188}#question-options{counter-reset:answer-choice}#question-options .option-btn{position:relative;min-height:56px;border-radius:14px;border:1px solid #718b9b;background:linear-gradient(160deg,#3c596b,#2a4053);box-shadow:0 4px #0c2230,inset 0 1px #ffffff20;padding:13px 14px 13px 47px;color:#fff;line-height:1.4;font-weight:700;counter-increment:answer-choice}#question-options .option-btn:before{content:attr(data-letter);position:absolute;left:11px;top:50%;transform:translateY(-50%);width:25px;height:25px;display:grid;place-items:center;background:#102c3d;border:1px solid #a6c5d144;border-radius:8px;color:#c6e7f0;font-size:12px}#question-options .option-btn:not(:disabled):active{transform:translateY(3px);box-shadow:0 1px #0c2230}#question-options .option-btn:disabled{opacity:.85}.question-context-header{padding-bottom:12px;border-bottom:1px solid #71929a55}.question-context-vs{color:#ffcb76!important;font-style:italic;font-weight:900}.modal-turn-result-content{border:1px solid #d4bf7e!important;background:radial-gradient(ellipse at top,#61744455,transparent 65%),linear-gradient(150deg,#294742,#152e37)!important;box-shadow:0 8px #0c222b,0 25px 70px #0009!important}.turn-result-capture-title{color:#ffe39b;text-shadow:0 2px 0 #503f2c}.turn-result-avatar-wrap{filter:drop-shadow(0 0 16px #c8f87144)}.battle-intro[hidden]{display:none!important}.battle-intro{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1300;display:grid;place-items:center;padding:calc(var(--app-safe-top,0px) + 24px) 24px calc(var(--app-safe-bottom,0px) + 24px);background:radial-gradient(ellipse at center,#3f6477ed,#081a2af7 70%);overflow:hidden;isolation:isolate}.battle-intro-content{text-align:center;width:min(100%,460px);animation:battle-card-in .35s ease-out}.battle-intro-content h2{color:#fff1c4;font-size:clamp(26px,8vw,40px);line-height:1.15;margin:12px 0;text-shadow:0 3px 0 #76573b;overflow-wrap:anywhere}.battle-intro-content p{color:#bed7e0;font-size:14px;line-height:1.5}.battle-intro-orbit{position:absolute;width:310px;height:310px;border:1px solid #ffe9a322;border-radius:50%;box-shadow:0 0 0 35px #ffe9a308,0 0 0 70px #ffe9a305;z-index:-1}.clashing-swords{position:relative;width:220px;height:190px;margin:22px auto 0}.clashing-swords>span{position:absolute;left:60px;top:0;width:100px;height:190px;transform-origin:50% 68%}.clashing-swords svg{width:100%;height:100%;filter:drop-shadow(0 6px 5px #0005)}.clashing-swords>span:first-child{animation:sword-left 1.25s cubic-bezier(.2,.8,.3,1) both}.clashing-swords>span:nth-child(2){animation:sword-right 1.25s cubic-bezier(.2,.8,.3,1) both}.clashing-swords i{position:absolute;left:98px;top:62px;width:24px;height:24px;background:#fff6cb;box-shadow:0 0 28px 12px #ffd47488;clip-path:polygon(50% 0,60% 35%,100% 50%,65% 60%,50% 100%,40% 65%,0 50%,35% 40%);animation:sword-spark 1.25s both}.battle-intro-line{display:block;width:150px;height:3px;margin:24px auto 0;border-radius:4px;background:#ffda8b;box-shadow:0 0 18px #ffda8b55;animation:battle-line 1.25s linear both;transform-origin:left}@keyframes guard-breathe{0%,to{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-1.8px) rotate(2deg)}}@keyframes guard-beacon{0%,to{opacity:.23}50%{opacity:.5}}@keyframes guard-ready{50%{transform:rotate(18deg)}}@keyframes guard-fall{to{opacity:0;translate:8px -15px;filter:blur(4px)}}@keyframes battle-card-in{0%{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}@keyframes sword-left{0%{transform:translate(-85px,18px) rotate(-80deg);opacity:0}35%{transform:rotate(40deg);opacity:1}45%{transform:rotate(35deg)}to{transform:rotate(38deg)}}@keyframes sword-right{0%{transform:translate(85px,18px) rotate(80deg);opacity:0}35%{transform:rotate(-40deg);opacity:1}45%{transform:rotate(-35deg)}to{transform:rotate(-38deg)}}@keyframes sword-spark{0%,30%{opacity:0;transform:scale(.3)}38%{opacity:1;transform:scale(2)}65%,to{opacity:0;transform:scale(.6)}}@keyframes battle-line{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@media(max-width:380px){.game-page .card-map{padding:12px 8px}.map-legend{gap:7px;font-size:10px}.game-home-hero{padding:20px 16px}.home-hero-art{right:-45px}.game-home-hero .page-title{max-width:78%}}@media(prefers-reduced-motion:reduce){.guard-body,.guard-aura,.guard-fighting .guard-axe,.guard-defeated,.battle-intro-content,.clashing-swords>span,.clashing-swords i,.battle-intro-line{animation:none!important}.clashing-swords>span:first-child{transform:rotate(38deg)}.clashing-swords>span:nth-child(2){transform:rotate(-38deg)}.clashing-swords i{display:none}.btn{transition:none}}@media(hover:hover){#question-options .option-btn:not(:disabled):hover{border-color:#f5d386;background:linear-gradient(160deg,#486579,#354e62)}}.game-page .battlefield-heading{padding-bottom:7px;margin-bottom:7px}.game-page .battlefield-tip{margin-bottom:4px;font-size:11px}.game-page .team-score{padding:6px 0;font-size:13px}.game-page .personal-quest{margin:5px 0;padding:7px 9px;gap:5px}.game-page .personal-quest progress{height:4px}.game-page .map-event-banner{margin:7px 0;padding:8px 10px;gap:2px;font-size:11px;line-height:1.35}.game-page #round-line{margin:8px 0 4px!important;font-size:12px!important}.battle-sound{font-size:20px!important;line-height:1;min-width:38px;padding:8px!important}.map-zoom{align-items:center}@media(prefers-reduced-motion:reduce){.map-guard{filter:none}}@media(prefers-reduced-motion:no-preference){body:has(.game-page) .map-guard .guard-body{animation-play-state:running}body:has(.game-page:has(.modal-question.modal-open)) .map-guard .guard-body{animation-play-state:paused}}.map-toolbar{flex-wrap:wrap}.map-legend{flex:1;min-width:150px;padding-top:0}.map-zoom{flex-shrink:0}@media(max-width:600px){.home-hero-art{width:145px;height:155px;right:-15px;bottom:0}.game-home-hero .page-subtitle{max-width:57%;font-size:12px}.game-home-hero .page-title{max-width:75%}.game-home-hero{min-height:215px}}@media(max-width:350px){.home-hero-art{width:120px;right:-15px;bottom:8px}.game-home-hero .page-subtitle{max-width:61%;font-size:11px}.game-home-hero .page-title{max-width:78%}.game-home-hero>.battle-kicker{font-size:8px}}:root{--theme-text:#fff2cf;--theme-text-muted:#e2d2ae;--theme-link:#ffe59c;--theme-accent:#e7ae42;--theme-accent-from:#ffe17e;--theme-accent-to:#e9ad38;--theme-card-border:#be9459;--line-soft:#dbbd833d;--game-gold:#ffda71;--game-ink:#52371f}html{background:#527b32;overscroll-behavior-y:none}body{color:#fff1ce;background:radial-gradient(ellipse at 20% 0%,#92b94f66,transparent 65%),linear-gradient(135deg,#567e34,#375e2c);background-attachment:fixed;overscroll-behavior-y:none}button,a,[role=button],.island-svg,.island-svg *{-webkit-tap-highlight-color:transparent}button,a,[role=button],.map-ruler,.map-guard{-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}input,textarea{user-select:text;-webkit-user-select:text}.telegram-mobile body:before{background:transparent}.card{background:linear-gradient(145deg,#80613f,#65472f);border:1px solid #ba935c;box-shadow:0 5px #3d2e20,inset 0 1px #f8df9b55;color:#fff0ce}.card h2,.card h3,.page-title{color:#fff0c6;text-shadow:0 2px 0 #53391f}.card-hint,.page-subtitle,.tg-auth-line{color:#ead8b4}.btn-primary{background:linear-gradient(#ffe485,#efbb42);border-color:#ffe9a1;color:#573810;box-shadow:0 5px #986124,inset 0 2px #fff7;text-shadow:0 1px #fff7}.btn-primary:hover:not(:disabled){background:linear-gradient(#ffed9c,#f5c450)}.btn-secondary{background:linear-gradient(#a88450,#876137);border:1px solid #d9b87d;color:#fff1ca;box-shadow:0 4px #4b341f,inset 0 1px #fff3}.btn:hover{transform:none}.btn:not(:disabled):active{transform:translateY(2px);box-shadow:0 1px #4b341f}button:focus:not(:focus-visible),[role=button]:focus:not(:focus-visible){outline:none}.form-group input,.form-group select,.form-group textarea,.pack-search,.game-chat-input{background:#513b2a;color:#fff1cd;border-color:#bc965c}input::placeholder,textarea::placeholder{color:#ccb995}#main-menu-card{background:linear-gradient(145deg,#80633d,#5c442d)}.game-home-hero{background:radial-gradient(ellipse at 80% 40%,#b4cd5e77,transparent 65%),linear-gradient(125deg,#719b40,#567b34);border-color:#c6d77b;box-shadow:0 6px #365327,inset 0 1px #e7f5ac66}.game-home-hero .page-title{color:#fff1c0;text-shadow:0 3px #5e5628}.game-home-hero .page-subtitle{color:#f0f1c9}.game-home-hero .battle-kicker{color:#ffedaa}.ruler-choice[aria-pressed=true],.lobby-quest-picker [aria-pressed=true],.lobby-team-picker [aria-pressed=true]{background:#708642;color:#fff1bd;border-color:#ffe39a}.game-page{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;max-width:none!important;height:var(--app-viewport-height,100dvh);display:flex;flex-direction:column;overflow:hidden;margin:0;padding:calc(var(--app-safe-top,0px) + 8px) max(12px,var(--app-safe-right,0px)) calc(var(--app-safe-bottom,0px) + 6px) max(12px,var(--app-safe-left,0px));background:radial-gradient(ellipse at 30% 0%,#a6c56744,transparent 60%),linear-gradient(#668b3c,#385e2f);animation:none!important}body:has(.game-page),html:has(.game-page){overflow:hidden}.game-page>.link-back{flex-shrink:0;align-self:flex-start;margin:0 0 6px;color:#ffe7a1;font-weight:800;font-size:12px;min-height:28px;display:flex;align-items:center;padding:2px 4px}#game-content{min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:8px;scrollbar-width:thin;scrollbar-color:#a4ba6b transparent}.game-page .card-map,.game-page .game-turn-active .card-map,.game-page .card-map.turn-indicator{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0!important;animation:none!important;transform:none!important}.game-page .card-map.turn-change-pulse,.game-page .page-enter .card-map{animation:none!important}.battlefield-heading{border-color:#ddeb9e55;padding:0 4px 6px!important}.card-map #turn-title{font-size:clamp(19px,5vw,27px);color:#fff0b9;text-shadow:0 2px #3c5426}.battlefield-tip{padding:0 4px;color:#eaf2cc}.game-page .team-score{padding:4px}.team-score strong:first-child{color:#d7ffb0}.team-score strong:last-child{color:#ffe7a5}.game-page .personal-quest{border:0;box-shadow:inset 0 1px #eeffd822;background:#263f2580;color:#f1f2c5;margin:5px 0;padding:7px 10px;font-size:11px}.game-page .map-event-banner{border:0;border-left:3px solid #ffd575;border-radius:8px;background:#60481a99;color:#ffe6a1}.game-page #round-line{color:#e3edbd!important;padding:0 4px}.hex-map-wrapper{margin:8px -12px 0!important;max-width:calc(100% + 24px);overflow:auto;border:0;border-radius:0;box-shadow:none}.game-page .hex-map.island-map{max-width:none;border:0!important;border-radius:0!important;box-shadow:none!important;background:#328e92}.map-toolbar{padding:5px 3px}.map-legend{color:#f0ebc5}.map-zoom .btn{background:linear-gradient(#b49157,#8a653c);border-color:#dbc087;color:#fff0c4}.game-page .players-in-card-title{color:#fff0bf;margin:14px 4px 8px;font-size:15px}.players-list>li{background:#36512c9c;border:1px solid #aac36a4d;color:#fff1cb}.game-chat-panel{background:#3c582e;border:0;box-shadow:none;color:#f1e5be;border-radius:12px}.game-page .game-chat-panel{flex-shrink:0;max-height:34%;overflow:auto;margin-top:6px}.game-page .modal-question,.game-page .modal-duel,.game-page .modal-turn-result{top:0;right:0;bottom:0;left:0;height:var(--app-viewport-height,100dvh);padding:calc(var(--app-safe-top,0px) + 12px) max(16px,var(--app-safe-right,0px)) calc(var(--app-safe-bottom,0px) + 12px) max(16px,var(--app-safe-left,0px));border:0;border-radius:0;background:radial-gradient(ellipse at top,#fff3be,#e5c58c 70%);-webkit-backdrop-filter:none;backdrop-filter:none;align-items:stretch}.game-page .modal-question .modal-content,.game-page .modal-duel .modal-content,.game-page .modal-turn-result .modal-content{width:100%;max-width:640px;max-height:100%;margin:auto;border:0!important;box-shadow:none!important;border-radius:0;background:transparent!important;color:#50351e;padding:12px 0;overflow-y:auto}#question-text{color:#4c331f;text-shadow:0 1px #fff5d4;font-size:clamp(20px,5.4vw,28px)}#question-view-only-hint,#question-timer{color:#735b36!important}#question-timer{background:#fff3c7;border:1px solid #bd9355;color:#6b491f!important;box-shadow:0 2px #a7864c33}#question-timer.timer-urgent{background:#ffe0ba;color:#9c3722!important}.question-context-header{border-color:#a3855366;color:#654521}.question-context-attacker-name,.question-context-player-name{color:#644522}.question-context-tile-name{color:#80571d}.question-context-vs{color:#a96125!important}#question-options .option-btn{background:linear-gradient(#fff9e1,#f2db9c);border-color:#bd9459;box-shadow:0 4px #a47b42,inset 0 1px #fff;color:#51351e}#question-options .option-btn:before{background:#bb8e48;color:#fff5d6;border-color:#a67c3f}#question-options .option-btn:not(:disabled):hover{background:linear-gradient(#fffce9,#ffe5a6);border-color:#ae7c34}#question-powerups .btn{background:linear-gradient(#a6c36d,#82a446);border-color:#688b37;color:#243c13;box-shadow:0 3px #57772c}#question-options>p{color:#765a35!important}#question-options input{background:#fff9e5;color:#51351e;border:1px solid #bc9358}.numeric-range-hint{background:#fff5ca;border-color:#b89556;color:#674b28}.turn-result-capture-title,.turn-result-capture-text,#duel-modal-title,#duel-modal-text{color:#654322!important}.battle-intro{background:radial-gradient(ellipse at center,#839d45f5,#36582bf7 75%)}.battle-intro-content h2{color:#ffe7a4;text-shadow:0 3px #5c4623}.battle-intro-content p{color:#eef2bf}.game-fullscreen-button{background:#886538;border-color:#e5c98a;color:#fff0c0}.connection-indicator{box-shadow:none!important;background:#35532bb0!important}.guard-body{transform-box:view-box}.map-guard{filter:none}.guard-aura{opacity:.45}.hex-map.island-map.map-water-wave .island-svg{animation:none!important;filter:none!important}.island-svg .hex-cell.hex-cell-captured polygon{animation:none!important}.island-svg .hex-cell.hex-cell-captured,.page-enter .card,.page-enter .hex-map.island-map{animation:none!important}@media(min-width:900px){.game-page{padding-left:max(20px,calc((100vw - 860px)/2));padding-right:max(20px,calc((100vw - 860px)/2))}}#game-content{margin-left:calc(-1*max(12px,var(--app-safe-left,0px)));margin-right:calc(-1*max(12px,var(--app-safe-right,0px)));padding-left:max(12px,var(--app-safe-left,0px));padding-right:max(12px,var(--app-safe-right,0px))}.game-page .game-chat{flex-shrink:0;margin:4px 0 0;max-height:40%;overflow:auto}.game-chat summary{cursor:pointer;font-size:12px;font-weight:800;color:#ffedb7;padding:8px 10px;background:#385129;border-radius:10px;min-height:32px;-webkit-tap-highlight-color:transparent}.game-page .game-chat-panel{max-height:210px;margin-top:3px}.game-chat .game-chat-messages{min-height:40px;max-height:110px}@media(min-width:900px){.game-page #game-content{margin-left:0;margin-right:0;padding-left:0;padding-right:0}.game-page .hex-map-wrapper{margin-left:0!important;margin-right:0!important;max-width:100%}}.game-page .battlefield-tip{display:none}.game-page .card-map{position:relative}.game-page .battlefield-heading{padding-right:88px!important}.game-page #round-line{position:absolute;top:14px;right:2px;max-width:80px;text-align:right;font-size:10px!important;margin:0!important}.card:hover{transform:none}.game-page .map-toolbar{background:transparent}#question-options:has(.option-img-btn){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#question-options .option-img-btn{padding:8px;border:2px solid #b28b51;border-radius:14px;background:#fff2c8;box-shadow:0 4px #a47b42;display:grid;place-items:center;min-width:0}#question-options .option-img-btn img{width:100%!important;height:clamp(90px,25vw,145px)!important;object-fit:contain}.home-page .account-card{position:relative;padding:10px 14px;min-height:66px;border-radius:16px;margin-bottom:12px}.home-page .account-card h2,.home-page #account-time-line,.home-page #btn-logout,.home-page #account-status{display:none}.home-page .account-top-row{display:flex;align-items:center;gap:12px;margin:0}.home-page .account-card #account-avatar{width:42px!important;height:42px!important;flex:0 0 42px;border:2px solid #e3c175!important}.home-page .account-name-block{flex:1}.home-page #account-rating-line{font-size:11px;margin:2px 0 0!important}.home-page #btn-edit-name{font-size:15px;padding:0;min-height:24px;color:#fff1c2}.home-page .game-home-hero .page-title{font-size:clamp(26px,7vw,40px);max-width:75%;line-height:1.02}.city-barrier{display:none}.city-is-protected .city-barrier{display:block;animation:city-ward 2s ease-in-out infinite}.city-flag{transform-origin:0 -42px;animation:city-flag-wave 2.6s ease-in-out infinite}@keyframes city-ward{50%{opacity:.45;stroke-dashoffset:8}}@keyframes city-flag-wave{50%{transform:skewY(5deg)}}.game-page .modal-turn-result{background:#274120a8;-webkit-backdrop-filter:none;backdrop-filter:none;align-items:center}.game-page .modal-turn-result .modal-content{width:min(100%,360px);flex:none;max-height:100%;padding:18px 20px;background:radial-gradient(ellipse at top,#fff1c5,#e2bf7f)!important;border-radius:24px;border:1px solid #f9df9b!important;box-shadow:0 7px #62451e88,0 16px 60px #17281366!important;text-align:center;overflow:hidden}.game-page .turn-result-avatar-wrap{filter:none;margin:0 auto!important;width:auto!important;height:auto!important}.capture-coronation{position:relative;width:150px;height:132px;margin:0 auto;isolation:isolate}.capture-coronation svg{position:relative;width:100%;height:100%;overflow:visible;animation:castle-rise .65s cubic-bezier(.16,.8,.3,1) both}.capture-coronation .city-flag{animation:raise-banner 1.2s ease-out both,city-flag-wave 2.6s 1.2s ease-in-out infinite}.capture-halo{position:absolute;top:16px;right:8px;bottom:16px;left:8px;border:2px solid #bc9d38;border-radius:50%;background:radial-gradient(#fff5a6a0,#f4d25400 70%);animation:coronation-halo 1.5s ease-out both;z-index:-1}.capture-confetti{position:absolute;top:20px;right:20px;bottom:20px;left:20px;border-radius:50%;border:3px dotted #e8ad38;animation:coronation-halo 1.7s .2s ease-out both;pointer-events:none;z-index:-1}.game-page .turn-result-capture-title{font-size:22px;line-height:1.15;margin:0 0 8px;color:#63451e!important}.game-page .turn-result-capture-text{font-size:13px;line-height:1.5!important;margin:0 0 14px!important;color:#70552c!important}#turn-result-modal-close{min-height:42px;width:100%;margin:0;font-size:14px}@keyframes castle-rise{0%{opacity:0;transform:translateY(25px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes raise-banner{0%,25%{opacity:0;transform:translateY(22px) scaleY(.2)}to{opacity:1;transform:translateY(0) scaleY(1)}}@keyframes coronation-halo{0%{opacity:0;transform:scale(.5)}35%{opacity:1}to{opacity:0;transform:scale(1.6)}}@media(prefers-reduced-motion:reduce){.city-flag,.city-barrier,.capture-coronation svg,.capture-coronation .city-flag,.capture-halo,.capture-confetti{animation:none!important}.capture-halo,.capture-confetti{display:none}}.turn-result-capture-title:before{content:"ТЕРРИТОРИЯ ЗАХВАЧЕНА";display:block;font-size:9px;letter-spacing:.16em;color:#9c712d;margin:0 0 6px}.claim-banner{animation:claim-plant 2s ease both;transform-origin:0 10px}.claim-ring{animation:claim-expand 1.4s ease-out both;transform-origin:0 0}@keyframes claim-plant{0%{opacity:0;transform:translateY(-26px) rotate(-12deg)}22%{opacity:1;transform:translateY(0) rotate(4deg)}32%,75%{opacity:1;transform:translateY(0) rotate(0)}to{opacity:0;transform:translateY(-4px)}}@keyframes claim-expand{0%{opacity:0;transform:scale(.5)}25%{opacity:.85}to{opacity:0;transform:scale(2.7)}}@media(prefers-reduced-motion:reduce){.claim-banner,.claim-ring{animation:none}.land-claim-effect{display:none}}.game-page .turn-result-avatar-wrap{border:0;box-shadow:none;background:none;border-radius:0;overflow:visible}:root{--color-primary:#244a73;--color-gold:#e6b85c;--color-parchment:#f4e6c8;--color-ink:#263449;--color-success:#43866b;--color-danger:#c96b57;--color-disabled:#a7b8c3;--theme-text:#263449;--theme-text-muted:#6f624c;--theme-link:#ffe0a0;--theme-card-border:#c4a065;--line-soft:#a98c584d}html{background:#304c3b}body{background:radial-gradient(ellipse at 50% 0%,#8da68466,transparent 65%),linear-gradient(155deg,#58765b,#263e34);color:var(--color-ink)}body,button,input,select,textarea{font-family:system-ui,-apple-system,Segoe UI,sans-serif}h1,h2,h3,.royal-question-banner,.btn-primary{font-family:Georgia,Times New Roman,serif}.page-title{color:#fff1ca;text-shadow:0 2px #1c3040}.card,.home-page .account-card,#main-menu-card{position:relative;background:radial-gradient(ellipse at top,#fff5d9aa,transparent 80%),linear-gradient(135deg,#f4e6c8,#e6d2a9);border:1px solid #b3945c;box-shadow:0 4px #5b5035,inset 0 0 0 3px #f9efdb,inset 0 0 0 4px #b69b6d66;color:#263449;border-radius:18px}.card h2,.card h3{color:#263449;text-shadow:0 1px #fff5da}.card-hint,.card .card-hint,.home-page #account-rating-line{color:#726349}.card:after{content:"";position:absolute;top:7px;right:7px;bottom:7px;left:7px;border:1px solid #c7aa7366;border-radius:12px;pointer-events:none}.btn{border-radius:14px;min-height:48px;font-weight:750;transition:box-shadow .12s,transform .12s,background .15s}.btn-primary,#btn-play-main{color:#fff2c7;background:linear-gradient(#3b78b1,#215488 60%,#173d65);border:1px solid #e6bc69;box-shadow:0 4px #102d49,0 0 0 2px #b78d4d,inset 0 0 0 2px #96b9d166,inset 0 2px #c4e3fb88;text-shadow:0 2px 0 #132e46;letter-spacing:.03em}.btn-primary:hover:not(:disabled),#btn-play-main:hover:not(:disabled){background:linear-gradient(#4784bc,#295f94 60%,#1b426a)}.btn-secondary{color:#263449;background:linear-gradient(#fff6df,#ead7ae);border:1px solid #b89a62;box-shadow:0 3px #a58a58,inset 0 2px #fff7;text-shadow:none}.btn:not(:disabled):active{transform:translateY(2px);box-shadow:0 1px #a58a58,inset 0 1px 3px #5e462522}.btn-primary:not(:disabled):active{background:linear-gradient(#244b73,#173b5d);box-shadow:0 1px #102d49,0 0 0 2px #b78d4d}.btn:disabled{background:#a7b8c3;color:#425463;border-color:#879aa9;box-shadow:none;text-shadow:none}.btn:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #f8ce75;outline-offset:4px}.form-group input,.form-group select,.form-group textarea,.pack-search,.game-chat-input{color:#263449;background:#fff7e3;border-color:#b9a070;box-shadow:inset 0 2px 4px #8c6c3322}input::placeholder,textarea::placeholder{color:#958569}.form-group label{color:#5d4a2b}.home-page #btn-edit-name{color:#263449}.home-page .account-card #account-avatar{border-color:#bd9552!important}.home-page .game-home-hero{border-color:#d9b97c;background:radial-gradient(ellipse at 78% 60%,#a2ba7277,transparent 60%),linear-gradient(130deg,#1f425b,#446c61);box-shadow:0 5px #1c3542,inset 0 0 0 3px #d2bb7d33}.home-page .game-home-hero:after{content:"✦";position:absolute;right:18px;top:16px;color:#dbb76f;font-size:20px}.game-home-hero .page-title{font-family:Georgia,serif;color:#ffe2a2;max-width:74%;font-size:clamp(27px,7vw,40px)}.game-home-hero .page-subtitle{color:#e3e9d4}.game-home-hero .battle-kicker{color:#ddbd7f;letter-spacing:.12em}.game-page{background:radial-gradient(ellipse at top,#80906d66,transparent 55%),linear-gradient(#4b6551,#304a3c);padding-top:calc(var(--app-safe-top,0px) + 5px)}.royal-hud{position:relative;display:flex;align-items:center;gap:7px;flex-shrink:0;margin:0 -6px 9px;padding:8px 7px;border:1px solid #b79b60;border-radius:15px;background:linear-gradient(140deg,#263f51f5,#152c3df5);box-shadow:0 3px #162c30,inset 0 1px #fff3;color:#f9e4b4;min-height:58px}.royal-hud .royal-back{display:grid;place-items:center;flex:0 0 23px;padding:0;margin:0;color:#e6c77e;min-height:36px}.royal-hud .royal-back svg{width:20px;height:20px}.royal-profile{display:flex;align-items:center;gap:7px;min-width:0;flex:1;background:none;border:0;color:#fff0cb;padding:0;font:inherit;cursor:pointer;text-align:left;min-height:40px}.royal-profile img{width:38px;height:38px;flex:0 0 38px;border:2px solid #ddbd72;outline:1px solid #6a512b;border-radius:50%;object-fit:cover;background:#486256}.royal-profile span{font-size:12px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100px}.royal-resource{display:grid;grid-template-columns:21px auto;gap:0 4px;align-items:center;min-width:51px;padding:4px 6px;border:1px solid #aa8b50;border-radius:9px;background:linear-gradient(#5b4d32,#2e302a);box-shadow:inset 0 1px #edda9e33;font-variant-numeric:tabular-nums}.royal-resource svg{color:#efc96d;width:20px;height:20px;grid-row:1/3}.royal-resource>span{font-size:14px;font-weight:800;line-height:1.1;color:#fff1c7}.royal-resource small{font-size:8px;color:#d5c294;line-height:1.1}.battlefield-heading{border:0;padding:6px 85px 8px 7px!important;margin-bottom:4px!important;border-bottom:1px solid #cbcfaa55}.battlefield-heading .battle-kicker{color:#d4bd7a;font-size:9px}.card-map #turn-title{color:#fff1c7;font-family:Georgia,serif;font-size:21px;text-shadow:0 2px #243c2c}.game-page #round-line{color:#e0d9af!important;top:18px;font-size:10px!important}.game-page .personal-quest{background:#172e2db3;border:1px solid #b69b5b66;color:#ece4bb;padding:6px 9px}.personal-quest progress{accent-color:#d1ac50}.game-page .map-event-banner{background:linear-gradient(105deg,#725b2c,#3f4c30);border-left:3px solid #f1cf7d;color:#ffe7a9}.game-page .team-score{padding-top:2px;font-size:12px}.team-score strong:first-child{color:#c7e0c3}.team-score strong:last-child{color:#f1d6a3}.hex-map-wrapper{margin-top:7px!important}.game-page .hex-map.island-map{background:#3a8293}.island-svg .hex-cell polygon[data-role=poly]{stroke-linejoin:round;stroke-width:1.3}.hex-cell text[data-role=label]{stroke:#28482c;stroke-width:3px;font-weight:800;letter-spacing:0;font-family:system-ui,sans-serif}.island-svg .hex-cell:not(.hex-cell-merged) .tile-terrain{opacity:.95}.island-svg .hex-cell-merged .tile-terrain{opacity:.45}.map-zoom .btn{color:#f7e4b5;background:linear-gradient(#365a74,#213e55);border-color:#b99c61;box-shadow:0 3px #172f3e;min-height:38px}.map-legend{color:#d6dfc7;font-size:9px}.game-page .players-in-card-title{color:#f3e3b2}.players-list>li{background:linear-gradient(#f4e8cb,#e2d1a6);color:#263449;border-color:#bd9f65;box-shadow:0 2px #514b33}.players-list-display,.players-list-stats{color:#394c4a}.royal-navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));flex-shrink:0;margin:6px -6px 0;border:1px solid #ba9a5b;border-radius:13px;background:linear-gradient(#2b495e,#152e42);box-shadow:0 3px #162c30,inset 0 1px #e4dfbd44;padding:3px}.royal-navigation button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:49px;color:#eed8a3;border:0;border-right:1px solid #a5a47d33;background:none;font:inherit;font-size:10px;cursor:pointer;border-radius:8px}.royal-navigation button:last-child{border-right:0}.royal-navigation button[aria-pressed=true]{background:linear-gradient(#3b6584,#22475f);box-shadow:inset 0 0 0 1px #c2a56788}.royal-navigation button:active{background:#c2a46133}.royal-navigation svg{height:23px;width:23px;filter:drop-shadow(0 1px #142c3c)}.game-page .game-chat:not([open]){display:none}.game-page .game-chat[open]{max-height:35%}.game-chat-panel{background:#e6d6b4;color:#263449}.game-chat summary{background:#244a73;color:#fbe7b7}.game-chat-messages{color:#263449}.game-chat-msg-name{color:#335b7b}.game-page .modal-question,.game-page .modal-duel{background:linear-gradient(#162f3cbd,#122b30e6);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);align-items:center}.game-page .modal-question .modal-content,.game-page .modal-duel .modal-content{position:relative;border:1px solid #b28d4d!important;background:radial-gradient(ellipse at top,#fff5dccc,transparent 80%),linear-gradient(130deg,#f4e6c8,#e7d2aa)!important;border-radius:20px;box-shadow:0 6px #654d2c80,inset 0 0 0 4px #fff3d6,inset 0 0 0 5px #c6a46a77!important;width:100%;padding:18px 14px;margin:auto;overflow-y:auto;max-height:100%}.royal-question-banner{background:linear-gradient(#31668e,#173d63);color:#f9df9f;border:1px solid #c49c55;border-radius:10px;box-shadow:0 3px #876833,inset 0 0 0 2px #7899b555;padding:11px 9px;font-size:clamp(17px,4.8vw,24px);text-align:center;font-weight:700;text-transform:uppercase;letter-spacing:.025em;margin:-4px -5px 13px;text-shadow:0 2px #122a3c}.question-context-header{padding:0 0 9px!important;border-color:#b69c6877;font-size:12px;gap:8px!important}.question-context-avatar{width:30px;height:30px;border-color:#b38e51}.question-guard{width:36px;height:36px;flex-basis:36px}#question-timer{background:#fff2d2;border-color:#bea26a;color:#5e4b2a!important;font-size:12px!important;min-width:96px;min-height:30px;display:flex;align-items:center;justify-content:center;margin:8px 0 4px!important}#question-text{font-family:Georgia,Times New Roman,serif;color:#263449;text-shadow:0 1px #fff9e8;font-size:clamp(21px,5.4vw,28px);text-align:center;line-height:1.28;margin:14px 0 18px}#question-view-only-hint{font-size:12px!important;color:#756449!important;line-height:1.4}#question-options{gap:10px}#question-options .option-btn{min-height:56px;background:linear-gradient(#fff5dc,#e5cda2);border:1px solid #b99a62;box-shadow:0 3px #ac8c53,inset 0 0 0 2px #fff4df88;color:#263449;border-radius:12px;font-size:16px;padding:13px 10px 13px 44px;font-weight:650;line-height:1.35}#question-options .option-btn:before{background:#ddc492;border:1px solid #b79759;color:#654e29;font-size:11px}#question-options .option-btn:not(:disabled):hover{background:linear-gradient(#fff9e8,#f1d9ad);border-color:#a27a38}#question-options .option-btn:not(:disabled):active{transform:translateY(2px);box-shadow:0 1px #ac8c53}#question-powerups{gap:6px!important}#question-powerups .btn{color:#f2dfac;border-color:#af9051;background:linear-gradient(#476e80,#284c62);box-shadow:0 2px #173e51;min-height:36px;font-size:11px;padding:8px 9px}#question-options input{color:#263449;background:#fff8e6;border-color:#bca16e}.numeric-range-hint{color:#695331;background:#ffefc8;border-color:#bc9c5f}.game-setup-dialog,.question-setup-dialog{background:#f4e6c8;color:#263449;border-color:#b99a60;box-shadow:inset 0 0 0 4px #fff1d3,0 10px 60px #0007}.game-setup-dialog h2,.question-setup-dialog h2{color:#263449}.game-setup-form button{color:#263449;background:#e8d6ae;border-color:#b79a60}.game-setup-form button[aria-pressed=true]{background:#244a73;color:#ffedc0;border-color:#e6b85c}.ruler-choice[aria-pressed=true],.lobby-quest-picker [aria-pressed=true],.lobby-team-picker [aria-pressed=true]{color:#fff0c2;background:#244a73;border-color:#e6b85c}.game-page .modal-turn-result .modal-content{color:#263449;background:linear-gradient(135deg,#f8edcf,#e2cfa4)!important;border-color:#b99a60!important;box-shadow:0 5px #66502b88,inset 0 0 0 4px #fff2d1!important}.battle-intro{background:radial-gradient(ellipse at center,#496953ee,#142f3ff7 75%)}@media(max-width:360px){.royal-hud{gap:5px;padding:6px 5px}.royal-profile img{width:32px;height:32px;flex-basis:32px}.royal-profile span{font-size:10px;max-width:70px}.royal-resource{padding:4px;min-width:44px;grid-template-columns:16px auto}.royal-resource svg{width:16px}.royal-resource>span{font-size:12px}.royal-resource small{font-size:7px}.royal-hud .royal-back{flex-basis:18px}.royal-navigation button{min-height:44px}.card-map #turn-title{font-size:18px}.royal-question-banner{font-size:17px;padding:9px}#question-options .option-btn{font-size:15px}}@media(min-width:900px){.game-page{padding-left:max(24px,calc((100vw - 820px)/2));padding-right:max(24px,calc((100vw - 820px)/2))}.royal-hud{min-height:68px}.royal-profile span{max-width:220px;font-size:16px}.royal-navigation button{min-height:55px;font-size:12px}.royal-resource{min-width:85px}.royal-resource>span{font-size:17px}.game-page .hex-map.island-map{max-width:680px;margin:auto}}.game-page .card-map:after{display:none}body:has(.game-page) .connection-indicator{top:calc(var(--app-safe-top,0px) + 76px);right:max(14px,calc((100vw - 820px)/2));background:#18392d99!important}#question-options .royal-answer-correct:before{content:"✓";background:#2b614d;border-color:#d8bb71;color:#fff5d0;font-size:16px}body:has(.game-page) .connection-indicator{top:calc(var(--app-safe-top,0px) + 10px);right:max(11px,calc((100vw - 820px)/2));padding:2px;width:10px;height:10px;min-width:0;min-height:0;background:transparent!important;border:0;-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:none}body:has(.game-page) .connection-indicator__dot{width:6px;height:6px;box-shadow:0 0 0 2px #1f3e4c}.home-page .account-online{color:#335f4d;background:#d1ddba;border:1px solid #a7b787}.game-page .toast{bottom:calc(var(--app-safe-bottom,0px) + 73px);left:16px;right:16px;transform:none;width:auto;max-width:none;padding:11px 14px;font-size:12px;line-height:1.4;text-align:left;border:1px solid #d4b36d;border-radius:12px;box-shadow:0 4px 16px #122f3b66;color:#fff0c9;background:#244a73}.game-page .toast-success{background:#386e57}.game-page .toast-error{background:#924b3d}.game-setup-form .setup-eyebrow,.question-setup-dialog .setup-eyebrow{color:#92713e}.game-setup-form .setup-slider-panel{background:#e7d6b0;border:1px solid #c2a978;box-shadow:inset 0 1px #fff7}.setup-slider-panel label,.setup-range-limits{color:#6c5a3b}.setup-slider-panel output{color:#244a73}.setup-slider-panel #setup-goal{accent-color:#244a73}.game-setup-form .setup-victory-options span,.game-setup-form .setup-map-options span{color:#736046}.game-setup-form [aria-pressed=true] span{color:#e5d8b4}.setup-map-options svg{color:#5f7e60}.setup-map-options [aria-pressed=true] svg{color:#dfc98f}.game-setup-form .btn-primary,.question-setup-dialog .btn-primary{background:linear-gradient(#3b78b1,#215488 60%,#173d65);color:#fff2c7;border-color:#e6bc69;box-shadow:0 4px #102d49,inset 0 0 0 2px #96b9d166}.question-setup-dialog .pack-row{background:linear-gradient(#fff6df,#ead7ae);color:#263449;border-color:#b89a62}.question-setup-dialog .pack-row-selected,.question-setup-dialog .setup-victory-options [aria-pressed=true]{color:#ffedc0;background:#244a73;border-color:#e6b85c}.question-selection strong{color:#7b6747}.question-selection span{color:#365c50;background:#dce7c5;border-color:#a5b383}.question-created h3{color:#263449}.question-generating-screen{background:radial-gradient(ellipse at top,#476c75,#172f40);color:#f3e7c9}.question-generating-screen h2{color:#ffe2a0}.game-setup-form>button[type=submit]{box-shadow:0 4px #102d49,0 -8px 16px #f4e6c8}.card{color:#263449}.card p,.card label,.card legend,.card .card-hint{color:#625137}.card [style*="color:#a0aec0"],.card [style*="color: #a0aec0"],.card [style*="color:#9db2a8"],.card [style*="color: #9db2a8"]{color:#625137!important}.card .btn-primary,.card .btn-primary strong,.card .btn-primary span{color:#fff2cc}.card .btn-secondary,.card .btn-secondary strong,.card .btn-secondary span{color:#263449}.card .btn-linkish,.card .btn-linkish:hover,.card .create-panel-back,.card .create-panel-back:hover{color:#244a73!important;background:#f6e8c8;border:1px solid #bba16b;box-shadow:none;text-shadow:none;min-height:40px;padding:8px 12px;border-radius:10px;font-family:system-ui,sans-serif}.home-page #btn-edit-name{background:none;border:0;padding:0;min-height:24px;box-shadow:none;color:#263449!important}.card .short-code{color:#244a73!important;background:#fff2d3;text-shadow:none;font-weight:850;border:1px solid #b69a60;border-radius:12px;padding:8px 12px;font-variant-numeric:tabular-nums;letter-spacing:.15em}.copy-row input{background:#fff7e3;color:#263449;border:1px solid #b69a60;box-shadow:inset 0 2px 3px #7b603311}.lobby-page .lobby-caption,.lobby-page .card-hint,.lobby-page legend{color:#625137}.lobby-page .character-option{background:#203d50;color:#fff2d1;border-color:#799298}.lobby-page .character-option span{color:#fff2d1}.lobby-page .character-option.selected{background:#244a73;border-color:#dbb76c;box-shadow:inset 0 0 0 1px #dbb76c}#btn-ready{color:#263449;background:linear-gradient(#fff5db,#e8d3a8);border:1px solid #b79b62;text-shadow:none;font-family:system-ui,sans-serif;opacity:1}#btn-ready:disabled{color:#344553;background:#bec8ce;border-color:#879aa5;opacity:1}.btn:disabled,.btn[aria-disabled=true]{opacity:1;color:#344553;background:#bec8ce;border-color:#879aa5;text-shadow:none;box-shadow:none}#question-options .option-btn:disabled{opacity:1}.game-setup-dialog,.question-setup-dialog{color:#263449}.game-setup-dialog p,.game-setup-dialog label,.game-setup-dialog legend,.game-setup-dialog .card-hint,.question-setup-dialog .card-hint{color:#625137}.game-setup-dialog .btn-primary,.game-setup-dialog [aria-pressed=true],.game-setup-dialog [aria-pressed=true] span,.game-setup-dialog [aria-pressed=true] strong{color:#fff1cb}.game-setup-dialog .setup-range-limits{color:#655236}.game-setup-dialog input,.game-setup-dialog select,.game-setup-dialog textarea{color:#263449;background:#fff8e5;border-color:#b79b62}.game-setup-dialog input[type=range]{background:transparent}#question-view-only-hint,#question-options>p,.question-context-attacker-name,.question-context-player-name{color:#5e4d35!important}.game-page .royal-resource small{color:#f0ddb0}.game-page .royal-resource>span{color:#fff4d4}.game-page .royal-profile span{color:#fff2ce}.game-page .battlefield-heading .battle-kicker{color:#f2d69b}.game-page #round-line,.game-page .map-legend{color:#f5edcf!important}.game-page .personal-quest,.game-page .personal-quest span,.game-page .personal-quest strong{color:#fff2cc}.game-page .players-list-display,.game-page .players-list-stats{color:#263449}.game-page .royal-navigation{grid-template-columns:repeat(3,minmax(0,1fr))}.game-page .royal-navigation button,.game-page .royal-navigation span{color:#ffe5a8}.game-page .modal-turn-result .turn-result-capture-text{color:#59482e!important}button:focus-visible,a:focus-visible{outline:3px solid #b77b24;outline-offset:3px}.royal-navigation button:focus-visible,.royal-profile:focus-visible{outline-color:#ffe2a0}.telegram-mobile #app:not(:has(.game-page)){position:fixed;top:var(--app-safe-top,0px);bottom:var(--app-safe-bottom,0px);left:0;right:0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding-top:12px;padding-bottom:20px;-webkit-overflow-scrolling:touch;scroll-padding-top:12px}.home-page .game-home-hero{position:relative;min-height:270px;padding:24px 20px;isolation:isolate;background:#132f3e;border-color:#d0ae6d;overflow:hidden}.home-hero-landscape{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:68% center;z-index:-2;pointer-events:none}.home-page .game-home-hero:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#071d2bf2,#0b253bd9 32%,#102e3a80 61%,#0c273529);z-index:-1;pointer-events:none}.home-page .game-home-hero:after{content:"";position:absolute;top:6px;right:6px;bottom:6px;left:6px;border:1px solid #f6db9b44;border-radius:17px;pointer-events:none}.home-page .game-home-hero .battle-kicker{position:relative;max-width:74%;font-size:9px;line-height:1.5;color:#f7d797;letter-spacing:.11em;text-shadow:0 1px 3px #04111e}.home-page .game-home-hero .page-title{position:relative;color:#ffe3a5;max-width:71%;padding-right:0;font-size:clamp(29px,7.8vw,42px);line-height:1.04;margin:14px 0;text-shadow:0 2px 3px #051728,0 0 16px #061c2b;font-weight:700}.home-page .game-home-hero .page-subtitle{position:relative;max-width:62%;color:#fff3d5;font-size:13px;line-height:1.55;margin:0;text-shadow:0 1px 3px #061b2c}@media(max-width:350px){.home-page .game-home-hero{min-height:255px;padding:20px 16px}.home-page .game-home-hero .page-title{font-size:29px;max-width:75%}.home-page .game-home-hero .page-subtitle{font-size:12px;max-width:67%}.home-page .game-home-hero .battle-kicker{font-size:8px;max-width:85%}}@media(min-width:900px){.home-page .game-home-hero{min-height:310px}.home-page .game-home-hero .page-title{max-width:58%;font-size:44px}.home-page .game-home-hero .page-subtitle{max-width:48%;font-size:15px}}.card .btn-secondary[aria-pressed=true],.card .btn-secondary[aria-pressed=true] strong,.card .btn-secondary[aria-pressed=true] span{color:#fff2cc}.btn:disabled strong,.btn:disabled span{color:inherit}.home-page .game-home-hero .battle-kicker{font-size:10px}.game-page .royal-resource small{font-size:10px;line-height:1.15}.game-page .royal-navigation button{font-size:12px;min-height:51px}.game-page .map-legend{font-size:11px}.game-page #round-line{font-size:12px!important}.game-page .personal-quest{font-size:12px}@media(max-width:350px){.home-page .game-home-hero .battle-kicker{font-size:9px}}.btn-secondary:not(:disabled):hover,.btn-secondary:not(:disabled):active{color:#263449;background:linear-gradient(#fff6df,#ead7ae);border-color:#b89a62}.btn-secondary[aria-pressed=true]:not(:disabled),.btn-secondary[aria-pressed=true]:not(:disabled):hover,.btn-secondary[aria-pressed=true]:not(:disabled):active{color:#fff2cc;background:#244a73;border-color:#e6b85c}.btn-secondary:not(:disabled) strong,.btn-secondary:not(:disabled) span{color:inherit}.wardrobe-page{max-width:650px;margin:auto;padding-bottom:110px}.wardrobe-page .page-title{text-align:center;margin:8px 0 10px;font-size:32px}.wardrobe-eyebrow{color:#f7dda2;font-size:10px;letter-spacing:.14em;text-align:center;font-weight:800;margin:6px 0}.wardrobe-intro{color:#fff1d2;text-align:center;font-size:14px;line-height:1.5;max-width:380px;margin:0 auto 16px}.wardrobe-back{border:0;background:transparent;color:#ffe7aa;font:inherit;padding:8px 0}.wardrobe-stage{isolation:isolate;position:relative;display:flex;flex-direction:column;align-items:center;overflow:hidden;min-height:256px;border:1px solid #d4b67880;border-radius:26px;background:radial-gradient(ellipse at 50% 30%,#6e9d89,#234c48 70%,#183632);box-shadow:inset 0 1px #ffffc333,0 8px 28px #102c2855;margin-bottom:20px}.wardrobe-stage>svg{width:200px;height:200px;z-index:2;margin-top:2px;filter:drop-shadow(0 8px 10px #0b222b55)}.wardrobe-stage h2{font-family:Georgia,serif;color:#ffe5a6;font-size:26px;margin:-2px 0 3px;z-index:2;text-shadow:0 2px #163b39}.wardrobe-stage p{color:#f6edce;font-size:12px;margin:0 8px 18px;z-index:2}.wardrobe-halo{position:absolute;width:215px;height:215px;border-radius:50%;top:-16px;border:1px solid #f9d68144;box-shadow:0 0 0 20px #f9d68108,0 0 0 40px #f9d68105;background:radial-gradient(#fff2c340,transparent 70%);pointer-events:none}.wardrobe-pedestal{position:absolute;top:159px;width:132px;height:25px;border-radius:50%;background:linear-gradient(#aeaa78,#666a47);box-shadow:0 7px #2a4037,0 11px 17px #091e2566;z-index:1;border:1px solid #daca83}.wardrobe-controls{padding:18px 15px}.wardrobe-controls fieldset{border:0;padding:0;margin:0 0 20px;min-inline-size:0}.wardrobe-controls legend{font-weight:800;margin-bottom:12px;color:#263449}.wardrobe-colors{display:flex;flex-wrap:wrap;gap:9px}.wardrobe-colors button,.wardrobe-custom-color{width:36px;height:36px;border-radius:50%;border:2px solid #66543b55;background:var(--swatch);position:relative;display:grid;place-items:center;font-size:22px;cursor:pointer;color:#122b39;text-shadow:0 0 4px white;font-weight:900}.wardrobe-colors button[aria-pressed=true]{outline:3px solid #244a73;outline-offset:2px;border-color:#fff4d4}.wardrobe-custom-color{background:conic-gradient(#f66,#edce64,#5ca,#69f,#e6a,#f66);overflow:hidden}.wardrobe-custom-color input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.wardrobe-filter{display:flex;gap:6px;margin-bottom:14px;flex-wrap:wrap}.wardrobe-filter .btn{min-height:36px;flex:1;padding:7px 8px;font-size:12px;border-radius:10px}.wardrobe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.wardrobe-option{position:relative;min-width:0;min-height:122px;padding:5px 2px 9px;border-radius:15px;border:1px solid #9ca591;background:linear-gradient(#315652,#203f3e);color:#fff0cc;cursor:pointer;box-shadow:0 3px #182f2b}.wardrobe-option svg{width:100%;height:91px;display:block}.wardrobe-option span{font:700 11px/1.25 system-ui,sans-serif;display:block;padding:0 3px;color:#fff0cc}.wardrobe-option[aria-pressed=true]{border:2px solid #edca73;background:radial-gradient(#5d8263,#2d5b49);box-shadow:0 0 0 2px #b18a3f,0 3px #4a482d}.wardrobe-option i{position:absolute;right:5px;top:5px;border-radius:50%;background:#ffe2a0;color:#244a49;width:19px;height:19px;font:700 13px/19px system-ui}.wardrobe-controls .wardrobe-note{font-size:12px;line-height:1.5;margin:18px 0 0;color:#625137}.wardrobe-save{position:sticky;bottom:0;padding:12px 0 4px;z-index:5;background:linear-gradient(transparent,#304c3bf5 24%)}.wardrobe-save .btn{min-height:54px}.wardrobe-save p{background:#fff0cf;color:#9b3029;padding:10px;border-radius:10px;margin:0 0 8px}.profile-hero-summary{display:flex;align-items:center;gap:12px;margin:18px 0;padding:12px;border-radius:16px;background:#244a45;color:#fff0cc;border:1px solid #bda56e}.profile-hero-summary svg{width:76px;height:80px;flex-shrink:0}.profile-hero-summary h3{color:#ffe1a0;text-shadow:none;margin:0 0 4px}.profile-hero-summary p{color:#f1e6c9;margin:0 0 10px;font-size:12px}@media(min-width:600px){.wardrobe-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.profile-quest-picker{border:1px solid #b69a6070;border-radius:16px;min-inline-size:0;padding:14px;margin:18px 0}.profile-quest-picker legend{font-weight:800;color:#263449}.profile-quest-picker .btn{margin:8px 0}.profile-quest-picker .card-hint{font-size:13px;line-height:1.5;color:#625137}.game-page .hex-map.island-map{background:#39818b;border:0;border-radius:18px;overflow:hidden;box-shadow:inset 0 0 0 1px #d1dfa355}.island-svg .hex-cell polygon[data-role=poly]{filter:none;fill-opacity:.21;stroke-opacity:.66;stroke-linejoin:round;transition:fill .65s,stroke .3s,fill-opacity .65s}.island-svg .hex-cell:not([data-owned]) polygon[data-role=poly]{fill-opacity:.05;stroke-opacity:.4;stroke-width:.85}.island-svg .hex-cell-merged polygon[data-role=poly]{fill-opacity:.08;stroke-opacity:.15;stroke-width:.7}.island-svg .territory-fills{opacity:.18}.island-svg .territory-outline{stroke-width:2;stroke-opacity:.85;filter:none}.island-svg .hex-cell .tile-terrain,.island-svg .hex-cell.hex-cell-merged .tile-terrain{opacity:1}.island-svg .hex-cell .tile-terrain image{filter:none;pointer-events:none}.island-svg .hex-cell text[data-role=label]{fill:#fff2ce;stroke:#263d2b;stroke-width:3.2;paint-order:stroke fill;font-size:10px;font-weight:800;letter-spacing:.1px}.island-svg .hex-cell[data-capturable="1"] polygon[data-role=poly]{stroke:#ffe39a!important;stroke-opacity:1;stroke-width:2.5!important;filter:drop-shadow(0 0 2px #fff1a099);animation:land-target-glow 2.6s ease-in-out infinite}.island-svg .hex-cell[data-duel="1"] polygon[data-role=poly]{stroke:#f6ac89!important;stroke-opacity:1;stroke-width:2.5!important;animation:land-target-glow 2.6s ease-in-out infinite}.island-svg .hex-cell.hex-cell-event polygon[data-role=poly]{stroke:#ffe175!important;stroke-width:3!important}.island-svg .hex-cell:focus-visible polygon[data-role=poly]{stroke:#fff!important;stroke-width:3!important}.island-svg .map-guard{filter:drop-shadow(0 0 2px #e5784a66)}.island-svg .map-ruler{filter:drop-shadow(0 2px 1px #16332733)}.island-svg .map-ruler .kaykit-frames{width:42px;height:42px;x:-21px;y:-30px}.island-svg .settlement-banner{transform-origin:20px -38px}.island-svg .settlement-capital .settlement-banner{filter:drop-shadow(0 0 1px #ffdb79)}.island-svg [data-role=owner-flag]{display:none}.island-svg .city-is-protected{filter:drop-shadow(0 0 2px #ffe7a199)}.capture-coronation>svg{width:210px;height:210px;filter:drop-shadow(0 12px 12px #483e2c44)}@keyframes land-target-glow{0%,to{stroke-opacity:.78}50%{stroke-opacity:1}}@media(prefers-reduced-motion:reduce){.island-svg .hex-cell[data-capturable="1"] polygon[data-role=poly],.island-svg .hex-cell[data-duel="1"] polygon[data-role=poly]{animation:none!important}}.island-svg .hex-cell text[data-role=label]{opacity:0}.island-svg .landscape-labels text{fill:#fff6de;stroke:#293f2b;stroke-width:3.4;paint-order:stroke fill;font-weight:800;letter-spacing:.1px;font-family:system-ui,sans-serif}.island-svg .hex-cell[data-owned] polygon[data-role=poly]{fill-opacity:.35}.island-svg .hex-cell-merged[data-owned] polygon[data-role=poly]{fill-opacity:.12}.island-svg .territory-fills{opacity:.27}.island-svg .hex-cell[data-capturable="1"] polygon[data-role=poly]{stroke:#efe3ad!important;stroke-opacity:.8;stroke-width:1.3!important;filter:none;animation:none}.island-svg .hex-cell[data-targeted] polygon[data-role=poly],.island-svg .hex-cell:active polygon[data-role=poly]{stroke:#ffe39a!important;stroke-opacity:1;stroke-width:3!important;filter:drop-shadow(0 0 3px #ffeab9);animation:land-target-glow 1.8s ease-in-out infinite}.island-svg [data-role=city]:not(.settlement-fortress):not(.settlement-capital) .settlement-banner{transform:scale(.7);transform-origin:20px -20px}@media(hover:hover){.island-svg .hex-cell[data-capturable="1"]:hover polygon[data-role=poly]{stroke:#ffe39a!important;stroke-width:3!important;filter:drop-shadow(0 0 3px #ffeab9)}}.game-page.world-scene{display:block;padding:0!important;top:0;right:0;bottom:0;left:0;max-width:none!important;background:#587d50}.world-scene #game-content{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;padding:0;margin:0;height:100%;width:100%}.world-scene #game-map-card{position:static!important;width:100%;height:100%;margin:0!important;padding:0!important;border:0!important}.world-scene #game-map-card:after{display:none}.world-scene .hex-map-wrapper{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0!important;overflow:hidden;display:block;touch-action:none}.world-scene .hex-map.island-map{position:absolute;top:0;right:0;bottom:0;left:0;width:100%!important;height:100%!important;max-width:none!important;margin:0;border-radius:0;box-shadow:none;border:0;background:#587d50;touch-action:none;cursor:grab}.world-scene .hex-map.camera-touching{cursor:grabbing}.world-scene .island-svg{width:100%;height:100%;display:block;touch-action:none;user-select:none;-webkit-user-select:none;overflow:hidden}.world-scene .royal-hud.world-profile-widget{position:absolute;z-index:20;left:max(10px,var(--app-safe-left,0px));top:calc(var(--app-safe-top,0px) + 8px);width:150px;min-height:0;height:auto;display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:8px;border:1px solid #d6ba78aa;border-radius:17px;background:linear-gradient(140deg,#203d38f2,#163332e8);box-shadow:0 4px 14px #132e2a66,inset 0 1px #fff5c522;-webkit-backdrop-filter:none;backdrop-filter:none;margin:0}.world-scene .royal-profile{min-height:34px;padding:0 17px 0 0;gap:7px;width:100%}.world-scene .royal-profile img{width:34px;height:34px;flex-basis:34px}.world-scene .royal-profile span{font-size:11px;max-width:81px;color:#fff0ca}.world-scene .royal-back{position:absolute;right:4px;top:8px;min-height:24px;width:24px;height:24px;padding:3px;margin:0;color:#f8d78e}.world-scene .royal-back svg{width:16px;height:16px}.world-wallet{display:flex;gap:8px;align-items:center;padding-left:2px}.world-scene .world-wallet .royal-resource{display:flex;gap:4px;min-width:0;border:0;box-shadow:none;background:none;padding:2px 3px}.world-scene .royal-resource svg{width:15px;height:15px}.world-scene .royal-resource>span{font-size:12px}.world-scene .royal-resource small{display:none}.world-turn{position:absolute;z-index:15;top:calc(var(--app-safe-top,0px) + 15px);left:max(174px,calc(var(--app-safe-left,0px) + 174px));right:max(12px,var(--app-safe-right,0px));text-align:center;pointer-events:none;filter:drop-shadow(0 2px 3px #163527)}.world-scene .battlefield-heading{padding:0!important;margin:0!important;border:0}.world-scene .battlefield-heading #turn-title{font:800 15px/1.25 system-ui,sans-serif;color:#fff6d7;text-shadow:0 1px 2px #153a24;margin:0;max-height:40px;overflow:hidden}.world-scene #round-line{position:static!important;inset:auto!important;margin:5px 0 0!important;font:600 11px/1.25 system-ui,sans-serif!important;color:#f1e7bc!important}.world-scene .battlefield-tip,.world-scene .map-legend,.world-scene #stagnant-slot,.world-scene .team-score{display:none!important}.world-scene .map-toolbar{position:absolute;z-index:20;right:max(12px,var(--app-safe-right,0px));bottom:calc(var(--app-safe-bottom,0px) + 82px);display:block;margin:0;padding:0}.world-scene .map-zoom{display:flex;flex-direction:column;gap:8px}.world-scene .map-zoom .btn{width:42px;height:42px;min-height:42px;padding:0;border-radius:13px;border:1px solid #ccb27b99;background:linear-gradient(#29493fe8,#173a36ed);box-shadow:0 3px 8px #142c3266,inset 0 1px #fff4bd22;color:#ffe7ae;font-size:23px;touch-action:manipulation}.world-scene .royal-navigation{position:absolute;z-index:25;right:max(12px,var(--app-safe-right,0px));bottom:calc(var(--app-safe-bottom,0px) + 13px);display:flex!important;width:auto;gap:7px;margin:0;padding:0;background:none;border:0;box-shadow:none}.world-scene .royal-navigation button{min-height:46px;min-width:46px;width:46px;height:46px;border:1px solid #ccb27b99;border-radius:14px;background:linear-gradient(#29493ff2,#173a36f0);box-shadow:0 3px 8px #142c3266;padding:8px}.world-scene .royal-navigation button[aria-pressed=true]{background:linear-gradient(#5c754b,#294d3e);border-color:#e3c483}.world-scene .royal-navigation span{display:none}.world-scene .royal-navigation svg{width:23px;height:23px}.world-scene #adventure-panel{position:absolute;z-index:16;left:max(10px,var(--app-safe-left,0px));bottom:calc(var(--app-safe-bottom,0px) + 13px);width:calc(100% - 185px);max-width:250px;display:flex;flex-direction:column;gap:5px;margin:0;padding:0;pointer-events:none}.world-scene .personal-quest{display:grid;grid-template-columns:1fr auto;gap:4px;padding:7px 8px;border:1px solid #b8b77766;border-radius:11px;background:#193b32ed;box-shadow:0 3px 9px #16332644;font-size:10px}.world-scene .personal-quest span{font-size:10px;line-height:1.25;max-height:26px;overflow:hidden}.world-scene .personal-quest strong{font-size:11px}.world-scene .personal-quest progress{grid-column:1/-1;height:4px;width:100%;margin:0}.world-scene .map-event-banner{padding:6px 8px;border-radius:9px;border:1px solid #d9b56b88;background:#594b25ed;font-size:10px;line-height:1.3;max-height:38px;overflow:hidden}.world-scene .map-event-banner span{display:none}.world-map-count{position:absolute;z-index:15;right:14px;top:calc(var(--app-safe-top,0px) + 71px);font:700 10px/1.3 system-ui;color:#f1e7bc;background:#1b3d34cc;border:1px solid #c4b47b55;border-radius:8px;padding:4px 7px;pointer-events:none}.world-camera-help{position:absolute;z-index:14;bottom:calc(var(--app-safe-bottom,0px) + 82px);left:50%;transform:translate(-50%);width:max-content;max-width:70%;font:600 10px/1.4 system-ui;color:#fff0c8;background:#173d32d9;padding:7px 10px;border-radius:10px;pointer-events:none;animation:world-help-away 1s 5s both}@keyframes world-help-away{to{opacity:0;visibility:hidden}}.world-players-panel{position:absolute;z-index:50;left:12px;right:12px;bottom:calc(var(--app-safe-bottom,0px) + 75px);max-height:65%;overflow:auto;padding:14px;border:2px solid #c9aa6c;border-radius:20px;background:linear-gradient(#fff1d3,#e4d0a6);box-shadow:0 8px 32px #102c32aa}.world-players-panel[hidden]{display:none!important}.world-players-panel>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.world-players-panel h3{color:#263449;font-size:24px;margin:0}.world-players-panel header .btn{min-height:40px;width:40px;padding:0;font-size:24px}.world-players-panel .players-list{padding:0;margin:0}.world-scene .game-chat[open]{position:absolute;z-index:55;left:12px;right:12px;bottom:calc(var(--app-safe-bottom,0px) + 75px);max-height:50%;height:auto;margin:0;border-radius:17px;overflow:hidden;box-shadow:0 8px 28px #102c3299}.world-scene .game-chat-panel{max-height:38vh;overflow:auto}.world-scene #game-error{position:absolute;z-index:70;top:calc(var(--app-safe-top,0px) + 105px);left:12px;right:12px}.world-scene .landscape-labels text{font-size:9px;stroke-width:2.5;letter-spacing:0}.world-scene .hex-cell polygon[data-role=poly]{stroke-width:.85}.world-scene .hex-cell[data-capturable="1"] polygon[data-role=poly]{stroke-width:1.1!important}.world-scene:has(.card-game-over) #game-content{overflow:auto;padding:calc(var(--app-safe-top,0px) + 110px) 12px calc(var(--app-safe-bottom,0px) + 85px)}@media(min-width:700px){.world-scene .royal-hud.world-profile-widget{width:180px}.world-turn{left:210px;right:210px;top:calc(var(--app-safe-top,0px) + 20px)}.world-scene .battlefield-heading #turn-title{font-size:19px}.world-map-count{top:calc(var(--app-safe-top,0px) + 20px);right:24px}.world-scene #adventure-panel{max-width:300px}}@media(prefers-reduced-motion:reduce){.world-camera-help{animation:none;display:none}}.world-scene .world-camera-help{color:#fff0c8}.world-scene #world-team-summary{color:#625137;font-size:13px}.world-scene .world-players-panel header .btn{color:#263449}.world-scene .world-players-panel #stagnant-slot{display:block!important;color:#625137}.world-scene .world-players-panel .players-list>li{background:linear-gradient(#f9edcf,#e6d5af);border:1px solid #bca16b;color:#263449;box-shadow:0 2px #b49b6a55}.world-scene .world-players-panel .players-list-display,.world-scene .world-players-panel .players-list-stats{color:#263449}.world-scene #hex-map:focus-visible{outline:3px solid #ffe3a0;outline-offset:-3px}.world-scene .camera-touching .hex-cell{cursor:grabbing!important}@media(prefers-reduced-motion:reduce){.world-scene .hex-cell[data-targeted] polygon[data-role=poly],.world-scene .hex-cell:active polygon[data-role=poly]{animation:none!important}}.world-scene .hex-cell polygon[data-role=boundary]{stroke:#243f30;stroke-width:3.6;stroke-opacity:.88;stroke-linejoin:round;vector-effect:non-scaling-stroke}.world-scene .hex-cell polygon[data-role=poly]{stroke-opacity:.95;stroke-width:1.4;vector-effect:non-scaling-stroke}.world-scene .hex-cell:not([data-owned]) polygon[data-role=poly]{stroke:#f4e4b3;stroke-opacity:.86}.world-scene .hex-cell-merged polygon[data-role=poly]{stroke-opacity:.55}.world-scene .hex-cell[data-capturable="1"] polygon[data-role=poly]{stroke:#ffe18b!important;stroke-width:2.3!important;stroke-opacity:1}.world-scene .territory-outline{stroke-width:3;stroke-opacity:1;vector-effect:non-scaling-stroke}.connection-indicator--checking .connection-indicator__dot{background:#d7c28e;box-shadow:0 0 0 2px #665b39}.connection-indicator--slow .connection-indicator__dot{background:#f3ba48;box-shadow:0 0 0 2px #785b25}.world-scene .island-svg .personal-banner-cloth{animation:none}.world-scene .island-svg .map-ruler,.world-scene .island-svg .settlement-capital .settlement-banner,.world-scene .island-svg .city-is-protected{filter:none}.world-scene .island-svg .city-barrier{animation:none}.world-scene .hex-map-wrapper{contain:layout paint style}.world-scene .modal{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.world-scene svg[data-raster-template] *{transition:none!important;animation:none!important}.flag-workshop{margin:20px 0;border:1px solid #b69c65;border-radius:18px;background:#f5e8c9;color:#283a43;overflow:hidden}.flag-workshop>summary{list-style:none;display:flex;align-items:center;gap:12px;padding:14px;cursor:pointer;touch-action:manipulation}.flag-workshop>summary::-webkit-details-marker{display:none}.flag-workshop>summary>svg{width:58px;height:44px;flex:none;filter:drop-shadow(0 2px 2px #594a3344)}.flag-workshop>summary>span:nth-child(2){flex:1}.flag-workshop strong{display:block;font:800 17px/1.3 system-ui;color:#283a43}.flag-workshop small{display:block;margin-top:4px;font:13px/1.4 system-ui;color:#655537}.flag-workshop[open]>summary{border-bottom:1px solid #b69c6555}.flag-workshop-body{padding:14px}.flag-stage{border:1px solid #e6ce8d;border-radius:15px;background:radial-gradient(ellipse at 50% 30%,#426455,#203e3d);text-align:center;padding:15px 12px 10px;overflow:hidden}.flag-stage-kicker{display:block;font:800 10px/1.5 system-ui;letter-spacing:.2em;color:#f5dc9b}.flag-preview{display:block;width:190px;height:163px;max-width:100%;margin:0 auto}.flag-stage p{font:13px/1.4 system-ui;color:#fff0cc!important;margin:0 0 6px}.flag-workshop fieldset{min-width:0;border:0;padding:0;margin:20px 0}.flag-workshop legend{font:800 14px/1.4 system-ui;color:#493b27;margin-bottom:9px}.flag-options{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.flag-emblems{grid-template-columns:repeat(4,minmax(0,1fr))}.flag-workshop .flag-option{-webkit-appearance:none;-moz-appearance:none;appearance:none;min-width:0;min-height:72px;border:1px solid #baa477;background:linear-gradient(#fff7e3,#ecdbb5);border-radius:11px;box-shadow:0 2px #9b835b55;padding:8px 4px;cursor:pointer;color:#3e392d!important;-webkit-text-fill-color:#3e392d!important;touch-action:manipulation}.flag-option svg{display:block;width:47px;height:34px;margin:0 auto 5px;max-width:100%}.flag-option span{display:block;font:700 11px/1.25 system-ui;color:inherit!important;overflow-wrap:anywhere}.flag-workshop .flag-option[aria-pressed=true]{background:#d8e5c3;border:2px solid #56733e;box-shadow:0 2px #56733e66;padding:7px 3px}.flag-workshop .flag-option:active{transform:translateY(1px)}.flag-workshop button:focus-visible,.flag-workshop input:focus-visible,.flag-workshop summary:focus-visible{outline:3px solid #1d6496;outline-offset:2px}.flag-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.flag-colors label{display:flex;flex-direction:column;gap:7px;align-items:center;font:700 12px/1.4 system-ui;color:#493b27}.flag-colors input[type=color]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:100%;max-width:78px;height:44px;border:2px solid #bda46f;border-radius:10px;padding:3px;background:#fff5dc;cursor:pointer}.flag-colors input::-webkit-color-swatch-wrapper{padding:0}.flag-colors input::-webkit-color-swatch{border:0;border-radius:5px}.flag-note,.flag-status{font:13px/1.5 system-ui;color:#625137!important;overflow-wrap:anywhere}.flag-status{min-height:20px;margin:10px 0 0}.flag-actions{display:flex;gap:8px;margin-top:14px}.flag-actions .btn{min-height:48px;font-size:14px;padding:10px;flex:1}.flag-actions .btn-primary{flex:2}.personal-banner-cloth{transform-box:fill-box;transform-origin:left center;animation:personal-flag-breeze 3.4s ease-in-out infinite;animation-delay:-1s}.flag-preview #flag-preview-cloth{transform-box:fill-box;transform-origin:left center;animation:personal-flag-breeze 3.4s ease-in-out infinite}@keyframes personal-flag-breeze{0%,to{transform:skewY(-1.5deg) scaleX(.98)}50%{transform:skewY(1.5deg) scaleX(1)}}@media(prefers-reduced-motion:reduce){.personal-banner-cloth,.flag-preview #flag-preview-cloth{animation:none}}.game-loading-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100000;display:grid;place-items:center;isolation:isolate;overflow:hidden;background:#193f38;color:#fff0c6;padding:calc(var(--app-safe-top,0px) + 20px) 24px calc(var(--app-safe-bottom,0px) + 20px);opacity:1;transition:opacity .4s ease;touch-action:manipulation;box-sizing:border-box}.game-loading-sky{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:radial-gradient(ellipse at 50% 36%,#6c865133,transparent 55%),linear-gradient(155deg,#284f45,#183b36 70%,#142e30)}.game-loading-sky:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 20% 35%,#ffdf8b 0 1px,transparent 2px),radial-gradient(circle at 75% 28%,#ffdf8b 0 1px,transparent 2px),radial-gradient(circle at 68% 65%,#ffdf8b 0 1px,transparent 2px);opacity:.5;animation:loading-dust 4s ease-in-out infinite}.game-loading-content{text-align:center;width:min(100%,340px)}.game-loading-castle{position:relative;width:190px;height:156px;margin:0 auto 20px}.game-loading-castle>svg{width:100%;height:100%;filter:drop-shadow(0 8px 8px #0e262777)}.game-loading-castle i{position:absolute;left:0;right:0;bottom:8px;height:1px;background:linear-gradient(90deg,transparent,#ffe7a8,transparent);animation:loading-dust 2s ease-in-out infinite}.loading-banner{position:absolute;z-index:1;left:94px;top:-4px;width:26px;height:18px;background:#e8ba58;clip-path:polygon(0 0,100% 0,80% 50%,100% 100%,0 100%);transform-origin:left center;animation:loading-flag 1.8s ease-in-out infinite}.game-loading-kicker{font:800 10px/1.5 system-ui;letter-spacing:.21em;color:#d9be7d;margin:0 0 10px}.game-loading-content h2{font:800 28px/1.15 Georgia,serif;color:#fff0c6;text-shadow:0 2px 2px #0d292b;margin:0 0 15px}.game-loading-description{font:500 14px/1.5 system-ui;color:#e8e7c8;min-height:42px;margin:0 0 16px}.game-loading-track{height:10px;padding:3px;border:1px solid #c6a76d88;border-radius:20px;background:#102f2f;box-shadow:inset 0 2px 3px #071d2455;overflow:hidden}.game-loading-track>span{display:block;width:0;height:100%;border-radius:10px;background:linear-gradient(90deg,#c39648,#ffe7a1);box-shadow:0 0 8px #ebd58c44;transition:width .22s ease}.game-loading-counter{font:500 12px/1.5 system-ui;color:#c6ceb1;margin:10px 0 20px;min-height:18px}.game-loading-leave{display:block;margin:16px auto 0;padding:10px 20px;border:0;background:none;color:#e1cd9c!important;-webkit-text-fill-color:#e1cd9c!important;font:600 13px/1.4 system-ui;text-decoration:underline;text-underline-offset:4px;cursor:pointer;min-height:44px}.game-loading-retry{width:100%;min-height:48px}.game-loading-retry[hidden]{display:none!important}.game-loading-error .game-loading-description{color:#ffdab3}.game-loading-ready{opacity:0;pointer-events:none}.game-loading-layer button:focus-visible{outline:2px solid #ffe7a1;outline-offset:3px}@keyframes loading-flag{0%,to{transform:skewY(-5deg) scaleX(.9)}50%{transform:skewY(5deg) scaleX(1)}}@keyframes loading-dust{0%,to{opacity:.25;transform:translateY(3px)}50%{opacity:.65;transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){.game-loading-layer,.game-loading-track>span{transition:none}.game-loading-castle i,.game-loading-sky:after,.loading-banner{animation:none}}@media(max-height:550px){.game-loading-castle{width:120px;height:95px;margin-bottom:5px}.loading-banner{left:60px;width:18px;height:12px}.game-loading-content h2{font-size:23px}.game-loading-description{min-height:0;margin-bottom:10px}.game-loading-counter{margin-bottom:8px}.game-loading-leave{margin-top:5px}}.world-scene .island-svg .hex-cell[data-owned] polygon[data-role=poly]{fill-opacity:.74}.world-scene .island-svg .territory-fills{opacity:.73}.world-scene .island-svg .hex-cell-merged[data-owned] polygon[data-role=poly]{fill-opacity:.1}.world-scene .island-svg .hex-cell:not([data-owned]) polygon[data-role=poly]{fill-opacity:.025}.world-scene .island-svg .hex-cell .tile-terrain{opacity:.86}.world-scene .island-svg .hex-cell-merged polygon[data-role=poly]{stroke-opacity:.45}.world-scene .island-svg .territory-outline{stroke-width:3.5;stroke-opacity:1}.world-scene #question-modal.modal-spectator,.world-scene #turn-result-modal.modal-spectator{background:#0a231e21!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.world-scene #question-modal.modal-spectator .modal-content,.world-scene #turn-result-modal.modal-spectator .modal-content{background:linear-gradient(135deg,#fff5dade,#edddb8d4)!important;box-shadow:0 5px #51462d55,inset 0 0 0 3px #fff3d17a!important;border-color:#c6aa71!important}.world-scene #question-modal.modal-spectator .royal-question-banner{background:linear-gradient(#386c89eb,#254d67ed);box-shadow:inset 0 0 0 2px #d9bb7877,0 3px #5e4c2b44}.world-scene #question-modal.modal-spectator #question-options .option-btn{background:#fff4d7a6;color:#3b443f;border-color:#b8a475;box-shadow:0 2px #927c4a55,inset 0 0 0 1px #fff4d988}.world-scene #question-modal.modal-spectator #question-options .option-btn:before{background:#dfc898b3;color:#64502b}.world-scene #question-view-only-hint{text-align:center;max-width:100%;margin:8px auto!important}.world-scene #question-timer{display:flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;margin:10px auto 14px!important;min-height:34px;padding:7px 14px;text-align:center;line-height:1.4;white-space:normal;box-sizing:border-box}.world-scene #turn-result-modal .capture-coronation{width:150px;height:150px;margin:0 auto 12px}.world-scene #turn-result-modal .capture-coronation>svg{width:100%;height:100%;overflow:hidden;filter:none}.world-scene #turn-result-modal .turn-result-avatar-wrap{margin:0 auto 10px!important}.world-scene #turn-result-modal .turn-result-capture-title{font-size:25px;line-height:1.2;margin:0 0 10px}.world-scene #turn-result-modal .turn-result-capture-title:before{font-size:9px;line-height:1.5;letter-spacing:.12em;margin-bottom:7px}.world-scene #turn-result-modal .capture-halo,.world-scene #turn-result-modal .capture-confetti{opacity:.45}@media(max-height:650px){.world-scene #turn-result-modal .capture-coronation{width:115px;height:115px;margin-bottom:6px}.world-scene #question-text{font-size:21px;margin:10px 0 14px}}.world-scene:has(.modal-spectator.modal-open) .landscape-labels{opacity:0}.world-scene .island-svg .hex-cell polygon[data-role=poly]{animation:none!important;filter:none!important}.world-scene .island-svg .ruler-body{filter:none!important;animation:none!important}.world-scene.map-modal-open .island-svg *{animation-play-state:paused!important;transition:none!important}.world-scene #question-modal.modal-spectator,.world-scene #turn-result-modal.modal-spectator,.world-scene #duel-modal.modal-spectator{background:#0a231e0f!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.world-scene #question-modal.modal-spectator .modal-content,.world-scene #turn-result-modal.modal-spectator .modal-content,.world-scene #duel-modal.modal-spectator .modal-content{background:linear-gradient(135deg,#fff5daad,#edddb899)!important;color:#30291e!important;box-shadow:0 3px #51462d44,inset 0 0 0 2px #fff3d177!important}.world-scene #question-modal.modal-spectator #question-options .option-btn,.world-scene #question-modal.modal-spectator .numeric-duel-result{background:#fff4d78c!important;color:#30291e!important}.world-scene #question-modal.modal-spectator .modal-content,.world-scene #turn-result-modal.modal-spectator .modal-content,.world-scene #duel-modal.modal-spectator .modal-content{background:linear-gradient(135deg,#fff5da,#edddb8)!important;color:#30291e!important;box-shadow:0 3px #51462d44,inset 0 0 0 2px #fff3d1!important}.world-scene #question-modal.modal-spectator #question-options .option-btn,.world-scene #question-modal.modal-spectator .numeric-duel-result{background:#fff4d7!important;color:#30291e!important}.card-game-over .podium-name,.card-game-over .podium-place-1 .podium-name{color:#302d23!important;-webkit-text-fill-color:#302d23;font-weight:800;text-shadow:none}.card-game-over .podium-points{color:#59472e!important;font-weight:700}.card-game-over .podium-item{min-width:0;gap:5px}.card-game-over .podium-medal{filter:none}#rating-content .rating-row{background:#fff3d7;color:#302d23;border:1px solid #c5a86f;border-radius:14px;padding:12px;gap:10px}#rating-content .rating-name,#rating-content .rating-pts{color:#283b45!important;-webkit-text-fill-color:#283b45;font-weight:800}#rating-content .rating-rank,#rating-content .rating-wl{color:#655033!important;font-weight:650}#rating-content .rating-name-wrap{min-width:0}#rating-content .rating-name{overflow-wrap:anywhere}#rating-content .rating-list{display:grid;gap:10px}.conquest-notice{position:fixed;z-index:1500;left:0;right:0;top:43%;padding:22px max(20px,calc((100vw - 580px)/2));box-sizing:border-box;pointer-events:none;text-align:center;color:#fff6dd;background:linear-gradient(90deg,transparent,#152f2be8 16%,#152f2be8 84%,transparent);text-shadow:0 2px 3px #10221f;transform:translateY(-20%)}.conquest-notice[hidden]{display:none}.conquest-notice-icon{width:42px;height:42px;margin:0 auto 8px;color:var(--conquest-color)}.conquest-notice-icon svg{width:100%;height:100%}.conquest-notice-kicker{display:block;font:800 10px/1.5 system-ui;letter-spacing:.16em;color:#f3d699;margin-bottom:7px}.conquest-notice strong{display:block;font:800 clamp(22px,6.2vw,34px)/1.18 Georgia,serif;color:#fff2c9;overflow-wrap:anywhere}.conquest-notice p{margin:10px auto 0;max-width:530px;font:600 14px/1.5 system-ui;color:#fff6e1}.conquest-notice-enter{animation:conquest-notice-in .24s ease-out both}@keyframes conquest-notice-in{0%{opacity:0;transform:translateY(0)}to{opacity:1;transform:translateY(-20%)}}@media(prefers-reduced-motion:reduce){.conquest-notice-enter{animation:none}}@media(max-width:380px){#rating-content .rating-row{padding:10px}.conquest-notice p{font-size:13px}}@media(min-width:761px){#app{max-width:824px}.page:has(#main-menu-card){display:flex;flex-direction:column;align-items:stretch;gap:0}.page:has(#main-menu-card)>*{width:100%;max-width:none;grid-column:auto;align-self:stretch}.page:has(#main-menu-card)>.game-home-hero{min-height:240px}.home-page .game-home-hero .page-title{max-width:62%;font-size:clamp(34px,3.4vw,44px)}}@media(min-width:900px){body .app-bottom-nav,body .world-scene .app-bottom-nav{width:min(100%,760px)!important;margin:0 auto!important;border-radius:18px 18px 0 0}}.has-bottom-nav #app>.page{padding-bottom:calc(var(--app-safe-bottom,0px) + 100px)!important}.app-bottom-nav,.world-scene .app-bottom-nav{position:fixed!important;z-index:75;left:0!important;right:0!important;bottom:0!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px!important;width:auto!important;max-width:none;margin:0!important;padding:8px max(8px,var(--app-safe-right,0px)) calc(var(--app-safe-bottom,0px) + 6px) max(8px,var(--app-safe-left,0px))!important;box-sizing:border-box;border:0!important;border-top:2px solid #c9af70!important;border-radius:18px 18px 0 0!important;background:linear-gradient(125deg,#fff2d2,#e9d6ac)!important;box-shadow:0 -3px 14px #142d3b33,inset 0 2px #fff9e9!important;-webkit-backdrop-filter:none;backdrop-filter:none}.app-bottom-nav button,.world-scene .app-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0!important;width:100%!important;height:58px!important;min-height:58px!important;border:1px solid #bc9c61!important;border-radius:12px!important;background:linear-gradient(#356c9c,#1b405f)!important;box-shadow:inset 0 1px #91b7d477,0 2px #ad915b!important;color:#fff0c9!important;padding:5px 2px!important;cursor:pointer;-webkit-tap-highlight-color:transparent}.app-bottom-nav button span,.world-scene .app-bottom-nav button span{display:block!important;font:650 10px/1.15 system-ui,sans-serif;max-width:100%;text-align:center;color:inherit!important;white-space:normal}.app-bottom-nav button svg,.world-scene .app-bottom-nav button svg{width:23px;height:23px;flex:none}.app-bottom-nav button[aria-pressed=true],.world-scene .app-bottom-nav button[aria-pressed=true]{background:linear-gradient(#4b87b8,#285b86)!important;border-color:#f0cb70!important;color:#fff7de!important;box-shadow:inset 0 0 0 1px #f4d68e,0 2px #ad915b!important}.app-bottom-nav button:focus-visible{outline:2px solid #ffe098;outline-offset:1px}.app-bottom-nav button:active{transform:translateY(1px)}.nav-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:55;background:#102a2722}.nav-scrim[hidden],.app-sheet[hidden]{display:none!important}.app-sheet,.world-scene .world-players-panel,.world-scene .game-chat[open]{position:fixed!important;z-index:65;left:max(10px,var(--app-safe-left,0px));right:max(10px,var(--app-safe-right,0px));bottom:calc(var(--app-safe-bottom,0px) + 94px)!important;top:auto;max-width:660px;max-height:calc(100dvh - var(--app-safe-top,0px) - var(--app-safe-bottom,0px) - 115px)!important;margin:0 auto!important;padding:0!important;overflow:auto;border:1px solid #c5a56a;border-radius:22px;background:linear-gradient(130deg,#fff3d7,#ead9b3);box-shadow:0 8px 30px #102b3244;color:#293b35}.app-sheet>header,.world-scene .world-players-panel>header,.game-sheet-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px!important;margin:0!important;background:#f9ebca;border-bottom:1px solid #c1aa7944}.app-sheet h2,.game-sheet-header h2{font:750 23px/1.2 Georgia,serif;color:#293b35;margin:0}.sheet-close{display:grid;place-items:center;width:38px;height:38px;min-height:38px;flex:none;padding:0;border:1px solid #b49a6466;border-radius:12px;background:#f4e2b9;color:#293b35;font:400 26px/1 system-ui;cursor:pointer}.sheet-body{padding:16px}.sheet-body p,.sheet-body label,.sheet-body legend,.sheet-body h3,.world-scene .game-resources{color:#344638}.sheet-hint{font:400 13px/1.5 system-ui;color:#62543c!important;margin:0 0 14px}.rules-copy h3,.sheet-body h3{font-size:19px;margin:12px 0 8px}.rules-copy p{margin:0 0 15px;line-height:1.5}.rules-copy dl{margin:0}.rules-copy dl>div{padding:12px 0;border-bottom:1px solid #ac915733}.rules-copy dt{font-weight:750;color:#304533}.rules-copy dd{margin:5px 0 0;line-height:1.55;color:#584d38;font-size:14px}.community-quests{margin-top:18px;border:1px solid #ad925b55;border-radius:16px;padding:13px}.community-quests legend{font-weight:700;font-size:15px}.community-quests button{display:block;width:100%;margin:7px 0;text-align:left;font-size:14px}.community-quests button[aria-pressed=true]{background:#345d40!important;color:#fff1ce!important}.rules-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0}.rules-controls .btn{min-height:42px;font-size:14px}.rules-controls .battle-sound{width:44px;height:44px;font-size:22px}.rules-controls #map-camera-home{flex:1}.world-scene #game-rules-panel #adventure-panel{position:static!important;display:block!important;width:100%!important;max-width:none!important;pointer-events:auto;margin:0 0 14px!important}.world-scene #game-rules-panel .personal-quest{font-size:14px;padding:13px}.world-scene #game-rules-panel .personal-quest span{font-size:14px;max-height:none}.world-scene #game-rules-panel .personal-quest strong{font-size:15px}.world-scene #game-rules-panel .map-event-banner{font-size:14px;max-height:none}.world-scene #game-rules-panel .map-event-banner span{display:block}.world-scene #game-rules-panel .team-score{display:flex!important}.game-resources{padding:12px;border-radius:12px;background:#d9c48f44;font-size:14px}.bot-control-banner{position:static!important;transform:none!important;margin:12px 0;width:100%}.world-scene .world-turn{left:16px!important;right:16px!important;top:calc(var(--app-safe-top,0px) + 12px)!important}.world-scene .world-map-count{top:calc(var(--app-safe-top,0px) + 70px)!important;right:16px}.world-scene .world-camera-help{bottom:calc(var(--app-safe-bottom,0px) + 100px)}.world-scene #game-error{top:calc(var(--app-safe-top,0px) + 110px)}.world-scene .world-players-panel>p,.world-scene .world-players-panel #stagnant-slot,.world-scene .world-players-panel .players-list{margin:12px 16px!important}.world-scene .world-players-panel>header h3{font-size:23px}.world-scene .game-chat>summary{display:none!important}.world-scene .game-chat:not([open]){display:none!important}.world-scene .game-chat .game-chat-panel{max-height:none!important;overflow:visible!important;padding:0!important;background:#f6e9cb!important;color:#293b35}.world-scene .game-chat .game-chat-panel>.card-hint{display:none}.world-scene .game-chat .game-chat-messages{min-height:120px;max-height:38dvh;overflow:auto;margin:10px 14px;padding:0!important;color:#293b35}.world-scene .game-chat .game-chat-msg-name{color:#325d40}.world-scene .game-chat-form{padding:0 14px 14px}.world-scene .game-chat-input{background:#fff6e0!important;color:#293b35!important}.world-scene .game-chat .game-chat-send{font-size:12px;padding:8px!important;min-width:0}.community-player-list{display:grid;gap:8px;margin-bottom:16px}.community-player-list button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:1px solid #bba16b66;border-radius:15px;background:#fff2d3;color:#304435;padding:12px;cursor:pointer}.community-player-list img{width:42px;height:42px;border-radius:50%;object-fit:cover}.community-player-list span{flex:1;min-width:0}.community-player-list strong{display:block;overflow-wrap:anywhere}.community-player-list small{display:block;font-size:12px;font-weight:450;color:#706046;margin-top:3px}.community-player-list b{text-align:right}.community-messages{overflow:auto;max-height:42dvh;min-height:140px;overscroll-behavior:contain}.community-message{display:flex;align-items:flex-start;gap:9px;margin:12px 0}.community-message>img{width:30px;height:30px;object-fit:cover;border-radius:50%}.community-message>div{background:#fff8e6;border:1px solid #bba16b44;border-radius:3px 13px 13px;padding:10px 12px;max-width:calc(100% - 40px);min-width:0}.community-message.is-mine>div{background:#dbe6ca}.community-message strong{font:750 12px/1.3 system-ui;color:#315b42}.community-message p{white-space:pre-wrap;overflow-wrap:anywhere;font:400 14px/1.5 system-ui;margin:4px 0}.community-message time{display:block;text-align:right;font-size:10px;color:#76684a}.community-chat-form{display:flex;gap:7px;margin-top:10px}.community-chat-form input{min-width:0;flex:1;border:1px solid #b6a16d;border-radius:13px;padding:11px;background:#fff9e9;color:#293b35;font-size:16px}.community-chat-form .btn{min-width:0;font-size:12px;padding:9px!important}.community-chat-status{font-size:12px;min-height:18px;margin:8px 0 0;color:#70523a!important}@media(max-width:360px){.app-bottom-nav button span,.world-scene .app-bottom-nav button span{font-size:9px}.app-bottom-nav,.world-scene .app-bottom-nav{gap:2px!important}.sheet-body{padding:12px}}.world-scene #round-line{width:100%!important;max-width:none!important;text-align:center!important;margin:5px auto 0!important}.community-chat-form input{width:0!important;flex:1 1 0!important;min-height:44px;box-sizing:border-box}.community-chat-form .btn{flex:0 0 auto!important;width:auto!important;max-width:112px;min-height:44px;margin:0!important}.nav-scrim{background:#102a2766}.app-sheet,.world-scene .world-players-panel,.world-scene .game-chat[open]{top:calc(var(--app-safe-top,0px) + (100dvh - var(--app-safe-top,0px) - var(--app-safe-bottom,0px) - 94px)/2)!important;bottom:auto!important;transform:translateY(-50%);height:auto!important;max-height:calc(100dvh - var(--app-safe-top,0px) - var(--app-safe-bottom,0px) - 118px)!important;animation:nav-modal-in .16s ease-out}.nav-embedded>.page{padding:0!important;margin:0!important;max-width:none!important;min-height:0!important;background:none!important}.nav-embedded>.page>h1,.nav-embedded>.page>.link-back,.nav-embedded .game-home-hero{display:none!important}.nav-embedded #main-menu-card{padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:none!important}.nav-embedded #main-menu-card:after{display:none}.nav-embedded #profile-content{padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important}.nav-embedded #profile-content:after{display:none}@keyframes nav-modal-in{0%{opacity:0;transform:translateY(calc(-50% + 8px)) scale(.985)}to{opacity:1;transform:translateY(-50%) scale(1)}}@media(prefers-reduced-motion:reduce){.app-sheet,.world-scene .world-players-panel,.world-scene .game-chat[open]{animation:none!important}}.world-scene.spectator-question-open .app-bottom-nav{z-index:175}.world-scene.spectator-question-open .nav-scrim{z-index:155}.world-scene.spectator-question-open .app-sheet,.world-scene.spectator-question-open .world-players-panel,.world-scene.spectator-question-open .game-chat[open]{z-index:165}.world-scene #question-modal.modal-spectator{height:calc(var(--app-viewport-height,100dvh) - var(--app-safe-top,0px) - var(--app-safe-bottom,0px) - 94px);padding-bottom:12px}.turn-announcement{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1700;pointer-events:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;box-sizing:border-box;background:linear-gradient(transparent 23%,#152d29d9 45%,#152d29d9 55%,transparent 78%);text-align:center;color:#fff0bb}.turn-announcement[hidden]{display:none}.turn-announcement strong{font-size:clamp(30px,9vw,68px);line-height:1.1;text-shadow:0 3px 0 #332814;overflow-wrap:anywhere;max-width:100%}.turn-announcement span{font-size:17px;color:#fff6df}.turn-edge-indicator{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1701;pointer-events:none;box-sizing:border-box;border:3px solid var(--turn-color);box-shadow:inset 0 0 12px var(--turn-color);opacity:.8}.turn-edge-indicator[hidden]{display:none}.turn-edge-indicator.turn-edge-flash{animation:turn-edge 1s ease-in-out 3}@keyframes turn-edge{0%,to{opacity:.15}50%{opacity:1}}.royal-navigation button.chat-unread{position:relative;animation:chat-unread 1.4s ease-in-out infinite}.chat-unread:after{content:attr(data-unread);position:absolute;right:7px;top:2px;min-width:20px;height:20px;line-height:20px;border-radius:12px;background:#c94032;color:#fff;font:700 12px/20px sans-serif;text-shadow:none;border:2px solid #ffdc88}.player-chat-unread .players-list-avatar{animation:chat-unread 1.4s ease-in-out infinite;outline:2px solid #ffda72}@keyframes chat-unread{50%{box-shadow:inset 0 0 0 3px #ffe49a;background-color:#876722}}.bot-control-banner{position:fixed;z-index:1100;top:calc(var(--tg-safe-area-inset-top,0px) + var(--tg-content-safe-area-inset-top,0px) + 110px);left:50%;transform:translate(-50%);max-width:90vw;padding:10px 16px;border:2px solid #e6c377;border-radius:15px;background:#264a3f;color:#fff2c8;font-weight:700;box-shadow:0 3px #172e27}.bot-control-banner[hidden]{display:none}@media(prefers-reduced-motion:reduce){.turn-edge-indicator.turn-edge-flash,.royal-navigation button.chat-unread,.player-chat-unread .players-list-avatar{animation:none}}.numeric-duel-result{margin:12px 0;padding:12px 16px;border:1px solid #b89a57;border-radius:14px;background:#fff3d6;color:#3e3526;text-align:center}.numeric-duel-result p{margin:5px 0}.numeric-duel-result p:last-child{font-weight:800}.turn-announcement .turn-announcement-avatar{width:88px;height:88px;object-fit:cover;border:3px solid #e8c568;border-radius:50%;box-shadow:0 4px 14px #10262280;flex-shrink:0}.turn-announcement .turn-announcement-avatar[hidden]{display:none}.combat-hud{position:fixed;z-index:74;left:max(8px,var(--app-safe-left,0px));right:max(8px,var(--app-safe-right,0px));bottom:calc(var(--app-safe-bottom,0px) + 84px);pointer-events:none;max-width:680px;margin:auto}.combat-hud[hidden]{display:none}.combat-hud-top{display:flex;align-items:flex-end;justify-content:flex-end;gap:8px;margin-bottom:7px}.combat-chest{pointer-events:auto;background:linear-gradient(#fae7ba,#d6b777);color:#253a4c;border:1px solid #ae8743;border-radius:12px;padding:10px 13px;font:750 12px system-ui;box-shadow:0 2px #745c35}.combat-skill-hint{pointer-events:auto;flex:1;margin:0;padding:9px 12px;border-radius:12px;background:#fff2d8;color:#263b50;font:600 12px/1.4 system-ui}.combat-skills{display:grid;grid-template-columns:repeat(var(--skill-count,4),minmax(0,1fr));gap:5px;pointer-events:auto}.combat-skills button{min-width:0;padding:7px 2px;border:1px solid #ccb177;border-radius:12px;background:linear-gradient(#386a94,#203e5b);color:#fff0ca;box-shadow:0 2px #6f5c39;display:flex;flex-direction:column;align-items:center;gap:3px;min-height:68px;font:650 10px/1.2 system-ui}.combat-skills b{font-size:22px;line-height:1}.combat-skills small{font:500 9px system-ui;color:#ead9ac}.combat-skills button:disabled{filter:saturate(.4);opacity:.65;cursor:default}.combat-skills button[aria-pressed=true]{outline:2px solid #ffe38b;background:#427ca5}.combat-chest-dialog{position:fixed;top:0;right:0;bottom:0;left:0;z-index:185;background:#162d3b99;padding:calc(var(--app-safe-top,0px) + 12px) 12px calc(var(--app-safe-bottom,0px) + 12px);display:flex;align-items:center;justify-content:center;box-sizing:border-box}.combat-chest-dialog[hidden]{display:none}.combat-chest-content{width:100%;max-width:560px;max-height:100%;overflow:auto;box-sizing:border-box;border:2px solid #c8ac72;border-radius:22px;background:linear-gradient(125deg,#fff2d4,#ead6ac);padding:18px;color:#293d4e;box-shadow:0 6px #6e5c3a}.combat-chest-content header{display:flex;align-items:center;justify-content:space-between;gap:12px}.combat-chest-content h2{margin:0;font:700 26px Georgia,serif}.combat-chest-content header button{border:1px solid #b39a66;background:#f9ebca;color:#293d4e;border-radius:10px;width:38px;height:38px;font-size:24px}.combat-chest-content>p,.combat-inventory-card p{font:400 13px/1.5 system-ui;margin:7px 0 14px}.combat-inventory{display:grid;gap:8px}.combat-inventory-card{padding:12px;border:1px solid #b19b6b66;border-radius:13px;background:#fff8e4}.combat-inventory-card p{margin-bottom:0}.combat-inventory-card strong{font:750 14px system-ui;color:#2a4e6b}.duel-card-button{flex:1 1 100px!important;min-width:0!important;padding:8px!important;font:650 11px/1.3 system-ui!important}.duel-card-button:disabled{opacity:.55!important}.answers-blinded .option-btn{color:transparent!important;text-shadow:none!important}.answers-blinded .option-btn>*{visibility:hidden!important}.answers-blinded .option-btn{background:linear-gradient(#dccba6,#b29c74)!important}.answers-blinded .option-btn:after{content:"•••";color:#423c31;position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center}.answers-blinded .option-btn{position:relative}.blind-status{font:750 13px system-ui;color:#8c3833;text-align:center;margin:6px 0}.mine-marker{pointer-events:none}.combat-mine-notice{animation:mine-notice .3s ease-out}@keyframes mine-notice{0%{transform:translateY(12px);opacity:0}to{transform:none;opacity:1}}@media(prefers-reduced-motion:reduce){.combat-mine-notice{animation:none}}#question-options .audience-wrong{background:#e6c1ad!important;border-color:#b66b54!important;color:#774532!important;box-shadow:inset 0 0 0 2px #c58065!important}#question-options.answers-blinded .audience-wrong{color:transparent!important}.combat-skills button span{overflow-wrap:anywhere;max-width:100%}.answers-blinded .option-img-btn{position:relative;background:#d6c5a1!important}.answers-blinded .option-img-btn>*{visibility:hidden!important}.answers-blinded .option-img-btn:after{content:"•••";position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#423c31}.combat-chest-content h2{color:#293d4e!important;text-shadow:none!important}.combat-skills button b,.combat-skills button span{color:#fff0ca!important}.combat-chest span{color:#253a4c!important}.world-scene.map-modal-open .combat-hud{visibility:hidden;pointer-events:none}.combat-skills[hidden]{display:none}.combat-skills{gap:7px;padding:5px 1px 4px}.combat-skills button{--ability:#68d9b6;position:relative;min-height:93px;padding:7px 3px 6px;border:1px solid #e5c98b;border-radius:15px;background:linear-gradient(145deg,#386487,#19344d 75%);box-shadow:inset 0 1px #ffffff60,inset 0 0 0 3px #102b4444,0 4px #102536,0 5px 8px #10232c40;gap:5px;transition:transform .12s,box-shadow .12s}.combat-skills button[data-skill=MINE]{--ability:#ffbd7a}.combat-skills button[data-skill=LAST_PUSH]{--ability:#ffe074}.combat-skills button[data-skill=RECON]{--ability:#98d9ff}.combat-emblem{display:grid;place-items:center;width:39px;height:39px;border:1px solid #f4d69480;border-radius:50%;background:radial-gradient(circle at 35% 20%,#ffffff26,#0b203c);box-shadow:inset 0 0 0 3px #ffffff09;color:var(--ability)!important}.combat-emblem svg{width:29px;height:29px;filter:drop-shadow(0 2px 0 #091e36)}.combat-skills button span{font:750 10px/1.15 system-ui!important;min-height:23px;display:flex;align-items:center;justify-content:center;text-align:center;letter-spacing:.01em}.combat-skills small{font:700 8px/1 system-ui;color:#c5e5e0;background:#0d253b;border-radius:20px;padding:3px 7px}.combat-skills button:disabled{opacity:1;filter:saturate(.25);background:linear-gradient(145deg,#52616b,#293e4c);border-color:#9ca58f;box-shadow:inset 0 1px #ffffff26,0 3px #20313b}.combat-skills button:disabled small{color:#e0dfd4}.combat-skills button[aria-pressed=true]{outline:2px solid #ffdc7a;outline-offset:2px;background:linear-gradient(145deg,#4c87a6,#214a69);transform:translateY(-3px)}.combat-skills button:enabled:active,.combat-chest:active{transform:translateY(3px);box-shadow:inset 0 1px #ffffff40,0 1px #142e40}.combat-chest{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #f5d994;border-radius:13px;background:linear-gradient(#fcecc3,#d3af69);box-shadow:inset 0 0 0 2px #fff4d150,0 3px #79603a;font:800 11px system-ui;min-height:42px}.combat-chest svg{width:27px;height:27px;color:#62431f}.combat-chest-content{padding:18px 14px;background:radial-gradient(ellipse at top,#fff5da,#ead5a7);border:2px solid #ead099;box-shadow:inset 0 0 0 4px #fff5d480,0 7px #635335}.combat-inventory{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:5px 2px 8px}.combat-inventory-card{--spell:#256a83;--light:#bde6e4;position:relative;display:flex;align-items:center;flex-direction:column;text-align:center;min-width:0;padding:13px 9px 12px;border:2px solid #b29255;border-radius:15px;background:linear-gradient(155deg,#fff8e4,#e8d2a1);box-shadow:inset 0 0 0 3px #fff8df,0 4px #a48754;overflow:hidden}.combat-inventory-card[data-tone=curse]{--spell:#793f68;--light:#eabddd}.combat-inventory-card.is-empty{border-color:#b9ac8b;box-shadow:inset 0 0 0 3px #fff8df,0 3px #b4a17a}.combat-inventory-card.is-empty .card-art{opacity:.55}.card-art{display:grid;place-items:center;width:76px;height:76px;margin:4px 0 12px;background:radial-gradient(circle at 35% 20%,var(--light),var(--spell));border:3px double #f2d893;border-radius:20px 20px 32px 32px;box-shadow:0 3px #63543b,inset 0 0 0 5px #ffffff16;color:#fff4cf}.card-art svg{width:47px;height:47px;filter:drop-shadow(0 3px 1px #14243f80)}.card-category{font:800 8px/1.3 system-ui;letter-spacing:.1em;color:var(--spell);margin:0 0 6px}.combat-inventory-card strong{font:800 14px/1.2 system-ui;color:#233e51!important;min-height:34px;display:grid;align-items:center}.combat-inventory-card p{font:500 11px/1.45 system-ui;color:#54462f!important;margin:7px 0 0}.card-count{position:absolute;right:7px;top:7px;border:1px solid #e5c689;border-radius:8px;background:#203d53;color:#fff0bf!important;font:800 11px system-ui;padding:3px 6px;box-shadow:0 2px #ad8a4f}#question-powerups{gap:7px;flex-wrap:wrap;padding:4px 0 7px}button.duel-card-button{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px;flex:1 1 90px!important;min-height:91px;padding:8px 24px 8px 6px!important;border:1px solid #c0a46b!important;border-radius:12px!important;background:linear-gradient(145deg,#fff5d8,#dfc592)!important;box-shadow:inset 0 0 0 2px #fff9e1,0 3px #9a7c46!important;color:#244c62!important;text-shadow:none!important}button.duel-card-button[data-tone=curse]{background:linear-gradient(145deg,#f6dfec,#d2b2c4)!important;border-color:#ab8199!important;color:#693756!important}.duel-card-icon svg{width:30px;height:30px}.duel-card-name{font:800 10px/1.2 system-ui!important;color:inherit!important;text-align:center}.duel-card-button .card-count{right:4px;top:4px;font-size:9px;padding:2px 4px}.duel-card-button:disabled{opacity:.6!important;filter:saturate(.3)}.duel-card-button:enabled:active{transform:translateY(2px)}@media(min-width:500px){.combat-skills button span{font-size:12px!important}.combat-skills button{min-height:101px}.combat-inventory-card{padding:18px 14px}.combat-inventory-card p{font-size:12px}}.combat-skills button .combat-emblem{color:var(--ability)!important}.combat-hud{bottom:calc(var(--game-nav-height,84px) + 10px)}.world-scene.navigation-open .combat-hud,.turn-announcement-open .combat-hud{visibility:hidden;pointer-events:none}.game-page .toast{bottom:var(--game-message-bottom,calc(var(--app-safe-bottom,0px) + 100px))!important;z-index:1502;max-height:25dvh;overflow:auto}.conquest-notice[data-kind=capture],.conquest-notice[data-kind=duel],.conquest-notice[data-kind=mine]{top:auto;bottom:calc(var(--game-message-bottom,110px) + var(--game-toast-height,0px) + 12px);max-height:40dvh;overflow:auto}.battle-intro-open .combat-hud{visibility:hidden;pointer-events:none}.game-page .toast{transform:none!important;animation:game-message-in .2s ease-out!important;left:max(16px,var(--app-safe-left,0px))!important;right:max(16px,var(--app-safe-right,0px))!important;width:auto!important}body .conquest-notice[data-kind=capture],body .conquest-notice[data-kind=duel],body .conquest-notice[data-kind=mine]{top:auto!important;bottom:calc(var(--game-message-bottom,110px) + var(--game-toast-height,0px) + 12px)!important;left:max(16px,var(--app-safe-left,0px))!important;right:max(16px,var(--app-safe-right,0px))!important;width:auto!important;max-width:440px;margin:0 auto;transform:none!important;animation:game-message-in .2s ease-out!important;max-height:max(70px,min(40dvh,calc(100dvh - var(--game-message-bottom,110px) - var(--game-toast-height,0px) - var(--app-safe-top,0px) - 36px)));overflow:auto}@keyframes game-message-in{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.game-page .toast,body .conquest-notice[data-kind]{animation:none!important}}@media(max-height:500px){.conquest-notice-open .combat-hud{visibility:hidden;pointer-events:none}}.world-scene #game-content.has-victory-ceremony{padding:calc(var(--app-safe-top,0px) + 90px) 12px calc(var(--app-safe-bottom,0px) + 22px)!important;overflow:auto!important}.world-scene:has(.victory-ceremony) .royal-navigation{display:none!important}#game-content .victory-ceremony{position:relative;isolation:isolate;width:min(100%,760px);margin:0 auto;overflow:hidden;box-sizing:border-box;border:1px solid #e7c57399;border-radius:28px;padding:26px 18px 22px;color:#fff1c9;background:radial-gradient(ellipse at 50% 35%,#2c645c 0,#173e3e 47%,#102a35);box-shadow:0 18px 55px #10271f66,inset 0 0 0 4px #e4c77b13}.victory-heading{position:relative;text-align:center;z-index:2}.victory-crest{display:grid;place-items:center;width:66px;height:60px;margin:0 auto 8px;color:#ffe09b}.victory-crest svg{width:58px;height:58px}.victory-heading>p{color:#f7d991;font:800 10px/1.5 system-ui;letter-spacing:.27em;margin:0 0 7px}#game-content .victory-heading h2{color:#fff1c8!important;font:800 clamp(26px,6vw,43px)/1.12 Georgia,serif;text-shadow:0 3px #072b29;margin:0 0 9px;overflow-wrap:anywhere}.victory-subtitle{color:#c2ddd3;font:500 13px/1.5 system-ui;max-width:460px;margin:auto}.victory-rays{position:absolute;top:-70px;right:-80px;bottom:80px;left:-80px;background:conic-gradient(from -20deg at 50% 16%,transparent 0 12deg,#f8d8870c 12deg 27deg,transparent 27deg 52deg,#f8d88713 52deg 62deg,transparent 62deg 85deg,#f8d8870a 85deg 105deg,transparent 105deg 245deg,#f8d88710 245deg 255deg,transparent 255deg);pointer-events:none;z-index:-1}.victory-stage{position:relative;display:flex;align-items:flex-end;justify-content:center;gap:6px;min-height:320px;padding:24px 0 18px;margin:8px 0 0}.victory-stage:after{content:"";position:absolute;bottom:0;left:0;right:0;height:55px;border-radius:50%;background:radial-gradient(ellipse,#dec17835,transparent 70%);z-index:-1}.victory-place{flex:1;max-width:190px;min-width:0;display:flex;flex-direction:column;align-items:center;animation:victory-arrival .75s cubic-bezier(.2,.8,.2,1) var(--arrival) both}.victory-avatar{position:relative;width:48px;height:48px;flex:none;margin:0 0 -3px;border:3px solid #c4cfda;border-radius:50%;box-shadow:0 4px 10px #061d2680;z-index:2;background:#214447}.victory-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.victory-avatar:after{content:"";position:absolute;left:50%;bottom:-8px;width:6px;height:6px;background:#e9d59a;transform:translate(-50%) rotate(45deg)}.victory-figure{position:relative;width:100%;max-width:155px;height:140px;overflow:visible;margin-bottom:-1px;z-index:1}.victory-plinth{box-sizing:border-box;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;min-height:88px;padding:12px 5px;border:1px solid #c2d0dc;border-radius:9px 9px 5px 5px;background:linear-gradient(115deg,#90abb7,#ced8d5 40%,#78939f);box-shadow:0 8px #385b69,inset 0 3px #f4f7e680;color:#142d37}.victory-plinth:before{content:"";position:absolute;top:-6px;left:3px;right:3px;height:6px;border:1px solid #f6e5ae77;border-radius:5px 5px 0 0;background:#dce8d5}.victory-rank{display:grid;place-items:center;width:27px;height:27px;border:1px solid #254f6755;border-radius:50%;font:800 19px Georgia,serif;background:#f1f7e75e;flex-shrink:0}.victory-name{font:800 13px/1.2 system-ui;color:inherit;text-align:center;max-width:100%;overflow-wrap:anywhere}.victory-score{font:700 11px/1.2 system-ui;opacity:.85}.victory-place[data-place="1"] .victory-avatar{width:57px;height:57px;border-color:#ffe1a1;box-shadow:0 0 0 4px #eccd7b29,0 5px 14px #061d2680}.victory-place[data-place="1"] .victory-plinth{min-height:123px;border-color:#ffe5a4;background:linear-gradient(115deg,#c49242,#f4d58a 45%,#bd8435);box-shadow:0 8px #7a542c,inset 0 3px #fff1bc;color:#4b321e}.victory-place[data-place="1"] .victory-plinth:before{background:#ffe9ab}.victory-place[data-place="1"] .victory-rank{background:#fff2be7a;border-color:#96682399}.victory-place[data-place="3"] .victory-plinth{min-height:70px;border-color:#efc89a;background:linear-gradient(115deg,#a57858,#d9ad7c 45%,#9f7054);box-shadow:0 8px #654635,inset 0 3px #ffdeaa80;color:#38261a}.victory-place[data-place="3"] .victory-avatar{border-color:#e1b080}.victory-place[data-place="3"] .victory-plinth:before{background:#e7bd8a}.victory-audience{display:flex;justify-content:center;gap:18px;color:#d9bf7a;margin:9px 0 12px;font-size:13px}.victory-controls{position:relative;text-align:center}.victory-sound-hint{font:500 11px/1.4 system-ui;color:#c5d9c9;margin:8px 0}.victory-sound-controls{display:flex;justify-content:center;align-items:center;gap:9px;margin:10px 0 16px}.victory-replay{border:1px solid #b99c5b88;border-radius:12px;background:#173935;color:#fce5ac;padding:11px 14px;font:700 12px/1.2 system-ui;min-height:44px}.victory-sound-controls .battle-sound{width:44px;min-height:44px;padding:0;color:#fbe0a5;background:#173935;border-color:#b99c5b88;box-shadow:none}.victory-home{width:100%;max-width:400px;font-size:17px}.victory-confetti{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;z-index:3}.victory-confetti i{position:absolute;left:var(--x);top:-15px;width:5px;height:9px;background:var(--hue);animation:victory-confetti 4.8s ease-in var(--delay) both;opacity:0}.victory-settled .victory-confetti{display:none}@keyframes victory-arrival{0%{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}@keyframes victory-confetti{0%{opacity:0;transform:translateY(-10px) rotate(0)}10%{opacity:.9}75%{opacity:.8}to{opacity:0;transform:translate(var(--drift),580px) rotate(480deg)}}.victory-teams .victory-stage{gap:5px}.victory-teams .victory-name{font-size:11px}.victory-teams .victory-avatar{width:39px;height:39px}.victory-teams .victory-place[data-place="1"] .victory-avatar{width:44px;height:44px}.victory-teams .victory-figure{height:115px}@media(min-width:650px){.victory-stage{gap:20px;min-height:360px}.victory-figure{height:160px}.victory-name{font-size:16px}.victory-plinth{min-height:105px}.victory-place[data-place="1"] .victory-plinth{min-height:155px}.victory-place[data-place="3"] .victory-plinth{min-height:85px}}@media(max-width:360px){#game-content .victory-ceremony{padding:20px 10px}.victory-avatar{width:41px;height:41px}.victory-place[data-place="1"] .victory-avatar{width:48px;height:48px}.victory-name{font-size:12px}.victory-figure{height:120px}.victory-stage{min-height:295px}}@media(prefers-reduced-motion:reduce){.victory-place{animation:none}.victory-confetti{display:none}}@media(max-width:600px){.victory-audience{display:none}#game-content .victory-ceremony{padding:20px 12px 16px}.victory-crest{height:45px;margin-bottom:5px}.victory-crest svg{height:44px;width:44px}.victory-stage{min-height:0;padding:18px 0 14px;margin-top:4px}.victory-figure{height:120px}.victory-place[data-place="1"] .victory-plinth{min-height:113px}.victory-sound-hint{margin:4px 0}.victory-sound-controls{margin:8px 0 10px}.victory-teams .victory-figure{height:100px}}.flag-planting{pointer-events:none}.plant-land{animation:plant-land 3s ease-out both;stroke-linejoin:round}.plant-hero{animation:plant-hero 3s ease-in-out both;transform-origin:0 8px}.plant-standard{animation:plant-standard 3s ease-out both}.plant-pole{animation:plant-pole 3s cubic-bezier(.2,.7,.2,1) both;transform-origin:12px 10px}.plant-cloth{animation:plant-cloth 3s ease-out both;transform-origin:13px -44px}.plant-ring{animation:plant-ring 3s ease-out both;transform-origin:0 8px}.plant-dust circle{animation:plant-dust 3s ease-out both;transform-box:fill-box;transform-origin:center}@keyframes plant-hero{0%{opacity:0;transform:translate(-40px,-7px)}8%{opacity:1}17%{transform:translate(-13px,-7px)}30%{transform:translate(-10px,-5px) rotate(9deg)}37%{transform:translate(-13px,-7px) rotate(0)}86%{opacity:1}to{opacity:0;transform:translate(-13px,-7px)}}@keyframes plant-standard{0%,17%{opacity:0}22%,88%{opacity:1}to{opacity:0}}@keyframes plant-pole{0%,18%{transform:translate(-7px,-18px) rotate(-22deg)}34%{transform:translateY(2px) rotate(2deg)}40%,to{transform:translate(0) rotate(0)}}@keyframes plant-cloth{0%,35%{transform:scaleX(.04) skewY(-12deg)}49%{transform:scaleX(1.08) skewY(5deg)}62%{transform:scaleX(.94) skewY(-3deg)}78%,to{transform:scaleX(1) skewY(0)}}@keyframes plant-land{0%,28%{fill-opacity:0;stroke-opacity:0}38%{fill-opacity:.42;stroke-opacity:1}70%{fill-opacity:.16;stroke-opacity:.8}to{fill-opacity:0;stroke-opacity:0}}@keyframes plant-ring{0%,34%{opacity:0;transform:scale(.2)}36%{opacity:.95}65%,to{opacity:0;transform:scale(2)}}@keyframes plant-dust{0%,34%{opacity:0;transform:translate(0) scale(.5)}36%{opacity:.9}64%,to{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.2)}}.plant-reduced *{animation:none!important}.plant-reduced .plant-hero{transform:translate(-13px,-7px)}.plant-reduced .plant-land{fill-opacity:.16;stroke-opacity:.8}.plant-reduced .plant-dust,.plant-reduced .plant-ring{display:none}.conquest-notice[data-kind=capture],.conquest-notice[data-kind=duel]{top:auto;bottom:calc(130px + env(safe-area-inset-bottom));left:50%;right:auto;width:min(90vw,440px);padding:12px 18px;border:1px solid #e6c98188;border-radius:16px;background:#15382def;transform:translate(-50%);box-shadow:0 8px 22px #10251b44}.conquest-notice[data-kind=capture] .conquest-notice-icon,.conquest-notice[data-kind=duel] .conquest-notice-icon{display:none}.conquest-notice[data-kind=capture] strong,.conquest-notice[data-kind=duel] strong{font-size:19px}.conquest-notice[data-kind=capture] p,.conquest-notice[data-kind=duel] p{font-size:12px;margin-top:5px}.conquest-notice[data-kind=capture].conquest-notice-enter,.conquest-notice[data-kind=duel].conquest-notice-enter{animation:plant-caption .25s ease-out both}@keyframes plant-caption{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.flag-planting *{animation:none!important}.plant-hero{transform:translate(-13px,-7px)}.plant-dust,.plant-ring{display:none}}.attack-hints{animation:attack-zone-pulse 1.6s ease-in-out infinite;pointer-events:none}.attack-hints polygon{fill:none!important;fill-opacity:0!important;stroke:#ffe69b;stroke-width:2.8;stroke-linejoin:round}@keyframes attack-zone-pulse{0%,to{opacity:.28}50%{opacity:1}}.world-scene.map-modal-open .attack-hints{display:none}#question-options [data-answer-painted]:before{content:attr(data-letter)!important}#question-options .answer-feedback-label{display:block;font:700 11px/1.4 system-ui;margin-top:5px;color:inherit;-webkit-text-fill-color:inherit;opacity:1}@media(prefers-reduced-motion:reduce){.attack-hints{animation:none;opacity:.8}}
