:root {
  --bg-dark: #120b06;
  --bg-mid: #27160c;
  --bg-soft: #3b2414;
  --ink: #fff7ed;
  --ink-soft: rgba(255, 247, 237, 0.74);
  --muted: #dfc0a6;
  --panel: rgba(34, 20, 10, 0.88);
  --panel-line: rgba(255, 231, 206, 0.12);
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
  --wood-a: #8f6031;
  --wood-b: #5b3718;
  --green: #58df28;
  --red: #ee2e22;
  --yellow: #ffd633;
  --purple: #d519ff;
  --blue: #168ef2;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #090503;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
}

button,
a {
  font: inherit;
}

.ludo-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 160, 67, 0.12), transparent 34%),
    radial-gradient(circle at 12% 18%, rgba(105, 56, 14, 0.32), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(105, 56, 14, 0.28), transparent 26%),
    linear-gradient(180deg, #241207 0%, #160c07 48%, #090503 100%);
  overflow-x: hidden;
}

.ludo-ambience {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ludo-glow,
.ludo-table-shadow {
  position: absolute;
  display: block;
}

.ludo-glow {
  border-radius: 50%;
  filter: blur(54px);
}

.glow-a {
  width: 38vw;
  height: 38vw;
  left: -8vw;
  top: 6vh;
  background: rgba(255, 172, 58, 0.14);
}

.glow-b {
  width: 28vw;
  height: 28vw;
  right: -4vw;
  bottom: 12vh;
  background: rgba(151, 79, 20, 0.18);
}

.ludo-table-shadow {
  left: 50%;
  bottom: -6vh;
  width: min(86vw, 980px);
  height: 20vh;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.46);
  filter: blur(36px);
}

.ludo-app {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  padding: 18px;
}

.eyebrow,
.card-head span,
.dice-meta span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 800;
}

.title-block h1,
.turn-card h2,
.player-card strong,
.board-center-badge strong {
  font-family: Cinzel, Georgia, serif;
  letter-spacing: -0.03em;
}

.ludo-topbar,
.ludo-card,
.ludo-board-card {
  border: 1px solid var(--panel-line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.04);
}

.ludo-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
}

.title-block h1 {
  margin: 8px 0 10px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.92;
}

.title-block p:last-child {
  margin: 0;
  max-width: 760px;
  color: var(--ink-soft);
  line-height: 1.58;
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.top-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid rgba(255, 226, 196, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 192, 121, 0.1), rgba(255, 192, 121, 0.02)),
    rgba(255, 255, 255, 0.02);
  transition: transform 0.16s ease, border-color 0.16s ease, filter 0.16s ease;
}

.top-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 226, 196, 0.3);
  filter: brightness(1.05);
}

.ludo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) 380px;
  gap: 18px;
  align-items: start;
}

.ludo-board-card {
  padding: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 214, 160, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    var(--panel);
}

.board-scene {
  position: relative;
  min-height: 900px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 214, 160, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(92, 51, 17, 0.24), rgba(15, 9, 5, 0.1));
}

.board-scene::before {
  content: "";
  position: absolute;
  inset: 5% 4% 7%;
  border-radius: 44px;
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 235, 210, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.board-scene::after {
  content: "";
  position: absolute;
  inset: 7% 6% 9%;
  border-radius: 42px;
  border: 1px solid rgba(255, 224, 185, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -24px 54px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.board-ribbon {
  position: absolute;
  right: 24px;
  top: 22px;
  z-index: 6;
  padding: 14px 24px 14px 32px;
  border-radius: 0 20px 20px 0;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(18px, 1.6vw, 28px);
  font-weight: 700;
  color: #fff6ef;
  background: linear-gradient(180deg, #ff6177, #eb394f);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.board-ribbon::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 0;
  bottom: 0;
  width: 30px;
  background: linear-gradient(180deg, #ff6177, #eb394f);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.board-tilt {
  width: min(100%, 940px);
  display: grid;
  place-items: center;
  perspective: none;
}

.ludo-board {
  position: relative;
  width: min(100%, 860px);
  aspect-ratio: 1 / 1;
  transform: rotateZ(0deg);
  transform-style: preserve-3d;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, #faf7f0, #e0d0b8 56%, #c2a98d);
  border: 16px solid transparent;
  box-shadow:
    inset 0 0 0 3px rgba(255, 237, 216, 0.22),
    0 42px 90px rgba(0, 0, 0, 0.34);
}

.ludo-board::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 46px;
  background:
    linear-gradient(135deg, var(--wood-a), var(--wood-b) 54%, #3f210f);
  transform: translateZ(-1px);
  box-shadow:
    inset 0 2px 0 rgba(255, 236, 208, 0.26),
    inset 0 -4px 10px rgba(41, 19, 6, 0.4);
}

.ludo-board::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
    repeating-linear-gradient(
      25deg,
      rgba(120, 92, 56, 0.05) 0 10px,
      rgba(255, 255, 255, 0.02) 10px 20px
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -18px 28px rgba(64, 41, 20, 0.08);
  pointer-events: none;
}

.board-backdrop,
.board-layer,
.board-center-badge {
  position: absolute;
}

.board-backdrop,
.board-layer {
  inset: 0;
}

.board-layer {
  pointer-events: none;
}

.board-track,
.board-pieces {
  z-index: 4;
}

.board-track {
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.08));
}

.board-pieces {
  z-index: 5;
}

.board-center-badge {
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 154px;
  min-height: 154px;
  padding: 46px 16px 18px;
  transform: translate(-50%, -50%) rotate(18deg) translateZ(36px);
  border-radius: 28px;
  border: 1px solid rgba(165, 96, 31, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 245, 211, 0.3), transparent 34%),
    linear-gradient(180deg, #fff8e2, #f6da83 48%, #f0b436 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    0 14px 32px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.board-center-badge span,
.board-center-badge small {
  display: block;
}

.board-center-badge span {
  color: rgba(121, 69, 15, 0.76);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.board-center-badge strong {
  margin-top: 6px;
  font-size: 28px;
  line-height: 0.95;
  color: #7a3e08;
}

.board-center-badge small {
  margin-top: 6px;
  color: rgba(101, 58, 13, 0.88);
  font-size: 12px;
  font-weight: 700;
}

.chip-stack {
  position: absolute;
  left: 50%;
  top: -14px;
  width: 78px;
  height: 64px;
  transform: translateX(-50%);
}

.chip-stack i {
  position: absolute;
  left: 50%;
  width: 58px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 999px;
  border: 3px solid #fff6d0;
  background:
    linear-gradient(180deg, #fefefe, #dfdfdf 66%, #bebebe);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.16);
}

.chip-stack i:nth-child(1) { top: 20px; }
.chip-stack i:nth-child(2) { top: 10px; }
.chip-stack i:nth-child(3) { top: 0; }

.board-cell,
.home-slot {
  position: absolute;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
}

.board-cell {
  width: 4.75%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  border: 2px solid rgba(78, 56, 28, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 233, 220, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    inset 0 -2px 0 rgba(122, 93, 58, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.08);
}

.board-cell::before,
.board-cell::after,
.home-slot::before,
.home-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.board-cell::before {
  inset: 4px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  opacity: 0.7;
}

.cell-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 68%;
  height: 68%;
  transform: translate(-50%, -50%) rotate(calc(var(--rot, 0deg) * -1));
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1;
  color: rgba(103, 69, 32, 0.82);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.board-cell.track-star::after,
.board-cell.track-globe::after {
  inset: 8px;
  border-radius: 50%;
  background: rgba(255, 250, 238, 0.38);
}

.cell-marker.star {
  color: rgba(171, 119, 30, 0.96);
  font-size: 16px;
}

.cell-marker.globe {
  color: rgba(118, 78, 33, 0.96);
  font-size: 17px;
}

.board-cell.track-safe {
  border-color: rgba(255, 242, 212, 0.78);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.44),
    0 8px 16px rgba(0, 0, 0, 0.08);
}

.board-cell.track-safe::after {
  inset: 28%;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.board-cell.track-green {
  background: linear-gradient(180deg, #e8ffd9, #7ee256);
}

.board-cell.track-red {
  background: linear-gradient(180deg, #fff0ed, #ff8778);
}

.board-cell.track-yellow {
  background: linear-gradient(180deg, #fff9cf, #ffd85d);
}

.board-cell.track-purple {
  background: linear-gradient(180deg, #fff0ff, #ef77ff);
}

.board-cell.track-blue {
  background: linear-gradient(180deg, #eef8ff, #69baff);
}

.board-cell.lane {
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -4px 10px rgba(0, 0, 0, 0.18),
    0 8px 16px rgba(0, 0, 0, 0.12);
}

.board-cell.lane-green { background: linear-gradient(180deg, #7afe46, #32b20e); }
.board-cell.lane-red { background: linear-gradient(180deg, #ff7a68, #d7180d); }
.board-cell.lane-yellow { background: linear-gradient(180deg, #ffe96c, #ebb700); }
.board-cell.lane-purple { background: linear-gradient(180deg, #fd72ff, #b80be0); }
.board-cell.lane-blue { background: linear-gradient(180deg, #55bcff, #0d6fd8); }

.home-slot {
  width: 6.7%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.38), transparent 28%),
    rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0 0 8px rgba(255, 255, 255, 0.05),
    0 12px 20px rgba(0, 0, 0, 0.12);
}

.home-slot::before {
  inset: 6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.26);
}

.home-slot::after {
  inset: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.home-slot.green { background-color: rgba(88, 223, 40, 0.18); }
.home-slot.red { background-color: rgba(238, 46, 34, 0.18); }
.home-slot.yellow { background-color: rgba(255, 214, 51, 0.2); }
.home-slot.purple { background-color: rgba(213, 25, 255, 0.18); }
.home-slot.blue { background-color: rgba(22, 142, 242, 0.18); }

.piece {
  position: absolute;
  width: 4.35%;
  aspect-ratio: 0.76 / 1;
  transform: translate(-50%, -72%);
  border: 0;
  padding: 0;
  background: transparent;
  pointer-events: auto;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.2));
}

.piece::before,
.piece::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.piece::before {
  bottom: 0;
  width: 100%;
  height: 82%;
  border-radius: 48% 48% 18% 18% / 52% 52% 16% 16%;
  clip-path: polygon(50% 0, 70% 10%, 90% 78%, 100% 100%, 0 100%, 10% 78%, 30% 10%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -10px 16px rgba(0, 0, 0, 0.22);
}

.piece::after {
  top: 1%;
  width: 36%;
  height: 24%;
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.12);
}

.piece-green::before,
.piece-green::after { background: linear-gradient(180deg, #98ff70, #33b50f); }
.piece-red::before,
.piece-red::after { background: linear-gradient(180deg, #ff8e7e, #d91a0e); }
.piece-yellow::before,
.piece-yellow::after { background: linear-gradient(180deg, #fff286, #e3aa00); }
.piece-purple::before,
.piece-purple::after { background: linear-gradient(180deg, #ff98ff, #c011f1); }
.piece-blue::before,
.piece-blue::after { background: linear-gradient(180deg, #79d0ff, #0e76da); }

.piece.is-movable {
  cursor: pointer;
  animation: bob 1.15s ease-in-out infinite;
}

.piece.is-movable::before {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -10px 16px rgba(0, 0, 0, 0.22),
    0 0 0 4px rgba(255, 255, 255, 0.18);
}

.piece.is-movable:hover {
  filter: brightness(1.08) drop-shadow(0 12px 18px rgba(0, 0, 0, 0.28));
}

.piece.is-finished {
  opacity: 0.92;
}

.piece.is-captured {
  animation: shake 0.32s ease-in-out 2;
}

.ludo-sidebar {
  display: grid;
  gap: 18px;
}

.ludo-card {
  padding: 18px;
}

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

.card-head strong {
  color: var(--ink-soft);
  font-size: 13px;
}

.turn-card h2 {
  margin: 8px 0 10px;
  font-size: 38px;
  line-height: 0.96;
}

.turn-card p,
.rules-card p,
.action-hint,
.log-entry small,
.player-meta span {
  color: var(--ink-soft);
  line-height: 1.55;
}

.dice-panel {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 18px 0 16px;
}

.dice-display {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 24px;
  border: 1px solid rgba(255, 239, 220, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 30px rgba(0, 0, 0, 0.18);
}

.dice-display .pip {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff8ed;
  opacity: 0;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.pip-1 { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.pip-2 { left: 24px; top: 24px; }
.pip-3 { right: 24px; bottom: 24px; }
.pip-4 { right: 24px; top: 24px; }
.pip-5 { left: 24px; bottom: 24px; }
.pip-6 { left: 24px; top: 50%; transform: translateY(-50%); }
.pip-7 { right: 24px; top: 50%; transform: translateY(-50%); }

.dice-display[data-face="1"] .pip-1,
.dice-display[data-face="2"] .pip-2,
.dice-display[data-face="2"] .pip-3,
.dice-display[data-face="3"] .pip-1,
.dice-display[data-face="3"] .pip-2,
.dice-display[data-face="3"] .pip-3,
.dice-display[data-face="4"] .pip-2,
.dice-display[data-face="4"] .pip-3,
.dice-display[data-face="4"] .pip-4,
.dice-display[data-face="4"] .pip-5,
.dice-display[data-face="5"] .pip-1,
.dice-display[data-face="5"] .pip-2,
.dice-display[data-face="5"] .pip-3,
.dice-display[data-face="5"] .pip-4,
.dice-display[data-face="5"] .pip-5,
.dice-display[data-face="6"] .pip-2,
.dice-display[data-face="6"] .pip-3,
.dice-display[data-face="6"] .pip-4,
.dice-display[data-face="6"] .pip-5,
.dice-display[data-face="6"] .pip-6,
.dice-display[data-face="6"] .pip-7 {
  opacity: 1;
}

.dice-meta strong {
  display: block;
  margin-top: 6px;
  font-size: 42px;
  font-family: Cinzel, Georgia, serif;
}

.control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.primary-button,
.secondary-button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 231, 206, 0.12);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, filter 0.16s ease, opacity 0.16s ease;
}

.primary-button {
  background: linear-gradient(180deg, #ffb85d, #d87b19);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.secondary-button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 231, 206, 0.24);
  filter: brightness(1.05);
}

.primary-button:disabled,
.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.54;
  transform: none;
  filter: none;
}

.players-list,
.log-list {
  display: grid;
  gap: 10px;
}

.player-card,
.log-entry {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 231, 206, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.02);
}

.player-card.is-active {
  border-color: rgba(255, 224, 179, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 224, 179, 0.1);
}

.player-card.is-winner {
  border-color: rgba(255, 196, 94, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 196, 94, 0.12), rgba(255, 196, 94, 0.03)),
    rgba(255, 255, 255, 0.02);
}

.player-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.player-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.player-name {
  display: flex;
  align-items: center;
  font-weight: 800;
}

.player-card strong {
  font-size: 18px;
}

.player-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.log-entry strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.log-entry.capture strong {
  color: #ffd8a0;
}

.log-entry.finish strong {
  color: #ffe98d;
}

.log-entry.win strong {
  color: #ffbd63;
}

.rules-card p + p {
  margin-top: 10px;
}

@keyframes bob {
  0%,
  100% { transform: translate(-50%, -72%); }
  50% { transform: translate(-50%, -78%); }
}

@keyframes shake {
  0%,
  100% { transform: translate(-50%, -72%); }
  25% { transform: translate(-44%, -72%); }
  75% { transform: translate(-56%, -72%); }
}

@media (max-width: 1300px) {
  .ludo-layout {
    grid-template-columns: 1fr;
  }

  .ludo-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-scene {
    min-height: 820px;
  }
}

@media (max-width: 920px) {
  .ludo-app {
    padding: 12px;
    gap: 12px;
  }

  .ludo-topbar,
  .ludo-card,
  .ludo-board-card {
    border-radius: 22px;
  }

  .ludo-topbar {
    grid-template-columns: 1fr;
  }

  .top-actions {
    justify-content: flex-start;
  }

  .ludo-sidebar {
    grid-template-columns: 1fr;
  }

  .board-scene {
    min-height: 660px;
  }

  .board-ribbon {
    right: 12px;
    top: 12px;
    padding: 12px 16px 12px 22px;
    font-size: 18px;
  }

  .board-ribbon::before {
    left: -18px;
    width: 20px;
  }

  .board-center-badge {
    width: 118px;
    min-height: 118px;
    padding: 34px 10px 14px;
  }

  .board-center-badge strong {
    font-size: 20px;
  }
}
