/* Input glyphs have their own shape; legacy HUD kbd rules must not flatten them. */
body.presentation-v56 #abilities > .ability > kbd.gw-glyph-host,
body.presentation-v56 #interact-prompt > kbd.gw-glyph-host,
body #duel-legend kbd.gw-glyph-host{
 display:inline-flex!important;align-items:center;justify-content:center;min-width:0!important;width:auto!important;height:auto!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;line-height:1!important;color:inherit!important;margin-top:5px!important;
}
body.presentation-v56 #abilities .input-glyphs-v30 .ig-key,
body.presentation-v56 #interact-prompt .input-glyphs-v30 .ig-key,
body.presentation-v56 #reward-action .input-glyphs-v30 .ig-key,
body #duel-legend .input-glyphs-v30 .ig-key,
body .gcc-key .input-glyphs-v30 .ig-key{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;min-width:23px!important;padding:2px 4px!important;border:1px solid var(--ig-rim)!important;border-bottom:2px solid #545454!important;border-radius:4px!important;background:linear-gradient(160deg,#393939,#232323)!important;color:var(--ig-paper)!important;box-shadow:0 2px 0 #101010,0 0 0 1px #131313!important;font:600 10px/1 system-ui,sans-serif!important;letter-spacing:0!important;
}
body.presentation-v56 #abilities .input-glyphs-v30 .ig-key[data-key-code="Space"],body .gcc-key .input-glyphs-v30 .ig-key[data-key-code="Space"]{min-width:57px!important;font-size:8px!important}
body .input-glyphs-v30 .ig-key.is-pressed{border-color:#d4d4d4!important;box-shadow:0 0 9px #9797974d,0 0 0 1px #a5a5a5!important;color:#f0f0f0!important}
body #reward-action [data-control-glyph]{margin-right:6px}
body #objective-text .input-glyphs-v30{margin:1px 3px}
body #panel .controls-table .input-glyphs-v30{vertical-align:middle}
body #panel .controls-table td{vertical-align:middle;padding-block:9px}
body .gcc-pad{display:flex;align-items:center;gap:7px;min-width:0}
body .gcc-pad select{min-width:0;width:calc(100% - 34px);text-overflow:ellipsis}
body .gcc-key{display:inline-flex;align-items:center;justify-content:center}
body .gcc-table-head{font-size:9px}
body .gcc-footer p{max-width:470px}
body #tutorial-coach.gw-tutorial-v30 .input-glyphs-v30{vertical-align:middle}
body #tutorial-coach.gw-tutorial-v30 .ig-tokens{gap:3px}
body:has(#tutorial-coach.gw-tutorial-v30:not([hidden])) #room-banner{display:none!important}
body #panel[data-kind="prologue-choice"] .tutorial-welcome-v30{padding:10px 0 14px;color:#dddddd}
body #panel[data-kind="prologue-choice"] .tutorial-welcome-v30 h3{font:26px/1.2 Georgia,serif;margin:0 0 10px;color:#e2e2e2}
body #panel[data-kind="prologue-choice"] .tutorial-welcome-v30 p{font:14px/1.6 system-ui,sans-serif;color:#b3b3b3}
body #panel[data-kind="prologue-choice"] .tw-chapters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}
body #panel[data-kind="prologue-choice"] .tw-chapter{padding:15px;border:1px solid #86868644;background:linear-gradient(145deg,#1d1d1d,#0e0e0e);display:flex;gap:12px;align-items:center}
body #panel[data-kind="prologue-choice"] .tw-chapter small{display:block;color:#989898;font:9px/1.2 system-ui,sans-serif;letter-spacing:.12em}
body #panel[data-kind="prologue-choice"] .tw-chapter strong{display:block;margin-top:5px;font:16px/1.2 Georgia,serif;color:#d3d3d3}
body #panel[data-kind="prologue-choice"] .tw-note{border-left:2px solid #777777;padding-left:12px;margin-top:17px;font-size:12px}
@media(max-width:600px){
 body:has(#tutorial-coach.gw-tutorial-v30:not([hidden])) #blessing-rail{display:none!important}
 body.presentation-v56 #hud #abilities{left:8px!important;right:8px!important;bottom:10px!important;gap:4px!important;max-width:calc(100vw - 16px)!important;justify-content:space-between!important}
 body.presentation-v56 #hud #abilities .ability{flex:1 1 0!important;min-width:0!important;width:0!important;height:105px!important}
 body.presentation-v56 #hud #abilities .ability-symbol{width:30px!important;height:30px!important;margin:0 0 8px!important;flex-shrink:0!important}
 body.presentation-v56 #hud #abilities .ability-symbol svg{width:30px!important;height:30px!important}
 body.presentation-v56 #hud #abilities .ability small{font-size:8px!important;line-height:1.15!important;letter-spacing:0!important;text-align:center;white-space:normal!important;width:100%!important;max-width:100%!important;min-height:28px!important}
 body.presentation-v56 #abilities .ability>kbd.gw-glyph-host{margin-top:3px!important}
 body #panel[data-kind="prologue-choice"] .tw-chapters{gap:7px}body #panel[data-kind="prologue-choice"] .tw-chapter{padding:11px;gap:7px}
 body #tutorial-coach.gw-tutorial-v30 .gw-tutorial-tip{letter-spacing:0!important}
}
@media(max-width:600px){body #abilities .gw-glyph-host .input-glyphs-v30 .ig-token{height:21px!important;min-width:21px!important}body #abilities .gw-glyph-host .input-glyphs-v30 .ig-key[data-key-code="Space"]{min-width:49px!important}body .gcc-pad{gap:4px}}
