:root {
  --ink: #17352f;
  --muted: #6f7c77;
  --paper: #f5efd9;
  --paper-deep: #e8dfc2;
  --green: #1f6257;
  --green-dark: #123f39;
  --coral: #e85d4a;
  --gold: #e5ac36;
  --cream: #fffaf0;
  --line: rgba(23, 53, 47, .17);
  --shadow: 0 16px 44px rgba(31, 54, 46, .15);
  /* 돈 증감 알림: 표시 시간과 움직임은 여기서 조절합니다. */
  --money-burst-duration: 2.6s;
  --money-burst-start-y: 5px;
  --money-burst-middle-y: -1px;
  --money-burst-end-y: -4px;
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: #d9e2d9;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { min-width: 320px; min-height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 15% 5%, rgba(255,255,255,.75), transparent 30%),
    linear-gradient(135deg, #e5ebe1 0%, #cedbd3 100%);
}

button, input, select { font: inherit; }
button { touch-action: manipulation; }

.paper-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: repeating-linear-gradient(112deg, transparent 0 5px, rgba(26,60,52,.025) 5px 6px);
  z-index: 10;
}

.topbar {
  min-height: 76px;
  padding: 14px clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 250, 240, .84);
  border-bottom: 1px solid rgba(23, 53, 47, .13);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--cream);
  background: var(--coral);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.22);
}

.eyebrow {
  margin: 0 0 2px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--coral);
}

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-family: Georgia, "Noto Serif KR", serif; font-size: clamp(20px, 2.3vw, 29px); letter-spacing: -.035em; }
h2 { margin-bottom: 0; font-size: 18px; letter-spacing: -.03em; }
h3 { margin-bottom: 8px; }

.topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.connection-pill, .count-badge, .mini-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}
.connection-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; background: currentColor; }
.connection-pill.is-online { color: #267356; background: #e0f3e8; }
.connection-pill.is-offline { color: #9b564c; background: #f8e3df; }
.count-badge, .mini-badge { color: var(--green); background: rgba(31,98,87,.1); }

.button {
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, opacity .15s ease;
}
.button:hover:not(:disabled) { filter: brightness(1.04); transform: translateY(-1px); }
.button:active:not(:disabled) { transform: translateY(0); }
.button:disabled { cursor: not-allowed; opacity: .42; }
.button-primary { color: white; background: var(--coral); box-shadow: 0 8px 18px rgba(232,93,74,.2); }
.button-dark { color: white; background: var(--green-dark); }
.button-quiet { color: var(--green-dark); background: rgba(31,98,87,.1); }
.button-light { color: var(--green-dark); background: var(--cream); border: 1px solid var(--line); }
.button-danger { color: #9f3027; background: #fce7e3; }
.button-large { width: 100%; min-height: 48px; font-size: 15px; }
.button-row { display: flex; flex-wrap: wrap; gap: 8px; }

.game-shell {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: clamp(12px, 2vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(12px, 2vw, 24px);
  align-items: start;
}

.board-wrap {
  min-width: 0;
  display: grid;
  place-items: start center;
}

.board {
  position: relative;
  width: min(100%, calc(100vh - 122px));
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  grid-template-rows: repeat(9, minmax(0, 1fr));
  gap: 3px;
  padding: 7px;
  border: 2px solid var(--green-dark);
  border-radius: 24px;
  background: var(--green-dark);
  box-shadow: var(--shadow), inset 0 0 0 4px rgba(255,255,255,.13);
  overflow: hidden;
}

.board-center {
  grid-area: 2 / 2 / 9 / 9;
  min-width: 0;
  min-height: 0;
  padding: clamp(12px, 2.2vw, 30px);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.98) 0 20%, transparent 52%),
    linear-gradient(145deg, #f8f1d8, #e9dfbd);
  position: relative;
  overflow: auto;
}
.board-center::before, .board-center::after {
  content: "";
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid rgba(31,98,87,.15);
  border-radius: 50%;
  pointer-events: none;
}
.board-center::before { left: -18%; top: -18%; }
.board-center::after { right: -18%; bottom: -18%; }
.center-content { width: min(100%, 520px); position: relative; z-index: 1; }
.center-kicker { margin-bottom: 5px; color: var(--coral); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.center-title { margin: 0 0 8px; font-family: Georgia, "Noto Serif KR", serif; font-size: clamp(22px, 3.6vw, 45px); line-height: 1; letter-spacing: -.06em; }
.center-copy { max-width: 430px; margin: 0 auto 18px; color: var(--muted); font-size: clamp(12px, 1.3vw, 15px); line-height: 1.55; }

.tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 5px 4px 4px;
  border: 0;
  border-radius: 7px;
  color: var(--ink);
  background: var(--cream);
  cursor: pointer;
  overflow: hidden;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(23,53,47,.12);
}
.tile:hover { filter: brightness(1.03); }
.tile.is-owned { outline: 2px solid var(--owner-color); outline-offset: -3px; }
.tile.has-players {
  background: #ffedb0;
  box-shadow: inset 0 0 0 3px rgba(211, 144, 15, .5);
}
.tile.has-players .tile-name { color: #493815; }
.tile-name { display: block; margin-top: 3px; font-size: clamp(7px, .85vw, 12px); line-height: 1.08; font-weight: 850; overflow-wrap: anywhere; }
.tile-price { display: block; margin-top: 3px; font-size: clamp(6px, .68vw, 9px); color: var(--muted); }
.tile-symbol { display: block; margin-top: 3px; font-family: Georgia, serif; font-size: clamp(12px, 1.6vw, 22px); line-height: 1; color: var(--coral); }
.tile-tokens { position: absolute; left: 3px; right: 3px; bottom: 3px; min-height: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 2px; border-radius: 7px; }
.has-players .tile-tokens { min-height: 16px; padding: 2px; background: rgba(255,255,255,.78); box-shadow: 0 2px 5px rgba(88,57,10,.16); }
.map-token { width: clamp(8px, 1vw, 14px); height: clamp(8px, 1vw, 14px); border-radius: 50%; background: var(--token-color); border: 2px solid white; box-shadow: 0 1px 3px rgba(0,0,0,.38); }
.building-stack { position: absolute; top: 8px; right: 2px; display: flex; gap: 1px; }
.building-chip { min-width: 10px; padding: 1px 2px; border-radius: 3px; color: white; background: var(--green); font-size: clamp(5px, .55vw, 8px); font-weight: 900; }

.side-panel { display: grid; gap: 14px; position: sticky; top: 96px; }
.panel { min-width: 0; border: 1px solid rgba(23,53,47,.14); border-radius: 18px; background: rgba(255,250,240,.9); box-shadow: 0 10px 28px rgba(31,54,46,.08); overflow: hidden; }
.section-heading { padding: 16px 16px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-heading.compact { padding-bottom: 8px; }
.player-list { padding: 0 10px 12px; display: grid; gap: 7px; max-height: 48vh; overflow: auto; }
.player-card { position: relative; padding: 10px; display: grid; grid-template-columns: auto minmax(0,1fr) minmax(0,auto) auto; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: 12px; background: rgba(23,53,47,.045); }
.player-card.is-current { border-color: color-mix(in srgb, var(--player-color) 70%, white); background: color-mix(in srgb, var(--player-color) 9%, white); }
.player-card.is-self .player-name::after { content: " 나"; color: var(--coral); font-size: 10px; }
.player-card.is-offline { opacity: .55; }
.player-card.is-eliminated { filter: grayscale(.75); }
.player-token { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--player-color); font-size: 11px; font-weight: 900; box-shadow: inset 0 0 0 3px rgba(255,255,255,.25); }
.player-main { min-width: 0; }
.player-name-line { display: flex; align-items: center; gap: 5px; min-width: 0; }
.player-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 850; }
.host-crown { color: #c68a12; font-size: 12px; }
.player-meta { margin-top: 2px; display: flex; gap: 7px; font-size: 10px; color: var(--muted); }
.player-finance { min-width: 0; }
.player-money { font-size: 12px; font-weight: 850; text-align: right; white-space: nowrap; }
.turn-time { margin-top: 2px; display: flex; align-items: baseline; justify-content: flex-end; gap: 4px; min-height: 16px; white-space: nowrap; }
.turn-live { color: var(--coral); font-size: 12px; font-weight: 850; }
.turn-total { color: #a9afac; font-size: 9px; font-weight: 700; }
.money-burst {
  display: block;
  max-width: clamp(62px, 8vw, 112px);
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 4px 12px rgba(23,53,47,.18);
  overflow: hidden;
  font-size: clamp(9px, .8vw, 12px);
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  animation: money-float var(--money-burst-duration) ease-out forwards;
}
.money-change-slot { min-width: 0; min-height: 25px; display: flex; align-items: center; justify-content: center; }
.money-burst.is-positive { color: #2777c9; }
.money-burst.is-negative { color: #d4473c; }
@keyframes money-float {
  0% { opacity: 0; transform: translateY(var(--money-burst-start-y)) scale(.9); }
  16% { opacity: 1; transform: translateY(0) scale(1.05); }
  72% { opacity: 1; transform: translateY(var(--money-burst-middle-y)) scale(1); }
  100% { opacity: 0; transform: translateY(var(--money-burst-end-y)) scale(.98); }
}
@keyframes money-fade {
  0% { opacity: 0; transform: none; }
  12%, 78% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; }
}

.game-log { padding: 0 14px 14px; overflow-y: auto; transition: height .2s ease; }
.game-log[data-size="0"] { display: none; }
.game-log[data-size="1"] { height: min(230px, 27vh); }
.game-log[data-size="2"] { height: min(410px, 47vh); }
.game-log[data-size="3"] { height: min(620px, 68vh); }
.log-size-controls { display: flex; gap: 5px; }
.log-entry { padding: 7px 0; border-top: 1px dashed var(--line); color: #586762; font-size: 11px; line-height: 1.45; }
.log-entry time { margin-right: 5px; color: #a0aaa6; font-variant-numeric: tabular-nums; }
.log-entry[data-type="admin"] { color: #8f493e; }
.log-entry[data-type="winner"] { color: #9a6a00; font-weight: 850; }

.icon-button { width: 32px; height: 32px; border: 0; border-radius: 9px; display: grid; place-items: center; color: var(--green-dark); background: rgba(31,98,87,.09); font-size: 20px; cursor: pointer; }

.turn-center-content { width: min(100%, 560px); }
.current-turn-block { width: 100%; }
.last-roll {
  width: min(100%, 480px);
  max-width: 100%;
  min-height: 58px;
  margin: 0 auto clamp(28px, 4.5vw, 58px);
  padding: 10px 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid color-mix(in srgb, var(--roller-color) 28%, rgba(23,53,47,.12));
  border-radius: 16px;
  color: #65736e;
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 24px rgba(23,53,47,.11);
  white-space: nowrap;
}
.last-roll-label { color: #8d9995; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.last-roll-player { max-width: 130px; padding-right: 8px; display: inline-flex; align-items: center; gap: 6px; overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 850; text-overflow: ellipsis; }
.last-roll-player i { width: 11px; height: 11px; flex: 0 0 auto; border-radius: 50%; background: var(--roller-color); box-shadow: 0 0 0 2px white, 0 0 0 4px color-mix(in srgb, var(--roller-color) 45%, transparent); }
.last-roll-dice { display: inline-flex; align-items: center; gap: 5px; }
.last-roll-dice b { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(23,53,47,.17); border-radius: 10px; color: var(--green-dark); background: white; box-shadow: 0 3px 8px rgba(23,53,47,.11); font-family: Georgia, serif; font-size: 24px; }
.last-roll-dice em { color: #9ba5a1; font-size: 16px; font-style: normal; font-weight: 900; }
.last-roll-total { min-height: 40px; padding-left: 10px; display: inline-flex; align-items: center; gap: 5px; border-left: 1px solid var(--line); color: var(--coral); font-size: 27px; font-weight: 950; }
.last-roll-total small { color: #8f9b97; font-size: 9px; font-weight: 800; }
.last-roll-double { padding: 5px 7px; border-radius: 7px; color: #8b620e; background: #f6df9d; font-size: 9px; font-weight: 950; letter-spacing: .06em; }
.moving-piece {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 30;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 4px solid white;
  border-radius: 50%;
  color: white;
  background: var(--piece-color);
  box-shadow: 0 10px 24px rgba(8, 30, 25, .35), inset 0 0 0 4px rgba(255,255,255,.2);
  font-size: clamp(12px, 2vw, 22px);
  font-weight: 950;
  pointer-events: none;
  transition-property: transform;
  transition-timing-function: cubic-bezier(.3, .72, .3, 1);
  will-change: transform;
}
.moving-piece.is-arrived { animation: piece-arrive .25s ease-out; }
.board.is-moving .board-center { pointer-events: none; }
@keyframes piece-arrive {
  50% { filter: brightness(1.16); }
}
.action-card { padding: clamp(12px, 2vw, 22px); border: 1px solid rgba(23,53,47,.13); border-radius: 16px; background: rgba(255,255,255,.7); }
.action-card .price-line { margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.action-card .price-line strong { color: var(--ink); }
.action-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; }
.build-option { padding: 10px 6px; border: 1px solid var(--line); border-radius: 10px; background: white; cursor: pointer; }
.build-option strong, .build-option span { display: block; }
.build-option strong { font-size: 12px; }
.build-option span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.build-option:disabled { opacity: .4; cursor: not-allowed; }
.waiting-copy { color: var(--muted); font-size: 13px; }
.lobby-list { margin: 14px 0; padding: 0; list-style: none; text-align: left; }
.lobby-item { padding: 8px 4px; display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 8px; border-bottom: 1px dashed var(--line); font-size: 12px; }
.order-buttons { display: flex; gap: 3px; }
.order-buttons button { width: 26px; height: 26px; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: white; cursor: pointer; }
.travel-select { width: 100%; min-height: 42px; margin-bottom: 9px; border: 1px solid var(--line); border-radius: 10px; background: white; padding: 8px; }
.liquidation-list { max-height: 190px; margin: 10px 0; display: grid; gap: 6px; overflow: auto; text-align: left; }
.liquidation-item { padding: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; background: white; font-size: 11px; }
.forced-sale-item.is-eligible { border-color: rgba(212,71,60,.48); background: #fff7f4; }
.forced-sale-item.is-locked { opacity: .58; }
.forced-sale-item .button:disabled { cursor: not-allowed; }
.sale-funding { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); text-align: left; }
.sale-funding summary { color: #9f493f; font-size: 11px; font-weight: 850; cursor: pointer; }
.sale-funding > p { margin: 6px 0 0; color: var(--muted); font-size: 9px; }
.card-golden { border-color: rgba(199,143,23,.4); background: linear-gradient(145deg, #fffaf0, #f7e7ad); }
.card-golden .card-symbol { font-family: Georgia, serif; font-size: 32px; color: #c98c14; }

.dialog { width: min(92vw, 430px); max-height: 90vh; padding: 0; border: 0; border-radius: 20px; color: var(--ink); background: transparent; box-shadow: 0 28px 90px rgba(10,32,27,.3); }
.dialog::backdrop { background: rgba(12,34,30,.48); backdrop-filter: blur(4px); }
.dialog-card { padding: clamp(22px, 5vw, 34px); background: var(--cream); }
.dialog-card.wide { width: min(92vw, 720px); }
.admin-dialog { width: min(92vw, 720px); }
.dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.dialog-copy { margin: 10px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.field-label { display: block; margin: 12px 0 6px; font-size: 12px; font-weight: 800; }
input, select { width: 100%; min-height: 44px; padding: 9px 11px; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; background: white; outline: none; }
input:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,98,87,.1); }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; }
.checkbox-row input { width: 18px; min-height: 18px; margin: 0; accent-color: var(--green); }
.form-error { min-height: 20px; margin: 7px 0; color: #b43d32; font-size: 11px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-block { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(31,98,87,.04); }
.admin-block h3 { font-size: 14px; }
.admin-fields { display: grid; gap: 8px; }
.admin-roster { grid-column: 1 / -1; }
.admin-player { padding: 8px 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px dashed var(--line); font-size: 12px; }
.tile-detail-list { display: grid; gap: 8px; }
.tile-detail-row { padding: 8px 0; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line); font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 100; max-width: min(90vw, 520px); padding: 11px 16px; border-radius: 12px; color: white; background: #2c3f3a; box-shadow: var(--shadow); font-size: 13px; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 940px) {
  .game-shell { grid-template-columns: 1fr; }
  .board { width: min(100%, 820px); }
  .side-panel { position: static; max-height: none; grid-template-columns: 1fr 1fr; }
  .player-list { max-height: 330px; }
}

@media (max-width: 640px) {
  .topbar { min-height: 62px; padding: 10px 12px; align-items: flex-start; }
  .brand-mark { width: 34px; height: 34px; }
  .brand .eyebrow { display: none; }
  h1 { font-size: 19px; }
  .connection-pill { min-height: 25px; padding: 4px 7px; font-size: 10px; }
  .topbar-actions .button { min-height: 32px; padding: 6px 9px; font-size: 11px; }
  .game-shell { padding: 8px; gap: 10px; }
  .board { width: 100%; padding: 4px; gap: 2px; border-radius: 15px; }
  .tile { padding: 3px 1px 2px; border-radius: 4px; }
  .tile-price { display: none; }
  .tile-symbol { margin-top: 1px; }
  .building-stack { top: 5px; }
  .has-players .tile-tokens { min-height: 10px; padding: 1px; gap: 1px; }
  .map-token { width: 7px; height: 7px; border-width: 1px; }
  .board-center { padding: 8px; border-radius: 7px; }
  .center-title { font-size: clamp(19px, 6vw, 30px); }
  .center-copy { margin-bottom: 10px; font-size: 10px; line-height: 1.4; }
  .center-kicker { font-size: 8px; }
  .action-card { padding: 9px; border-radius: 10px; }
  .action-card h3 { margin-bottom: 5px; font-size: 13px; }
  .action-card .price-line { margin-bottom: 7px; font-size: 9px; }
  .button-row { gap: 5px; }
  .button-row .button { min-height: 32px; padding: 5px 8px; font-size: 10px; }
  .last-roll { min-height: 43px; margin-bottom: clamp(20px, 5vw, 34px); padding: 6px 7px; gap: 5px; border-radius: 10px; }
  .last-roll-label { display: none; }
  .last-roll-player { max-width: 55px; padding-right: 2px; gap: 3px; font-size: 9px; }
  .last-roll-player i { width: 7px; height: 7px; }
  .last-roll-dice { gap: 3px; }
  .last-roll-dice b { width: 30px; height: 30px; border-radius: 7px; font-size: 17px; }
  .last-roll-total { min-height: 28px; padding-left: 5px; gap: 2px; font-size: 19px; }
  .last-roll-total small { font-size: 6px; }
  .last-roll-double { padding: 3px 4px; font-size: 6px; }
  .money-change-slot { max-width: 84px; }
  .action-grid { gap: 4px; }
  .build-option { padding: 6px 3px; }
  .build-option strong { font-size: 9px; }
  .build-option span { font-size: 8px; }
  .lobby-list { max-height: 110px; margin: 7px 0; overflow: auto; }
  .lobby-item { padding: 4px 2px; font-size: 9px; }
  .order-buttons button { width: 22px; height: 22px; }
  .side-panel { grid-template-columns: 1fr; }
  .panel { border-radius: 14px; }
  .section-heading { padding: 13px 13px 9px; }
  .player-list { max-height: none; }
  .game-log[data-size="1"] { height: 190px; }
  .game-log[data-size="2"] { height: 330px; }
  .game-log[data-size="3"] { height: 52vh; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-roster { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
  .money-burst { animation-name: money-fade !important; animation-duration: var(--money-burst-duration) !important; }
  .moving-piece { transition-duration: 90ms !important; }
}
