@font-face{
  font-family:'Nexus rajdhani';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/rw-nexus-rajdhani-0.ttf') format('truetype');
}
@font-face{
  font-family:'Nexus rajdhani';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/rw-nexus-rajdhani-1.ttf') format('truetype');
}
@font-face{
  font-family:'Nexus rajdhani';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/rw-nexus-rajdhani-2.ttf') format('truetype');
}
@font-face{
  font-family:'Nexus space-grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/rw-nexus-space-grotesk-0.ttf') format('truetype');
}
@font-face{
  font-family:'Nexus space-grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/rw-nexus-space-grotesk-1.ttf') format('truetype');
}
@font-face{
  font-family:'Nexus space-grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/rw-nexus-space-grotesk-2.ttf') format('truetype');
}
@font-face{
  font-family:'Nexus space-grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/rw-nexus-space-grotesk-3.ttf') format('truetype');
}
/* Nexus Arena : thème limité à l'accueil. Les cartes et actions restent celles du jeu. */
.modern-ui.home-page{background:#080f18;color:#edf4fa;font-family:'Nexus space-grotesk','Segoe UI',sans-serif}
.modern-ui.home-page .body{background:#080f18}
.modern-ui.home-page .sidebar{background:#0b131e!important;border-bottom:1px solid #2c3d4c;padding:18px 24px!important}
.modern-ui.home-page .brand,.modern-ui.home-page .brand-logo{width:200px!important;height:74px!important;aspect-ratio:480/178}
.modern-ui.home-page .brand-logo{background-image:url('assets/logo-rw-gallery.webp');background-size:contain!important;background-repeat:no-repeat;background-position:center}
.modern-ui.home-page .topbar{background:#0b131e;border-color:#2c3d4c}
.modern-ui.home-page .account-toggle,.modern-ui.home-page .install-toggle,.modern-ui.home-page .admin-toggle,.modern-ui.home-page .music-controls button,.modern-ui.home-page #gameLanguage{background:#142230;color:#edf4fa;border-color:#3b4e60}
.modern-ui.home-page .level{color:#72eedc;background:#132f31;border-color:#326365}
.modern-ui.home-page #main{max-width:1400px;padding:20px 32px 36px}
.modern-ui.home-page #mainNavigation{margin:0 0 20px;gap:5px}
.modern-ui.home-page #mainNavigation>a,.modern-ui.home-page #mainNavigation summary{font:500 14px/1.4 'Nexus space-grotesk','Segoe UI',sans-serif;background:transparent;border-color:transparent;box-shadow:none;padding:11px 15px;color:#a6b7c6;border-radius:5px}
.modern-ui.home-page #mainNavigation>a.active{background:#182a32;color:#72eedc;border-color:transparent}
.modern-ui.home-page #mainNavigation>a:hover,.modern-ui.home-page #mainNavigation summary:hover{background:#142230;color:#edf4fa}
.gallery-home-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:30px;align-items:center;min-height:490px;padding:38px;border:1px solid #2c3d4c;border-radius:12px;background:linear-gradient(90deg,#080f18ed 5%,#080f18a6 50%,#080f1866),url('assets/nexus-ring.webp') center/cover}
.gallery-home-hero>*{min-width:0}
.gallery-home-copy{max-width:540px}
.gallery-home-copy .launch-free-badge{display:inline-block;margin:0 0 20px;padding:7px 10px;background:#112c2fe8;color:#9af9e9;border:1px solid #2a6261;border-radius:4px;font:500 12px/1.5 'Nexus space-grotesk','Segoe UI',sans-serif}
.gallery-home-copy .eyebrow{display:block;margin:0 0 12px;color:#72eedc;font:700 13px/1.5 'Nexus rajdhani','Segoe UI',sans-serif;letter-spacing:.15em;overflow-wrap:anywhere}
.gallery-home-copy h1{font:700 clamp(48px,5.3vw,76px)/.97 'Nexus rajdhani','Segoe UI',sans-serif;letter-spacing:-.02em;margin:0 0 22px;text-transform:uppercase;overflow-wrap:anywhere}
.gallery-home-copy h1 span{display:block}
.gallery-home-copy h1 span:last-child{color:#72eedc}
.gallery-home-intro{font:400 15px/1.7 'Nexus space-grotesk','Segoe UI',sans-serif;color:#bdcddd;max-width:430px;margin:0 0 24px}
.gallery-home-copy .button-row{gap:10px;margin-bottom:8px;flex-wrap:wrap}
.modern-ui.home-page .gallery-primary{background:#72eedc;color:#08131a;border:1px solid #72eedc;box-shadow:none;min-height:48px;border-radius:4px;font:700 14px/1.4 'Nexus space-grotesk','Segoe UI',sans-serif;padding:14px 22px}
.modern-ui.home-page .gallery-primary:hover{background:#a1fff1;border-color:#a1fff1}
.modern-ui.home-page .gallery-secondary{background:#142230;color:#edf4fa;border:1px solid #3b4e60;font:500 13px/1.4 'Nexus space-grotesk','Segoe UI',sans-serif;min-height:48px;border-radius:4px;padding:14px 18px}
.modern-ui.home-page #main .text-link,.gallery-home-hero .clean-career-link{color:#94f1e3;font:500 13px/1.5 'Nexus space-grotesk','Segoe UI',sans-serif;text-decoration:none}
.modern-ui.home-page #main .text-link:hover{text-decoration:underline;text-underline-offset:4px}
.gallery-customize{background:none;border:0;cursor:pointer;display:block;min-height:44px;text-align:left;margin:5px 0 0;padding:6px 0}
.gallery-home-hero .clean-career-link{margin-top:5px;font-size:12px}
.gallery-home-hero .home-owned-showcase{padding:20px 8px;background:radial-gradient(ellipse at 50% 60%,#40d5d426,transparent 70%);gap:26px;max-width:600px;width:100%;justify-self:end}
.gallery-home-hero .home-featured-card{gap:12px;rotate:-6deg}
.gallery-home-hero .home-featured-card:nth-child(2){rotate:6deg}
.gallery-home-hero .home-featured-card .card{max-width:245px}
.gallery-home-hero .home-featured-card .card:hover,.gallery-home-hero .home-featured-card .card:focus-visible{filter:drop-shadow(0 0 14px #72eedc66)}
.gallery-home-hero .home-card-hint{font:500 12px/1.5 'Nexus space-grotesk','Segoe UI',sans-serif;color:#d1ece8;text-align:center;background:#08131aca;padding:3px 7px;border-radius:3px}
.gallery-home-hero .home-card-empty{border-color:#518d91;color:#c8d8e2;background:#101e2ae8}
.gallery-home-hero .home-card-empty strong{color:#72eedc}
.gallery-home-collection{padding-top:25px}
.gallery-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}
.gallery-section-heading h2{font:700 26px/1.2 'Nexus rajdhani','Segoe UI',sans-serif;letter-spacing:.02em;margin:0;text-transform:uppercase}
.gallery-section-heading a{white-space:nowrap}
.gallery-home-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.gallery-home-shortcuts>a{display:flex;flex-direction:column;gap:10px;min-width:0;padding:22px;border:1px solid #2c3d4c;border-radius:8px;background:#111e2a;text-decoration:none;color:#edf4fa;transition:background .18s,border-color .18s}
.gallery-home-shortcuts>a:hover{background:#162b36;border-color:#508d8c}
.gallery-home-shortcuts svg{width:25px;height:25px;color:#72eedc}
.gallery-home-shortcuts strong{font:600 17px/1.4 'Nexus space-grotesk','Segoe UI',sans-serif;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.gallery-home-shortcuts>a>span{font:400 13px/1.6 'Nexus space-grotesk','Segoe UI',sans-serif;color:#a6b7c6}
.gallery-owned-count{color:#72eedc;font-size:13px;font-weight:500;white-space:nowrap}
.gallery-mission-badge{display:inline-grid;place-items:center;border-radius:50%;background:#72eedc;color:#08131a;min-width:24px;height:24px;font-size:12px}
.gallery-home-guide{max-width:none;width:100%;margin:18px 0 0;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 22px;border-radius:8px;background:#10232b;border:1px solid #2c4650}
.gallery-home-guide h2{font:700 20px/1.4 'Nexus rajdhani','Segoe UI',sans-serif;margin:0 0 5px}
.gallery-home-guide p,.gallery-home-guide.launch-free-help p{font:400 13px/1.6 'Nexus space-grotesk','Segoe UI',sans-serif;color:#b5c8d4;margin:3px 0}
.gallery-home-guide .text-link{flex-shrink:0;min-height:44px;display:inline-flex;align-items:center}
.modern-ui.home-page .home-promo{background:#111e2a;border-color:#2c3d4c;border-radius:8px;padding:18px 22px;grid-template-columns:minmax(180px,1fr) minmax(300px,1fr)}
.modern-ui.home-page .home-promo label{font:700 22px/1.4 'Nexus rajdhani','Segoe UI',sans-serif}
.modern-ui.home-page .home-promo p{color:#a6b7c6}
.modern-ui.home-page .home-promo input{background:#0b1622;border-color:#557080;font-size:16px}
.modern-ui.home-page .home-promo .btn{background:#72eedc;color:#08131a;border-color:#72eedc;box-shadow:none;font:700 13px/1.4 'Nexus space-grotesk','Segoe UI',sans-serif;min-height:44px;border-radius:4px}
.modern-ui.home-page footer{background:#080f18;border-color:#2c3d4c;color:#a6b7c6}
@media(max-width:1100px){.modern-ui.home-page #main{padding-inline:26px}.gallery-home-hero{gap:24px;padding:28px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:440px}.gallery-home-copy h1{font-size:clamp(43px,5.5vw,60px)}.gallery-home-hero .home-owned-showcase{gap:18px;padding-inline:0}.gallery-home-shortcuts>a{padding:18px}}
@media(max-width:760px){
 .modern-ui.home-page .sidebar{padding:14px 12px!important}
 .modern-ui.home-page .brand,.modern-ui.home-page .brand-logo{width:180px!important;height:67px!important}
 .modern-ui.home-page #main{padding:14px 16px 28px}
 .modern-ui.home-page #mainNavigation{margin-bottom:8px}
 .gallery-home-hero{grid-template-columns:minmax(0,1fr);gap:14px;padding:24px 20px;min-height:0;background-position:60% center}
 .gallery-home-copy{max-width:100%}
 .gallery-home-copy h1{font-size:clamp(38px,10.6vw,58px);margin-bottom:18px}
 .gallery-home-copy .launch-free-badge{font-size:11px;margin-bottom:16px}
 .gallery-home-intro{font-size:14px;line-height:1.65;margin-bottom:20px}
 .gallery-home-copy .eyebrow{font-size:12px}
 .gallery-home-hero .home-owned-showcase{padding:20px 6px;gap:18px;max-width:440px;justify-self:center}
 .gallery-home-hero .home-featured-card{rotate:-3deg}
 .gallery-home-hero .home-featured-card:nth-child(2){rotate:3deg}
 .gallery-home-hero .home-featured-card .card{max-width:200px}
 .gallery-home-hero .home-card-hint{font-size:11px}
 .gallery-home-hero .clean-career-link{min-height:44px;display:flex;align-items:center}
 .gallery-section-heading{align-items:flex-start;gap:14px;margin-bottom:14px}
 .gallery-section-heading h2{font-size:23px;max-width:260px}
 .gallery-section-heading .text-link{min-height:44px;display:inline-flex;align-items:center}
 .gallery-home-shortcuts{grid-template-columns:minmax(0,1fr);gap:10px}
 .gallery-home-shortcuts>a{display:grid;grid-template-columns:28px minmax(0,1fr);gap:5px 13px;padding:17px 18px}
 .gallery-home-shortcuts svg{grid-row:span 2}
 .gallery-home-shortcuts>a>span{grid-column:2}
 .gallery-home-shortcuts strong{font-size:15px}
 .gallery-home-guide{flex-direction:column;align-items:flex-start;gap:10px;padding:18px}
 .modern-ui.home-page .home-promo{grid-template-columns:minmax(0,1fr);padding:18px}
 .modern-ui.home-page .home-promo-controls{flex-wrap:wrap}
 .modern-ui.home-page .home-promo input{flex:1 1 170px;min-width:0}
 .modern-ui.home-page .home-promo .btn{flex:1 1 auto}
}
@media(prefers-reduced-motion:reduce){.gallery-home-shortcuts>a{transition:none}}
