:root {
  color-scheme: dark;
  --bg: #071015;
  --panel: rgba(14, 26, 32, 0.88);
  --panel-strong: rgba(18, 38, 45, 0.96);
  --text: #f4fbff;
  --muted: #9fb4bd;
  --cyan: #48e7ff;
  --green: #41f0a6;
  --gold: #f1c96b;
  --red: #ff647c;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 18% 5%, rgba(72, 231, 255, 0.18), transparent 34%),
    radial-gradient(circle at 78% 12%, rgba(65, 240, 166, 0.12), transparent 28%),
    linear-gradient(160deg, #071015 0%, #0b161b 48%, #061115 100%);
  color: var(--text);
}

body {
  padding: max(14px, env(safe-area-inset-top)) 12px max(24px, env(safe-area-inset-bottom));
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  color: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.app-shell {
  width: min(720px, 100%);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 14px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(72, 231, 255, 0.12), rgba(241, 201, 107, 0.08)),
    var(--panel);
  box-shadow: var(--shadow);
}

.brand-art {
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 32px rgba(72, 231, 255, 0.26);
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 5px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(26px, 7vw, 34px);
  line-height: 1;
}

.summary {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.tabs {
  position: sticky;
  z-index: 20;
  top: max(8px, env(safe-area-inset-top));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 12px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 16, 21, 0.92);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.tab {
  display: grid;
  place-items: center;
  gap: 2px;
  min-height: 50px;
  padding: 5px 2px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.tab span {
  font-size: 19px;
  line-height: 1;
}

.tab.active {
  border-color: rgba(72, 231, 255, 0.35);
  background: linear-gradient(145deg, rgba(72, 231, 255, 0.17), rgba(65, 240, 166, 0.08));
  color: var(--text);
}

.panel {
  display: none;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);
}

.panel.active {
  display: block;
  animation: panel-in 180ms ease-out;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-heading h2 {
  margin: 0;
  font-size: 24px;
}

.live-badge,
.turn-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(65, 240, 166, 0.3);
  border-radius: 999px;
  background: rgba(65, 240, 166, 0.1);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.live-badge i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-radius: 50%;
  background: currentColor;
}

.live-badge.connecting i {
  animation: pulse 700ms infinite alternate;
}

.live-badge.on-air {
  border-color: rgba(255, 100, 124, 0.38);
  background: rgba(255, 100, 124, 0.11);
  color: var(--red);
}

@keyframes pulse {
  to { opacity: 0.25; transform: scale(0.75); }
}

.player-card {
  padding: 13px;
  border: 1px solid rgba(72, 231, 255, 0.2);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(72, 231, 255, 0.09), rgba(65, 240, 166, 0.05));
}

.now-playing {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
}

.album-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--cyan), var(--green));
  color: #071015;
  font-size: 25px;
  font-weight: 900;
}

.now-playing small,
.now-playing strong {
  display: block;
}

.now-playing small {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.now-playing strong {
  font-size: 16px;
}

audio {
  display: block;
  width: 100%;
  height: 42px;
  margin-bottom: 9px;
}

.subheading {
  margin: 18px 0 9px;
  font-size: 14px;
}

.station-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.station {
  min-height: 60px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
  transition: border-color 150ms ease, transform 150ms ease, background 150ms ease;
}

.station:active,
.action:active,
.secondary-button:active,
.primary-button:active,
.danger-button:active {
  transform: translateY(1px);
}

.station.playing {
  border-color: rgba(65, 240, 166, 0.55);
  background: rgba(65, 240, 166, 0.11);
}

.station b,
.station span {
  display: block;
}

.station b {
  margin-bottom: 3px;
  color: var(--cyan);
  font-size: 13px;
}

.station span {
  color: var(--muted);
  font-size: 11px;
}

.stream-form {
  margin-top: 14px;
}

.music-search {
  margin: 0 0 12px;
  padding: 10px;
  border: 1px solid rgba(72, 231, 255, 0.2);
  border-radius: 12px;
  background: rgba(72, 231, 255, 0.055);
}

.search-status {
  min-height: 17px;
  margin: -5px 2px 4px;
  color: var(--muted);
  font-size: 11px;
}

.stream-form label,
.ludo-toolbar label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.stream-form > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  margin-top: 6px;
}

input,
select {
  min-width: 0;
  min-height: 43px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  background: rgba(3, 10, 13, 0.68);
  color: var(--text);
}

input {
  padding: 0 11px;
}

input:focus,
select:focus {
  border-color: rgba(72, 231, 255, 0.58);
}

.primary-button,
.secondary-button,
.danger-button {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
}

.primary-button {
  border-color: rgba(72, 231, 255, 0.45);
  background: linear-gradient(135deg, rgba(72, 231, 255, 0.27), rgba(65, 240, 166, 0.2));
}

.secondary-button {
  background: rgba(255, 255, 255, 0.06);
}

.danger-button {
  border-color: rgba(255, 100, 124, 0.3);
  background: rgba(255, 100, 124, 0.1);
  color: #ff9aaa;
}

.player-card > .secondary-button {
  width: 100%;
}

.hint {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.game-status {
  min-height: 36px;
  margin: 0 0 10px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(3, 10, 13, 0.45);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.chess-board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  width: min(100%, 560px);
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  border: 3px solid #263a43;
  border-radius: 8px;
  background: #dce5de;
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.32);
}

.chess-square {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0;
  background: #d7e2dc;
  color: #0c171c;
  font-size: clamp(25px, 10vw, 50px);
  line-height: 1;
}

.chess-square.dark {
  background: #4c8290;
}

.chess-square.selected {
  box-shadow: inset 0 0 0 4px var(--gold);
}

.chess-square.legal::after {
  content: "";
  position: absolute;
  width: 25%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(5, 18, 21, 0.38);
}

.chess-square.capture::after {
  width: 78%;
  border: 4px solid rgba(255, 100, 124, 0.68);
  background: transparent;
}

.chess-piece {
  position: relative;
  z-index: 2;
  pointer-events: none;
  font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", serif;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.25));
}

.chess-piece.white {
  color: #fffdf1;
  text-shadow: 0 0 2px #071015, 0 1px 1px #071015;
}

.chess-piece.black {
  color: #10191d;
}

.coordinate {
  position: absolute;
  z-index: 3;
  color: rgba(5, 18, 21, 0.58);
  font-size: clamp(7px, 2vw, 10px);
  font-weight: 900;
  pointer-events: none;
}

.coordinate.file { right: 2px; bottom: 1px; }
.coordinate.rank { left: 2px; top: 1px; }
.chess-square.dark .coordinate { color: rgba(255, 255, 255, 0.62); }

.game-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 11px;
}

.move-history {
  margin-top: 11px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(3, 10, 13, 0.38);
}

.move-history > strong {
  font-size: 12px;
}

.move-history ol {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 18px;
  max-height: 104px;
  margin: 8px 0 0;
  padding-left: 27px;
  overflow: auto;
  color: var(--muted);
  font-size: 11px;
}

.ludo-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.online-note {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.ludo-toolbar select {
  display: block;
  min-height: 38px;
  margin-top: 4px;
  padding: 0 28px 0 9px;
}

.ludo-board {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  grid-template-rows: repeat(15, 1fr);
  width: min(100%, 560px);
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  border: 3px solid #d9e3dd;
  border-radius: 8px;
  background: #e8eee9;
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.32);
}

.ludo-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  border: 0.5px solid rgba(10, 29, 34, 0.14);
  background: #e8eee9;
}

.ludo-cell.yard-red { background: #d94d61; }
.ludo-cell.yard-green { background: #2da66f; }
.ludo-cell.yard-yellow { background: #e5b93d; }
.ludo-cell.yard-blue { background: #3984cf; }
.ludo-cell.track { background: #f7faf8; }
.ludo-cell.home-red,
.ludo-cell.start-red { background: #ed687a; }
.ludo-cell.home-green,
.ludo-cell.start-green { background: #48c98c; }
.ludo-cell.home-yellow,
.ludo-cell.start-yellow { background: #f2ce62; }
.ludo-cell.home-blue,
.ludo-cell.start-blue { background: #58a3eb; }

.ludo-cell.safe::after {
  content: "★";
  position: absolute;
  color: rgba(9, 25, 30, 0.28);
  font-size: clamp(7px, 2.3vw, 13px);
}

.ludo-cell.center {
  border: 0;
  background: conic-gradient(from 45deg, #48c98c 0 25%, #f2ce62 0 50%, #58a3eb 0 75%, #ed687a 0);
}

.ludo-token {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 70%;
  max-width: 22px;
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50% 50% 45% 45%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.36);
}

.ludo-token::after {
  content: "";
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
}

.ludo-token.red { background: #c72f47; }
.ludo-token.green { background: #16835a; }
.ludo-token.yellow { background: #d69d0c; }
.ludo-token.blue { background: #176bbd; }

.ludo-token.movable {
  animation: token-pulse 650ms infinite alternate;
  box-shadow: 0 0 0 3px #fff, 0 0 15px 5px var(--gold);
}

@keyframes token-pulse {
  to { transform: scale(0.82); }
}

.dice-area {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 11px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(3, 10, 13, 0.42);
}

.dice {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(241, 201, 107, 0.48);
  border-radius: 14px;
  background: linear-gradient(145deg, #fff5cc, #e8c75e);
  color: #152127;
  font-size: 44px;
  line-height: 1;
  box-shadow: 0 5px 18px rgba(241, 201, 107, 0.18);
}

.dice.rolling {
  animation: roll 420ms ease;
}

@keyframes roll {
  50% { transform: rotate(180deg) scale(0.82); }
  100% { transform: rotate(360deg); }
}

.dice-area strong,
.dice-area span {
  display: block;
}

.dice-area strong { margin-bottom: 3px; font-size: 14px; }
.dice-area span { color: var(--muted); font-size: 10px; }

.ludo-players {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin-top: 9px;
}

.ludo-player {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 10px;
}

.ludo-player.active {
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.09);
}

.ludo-player b {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 11px;
}

.ludo-player.red { color: #ff788c; }
.ludo-player.green { color: #55e3a3; }
.ludo-player.yellow { color: #f7d670; }
.ludo-player.blue { color: #74b8ff; }
.ludo-player.waiting { color: var(--muted); }
.turn-badge.red { color: #ff788c; border-color: currentColor; background: rgba(255, 120, 140, 0.1); }
.turn-badge.green { color: #55e3a3; border-color: currentColor; background: rgba(85, 227, 163, 0.1); }
.turn-badge.yellow { color: #f7d670; border-color: currentColor; background: rgba(247, 214, 112, 0.1); }
.turn-badge.blue { color: #74b8ff; border-color: currentColor; background: rgba(116, 184, 255, 0.1); }

/* Sade oyun lobisi ve sabit oyun tahtaları */
#chess,
#ludo {
  background: #101b20;
}

.game-lobby {
  margin-bottom: 12px;
  padding: 11px;
  border: 1px solid #2a3a41;
  border-radius: 13px;
  background: #0b1418;
}

.room-create-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) minmax(220px, 1.4fr);
  gap: 9px;
  align-items: end;
}

.ludo-create-row {
  grid-template-columns: minmax(105px, 0.55fr) minmax(145px, 0.75fr) minmax(220px, 1.4fr);
}

.ludo-create-row label {
  color: #b6c5cb;
  font-size: 11px;
  font-weight: 800;
}

.ludo-create-row select {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 0 8px;
}

.room-join-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 94px;
  gap: 7px;
}

.room-code-input {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
}

.room-card {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 8px;
  align-items: center;
}

.room-card[hidden],
.room-create-row[hidden] {
  display: none;
}

.room-card small {
  display: block;
  color: #9fb4bd;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.room-code {
  padding: 0;
  background: transparent;
  color: #f1c96b;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.room-card > span {
  color: #c4d1d6;
  font-size: 11px;
  font-weight: 800;
}

.room-players {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 9px;
}

.room-player {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
  padding: 8px;
  border: 1px solid #34464e;
  border-radius: 10px;
  background: #152228;
}

.room-player.empty {
  border-style: dashed;
  opacity: 0.66;
}

.player-avatar {
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid #627983;
  border-radius: 50%;
  object-fit: cover;
  background: #263840;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.room-player > div {
  min-width: 0;
}

.room-player b,
.room-player span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.room-player b { font-size: 11px; }
.room-player div span { margin-top: 3px; color: #9fb4bd; font-size: 9px; }

#chess .game-actions {
  grid-template-columns: repeat(2, 1fr);
}

.chess-board {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(0, 1fr));
  width: 100%;
  max-width: 520px;
  min-width: 0;
  overflow: hidden;
  border-color: #4b3728;
  background: #f0d9b5;
  contain: layout paint;
}

.chess-square {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #f0d9b5;
  color: #171717;
  font-size: clamp(25px, 9vw, 50px);
  touch-action: manipulation;
}

.chess-square.dark { background: #b58863; }
.chess-square.selected { box-shadow: inset 0 0 0 4px #f7d154; }
.chess-piece.white { color: #fffdf3; text-shadow: 0 0 2px #111, 0 2px 2px #222; }
.chess-piece.black { color: #151515; text-shadow: 0 1px 0 rgba(255,255,255,0.25); }

.ludo-board {
  width: 100%;
  max-width: 520px;
  min-width: 0;
  overflow: hidden;
  border: 4px solid #53636a;
  background: #dfe5e2;
  contain: layout paint;
}

.ludo-cell {
  border-color: rgba(20, 32, 36, 0.3);
  background: #dfe5e2;
}

.ludo-cell.yard-red { background: #f0a7af; }
.ludo-cell.yard-green { background: #9bd7b7; }
.ludo-cell.yard-yellow { background: #f1d98b; }
.ludo-cell.yard-blue { background: #9dc6e9; }
.ludo-cell.track { background: #f8faf9; }
.ludo-cell.home-red, .ludo-cell.start-red { background: #df5061; }
.ludo-cell.home-green, .ludo-cell.start-green { background: #35a96f; }
.ludo-cell.home-yellow, .ludo-cell.start-yellow { background: #d8aa22; }
.ludo-cell.home-blue, .ludo-cell.start-blue { background: #3c88c9; }

.ludo-token {
  max-width: 25px;
  min-width: 8px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 3px #000, 0 0 0 1px rgba(0,0,0,0.55);
}

.ludo-token.red { background: #b70f2a; }
.ludo-token.green { background: #08784a; }
.ludo-token.yellow { background: #c38800; }
.ludo-token.blue { background: #075da9; }

.quick-actions,
.command-list,
.link-list {
  display: grid;
  gap: 8px;
}

.quick-actions {
  grid-template-columns: repeat(3, 1fr);
}

.action,
.command-list button,
.link-list button {
  min-height: 47px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
}

.action {
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 8px 4px;
  font-size: 11px;
  font-weight: 900;
}

.action span {
  color: var(--cyan);
  font-size: 18px;
}

.action.primary {
  border-color: rgba(72, 231, 255, 0.38);
  background: rgba(72, 231, 255, 0.1);
}

.command-list {
  grid-template-columns: repeat(2, 1fr);
}

.command-list button,
.link-list button {
  padding: 10px 11px;
  text-align: left;
}

.command-list b,
.command-list span {
  display: block;
}

.command-list b { color: var(--cyan); font-size: 13px; }
.command-list span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.link-list button { font-size: 12px; font-weight: 800; }

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  max-width: calc(100% - 28px);
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(72, 231, 255, 0.34);
  border-radius: 11px;
  background: rgba(5, 12, 15, 0.96);
  color: var(--text);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 600px) {
  .hero {
    grid-template-columns: 68px 1fr;
  }

  .brand-art {
    width: 68px;
    height: 68px;
  }

  .panel {
    padding: 11px;
  }

  .room-create-row,
  .ludo-create-row {
    grid-template-columns: 1fr 1fr;
  }

  .room-create-row > .room-join-form,
  .ludo-create-row > .room-join-form {
    grid-column: 1 / -1;
  }

  #chess .room-create-row > .primary-button {
    grid-column: 1 / -1;
  }

  .room-card {
    grid-template-columns: 1fr auto;
  }

  .room-card > .danger-button,
  .room-card > .secondary-button {
    width: 100%;
  }

  .room-players {
    grid-template-columns: 1fr;
  }

  .game-actions {
    grid-template-columns: 1fr 1fr;
  }

  .game-actions .danger-button {
    grid-column: auto;
  }

  .chess-board,
  .ludo-board {
    width: calc(100% - 24px);
    margin-right: auto;
    margin-left: auto;
  }
}

@media (min-width: 600px) {
  .station-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
