/* SG Star Assault : menu « affichage tête haute » du cockpit. Verre sombre, filets cyan, coins coupés,
   lignes de balayage. Ni dorure ni volume : de la lumière sur du verre. */
.sgp-jouer,.sgp-secondaire,.sgp-rond{position:relative;isolation:isolate;border-radius:0!important;background:none!important;box-shadow:none!important;text-shadow:0 0 8px rgba(53,224,255,.55)!important;letter-spacing:.16em!important;text-transform:uppercase}
.sgp-jouer::before,.sgp-secondaire::before,.sgp-rond::before{content:"";position:absolute;inset:0;z-index:-2;background:#35e0ff;
  clip-path:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px)}
.sgp-jouer::after,.sgp-secondaire::after,.sgp-rond::after{content:"";position:absolute;inset:2px;z-index:-1;
  background:repeating-linear-gradient(180deg,rgba(53,224,255,.06) 0 1px,transparent 1px 4px),linear-gradient(180deg,rgba(8,26,52,.92),rgba(4,12,28,.95));
  clip-path:polygon(13px 0,100% 0,100% calc(100% - 13px),calc(100% - 13px) 100%,0 100%,0 13px)}
.sgp-secondaire{color:#bff4ff!important}
.sgp-secondaire .sgp-ico,.sgp-secondaire svg{stroke:#35e0ff!important}
/* JOUER : le seul élément plein, il pulse doucement */
.sgp-jouer{color:#04111f!important;text-shadow:none!important}
.sgp-jouer::after{background:repeating-linear-gradient(180deg,rgba(255,255,255,.12) 0 1px,transparent 1px 4px),linear-gradient(180deg,#5ef0ff,#1fb6e0)!important;animation:sgs-pulse 2.4s ease-in-out infinite}
@keyframes sgs-pulse{0%,100%{filter:brightness(1)}50%{filter:brightness(1.18)}}
/* défi du jour : alerte violette */
.sgs-btn-defi::before{background:#b07bff!important}
.sgs-btn-defi{color:#e6d6ff!important;text-shadow:0 0 8px rgba(176,123,255,.6)!important}
.sgs-btn-defi svg{stroke:#b07bff!important}
.sgp-rond{width:48px!important;height:44px!important}
.sgp-rond.off::before{background:#4a5a72}
.sgp-jouer:active,.sgp-secondaire:active,.sgp-rond:active{transform:translateY(2px);filter:brightness(1.3)}
.sgp-accroche,.sgs-info-defi{color:#7fe9ff!important;letter-spacing:.2em}
/* en paysage, un cadre de visée derrière la colonne : quatre équerres et une grille fine */
@media (max-height:560px) and (orientation:landscape){
  .sgp-accueil-centre{z-index:0}
  .sgp-accueil-centre::before{content:"";position:absolute;grid-column:2;grid-row:1/span 6;top:4px;bottom:6px;left:-14px;right:2px;z-index:-1;pointer-events:none;
    background:
      linear-gradient(#35e0ff,#35e0ff) top left/34px 3px no-repeat,linear-gradient(#35e0ff,#35e0ff) top left/3px 34px no-repeat,
      linear-gradient(#35e0ff,#35e0ff) top right/34px 3px no-repeat,linear-gradient(#35e0ff,#35e0ff) top right/3px 34px no-repeat,
      linear-gradient(#35e0ff,#35e0ff) bottom left/34px 3px no-repeat,linear-gradient(#35e0ff,#35e0ff) bottom left/3px 34px no-repeat,
      linear-gradient(#35e0ff,#35e0ff) bottom right/34px 3px no-repeat,linear-gradient(#35e0ff,#35e0ff) bottom right/3px 34px no-repeat,
      linear-gradient(rgba(53,224,255,.07) 1px,transparent 1px) 0 0/22px 22px,linear-gradient(90deg,rgba(53,224,255,.07) 1px,transparent 1px) 0 0/22px 22px,
      rgba(3,10,24,.6);
    backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
}
.sgp-rond.off svg{opacity:.35}

/* le bouton pause reste posé dans la scène (la règle .sgp-rond ci-dessus le remettait dans le flux, hors de l’écran) */
.sgs-pause{position:absolute!important;left:12px!important;bottom:max(14px,env(safe-area-inset-bottom))!important;top:auto!important}
/* textes centrés : accroche de l'accueil, résumés et titre du classement à la même largeur */
.sgp-accroche{text-align:center;text-wrap:balance}
.sgs-defi-resume{align-self:stretch;width:100%;box-sizing:border-box;text-align:center;align-items:center}
.sgs-titre-liste{text-align:center}
/* son coupé : le bouton reste lisible (contour gris clair, icône visible, barre rouge) */
.sgp-rond.off::before{background:#7f93b3}
.sgp-rond.off svg{opacity:.75}
.sgp-rond.off::after{left:2px;right:2px;top:2px;bottom:2px;height:auto;margin:0;border-radius:0;transform:none;box-shadow:none;
  background:linear-gradient(135deg,transparent calc(50% - 1.5px),#ff6474 calc(50% - 1.5px),#ff6474 calc(50% + 1.5px),transparent calc(50% + 1.5px)),linear-gradient(180deg,rgba(8,26,52,.92),rgba(4,12,28,.95))}

/* 1.6.1 (22/11) : sur ordinateur, les trois univers sur une seule rangée (Cartoon était seul en dessous,
   et le menu dépassait de l'écran en hauteur : 965 px pour 911). */
@media (min-width:900px) and (min-height:561px){
  .sgp-accueil-centre{max-width:920px}
  .sgs-univers{grid-template-columns:repeat(3,minmax(0,1fr));width:min(880px,92vw);gap:16px}
  .sgs-univers .sgs-univers-cartoon{grid-column:auto;width:auto;justify-self:stretch}
}
