:root {
  --bg-deep: #000033;
  --text: #ffffff;
  --text-bright: #ffff00;
  --cyan: #00ffff;
  --hot-pink: #ff33aa;
  --hot-red: #ff0000;
  --lime: #66ff33;
  --link: #00ffff;
  --link-visited: #ff80ff;
  --link-hover: #ffff00;
  --font-comic: "Comic Sans MS", "Comic Sans", cursive;
  --font-serif: "Times New Roman", Times, serif;
  --font-mono: "Times New Roman", Times, serif;
  --font-sans: "Times New Roman", Times, serif;
  --font-display: "Times New Roman", Times, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  padding: 0;
  min-width: 320px;
  overflow-x: hidden;
  background-color: var(--bg-deep);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90'><rect width='90' height='90' fill='%23000033'/><circle cx='12' cy='18' r='1.1' fill='%23ffffff'/><circle cx='34' cy='10' r='0.6' fill='%23ffffee'/><circle cx='62' cy='28' r='1.3' fill='%23ffffff'/><circle cx='8' cy='56' r='0.9' fill='%23ffffdd'/><circle cx='52' cy='66' r='1' fill='%23ffffff'/><circle cx='78' cy='80' r='0.7' fill='%23ffffff'/><circle cx='20' cy='40' r='0.5' fill='%23ffffee'/><circle cx='44' cy='44' r='0.95' fill='%23ffffff'/><circle cx='80' cy='14' r='0.7' fill='%23ffffff'/><circle cx='28' cy='80' r='0.6' fill='%23ffffee'/></svg>");
  background-repeat: repeat;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
}

[hidden] { display: none !important; }
.page-noise { display: none; }

a { color: var(--link); text-decoration: underline; }
a:visited { color: var(--link-visited); }
a:hover { color: var(--link-hover); background-color: #000; }

button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }

/* drop residual chrome */
.titlebar-controls,
.titlebar-icon,
.panel-title__close,
.menu-bar,
.status-bar,
.construction-strip,
.taskbar-start,
.taskbar-app,
.taskbar-tray,
.taskbar-clock,
.taskbar-start__logo,
.footer-script,
.footer-sticker,
.hero-art,
.netscape-badge { display: none !important; }

/* ===== marquee ===== */
.welcome-marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
  padding: 4px 0;
  background-color: var(--text-bright);
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  font-family: var(--font-comic);
  font-weight: 700;
  white-space: nowrap;
  color: #cc0000;
  font-size: 14px;
}
.welcome-marquee__track {
  display: inline-flex;
  gap: 32px;
  animation: marquee-scroll 50s linear infinite;
}
.welcome-marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  color: #cc0000;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== brand banner ===== */
.site-header {
  display: block;
  width: 100%;
  padding: 14px 6px 4px;
  background: transparent;
  text-align: center;
}

.nav-links {
  display: block;
  margin: 0 0 4px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 16px;
}
.nav-links a {
  display: inline;
  padding: 0 4px;
  color: var(--link);
  text-decoration: underline;
  font-family: var(--font-serif);
  font-weight: 400;
  text-transform: none;
  background: transparent;
  border: 0;
}
.nav-links a + a::before { content: " | "; color: var(--text-bright); text-decoration: none; }
.nav-links a u { text-decoration: underline; }

/* ===== separators ===== */
.rainbow-rule {
  display: block;
  height: 4px;
  margin: 8px auto 4px;
  border: 0;
  background-color: #ff00ff;
  width: 100%;
}
.dotted-rule {
  display: block;
  height: 0;
  margin: 0 auto 8px;
  border: 0;
  border-top: 2px dotted var(--lime);
  width: 100%;
}
.double-rule {
  display: block;
  height: 0;
  margin: 4px auto;
  border: 0;
  border-top: 4px double var(--cyan);
  width: 100%;
}

.new-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  background-color: var(--hot-red);
  color: var(--text-bright);
  font-family: var(--font-comic);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #000;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: blink 1.4s steps(2) infinite;
}

.cool-links {
  display: block;
  margin: 12px auto;
  padding: 0;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--text);
  text-align: center;
}
.cool-links h3 {
  display: inline;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
}
.cool-links h3::after {
  content: ": ";
  color: var(--text-bright);
}
.cool-links ul {
  list-style: none;
  display: inline;
  margin: 0;
  padding: 0;
}
.cool-links li {
  display: inline;
  margin: 0 2px;
}
.cool-links li::before { content: none; }

.tip-jar {
  display: block;
  margin: 10px auto;
  padding: 6px 12px;
  background-color: #000;
  border: 2px solid var(--text-bright);
  color: var(--text-bright);
  font-family: var(--font-comic);
  font-size: 14px;
  text-align: center;
  max-width: 720px;
}
.tip-jar b { color: var(--lime); }
.tip-copy {
  display: block;
  max-width: 640px;
  margin: 4px auto 0;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.25;
}
.tip-copy--slopcoin {
  color: var(--lime);
  font-family: var(--font-comic);
  font-weight: 700;
}
.slopcoin-button,
.slopcoin-button:visited {
  display: inline-block;
  margin: 3px auto 2px;
  background: #000;
  color: var(--link);
  text-decoration: none;
}
.slopcoin-button:hover {
  background: #000;
}
.slopcoin-button img {
  display: block;
  width: min(360px, 100%);
  height: auto;
  image-rendering: pixelated;
}

/* ===== main column ===== */
main {
  width: 1600px;
  max-width: calc(100% - 18px);
  margin: 0 auto;
  padding: 4px 0 24px;
  text-align: center;
}

/* ===== panels ===== */
.bevel-panel {
  display: block;
  margin: 12px 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--text);
}

.player-panel .embed-frame { border: 4px solid var(--text-bright); background-color: #000; }
.chat-panel .chat-frame { border: 4px solid var(--lime); background-color: #000; }
.game-board-wrap { border: 4px solid var(--cyan); background-color: #000; }
#next-piece { border: 3px solid var(--hot-pink); background-color: #000; }

/* section headers — flat colored text, no shadows */
.panel-title,
.bevel-panel h2,
.about-card h2,
.schedule-card h2,
.music-card h2,
.devlog-card h2 {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  background: transparent;
  color: var(--text-bright);
  font-family: var(--font-comic);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  text-transform: none;
  letter-spacing: 0.02em;
  border: 0;
}

.panel-title {
  display: block;
}
.panel-title > span {
  vertical-align: middle;
  margin: 0 4px;
}
.panel-title .live-light {
  font-size: 13px;
  vertical-align: middle;
}
.panel-login-link,
.panel-login-link:visited {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border: 2px solid var(--cyan);
  background-color: #000;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  vertical-align: middle;
}
.panel-login-link:hover {
  background-color: var(--cyan);
  color: #000;
}
.login-status-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border: 2px solid var(--lime);
  background-color: #000;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  vertical-align: middle;
}
.panel-title::before {
  content: "* ";
  color: var(--lime);
}
.panel-title::after {
  content: " *";
  color: var(--lime);
}

/* ===== hero ===== */
.hero-shell {
  display: block;
  padding: 12px 12px 6px;
  background: transparent;
  text-align: center;
}
.hero-copy {
  padding: 0;
  background: transparent;
  display: block;
  text-align: center;
}
.hero-copy::before, .hero-copy::after { display: none !important; content: none; }

.hero-nameplate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 8px;
  max-width: 100%;
  flex-wrap: wrap;
}

.hero-title {
  margin: 4px 0;
  font-family: var(--font-comic);
  font-size: 96px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
  display: inline-block;
  text-transform: none;
}
.hero-title-link,
.hero-title-link:visited {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}
.hero-title-link:hover {
  background: transparent;
  color: inherit;
  text-decoration: none;
}
.hero-title-link:focus-visible {
  outline: 3px dotted var(--text-bright);
  outline-offset: 8px;
}
.hero-title .wa {
  display: inline-block;
  background: transparent;
  padding: 0;
}
.hero-title .wa-1  { color: #ff2222; }
.hero-title .wa-2  { color: #ff8800; }
.hero-title .wa-3  { color: #ffdd00; }
.hero-title .wa-4  { color: #66ff33; }
.hero-title .wa-5  { color: #00ddff; }
.hero-title .wa-6  { color: #2266ff; }
.hero-title .wa-7  { color: #aa44ff; }
.hero-title .wa-8  { color: #ff44cc; }
.hero-title .wa-9  { color: #ff2222; }
.hero-title .wa-10 { color: #ff8800; }

.hero-fish-art {
  margin: 0;
  width: clamp(116px, 18vw, 188px);
  max-width: 45vw;
  text-align: center;
}
.hero-fish-art img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}
.hero-fish-art figcaption {
  margin-top: 0;
  color: var(--text-bright);
  font-family: var(--font-serif);
  font-size: 11px;
  line-height: 1.1;
}

.hero-tagline {
  margin: 12px auto 14px;
  max-width: 700px;
  font-family: var(--font-comic);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-bright);
}

.welcome-blurb {
  max-width: 720px;
  margin: 8px auto 12px;
  font-family: var(--font-serif);
  font-size: 16px;
  color: #fff;
  font-style: italic;
}
.welcome-blurb b { color: var(--lime); font-style: normal; }

.raw-status {
  display: block;
  max-width: 760px;
  margin: 14px auto 4px;
  padding: 4px 8px;
  background-color: #000;
  border: 1px solid var(--cyan);
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 15px;
  text-align: center;
}
.raw-status span {
  display: inline;
  margin: 0 4px;
}
.raw-status span + span::before {
  content: " // ";
  color: var(--text-bright);
}

/* ===== side-by-side stream + game ===== */
.main-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1.45fr) minmax(420px, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 0;
}
.stream-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.game-column { min-width: 0; }

.embed-frame {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  margin: 0;
  background-color: #000;
}
.embed-frame iframe,
.chat-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.embed-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--text-bright);
  background-color: #000;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
}

.chat-panel { min-height: 0; }

.chat-frame {
  width: 100%;
  height: 360px;
  min-height: 240px;
  margin: 0;
  background-color: #000;
  overflow: auto;
}

.fake-chat {
  padding: 12px;
  font-family: var(--font-comic);
  font-size: 15px;
  color: var(--text);
  text-align: left;
}
.fake-chat p { margin: 0 0 8px; }
.fake-chat b { color: var(--lime); }

.twitch-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--hot-red);
  border: 1px solid #fff;
}

.live-light {
  display: inline-block;
  padding: 1px 6px;
  color: var(--text-bright);
  background-color: #000;
  border: 2px solid var(--text-bright);
  font-family: var(--font-comic);
  font-size: 13px;
  font-weight: 700;
  animation: blink 1.2s steps(2) infinite;
  letter-spacing: 0.05em;
  vertical-align: middle;
}
@keyframes blink { 50% { opacity: 0; } }

.tiny-icons {
  font-family: var(--font-comic);
  font-size: 13px;
  color: var(--text-bright);
}

/* ===== game ===== */
.game-window { padding: 4px 0 6px; }

.game-shell {
  display: grid;
  grid-template-columns: 430px minmax(132px, 138px);
  gap: 8px;
  padding: 4px;
  background: transparent;
  width: 100%;
  margin: 0;
  align-items: start;
}

.game-board-wrap {
  position: relative;
  width: 430px;
  max-width: 100%;
  aspect-ratio: 1/2;
  background-color: #000;
}
#game-board { display: block; width: 100%; height: 100%; }

.game-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 16px;
  background-color: #000;
  color: var(--text-bright);
  text-align: center;
  font-family: var(--font-comic);
}
.game-overlay strong {
  font-family: var(--font-display);
  font-size: 36px;
  text-transform: uppercase;
  color: var(--text-bright);
}

.game-sidebar {
  display: grid;
  gap: 5px;
  align-content: start;
  text-align: left;
  font-size: 13px;
}
.game-sidebar h2 {
  margin-bottom: 2px;
  font-size: 19px;
}

.meter-panel {
  display: grid;
  gap: 2px;
  padding: 2px 4px;
  background: transparent;
  border: 0;
  color: var(--text);
}
.meter-panel span,
.control-card b,
.tile-preview b,
.player-form__label {
  font-family: var(--font-comic);
  font-size: 14px;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
}
.meter-panel strong {
  font-family: var(--font-mono);
  font-size: 21px;
  color: var(--text-bright);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
}

.next-panel {
  display: grid;
  padding: 0;
  background: transparent;
  border: 0;
}
.next-panel > span {
  display: block;
  margin: 0 0 4px;
  padding: 0;
  background: transparent;
  color: var(--cyan);
  font-family: var(--font-comic);
  font-size: 13px;
  text-align: left;
  border: 0;
  text-transform: uppercase;
  font-weight: 700;
}
#next-piece {
  display: block;
  width: 96px;
  max-width: 100%;
  aspect-ratio: 1;
  background-color: #000;
}

.tile-preview {
  display: grid;
  gap: 2px;
  padding: 4px 0;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 12px;
}
.tile-preview span {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 4px;
}
.tile-preview img {
  display: block;
  max-width: 30px;
  width: auto;
  height: 16px;
  object-fit: contain;
  object-position: left center;
  image-rendering: pixelated;
}
.tile-preview span:first-of-type img {
  width: 30px;
}

.button-stack {
  display: grid;
  gap: 3px;
}
.button-stack button,
#clear-leaderboard {
  min-height: 25px;
  padding: 3px 6px;
  background-color: var(--cyan);
  color: #000;
  border: 2px solid #000;
  font-family: var(--font-comic);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}
.button-stack button:first-child {
  background-color: var(--lime);
}
.button-stack button:nth-child(2) {
  background-color: var(--text-bright);
}
.button-stack button:hover,
#clear-leaderboard:hover { background-color: #fff; color: #000; }

.control-card {
  display: grid;
  gap: 1px;
  padding: 2px 0;
  background: transparent;
  border: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
}
.control-card b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-comic);
  text-transform: uppercase;
  color: var(--cyan);
  font-size: 14px;
}

.game-status-line {
  display: inline-block;
  margin-bottom: 2px;
  font-family: var(--font-comic);
  font-size: 13px;
  color: var(--lime);
  line-height: 1.1;
}

@media (min-width: 1100px) {
  main {
    padding-top: 0;
  }

  .main-grid {
    grid-template-columns: minmax(420px, 1fr) minmax(580px, 580px);
    gap: 12px;
  }

  .stream-column {
    gap: 4px;
  }

  .stream-column .bevel-panel,
  .game-column .bevel-panel {
    margin: 4px 0 0;
  }

  .stream-column .rainbow-rule {
    margin: 2px 0 0;
  }

  .main-grid .panel-title,
  .main-grid .bevel-panel h2 {
    margin-bottom: 4px;
  }

  .player-panel .embed-frame {
    aspect-ratio: auto;
    height: clamp(300px, 34vh, 390px);
  }

  .chat-frame {
    height: clamp(300px, 36vh, 410px);
  }

  .now-playing {
    display: none;
  }
}

.leaderboard {
  display: grid;
  grid-template-columns: 2fr minmax(220px, 0.85fr);
  grid-template-areas:
    "title  title"
    "list   form";
  gap: 8px 14px;
  width: 100%;
  margin: 12px 0 6px;
  background: transparent;
  padding: 0;
  border: 0;
  text-align: left;
}
.leaderboard h2 {
  grid-area: title;
  margin: 0 0 4px;
  font-size: 24px;
  text-align: center;
}
#leaderboard-list { grid-area: list; }
.leaderboard .player-form { grid-area: form; align-self: start; }

#leaderboard-list {
  margin: 0;
  padding: 8px 12px 8px 32px;
  background-color: #000;
  min-height: 260px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-bright);
  border: 3px solid var(--hot-pink);
  list-style: decimal;
  columns: 2;
  column-gap: 28px;
}
#leaderboard-list li { padding: 1px 4px; break-inside: avoid; }
#leaderboard-list li.current-score {
  background-color: var(--hot-pink);
  color: var(--text-bright);
}
#leaderboard-list li.empty-score {
  list-style: none;
  color: var(--cyan);
}
#leaderboard-list span { float: right; }

.player-form {
  display: grid;
  gap: 4px;
  padding: 0;
}
.player-form strong {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
}
.leaderboard-status {
  margin: 0;
  color: var(--text-bright);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.25;
}
.leaderboard-action,
.leaderboard-action:visited,
#logout-button {
  display: inline-block;
  padding: 3px 6px;
  background-color: #000;
  color: var(--cyan);
  border: 2px solid var(--cyan);
  font-family: var(--font-comic);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

#clear-leaderboard {
  margin: 0;
  background-color: var(--hot-red);
  color: var(--text-bright);
  font-size: 13px;
}

.now-playing {
  display: block;
  margin: 10px auto 0;
  width: 100%;
  background: transparent;
  color: var(--lime);
  font-family: var(--font-comic);
  font-size: 14px;
  border: 0;
  text-align: center;
  font-weight: 700;
  text-transform: none;
}
.now-playing::before { content: none; display: none; }
.now-playing span { margin: 0 10px; }
.now-playing span::before { content: "» "; color: var(--text-bright); }

/* ===== info strip ===== */
.info-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin: 14px 0;
  text-align: center;
}

.about-content,
.schedule-list,
.music-card p,
.devlog-body {
  padding: 10px 4px;
  background: transparent;
  font-family: var(--font-serif);
  color: var(--text);
  font-size: 16px;
  margin: 0;
  border: 0;
  text-align: left;
}

.about-content {
  display: block;
}
.about-content p { margin: 0; }
.cassette-art {
  display: block;
  margin: 4px auto 8px;
  width: 130px;
}

.schedule-list {
  margin: 0 auto;
  padding: 6px 8px;
  gap: 0;
  font-family: var(--font-mono);
  display: grid;
  max-width: 280px;
  font-size: 14px;
}
.schedule-list div {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 10px;
  border-bottom: 1px dotted var(--text-bright);
  padding: 2px 0;
}
.schedule-list dt {
  color: var(--lime);
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
}
.schedule-list dd { margin: 0; color: var(--text-bright); }

.music-card { position: static; min-height: 0; }
.music-card p { padding: 8px 4px; max-width: none; text-align: center; }

.devlog-card .devlog-body {
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: pre-wrap;
  line-height: 1.55;
  color: var(--lime);
  text-align: left;
}
.devlog-body strong {
  display: block;
  font-family: var(--font-comic);
  font-size: 15px;
  color: var(--hot-pink);
  margin-bottom: 6px;
}

/* ===== footer ===== */
.site-footer {
  display: block;
  width: 1280px;
  max-width: calc(100% - 18px);
  margin: 18px auto 24px;
  padding: 10px 0;
  background: transparent;
  border: 0;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--text);
  text-align: center;
  position: static;
}

.geocities-row {
  display: block;
  margin: 8px 0;
  text-align: center;
  font-family: var(--font-comic);
  font-size: 15px;
}
.geocities-row a {
  margin: 0 8px;
  text-decoration: underline;
  color: var(--link);
}

.geocities-link {
  display: inline;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--link);
  font-family: var(--font-comic);
  text-decoration: underline;
}
.geocities-link:visited { color: var(--link-visited); }
.geocities-link:hover { background-color: #000; color: var(--link-hover); }

.last-updated {
  display: block;
  margin: 10px auto 0;
  color: var(--cyan);
  font-style: italic;
  font-family: var(--font-comic);
  font-size: 13px;
}

.visitor-counter {
  display: inline-block;
  margin: 4px auto;
  padding: 2px 8px;
  background: transparent;
  border: 0;
  color: var(--text-bright);
  font-family: var(--font-comic);
  font-size: 14px;
}
.visitor-counter__digits { display: inline; }
.visitor-counter__digits b {
  display: inline-block;
  min-width: 18px;
  padding: 1px 3px;
  margin: 0 1px;
  background-color: #000;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  border: 2px solid var(--lime);
}

@media (prefers-reduced-motion: reduce) {
  .welcome-marquee__track { animation: none; }
  .live-light { animation: none; }
}

/* ===== responsive ===== */
@media (max-width: 1024px) {
  .info-strip { grid-template-columns: 1fr 1fr; }
  .main-grid { grid-template-columns: 1fr; }
  .game-shell { grid-template-columns: 430px minmax(132px, 138px); justify-content: center; }
  .leaderboard { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .game-shell { grid-template-columns: 1fr; }
  .game-board-wrap { width: 430px; max-width: 100%; justify-self: center; }
  .game-sidebar,
  .leaderboard { grid-template-columns: 1fr; }
  .info-strip { grid-template-columns: 1fr; }
  .hero-title { font-size: 56px; }
  .chat-frame { height: 380px; }
}

@media (max-width: 520px) {
  .site-header { padding: 8px 6px; }
  .nav-links { font-size: 14px; }
  .panel-title,
  .bevel-panel h2 { font-size: 22px; }
  .hero-title { font-size: 44px; }
}
