:root {
  --ink: #151714;
  --muted: #687066;
  --line: #dde4d9;
  --paper: #edf6ea;
  --panel: #ffffff;
  --field: #f3f6ef;
  --grass: #176b42;
  --grass-2: #0f4d32;
  --blue: #1554d1;
  --red: #d7392f;
  --lime: #c7f25c;
  --gold: #d9a441;
  --gold-2: #f4c15d;
  --danger: #b42318;
  --shadow: 0 24px 60px rgba(21, 23, 20, 0.12);
  --fast: 160ms ease;
  --slow: 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(21, 23, 20, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 23, 20, 0.025) 1px, transparent 1px),
    linear-gradient(135deg, rgba(36, 134, 76, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(93, 190, 118, 0.22), transparent 28%),
    var(--paper);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.public-body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.5), transparent 12%),
    radial-gradient(ellipse at 18% 8%, rgba(198, 241, 92, 0.2), transparent 18%),
    radial-gradient(ellipse at 82% 8%, rgba(198, 241, 92, 0.18), transparent 18%),
    linear-gradient(90deg, transparent 49.8%, rgba(23, 107, 66, 0.09) 50%, transparent 50.2%),
    radial-gradient(circle at 50% 18%, transparent 0 58px, rgba(23, 107, 66, 0.11) 59px 61px, transparent 62px),
    linear-gradient(180deg, rgba(6, 28, 18, 0.12), rgba(23, 107, 66, 0.03) 42%, transparent);
  pointer-events: none;
}

.public-body::after {
  position: fixed;
  inset: auto 0 0;
  z-index: -1;
  height: 34vh;
  content: "";
  background:
    repeating-linear-gradient(
      90deg,
      rgba(23, 107, 66, 0.22) 0 56px,
      rgba(15, 77, 50, 0.15) 56px 112px
    );
  clip-path: polygon(0 28%, 100% 0, 100% 100%, 0 100%);
  opacity: 0.72;
}

a {
  color: inherit;
  text-decoration: none;
}

input,
select,
button {
  font: inherit;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--fast), box-shadow var(--fast), background var(--fast), transform var(--fast);
}

input:focus,
select:focus {
  border-color: var(--grass);
  box-shadow: 0 0 0 3px rgba(23, 107, 66, 0.12);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(251, 252, 247, 0.86);
  border-bottom: 1px solid rgba(221, 228, 217, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--lime);
  box-shadow: 0 10px 22px rgba(21, 23, 20, 0.16);
}

.site-header a,
.admin-sidebar a {
  transition: color var(--fast), transform var(--fast);
}

.site-header a:hover,
.admin-sidebar a:hover {
  color: var(--grass);
  transform: translateY(-1px);
}

.site-header nav,
.admin-sidebar nav {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.92rem;
}

.public-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 80px;
}

.pool-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
  padding: clamp(24px, 4vw, 46px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.32), transparent 18%),
    radial-gradient(circle at 82% 0%, rgba(244, 193, 93, 0.22), transparent 20%),
    linear-gradient(135deg, rgba(8, 42, 27, 0.98), rgba(23, 107, 66, 0.96) 54%, rgba(8, 31, 22, 0.98)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0 54px,
      rgba(255, 255, 255, 0.01) 54px 108px
    );
  color: white;
  box-shadow: var(--shadow);
}

.pool-hero > *:not(.hero-field) {
  position: relative;
  z-index: 1;
}

.hero-field {
  position: absolute;
  inset: 18px;
  opacity: 0.22;
  background:
    linear-gradient(90deg, transparent 49.8%, white 50%, transparent 50.2%),
    radial-gradient(circle at 50% 50%, transparent 0 72px, white 73px 75px, transparent 76px),
    linear-gradient(0deg, transparent 11%, white 11.3%, transparent 11.6%, transparent 88%, white 88.3%, transparent 88.6%),
    linear-gradient(90deg, transparent 8%, white 8.3%, transparent 8.6%, transparent 91.5%, white 91.8%, transparent 92.1%);
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  pointer-events: none;
}

.stadium-lights {
  position: absolute;
  inset: -20% -10% auto;
  height: 54%;
  opacity: 0.7;
  background:
    radial-gradient(ellipse at 14% 10%, rgba(255, 255, 255, 0.85), transparent 8%),
    radial-gradient(ellipse at 86% 10%, rgba(255, 255, 255, 0.8), transparent 8%),
    linear-gradient(110deg, transparent 10%, rgba(255, 255, 255, 0.22), transparent 38%),
    linear-gradient(250deg, transparent 10%, rgba(255, 255, 255, 0.18), transparent 38%);
  filter: blur(2px);
  pointer-events: none;
}

.soccer-ball {
  position: absolute;
  right: clamp(26px, 8vw, 110px);
  top: clamp(22px, 5vw, 44px);
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(74px, 10vw, 128px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.18);
  animation: ballFloat 4.2s ease-in-out infinite;
}

.soccer-ball::before {
  position: absolute;
  inset: -12px;
  content: "";
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.soccer-ball img {
  display: block;
  width: 116%;
  height: 116%;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.18));
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.25rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.hero-copy {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-self: end;
}

.hero-metrics div,
.metric-grid article {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  transition: transform var(--fast), box-shadow var(--fast), border-color var(--fast);
}

.hero-metrics div:hover,
.metric-grid article:hover,
.admin-card:hover,
.match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(21, 23, 20, 0.1);
}

.hero-metrics span,
.metric-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.62);
}

.hero-metrics strong,
.metric-grid strong {
  font-size: clamp(1rem, 2vw, 1.45rem);
}

.pool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

.match-list {
  display: grid;
  gap: 14px;
}

.match-card,
.play-slip,
.ticket-card,
.verify-section,
.admin-card,
.empty-state,
.install-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(21, 23, 20, 0.07);
}

.match-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  padding: 18px;
  transition: transform var(--fast), box-shadow var(--fast), border-color var(--fast);
}

.match-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--grass), var(--gold), var(--blue));
}

.match-meta,
.section-head,
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.match-meta {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  font-size: clamp(1.05rem, 3vw, 1.45rem);
}

.teams strong:first-child,
.teams strong:last-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.teams strong:last-child {
  justify-content: flex-end;
  text-align: right;
}

.teams span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.team-badge {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(23, 107, 66, 0.1);
  color: var(--grass);
  font-size: 0.78rem;
  font-weight: 900;
}

.team-badge.away {
  background: rgba(21, 84, 209, 0.1);
  color: var(--blue);
}

.team-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  padding: 4px;
  background: white;
  box-shadow: 0 8px 18px rgba(21, 23, 20, 0.12);
}

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

.pick-grid label {
  display: block;
}

.pick-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pick-grid span {
  display: grid;
  place-items: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  transition: transform var(--fast), box-shadow var(--fast), background var(--fast), color var(--fast), border-color var(--fast);
}

.pick-grid span:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(21, 23, 20, 0.1);
}

.pick-grid input:checked + span {
  border-color: transparent;
  color: white;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.16);
  animation: pickPop 220ms ease;
}

.pick-grid input:checked + .pick-home {
  background: linear-gradient(135deg, var(--grass), #22a164);
}

.pick-grid input:checked + .pick-draw {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #261900;
}

.pick-grid input:checked + .pick-away {
  background: linear-gradient(135deg, var(--blue), #4e7cff);
}

.play-slip {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
  padding: 20px;
  overflow: hidden;
}

.play-slip::before {
  height: 5px;
  margin: -20px -20px 0;
  content: "";
  background: linear-gradient(90deg, var(--grass), var(--gold), var(--blue));
}

.slip-total {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.pick-progress {
  display: grid;
  gap: 9px;
  padding: 12px;
  border-radius: 8px;
  background: var(--field);
  font-weight: 900;
}

.pick-progress span {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

.pick-progress strong {
  color: var(--grass);
}

.pick-progress div {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(21, 23, 20, 0.08);
}

.pick-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--grass), var(--lime));
  transition: width var(--slow);
}

.combo-estimator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(217, 164, 65, 0.35);
  border-radius: 8px;
  background: rgba(217, 164, 65, 0.1);
  font-weight: 900;
}

.combo-estimator span {
  color: var(--muted);
}

.combo-estimator strong {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--gold);
  color: #261900;
}

.period-badge {
  display: inline-flex;
  margin-top: 12px;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.period-badge.open {
  color: var(--lime);
}

.period-badge.closed {
  color: #ffd0cc;
}

.pool-layout.locked {
  opacity: 0.68;
}

.pool-layout.locked .pick-grid span,
button:disabled {
  cursor: not-allowed;
}

button:disabled {
  opacity: 0.55;
  transform: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(21, 23, 20, 0.08);
  transition: transform var(--fast), box-shadow var(--fast), background var(--fast), color var(--fast), border-color var(--fast);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(21, 23, 20, 0.14);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(21, 23, 20, 0.12);
}

.button.primary {
  background: linear-gradient(135deg, var(--grass), #20a360);
  color: white;
}

.button.ghost {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.button.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #261900;
}

.button.soft {
  border-color: rgba(23, 107, 66, 0.12);
  background: rgba(23, 107, 66, 0.08);
  color: var(--grass-2);
}

.button.pulse {
  animation: buttonPulse 2.4s ease-in-out infinite;
}

.button.wide {
  width: 100%;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.action-row.compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.notice {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 800;
}

.notice.success {
  border: 1px solid rgba(23, 107, 66, 0.28);
  background: rgba(23, 107, 66, 0.1);
}

.notice.error {
  border: 1px solid rgba(180, 35, 24, 0.25);
  background: rgba(180, 35, 24, 0.08);
  color: var(--danger);
}

.ticket-card,
.verify-section,
.empty-state {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
  padding: 22px;
}

.ticket-card {
  border-color: rgba(199, 242, 92, 0.72);
  background:
    linear-gradient(135deg, rgba(199, 242, 92, 0.18), transparent),
    white;
}

.verify-section {
  margin-top: 28px;
}

.verify-form,
.inline-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.verify-result {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: var(--field);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: #25d366;
  color: #062b16;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.34);
  transition: transform var(--fast), box-shadow var(--fast);
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(37, 211, 102, 0.44);
}

.whatsapp-float span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: white;
}

.install-body {
  display: grid;
  place-items: center;
}

.install-shell {
  display: grid;
  place-items: center;
  width: min(100%, 720px);
  min-height: 100vh;
  padding: 24px;
  margin: auto;
}

.install-panel {
  width: 100%;
  padding: clamp(24px, 5vw, 42px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 24px 0;
}

.steps span,
.requirement {
  border-radius: 8px;
  padding: 12px;
  background: var(--field);
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.steps .active {
  background: linear-gradient(135deg, var(--grass), #20a360);
  color: white;
}

.requirement-list,
.form-grid {
  display: grid;
  gap: 14px;
}

.requirement {
  display: flex;
  justify-content: space-between;
  text-align: left;
}

.requirement.ok span {
  color: var(--grass);
}

.requirement.bad span {
  color: var(--danger);
}

.success-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
}

.admin-body {
  background:
    linear-gradient(rgba(21, 23, 20, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 23, 20, 0.025) 1px, transparent 1px),
    #eef3e8;
  background-size: 32px 32px;
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 240px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(199, 242, 92, 0.08), transparent 38%),
    var(--ink);
  color: white;
}

.admin-sidebar nav {
  flex-direction: column;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.72);
}

.admin-sidebar .brand-mark {
  background: var(--lime);
  color: var(--ink);
}

.admin-main {
  width: calc(100% - 240px);
  margin-left: 240px;
  padding: 28px;
}

.admin-top {
  margin-bottom: 18px;
}

.admin-top h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.metric-grid article {
  border-color: var(--line);
  background: white;
  position: relative;
  overflow: hidden;
}

.metric-grid article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: var(--grass);
}

.metric-grid .metric-lime::before {
  background: var(--lime);
}

.metric-grid .metric-gold::before {
  background: var(--gold);
}

.metric-grid .metric-dark::before {
  background: var(--ink);
}

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

.admin-card {
  padding: 20px;
  transition: transform var(--fast), box-shadow var(--fast);
}

.admin-card.full {
  margin-bottom: 18px;
}

.form-grid.dense {
  grid-template-columns: repeat(2, 1fr);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

tr {
  transition: background var(--fast);
}

tbody tr:hover {
  background: rgba(23, 107, 66, 0.05);
}

th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.inline-form {
  grid-template-columns: 1fr 1fr 220px auto;
  margin-top: 16px;
}

.inline-form.match-builder {
  grid-template-columns: 180px 1fr 1fr 220px auto;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.result-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--field);
}

.period-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) 1.3fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.period-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.mode-option {
  display: block;
}

.mode-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-option span {
  display: block;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--field);
  color: var(--ink);
  transition: border-color var(--fast), box-shadow var(--fast), background var(--fast);
}

.mode-option small {
  color: var(--muted);
  font-weight: 700;
}

.mode-option input:checked + span {
  border-color: var(--grass);
  background: rgba(23, 107, 66, 0.08);
  box-shadow: 0 0 0 3px rgba(23, 107, 66, 0.1);
}

.score-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.result-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(21, 23, 20, 0.07);
  font-weight: 900;
}

.score-table {
  margin-top: 18px;
}

.pick-cell {
  min-width: 46px;
  border-radius: 0;
  font-weight: 900;
  text-align: center;
}

.pick-cell.hit {
  background: rgba(39, 174, 96, 0.2);
  color: #0f5a31;
}

.pick-cell.miss {
  background: rgba(215, 57, 47, 0.16);
  color: var(--danger);
}

.pick-cell.pending {
  background: rgba(21, 23, 20, 0.05);
  color: var(--muted);
}

.mini-form {
  display: flex;
  gap: 8px;
}

.status {
  display: inline-flex;
  border-radius: 8px;
  padding: 6px 9px;
  background: var(--field);
  font-size: 0.78rem;
  font-weight: 900;
}

.status.paid {
  background: rgba(23, 107, 66, 0.12);
  color: var(--grass);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--field);
  color: var(--grass-2);
  font-weight: 900;
  font-size: 0.82rem;
}

.team-cell {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
}

.combo-details summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--grass);
}

.combo-details div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 260px;
  margin-top: 8px;
}

code {
  border-radius: 6px;
  padding: 3px 6px;
  background: rgba(21, 23, 20, 0.07);
  color: var(--ink);
  font-family: "Consolas", monospace;
  font-size: 0.84rem;
  font-weight: 800;
}

.table-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 7px;
  background: white;
}

.status.cancelled {
  background: rgba(180, 35, 24, 0.1);
  color: var(--danger);
}

.reveal {
  animation: riseIn var(--slow) both;
  animation-delay: var(--delay, 0ms);
}

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

@keyframes pickPop {
  0% {
    transform: scale(0.96);
  }
  70% {
    transform: scale(1.035);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes buttonPulse {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(23, 107, 66, 0.16);
  }
  50% {
    box-shadow: 0 16px 34px rgba(23, 107, 66, 0.3);
  }
}

@keyframes ballFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

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

@media (max-width: 860px) {
  .site-header {
    position: static;
  }

  .site-header nav {
    display: none;
  }

  .pool-hero,
  .pool-layout,
  .admin-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .play-slip {
    position: static;
  }

  .admin-sidebar {
    position: static;
    width: 100%;
  }

  .admin-main {
    width: 100%;
    margin-left: 0;
    padding: 18px;
  }

  .form-grid.dense,
  .inline-form,
  .inline-form.match-builder,
  .results-grid,
  .period-panel,
  .period-actions,
  .verify-form {
    grid-template-columns: 1fr;
  }

  .teams {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .teams strong:last-child {
    text-align: left;
  }
}
