/* X-style two-screen command layout; original Pokemon models remain ROM supplied. */
body.xyClassicBattle #combatPanel{background:radial-gradient(ellipse at center,#183c58,#101b30);border:0;border-radius:0;padding:12px;min-height:180px}
body.xyClassicBattle #classicConsole{background:none;display:grid;grid-template-columns:1fr 1fr;gap:12px}
body.xyClassicBattle #classicMessage{background:#f6f9fbe8;border:2px solid #7aa8c5;border-radius:14px;color:#26394b;font:16px system-ui;padding:14px}
body.xyClassicBattle #classicMainMenu{background:none;display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.xyClassicBattle #classicMainMenu button{background:linear-gradient(#5ca4cf,#246798);border:2px solid #c1e5fa;border-radius:14px;color:white;text-shadow:0 1px 2px #17405c;font:bold 20px system-ui;min-height:54px;padding:8px;box-shadow:inset 0 -5px #173b6238}
body.xyClassicBattle #classicMainMenu #classicFight{background:linear-gradient(#ed6873,#b72e42)}
body.xyClassicBattle #classicMainMenu #classicPokemon{background:linear-gradient(#69bd79,#32864a)}
body.xyClassicBattle #classicMainMenu #classicBag{background:linear-gradient(#e4bb51,#ae7e21)}
body.xyClassicBattle #battleHud>.hpbox{background:#f7f9f5ed;border:3px solid #344544;border-radius:9px 4px 24px 9px;left:62%;top:68%;width:35%;height:24%;font-family:system-ui;box-shadow:4px 4px #143e3655}
body.xyClassicBattle #battleHud>.hpbox.foe{left:3%;top:8%;width:34%;height:18%;border-radius:4px 12px 9px 22px}
body.xyClassicBattle .hpbox>strong,body.xyClassicBattle .hpbox.foe>strong{left:7%;top:10%;font:600 clamp(12px,2cqw,20px) system-ui;max-width:90%;text-shadow:none}
body.xyClassicBattle .hpbox>.track,body.xyClassicBattle .hpbox.foe>.track{left:25%;top:49%;width:66%;height:12%;background:#314c46;border-radius:8px}
body.xyClassicBattle .hpbox .track i{background-image:none;background:#4dd594!important;border-radius:6px}
body.xyClassicBattle .hpbox>#playerHp{top:68%;font:15px system-ui;text-shadow:none}
body.xyClassicBattle #classicExp{bottom:5%;height:5%;background:#677e8a}
body.xyClassicBattle #classicExpFill{background:#52bff3}
body.xyClassicBattle #moveBar button{background-image:none;background:#336b86;border:2px solid #afd8e9;border-radius:12px;color:white;font-family:system-ui}
body.xyClassicBattle #battleParty button{background-image:none;background:#254b66;border-radius:10px}
body.xyClassicBattle #game{image-rendering:auto}
@media(max-width:620px){body.xyClassicBattle #classicConsole{grid-template-columns:1fr}body.xyClassicBattle #classicMainMenu button{font-size:16px;min-height:42px}}

body.gameShell.xyClassicBattle #combatPanel{display:block;padding:12px;min-height:175px}
body.gameShell.xyClassicBattle #classicConsole{display:grid;grid-template-columns:40% 60%;width:100%;gap:0}
body.gameShell.xyClassicBattle #classicMainMenu{padding:4px 12px;gap:8px}
body.gameShell.xyClassicBattle #classicMainMenu button{min-height:64px}
body.gameShell.xyClassicBattle #classicMessage{margin:4px 8px;padding:12px}
body.gameShell.xyClassicBattle #combatPanel:not([data-classic-menu="root"]) #classicConsole{display:none}
body.xyClassicBattle #foeStatus:empty{display:none}
