[data-mobile-play-start], [data-mobile-play-back] { display: none; }
@media (pointer: coarse) {
  html.mellowcade-play-locked {
    overflow: hidden;
    overscroll-behavior: none;
  }
  html.mellowcade-play-locked body {
    position: static;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    overscroll-behavior: none;
  }
  #cgPlayerShell[data-mobile-play-ready]:not(.mellowcade-play-immersive) .cg-player-toolbar #cgFullscreen { display: none; }
  #cgPlayerShell[data-mobile-play-ready] [data-mobile-play-start] {
    position: absolute;
    z-index: 6;
    inset: 0;
    width: 100%;
    display: grid;
    place-content: center;
    border: 0;
    background: #15191673;
    color: #fff4d8;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
  }
  [data-mobile-play-start] :is(img, video) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #161817;
    pointer-events: none;
  }
  [data-mobile-play-start] i {
    position: relative;
    width: clamp(76px, 21vw, 100px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 2px solid #ffe9b6;
    border-radius: 50%;
    background: #181a17eb;
    box-shadow: 0 6px 30px #0009;
  }
  [data-mobile-play-start] i::after {
    content: "";
    margin-left: 6px;
    border-block: 14px solid transparent;
    border-left: 23px solid currentColor;
  }
  [data-mobile-play-start]:active i { transform: scale(.94); }
  [data-mobile-play-start]:focus-visible i, [data-mobile-play-back]:focus-visible {
    outline: 2px solid #fff3d2;
    outline-offset: -5px;
  }
  #cgPlayerShell.mellowcade-play-immersive {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    background: #151916;
    overscroll-behavior: none;
    touch-action: none;
    contain: layout size paint;
  }
  #cgPlayerShell.mellowcade-play-immersive .cg-player-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 0;
    overflow: hidden;
    overscroll-behavior: none;
  }
  #cgPlayerShell.mellowcade-play-immersive iframe {
    width: 100%;
    height: 100%;
    border: 0;
    overscroll-behavior: none;
  }
  #cgPlayerShell[data-mobile-play-ready].mellowcade-play-immersive :is(.cg-player-toolbar, [data-mobile-play-start]) { display: none; }
  #cgPlayerShell.mellowcade-play-immersive [data-mobile-play-back] {
    position: absolute;
    z-index: 5;
    top: max(6px, env(safe-area-inset-top));
    left: env(safe-area-inset-left, 0px);
    box-sizing: border-box;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    padding: 0;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 0 24px 24px 0;
    border: 1px solid #f5e7c085;
    border-left: 0;
    background: #181a18e8;
    color: #fff4d8;
    box-shadow: 0 2px 9px #0005;
    touch-action: manipulation;
  }
  [data-mobile-play-back] i {
    width: 14px;
    height: 14px;
    border: solid currentColor;
    border-width: 0 0 2px 2px;
    transform: translateX(3px) rotate(45deg);
  }
}
