/* Approved poker-only fullscreen fit. The complete 16:9 scene remains intact. */
html body .casino-game-shell--poker :is(.casino-game-shell__stage:fullscreen, .casino-game-shell__stage:-webkit-full-screen, .is-runtime-fullscreen-fallback > .casino-game-shell__stage) {
  box-sizing: border-box !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  container-type: size !important;
}

html body .casino-game-shell--poker :is(.casino-game-shell__stage:fullscreen, .casino-game-shell__stage:-webkit-full-screen, .is-runtime-fullscreen-fallback > .casino-game-shell__stage) :is(.casino-game-shell__viewport, .casino-main-session-host, .poker-responsive-host, .poker-responsive-host__stage) {
  box-sizing: border-box !important;
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr) !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  aspect-ratio: auto !important;
  transform: none !important;
  overflow: hidden !important;
  container-type: size !important;
}

html body .casino-game-shell--poker :is(.casino-game-shell__stage:fullscreen, .casino-game-shell__stage:-webkit-full-screen, .is-runtime-fullscreen-fallback > .casino-game-shell__stage) .ms-poker-view.is-winsview-figma-final {
  box-sizing: border-box !important;
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: min(100cqw, calc(100cqh * 16 / 9)) !important;
  height: min(100cqh, calc(100cqw * 9 / 16)) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100cqw !important;
  max-height: 100cqh !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  transform: none !important;
  overflow: hidden !important;
  container-type: normal !important;
}

html body .casino-game-shell--poker :is(.casino-game-shell__stage:fullscreen, .casino-game-shell__stage:-webkit-full-screen, .is-runtime-fullscreen-fallback > .casino-game-shell__stage) .ms-poker-view.is-winsview-figma-final > .ms-poker-table-wrap.is-winsview-figma-final {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  container-type: size !important;
}
