:root {
  --sea-deep: #031016;
  --sea: #072229;
  --pine: #0d4a42;
  --teal: #1fa89a;
  --foam: #8fd9d0;
  --ink: #eef8f5;
  --ink-dim: rgba(238, 248, 245, 0.68);
  --gold: #f0c75e;
  --line: rgba(143, 217, 208, 0.22);
  --glass: rgba(4, 22, 28, 0.55);
  --danger: #ff8f85;
  --tap: 56px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(31, 168, 154, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(240, 199, 94, 0.1), transparent 45%),
    linear-gradient(180deg, #031016 0%, #06252c 48%, #03181c 100%);
  touch-action: manipulation;
}

#app { min-height: 100vh; min-height: 100dvh; }

.screen {
  min-height: 100vh;
  min-height: 100dvh;
}

.hidden { display: none !important; }

button, .tab, .ghost, .county-chips button, .touch-action {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  font-family: inherit;
  font-weight: 800;
  border: none;
  cursor: pointer;
}

/* ── Auth: one full-bleed composition ── */
.auth-screen {
  position: relative;
  display: grid;
  align-items: end;
  padding: 0;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Override critical inline CSS once full stylesheet loads */
.auth-screen .auth-stage { display: block; }

.auth-stage {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.auth-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: floatGlow 10s var(--ease) infinite alternate;
}

.auth-glow-a {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  left: -10%;
  top: 10%;
  background: rgba(31, 168, 154, 0.45);
}

.auth-glow-b {
  width: min(50vw, 380px);
  height: min(50vw, 380px);
  right: -5%;
  bottom: 15%;
  background: rgba(240, 199, 94, 0.22);
  animation-delay: -4s;
}

@keyframes floatGlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(18px, -22px, 0) scale(1.08); }
}

.auth-isle {
  position: absolute;
  inset: 8% 5% auto;
  width: 90%;
  height: 58%;
  opacity: 0.55;
  animation: isleRise 1.2s var(--ease) both;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

@keyframes isleRise {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to { opacity: 0.55; transform: translateY(0) scale(1); }
}

.auth-mist {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(3, 16, 22, 0.96), transparent);
}

.auth-content {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: max(1.5rem, var(--safe-t)) 1.25rem max(1.5rem, calc(1rem + var(--safe-b)));
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
  animation: contentIn 0.9s var(--ease) 0.15s both;
}

@keyframes contentIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 1rem;
  background: linear-gradient(120deg, #fff 20%, var(--foam) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark.compact {
  font-size: 1.35rem;
  margin-bottom: 0.15rem;
  letter-spacing: -0.02em;
}

.auth-brand h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  max-width: 16ch;
}

.auth-brand h1 span {
  color: var(--foam);
}

.lead {
  color: var(--ink-dim);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 34ch;
}

.auth-sheet {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.35rem 1.25rem 1.45rem;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.25rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 14px;
}

.tab {
  background: transparent;
  color: var(--ink-dim);
  border-radius: 11px;
  min-height: 48px;
  padding: 0.55rem;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

.tab.active {
  background: var(--teal);
  color: #031016;
}

.auth-form { display: grid; gap: 0.8rem; }

.auth-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.color-label input[type="color"] {
  width: 100%;
  height: var(--tap);
  padding: 0.3rem;
  cursor: pointer;
}

input {
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(3, 16, 22, 0.75);
  color: var(--ink);
  padding: 0.85rem 0.9rem;
  min-height: var(--tap);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 168, 154, 0.25);
}

.auth-form button[type="submit"],
#openChallengeBtn,
#findBtn,
.chat-form button {
  background: var(--gold);
  color: #1a1405;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  min-height: var(--tap);
  font-size: 1.05rem;
  transition: transform 0.15s var(--ease), filter 0.15s;
}

.auth-form button[type="submit"]:active,
#openChallengeBtn:active,
#findBtn:active,
.chat-form button:active {
  transform: scale(0.98);
}

.error {
  color: var(--danger);
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--foam);
  margin-bottom: 0.35rem;
  font-weight: 800;
}

/* ── Game chrome ── */
.game-screen {
  padding: max(0.85rem, var(--safe-t)) 1rem max(1rem, calc(0.75rem + var(--safe-b)));
  animation: contentIn 0.55s var(--ease) both;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.you-line {
  color: var(--ink-dim);
  font-size: 0.9rem;
  font-weight: 600;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.stats > div {
  padding: 0.4rem 0.7rem;
  min-width: 60px;
  border-bottom: 2px solid var(--line);
}

.stats span {
  display: block;
  font-size: 0.65rem;
  color: var(--foam);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.stats strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
}

.stat-live strong { color: var(--gold); }

.small-btn {
  padding: 0.6rem 0.95rem;
  font-size: 0.88rem;
  min-height: 44px;
}

.play-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 340px);
  gap: 1rem;
  align-items: start;
}

.county-strip {
  display: block;
  grid-column: 1 / -1;
}

.mobile-nav {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  padding: 0.65rem 0.75rem 0.35rem;
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(4, 22, 28, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mob-tab {
  min-height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-dim);
  font-size: 0.85rem;
  padding: 0.45rem 0.3rem;
}

.mob-tab.active {
  background: var(--teal);
  color: #031016;
}

.map-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #04161c;
  box-shadow:
    0 0 0 1px rgba(31, 168, 154, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.35);
  animation: mapGlow 5s ease-in-out infinite alternate;
}

@keyframes mapGlow {
  from { box-shadow: 0 0 0 1px rgba(31, 168, 154, 0.08), 0 24px 60px rgba(0, 0, 0, 0.35); }
  to { box-shadow: 0 0 0 1px rgba(31, 168, 154, 0.22), 0 24px 70px rgba(31, 168, 154, 0.12); }
}

#map {
  display: block;
  width: 100%;
  height: auto;
  background: #04161c;
  cursor: crosshair;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.hint {
  padding: 0.65rem 1rem 0.85rem;
  font-size: 0.88rem;
  color: var(--ink-dim);
  font-weight: 600;
  background: linear-gradient(to top, rgba(4, 22, 28, 0.95), transparent);
}

.joystick {
  display: none;
  position: absolute;
  left: max(12px, env(safe-area-inset-left));
  bottom: max(56px, calc(12px + var(--safe-b)));
  z-index: 5;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.joy-base {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: rgba(4, 22, 28, 0.7);
  border: 2px solid rgba(143, 217, 208, 0.4);
  position: relative;
  touch-action: none;
  backdrop-filter: blur(8px);
}

.joy-knob {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe08a, var(--gold));
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.joy-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--foam);
  text-shadow: 0 1px 4px #000;
}

.touch-actions {
  display: none;
  position: absolute;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(56px, calc(12px + var(--safe-b)));
  z-index: 5;
  flex-direction: column;
  gap: 0.45rem;
}

.touch-action {
  min-width: 120px;
  min-height: 52px;
  border-radius: 14px;
  background: rgba(4, 22, 28, 0.8);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 1rem;
  padding: 0.65rem 0.9rem;
  backdrop-filter: blur(8px);
}

.touch-action.primary {
  background: linear-gradient(145deg, #ffe08a, var(--gold));
  color: #1a1405;
  border-color: transparent;
}

/* Side rail — one continuous surface, not stacked cards */
.side {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  max-height: calc(100dvh - 6.5rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.rail-block {
  padding: 1rem 1.05rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.rail-block:last-child { border-bottom: none; }

.rail-block h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.rail-note {
  color: var(--ink-dim);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

.county-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.county-chips button {
  min-height: 42px;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(3, 16, 22, 0.55);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
}

.county-chips button.done {
  border-color: var(--teal);
  color: var(--foam);
}

.county-chips button.hard-done {
  border-color: var(--gold);
  color: var(--gold);
}

.county-chips button:active {
  transform: scale(0.97);
  background: rgba(31, 168, 154, 0.3);
}

.find-row, .chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
}

.find-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.find-actions .ghost,
#meetBtn, #waveBtn {
  min-height: 50px;
  font-size: 0.98rem;
}

.player-list {
  list-style: none;
  margin-top: 0.45rem;
  max-height: 150px;
  overflow: auto;
  display: grid;
  gap: 0.35rem;
  -webkit-overflow-scrolling: touch;
}

.player-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.65rem 0.7rem;
  min-height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.15s;
}

.player-list li:active { background: rgba(31, 168, 154, 0.22); }

.muted { color: var(--ink-dim); }
.small { font-size: 0.82rem; }

.gaeilge {
  color: var(--gold);
  font-style: italic;
  font-size: 1.08rem;
  margin: 0.25rem 0 0.35rem;
  font-weight: 600;
}

.vocab {
  font-size: 0.95rem;
  color: var(--foam);
  margin-bottom: 0.45rem;
  font-weight: 600;
}

#regionInfo h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

#regionFact {
  font-size: 0.98rem;
  line-height: 1.45;
  margin-bottom: 0.75rem;
  color: var(--ink-dim);
}

.challenge-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.challenge-actions button { min-height: var(--tap); }

.choices button {
  background: var(--gold);
  color: #1a1405;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  min-height: 58px;
  font-size: 1.05rem;
}

.leaderboard {
  list-style: decimal inside;
  display: grid;
  gap: 0.35rem;
  max-height: 130px;
  overflow: auto;
  color: var(--ink-dim);
  font-size: 0.9rem;
  font-weight: 600;
  -webkit-overflow-scrolling: touch;
}

.leaderboard strong { color: var(--ink); }

.chat-log {
  height: 120px;
  overflow: auto;
  font-size: 0.92rem;
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.chat-log .row span {
  color: var(--gold);
  font-weight: 800;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 10, 14, 0.78);
  display: grid;
  place-items: center;
  padding: max(1rem, var(--safe-t)) 1rem max(1rem, var(--safe-b));
  z-index: 30;
  animation: fade 0.22s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  backdrop-filter: blur(6px);
}

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

.modal-card {
  width: min(520px, 100%);
  background: linear-gradient(165deg, rgba(8, 36, 40, 0.98), rgba(4, 18, 24, 0.98));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4rem;
  animation: contentIn 0.4s var(--ease) both;
  margin: auto;
}

.modal-card h3 {
  font-family: var(--font-display);
  margin-bottom: 0.55rem;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

#chQuestion {
  font-size: 1.15rem;
  line-height: 1.4;
  font-weight: 600;
}

.choices {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
}

.choices button {
  text-align: left;
  margin: 0;
  background: rgba(3, 16, 22, 0.7);
  color: var(--ink);
  border: 1px solid var(--line);
}

.choices button:active {
  border-color: var(--gold);
  background: rgba(31, 168, 154, 0.28);
}

.choices button:disabled { opacity: 0.55; cursor: default; }

.feedback {
  margin-bottom: 0.85rem;
  line-height: 1.45;
  font-size: 1.02rem;
  font-weight: 600;
}
.feedback.ok { color: var(--foam); }
.feedback.bad { color: var(--danger); }

.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem 1rem;
  min-height: 48px;
}

.ghost:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

#chClose {
  width: 100%;
  min-height: var(--tap);
  font-size: 1.05rem;
}

/* Phones, small tablets, and any coarse pointer */
@media (max-width: 1100px), (pointer: coarse) {
  .joystick { display: flex; }
  .touch-actions { display: flex; }
}

body.is-mobile .joystick,
body.is-touch .joystick,
body.is-mobile .touch-actions,
body.is-touch .touch-actions {
  display: flex;
}

body.playing {
  overflow: hidden;
  overscroll-behavior: none;
  position: fixed;
  inset: 0;
  width: 100%;
}

body.playing #app,
body.playing .game-screen {
  height: 100%;
  min-height: 100%;
  max-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.playing .play-grid {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

@media (max-width: 900px) {
  .auth-content {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 1rem;
    padding-top: max(8vh, calc(1rem + var(--safe-t)));
  }

  .auth-brand { text-align: left; }

  .auth-isle {
    inset: 0 0 auto;
    height: 36%;
    opacity: 0.35;
  }

  .game-screen {
    padding: max(0.45rem, var(--safe-t)) 0.55rem max(0.45rem, var(--safe-b));
  }

  .topbar {
    gap: 0.45rem;
    margin-bottom: 0.45rem;
    flex-shrink: 0;
  }

  .brand-mark.compact { font-size: 1.05rem; }
  .you-line { font-size: 0.78rem; }
  .small-btn { min-height: 40px; padding: 0.4rem 0.7rem; font-size: 0.8rem; }

  .stats > div {
    min-width: 44px;
    padding: 0.2rem 0.4rem;
  }
  .stats span { font-size: 0.58rem; }
  .stats strong { font-size: 0.95rem; }

  .play-grid {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto auto;
    gap: 0.45rem;
    height: calc(100dvh - 5.2rem);
    max-height: calc(100dvh - 5.2rem);
  }

  .map-wrap {
    min-height: 0;
    height: 100%;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
  }

  #map {
    flex: 1;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }

  .hint {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    padding: 0.45rem 0.65rem;
    font-size: 0.75rem;
    background: linear-gradient(to bottom, rgba(3, 16, 22, 0.85), transparent);
    z-index: 2;
    pointer-events: none;
  }

  .joystick {
    left: max(8px, env(safe-area-inset-left));
    bottom: max(10px, var(--safe-b));
  }

  .touch-actions {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(10px, var(--safe-b));
  }

  .joy-base { width: 118px; height: 118px; }
  .joy-knob { width: 54px; height: 54px; }
  .touch-action { min-width: 104px; min-height: 48px; font-size: 0.95rem; }

  .county-strip {
    display: block;
    flex-shrink: 0;
    padding: 0.15rem 0;
  }

  .county-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.4rem;
    padding: 0.15rem 0.1rem 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .county-chips::-webkit-scrollbar { display: none; }

  .county-chips button {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0.55rem 0.95rem;
    font-size: 0.95rem;
  }

  .side {
    max-height: none;
    height: auto;
    max-height: 38dvh;
    border-radius: 16px 16px 12px 12px;
    flex-shrink: 0;
  }

  .mobile-nav { display: grid; }

  .side .rail-block { display: none; }
  .side .rail-block.is-active { display: block; }

  .rail-block {
    padding: 0.65rem 0.9rem 0.9rem;
    border-bottom: none;
  }

  .chat-log { height: 90px; }

  .modal {
    place-items: end center;
    padding: 0;
  }

  .modal-card {
    width: 100%;
    max-width: none;
    border-radius: 20px 20px 0 0;
    padding: 1.15rem 1.15rem max(1.15rem, var(--safe-b));
    max-height: 88dvh;
    overflow-y: auto;
  }

  .challenge-actions { grid-template-columns: 1fr; }
}

@media (max-width: 900px) and (orientation: landscape) {
  .play-grid {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    height: calc(100dvh - 3.8rem);
  }

  .map-wrap { grid-row: 1 / span 2; }

  .county-strip {
    grid-column: 2;
    grid-row: 2;
  }

  .side {
    grid-column: 2;
    grid-row: 1;
    max-height: none;
    height: 100%;
  }

  .joystick { transform: scale(0.9); transform-origin: bottom left; }
  .touch-actions { transform: scale(0.92); transform-origin: bottom right; }
}

@media (min-width: 901px) {
  .play-grid {
    grid-template-columns: 1fr minmax(280px, 340px);
    grid-template-rows: auto 1fr;
  }

  .map-wrap {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .county-strip {
    grid-column: 2;
    grid-row: 1;
  }

  .county-chips {
    flex-wrap: wrap;
    overflow: visible;
  }

  .side {
    grid-column: 2;
    grid-row: 2;
  }

  .mobile-nav { display: none; }
  .side .rail-block { display: block !important; }
}

@media (min-width: 901px) and (max-width: 1180px) and (pointer: coarse) {
  .play-grid { grid-template-columns: 1.35fr 1fr; }
}

@media (max-width: 600px) {
  .stats > div:nth-child(4) { display: none; } /* hide Hard on very small */
}
