:root {
  --ink: #040806;
  --ink-2: #071009;
  --card: rgba(255, 255, 255, 0.035);
  --card-strong: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --snow: #f2f7f4;
  --fog: #8fa39b;
  --fog-dim: rgba(143, 163, 155, 0.55);
  --mint: #8cf5c4;
  --mint-deep: #38c98f;
  --amber: #f5c56b;
  --coral: #f58c7a;
  --radius: 22px;
  --ring: var(--mint);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
}

body {
  min-height: 100dvh;
  color: var(--snow);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 720px at 12% -8%, rgba(56, 201, 143, 0.13), transparent 62%),
    radial-gradient(900px 640px at 92% 4%, rgba(245, 197, 107, 0.07), transparent 60%),
    radial-gradient(1000px 800px at 50% 112%, rgba(19, 92, 60, 0.28), transparent 66%),
    linear-gradient(178deg, #040806 0%, #050b08 55%, #030604 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 32%, black 20%, transparent 78%);
  z-index: 0;
}

#fireflies {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));
}

/* ---------- top bar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 18px;
}

.brand {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 5px;
  color: var(--fog);
  text-transform: uppercase;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.conn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fog-dim);
  transition: background 0.3s, box-shadow 0.3s;
}

.conn-dot.online {
  background: var(--mint);
  box-shadow: 0 0 10px rgba(140, 245, 196, 0.8);
}

.conn-dot.offline {
  background: var(--coral);
  box-shadow: 0 0 10px rgba(245, 140, 122, 0.6);
}

.chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50px;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--fog);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.chip:hover {
  color: var(--snow);
  border-color: var(--line-strong);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fog);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.icon-btn:hover {
  color: var(--mint);
  border-color: rgba(140, 245, 196, 0.35);
}

/* ---------- views ---------- */

.view {
  animation: rise 0.34s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- language ---------- */

.language-view {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100dvh - 90px);
}

.language-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
  padding-bottom: 6vh;
}

.hero-ring {
  position: relative;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(140, 245, 196, 0.16), transparent 68%);
}

.hero-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 200deg, transparent 0 62%, var(--mint) 78%, transparent 88%);
  mask: radial-gradient(circle, transparent 0 71%, black 72% 76%, transparent 77%);
  animation: spin 9s linear infinite;
}

.hero-ring::after {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  border: 1px dashed rgba(140, 245, 196, 0.18);
}

.hero-ring-inner {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, rgba(140, 245, 196, 0.9), rgba(56, 201, 143, 0.25) 58%, transparent 72%);
  filter: blur(1px);
  box-shadow: 0 0 60px rgba(56, 201, 143, 0.3);
  animation: breathe 4.6s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

.brand-xl {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 12px;
  margin-right: -12px;
  text-align: center;
  color: var(--snow);
}

.brand-xl.long {
  font-size: 23px;
  letter-spacing: 6px;
  margin-right: -6px;
}

.language-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(300px, 82%);
}

.lang-btn {
  position: relative;
  padding: 15px 18px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--snow);
  font-weight: 650;
  letter-spacing: 0.4px;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.lang-btn:hover {
  border-color: rgba(140, 245, 196, 0.4);
  background: rgba(140, 245, 196, 0.07);
}

.lang-btn:active {
  transform: scale(0.985);
}

/* ---------- cards / landing ---------- */

.card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.022));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(14px);
}

.auth-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  margin-top: 4vh;
}

.input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.32);
  color: var(--snow);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input::placeholder {
  color: var(--fog-dim);
}

.input:focus {
  border-color: rgba(140, 245, 196, 0.45);
  box-shadow: 0 0 0 3px rgba(140, 245, 196, 0.08);
}

.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  border: 0;
  background: none;
  padding: 4px 2px;
  color: var(--fog);
  font-size: 12.5px;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.admin-link:hover {
  color: var(--amber);
}

.admin-link.active {
  color: var(--mint);
}

.admin-box {
  display: flex;
  gap: 8px;
  align-items: center;
  animation: rise 0.25s ease both;
}

.admin-box .input {
  flex: 1;
  padding: 11px 14px;
  font-size: 14px;
}

.mini-btn {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  border: 1px solid rgba(140, 245, 196, 0.4);
  background: rgba(140, 245, 196, 0.1);
  color: var(--mint);
  font-size: 18px;
  font-weight: 700;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 50px;
  border: 1px solid rgba(140, 245, 196, 0.28);
  background: rgba(140, 245, 196, 0.07);
  color: var(--mint);
  font-size: 11px;
  letter-spacing: 0.5px;
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 18px;
  border-radius: 15px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: transform 0.15s, filter 0.2s, background 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.985);
}

.btn.primary {
  background: linear-gradient(180deg, #a8f8d3, #6fe6b3);
  color: #04130c;
  box-shadow: 0 10px 30px rgba(56, 201, 143, 0.22);
}

.btn.primary:hover {
  filter: brightness(1.05);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--snow);
}

.btn.ghost:hover {
  border-color: rgba(140, 245, 196, 0.35);
}

.btn.danger {
  background: rgba(245, 140, 122, 0.12);
  border-color: rgba(245, 140, 122, 0.4);
  color: var(--coral);
}

.btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.hint {
  font-size: 12px;
  color: var(--fog-dim);
  text-align: center;
  letter-spacing: 0.2px;
}

/* ---------- lobby ---------- */

.lobby {
  padding: 20px 18px;
  margin-top: 6vh;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}

.lobby-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.lobby-count {
  font-size: 12px;
  color: var(--fog);
  letter-spacing: 1px;
}

.lobby-players {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 10px 0 14px;
}

.lobby-players .player-chip {
  padding: 7px 12px;
  border-radius: 50px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12.5px;
  color: var(--snow);
}

.lobby-players .player-chip.off {
  opacity: 0.4;
}

/* ---------- game ---------- */

.phase-row {
  display: flex;
  justify-content: center;
  padding: 2px 0 6px;
}

.phase-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fog);
}

.phase-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.phase-pill[data-phase="hiding"],
.phase-pill[data-phase="seeking"] {
  color: var(--mint);
  border-color: rgba(140, 245, 196, 0.32);
  background: rgba(140, 245, 196, 0.07);
}

.phase-pill[data-phase="paused"] {
  color: var(--amber);
  border-color: rgba(245, 197, 107, 0.32);
  background: rgba(245, 197, 107, 0.07);
}

.phase-pill[data-phase="finished"] {
  color: var(--coral);
  border-color: rgba(245, 140, 122, 0.32);
  background: rgba(245, 140, 122, 0.07);
}

.ring-wrap {
  display: flex;
  justify-content: center;
  padding: 14px 0 8px;
}

.ring {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 1;
}

.ring svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ring-track,
.ring-progress {
  fill: none;
  stroke-width: 9;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 150px 150px;
}

.ring-track {
  stroke: rgba(255, 255, 255, 0.07);
}

.ring-progress {
  stroke: var(--ring);
  stroke-dasharray: 804.25;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 10px rgba(140, 245, 196, 0.35));
  transition: stroke 0.5s;
}

.ring-tip {
  fill: var(--ring);
  filter: drop-shadow(0 0 8px currentColor);
  transition: stroke 0.5s;
}

.ring[data-phase="hiding"] {
  --ring: var(--amber);
}

.ring[data-phase="seeking"] {
  --ring: var(--mint);
}

.ring[data-phase="ready"] {
  --ring: var(--mint);
}

.ring[data-phase="paused"] {
  --ring: var(--amber);
}

.ring[data-phase="finished"] {
  --ring: var(--coral);
}

.ring-dash {
  fill: none;
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 1;
  stroke-dasharray: 2 6;
}

.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.timer-text {
  font-size: clamp(46px, 15vw, 62px);
  font-weight: 800;
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-shadow: 0 0 34px rgba(140, 245, 196, 0.18);
}

.ring[data-phase="hiding"] .timer-text {
  text-shadow: 0 0 34px rgba(245, 197, 107, 0.2);
}

.ring[data-phase="finished"] .timer-text {
  text-shadow: 0 0 34px rgba(245, 140, 122, 0.2);
}

.ring.pulse .timer-text {
  animation: tick 1s ease-in-out infinite;
}

@keyframes tick {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.seekers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  min-height: 0;
  padding: 2px 0 16px;
}

.seeker-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 8px;
  border-radius: 50px;
  border: 1px solid rgba(245, 197, 107, 0.32);
  background: rgba(245, 197, 107, 0.07);
  color: var(--amber);
  font-size: 12.5px;
  font-weight: 600;
}

.seeker-chip .dot,
.player-row .avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(245, 197, 107, 0.16);
  color: var(--amber);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

/* ---------- columns ---------- */

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.column {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  padding: 12px 10px 10px;
}

.col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 4px 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--fog);
}

.col-head .count {
  min-width: 20px;
  text-align: center;
  padding: 1px 6px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 10px;
  color: var(--fog);
}

.column.found .col-head {
  color: rgba(140, 245, 196, 0.7);
}

.player-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 70px;
}

.player-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  min-width: 0;
}

.player-row .avatar {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background: rgba(140, 245, 196, 0.13);
  color: var(--mint);
}

.player-row .name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.player-row .me {
  color: var(--fog-dim);
  font-size: 10px;
  letter-spacing: 0.5px;
}

.player-row.seeker {
  border-color: rgba(245, 197, 107, 0.22);
}

.player-row.seeker .avatar {
  background: rgba(245, 197, 107, 0.14);
  color: var(--amber);
}

.player-row.found {
  opacity: 0.55;
}

.player-row.found .name {
  text-decoration: line-through;
  text-decoration-color: rgba(143, 163, 155, 0.5);
}

.player-row.found .avatar {
  background: rgba(140, 245, 196, 0.1);
  color: var(--mint);
}

.player-row.offline {
  opacity: 0.38;
}

.player-row.tappable {
  cursor: pointer;
}

.player-row.tappable:hover {
  background: rgba(245, 140, 122, 0.08);
  border-color: rgba(245, 140, 122, 0.25);
}

.player-row .tap-icon {
  flex: 0 0 auto;
  color: var(--coral);
  opacity: 0.65;
}

.empty-slot {
  padding: 14px 8px;
  text-align: center;
  font-size: 11.5px;
  color: var(--fog-dim);
  border: 1px dashed rgba(255, 255, 255, 0.07);
  border-radius: 11px;
}

.result-line {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.4px;
  color: var(--coral);
  padding: 0 0 14px;
}

.result-line.win {
  color: var(--mint);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.actions .btn {
  flex: 1 1 140px;
  width: auto;
  padding: 14px 16px;
}

/* ---------- settings ---------- */

.settings-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 0 18px;
}

.settings-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.settings-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px 18px;
}

.setting {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--fog);
  letter-spacing: 0.3px;
}

.setting-row .value {
  font-weight: 800;
  font-size: 14px;
  color: var(--snow);
  font-variant-numeric: tabular-nums;
}

.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint);
  border: 4px solid #0a1710;
  box-shadow: 0 0 0 1px rgba(140, 245, 196, 0.5), 0 4px 14px rgba(56, 201, 143, 0.4);
  cursor: pointer;
}

.range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--mint);
  border: 4px solid #0a1710;
  box-shadow: 0 0 0 1px rgba(140, 245, 196, 0.5);
  cursor: pointer;
}

.players-setting .player-list {
  min-height: 0;
}

.exclude-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, opacity 0.2s;
}

.exclude-row:hover {
  border-color: var(--line-strong);
}

.exclude-row .name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13.5px;
}

.exclude-row .state {
  flex: 0 0 auto;
  width: 34px;
  height: 20px;
  border-radius: 50px;
  background: rgba(140, 245, 196, 0.22);
  position: relative;
  transition: background 0.2s;
}

.exclude-row .state::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 17px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mint);
  transition: left 0.2s, background 0.2s;
}

.exclude-row.excluded {
  opacity: 0.62;
  background: rgba(0, 0, 0, 0.2);
}

.exclude-row.excluded .state {
  background: rgba(255, 255, 255, 0.1);
}

.exclude-row.excluded .state::after {
  left: 3px;
  background: var(--fog-dim);
}

.exclude-row.excluded .name {
  text-decoration: line-through;
  text-decoration-color: rgba(143, 163, 155, 0.5);
}

/* ---------- modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 6, 4, 0.72);
  backdrop-filter: blur(7px);
  animation: fade-in 0.2s ease both;
}

.modal-card {
  width: min(370px, 100%);
  padding: 22px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
  background: linear-gradient(160deg, rgba(20, 34, 26, 0.98), rgba(8, 16, 11, 0.98));
}

.modal-text {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--snow);
}

.modal-actions {
  display: flex;
  gap: 9px;
}

.modal-actions .btn {
  flex: 1;
  padding: 13px 12px;
  font-size: 13.5px;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 50;
  max-width: min(440px, calc(100vw - 36px));
  padding: 11px 16px;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: rgba(12, 22, 16, 0.94);
  color: var(--snow);
  font-size: 13px;
  text-align: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  animation: toast-in 0.22s ease both;
  backdrop-filter: blur(10px);
}

.toast.error {
  border-color: rgba(245, 140, 122, 0.4);
  color: #ffc9c0;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ---------- responsive ---------- */

@media (min-width: 720px) {
  .shell {
    max-width: 720px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .columns {
    gap: 14px;
  }

  .ring {
    width: 320px;
  }

  .player-row {
    padding: 9px 10px;
  }
}

@media (max-width: 380px) {
  .shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand {
    letter-spacing: 3px;
  }

  .columns {
    gap: 8px;
  }

  .column {
    padding: 10px 8px 8px;
  }

  .col-head {
    padding: 0 3px 8px;
    font-size: 9px;
    letter-spacing: 1px;
  }

  .player-row {
    gap: 6px;
    padding: 6px 7px;
  }

  .player-row .name {
    font-size: 12.5px;
  }

  .player-row .avatar {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
  }

  .actions .btn {
    padding: 13px 10px;
    font-size: 13.5px;
  }

  .timer-text {
    font-size: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
