html, body.player-shell { width: 100%; height: 100%; margin: 0; overflow: hidden; background: #211713; }
body.player-shell {
  --dock-player-height: 100px;
  --dock-safe-area: env(safe-area-inset-bottom, 0px);
  --dock-height: calc(var(--dock-player-height) + var(--dock-safe-area) + 1px);
}
#site-frame { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
#persistent-player { position: fixed; z-index: 10; overflow: hidden; }
#persistent-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.player-dock {
  left: 0; right: 0; bottom: 0;
  box-sizing: border-box;
  height: var(--dock-height);
  padding-bottom: var(--dock-safe-area);
  background: #211713;
  border-top: 1px solid #f7e9d545;
}
.player-dock iframe { max-width: 960px; margin: 0 auto; }
.player-inline { border-radius: 12px; }
body.has-dock #site-frame { bottom: var(--dock-height); height: calc(100% - var(--dock-height)); }
