:root {
  --ink: #edf7f4;
  --muted: #a4bcb6;
  --bg: #071317;
  --paper: #102329;
  --line: #294048;
  --forest: #102e2c;
  --lime: #00d4ad;
  --orange: #f09b6c;
  color-scheme: dark;
}
body {
  background: var(--bg);
  color: var(--ink);
}
a {
  color: inherit;
}
header {
  background: #091a20 !important;
  border-color: var(--line) !important;
}
.brand-row,
.footer-top {
  border-color: var(--line);
}
.topline {
  background: #061013 !important;
}
.brand small,
.help,
.lede,
.source {
  color: var(--muted);
}
.desktop-nav a {
  color: #c4d8d2;
}
.desktop-nav a.active {
  color: #00d4ad;
  border-color: #00d4ad;
}
.lang,
input,
select,
textarea {
  background: #0b1d22;
  color: #eaf5f1;
  border-color: #385059;
}
input::placeholder,
textarea::placeholder {
  color: #a3b6b1;
}
.button,
button {
  color: #041714;
}
.button.secondary,
button.secondary,
.button.ghost,
.text-button {
  background: #10252a;
  color: #e7f4ed;
  border-color: #3c565b;
}
.button.dark,
button.dark {
  background: #00d4ad;
  color: #031713;
}
.panel,
.stat,
.match,
.feature-card,
.post-steps span {
  background: #102329;
  color: #edf7f4;
  border-color: #294048;
}
.hero {
  background: #103831 !important;
}
.hero h1 {
  color: #fff;
}
.hero em {
  color: #00e8bd;
}
.hero p {
  color: #c4d9d3;
}
.challenge-card {
  background: #00cba5 !important;
  color: #031b17;
}
.challenge-card .help {
  color: #164a3e;
}
.challenge-card .eyebrow {
  color: #143d35;
}
.challenge-card .button {
  background: #071a19;
  color: #f2fff9;
}
.fan-ribbon {
  background: #041015;
  color: #74e1c1;
  border-color: #25413c;
}
.intro-band {
  background: #12342e;
  color: #effbf4;
}
.feature-card.peach {
  background: #472b25;
  color: #ffede0;
}
.feature-card.dark {
  background: #0c2c27;
  color: #eaf7ef;
}
.ai-dugout {
  background: #0e292b;
  border-color: #21504c;
}
.ai-dugout p {
  color: #c2d5d0;
}
.prompt-chip {
  background: #163b38;
  color: #e5f6ed;
  border-color: #3d645b;
}
.feature-number,
.match-note,
.match-top,
.team-disc {
  color: #b3cbc3;
}
.team-disc,
.badge {
  background: #18362f;
  color: #c9f4df;
}
.footer-top,
.footer-bottom,
footer {
  background: #091b20;
  color: #cee2d9;
  border-color: #294048;
}
footer .brand small {
  color: #a6b9b2;
}
.powered-credit {
  background: white;
  color: #172e2a;
}
.mobile-nav {
  background: #0a2025 !important;
  border-color: #395058;
}
.mobile-nav a {
  color: #b7cec6;
}
.mobile-nav a.active {
  color: #00efbc;
}
.notice,
.empty {
  background: #102b30;
  color: #d2e7de;
  border-color: #36555a;
}
.warning,
.notice.warning {
  background: #342e1e;
  color: #ffe3a4;
}
.consent-banner {
  background: #0e2329;
  color: #edf7f1;
  border-color: #37535a;
}
.answer {
  background: #102a30;
  color: #eff7f3;
  border-color: #36535a;
}
.answer.selected,
.daily-answers .daily-correct {
  background: #184b3b;
  color: #d6ffdf;
  border-color: #79bb81;
}
.letter {
  background: #183c36;
  color: #a8dfca;
}
.daily-hero {
  background: #00c7a2;
  color: #031c16;
}
.daily-question,
.daily-notebook {
  background: #0f272c;
}
.daily-week span {
  background: #233f41;
  color: #def2e6;
}
.daily-week .practised {
  background: #00cba4;
  color: #062119;
}
.daily-reveal,
.daily-reveal.is-correct {
  background: #154337;
  color: #edfff0;
}
.discovery-daily {
  background: #00c9a4;
}
.pulse-panel {
  background: #123531;
  color: #dff6e7;
  border-color: #2b5850;
}
.pulse-panel small,
.delivery-marker small {
  color: #b0c9c0;
}
.pulse-panel svg {
  fill: #58cf9c;
}
.delivery {
  border-color: #2d4649;
}
.delivery-feed {
  border-color: #2d4649;
}
.delivery-marker b {
  background: #25463c;
  color: #e6fbea;
}
.delivery-boundary .delivery-marker b {
  background: #00ccaa;
  color: #031916;
}
.delivery-wicket .delivery-marker b {
  background: #f0a17e;
  color: #26160a;
}
.post-placeholder {
  background: #0d262c;
  border-color: #3c565b;
}
.post-modes input:checked + span {
  background: #14583f;
  color: #effff4;
}
.post-modes span {
  background: #122e33;
  color: #e4f2ea;
}
.radio-panel {
  background: #0e2d2d;
  border: 1px solid #236052;
}
.table-wrap {
  border-color: #385057;
}
th {
  background: #0b1e23;
  color: #bbd6cb;
}
td {
  border-color: #29454a;
}
.quiz-stage-banner {
  background: #134337;
  color: #bdf9d4;
}
.result-hero,
.quiz-launch {
  background: #12372e;
  color: #f2fff2;
}
.form-error {
  color: #ffb1a0;
}
.dna-welcome {
  text-align: center;
  max-width: 880px;
  margin: 30px auto 60px;
  padding: 40px 16px;
}
.dna-welcome h1,
.dna-result h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.05em;
  line-height: 1.08;
}
.dna-orbit {
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 0.15em;
  color: #00d9af;
  margin: 40px 0;
}
.dna-question h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  line-height: 1.35;
}
.dna-result {
  max-width: 850px;
  margin: 0 auto;
}
.dna-symbol {
  font-size: 6rem;
  color: #00d4ad;
  margin-top: 24px;
}
.dna-card {
  display: block;
  width: min(100%, 420px);
  height: auto;
  border-radius: 20px;
  margin: 28px auto;
}
.dna-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.dna-scores > div {
  display: flex;
  justify-content: space-between;
  background: #17392f;
  padding: 14px;
  border-radius: 10px;
}
.fan-state-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.fan-state {
  display: grid;
  gap: 12px;
  text-align: left;
  background: #14332f;
  color: #ebfff0;
  padding: 20px;
  min-height: 110px;
  border: 1px solid #315a4e;
  border-radius: 16px;
}
.fan-state:hover {
  background: #1d4b3d;
}
.fan-state span {
  font-size: 0.8rem;
  color: #b8d7c9;
}
.squad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.squad-grid > div {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #15372e;
  border-radius: 12px;
}
.squad-grid small {
  color: #bad4c4;
}
.admin-user-directory {
  margin-top: 24px;
}
.admin-user-directory pre {
  overflow: auto;
  max-height: 400px;
  background: #081c22;
  padding: 20px;
}
.app-explore {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.app-explore > a {
  display: block;
  padding: 28px;
  text-decoration: none;
}
.app-explore h2 {
  font-size: 1.5rem;
}
.app-explore p {
  color: #b5d0c3;
  line-height: 1.6;
}
.post-caption p {
  color: #deeee4;
}
.ground-card p {
  color: #c1d9cc;
}
@media (max-width: 900px) {
  .fan-state-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .app-explore {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .fan-state-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .fan-state {
    padding: 16px;
    font-size: 0.85rem;
  }
  .squad-grid,
  .app-explore {
    grid-template-columns: 1fr;
  }
  .dna-scores {
    grid-template-columns: 1fr 1fr;
  }
  .dna-welcome {
    padding: 20px 0;
  }
  .radio-panel {
    padding: 24px 18px;
  }
}

.local-big-score {
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 1.1;
  font-weight: 850;
  color: #00d4ad;
  margin: 24px 0;
}
.local-big-score small {
  font-size: 0.28em;
  color: #c3dccd;
}
.local-score h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}
.form input:not([type='checkbox']):not([type='radio']),
.form select,
.form textarea,
.post-tools select,
.panel select,
.panel input:not([type='checkbox']):not([type='radio']) {
  background: #0b1d22;
  color: #edf7f2;
  border: 1px solid #3c595f;
}
.form input::placeholder,
.form textarea::placeholder {
  color: #9fb8ad;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: #00d4ad;
  outline-color: #00d4ad;
}

.panel label:not(.check),
.dna-result .actions label {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}
.panel select,
.panel input:not([type='checkbox']):not([type='radio']),
.panel textarea,
.dna-result .actions select {
  min-height: 44px;
  padding: 11px 13px;
  border-radius: 10px;
  width: 100%;
  font: inherit;
}
.dna-result .actions select {
  background: #0b1d22;
  color: #edf7f2;
  border: 1px solid #3c595f;
}

.broadcast-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 12px;
  margin-top: 16px;
}

.panel p,
.panel code,
[data-team-invite-result] {
  overflow-wrap: anywhere;
}
.panel pre {
  max-width: 100%;
  overflow: auto;
}

.team-crest {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  vertical-align: middle;
}
.team-crest img {
  position: absolute;
  inset: 0;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 3px;
}
.lab-teams .team-disc {
  font-size: 11px;
}

.team-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.team-line.has-estimate {
  grid-template-columns: minmax(0, 1fr) auto auto;
}
.team-code {
  min-width: 0;
  overflow-wrap: anywhere;
}
.win-prediction {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 78px;
  padding: 7px 8px;
  border: 1px solid #276b5b;
  border-radius: 12px;
  background: #123d33;
  color: #79efd0;
  text-align: center;
}
.win-prediction b {
  font-size: 18px;
  line-height: 1.1;
}
.win-prediction small {
  font-size: 10px;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.match-situation {
  margin-top: 18px;
  padding: 17px 18px;
  border: 1px solid #33735f;
  border-left: 3px solid var(--lime, #b6ed5d);
  border-radius: 12px;
  background: linear-gradient(120deg, #143b31, #12292e);
  display: grid;
  gap: 8px;
  text-align: left;
  overflow-wrap: anywhere;
}
.match-situation > span {
  color: #b6ed5d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.match-situation > strong {
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.3;
  color: #f4f7f1;
}
.match-situation > small {
  color: #c1d3cb;
  font-size: 12px;
  line-height: 1.5;
}
.lab-situation .match-situation {
  margin: 0;
  height: 100%;
}
.match-forecast-note {
  border-top: 1px solid #294048;
  margin-top: 10px;
  padding-top: 9px;
  color: #b8ccc5;
  font-size: 11px;
  line-height: 1.45;
}
.lab-teams {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 500px) {
  .team-line,
  .team-line.has-estimate {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }
  .team-line .score {
    grid-column: 1/-1;
    text-align: left;
    padding-left: 46px;
    font-size: 20px;
  }
  .win-prediction {
    min-width: 82px;
  }
}
.score-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 20px 0;
  padding: 0 0 10px;
}
.score-tabs button {
  flex-shrink: 0;
  min-height: 46px;
  background: #132a30;
  color: #d9ece4;
  border: 1px solid #36564f;
}
.score-tabs button[aria-selected='true'] {
  background: #00cba5;
  color: #04201a;
  border-color: #00cba5;
}
.live-scorecards summary,
.local-detailed-scorecard summary {
  cursor: pointer;
  padding: 10px 0;
  font-weight: 750;
  font-size: 18px;
}
.innings-total {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.innings-total strong {
  font-size: 38px;
  color: #79efd0;
  line-height: 1.2;
}
.innings-total span {
  color: #c2d7cf;
  font-size: 14px;
}
.live-scorecards h3 {
  margin: 26px 0 12px;
}
.scorecard-info {
  margin: 22px 0 8px;
  border-top: 1px solid #294048;
  padding-top: 12px;
}
.live-scorecards .table-wrap,
.local-detailed-scorecard .table-wrap {
  overflow-x: auto;
  border: 1px solid #294048;
  border-radius: 12px;
}
.live-scorecards table,
.local-detailed-scorecard table {
  min-width: 620px;
  margin: 0;
}
.live-scorecards th,
.local-detailed-scorecard th {
  background: #173531;
  color: #c9e6dc;
}
.live-scorecards th:first-child,
.live-scorecards td:first-child,
.local-detailed-scorecard th:first-child,
.local-detailed-scorecard td:first-child {
  position: sticky;
  left: 0;
  background: #102329;
  min-width: 140px;
  z-index: 1;
}
.live-scorecards th:first-child,
.local-detailed-scorecard th:first-child {
  background: #173531;
}
.scorecard-extras {
  padding: 12px;
  border: 1px solid #294048;
  border-radius: 10px;
}
.local-innings {
  margin: 20px 0 30px;
  border-top: 1px solid #294048;
  padding-top: 16px;
}
.admin-workspace {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 26px;
}
.admin-sidebar {
  min-width: 0;
  position: sticky;
  top: 18px;
  background: #102329;
  border: 1px solid #294048;
  border-radius: 18px;
  padding: 18px;
}
.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 12px 0 20px;
}
.admin-sidebar nav a {
  display: block;
  padding: 13px 12px;
  border-radius: 10px;
  color: #d5e6de;
  font-size: 14px;
  line-height: 1.25;
}
.admin-sidebar nav a[aria-current='page'] {
  background: #00cba5;
  color: #04201a;
  font-weight: 750;
}
.admin-main {
  min-width: 0;
}
.admin-main > .panel {
  margin: 0;
}
.admin-main > .panel[hidden] {
  display: none !important;
}
.admin-main .stat-row {
  margin: 24px 0;
}
.admin-main h2 {
  font-size: 27px;
}
.admin-main .table-wrap {
  max-width: 100%;
  overflow-x: auto;
}
.admin-counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.admin-counts p {
  display: flex;
  flex-direction: column;
  background: #15372e;
  border-radius: 12px;
  padding: 18px;
  gap: 8px;
}
.admin-counts b {
  font-size: 30px;
  color: #79efd0;
}
.admin-main pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.admin-main .notice {
  overflow-wrap: anywhere;
}
@media (max-width: 800px) {
  .admin-workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .admin-sidebar {
    position: static;
    padding: 14px;
  }
  .admin-sidebar nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    margin: 8px 0;
  }
  .admin-sidebar nav a {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .admin-main .stat-row,
  .admin-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-main h2 {
    font-size: 24px;
  }
  .admin-sidebar [data-admin-refresh] {
    width: 100%;
  }
}

.team-code {
  white-space: normal;
}
.home-live-updates {
  color: #79efd0;
}
.home-match-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.home-match-switch [aria-pressed='true'] {
  background: #00cba5;
  color: #04201a;
}
#home-live-section {
  margin-top: 32px;
  scroll-margin-top: 100px;
}
.live-scorecards > h2 {
  margin: 0 0 12px;
}

.home-live-matches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}

.scorecard-scroll-hint {
  font-size: 12px;
  color: #aac7bd;
}
@media (min-width: 701px) {
  .scorecard-scroll-hint {
    display: none;
  }
}

/* Live data changes must not restart page-entry animations. */
[data-live-updates] .reveal-card {
  opacity: 1;
  transform: none;
  transition: none;
}
[data-live-updates] .delivery {
  animation: none;
}

.fan-card-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  margin: 24px 0;
}
.fan-card-section h2 {
  font-size: clamp(25px, 3vw, 36px);
}
.fan-card-art {
  min-width: 0;
}
.fan-card-art canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 16px 40px #0004;
}
.fan-card-art small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
}
.fan-photo-label {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.fan-photo-label:focus-within {
  outline: 2px solid #b6ed5d;
  outline-offset: 4px;
}
.fan-photo-label input[type='file'] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  cursor: pointer;
}
@media (max-width: 750px) {
  .fan-card-section {
    grid-template-columns: minmax(0, 1fr);
  }
}

.passport-grid > .panel {
  min-width: 0;
}

/* Member tools: plain labels, large touch targets, no extra animation loop. */
.nav-tool-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 11px;
  min-height: 42px;
  flex-shrink: 0;
}
.nav-tool-search b {
  font-size: 22px;
  line-height: 1;
}
.tool-finder {
  width: min(640px, calc(100% - 28px));
  max-height: min(760px, calc(100dvh - 32px));
  padding: 26px;
  background: #10242a;
  color: #edf6ef;
  border: 1px solid #3d675c;
  border-radius: 22px;
  box-shadow: 0 22px 90px #0009;
}
.tool-finder::backdrop {
  background: #020b10c9;
  backdrop-filter: blur(4px);
}
.tool-finder-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}
.tool-finder-heading h2 {
  margin: 8px 0 20px;
  font-size: 29px;
}
.tool-finder label {
  display: grid;
  gap: 8px;
  font-size: 13px;
}
.tool-finder input {
  width: 100%;
  min-height: 48px;
}
.tool-finder nav {
  display: grid;
  gap: 8px;
}
.tool-result {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #29483e;
  border-radius: 13px;
  text-decoration: none;
  background: #0c1d22;
  min-height: 76px;
}
.tool-result:hover,
.tool-result:focus-visible {
  border-color: #b6ed5d;
  background: #17382f;
}
.tool-result > span {
  color: #b6ed5d;
  font-size: 25px;
}
.tool-result small,
.tool-result em {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #b9cec5;
  font-style: normal;
  line-height: 1.5;
}
.tool-result em {
  color: #b6ed5d;
}
.member-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(230px, 1fr);
  gap: 32px;
  border: 1px solid #315b4c;
  border-radius: 24px;
  background: radial-gradient(ellipse at 90% 0, #245247 0, transparent 55%), #10242a;
  padding: 38px;
  margin-bottom: 30px;
}
.member-hero h1 {
  font-size: clamp(30px, 4.5vw, 53px);
  line-height: 1.15;
  margin: 16px 0;
  letter-spacing: -1.5px;
  overflow-wrap: anywhere;
}
.member-hero h1 em {
  color: #b6ed5d;
  font-style: normal;
}
.member-hero p {
  color: #c0d4c9;
}
.crew-invite {
  display: flex;
  flex-direction: column;
  gap: 13px;
  justify-content: center;
  text-decoration: none;
  padding: 24px;
  border: 1px solid #517c66;
  border-radius: 18px;
  background: #09232166;
}
.crew-invite > span {
  color: #b6ed5d;
  font-size: 36px;
}
.crew-invite b {
  font-size: 22px;
  line-height: 1.35;
}
.crew-invite small {
  color: #bfd6cb;
  line-height: 1.6;
}
.home-library {
  margin: 30px 0;
}
.saved-items {
  display: grid;
  gap: 12px;
}
.saved-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 17px;
  background: #0b1d22;
  border: 1px solid #304c43;
  border-radius: 14px;
  min-width: 0;
}
.saved-item > div:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.saved-item small {
  display: block;
  color: #aec9bc;
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.5;
}
.saved-item .actions {
  flex-shrink: 0;
  margin: 0;
}
.saved-item button,
.saved-item .button {
  min-height: 44px;
}
.saved-empty {
  display: flex;
  gap: 20px;
  align-items: start;
  padding: 20px;
  border: 1px dashed #416b58;
  border-radius: 16px;
}
.saved-empty > span {
  color: #b6ed5d;
  font-size: 42px;
}
.saved-empty h3 {
  margin-top: 0;
}
#saved-library {
  margin: 30px 0;
  scroll-margin-top: 20px;
}
.telegram-contact {
  display: block;
  border-color: #426761;
  margin: 22px 0;
  background: linear-gradient(120deg, #123e36, #10232b);
  text-decoration: none;
}
.guide-heading {
  max-width: 760px;
}
.guide-heading label {
  display: grid;
  gap: 8px;
  max-width: 520px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
}
.guide-term {
  min-width: 0;
}
.guide-term > span {
  display: inline-flex;
  min-width: 56px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #234438;
  color: #b6ed5d;
  font-weight: 800;
  padding: 10px;
}
.guide-term h2 {
  font-size: 22px;
  margin-top: 18px;
}
.guide-term p {
  line-height: 1.75;
  color: #c3d6cb;
}
.scorecard-guide-link {
  display: inline-block;
  margin: 20px 0 8px;
  padding: 9px 0;
  color: #b6ed5d;
}
@media (max-width: 1200px) {
  .desktop-nav {
    gap: 10px;
    margin-left: 0;
  }
  .nav-tool-search span {
    display: none;
  }
}
@media (max-width: 800px) {
  .member-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 26px;
    gap: 22px;
  }
  .crew-invite {
    padding: 18px;
  }
}
@media (max-width: 600px) {
  .brand-row {
    flex-wrap: wrap;
    gap: 12px;
  }
  .brand-row .brand-sports {
    max-width: 44%;
  }
  .brand-row .brand-sports img {
    width: 100%;
    max-width: 174px;
  }
  .brand-row .brand-sports small {
    letter-spacing: 0.5px;
    font-size: 6px;
  }
  .account-nav {
    gap: 6px;
  }
  .nav-tool-search {
    width: 38px;
    min-height: 38px;
    padding: 5px;
  }
  .tool-finder {
    padding: 20px 16px;
  }
  .tool-finder-heading h2 {
    font-size: 24px;
  }
  .guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .saved-item {
    align-items: start;
    flex-direction: column;
  }
  .saved-item .actions {
    flex-wrap: wrap;
  }
  .saved-empty {
    padding: 16px;
    gap: 12px;
  }
  .home-library .section-head {
    align-items: start;
    gap: 16px;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .member-hero {
    padding: 22px;
    gap: 16px;
  }
  .member-hero h1 {
    font-size: 29px;
    letter-spacing: -1px;
    margin: 12px 0;
  }
  .member-hero p {
    font-size: 14px;
    line-height: 1.6;
  }
  .member-hero .actions {
    gap: 10px;
  }
  .member-hero .crew-invite {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 6px 12px;
    padding: 14px;
  }
  .member-hero .crew-invite > span {
    grid-row: span 2;
    font-size: 28px;
  }
  .member-hero .crew-invite b {
    font-size: 18px;
  }
  .member-hero .crew-invite small {
    font-size: 11px;
  }
}

/* Benefit-first home and fan spaces. */
.conversion-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  margin: 30px 0 42px;
}
.conversion-copy h1 {
  font-size: clamp(36px, 4.7vw, 66px);
  line-height: 1.06;
  letter-spacing: -2px;
  margin: 20px 0;
}
.conversion-copy h1 em {
  color: #b6ed5d;
  font-style: normal;
}
.conversion-copy > p {
  line-height: 1.7;
  color: #c0d4c9;
  max-width: 600px;
}
.conversion-copy .benefit-note {
  font-size: 12px;
  letter-spacing: 0.4px;
  color: #b6ed5d;
}
.guest-card-preview {
  margin: 0;
  min-width: 0;
  border-color: #537c61;
  background: radial-gradient(ellipse at 100% 0, #234a3f, transparent 65%), #10242a;
}
.guest-card-preview canvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  margin: 16px 0 22px;
  box-shadow: 0 18px 40px #0005;
}
.preview-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.guest-card-preview > label {
  display: grid;
  gap: 8px;
  font-size: 13px;
}
.guest-card-preview input:not([type='file']) {
  width: 100%;
  min-height: 46px;
}
#card-preview {
  scroll-margin-top: 24px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.benefit-tile {
  display: flex;
  flex-direction: column;
  align-items: start;
  text-decoration: none;
  min-width: 0;
  margin: 0;
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.benefit-tile:hover {
  transform: translateY(-3px);
  border-color: #b6ed5d;
}
.benefit-tile > span {
  font-size: 34px;
  color: #b6ed5d;
}
.benefit-tile h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.benefit-tile p {
  font-size: 14px;
  line-height: 1.7;
  color: #bdcfc6;
}
.benefit-tile b {
  font-size: 13px;
  margin-top: auto;
}
.member-benefits {
  margin: 42px 0;
}
.join-reasons {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin: 38px 0;
  background: linear-gradient(120deg, #163e33, #10242a);
}
.signup-benefits {
  border: 1px solid #426b52;
  border-radius: 16px;
  padding: 20px;
  margin: 24px 0;
  background: #15372e;
}
.signup-benefits p {
  font-size: 14px;
  line-height: 1.65;
}
.signup-benefits small {
  color: #b9cfc2;
}
.member-shortcuts {
  grid-column: 1/-1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.member-shortcuts a {
  border: 1px solid #416453;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 13px;
}
.catchup-card {
  margin: 24px 0;
  border-color: #3e6150;
}
.catchup-card h2 {
  font-size: 25px;
}
.catchup-card ol {
  padding-left: 22px;
}
.catchup-card li {
  padding: 8px 0;
  line-height: 1.7;
}
.catchup-score {
  border-top: 1px solid #355246;
  border-bottom: 1px solid #355246;
  padding: 10px 0;
}
.catchup-score p {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}
.catchup-score strong {
  color: #b6ed5d;
}
.fan-poll {
  margin: 24px 0;
}
.poll-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.poll-option {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  min-height: 52px;
}
.poll-option b {
  white-space: nowrap;
  color: #b6ed5d;
}
.poll-option[aria-pressed='true'] {
  border-color: #b6ed5d;
  background: #234638;
}
.team-match-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.team-match-grid > .panel {
  margin: 0;
  text-decoration: none;
  overflow-wrap: anywhere;
  min-width: 0;
}
.team-match-grid h2 {
  font-size: 24px;
}
.team-follows .badge {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}
.team-follows button {
  min-width: 36px;
  min-height: 36px;
}
.room-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 24px;
  align-items: start;
}
.room-layout > .panel {
  min-width: 0;
}
.room-conversation > .section-head {
  align-items: start;
  gap: 12px;
}
.room-conversation h2 {
  overflow-wrap: anywhere;
}
.room-layout .catchup-card {
  padding: 18px;
}
.room-messages {
  display: grid;
  gap: 12px;
  max-height: 600px;
  overflow: auto;
  scrollbar-gutter: stable;
  padding: 5px;
}
.room-message {
  border: 1px solid #304b40;
  border-radius: 14px;
  padding: 16px;
  background: #0c1d22;
  overflow-wrap: anywhere;
}
.room-message > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.room-message small {
  font-size: 11px;
  color: #adc5b9;
}
.room-message p {
  white-space: pre-wrap;
  line-height: 1.6;
}
.room-layout textarea {
  resize: vertical;
}
.room-layout input[readonly] {
  width: 100%;
  font-size: 11px;
}
.room-layout aside .actions {
  align-items: start;
}
@media (max-width: 950px) {
  .conversion-hero {
    gap: 24px;
  }
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .room-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .join-reasons {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  .conversion-hero {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 12px;
    gap: 22px;
  }
  .conversion-copy h1 {
    font-size: 42px;
    letter-spacing: -1.4px;
  }
  .conversion-copy > p {
    font-size: 15px;
  }
  .guest-card-preview {
    padding: 20px;
  }
  .benefit-grid,
  .team-match-grid,
  .poll-options {
    grid-template-columns: minmax(0, 1fr);
  }
  .benefit-tile {
    padding: 22px;
  }
  .member-shortcuts {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .catchup-card .section-head {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .catchup-card h2 {
    font-size: 23px;
  }
  .fan-poll > .actions {
    align-items: start;
  }
  .room-layout > .panel {
    padding: 20px;
  }
  .room-message {
    padding: 13px;
  }
  .room-layout .catchup-card {
    padding: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .benefit-tile {
    transition: none;
  }
  .benefit-tile:hover {
    transform: none;
  }
}

.conversion-hero {
  align-items: start;
}
.conversion-copy {
  padding-top: 44px;
}
@media (max-width: 700px) {
  .conversion-copy {
    padding-top: 0;
  }
}
