html{padding:0}html,body{width:100%;overscroll-behavior:none}#wrap{position:fixed;inset:auto;left:var(--game-view-left, 0px);top:var(--game-view-top, 0px);width:var(--game-view-width, 100%);height:100%;height:var(--game-view-height, 100dvh)}#wrap:fullscreen{width:100%;height:100%}@media(orientation:landscape){#wrap.touch-screen .hud{z-index:30;top:max(8px,env(safe-area-inset-top,0px));left:max(14px,env(safe-area-inset-left,0px));right:max(14px,env(safe-area-inset-right,0px))}#wrap.touch-screen:not(.is-running) .hud>div:first-child{visibility:hidden}#wrap.touch-screen .game-tabs{z-index:40;top:max(8px,env(safe-area-inset-top,0px));bottom:auto;left:max(14px,env(safe-area-inset-left,0px));transform:none;max-width:calc(100% - 160px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px))}#wrap.touch-screen .game-tab{min-height:32px;padding:6px 12px;font-size:11px}#wrap.touch-screen :is(#menu,#over){padding:0}#wrap.touch-screen :is(#menu,#over)>.panel.wide{width:100%;height:100%;max-width:none;max-height:none;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(18px,3.5vw,44px);padding:calc(60px + env(safe-area-inset-top,0px)) max(20px,env(safe-area-inset-right,0px)) max(12px,env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px));border:0;border-radius:0;box-shadow:none;background:#060b19f5;overflow:hidden}#wrap.touch-screen :is(#menu,#over)>.panel>div{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;-webkit-overflow-scrolling:touch}#wrap.touch-screen :is(#menu,#over)>.panel>div:last-child{display:flex;flex-direction:column;overflow:hidden}#wrap.touch-screen .board{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;-webkit-overflow-scrolling:touch;margin:0}#wrap.touch-screen .board li{min-height:32px;padding:5px 9px;font-size:13px}#wrap.touch-screen .board :is(.sc,.rk){font-size:16px}#wrap.touch-screen :is(#menu,#over) h2{flex-shrink:0;font-size:clamp(21px,3vw,30px);line-height:1.1;margin:0 0 8px}#wrap.touch-screen .prize-note{flex-shrink:0;font-size:12px;line-height:1.35;margin:0 0 9px}#wrap.touch-screen .rankline{flex-shrink:0;font-size:14px;line-height:1.3;margin:0 0 8px}#wrap.touch-screen :is(#resetMenu,#resetOver){flex-shrink:0;font-size:11px;line-height:1.3;margin:9px 0 0}#wrap.touch-screen #over .center{display:flex;flex-direction:column;align-items:stretch}#wrap.touch-screen #over .center>*{flex-shrink:0}#wrap.touch-screen #over .center>:first-child{margin-top:auto}#wrap.touch-screen #over .center>:last-child{margin-bottom:auto}#wrap.touch-screen .roast{min-height:0;font-size:clamp(20px,2.9vw,30px);line-height:1.1;margin:0 0 8px}#wrap.touch-screen .final{font-size:clamp(40px,14dvh,64px);line-height:1}#wrap.touch-screen .best{font-size:13px;line-height:1.2;margin:5px 0 10px}#wrap.touch-screen .row{gap:10px}#wrap.touch-screen .btn{min-height:44px;padding:10px 18px;font-size:19px;white-space:nowrap}#wrap.touch-screen .btn.ghost{min-height:44px;padding:10px 17px;font-size:18px}#wrap.touch-screen .replay-actions{gap:8px;margin-top:10px}#wrap.touch-screen .replay-actions button{min-height:38px;font-size:11px;padding:8px 12px}#wrap.touch-screen .replay-note{font-size:10px;line-height:1.3;margin:5px 0 0}#wrap.touch-screen .foot{font-size:11px;margin-top:8px}#wrap.touch-screen #menu h1{font-size:clamp(36px,5vw,52px)}#wrap.touch-screen #menu .tag{font-size:13px;margin:6px 0 8px}#wrap.touch-screen #menu .how{font-size:12px;line-height:1.35;margin:0 0 9px}#wrap.touch-screen #menu .field{font-size:12px;margin-bottom:4px}#wrap.touch-screen #menu input{padding:8px 11px;font-size:16px}#wrap.touch-screen #nameHint{font-size:11px;margin-bottom:7px}#wrap.touch-screen .game-info{padding:calc(62px + env(safe-area-inset-top,0px)) max(18px,env(safe-area-inset-right,0px)) max(12px,env(safe-area-inset-bottom,0px)) max(18px,env(safe-area-inset-left,0px))}#wrap.touch-screen .game-info .panel{max-height:100%}}
