/* Le panneau prolonge le bandeau ; les familles occupent la première ligne. */
.head nav .menu-families .family-shortcut {
  display: inline-flex; align-items: center; gap: 9px; color: var(--navy);
  font: 700 clamp(1.15rem,1.44vw,1.55rem)/1.1 var(--display); padding: 3px 0; text-decoration: none;
}
.head nav .menu-families .family-shortcut:is(:hover,:focus-visible) { text-decoration: underline; text-decoration-color: var(--orange); }
.catalog-panel { padding: 0; border-radius: 0 0 12px 12px; }
.menu-families { padding: 19px 23px 21px; }
.menu-families section { margin-block-start: 0; }
.menu-catalogue-foot { background: #edf4f7; padding: 6px 23px; border-top: 1px solid #d8e4e9; }
.head nav .menu-catalogue-foot .all-games {
  display: inline-flex; align-items: center; gap: 9px; min-height: 38px;
  font: 700 1.18rem/1.2 var(--display); color: var(--navy); text-decoration: none; padding: 5px 0;
}
.menu-catalogue-foot .picto { width: 18px; height: 18px; }
.head nav .menu-catalogue-foot .all-games:is(:hover,:focus-visible) { text-decoration: underline; text-decoration-color: var(--orange); }
@media (min-width:1181px) {
  .head:has(.catalog-trigger[aria-expanded=true]) { border-bottom-right-radius: 0; }
  .catalog-panel { top: calc(100% - 1px); border-top: 1px solid #e2e9ed; }
}
@media (max-width:1180px) {
  .head nav.open { border-top-left-radius: 0; border-top-right-radius: 0; }
  .head:has(nav.open) { border-bottom-right-radius: 0; }
  .menu-families { padding: 7px 12px 13px; }
  .menu-catalogue-foot { padding: 3px 12px; }
  .head nav .menu-families .family-shortcut { font-size: 1.15rem; gap: 5px; }
  .catalog-panel { margin-top: 1px; border-radius: 0 0 6px 6px; }
}

main[data-page=activites], main[data-page=activite] { padding-top: 0; }
.cat-cover,.act-cover { background: var(--navy); color: white; position: relative; isolation: isolate; }
.cat-cover,.act-cover { overflow: hidden; }
.cat-panorama { position: absolute; inset: 0; z-index: -1; }
.cat-panorama img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 57% 54%; }
.cat-panorama::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#03283cf7 0%,#032a3ef2 18%,#03283ce8 32%,#03283c9c 50%,#03283c15 75%),linear-gradient(0deg,#07263a3b,transparent 45%); }
.cat-cover::after,.act-cover::after {
  content: ''; position: absolute; inset: auto 0 -1px; height: clamp(12px,1.7vw,26px);
  background: white; clip-path: polygon(0 100%,100% 0,100% 100%); pointer-events: none;
}
.cat-intro,.act-opening { min-height: clamp(450px,calc(17.5vw + 220px),535px); padding: calc(var(--bar-inset) + 105px) 0 clamp(36px,3vw,49px); }
.cat-intro { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.cat-crumb { display: inline-block; width: fit-content; color: #eff6fa; text-decoration-color: #aac5d3; font: 400 .92rem/1.35 var(--body); }
.cat-crumb:is(:hover,:focus-visible) { color: white; text-decoration-color: var(--orange); }
.cat-cover h1,.act-cover h1 {
  color: white; font: 700 clamp(3.9rem,6.6vw,7.5rem)/.98 var(--display); letter-spacing: 0; max-width: 18ch;
  margin: 18px 0 12px;
}
.cat-cover h1 { font-size: clamp(3.55rem,5.45vw,6.15rem); margin: 9px 0 8px; }
.cat-cover h1 em,.act-content h2 em { font-weight: 800; font-style: italic; }
.cat-cover h1 span,.act-cover h1 span { color: var(--orange); }
.cat-intro > p,.act-lead > p { font: 400 clamp(1.02rem,1.25vw,1.24rem)/1.48 var(--body); margin: 0; max-width: 45ch; color: white; }
.cat-guide { display: inline-flex; align-items: center; gap: 8px; color: white; margin-top: 7px; min-height: 34px; font-weight: 700; text-decoration-color: var(--orange); text-underline-offset: 5px; }
.cat-guide .picto { width: 22px; height: 22px; }
.cat-guide:is(:hover,:focus-visible) { color: white; text-decoration-thickness: 3px; }
.cat-content { padding: clamp(28px,3vw,50px) 0 clamp(50px,4.5vw,78px); }
.cat-explore-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 16px 18px; margin-bottom: clamp(22px,2vw,32px);
}
.cat-families { display: flex; flex-wrap: wrap; gap: 7px; }
.cat-families button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; min-height: 44px; border: 1px solid #bfced6; background: white; color: var(--navy); font: 700 clamp(1.1rem,1.32vw,1.35rem)/1.1 var(--display); border-radius: 7px; }
.cat-families .picto { width: 20px; height: 20px; }
.cat-families button[aria-pressed=true] { color: white; background: var(--navy); border-color: var(--navy); }
.cat-families button[aria-pressed=true] .picto { color: var(--orange); }
.cat-families button:is(:hover,:focus-visible) { box-shadow: inset 0 -3px var(--orange); }
.cat-field { position: relative; display: block; width: clamp(195px,19vw,290px); min-width: 0; }
.cat-field .picto { position: absolute; width: 19px; height: 19px; left: 13px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.cat-field input {
  width: 100%; min-width: 0; min-height: 44px; padding: 9px 12px 9px 42px;
  border: 1px solid #afc2ce; border-radius: 7px; background: white; color: var(--navy); font: 400 1rem/1.3 var(--body);
}
.cat-field input::placeholder { color: #486071; opacity: 1; }
.cat-choices { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px,1.3vw,21px); }
.cat-choice-panel {
  min-width: 0; padding: 20px clamp(16px,1.6vw,26px) 22px; border-radius: 10px;
  background: #edf4f7; color: var(--navy);
}
.mode-panel { background: var(--orange-pale); color: var(--navy); }
.cat-panel-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.cat-panel-heading h2 { font: 700 1.42rem/1.08 var(--display); color: inherit; margin: 0; }
.clear-criterion {
  padding: 0; color: inherit; font: 400 .89rem/1.1 var(--body); background: none; border: 0;
  text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 3px;
}
.clear-criterion[hidden] { display: none; }
.cat-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.place-panel .cat-options { grid-template-columns: repeat(3,minmax(0,1fr)); }
.cat-option {
  display: flex; align-items: center; justify-content: flex-start; gap: 9px; min-width: 0; min-height: 60px;
  padding: 8px 11px; border: 1px solid #b8cad4; border-radius: 6px;
  background: white; color: var(--navy); text-align: left;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.mode-panel .cat-option { border-color: #e1cfc4; }
.cat-option > .picto { width: 24px; height: 24px; }
.option-text { display: grid; gap: 3px; }
.option-text strong { font: 700 1.18rem/1.08 var(--display); }
.option-text small { color: #435d6b; font: 400 .86rem/1.2 var(--body); }
.cat-option[aria-pressed=true] { border-color: var(--navy); background: var(--navy); color: white; box-shadow: inset 0 -3px var(--orange); }
.mode-panel .cat-option[aria-pressed=true] { box-shadow: none; }
.cat-option[aria-pressed=true] small { color: white; }
.option-check { display: none; width: 12px; height: 7px; flex: none; border: solid currentColor; border-width: 0 0 2px 2px; margin: 0 1px 3px auto; transform: rotate(-45deg); }
.cat-option[aria-pressed=true] .option-check { display: block; }
@media(hover:hover) {
  .cat-option:hover { border-color: var(--navy); box-shadow: inset 0 -3px var(--orange); }
  .mode-panel .cat-option:hover { border-color: var(--navy); box-shadow: inset 0 -3px var(--navy); }
}
.mode-panel button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.cat-choice-panel button:focus-visible { position: relative; z-index: 1; }
.cat-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: clamp(25px,2.2vw,36px) 0 14px; min-height: 30px; }
.cat-summary p { font: 700 1.2rem/1.25 var(--display); margin: 0; }
.cat-summary button { border: 0; background: white; color: var(--navy); padding: 6px 0; font: 700 .9rem/1.3 var(--body); text-decoration: underline; text-underline-offset: 4px; }
.game-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(16px,1.55vw,25px) clamp(13px,1.2vw,20px); }
.game-tile { min-width: 0; }
.game-tile > a { color: var(--navy); text-decoration: none; display: flex; height: 100%; flex-direction: column; background: white; border: 1px solid #cad9e1; border-radius: 12px; overflow: hidden; }
.game-visual { position: relative; aspect-ratio: 1.91; overflow: hidden; background: var(--navy); }
.game-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(4,32,49,.94),rgba(4,32,49,.48) 27%,transparent 65%); }
.game-visual img { display: block; height: 100%; width: 100%; object-fit: cover; transition: transform .32s ease-out; }
.game-visual h2 { position: absolute; z-index: 1; inset: auto 14px 12px; margin: 0; color: white; font: italic 800 clamp(1.7rem,2.15vw,2.8rem)/1 var(--display); }
.game-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 13px 14px 14px; }
.tile-family { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font: 700 .9rem/1.35 var(--body); }
.tile-family .picto { width: 17px; height: 17px; color: var(--orange); }
.game-body p { font: 400 1rem/1.45 var(--body); margin: 6px 0 10px; }
.tile-mode { display: flex; align-items: center; gap: 7px; margin-top: auto; font-size:.9rem; color: #385360; }
.tile-mode::before { content: ''; width: 13px; height: 3px; transform: skewX(-22deg); background: var(--orange); }
.game-tile a:is(:hover,:focus-visible) { border-color: var(--navy); box-shadow: 0 5px 14px #01365719; }
.game-tile a:is(:hover,:focus-visible) img { transform: scale(1.035); }
.games-empty { padding: 28px; text-align: center; border: 1px solid #cfdee4; border-radius: 12px; }
.games-empty h2 { margin: 0; font-size: 2.4rem; }

.act-panorama { position: absolute; inset: 0; z-index: -1; }
.act-panorama::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#042437f5 0%,#042437db 26%,#04243782 48%,#04243712 78%),linear-gradient(0deg,#03192552,transparent 42%); }
.act-panorama .frame { object-position: 50% 47%; }
.act-cover.paused .frame { animation-play-state: paused; }
.act-opening { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.act-lead { align-self: center; }
.act-kind { display: flex; align-items: center; gap: 8px; color: white; font: 700 1.05rem/1.3 var(--display); }
.act-kind .picto { color: var(--orange); width: 21px; height: 21px; }
.act-cover h1 { margin: 7px 0 10px; font-size: clamp(3.55rem,5.45vw,6.15rem); text-wrap: balance; font-style: italic; font-weight: 800; }
.act-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 20px; margin-top: 15px; }
.gallery-shortcut { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 4px 0; color: white; background: transparent; border: 0; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #ffffffa0; }
.gallery-shortcut .picto { width: 20px; height: 20px; }
.gallery-shortcut:is(:hover,:focus-visible) { text-decoration-color: var(--orange); }
.act-switch { flex: none; width: fit-content; padding: 0 6px 0 8px; border: 1px solid #ffffff8a; border-radius: 30px; background: #032d45eb; }
.act-switch button { min-height: 38px; }
.activity-button,.offer-actions .btn.primary { display: inline-flex; align-items: center; justify-content: center; color: white; background: var(--navy); border: 1px solid var(--navy); border-radius: 7px; padding: 11px 17px; min-height: 44px; font: 700 1rem/1.3 var(--body); text-decoration: none; }
.activity-button.on-navy,.hosted-offer .offer-actions .btn { background: white; color: var(--navy); border-color: white; }
.activity-button:is(:hover,:focus-visible),.offer-actions .btn.primary:is(:hover,:focus-visible) { box-shadow: inset 0 -4px var(--orange); }
.act-content { padding: clamp(31px,3.5vw,60px) 0 clamp(42px,4vw,70px); }
.act-explanation { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px,5vw,94px); align-items: center; }
.act-content section > h2,.act-content .gallery-title h2 { font: 700 clamp(2.65rem,3.4vw,4.25rem)/1 var(--display); letter-spacing: 0; margin: 0 0 17px; }
.act-story p,.act-location p,.act-offer > p { max-width: 63ch; font: 400 clamp(1rem,1.1vw,1.13rem)/1.54 var(--body); margin: 0; }
.act-location { border-left: 3px solid var(--orange); background: #eff5f8; padding: 16px clamp(16px,2vw,28px); border-radius: 0 8px 8px 0; }
.act-location > div { display: flex; align-items: center; gap: 7px; }
.act-location .picto { width: 20px; height: 20px; }
.act-location h3 { margin: 0; font-size: 1.5rem; }
.act-location .act-venues { font-weight: 700; margin: 7px 0 4px; }
.act-gallery,.act-offers { margin-top: clamp(32px,3.6vw,59px); }
.gallery-strip { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,180px),1fr)); gap: clamp(10px,1.3vw,20px); }
.gallery-strip button { position: relative; overflow: hidden; padding: 0; border: 0; background: #e5eef2; border-radius: 10px; height: clamp(150px,14.5vw,240px); }
.gallery-strip img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-strip button > span { position: absolute; bottom: 9px; right: 9px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #012f4be8; color: white; }
.gallery-strip .picto { width: 16px; height: 16px; }
.gallery-strip button:is(:hover,:focus-visible) img { transform: scale(1.035); }
.act-gallery,.act-offers { scroll-margin-top: 18px; }
.act-gallery:focus,.act-offers:focus { outline: none; }
.gallery-with-film { --media-gap: clamp(10px,1.2vw,18px); display: grid; grid-template-columns: 1fr; gap: var(--media-gap); }
.gallery-with-film .gallery-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
.gallery-with-film .gallery-strip button { height: auto; aspect-ratio: 1.85; }
.act-film { color: white; background: var(--navy); border-radius: 10px; overflow: hidden; margin: 0; }
.film-slot { width: 100%; aspect-ratio: 16/9; background: #071b26; }
.film-slot iframe,.film-poster,.film-poster img { width: 100%; height: 100%; border: 0; display: block; }
.film-poster { position: relative; padding: 0; color: var(--navy); background: var(--navy); }
.film-poster img { object-fit: cover; }
.film-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; padding-left: 4px; color: var(--navy); background: white; box-shadow: 0 3px 14px #06233645; font-size: 22px; }
.film-poster:is(:hover,:focus-visible) .film-play { color: white; background: var(--navy); box-shadow: 0 0 0 3px white; }
.act-film figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; padding: 12px 16px; }
.act-film figcaption strong,.act-film figcaption span { display: block; }
.act-film figcaption strong { font: 700 1.45rem/1.12 var(--display); }
.act-film figcaption span,.act-film figcaption a { font-size: .89rem; line-height: 1.45; }
.act-film figcaption span { margin-top: 4px; }
.act-film figcaption a { white-space: nowrap; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,315px),1fr)); gap: clamp(15px,1.6vw,25px); }
.act-offer { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(21px,2.3vw,36px); border-radius: 12px; border: 1px solid #c5d7df; background: #eff5f8; }
.act-offer h3 { margin: 0 0 9px; font: 700 clamp(1.85rem,2.25vw,2.8rem)/1.05 var(--display); }
.act-offer .offer-price { margin-top: 15px; font: 700 clamp(1.4rem,1.5vw,1.85rem)/1.2 var(--display); }
.act-offer .offer-terms { margin-top: 4px; font-size: .96rem; }
.hosted-offer { color: white; background: var(--navy); border-color: var(--navy); }
.offer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto; padding-top: 20px; }
.offer-actions > a:not(.btn),.act-end a { color: var(--navy); text-decoration-color: var(--orange); text-underline-offset: 4px; font-weight: 700; }
.offer-equipment { background: transparent; color: var(--navy); border: 0; padding: 0; margin: 13px 0 0; }
.offer-equipment summary { cursor: pointer; font-weight: 700; }
.offer-equipment p { line-height: 1.5; margin: 8px 0 0; }
.act-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px 18px; margin-top: clamp(18px,2vw,32px); }
.act-end .catalogue-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.catalogue-back .picto { width: 19px; height: 19px; }
.act-end .catalogue-back:is(:hover,:focus-visible) { text-decoration: underline; text-decoration-color: var(--orange); }
.act-end a:last-child:not(:first-child) { font-weight: 400; }

.act-lightbox { width: min(930px,calc(100% - 24px)); max-height: 95vh; max-height: 95dvh; padding: clamp(14px,2vw,24px); border: 0; border-radius: 12px; color: var(--navy); background: white; box-shadow: 0 18px 70px #0006; overflow-y: auto; }
.act-lightbox::backdrop { background: rgb(8 17 22 / 76%); }
body:has(.act-lightbox[open]) { overflow: hidden; }
.lightbox-bar,.lightbox-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lightbox-bar h2 { margin: 0; color: var(--navy); font-size: clamp(1.5rem,2.2vw,2.15rem); }
.act-lightbox button { background: var(--navy); color: white; border: 0; border-radius: 6px; min-height: 44px; font-weight: 700; padding: 7px 13px; }
.act-lightbox button:hover { box-shadow: inset 0 -3px var(--orange); }
.act-lightbox button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.lightbox-bar button span { margin-left: 4px; font-size: 1.25rem; }
.act-lightbox figure { margin: 12px 0; }
.act-lightbox img { display: block; width: 100%; height: min(59vh,620px); object-fit: contain; background: #eff4f6; border-radius: 5px; }
.act-lightbox figcaption { margin-top: 10px; font-size: 1rem; line-height: 1.4; }

@media(min-width:901px) {
  .gallery-with-film { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .gallery-with-film .gallery-strip { grid-column: span 3; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--media-gap); grid-auto-rows: clamp(116px,8.8vw,158px); }
  .gallery-with-film .gallery-strip button { height: 100%; aspect-ratio: auto; }
  .gallery-with-film .gallery-strip:has(> :nth-child(4):last-child) > :nth-child(-n+2),
  .gallery-with-film .gallery-strip:has(> :nth-child(3):last-child) > button { grid-row: span 2; }
  .act-film { display: flex; flex-direction: column; }
  .film-slot { position: relative; flex: 1; min-height: 115px; aspect-ratio: auto; }
  .film-slot > * { position: absolute; inset: 0; }
}
@media(min-width:701px) and (max-width:900px) {
  .gallery-with-film { grid-template-columns: minmax(0,2fr) minmax(0,1fr); align-items: center; }
}
@media(max-width:1180px) {
  .cat-intro,.act-opening { padding-top: calc(var(--bar-inset) + 87px); }
}
@media(max-width:1099px) {
  .game-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .cat-explore-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(175px,22%); }
  .cat-field { width: 100%; }
  .cat-option { padding-inline: 8px; gap: 6px; }
}
@media(max-width:960px) {
  .cat-explore-row { display: flex; }
  .cat-field { width: min(100%,310px); }
  .cat-choices { grid-template-columns: 1fr; gap: 16px; }
  .cat-choice-panel { padding: 17px 18px; }
  .cat-option { min-height: 48px; padding-inline: 12px; }
}
@media(max-width:900px) {
  .game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:700px) {
  .cat-intro,.act-opening { min-height: clamp(405px,calc(30vw + 305px),455px); padding: 99px 0 32px; }
  .cat-panorama img { object-position: 62% 50%; }
  .cat-panorama::after { background: linear-gradient(90deg,#05273ce8 0%,#05273cca 48%,#05273c95 100%); }
  .cat-cover h1,.act-cover h1 { font-size: clamp(3.05rem,11vw,4.6rem); margin: 10px 0; }
  .cat-guide { margin-top: 5px; }
  .cat-families { gap: 5px; }
  .cat-families button { font-size: 1.02rem; gap: 5px; padding: 5px 9px; min-height: 38px; }
  .cat-families .picto { width: 16px; height: 16px; }
  .cat-explore-row { align-items: stretch; flex-direction: column; gap: 14px; margin-bottom: 20px; }
  .cat-field { width: 100%; }
  .cat-panel-heading h2 { font-size: 1.3rem; }
  .cat-choice-panel { padding: 15px; }
  .cat-panel-heading { margin-bottom: 11px; }
  .cat-options { gap: 6px; }
  .cat-option { min-height: 47px; padding: 7px; gap: 6px; }
  .cat-option > .picto { width: 18px; height: 18px; }
  .option-text strong { font-size: 1.04rem; }
  .option-text small { font-size: .8rem; }
  .place-panel .cat-option { display: grid; justify-items: start; align-content: center; justify-content: stretch; position: relative; gap: 4px; }
  .place-panel .option-check { position: absolute; right: 8px; top: 12px; }
  .cat-summary { margin-block: 22px 12px; }
  .game-body { padding: 13px 14px; }
  .game-visual h2 { left: 14px; bottom: 12px; }
  .act-opening { flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; }
  .act-lead { align-self: stretch; }
  .act-panorama::after { background: linear-gradient(90deg,#042437ef,#042437a6 70%,#04243766); }
  .act-hero-actions { gap: 5px 12px; }
  .act-hero-actions button { font-size: .91rem; }
  .act-switch { align-self: flex-end; }
  .act-switch button { min-height: 30px; height: 30px; }
  .gallery-with-film { grid-template-columns: 1fr; }
  .act-explanation { grid-template-columns: 1fr; gap: 18px; }
  .act-content section > h2,.act-content .gallery-title h2 { margin-bottom: 11px; }
  .gallery-strip { gap: 9px; }
  .gallery-strip button { height: auto; aspect-ratio: 1.45; }
  .gallery-strip button > span { width: 26px; height: 26px; bottom: 6px; right: 6px; }
  .act-end { flex-direction: column; align-items: flex-start; }
  .act-lightbox img { height: auto; max-height: 55dvh; }
}
@media(max-width:440px) {
  .mode-panel .cat-option { position: relative; display: grid; grid-template-columns: minmax(0,1fr); align-content: center; padding: 8px 9px; }
  .mode-panel .cat-option > .picto { display: none; }
  .mode-panel .option-check { position: absolute; right: 8px; top: 12px; width: 9px; height: 6px; }
  .mode-panel .option-text strong { padding-right: 8px; }
}
@media(min-width:350px) and (max-width:440px) {
  .act-opening:has(.act-switch) { display: grid; grid-template-columns: minmax(0,1fr); align-content: center; }
  .act-opening:has(.act-switch) > * { grid-area: 1 / 1; }
  .act-opening:has(.act-switch) .act-hero-actions { flex-direction: column; align-items: flex-start; }
  .act-switch { justify-self: end; }
}
@media(max-width:540px) {
  .game-grid { grid-template-columns: minmax(0,1fr); }
  .game-visual { aspect-ratio: 2.08; }
}
@media(prefers-reduced-motion: reduce) {
  .act-panorama .frame,.act-panorama .frame.active { animation: none; transition: none; transform: none; }
  .game-tile img,.gallery-strip img,.catalog-panel { transition: none; animation: none; }
  .game-tile a:is(:hover,:focus-visible) img,.gallery-strip button:is(:hover,:focus-visible) img { transform: none; }
}
