body[data-screen="home"]{background:#090611}
body[data-screen="home"] .app-shell{width:min(1230px,calc(100% - 44px));min-height:0!important;padding-top:12px}
body[data-screen="home"] #app{flex:0 0 auto!important}
body[data-screen="home"] .topbar{border-color:#594176;background:#0c0820a8;backdrop-filter:blur(10px)}
body[data-screen="home"] .screen--home{grid-template-columns:minmax(0,.86fr) minmax(0,1fr);gap:34px;min-height:0!important;padding:35px 28px 22px!important;background:transparent!important;flex:0 0 auto!important;align-self:stretch;align-items:center;align-content:start;overflow:visible!important}
.screen--home .hero-copy{max-width:500px}.screen--home .hero-copy h1{font-size:clamp(3.75rem,6.7vw,6.2rem);line-height:.84}.screen--home .hero-tagline{margin:24px 0!important;font-size:1.05rem}.screen--home .hero-actions{width:min(100%,360px);gap:12px}.screen--home .hero-actions .button{min-height:52px;font-size:.84rem;border-radius:7px}.screen--home .home-links{width:min(100%,430px);gap:10px;margin-top:22px}.screen--home .home-links button{min-height:45px;border-radius:7px;font-size:.74rem;padding:7px 11px}.screen--home .home-links button:before{width:22px;height:22px;flex-basis:22px;margin-right:7px}
.screen--home .home-guide{max-width:430px;margin:20px 0 0;padding:13px 16px;border-color:#a46ac8;background:#171026c9}.screen--home .home-guide p{font-size:.78rem;line-height:1.5}.screen--home .home-guide p+p{font-size:.72rem;margin-top:8px}
.screen--home .hero-art{height:clamp(490px,67dvh,690px);min-height:0!important;align-self:center;border:1px solid #54366d!important;border-radius:12px;background-size:cover!important;background-position:center 53%!important;filter:none!important;box-shadow:0 22px 55px #020108aa,inset 0 0 0 1px #b464eb2b}
.screen--home .home-footer{grid-column:1/-1;margin-top:18px!important;padding:13px 0 3px;border-top:1px solid #3c2a56;font-size:.7rem}
@media(max-width:850px){body[data-screen="home"] .screen--home{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:18px}.screen--home .hero-art{height:540px}.screen--home .hero-copy h1{font-size:clamp(3.6rem,7.5vw,5.2rem)}}
@media(max-width:700px){body[data-screen="home"] .app-shell{width:calc(100% - 22px);padding-top:8px}body[data-screen="home"] .screen--home{display:grid;grid-template-columns:1fr;gap:16px;min-height:0!important;padding:78px 4px 10px!important}.screen--home .hero-copy{max-width:none}.screen--home .hero-copy h1{font-size:clamp(3.5rem,14vw,5rem)!important}.screen--home .hero-tagline{margin:14px 0!important;font-size:.96rem}.screen--home .hero-actions{width:100%;grid-template-columns:1fr 1fr}.screen--home .hero-actions .button{min-width:0;min-height:47px;font-size:.74rem}.screen--home .home-guide{max-width:none;margin-top:12px}.screen--home .home-links{width:100%;margin-top:12px!important}.screen--home .hero-art{position:relative;top:auto!important;bottom:auto!important;width:100%;height:230px!important;min-height:0!important;grid-row:2;background-size:cover!important;background-position:center 60%!important;opacity:1!important;mask-image:none;-webkit-mask-image:none}.screen--home .home-footer{grid-row:3;margin-top:0!important}}
@media(max-width:380px){.screen--home .hero-actions .button{font-size:.67rem}.screen--home .hero-art{height:195px!important}}

/* Un cadre simple, sans filets lumineux décoratifs. */
body:not([data-mode]) .topbar::before,body:not([data-mode]) .topbar::after,
.screen:not(.screen--game)::before,.screen:not(.screen--game)::after,
.screen:not(.screen--game) .section-heading::after{content:none!important;display:none!important}
.screen--home .hero-tagline,.screen--home .home-guide{border-left:0!important;padding-left:0}
.screen--home .home-guide{padding:16px 18px}
.screen--home .home-footer{border-top:0!important}

@media(min-width:701px){
  .app-shell,body[data-screen="home"] .app-shell{width:min(1640px,calc(100% - 64px))}
  body[data-screen="home"] .screen--home{grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);gap:clamp(28px,3vw,58px);padding:45px clamp(30px,3vw,54px) 25px!important}
  .screen--home .hero-copy{max-width:610px}
  .screen--home .hero-actions{width:min(100%,500px)}
  .screen--home .home-guide,.screen--home .home-links{max-width:540px;width:100%}
  .screen--home .hero-art{margin-top:40px;height:clamp(450px,61dvh,660px)}
  [data-screen="modes"] .mode-grid,[data-screen="achievements"] .achievement-grid,[data-screen="stats"] .stats-layout,[data-screen="skins"] .skins-layout{width:100%;max-width:none}
  [data-screen="options"] .options-card{width:min(100%,1320px);max-width:none}
  [data-screen="hall"] .tabs,[data-screen="hall"] .leaderboard{width:100%;max-width:none}
  [data-screen="gameover"] .gameover-card{width:min(100%,980px)}
}
@media(min-width:1100px){
  [data-screen="options"] .options-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:center;gap:10px 18px;padding:20px}
  [data-screen="options"] .option-row{min-height:68px;margin:0;padding:12px 16px;border:1px solid #3b2a66;border-radius:9px;background:#100b2b}
  [data-screen="options"] .option-row::before{content:none;display:none}
  [data-screen="options"] .fullscreen-button{grid-column:1/-1;margin:4px 0 0}
  [data-screen="achievements"] .achievement-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto;align-content:center}
}
@media(max-width:1099px) and (min-width:701px){
  body[data-screen="home"] .screen--home{padding-top:55px!important}
  .screen--home .hero-art{margin-top:28px;height:clamp(390px,58dvh,600px)}
}
@media(max-width:850px) and (min-width:701px){
  .screen--home .home-links{grid-template-columns:1fr}
  .screen--home .home-links button{min-height:39px}
  .screen:not(.screen--home):not(.screen--game) .section-heading .eyebrow{display:none}
}
@media(max-width:700px){
  .screen--home .hero-art{margin-top:0}
  .screen--home .home-guide{padding:14px 15px}
  .screen--home .home-footer{padding-top:8px}
}
@media(min-width:701px) and (max-height:820px){
  html:has(body[data-screen="home"]),body[data-screen="home"]{height:auto;overflow-y:auto}
  body[data-screen="home"] .app-shell{height:auto;min-height:100dvh}
  body[data-screen="home"] #app{flex:0 0 auto!important}
  body[data-screen="home"] #app>.screen--home.active{height:auto;min-height:0!important;overflow:visible!important}
}
