.sw-body{background:#f4ecd8;color:#293528;min-height:100%;height:auto}.sw-body #app-header{display:none}.sw-body .cq-page{max-width:1480px;padding:12px 22px 35px}.sw-body .games-return{display:inline-flex;color:#59714e;font-size:12px;padding:8px 0}.sw-setup{min-height:90vh}.sw-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:5px 0 19px}.sw-intro h1{font-size:clamp(32px,4vw,49px);color:#47351f;margin:0 0 6px}.sw-intro p{font-size:13px;margin:0;line-height:1.7}.sw-intro .sw-kicker{font-size:9px;letter-spacing:.12em;color:#8b7049;margin-bottom:8px}.sw-pill{font-size:11px;padding:9px 13px;background:#e2e7d4;border:1px solid #bac6a2;border-radius:25px;white-space:nowrap}.sw-heroes{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:11px}.sw-hero{border:1px solid #cbbd9e;background:#fffbef;box-shadow:0 3px 9px #48351b09;border-radius:15px;padding:11px 7px;display:flex;align-items:center;flex-direction:column;gap:7px;color:#4c442f;cursor:pointer;font:inherit;min-width:0;transition:background .15s,transform .15s}.sw-hero:hover{transform:translateY(-2px);border-color:#648052}.sw-hero[aria-pressed=true]{background:#e0e8cf;border:3px solid #527045;padding:9px 5px;box-shadow:0 0 0 3px #a9b98d40}.sw-hero strong{font-size:11px;line-height:1.5;min-height:32px;display:flex;align-items:center;text-align:center}.sw-hero>span:last-child{font-size:9px;color:#83795c}.sw-avatar{display:inline-block;flex-shrink:0;width:56px;height:56px;border-radius:50%;border:2px solid #d1b871;background-repeat:no-repeat;box-shadow:inset 0 0 0 1px #fff9}.sw-avatar.avatar-hero{width:78px;height:78px}.sw-avatar.avatar-small{width:40px;height:40px}.sw-avatar.avatar-large{width:72px;height:72px}.sw-selected{font-size:12px;color:#44643a;margin:15px 0;font-weight:650}.sw-controls{display:grid;grid-template-columns:1fr 1.6fr .7fr;gap:16px;padding:16px 19px;background:#fffaf0;border:1px solid #d8ceb5;border-radius:13px}.sw-controls>label,.sw-entry>label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#65563c}.sw-controls .input,.sw-entry .input{background:#fffdf7;border-color:#d0c5aa;font-size:13px;height:42px}.sw-controls .cq-setting{margin:0}.sw-controls .cq-setting-hint{display:block;font-size:10px;margin-top:5px}.sw-controls .cq-setting-label{font-size:11px;margin:0 0 6px}.sw-error{font-size:13px;color:#963e32;min-height:21px;margin:10px 0}.sw-entry{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.sw-entry>label{max-width:190px}.sw-primary,.sw-secondary{font:inherit;font-size:12px;font-weight:700;border-radius:10px;padding:13px 18px;min-height:44px;cursor:pointer}.sw-primary{color:#fff9e5;background:#406236;border:1px solid #34552b}.sw-secondary{background:#fffaf0;color:#5d4c2e;border:1px solid #bfb18c}.sw-primary:disabled,.sw-secondary:disabled{opacity:.6;cursor:wait}.sw-rules{margin-top:22px;border-top:1px solid #d3c6a7;padding:15px 0;font-size:12px;line-height:1.9}.sw-rules summary{cursor:pointer;font-weight:700}.sw-rules li{margin-bottom:10px}.sw-fair{font-size:11px;line-height:1.8}.sw-body :focus-visible{outline:3px solid #a4682b;outline-offset:4px}.sw-body .cq-game{background:#f4ecd8}.sw-body .cq-depth,.sw-body .cq-terrain,.sw-body .cq-relief-borders,.sw-body .cq-name,.sw-body .cq-soldiers,.sw-body .cq-castle{display:none!important}.sw-body .cq-map{background:#e7d0a0;max-height:none;min-height:260px}.sw-body .cq-region{fill:transparent!important;stroke:#35261377;stroke-width:2;filter:none!important}.sw-body .cq-region.own.p0{fill:#8657e8!important;fill-opacity:.18}.sw-body .cq-region.own.p1{fill:#ffcf2e!important;fill-opacity:.2}.sw-body .cq-region.own.p2{fill:#26d4ca!important;fill-opacity:.19}.sw-body .cq-region.pickable{stroke:#fff8bc;stroke-width:6;cursor:pointer;filter:drop-shadow(0 0 3px #302210)!important}.sw-body .cq-region.pickable:hover,.sw-body .cq-region.selected{fill:#fff7a2!important;fill-opacity:.3;stroke:#f7f1bd;stroke-width:8}.sw-body .cq-region.walled{stroke:#fff7da;stroke-width:8;stroke-dasharray:12 7;paint-order:stroke fill}.sw-body .cq-value{fill:#fff!important;paint-order:stroke;stroke:#322915;stroke-width:4;font-size:16px;font-weight:bold}.sw-home{pointer-events:none;color:#9370df}.sw-home.p1{color:#bc871b}.sw-home.p2{color:#187d78}.sw-ruler{fill:#fff8df;stroke:#302818;stroke-width:4;paint-order:stroke;font-size:14px;font-weight:800;pointer-events:none}.sw-body .cq-label{pointer-events:none}.sw-body .cq-map-wrap{border:2px solid #aa8a4c;border-radius:12px}.sw-body .cq-overlay .cq-card{max-height:90vh;overflow:auto}.sw-body .cq-atlas-note{font-size:10px;line-height:1.6;padding:8px}.sw-body .cq-board{min-width:0}.sw-body .cq-topbar{flex-wrap:wrap}.sw-body .cq-phase{color:#5b492b}.sw-body .cq-picker{display:none}
@media(max-width:1100px){.sw-heroes{grid-template-columns:repeat(5,minmax(0,1fr))}.sw-avatar.avatar-hero{width:68px;height:68px}}
@media(max-width:760px){.sw-body .cq-page{padding:10px 14px 24px}.sw-intro{align-items:start;flex-direction:column;gap:9px}.sw-heroes{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.sw-avatar.avatar-hero{width:60px;height:60px}.sw-hero{padding:9px 4px}.sw-hero[aria-pressed=true]{padding:7px 2px}.sw-hero strong{font-size:10px}.sw-hero>span:last-child{display:none}.sw-controls{grid-template-columns:1fr 1fr;padding:13px;gap:12px}.sw-controls>.cq-setting{grid-column:1/-1;grid-row:2}.sw-entry{display:grid;grid-template-columns:1fr 1fr;align-items:end}.sw-entry>.sw-primary{grid-column:1/-1}.sw-entry>label{max-width:none}.sw-entry>button:last-child{grid-column:1/-1}.sw-body .cq-map{min-height:210px}.sw-body .cq-player-info strong{font-size:12px}.sw-body .cq-player{gap:5px}.sw-body .cq-towers{font-size:13px}}
@media(max-width:420px){.sw-heroes{grid-template-columns:repeat(3,minmax(0,1fr))}.sw-intro h1{font-size:35px}.sw-avatar.avatar-hero{width:66px;height:66px}}
@media(prefers-reduced-motion:reduce){.sw-hero{transition:none;transform:none}}
