/* One proportional logo component is used in the menu and over the board. */
body.ludo-game #ludo-setup .brand-lockup,
body.ludo-game.playing-ludo .play-toolbar .board-logo {
  display: grid;
  place-items: center;
  overflow: visible;
  filter: none;
}
body.ludo-game #ludo-setup .brand-lockup {
  --brand-height: clamp(92px, 18vw, 180px);
}
body.ludo-game.playing-ludo .board-logo {
  --brand-height: 52px;
}
body.ludo-game .mahir-brand {
  position: relative;
  display: block;
  flex: none;
  width: min(100%, calc(var(--brand-height) * 3));
  height: auto;
  aspect-ratio: 3 / 1;
  container-type: inline-size;
}
body.ludo-game main .mahir-brand .mahir-brand-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 1.74cqw 1.74cqw #160701);
}
body.ludo-game .mahir-brand .mahir-brand-words {
  position: absolute;
  z-index: 2;
  left: 12%;
  right: 12%;
  top: 38%;
  display: grid;
  justify-items: center;
  padding: 0 4%;
  color: #ffdc64;
  font:
    italic 900 11.13cqw / 0.85 Georgia,
    serif;
  letter-spacing: -0.04em;
  text-shadow:
    0 0.58cqw #ffe9a0,
    0 1.16cqw #9f4d0d,
    0 2.03cqw #461a08,
    0 3.19cqw 2.61cqw #0d0401;
}
body.ludo-game .mahir-brand .mahir-brand-words strong {
  color: #fff5e5;
  font-size: 0.92em;
}
@media (min-width: 900px) {
  body.ludo-game #ludo-setup .brand-lockup {
    --brand-height: clamp(96px, 15dvh, 132px);
  }
  body.ludo-game.playing-ludo .board-logo {
    --brand-height: 84px;
  }
}
@media (max-width: 500px) {
  body.ludo-game #ludo-setup .brand-lockup {
    --brand-height: 91px;
  }
}
