/* Landscape gate: full-screen "rotate your device" page for touch devices held upright. */
/* The gate also carries .rotate-notice so the legacy board.css rule "body>:not(.rotate-notice){display:none!important}" (layered, so it would beat any unlayered override) leaves it visible. */
#rotate-gate{position:fixed;inset:0;z-index:2147483000;display:none;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:24px;box-sizing:border-box;text-align:center;color:#e2b053;background:radial-gradient(120% 80% at 50% 38%,#0f2133 0%,#08111a 62%);font-family:Kanit,Taviraj,system-ui,sans-serif;overscroll-behavior:none;touch-action:none;user-select:none;-webkit-user-select:none}
#rotate-gate:not([hidden]){display:flex}
html.rotate-locked,html.rotate-locked body{overflow:hidden}
#rotate-gate::before{content:"";position:absolute;inset:14px;border:1px solid rgba(226,176,83,.3);pointer-events:none}
#rotate-gate .rg-stage{position:relative;display:flex;flex-direction:column;align-items:center;gap:12px;filter:drop-shadow(0 0 18px rgba(226,176,83,.25))}
#rotate-gate .rg-phone{display:block;width:72px;height:117px;max-width:none;transform-origin:50% 50%;animation:rg-turn 3.2s cubic-bezier(.55,0,.25,1) infinite}
#rotate-gate .rg-arrow{display:block;width:120px;height:40px;max-width:none;opacity:.7}
#rotate-gate .rg-title{margin:0;font-size:22px;line-height:1.4;font-weight:600;letter-spacing:.02em;word-break:keep-all;color:#f1d9a2}
@keyframes rg-turn{0%,18%{transform:rotate(0)}52%,86%{transform:rotate(-90deg)}100%{transform:rotate(0)}}
@media (prefers-reduced-motion:reduce){#rotate-gate .rg-phone{animation:none;transform:rotate(-90deg)}}
