:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --ink-strong: #ffffff;
  --muted: rgba(236, 245, 255, 0.68);
  --line: rgba(255, 255, 255, 0.26);
  --glass: rgba(255, 255, 255, 0.16);
  --glass-bright: rgba(255, 255, 255, 0.28);
  --glass-deep: rgba(13, 20, 40, 0.48);
  --warn: #ff5f73;
  --good: #52f3a8;
  --cyan: #61f0ff;
  --violet: #9d87ff;
  --rose: #ff7abf;
  --lime: #b8ff72;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 8%, rgba(97, 240, 255, 0.42), transparent 32%),
    radial-gradient(circle at 84% 13%, rgba(255, 122, 191, 0.34), transparent 30%),
    radial-gradient(circle at 18% 92%, rgba(184, 255, 114, 0.28), transparent 32%),
    linear-gradient(155deg, #080a14 0%, #141025 42%, #071c26 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 86%);
}

button {
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.game-shell {
  position: relative;
  width: min(100%, 520px);
  min-height: 100svh;
  margin: 0 auto;
  padding: max(17px, env(safe-area-inset-top)) 12px max(18px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.eyebrow {
  margin: 0 0 4px;
  color: rgba(236, 245, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(1.55rem, 7vw, 2.4rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-shadow: 0 10px 30px rgba(97, 240, 255, 0.24);
}

.icon-button,
.status-strip > div,
.rule-panel,
.toast,
.win-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  backdrop-filter: blur(28px) saturate(1.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 12px 30px rgba(0, 0, 0, 0.22);
}

.icon-button {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
}

.icon-button svg,
.primary-action svg,
.rule-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.status-strip > div {
  min-width: 0;
  border-radius: 18px;
  padding: 10px 9px;
}

.label {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
}

.status-strip strong {
  color: var(--ink-strong);
  font-size: 1.05rem;
  line-height: 1.05;
}

.board {
  position: relative;
  min-height: 58svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 124px minmax(0, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(26px) saturate(1.65);
  backdrop-filter: blur(26px) saturate(1.65);
}

.board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 28%, rgba(255, 255, 255, 0.08));
  mix-blend-mode: screen;
}

.bank {
  position: relative;
  min-width: 0;
  padding: 10px 7px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 10%, rgba(255, 255, 255, 0.42) 0 10%, transparent 11%),
    linear-gradient(160deg, rgba(184, 255, 114, 0.86), rgba(72, 200, 160, 0.82) 52%, rgba(36, 91, 122, 0.78));
}

.bank-right {
  background:
    radial-gradient(circle at 68% 12%, rgba(255, 255, 255, 0.38) 0 11%, transparent 12%),
    linear-gradient(205deg, rgba(167, 246, 96, 0.86), rgba(57, 176, 163, 0.82) 54%, rgba(96, 75, 170, 0.72));
}

.bank::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(30deg, transparent 0 46%, rgba(255, 255, 255, 0.2) 47% 49%, transparent 50%),
    linear-gradient(150deg, transparent 0 46%, rgba(4, 24, 31, 0.13) 47% 49%, transparent 50%);
  background-size: 54px 54px;
  opacity: 0.58;
}

.bank-left {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.bank-right {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.bank-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #faffff;
  font-weight: 900;
  font-size: 0.8rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.bank-header small {
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #062b2e;
  font-size: 0.66rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.people-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 7px;
  padding-top: 10px;
}

.person {
  position: relative;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.42), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.2));
  -webkit-backdrop-filter: blur(24px) saturate(1.75);
  backdrop-filter: blur(24px) saturate(1.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 10px 18px rgba(7, 17, 28, 0.17);
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 7px;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    border-color 170ms ease,
    background 170ms ease,
    opacity 170ms ease;
}

.person::after {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.44), transparent 38%, rgba(255, 255, 255, 0.12));
  opacity: 0.8;
}

.person:disabled {
  cursor: default;
  opacity: 0.44;
  transform: none;
  box-shadow: none;
}

.person:not(:disabled):active {
  transform: scale(0.975);
}

.person.selected {
  border-color: rgba(97, 240, 255, 0.86);
  background:
    radial-gradient(circle at 18% 0, rgba(97, 240, 255, 0.58), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(97, 240, 255, 0.22));
  box-shadow:
    0 0 0 3px rgba(97, 240, 255, 0.2),
    0 14px 28px rgba(10, 34, 45, 0.24);
}

.person.danger {
  animation: shake 420ms ease;
  border-color: rgba(255, 95, 115, 0.9);
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 255, 255, 0.56), transparent 30%),
    linear-gradient(145deg, rgba(255, 214, 220, 0.72), rgba(255, 95, 115, 0.28));
}

.avatar {
  position: relative;
  z-index: 1;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.66), transparent 28%),
    linear-gradient(145deg, var(--avatar-bg), rgba(255, 255, 255, 0.22));
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -10px 18px rgba(0, 0, 0, 0.12);
}

.avatar svg {
  width: 34px;
  height: 34px;
  display: block;
}

.person-name,
.person-role {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
}

.person-name {
  color: #071825;
  font-weight: 950;
  font-size: 0.84rem;
  line-height: 1.08;
  white-space: nowrap;
}

.person-risk {
  display: inline-block;
  margin-left: 1px;
  font-size: 0.72em;
  vertical-align: 0.04em;
}

.person-role {
  margin-top: 2px;
  color: rgba(7, 24, 37, 0.68);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.16;
}

.driver-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  z-index: 2;
  width: 23px;
  height: 23px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 18%, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(145deg, rgba(97, 240, 255, 0.95), rgba(125, 84, 255, 0.9));
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 18px rgba(97, 240, 255, 0.55);
}

.driver-badge svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.river {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.28), transparent 22%),
    linear-gradient(180deg, rgba(41, 218, 255, 0.72), rgba(44, 107, 192, 0.78) 48%, rgba(15, 30, 74, 0.92));
  transition: background 180ms ease, box-shadow 180ms ease;
}

.river::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.18)),
    repeating-linear-gradient(120deg, transparent 0 30px, rgba(255, 255, 255, 0.22) 31px 33px, transparent 34px 62px);
  animation: water 9s linear infinite;
}

.river::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 95, 115, 0.72), transparent 42%),
    linear-gradient(180deg, rgba(255, 95, 115, 0.35), rgba(121, 13, 34, 0.48));
  transition: opacity 180ms ease;
}

.board.has-boat-conflict .river::after {
  opacity: 1;
}

.water-lines,
.water-lines::before,
.water-lines::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image: repeating-linear-gradient(
    165deg,
    transparent 0 20px,
    rgba(97, 240, 255, 0.24) 21px 23px,
    transparent 24px 46px
  );
  animation: water 6.8s linear infinite;
}

.water-lines::before {
  transform: translateY(20px);
  opacity: 0.5;
  animation-duration: 10s;
}

.water-lines::after {
  transform: translateY(48px);
  opacity: 0.32;
  animation-duration: 13s;
}

.boat {
  --boat-x: 33%;
  position: absolute;
  left: var(--boat-x);
  top: 55%;
  width: 112px;
  height: 82px;
  border: 0;
  border-radius: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: left 620ms cubic-bezier(0.28, 0.75, 0.28, 1);
  touch-action: manipulation;
  z-index: 3;
  outline: none;
}

.boat:focus-visible {
  filter: drop-shadow(0 0 0.6rem rgba(255, 255, 255, 0.8));
}

.boat[data-side="right"] {
  --boat-x: 67%;
}

.boat.moving {
  pointer-events: none;
}

.boat.danger {
  animation: shake 420ms ease;
}

.boat-body {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 15px;
  height: 45px;
  border: 1px solid rgba(255, 236, 210, 0.78);
  border-radius: 10px 10px 30px 30px;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(255, 255, 255, 0.22) 11% 13%, transparent 14% 86%, rgba(255, 255, 255, 0.18) 87% 89%, transparent 90%),
    linear-gradient(180deg, #d9934d 0%, #a86531 45%, #75431f 100%);
  box-shadow:
    inset 0 4px 0 rgba(255, 230, 194, 0.5),
    inset 0 -13px 14px rgba(59, 28, 10, 0.32),
    0 12px 18px rgba(0, 0, 0, 0.32);
  transition: filter 180ms ease, outline-color 180ms ease, border-color 180ms ease;
  clip-path: polygon(0 20%, 10% 0, 90% 0, 100% 20%, 83% 94%, 17% 94%);
}

.boat.danger .boat-body,
.boat.conflict .boat-body {
  filter: saturate(1.45) brightness(1.12);
  border-color: rgba(255, 216, 222, 0.95);
  outline: 3px solid rgba(255, 95, 115, 0.46);
  outline-offset: 2px;
}

.boat-bench {
  position: absolute;
  top: 12px;
  width: 24px;
  height: 5px;
  border-radius: 999px;
  background: rgba(86, 46, 20, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 230, 190, 0.45);
}

.boat-bench-front {
  left: 24px;
}

.boat-bench-back {
  right: 24px;
}

.boat-keel {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 8px;
  height: 5px;
  border-radius: 999px;
  background: rgba(57, 28, 12, 0.7);
}

.boat-oar {
  position: absolute;
  left: 50%;
  top: 45px;
  width: 84px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f4c986, #8a4e22);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22);
  transform-origin: center;
  z-index: 0;
}

.boat-oar::after {
  content: "";
  position: absolute;
  right: -10px;
  top: -5px;
  width: 18px;
  height: 15px;
  border-radius: 65% 35% 65% 35%;
  background: #c87b38;
}

.boat-oar-left {
  transform: translateX(-50%) rotate(-24deg);
}

.boat-oar-right {
  transform: translateX(-50%) rotate(24deg);
}

.boat-passengers {
  position: absolute;
  left: 8px;
  right: 8px;
  top: -3px;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 4;
  pointer-events: auto;
}

.boat-mini {
  width: 42px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  background:
    radial-gradient(circle at 32% 16%, rgba(255, 255, 255, 0.78), transparent 28%),
    linear-gradient(145deg, var(--avatar-bg), rgba(255, 255, 255, 0.2));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 5px 12px rgba(0, 0, 0, 0.22);
  color: inherit;
  cursor: pointer;
  padding: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease, background 150ms ease;
}

.boat-mini:active {
  transform: scale(0.96);
}

.boat-mini.selected {
  border-color: #ffffff;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.35),
    0 0 18px rgba(97, 240, 255, 0.5),
    0 5px 12px rgba(0, 0, 0, 0.22);
}

.boat-mini.danger {
  border-color: rgba(255, 220, 226, 0.95);
  background:
    radial-gradient(circle at 32% 16%, rgba(255, 255, 255, 0.82), transparent 28%),
    linear-gradient(145deg, rgba(255, 118, 135, 0.88), rgba(255, 255, 255, 0.18));
  box-shadow:
    0 0 0 3px rgba(255, 95, 115, 0.26),
    0 0 18px rgba(255, 95, 115, 0.48),
    0 5px 12px rgba(0, 0, 0, 0.22);
}

.boat-mini-label {
  width: 100%;
  min-height: 15px;
  padding-top: 2px;
  background: rgba(4, 12, 26, 0.5);
  color: #ffffff;
  font-size: 0.55rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.boat-mini-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
}

.boat-mini svg {
  width: 29px;
  height: 29px;
  display: block;
}

.boat-ripple {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 7px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(97, 240, 255, 0.5), transparent 70%);
  filter: blur(1px);
  animation: pulse 1.8s ease-in-out infinite;
}

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

.primary-action,
.secondary-action,
.rule-toggle {
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  font-weight: 950;
  touch-action: manipulation;
}

.primary-action {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 0, rgba(255, 255, 255, 0.5), transparent 30%),
    linear-gradient(135deg, rgba(97, 240, 255, 0.95), rgba(125, 84, 255, 0.92) 54%, rgba(255, 122, 191, 0.9));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 16px 34px rgba(62, 100, 255, 0.28);
}

.primary-action::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 52%);
  pointer-events: none;
}

.primary-action span,
.primary-action svg {
  position: relative;
  z-index: 1;
}

.primary-action .cross-arrow {
  transition: transform 180ms ease;
}

.primary-action.returning .cross-arrow {
  transform: rotate(180deg);
}

.primary-action:disabled {
  opacity: 0.46;
  box-shadow: none;
}

.secondary-action {
  min-width: 98px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(24px) saturate(1.7);
  backdrop-filter: blur(24px) saturate(1.7);
}

.secondary-action:disabled {
  opacity: 0.45;
}

.rule-panel {
  border-radius: 18px;
  overflow: hidden;
}

.rule-toggle {
  width: 100%;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
}

.rule-toggle svg {
  transition: transform 160ms ease;
}

.rule-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.rules {
  display: none;
  padding: 0 13px 13px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.46;
}

.rules.open {
  display: block;
}

.rules p {
  margin: 9px 0 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(calc(100vw - 28px), 492px);
  min-height: 62px;
  transform: translate(-50%, 130%);
  border-color: rgba(255, 95, 115, 0.45);
  border-radius: 18px;
  color: #fff4f6;
  padding: 13px 15px;
  font-weight: 900;
  line-height: 1.35;
  z-index: 10;
  transition: transform 240ms ease;
}

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

.toast.good {
  border-color: rgba(82, 243, 168, 0.46);
  color: #effff8;
}

.win-dialog {
  width: min(calc(100vw - 30px), 420px);
  border: 0;
  border-radius: 24px;
  padding: 0;
  background: transparent;
}

.win-dialog::backdrop {
  background: rgba(4, 8, 18, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.win-card {
  border-radius: 24px;
  padding: 23px;
}

.win-card h2 {
  margin: 0 0 8px;
  color: var(--ink-strong);
  font-size: 1.42rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.win-card p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 800;
}

.avatar .stroke,
.boat-mini .stroke {
  fill: none;
  stroke: var(--avatar-line);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.avatar .skin,
.boat-mini .skin {
  fill: var(--avatar-skin);
}

.avatar .hair,
.boat-mini .hair {
  fill: var(--avatar-hair);
}

.avatar .outfit,
.boat-mini .outfit {
  fill: var(--avatar-outfit);
}

.avatar .accent,
.boat-mini .accent {
  fill: var(--avatar-accent);
}

.avatar .white,
.boat-mini .white {
  fill: rgba(255, 255, 255, 0.92);
}

.avatar .dark,
.boat-mini .dark {
  fill: rgba(10, 19, 30, 0.78);
}

@keyframes water {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 0 180px;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scaleX(0.9);
  }

  50% {
    opacity: 0.92;
    transform: scaleX(1.08);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-4px);
  }

  50% {
    transform: translateX(4px);
  }

  75% {
    transform: translateX(-3px);
  }
}

@media (max-width: 390px) {
  .game-shell {
    padding-left: 10px;
    padding-right: 10px;
    gap: 9px;
  }

  .board {
    grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr);
    min-height: 56svh;
    border-radius: 23px;
  }

  .bank {
    padding: 9px 5px;
  }

  .people-grid {
    gap: 6px;
  }

  .person {
    min-height: 54px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 6px;
    padding: 6px 5px;
    border-radius: 16px;
  }

  .avatar {
    width: 34px;
    height: 34px;
    border-radius: 13px;
  }

  .avatar svg {
    width: 30px;
    height: 30px;
  }

  .person-name {
    font-size: 0.7rem;
    line-height: 1.12;
  }

  .person-role {
    font-size: 0.58rem;
  }

  .boat {
    width: 112px;
    height: 78px;
  }

  .boat-passengers {
    left: 7px;
    right: 7px;
    top: -2px;
  }

  .boat-mini {
    width: 39px;
    height: 46px;
  }

  .boat-mini-label {
    min-height: 14px;
    font-size: 0.51rem;
  }

  .boat-mini-icon {
    width: 30px;
    height: 30px;
  }

  .boat-mini svg {
    width: 28px;
    height: 28px;
  }
}

@media (min-width: 760px) {
  body {
    display: grid;
    place-items: center;
    min-height: 100vh;
  }

  .game-shell {
    min-height: 820px;
  }
}
