/* The web build (stream.yuck.ie). The TV layout is drawn on a logical canvas
   --vw x --vh (1920x1080 or larger, set by web/Viewport.ts) and scaled to the
   window with --scale, so every screen keeps the TV's proportions. */
:root { --vw: 1920px; --vh: 1080px; --scale: 1; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #000; touch-action: manipulation; overscroll-behavior: none; }
body.gm-web { position: fixed; inset: 0; }
#root { width: var(--vw); height: var(--vh); transform: scale(var(--scale)); transform-origin: 0 0; }

.gm-whatsnew, .gm-party-overlay, .gm-shell, .gm-content, .gm-upnext, .gm-sheet-layer, .gm-player-layer,
.gm-hsp, .gm-player, .gm-player-video, .gm-player-error, .gm-infobar, .dt-qr-column { width: var(--vw) !important; height: var(--vh) !important; }
.gm-scrim, .gm-sidebar, .gm-opanel-host { height: var(--vh) !important; }
.gm-hero-art, .gm-hero-banner, .gm-rhero { width: var(--vw) !important; }
.gm-player video { width: 100% !important; height: 100% !important; }

/* Mouse: things you can click look clickable. */
.gm-web [data-f] { cursor: pointer; }
.gm-web input[data-f], .gm-web textarea { cursor: text; }

/* Row scroll arrows (web/WebInput.ts adds them to every <Row> on hover). */
.gm-row-arrow { position: absolute; top: 50%; width: 88px; height: 132px; margin-top: -66px; border-radius: 44px; background: rgba(20,20,20,0.78);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 72px; line-height: 1; z-index: 3; cursor: pointer;
  opacity: 0; transition: opacity 160ms ease; border: 2px solid rgba(255,255,255,0.25); }
.gm-row-arrow.left { left: 24px; }
.gm-row-arrow.right { right: 24px; }
.gm-row:hover > .gm-row-arrow.can { opacity: 1; }
.gm-row-arrow:hover { background: #fff; color: #000; }
@media (hover: none) { .gm-row-arrow { display: none; } }

/* Player controls for a PC: volume, picture-in-picture, full screen (PlayerActivity.tsx, web only). */
.gm-web-vol { display: flex; flex-direction: row; align-items: center; }
.gm-web-vol input[type=range] { width: 220px; margin: 0 12px; accent-color: #fff; cursor: pointer; }

/* The failure card's choices (copy link, VLC, download) wrap on narrow screens. */
.gm-web-choices { display: flex; flex-direction: row; flex-wrap: wrap; margin-top: 32px; }
.gm-web-choices > * { margin: 0 20px 20px 0; }

/* A browser-playability note on source rows. */
.gm-web-play-note { color: #f0b35a; font-size: 24px; margin-top: 6px; }

/* The web invite link under the party code. */
.gm-web-invite { font-size: 30px; color: #fff; user-select: text; word-break: break-all; }
