/* Copyright (C) 2026 pagefault */
/* SPDX-License-Identifier: LicenseRef-AozoraMD-Proprietary */
:root { color-scheme: dark; font-family: system-ui, sans-serif; color: #e3e9f1; background: #090e17; }
* { box-sizing: border-box; }
body { margin: 0; background: #090e17; color: #e3e9f1; }
.standalone-header { max-width: 1280px; margin: auto; display: flex; align-items: center; gap: 16px; padding: 18px 24px; flex-wrap: wrap; }
.brand { color: white; font-size: 25px; font-weight: 800; letter-spacing: -1px; text-decoration: none; }
.brand span { color: #59cafa; }
.beta { color: #a2b2c8; font-size: 13px; }
.player-toolbar nav { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.player-toolbar button { border: 1px solid #3a536a; border-radius: 5px; background: #152334; color: #e3e9f1; font: inherit; padding: 9px 14px; cursor: pointer; }
.player-toolbar button:hover { background: #243a50; }
.player-toolbar button:disabled { opacity: .5; cursor: wait; }
.player-toolbar button:focus-visible, .standalone-header a:focus-visible, canvas:focus-visible { outline: 2px solid #9be2ff; outline-offset: 3px; }
kbd { color: #a2b2c8; font-size: 12px; }
main.player-main { max-width: 1280px; margin: auto; padding: 0 24px 24px; }
#screen { width: 100%; height: min(76vh, 800px); min-height: 320px; background: #090e17; border: 1px solid #243345; border-radius: 6px; overflow: hidden; }
canvas { width: 100%; height: 100%; display: block; touch-action: none; }
canvas:fullscreen { width: 100vw; height: 100vh; background: #090e17; }
#status { min-height: 1.5em; color: #9be2ff; overflow-wrap: anywhere; }
.help { font-size: 14px; line-height: 1.6; color: #a2b2c8; }
@media (max-width: 600px) {
  .standalone-header { padding: 14px; gap: 10px; }
  .player-toolbar nav { width: 100%; margin: 0; }
  .player-toolbar button { padding: 8px 10px; }
  main.player-main { padding: 0 12px 18px; }
  #screen { height: 65vh; }
}

.player-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
main.player-main > h1 { font-size: 28px; line-height: 1.3; }
