.board-shell {
  display: grid;
  width: 100%;
  min-width: 0;
  place-items: center;
}

.board {
  position: relative;
  display: grid;
  width: min(100%, 920px);
  aspect-ratio: 1;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  grid-template-rows: repeat(11, minmax(0, 1fr));
  gap: 1px;
  padding: clamp(2px, 0.55vw, 7px);
  margin-inline: auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(227, 189, 98, 0.11), transparent 46%),
    linear-gradient(145deg, #1b304f, #08111f 62%);
  border: 1px solid var(--border-gold);
  border-radius: clamp(12px, 1.8vw, 24px);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(227, 189, 98, 0.07),
    inset 0 0 80px rgba(0, 0, 0, 0.36);
}

.space {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: var(--ivory-soft);
  background:
    linear-gradient(145deg, rgba(247, 241, 227, 0.075), rgba(4, 9, 19, 0.16)),
    rgba(11, 22, 39, 0.92);
  border: 1px solid rgba(247, 241, 227, 0.1);
  border-radius: clamp(2px, 0.45vw, 5px);
  font-family: var(--font-body);
  line-height: 1;
  text-align: center;
  touch-action: manipulation;
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.space:hover {
  z-index: 3;
  background:
    linear-gradient(145deg, rgba(247, 241, 227, 0.13), rgba(4, 9, 19, 0.12)),
    rgba(27, 48, 79, 0.96);
  border-color: rgba(227, 189, 98, 0.42);
}

.space:focus-visible {
  z-index: 10;
  outline: 2px solid var(--focus-ring);
  outline-offset: -2px;
  box-shadow: inset 0 0 0 2px var(--navy-950), 0 0 0 3px var(--focus-ring);
}

.space--corner {
  background:
    radial-gradient(circle at 28% 24%, rgba(227, 189, 98, 0.18), transparent 58%),
    linear-gradient(145deg, rgba(33, 56, 88, 0.98), rgba(7, 16, 29, 0.98));
  border-color: rgba(227, 189, 98, 0.24);
}

.space--start {
  background:
    radial-gradient(circle at 32% 30%, rgba(47, 174, 134, 0.26), transparent 62%),
    linear-gradient(145deg, rgba(18, 63, 55, 0.94), rgba(7, 21, 30, 0.98));
}

.space--jail,
.space--goToJail {
  background:
    radial-gradient(circle at 36% 32%, rgba(214, 90, 106, 0.18), transparent 60%),
    linear-gradient(145deg, rgba(58, 27, 41, 0.9), rgba(13, 18, 31, 0.98));
}

.space--chance,
.space--community {
  background:
    radial-gradient(circle at 44% 38%, rgba(227, 189, 98, 0.14), transparent 64%),
    linear-gradient(145deg, rgba(38, 38, 45, 0.9), rgba(9, 17, 29, 0.96));
}

.space--tax {
  background:
    linear-gradient(145deg, rgba(214, 90, 106, 0.16), rgba(20, 24, 36, 0.95));
}

.space--station {
  background:
    linear-gradient(145deg, rgba(196, 206, 221, 0.12), rgba(10, 20, 35, 0.95));
}

.space--utility {
  background:
    linear-gradient(145deg, rgba(108, 142, 227, 0.14), rgba(10, 20, 35, 0.95));
}

.space.is-owned:not(.is-mortgaged) {
  box-shadow: inset 0 0 0 1px rgba(247, 241, 227, 0.14);
}

.space.is-pending {
  border-color: var(--gold-bright);
  box-shadow: inset 0 0 0 2px rgba(227, 189, 98, 0.62), 0 0 18px rgba(227, 189, 98, 0.18);
  animation: pending-glow 2.4s ease-in-out infinite;
}

.space.is-current-position {
  box-shadow: inset 0 0 0 1px rgba(227, 189, 98, 0.32);
}

.space.is-selected {
  border-color: var(--gold-bright);
  box-shadow: inset 0 0 0 2px var(--gold-bright), 0 0 0 2px rgba(227, 189, 98, 0.2);
}

.space.is-mortgaged .space__body {
  opacity: 0.48;
}

@keyframes pending-glow {
  0%, 100% { box-shadow: inset 0 0 0 2px rgba(227, 189, 98, 0.46), 0 0 12px rgba(227, 189, 98, 0.1); }
  50% { box-shadow: inset 0 0 0 2px rgba(227, 189, 98, 0.8), 0 0 22px rgba(227, 189, 98, 0.24); }
}

.space[data-space="0"] { grid-area: 11 / 11; }
.space[data-space="1"] { grid-area: 11 / 10; }
.space[data-space="2"] { grid-area: 11 / 9; }
.space[data-space="3"] { grid-area: 11 / 8; }
.space[data-space="4"] { grid-area: 11 / 7; }
.space[data-space="5"] { grid-area: 11 / 6; }
.space[data-space="6"] { grid-area: 11 / 5; }
.space[data-space="7"] { grid-area: 11 / 4; }
.space[data-space="8"] { grid-area: 11 / 3; }
.space[data-space="9"] { grid-area: 11 / 2; }
.space[data-space="10"] { grid-area: 11 / 1; }
.space[data-space="11"] { grid-area: 10 / 1; }
.space[data-space="12"] { grid-area: 9 / 1; }
.space[data-space="13"] { grid-area: 8 / 1; }
.space[data-space="14"] { grid-area: 7 / 1; }
.space[data-space="15"] { grid-area: 6 / 1; }
.space[data-space="16"] { grid-area: 5 / 1; }
.space[data-space="17"] { grid-area: 4 / 1; }
.space[data-space="18"] { grid-area: 3 / 1; }
.space[data-space="19"] { grid-area: 2 / 1; }
.space[data-space="20"] { grid-area: 1 / 1; }
.space[data-space="21"] { grid-area: 1 / 2; }
.space[data-space="22"] { grid-area: 1 / 3; }
.space[data-space="23"] { grid-area: 1 / 4; }
.space[data-space="24"] { grid-area: 1 / 5; }
.space[data-space="25"] { grid-area: 1 / 6; }
.space[data-space="26"] { grid-area: 1 / 7; }
.space[data-space="27"] { grid-area: 1 / 8; }
.space[data-space="28"] { grid-area: 1 / 9; }
.space[data-space="29"] { grid-area: 1 / 10; }
.space[data-space="30"] { grid-area: 1 / 11; }
.space[data-space="31"] { grid-area: 2 / 11; }
.space[data-space="32"] { grid-area: 3 / 11; }
.space[data-space="33"] { grid-area: 4 / 11; }
.space[data-space="34"] { grid-area: 5 / 11; }
.space[data-space="35"] { grid-area: 6 / 11; }
.space[data-space="36"] { grid-area: 7 / 11; }
.space[data-space="37"] { grid-area: 8 / 11; }
.space[data-space="38"] { grid-area: 9 / 11; }
.space[data-space="39"] { grid-area: 10 / 11; }

.space__group {
  position: absolute;
  z-index: 3;
  width: auto;
  height: auto;
  overflow: hidden;
  border-radius: 1px;
  pointer-events: none;
}

.space--bottom .space__group {
  inset-block-start: 0;
  inset-inline: 0;
  height: clamp(3px, 0.38vw, 5px);
}

.space--left .space__group {
  inset-block: 0;
  inset-inline-end: 0;
  width: clamp(3px, 0.38vw, 5px);
}

.space--top .space__group {
  inset-block-end: 0;
  inset-inline: 0;
  height: clamp(3px, 0.38vw, 5px);
}

.space--right .space__group {
  inset-block: 0;
  inset-inline-start: 0;
  width: clamp(3px, 0.38vw, 5px);
}

.space__owner {
  position: absolute;
  inset-block-start: clamp(2px, 0.35vw, 4px);
  inset-inline-end: clamp(2px, 0.35vw, 4px);
  z-index: 6;
  width: clamp(7px, 0.9vw, 12px);
  aspect-ratio: 1;
  pointer-events: none;
}

.space__owner svg {
  width: 100%;
  height: 100%;
}

.space__body {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.1em;
  padding: 8% 5% 15%;
  overflow: hidden;
  transform-origin: 50% 50%;
}

.space--left .space__body { transform: rotate(-90deg); }
.space--right .space__body { transform: rotate(90deg); }
.space--top .space__body { transform: rotate(180deg); }

.space--bottom .space__body { padding-block-start: 15%; padding-block-end: 20%; }
.space--left .space__body { padding-inline-end: 19%; padding-inline-start: 14%; }
.space--right .space__body { padding-inline-start: 19%; padding-inline-end: 14%; }
.space--top .space__body { padding-block-end: 15%; padding-block-start: 20%; }

.space--corner .space__body {
  gap: 0.2em;
  padding: 11%;
}

.space__icon {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: clamp(0.4rem, 0.9vw, 0.9rem);
  font-weight: 700;
  line-height: 0.9;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.36);
}

.space__name {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: clamp(0.31rem, 0.68vw, 0.58rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.04;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.space__name-short {
  display: none;
}

.space--corner .space__name {
  font-family: var(--font-display);
  font-size: clamp(0.4rem, 0.8vw, 0.7rem);
  letter-spacing: 0.03em;
  white-space: normal;
}

.space__price {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--gold);
  font-size: clamp(0.27rem, 0.58vw, 0.5rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.space--corner .space__price {
  color: var(--gold-bright);
  font-size: clamp(0.34rem, 0.66vw, 0.56rem);
}

.space__buildings {
  position: absolute;
  inset-block-start: clamp(2px, 0.4vw, 5px);
  inset-inline-start: clamp(2px, 0.4vw, 5px);
  z-index: 7;
  display: flex;
  gap: 1px;
  pointer-events: none;
}

.space__house {
  display: block;
  width: clamp(3px, 0.42vw, 6px);
  height: clamp(3px, 0.42vw, 6px);
  background: var(--emerald-bright);
  border: 1px solid rgba(7, 16, 29, 0.7);
  border-radius: 1px;
  box-shadow: 0 0 3px rgba(47, 174, 134, 0.4);
}

.space__buildings--hotel .space__hotel {
  display: block;
  width: clamp(7px, 0.9vw, 12px);
  height: clamp(4px, 0.5vw, 7px);
  background: linear-gradient(90deg, var(--ruby-bright), var(--gold-bright));
  border: 1px solid rgba(7, 16, 29, 0.72);
  border-radius: 1px;
  box-shadow: 0 0 4px rgba(227, 189, 98, 0.36);
}

.space__mortgage {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  color: #ffd7dc;
  background: repeating-linear-gradient(135deg, rgba(214, 90, 106, 0.17) 0 4px, transparent 4px 8px);
  font-size: clamp(0.3rem, 0.55vw, 0.48rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  pointer-events: none;
  place-items: center;
}

.space__tokens {
  position: absolute;
  inset-inline: 2px;
  inset-block-end: 2px;
  z-index: 9;
  display: flex;
  max-height: 48%;
  align-items: center;
  justify-content: center;
  gap: 1px;
  flex-wrap: wrap;
  overflow: hidden;
  pointer-events: none;
}

.token {
  display: inline-grid;
  width: clamp(6px, 0.72vw, 11px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
}

.token svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.token--self svg {
  filter: drop-shadow(0 0 2px var(--gold-bright)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}

.token--more {
  width: auto;
  min-width: clamp(6px, 0.72vw, 11px);
  color: var(--ivory);
  font-size: clamp(0.22rem, 0.42vw, 0.36rem);
  font-weight: 900;
}

.board-center {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  min-height: 0;
  grid-area: 2 / 2 / 11 / 11;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: clamp(0.1rem, 0.38vw, 0.5rem);
  padding: clamp(0.35rem, 1.4vw, 1.35rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(227, 189, 98, 0.11), transparent 32%),
    radial-gradient(circle at 50% 50%, rgba(27, 48, 79, 0.92), rgba(5, 12, 22, 0.98) 72%);
  border: 1px solid rgba(227, 189, 98, 0.16);
  border-radius: clamp(7px, 1.2vw, 16px);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.45);
}

.board-center::before,
.board-center::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(227, 189, 98, 0.08);
  border-radius: 50%;
}

.board-center::before {
  width: 55%;
  aspect-ratio: 1;
}

.board-center::after {
  width: 78%;
  aspect-ratio: 1;
  border-style: dashed;
}

.board-center > * {
  position: relative;
  z-index: 1;
}

.board-center__crest {
  width: clamp(30px, 4.8vw, 58px);
  filter: drop-shadow(0 9px 18px rgba(0, 0, 0, 0.34));
}

.board-center__crest img {
  width: 100%;
  height: auto;
}

.board-center__eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: clamp(0.38rem, 0.66vw, 0.62rem);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.board-center__title {
  margin: 0;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.64vw, 1.55rem);
  letter-spacing: 0.015em;
  line-height: 1;
  text-align: center;
}

.board-center__phase {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(0.38rem, 0.65vw, 0.62rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-center__turn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.25rem, 0.7vw, 0.6rem);
  flex-wrap: wrap;
  padding: clamp(0.25rem, 0.55vw, 0.5rem) clamp(0.35rem, 0.8vw, 0.7rem);
  background: rgba(247, 241, 227, 0.045);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
}

.board-center__turn-label {
  color: var(--text-muted);
  font-size: clamp(0.34rem, 0.55vw, 0.56rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-center__player {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.board-center__player strong {
  color: var(--ivory);
  font-size: clamp(0.4rem, 0.72vw, 0.68rem);
}

.board-center__avatar {
  position: relative;
  display: inline-grid;
  width: clamp(16px, 2vw, 26px);
  aspect-ratio: 1;
  place-items: center;
}

.board-center__avatar svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.board-center__avatar > span {
  position: relative;
  z-index: 1;
  font-size: clamp(0.45rem, 0.8vw, 0.8rem);
}

.board-dice-wrap {
  display: grid;
  justify-items: center;
  gap: clamp(0.08rem, 0.3vw, 0.25rem);
}

.board-dice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.2rem, 0.55vw, 0.5rem);
  perspective: 480px;
}

.board-dice.is-rolling .die {
  animation: dice-tumble 0.72s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.board-dice.is-rolling .die:nth-child(2) {
  animation-delay: 0.08s;
}

@keyframes dice-tumble {
  0% { transform: rotateX(0) rotateY(0) rotateZ(0) scale(1); }
  35% { transform: rotateX(220deg) rotateY(140deg) rotateZ(16deg) scale(1.08); }
  70% { transform: rotateX(390deg) rotateY(300deg) rotateZ(-8deg) scale(0.98); }
  100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(0) scale(1); }
}

.die {
  display: grid;
  width: clamp(24px, 3.1vw, 42px);
  aspect-ratio: 1;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10%;
  padding: 16%;
  background: linear-gradient(145deg, #fffdf5, #d8cdb6);
  border-radius: clamp(5px, 0.7vw, 9px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.38), inset 0 -3px 7px rgba(0, 0, 0, 0.13);
}

.die--empty {
  opacity: 0.4;
}

.die__pip {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
}

.die__pip.is-on {
  background: #111b2d;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.14);
}

.die__void {
  display: grid;
  grid-area: 1 / 1 / 4 / 4;
  color: var(--navy-700);
  font-size: 1rem;
  place-items: center;
}

.board-dice__total {
  color: var(--gold);
  font-size: clamp(0.34rem, 0.56vw, 0.56rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-center__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.3rem, 0.9vw, 0.8rem);
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: clamp(0.32rem, 0.54vw, 0.53rem);
  text-align: center;
}

.board-center__pot {
  padding: 0.1rem 0.4rem;
  color: var(--gold-bright);
  background: var(--gold-soft);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
}

.board-center__log {
  display: flex;
  width: min(100%, 35rem);
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.2rem;
  padding: clamp(0.2rem, 0.45vw, 0.4rem) clamp(0.3rem, 0.65vw, 0.6rem);
  overflow: hidden;
  background: rgba(4, 9, 19, 0.38);
  border: 1px solid var(--border-subtle);
  border-radius: clamp(4px, 0.6vw, 8px);
}

.log__title {
  flex: 0 0 auto;
  margin: 0;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: clamp(0.35rem, 0.55vw, 0.55rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.log__list {
  display: grid;
  min-height: 0;
  gap: clamp(0.12rem, 0.28vw, 0.25rem);
  padding: 0;
  margin: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  scrollbar-width: none;
}

.log__list::-webkit-scrollbar {
  width: 0;
}

.log-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: clamp(0.35rem, 0.56vw, 0.57rem);
  line-height: 1.35;
  text-align: left;
}

.log-entry__dot {
  width: clamp(5px, 0.55vw, 8px);
  margin-block-start: 0.22em;
}

.log-entry__dot svg {
  width: 100%;
  height: auto;
}

.log-entry__text {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .space__name {
    font-size: clamp(0.3rem, 0.76vw, 0.53rem);
  }

  .space__price {
    font-size: clamp(0.26rem, 0.64vw, 0.46rem);
  }
}

@media (max-width: 900px) {
  .space__name-full {
    display: none;
  }

  .space__name-short {
    display: inline;
  }

  .space__name {
    font-size: clamp(0.3rem, 1.08vw, 0.5rem);
    letter-spacing: 0.02em;
  }

  .space__price {
    font-size: clamp(0.26rem, 0.96vw, 0.44rem);
  }

  .space__icon {
    font-size: clamp(0.38rem, 1.1vw, 0.68rem);
  }

  .board-center__title {
    font-size: clamp(0.68rem, 2.2vw, 1.1rem);
  }
}

@media (max-width: 720px) {
  .board {
    width: 100%;
    max-width: none;
    gap: 1px;
    padding: 2px;
    border-radius: 10px;
  }

  .space {
    border-radius: 2px;
  }

  .space__body {
    gap: 0.05em;
    padding: 5% 3% 17%;
  }

  .space--bottom .space__body { padding-block-start: 12%; padding-block-end: 20%; }
  .space--left .space__body { padding-inline-end: 18%; padding-inline-start: 12%; }
  .space--right .space__body { padding-inline-start: 18%; padding-inline-end: 12%; }
  .space--top .space__body { padding-block-end: 12%; padding-block-start: 20%; }

  .space__name {
    font-size: clamp(0.33rem, 1.5vw, 0.46rem);
    letter-spacing: 0;
  }

  .space--corner .space__name {
    font-size: clamp(0.38rem, 1.65vw, 0.52rem);
  }

  .space__price {
    font-size: clamp(0.29rem, 1.25vw, 0.4rem);
  }

  .space--corner .space__price {
    font-size: clamp(0.32rem, 1.4vw, 0.44rem);
  }

  .space__icon {
    font-size: clamp(0.34rem, 1.35vw, 0.55rem);
  }

  .space__group,
  .space--bottom .space__group,
  .space--top .space__group {
    height: 3px;
  }

  .space--left .space__group,
  .space--right .space__group {
    width: 3px;
  }

  .space__owner {
    width: 6px;
  }

  .space__house {
    width: 3px;
    height: 3px;
  }

  .space__buildings--hotel .space__hotel {
    width: 7px;
    height: 4px;
  }

  .token {
    width: clamp(5px, 1.8vw, 8px);
  }

  .board-center {
    gap: 0.12rem;
    padding: 0.3rem 0.4rem;
  }

  .board-center::before {
    width: 64%;
  }

  .board-center::after {
    width: 86%;
  }

  .board-center__crest,
  .board-center__eyebrow,
  .board-center__phase {
    display: none;
  }

  .board-center__title {
    font-size: clamp(0.56rem, 2.5vw, 0.85rem);
    letter-spacing: 0.04em;
  }

  .board-center__turn {
    gap: 0.3rem;
    padding: 0.16rem 0.38rem;
  }

  .board-center__turn-label {
    display: none;
  }

  .board-center__player strong {
    font-size: clamp(0.42rem, 1.8vw, 0.62rem);
  }

  .board-center__avatar {
    width: clamp(14px, 4vw, 22px);
  }

  .die {
    width: clamp(20px, 6.5vw, 32px);
    border-radius: 5px;
  }

  .board-dice__total {
    font-size: clamp(0.3rem, 1.4vw, 0.48rem);
  }

  .board-center__meta {
    font-size: clamp(0.28rem, 1.2vw, 0.43rem);
  }

  .board-center__log {
    width: 100%;
    padding: 0.2rem 0.3rem;
  }

  .log__title {
    font-size: clamp(0.3rem, 1.25vw, 0.45rem);
  }

  .log-entry {
    font-size: clamp(0.3rem, 1.2vw, 0.44rem);
  }
}

@media (max-width: 420px) {
  .board-center__meta {
    display: none;
  }

  .board-center__title {
    white-space: nowrap;
  }

  .board-center__log {
    margin-block-start: 0.1rem;
  }

  .space__icon {
    display: none;
  }

  .space--corner .space__icon {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .space.is-pending {
    animation: none;
  }
}
