.web-games{padding-top:65px}.web-games .web-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.web-game{border:1px solid #76546b;border-radius:12px;overflow:hidden;background:#291a37}.web-game img{width:100%;aspect-ratio:16/10;object-fit:cover}.web-game-body{padding:22px}.web-game h3{font:25px Georgia;margin:0 0 14px;color:#ffe2b8}.web-game p{font-size:13px;line-height:1.8;color:#c4b3cf;white-space:pre-line}.web-game button{padding:12px 20px;background:#efb767;color:#291a37;border:0;border-radius:6px;font:600 13px Arial;cursor:pointer}.web-status{font-size:14px;color:#c4b3cf}.web-player{padding:0;max-width:1400px;width:96vw;border:1px solid #76546b;background:#160d25;color:#fff0d9}.web-player::backdrop{background:#000d}.web-player-bar{padding:12px;display:flex;align-items:center;gap:12px}.web-player-bar strong{margin-right:auto}.web-player-bar button{padding:9px 12px;background:#392746;color:#fff0d9;border:1px solid #886d94;border-radius:5px}.web-frame-host{height:72vh}.web-frame-host iframe{width:100%;height:100%;border:0;display:block;background:#0c0b12}.web-player:fullscreen{display:flex;flex-direction:column;width:100vw;height:100vh;max-width:none}.web-player:fullscreen .web-frame-host{height:auto;flex:1}@media(max-width:900px){.web-games .web-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.web-games .web-grid{grid-template-columns:1fr}.web-player-bar{flex-wrap:wrap}.web-player-bar strong{width:100%}.web-frame-host{height:65vh}}
.web-player.expanded{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;display:flex;flex-direction:column}.web-player.expanded .web-frame-host{flex:1;height:auto}
/* Telephones et petits ecrans : le lecteur occupe tout l'ecran, barre reduite au minimum. */
@media(max-width:900px),(pointer:coarse){
.web-player[open]{position:fixed;inset:0;margin:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;display:flex;flex-direction:column;overflow:hidden}
.web-player[open] .web-player-bar{flex:0 0 auto;padding:4px 8px;gap:8px;flex-wrap:nowrap;justify-content:flex-end;padding-top:max(4px,env(safe-area-inset-top));padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}
.web-player[open] .web-player-bar strong{display:none}
.web-player[open] .web-player-bar button{padding:6px 12px;font-size:13px}
.web-player[open] [data-fullscreen]{display:none}
.web-player[open] .web-frame-host{flex:1 1 auto;height:auto;min-height:0}
}
@media(max-width:900px) and (orientation:portrait){
.web-player[open] .web-player-bar strong{display:block;flex:1 1 auto;margin:0;width:auto;font-size:0;white-space:nowrap}
.web-player[open] .web-player-bar strong::after{content:"Tournez le téléphone en paysage";font-size:12px;font-weight:400;opacity:.85}
.web-player[open] .web-player-bar button{white-space:nowrap}
.web-player[open] .web-player-bar{justify-content:space-between}
}