/* PASS219: functional screens aligned with supplied game captures. */
.cj .cj-header{padding:8px 12px;min-height:0}.cj-header h1{font-size:17px}.cj-header h1 small{display:none}.cj .mode-bar{padding:6px;gap:6px}.cj .mode-bar button{min-height:32px;font-size:12px;padding:4px 12px}.cj .mode-bar span{font-size:10px}.cj .cj-map-panel{border-radius:0}.cj .cj-map{height:790px;max-height:88dvh;min-height:570px}.cj .cj-status{padding:6px 10px;background:#214b77}.cj .field-top{display:none}.cj .cj-map-caption{top:5px;left:8px;right:8px;font-size:10px;padding:5px;background:#344665a8}.cj .field-actions{top:48px;right:7px;gap:9px}.cj .field-actions button{border-radius:12px;background:linear-gradient(#c4eeff,#559dd3 40%,#3265a1);border:2px solid #a1cce9;box-shadow:0 3px 2px #15385877;color:white;text-shadow:0 2px #284b72;width:40px;height:40px;font-size:12px}.cj .field-actions #fieldEvents{width:45px;height:53px}.cj .field-marches{top:77px;left:4px;width:123px}.cj .field-marches>b{background:#344465c9;border-radius:7px;font-size:11px;padding:7px}.cj .field-marches button{background:linear-gradient(90deg,#466e9ece,#263c5cb0);border:1px solid #82b3d3;border-radius:7px;padding:5px 19px 5px 6px;margin-top:3px;position:relative}.field-marches button:after{content:'↶';position:absolute;right:3px;top:11px;color:#a9edff;font-size:20px}.cj .field-marches span{font-size:10px}.cj .field-marches small{font-size:9px}.cj .wave-timer{position:absolute;right:64px;bottom:37px;z-index:4;width:52px;height:76px;min-height:0;padding:0;border:0;background:radial-gradient(ellipse,#e9a1fe 0,#ab46e7a8 45%,transparent 70%);color:#fff2d5;text-shadow:0 1px 3px #3b174f;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:0}.wave-timer img{width:40px;height:39px;object-fit:contain}.wave-timer span,.wave-timer b{font-size:11px}.cj .game-screen{background:#07365d;border-radius:0;border:0}.cj .game-screen>header{background:linear-gradient(#174e7d,#093456);border-bottom:2px solid #4075a1;min-height:46px;padding:4px 8px}.cj .game-screen>header h2{font-size:18px;color:white;text-shadow:0 2px #12354c}.cj #gameBack{border:0;background:none;font-size:31px;color:#d7faff;padding:0;width:37px;box-shadow:none}.cj #gameContent{padding:8px}.cj .game-primary,.cj .native-event-buttons button{background:linear-gradient(#8ad6ff,#4ca8f4 45%,#2785e6);border:2px solid #7acaff;box-shadow:inset 0 2px #def9ff,0 3px #14508c;border-radius:12px;text-shadow:0 2px #2f5b87;font-weight:800}
.cj .native-event{background-image:url('./reference/event-hd.jpg');background-size:106.6% 158.2%;background-position:50% 71.15%;border:5px solid #f1f4fa;border-radius:12px;aspect-ratio:665/971}.cj .native-heading{height:25%;background:linear-gradient(#1c1034 52%,transparent);padding:9px}.cj .native-heading h3{font-size:23px}.cj .native-heading p{font-size:12px;color:#efa4ce}.cj .native-bandit{top:39%;height:30%;background:linear-gradient(#42172be6,#230a26dc)}.cj .native-bandit strong{font-size:19px}.cj .native-bandit b,.cj .native-bandit span{font-size:11px;color:#f5b2cc}.cj .native-points{top:69%;height:21%}.cj .native-points>small{background:#66314e;color:white;font-size:12px;padding:4px;margin:0 -68px 5px 0}.cj .native-points>div{font-size:10px}.cj .native-tabs button{font-weight:800;font-size:11px;border:2px solid #a4c4dc;border-radius:8px;min-height:35px}.cj .captured-rail{height:56px}.cj .native-event-buttons button{font-size:11px;border-radius:9px}.cj .native-points #eventMembers{top:30%;background:#a76c64;border:2px solid #d9aca0}.cj .native-points #eventMembers img{display:none}.native-points #eventMembers:before{content:'♟♟';font-size:25px;color:white}
.cj .game-screen[data-kind=dispatch]{background:#10365e}.cj .dispatch-target{font-size:10px;margin:0 0 5px;padding:7px;background:#1d5686}.cj .formation-heading{background:#1b4b78;padding:4px}.cj .hero-slots{gap:12px;padding:3px 14px;margin:8px 0}.cj .hero-slot{position:relative;min-height:151px;padding:3px;background:linear-gradient(#91d6ed,#4288c0 65%,#355bad);border:1px solid #6fabc9;border-radius:9px;gap:0;box-shadow:inset 0 2px #bcecff}.cj .hero-slot img{width:100%;height:103px;object-fit:contain}.cj .hero-slot small{align-self:flex-start;font-size:8px;color:#e4f7ff}.cj .hero-slot b{font-size:11px;color:#fff5a0}.cj .hero-slot em{font-size:8px}.cj .formation-notice{font-size:9px;margin:0;padding:3px}.cj .troop-heading{display:none}.cj .troop-row{position:relative;background:#caeafa;border:2px solid #80b9d9;border-radius:11px;margin:7px 0;padding:7px 8px 7px 58px;min-height:74px;display:grid;grid-template-columns:27px 1fr 27px;gap:4px;color:#365c77}.cj .troop-row>img{position:absolute;left:6px;top:8px;width:45px;height:56px;object-fit:contain}.cj .troop-row>label{display:grid;grid-template-columns:1fr 67px;align-items:center;grid-column:1/4;gap:2px;font-size:12px;font-weight:bold;color:#426a83}.cj .troop-row label small{grid-column:1;font-size:9px;color:#426a83}.cj .troop-row input[type=number]{grid-column:2;grid-row:1/3;width:100%;min-height:26px;height:27px;font-size:12px;color:#385a73;background:#a4c5d9;border:0;border-radius:12px;text-align:center;padding:2px}.cj .troop-row input[type=range]{grid-column:2;width:100%;min-height:24px;height:24px;accent-color:#22cf41;margin:0;padding:0}.cj .troop-minus,.cj .troop-plus{width:27px;min-height:27px;height:27px;padding:0;font-size:22px;line-height:1;background:linear-gradient(#91d9ff,#268ce2);border:1px solid #5a9bbf;color:white;border-radius:6px;font-weight:900}.cj .troop-minus{grid-column:1}.cj .troop-plus{grid-column:3}.cj #gameDock{background:#396898;border-top:3px solid #c0eaff;padding:6px 8px}.cj #gameDock .dispatch-shortcuts{display:flex;gap:5px;margin:0 0 4px}.cj #gameDock .dispatch-shortcuts button{min-height:29px;padding:3px 7px;font-size:10px;border:1px solid #91ccec;background:linear-gradient(#73bbe9,#347aaa);border-radius:7px}.cj #gameDock .dispatch-capacity{font-size:10px}.cj #gameDock #dispatchError{font-size:10px;min-height:12px;margin:3px 0}.cj #gameDock #dispatchSend{min-height:39px;font-size:16px;border-radius:11px}.cj #gameDock #dispatchSend:disabled{opacity:.55}
.cj .native-hq{background:radial-gradient(ellipse at 25% 50%,#d6f1ff,#1e8ecc 70%);border:2px solid #258bc5;border-radius:11px;min-height:140px}.cj .native-hq>img{width:42%;height:130px}.cj .native-hq #hqCommandState .game-stat{background:#1b65a080;border:0;border-radius:8px;color:#e9f7ff;padding:5px;margin:4px 0}.cj .native-ribbon{font-weight:800;font-size:15px;border-bottom:2px solid #a2e4f8;background:linear-gradient(90deg,#075079,#14618c,#075079)}.cj .hq-defender{background:linear-gradient(#d8f2ff,#acd4e9);border:2px solid #78bbdc;border-radius:10px;color:#355a72;padding:8px}.cj .hq-defender>b{font-size:14px;color:#35546a}.cj .hq-portraits{display:flex;gap:5px}.cj .hq-portraits figure{margin:3px 0}.cj .hq-portraits img{border:2px solid #c7a0e8;background:#5379ac;border-radius:5px}.cj .hq-portraits figcaption{font-size:8px;color:#34536e}.cj .hq-defender p{margin:3px 0}.cj .hq-defender .good{color:#236036}.cj .hq-defender .bad{color:#8b2c32}.cj .hq-defender button{background:#438dc3;border:1px solid #8bc9ee;color:white;border-radius:8px}.cj #hqCall{padding:5px;margin:6px 0}.cj #hqCaptainSelf{min-height:34px;padding:4px 9px;font-size:12px}.cj .game-screen[data-kind=hq] details{font-size:11px}.cj .game-screen[data-kind=hq] h3{margin:8px 0}
.cj .game-screen[data-kind=reports] #gameContent{background:#edddc9;color:#635441}.report-art{height:75px;border-radius:9px;background:url('./reference/report-hd.jpg') center 17.7%/103% auto}.cj .field-report{background:#fff5e7;border:1px solid #c3b39d;border-radius:7px;margin:7px 0;overflow:hidden}.cj .field-report summary{padding:9px;font-weight:bold;font-size:12px;color:#44692d;background:#e4d0b9}.battle-card h3{font-size:12px;color:#32712a;text-align:center;margin:0;padding:8px}.battle-result{display:grid;grid-template-columns:35% 1fr;align-items:center;background:linear-gradient(#c84b3e,#f0c0a5);padding:12px;color:#fff}.battle-result img{width:66px;height:66px;object-fit:contain;grid-row:1/3}.battle-result strong{font-size:26px;text-shadow:0 2px #896b23}.battle-result span{font-size:11px}.battle-result.defeat{background:linear-gradient(#5b5470,#b3a6b7)}.report-columns{display:flex;justify-content:space-between;padding:8px 12px;font-size:11px}.report-participant{display:flex;align-items:center;gap:7px;padding:6px 12px;font-size:12px}.report-participant img{width:35px;height:40px;object-fit:contain;background:#77bfe4;border:2px solid #b6e9fc;border-radius:5px}.report-participant b{flex:1}.report-participant.self{background:#60ba82;color:white}.report-foot{font-size:11px;padding:10px;line-height:1.6;color:#745d46}
@media(max-width:480px){.cj .cj-map{min-height:570px}.cj .hero-slot{min-height:130px}.cj .hero-slot img{height:82px}.cj .game-screen[data-kind=dispatch] #gameContent{padding:6px}.cj .native-event{min-height:455px}}
.cj .native-heading{background:linear-gradient(#1c1034 80%,#1c1034 90%,transparent)}.cj .native-bandit{background:linear-gradient(#42172b,#230a26)}.cj .native-bandit .native-ribbon{background:#60304f}.cj .native-bandit>img{border-radius:50%}.cj .native-event .native-heading>b{display:block;background:#1c1034;width:100%;padding:3px 0}
