#ov-1 {
  border-radius: 24px;
  overflow: hidden;
  clip-path: inset(0 round 24px);
  isolation: isolate;
  contain: paint;
}

#ov-1 .game-frame-viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  overflow: clip;
  border-radius: 24px;
  clip-path: inset(0 round 24px);
  contain: paint;
  isolation: isolate;
  background: var(--bg-deep);
}

#ov-1 .game-frame-viewport iframe {
  border-radius: inherit;
  clip-path: inset(0 round 24px);
}

#ov-1 .game-frame-viewport iframe:fullscreen,
#ov-1 .game-frame-viewport iframe:-webkit-full-screen {
  border-radius: 0;
  clip-path: none;
}
