html.touch,html.touch body{touch-action:pan-x pan-y;overscroll-behavior:none;-webkit-text-size-adjust:100%;text-size-adjust:100%}html.touch body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}html.touch input,html.touch textarea{-webkit-user-select:text;user-select:text}html.touch button{min-height:38px}html.touch .pc,html.touch .pc canvas{touch-action:none}html.touch body[data-asm="1"] .pc,html.touch body[data-asm="1"] .pc canvas{touch-action:pan-y}html.touch .colR,html.touch #trayL,html.touch .menubox{-webkit-overflow-scrolling:touch}html.touch body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}#g2rot{display:none;position:fixed;inset:0;z-index:99999;background:#14161a;color:#e8e2d6;align-items:center;justify-content:center;text-align:center;font-size:18px;line-height:1.8;padding:24px}@media (orientation:portrait){html.touch #g2rot{display:flex}}@media (orientation:landscape) and (max-height:540px){html.touch button{min-height:32px}html.touch.g2learn .top{padding:3px 10px!important;gap:8px!important}html.touch.g2learn .ttl{font-size:14px!important}html.touch.g2learn .tog,html.touch.g2learn .prog{font-size:12px!important}html.touch.g2learn .top .btn{font-size:12px!important;padding:3px 9px!important;min-height:28px}html.touch.g2learn .body{grid-template-columns:var(--wl) minmax(0,1fr) var(--wr)!important;grid-template-rows:minmax(0,1fr)!important;overflow:hidden!important;--wr:clamp(170px,25%,230px);--wlOpen:clamp(190px,28%,260px)}html.touch.g2learn .colC,html.touch.g2learn .colR,html.touch.g2learn .colL{order:0!important}html.touch.g2learn .colR{max-height:none!important;border-top:none!important;border-left:1px solid var(--line)!important;padding:6px 6px!important}html.touch.g2learn .colL{flex-direction:column!important;height:auto!important;border-top:none!important}html.touch.g2learn .colR .trayg{grid-template-columns:1fr 1fr!important;gap:4px!important;margin-bottom:6px!important}html.touch.g2learn .trayg h5{font-size:11.5px!important;margin-bottom:0!important;letter-spacing:.5px!important}html.touch.g2learn .pc{padding:3px 4px!important;gap:4px!important;margin-bottom:0!important}html.touch.g2learn .pc canvas{width:44px!important;height:31px!important}html.touch.g2learn .pc .n{font-size:11.5px!important;line-height:1.2!important}html.touch.g2learn .pc .n .py{display:none!important}html.touch.g2learn #tools{left:8px!important;right:8px!important;gap:5px!important}html.touch.g2learn #tools button{padding:4px 8px!important;font-size:12px!important;min-height:30px}html.touch.g2learn #hint{max-width:46%!important;font-size:12.5px!important}html.touch.g2learn #steps{padding:4px 10px!important}html.touch.g2learn #introbox,html.touch .g2box{max-height:94vh!important;overflow:auto!important;-webkit-overflow-scrolling:touch}html.touch.g2learn #introbox{padding:14px 18px!important}html.touch .g2box h3{font-size:16px!important}}
