/* Wheel of Star Citizen — surimpression. Volontairement plus petite que le
   site : c'est un jeu, pas une rubrique, il ne doit pas prendre toute la page. */
.wheel-ov{position:fixed;inset:0;z-index:900;display:flex;align-items:center;
  justify-content:center;padding:20px;background:rgba(4,8,11,.86);
  backdrop-filter:blur(3px);opacity:0;transition:opacity .22s}
.wheel-ov.on{opacity:1}
.wheel-ov[hidden]{display:none}
.wheel-box{position:relative;width:min(860px,94vw);max-height:92vh;overflow:auto;
  background:#0b110e;border:1px solid #21473a;padding:22px 24px 24px;
  clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 18px));
  transform:translateY(14px) scale(.985);transition:transform .22s}
.wheel-ov.on .wheel-box{transform:none}
.wheel-x{position:absolute;top:10px;right:14px;background:none;border:0;
  color:#5f7484;font-size:26px;line-height:1;cursor:pointer;padding:4px 8px}
.wheel-x:hover{color:#dbe4e9}
.wheel-box h2{margin:0 0 2px;font-size:23px;letter-spacing:-.3px;color:#f0f5f7}
.wheel-sous{margin:0 0 14px;color:#5f7484;font-size:13px}
.wheel-scene{display:flex;align-items:flex-end;position:relative;
  padding-top:18px;overflow:hidden}
/* Sans Vandy, la roue se CENTRE au lieu de laisser un trou de 370 px : la
   video peut manquer, et la roue doit rester presentable seule. */
.wheel-roue{flex:0 0 56%;min-width:0;margin-inline:auto}
.wheel-scene.sans-vandy .wheel-vandy{display:none}
.wheel-scene.sans-vandy .wheel-roue{flex:0 0 min(72%,420px)}
.wheel-roue svg{display:block;width:100%;height:auto}
.wheel-vandy{flex:1 1 44%;position:relative;align-self:stretch;min-width:0;margin-right:-2%}
.wheel-vandy video{position:absolute;right:-6%;bottom:-3%;width:112%;height:auto;
  max-height:104%;object-fit:contain;object-position:bottom right;
  mix-blend-mode:screen;pointer-events:none;opacity:0;transition:opacity .4s}
.wheel-vandy video.on{opacity:1}
#wRotor{transform-origin:50% 50%;transition:transform 5.6s cubic-bezier(.15,.85,.25,1)}
#wSpot,#wSpotFond{transition:opacity .5s ease-out}
#wSpot .secteur{filter:drop-shadow(0 0 22px rgba(255,224,150,.55))}
#wSpot .ampoule{fill:#ffe9b0;animation:wClignote 1.1s ease-in-out infinite;
  filter:drop-shadow(0 0 7px rgba(255,214,120,.95))}
@keyframes wClignote{0%,100%{opacity:1}50%{opacity:.25}}
#wSpot .labSpot{fill:#fff8e8;font-weight:800;letter-spacing:.2px;
  paint-order:stroke;stroke:#2a1d08;stroke-width:2.2px;stroke-linejoin:round;
  filter:drop-shadow(0 0 6px rgba(255,226,160,.9))}
.wheel-lab{fill:#cfc9b8;font-weight:800;letter-spacing:.2px;
  paint-order:stroke;stroke:#0d100c;stroke-width:1.1px;stroke-linejoin:round}
.wheel-lab.clair{fill:#dad5c6}
.wheel-res{margin-top:16px;padding-top:14px;border-top:1px solid #1b2b25}
.wheel-tag{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:#5f7484}
#wheelVerdict{font-size:clamp(19px,2.6vw,25px);font-weight:700;margin:6px 0 2px;
  min-height:1.2em;color:#f0f5f7}
#wheelFamille{font-size:12.5px;color:#5f7484;margin:0 0 14px;min-height:1.2em}
#wheelGo{width:100%;padding:13px;font-size:13px;letter-spacing:1.4px;
  text-transform:uppercase;font-weight:700;cursor:pointer;border:0}
#wheelGo:disabled{opacity:.45;cursor:not-allowed}
@media (max-width:720px){
  .wheel-scene{flex-direction:column;align-items:center}
  .wheel-vandy{width:60%;height:160px;order:2;margin-right:0}
  .wheel-roue{flex:0 0 auto;width:100%;order:1}
  .wheel-vandy video{right:0;width:100%}
}
@media (prefers-reduced-motion:reduce){
  #wRotor{transition:none}
  .wheel-vandy video{display:none}
}

/* Bouton d'appel dans l'en-tete. Discret par defaut, il s'anime au survol :
   c'est un jeu, il peut se permettre un peu de vie la ou le reste du site
   reste sobre. */
.wheel-cta{display:inline-flex;align-items:center;gap:8px;margin-left:26px;
  padding:9px 15px;background:#101c17;border:1px solid #2a5a48;color:#8fe0b6;
  font-size:11px;font-weight:700;letter-spacing:1.6px;text-decoration:none;
  white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.wheel-cta:hover{background:#16261f;border-color:#2ee58a;color:#2ee58a}
.wheel-cta-ic{font-size:14px;line-height:1;transition:transform .5s}
.wheel-cta:hover .wheel-cta-ic{transform:rotate(180deg)}
@media (max-width:1100px){.wheel-cta .lbl,.wheel-cta{letter-spacing:1px;margin-left:14px}}
@media (max-width:860px){.wheel-cta{display:none}}

/* Secteurs consultables : le curseur et le survol disent que c'est cliquable,
   sinon personne ne devinerait qu'on peut consulter une autre activite. */
.secteur-clic{cursor:pointer;transition:fill-opacity .15s,stroke .15s}
.secteur-clic:hover{fill-opacity:1 !important}
/* Le contour de focus par defaut dessine un rectangle autour de la BOITE
   ENGLOBANTE du secteur, pas autour de sa forme : d'ou l'equerre verte qui
   depassait de la roue. On l'annule et on epaissit le trait du secteur
   lui-meme, qui epouse sa geometrie. */
.secteur-clic:focus{outline:none}
.secteur-clic:focus-visible{stroke:#8fe0b6 !important;stroke-width:3 !important}
.wheel-desc{margin:0 0 10px;font-size:13px;line-height:1.65;color:#b8c4cb}
.wheel-desc:empty{display:none}
.wheel-liens{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.wheel-liens:empty{display:none}
.wheel-lien{display:flex;align-items:center;gap:8px;max-width:100%;
  padding:6px 10px 6px 6px;background:#0d1613;border:1px solid #1e3a30;
  color:#8fe0b6;font-size:12px;text-decoration:none;transition:border-color .15s}
.wheel-lien:hover{border-color:#2ee58a;color:#2ee58a}
.wheel-lien img{width:72px;height:41px;object-fit:cover;flex:0 0 auto;display:block}
.wheel-lien span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:230px}
.wheel-astuce{margin:10px 0 0;font-size:11.5px;color:#5f7484;text-align:center}
/* Consultation : on ne fait pas croire que la roue a designe cette activite. */
.wheel-res.consulte #wheelVerdict::after{content:" \00b7 consult\00e9";
  font-size:11px;color:#5f7484;font-weight:400;letter-spacing:1px}

/* Page dediee : la MEME modale, mais posee dans la page au lieu de flotter
   au-dessus. Un seul balisage pour les deux usages, donc rien a maintenir en
   double quand le jeu evolue. */
.wheel-page .wheel-ov{position:static;inset:auto;display:block;padding:0;
  background:none;backdrop-filter:none;opacity:1;z-index:auto}
.wheel-page .wheel-ov[hidden]{display:block}
.wheel-page .wheel-box{width:min(880px,96vw);max-height:none;margin:26px auto 40px;
  transform:none}
.wheel-page .wheel-x{display:none}
.wheel-page .wheel-cta{display:none}

/* Remerciement, entre le titre et le sous-titre. Discret : c'est une mention
   de gratitude, pas une accroche. */
.wheel-credit{margin:0 0 6px;font-size:11.5px;letter-spacing:1.4px;
  text-transform:uppercase;color:#6b8a76}
.wheel-credit:empty{display:none}
/* Descriptions mises en page : sans respiration entre les blocs, 1300
   caracteres restent un mur meme decoupes en paragraphes. */
.wheel-desc h4{margin:14px 0 5px;font-size:13px;letter-spacing:1.4px;
  text-transform:uppercase;color:#8fe0b6;font-weight:700}
.wheel-desc h4:first-child{margin-top:0}
.wheel-desc p{margin:0 0 9px;font-size:13px;line-height:1.7;color:#b8c4cb}
.wheel-desc ul{margin:0 0 10px;padding-left:18px}
.wheel-desc li{font-size:13px;line-height:1.65;color:#b8c4cb;margin-bottom:3px}
.wheel-desc strong{color:#dbe4e9;font-weight:700}
.wheel-desc{max-height:none}
