/* Accueil Galerie sélectionné par l'utilisateur. Présentation uniquement. */
.modern-ui.home-page{background:#10100f;color:#f5f6f2}
.modern-ui.home-page .body{background:#10100f}
.modern-ui.home-page .sidebar{background:#151614!important;border-bottom:1px solid #35372e;padding:17px 24px!important}
.modern-ui.home-page .brand,.modern-ui.home-page .brand-logo{width:270px!important;height:100px!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:#10120f;border-color:#35372e}
.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:#20251f;color:#e8eade;border-color:#494e3f}
.modern-ui.home-page .level{color:#edcf93;background:#2c291e;border-color:#655637}
.modern-ui.home-page #main{max-width:1240px;padding:22px 32px 36px}
.modern-ui.home-page #mainNavigation{margin:0 0 18px;gap:6px}
.modern-ui.home-page #mainNavigation>a,.modern-ui.home-page #mainNavigation summary{font:600 13px/1.4 'Segoe UI',Arial,sans-serif;background:transparent;border-color:transparent;box-shadow:none;padding:11px 15px;color:#c0c9bb;border-radius:8px}
.modern-ui.home-page #mainNavigation>a.active{background:#2c3429;color:#f7f6ee;border-color:#48533d}
.modern-ui.home-page #mainNavigation>a:hover,.modern-ui.home-page #mainNavigation summary:hover{background:#252a22}
.gallery-home-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:38px;align-items:center;padding:24px 0 34px;border-bottom:1px solid #3b3b2f;min-height:380px}
.gallery-home-hero>*{min-width:0}
.gallery-home-copy{max-width:480px}
.gallery-home-copy .launch-free-badge{display:inline-block;margin:0 0 23px;padding:7px 11px;border:1px solid #66532d;border-radius:6px;background:#302817;color:#f6dfb4;font:600 12px/1.5 'Segoe UI',Arial,sans-serif}
.gallery-home-copy .eyebrow{display:block;margin:0 0 14px;color:#dfbd76;font-size:12px;letter-spacing:.1em;overflow-wrap:anywhere}
.gallery-home-copy h1{font:800 clamp(37px,4.3vw,55px)/1.07 'Segoe UI',Arial,sans-serif;letter-spacing:-.04em;margin:0 0 20px;text-transform:none}
.gallery-home-copy h1 span{display:block}
.gallery-home-intro{font:400 15px/1.7 'Segoe UI',Arial,sans-serif;color:#bdc6b8;max-width:440px;margin:0 0 23px}
.gallery-home-copy .button-row{gap:10px;margin-bottom:8px}
.modern-ui.home-page .gallery-primary{background:#dfbd76;color:#19180e;border:1px solid #dfbd76;box-shadow:none;min-height:46px;border-radius:9px;font:700 14px/1.4 'Segoe UI',Arial,sans-serif;padding:12px 20px}
.modern-ui.home-page .gallery-primary:hover{background:#efd39e;border-color:#efd39e}
.modern-ui.home-page .gallery-secondary{background:#252920;color:#f1f2e9;border-color:#4a503e;font:600 13px/1.4 'Segoe UI',Arial,sans-serif;min-height:46px;border-radius:9px}
.modern-ui.home-page #main .text-link,.gallery-home-hero .clean-career-link{color:#dfbd76;font:600 13px/1.5 'Segoe UI',Arial,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:6px 0 0;padding:6px 0}
.gallery-home-hero .clean-career-link{margin-top:6px;font-size:12px}
.gallery-home-hero .home-owned-showcase{padding:25px 10px;background:radial-gradient(ellipse at 50% 70%,#5a482b40,transparent 69%);gap:28px;max-width:570px;width:100%;justify-self:end}
.gallery-home-hero .home-featured-card{gap:12px}
.gallery-home-hero .home-featured-card .card{max-width:230px}
.gallery-home-hero .home-featured-card .card:hover,.gallery-home-hero .home-featured-card .card:focus-visible{filter:drop-shadow(0 0 13px #dfbd7655)}
.gallery-home-hero .home-card-hint{font:400 12px/1.5 'Segoe UI',Arial,sans-serif;color:#dbc38e}
.gallery-home-hero .home-card-empty{border-color:#695e43;color:#d7dacd;background:#191d16}
.gallery-home-hero .home-card-empty strong{color:#dfbd76}
.gallery-home-collection{padding-top:26px}
.gallery-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}
.gallery-section-heading h2{font:700 23px/1.25 'Segoe UI',Arial,sans-serif;letter-spacing:-.02em;margin:0}
.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 #3b4032;border-radius:15px;background:#1a1e18;text-decoration:none;color:#f1f3eb;transition:background .18s,border-color .18s}
.gallery-home-shortcuts>a:hover{background:#232a1f;border-color:#76633e}
.gallery-home-shortcuts svg{width:25px;height:25px;color:#dfbd76}
.gallery-home-shortcuts strong{font:700 16px/1.4 'Segoe UI',Arial,sans-serif;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.gallery-home-shortcuts>a>span{font:400 13px/1.5 'Segoe UI',Arial,sans-serif;color:#b9c5b1}
.gallery-owned-count{color:#dfbd76;font-size:13px;font-weight:600;white-space:nowrap}
.gallery-mission-badge{display:inline-grid;place-items:center;border-radius:50%;background:#dfbd76;color:#18190f;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:12px;background:#19231d;border:1px solid #354b3a}
.gallery-home-guide h2{font:700 16px/1.4 'Segoe UI',Arial,sans-serif;margin:0 0 5px}
.gallery-home-guide p,.gallery-home-guide.launch-free-help p{font:400 13px/1.6 'Segoe UI',Arial,sans-serif;color:#bec9b8;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:#181d17;border-color:#494d3a;border-radius:12px;padding:18px 22px;grid-template-columns:minmax(180px,1fr) minmax(300px,1fr)}
.modern-ui.home-page .home-promo label{font:700 18px/1.4 'Segoe UI',Arial,sans-serif}
.modern-ui.home-page .home-promo p{color:#b9c5b1}
.modern-ui.home-page .home-promo input{background:#0e130f;border-color:#566148;font-size:16px}
.modern-ui.home-page .home-promo .btn{background:#dfbd76;color:#19180e;border-color:#dfbd76;box-shadow:none;font:700 13px/1.4 'Segoe UI',Arial,sans-serif;min-height:44px}
.modern-ui.home-page footer{background:#10100f;border-color:#333c2d;color:#aab7a0}
@media(max-width:1000px){.modern-ui.home-page #main{padding-inline:26px}.gallery-home-hero{gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}.gallery-home-copy h1{font-size:42px}.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:16px 12px!important}
 .modern-ui.home-page .brand,.modern-ui.home-page .brand-logo{width:236px!important;height:87.5px!important}
 .modern-ui.home-page #main{padding:18px 18px 28px}
 .gallery-home-hero{grid-template-columns:minmax(0,1fr);gap:10px;padding:15px 0 26px;min-height:0}
 .gallery-home-copy{max-width:100%}
 .gallery-home-copy h1{font-size:clamp(35px,9vw,44px);margin-bottom:16px}
 .gallery-home-copy .launch-free-badge{font-size:11px;margin-bottom:18px}
 .gallery-home-intro{font-size:14px;line-height:1.65;margin-bottom:20px}
 .gallery-home-copy .eyebrow{font-size:11px}
 .gallery-home-hero .home-owned-showcase{padding:12px 4px;gap:18px;max-width:450px;justify-self:center}
 .gallery-home-hero .home-featured-card .card{max-width:200px}
 .gallery-home-hero .home-card-hint{font-size:11px;text-align:center}
 .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:21px;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}
 .modern-ui.home-page .home-promo .btn{flex:1 1 auto}
}
@media(prefers-reduced-motion:reduce){.gallery-home-shortcuts>a{transition:none}}
