@font-face { font-family: "Shantell Sans"; font-weight: 400; src: url("fonts/shantell-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Shantell Sans"; font-weight: 600; src: url("fonts/shantell-sans-600.woff2") format("woff2"); }

:root {
  --paper: #fcfcfa; --ink: #20242e; --muted: #7b818d; --faint: #b3b8c1;
  --blue: #2e6fdb; --orange: #e2742a; --card: #1f2430;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #2a2a36; background: #f3f2ef;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1180px; margin: auto; padding: 24px 28px 44px; }
header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.brand { color: #5849b6; font-size: 24px; font-weight: 750; letter-spacing: -1px; }
.brand span { font-size: 13px; color: #8d8a98; font-weight: 450; letter-spacing: 0; }
.badge { font: 10px ui-monospace, monospace; letter-spacing: 1.4px; color: #85808d; }

.player { background: var(--paper); border: 1px solid #dedbd4; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 25px #20152d0a; }
#board { display: block; width: 100%; aspect-ratio: 16 / 9; }

/* Around the board */
.controls { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 12px; }
button { font: inherit; cursor: pointer; border-radius: 7px; padding: 9px 14px; border: 1px solid #dcd9d4; background: #fff8; color: #55525f; }
button:disabled { opacity: .5; cursor: wait; }
button:focus-visible, input:focus-visible { outline: 3px solid #8878e4; outline-offset: 3px; }
.primary { background: #6250bc; color: #fff; border-color: #6250bc; min-width: 96px; }
#time { font: 11px ui-monospace, monospace; white-space: nowrap; color: #777482; }
#seek { flex: 1; min-width: 60px; accent-color: #6250bc; }
#caption { min-height: 24px; margin: 16px 2px 0; font-size: 15px; line-height: 1.6; color: #5f5a6a; }
nav { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 12px; }
nav button { font-size: 11px; padding: 7px 10px; }
nav button.active { border-color: #9b8dd0; color: #6250bc; background: #eee9f7; }
