@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#f5f4ed;background:#0e171c;color-scheme:dark;--line:#35454a;--mint:#b8f065;--orange:#efbe72}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 65% 0%,#20353d 0%,#101c22 45%,#0e171c 100%);min-height:100vh}button{font:inherit;cursor:pointer}button:focus-visible{outline:2px solid #d3f79d;outline-offset:3px}#app{max-width:1620px;margin:auto;padding:19px 32px 12px}
#mast{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:65px;padding-bottom:13px}.logomark{display:flex;align-items:center;gap:11px}.emblem{display:grid;place-items:center;width:45px;height:45px;background:var(--mint);border-radius:7px;color:#173229;font-size:29px;transform:rotate(-6deg)}.eyebrow,.meta,.panel-head,.under,.badge,.health-top,.help-title,footer,.objective small,#round,.stamina,.level-card,.menu-kicker,.menu-card small{font-family:'DM Mono',monospace;letter-spacing:.1em}.eyebrow{font-size:9px;color:#9faeb1}h1,h2,h3{font-family:'Barlow Condensed',Impact,sans-serif;margin:0;text-transform:uppercase}h1{font-size:31px;line-height:1}h1 b{color:var(--mint)}.meta{display:flex;align-items:center;gap:9px;font-size:10px;color:#91a6a9}.meta button{border:1px solid #455458;background:#14242a;border-radius:4px;color:#dfe8e3;font-size:10px;padding:10px 12px}.meta button:hover{border-color:var(--mint);color:var(--mint)}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 307px;gap:14px}#view{min-width:0;height:min(77vh,860px);min-height:580px;position:relative;background:#edf0e9;border-radius:12px;overflow:hidden;border:1px solid #51656a;box-shadow:0 12px 35px #0009;touch-action:none}#view canvas{position:absolute;inset:0;display:block;width:100%;height:100%;image-rendering:pixelated}#loading{position:absolute;inset:45% 0 auto;text-align:center;color:#516469;font:13px 'DM Mono',monospace}#worldName{position:absolute;left:24px;top:95px;background:#0e222fdd;padding:8px 12px;color:#effff4;border-left:3px solid var(--mint);font:700 21px 'Barlow Condensed',sans-serif;letter-spacing:.05em;pointer-events:none}#worldName span{display:block;font:10px 'DM Mono',monospace;color:#cbd8d2;padding-top:3px}
.top-bar{position:absolute;inset:16px 17px auto;display:grid;grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr);gap:12px;align-items:start;z-index:3;pointer-events:none}.health{background:#142530ed;border:1px solid #486064;padding:11px 13px 8px;border-radius:5px;box-shadow:0 4px 0 #0c19245d}.health-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.health-top strong{font:900 21px 'Barlow Condensed';letter-spacing:.06em}.health-top span{color:#b3c8c3}.healthbar{background:#091319;height:11px;margin:7px 0;box-shadow:inset 0 0 0 2px #0a151b}.fill{height:100%;width:100%;background:linear-gradient(90deg,#6bbd68,#bded7b);transition:width .12s linear}.health.right .fill{background:linear-gradient(90deg,#d9b36e,#f06b47)}.under{font-size:8px;color:#9eacaf}.health.right{text-align:right}.health.right .health-top{flex-direction:row-reverse}#round{text-align:center;padding:4px;color:#455d59;font-size:10px;font-weight:800}#round strong{display:block;color:#b9433a;font:900 37px 'Barlow Condensed',sans-serif;line-height:1.05}#round span{display:block}
.bottom-line{position:absolute;bottom:15px;left:20px;right:20px;display:flex;gap:15px;align-items:end;justify-content:space-between;pointer-events:none;z-index:2}.objective{background:#14272aea;padding:12px 17px;border-radius:5px;border:1px solid #6a8882;max-width:min(62%,520px)}.objective small{font-size:9px;color:var(--mint);display:block;margin-bottom:5px}.objective strong{font-family:'Barlow Condensed';font-size:clamp(16px,2vw,23px);letter-spacing:.025em;line-height:1.1}.stamina{padding:10px 14px;background:#14272aea;border:1px solid #56736b;border-radius:4px;min-width:135px}.stamina>div:first-child{display:flex;justify-content:space-between;font-size:9px;gap:25px}.stamina b{color:var(--mint)}.stamina-outer{background:#07171b;height:7px;margin-top:8px}.stamina-outer>div{height:100%;background:var(--mint);width:100%;transition:width .12s}
#crosshair{position:absolute;top:50%;left:50%;color:#294434;opacity:.16;font-size:24px;transform:translate(-50%,-50%);pointer-events:none}#hitNotice{position:absolute;top:20%;left:50%;transform:translateX(-50%);text-align:center;max-width:85%;pointer-events:none;white-space:nowrap;color:#fff7e0;text-shadow:2px 3px #000b,0 0 13px #000b;font:900 clamp(23px,3.8vw,48px) 'Barlow Condensed';letter-spacing:.06em;z-index:5;transition:opacity .2s}
#panel{background:#14232a;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;min-width:0;overflow:hidden}.panel-head{font-size:10px;color:#b7c6c1;padding:19px 19px 14px;display:flex;justify-content:space-between}.badge{background:#245047;color:#a6d9b4;border-radius:3px;padding:4px 6px;font-size:9px}.command-info{border-top:1px solid var(--line);padding:15px 19px 7px}.command-info b{display:block;font:900 29px 'Barlow Condensed';letter-spacing:.04em}.command-info>span{font:10px 'DM Mono',monospace;color:var(--mint);letter-spacing:.08em}.command-info p{font-size:12px;color:#adbfba;line-height:1.58;margin:12px 0 5px}.moves{display:flex;flex-direction:column;gap:8px;padding:15px}.move{position:relative;overflow:hidden;display:flex;align-items:center;gap:11px;min-height:65px;text-align:left;border:1px solid #456064;border-radius:7px;background:#203339;color:#f0f5ec;padding:9px;transition:background .1s,border-color .12s}.move:hover:not(:disabled){background:#2b484c;border-color:var(--mint)}.move:active:not(:disabled){transform:translateY(1px)}.move:disabled{opacity:.5;cursor:default}.move .icon{font:700 31px 'Barlow Condensed';display:grid;place-items:center;background:#314b47;border-radius:4px;width:43px;height:43px;flex:none;color:#dcf58b}.move.electric .icon{background:#5a541d;color:#fff278}.move b{display:block;font:900 19px 'Barlow Condensed';letter-spacing:.03em}.move small{display:block;color:#acc3bc;font-size:9px;line-height:1.2;margin-top:3px}.move kbd,.dodge kbd{margin-left:auto;font:11px 'DM Mono';color:#adcdbe;background:#132126;border:1px solid #3d5958;padding:5px 8px;border-radius:4px}.cool{position:absolute;bottom:0;left:0;right:100%;height:3px;background:var(--mint);pointer-events:none}
.dodge{margin:0 15px;min-height:46px;background:#e9f69c;color:#1d322b;border:0;border-radius:5px;font:900 18px 'Barlow Condensed';display:flex;align-items:center;gap:10px;padding:0 14px}.dodge:hover{background:white}.dodge kbd{margin-left:auto;color:#d2efc5}.dodge span{font-size:27px}
.help{margin:17px 19px 0;border-top:1px solid var(--line);padding:15px 0}.help-title{font-size:10px;color:#86b29e}.help p{font-size:11px;line-height:1.7;color:#9cafa8}.help kbd{display:inline-block;font:10px 'DM Mono';color:#ebf3e3;border:1px solid #617673;padding:2px 5px;margin:1px;border-radius:3px}.stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);margin-top:auto;padding:13px 15px;gap:6px}.stats div{text-align:center}.stats span{display:block;color:#809a95;font:8px 'DM Mono';line-height:1.5}.stats b{display:block;font:800 25px 'Barlow Condensed';margin-top:6px}.panel-footer{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#415457}.panel-footer button{padding:14px 4px;background:#1c3037;color:#e9f5ee;border:0;font:11px 'DM Mono'}.panel-footer button:hover{color:var(--mint)}
.overlay{position:absolute;inset:0;z-index:9;background:#0e1a1c8c;backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:20px}.overlay[hidden]{display:none}.menu-card{background:#111f26;color:#f6f3e5;border:1px solid #8da89e;width:min(500px,96%);padding:clamp(20px,3.2vw,39px);border-radius:7px;box-shadow:0 24px 90px #0016,8px 8px 0 #a3db9566}.menu-kicker{font-size:11px;color:var(--mint);margin-bottom:15px}.menu-card h2{font-size:clamp(35px,4vw,57px);line-height:.96;letter-spacing:.015em}.menu-card p{font-size:13px;color:#b5cbc4;line-height:1.6;max-width:390px}.menu-card small{display:block;color:#869c9a;font-size:9px;text-align:center;padding-top:13px}.menu-card .play{width:100%;display:flex;align-items:center;justify-content:space-between;background:var(--mint);color:#143024;font:900 24px 'Barlow Condensed';border:0;border-radius:5px;padding:14px 18px;letter-spacing:.025em}.menu-card .play:hover{background:#e0ffa3}.menu-card .play span{font-size:29px}
#levelCards{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:20px 0}.level-card{text-align:left;background:#26393d;color:#f3f0e6;padding:10px;border:1px solid #516a66;border-radius:5px}.level-card.current{border-color:var(--mint);background:#314937}.level-card:disabled{opacity:.38}.level-card em{display:block;font-size:11px;color:var(--mint);font-style:normal}.level-card strong{font:800 22px 'Barlow Condensed';display:block;letter-spacing:.05em;padding:4px 0}.level-card span{display:block;font-size:9px;color:#bfd0c6}
#touchPad{display:none}
footer{display:flex;justify-content:space-between;gap:18px;padding:14px 0 4px;font:9px 'DM Mono';color:#889ba0;letter-spacing:.045em}
@media(max-width:1100px){#app{padding:12px}.layout{grid-template-columns:minmax(0,1fr) 270px}.moves{padding:11px}.move{gap:8px}.move b{font-size:17px}.move .icon{width:35px;height:38px;font-size:27px}.health-top strong{font-size:18px}}
@media(max-width:780px){#app{padding:8px;max-width:640px}#mast{min-height:55px;padding-bottom:8px}.eyebrow{font-size:7px}h1{font-size:24px}.emblem{width:33px;height:33px;font-size:23px}.meta>span{display:none}.meta button{font-size:9px;padding:7px}.layout{display:block}#view{height:calc(100svh - 296px);min-height:320px;max-height:630px;border-radius:7px}#worldName{top:65px;left:11px;font-size:14px;padding:5px 8px}#worldName span{font-size:7px}.top-bar{inset:6px 6px auto;grid-template-columns:1fr 38px 1fr;gap:4px}.health{padding:5px 7px 5px}.health-top{font-size:8px}.health-top strong{font-size:13px}.under{font-size:6px}.healthbar{height:6px;margin:3px 0}#round{font-size:7px}#round strong{font-size:23px}.bottom-line{bottom:9px;left:9px;right:9px;gap:6px}.objective{padding:7px 8px;max-width:66%}.objective small{font-size:7px;margin-bottom:3px}.objective strong{font-size:13px}.stamina{min-width:90px;padding:7px}.stamina>div:first-child{font-size:7px;gap:5px}.stamina-outer{margin-top:4px;height:5px}#hitNotice{top:26%;font-size:25px}#panel{height:205px;margin-top:6px;border-radius:7px;padding:5px;display:block}.panel-head,.command-info,.help,.stats{display:none}.moves{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:2px}.move{min-height:67px;border-radius:5px;padding:4px;gap:5px}.move .icon{width:32px;height:36px;font-size:26px}.move b{font-size:14px}.move small{font-size:7px}.move kbd{padding:2px 3px;font-size:8px}.dodge{margin:4px 2px;width:calc(100% - 4px);min-height:36px;font-size:16px}.dodge span{font-size:19px}.panel-footer{display:flex;background:none;justify-content:flex-end;position:absolute;right:21px;top:61px;gap:6px}.panel-footer button{font-size:8px;background:#0e2123c9;border-radius:4px;padding:5px}#touchPad{display:block;position:absolute;z-index:7;bottom:78px;left:14px;width:103px;height:103px;border:2px solid #36564788;border-radius:50%;background:#e3ffca50;touch-action:none}#touchThumb{position:absolute;left:33px;top:33px;width:34px;height:34px;background:#27614fb3;border:2px solid #e1f7dd;border-radius:50%;pointer-events:none}#overlay{padding:10px}.menu-card{padding:20px}.menu-card h2{font-size:39px}.menu-card p{font-size:12px}.level-card strong{font-size:17px}.level-card span{font-size:8px}footer{font-size:7px;padding:10px 3px;flex-wrap:wrap}}
@media(max-width:400px){#view{height:calc(100svh - 286px)}#worldName{top:60px}#hitNotice{font-size:21px}.meta button{font-size:8px;padding:6px}.move kbd{display:none}}

/* Diorama presentation: white paper and a thin ink frame, not a dark dashboard. */
:root{color:#27342f;background:#f7f8f3;color-scheme:light;--line:#d6dfd8;--mint:#99c85d}
body{background:#f7f8f3}
#mast{color:#24342f}
h1 b{color:#608e47}
.eyebrow,.meta{color:#5b7169}
.meta button{background:#fff;color:#2f5143;border-color:#c4d1c8}
.meta button:hover{background:#eef7e6;color:#284a30}
.emblem{background:#e0efb9;color:#2f613d}
#view{background:#fff;border:1px solid #dce2db;box-shadow:0 9px 35px #233c2514;border-radius:4px}
#view canvas{image-rendering:pixelated}
#panel{background:#fcfdf8;border:1px solid #dae3da;color:#283932;box-shadow:0 3px 14px #203b2510;border-radius:4px}
.panel-head{color:#607467}
.badge{background:#e5efe0;color:#3d7244}
.command-info{border-top-color:#dce4da}
.command-info>span{color:#477747}
.command-info p,.help p{color:#62766d}
.move{background:#f5f8ee;color:#233e32;border-color:#d8e3d7;border-radius:4px}
.move:hover:not(:disabled){background:#eaf3df;border-color:#87af65}
.move .icon{color:#5d8551;background:#e3efda}
.move.electric .icon{background:#fff4bc;color:#aa7d18}
.move small{color:#6e8176}
.move kbd,.dodge kbd{color:#4d675c;background:#fff;border:1px solid #cbd9cb}
.dodge{background:#dceca2;color:#2d482e}
.dodge kbd{color:#3d5b43}
.help,.stats{border-color:#e1e7de}
.help-title,.stats span{color:#658072}
.help kbd{border-color:#bed0c2;color:#405f4e}
.panel-footer{background:#dbe7d8}
.panel-footer button{background:#eaf1e5;color:#375343}
.panel-footer button:hover{color:#1e643f;background:#d8e9cb}
.health{background:#fffffff2;color:#293a31;border:1px solid #cfdbcf;box-shadow:0 2px 8px #344b3e16;padding:7px 10px 5px}
.health-top strong{font-size:18px}
.health-top span,.under{color:#62796b}
.healthbar{background:#dee5da;box-shadow:none;height:7px;margin:4px 0}
#round{color:#52685d}
#round strong{font-size:28px}
#worldName{top:83px;background:#ffffffd9;color:#294e3d;border-left:3px solid #8cba64;padding:6px 9px;font-size:17px}
#worldName span{color:#53675d}
#hitNotice{top:19%;color:#34473b;text-shadow:1px 1px #fff,0 2px 10px #fff;font-size:clamp(20px,3vw,37px)}
.objective,.stamina{background:#ffffffed;border-color:#d1ded1;color:#294332;padding:8px 12px}
.objective small{color:#4f8051}
.stamina b{color:#4f8051}
.stamina-outer{background:#dee9dd}
.stamina-outer>div{background:#79ad56}
#crosshair{display:none}
footer{color:#788c81}
.overlay{background:#2131278c}
.menu-card{background:#fbfdf7;color:#273d31;border:1px solid #adc5a7;box-shadow:0 20px 80px #16261d44,7px 7px 0 #9dc98d55}
.menu-kicker,.menu-card small{color:#548252}
.menu-card p{color:#61776b}
.menu-card .play{background:#a3d66e;color:#28462d}
.menu-card .play:hover{background:#b7e889}
.level-card{background:#f0f5e9;color:#2e4939;border-color:#c5d8bd}
.level-card.current{background:#e2f0d5;border-color:#6ca64d}
.level-card em,.level-card span{color:#55745b}
@media(max-width:780px){
 #view{border-radius:4px}
 #worldName{top:59px;font-size:13px;padding:4px 6px}
 .health{padding:4px 6px}
 .health-top strong{font-size:12px}
 .healthbar{height:5px}
 #round strong{font-size:20px}
 #panel{border-radius:4px}
 .move{background:#f4f8ed;color:#263e30}
 .move small{color:#698072}
 .panel-footer button{background:#e8f0e4d9;color:#365542}
 .objective,.stamina{padding:6px 7px}
 #touchPad{background:#ecf7dcbb;border-color:#6f997c}
 #touchThumb{background:#82a78c;border-color:#f0f9ea}
}

/* One clear attack and one dodge. Both stay in the play view on phones. */
#coach{
 position:absolute;z-index:5;top:137px;left:50%;transform:translateX(-50%);
 max-width:min(75%,540px);padding:9px 15px;
 border:1px solid #a0bd96;border-radius:5px;background:#fafff2ee;
 color:#385944;text-align:center;line-height:1.3;pointer-events:none;
 font:700 13px 'DM Sans',sans-serif;box-shadow:0 3px 16px #213a241b;
}
#coach.danger{background:#fff1e9f5;color:#922e22;border:2px solid #df594b;font-size:15px}
.fight-buttons{position:absolute;z-index:7;right:18px;bottom:111px;width:189px;display:grid;gap:7px}
.fight-buttons button{display:flex;flex-direction:column;justify-content:center;align-items:center;touch-action:manipulation;user-select:none;-webkit-user-select:none;border-radius:9px;min-height:53px;box-shadow:0 3px 0 #2d483a46;border:2px solid transparent}
.fight-buttons strong{font:900 22px 'Barlow Condensed',Impact,sans-serif;letter-spacing:.035em}
.fight-buttons small{font:10px 'DM Mono',monospace;letter-spacing:.02em;opacity:.85}
#attack{background:#bced74;border-color:#56924d;color:#234727;min-height:70px}
#attack:hover:not(:disabled){background:#d2fa91}
#attack:active:not(:disabled),#dodge:active:not(:disabled){transform:translateY(2px);box-shadow:none}
#dodge{background:#f7f6ed;border-color:#8aab9b;color:#375d55}
#dodge.danger{background:#ff846d;border-color:#b42f28;color:#2b1715;animation:warning-pulse .65s ease-in-out infinite alternate}
@keyframes warning-pulse{from{box-shadow:0 0 0 0 #e75f5060}to{box-shadow:0 0 0 8px #e75f5008}}
.fight-buttons button:disabled{opacity:.55;cursor:default}
.simple-guide{display:grid;gap:11px;padding:18px 19px 8px}
.guide-row{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid #e1e9de;padding:9px 0 15px}
.guide-row>b{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;color:#3e724d;background:#e5f0dc;font:900 18px 'Barlow Condensed',sans-serif}
.guide-row strong{display:block;font:900 20px 'Barlow Condensed',sans-serif}
.guide-row small{display:block;font:11px 'DM Sans',sans-serif;line-height:1.5;color:#5e7767}
.guide-mode{margin:12px 18px 2px;min-height:43px;border:1px solid #abc5a0;background:#ebf5e4;border-radius:6px;color:#3b6040;font:800 13px 'DM Sans',sans-serif}
.guide-mode[aria-pressed=false]{background:#f6f5ea;color:#566b5a;border-color:#cbd4c8}
#panel .help{margin-top:16px}
@media(max-width:1100px){.simple-guide{padding:10px}.guide-mode{margin:8px 10px}}
@media(max-width:780px){
 #view{height:calc(100svh - 215px);min-height:355px;max-height:690px}
 #coach{top:94px;max-width:90%;font-size:11px;padding:7px 8px}
 #coach.danger{font-size:12px}
 #worldName{top:150px}
 .fight-buttons{bottom:75px;right:11px;width:149px;gap:7px}
 .fight-buttons #attack{min-height:68px}
 .fight-buttons #dodge{min-height:53px}
 .fight-buttons strong{font-size:21px}
 .fight-buttons small{font-size:9px}
 #panel{height:auto;min-height:103px;display:flex;margin-top:7px;position:relative;padding:8px 10px}
 #panel .panel-head,#panel .command-info,#panel .simple-guide,#panel .help,#panel .stats{display:none}
 .guide-mode{margin:2px 0;min-height:38px;width:100%}
 #panel .panel-footer{position:static;justify-content:stretch;display:grid;grid-template-columns:1fr 1fr;gap:5px;background:none;margin-top:4px}
 #panel .panel-footer button{font-size:12px;padding:10px}
 #touchPad{bottom:80px}
 .bottom-line{bottom:8px;left:7px;right:7px}
 .objective{max-width:65%}
 #hitNotice{top:30%}
}
@media(max-width:400px){
 #view{height:calc(100svh - 215px)}
 #worldName{top:146px}
 .fight-buttons{width:139px;bottom:74px;right:10px}
 #touchPad{bottom:82px;left:10px}
}

/* One optional camera setting in the header; combat still has three actions. */
#cameraMode[aria-pressed="true"]{border-color:#a6c593;background:#e9f4db;color:#365738}
@media(max-width:700px){#cameraMode{font-size:9px;padding:8px 6px}.meta{gap:4px}#mast{gap:7px}}

/* Reward timed play without adding new combat keys. */
.focus-status{font:800 10px 'DM Sans',sans-serif;letter-spacing:.05em;color:#728776;
 padding:0 0 5px;transition:color .15s ease}
.focus-status.ready{color:#317b40}
#paceMode{background:#faf8ea;color:#6c5f36;border-color:#e0d9b9}
#paceMode[aria-pressed="true"]{background:#eef5e4;color:#2d6542;border-color:#a6c899}
#panel .guide-mode{flex-shrink:0}
@media(min-width:781px){#panel .guide-mode{margin-bottom:3px}}
@media(max-width:780px){#panel .pace-mode{margin-top:5px}}
@media(prefers-reduced-motion:reduce){
 #dodge.danger{animation:none;box-shadow:0 0 0 3px #d55343}
 .fill,#hitNotice,.focus-status{transition:none}
}

#bossType{letter-spacing:.035em}

/* Correct stamina layout after the counter-charge label was added. */
.stamina>.stamina-top{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:9px;letter-spacing:.03em}
.stamina>div.focus-status{display:block;min-height:15px;font-size:10px;padding-bottom:4px;line-height:1.2}
.stamina .stamina-top b{margin:0;font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:780px){.stamina{min-width:112px}.stamina>div.focus-status{font-size:9px}.stamina>.stamina-top{font-size:9px}.stamina .stamina-top b{font-size:12px}}

/* Ten-stage campaign selector: scrolling is local to the menu, not the game. */
.menu-card{max-height:min(91svh,800px);overflow-y:auto;overscroll-behavior:contain}
#levelCards{max-height:min(40svh,340px);min-height:80px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:4px}
#levelCards .level-card{min-width:0}
#levelCards .level-card strong{font-size:clamp(16px,1.7vw,20px);line-height:1.05;overflow-wrap:anywhere}
#levelCards .level-card span{line-height:1.25}
#levelCards .level-card small{display:block;text-align:left;padding:5px 0 0;font-size:8px;color:#638b5a}
#levelCards .level-card:focus-visible{outline:3px solid #629a42;outline-offset:1px}
@media(max-width:780px){
 .menu-card{max-height:94svh;padding:14px}
 .menu-card h2{font-size:clamp(25px,7vw,37px)}
 #levelCards{max-height:min(40svh,320px);gap:6px;margin:10px 0}
 #levelCards .level-card{padding:7px}
 #levelCards .level-card strong{font-size:16px}
}

/* Live game-quality review, 2026-10-26: keep the battle action unobscured.
 * The center-of-screen coaching card covered creature collision frames.
 * Passive text stays in the accessibility tree; active danger still appears.
 */
#coach:not(.danger){opacity:0;pointer-events:none}
#coach.danger{
 top:17%;left:50%;max-width:65%;padding:6px 10px;
 font-size:clamp(11px,1.15vw,14px);line-height:1.3;
 border-width:1px;box-shadow:0 2px 10px #14281823;
}
#hitNotice{
 top:24%;max-width:68%;white-space:normal;
 font-size:clamp(14px,1.35vw,20px);line-height:1.1;
 padding:2px 7px;border-radius:3px;
 text-shadow:0 1px 2px #fff;
}
@media(max-width:780px){
 #coach.danger{top:23%;max-width:69%;padding:5px 7px;font-size:11px}
 #hitNotice{top:32%;max-width:72%;font-size:13px}
}

/* Four independently usable Pikachu moves; retain the original auto button. */
.fight-buttons{grid-template-columns:repeat(2,minmax(0,1fr));width:258px;gap:5px}
.fight-buttons .specific-move{min-height:51px;padding:5px 2px;background:#f9fdf2;border-color:#a9c5a1;color:#315242}
.fight-buttons .specific-move[data-move="bolt"]{background:#fff2b2;border-color:#cda72c;color:#604c17}
.fight-buttons .specific-move[data-move="tail"]{background:#e7eff5;border-color:#94a9b9}
.fight-buttons .specific-move[data-move="shield"]{background:#d3edee;border-color:#86b7b7}
.fight-buttons .specific-move strong{font-size:14px;line-height:1.08}
.fight-buttons .specific-move small{font-size:9px}
.fight-buttons #attack{min-height:46px}
.fight-buttons #attack strong,.fight-buttons #dodge strong{font-size:17px}
.fight-buttons #dodge{min-height:46px}
@media(max-width:780px){
 .fight-buttons{width:min(222px,58vw);right:8px;bottom:73px;gap:4px}
 .fight-buttons .specific-move{min-height:45px}
 .fight-buttons .specific-move strong{font-size:12px}
 .fight-buttons .specific-move small{font-size:8px}
 .fight-buttons #attack,.fight-buttons #dodge{min-height:44px}
 .fight-buttons #attack strong,.fight-buttons #dodge strong{font-size:15px}
}
@media(max-width:370px){
 .fight-buttons{width:57vw;right:7px}
 .fight-buttons .specific-move strong{font-size:11px}
 .fight-buttons .specific-move small{font-size:7px}
}
