.panel-drag-handle{cursor:grab;touch-action:none;user-select:none}.panel-drag-handle:active{cursor:grabbing}.panel-drag-handle:focus-visible{outline:1px solid #ddc78d;outline-offset:3px}.panel-drag-handle button{cursor:pointer}[data-floating-moved=true]{max-height:calc(100dvh - var(--floating-y,8px) - 8px);overflow:auto}.action-drawer[data-floating-moved=true]{overflow:visible}.action-drawer[data-floating-moved=true] .action-content{max-height:calc(100dvh - var(--floating-y,8px) - 70px)}
.phase-prompt{position:fixed;z-index:58;left:50%;top:clamp(144px,24vh,220px);transform:translateX(-50%);pointer-events:none}.phase-prompt[hidden]{display:none}.phase-confirm{pointer-events:auto;display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 18px;border:0;background:radial-gradient(ellipse,#163b2cdd,#102e2166 65%,transparent 75%);color:#ffe4a4;min-width:205px;min-height:90px;border-radius:50%;cursor:pointer;filter:drop-shadow(0 2px 3px #09221780)}.phase-confirm svg{width:47px;height:47px;fill:#193f2bc9;stroke:#efd499;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 9px #f5da8077);animation:phase-invitation 2.6s ease-in-out infinite}.phase-confirm span{font:700 15px/1.3 Georgia,serif;letter-spacing:.045em;text-shadow:0 2px 3px #092217;white-space:nowrap}.phase-confirm:hover{color:#fff1c8}.phase-confirm:focus-visible{outline:2px solid #eed491;outline-offset:3px}
.chat-dock{position:fixed;z-index:96;bottom:16px;right:190px;display:grid;place-items:center;min-width:43px;min-height:43px;padding:9px;border-radius:9px}.chat-dock svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5}.chat-dock .chat-unread{font-size:10px}.chat-dock[hidden]{display:none}
@keyframes phase-invitation{50%{filter:drop-shadow(0 0 15px #f9d778bb)}}
@media(max-width:650px){.phase-prompt{top:clamp(134px,26vh,190px)}.phase-confirm{min-width:190px;padding:9px 12px;gap:6px}.phase-confirm span{font-size:13px}.phase-confirm svg{width:41px;height:41px}.chat-dock{min-width:38px;min-height:38px;padding:8px}#army-summary{max-width:calc(100vw - 215px)}}
@media(max-height:500px){.phase-prompt{top:110px}.phase-confirm{min-height:66px;gap:4px}.phase-confirm svg{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){.phase-confirm svg{animation:none}}
