/* SnapBand.io — Bright 2.5D Casual Arcade Stylesheet */

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0f172a;
  background: #e2e8f0;
  user-select: none;
  -webkit-user-select: none;
}

#game-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

/* Accessible Keyboard Focus Ring */
:where(button, input, a):focus-visible {
  outline: 3px solid #0ea5e9;
  outline-offset: 3px;
}

/* 2.5D Extruded Arcade Buttons */
.btn-arcade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-block-size: 44px;
  min-inline-size: 44px;
  padding: 0.52rem 1rem;
  border: 3px solid #0f172a;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  color: #0f172a;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
  box-shadow: 0 4px 0 #0f172a, 0 8px 16px rgba(15, 23, 42, 0.16);
  transition: transform 0.12s ease, filter 0.12s ease;

  @media (prefers-reduced-motion: reduce) {
    transition: none;
  }
}

.btn-arcade:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);

  @media (prefers-reduced-motion: reduce) {
    transform: none;
  }
}

.btn-arcade:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #0f172a;
}

.btn-compact {
  min-block-size: 36px;
  padding: 0.32rem 0.72rem;
  font-size: 0.8rem;
  border-radius: 11px;
  box-shadow: 0 3px 0 #0f172a;
}

.btn-primary {
  background: linear-gradient(180deg, #2dd4bf 0%, #0d9488 100%);
  color: #ffffff;
  text-shadow: 0 2px 0 rgba(15, 23, 42, 0.45);
  font-size: 1.08rem;
  padding: 0.68rem 1.25rem;
}

.btn-gold {
  background: linear-gradient(180deg, #fde047 0%, #f59e0b 100%);
  color: #0f172a;
}

.btn-bungee {
  background: linear-gradient(180deg, #e879f9 0%, #9333ea 100%);
  color: #ffffff;
  text-shadow: 0 2px 0 rgba(15, 23, 42, 0.5);
}

@keyframes bungee-ready-pulse {
  0%, 100% {
    box-shadow: 0 4px 0 #0f172a, 0 0 0 0 rgba(232, 121, 249, 0.72);
  }
  50% {
    box-shadow: 0 4px 0 #0f172a, 0 0 0 6px rgba(232, 121, 249, 0);
  }
}

.btn-bungee.is-ready {
  animation: bungee-ready-pulse 1.15s infinite;

  @media (prefers-reduced-motion: reduce) {
    animation: none;
    outline: 3px solid #f0abfc;
    outline-offset: 2px;
  }
}

.btn-arcade[aria-disabled="true"] {
  opacity: 0.54;
  cursor: not-allowed;
  filter: saturate(0.5);
  transform: none;
  box-shadow: 0 3px 0 #0f172a;
}

@media (pointer: coarse) {
  .btn-arcade {
    min-block-size: 48px;
    min-inline-size: 48px;
  }
}

/* Home Lobby Backdrop, Above-the-Fold Play Screen & Crawlable "About Game" Hub */
.lobby-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0.65) 100%);
  backdrop-filter: blur(3px);

  @media (prefers-reduced-motion: reduce) {
    scroll-behavior: auto;
  }
}

.lobby-backdrop[hidden] {
  display: none;
}

.lobby-first-screen {
  min-block-size: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
}

.lobby-shell {
  width: min(876px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 520px) 336px;
  justify-content: center;
  gap: 1.05rem;
  align-items: stretch;
}

.lobby-card,
.sidebar-card {
  background: #ffffff;
  border: 4px solid #0f172a;
  border-radius: 22px;
  box-shadow: 0 8px 0 #0f172a, 0 20px 40px rgba(15, 23, 42, 0.34);
}

.lobby-card {
  width: 100%;
  max-width: 520px;
  padding: 0.95rem 1.15rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-stack {
  width: 336px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sidebar-card {
  padding: 0.75rem 0.85rem;
}

.hero-banner-wrap {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  border: 3px solid #0f172a;
  height: 156px;
  background: #0f172a;
  margin-bottom: 0.7rem;
}

.hero-banner-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.hero-title-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.88) 100%);
  color: #ffffff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}

.game-logo {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 3px 0 #0f172a, 0 0 18px rgba(45, 212, 191, 0.65);
}

.game-logo span {
  color: #fde047;
}

.top-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  border: 2.5px solid #0f172a;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.81rem;
  font-weight: 800;
}

/* Accessible Form & Required Nickname Validation */
.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  align-items: start;
  margin-bottom: 0.65rem;
}

.field-group label {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #334155;
  margin-bottom: 0.24rem;
}

.req-star {
  color: #dc2626;
}

.arcade-input {
  width: 100%;
  min-height: 46px;
  padding: 0.52rem 0.8rem;
  border: 3px solid #0f172a;
  border-radius: 13px;
  font-size: 0.96rem;
  font-weight: 700;
  color: #0f172a;
  background: #f8fafc;
  user-select: text;
  -webkit-user-select: text;
}

.arcade-input::placeholder {
  color: #94a3b8;
  font-weight: 600;
}

@media (pointer: coarse) {
  .arcade-input {
    min-height: 50px;
  }
}

.error-msg {
  display: none;
  color: #b91c1c;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 0.26rem;
}

input:user-invalid,
input.user-invalid-fallback {
  border-color: #dc2626;
  background-color: #fef2f2;
}

input:user-invalid ~ .error-msg,
input.user-invalid-fallback ~ .error-msg {
  display: block;
}

.skin-preview-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.75rem;
  min-height: 46px;
  white-space: nowrap;
}

.skin-preview-btn img {
  width: 30px;
  height: 30px;
}

.palette-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.78rem;
}

.palette-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid #0f172a;
  cursor: pointer;
  box-shadow: 0 3px 0 #0f172a;
  transition: transform 0.12s ease;

  @media (prefers-reduced-motion: reduce) {
    transition: none;
  }
}

.palette-swatch[aria-pressed="true"] {
  transform: scale(1.14);
  box-shadow: 0 0 0 2.5px #ffffff, 0 0 0 5.5px #0f172a;
}

.lobby-actions {
  display: grid;
  grid-template-columns: 1.45fr auto auto;
  gap: 0.5rem;
}

/* 300x250 Google AdSense Slot Styling (Policy-Compliant Spacing & Label) */
.ad-card-300x250 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 0.75rem 0.75rem;
}

.ad-disclosure-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.32rem;
}

.ad-slot-box {
  position: relative;
  width: 300px;
  height: 250px;
  min-width: 300px;
  min-height: 250px;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  contain: layout style paint;
}

.ad-slot-box ins.adsbygoogle,
.ad-slot-728x90 ins.adsbygoogle {
  position: relative;
  z-index: 2;
}

/* Lobby Mini Hall of Fame */
.mini-hof-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mini-hof-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.42rem;
}

.mini-hof-header h2 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 900;
}

.link-btn-dark {
  background: none;
  border: none;
  color: #0d9488;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  padding: 0.15rem 0.3rem;
  text-decoration: underline;
}

.mini-hof-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  font-size: 0.81rem;
  font-weight: 700;
}

.mini-hof-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
}

.mini-hof-list li.is-you {
  background: #ccfbf1;
  border-color: #14b8a6;
  color: #0f766e;
}

/* Footer Links & Cookie Consent Banner */
.lobby-footer {
  width: min(876px, 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  padding: 0.38rem 0.85rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.82);
  color: #e2e8f0;
  font-size: 0.76rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.about-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
  background: #fde047;
  color: #0f172a;
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
  border: 2px solid #0f172a;
  transition: transform 0.12s ease, filter 0.12s ease;

  @media (prefers-reduced-motion: reduce) {
    transition: none;
  }
}

.about-pill-link:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);

  @media (prefers-reduced-motion: reduce) {
    transform: none;
  }
}

/* Below-the-Fold "About Game" Publisher Article (AdSense High-Value Content) */
.about-game-section {
  width: min(876px, calc(100% - 2rem));
  margin: 0.5rem auto 2.75rem;
  padding: 1.6rem 1.85rem;
  background: #ffffff;
  border: 4px solid #0f172a;
  border-radius: 24px;
  box-shadow: 0 9px 0 #0f172a, 0 24px 48px rgba(15, 23, 42, 0.4);
  color: #1e293b;
  user-select: text;
  -webkit-user-select: text;
}

.about-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-bottom: 0.95rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid #e2e8f0;
}

.about-header h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 900;
  color: #0f172a;
}

.about-lead {
  font-size: 0.96rem;
  line-height: 1.62;
  color: #334155;
  margin: 0 0 1.25rem;
}

.about-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.about-box {
  background: #f8fafc;
  border: 2.5px solid #0f172a;
  border-radius: 16px;
  padding: 1rem 1.15rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.about-box h3,
.about-subsection h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f172a;
}

.about-box p {
  margin: 0 0 0.65rem;
}

.about-box p:last-child {
  margin-bottom: 0;
}

.about-bullet-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.4rem;
}

.about-subsection {
  margin-bottom: 1.35rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #334155;
}

.about-table-wrap {
  overflow-x: auto;
  border: 2.5px solid #0f172a;
  border-radius: 14px;
  background: #f8fafc;
}

.about-table-wrap .hof-table {
  margin-bottom: 0;
}

.about-strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.strategy-card {
  background: #f8fafc;
  border: 2.5px solid #0f172a;
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

.strategy-card h4 {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 900;
  color: #0d9488;
}

.strategy-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
}

.faq-group {
  display: grid;
  gap: 0.55rem;
}

.faq-item {
  background: #f8fafc;
  border: 2.5px solid #0f172a;
  border-radius: 14px;
  padding: 0.65rem 0.95rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 0.9rem;
  color: #0f172a;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '▾';
  font-size: 1rem;
  font-weight: 900;
  color: #0d9488;
  transition: transform 0.15s ease;

  @media (prefers-reduced-motion: reduce) {
    transition: none;
  }
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0.55rem 0 0;
  padding-top: 0.5rem;
  border-top: 1.5px solid #e2e8f0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #334155;
}

.about-legal-card {
  background: #f1f5f9;
  border: 2.5px solid #cbd5e1;
  border-radius: 16px;
  padding: 1rem 1.15rem;
}

.about-bottom-cta {
  display: flex;
  justify-content: center;
  padding-top: 0.35rem;
}

.about-bottom-cta a {
  text-decoration: none;
}

.about-header a {
  text-decoration: none;
}

.link-btn {
  background: none;
  border: none;
  color: #7dd3fc;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.15rem 0.25rem;
  text-decoration: underline;
}

.cookie-bar {
  position: fixed;
  inset: auto 0.75rem 0.65rem 0.75rem;
  z-index: 35;
  max-width: 760px;
  margin: 0 auto;
  background: #0f172a;
  color: #f8fafc;
  border: 3px solid #38bdf8;
  border-radius: 14px;
  padding: 0.55rem 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  font-size: 0.78rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.5);
}

.cookie-bar[hidden] {
  display: none;
}

/* Live In-Game HUD */
.hud-layer {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hud-layer[hidden] {
  display: none;
}

.hud-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.hud-card {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.93);
  border: 3px solid #0f172a;
  border-radius: 16px;
  box-shadow: 0 4px 0 #0f172a;
  padding: 0.55rem 0.85rem;
}

.stats-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 800;
  font-size: 0.92rem;
}

.stat-big {
  font-size: 1.25rem;
  color: #0d9488;
}

.kill-feed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.kill-item {
  background: rgba(15, 23, 42, 0.86);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

/* Paper.io-Style Live Bar Leaderboard */
.leaderboard-card {
  min-width: 232px;
}

.leaderboard-card h2 {
  margin: 0 0 0.4rem 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
}

.leaderboard-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.81rem;
  font-weight: 800;
}

.lb-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.22rem 0.5rem;
  border-radius: 7px;
  background: #f1f5f9;
  overflow: hidden;
}

.lb-bar {
  position: absolute;
  inset: 0 auto 0 0;
  opacity: 0.28;
  pointer-events: none;
}

.lb-row.is-me {
  outline: 2px solid #0f172a;
  background: #e2e8f0;
}

.lb-name, .lb-val {
  position: relative;
  z-index: 1;
}

.lb-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid #0f172a;
  margin-right: 0.32rem;
}

.hud-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.minimap-wrap {
  pointer-events: auto;
  border: 3px solid #0f172a;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 0 #0f172a;
  background: #0f172a;
}

.center-controls {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tension-gauge {
  background: rgba(255, 255, 255, 0.93);
  border: 3px solid #0f172a;
  border-radius: 14px;
  padding: 0.45rem 0.8rem;
  min-width: 175px;
  box-shadow: 0 4px 0 #0f172a;
}

.tension-gauge-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 800;
  margin-bottom: 0.24rem;
}

.tension-track {
  position: relative;
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  border: 2px solid #0f172a;
  overflow: hidden;
}

.tension-bungee-mark {
  position: absolute;
  inset: 0 auto 0 35%;
  width: 2px;
  background: rgba(15, 23, 42, 0.55);
  pointer-events: none;
}

.tension-fill {
  height: 100%;
  width: 0%;
  background: #06b6d4;
  transition: width 0.08s linear, background-color 0.15s ease;
}

/* Native Modal Dialogs */
dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(3px);
}

dialog.arcade-dialog {
  border: 4px solid #0f172a;
  border-radius: 24px;
  padding: 1.2rem;
  width: min(650px, calc(100dvw - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  overflow-y: auto;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 10px 0 #0f172a, 0 24px 48px rgba(15, 23, 42, 0.45);
  opacity: 0;
  transform: scale(0.94) translateY(8px);
  transition:
    opacity 0.18s ease-out,
    transform 0.18s ease-out,
    display 0.18s allow-discrete,
    overlay 0.18s allow-discrete;

  @media (prefers-reduced-motion: reduce) {
    transition: none;
  }
}

dialog.arcade-dialog[open] {
  opacity: 1;
  transform: scale(1) translateY(0);

  @starting-style {
    opacity: 0;
    transform: scale(0.94) translateY(8px);
  }
}

dialog.arcade-dialog.gameover-wide {
  width: min(784px, calc(100dvw - 1.5rem));
}

dialog.arcade-dialog.skins-wide {
  width: min(990px, calc(100dvw - 1.5rem));
  padding: 0.9rem 1.1rem 1.05rem;
}

.gameover-ad-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0.7rem 0 1.1rem;
  padding-top: 0.55rem;
  border-top: 2px solid #e2e8f0;
}

.ad-slot-728x90 {
  position: relative;
  width: min(728px, 100%);
  height: 90px;
  min-height: 90px;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  contain: layout style paint;
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.dialog-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
}

.skins-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0;
}

.skin-card {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.42rem;
  padding: 0.5rem 0.6rem;
  border: 2.5px solid #0f172a;
  border-radius: 14px;
  background: #f8fafc;
}

.skin-card.selected {
  background: #ccfbf1;
  border-color: #0d9488;
}

.skin-card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-inline-size: 0;
  text-align: left;
}

.skin-card img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: block;
}

.skin-card-meta {
  min-inline-size: 0;
}

.skin-card h3 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.15;
}

.skin-card p {
  margin: 0.14rem 0 0;
  font-size: 0.7rem;
  line-height: 1.22;
  color: #475569;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: clip;
}

@media (max-width: 900px) {
  .skins-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .skins-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Hall of Fame Table */
.hof-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.hof-table th,
.hof-table td {
  padding: 0.52rem 0.65rem;
  text-align: left;
  border-bottom: 2px solid #e2e8f0;
}

.hof-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #475569;
  font-weight: 800;
}

.hof-table tr.is-player-row {
  background: #ccfbf1;
  font-weight: 800;
}

.help-list {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem 0;
  padding: 0;
  list-style: none;
}

.help-list li {
  background: #f8fafc;
  border: 2.5px solid #0f172a;
  border-radius: 14px;
  padding: 0.62rem 0.85rem;
  font-size: 0.87rem;
  line-height: 1.42;
}

.legal-prose {
  font-size: 0.87rem;
  line-height: 1.55;
  color: #334155;
  user-select: text;
  -webkit-user-select: text;
}

.legal-prose h3 {
  color: #0f172a;
  font-size: 0.98rem;
  margin: 0.85rem 0 0.32rem;
}

.go-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 0.95rem 0 1.15rem;
}

.go-stat-box {
  background: #f8fafc;
  border: 2.5px solid #0f172a;
  border-radius: 16px;
  padding: 0.72rem;
  text-align: center;
}

.go-stat-box span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
}

.go-stat-box strong {
  font-size: 1.32rem;
  font-weight: 900;
  color: #0f172a;
}

@media (max-width: 880px) {
  .lobby-first-screen {
    justify-content: flex-start;
  }
  .lobby-shell {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .sidebar-stack {
    width: 100%;
  }
  .about-two-col,
  .about-strategy-grid {
    grid-template-columns: 1fr;
  }
  .about-game-section {
    padding: 1.2rem 1.1rem;
  }
}

@media (max-width: 640px) {
  .kill-feed {
    display: none;
  }
  .leaderboard-card {
    min-width: 160px;
    padding: 0.45rem 0.6rem;
  }
  .center-controls {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
  }
  .tension-gauge {
    min-width: 145px;
    padding: 0.38rem 0.65rem;
  }
  .lobby-actions {
    grid-template-columns: 1fr 1fr;
  }
  .lobby-actions .btn-primary {
    grid-column: 1 / -1;
  }
}
