.game-version-line { align-items: center; }
.game-fullscreen-control { position: relative; margin-left: auto; display: flex; align-items: center; gap: 12px; }
.game-fullscreen-control .button { font-size: 13px; min-height: 36px; padding: 8px 12px; white-space: nowrap; }
.game-fullscreen-control [aria-disabled="true"] { cursor: help; }
.game-fullscreen-premium { font-size: 10px; border: 1px solid currentColor; border-radius: 4px; padding: 2px 5px; }
.game-fullscreen-hint { position: absolute; right: 0; top: calc(100% + 6px); z-index: 100; width: max-content; max-width: 300px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); box-shadow: 0 4px 18px #0003; pointer-events: none; visibility: hidden; }
.game-fullscreen-control > button:is(:hover, :focus-visible) + .game-fullscreen-hint { visibility: visible; }
.game-fullscreen-status:empty { display: none; }
.game-fullscreen-status { max-width: 330px; color: var(--ink); font-size: 12px; }
/* Full document keeps shared dialogs, invitations and room chat reachable.
   Game-owned boards retain their sizing rules and remain scrollable. */
html.game-fullscreen { overflow: auto; background: var(--page); }
html.game-fullscreen .site-header, html.game-fullscreen .site-footer { display: none; }
html.game-fullscreen .main-content { width: 100%; max-width: none; min-height: 100dvh; padding: 12px 24px 80px; }
html.game-fullscreen .game-version-line { position: sticky; top: 0; z-index: 30; background: var(--page); padding: 8px 0; }
