/* A small learning rail above the hand. Never captures arena gestures. */
.battle-coach{position:absolute;bottom:calc(100% + 58px);left:8px;right:8px;display:flex;align-items:center;gap:9px;max-width:440px;margin:auto;padding:8px 8px 8px 11px;border:1px solid #8dcef1;border-radius:13px;background:#08283eef;box-shadow:0 3px 10px #00111e55;color:#fff2c3;pointer-events:auto;box-sizing:border-box;}
.battle-coach[hidden]{display:none;}
.battle-coach>div{flex:1;min-width:0;}
.battle-coach strong{display:block;font:800 12px/1.3 'DM Sans',sans-serif;}
.battle-coach p{margin:2px 0 0;font:500 11px/1.35 'DM Sans',sans-serif;color:#d6edfc;}
.battle-coach-step{font:800 11px/1 'DM Sans',sans-serif;color:#ffe58e;white-space:nowrap;}
.battle-game .battle-coach button{flex:0 0 44px;min-width:44px;min-height:44px;padding:0;border:0;background:transparent;box-shadow:none;font:500 25px/1 sans-serif;color:#c4e4f7;}
.battle-coach button:focus-visible{outline:2px solid #ffe58e;outline-offset:-3px;border-radius:8px;}
.battle-game[data-coach-focus="hand"] .hand{outline:2px solid #ffe58e;outline-offset:3px;border-radius:12px;}
.battle-game[data-coach-focus="energy"] .battle-energy-track{outline:2px solid #ffe58e;outline-offset:2px;}
@media(max-height:500px) and (orientation:landscape){.battle-coach{left:auto;right:190px;bottom:12px;width:min(340px,calc(100vw - 210px));}.battle-coach-step{display:none;}}
.battle-matchups{margin:12px 0;border:1px solid #8dbfdb55;border-radius:10px;padding:0 10px;background:#092b4966;}
.battle-matchups summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;font:800 13px/1.3 'DM Sans',sans-serif;cursor:pointer;list-style:none;color:#ffe5a0;}
.battle-matchups summary::-webkit-details-marker{display:none;}.battle-matchups summary::after{content:'+';}.battle-matchups[open] summary::after{content:'-';}
.battle-matchups ul{list-style:none!important;margin:0!important;padding:0!important;display:grid;gap:4px;}
.battle-matchups li{display:grid;grid-template-columns:1fr 16px 1fr 40px;align-items:center;gap:4px;padding:5px 0!important;border-bottom:1px solid #99c9e322;font:600 12px/1.3 'DM Sans',sans-serif;}
.battle-matchups li:last-child{border:0;}.battle-matchups b{font-size:11px;color:#b8f2cd;}.battle-matchups p{font-size:11px!important;line-height:1.4;margin:7px 0!important;color:#c1ddec;}.battle-matchups-caption{color:#95bcd8!important;}
.battle-guide-element{display:flex;align-items:center;gap:5px;white-space:nowrap;}.battle-guide-element svg{width:16px;height:16px;fill:currentColor;flex-shrink:0;}
.battle-guide-element[data-monster-element="water"] svg{color:#72d9ff;}.battle-guide-element[data-monster-element="flame"] svg{color:#ffab6a;}.battle-guide-element[data-monster-element="leaf"] svg{color:#a6ec87;}.battle-guide-element[data-monster-element="stone"] svg{color:#ddc597;}.battle-guide-element[data-monster-element="spark"] svg{color:#ffdf69;}
.is-online-battle .game-battle-help{text-align:left;padding-left:19px;margin:0;}
.is-online-battle .game-battle-help li{font-size:12.5px;line-height:1.5;margin:0 0 11px;padding-left:1px;}
@media(hover:none) and (pointer:coarse){.is-online-battle .keyboard-help{display:none;}}
