/* Compact shared EN/FR selector. Keeps branding and navigation intact. */
.language-switch{display:inline-flex;align-items:center;justify-content:center;gap:3px;border-left:1px solid #25323e;padding-left:17px;flex-shrink:0}
.language-switch button{background:none;border:0;color:#9aa5ae;font-size:11px;letter-spacing:.075em;font-weight:800;line-height:1;min-height:34px;padding:7px 6px;transition:color .2s ease;cursor:pointer}
.language-switch button[aria-pressed="true"]{color:#ff7832}
.language-switch button:hover{color:#fff}
.language-switch .language-separator{color:#626a71;font-size:10px;user-select:none}
@media(max-width:900px){
  .topbar-inner{gap:10px}
  .top-social{margin-left:auto}
  .language-switch{order:2;padding-left:8px;gap:0;border-left:1px solid #27333e}
  .mobile-menu{order:3;margin-left:2px}
}
@media(max-width:600px){
  .topbar-inner{gap:6px}
  .studio-logo img{width:clamp(116px,37vw,154px)}
  .top-social{gap:7px}
  .top-social svg{width:17px;height:17px}
  .language-switch{padding-left:4px}
  .language-switch button{font-size:10px;padding:5px 4px;min-height:30px}
  .mobile-menu{width:30px}
}
@media(max-width:355px){.studio-logo img{width:117px}.top-social{gap:4px}.topbar-inner{gap:4px}}

/* Concise privacy disclosure displayed directly before the contact form submission. */
.atg-page .pg-privacy-note{font-size:13px;line-height:1.6;color:#aeb7be;margin:4px 0 0;max-width:560px}
.atg-page .pg-privacy-note a{color:#ff9a66;text-decoration:underline;text-decoration-underline-offset:4px}
.atg-page .pg-privacy-note a:hover{color:#fff}

/* Primary account & launcher portal. The marketing website remains on OVH. */
.account-portal-link{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  flex:0 0 auto;min-height:40px;padding:9px 13px;
  background:#ff7832;color:#0a0c0f!important;border:1px solid #ff7832;
  font-size:11px;line-height:1;font-weight:850;letter-spacing:.075em;
  white-space:nowrap;transition:background-color .22s ease,transform .22s ease
}
.account-portal-link:hover{background:#ff9b61;transform:translateY(-1px)}
.account-portal-icon{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}
.nav-portal-link{display:none}
.editorial-home .atg-launcher-link{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;min-height:51px;margin:15px 0 0 12px;padding:13px 10px;border-bottom:2px solid #ff7832;color:#f2f2ed;font-size:13px;font-weight:800;letter-spacing:.05em;vertical-align:middle;transition:color .2s ease}
.editorial-home .atg-launcher-link:hover{color:#ff7832}
.editorial-home .atg-launcher-link:hover .atg-arrow{transform:translate(4px,-4px)}
.atg-page .pg-account-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 40px}
@media (min-width:901px) and (max-width:1250px){
  .topbar-inner{gap:18px}
  .nav{gap:22px}
  .studio-logo img{width:215px}
  .top-social{gap:15px;padding-left:16px}
  .language-switch{padding-left:10px}
}
@media(max-width:900px){
  .account-portal-link{order:0;min-height:38px;padding:8px 11px}
  .nav .nav-portal-link{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    background:#ff7832;color:#090b0e!important;margin-top:12px;padding:13px 16px;
    min-height:48px;font-size:12px;font-weight:850;letter-spacing:.075em
  }
  .nav .nav-portal-link:hover{background:#ff9b61}
  .nav .nav-portal-link .account-portal-icon{width:19px;height:19px}
}
@media(max-width:700px){
  .account-portal-link{width:36px;height:36px;min-height:36px;padding:6px}
  .account-portal-link>span{display:none}
  .account-portal-icon{width:20px;height:20px;flex-basis:20px}
  .topbar-inner{gap:6px}
  .studio-logo img{width:clamp(108px,31vw,155px)}
  .top-social{gap:7px}
  .top-social svg{width:18px;height:18px}
  .language-switch{padding-left:5px}
  .mobile-menu{margin-left:1px}
  .editorial-home .atg-launcher-link{margin-left:0}
}
@media(max-width:355px){
  .studio-logo img{width:107px}
  .account-portal-link{width:34px;height:34px;min-height:34px}
  .topbar-inner{gap:4px}
  .top-social{gap:4px}
  .language-switch button{padding:5px 3px}
}
@media(prefers-reduced-motion:reduce){.account-portal-link,.editorial-home .atg-launcher-link{transition:none!important}}

/* Static, crawlable French game page language links. */
.language-switch .lang-link{
 display:inline-flex;min-height:34px;align-items:center;justify-content:center;
 padding:7px 6px;color:#9aa5ae;font-size:11px;line-height:1;
 letter-spacing:.075em;font-weight:800;transition:color .2s ease
}
.language-switch .lang-link:hover{color:#fff}
.language-switch .lang-link.is-active{color:#ff7832}
@media(max-width:600px){.language-switch .lang-link{font-size:10px;padding:5px 4px;min-height:30px}}
/* Long localized headings should wrap safely on compact screens. */
html[lang="fr"] .pg-vision-item h3{overflow-wrap:break-word}

/* Five navigation sections + account button: keep desktop header within the viewport. */
@media (min-width:901px) and (max-width:1100px){
 .topbar-inner{gap:11px}
 .studio-logo img{width:175px}
 .nav{gap:13px}
 .nav-item{font-size:11px;letter-spacing:.04em}
 .top-social{gap:10px;padding-left:11px}
 .top-social svg{width:19px;height:19px}
 .language-switch{padding-left:7px}
 .account-portal-link{width:38px;height:38px;min-height:38px;padding:8px}
 .account-portal-link>span{display:none}
}

/* Keep all footer links usable after adding PRESS. */
.footer-bar>div{flex-wrap:wrap;justify-content:flex-end;row-gap:12px}
@media(max-width:600px){.footer-bar>div{justify-content:flex-start}}
.language-switch .lang-link{color:#afb6be;font-size:11px;font-weight:850;letter-spacing:.07em;padding:7px 5px}
.language-switch .lang-link.is-active{color:#ff7832}
