.share-game{margin:12px auto 0;padding:12px 28px;min-height:44px;background:#192e35;color:#bbf8ea;border:1px solid #4a8178;font-weight:800;letter-spacing:1px}.phone-menu-hint{display:none}.share-status{position:fixed;z-index:150;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;padding:14px 20px;background:#7ee0d3;color:#102321;border-radius:10px;font:700 16px system-ui;text-align:center}.game-loading{position:fixed;inset:0;z-index:200;display:grid;place-items:center;background:#101e29f5;color:#b9f8eb;text-align:center;font:700 18px system-ui;padding:30px}.game-loading p{max-width:360px;line-height:1.5}.game-loading button{padding:14px 22px;background:#7ee0d3;color:#102321;border:0;border-radius:8px}.game-loading small{display:block;margin-top:16px;color:#c0cfda;font-size:14px}
@media(pointer:coarse){
 .phone-menu-hint{display:block;color:#bfdbd5;font:14px/1.5 system-ui;text-align:center;max-width:340px;margin:12px auto}.arcade-prompt{display:none}.arcade-title{padding-bottom:max(16px,env(safe-area-inset-bottom))}.arcade-option{min-height:52px}
 .fight-screen .fight-wrap{max-width:none!important;width:100%!important}.fight-screen .fight-top{margin:0!important}.fight-screen .desktop-specials{display:none!important}.fight-screen .fight-actions .back{font-size:12px}.gesture-special.ready{background:#7ee0d3;color:#102321}.gesture-special.ready span{color:#20443f}.gesture-special,.gesture-projectile{min-height:54px}.select-lock .bigbtn{min-height:56px}.select-arena .notice{font-size:12px}.select-lock p{font-size:15px}.select-lock small{font-size:14px}.selection-deck .fighter-card strong{font-size:17px}
 .fight-screen .fight-wrap #fight{max-height:none!important}.fight-screen .fight-top .fight-actions{gap:4px}.stick-rest span{font-size:11px}.punch-hint,.kick-hint{font-size:13px}
}
@media(pointer:coarse) and (orientation:landscape){.arcade-title{grid-template-rows:auto auto auto auto}.arcade-title .title-art{grid-row:1/6}.arcade-title .share-game{grid-column:2;margin:2px auto;padding:8px 16px}.phone-menu-hint{grid-column:2;font-size:12px;margin:4px auto}.arcade-credit{grid-column:2}.fight-screen .fight-wrap{inset:0;height:100%!important}.gesture-controls{inset:0}.punch-hint{top:23%}.kick-hint{top:62%}.fight-screen .fight-top{bottom:max(6px,env(safe-area-inset-bottom))}.prefight{padding:max(10px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right));min-height:100dvh}.prefight-fighter canvas{max-height:60dvh}.select-screen .select-duel{height:135px!important}.select-screen .contender-name h2{font-size:34px}.select-screen .select-heading h1{font-size:28px}.select-screen .selection-deck .roster{grid-template-columns:repeat(10,minmax(0,1fr))}.select-screen .fighter-card canvas{height:38px}.select-screen .fighter-card strong{font-size:13px}.select-screen .select-lock p,.select-screen .select-arena .notice{display:none}.select-screen #app{padding-bottom:78px}}
@media(max-width:420px){.arcade-title{padding-top:20px}.title-art{height:240px}.arcade-edition{margin:8px 0 16px}.arcade-credit{padding-top:10px}.share-game{margin-top:8px}}

/* Visible-viewport fit: browser bars and notches must not shrink or clip combat. */
button,a{touch-action:manipulation}
.title-audio-start{display:none;position:fixed;z-index:210;left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);min-height:44px;padding:10px 22px;border:1px solid #b8c6a8;border-radius:24px;background:#18251e;color:#eff4e9;font:700 14px system-ui;box-shadow:0 4px 20px #0008}
.title-screen.audio-needs-tap .title-audio-start{display:block}
@media(pointer:coarse){
 .fight-screen,.fight-screen #app,.fight-screen button,.fight-screen canvas{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
 .fight-screen #app{inset:auto!important;top:var(--play-top,0px)!important;left:var(--play-left,0px)!important;width:var(--play-width,100vw)!important;height:var(--play-height,100dvh)!important}
 .fight-screen .fight-wrap{box-sizing:border-box;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
 .fight-screen #fight{display:block;object-position:center center}
 .fight-screen .fight-top{left:auto;right:max(8px,env(safe-area-inset-right));top:max(6px,env(safe-area-inset-top));bottom:auto!important;transform:none}
 .fight-screen .fight-actions .back{min-height:44px;font-size:11px;padding:7px 10px;background:#101a22da}
 .gesture-controls{left:env(safe-area-inset-left);right:env(safe-area-inset-right)}
 .gesture-special{right:12px;min-width:94px;bottom:max(12px,env(safe-area-inset-bottom))}
 .gesture-projectile{right:116px;min-width:80px;bottom:max(12px,env(safe-area-inset-bottom))}
 .stick-rest{left:15%;bottom:19%}.move-zone{width:46%}.strike-zone{left:46%}
 .gesture-coach{top:29%;font-size:11px}.punch-hint{right:12%;top:24%}.kick-hint{right:12%;top:58%}
 .fight-screen .bonus-wrap{height:var(--play-height,100dvh);top:var(--play-top,0px);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);box-sizing:border-box}
}
@media(pointer:coarse) and (orientation:portrait){
 .fight-screen .fight-wrap{height:48%!important}.gesture-controls{top:48%}.gesture-coach{top:44%}.gesture-special,.gesture-projectile{bottom:max(18px,env(safe-area-inset-bottom))}.stick-rest{bottom:27%}
}
@media(pointer:coarse) and (orientation:landscape) and (max-height:450px){
 .fight-screen .fight-actions .back{min-width:44px;max-width:92px;padding:5px;font-size:10px}.gesture-special,.gesture-projectile{min-height:48px;border-radius:14px}.gesture-coach{font-size:10px}.stick-rest{width:72px;height:72px}.stick-rest i{left:18px;top:18px}.stick-rest span{top:80px;font-size:10px}
}

@media(pointer:coarse) and (orientation:landscape){.fight-screen .fight-top{left:50%;right:auto;top:21%;transform:translateX(-50%)}.gesture-coach{top:35%}}
