[data-fullscreen-toggle] {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--scene-line, #cbd0bf);
  border-radius: 6px;
  background: var(--scene-card, #fbfaf4);
  color: var(--scene-ink, #26382d);
  font: inherit;
  cursor: pointer;
}
[data-fullscreen-toggle][hidden] { display: none !important; }
[data-fullscreen-toggle]:focus-visible { outline: 2px solid #aa8850; outline-offset: 3px; }
.fullscreen-floating, .game-fullscreen [data-fullscreen-toggle] {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 70;
}
html.game-fullscreen { overflow: auto; }
.game-fullscreen body { min-height: 100dvh; }
.game-fullscreen .workspace,
.game-fullscreen .room-shell,
.game-fullscreen .board-section,
.game-fullscreen main:has(> .board-section) { max-width: none; }
.game-fullscreen .page-title { display: none; }
.game-fullscreen .game-frame {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
}
.game-fullscreen .board-frame {
  max-width: 100%;
}
