:root {
  --ink: #09151c;
  --ink-2: #10252d;
  --cream: #f6f2e8;
  --paper: #fffcf5;
  --lime: #bcff5e;
  --lime-dark: #7fbc27;
  --orange: #ff6b3d;
  --blue: #79d5ff;
  --muted: #6d797d;
  --line: #d9ddd7;
  --success: #2d9f64;
  --warning: #d06d24;
  --radius: 18px;
  --shadow: 0 22px 60px rgba(6, 20, 27, .12);
}

/* Site owner analytics and platform plans */
.site-admin-shell, .plans-shell { max-width: 1220px; }
.site-owner-heading { align-items: flex-end; }
.integration-chip, .access-status { padding: 14px 18px; border-radius: 15px; background: var(--ink); color: white; }
.integration-chip { color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
.site-stat-grid:has(> :nth-child(5)) { grid-template-columns: repeat(5, 1fr); }
.site-stat-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.site-stat-grid span, .site-stat-grid small { display: block; color: var(--muted); }
.site-stat-grid span { font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.site-stat-grid strong { display: block; margin: 7px 0 5px; font: 800 40px/1 "Barlow Condensed"; }
.site-stat-grid small { font-size: 9px; line-height: 1.4; }
.site-stat-grid.secondary strong { font-size: 32px; }
.site-admin-grid { display: grid; gap: 18px; margin: 18px 0; }
.master-schedule-panel { margin-bottom: 18px; }
.master-schedule-layout { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: end; }
.master-schedule-form { align-items: end; }
.master-schedule-form p { margin: 0; }
.master-schedule-form label { display: block; margin-bottom: 5px; font-size: 9px; font-weight: 800; }
.master-schedule-form input { width: 100%; }
.master-schedule-list { display: flex; justify-content: flex-end; gap: 9px; overflow-x: auto; }
.master-schedule-list > span { min-width: 180px; padding: 12px 14px; border-radius: 12px; background: #eef2ea; }
.master-schedule-list strong, .master-schedule-list small { display: block; }
.master-schedule-list strong { font: 800 24px/1 "Barlow Condensed"; }
.master-schedule-list small { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.4; }
.analytics-grid { grid-template-columns: 1.45fr .75fr; }
.business-grid { grid-template-columns: 1.1fr .9fr; }
.quiet-stat { color: var(--muted); font-size: 10px; }
.traffic-chart { height: 200px; display: grid; grid-template-columns: repeat(14, 1fr); align-items: end; gap: 7px; padding-top: 20px; }
.traffic-chart > div { height: 100%; display: grid; grid-template-rows: 1fr auto; align-items: end; gap: 7px; text-align: center; }
.traffic-chart span { min-height: 4px; border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--lime), var(--lime-dark)); }
.traffic-chart small { color: var(--muted); font-size: 8px; font-weight: 800; }
.ranked-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.ranked-list > div:first-child { border-top: 0; }
.ranked-list span { min-width: 0; display: flex; align-items: center; gap: 9px; }
.ranked-list b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: #edf2e9; }
.ranked-list code { overflow: hidden; color: var(--ink); font: 600 10px "DM Sans"; text-overflow: ellipsis; white-space: nowrap; }
.ranked-list .page-counts { display: block; flex: 0 0 auto; text-align: right; }
.ranked-list .page-counts small { display: block; margin-top: 2px; color: var(--muted); font-size: 7px; }
.recent-pool-list article, .access-code-list article, .access-history article { display: grid; grid-template-columns: 1.4fr .55fr 1fr; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.recent-pool-list article:first-child, .access-code-list article:first-child, .access-history article:first-child { border-top: 0; }
.recent-pool-list strong, .recent-pool-list small, .access-code-list strong, .access-code-list small, .access-history strong, .access-history small { display: block; }
.recent-pool-list small, .access-code-list small, .access-history small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.site-directory-scroll { overflow: auto; scrollbar-width: thin; }
.site-account-list { max-height: 430px; }
.site-account-list article { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.site-account-list article:first-child { border-top: 0; }
.site-account-list strong, .site-account-list small { display: block; }
.site-account-list small { margin-top: 2px; overflow-wrap: anywhere; color: var(--muted); font-size: 8px; }
.site-account-list time { min-width: 90px; text-align: right; }
.site-account-list time strong { font-size: 9px; }
.all-pools-panel { margin: 18px 0; }
.all-pools-panel .panel-heading { align-items: end; }
.all-pools-panel .pool-type-breakdown { margin: 0; }
.site-pool-list { max-height: 580px; }
.site-pool-list-head, .site-pool-list article { min-width: 820px; display: grid; grid-template-columns: minmax(210px, 1.2fr) minmax(220px, 1fr) 70px 120px 78px; gap: 14px; align-items: center; }
.site-pool-list-head { position: sticky; top: 0; z-index: 1; padding: 9px 12px; border-radius: 9px; background: var(--ink); color: #aebfc4; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-pool-list article { padding: 12px; border-bottom: 1px solid var(--line); }
.site-pool-list article > span, .site-pool-list article > time { min-width: 0; }
.site-pool-list strong, .site-pool-list small { display: block; }
.site-pool-list strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.site-pool-list small { margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.pool-type-breakdown { display: flex; gap: 10px; margin-top: 14px; }
.pool-type-breakdown span { padding: 9px 11px; border-radius: 10px; background: #eef2ea; font-size: 9px; }
.pool-type-breakdown strong { margin-right: 5px; }
.money-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.money-metrics span { padding: 13px; border-radius: 12px; background: var(--ink); color: white; }
.money-metrics strong, .money-metrics small { display: block; }
.money-metrics strong { color: var(--lime); font: 800 30px/1 "Barlow Condensed"; }
.money-metrics small { color: #9cb0b6; font-size: 8px; }
.launch-model { display: grid; gap: 8px; margin: 14px 0; }
.launch-model article { display: grid; grid-template-columns: 75px 1fr 1.2fr; gap: 8px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; }
.launch-model article.recommended { border-color: var(--lime-dark); background: #f4ffe7; }
.launch-model b, .launch-model span, .launch-model small { font-size: 9px; }
.launch-model small { color: var(--muted); }
.access-code-panel { margin-top: 18px; }
.access-code-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 25px; }
.access-code-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.access-code-form p { margin: 0; }
.access-code-form label, .redeem-panel label { display: block; margin-bottom: 4px; font-size: 9px; font-weight: 800; }
.access-code-form input:not([type="checkbox"]), .access-code-form select { width: 100%; }
.access-code-form .helptext { display: block; color: var(--muted); font-size: 8px; }
.access-code-form .button { align-self: end; }
.access-code-list article { grid-template-columns: 1.25fr .45fr .7fr auto; }
.access-code-list code { font-weight: 800; }
.access-code-list article.is-disabled { opacity: .55; }
.access-status span, .access-status strong, .access-status small { display: block; }
.access-status span { color: #8fa4ac; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.access-status strong { margin: 3px 0; color: var(--lime); font: 800 30px/1 "Barlow Condensed"; text-transform: uppercase; }
.access-status small { color: #aebfc4; font-size: 9px; }
.plan-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 25px 0; }
.plan-card-grid > article { padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.plan-card-grid > article.featured { border: 2px solid var(--lime-dark); box-shadow: var(--shadow); }
.plan-card-grid h2 { margin: 6px 0; font-size: 42px; }
.plan-price { display: block; font: 800 34px/1 "Barlow Condensed"; }
.plan-price small { color: var(--muted); font: 700 12px "DM Sans"; }
.plan-summary { min-height: 58px; margin: 13px 0 8px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.plan-card-grid ul { min-height: 154px; padding-left: 18px; color: var(--muted); font-size: 11px; line-height: 2; }
.plan-card-grid li b { color: var(--ink); }
.plan-card-grid .button { width: 100%; }
.current-plan { display: block; padding: 12px; border-radius: 10px; background: #eaf4e6; color: var(--success); font-size: 10px; font-weight: 800; text-align: center; }
.redeem-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; }
.redeem-panel h2 { margin: 5px 0; }
.redeem-panel p { margin: 0; color: var(--muted); }
.redeem-panel form > div { display: flex; gap: 8px; }
.redeem-panel input { flex: 1; min-width: 0; }
.access-history { margin-top: 18px; }
.checkout-notice { margin-top: 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); font-size: 11px; }
.checkout-notice.is-success { border-color: #a7d6ba; background: #effaf2; color: var(--success); }
.plan-comparison { margin-bottom: 18px; overflow: hidden; }
.comparison-table { min-width: 680px; }
.comparison-row { display: grid; grid-template-columns: minmax(190px, 1.4fr) repeat(3, 1fr); border-top: 1px solid var(--line); }
.comparison-row > * { padding: 12px 10px; font-size: 10px; }
.comparison-row > b { text-align: center; }
.comparison-head { border-top: 0; border-radius: 10px; background: var(--ink); color: white; }
.comparison-head strong:not(:first-child) { text-align: center; }
.billing-link { margin-top: 14px; text-align: center; }
.site-ad { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 15px; align-items: center; margin: 0 0 20px; padding: 14px 16px; border: 1px dashed #aeb8b4; border-radius: 14px; background: #eef1ea; }
.site-ad-label { align-self: start; color: #8b9692; font-size: 7px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.site-ad strong { display: block; font-size: 11px; }
.site-ad p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }
.site-ad .button { padding: 9px 13px; font-size: 9px; }
.premium-lock-panel { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 24px; align-items: center; margin-bottom: 18px; padding: 24px; border-radius: 18px; background: var(--ink); color: white; }
.premium-lock-panel h2 { margin: 5px 0; color: white; font-size: 34px; }
.premium-lock-panel p, .premium-lock-panel li { color: #aebfc4; font-size: 10px; line-height: 1.55; }
.premium-lock-panel p { margin: 0; }
.premium-lock-panel .eyebrow { color: var(--lime); }
.premium-lock-panel ul { margin: 0; padding-left: 18px; }
.payment-admin-columns.is-members-only { grid-template-columns: 1fr; }
.premium-lock-compact h2 { margin: 5px 0; }
.premium-lock-compact p { color: var(--muted); font-size: 10px; line-height: 1.5; }

@media (max-width: 850px) {
  .site-stat-grid { grid-template-columns: 1fr 1fr; }
  .site-stat-grid:has(> :nth-child(5)) { grid-template-columns: 1fr 1fr; }
  .analytics-grid, .business-grid, .access-code-layout, .redeem-panel, .master-schedule-layout { grid-template-columns: 1fr; }
  .master-schedule-list { justify-content: flex-start; }
  .plan-card-grid { grid-template-columns: 1fr; }
  .plan-summary, .plan-card-grid ul { min-height: 0; }
  .plan-comparison { overflow-x: auto; }
  .premium-lock-panel { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 520px) {
  .site-stat-grid { grid-template-columns: 1fr; }
  .site-stat-grid:has(> :nth-child(5)) { grid-template-columns: 1fr; }
  .access-code-form { grid-template-columns: 1fr; }
  .access-code-list article, .recent-pool-list article, .access-history article { grid-template-columns: 1fr 1fr; }
  .traffic-chart { gap: 3px; }
  .launch-model article { grid-template-columns: 60px 1fr; }
  .launch-model small { grid-column: 1 / -1; }
  .redeem-panel form > div { align-items: stretch; flex-direction: column; }
  .site-account-list article { grid-template-columns: 34px minmax(0, 1fr); }
  .site-account-list time { grid-column: 2; text-align: left; }
  .all-pools-panel .panel-heading { align-items: flex-start; flex-direction: column; }
  .pool-type-breakdown { flex-wrap: wrap; }
  .master-schedule-form { align-items: stretch; flex-direction: column; }
  .master-schedule-form .button { width: 100%; }
  .site-ad { grid-template-columns: 1fr; gap: 8px; }
  .site-ad .button { width: 100%; }
}

.pool-list-shell { max-width: 1180px; }
.pool-list-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}
.pool-list-heading h1 { margin: 5px 0 8px; font-size: clamp(54px, 8vw, 92px); }
.pool-list-heading p { max-width: 680px; margin: 0; color: var(--muted); font-size: 17px; }
.pool-list-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.pool-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pool-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.pool-card.is-active { border-color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime), var(--shadow); }
.pool-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pool-card h2 { margin: 4px 0 0; font-size: 36px; line-height: 1; }
.active-pool-badge {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pool-card-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.pool-card-details > div { min-width: 0; padding: 14px; border-right: 1px solid var(--line); }
.pool-card-details > div:last-child { border-right: 0; }
.pool-card-details span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.pool-card-details strong { display: block; margin-top: 5px; overflow-wrap: anywhere; }
.pool-removed-note { min-height: 46px; margin: 24px 0 0; color: var(--muted); }
.pool-list-empty {
  grid-column: 1 / -1;
  padding: 50px 28px;
  border: 1px dashed var(--line);
  border-radius: 22px;
  text-align: center;
}
.pool-list-empty h2 { margin: 7px 0; font-size: 40px; }

@media (max-width: 760px) {
  .pool-list-heading { align-items: flex-start; flex-direction: column; }
  .pool-list-actions, .pool-list-actions .button { width: 100%; }
  .pool-card-grid { grid-template-columns: 1fr; }
  .pool-card { padding: 19px; }
  .pool-card-details { grid-template-columns: 1fr; }
  .pool-card-details > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .pool-card-details > div:last-child { border-bottom: 0; }
}

/* NFL Pick'em */
.pickem-shell { max-width: 1180px; }
.pickem-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}
.pickem-hero h1 { margin: 5px 0 8px; font-size: clamp(56px, 8vw, 92px); line-height: .9; text-transform: uppercase; }
.pickem-hero p { max-width: 650px; margin: 0; color: var(--muted); font-size: 16px; }
.pick-progress {
  min-width: 170px;
  padding: 18px 21px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 16px;
  border-radius: 18px;
  background: var(--ink);
  color: white;
}
.pick-progress span, .pick-progress em { color: #91a5ac; font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pick-progress strong { grid-column: 2; grid-row: 1 / span 2; color: var(--lime); font: 800 44px/1 "Barlow Condensed"; }
.pick-progress strong small { color: #91a5ac; font-size: 20px; }
.my-pick-tracker { margin: 0 0 22px; padding: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 10px 30px rgba(6,20,27,.06); }
.my-pick-tracker-heading { margin-bottom: 13px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.my-pick-tracker-heading h2 { margin: 2px 0 0; font-size: 32px; text-transform: uppercase; }
.my-pick-tracker-heading p { max-width: 390px; margin: 0; color: var(--muted); font-size: 9px; text-align: right; }
.my-pick-tracker-scroll { overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: #93a09b #e6e8e2; scrollbar-width: thin; }
.my-pick-tracker-grid { min-width: 100%; width: max-content; padding-bottom: 5px; display: grid; grid-auto-flow: column; grid-auto-columns: 270px; gap: 10px; }
.my-pick-score-card { overflow: hidden; border: 2px solid #cad1cc; border-radius: 14px; background: #f5f6f2; }
.my-pick-score-status { min-height: 42px; padding: 8px 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid rgba(9,21,28,.1); background: #e9ede8; }
.my-pick-score-status strong { font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.my-pick-score-status span { color: var(--muted); font-size: 8px; font-weight: 800; text-align: right; text-transform: uppercase; }
.my-pick-score-team { min-height: 62px; padding: 8px 11px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(9,21,28,.08); background: rgba(255,255,255,.62); }
.my-pick-score-team.is-selected { border-top: 0; background: white; }
.my-pick-team-identity { min-width: 0; display: flex; align-items: center; gap: 9px; }
.my-pick-team-identity img { width: 38px; height: 38px; flex: 0 0 38px; object-fit: contain; }
.my-pick-team-identity > span { min-width: 0; }
.my-pick-team-identity small, .my-pick-team-identity b { display: block; }
.my-pick-team-identity small { color: var(--muted); font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.my-pick-team-identity b { margin-top: 2px; overflow: hidden; font: 800 18px/1 "Barlow Condensed"; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.my-pick-score-team > strong { flex: 0 0 auto; font: 800 28px/1 "Barlow Condensed"; }
.my-pick-score-card.is-winning, .my-pick-score-card.is-won { border-color: var(--success); background: #e8f7ed; }
.my-pick-score-card.is-winning .my-pick-score-status, .my-pick-score-card.is-won .my-pick-score-status { background: var(--success); color: white; }
.my-pick-score-card.is-winning .my-pick-score-status span, .my-pick-score-card.is-won .my-pick-score-status span { color: #dff7e8; }
.my-pick-score-card.is-losing, .my-pick-score-card.is-lost { border-color: #d8563a; background: #fff0eb; }
.my-pick-score-card.is-losing .my-pick-score-status, .my-pick-score-card.is-lost .my-pick-score-status { background: #d8563a; color: white; }
.my-pick-score-card.is-losing .my-pick-score-status span, .my-pick-score-card.is-lost .my-pick-score-status span { color: #ffe5de; }
.my-pick-score-card.is-tied { border-color: #d29a27; background: #fff7df; }
.my-pick-score-card.is-tied .my-pick-score-status { background: #f1bd4c; }
.pickem-form { display: grid; gap: 16px; }
.pickem-game-list { display: grid; gap: 9px; }
.pickem-game {
  min-height: 112px;
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr) 105px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(6,20,27,.05);
}
.pickem-game-time { padding: 18px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.pickem-game-time span, .pickem-game-time strong, .pickem-game-time em { display: block; }
.pickem-game-time span { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.pickem-game-time strong { margin: 3px 0 7px; font: 800 20px/1 "Barlow Condensed"; }
.pickem-game-time em { color: var(--success); font-size: 9px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.pickem-choices { min-width: 0; padding: 10px; display: grid; grid-template-columns: minmax(0,1fr) 28px minmax(0,1fr); align-items: stretch; gap: 7px; }
.pick-team { position: relative; min-width: 0; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #dce1dd; border-radius: 12px; background: #f5f6f2; cursor: pointer; transition: .15s ease; }
.pick-team:hover { border-color: #9abe69; background: #f7ffec; }
.pick-team input { position: absolute; opacity: 0; pointer-events: none; }
.pick-team-logo { width: 48px; height: 48px; flex: 0 0 48px; object-fit: contain; }
.pick-team span { min-width: 0; flex: 1; }
.pick-team small, .pick-team strong { display: block; }
.pick-team small { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pick-team strong { margin-top: 3px; overflow-wrap: anywhere; font: 800 25px/.95 "Barlow Condensed"; text-transform: uppercase; }
.pick-team b { color: var(--ink); font: 800 34px/1 "Barlow Condensed"; }
.pick-team:has(input:checked) { border-color: var(--lime-dark); background: var(--lime); box-shadow: inset 0 0 0 1px var(--lime-dark); }
.pick-team:has(input:focus-visible) { outline: 3px solid rgba(91, 143, 29, .3); outline-offset: 2px; }
.pick-team.is-winner::after { content: "Winner"; position: absolute; top: 5px; right: 7px; color: var(--success); font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.pickem-game.is-locked .pick-team { cursor: default; }
.pickem-game.is-locked .pick-team:not(.is-picked) { opacity: .62; }
.pickem-at { display: grid; place-items: center; color: #9ca6a3; font: 800 12px/1 "Barlow Condensed"; text-transform: uppercase; }
.pick-result { padding: 15px; display: grid; place-items: center; border-left: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 800; text-align: center; text-transform: uppercase; }
.pick-result .is-correct { color: var(--success); }
.pick-result .is-wrong { color: var(--orange); }
.pickem-tiebreaker { padding: 22px 24px; display: grid; grid-template-columns: minmax(0,1fr) 180px; gap: 25px; align-items: center; border-radius: 18px; background: var(--ink); color: white; }
.pickem-tiebreaker h2 { margin: 4px 0 5px; font-size: 32px; text-transform: uppercase; }
.pickem-tiebreaker p { margin: 0; color: #aebfc4; font-size: 11px; }
.pickem-tiebreaker .eyebrow { color: var(--lime); }
.pickem-tiebreaker label span, .pickem-tiebreaker label small { display: block; color: #91a5ac; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.pickem-tiebreaker input { width: 100%; margin: 5px 0; min-height: 48px; font: 800 25px/1 "Barlow Condensed"; }
.pickem-save-bar { position: sticky; bottom: 12px; z-index: 8; padding: 12px 14px 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #334951; border-radius: 999px; background: rgba(9,21,28,.96); color: #aebfc4; box-shadow: 0 14px 40px rgba(6,20,27,.2); font-size: 10px; }
.pickem-pool-picks { margin-top: 38px; }
.pickem-pool-picks .section-heading { margin-bottom: 14px; }
.pickem-pool-picks .section-heading h2 { margin: 3px 0 0; font-size: 42px; text-transform: uppercase; }
.pickem-pool-picks .section-heading p { max-width: 390px; margin: 0; color: var(--muted); font-size: 10px; text-align: right; }
.pool-picks-locked { min-height: 118px; padding: 22px 24px; display: flex; align-items: center; gap: 17px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); box-shadow: var(--shadow); }
.pool-picks-locked > span { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); font-size: 23px; }
.pool-picks-locked strong { display: block; font-size: 15px; }
.pool-picks-locked p { max-width: 760px; margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.pool-pick-game-list { display: grid; gap: 11px; }
.pool-pick-game { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); box-shadow: 0 8px 24px rgba(6,20,27,.05); }
.pool-pick-game > header { min-height: 65px; padding: 13px 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); background: #f5f6f2; }
.pool-pick-game > header span, .pool-pick-game > header strong { display: block; }
.pool-pick-game > header span { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pool-pick-game > header strong { margin-top: 3px; font-size: 12px; }
.pool-pick-game > header em { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: var(--ink); color: var(--lime); font-size: 8px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.pool-pick-sides { display: grid; grid-template-columns: 1fr 1fr; }
.pool-pick-side { min-width: 0; padding: 16px 17px 18px; }
.pool-pick-side + .pool-pick-side { border-left: 1px solid var(--line); }
.pool-pick-team { min-width: 0; display: flex; align-items: center; gap: 11px; }
.pool-pick-team img { width: 42px; height: 42px; flex: 0 0 42px; object-fit: contain; }
.pool-pick-team > span { min-width: 0; flex: 1; }
.pool-pick-team > span small, .pool-pick-team > span strong { display: block; }
.pool-pick-team > span small { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pool-pick-team > span strong { margin-top: 2px; font: 800 23px/1 "Barlow Condensed"; text-transform: uppercase; }
.pool-pick-team > b { flex: 0 0 auto; color: var(--lime-dark); font: 800 31px/1 "Barlow Condensed"; text-align: right; }
.pool-pick-team > b small { display: block; margin-top: 3px; color: var(--muted); font: 800 8px/1 "DM Sans"; }
.pool-picker-list { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 6px; }
.pool-picker-list span, .pool-picker-list em, .pool-pick-missing div span { padding: 6px 8px; border-radius: 999px; background: #edf0e9; color: var(--ink); font-size: 8px; font-style: normal; font-weight: 800; }
.pool-picker-list span.is-me { background: var(--lime); }
.pool-picker-list em { color: var(--muted); }
.pool-pick-missing { border-top: 1px solid var(--line); }
.pool-pick-missing summary { padding: 10px 17px; color: var(--muted); cursor: pointer; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.pool-pick-missing div { padding: 0 17px 13px; display: flex; flex-wrap: wrap; gap: 6px; }
.pickem-matrix-section { margin-top: 31px; }
.pickem-matrix-heading { margin-bottom: 13px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.pickem-matrix-heading h2 { margin: 3px 0 0; font-size: 42px; }
.pickem-matrix-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.pickem-matrix-status { margin-bottom: 11px; padding: 13px 16px; display: flex; align-items: center; gap: 12px; border: 1px solid #dfd8b9; border-radius: 12px; background: #fff8df; }
.pickem-matrix-status strong { flex: 0 0 auto; color: #886515; font-size: 10px; text-transform: uppercase; }
.pickem-matrix-status span { color: #786d4f; font-size: 9px; }
.pickem-matrix-status.is-unlocked { border-color: #bcd9c7; background: #effaf2; }
.pickem-matrix-status.is-unlocked strong { color: var(--success); }
.pickem-matrix-status.is-unlocked span { color: #527360; }
.pickem-matrix-legend { margin: 0 0 9px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 13px; color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.pickem-matrix-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.legend-swatch { width: 12px; height: 12px; display: inline-block; border: 1px solid var(--line); border-radius: 4px; }
.legend-swatch.is-mine { border-color: #a6d961; background: #efffd9; }
.legend-swatch.is-missing { border-color: #efc5b6; background: #fff0eb; }
.legend-lock { font-size: 11px; font-style: normal; }
.pickem-matrix-frame { --player-column: 220px; display: grid; grid-template-columns: var(--player-column) minmax(0, 1fr); overflow: hidden; border: 1px solid #cfd5d1; border-radius: 15px; background: var(--paper); box-shadow: var(--shadow); }
.pickem-matrix-player-column { position: relative; z-index: 2; min-width: 0; border-right: 1px solid #cfd5d1; background: var(--paper); box-shadow: 7px 0 15px rgba(6,20,27,.08); }
.pickem-matrix-scroll { min-width: 0; overflow-x: auto; scrollbar-color: #738187 #e4e8e3; scrollbar-width: thin; }
.pickem-matrix-scroll:focus-visible { outline: 3px solid rgba(127,188,39,.35); outline-offset: 3px; }
.pickem-matrix { --game-column: 92px; min-width: 100%; width: max-content; display: grid; grid-template-columns: repeat(var(--game-count), var(--game-column)); }
.pickem-matrix-corner, .pickem-matrix-game { min-height: 112px; padding: 10px 8px; background: var(--ink); color: white; }
.pickem-matrix-corner { padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; }
.pickem-matrix-corner strong, .pickem-matrix-corner small { display: block; }
.pickem-matrix-corner strong { font: 800 24px/1 "Barlow Condensed"; text-transform: uppercase; }
.pickem-matrix-corner small { margin-top: 4px; color: #91a5ac; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.pickem-matrix-game { min-width: 0; display: flex; align-items: center; flex-direction: column; border-left: 1px solid #2b4048; text-align: center; }
.pickem-matrix-game > span { color: var(--lime); font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.pickem-matrix-matchup { margin: 7px 0 5px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.pickem-matrix-matchup img { width: 26px; height: 26px; object-fit: contain; }
.pickem-matrix-matchup b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #263b43; color: white; font-size: 8px; }
.pickem-matrix-matchup small { color: #91a5ac; font: 800 8px/1 "Barlow Condensed"; text-transform: uppercase; }
.pickem-matrix-game time { color: #aebfc4; font-size: 7px; font-weight: 700; white-space: nowrap; }
.pickem-matrix-counts { margin-top: 6px; display: flex; align-items: center; gap: 4px; color: var(--lime); font-size: 9px; }
.pickem-matrix-counts span { color: #789098; }
.pickem-matrix-player, .pickem-matrix-cell { min-height: 76px; border-top: 1px solid var(--line); }
.pickem-matrix-player { min-width: 0; padding: 10px 12px; display: flex; align-items: center; gap: 10px; background: var(--paper); }
.pickem-matrix-player.is-me { background: #efffd9; box-shadow: inset 4px 0 0 var(--lime-dark); }
.pickem-matrix-player .leader-avatar { width: 38px; height: 38px; flex: 0 0 38px; }
.pickem-matrix-player-name { min-width: 0; }
.pickem-matrix-player-name strong, .pickem-matrix-player-name small { display: block; }
.pickem-matrix-player-name strong { font-size: 10px; line-height: 1.25; overflow-wrap: anywhere; }
.pickem-matrix-player-name strong em { margin-left: 5px; color: var(--lime-dark); font-size: 7px; font-style: normal; text-transform: uppercase; }
.pickem-matrix-player-name small { margin-top: 4px; font-size: 7px; font-weight: 900; text-transform: uppercase; }
.pickem-matrix-player-name small.is-complete { color: var(--success); }
.pickem-matrix-player-name small.is-incomplete { color: var(--warning); }
.pickem-matrix-cell { min-width: 0; padding: 7px 5px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px; border-left: 1px solid var(--line); background: #faf9f4; text-align: center; }
.pickem-matrix-cell.is-mine { background: #efffd9; }
.pickem-matrix-cell.is-private { background: #f1f3ef; }
.pickem-matrix-cell.is-missing { background: #fff0eb; }
.pickem-matrix-cell img { width: 46px; height: 46px; object-fit: contain; }
.pickem-matrix-cell > small { color: var(--muted); font-size: 6px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.pickem-cell-lock { font-size: 21px; filter: grayscale(1); }
.pickem-cell-missing { color: #b54f30; font: 800 25px/1 "Barlow Condensed"; }
.pickem-matrix-team-code { min-width: 42px; min-height: 42px; padding: 5px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); font: 800 13px/1 "Barlow Condensed"; }
.pickem-matrix-empty { grid-column: 1 / -1; padding: 40px; color: var(--muted); text-align: center; }
.pickem-matrix-scroll-hint { margin: 8px 2px 0; color: var(--muted); font-size: 8px; text-align: right; }
.pickem-standings { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.pickem-standing-head, .pickem-standing-row { display: grid; grid-template-columns: 65px minmax(260px,1fr) 120px 120px; gap: 14px; align-items: center; }
.pickem-standing-head { padding: 11px 18px; background: var(--ink); color: #91a5ac; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.pickem-standing-row { min-height: 76px; padding: 11px 18px; border-top: 1px solid #e2e6e2; }
.pickem-standing-row.is-me { background: #f3ffe1; box-shadow: inset 4px 0 0 var(--lime-dark); }
.pickem-standing-row .leader-rank { font-size: 26px; }
.pickem-points { color: var(--lime-dark); font: 800 33px/1 "Barlow Condensed"; }
.pickem-week-results { margin-top: 34px; }
.pickem-week-results details { margin-top: 8px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.pickem-week-results summary { padding: 15px 18px; display: grid; grid-template-columns: 100px 1fr auto; gap: 12px; cursor: pointer; list-style: none; }
.pickem-week-results summary span { font-weight: 800; }
.pickem-week-results summary strong { color: var(--muted); font-size: 10px; }
.pickem-week-results summary em { color: var(--warning); font-size: 9px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.pickem-week-results details.is-complete summary em { color: var(--success); }
.pickem-week-results details.is-unconfigured summary em { color: var(--muted); }
.weekly-result-list { border-top: 1px solid var(--line); }
.weekly-result-list > div { padding: 10px 18px; display: grid; grid-template-columns: 30px minmax(0,1fr) 90px 150px; gap: 12px; align-items: center; border-top: 1px solid #eceeeb; font-size: 10px; }
.weekly-result-list > div:first-child { border-top: 0; }
.weekly-result-list > div.is-winner { background: #f1ffdc; }
.weekly-result-list small { color: var(--muted); }
.weekly-result-list .weekly-result-empty { display: block; padding: 14px 18px; color: var(--muted); font-size: 10px; }
.pickem-admin-week-picker { max-width: 440px; margin: 20px auto; }
.pickem-admin-week-picker label { display: block; margin: 0 0 5px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.pickem-admin-week-picker select { width: 100%; }
.pickem-admin-form { margin-bottom: 18px; }
.pickem-admin-events { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.pickem-admin-events article { min-height: 72px; padding: 12px 15px; display: grid; grid-template-columns: 85px minmax(0,1fr) minmax(300px,.75fr); gap: 16px; align-items: center; border-top: 1px solid var(--line); background: #f5f6f2; }
.pickem-admin-events article:first-child { border-top: 0; }
.pickem-admin-events article.is-active { background: #fbfff5; box-shadow: inset 4px 0 0 var(--lime-dark); }
.pickem-admin-events article.is-excluded { background: #fff1ec; box-shadow: inset 4px 0 0 var(--orange); }
.pickem-admin-events article.is-excluded .status-tag { background: #f7ddd4; color: #a44327; }
.pickem-admin-events strong, .pickem-admin-events small { display: block; }
.pickem-admin-events strong { font-size: 12px; }
.pickem-admin-events small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.pickem-include, .pickem-tb-choice { position: relative; cursor: pointer; }
.pickem-include input, .pickem-tb-choice input { position: absolute; opacity: 0; }
.pickem-include span, .pickem-tb-choice span { display: inline-flex; align-items: center; gap: 5px; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.pickem-include span::before, .pickem-tb-choice span::before { content: ""; width: 14px; height: 14px; border: 1px solid #aeb8b3; background: white; }
.pickem-include span::before { border-radius: 4px; }
.pickem-tb-choice span::before { border-radius: 50%; }
.pickem-include input:checked + span::before, .pickem-tb-choice input:checked + span::before { border-color: var(--lime-dark); background: var(--lime); box-shadow: inset 0 0 0 3px white; }
.pickem-auto-rule { justify-self: end; color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.pickem-auto-rule.is-tiebreaker { padding: 7px 10px; border-radius: 999px; background: var(--ink); color: var(--lime); }
.pickem-game-rule-control { display: grid; grid-template-columns: minmax(220px,1fr) auto; align-items: center; justify-content: flex-end; gap: 8px; }
.pickem-game-rule-control select { width: 100%; }
.pickem-inclusion-form .weekly-picker-save { margin-top: 14px; }
.pickem-day-rule { margin: 0 0 18px; }
.pickem-roster-panel { max-width: 980px; margin: 0 auto; }
.pickem-roster-panel .access-list article { grid-template-columns: minmax(0,1fr) auto auto; }
.pickem-payment-panel { margin-bottom: 18px; }
.pickem-payment-list article { display: grid; grid-template-columns: minmax(190px,1fr) 90px minmax(245px,auto) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.pickem-payment-list article:first-child { border-top: 0; }
.pickem-payment-state strong, .pickem-payment-state small { display: block; }
.pickem-payment-state strong { font-size: 11px; }
.pickem-payment-state small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.pickem-payment-state.is-paid strong { color: var(--success); }
.pickem-payment-state.is-due strong { color: var(--warning); }
.pickem-payment-action { display: flex; align-items: end; gap: 7px; }
.pickem-payment-action label span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.pickem-payment-action select { min-width: 140px; }
.pickem-payment-action .member-action, .pickem-payment-remove .member-action { white-space: nowrap; }
.pickem-admin-steps { display: grid; gap: 8px; }
.pickem-admin-steps a { padding: 13px; display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; border: 1px solid var(--line); border-radius: 11px; text-decoration: none; }
.pickem-admin-steps a:hover { border-color: var(--lime-dark); background: #f5ffe7; }
.pickem-admin-steps span { grid-row: 1 / span 2; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: var(--ink); color: var(--lime); font-weight: 800; }
.pickem-admin-steps strong { font-size: 11px; }
.pickem-admin-steps small { color: var(--muted); font-size: 9px; }
.pickem-manual-picks-panel { margin-bottom: 18px; }
.pickem-admin-card-selector { display: grid; grid-template-columns: 150px minmax(220px, 1fr) auto; gap: 12px; align-items: end; }
.pickem-admin-card-selector label,
.pickem-manual-game-list label,
.pickem-manual-tiebreaker label { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.pickem-admin-card-selector select { width: 100%; margin-top: 5px; }
.pickem-manual-card-form { margin-top: 18px; }
.pickem-manual-game-list { overflow: hidden; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 14px; }
.pickem-manual-game-list article { min-height: 68px; padding: 10px 14px; display: grid; grid-template-columns: 100px minmax(220px, 1fr) minmax(180px, 260px); gap: 14px; align-items: center; border-top: 1px solid var(--line); }
.pickem-manual-game-list article:first-child { border-top: 0; }
.pickem-manual-game-list article.is-locked { background: #f0f1ed; color: var(--muted); }
.pickem-manual-game-list strong,
.pickem-manual-game-list small { display: block; }
.pickem-manual-game-list small { margin-top: 3px; color: var(--muted); font-size: 8px; text-transform: uppercase; }
.pickem-manual-game-list select { width: 100%; }
.pickem-manual-tiebreaker { margin-bottom: 14px; padding: 13px 15px; display: grid; grid-template-columns: minmax(220px, 1fr) 180px; gap: 14px; align-items: center; border-radius: 12px; background: var(--ink); color: white; }
.pickem-manual-tiebreaker input { width: 100%; }
.member-menu-note { padding: 10px; display: block; color: var(--muted); font-size: 9px; font-weight: 800; }

/* NFL Survivor */
.survivor-status-card { min-width: 190px; padding: 20px 23px; border-radius: 18px; background: var(--ink); color: white; }
.survivor-status-card span, .survivor-status-card em { display: block; color: #91a5ac; font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.survivor-status-card strong { display: block; margin: 7px 0 5px; color: var(--lime); font: 800 45px/1 "Barlow Condensed"; text-transform: uppercase; }
.survivor-status-card.is-out strong { color: var(--orange); }
.survivor-used-teams { margin-bottom: 18px; padding: 17px 19px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.survivor-used-teams > div:first-child strong { display: block; margin-top: 3px; font-size: 12px; }
.survivor-team-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.survivor-team-chips span { min-height: 36px; padding: 6px 10px; display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; background: #edf0e9; font-size: 9px; font-weight: 800; }
.survivor-team-chips img { width: 24px; height: 24px; object-fit: contain; }
.survivor-team-chips b { color: var(--lime-dark); }
.survivor-current-pick { margin-bottom: 15px; padding: 15px 19px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 15px; background: var(--ink); color: white; }
.survivor-current-pick > div > strong { margin-top: 5px; display: flex; align-items: center; gap: 10px; font: 800 28px/1 "Barlow Condensed"; text-transform: uppercase; }
.survivor-current-pick img { object-fit: contain; }
.survivor-current-pick > span { color: var(--lime); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.survivor-current-pick.result-lost > span, .survivor-current-pick.result-tied > span { color: var(--orange); }
.survivor-game .pick-team.is-used { opacity: .42; cursor: not-allowed; filter: grayscale(1); }
.survivor-advance-panel { margin-top: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.survivor-advance-panel > summary { min-height: 88px; padding: 19px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; }
.survivor-advance-panel > summary::-webkit-details-marker { display: none; }
.survivor-advance-panel > summary span, .survivor-advance-panel > summary b, .survivor-advance-panel > summary small { display: block; }
.survivor-advance-panel > summary b { font: 800 28px/1 "Barlow Condensed"; text-transform: uppercase; }
.survivor-advance-panel > summary small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.survivor-advance-panel > summary > strong { padding: 9px 13px; border-radius: 999px; background: var(--ink); color: var(--lime); font-size: 9px; text-transform: uppercase; }
.survivor-advance-panel[open] > summary { border-bottom: 1px solid var(--line); }
.survivor-advance-body { padding: 20px 22px 22px; }
.survivor-advance-body > p { margin: 0 0 16px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.survivor-advance-list { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; }
.survivor-advance-row { min-height: 70px; padding: 11px 13px; display: grid; grid-template-columns: 120px minmax(0, 1fr) 60px; gap: 13px; align-items: center; border-top: 1px solid var(--line); }
.survivor-advance-row:first-child { border-top: 0; }
.survivor-advance-row > span b, .survivor-advance-row > span small { display: block; }
.survivor-advance-row > span b { font-size: 11px; }
.survivor-advance-row > span small { margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.survivor-advance-row select { width: 100%; min-width: 0; }
.survivor-advance-row > em { color: var(--success); font-size: 8px; font-style: normal; font-weight: 900; text-align: right; text-transform: uppercase; }
.survivor-advance-row.is-locked { background: #f0f1ed; opacity: .7; }
.survivor-advance-actions { margin-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.survivor-advance-actions span { color: var(--muted); font-size: 9px; }
.survivor-standings { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.survivor-standing-head, .survivor-standing-row { display: grid; grid-template-columns: 65px minmax(250px, 1fr) 90px 180px; gap: 14px; align-items: center; }
.survivor-standing-head { padding: 11px 18px; background: var(--ink); color: #91a5ac; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.survivor-standing-row { min-height: 76px; padding: 11px 18px; border-top: 1px solid #e2e6e2; }
.survivor-standing-row.is-me { background: #f3ffe1; box-shadow: inset 4px 0 0 var(--lime-dark); }
.survivor-standing-row.is-out { color: #758187; background: #f0f1ed; }
.survivor-standing-row .leader-rank { font-size: 26px; }
.survivor-weeks { color: var(--lime-dark); font: 800 33px/1 "Barlow Condensed"; }
.survivor-state { justify-self: start; padding: 7px 10px; border-radius: 999px; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.survivor-state.is-alive { background: #e7f7d0; color: #4e7819; }
.survivor-state.is-eliminated { background: #f7e5de; color: #a44327; }
.survivor-history { margin-top: 34px; }
.survivor-history-scroll { overflow-x: auto; padding-bottom: 6px; }
.survivor-history-grid { min-width: 1450px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.survivor-history-head, .survivor-history-row { display: grid; grid-template-columns: 210px repeat(18, minmax(68px, 1fr)); }
.survivor-history-head { background: var(--ink); color: #91a5ac; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.survivor-history-head span, .survivor-history-row > * { min-width: 0; padding: 9px 7px; border-left: 1px solid rgba(130, 145, 149, .18); text-align: center; }
.survivor-history-head span:first-child, .survivor-history-row > *:first-child { border-left: 0; text-align: left; }
.survivor-history-row { border-top: 1px solid var(--line); font-size: 8px; }
.survivor-history-row > strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.survivor-history-row span { min-height: 48px; display: grid; place-items: center; color: var(--muted); line-height: 1.25; overflow-wrap: anywhere; white-space: normal; }
.survivor-history-logo { width: 42px; height: 42px; object-fit: contain; }
.survivor-history-logo-fallback { width: 34px; min-height: 34px !important; border-radius: 50%; background: var(--ink); color: var(--paper) !important; font-weight: 900; }
.survivor-history-row .result-won { background: #effbdd; color: #4e7819; }
.survivor-history-row .result-lost, .survivor-history-row .result-tied { background: #f9e9e2; color: #a44327; }
.survivor-admin-pick-form { display: grid; gap: 8px; }
.survivor-admin-pick-form label { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.survivor-admin-pick-form select { width: 100%; }
.survivor-admin-pick-form small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.survivor-admin-pick-form .button { justify-self: start; margin-top: 5px; }
.survivor-admin-roster { margin-top: 18px; }
.survivor-admin-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.survivor-admin-list > div { min-height: 64px; padding: 10px 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; align-items: center; border-top: 1px solid var(--line); }
.survivor-admin-list strong, .survivor-admin-list small { display: block; }
.survivor-admin-list small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.survivor-admin-list b { color: var(--success); font-size: 9px; text-transform: uppercase; }
.survivor-admin-list .is-out { opacity: .62; }
.survivor-admin-list .is-out b { color: var(--orange); }

@media (max-width: 800px) {
  .pickem-hero { align-items: stretch; flex-direction: column; }
  .pick-progress { width: 100%; }
  .my-pick-tracker-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .my-pick-tracker-heading p { text-align: left; }
  .pickem-game { grid-template-columns: 1fr; }
  .pickem-game-time { padding: 11px 14px; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .pickem-game-time strong { margin: 0; }
  .pickem-choices { grid-template-columns: 1fr 20px 1fr; }
  .pick-team { padding: 13px 11px; }
  .pick-team-logo { width: 40px; height: 40px; flex-basis: 40px; }
  .pick-team strong { font-size: 20px; }
  .pick-team b { font-size: 28px; }
  .pick-result { min-height: 37px; padding: 8px; border-left: 0; border-top: 1px solid var(--line); }
  .pickem-tiebreaker { grid-template-columns: 1fr; }
  .pickem-save-bar { bottom: 8px; border-radius: 17px; }
  .pickem-save-bar span { display: none; }
  .pickem-save-bar .button { width: 100%; }
  .pickem-pool-picks .section-heading { align-items: flex-start; flex-direction: column; }
  .pickem-pool-picks .section-heading p { text-align: left; }
  .pool-pick-sides { grid-template-columns: 1fr; }
  .pool-pick-side + .pool-pick-side { border-top: 1px solid var(--line); border-left: 0; }
  .pickem-matrix-heading, .pickem-matrix-status { align-items: flex-start; flex-direction: column; }
  .pickem-matrix-frame { --player-column: 180px; }
  .pickem-matrix { --game-column: 82px; }
  .pickem-matrix-player { padding: 9px; }
  .pickem-matrix-player .leader-avatar { width: 34px; height: 34px; flex-basis: 34px; }
  .pickem-standing-head, .pickem-standing-row { grid-template-columns: 42px minmax(0,1fr) 65px 60px; gap: 7px; padding-left: 10px; padding-right: 10px; }
  .pickem-standing-head span:nth-child(3) { font-size: 0; }
  .pickem-standing-head span:nth-child(3)::after { content: "Pts"; font-size: 8px; }
  .pickem-standing-head span:nth-child(4) { font-size: 0; }
  .pickem-standing-head span:nth-child(4)::after { content: "Wins"; font-size: 8px; }
  .weekly-result-list > div { grid-template-columns: 25px minmax(0,1fr) auto; }
  .weekly-result-list small { grid-column: 2 / -1; }
  .pickem-admin-events article { grid-template-columns: 70px minmax(0,1fr); }
  .pickem-tb-choice { grid-column: 1 / -1; }
  .pickem-auto-rule { grid-column: 1 / -1; justify-self: start; }
  .pickem-game-rule-control { grid-column: 1 / -1; grid-template-columns: 1fr; align-items: stretch; }
  .pickem-game-rule-control select { width: 100%; }
  .pickem-roster-panel .access-list article { grid-template-columns: 1fr auto; }
  .pickem-roster-panel .member-controls { grid-column: 1 / -1; }
  .pickem-payment-list article { grid-template-columns: minmax(0,1fr) auto; }
  .pickem-payment-action { grid-column: 1 / -1; }
  .pickem-payment-remove { grid-column: 2; grid-row: 2; align-self: end; }
  .pickem-admin-card-selector { grid-template-columns: 1fr; }
  .pickem-manual-game-list article { grid-template-columns: 85px minmax(0, 1fr); }
  .pickem-manual-game-list article > :last-child { grid-column: 1 / -1; }
  .pickem-manual-tiebreaker { grid-template-columns: 1fr; }
  .survivor-status-card { width: 100%; }
  .survivor-used-teams { grid-template-columns: 1fr; }
  .survivor-standing-head, .survivor-standing-row { grid-template-columns: 42px minmax(0, 1fr) 55px 105px; gap: 7px; padding-left: 10px; padding-right: 10px; }
  .survivor-admin-list { grid-template-columns: 1fr; }
  .survivor-advance-row { grid-template-columns: 85px minmax(0, 1fr); }
  .survivor-advance-row > em { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 520px) {
  .pickem-hero h1 { font-size: 54px; }
  .my-pick-tracker { padding: 14px; }
  .my-pick-tracker-grid { grid-auto-columns: min(270px, calc(100vw - 56px)); }
  .pickem-choices { grid-template-columns: 1fr; }
  .pickem-at { min-height: 12px; }
  .pick-team { min-height: 68px; }
  .pool-picks-locked { align-items: flex-start; padding: 18px; }
  .pool-picks-locked > span { width: 43px; height: 43px; flex-basis: 43px; font-size: 19px; }
  .pickem-matrix-frame { --player-column: 164px; }
  .pickem-matrix { --game-column: 76px; }
  .pickem-matrix-corner { padding: 12px; }
  .pickem-matrix-player .leader-avatar { display: none; }
  .pickem-matrix-cell img { width: 42px; height: 42px; }
  .pickem-standing-row .leader-avatar { display: none; }
  .pickem-standing-row .leader-person { gap: 0; }
  .pickem-payment-list article { grid-template-columns: 1fr; }
  .pickem-payment-action { align-items: stretch; flex-direction: column; }
  .pickem-payment-action select, .pickem-payment-action .member-action { width: 100%; }
  .pickem-payment-remove { grid-column: 1; grid-row: auto; }
  .survivor-current-pick { align-items: flex-start; flex-direction: column; }
  .survivor-standing-row .leader-avatar { display: none; }
  .survivor-standing-row .leader-person { gap: 0; }
  .survivor-standing-head, .survivor-standing-row { grid-template-columns: 32px minmax(0, 1fr) 38px 82px; }
  .survivor-state { padding: 6px 7px; }
  .survivor-advance-panel > summary, .survivor-advance-actions { align-items: stretch; flex-direction: column; }
  .survivor-advance-panel > summary > strong { align-self: flex-start; }
  .survivor-advance-body { padding: 16px 12px; }
  .survivor-advance-row { grid-template-columns: 1fr; }
  .survivor-advance-row > em { grid-column: auto; }
  .survivor-advance-actions .button { width: 100%; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
}
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(20px, 4vw, 64px);
  background: var(--ink);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative;
  z-index: 20;
}
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lime); color: var(--ink);
  font: 800 20px/1 "Barlow Condensed", sans-serif;
  transform: rotate(-5deg);
}
.brand strong, .brand small { display: block; }
.brand strong { font: 800 22px/1 "Barlow Condensed"; text-transform: uppercase; letter-spacing: .04em; }
.brand small { color: #9eb1b9; font-size: 10px; margin-top: 3px; text-transform: uppercase; letter-spacing: .15em; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.main-nav a, .link-button { color: #dce6e9; text-decoration: none; transition: color .2s; }
.main-nav a:hover, .link-button:hover { color: var(--lime); }
.main-nav a.is-active { color: var(--lime); }
.main-nav form { margin: 0; }
.nav-divider { width: 1px; height: 24px; flex: 0 0 1px; background: #3a515a; }
.link-button { border: 0; background: none; cursor: pointer; padding: 10px 0; }
.main-nav .nav-cta, .main-nav .admin-link {
  padding: 10px 16px; border-radius: 999px;
}
.main-nav .nav-cta { background: var(--lime); color: var(--ink); }
.main-nav .admin-link { border: 1px solid #3a515a; }
.nav-toggle { display: none; color: white; background: transparent; border: 1px solid #3a515a; border-radius: 9px; padding: 8px 11px; }
.app-install-trigger { white-space: nowrap; }

.app-install-dialog {
  width: min(440px, calc(100vw - 32px));
  padding: 34px;
  border: 1px solid #40545c;
  border-radius: 22px;
  background: var(--ink);
  color: white;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}
.app-install-dialog::backdrop { background: rgba(3, 13, 18, .72); backdrop-filter: blur(4px); }
.app-install-dialog .brand-mark { margin-bottom: 22px; }
.app-install-dialog h2 { margin: 0 34px 14px 0; font-size: 34px; text-transform: uppercase; }
.app-install-dialog p { margin: 0 0 13px; color: #b9c8cd; font-size: 14px; line-height: 1.6; }
.app-install-dialog p strong { color: white; }
.app-install-dialog .button { width: 100%; margin-top: 10px; }
.app-install-close { position: absolute; top: 16px; right: 18px; border: 0; background: transparent; color: #b9c8cd; cursor: pointer; font-size: 28px; line-height: 1; }

.site-footer {
  max-width: 1440px; margin: 60px auto 0; padding: 28px clamp(20px,4vw,64px);
  display: flex; justify-content: space-between; color: var(--muted);
  border-top: 1px solid var(--line); font-size: 13px;
}
.site-footer a { color: inherit; font-weight: 700; }
.message-stack { position: fixed; top: 88px; right: 20px; width: min(380px, calc(100vw - 40px)); z-index: 50; }
.message { padding: 14px 17px; border-radius: 12px; background: white; box-shadow: var(--shadow); margin-bottom: 9px; border-left: 4px solid var(--blue); font-size: 14px; transition: opacity .2s ease, transform .2s ease; }
.message.is-dismissing { opacity: 0; transform: translateX(18px); pointer-events: none; }
.message-success { border-left-color: var(--success); }
.message-error { border-left-color: var(--orange); }

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

.page-shell { width: min(1440px, 100%); margin: 0 auto; padding: 42px clamp(16px, 4vw, 64px); }
.pool-banner {
  min-height: 188px;
  padding: 32px clamp(24px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 20%, rgba(188,255,94,.12), transparent 28%),
    linear-gradient(135deg, #07151c, #112c35);
  color: white;
}
.kicker, .eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
.kicker { color: var(--lime-dark); }
.pool-banner .kicker { color: var(--lime); }
h1, h2 { font-family: "Barlow Condensed", sans-serif; margin: 0; }
.pool-banner h1 { margin: 6px 0 8px; font-size: clamp(40px, 4.2vw, 58px); line-height: .95; text-transform: uppercase; letter-spacing: -.01em; }
.pool-banner p { margin: 0; max-width: 720px; color: #b9c8cd; font-size: 15px; line-height: 1.55; }
.pool-banner-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.button {
  min-height: 46px; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer;
}
.button-primary { background: var(--lime); color: var(--ink); }
.button-primary:hover { background: #d0ff8c; }
.button-secondary { border-color: #b9c1be; background: transparent; color: inherit; }
.pool-banner .button-secondary { border-color: #50646b; color: white; }
.button-wide { width: 100%; }
.button:disabled { opacity: .45; cursor: not-allowed; }

.week-navigation {
  display: grid;
  grid-template-columns: 48px minmax(0, 520px) 48px;
  justify-content: center;
  align-items: end;
  gap: 10px;
  margin-bottom: 16px;
}
.week-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--ink);
  color: var(--lime);
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
}
.week-arrow:hover { background: var(--ink-2); }
.week-arrow.is-disabled { opacity: .25; }
.week-picker label {
  display: block;
  margin: 0 0 5px 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.week-picker select { width: 100%; min-height: 48px; font-weight: 700; }
.board-admin-actions { display: flex; justify-content: flex-end; margin: -4px 0 12px; }
.board-admin-actions .button { min-height: 40px; padding: 9px 16px; background: var(--paper); }

.live-board { background: var(--paper); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(11,35,44,.08); }
.score-ribbon {
  display: grid; grid-template-columns: 1fr minmax(150px, .55fr) 1fr;
  min-height: 146px; background: var(--ink); color: white;
}
.team-score { min-width: 0; padding: 25px 34px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 22px; align-items: center; }
.team-score .eyebrow { color: #829aa3; grid-column: 1; }
.team-score-identity { min-width: 0; grid-column: 1; display: flex; align-items: center; gap: 14px; }
.team-score-logo { width: 58px; height: 58px; flex: 0 0 58px; object-fit: contain; }
.team-score strong { min-width: 0; font: 800 clamp(38px,4vw,56px)/.92 "Barlow Condensed"; overflow-wrap: anywhere; text-transform: uppercase; }
.team-score b { grid-column: 2; grid-row: 1 / span 2; font: 800 70px/1 "Barlow Condensed"; color: var(--lime); }
.score-ribbon.is-scheduled .team-score-identity { grid-column: 1 / -1; }
.home-score { text-align: right; }
.home-score .eyebrow, .home-score .team-score-identity { grid-column: 1; }
.home-score .team-score-identity { flex-direction: row-reverse; }
.game-state {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; border-left: 1px solid #243941; border-right: 1px solid #243941;
  color: #b3c2c7; font-size: 13px; gap: 6px;
}
.game-state strong { color: white; font-size: 15px; }
.game-state small { color: #718b94; }
.live-pulse { color: var(--orange); font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.live-pulse::before { content: ""; width: 7px; height: 7px; display: inline-block; margin-right: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,107,61,.14); }
.my-drawn-numbers { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "away square home"; align-items: center; gap: 22px; padding: 13px 26px; background: #edf1e8; border-bottom: 1px solid var(--line); }
.my-drawn-team { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 12px; }
.my-drawn-team.is-away { grid-area: away; }
.my-drawn-team.is-home { grid-area: home; }
.my-drawn-team img { width: 40px; height: 40px; flex: 0 0 40px; object-fit: contain; }
.my-drawn-square span { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.my-drawn-team strong { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: var(--lime); font: 800 36px/1 "Barlow Condensed"; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.my-drawn-square { grid-area: square; min-width: 190px; padding: 9px 20px; border-left: 1px solid #ccd4ca; border-right: 1px solid #ccd4ca; text-align: center; }
.my-drawn-square strong { display: block; margin-top: 4px; font: 800 21px/1 "Barlow Condensed"; text-transform: uppercase; }
.board-meta { display: grid; grid-template-columns: repeat(3, 1fr); background: #eef0e9; border-bottom: 1px solid var(--line); }
.board-meta > div { padding: 18px 26px; display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; border-right: 1px solid var(--line); }
.board-meta > div:last-child { border-right: 0; }
.board-meta span { color: var(--muted); text-transform: uppercase; font-size: 10px; letter-spacing: .13em; font-weight: 700; }
.board-meta strong { grid-column: 2; grid-row: 1 / span 2; font: 800 30px/1 "Barlow Condensed"; }
.board-meta small { color: var(--muted); font-size: 11px; }
.axis-label { font: 700 12px/1 "Barlow Condensed"; text-transform: uppercase; letter-spacing: .14em; }
.home-axis-label { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 22px 20px 12px 122px; }
.home-axis-label span { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.home-axis-label strong { font-size: 30px; font-weight: 800; letter-spacing: .06em; }
.numbers-pending { margin: 22px 26px 0; padding: 16px 20px; border-radius: 14px; display: flex; align-items: center; gap: 14px; background: #eef1e9; }
.numbers-pending .pending-icon { width: 38px; height: 38px; display: grid; place-items: center; background: var(--ink); color: var(--lime); border-radius: 50%; font-size: 21px; }
.numbers-pending strong, .numbers-pending span { display: block; }
.numbers-pending div span { color: var(--muted); font-size: 12px; margin-top: 3px; }
.final-board-fill-note { margin: 18px 26px 0; padding: 14px 18px; border: 1px solid #b9d89a; border-radius: 14px; display: flex; align-items: center; gap: 13px; background: #edfadf; }
.final-board-fill-note .pending-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); font-weight: 900; }
.final-board-fill-note strong, .final-board-fill-note span { display: block; }
.final-board-fill-note div span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.board-layout { display: grid; grid-template-columns: 78px minmax(0, 1fr); padding: 0 26px 26px; }
.away-axis-title {
  writing-mode: vertical-rl; transform: rotate(180deg);
  display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  font: 800 30px/1 "Barlow Condensed"; text-transform: uppercase; letter-spacing: .06em;
}
.away-axis-title span { color: var(--muted); font-size: 11px; }
.away-axis-title strong { font-weight: 800; }
.board-scroll { overflow-x: auto; overscroll-behavior-inline: contain; padding: 0 0 8px; }
.squares-grid {
  min-width: 1160px; display: grid; grid-template-columns: 48px repeat(10, minmax(108px, 1fr));
  gap: 3px; background: #c9d0cd; padding: 3px; border-radius: 10px;
}
.axis-number, .axis-corner { min-height: 48px; display: grid; place-items: center; background: var(--ink); color: var(--lime); font: 800 24px/1 "Barlow Condensed"; }
.axis-corner { color: #789099; font-size: 12px; }
.away-axis-number { min-height: 92px; }
.axis-hidden { color: #4e626a; }
.square-cell {
  min-height: 92px; padding: 10px 11px; background: #f8faf5;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr) auto;
  gap: 5px 7px; position: relative; transition: transform .15s, background .15s;
  border: 0; color: inherit; text-align: left; width: 100%;
}
.cell-claim { display: contents; }
.cell-claim .square-cell { cursor: pointer; font-family: inherit; }
.square-cell:hover { z-index: 2; transform: scale(1.03); box-shadow: 0 5px 20px rgba(4,20,26,.16); }
.square-cell strong { align-self: center; font-size: 14px; line-height: 1.06; overflow-wrap: anywhere; word-break: normal; }
.square-cell .square-player-name { min-width: 0; width: 100%; display: grid; gap: 1px; font-family: "Barlow Condensed", sans-serif; font-size: 14px; overflow: hidden; }
.square-player-name span { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.square-cell small { grid-column: 2; grid-row: 2; color: #7a8589; font-size: 10px; font-weight: 700; }
.pay-dot { grid-column: 1; grid-row: 2; font-size: 9px; color: var(--warning); font-weight: 700; text-transform: uppercase; }
.square-cell.is-paid { background: #edf9ed; }
.square-cell.is-paid .pay-dot { color: var(--success); }
.square-cell.is-bonus { box-shadow: inset 0 0 0 3px #56b9d4; }
.square-cell.is-open { background: #f1f0eb; color: #9ba29f; }
.square-cell.is-open:not(.is-selectable) { color: #aeb5b2; }
.square-cell.is-locked-open { background: #f0f2ed; color: #7c8885; box-shadow: inset 0 0 0 1px #c7cfca; }
.square-cell.is-selectable strong { font-size: 16px; color: #768286; }
.square-cell.is-current { background: var(--lime); color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); }
.square-cell.is-current::after { content: "ON"; position: absolute; right: 4px; top: 4px; padding: 2px 4px; border-radius: 4px; background: var(--ink); color: var(--lime); font-size: 7px; font-weight: 800; }
.board-legend { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; padding: 0 28px 24px 84px; font-size: 11px; color: var(--muted); }
.board-legend span { display: inline-flex; align-items: center; gap: 6px; }
.board-legend i { width: 10px; height: 10px; border-radius: 3px; }
.legend-current { background: var(--lime); box-shadow: inset 0 0 0 2px var(--ink); }
.legend-paid { background: #d9efd9; }
.legend-due { background: #f8faf5; border: 1px solid #ccd2ce; }
.legend-unclaimed { background: #e5e8e4; border: 1px solid #c1cac5; }
.legend-bonus { background: #dff7ff; border: 1px solid #56b9d4; box-shadow: inset 0 0 0 2px #56b9d4; }
.board-legend .estimate-note { margin-left: auto; font-size: 10px; }
.chance-strip { background: #132932; color: #a9bbc1; padding: 16px 26px; display: flex; gap: 18px; align-items: center; overflow-x: auto; font-size: 11px; white-space: nowrap; }
.chance-strip .eyebrow { color: var(--lime); }
.chance-strip strong { color: white; }

.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.page-heading h1 { font-size: clamp(48px, 7vw, 76px); text-transform: uppercase; line-height: .95; }
.my-square-badge { background: var(--ink); color: white; padding: 16px 22px; border-radius: 16px; min-width: 190px; display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; }
.my-square-badge span { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #92a7ae; }
.my-square-badge strong { grid-column: 2; grid-row: 1 / span 2; font: 800 42px/1 "Barlow Condensed"; color: var(--lime); }
.my-square-badge small { font-size: 11px; }
.text-success { color: #80e3a8; } .text-warning { color: #ffb276; }
.claim-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; padding: 28px; background: var(--paper); border-radius: var(--radius); margin-bottom: 28px; box-shadow: var(--shadow); }
.claim-panel h2 { font-size: 36px; text-transform: uppercase; margin: 5px 0; }
.claim-panel p { color: var(--muted); line-height: 1.55; margin: 0; }
.inline-form { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }
.inline-form p { margin: 0; }
.inline-form label, .micro-form label { display: block; font-size: 11px; color: var(--muted); font-weight: 700; margin-bottom: 5px; }
input, select {
  min-height: 45px; border: 1px solid #c8ceca; background: white; border-radius: 10px; padding: 9px 12px; color: var(--ink);
}
select {
  min-height: 48px;
  padding: 11px 44px 11px 14px;
  border-color: #b8c1bd;
  border-radius: 12px;
  background-color: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4.5 6.75 9 11.25l4.5-4.5' stroke='%2309151c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 18px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  color-scheme: light;
  -webkit-appearance: none;
  appearance: none;
}
select:hover:not(:disabled) { border-color: #7f8e88; background-color: #fffefa; }
input:focus, select:focus { outline: 3px solid rgba(121,213,255,.35); border-color: #54afd6; }
select:focus-visible { outline-offset: 1px; }
select:disabled {
  border-color: #d4d9d5;
  background-color: #ecefe9;
  color: #778287;
  cursor: not-allowed;
  opacity: 1;
}
select option { background: white; color: var(--ink); font-weight: 600; }
.inline-form input[type="number"] { width: 110px; }
.change-square { margin: -12px 0 26px; font-size: 13px; }
.change-square summary { cursor: pointer; color: var(--muted); margin-bottom: 12px; }

.square-picker-shell { max-width: 1240px; }
.square-picker-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 24px;
}
.square-picker-heading h1 {
  max-width: 780px;
  margin: 7px 0 9px;
  font-size: clamp(52px, 7vw, 80px);
  line-height: .9;
  text-transform: uppercase;
}
.square-picker-heading p { max-width: 690px; margin: 0; color: var(--muted); line-height: 1.55; }
.chosen-square-card {
  min-width: 210px;
  padding: 19px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
}
.chosen-square-card span { color: #91a6ae; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.chosen-square-card strong { grid-column: 2; grid-row: 1 / span 2; color: var(--lime); font: 800 48px/1 "Barlow Condensed"; }
.chosen-square-card small { font-size: 10px; color: #c0ced2; }
.my-payment-summary {
  display: grid;
  grid-template-columns: minmax(240px,.8fr) minmax(0,1.7fr);
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid #d5dbd6;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(6,20,27,.07);
}
.my-payment-summary > header { padding: 18px 20px; background: var(--ink); color: white; }
.my-payment-summary > header .eyebrow { color: var(--lime); }
.my-payment-summary h2 { margin: 4px 0; font-size: 30px; text-transform: uppercase; }
.my-payment-summary p { margin: 0; color: #aebfc4; font-size: 10px; line-height: 1.45; }
.my-payment-state { margin-top: 12px; padding: 6px 9px; display: inline-flex; border-radius: 999px; font-size: 8px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.my-payment-state.is-paid { background: #dff5d8; color: #3f721f; }
.my-payment-state.is-due { background: #ffe7dc; color: #a44327; }
.my-payment-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.my-payment-metrics > div { min-width: 0; padding: 20px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); }
.my-payment-metrics span, .my-payment-metrics small { display: block; color: var(--muted); }
.my-payment-metrics span { font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.my-payment-metrics strong { display: block; margin: 5px 0 3px; font: 800 31px/1 "Barlow Condensed"; white-space: nowrap; }
.my-payment-metrics small { font-size: 8px; line-height: 1.35; }
.square-selection-summary {
  display: grid;
  grid-template-columns: .7fr .7fr 1.6fr;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #ecefe9;
}
.square-selection-summary > div { padding: 15px 20px; border-right: 1px solid var(--line); }
.square-selection-summary > div:last-child { border-right: 0; }
.square-selection-summary span { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.square-selection-summary strong { display: block; margin-top: 4px; font: 800 28px/1 "Barlow Condensed"; text-transform: uppercase; }
.square-selection-summary small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.season-square-picker {
  padding: 24px;
  overflow: hidden;
  border: 1px solid #dce1dd;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.square-picker-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 15px; }
.square-picker-toolbar h2 { margin-top: 4px; font-size: 34px; text-transform: uppercase; }
.selection-legend { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 10px; }
.selection-legend span { display: inline-flex; align-items: center; gap: 6px; }
.selection-legend i { width: 11px; height: 11px; border-radius: 3px; }
.selection-open { background: var(--lime); border: 1px solid var(--lime-dark); }
.selection-unclaimed-locked { background: #e5e8e4; border: 1px solid #c1cac5; }
.selection-taken { background: #dfeaec; border: 1px solid #9fb5bb; }
.selection-mine { background: var(--ink); box-shadow: inset 0 0 0 2px var(--lime); }
.selection-help,
.selection-locked-note {
  margin-bottom: 14px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}
.selection-help { background: #e9f8d6; color: #486c18; }
.selection-locked-note { background: #f3e8df; color: #8b4b25; }
.season-square-scroll { overflow-x: auto; overscroll-behavior-inline: contain; padding-bottom: 8px; }
.season-square-grid {
  min-width: 960px;
  display: grid;
  grid-template-columns: repeat(10, minmax(90px, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #cbd2ce;
}
.season-square-form { display: contents; }
.season-square-cell {
  min-height: 88px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  background: #f0f2ed;
  color: var(--ink);
  text-align: left;
}
button.season-square-cell { width: 100%; cursor: pointer; font-family: inherit; transition: background .15s, transform .15s; }
button.season-square-cell:hover,
button.season-square-cell:focus-visible { z-index: 2; background: var(--lime); transform: scale(1.035); outline: 3px solid var(--ink); }
.season-square-cell strong { font: 800 20px/1 "Barlow Condensed"; }
.season-square-cell span { width: 100%; font-size: 11px; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.season-square-cell.is-available { background: #f5ffe8; color: #4c7218; }
.season-square-cell.is-taken { background: #dfeaec; color: #526970; box-shadow: inset 0 0 0 1px #aec0c5; }
.season-square-cell.is-mine { background: var(--ink); color: white; box-shadow: inset 0 0 0 3px var(--lime); }
.season-square-cell.is-mine strong { color: var(--lime); }
.season-square-cell.is-unavailable { background: #f0f2ed; color: #7c8885; box-shadow: inset 0 0 0 1px #c7cfca; }
.swipe-note { display: none; margin: 7px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

.my-season-numbers { margin-top: 34px; }
.season-numbers-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 16px; }
.season-numbers-heading h2 { margin: 4px 0 5px; font-size: 40px; text-transform: uppercase; }
.season-numbers-heading p { max-width: 700px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.season-square-reminder { padding: 11px 15px; border-radius: 12px; background: var(--ink); color: #9db0b7; font-size: 10px; font-weight: 700; white-space: nowrap; }
.season-square-reminder strong { margin-left: 6px; color: var(--lime); font: 800 24px/1 "Barlow Condensed"; }
.season-game-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.season-game-card { padding: 20px; overflow: hidden; border: 1px solid #dce1dd; border-radius: var(--radius); background: var(--paper); }
.season-game-card.is-final { border-color: #b8d393; }
.season-game-card.is-user-winner { box-shadow: inset 5px 0 0 var(--lime-dark); }
.season-game-topline { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.season-game-topline strong { color: var(--success); font-size: 9px; }
.season-game-matchup { margin: 10px 0 15px; }
.season-game-matchup h3 { margin: 0 0 3px; font: 800 28px/1 "Barlow Condensed"; text-transform: uppercase; }
.season-game-matchup h3 em { color: #9aa5a1; font-size: 16px; font-style: normal; }
.season-game-matchup > span { color: var(--muted); font-size: 9px; }
.draw-pending-card { padding: 14px; border-radius: 12px; background: #edf0e9; }
.draw-pending-card span, .draw-pending-card strong, .draw-pending-card small { display: block; }
.draw-pending-card span { color: var(--warning); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.draw-pending-card strong { margin-top: 5px; font-size: 13px; }
.draw-pending-card small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.my-number-pair { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid #d5dad5; border-radius: 13px; }
.my-number-pair > div { min-height: 82px; padding: 13px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
.my-number-pair > div + div { border-left: 1px solid #d5dad5; }
.my-number-pair span { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.my-number-pair strong { color: var(--ink); font: 800 44px/1 "Barlow Condensed"; }
.my-week-square-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.my-week-square-entry { min-width: 0; scroll-snap-align: start; }
.my-week-square-entry.is-bonus .my-number-pair { border-color: #56b9d4; box-shadow: inset 0 0 0 1px #56b9d4; }
.my-week-square-label { display: block; margin: 0 0 5px 2px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.my-week-square-entry.is-bonus .my-week-square-label { color: #267d97; }
.choose-square-numbers { padding: 15px; border-radius: 12px; background: #edf0e9; color: var(--muted); font-size: 11px; }
.week-winner-result { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-top: 13px; padding-top: 13px; border-top: 1px solid #dce1dd; }
.week-winner-result span, .week-winner-result strong, .week-winner-result small { display: block; }
.week-winner-result span { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.week-winner-result strong { margin-top: 4px; font-size: 12px; }
.week-winner-result small { margin-top: 3px; color: var(--success); font-size: 9px; font-weight: 800; }
.winning-number-pair { min-width: 120px; text-align: right; }
.winning-number-pair strong { color: var(--lime-dark); font: 800 22px/1 "Barlow Condensed"; }
.winning-number-pair small { color: var(--muted); font-weight: 600; }
.season-game-card.is-unselected { min-height: 150px; display: flex; flex-direction: column; background: #edeee9; border-style: dashed; box-shadow: none; }
.game-not-selected { margin: auto 0; }
.game-not-selected strong, .game-not-selected span { display: block; }
.game-not-selected strong { font-size: 12px; }
.game-not-selected span { max-width: 440px; margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }

.leaderboard-shell { max-width: 1180px; }
.leaderboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 24px;
}
.leaderboard-heading h1 {
  margin: 7px 0 8px;
  font-size: clamp(52px, 7vw, 82px);
  line-height: .9;
  text-transform: uppercase;
}
.leaderboard-heading p { max-width: 620px; margin: 0; color: var(--muted); line-height: 1.55; }
.leaderboard-total {
  min-width: 230px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
}
.leaderboard-total span { display: block; color: #91a6ae; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.leaderboard-total strong { display: block; margin-top: 7px; color: var(--lime); font: 800 45px/1 "Barlow Condensed"; }
.leaderboard-stats {
  display: grid;
  grid-template-columns: .7fr .9fr 1.5fr;
  margin-bottom: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #ecefe9;
  overflow: hidden;
}
.leaderboard-stats > div { padding: 15px 20px; border-right: 1px solid var(--line); }
.leaderboard-stats > div:last-child { border-right: 0; }
.leaderboard-stats span { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.leaderboard-stats strong { display: block; margin-top: 5px; font: 800 23px/1 "Barlow Condensed"; text-transform: uppercase; }
.leaderboard-panel {
  overflow: hidden;
  border: 1px solid #dce1dd;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.leaderboard-table-head,
.leaderboard-row {
  display: grid;
  grid-template-columns: 58px minmax(220px, 1fr) 90px 80px 130px;
  gap: 14px;
  align-items: center;
}
.leaderboard-table-head {
  padding: 12px 22px;
  background: var(--ink);
  color: #91a6ae;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.leaderboard-table-head span:last-child { text-align: right; }
.leaderboard-row {
  min-height: 76px;
  padding: 13px 22px;
  border-top: 1px solid #e3e7e3;
}
.leaderboard-row:first-child { border-top: 0; }
.leaderboard-row.is-me { background: #f1f9e7; box-shadow: inset 4px 0 0 var(--lime-dark); }
.leader-rank { color: #829094; font: 800 25px/1 "Barlow Condensed"; }
.leader-person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.leader-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: var(--lime);
  font-weight: 800;
  text-transform: uppercase;
}
.leader-person strong, .leader-person small { display: block; }
.leader-person strong { overflow-wrap: anywhere; font-size: 14px; }
.leader-person strong em { margin-left: 7px; color: var(--lime-dark); font-size: 9px; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.leader-person small { display: none; margin-top: 3px; color: var(--muted); font-size: 10px; }
.leader-square { font: 800 20px/1 "Barlow Condensed"; }
.leader-wins { font-weight: 700; }
.leader-money { text-align: right; font: 800 25px/1 "Barlow Condensed"; }
.winner-history { margin-top: 28px; }
.section-heading h2 { margin-top: 4px; font-size: 36px; text-transform: uppercase; }
.winner-history-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-top: 14px; }
.winner-history-list article { position: relative; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.winner-history-list span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.winner-history-list strong, .winner-history-list small { display: block; padding-right: 70px; }
.winner-history-list strong { margin-top: 7px; font-size: 14px; }
.winner-history-list small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.winner-history-list b { position: absolute; top: 18px; right: 18px; color: var(--success); font: 800 22px/1 "Barlow Condensed"; }

.profile-settings-shell {
  min-height: calc(100vh - 76px);
  padding: clamp(28px, 6vw, 80px) 18px;
  display: grid;
  place-items: start center;
  background:
    radial-gradient(circle at 85% 10%, rgba(188,255,94,.11), transparent 30%),
    var(--ink);
}
.profile-settings-layout { width: min(880px, 100%); display: grid; gap: 24px; }
.profile-settings-card {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(0,0,0,.25);
}
.profile-settings-intro { padding: clamp(34px, 5vw, 58px); background: #eef1e9; }
.profile-settings-intro h1 { margin: 8px 0 14px; font-size: clamp(52px, 6vw, 72px); line-height: .9; text-transform: uppercase; }
.profile-settings-intro > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.profile-email { margin-top: 28px; padding-top: 18px; border-top: 1px solid #d5dad5; }
.profile-email span { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.profile-email strong { display: block; margin-top: 5px; overflow-wrap: anywhere; font-size: 13px; }
.profile-password-action { margin-top: 22px; padding-top: 18px; border-top: 1px solid #d5dad5; }
.profile-password-action > span { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.profile-password-action strong { display: block; margin: 5px 0 11px; font-size: 12px; line-height: 1.45; }
.profile-password-action a, .profile-back-link { color: #395d6b; font-size: 10px; font-weight: 800; text-decoration: none; }
.profile-password-action a:hover, .profile-back-link:hover { color: var(--lime-dark); }
.profile-back-link { display: inline-block; margin-top: 26px; }
.profile-settings-form { padding: clamp(34px, 5vw, 58px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.profile-settings-form label { display: block; margin-bottom: 6px; color: #526269; font-size: 11px; font-weight: 800; }
.profile-settings-form input { width: 100%; }
.profile-settings-form .errorlist { margin: 5px 0 0; padding-left: 18px; color: #b5442c; font-size: 10px; }
.profile-settings-form .button { align-self: flex-start; min-width: 160px; margin-top: 4px; }
.notification-settings-card .profile-settings-intro h2 { margin: 8px 0 14px; font-size: clamp(46px, 5vw, 62px); line-height: .9; text-transform: uppercase; }
.push-device-summary { margin-top: 28px; padding-top: 18px; border-top: 1px solid #d5dad5; }
.push-device-summary span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.push-device-summary strong { display: block; margin-top: 4px; color: #395d6b; font: 800 38px/1 "Barlow Condensed"; }
.notification-settings-panel { padding: clamp(34px, 5vw, 58px); display: grid; align-content: center; gap: 26px; }
.notification-preference-form { display: grid; gap: 14px; }
.notification-preference-form fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.notification-preference-form legend { margin-bottom: 10px; color: #526269; font-size: 11px; font-weight: 800; }
.notification-choice { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: white; cursor: pointer; font-size: 12px; font-weight: 700; }
.notification-choice input { width: 38px; height: 22px; flex: 0 0 auto; order: 2; accent-color: var(--lime-dark); cursor: pointer; }
.notification-preference-form .errorlist { margin: 0; padding-left: 18px; color: #b5442c; font-size: 10px; }
.notification-preference-form .button { justify-self: start; }
.push-device-controls { padding-top: 23px; border-top: 1px solid var(--line); }
.push-device-label { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.push-device-controls strong { display: block; margin-top: 5px; font-size: 14px; }
.push-device-controls p { margin: 6px 0 14px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.push-device-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.push-device-actions .button { min-height: 42px; padding: 10px 16px; }
.password-settings-card { width: min(960px, 100%); }
.password-settings-form { justify-content: flex-start; }
.password-help { margin-top: 7px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.password-help ul { margin: 5px 0 0; padding-left: 17px; }

.pool-setup-shell {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, .8fr);
  background: var(--ink);
}
.pool-setup-intro { padding: clamp(50px, 8vw, 110px); display: flex; flex-direction: column; justify-content: center; color: white; background: radial-gradient(circle at 22% 15%, rgba(188,255,94,.13), transparent 32%); }
.pool-setup-intro h1 { max-width: 700px; margin: 10px 0 20px; font-size: clamp(62px, 8vw, 104px); line-height: .86; text-transform: uppercase; }
.pool-setup-intro > p { max-width: 650px; margin: 0; color: #aebfc4; line-height: 1.7; }
.pool-setup-intro ol { margin: 32px 0 0; padding: 0; display: grid; gap: 13px; list-style: none; counter-reset: setup; }
.pool-setup-intro li { counter-increment: setup; display: flex; align-items: center; gap: 12px; color: #c2d0d4; font-size: 13px; }
.pool-setup-intro li::before { content: counter(setup); width: 31px; height: 31px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #4b626b; border-radius: 50%; color: var(--lime); font-weight: 800; }
.pool-setup-card { padding: clamp(42px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; background: var(--paper); }
.pool-setup-card h2 { margin: 5px 0 24px; font-size: 46px; text-transform: uppercase; }
.pool-setup-form p { margin: 0 0 13px; }
.pool-setup-form label { display: block; margin-bottom: 5px; color: #526269; font-size: 10px; font-weight: 800; }
.pool-setup-form input { width: 100%; }
.pool-setup-form #id_billing_plan { display: grid; gap: 7px; }
.pool-setup-form #id_billing_plan > div label { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px; align-items: center; padding: 10px 11px; border: 1px solid var(--line); border-radius: 10px; background: white; cursor: pointer; line-height: 1.35; }
.pool-setup-form #id_billing_plan input { width: auto; margin: 0; accent-color: var(--lime-dark); }
.pool-setup-form #id_billing_plan input:checked + * { font-weight: 800; }
.pool-setup-form #id_billing_plan:has(input:disabled) { opacity: .68; }
.pool-setup-form .helptext { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.pool-setup-form .errorlist { margin: 5px 0; padding-left: 17px; color: #b5442c; font-size: 10px; }
.site-ad-google { grid-template-columns: auto minmax(0, 1fr); }
.adsense-unit { min-width: 0; min-height: 90px; }
.legal-shell { max-width: 900px; }
.legal-copy { padding: clamp(24px, 5vw, 48px); }
.legal-copy h2 { margin: 26px 0 7px; font-size: 30px; text-transform: uppercase; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.legal-copy a { color: #3e7487; font-weight: 700; }

.auth-shell { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); }
.auth-card { background: var(--paper); padding: clamp(50px, 8vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.auth-card h1 { font-size: clamp(50px, 6vw, 78px); line-height: .9; text-transform: uppercase; margin: 10px 0 18px; }
.auth-card > p { color: var(--muted); line-height: 1.6; }
.auth-card .auth-switch { margin: 16px 0 0; font-size: 12px; }
.auth-switch a { color: #4f741d; font-weight: 800; }
.stack-form p { margin: 0 0 16px; }
.stack-form label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: #526269; }
.stack-form input { width: 100%; }
.stack-form .helptext { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; }
.stack-form ul.errorlist { color: #b5442c; font-size: 12px; padding-left: 18px; }
.form-assist { display: flex; justify-content: flex-end; margin: -6px 0 18px; font-size: 12px; font-weight: 700; }
.form-assist a { color: #3e7487; }
.google-button { width: 100%; min-height: 50px; display: flex; justify-content: center; align-items: center; gap: 12px; border: 1px solid #c9cfcc; border-radius: 12px; text-decoration: none; font-weight: 700; margin: 8px 0; background: white; }
.google-button span { font-size: 20px; color: #4285f4; font-weight: 800; }
.or-divider { display: flex; align-items: center; gap: 12px; color: #849094; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; margin: 20px 0; }
.or-divider::before, .or-divider::after { content: ""; height: 1px; flex: 1; background: #d7dcd9; }
.auth-foot { font-size: 13px; text-align: center; margin-top: 18px; }
.auth-aside { color: white; padding: clamp(40px, 8vw, 110px); display: flex; justify-content: center; flex-direction: column; background: radial-gradient(circle at 75% 20%, rgba(188,255,94,.15), transparent 35%); }
.auth-aside > span { color: var(--lime); font-size: 11px; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; }
.auth-aside h2 { font-size: clamp(42px, 5vw, 70px); line-height: .95; text-transform: uppercase; margin: 12px 0 24px; max-width: 640px; }
.auth-aside p { color: #a7bac1; max-width: 500px; line-height: 1.7; }
.invite-aside ol { margin: 20px 0; padding: 0; list-style: none; counter-reset: steps; }
.invite-aside li { counter-increment: steps; color: #b4c4c9; margin: 20px 0; display: flex; align-items: center; gap: 16px; }
.invite-aside li::before { content: counter(steps); width: 38px; height: 38px; border: 1px solid #496069; border-radius: 50%; display: grid; place-items: center; color: var(--lime); font-weight: 800; }
.status-page { min-height: calc(100vh - 76px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 60px 24px; background: var(--ink); color: white; }
.status-orbit { width: 100px; height: 100px; border: 1px solid #486069; border-radius: 50%; display: grid; place-items: center; margin-bottom: 26px; box-shadow: 0 0 0 18px rgba(188,255,94,.03), 0 0 0 36px rgba(188,255,94,.02); }
.status-orbit span { width: 50px; height: 50px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 24px; }
.status-page h1 { font-size: clamp(48px, 7vw, 84px); line-height: .93; text-transform: uppercase; margin: 15px 0; }
.status-page p { color: #a5b7bd; max-width: 550px; line-height: 1.7; margin-bottom: 30px; }
.status-page .button { color: white; border-color: #52666e; }

.manage-shell { max-width: 1320px; }
.week-chip { background: var(--ink); color: white; border-radius: 999px; padding: 11px 18px; font-size: 12px; font-weight: 700; }
.page-heading-copy { max-width: 650px; margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
.manage-nav { display: flex; gap: 5px; border-bottom: 1px solid #ccd2cf; margin-bottom: 28px; overflow-x: auto; }
.manage-nav a { padding: 14px 16px 13px; text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; border-bottom: 3px solid transparent; }
.manage-nav a.active { color: var(--ink); border-bottom-color: var(--lime-dark); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.metric-card { min-height: 170px; padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid #dde1dd; display: flex; flex-direction: column; }
.metric-card > span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.metric-card > strong { font: 800 58px/1 "Barlow Condensed"; margin: 18px 0 8px; }
.metric-card > strong small { color: #8c999d; font-size: 25px; }
.metric-card > small { color: var(--muted); font-size: 11px; }
.metric-card > a { margin-top: auto; color: #337891; font-size: 11px; font-weight: 700; }
.metric-card.metric-accent { background: var(--ink); color: white; }
.metric-accent > span { color: #91a6ae; }
.metric-accent > strong { color: var(--lime); }
.metric-card .metric-date { font-size: 32px; margin-top: 30px; }
.progress { height: 5px; background: #284049; border-radius: 5px; margin-top: auto; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--lime); }
.manage-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.manage-columns.lower { margin-top: 18px; }
.panel { min-width: 0; background: var(--paper); border: 1px solid #dfe2df; border-radius: var(--radius); padding: 24px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.panel-heading .eyebrow { color: var(--muted); font-size: 9px; }
.panel-heading h2 { font-size: 30px; text-transform: uppercase; margin-top: 3px; }
.count-badge { min-width: 34px; height: 34px; padding: 0 10px; display: grid; place-items: center; border-radius: 999px; background: #ffe5dc; color: #b94320; font-weight: 800; }
.unpaid-list > div { display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: center; padding: 12px 0; border-top: 1px solid #e7e9e6; }
.unpaid-list > div:first-child { border-top: 0; }
.person-avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #d9f0fa; color: #27657c; font-weight: 800; text-transform: uppercase; }
.person-avatar.alt { background: #e4f6c9; color: #527a19; }
.unpaid-list strong, .unpaid-list small { display: block; }
.unpaid-list strong { font-size: 13px; }
.unpaid-list small { color: var(--muted); font-size: 10px; margin-top: 2px; }
.quick-pay { min-height: 36px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid #c7ceca; background: white; padding: 7px 12px; cursor: pointer; color: inherit; font-size: 10px; font-weight: 800; text-decoration: none; }
.quick-pay:hover { background: var(--lime); border-color: var(--lime-dark); }
.list-empty { color: var(--muted); font-size: 13px; padding: 24px 0 !important; display: block !important; }
.settings-form p { margin: 0 0 13px; }
.settings-form label { font-size: 11px; color: var(--muted); font-weight: 700; display: block; margin-bottom: 5px; }
.settings-form input:not([type="checkbox"]), .settings-form select { width: 100%; }
.settings-form input[type="checkbox"] { min-height: auto; margin-right: 6px; }
.settings-form .helptext { color: var(--muted); font-size: 9px; display: block; }
.field-help { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.activity-list > div { display: grid; grid-template-columns: auto 1fr; gap: 12px; border-top: 1px solid #e7e9e6; padding: 12px 0; }
.activity-list > div:first-child { border-top: 0; }
.activity-list i { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--lime-dark); }
.activity-list strong, .activity-list small { display: block; font-size: 11px; }
.activity-list small { color: var(--muted); margin-top: 3px; }
.audit-history-panel { max-width: 980px; margin: 0 auto; }
.audit-history-list article { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid #e1e5e1; }
.audit-history-list article:first-child { border-top: 0; }
.audit-history-list article > i { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--lime-dark); }
.audit-history-list strong, .audit-history-list small { display: block; }
.audit-history-list strong { font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.audit-history-list small { margin-top: 6px; color: var(--muted); font-size: 11px; }
.audit-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid #e1e5e1; }
.audit-pagination a:first-child { justify-self: start; }
.audit-pagination a:last-child { justify-self: end; }
.audit-pagination span { grid-column: 2; color: var(--muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.people-list { background: var(--paper); border: 1px solid #dce1dd; border-radius: var(--radius); overflow: hidden; }
.people-header, .person-row { display: grid; grid-template-columns: 1.5fr .7fr .7fr .6fr; align-items: center; gap: 18px; }
.people-header { padding: 12px 20px; background: #e9ece6; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 9px; font-weight: 700; }
.person-row { padding: 15px 20px; border-top: 1px solid #e1e5e1; }
.person-main { display: flex; align-items: center; gap: 11px; min-width: 0; }
.person-main strong, .person-main small { display: block; overflow: hidden; text-overflow: ellipsis; }
.person-main strong { font-size: 13px; }
.person-main small { color: var(--muted); font-size: 10px; }
.square-pill { display: inline-flex; padding: 7px 11px; border-radius: 9px; background: var(--ink); color: var(--lime); font: 800 18px/1 "Barlow Condensed"; }
.micro-form { display: flex; gap: 6px; align-items: end; }
.micro-form input { min-height: 36px; width: 65px; padding: 6px 8px; }
.micro-form button, .text-action { min-height: 36px; border: 0; border-radius: 8px; background: var(--ink); color: white; padding: 7px 10px; cursor: pointer; font-size: 10px; font-weight: 700; }
.payment-toggle { min-height: 38px; min-width: 100px; border: 1px solid; border-radius: 999px; padding: 7px 12px; background: white; font-size: 10px; font-weight: 800; cursor: pointer; }
.payment-toggle i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; margin-right: 5px; }
.payment-toggle.paid { color: var(--success); border-color: #a7d6ba; }
.payment-toggle.paid i { background: var(--success); }
.payment-toggle.due { color: var(--warning); border-color: #e6c4a9; }
.payment-toggle.due i { background: var(--warning); }
.status-tag { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: #edf3ee; color: var(--success); font-size: 9px; text-transform: uppercase; font-weight: 800; }
.muted { color: var(--muted); font-size: 11px; }
.payment-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.payment-metrics article { padding: 18px 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.payment-metrics span { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.payment-metrics strong { display: block; margin-top: 6px; font: 800 36px/1 "Barlow Condensed"; }
.payment-entry-panel {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.8fr);
  gap: 28px;
  margin-bottom: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
}
.payment-entry-copy h2 { margin: 5px 0 9px; font-size: 36px; text-transform: uppercase; }
.payment-entry-copy p { margin: 0; color: #aebfc4; font-size: 12px; line-height: 1.55; }
.payment-entry-copy .eyebrow { color: var(--lime); }
.payment-entry-form { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 13px; align-items: end; }
.payment-entry-form.payment-entry-simple { grid-template-columns: minmax(210px, 1.4fr) minmax(120px, .55fr) minmax(135px, .7fr) minmax(130px, .7fr) auto; }
.payment-entry-form.payment-entry-simple.has-first-week { grid-template-columns: minmax(240px, 1.45fr) minmax(155px, .65fr) minmax(220px, 1fr) minmax(180px, .8fr); align-items: start; }
.payment-entry-simple.has-first-week .payment-form-field label { min-height: 27px; display: flex; align-items: flex-end; }
.payment-entry-simple.has-first-week .first-week-field select { padding-right: 44px; }
.payment-entry-simple.has-first-week .payment-calculation { grid-column: 1 / 4; }
.payment-entry-simple.has-first-week .payment-save { grid-column: 4; padding-left: 24px; padding-right: 24px; white-space: nowrap; }
.payment-form-field label { display: block; margin-bottom: 5px; color: #aebfc4; font-size: 10px; font-weight: 800; }
.payment-form-field { min-width: 0; }
.payment-form-field input, .payment-form-field select { width: 100%; min-width: 0; max-width: 100%; }
.payment-entry-simple .payment-form-field input,
.payment-entry-simple .payment-form-field select,
.payment-entry-simple .payment-calculation,
.payment-entry-simple .payment-save { height: 60px; min-height: 60px; }
.payment-form-field small { display: block; min-height: 12px; margin-top: 3px; color: #789099; font-size: 8px; }
.payment-form-field .errorlist,
.payment-entry-form > .errorlist { margin: 5px 0 0; padding-left: 16px; color: #ffb694; font-size: 10px; }
.note-field { grid-column: span 2; }
.payment-calculation { min-height: 45px; padding: 7px 12px; border: 1px solid #3b525b; border-radius: 10px; background: #10262e; }
.payment-calculation span { display: block; color: #8fa4ac; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.payment-calculation strong { display: block; margin-top: 2px; color: var(--lime); font: 800 20px/1 "Barlow Condensed"; }
.payment-calculation small { display: block; margin-top: 2px; color: #789099; font-size: 8px; }
.payment-save { min-height: 45px; }
.season-ledger-panel { margin-bottom: 18px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.payment-panel-heading { align-items: end; }
.payment-panel-heading h2 { margin-top: 4px; }
.payment-panel-heading p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.method-key { display: flex; gap: 11px; flex-wrap: wrap; color: var(--muted); font-size: 9px; }
.method-key span { display: inline-flex; align-items: center; gap: 4px; }
.method-key i, .receipt-method { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; font-style: normal; font-weight: 800; }
.method-cash { background: #dff2de; color: #2d7949; }
.method-check { background: #e7e4f8; color: #6653a8; }
.method-venmo { background: #dceeff; color: #2676a8; }
.method-other, .method-recorded { background: #eceeea; color: #6d797d; }
.season-ledger-scroll { overflow-x: auto; overscroll-behavior-inline: contain; }
.season-ledger { min-width: calc(402px + (var(--payment-period-count, 18) * 38px)); }
.season-ledger.is-season { min-width: 520px; }
.ledger-head,
.ledger-row { display: grid; grid-template-columns: 210px repeat(var(--payment-period-count, 18), 34px) 88px 88px; gap: 4px; align-items: center; }
.ledger-head { padding: 8px 10px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .05em; text-align: center; text-transform: uppercase; }
.ledger-head span:first-child { text-align: left; }
.ledger-row { min-height: 62px; padding: 8px 10px; border-top: 1px solid #e4e7e3; }
.ledger-person { display: flex; align-items: center; gap: 9px; min-width: 0; }
.ledger-person strong, .ledger-person small { display: block; }
.ledger-person strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.ledger-person small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.ledger-person .person-avatar { width: 34px; height: 34px; border-radius: 10px; }
.ledger-week { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; font-size: 9px; font-weight: 800; }
a.ledger-week { text-decoration: none; }
a.ledger-week:hover { box-shadow: 0 0 0 2px var(--lime-dark); }
.ledger-week.is-due { background: #fff0e8; color: #a44327; }
.ledger-week.is-skipped { background: #f0f1ed; color: #aab1ae; }
.ledger-week.is-paid.method-cash { background: #dff2de; color: #2d7949; }
.ledger-week.is-paid.method-check { background: #e7e4f8; color: #6653a8; }
.ledger-week.is-paid.method-venmo { background: #dceeff; color: #2676a8; }
.ledger-week.is-paid.method-other, .ledger-week.is-paid.method-recorded { background: #e8ebe7; color: #627075; }
.ledger-paid-total, .ledger-balance { text-align: right; font: 800 16px/1 "Barlow Condensed"; }
.ledger-balance { color: var(--warning); }
.ledger-balance.is-clear { color: var(--success); }
.payment-admin-columns { display: grid; grid-template-columns: 1fr; gap: 18px; }
.receipt-list article { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid #e5e8e4; }
.receipt-list article:first-child { border-top: 0; }
.receipt-list strong, .receipt-list small { display: block; }
.receipt-list strong { font-size: 12px; }
.receipt-list small { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.receipt-list b { font: 800 20px/1 "Barlow Condensed"; }
.receipt-actions { text-align: right; }
.receipt-actions b, .receipt-actions a { display: block; }
.receipt-actions a { margin-top: 5px; color: #337891; font-size: 9px; font-weight: 800; }
.payment-correction-shell {
  display: grid;
  grid-template-columns: minmax(240px, .68fr) minmax(0, 1.32fr);
  gap: 18px;
}
.payment-correction-summary {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
}
.payment-correction-summary .eyebrow { color: var(--lime); }
.payment-correction-summary h2 {
  margin: 7px 0 6px;
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
}
.payment-correction-summary > p {
  margin: 0 0 25px;
  color: #9fb1b7;
  font-size: 10px;
  line-height: 1.5;
}
.payment-correction-summary > div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid #30464e;
}
.payment-correction-summary > div span {
  color: #91a5ac;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.payment-correction-summary > div strong {
  color: var(--lime);
  font: 800 30px/1 "Barlow Condensed";
}
.week-checkboxes { margin: 0; padding: 0; border: 0; }
.week-checkboxes legend {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.week-checkboxes > div {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
}
.week-checkboxes label {
  position: relative;
  cursor: pointer;
}
.week-checkboxes input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.week-checkboxes span {
  min-height: 41px;
  display: grid;
  place-items: center;
  border: 1px solid #d4dad5;
  border-radius: 9px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}
.week-checkboxes input:checked + span {
  border-color: #7eaf3d;
  background: var(--lime);
  color: var(--ink);
}
.week-checkboxes input:focus-visible + span {
  outline: 3px solid rgba(121,213,255,.45);
  outline-offset: 1px;
}
.payment-correction-form .errorlist {
  margin: 6px 0;
  padding-left: 18px;
  color: #b5442c;
  font-size: 10px;
}
.correction-fields {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 14px;
  margin-top: 20px;
}
.correction-fields label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}
.correction-fields select, .correction-fields textarea {
  width: 100%;
  resize: vertical;
}
.correction-actions { display: flex; gap: 8px; margin-top: 18px; }
.remove-payment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e0e4df;
}
.remove-payment strong, .remove-payment small { display: block; }
.remove-payment strong { font-size: 11px; }
.remove-payment small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.access-list article { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #e5e8e4; }
.access-list article:first-child { border-top: 0; }
.offline-player-panel { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 28px; align-items: end; margin-bottom: 18px; }
.offline-player-copy h2 { margin: 4px 0 7px; }
.offline-player-copy p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.offline-player-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; align-items: end; }
.offline-player-form label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 800; }
.offline-player-form input { width: 100%; }
.offline-player-form .button { white-space: nowrap; }
.offline-badge { color: #557428; font-weight: 800; }
.pool-roster-head,
.pool-roster-list article {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 130px 130px 52px;
  gap: 16px;
  align-items: center;
}
.pool-roster-head {
  padding: 9px 0;
  border-bottom: 1px solid #dfe4df;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pool-roster-list article { min-height: 82px; padding: 13px 0; }
.pool-roster-list article:first-child { border-top: 0; }
.roster-square-cell, .roster-status-cell { display: flex; align-items: center; }
.pool-roster-list .square-pill { min-width: 66px; justify-content: center; }
.pool-roster-list .status-tag { min-width: 118px; justify-content: center; text-align: center; }
.roster-square-cell .micro-form input { width: 52px; }
.roster-status-cell .quick-pay { min-width: 118px; justify-content: center; }
.member-controls { display: flex; justify-content: flex-end; }
.member-action-menu { position: relative; z-index: 1; }
.member-action-menu[open] { z-index: 20; }
.member-action-menu > summary {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #cbd1cd;
  border-radius: 10px;
  background: white;
  cursor: pointer;
  list-style: none;
}
.member-action-menu > summary::-webkit-details-marker { display: none; }
.member-action-menu > summary span {
  width: 9px;
  height: 9px;
  border-right: 2px solid #526269;
  border-bottom: 2px solid #526269;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .16s ease;
}
.member-action-menu > summary:hover,
.member-action-menu[open] > summary { border-color: var(--lime-dark); background: #eef8df; }
.member-action-menu[open] > summary span { transform: translateY(2px) rotate(225deg); }
.member-action-menu-panel {
  width: min(280px, calc(100vw - 48px));
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  padding: 8px;
  border: 1px solid #cbd1cd;
  border-radius: 13px;
  background: white;
  box-shadow: 0 15px 35px rgba(8, 27, 33, .16);
}
.member-action-menu-panel form { margin: 0; }
.member-action-menu-panel form + form { margin-top: 5px; padding-top: 5px; border-top: 1px solid #e5e8e4; }
.member-square-form { padding: 7px 5px 8px; }
.member-square-form strong,
.member-square-form label,
.member-square-form small { display: block; }
.member-square-form label,
.account-invite-form label { margin-top: 7px; color: var(--muted); font-size: 9px; font-weight: 800; }
.member-square-form small { margin-top: 6px; color: var(--muted); font-size: 8px; line-height: 1.4; }
.member-square-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; margin-top: 5px; }
.member-square-fields input { min-width: 0; min-height: 40px; padding: 8px 10px; }
.member-square-fields .member-menu-action { width: auto; min-width: 64px; background: var(--ink); color: var(--lime); text-align: center; }
.member-square-fields .member-menu-action:hover { background: #172a33; color: var(--lime); }
.member-menu-action {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  display: block;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #405158;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
}
.member-menu-action:hover { background: #eef8df; color: #466c16; }
.member-menu-action.is-danger { color: #a44327; }
.member-menu-action.is-danger:hover { background: #fce9e1; }
.account-invite-form { padding: 7px 5px 6px; }
.account-invite-form strong,
.account-invite-form label,
.account-invite-form small { display: block; }
.account-invite-form strong { margin-bottom: 10px; font-size: 11px; }
.account-invite-form label { margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 800; }
.account-invite-form input { width: 100%; }
.account-invite-form small { margin: 7px 0 3px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.account-invite-form .member-menu-action { margin-top: 7px; background: var(--ink); color: var(--lime); text-align: center; }
.account-invite-form .member-menu-action:hover { background: #173039; color: var(--lime); }
.button-danger {
  border: 1px solid #b94d33;
  background: #b94d33;
  color: white;
}
.button-danger:hover { border-color: #91351f; background: #91351f; color: white; }
.danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  border-color: #e4b3a5;
  background: #fff8f5;
}
.danger-zone h2 { margin: 5px 0 6px; }
.danger-zone p { max-width: 650px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.delete-pool-shell { max-width: 820px; }
.delete-pool-card { margin-top: 18px; padding: 34px; border-color: #e4b3a5; }
.delete-pool-card h1 { margin: 8px 0 10px; font: 800 clamp(36px, 7vw, 64px)/.95 "Barlow Condensed"; text-transform: uppercase; }
.delete-pool-warning { color: #99412b; font-size: 13px; font-weight: 700; line-height: 1.5; }
.delete-pool-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0; }
.delete-pool-summary div { padding: 14px; border-radius: 11px; background: #f2f3ef; }
.delete-pool-summary span, .delete-pool-summary strong { display: block; }
.delete-pool-summary span { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.delete-pool-summary strong { margin-top: 5px; font-size: 12px; }
.delete-pool-form { padding-top: 22px; border-top: 1px solid #ead3ca; }
.delete-pool-form label { display: block; margin-bottom: 8px; font-size: 11px; }
.delete-pool-form input { width: 100%; }
.delete-pool-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.settings-note { color: var(--muted); font-size: 12px; line-height: 1.5; margin: -8px 0 18px; }
.capacity-status { margin: -7px 0 22px; padding: 14px; border-radius: 12px; background: #edf2e9; }
.capacity-status > span { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; }
.capacity-status > span + span { margin-top: 4px; }
.capacity-status strong { color: var(--ink); }
.capacity-status > div { height: 6px; margin-top: 10px; overflow: hidden; border-radius: 6px; background: #d1d8d0; }
.capacity-status > div i { display: block; height: 100%; max-width: 100%; background: var(--lime-dark); }
.invite-capacity {
  margin-bottom: 18px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #bad895;
  border-radius: 13px;
  background: #edf8df;
  color: #537626;
  font-size: 11px;
}
.invite-capacity.is-full { border-color: #e7c0a8; background: #f9e9df; color: #9b5027; }
.draw-rule {
  display: grid;
  grid-template-columns: minmax(210px, auto) 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
}
.draw-rule .eyebrow { display: block; color: #91a6ae; font-size: 9px; }
.draw-rule strong { display: block; margin-top: 4px; color: var(--lime); font: 800 27px/1 "Barlow Condensed"; text-transform: uppercase; }
.draw-rule p { margin: 0; color: #afbec3; font-size: 12px; line-height: 1.5; }
.draw-rule a { color: white; font-size: 11px; font-weight: 800; white-space: nowrap; }
.api-config-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; margin-bottom: 18px; border-color: #d5dbd6; }
.api-config-panel.is-connected { border-color: #b8d98c; background: linear-gradient(135deg, #fff 0%, #f5fbe9 100%); }
.api-config-copy h2 { margin: 4px 0 8px; font-size: 30px; text-transform: uppercase; }
.api-config-copy p { max-width: 660px; margin: 0 0 8px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.api-config-copy small { display: block; margin-bottom: 8px; color: var(--success); font-size: 10px; font-weight: 700; }
.api-config-copy .text-link { color: #3e7487; font-size: 11px; font-weight: 800; }
.api-key-form p { margin: 0 0 10px; }
.api-key-form label { display: block; margin-bottom: 6px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.api-key-form input { width: 100%; }
.api-key-form .helptext { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; }
.api-key-form .errorlist { margin: 0 0 8px; padding: 0; color: var(--danger); font-size: 10px; list-style: none; }
.api-config-actions { align-self: center; }
.api-remove-form { margin-top: 10px; }
.api-remove-form .text-action { padding: 0; font-size: 10px; }
.import-panel { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 18px; }
.import-panel h2 { font-size: 30px; text-transform: uppercase; margin: 3px 0; }
.import-panel p { color: var(--muted); margin: 0; font-size: 12px; }
.config-note { color: var(--warning); max-width: 220px; }
.weekly-game-picker { margin-bottom: 18px; }
.weekly-picker-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.weekly-picker-heading h2, .selected-tools-heading h2 { margin: 4px 0; font-size: 32px; text-transform: uppercase; }
.weekly-picker-heading p, .selected-tools-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.weekly-picker-count { padding: 7px 10px; border-radius: 999px; background: #edf1ed; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.weekly-pick-list { border: 1px solid #dce1dd; border-radius: 14px; overflow: hidden; }
.weekly-pick-row { display: grid; grid-template-columns: 62px minmax(320px, 1fr) minmax(230px, .65fr); gap: 18px; align-items: center; min-height: 82px; padding: 12px 16px; border-top: 1px solid #dce1dd; background: #f7f7f3; }
.weekly-pick-row:first-child { border-top: 0; }
.weekly-pick-row.has-selection { background: #fbfff5; box-shadow: inset 4px 0 0 var(--lime-dark); }
.weekly-pick-number { text-align: center; border-right: 1px solid #dce1dd; }
.weekly-pick-number span { display: block; color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.weekly-pick-number strong { font: 800 34px/1 "Barlow Condensed"; }
.weekly-pick-row label > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.weekly-pick-row select { width: 100%; background: white; }
.weekly-pick-meta { display: flex; flex-direction: column; gap: 3px; }
.weekly-pick-meta strong { font-size: 11px; line-height: 1.3; }
.weekly-pick-meta span { color: var(--success); font-size: 9px; font-weight: 700; }
.weekly-pick-row:not(.has-selection) .weekly-pick-meta span { color: var(--muted); }
.weekly-picker-save { display: flex; justify-content: flex-end; margin-top: 16px; }
.selected-game-tools { display: grid; gap: 10px; margin: 24px 0 18px; }
.selected-tools-heading { margin-bottom: 4px; }
.selected-game-editor { padding: 0; overflow: hidden; }
.selected-game-summary { display: grid; grid-template-columns: 85px minmax(220px, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; }
.selected-game-summary > strong { color: var(--lime-dark); font: 800 20px/1 "Barlow Condensed"; text-transform: uppercase; }
.selected-game-summary > div > span { display: block; font-size: 12px; font-weight: 800; }
.selected-game-summary > div > small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.game-draw-control { display: flex; align-items: flex-end; flex-direction: column; gap: 5px; text-align: right; }
.game-draw-control form { margin: 0; }
.game-draw-control a { color: #3e7487; font-size: 9px; font-weight: 800; }
.game-draw-control .draw-complete { color: var(--success); font-size: 9px; text-transform: uppercase; }
.manual-draw-actions { margin-top: 5px; display: flex; align-items: flex-start; justify-content: flex-end; gap: 7px; }
.draw-now-button { min-height: 34px; padding: 8px 13px; font-size: 9px; }
.draw-confirm { position: relative; }
.draw-confirm > summary { display: inline-flex; align-items: center; list-style: none; cursor: pointer; }
.draw-confirm > summary::-webkit-details-marker { display: none; }
.draw-confirm-body { width: 230px; margin-top: 7px; padding: 11px; border: 1px solid #e6c79f; border-radius: 10px; background: #fff8ec; text-align: left; }
.draw-confirm-body strong, .draw-confirm-body span { display: block; }
.draw-confirm-body strong { color: var(--ink); font-size: 10px; }
.draw-confirm-body span { margin: 3px 0 9px; color: #8b6534; font-size: 9px; }
.draw-confirm-body .button { width: 100%; min-height: 34px; padding: 8px 12px; font-size: 9px; }
.manual-draw-entry .draw-confirm-body { width: 430px; }
.manual-draw-entry form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.manual-draw-entry label { display: block; color: var(--ink); font-size: 9px; font-weight: 800; }
.manual-draw-entry input { width: 100%; margin-top: 4px; font-variant-numeric: tabular-nums; letter-spacing: .05em; }
.manual-draw-entry form .button { grid-column: 1 / -1; }
.selected-score-editor { border-top: 1px solid #e2e6e2; }
.selected-score-editor > summary { padding: 11px 20px; color: var(--muted); cursor: pointer; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.selected-game-editor .score-form { padding: 0 20px 18px; }
.text-action { background: transparent; color: #3e7487; text-decoration: underline; }
.score-form { flex-wrap: wrap; margin-top: 12px; }
.score-form input, .score-form select { width: 90px; }
.score-form select { width: 135px; }
.manual-game { margin-top: 18px; }
.manual-game > summary { cursor: pointer; font: 700 22px/1 "Barlow Condensed"; text-transform: uppercase; }
.manual-game .settings-form { margin-top: 20px; max-width: 620px; }
.invite-list > div { border-top: 1px solid #e2e6e2; padding: 13px 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 3px 12px; align-items: center; }
.invite-list > div:first-child { border-top: 0; }
.invite-list code { grid-row: 1 / span 2; padding: 8px 10px; border-radius: 8px; background: var(--ink); color: var(--lime); font-weight: 800; }
.invite-list span { font-size: 11px; font-weight: 700; }
.invite-list small { font-size: 9px; color: var(--muted); }
.invite-close-form { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
.invite-close { padding: 6px 9px; border: 1px solid #d2d8d3; border-radius: 7px; background: white; color: #657279; cursor: pointer; font-size: 9px; font-weight: 800; }
.invite-close:hover { border-color: #cf8e72; color: #a44327; }
.empty-state { padding: 80px 30px; text-align: center; background: var(--paper); border-radius: var(--radius); border: 1px dashed #bcc6c2; }
.empty-state span { color: var(--lime-dark); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: 11px; }
.empty-state h2 { font-size: 42px; text-transform: uppercase; margin: 8px 0; }
.empty-state p { color: var(--muted); }
.empty-state.compact { padding: 40px 20px; }

@media (max-width: 1380px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 68px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    border: 1px solid #304750;
    border-radius: 14px;
    background: #10252d;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a, .link-button { display: block; width: 100%; padding: 12px; text-align: left; }
  .main-nav .nav-cta, .main-nav .admin-link { border-radius: 9px; }
  .nav-divider { width: 100%; height: 1px; margin: 6px 0; flex-basis: 1px; }
}

/* Signed-out product marketing */
.marketing-page { overflow: hidden; }
.marketing-hero {
  min-height: min(760px, calc(100vh - 76px));
  padding: clamp(58px, 8vw, 110px) clamp(20px, 6vw, 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  gap: clamp(45px, 7vw, 110px);
  align-items: center;
  position: relative;
  isolation: isolate;
  background: #07151c;
  color: white;
}
.marketing-hero::before {
  content: "";
  width: 680px;
  height: 680px;
  position: absolute;
  z-index: -1;
  right: -180px;
  top: -210px;
  border: 1px solid rgba(188,255,94,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(188,255,94,.025), 0 0 0 190px rgba(121,213,255,.025);
}
.marketing-hero::after {
  content: "BS";
  position: absolute;
  z-index: -1;
  left: 48%;
  bottom: -60px;
  color: rgba(255,255,255,.018);
  font: 800 420px/.7 "Barlow Condensed";
  transform: rotate(-7deg);
}
.marketing-kicker { color: var(--lime-dark); font-size: 11px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.marketing-hero .marketing-kicker, .marketing-final-cta .marketing-kicker { color: var(--lime); }
.marketing-hero h1 { max-width: 780px; margin: 15px 0 22px; font-size: clamp(66px, 8vw, 118px); letter-spacing: -.025em; line-height: .78; text-transform: uppercase; }
.marketing-hero h1 em { color: var(--lime); font-style: normal; }
.marketing-hero-copy > p { max-width: 660px; margin: 0; color: #b6c7cc; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; }
.marketing-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.marketing-actions .button { min-height: 54px; padding: 15px 25px; }
.marketing-button-dark { border: 1px solid #46606a; color: white; background: #112832; }
.marketing-button-dark:hover { border-color: #76929c; background: #183640; }
.marketing-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 38px; padding-top: 24px; border-top: 1px solid #263b43; }
.marketing-proof span { display: flex; align-items: center; gap: 8px; color: #8fa4ab; font-size: 11px; font-weight: 700; }
.marketing-proof b { color: var(--lime); font: 800 15px/1 "Barlow Condensed"; }

.product-preview { width: 100%; max-width: 610px; justify-self: end; overflow: hidden; position: relative; border: 1px solid #42565e; border-radius: 24px; background: #f8faf5; color: var(--ink); box-shadow: 0 36px 90px rgba(0,0,0,.34); }
.product-preview::before { content: ""; position: absolute; inset: 0; border: 5px solid rgba(255,255,255,.12); border-radius: inherit; pointer-events: none; }
.preview-topbar { padding: 14px 18px; display: flex; justify-content: space-between; background: #102730; color: #8da4ac; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.preview-topbar b { color: var(--orange); }
.preview-score { min-height: 130px; padding: 23px 26px; display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--ink); color: white; }
.preview-team { min-width: 0; }
.preview-team small { display: block; margin-bottom: 9px; color: #7f969e; font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.preview-team > span { display: flex; align-items: baseline; gap: clamp(12px, 2vw, 23px); }
.preview-team strong { font: 800 clamp(35px, 3.4vw, 44px)/.9 "Barlow Condensed"; letter-spacing: .02em; }
.preview-team b { color: var(--lime); font: 800 clamp(44px, 4vw, 52px)/.9 "Barlow Condensed"; }
.preview-home-team { text-align: right; }
.preview-home-team > span { justify-content: flex-end; }
.preview-versus { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #314750; border-radius: 50%; color: #789099; font: 800 10px/1 "Barlow Condensed"; text-transform: uppercase; }
.preview-board { display: grid; grid-template-columns: 38px repeat(3, 1fr); gap: 3px; padding: 3px; background: #cbd2cf; }
.preview-board > * { min-height: 74px; display: grid; place-items: center; background: #f4f5f0; font-style: normal; font-size: 11px; font-weight: 800; }
.preview-board > b, .preview-board > span { min-height: 38px; background: var(--ink); color: var(--lime); font: 800 19px/1 "Barlow Condensed"; }
.preview-board > i.is-winning { position: relative; background: var(--lime); box-shadow: inset 0 0 0 3px var(--ink); }
.preview-board > i small { position: absolute; right: 5px; top: 5px; padding: 3px 5px; border-radius: 5px; background: var(--ink); color: var(--lime); font-size: 6px; letter-spacing: .08em; text-transform: uppercase; }
.preview-footer { padding: 14px 18px; display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; }
.preview-footer strong { color: var(--ink); }
.live-dot::before { content: ""; width: 7px; height: 7px; display: inline-block; margin-right: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,61,.13); }

.marketing-step-strip { max-width: 1240px; margin: -34px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; z-index: 2; }
.marketing-step-strip article { min-height: 120px; padding: 26px 28px; display: flex; gap: 17px; align-items: center; border: 1px solid #d8ddd8; border-left: 0; background: var(--paper); box-shadow: 0 15px 45px rgba(6,20,27,.08); }
.marketing-step-strip article:first-child { border-left: 1px solid #d8ddd8; border-radius: 18px 0 0 18px; }
.marketing-step-strip article:last-child { border-radius: 0 18px 18px 0; }
.marketing-step-strip article > b { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); font: 800 20px/1 "Barlow Condensed"; }
.marketing-step-strip strong, .marketing-step-strip span { display: block; }
.marketing-step-strip strong { font-size: 13px; }
.marketing-step-strip span { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.4; }

.marketing-section { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0; }
.marketing-section-heading { display: grid; grid-template-columns: 1fr minmax(320px, .65fr); gap: 70px; align-items: end; margin-bottom: 38px; }
.marketing-section-heading h2, .organizer-intro h2, .marketing-final-cta h2 { margin-top: 7px; font-size: clamp(54px, 7vw, 88px); letter-spacing: -.02em; line-height: .86; text-transform: uppercase; }
.marketing-section-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.pool-type-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.pool-type-card { min-height: 500px; padding: 42px; overflow: hidden; position: relative; border-radius: 24px; }
.pool-type-card h3 { max-width: 470px; margin: 8px 0 12px; font: 800 clamp(39px, 4vw, 56px)/.9 "Barlow Condensed"; text-transform: uppercase; }
.pool-type-card p { max-width: 460px; margin: 0; font-size: 13px; line-height: 1.65; }
.pool-type-card ul { margin: 28px 0 0; padding: 0; display: grid; gap: 11px; list-style: none; }
.pool-type-card li { position: relative; padding-left: 22px; font-size: 11px; font-weight: 700; }
.pool-type-card li::before { content: "✓"; position: absolute; left: 0; color: var(--lime-dark); }
.squares-card { background: var(--ink); color: white; }
.squares-card p { color: #aabcc2; }
.squares-card .marketing-kicker { color: var(--lime); }
.squares-card li::before { color: var(--lime); }
.pool-type-number { height: 180px; position: absolute; right: -5px; bottom: -23px; color: rgba(188,255,94,.07); font: 800 260px/.7 "Barlow Condensed"; }
.pickem-card { border: 1px solid #d3d9d5; background: #e9efe7; }
.pickem-ticket { margin-bottom: 50px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; transform: rotate(-2deg); }
.pickem-ticket span { min-height: 70px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); font: 800 31px/1 "Barlow Condensed"; }
.pickem-ticket span:nth-child(2) { background: var(--orange); }
.pickem-ticket span:not(:nth-child(2)) { background: var(--lime); }
.survivor-card { border: 1px solid #cbd4c7; background: #f8faf3; }
.survivor-card .marketing-kicker { color: var(--lime-dark); }

.organizer-section { padding: 100px max(20px, calc((100vw - 1240px) / 2)); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 8vw, 110px); align-items: center; background: #e6ebdf; }
.organizer-intro p { max-width: 460px; margin: 22px 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.organizer-intro > a { color: var(--ink); font-size: 12px; font-weight: 800; text-decoration: none; }
.organizer-intro > a span { margin-left: 5px; color: var(--lime-dark); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-grid article { min-height: 210px; padding: 26px; border: 1px solid #cfd6cd; border-radius: 18px; background: var(--paper); }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: var(--lime); font: 800 24px/1 "Barlow Condensed"; }
.feature-grid h3 { margin: 27px 0 7px; font-size: 15px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }

.pricing-preview { padding-bottom: 90px; }
.marketing-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.marketing-price-grid article { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.marketing-price-grid article.is-featured { border-color: var(--ink); background: var(--ink); color: white; box-shadow: var(--shadow); }
.marketing-price-grid article > span { display: block; color: var(--lime-dark); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.marketing-price-grid article.is-featured > span { color: var(--lime); }
.marketing-price-grid strong { display: block; margin-top: 15px; font: 800 48px/1 "Barlow Condensed"; }
.marketing-price-grid small { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.marketing-price-grid p { min-height: 50px; margin: 24px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.marketing-price-grid article.is-featured p { color: #aabcc2; }
.pricing-action { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 15px; }
.pricing-action span { color: var(--muted); font-size: 10px; }

.marketing-final-cta { width: min(1240px, calc(100% - 40px)); min-height: 390px; margin: 0 auto; padding: 65px; display: flex; align-items: center; justify-content: center; flex-direction: column; overflow: hidden; position: relative; isolation: isolate; border-radius: 28px; background: var(--ink); color: white; text-align: center; }
.marketing-final-cta::before, .marketing-final-cta::after { content: ""; width: 360px; height: 360px; position: absolute; z-index: -1; border: 1px solid rgba(188,255,94,.22); border-radius: 50%; }
.marketing-final-cta::before { left: -190px; top: -160px; box-shadow: 0 0 0 55px rgba(188,255,94,.03); }
.marketing-final-cta::after { right: -170px; bottom: -210px; box-shadow: 0 0 0 75px rgba(121,213,255,.03); }
.marketing-final-cta h2 { max-width: 850px; }
.marketing-final-cta p { margin: 18px 0 0; color: #aebfc4; }
.marketing-final-cta .marketing-actions { justify-content: center; }
.marketing-button-light { border-color: #536970; color: white; }

@media (max-width: 980px) {
  .marketing-hero { grid-template-columns: 1fr; }
  .marketing-hero-copy { max-width: 760px; }
  .product-preview { max-width: 720px; justify-self: start; }
  .marketing-step-strip { margin-top: 0; padding-top: 22px; }
  .marketing-step-strip article { padding: 20px; }
  .marketing-section-heading { gap: 30px; }
  .organizer-section { grid-template-columns: 1fr; }
  .organizer-intro { max-width: 660px; }
  .pool-roster-head { display: none; }
  .pool-roster-list article { grid-template-columns: minmax(0, 1fr) auto; gap: 11px 16px; }
  .pool-roster-list article { position: relative; }
  .pool-roster-list .person-main { grid-column: 1 / -1; padding-right: 50px; }
  .roster-square-cell { grid-column: 1; }
  .roster-status-cell { grid-column: 2; justify-self: end; }
  .member-controls { position: absolute; top: 15px; right: 0; }
}

@media (max-width: 700px) {
  .marketing-hero { min-height: 0; padding: 60px 18px 40px; gap: 42px; }
  .marketing-hero::after { display: none; }
  .marketing-hero h1 { font-size: clamp(56px, 18vw, 76px); }
  .marketing-proof { display: grid; grid-template-columns: 1fr; }
  .product-preview { border-radius: 17px; }
  .preview-score { min-height: 102px; padding: 18px 14px; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); gap: 8px; }
  .preview-team > span { gap: 9px; }
  .preview-team strong { font-size: 31px; }
  .preview-team b { font-size: 38px; }
  .preview-versus { width: 26px; height: 26px; }
  .preview-board > * { min-height: 56px; font-size: 9px; }
  .preview-board > b, .preview-board > span { min-height: 34px; }
  .preview-footer { padding: 12px; }
  .marketing-step-strip { grid-template-columns: 1fr; padding: 18px 12px 0; }
  .marketing-step-strip article { min-height: 96px; border-left: 1px solid #d8ddd8; border-top: 0; }
  .marketing-step-strip article:first-child { border-top: 1px solid #d8ddd8; border-radius: 15px 15px 0 0; }
  .marketing-step-strip article:last-child { border-radius: 0 0 15px 15px; }
  .marketing-section { width: calc(100% - 24px); padding: 80px 0; }
  .marketing-section-heading { grid-template-columns: 1fr; gap: 18px; }
  .marketing-section-heading h2, .organizer-intro h2, .marketing-final-cta h2 { font-size: 52px; }
  .pool-type-cards, .feature-grid, .marketing-price-grid { grid-template-columns: 1fr; }
  .pool-type-card { min-height: 0; padding: 28px 23px 38px; }
  .pool-type-number { font-size: 180px; }
  .pickem-ticket { margin-bottom: 35px; }
  .organizer-section { padding: 75px 18px; }
  .feature-grid article { min-height: 180px; }
  .marketing-price-grid p { min-height: 0; }
  .pricing-action { align-items: stretch; flex-direction: column; text-align: center; }
  .marketing-final-cta { width: calc(100% - 24px); min-height: 360px; padding: 45px 20px; border-radius: 21px; }
  .marketing-final-cta .marketing-actions { width: 100%; }
  .marketing-final-cta .button { width: 100%; }
}

/* Search landing pages */
.pool-type-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 30px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}
.squares-card .pool-type-link { color: var(--lime); }
.pool-type-link span { font-size: 18px; transition: transform .15s; }
.pool-type-link:hover span { transform: translateX(4px); }
.site-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 5px; }

.seo-landing { padding-bottom: 40px; overflow: hidden; }
.seo-hero {
  min-height: 650px;
  padding: clamp(60px, 8vw, 105px) max(20px, calc((100vw - 1240px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .65fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 85% 15%, rgba(188,255,94,.12), transparent 26%),
    #07151c;
  color: white;
}
.seo-hero::after {
  content: "";
  width: 560px;
  height: 560px;
  position: absolute;
  z-index: -1;
  right: -240px;
  bottom: -300px;
  border: 1px solid rgba(121,213,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(121,213,255,.025), 0 0 0 170px rgba(188,255,94,.02);
}
.seo-breadcrumb { display: flex; gap: 8px; margin-bottom: 35px; color: #6f8992; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.seo-breadcrumb a { color: #a8bbc1; text-decoration: none; }
.seo-hero h1 { max-width: 800px; margin: 14px 0 24px; font-size: clamp(58px, 7vw, 100px); letter-spacing: -.025em; line-height: .82; text-transform: uppercase; }
.seo-hero-copy > p { max-width: 720px; margin: 0; color: #b6c7cc; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.6; }
.seo-summary-card { padding: clamp(28px, 4vw, 43px); border: 1px solid #40565e; border-radius: 24px; background: rgba(16,39,48,.88); box-shadow: 0 30px 70px rgba(0,0,0,.24); }
.seo-summary-card > span { color: var(--lime); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.seo-summary-card > strong { display: block; margin: 12px 0 25px; font: 800 clamp(38px, 4vw, 54px)/.9 "Barlow Condensed"; text-transform: uppercase; }
.seo-summary-card ul { margin: 0; padding: 0; display: grid; gap: 13px; list-style: none; }
.seo-summary-card li { padding: 12px 0 12px 28px; position: relative; border-top: 1px solid #2e4650; color: #c2d0d4; font-size: 11px; }
.seo-summary-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--lime); font-weight: 800; }

.seo-content, .seo-faq { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 110px 0; }
.seo-section-heading { max-width: 850px; margin-bottom: 38px; }
.seo-section-heading h2, .seo-split-section h2, .seo-faq h2 { margin: 8px 0 16px; font-size: clamp(48px, 6vw, 76px); letter-spacing: -.02em; line-height: .9; text-transform: uppercase; }
.seo-section-heading p { max-width: 700px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.seo-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.seo-step-grid article { min-height: 245px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.seo-step-grid b { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); font: 800 21px/1 "Barlow Condensed"; }
.seo-step-grid h3 { margin: 42px 0 9px; font-size: 20px; }
.seo-step-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }

.seo-split-section { padding: 100px max(20px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(45px, 8vw, 110px); align-items: center; background: #e6ebdf; }
.seo-split-section > div:first-child > p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.seo-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seo-feature-list article { min-height: 170px; padding: 24px; border: 1px solid #cfd6cd; border-radius: 17px; background: var(--paper); }
.seo-feature-list strong, .seo-feature-list span { display: block; }
.seo-feature-list strong { margin-bottom: 10px; font-size: 14px; }
.seo-feature-list span { color: var(--muted); font-size: 10px; line-height: 1.6; }

.seo-format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.seo-format-grid article { min-height: 360px; padding: clamp(28px, 4vw, 43px); border-radius: 22px; background: var(--ink); color: white; }
.seo-format-grid article + article { border: 1px solid var(--line); background: #e9efe7; color: var(--ink); }
.seo-format-grid article > span { color: var(--lime); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.seo-format-grid article + article > span { color: var(--lime-dark); }
.seo-format-grid h3 { margin: 70px 0 15px; font: 800 clamp(38px, 4vw, 54px)/.9 "Barlow Condensed"; text-transform: uppercase; }
.seo-format-grid p { max-width: 480px; color: #afc0c6; font-size: 12px; line-height: 1.65; }
.seo-format-grid article + article p { color: var(--muted); }
.seo-format-grid a { display: inline-block; margin-top: 20px; color: var(--lime); font-size: 11px; font-weight: 800; text-decoration: none; }
.seo-format-grid article + article a { color: var(--ink); }

.seo-faq { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(45px, 8vw, 100px); }
.seo-faq h2 { font-size: clamp(45px, 5vw, 64px); }
.seo-faq details { padding: 22px 0; border-top: 1px solid var(--line); }
.seo-faq details:last-child { border-bottom: 1px solid var(--line); }
.seo-faq summary { cursor: pointer; font-size: 14px; font-weight: 800; }
.seo-faq p { margin: 12px 30px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.seo-related { width: min(1180px, calc(100% - 40px)); margin: -40px auto 70px; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.seo-related span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.seo-related a { color: var(--ink); font-size: 11px; font-weight: 800; }
.seo-final-cta { margin-bottom: 20px; }

@media (max-width: 900px) {
  .seo-hero, .seo-split-section, .seo-faq { grid-template-columns: 1fr; }
  .seo-summary-card { max-width: 680px; }
  .seo-faq { gap: 20px; }
}

@media (max-width: 700px) {
  .site-footer-links { justify-content: center; }
  .seo-hero { min-height: 0; padding: 58px 18px; }
  .seo-hero h1 { font-size: clamp(53px, 16vw, 72px); }
  .seo-breadcrumb { margin-bottom: 28px; }
  .seo-content, .seo-faq { width: calc(100% - 24px); padding: 75px 0; }
  .seo-step-grid, .seo-feature-list, .seo-format-grid { grid-template-columns: 1fr; }
  .seo-step-grid article { min-height: 210px; }
  .seo-split-section { padding: 75px 18px; }
  .seo-feature-list article { min-height: 150px; }
  .seo-format-grid article { min-height: 320px; }
  .seo-format-grid h3 { margin-top: 50px; }
  .seo-related { width: calc(100% - 24px); margin-top: -25px; }
}

@media (max-width: 1400px) {
  .payment-entry-panel.has-first-week { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) {
  .payment-entry-panel { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .pool-banner { grid-template-columns: minmax(0, 1fr) auto; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .manage-columns { grid-template-columns: minmax(0, 1fr); }
  .api-config-panel { grid-template-columns: 1fr; }
  .payment-entry-form.payment-entry-simple {
    grid-template-columns: minmax(210px, 1.4fr) minmax(120px, .65fr) minmax(135px, .75fr);
  }
  .payment-entry-form.payment-entry-simple.has-first-week .player-field { grid-column: 1 / -1; }
  .payment-entry-form.payment-entry-simple.has-first-week { grid-template-columns: minmax(145px, .75fr) minmax(210px, 1fr) minmax(170px, .8fr); }
  .payment-entry-form.payment-entry-simple.has-first-week .payment-calculation { grid-column: 1 / 3; }
  .payment-entry-form.payment-entry-simple.has-first-week .payment-save { grid-column: 3; }
  .payment-entry-simple .payment-calculation { grid-column: 1 / 3; }
  .payment-entry-simple .payment-save { grid-column: 3; }
  .payment-admin-columns { grid-template-columns: 1fr; }
  .payment-correction-shell { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .pool-setup-shell { grid-template-columns: 1fr; }
  .pool-setup-intro { min-height: 540px; }
  .auth-aside { min-height: 360px; }
  .score-ribbon { grid-template-columns: minmax(0, 1fr) minmax(140px, .55fr) minmax(0, 1fr); }
  .team-score { padding: 20px; }
  .team-score strong { font-size: 36px; }
  .team-score b { font-size: 55px; }
  .winner-history-list { grid-template-columns: 1fr 1fr; }
  .season-game-list { grid-template-columns: 1fr; }
  .profile-settings-card { grid-template-columns: 1fr; }
  .people-header { display: none; }
  .person-row { grid-template-columns: 1fr 1fr; gap: 14px; }
  .weekly-pick-row { grid-template-columns: 56px minmax(0, 1fr); }
  .weekly-pick-meta { grid-column: 2; }
}

@media (max-width: 680px) {
  .site-header { min-height: 66px; padding: 10px 16px; }
  .brand-mark { width: 39px; height: 39px; font-size: 18px; }
  .brand strong { font-size: 19px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; left: 12px; right: 12px; top: 62px;
    background: #10252d; border: 1px solid #304750; border-radius: 14px; padding: 14px;
    flex-direction: column; align-items: stretch; gap: 3px; box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a, .link-button { display: block; width: 100%; padding: 12px; text-align: left; }
  .main-nav .nav-cta, .main-nav .admin-link { border-radius: 9px; }
  .pool-banner { min-height: 0; padding: 24px 20px; grid-template-columns: 1fr; gap: 18px; }
  .pool-banner h1 { font-size: 42px; }
  .pool-banner p { font-size: 13px; }
  .pool-banner-actions { justify-content: flex-start; }
  .page-shell { padding: 22px 12px; }
  .my-payment-summary { grid-template-columns: 1fr; }
  .my-payment-metrics > div:first-child { border-left: 0; }
  .week-navigation { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 7px; }
  .week-arrow { width: 44px; height: 44px; }
  select { min-height: 48px; font-size: 16px; }
  .week-picker select { min-height: 48px; font-size: 16px; }
  .live-board { border-radius: 16px; }
  .score-ribbon {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "away home"
      "state state";
  }
  .away-score { grid-area: away; }
  .home-score { grid-area: home; }
  .game-state {
    grid-area: state;
    min-height: 48px;
    padding: 8px 12px;
    flex-direction: row;
    flex-wrap: wrap;
    border: 0;
    border-top: 1px solid #243941;
  }
  .team-score { min-height: 128px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 16px; }
  .home-score { align-items: flex-end; }
  .team-score-identity { width: 100%; flex-direction: column; align-items: flex-start; gap: 6px; }
  .home-score .team-score-identity { flex-direction: column; align-items: flex-end; }
  .team-score-logo { width: 42px; height: 42px; flex-basis: 42px; }
  .team-score strong { font-size: 31px; }
  .team-score b { font-size: 43px; }
  .team-score .eyebrow, .team-score .team-score-identity, .team-score b { grid-column: auto; grid-row: auto; }
  .game-state { font-size: 10px; gap: 7px; }
  .game-state strong { font-size: 12px; }
  .game-state small { display: none; }
  .my-drawn-numbers { grid-template-columns: 1fr 1fr; grid-template-areas: "square square" "away home"; gap: 10px 0; padding: 12px; }
  .my-drawn-square { min-width: 0; padding: 2px 8px 10px; border: 0; border-bottom: 1px solid #ccd4ca; }
  .my-drawn-square strong { font-size: 20px; }
  .my-drawn-team { gap: 9px; padding: 2px 8px; }
  .my-drawn-team.is-away { justify-content: flex-start; }
  .my-drawn-team.is-home { justify-content: flex-end; }
  .my-drawn-team img { width: 34px; height: 34px; flex-basis: 34px; }
  .my-drawn-team strong { width: 44px; height: 44px; flex-basis: 44px; border-radius: 12px; font-size: 33px; }
  .board-meta { grid-template-columns: 1fr 1fr 1fr; }
  .board-meta > div { padding: 13px 10px; display: block; }
  .board-meta strong { display: block; margin: 5px 0; font-size: 25px; }
  .board-meta small { display: none; }
  .home-axis-label { padding-left: 54px; }
  .home-axis-label strong { font-size: 23px; }
  .board-layout { grid-template-columns: 44px minmax(0,1fr); padding: 0 10px 13px; }
  .away-axis-title { font-size: 23px; }
  .squares-grid { min-width: 1160px; grid-template-columns: 48px repeat(10, minmax(108px, 1fr)); }
  .square-cell { min-height: 92px; padding: 9px; }
  .square-cell strong { font-size: 13px; }
  .away-axis-number { min-height: 92px; }
  .board-legend { padding: 5px 14px 18px; gap: 10px; }
  .board-legend .estimate-note { flex-basis: 100%; margin-left: 0; }
  .numbers-pending { margin: 14px 12px 0; }
  .numbers-pending div span { display: none; }
  .final-board-fill-note { margin: 12px 12px 0; padding: 12px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .page-heading h1 { font-size: 52px; }
  .my-square-badge { width: 100%; }
  .claim-panel { grid-template-columns: 1fr; padding: 20px; }
  .claim-panel h2 { font-size: 30px; }
  .square-picker-heading { align-items: stretch; flex-direction: column; gap: 16px; }
  .chosen-square-card { min-width: 0; }
  .square-selection-summary { grid-template-columns: 1fr 1fr; }
  .square-selection-summary > div:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .season-square-picker { padding: 16px 10px; }
  .square-picker-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; padding: 0 5px; }
  .square-picker-toolbar h2 { font-size: 28px; }
  .selection-help, .selection-locked-note { margin-left: 5px; margin-right: 5px; }
  .swipe-note { display: block; }
  .season-numbers-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .season-square-reminder { width: 100%; display: flex; align-items: center; justify-content: space-between; }
  .season-game-card { padding: 16px; }
  .season-game-matchup h3 { font-size: 24px; }
  .week-winner-result { align-items: flex-start; grid-template-columns: 1fr; }
  .winning-number-pair { text-align: left; }
  .leaderboard-heading { align-items: stretch; flex-direction: column; gap: 16px; }
  .leaderboard-total { min-width: 0; }
  .leaderboard-stats { grid-template-columns: 1fr 1fr; }
  .leaderboard-stats > div { border-right: 1px solid var(--line); }
  .leaderboard-stats > div:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .leaderboard-table-head { display: none; }
  .leaderboard-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; padding: 13px 14px; }
  .leader-person small { display: block; }
  .leader-square, .leader-wins { display: none; }
  .leader-money { font-size: 22px; }
  .winner-history-list { grid-template-columns: 1fr; }
  .auth-card, .auth-aside { padding: 48px 22px; }
  .profile-settings-shell { padding: 18px 12px; }
  .profile-settings-card { border-radius: 18px; }
  .profile-settings-intro, .profile-settings-form, .notification-settings-panel { padding: 30px 22px; }
  .profile-settings-form .button { width: 100%; }
  .notification-preference-form .button, .push-device-actions .button { width: 100%; }
  .auth-card h1 { font-size: 54px; }
  .auth-aside { min-height: 300px; }
  .auth-aside h2 { font-size: 42px; }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .payment-metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
  .payment-metrics article:first-child { grid-column: 1 / -1; }
  .payment-entry-panel { padding: 18px; }
  .payment-entry-form { grid-template-columns: 1fr 1fr; }
  .payment-entry-form.payment-entry-simple { grid-template-columns: 1fr 1fr; }
  .payment-entry-form.payment-entry-simple.has-first-week {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .payment-entry-form.payment-entry-simple.has-first-week > .payment-form-field,
  .payment-entry-form.payment-entry-simple.has-first-week > .payment-calculation,
  .payment-entry-form.payment-entry-simple.has-first-week > .payment-save {
    width: 100%;
    min-width: 0;
  }
  .payment-entry-simple.has-first-week .payment-form-field label { min-height: 0; display: block; }
  .player-field, .custom-weeks-field, .note-field { grid-column: 1 / -1; }
  .payment-calculation { grid-column: 1 / -1; }
  .payment-save { grid-column: 1 / -1; }
  .payment-entry-form.payment-entry-simple .player-field,
  .payment-entry-form.payment-entry-simple .payment-calculation,
  .payment-entry-form.payment-entry-simple .payment-save { grid-column: 1 / -1; }
  .payment-entry-form.payment-entry-simple.has-first-week .player-field,
  .payment-entry-form.payment-entry-simple.has-first-week .payment-calculation,
  .payment-entry-form.payment-entry-simple.has-first-week .payment-save { grid-column: 1; }
  .week-checkboxes > div { grid-template-columns: repeat(3, 1fr); }
  .correction-fields { grid-template-columns: 1fr; }
  .correction-actions { align-items: stretch; flex-direction: column; }
  .remove-payment { align-items: flex-start; flex-direction: column; }
  .payment-panel-heading { align-items: flex-start; flex-direction: column; }
  .access-list article { grid-template-columns: 1fr auto; }
  .pool-roster-list article { grid-template-columns: minmax(0, 1fr) auto; }
  .offline-player-panel { grid-template-columns: 1fr; align-items: stretch; }
  .offline-player-form { grid-template-columns: 1fr 1fr; }
  .offline-player-form > div:last-of-type { grid-column: 1 / -1; }
  .offline-player-form .button { grid-column: 1 / -1; width: 100%; }
  .member-controls { top: 14px; }
  .pool-setup-intro { min-height: 0; padding: 50px 22px; }
  .pool-setup-intro h1 { font-size: 62px; }
  .pool-setup-card { padding: 42px 22px; }
  .metric-card { min-height: 145px; padding: 16px; }
  .metric-card > strong { font-size: 46px; }
  .metric-card .metric-date { font-size: 25px; }
  .manage-nav { margin-left: -12px; margin-right: -12px; padding: 0 7px; }
  .panel { padding: 18px; }
  .invite-capacity { align-items: flex-start; flex-direction: column; gap: 4px; }
  .invite-list > div { grid-template-columns: auto minmax(0, 1fr); }
  .invite-close-form { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 5px; }
  .person-row { grid-template-columns: 1fr 1fr; padding: 14px; }
  .person-main { grid-column: 1 / -1; }
  .person-row > div:last-child { justify-self: end; }
  .import-panel { display: block; }
  .import-panel .inline-form { margin-top: 18px; }
  .draw-rule { grid-template-columns: 1fr auto; gap: 12px; padding: 16px; }
  .draw-rule p { grid-column: 1 / -1; grid-row: 2; }
  .weekly-game-picker { padding: 14px 10px; }
  .weekly-picker-heading { align-items: flex-start; flex-direction: column; gap: 10px; padding: 0 5px; }
  .weekly-picker-heading h2 { font-size: 28px; }
  .weekly-pick-row { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 12px 10px; }
  .weekly-pick-number strong { font-size: 29px; }
  .weekly-pick-meta { grid-column: 2; }
  .weekly-picker-save .button { width: 100%; }
  .selected-game-summary { grid-template-columns: 68px minmax(0, 1fr); gap: 8px; padding: 14px; }
  .game-draw-control { grid-column: 2; align-items: flex-start; text-align: left; }
  .manual-draw-actions { justify-content: flex-start; flex-wrap: wrap; }
  .draw-confirm-body { width: min(230px, 100%); }
  .manual-draw-entry .draw-confirm-body { width: min(430px, calc(100vw - 68px)); }
  .manual-draw-entry form { grid-template-columns: 1fr; }
  .manual-draw-entry form .button { grid-column: 1; }
  .selected-score-editor > summary { padding: 11px 14px; }
  .selected-game-editor .score-form { padding: 0 14px 14px; }
  .danger-zone { align-items: flex-start; flex-direction: column; }
  .danger-zone .button { width: 100%; }
  .delete-pool-card { padding: 24px 18px; }
  .delete-pool-summary { grid-template-columns: 1fr; }
  .delete-pool-actions { align-items: stretch; flex-direction: column-reverse; }
  .delete-pool-actions .button { width: 100%; text-align: center; }
  .site-footer { margin-top: 30px; padding: 22px 16px; flex-direction: column; gap: 4px; }
}

@media (max-width: 520px) {
  .my-payment-metrics { grid-template-columns: 1fr 1fr; }
  .my-payment-metrics > div { padding: 16px; border-top: 1px solid var(--line); }
  .my-payment-coverage { grid-column: 1 / -1; border-left: 0 !important; }
}
