/* Original field-command identity: olive CRT, brass dispatches, restrained motion. */
.army-chess-wrap .ac-coach-column{max-height:none!important;overflow:visible!important;padding-right:0}
.army-chess-wrap .ac-coach-message{max-height:none;overflow:visible}
.army-chess-wrap .ac-notation{max-height:none;overflow:visible;flex-wrap:wrap}
.army-chess-wrap .ac-log{max-height:none}
.army-chess-wrap .ac-workspace{align-items:start}
.army-chess-wrap .ac-nav{flex-wrap:wrap}
.army-chess-wrap .ac-header{height:auto;min-height:64px}
.army-chess-wrap .ac-mobile-menu{display:none}
.army-chess-wrap .ac-clock{margin-left:auto;min-width:64px;padding:4px 9px;text-align:center;background:#141e17;border:1px solid #526345;color:#c0cbaa;font:600 24px 'Barlow Condensed',monospace;font-variant-numeric:tabular-nums;white-space:nowrap}
.army-chess-wrap .ac-clock[data-active=true]{color:#f0d6a0;border-color:#bcac72;background:#303b28}
.army-chess-wrap .ac-clock[data-low=true]{color:#f9b49a;border-color:#c56647;animation:ac-heartbeat 1s ease-in-out infinite}
@keyframes ac-heartbeat{0%,100%{box-shadow:inset 0 0 0 #a3342500}15%,40%{box-shadow:inset 0 0 12px #a3342580}25%,65%{box-shadow:inset 0 0 3px #a3342520}}
.ac-command-welcome{padding:clamp(10px,3vw,30px);background:linear-gradient(90deg,#0f1c17ec,#172b23d9),repeating-linear-gradient(0deg,transparent 0 3px,#94a97a22 4px);border:1px solid #556b4d}
.army-chess-wrap .ac-command-welcome h2{font:600 clamp(30px,5vw,52px) 'Barlow Condensed',sans-serif;color:#e0d2a6;line-height:1.1;margin:15px 0}
.ac-command-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0}
.army-chess-wrap .ac-command-grid button{display:flex;flex-direction:column;align-items:start;text-align:left;padding:18px;background:#1b2b22;border:1px solid #60724f;gap:8px}
.ac-command-grid b{font:600 24px 'Barlow Condensed',sans-serif;color:#e0d2a6}.ac-command-grid span{font-size:12px;color:#afbea6}
.ac-service-rank{font:600 24px 'Barlow Condensed',sans-serif;color:#d7be79;padding:12px 0}.ac-service-rank small{display:block;font:12px Barlow,sans-serif;color:#b7c1a9;margin-top:7px}
.ac-match-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ac-match-controls select{width:100%}
.ac-codec{display:grid;grid-template-columns:180px 1fr;gap:26px;padding:24px;background:repeating-linear-gradient(0deg,#0c2117ee 0 3px,#152c22ee 4px 5px);border:2px solid #60704d;margin-bottom:20px;box-shadow:inset 0 0 40px #0008}
.ac-codec>.ac-officer{width:180px;height:190px}.ac-codec h2{font:600 34px 'Barlow Condensed',sans-serif!important;color:#e5d6a6}.ac-transmission{font:18px/1.6 Barlow,sans-serif!important;color:#c7d5b7!important;animation:ac-radio-in .5s ease-out}
@keyframes ac-radio-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.ac-shadow-officer{width:150px;height:165px;position:relative;flex-shrink:0;overflow:hidden;background:repeating-linear-gradient(0deg,#6e806233 0 2px,transparent 3px 5px),radial-gradient(ellipse at 50% 35%,#637b5c,#16251d 70%);border:1px solid #87946b;filter:hue-rotate(var(--shadow-hue,0deg))}
.ac-shadow-officer i{position:absolute;inset:13% 14% 0;background:#0a1411;clip-path:polygon(23% 14%,35% 7%,68% 9%,80% 24%,82% 31%,72% 36%,69% 53%,61% 62%,77% 67%,97% 83%,100% 100%,0 100%,3% 83%,25% 67%,39% 61%,29% 47%,26% 33%,14% 31%);animation:ac-unknown-idle 8s ease-in-out infinite}
.ac-shadow-officer span{position:absolute;bottom:5px;left:4px;right:4px;color:#a2b58a;font:8px monospace;text-align:center;z-index:1}
@keyframes ac-unknown-idle{0%,55%,100%{transform:translateY(0) rotate(0)}65%{transform:translateY(-1px) rotate(1deg)}80%{transform:translateY(0) rotate(-.6deg)}}
.ac-opponent-face .ac-shadow-officer{width:100%;height:100%}.ac-opponent-face .ac-shadow-officer span{display:none}
.ac-training-banner{display:flex;align-items:center;gap:22px;padding:20px;background:linear-gradient(120deg,#172a20,#33432a);border:1px solid #687855;margin-bottom:18px}.ac-training-banner h3{font:600 30px 'Barlow Condensed',sans-serif;color:#e3d4a5;margin:8px 0}.ac-training-banner p{font-size:13px}
.ac-lab-radar{font:90px monospace;color:#94b776;text-shadow:0 0 30px #a5c47866;animation:ac-radar 6s ease-in-out infinite}@keyframes ac-radar{50%{opacity:.45}}
.army-chess-wrap .ac-sortie-card{width:100%;display:flex;align-items:center;gap:20px;padding:20px;margin-bottom:22px;background:#24392b;text-align:left}.ac-sortie-card .ac-aircraft{flex-shrink:0;width:58px;height:50px}.ac-sortie-card b{font:24px 'Barlow Condensed',sans-serif}.ac-sortie-card>span:last-child{font-size:12px}
.ac-practice-cards section::before{content:'FIELD EXERCISE / ENDGAME';display:block;font:10px monospace;letter-spacing:2px;color:#8ea273;margin-bottom:14px}
.ac-victory{text-align:center;padding:22px;background:radial-gradient(ellipse at top,#53604355,transparent 70%)}.ac-victory h2{font:600 42px 'Barlow Condensed',sans-serif!important;color:#ead49a}.ac-honor-emblem{font:80px serif;color:#dbbe71;text-shadow:0 0 35px #d8b96366;animation:ac-radio-in .7s ease-out}.ac-victory>button{margin:8px}
.ac-badge-row{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.ac-victory .ac-badge-row{justify-content:center}.ac-badge-row span{font:11px Barlow,sans-serif;color:#d3c795;border:1px solid #677453;border-radius:2px;padding:5px 8px;background:#1d2c22}
.ac-journal-entry{border-bottom:1px solid #4f604433;padding-bottom:10px}.ac-voice-guide{font-size:13px;line-height:1.7;margin-top:16px;padding:14px;border:1px solid #57694a}.ac-voice-guide a{color:#e0c982!important;text-decoration:underline}.ac-voice-guide li{margin:12px 0}
/* Exactly one horizontal repeat period per cycle; masks stay fixed on the river. */
.army-chess-wrap .ac-water-glint{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32'%3E%3Cpath d='M0 7h9m10 0h14m15 0h9M7 22h17m14 0h9m10 0h7' stroke='%23dce5bc' stroke-opacity='.55' stroke-width='1' fill='none'/%3E%3C/svg%3E");background-size:64px 32px;background-repeat:repeat;opacity:.48;animation:ac-shore-flow 8s linear infinite}
@keyframes ac-shore-flow{from{background-position:0 0}to{background-position:64px 0}}
.army-chess-wrap[data-board-style=generated] .ac-breeze{display:none!important}
.ac-tree-crown{position:absolute;background-size:100% 100%;image-rendering:pixelated;mask-image:radial-gradient(ellipse,#000 35%,transparent 72%);transform-origin:50% 95%;animation:ac-crown-breeze 12s ease-in-out infinite;pointer-events:none}
@keyframes ac-crown-breeze{0%,50%,100%{transform:rotate(0) translateX(0)}60%{transform:rotate(1.8deg) translateX(.6px)}72%{transform:rotate(-1.2deg) translateX(-.4px)}84%{transform:rotate(.7deg)}}
@media(min-width:1101px) and (max-width:1500px){.army-chess-wrap .ac-header>.ac-nav{max-width:630px;justify-content:center}.army-chess-wrap .ac-header>.ac-nav button{font-size:10px;padding:6px 8px}.army-chess-wrap .ac-coach{padding:12px}.army-chess-wrap .ac-opponent-dossier{padding:10px}.army-chess-wrap .ac-coach-id{margin-bottom:8px}}
@media(max-width:760px){.army-chess-wrap .ac-mobile-menu{display:block;font-size:23px;padding:4px 10px!important}.army-chess-wrap .ac-nav{display:none!important}.army-chess-wrap[data-menu=open] .ac-nav{display:grid!important;grid-template-columns:1fr 1fr;padding:10px;background:#1b291f;margin:0 0 8px}.army-chess-wrap .ac-header{min-height:54px}.army-chess-wrap .ac-header-right [data-action=sound],.army-chess-wrap .ac-header-right [data-action=effects]{display:none}.army-chess-wrap .ac-clock{font-size:20px;min-width:54px;padding:3px 6px}.army-chess-wrap .ac-opponent>.ac-engine-label{display:none}.ac-command-grid{gap:8px}.army-chess-wrap .ac-command-grid button{padding:12px}.ac-command-grid b{font-size:20px}.ac-command-grid span{font-size:11px}.ac-match-controls{grid-template-columns:1fr}.ac-codec{grid-template-columns:90px 1fr;gap:12px;padding:12px}.ac-codec>.ac-officer,.ac-codec>.ac-shadow-officer{width:90px;height:105px}.ac-codec h2{font-size:28px!important}.ac-transmission{font-size:15px!important}.ac-codec p:not(.ac-transmission){font-size:12px}.ac-training-banner{gap:12px;padding:12px}.ac-training-banner>.ac-shadow-officer{width:86px;height:108px}.ac-training-banner h3{font-size:24px}.ac-sortie-card{flex-wrap:wrap}.ac-voice-guide ul{padding-left:16px}.ac-victory{padding:8px}.ac-victory h2{font-size:32px!important}}
@media(prefers-reduced-motion:reduce){.ac-tree-crown,.ac-shadow-officer i,.ac-clock,.ac-honor-emblem,.ac-transmission,.ac-lab-radar{animation:none!important}}

.army-chess-wrap[data-victory=true] .ac-board .ac-piece:not(.type-r){animation:ac-squad-salute .7s ease-in-out 3}
@keyframes ac-squad-salute{0%,100%{transform:translateY(0)}40%{transform:translateY(-3px) rotate(-2deg)}65%{transform:translateY(-1px)}}
@media(prefers-reduced-motion:reduce){.army-chess-wrap[data-victory=true] .ac-board .ac-piece{animation:none!important}}

@media(max-width:760px){.army-chess-wrap .ac-opponent-face:not([hidden]){width:clamp(32px,calc((100vw - 38px)/8),58px);height:clamp(32px,calc((100vw - 38px)/8),58px)}}
.ac-shadow-1 i{clip-path:polygon(20% 22%,27% 9%,44% 2%,65% 5%,78% 19%,85% 32%,72% 34%,68% 53%,60% 62%,77% 67%,97% 83%,100% 100%,0 100%,3% 83%,25% 67%,39% 61%,29% 47%,26% 34%,15% 32%)}
.ac-shadow-2 i{clip-path:polygon(14% 15%,38% 5%,70% 10%,83% 23%,66% 27%,75% 36%,70% 52%,60% 62%,81% 71%,100% 84%,100% 100%,0 100%,4% 82%,26% 70%,40% 61%,31% 43%,26% 30%,13% 28%)}

body:has(.ac-hub-dialog:not([hidden])){overflow:hidden}
