/* ROTOR Final 01.4 — main menu restored. Stadium 36/44 hid every #mainMenu control under body.blue-court-opening;
   this brings the menu back as one glass column under the GTA headline. Loads last. */
html body.blue-court-opening #mainMenu#mainMenu :is(.cm-primary,.cm-learning,.cm-kicker,.cm-intro,.rotor25-player-line){display:flex!important;visibility:visible!important;opacity:1!important}
html body.blue-court-opening #mainMenu#mainMenu .cm-angles-toggle{display:inline-flex!important}
html body.blue-court-opening #mainMenu#mainMenu .cm-intro{display:block!important;max-width:440px;margin:6px 0 14px!important;font:500 14px/1.45 Inter,system-ui,sans-serif!important;color:#e9eef2d9!important;text-shadow:0 1px 2px #000c}
html body.blue-court-opening #mainMenu#mainMenu .cm-kicker{align-items:center;gap:8px;font:700 11px/1 Inter,system-ui,sans-serif!important;letter-spacing:.22em!important;color:#e9eef2!important;margin-bottom:10px!important}
html body.blue-court-opening #mainMenu#mainMenu .rotor25-player-line{gap:10px;align-items:center;font:700 11px/1 Inter,system-ui,sans-serif;letter-spacing:.16em;color:#e9eef2;margin-bottom:10px}
/* Buttons: CREATE PLAYER + PLAYER VS PLAYER beside the PLAY DUEL lane (PLAY/TRAINING live in #final02Lane). */
html body.blue-court-opening #mainMenu#mainMenu .cm-primary{flex-wrap:wrap;gap:10px!important;margin:0 0 10px!important}
html body.blue-court-opening #mainMenu#mainMenu .cm-primary :is(.cm-player-create,.cm-online){display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;padding:0 18px!important;border-radius:22px!important;font:700 11px/1 Inter,system-ui,sans-serif!important;letter-spacing:.16em!important;text-transform:uppercase}
html body.blue-court-opening #mainMenu#mainMenu .cm-primary :is(.cm-player-create,.cm-online):not([data-rotor-ui-3d]){background:linear-gradient(180deg,#ffffff1c,#02060f99)!important;border:1px solid #e9eef28c!important;box-shadow:inset 0 1px 0 #ffffff66,0 8px 22px #0007!important;color:#b6ef3c!important}
html body.blue-court-opening #mainMenu#mainMenu .cm-learning{gap:16px;font:700 10.5px/1 Inter,system-ui,sans-serif;letter-spacing:.18em}
html body.blue-court-opening #mainMenu#mainMenu .cm-learning a{color:#e9eef2!important;text-decoration:none;border-bottom:1px solid #e9eef255;padding-bottom:3px}
html body.blue-court-opening #mainMenu#mainMenu .cm-learning a:hover{color:#b6ef3c!important;border-bottom-color:#b6ef3c}
/* GTA headline: white line + accent line that alternates rotor yellow / ball green per beat (final03-menu.js). */
html body #mainMenu h1{color:#fff!important;text-shadow:0 2px 0 #000,0 0 24px #0009}
html body #mainMenu h1 em{color:#ffcf00!important;font-style:normal}
html body #mainMenu[data-tone="green"] h1 em{color:#9aff00!important}
html body #mainMenu[data-tone="white-green"] h1 em{color:#fff!important}
html body #mainMenu[data-tone="white-green"] h1 em::after{content:"";display:inline-block;width:.32em;height:.32em;margin-left:.08em;border-radius:50%;background:#9aff00;vertical-align:baseline}
/* Racket control hint shows while the player is driving the opening racket. */
html body.try-racket #cmRacketHint{display:block!important}
/* Phones: the column collapses to headline + two buttons; learning links + intro go. */
@media (max-width:480px){html body.blue-court-opening #mainMenu#mainMenu :is(.cm-intro,.cm-learning,.rotor25-player-line,.cm-angles-toggle){display:none!important}}
/* Never under the opener, the landing or the studio. */
html body:is(.three-hero-opening,.final02-landing,.f2-identity-studio,.try-racket) #mainMenu#mainMenu .cm-primary{display:none!important}
/* Phone landscape / short windows (height ≤ 480): compact lanes. Bubble TL · dock TR · headline + 2 chips left ·
   PLAY lane bottom-right · rail bottom-left · world PiP off. */
@media (max-height:480px) and (orientation:landscape){
  html body.blue-court-opening #mainMenu#mainMenu{top:88px!important;bottom:auto!important;left:20px!important;width:min(380px,48vw)!important}
  html body #mainMenu h1{font-size:30px!important;line-height:.95!important;margin:0 0 8px!important}
  html body.blue-court-opening #mainMenu#mainMenu :is(.cm-intro,.cm-learning,.cm-angles-toggle,.rotor25-player-line,.cm-kicker){display:none!important}
  html body.blue-court-opening #mainMenu#mainMenu .cm-primary :is(.cm-player-create,.cm-online){min-height:36px!important;padding:0 12px!important;font-size:10px!important}
  html body #final02Lane#final02Lane{left:auto!important;right:20px!important;bottom:70px!important;transform:none!important}
  html body #final02Lane :is(#rotorSceneEnterArena,#f11HomeBig):is(#rotorSceneEnterArena,#f11HomeBig):is(#rotorSceneEnterArena,#f11HomeBig){min-height:48px!important;min-width:180px!important}
  html body .cm-view-rail.cm-view-rail.cm-view-rail{left:20px!important;right:auto!important;bottom:12px!important;transform:none!important;max-width:calc(100vw - 360px)!important;flex-wrap:nowrap!important;overflow:hidden}
  html body #rotorWorldView.rotor-view-pip{display:none!important}
  html body .rotor-access-dock{transform:scale(.86);transform-origin:right top}
}
