:root{--red:#d0202e;--blue:#2563eb;--gold:#f2c200;--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px)}*{box-sizing:border-box}html,body{color:#fff;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:none;overscroll-behavior:none;background:#000;height:100%;min-height:100dvh;margin:0;font-family:Oswald,Arial Narrow,Impact,sans-serif;overflow:hidden}#app{top:var(--vv-top,0px);left:var(--vv-left,0px);width:var(--vv-w,100%);height:var(--vv-h,100dvh);position:fixed;overflow:hidden}canvas{touch-action:none;width:100%;height:100%;display:block}.hidden{display:none!important}#fight-hud{pointer-events:none;position:absolute;inset:0}.topbar{top:calc(18px + var(--safe-top));width:min(1100px, calc(100% - 16px - var(--safe-left) - var(--safe-right)));filter:drop-shadow(0 4px 14px #0009);display:flex;position:absolute;left:50%;transform:translate(-50%)}.fbox{border-bottom:3px solid var(--c);background:linear-gradient(#12141af0,#06070af0);flex:1;padding:8px 16px 10px;position:relative}.fbox.red{--c:var(--red);clip-path:polygon(0 0,100% 0,100% 100%,16px 100%)}.fbox.blue{--c:var(--blue);text-align:right;clip-path:polygon(0 0,100% 0,calc(100% - 16px) 100%,0 100%)}.fbox .face{background:radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--c) 40%, #222), transparent 72%);width:64px;height:64px;position:absolute;bottom:0}.fbox.red .face{left:18px}.fbox.blue .face{right:18px;transform:scaleX(-1)}.fbox.red{padding-left:90px}.fbox.blue{padding-right:90px}.name{letter-spacing:2px;text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap;font-size:22px;font-weight:600;overflow:hidden}.name small{letter-spacing:2px;color:var(--c);margin:0 8px;font-size:12px}.stam{background:#ffffff14;height:8px;margin-top:6px;position:relative;overflow:hidden}.stam .cur{background:linear-gradient(90deg,#e9b520,#fff2a8);transition:width 80ms linear;position:absolute;top:0;bottom:0;left:0}.blue .stam .cur{background:linear-gradient(270deg,#e9b520,#fff2a8);left:auto;right:0}.stam .lost{background:repeating-linear-gradient(45deg,#c81e28b3 0 4px,#50080eb3 4px 8px);position:absolute;top:0;bottom:0;right:0}.blue .stam .lost{left:0;right:auto}.clock{text-align:center;color:#111;background:#f3f3f3;flex-direction:column;justify-content:center;width:140px;display:flex}.clock .rnd{letter-spacing:3px;color:#666;font-size:11px;font-weight:600}.clock .time{font-size:30px;font-weight:700;line-height:1}.sil{bottom:calc(24px + var(--safe-bottom));opacity:.92;width:50px;position:absolute}.sil.left{left:calc(28px + var(--safe-left))}.sil.right{right:calc(28px + var(--safe-right))}.sil svg{filter:drop-shadow(0 2px 6px #000000b3);width:100%}.sil svg *{transition:fill .25s}.toast{letter-spacing:4px;opacity:0;text-shadow:0 2px 10px #000000e6;font-size:28px;font-style:italic;font-weight:700;position:absolute;top:118px}.toast.left{color:#ffd0d3;left:7vw}.toast.right{color:#d3e1ff;right:7vw}.toast.go{animation:1.1s ease-out toast}@keyframes toast{0%{opacity:0;transform:translateY(10px)scale(.9)}12%{opacity:1;transform:none}75%{opacity:1}to{opacity:0;transform:translateY(-14px)}}#banner{text-align:center;pointer-events:none;opacity:0;transition:opacity .25s;position:absolute;top:36%;left:0;right:0}#banner.show{opacity:1}#banner .big{letter-spacing:6px;text-shadow:0 6px 30px #000000d9;font-size:clamp(48px,9vw,124px);font-style:italic;font-weight:700}#banner.show .big{animation:.35s cubic-bezier(.2,1.6,.4,1) slam}@keyframes slam{0%{opacity:0;transform:scale(1.6)}}#banner .sub{letter-spacing:6px;opacity:.85;text-shadow:0 2px 10px #000000e6;font-size:18px}#fight-hud.replay .topbar,#fight-hud.replay .sil,#fight-hud.replay .toast{opacity:.28}.letterbox{background:#000;height:0;transition:height .28s;position:absolute;left:0;right:0}#fight-hud.replay .letterbox{height:5vh}.letterbox.top{top:0}.letterbox.bot{bottom:0}#fight-hud.replay~#padhint{display:none}#replay{white-space:nowrap;opacity:0;pointer-events:none;letter-spacing:3px;text-shadow:0 2px 10px #000000e6;flex-wrap:nowrap;align-items:center;gap:14px;display:flex;position:absolute;bottom:1.2vh;left:50%;transform:translate(-50%)}#replay.on{opacity:1}#replay .dot{background:#e10600;border-radius:50%;width:12px;height:12px;animation:.7s step-end infinite recblink;box-shadow:0 0 10px #e10600}@keyframes recblink{50%{opacity:.15}}#replay .tag{font-size:22px;font-style:italic;font-weight:700}#replay .angle{letter-spacing:2px;opacity:.8;font-size:13px}#replay .strike{letter-spacing:2px;color:var(--gold);font-size:15px}#replay .skip{letter-spacing:2px;opacity:.65;font-size:12px}.menu{background:radial-gradient(#0006,#000000d9);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.menu.title{padding-left:max(8vw, calc(16px + var(--safe-left)));padding-right:calc(16px + var(--safe-right));padding-bottom:max(8vh, calc(16px + var(--safe-bottom)));background:linear-gradient(90deg,#000000e0 0%,#0000008c 42%,#0000 72%);justify-content:flex-start}.menu.settings .panel{width:min(92vw,640px);min-width:0;max-height:calc(var(--vv-h,86dvh) - 20px - var(--safe-top) - var(--safe-bottom));overflow:hidden auto}.menu.settings h1{font-size:36px}.menu.settings .subtitle{margin-bottom:14px}.menu.settings .item{margin:2px 0;padding:6px 14px;font-size:16px}#menu:not(.hidden):not(.title)~#padhint{display:none}#load:not(.hidden)~#padhint{visibility:hidden}#load{z-index:5;pointer-events:none;background:linear-gradient(#0000 38%,#00000047 62%,#000000c7 100%);justify-content:center;align-items:flex-end;padding-bottom:11vh;display:flex;position:absolute;inset:0}.load-card{text-align:center;width:min(560px,88vw)}.load-title{letter-spacing:5px;text-shadow:0 4px 18px #000000d9;font-size:clamp(22px,4vw,34px);font-style:italic;font-weight:700}.load-track{background:#ffffff29;border-radius:99px;height:10px;margin-top:14px;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff14}.load-fill{border-radius:inherit;background:linear-gradient(90deg, var(--red), var(--gold));width:0%;height:100%;transition:width .35s}.load-meta{letter-spacing:3px;opacity:.85;justify-content:space-between;margin-top:10px;font-size:14px;display:flex}.load-pct{color:var(--gold)}.load-hint{letter-spacing:2px;opacity:.55;margin-top:16px;font-size:12px}.panel{min-width:min(440px,100%);max-width:min(820px,100%);max-height:calc(var(--vv-h,100dvh) - 20px - var(--safe-top) - var(--safe-bottom));-webkit-overflow-scrolling:touch;touch-action:pan-y;overflow:hidden auto}.panel h1{letter-spacing:6px;margin:0;font-size:68px;font-style:italic;line-height:1.05}.panel h1 em{color:var(--red);font-style:italic}.subtitle{letter-spacing:6px;opacity:.7;margin-bottom:26px}.item{letter-spacing:2px;cursor:pointer;background:#ffffff0d;border-left:4px solid #0000;justify-content:space-between;align-items:center;gap:24px;margin:6px 0;padding:10px 18px;font-size:20px;transition:background .1s,transform .1s;display:flex}.item.focus{border-left-color:var(--red);background:#ffffff26;transform:translate(6px)}.item .opt{color:var(--gold)}.item .arr{opacity:.6;padding:0 4px;font-weight:400}.hint{letter-spacing:2px;opacity:.5;margin-top:18px;font-size:12px}table.ctl{border-collapse:collapse;letter-spacing:1px;width:100%;margin:8px 0 16px;font-size:15px}table.ctl td,table.ctl th{text-align:left;border-bottom:1px solid #ffffff14;padding:5px 10px}table.ctl th{color:var(--gold);letter-spacing:3px;font-size:12px;font-weight:500}.result-line{letter-spacing:3px;margin:4px 0 12px;font-size:26px}.result-line b{color:var(--gold);font-weight:600}.cards{opacity:.8;letter-spacing:2px;margin:0 0 12px}#padhint{right:calc(18px + var(--safe-right));bottom:calc(12px + var(--safe-bottom));max-width:calc(100% - 24px - var(--safe-left) - var(--safe-right));letter-spacing:2px;text-align:right;opacity:.55;pointer-events:none;font-size:12px;line-height:1.35;position:absolute}#select{pointer-events:none;background:linear-gradient(#0000008c 0%,#0000 22% 55%,#000000d9 100%);position:absolute;inset:0}.sel-title{text-align:center;letter-spacing:.25em;width:100%;font-size:4.2vh;font-weight:700;position:absolute;top:3vh}.sel-card{border-top:4px solid var(--c);background:#08080cc7;width:30vw;max-width:420px;padding:1.6vh 1.4vw;transition:opacity .2s,transform .2s;position:absolute;top:11vh}.sel-card.red{--c:var(--red);left:2vw}.sel-card.blue{--c:var(--blue);text-align:right;right:2vw}.sel-card .face{background:radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--c) 35%, #222), transparent 70%);width:min(15vh,10vw);height:min(15vh,10vw);margin-top:-1vh}.sel-card.red .face{float:right;margin-left:.6vw}.sel-card.blue .face{float:left;margin-right:.6vw;transform:scaleX(-1)}.sel-card .stats{clear:both}.sel-card.waiting{opacity:.45}.sel-card.locked{box-shadow:0 0 0 2px var(--c), 0 0 30px color-mix(in srgb, var(--c) 50%, transparent)}.sel-card .corner{letter-spacing:.2em;color:var(--c);font-size:1.5vh}.sel-card .corner b{color:var(--gold)}.sel-card .nick{color:#bbb;margin-top:.6vh;font-size:1.9vh}.sel-card .full{font-size:3.4vh;font-weight:700;line-height:1.1}.sel-card .meta{color:#999;letter-spacing:.05em;margin:.6vh 0 .5vh;font-size:1.4vh}.sel-card .traits{flex-wrap:wrap;gap:.4vh .4vw;margin:0 0 1vh;display:flex}.sel-card.blue .traits{justify-content:flex-end}.sel-card .traits em{letter-spacing:.08em;border:1px solid color-mix(in srgb, var(--c) 55%, #666);color:color-mix(in srgb, var(--c) 70%, #eee);padding:.15vh .45vw;font-size:1.15vh;font-style:normal}.sel-card .st{align-items:center;gap:.6vw;margin:.45vh 0;font-size:1.4vh;display:flex}.sel-card.blue .st{flex-direction:row-reverse}.sel-card .st span{color:#ccc;letter-spacing:.08em;width:7vw}.sel-card .st em{width:2.2vw;color:var(--gold);font-style:normal}.sel-card .bar{background:#ffffff1f;flex:1;height:.8vh}.sel-card.blue .bar{transform:scaleX(-1)}.sel-card .bar div{background:var(--c);height:100%}.sel-board{top:54vh;bottom:calc(5.2vh + var(--safe-bottom));pointer-events:auto;touch-action:pan-y;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#444 transparent;width:min(42vw,640px);position:absolute;left:50%;overflow-y:auto;transform:translate(-50%)}.sel-grid{flex-direction:column;gap:.7vh;width:100%;display:flex}.sel-band{grid-template-columns:4.6vw 1fr;align-items:start;gap:.35vw;display:grid}.sel-label{letter-spacing:.14em;text-align:right;color:#888;padding-top:2.4vh;font-size:1.15vh;font-weight:700}.sel-label.pride{color:#e05a5a}.sel-label.ufc{color:#e0b15a}.sel-label.k-1{color:#ff8a3d}.sel-label.street{color:#c4b08a}.sel-label.screen{color:#8ec8ff}.sel-fighters{grid-template-columns:repeat(5,1fr);gap:.35vh .22vw;display:grid}.tile{cursor:pointer;background:radial-gradient(circle at 50% 38%,#3a3a46,#0e0e12 75%);border:2px solid #333;flex-direction:column;height:8.6vh;padding:.4vh .25vw;display:flex;position:relative;overflow:hidden;container-type:inline-size}.tile .face{height:7vh;transition:transform .15s;position:absolute;top:-.2vh;left:50%;transform:translate(-50%)}.tile:after{content:"";background:linear-gradient(#0000,#000000eb 45%);position:absolute;inset:62% 0 0}.tile>div{z-index:1;position:relative}.tile .tn{text-shadow:0 1px 4px #000;margin-top:auto!important}.tile.h0 .face,.tile.h1 .face{transform:translate(-50%)scale(1.08)}.tile .era{letter-spacing:.08em;color:#888;font-size:min(1vh,10cqw)}.tile .era.pride{color:#e05a5a}.tile .era.ufc{color:#e0b15a}.tile .era.screen{color:#8ec8ff}.tile .era.k-1{color:#ff8a3d}.tile .era.street{color:#c4b08a}.tile .tn{letter-spacing:.01em;white-space:nowrap;margin-top:1.2vh;font-size:min(1.55vh,12.4cqw);font-weight:700;line-height:1}.tile .tc{color:#888;letter-spacing:0;white-space:nowrap;margin-top:.3vh;font-size:min(.95vh,8.5cqw)}.tile .marks i{padding:0 .4vh;font-size:1.1vh;font-style:normal;font-weight:700;display:none;position:absolute;top:.5vh}.tile .marks .m0{background:var(--red);right:3.2vh}.tile .marks .m1{background:var(--blue);right:.5vh}.tile.h0 .m0,.tile.h1 .m1{display:block}.tile.h0{border-color:var(--red)}.tile.h1{border-color:var(--blue)}.tile.h0.h1{border-color:#fff}.tile.l0,.tile.l1{background:linear-gradient(160deg,#3a3020,#14110a)}.sel-hint{bottom:calc(2.4vh + var(--safe-bottom));text-align:center;letter-spacing:.1em;color:#bbb;width:100%;padding:0 12px;font-size:1.6vh;position:absolute}.sel-hint b{color:var(--gold)}.sel-hint span{color:#666}body.selecting #padhint{display:none}.menu.bracket .panel{min-width:min(72vw,1100px);max-width:1100px;max-height:100vh;overflow:hidden}.menu.bracket h1{font-size:clamp(26px,4.2vh,40px)}.menu.bracket .subtitle{margin-bottom:1.2vh}.menu.bracket .item{margin:.35vh 0;padding:.7vh 16px;font-size:clamp(14px,1.8vh,18px)}.menu.bracket .hint{margin-top:1.2vh}.gp-next{letter-spacing:.18em;color:#bbb;margin:0 0 1.2vh}.gp-next b{color:var(--gold)}.bracket{grid-template-columns:1.2fr 1fr .8fr;gap:1.2vw;margin-bottom:.8vh;display:grid}.bracket .col{flex-direction:column;justify-content:space-around;gap:.7vh;display:flex}.rnd-label{letter-spacing:.22em;color:#888;margin-bottom:.2vh;font-size:12px}.bout{background:#00000059;border-left:3px solid #333;flex-direction:column;gap:.25vh;padding:.55vh 8px;display:flex}.bout i{letter-spacing:.2em;color:#666;text-align:center;font-size:10px;font-style:normal}.chip{letter-spacing:.08em;align-items:center;gap:8px;font-size:clamp(11px,1.5vh,14px);display:flex}.chip img{object-fit:cover;background:#111;width:clamp(18px,2.6vh,26px);height:clamp(18px,2.6vh,26px)}.chip.you{color:var(--gold)}.chip.won span{color:#fff}.chip.lost{opacity:.38}.chip.tbd{color:#555;letter-spacing:.2em;min-height:clamp(18px,2.6vh,26px)}.surv-card{margin-bottom:12px}.surv-vs{text-align:center;letter-spacing:.12em;justify-content:center;align-items:center;gap:28px;margin:8px 0 16px;display:flex}.surv-vs img{object-fit:cover;background:#111;width:96px;height:96px}.surv-vs em{color:var(--gold);font-size:28px;font-style:italic}#boot{top:var(--vv-top,0px);left:var(--vv-left,0px);width:var(--vv-w,100%);height:var(--vv-h,100dvh);z-index:40;box-sizing:border-box;padding:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);background:radial-gradient(at 50% 42%,#d0202e29,#0000 46%),#000;justify-content:center;align-items:center;transition:opacity .45s;display:flex;position:fixed}#boot.out{opacity:0}#boot.gone{visibility:hidden;pointer-events:none}.boot-card{text-align:center;width:min(560px,88vw)}#boot h1{letter-spacing:6px;text-shadow:0 4px 18px #000000d9;margin:0;font-size:clamp(48px,8vw,72px);font-style:italic;line-height:1}#boot h1 em{color:var(--red);font-style:italic}.boot-title{letter-spacing:6px;margin-top:18px;font-size:clamp(18px,3vw,28px);font-style:italic;font-weight:700}.boot-track{background:#ffffff29;border-radius:99px;height:10px;margin-top:18px;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff14}.boot-fill{border-radius:inherit;background:linear-gradient(90deg, var(--red), var(--gold));width:0%;height:100%;transition:width .2s}.boot-meta{letter-spacing:3px;opacity:.85;justify-content:space-between;margin-top:10px;font-size:14px;display:flex}#boot-pct{color:var(--gold)}.boot-error{letter-spacing:2px;color:#ffd0d3;margin:18px 0 0;font-size:16px;line-height:1.4}#boot-retry{border:0;border-left:4px solid var(--red);color:#fff;font:inherit;letter-spacing:3px;cursor:pointer;background:#ffffff14;margin-top:18px;padding:10px 28px;font-size:18px}#boot-retry:hover,#boot-retry:focus-visible{background:#d0202e59;outline:none}#tex-glove{top:calc(var(--vv-top,0px) + 14px + var(--safe-top));left:calc(var(--vv-left,0px) + 14px + var(--safe-left));z-index:70;pointer-events:none;opacity:0;visibility:hidden;filter:drop-shadow(0 2px 6px #000000b3);width:46px;height:46px;position:fixed}#tex-glove svg{width:100%;height:100%;display:block}#tex-glove.is-on{visibility:visible;opacity:1;animation:.9s ease-in-out infinite glove-pulse}@keyframes glove-pulse{0%,to{opacity:.8;transform:scale(1)}50%{opacity:1;transform:scale(1.08)}}@media (prefers-reduced-motion:reduce){#tex-glove.is-on{animation:none}}@media (width<=540px),(height<=500px){.panel h1{letter-spacing:3px;font-size:clamp(32px,10vw,52px)}.subtitle{letter-spacing:3px;margin-bottom:10px;font-size:13px}.item{letter-spacing:1px;gap:12px;min-height:44px;margin:3px 0;padding:8px 12px;font-size:16px}.hint{letter-spacing:1px;font-size:11px}.topbar{top:calc(8px + var(--safe-top))}.fbox{padding:5px 8px 6px}.fbox .face{width:36px;height:36px}.fbox.red{padding-left:48px}.fbox.red .face{left:8px}.fbox.blue{padding-right:48px}.fbox.blue .face{right:8px}.name{letter-spacing:.5px;font-size:clamp(12px,3.2vw,16px)}.name small{letter-spacing:1px;margin:0 4px;font-size:10px}.clock{width:78px}.clock .rnd{letter-spacing:0;font-size:9px}.clock .time{font-size:20px}.toast{top:calc(64px + var(--safe-top));letter-spacing:2px;font-size:16px}#banner .big{letter-spacing:2px;font-size:clamp(36px,12vw,72px)}#banner .sub{letter-spacing:2px;font-size:13px}#replay{gap:8px;max-width:calc(100% - 16px)}#replay .tag{font-size:14px}#replay .strike,#replay .angle,#replay .skip{letter-spacing:1px;font-size:11px}.boot-card,.load-card{width:min(560px, calc(100% - 28px - var(--safe-left) - var(--safe-right)))}#boot h1{letter-spacing:.04em;font-size:clamp(36px,12vw,56px)}.menu.bracket .panel,.menu.settings .panel{width:calc(100% - 8px);min-width:0}.bracket{grid-template-columns:1fr;max-height:42vh;overflow:auto}.surv-vs{gap:12px}.surv-vs img{width:64px;height:64px}.surv-vs em{font-size:20px}table.ctl{touch-action:pan-x pan-y;font-size:13px;display:block;overflow-x:auto}#tex-glove{width:34px;height:34px}#padhint{letter-spacing:1px;font-size:10px}}@media (orientation:portrait) and (width<=540px){.menu.title{padding:calc(8px + var(--safe-top)) calc(12px + var(--safe-right)) calc(10px + var(--safe-bottom)) calc(12px + var(--safe-left));background:linear-gradient(#0000 0%,#00000080 34%,#000000eb 62%);justify-content:center;align-items:flex-end}.menu.title .panel{width:100%}.sel-title{top:calc(6px + var(--safe-top));letter-spacing:.12em;font-size:16px}.sel-card{top:calc(36px + var(--safe-top));width:calc(50% - 12px);max-width:none;height:150px;max-height:150px;padding:8px;overflow:hidden}.sel-card.red{left:8px}.sel-card.blue{right:8px}.sel-card .face{width:42px;height:42px}.sel-card .full{font-size:15px}.sel-card .nick,.sel-card .meta,.sel-card .traits{display:none}.sel-card .st{gap:4px;margin:2px 0;font-size:10px}.sel-card .st span{width:46px}.sel-card .st em{width:18px}.sel-board{top:calc(196px + var(--safe-top));bottom:calc(78px + var(--safe-bottom));width:calc(100% - 16px);left:8px;transform:none}.sel-band{grid-template-columns:22px 1fr}.sel-label{letter-spacing:.04em;padding-top:10px;font-size:9px}.sel-fighters{grid-template-columns:repeat(4,1fr)}.tile{height:64px}.sel-hint{letter-spacing:.04em;bottom:calc(56px + var(--safe-bottom));font-size:11px}.sel-hint span{display:none}}@media (orientation:landscape) and (height<=500px){.menu.title{padding-top:calc(8px + var(--safe-top));padding-bottom:calc(8px + var(--safe-bottom));align-items:center}.subtitle{margin-bottom:6px}.item{min-height:40px;margin:2px 0;padding:4px 12px;font-size:15px}.sel-title{font-size:16px;top:2px}.sel-card{top:calc(22px + var(--safe-top));width:min(30vw,280px);max-height:38vh;padding:6px 8px;overflow:hidden}.sel-card .face{width:34px;height:34px}.sel-card .full{font-size:15px}.sel-card .nick,.sel-card .traits{display:none}.sel-card .meta{margin:2px 0;font-size:10px}.sel-card .st{margin:1px 0;font-size:10px}.sel-board{top:calc(22px + var(--safe-top) + 38vh + 8px);width:min(76vw,760px);bottom:calc(74px + var(--safe-bottom))}.tile{height:64px;min-height:64px}.sel-hint{bottom:calc(54px + var(--safe-bottom));font-size:11px}.sel-hint span{display:none}#load{padding-bottom:calc(8px + var(--safe-bottom))}}html.touch #padhint{display:none}html.touch #fight-hud .sil{top:calc(72px + var(--safe-top));width:28px;bottom:auto}html.touch #fight-hud .sil.left{left:calc(8px + var(--safe-left))}html.touch #fight-hud .sil.right{right:calc(8px + var(--safe-right))}html.touch .hint{display:none}body:has(#fight-hud:not(.hidden)) #tex-glove{top:calc(var(--vv-top,0px) + 76px + var(--safe-top))}.touch-only{display:none}html.touch .touch-only{justify-content:center;align-items:center;display:inline-flex}.menu-back,.sel-back,.sel-random,#load-cancel{border:0;border-left:4px solid var(--red);color:#fff;min-height:44px;font:inherit;letter-spacing:2px;cursor:pointer;touch-action:manipulation;background:#ffffff1a;margin-top:8px;padding:8px 18px;font-size:15px}.sel-actions{left:calc(8px + var(--safe-left));bottom:calc(6px + var(--safe-bottom));z-index:3;pointer-events:auto;gap:8px;display:flex;position:absolute}html.touch .sel-actions .touch-only{margin-top:0}#load-cancel{pointer-events:auto}#touch{z-index:8;pointer-events:none;position:absolute;inset:0}#touch[hidden]{display:none}#touch button,#touch .touch-stick{pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none}#touch button{color:#fff;font:inherit;letter-spacing:1px;text-shadow:0 1px 4px #000;background:#08080c8c;border:1px solid #ffffff47;border-radius:10px;font-size:12px;font-weight:600}#touch button.is-down{background:#d0202ee0;border-color:#fff}.touch-stick{left:calc(14px + var(--safe-left));bottom:calc(16px + var(--safe-bottom));background:#00000061;border:2px solid #ffffff47;border-radius:50%;width:118px;height:118px;position:absolute}.touch-knob{background:#ffffffe0;border-radius:50%;width:46px;height:46px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 8px #00000073}.touch-util{left:calc(14px + var(--safe-left));bottom:calc(144px + var(--safe-bottom));pointer-events:none;gap:6px;display:flex;position:absolute}.touch-util button{pointer-events:auto;min-width:64px;min-height:36px;padding:6px 8px;font-size:11px}.touch-slip{left:calc(142px + var(--safe-left));bottom:calc(28px + var(--safe-bottom));pointer-events:none;grid-template-columns:40px 40px 40px;grid-template-areas:".u.""l c r"".d.";display:grid;position:absolute}.touch-slip button,.touch-slip span{pointer-events:auto;width:40px;height:40px}.touch-slip button:first-child{grid-area:u}.touch-slip button:nth-child(2){grid-area:l}.touch-slip span{letter-spacing:1px;opacity:.7;pointer-events:none;grid-area:c;justify-content:center;align-items:center;font-size:9px;display:flex}.touch-slip button:nth-child(4){grid-area:r}.touch-slip button:nth-child(5){grid-area:d}.touch-mods{right:calc(14px + var(--safe-right));bottom:calc(148px + var(--safe-bottom));pointer-events:none;grid-template-columns:repeat(4,58px);gap:6px;display:grid;position:absolute}.touch-mods button{pointer-events:auto;min-height:40px}.touch-face{right:calc(14px + var(--safe-right));bottom:calc(16px + var(--safe-bottom));pointer-events:none;grid-template-columns:64px 64px;gap:8px;display:grid;position:absolute}.touch-face button{pointer-events:auto;height:58px;font-size:13px}.touch-face button[data-btn=x],.touch-face button[data-btn=y]{border-color:#f2c200b3}.touch-skip{left:50%;bottom:calc(24px + var(--safe-bottom));letter-spacing:3px;min-width:140px;min-height:52px;font-size:18px;display:none;position:absolute;transform:translate(-50%)}#touch.replay .touch-util,#touch.replay .touch-stick,#touch.replay .touch-slip,#touch.replay .touch-mods,#touch.replay .touch-face,#touch.replay .touch-util button,#touch.replay .touch-slip button,#touch.replay .touch-mods button,#touch.replay .touch-face button{visibility:hidden;pointer-events:none}#touch.replay .touch-skip{display:block}@media (orientation:portrait) and (width<=540px){.touch-stick{width:112px;height:112px}.touch-util{bottom:calc(138px + var(--safe-bottom))}.touch-slip{left:calc(12px + var(--safe-left));bottom:calc(186px + var(--safe-bottom))}.touch-mods{bottom:calc(168px + var(--safe-bottom));grid-template-columns:64px 64px}.touch-face button{height:64px}}@media (orientation:landscape) and (height<=500px){.touch-stick{width:96px;height:96px;bottom:calc(8px + var(--safe-bottom))}.touch-knob{width:40px;height:40px}.touch-util{bottom:calc(110px + var(--safe-bottom))}.touch-util button{min-height:32px}.touch-slip{left:calc(118px + var(--safe-left));bottom:calc(12px + var(--safe-bottom));grid-template-columns:34px 34px 34px}.touch-slip button,.touch-slip span{width:34px;height:34px}.touch-mods{bottom:calc(112px + var(--safe-bottom));grid-template-columns:repeat(4,52px)}.touch-mods button{min-height:34px;font-size:10px}.touch-face{bottom:calc(8px + var(--safe-bottom));grid-template-columns:56px 56px}.touch-face button{height:48px;font-size:11px}html.touch #fight-hud .sil{top:calc(58px + var(--safe-top))}}
