/* ANGLE OF ATTACK (js/arcade/aoa.js) + écran de départ commun (.aoready, repris par POISSON MOLES) */
.ar-aoa .hidden, .ar-moles .hidden { display: none !important; }
.aoready { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding-top: 120px;
  background: radial-gradient(ellipse at 50% 50%, rgba(4,8,6,.55), rgba(4,8,6,.9)); text-align: center; }
.aoready h2 { margin: 0; font: 900 76px/1 Montserrat, sans-serif; color: #fff; text-shadow: 0 0 30px rgba(143,246,255,.35), 0 4px 0 rgba(0,0,0,.5); }
.aoready h2 span { display: block; margin: 12px auto 0; width: max-content; background: #2a6ccb; padding: 6px 22px 10px; border-radius: 14px; transform: rotate(-2deg);
  box-shadow: 0 8px 30px rgba(42,108,203,.45), inset 0 2px 0 rgba(255,255,255,.25); }
.aoready p { margin: 0; font: 700 30px 'Barlow Semi Condensed', sans-serif; color: #c9d3cc; }
.aoready .btn { flex: none; width: 420px; height: 120px; font-size: 44px; }
.aoready > small { font: 600 22px 'Barlow Semi Condensed', sans-serif; color: #8fa59a; letter-spacing: 1px; }
.ar-aoa canvas { touch-action: none; }

/* UX3 — HUD commun (MG.ArcKit.hud) : vitals sur UNE rangée (le terrain commence à y = 200), formule juste dessous */
.ar-aoa .akh-l, .ar-moles .akh-l { flex-direction: row; gap: 8px; align-items: center; }
.ar-aoa .akh-f, .ar-moles .akh-f { top: calc(var(--akt) + 50px); }
.ar-aoa .akh-f { top: calc(var(--akt) + 46px); }
.ar-aoa .akh-fm { font-size: 23px; max-width: 620px; }
.ar-aoa .akh-p { top: calc(var(--akt) + 98px); }
/* détail 'full' : le panneau ⓘ reste ouvert, posé sous les briques (zone libre au-dessus de la raquette) */
.ar-aoa .akh.md-full .akh-p { top: 736px; opacity: .9; }
.ar-aoa .akh-e { top: 46%; }

/* HABILLAGE HD (salle des machines) : seulement quand les assets sont chargés (.ao-hd, posé par aoReady) */
.ar-aoa.ao-hd .aoready { justify-content: flex-start; gap: 16px; padding-top: 708px;
  background: #0b0705 var(--ao-title) center / cover no-repeat; }
.ar-aoa.ao-hd .aoready h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ar-aoa.ao-hd .aoready p { padding: 8px 26px 10px; border-radius: 12px; color: #ffe9b8; font-size: 30px; letter-spacing: .5px;
  background: linear-gradient(180deg, rgba(34,20,9,.92), rgba(16,9,4,.92)); border: 2px solid #a87a34;
  box-shadow: inset 0 1px 0 rgba(255,226,160,.35), 0 6px 18px rgba(0,0,0,.6); }
.ar-aoa.ao-hd .aoready .btn { width: 430px; height: 124px; color: #2a1604; border: 3px solid #6e4a14; border-radius: 22px; text-shadow: 0 1px 0 rgba(255,240,200,.65);
  background: linear-gradient(180deg, #fff0b4 0%, #f2c762 16%, #d59b35 48%, #a9701e 54%, #e2ae4d 88%, #ffe39a 100%);
  box-shadow: inset 0 2px 0 rgba(255,250,220,.9), inset 0 -3px 0 rgba(90,50,8,.55), 0 10px 26px rgba(0,0,0,.7), 0 0 34px rgba(255,190,90,.28); }
.ar-aoa.ao-hd .aoready .btn small { color: #4a2a08; opacity: 1; }
.ar-aoa.ao-hd .aoready > small { padding: 4px 16px 5px; border-radius: 9px; color: #f0d9a8; background: rgba(14,8,3,.78); font-size: 22px; }
/* HUD : plaquettes de bois et de laiton, score en laiton clair */
.ar-aoa.ao-hd .akh { --acc: #ffd98a; }
.ar-aoa.ao-hd .akv { background: linear-gradient(180deg, rgba(38,22,10,.94), rgba(18,10,5,.94)); border: 1.5px solid #9a7030; box-shadow: inset 0 1px 0 rgba(255,226,160,.28), 0 3px 8px rgba(0,0,0,.5); }
.ar-aoa.ao-hd .akv small { color: #d8b878; }
.ar-aoa.ao-hd .akv b { color: #fff3d0; }
.ar-aoa.ao-hd .akv-dots b { color: var(--vc); }
.ar-aoa.ao-hd .akh-sc { color: #ffe3a0; text-shadow: 0 0 16px rgba(255,190,90,.5), 0 2px 0 #3a2006; }
.ar-aoa.ao-hd .akh-fm { opacity: 1; color: #fff3d0; text-shadow: 0 1px 3px #000; }
.ar-aoa.ao-hd .akh-i { background: rgba(24,14,6,.92); border-color: #a87a34; color: #ffe3a0; }
.ar-aoa.ao-hd .akh-p { background: rgba(18,10,5,.92); border: 1.5px solid #9a7030; border-radius: 12px; padding: 8px 14px; color: #f6e4bb; }

/* MODES (api.modes.mount sur le titre, plaque de maths du mode #aoIn au-dessus de l'oscilloscope) */
.ar-aoa canvas#aoIn { display: none; left: 30px; top: 1052px; width: 660px; height: 84px; z-index: 4; pointer-events: none; }
.ar-aoa.ao-inset canvas#aoIn { display: block; }
.arroot.ar-aoa { z-index: auto; }
.ar-aoa.ao-inset ~ .arscope { top: 1140px; height: 124px; }
.ar-aoa #aoModes { width: 660px; }
.ar-aoa #aoRoom { display: flex; align-items: center; gap: 14px; font: 800 26px 'Barlow Semi Condensed', sans-serif; color: #ffe9b8; }
.ar-aoa #aoRoom.hidden { display: none !important; }
.ar-aoa #aoRoom button { width: 64px; height: 50px; font: 900 30px/1 Montserrat, sans-serif; color: #2a1604; border: 2px solid #6e4a14; border-radius: 12px; background: linear-gradient(180deg, #f2c762, #a9701e); }
.ar-aoa .aoready .mmcard { color: #fff3d0; }
.ar-aoa.ao-hd .aoready { padding-top: 610px; gap: 12px; }
.ar-aoa.ao-hd .aoready .btn { height: 104px; width: 400px; font-size: 40px; }
.ar-aoa.ao-hd .aoready p { font-size: 26px; padding: 5px 20px 7px; }
.ar-aoa.ao-hd .mmth { box-shadow: inset 0 0 0 1px rgba(255,226,160,.4); }
/* titre moins chargé : la phrase / formule du mode passe sous le bouton PLAY (elle posait sur les briques du décor) */
.ar-aoa.ao-hd .aoready #aoHow { order: 9; margin-top: 40px; padding: 0; border: 0; background: none; box-shadow: none; font-size: 24px; color: #f0d9a8; text-shadow: 0 2px 6px #000, 0 0 12px rgba(0,0,0,.8); }
.ar-aoa.ao-hd .aoready > small { margin-top: 22px; }
/* lot 7 : liste des niveaux, sous PLAY */
.aoready .aolevels { flex: none; width: 420px; height: 64px; border-radius: 16px; border: 2px solid rgba(214,158,70,.75); background: rgba(24,14,5,.86); color: #ffe9a8; font: 800 27px 'Barlow Semi Condensed', sans-serif; letter-spacing: 1px; }
.aoready .aolevels b { color: #ffcf3d; }
