/* NxRoms v283 — page Arcade dynamique, alimentée par les fiches Arcade de l'Admin */
.nx-arcade-packs-page{display:none}
body.nx207-arcade-mode .nx207-sidebar,
body.nx207-arcade-mode .nx207-hero,
body.nx207-arcade-mode .nx207-catalog,
body.nx207-arcade-mode .nx207-footer{display:none!important}
body.nx207-arcade-mode .nx207-main{
  min-height:100vh;
  padding:calc(var(--nx207-header) + 44px) 34px 54px!important;
}
body.nx207-arcade-mode .nx-arcade-packs-page{display:block!important;max-width:1320px;margin:0 auto}
.nx-arcade-pack-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:stretch}
.nx-arcade-loading,.nx-arcade-empty{min-height:240px;display:grid;place-items:center;text-align:center;color:#8590a6;font:800 16px/1.4 Inter,Arial,sans-serif}
.nx-arcade-pack-fallback{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(145deg,#eee9ff,#e8e1ff);color:#b69cf8;font:900 clamp(38px,5vw,68px)/1 Outfit,Inter,Arial,sans-serif;letter-spacing:-.06em}
.nx-arcade-pack-card{
  min-width:0;overflow:hidden;border-radius:18px;
  border:1px solid rgba(100,91,139,.14);
  background:rgba(255,255,255,.90);
  box-shadow:0 18px 48px rgba(72,66,106,.13);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.nx-arcade-pack-card:hover{transform:translateY(-5px);border-color:rgba(124,58,237,.26);box-shadow:0 25px 60px rgba(75,59,127,.19)}
.nx-arcade-pack-cover{position:relative;width:100%;aspect-ratio:328/531;overflow:hidden;background:#d6c8ad}
.nx-arcade-pack-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .25s ease}
.nx-arcade-pack-card:hover .nx-arcade-pack-cover img{transform:scale(1.018)}
.nx-arcade-pack-body{padding:18px}
.nx-arcade-pack-body h2{margin:0 0 15px;color:#252839;font:850 17px/1.2 Outfit,Inter,Arial,sans-serif;letter-spacing:-.02em;text-align:center}
.nx-arcade-pack-download{
  min-height:46px;width:100%;display:flex;align-items:center;justify-content:center;gap:9px;
  padding:0 13px;border-radius:11px;text-decoration:none;
  color:#fff;background:linear-gradient(135deg,#8b5cf6,#6d28d9);
  box-shadow:0 10px 24px rgba(109,40,217,.25);
  font:800 12px/1.2 Inter,Arial,sans-serif;text-align:center;
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;
}
.nx-arcade-pack-download:hover{transform:translateY(-1px);filter:brightness(1.035);box-shadow:0 13px 28px rgba(109,40,217,.31)}
.nx-arcade-pack-download svg{width:18px;height:18px;flex:0 0 auto}
.nx-arcade-pack-download.is-placeholder{cursor:pointer}
html.nx-theme-dark .nx-arcade-pack-fallback{background:linear-gradient(145deg,#171d33,#11182c);color:#626b91}
html.nx-theme-dark .nx-arcade-loading,html.nx-theme-dark .nx-arcade-empty{color:#9aa6bd}
html.nx-theme-dark body.nx207-arcade-mode .nx-arcade-pack-card{background:rgba(21,27,47,.94);border-color:rgba(148,163,184,.14);box-shadow:0 20px 50px rgba(0,0,0,.28)}
html.nx-theme-dark .nx-arcade-pack-body h2{color:#f7f7fb}
html.nx-theme-dark body.nx207-arcade-mode .nx-arcade-pack-card:hover{border-color:rgba(139,92,246,.42);box-shadow:0 26px 60px rgba(0,0,0,.38)}
@media(max-width:1120px){.nx-arcade-pack-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:700px;margin:0 auto}}
@media(max-width:640px){body.nx207-arcade-mode .nx207-main{padding:calc(var(--nx207-header) + 24px) 14px 34px!important}.nx-arcade-pack-grid{grid-template-columns:1fr;max-width:330px;gap:18px}.nx-arcade-pack-body{padding:14px}.nx-arcade-pack-body h2{font-size:16px}}
