/* Gameplay-reference shell, isolated from the site navigation. */
.cj .mode-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:2px 0}.cj .mode-bar button{min-height:38px;font-size:13px}.cj .mode-bar [aria-pressed=true]{background:#73bee9;color:#102d48;border-color:#bceaff}.mode-bar span{font-size:11px;color:#c0dce9}.cj-header{padding:7px 14px}.cj .cj-map-panel{border-radius:8px!important}.cj-status{padding:7px 12px;background:linear-gradient(#244f70,#15364e)}.cj-status strong{font-size:17px}.cj-status span{font-size:8px}.cj-map{height:740px;max-height:82dvh;min-height:510px}.field-badge{border:0;background:#153852b0;padding:4px 7px}.field-actions{top:96px;gap:6px}.cj .field-actions button{border:1px solid #d4f8ff;border-radius:50%;width:45px;height:45px;min-height:45px;background:radial-gradient(at 35% 25%,#a8e4ff,#2d7eac 55%,#153d67);box-shadow:0 2px 3px #19324b80;font-size:10px}.cj .field-actions #fieldEvents{border-color:#ffdc8c;color:#fff0bc}.field-marches{width:112px;top:92px}.cj .field-marches button{min-height:36px;padding:3px 6px;border:0;border-left:2px solid #91eaff;background:#174267cb;border-radius:3px}.field-marches small{color:#ebfaff}.field-marches>b{background:#16334db5}.cj-map-caption{background:#173853bb;border:0;top:37px;padding:5px;left:10%;right:10%;font-size:10px}.field-bottom{position:absolute;bottom:22px;left:0;right:0;display:flex;justify-content:center;gap:12px;padding:8px;background:linear-gradient(transparent,#2b557fcd)}.cj .field-bottom button{min-height:38px;border:1px solid #b1d9ec;border-radius:6px;background:linear-gradient(#6399bd,#235075);font-size:11px;padding:5px 12px}.field-hint{bottom:4px;font-size:9px}.field-selection{bottom:82px;border-radius:5px;border-color:#e4edcb}.cj .game-screen{background:#10548b;color:#fff;display:flex;flex-direction:column;overflow:hidden}.cj #gameScreen[hidden]{display:none!important}.cj .game-screen>header{flex:none;background:linear-gradient(#17618d,#103f68);border-bottom:2px solid #8bd1f1;padding:4px 8px;min-height:48px}.cj .game-screen>header h2{font-size:17px;color:white}.cj .game-screen #gameContent{overflow-y:auto;overscroll-behavior:contain;min-height:0;width:100%;max-width:580px;padding:12px 14px 20px;flex:1}.cj .game-screen button{border-radius:6px;min-height:40px}.cj .game-screen .game-primary,.cj .game-screen .field-buttons button{background:linear-gradient(#80cbfb 0%,#3c93d1 55%,#2472b7 100%);border:1px solid #c3eaff;border-radius:6px;box-shadow:inset 0 2px #e8ffff77,0 2px 0 #07355c;color:white}.cj .game-screen .game-primary:disabled{background:#57768c;opacity:.6;box-shadow:none}.cj .game-screen input,.cj .game-screen select{background:#e6f3fa;color:#204663;border:1px solid #81b6d3;border-radius:5px;min-height:36px}.cj .game-screen option{background:#e6f3fa;color:#204663}.cj .game-screen label{color:#e4f4ff}.cj .game-screen .fine{font-size:11px;color:#bddaea}.cj .game-screen .game-stat{font-size:12px;padding:8px 0;border-color:#7cc8ee40}.cj .game-screen .event-banner{position:relative;background:#221136;border:2px solid #b7b4df;border-bottom:0;border-radius:6px 6px 0 0;padding:10px 10px 0;text-align:left;overflow:hidden}.event-banner h3{font-size:23px;color:white;margin:0}.event-banner p{font-size:10px;margin:3px 0;color:#e4c8f4}.event-banner>img{width:100%;height:128px;object-fit:cover;object-position:center}.bandit-card{background:linear-gradient(#53213d,#250e24);border:2px solid #b7b4df;border-top:1px solid #a67d9f;padding:12px;display:flex;align-items:center;gap:12px}.bandit-card>img{width:65px;height:60px;object-fit:contain}.bandit-card p{font-size:12px}.event-tabs{gap:5px;margin:10px 0}.cj .event-tabs button{font-size:11px;padding:5px 7px;min-width:75px;flex:1;background:linear-gradient(#b4d7ef,#4b87b0);color:#163957;border:1px solid #d2eeff}.cj .event-tile{background:linear-gradient(#2d163faa,#391931cc),url('./reference/cj-banner.png') center/cover!important;border:2px solid #c1b2d9;min-height:180px}.cj .building-summary{border-radius:5px;background:linear-gradient(120deg,#2880b8,#145787);border-color:#88c9ec;padding:10px}.cj .building-summary img{width:78px;height:78px}.cj .cj-member-section{border:0;border-radius:4px;background:#154771;padding:8px}.cj .cj-member-section h3{background:#164770;font-size:14px}.cj .cj-member-row,.cj.ac203-standalone .cj-member-row{border-radius:4px;padding:7px;box-shadow:0 2px 2px #08355a70;border:1px solid #d8edfc!important}.cj .cj-member-row>img{height:44px}.cj .cj-member-row b{font-size:12px}.cj .cj-member-row small{font-size:10px;margin:2px 0}.cj .hq-defender{background:linear-gradient(110deg,#d9ecf9,#a2cae6);color:#244762;border:2px solid #eaf7ff;border-radius:5px;padding:9px;margin:8px 0}.cj .hq-defender .good{color:#126344}.cj .hq-defender .bad{color:#a12a23}.cj .hq-defender button{background:#2c79ae;color:white;border-color:#8fcaed;font-size:11px}.hq-portraits{gap:7px}.hq-portraits img{background:linear-gradient(#ab85cd,#554477);border:1px solid #e0d2f2;border-radius:4px;width:40px;height:43px}.hq-portraits figure{margin:6px 0}.hq-portraits figcaption{font-size:9px}.cj .hq-defender p{margin:5px 0}.cj .hero-picker{background:#124773;padding:7px 6px;border-radius:5px;gap:6px}.cj .hero-picker img{width:72px;height:86px;background:linear-gradient(#ae83cc,#5a427f);border:2px solid #e6c16e;border-radius:5px;margin:4px auto}.cj .hero-picker label{font-size:10px;margin:0}.cj .hero-picker select{font-size:10px!important;min-height:33px}.cj .troop-row{grid-template-columns:45px minmax(0,1fr);padding:7px 0;gap:5px 10px}.troop-row img{height:48px;width:44px}.cj .troop-row input[type=range]{height:21px;min-height:21px;accent-color:#adddff}.cj .troop-row small{font-size:10px}.dispatch-shortcuts{display:flex;justify-content:flex-end;gap:8px}.cj #dispatchSend{position:sticky;bottom:-10px;margin-bottom:0;z-index:2;min-height:49px;font-size:16px;border-color:#ffe0a1;box-shadow:0 0 0 7px #10548b}.cj #dispatchError{min-height:18px;margin:5px 0;font-size:12px}.cj #fieldToast{position:absolute;bottom:80px;left:50%;transform:translateX(-50%);width:max-content;max-width:85%;background:#102e47ee;color:#fff0b5;border:1px solid #a4c8e2;border-radius:5px;padding:9px 12px;font-size:12px;z-index:10;pointer-events:none}.cj .game-screen .notice{font-size:11px;padding:7px;margin:7px 0}.cj .game-screen details{font-size:12px}.cj .game-screen .member-empty{font-size:11px}.cj .field-report{background:#ebdfcd;color:#4c432f;border:2px solid #cfb895;border-radius:5px;padding:12px}.cj .game-screen .field-report summary{color:#406235}.cj .game-screen .dispatch-target{font-size:12px;margin:0 0 6px}.cj .game-screen .hero-picker + .fine{display:none}
@media(min-width:760px){.cj-map{height:780px;max-height:85dvh}.game-screen #gameContent{max-width:580px}.event-banner>img{height:150px}.field-marches{width:140px}.cj .mode-bar span{margin-left:auto}}
@media(max-width:480px){#trainer{padding:5px}.cj-header h1{font-size:15px}.cj-header h1 small{font-size:10px}.cj-header{gap:8px}.cj .mode-bar span{width:100%;font-size:10px}.cj .mode-bar button{padding:5px 14px;min-height:34px}.cj-map{max-height:82dvh;min-height:520px}.cj .game-screen #gameContent{padding:10px 10px 18px}.cj-status strong{font-size:16px}.event-banner>img{height:108px}.cj .hero-picker img{height:70px;width:62px}.field-marches{width:98px}}
