:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: #02050b; }
body { display: grid; grid-template-rows: 58px 1fr; color: #eaf8ff; }
.play-bar { z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding: 8px 18px; border-bottom: 1px solid rgba(105, 220, 255, 0.2); background: rgba(4, 10, 23, 0.97); }
.play-brand { display: flex; align-items: center; gap: 10px; width: max-content; color: #eaf8ff; font-size: 0.92rem; font-weight: 800; text-decoration: none; }
.play-brand span { width: 18px; height: 18px; border: 2px solid #62e7ff; transform: rotate(45deg); box-shadow: 0 0 11px rgba(98, 231, 255, 0.65); }
.play-meta { display: flex; align-items: center; gap: 13px; color: #83a2b5; font: 700 0.72rem/1 ui-monospace, monospace; letter-spacing: 0.07em; text-transform: uppercase; }
.local-status { color: #67dfbc; }
.play-actions { display: flex; justify-content: flex-end; gap: 8px; }
.play-actions button, .play-actions a { min-height: 36px; display: inline-flex; align-items: center; padding: 7px 12px; border: 1px solid rgba(111, 212, 246, 0.32); border-radius: 7px; color: #d9f4ff; background: rgba(24, 65, 91, 0.58); font: inherit; font-size: 0.8rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.play-actions button:hover, .play-actions a:hover, .play-actions button:focus-visible, .play-actions a:focus-visible { border-color: #63dfff; outline: none; }
#gameFrameContainer { min-height: 0; background: #000; }
#gameFrameContainer:fullscreen { width: 100vw; height: 100vh; }
#gameFrame { display: block; width: 100%; height: 100%; border: 0; background: #000; }
noscript { position: fixed; inset: 58px 0 0; display: grid; place-items: center; background: #02050b; }
@media (max-width: 720px) {
  body { grid-template-rows: 52px 1fr; }
  .play-bar { grid-template-columns: auto 1fr; padding: 7px 10px; }
  .play-brand { font-size: 0; }
  .play-meta { display: none; }
  .play-actions { justify-self: end; }
}
