:root {
  color-scheme: dark;
  --ink: #061018;
  --surface: #0b1720;
  --surface-raised: #10212b;
  --surface-soft: #132731;
  --line: rgba(184, 212, 218, 0.16);
  --line-strong: rgba(184, 212, 218, 0.28);
  --text: #f2f6f3;
  --muted: #8da3a7;
  --muted-strong: #b7c4c4;
  --acid: #b8f34a;
  --acid-soft: rgba(184, 243, 74, 0.12);
  --yellow: #f4d26d;
  --danger: #ff8e77;
  --win: #23e6a8;
  --lose: #ff8e77;
  --font-display: "Space Grotesk", Arial, sans-serif;
  --font-mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  font-family: var(--font-display);
  background: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--ink);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}


.bi {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1.15;
}

.bi .en {
  display: block;
}

.bi .zh {
  display: block;
  color: var(--muted);
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: 0;
}

.button .bi,
.text-button .bi,
.main-nav .bi,
.footer-links .bi,
.clear-button .bi,
.auth-tab .bi {
  align-items: center;
  text-align: center;
}

.button .bi .zh,
.text-button .bi .zh,
.main-nav .bi .zh,
.footer-links .bi .zh,
.clear-button .bi .zh,
.auth-tab .bi .zh {
  font-size: 0.72em;
}

.hero-copy h1 .bi,
.section-heading h2 .bi,
.community-copy h2 .bi {
  gap: 8px;
  line-height: 0.95;
}

.hero-copy h1 .bi .zh,
.section-heading h2 .bi .zh,
.community-copy h2 .bi .zh {
  color: var(--text);
  font-size: 0.42em;
  line-height: 1.1;
}

body[data-lang="en"] .bi .zh,
body[data-lang="zh"] .bi .en {
  display: none !important;
}

body[data-lang="zh"] .bi .zh {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

body[data-lang="zh"] .hero-copy h1 .bi .zh,
body[data-lang="zh"] .section-heading h2 .bi .zh,
body[data-lang="zh"] .community-copy h2 .bi .zh,
body[data-lang="zh"] .button .bi .zh,
body[data-lang="zh"] .text-button .bi .zh,
body[data-lang="zh"] .main-nav .bi .zh,
body[data-lang="zh"] .footer-links .bi .zh,
body[data-lang="zh"] .clear-button .bi .zh,
body[data-lang="zh"] .auth-tab .bi .zh {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.nowrap-title .bi {
  white-space: nowrap;
}

.page-shell {
  overflow: hidden;
  background-color: var(--ink);
  background-image: linear-gradient(rgba(184, 212, 218, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 212, 218, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
}

.section-frame,
.site-header {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  line-height: 1;
}

.brand-copy > span {
  display: block;
}

.brand-logo {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  flex: 0 0 56px;
  display: block;
  object-fit: contain;
  border-radius: 50%;
}

.brand small {
  display: block;
  margin: 0;
  color: var(--acid);
  font: 9px var(--font-mono);
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 22px;
  height: 22px;
  position: relative;
  display: inline-block;
  border: 1px solid var(--acid);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  background: var(--acid);
}

.brand-mark::before {
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
}

.brand-mark::after {
  height: 1px;
  width: 100%;
  left: 0;
  top: 50%;
}

.brand-mark span:nth-child(1) {
  width: 5px;
  height: 5px;
  left: 8px;
  top: 8px;
  border-radius: 50%;
}

.brand-mark span:nth-child(2),
.brand-mark span:nth-child(3) {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  top: 4px;
}

.brand-mark span:nth-child(2) {
  left: 3px;
}

.brand-mark span:nth-child(3) {
  right: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  margin-right: 34px;
}

.main-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 13px;
  transition: color 160ms ease;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--acid);
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-toggle {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.language-toggle button {
  min-width: 42px;
  height: 26px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: 600 11px var(--font-mono);
  transition: color 160ms ease, background-color 160ms ease;
}

.language-toggle button.active {
  color: var(--ink);
  background: var(--acid);
}

.button,
.text-button,
.icon-button,
.clear-button,
.filter-button,
.auth-tab {
  border: 0;
  cursor: pointer;
}

.button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 17px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #071017;
  background: var(--acid);
}

.button-primary:hover {
  background: #cdfd6a;
}

.button-ghost,
.button-outline {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line-strong);
}

.button-ghost:hover,
.button-outline:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.button-wallet {
  color: var(--ink);
  background: var(--yellow);
}

.wallet-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}

.button-wallet.connected {
  color: var(--ink);
  background: var(--acid);
}

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  gap: 90px;
  padding-block: 82px 68px;
}

.eyebrow,
.mono-label,
.live-label {
  color: var(--acid);
  font: 500 11px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: var(--acid);
  border-radius: 50%;
}

.eyebrow-text {
  font: inherit;
  letter-spacing: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
}

h1 {
  max-width: 650px;
  margin-top: 23px;
  font-size: clamp(50px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h1 em,
h2 em {
  color: var(--acid);
  font-style: normal;
}

.hero-text {
  max-width: 500px;
  margin-top: 28px;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 34px;
}

.text-button {
  padding: 12px 3px;
  color: var(--muted-strong);
  background: transparent;
  font-size: 13px;
  transition: color 160ms ease;
}

.text-button:hover {
  color: var(--acid);
}

.hero-footnote {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 58px;
  color: var(--muted);
  font: 11px var(--font-mono);
  letter-spacing: 0.03em;
}

.status-pulse,
.live-label i {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px var(--acid-soft);
}

.muted-divider {
  color: var(--line-strong);
}

.hero-board {
  position: relative;
  min-height: 390px;
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 18px 18px 0 rgba(184, 243, 74, 0.08);
}

.hero-board::before {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  right: -1px;
  bottom: -1px;
  border-right: 1px solid var(--acid);
  border-bottom: 1px solid var(--acid);
}

.board-topline,
.board-bottomline,
.feature-match-meta,
.feature-tag-row,
.slip-header,
.slip-summary,
.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}



.board-topline {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.board-topline .mono-label,
.slip-header .mono-label {
  color: var(--muted);
}

.live-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--acid);
  font-size: 10px;
}

.board-date {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 22px 0 20px;
}

.board-day {
  color: var(--yellow);
  font-size: 54px;
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.07em;
}

.board-month,
.feature-match-meta,
.feature-tag-row .mono-label {
  color: var(--muted);
  font: 10px var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.board-date strong {
  display: block;
  margin-top: 7px;
  font-size: 14px;
}

.feature-match {
  padding: 18px 17px;
  background: var(--surface-soft);
  border-left: 3px solid var(--acid);
}

.feature-match-meta {
  gap: 16px;
  font-size: 10px;
}

.feature-match-meta span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature-teams {
  margin-top: 27px;
}

.feature-teams strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.feature-selection {
  display: inline-block;
  margin-top: 15px;
  padding: 5px 8px;
  color: var(--acid);
  background: var(--acid-soft);
  font: 10px var(--font-mono);
  letter-spacing: 0.04em;
}

.feature-tag-row {
  margin-top: 31px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.feature-tag-row strong {
  color: var(--yellow);
  font: 24px var(--font-mono);
}

.board-bottomline {
  margin-top: 21px;
  color: var(--muted);
  font: 11px var(--font-mono);
}

.board-bottomline b {
  color: var(--text);
}

.icon-button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--acid);
  background: transparent;
  border: 1px solid var(--line-strong);
  font-size: 21px;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.icon-button:hover,
.icon-button.active {
  background: var(--acid-soft);
  border-color: var(--acid);
}


.risk-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.hero-risk {
  max-width: 560px;
  margin-top: 18px;
  padding-left: 16px;
  border-left: 2px solid rgba(184, 243, 74, 0.42);
}

.section-copy-block {
  max-width: 360px;
  display: grid;
  gap: 12px;
}

.section-copy-block > p:first-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.section-risk {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-cell {
  min-height: 130px;
  padding: 25px 26px;
  border-right: 1px solid var(--line);
}

.stat-cell:first-child {
  padding-left: 0;
}

.stat-cell:last-child {
  border-right: 0;
}

.stat-cell .mono-label {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.stat-cell strong {
  display: block;
  margin-top: 15px;
  font: 500 28px var(--font-mono);
  letter-spacing: -0.04em;
}

.stat-cell small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}

.stat-note strong {
  color: var(--acid);
  font-size: 20px;
}



.results-section .section-heading h2 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(34px, 4.2vw, 54px);
}

.results-section {
  padding-block: 92px 105px;
  border-top: 1px solid var(--line);
}

.performance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 44px;
}

.performance-card {
  min-height: 132px;
  padding: 22px;
  background: rgba(11, 23, 32, 0.72);
  border: 1px solid var(--line);
}

.performance-card strong {
  display: block;
  margin-top: 14px;
  color: var(--acid);
  font: 500 30px var(--font-mono);
  letter-spacing: -0.04em;
}

.performance-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}

.completed-panel {
  margin-top: 18px;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
}

.completed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.completed-header span:last-child {
  color: var(--muted);
  font: 11px var(--font-mono);
}

.completed-list {
  display: grid;
}

.completed-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.completed-item:last-child {
  border-bottom: 0;
}

.completed-item strong {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.25;
}

.completed-item small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.completed-result {
  min-width: 92px;
  display: grid;
  justify-items: end;
  gap: 7px;
}

.completed-result b {
  padding: 6px 9px;
  color: var(--ink);
  background: var(--muted);
  font: 500 11px var(--font-mono);
  letter-spacing: 0.08em;
}

.completed-result span {
  font: 500 15px var(--font-mono);
}

.completed-item.is-win .completed-result b {
  background: var(--win);
}

.completed-item.is-win .completed-result span {
  color: var(--win);
}

.completed-item.is-lose .completed-result b {
  background: var(--lose);
}

.completed-item.is-lose .completed-result span {
  color: var(--lose);
}

.empty-results {
  min-height: 130px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  font: 12px var(--font-mono);
}

.picks-section,
.flow-section,
.community-section {
  padding-block: 115px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}

.section-heading h2,
.community-copy h2 {
  max-width: 610px;
  margin-top: 19px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-heading > p {
  max-width: 340px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.date-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}

.date-toolbar label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.date-toolbar .mono-label {
  color: var(--acid);
  white-space: nowrap;
}

.date-toolbar select {
  min-width: 180px;
  height: 40px;
  padding: 0 36px 0 12px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  cursor: pointer;
  font: 600 13px var(--font-mono);
}

.date-toolbar select:focus {
  outline: 2px solid var(--acid);
  outline-offset: 2px;
}

.date-toolbar p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

.filter-row {
  justify-content: flex-start;
  gap: 8px;
  margin-top: 45px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-button {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 13px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  font: 10px var(--font-mono);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.filter-button:hover,
.filter-button.active {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.picks-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 28px;
  margin-top: 20px;
}

.pick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pick-card {
  min-height: 265px;
  display: flex;
  flex-direction: column;
  padding: 21px;
  background: rgba(11, 23, 32, 0.76);
  border: 1px solid var(--line);
  transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.pick-card:hover {
  transform: translateY(-3px);
  background: var(--surface);
  border-color: var(--line-strong);
}

.pick-card.selected {
  border-color: var(--acid);
  box-shadow: inset 3px 0 0 var(--acid);
}

.pick-card-top,
.pick-card-bottom,
.pick-card-meta,
.pick-selection {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pick-card-top {
  gap: 10px;
}

.pick-card-meta {
  gap: 8px;
  color: var(--muted);
  font: 10px var(--font-mono);
  white-space: nowrap;
}

.league-label {
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pick-status {
  padding: 4px 6px;
  color: var(--acid);
  background: var(--acid-soft);
  font: 9px var(--font-mono);
  letter-spacing: 0.04em;
}

.pick-status.result-win {
  color: var(--ink);
  background: var(--win);
}

.pick-status.result-lose {
  color: var(--ink);
  background: var(--lose);
}

.pick-card h3 {
  max-width: 330px;
  margin-top: 33px;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.pick-selection {
  justify-content: flex-start;
  gap: 8px;
  margin-top: 15px;
  color: var(--muted-strong);
  font-size: 12px;
}

.selection-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--yellow);
}

.pick-card-bottom {
  gap: 12px;
  margin-top: auto;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.pick-card-bottom .mono-label {
  color: var(--muted);
  font-size: 9px;
}

.tag-value {
  color: var(--yellow);
  font: 500 24px var(--font-mono);
}

.pick-add {
  min-height: 31px;
  padding: 0 10px;
  color: var(--muted-strong);
  background: transparent;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  font: 10px var(--font-mono);
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.pick-add:hover,
.pick-add.active {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.loading-state,
.error-state {
  grid-column: 1 / -1;
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  font: 12px var(--font-mono);
}

.error-state {
  color: var(--danger);
}

.slip-panel {
  position: sticky;
  top: 22px;
  min-height: 360px;
  padding: 20px;
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
}

.slip-header {
  align-items: start;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.slip-header h3 {
  margin-top: 9px;
  font-size: 19px;
}

.slip-header h3 span {
  display: inline-grid;
  width: 21px;
  height: 21px;
  place-items: center;
  margin-left: 3px;
  color: var(--ink);
  background: var(--acid);
  border-radius: 50%;
  font: 11px var(--font-mono);
  vertical-align: 2px;
}

.clear-button {
  padding: 2px 0;
  color: var(--muted);
  background: transparent;
  font: 10px var(--font-mono);
}

.clear-button:hover {
  color: var(--danger);
}

.slip-items {
  min-height: 154px;
  padding-block: 4px;
}

.empty-slip {
  display: grid;
  place-items: center;
  padding: 24px 15px;
  text-align: center;
}

.empty-icon {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--acid);
  border: 1px solid var(--line-strong);
  font-size: 19px;
}

.empty-slip strong {
  font-size: 13px;
}

.empty-slip p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.slip-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.slip-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.slip-item span {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: var(--muted);
  font: 10px var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slip-item b {
  color: var(--yellow);
  font: 13px var(--font-mono);
}

.remove-slip {
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 16px;
}

.remove-slip:hover {
  color: var(--danger);
}

.slip-summary {
  gap: 15px;
  padding: 16px 0;
}

.slip-summary > div {
  display: grid;
  gap: 6px;
}

.slip-summary span {
  color: var(--muted);
  font: 9px var(--font-mono);
  text-transform: uppercase;
}

.slip-summary strong {
  font: 14px var(--font-mono);
}

.accent-text {
  color: var(--acid);
}

.full-button {
  width: 100%;
}

.panel-footnote,
.auth-note {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.panel-footnote {
  margin-top: 13px;
  text-align: center;
}



.picks-section .section-heading h2 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(34px, 4.2vw, 54px);
}

.flow-section .section-heading h2 {
  max-width: none;
  white-space: nowrap !important;
  font-size: clamp(32px, 3.7vw, 48px);
}


.nowrap-title {
  display: inline-block;
  white-space: nowrap !important;
}

.flow-section .section-heading h2,
.flow-section .section-heading h2 em,
.flow-section .section-heading .nowrap-title {
  white-space: nowrap !important;
}

.flow-section {
  border-top: 1px solid var(--line);
}

.compact-heading {
  align-items: start;
}

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

.flow-card {
  position: relative;
  min-height: 260px;
  padding: 23px;
  background: rgba(11, 23, 32, 0.55);
  border: 1px solid var(--line);
}

.flow-card-accent {
  background: var(--acid);
  color: var(--ink);
  border-color: var(--acid);
}

.flow-number {
  color: var(--muted);
  font: 11px var(--font-mono);
}

.flow-card-accent .flow-number {
  color: rgba(6, 16, 24, 0.7);
}

.flow-icon {
  margin-top: 53px;
  color: var(--acid);
  font-size: 33px;
  line-height: 1;
}

.flow-card-accent .flow-icon {
  color: var(--ink);
}

.flow-card h3 {
  margin-top: 18px;
  font-size: 20px;
}

.flow-card p {
  max-width: 280px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.flow-card-accent p {
  color: rgba(6, 16, 24, 0.7);
}

.community-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.7fr;
  align-items: center;
  gap: 100px;
  border-top: 1px solid var(--line);
}

.community-copy h2 {
  max-width: 660px;
}

.community-copy > p {
  max-width: 510px;
  margin-top: 25px;
  color: var(--muted);
  line-height: 1.7;
}

.community-copy .button {
  margin-top: 32px;
}

.community-mark {
  width: min(280px, 100%);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  margin-left: auto;
  border: 1px solid var(--line-strong);
}

.community-mark::before,
.community-mark::after {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid var(--line);
  transform: rotate(45deg);
}

.community-mark::after {
  transform: rotate(-45deg);
}

.mark-ring {
  width: 120px;
  height: 120px;
  border: 1px solid var(--acid);
  border-radius: 50%;
}

.mark-cross {
  position: absolute;
  background: var(--acid);
}

.mark-cross-x {
  width: 190px;
  height: 1px;
}

.mark-cross-y {
  width: 1px;
  height: 190px;
}

.community-mark strong {
  position: absolute;
  color: var(--acid);
  font-size: 35px;
  letter-spacing: -0.08em;
}

.community-mark small {
  position: absolute;
  bottom: 19px;
  color: var(--muted);
  font: 9px var(--font-mono);
  letter-spacing: 0.1em;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-block: 64px 34px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-title {
  max-width: 720px;
  color: var(--text);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

.footer-title .bi {
  align-items: center;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.footer-socials a:hover {
  color: var(--acid);
  background: var(--acid-soft);
  border-color: var(--acid);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

.footer-meta {
  color: var(--muted-strong);
  font: 11px var(--font-mono);
  text-align: center;
}

.footer-disclaimer {
  max-width: 760px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
  text-align: center;
}

.modal-backdrop {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1, 8, 12, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal {
  width: min(100%, 430px);
  position: relative;
  padding: 31px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 12px 12px 0 rgba(184, 243, 74, 0.1);
  transform: translateY(10px);
  transition: transform 180ms ease;
}

.modal-backdrop.open .auth-modal {
  transform: translateY(0);
}

.modal-close {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 17px;
  right: 17px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
}

.modal-close:hover {
  color: var(--acid);
  border-color: var(--acid);
}

.auth-mark {
  margin-bottom: 31px;
  color: var(--acid);
  font: 500 19px var(--font-mono);
  letter-spacing: 0.08em;
}

.auth-mark span {
  color: var(--yellow);
}

.auth-modal h2 {
  margin-top: 20px;
  font-size: 32px;
  letter-spacing: -0.05em;
}

.modal-copy {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 27px;
  border-bottom: 1px solid var(--line);
}

.auth-tab {
  padding: 13px 0;
  color: var(--muted);
  background: transparent;
  border-bottom: 2px solid transparent;
  font-size: 13px;
}

.auth-tab.active {
  color: var(--text);
  border-bottom-color: var(--acid);
}

.auth-modal form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.auth-modal label {
  display: grid;
  gap: 8px;
}

.auth-modal label span {
  color: var(--muted-strong);
  font: 10px var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.auth-modal input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  color: var(--text);
  background: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
}

.auth-modal input:focus {
  border-color: var(--acid);
}

.auth-modal .button {
  margin-top: 6px;
}

.auth-note {
  margin-top: 16px;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  max-width: min(360px, calc(100% - 44px));
  padding: 13px 16px;
  color: var(--ink);
  background: var(--acid);
  box-shadow: 8px 8px 0 rgba(184, 243, 74, 0.16);
  font-size: 12px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 46px;
    padding-top: 67px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-board {
    max-width: 620px;
  }

  .picks-layout {
    grid-template-columns: 1fr;
  }

  .slip-panel {
    position: relative;
    top: auto;
  }

  .community-section {
    gap: 50px;
  }
}

@media (max-width: 760px) {
  .section-frame,
  .site-header {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 72px;
    flex-wrap: wrap;
    gap: 14px;
    padding-block: 14px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .button-ghost {
    display: none;
  }

  .button-wallet {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 11px;
  }

  .language-toggle {
    min-height: 32px;
  }

  .language-toggle button {
    min-width: 36px;
    padding-inline: 8px;
    font-size: 10px;
  }

  .date-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .date-toolbar label {
    width: 100%;
    justify-content: space-between;
  }

  .date-toolbar select {
    min-width: 0;
    width: 170px;
  }

  .date-toolbar p {
    text-align: left;
  }

  .hero {
    min-height: auto;
    padding-block: 63px 54px;
  }

  h1 {
    font-size: clamp(47px, 15vw, 72px);
  }

  .hero-text {
    font-size: 14px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-footnote {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 37px;
  }

  .hero-board {
    min-height: 360px;
    padding: 18px;
  }


  .feature-teams strong {
    font-size: 20px;
  }

  .stats-strip,
  .performance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-cell,
  .stat-cell:first-child {
    min-height: 112px;
    padding: 18px 14px;
    border-bottom: 1px solid var(--line);
  }

  .stat-cell:nth-child(2) {
    border-right: 0;
  }

  .stat-cell:nth-child(3),
  .stat-cell:nth-child(4) {
    border-bottom: 0;
  }

  .picks-section,
  .flow-section,
  .community-section {
    padding-block: 80px;
  }

  .section-heading,
  .community-section {
    display: block;
  }

  .section-heading > p {
    margin-top: 22px;
  }

  .section-heading h2,
  .community-copy h2 {
    font-size: 42px;
  }
  .picks-section .section-heading h2,
  .flow-section .section-heading h2 {
    white-space: normal;
  }


  .results-section .section-heading h2 {
    white-space: normal;
  }


  .pick-grid,
  .flow-grid,
  .performance-grid {
    grid-template-columns: 1fr;
  }

  .completed-item {
    grid-template-columns: 1fr;
  }

  .completed-result {
    justify-items: start;
  }

  .pick-card {
    min-height: 230px;
  }

  .community-mark {
    margin: 58px auto 0;
  }

  .site-footer {
    gap: 18px;
    padding-block: 48px 30px;
  }

  .footer-title {
    font-size: 24px;
  }

  .footer-socials a {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 420px) {
  .brand small {
    display: none;
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .hero-board {
    box-shadow: 9px 9px 0 rgba(184, 243, 74, 0.08);
  }

  .board-date {
    padding-block: 19px;
  }

  .feature-match {
    padding: 15px 13px;
  }

  .feature-match-meta {
    display: block;
  }

  .feature-match-meta span {
    display: block;
  }

  .feature-match-meta span + span {
    margin-top: 7px;
  }

  .section-heading h2,
  .community-copy h2 {
    font-size: 37px;
  }

  .auth-modal {
    padding: 24px 20px;
  }
}
