/* ==========================================================================
   估波會 — Hong Kong matchday scoreboard design system
   Custom front-end for the GPL-3.0 Nostradamus-derived local preview.
   ========================================================================== */

:root {
  --ink: #0c1510;
  --ink-2: #121f17;
  --ink-3: #192a20;
  --pitch: #173d2a;
  --pitch-2: #205238;
  --paper: #f3efe5;
  --paper-2: #e5dfd1;
  --paper-3: #d6cebd;
  --lime: #d7ff3f;
  --lime-2: #bce62e;
  --orange: #ff6846;
  --sky: #73dcf7;
  --amber: #ffc94a;
  --red: #e94832;
  --muted: #8a978d;
  --muted-dark: #67736a;
  --line: rgba(243, 239, 229, 0.14);
  --line-dark: rgba(12, 21, 16, 0.15);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --radius-sm: 12px;
  --font: "Noto Sans TC", "Noto Sans HK", "PingFang HK", "Microsoft JhengHei",
    "Heiti TC", sans-serif;
  --font-mono: "SFMono-Regular", "Roboto Mono", "Courier New", monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 0%, rgba(215, 255, 63, 0.075), transparent 26rem),
    radial-gradient(circle at 95% 18%, rgba(255, 104, 70, 0.06), transparent 30rem),
    var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.22;
  background-image: linear-gradient(rgba(243, 239, 229, 0.035) 1px, transparent 1px);
  background-size: 100% 6px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: -0.035em;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.page-main {
  min-height: 62vh;
  padding-bottom: 96px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--lime);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Top ribbon, header and navigation
   -------------------------------------------------------------------------- */

.demo-ribbon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 7px 18px;
  background: var(--lime);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.02em;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
}

.demo-ribbon strong {
  font-weight: 900;
  letter-spacing: 0.03em;
}

.demo-ribbon__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 104, 70, 0.18);
}

.demo-ribbon__short {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(12, 21, 16, 0.91);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 10px 10px 10px 2px;
  transform: rotate(-2deg);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}

.brand__mark svg {
  width: 31px;
  height: 31px;
}

.brand__mark-letter {
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
}

.brand__type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -0.09em;
}

.brand__sub {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}

.desktop-nav a {
  position: relative;
  padding: 9px 13px;
  color: #bdc7bf;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--paper);
  background: rgba(243, 239, 229, 0.07);
}

.desktop-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
}

.account-nav {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-left: auto;
}

.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.account-chip__name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--avatar-color, var(--lime));
  color: var(--ink);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: -0.04em;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.avatar--sm {
  width: 28px;
  height: 28px;
  font-size: 9px;
}

.text-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #c7d0c9;
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 700;
}

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

.logout-form {
  display: inline-flex;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Buttons, pills, utility
   -------------------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.25;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.button:active {
  transform: translateY(0);
}

.button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.button--lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 4px 0 #7e9a17;
}

.button--lime:hover {
  background: #e2ff74;
}

.button--ink {
  background: var(--ink);
  color: var(--paper);
  border-color: rgba(243, 239, 229, 0.1);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.button--ink:hover {
  background: #1c3023;
}

.button--outline {
  background: transparent;
  color: var(--paper);
  border-color: rgba(243, 239, 229, 0.28);
}

.button--outline:hover {
  background: rgba(243, 239, 229, 0.08);
}

.button--wa {
  background: #20ba5a;
  color: #fff;
  box-shadow: 0 4px 0 #0b7534;
}

.button--wa:hover {
  background: #27cc65;
}

.button--danger {
  background: var(--orange);
  color: #1c0a06;
  box-shadow: 0 4px 0 #9c321d;
}

.button--sm {
  min-height: 36px;
  padding: 7px 13px;
  font-size: 12px;
  border-radius: 8px;
}

.button--large {
  min-height: 54px;
  padding: 15px 24px;
  font-size: 16px;
  border-radius: 12px;
}

.button--full {
  width: 100%;
}

.button:disabled {
  cursor: not-allowed;
  background: #39473e;
  color: #98a39b;
  box-shadow: none;
  transform: none;
  border-color: transparent;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 800;
  border-bottom: 1px solid rgba(243, 239, 229, 0.35);
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.pill--demo {
  background: var(--orange);
  color: #220d08;
}

.pill--private {
  background: rgba(12, 21, 16, 0.08);
  color: var(--ink);
  border: 1px solid rgba(12, 21, 16, 0.18);
}

.pill--private svg {
  width: 12px;
  height: 12px;
}

.pill--soft {
  background: rgba(215, 255, 63, 0.16);
  color: #3e5010;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  background: rgba(12, 21, 16, 0.07);
  color: var(--ink);
}

.status-pill--open {
  background: rgba(23, 61, 42, 0.09);
  color: #235238;
}

.status-pill--locked {
  background: rgba(255, 201, 74, 0.22);
  color: #66490a;
}

.status-pill--result {
  background: rgba(255, 104, 70, 0.16);
  color: #8a2c18;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-pill--open .status-dot {
  box-shadow: 0 0 0 3px rgba(35, 82, 56, 0.12);
}

.points {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.5;
  white-space: nowrap;
}

.points--lime {
  background: var(--lime);
  color: var(--ink);
}

.points--sky {
  background: var(--sky);
  color: #07262d;
}

.points--amber {
  background: var(--amber);
  color: #3c2a00;
}

.points--muted {
  background: rgba(12, 21, 16, 0.08);
  color: #69746c;
}

.panel {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
}

.panel h2,
.panel h3 {
  color: var(--ink);
}

.panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.panel__head h2 {
  margin: 2px 0 0;
  font-size: 26px;
}

.panel__meta {
  color: var(--muted-dark);
  font-size: 11px;
  font-weight: 700;
  text-align: right;
  line-height: 1.45;
}

.panel-fine {
  margin: 12px 0 0;
  color: var(--muted-dark);
  font-size: 11px;
  line-height: 1.6;
}

.section-kicker {
  display: block;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(243, 239, 229, 0.22);
  border-radius: 999px;
  color: #d9e2db;
  background: rgba(243, 239, 229, 0.04);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 104, 70, 0.16);
}

.eyebrow--dark {
  border-color: rgba(12, 21, 16, 0.2);
  color: var(--ink);
  background: rgba(12, 21, 16, 0.05);
}

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

.section-heading h2 {
  margin: 5px 0 0;
  font-size: clamp(27px, 4vw, 42px);
}

.section-heading > p {
  max-width: 390px;
  margin: 0;
  color: #a9b5ac;
  font-size: 13px;
}

.section-heading--light h2 {
  color: var(--paper);
}

/* --------------------------------------------------------------------------
   Flash and toasts
   -------------------------------------------------------------------------- */

.flash-stack {
  display: grid;
  gap: 8px;
  padding-top: 16px;
}

.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.flash--success {
  border-left: 5px solid var(--lime-2);
}

.flash--error {
  border-left: 5px solid var(--orange);
}

.flash--info {
  border-left: 5px solid var(--sky);
}

.flash__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  padding: 0 4px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 150;
  transform: translate(-50%, 20px);
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */

.home-page .page-main {
  padding-top: 0;
}

.hero {
  position: relative;
  padding: clamp(28px, 4vw, 48px) 0 30px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, transparent 49.6%, rgba(243, 239, 229, 0.045) 49.8%, rgba(243, 239, 229, 0.045) 50.2%, transparent 50.4%) 0 0 / 86px 86px,
    radial-gradient(ellipse at 80% 55%, rgba(215, 255, 63, 0.08), transparent 46%);
  pointer-events: none;
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  align-items: end;
  gap: clamp(28px, 5vw, 70px);
}

.hero__copy h1 {
  max-width: 820px;
  margin: 16px 0 15px;
  font-size: clamp(45px, 5.8vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.07em;
  font-weight: 950;
}

.hero__copy h1 span {
  color: var(--lime);
}

.hero__lede {
  max-width: 590px;
  margin-bottom: 18px;
  color: #bcc7bf;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.72;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__fact {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #aebbb1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero__fact strong {
  color: var(--paper);
  font-size: 14px;
  font-weight: 900;
}

.hero__board {
  position: relative;
  padding: 9px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  transform: rotate(1.1deg);
  box-shadow: 9px 10px 0 rgba(0, 0, 0, 0.27), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.hero__board::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 23px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 220px 0 var(--ink);
}

.scoreboard-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
}

.scoreboard-strip__label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.scoreboard-strip__status {
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--orange);
  color: var(--ink);
  font-size: 9px;
  font-weight: 900;
}

.scoreboard-strip__body {
  padding: 11px 11px 4px;
}

.scoreboard-strip__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(12, 21, 16, 0.14);
  font-size: 10px;
}

.scoreboard-strip__row:last-child {
  border-bottom: 0;
}

.scoreboard-strip__row span {
  color: var(--muted-dark);
}

.scoreboard-strip__row strong {
  font-size: 11px;
  font-weight: 900;
}

.hero-progress {
  padding: 12px;
  background: var(--lime);
  border-radius: 8px;
}

.hero-progress__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 800;
}

.hero-progress__top strong {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 900;
}

.meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(12, 21, 16, 0.18);
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
  transition: width 0.25s ease;
}

.hero-progress__hint {
  margin: 7px 0 0;
  font-size: 9px;
  line-height: 1.4;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Pick sheet and match cards
   -------------------------------------------------------------------------- */

.pick-section {
  padding: 26px 0 62px;
  scroll-margin-top: 90px;
}

.pick-section .section-heading {
  margin-bottom: 14px;
}

.live-progress {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c3cec5;
  font-size: 11px;
  font-weight: 700;
}

.live-progress strong {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 13px;
}

.live-progress__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(215, 255, 63, 0.4);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(215, 255, 63, 0);
  }
}

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

.match-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 35%),
    var(--paper);
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 18px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.17);
}

.match-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 100% 0, rgba(215, 255, 63, 0.2), transparent 28%);
}

.match-card--featured {
  border-color: rgba(215, 255, 63, 0.7);
}

.match-card.is-locked {
  background: var(--paper-2);
}

.match-card.is-result {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 40%),
    var(--paper);
}

.match-card__top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.match-card__labels {
  display: flex;
  align-items: center;
  gap: 8px;
}

.match-card__number {
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.match-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 14px;
  margin-bottom: 14px;
  color: var(--muted-dark);
  font-size: 10px;
  font-weight: 700;
}

.match-card__kickoff {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #34483b;
  font-size: 11px;
  font-weight: 900;
}

.match-card__kickoff svg {
  width: 14px;
  height: 14px;
}

.match-card__venue {
  font-size: 9px;
  opacity: 0.76;
}

.fixture {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 2px 0 15px;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.team--away {
  align-items: flex-end;
  text-align: right;
}

.crest {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 7px;
  border-radius: 14px 14px 14px 4px;
  background: var(--crest, var(--pitch));
  color: var(--crest-ink, var(--paper));
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.05em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 3px 0 rgba(0, 0, 0, 0.16);
}

.team--away .crest {
  border-radius: 14px 14px 4px 14px;
}

.crest--sm {
  width: 28px;
  height: 28px;
  margin: 0;
  border-radius: 8px 8px 8px 2px;
  font-size: 9px;
  box-shadow: none;
}

.crest--xl {
  width: 78px;
  height: 78px;
  border-radius: 24px 24px 24px 7px;
  font-size: 23px;
}

.team__name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(16px, 3.8vw, 24px);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1.2;
}

.team__side {
  margin-top: 2px;
  color: var(--muted-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.scoreline {
  display: flex;
  align-items: center;
  gap: 4px;
}

.score-input input {
  width: 54px;
  height: 62px;
  padding: 0;
  border: 2px solid rgba(12, 21, 16, 0.18);
  border-radius: 10px;
  background: #fffdf5;
  color: var(--ink);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
  appearance: textfield;
  -moz-appearance: textfield;
  transition: border 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.score-input input::-webkit-outer-spin-button,
.score-input input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.score-input input:focus {
  border-color: var(--pitch);
  background: #fff;
  outline: 3px solid rgba(215, 255, 63, 0.7);
  outline-offset: 1px;
}

.score-input input.is-filled {
  border-color: var(--pitch);
  background: var(--lime);
}

.score-colon {
  color: #5c685f;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 900;
}

.score-static {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 54px;
  border-radius: 8px;
  background: rgba(12, 21, 16, 0.82);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
}

.score-static--empty {
  color: #758178;
  background: rgba(12, 21, 16, 0.08);
}

.comparison {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0 0 13px;
  border: 1px solid rgba(12, 21, 16, 0.16);
  border-radius: 10px;
  background: rgba(12, 21, 16, 0.14);
}

.comparison__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  padding: 8px 5px;
  background: #eee9dc;
  text-align: center;
}

.comparison__cell--actual {
  background: var(--ink);
  color: var(--paper);
}

.comparison__cell--score {
  background: var(--lime);
}

.comparison__label {
  color: var(--muted-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.comparison__cell--actual .comparison__label {
  color: #aab6ad;
}

.comparison__cell--score .comparison__label {
  color: #46570b;
}

.comparison__cell strong {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.comparison__cell--score strong {
  font-size: 20px;
}

.comparison__cell em {
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.comparison__final {
  color: #9aa69c;
}

.comparison__cell--score em {
  color: #3c4b09;
}

.locked-reveal {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px dashed rgba(12, 21, 16, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.22);
}

.locked-reveal > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.locked-reveal__label {
  color: var(--muted-dark);
  font-size: 8px;
  font-weight: 800;
}

.locked-reveal strong {
  font-family: var(--font-mono);
  font-size: 16px;
}

.locked-reveal small {
  color: var(--muted-dark);
  font-size: 8px;
}

.waiting-stamp {
  margin-left: auto;
  padding: 3px 6px;
  border: 1px solid rgba(12, 21, 16, 0.3);
  color: #65522c;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
  transform: rotate(-4deg);
}

.editorial-locked-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: #536157;
  font-size: 10px;
  font-weight: 700;
}

.editorial-locked-note svg {
  width: 13px;
  height: 13px;
}

.match-card__hook {
  display: flex;
  gap: 9px;
  margin: 0 0 13px;
  padding-top: 12px;
  border-top: 1px dashed rgba(12, 21, 16, 0.18);
  color: #36483b;
  font-size: 12px;
  line-height: 1.62;
}

.match-card__hook span {
  flex: 0 0 auto;
  height: fit-content;
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--lime);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.match-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(12, 21, 16, 0.12);
}

.participation {
  color: var(--muted-dark);
  font-size: 9px;
  font-weight: 700;
}

.participation strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
}

.match-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  border-bottom: 1px solid rgba(12, 21, 16, 0.3);
}

.match-link:hover {
  color: #8a2c18;
}

.fan-split {
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 7px;
  background: rgba(12, 21, 16, 0.055);
}

.fan-split__head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  color: #526256;
  font-size: 8px;
  font-weight: 700;
}

.fan-split__bar {
  display: flex;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(12, 21, 16, 0.1);
}

.fan-split__home {
  background: var(--pitch);
}

.fan-split__draw {
  background: var(--amber);
}

.fan-split__away {
  background: var(--orange);
}

.fan-split__legend {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  color: var(--muted-dark);
  font-size: 7px;
  font-weight: 700;
}

/* Sticky submit dock */
.submit-dock {
  position: static;
  z-index: 30;
  margin-top: 16px;
  padding: 13px;
  border: 1px solid rgba(215, 255, 63, 0.24);
  border-radius: 14px;
  background: rgba(12, 21, 16, 0.96);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.48);
}

.submit-dock__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.submit-dock__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.submit-dock__copy strong {
  color: var(--paper);
  font-size: 13px;
  font-weight: 900;
}

.submit-dock__copy span {
  color: #98a79c;
  font-size: 9px;
  line-height: 1.4;
}

.button--submit {
  flex: 0 0 auto;
  min-width: 184px;
}

.submit-dock__fine {
  margin: 7px 2px 0;
  color: #7e8b81;
  font-size: 8px;
  line-height: 1.4;
}

.resume-banner,
.created-banner {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 18px auto;
  padding: 13px 16px;
  border: 1px solid rgba(215, 255, 63, 0.4);
  border-radius: 12px;
  background: rgba(215, 255, 63, 0.1);
  color: var(--paper);
}

.resume-banner {
  width: min(1180px, calc(100% - 40px));
}

.resume-banner div {
  display: flex;
  flex-direction: column;
}

.resume-banner strong {
  color: var(--lime);
  font-size: 13px;
}

.resume-banner span {
  color: #adb9b0;
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   Home lower sections
   -------------------------------------------------------------------------- */

.why-return {
  padding: 58px 0 68px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 229, 0.025);
}

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

.loop-card {
  position: relative;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(243, 239, 229, 0.06), transparent);
}

.loop-card__num {
  display: block;
  margin-bottom: 42px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
}

.loop-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.loop-card p {
  margin: 0;
  color: #aab5ac;
  font-size: 12px;
  line-height: 1.7;
}

.friends-cta {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 30px;
  align-items: center;
  margin: 64px 0;
  padding: clamp(26px, 5vw, 54px);
  border-radius: 24px;
  background: var(--lime);
  color: var(--ink);
  overflow: hidden;
}

.friends-cta .section-kicker {
  color: #5b6e0b;
}

.friends-cta h2 {
  margin: 7px 0 12px;
  font-size: clamp(34px, 5.4vw, 62px);
  letter-spacing: -0.07em;
}

.friends-cta p {
  max-width: 530px;
  color: #34420d;
  font-size: 13px;
  line-height: 1.75;
}

.friends-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.friends-cta .text-link {
  color: var(--ink);
  border-color: rgba(12, 21, 16, 0.4);
}

.friends-cta__ticket {
  position: relative;
  padding: 23px;
  border: 1px solid rgba(12, 21, 16, 0.25);
  border-radius: 12px;
  background: var(--paper);
  transform: rotate(2deg);
  box-shadow: 8px 9px 0 rgba(12, 21, 16, 0.22);
}

.friends-cta__ticket::before,
.friends-cta__ticket::after {
  content: "";
  position: absolute;
  left: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--lime);
}

.friends-cta__ticket::before {
  top: 24%;
}

.friends-cta__ticket::after {
  bottom: 18%;
}

.ticket-small {
  display: block;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.friends-cta__ticket > strong {
  display: block;
  margin: 7px 0 14px;
  font-size: 23px;
  letter-spacing: -0.06em;
}

.ticket-picks {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(12, 21, 16, 0.15);
  border-radius: 6px;
  background: rgba(12, 21, 16, 0.12);
}

.ticket-picks span {
  display: flex;
  justify-content: space-between;
  padding: 7px 9px;
  background: #faf7ee;
  font-size: 10px;
}

.ticket-picks b {
  font-family: var(--font-mono);
}

.ticket-stamp {
  position: absolute;
  right: 16px;
  bottom: 12px;
  padding: 2px 5px;
  border: 1px solid rgba(12, 21, 16, 0.4);
  color: #6f3c2d;
  font-size: 8px;
  font-weight: 900;
  transform: rotate(-7deg);
}

.seo-home {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 44px;
  padding: 30px 0 55px;
}

.seo-home__main h2 {
  margin: 6px 0 14px;
  font-size: clamp(29px, 4vw, 44px);
}

.seo-home__main p {
  color: #acb7ae;
  font-size: 13px;
  line-height: 1.85;
}

.seo-home__main h3 {
  margin: 25px 0 10px;
  font-size: 18px;
}

.seo-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--line);
}

.seo-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: var(--ink-2);
}

.seo-list a {
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
}

.seo-list a:hover {
  color: var(--lime);
}

.seo-list span {
  color: var(--muted);
  font-size: 9px;
}

.source-note {
  align-self: start;
  padding: 22px;
  border: 1px solid rgba(243, 239, 229, 0.16);
  border-radius: 14px;
  background: rgba(243, 239, 229, 0.04);
}

.source-note h3,
.source-note h2 {
  margin-bottom: 10px;
  font-size: 19px;
}

.source-note p {
  color: #a9b4ac;
  font-size: 11px;
  line-height: 1.75;
}

.source-note ul {
  margin: 12px 0;
  padding-left: 16px;
  color: #a9b4ac;
  font-size: 10px;
  line-height: 1.7;
}

.source-note a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.source-note__stamp {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #6f7e73 !important;
  font-family: var(--font-mono);
  font-size: 8px !important;
}

.faq {
  padding: 12px 0 54px;
}

.faq > h2 {
  margin-bottom: 16px;
  font-size: 30px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 15px 32px 15px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  list-style: none;
}

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

.faq summary::after {
  content: "＋";
  position: absolute;
  right: 3px;
  top: 12px;
  color: var(--lime);
  font-size: 18px;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 760px;
  margin: 0 0 18px;
  color: #a8b4ab;
  font-size: 12px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Round page
   -------------------------------------------------------------------------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 18px 0;
  color: #7f8d82;
  font-size: 10px;
  font-weight: 700;
}

.breadcrumb a {
  color: #aab6ad;
}

.breadcrumb a:hover {
  color: var(--lime);
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 0 34px;
}

.page-heading h1 {
  margin: 13px 0 13px;
  font-size: clamp(38px, 6vw, 68px);
  letter-spacing: -0.07em;
}

.page-heading p {
  max-width: 680px;
  margin-bottom: 14px;
  color: #b1bcb3;
  font-size: 13px;
  line-height: 1.8;
}

.page-heading__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-heading__meta span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #a4b0a7;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-heading__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 116px;
  height: 132px;
  border: 1px solid rgba(215, 255, 63, 0.35);
  border-radius: 12px;
  background: rgba(215, 255, 63, 0.06);
  color: #96a49a;
  font-size: 9px;
  line-height: 1.4;
}

.page-heading__badge strong {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 57px;
  line-height: 1;
}

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

.round-sidebar {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 96px;
}

.sidebar-card {
  padding: 18px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
}

.sidebar-card h2 {
  margin-bottom: 12px;
  font-size: 17px;
}

.sidebar-card p {
  color: #4e5c51;
  font-size: 11px;
  line-height: 1.7;
}

.sidebar-card--lime {
  background: var(--lime);
}

.sidebar-card--lime p {
  color: #3d4c0c;
}

.sidebar-card--quiet {
  background: rgba(243, 239, 229, 0.06);
  color: var(--paper);
  border: 1px solid var(--line);
}

.sidebar-card--quiet h2 {
  color: var(--paper);
}

.sidebar-card--quiet p {
  color: #9eaba1;
}

.sidebar-card--quiet .text-link {
  margin-top: 5px;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: flex;
  gap: 10px;
  position: relative;
  padding-bottom: 17px;
}

.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  bottom: 0;
  width: 1px;
  background: rgba(12, 21, 16, 0.15);
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border: 2px solid var(--pitch);
  border-radius: 50%;
  background: var(--paper);
}

.timeline li.is-done .timeline__dot {
  background: var(--orange);
  border-color: var(--orange);
}

.timeline li div {
  display: flex;
  flex-direction: column;
}

.timeline strong {
  font-size: 10px;
  line-height: 1.4;
}

.timeline span,
.timeline em {
  color: var(--muted-dark);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.6;
}

.timeline em {
  color: #93412d;
}

.round-explainer {
  margin-top: 40px;
  padding: 30px 0 10px;
  border-top: 1px solid var(--line);
}

.round-explainer h2 {
  margin-bottom: 16px;
  font-size: 26px;
}

.round-explainer > p {
  max-width: 760px;
  color: #99a69c;
  font-size: 12px;
}

.rule-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 720px;
  margin-bottom: 14px;
}

.rule-strip div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(243, 239, 229, 0.03);
}

.rule-strip strong {
  display: block;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 25px;
  line-height: 1;
}

.rule-strip span {
  color: #9da99f;
  font-size: 9px;
}

.round-sources {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.7fr);
  gap: 22px;
  margin-top: 25px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(243, 239, 229, 0.03);
}

.round-sources h2 {
  margin-bottom: 5px;
  font-size: 18px;
}

.round-sources p {
  margin: 0;
  color: #9eaaa1;
  font-size: 10px;
  line-height: 1.7;
}

.round-sources__links {
  display: grid;
  gap: 4px;
}

.round-sources__links a {
  color: var(--lime);
  font-size: 9px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.round-sources__stamp {
  grid-column: 1 / -1;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: #69776d !important;
  font-family: var(--font-mono);
  font-size: 8px !important;
}

/* --------------------------------------------------------------------------
   Submitted / share page
   -------------------------------------------------------------------------- */

.success-hero {
  position: relative;
  padding: 38px 0 28px;
}

.success-hero h1 {
  max-width: 850px;
  margin: 15px 0 12px;
  font-size: clamp(42px, 6.5vw, 76px);
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.success-hero h1 span {
  color: var(--lime);
}

.success-hero p {
  max-width: 620px;
  color: #b5c0b7;
  font-size: 14px;
}

.success-burst {
  position: absolute;
  top: 18px;
  right: 2%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 142px;
  height: 142px;
  padding-top: 21px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  transform: rotate(8deg);
  color: var(--lime);
  opacity: 0.8;
}

.success-burst span:first-child {
  font-size: 57px;
  font-weight: 950;
  line-height: 1;
}

.success-burst span:last-child {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.share-ticket-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 24px;
  align-items: start;
}

.share-ticket {
  position: relative;
  overflow: hidden;
  padding: 25px;
  border-radius: 18px;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 10px 11px 0 rgba(0, 0, 0, 0.28);
}

.share-ticket::before,
.share-ticket::after {
  content: "";
  position: absolute;
  top: 56%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
}

.share-ticket::before {
  left: -12px;
}

.share-ticket::after {
  right: -12px;
}

.share-ticket__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}

.share-ticket__kicker {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.share-ticket__head h2 {
  margin: 4px 0 0;
  font-size: clamp(31px, 4vw, 48px);
  letter-spacing: -0.075em;
}

.submitted-stamp {
  padding: 3px 7px;
  border: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  transform: rotate(-5deg);
}

.share-ticket__picks {
  padding: 5px 0;
}

.share-pick {
  padding: 11px 0;
  border-bottom: 1px dashed rgba(12, 21, 16, 0.35);
}

.share-pick:last-child {
  border-bottom: 0;
}

.share-pick__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 3px;
  color: #47560d;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
}

.share-pick__num {
  font-weight: 900;
}

.share-pick__fixture {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.share-pick__team {
  font-size: clamp(15px, 2.2vw, 21px);
  font-weight: 950;
  letter-spacing: -0.055em;
}

.share-pick__team--right {
  text-align: right;
}

.share-pick__score {
  font-family: var(--font-mono);
  font-size: clamp(25px, 4vw, 36px);
  font-weight: 950;
  letter-spacing: -0.08em;
}

.share-pick__score i {
  padding: 0 3px;
  font-style: normal;
  opacity: 0.4;
}

.share-pick__scoreline {
  display: flex;
  justify-content: center;
  margin-top: 3px;
}

.share-pick .points--lime {
  background: var(--ink);
  color: var(--lime);
}

.share-ticket__footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.share-actions {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--ink-2);
}

.share-actions h2 {
  margin-bottom: 6px;
  font-size: 29px;
}

.share-actions__lede {
  margin-bottom: 17px;
  color: #9eaaa1;
  font-size: 11px;
}

.share-actions .button {
  margin-bottom: 9px;
}

.current-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 13px;
  padding: 12px;
  border: 1px solid rgba(215, 255, 63, 0.24);
  border-radius: 9px;
  background: rgba(215, 255, 63, 0.06);
}

.current-group__label {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.current-group strong {
  font-size: 17px;
}

.current-group > span:not(.current-group__label) {
  color: #98a59b;
  font-size: 9px;
}

.current-group .text-link {
  margin-top: 5px;
  align-self: flex-start;
  font-size: 10px;
}

.share-hint {
  color: #89968c;
  font-size: 9px;
  line-height: 1.5;
}

.copy-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 8px 0 15px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: #b5c0b7;
  font-size: 10px;
  font-weight: 700;
}

.copy-link:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.share-preview {
  padding: 11px 12px;
  border-left: 2px solid var(--orange);
  background: rgba(255, 255, 255, 0.03);
}

.share-preview__label {
  display: block;
  margin-bottom: 3px;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.share-preview p {
  margin: 0;
  color: #aab6ad;
  font-size: 10px;
  line-height: 1.65;
  white-space: pre-line;
}

.share-separation {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #818f84;
  font-size: 9px;
  line-height: 1.6;
}

.share-separation strong {
  color: #b4c0b6;
}

.next-steps {
  padding: 48px 0 20px;
}

.next-steps h2 {
  margin-bottom: 15px;
  font-size: 29px;
}

.next-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.next-step {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(243, 239, 229, 0.025);
  transition: background 0.15s ease;
}

.next-step:hover {
  background: rgba(243, 239, 229, 0.06);
}

.next-step > span {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
}

.next-step strong {
  display: block;
  margin: 9px 0 4px;
  font-size: 16px;
}

.next-step p {
  margin: 0;
  color: #99a69c;
  font-size: 10px;
  line-height: 1.6;
}

.group-dialog {
  width: min(480px, calc(100% - 32px));
  padding: 0;
  border: 1px solid rgba(243, 239, 229, 0.18);
  border-radius: 17px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.group-dialog::backdrop {
  background: rgba(4, 9, 6, 0.75);
  backdrop-filter: blur(5px);
}

.group-dialog__form {
  position: relative;
  padding: 28px;
}

.group-dialog__form h2 {
  margin: 5px 0 10px;
  font-size: 34px;
}

.group-dialog__form > p {
  color: #526157;
  font-size: 12px;
  line-height: 1.7;
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 29px;
  line-height: 1;
}

.dialog-fine {
  margin: 12px 0 0 !important;
  color: var(--muted-dark) !important;
  font-size: 9px !important;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.field {
  display: block;
  margin-bottom: 13px;
}

.field__label {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 900;
}

.field-input,
.field input[type="text"],
.field input[type="password"],
.field input[type="email"] {
  width: 100%;
  height: 47px;
  padding: 0 12px;
  border: 1px solid rgba(12, 21, 16, 0.23);
  border-radius: 8px;
  background: #fffdf7;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.field-input:focus {
  border-color: var(--pitch);
  outline: 3px solid rgba(215, 255, 63, 0.65);
  outline-offset: 1px;
}

.field__help {
  margin: 4px 0 0;
  color: var(--muted-dark);
  font-size: 9px;
  line-height: 1.5;
}

.field__help ul {
  margin: 4px 0;
  padding-left: 16px;
}

.field__error {
  margin: 4px 0 0;
  color: #b33721;
  font-size: 10px;
  font-weight: 700;
}

.field--error .field-input {
  border-color: var(--red);
  background: #fff6f2;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(12, 21, 16, 0.1);
  cursor: pointer;
}

.check-row input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--pitch);
}

.check-row span {
  display: flex;
  flex-direction: column;
}

.check-row strong {
  font-size: 11px;
}

.check-row small {
  color: var(--muted-dark);
  font-size: 9px;
  line-height: 1.5;
}

.form-alert {
  display: grid;
  gap: 3px;
  margin-bottom: 15px;
  padding: 10px 12px;
  border-left: 4px solid var(--red);
  border-radius: 5px;
  background: #ffebe5;
  color: #8b2816;
  font-size: 11px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Auth page
   -------------------------------------------------------------------------- */

.auth-page .site-footer,
.auth-page .mobile-tabbar {
  display: none;
}

.auth-page .account-nav {
  display: none;
}

.auth-page .page-main {
  max-width: none;
  padding: 0;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
  min-height: calc(100vh - 110px);
}

.auth-aside {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 66px);
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 104, 70, 0.15), transparent 26rem),
    var(--pitch);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.auth-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(243, 239, 229, 0.055) 1px, transparent 1px);
  background-size: 100% 8px;
  pointer-events: none;
}

.brand--auth {
  position: relative;
  z-index: 1;
}

.auth-aside__copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.auth-aside__copy h1 {
  margin: 17px 0 17px;
  font-size: clamp(39px, 5.7vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.auth-aside__copy h1 span {
  color: var(--lime);
}

.auth-aside__copy p {
  max-width: 500px;
  color: #bdcec1;
  font-size: 13px;
  line-height: 1.8;
}

.auth-ticket {
  position: relative;
  z-index: 1;
  max-width: 430px;
  padding: 16px;
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  transform: rotate(-1.4deg);
  box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.25);
}

.auth-ticket > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(12, 21, 16, 0.2);
}

.auth-ticket > div:last-of-type {
  border-bottom: 0;
}

.auth-ticket span {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
}

.auth-ticket strong {
  font-family: var(--font-mono);
  font-size: 19px;
}

.auth-ticket__stamp {
  display: block;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 2px solid var(--ink);
  color: #6f3c2d;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: 0.1em;
  text-align: right;
}

.auth-card {
  width: min(440px, calc(100% - 48px));
  margin: auto;
  padding: 35px 0;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  width: fit-content;
  margin-bottom: 27px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(243, 239, 229, 0.03);
}

.auth-tabs a {
  padding: 7px 17px;
  border-radius: 5px;
  color: #96a399;
  font-size: 11px;
  font-weight: 800;
}

.auth-tabs a.is-active {
  background: var(--paper);
  color: var(--ink);
}

.auth-card__head h2 {
  margin: 6px 0 8px;
  font-size: clamp(29px, 3.4vw, 39px);
}

.auth-card__head p {
  margin-bottom: 20px;
  color: #96a399;
  font-size: 11px;
  line-height: 1.7;
}

.auth-form .button {
  margin-top: 19px;
}

.auth-switch {
  margin: 16px 0 0;
  color: #89968c;
  font-size: 10px;
  text-align: center;
}

.auth-switch a {
  color: var(--lime);
  font-weight: 800;
}

.test-accounts {
  margin-top: 22px;
  padding: 11px 13px;
  border: 1px dashed rgba(215, 255, 63, 0.3);
  border-radius: 8px;
  background: rgba(215, 255, 63, 0.04);
}

.test-accounts summary {
  color: #a8b5ab;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.test-accounts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 10px 0;
}

.test-accounts__grid div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px;
  border-radius: 4px;
  background: rgba(243, 239, 229, 0.06);
}

.test-accounts code,
.test-account code {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 10px;
}

.test-accounts__grid span {
  color: #8d9b90;
  font-size: 7px;
}

.test-accounts p {
  margin: 0;
  color: #8d9b90;
  font-size: 9px;
}

.test-accounts p code {
  font-size: 9px;
}

.auth-guest {
  margin-top: 23px;
  color: #78867b;
  font-size: 10px;
  text-align: center;
}

.auth-guest a:hover {
  color: var(--lime);
}

/* --------------------------------------------------------------------------
   Match detail
   -------------------------------------------------------------------------- */

.match-page__body {
  padding-bottom: 30px;
}

.match-hero {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(120deg, rgba(215, 255, 63, 0.08), transparent 35%),
    radial-gradient(ellipse at 50% 0, rgba(255, 255, 255, 0.055), transparent 55%),
    var(--ink-2);
  overflow: hidden;
}

.match-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background: repeating-linear-gradient(90deg, transparent 0 70px, rgba(243, 239, 229, 0.035) 70px 71px);
}

.match-hero__tags {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.match-hero .status-pill {
  background: rgba(243, 239, 229, 0.09);
  color: #d2dcd4;
}

.match-hero .status-pill--locked {
  background: rgba(255, 201, 74, 0.17);
  color: #ffd979;
}

.match-hero .status-pill--result {
  background: rgba(255, 104, 70, 0.18);
  color: #ffb09e;
}

.match-hero .status-pill--open {
  background: rgba(215, 255, 63, 0.13);
  color: var(--lime);
}

.match-hero__comp {
  color: #8e9b91;
  font-size: 9px;
  font-weight: 700;
}

.match-hero__fixture {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  max-width: 820px;
  margin: 28px auto 22px;
}

.match-hero__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.match-hero__team h1 {
  margin: 9px 0 1px;
  font-size: clamp(25px, 4.7vw, 44px);
  letter-spacing: -0.07em;
}

.match-hero__team > span {
  color: #8e9b91;
  font-size: 9px;
  font-weight: 700;
}

.match-hero__centre {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.match-hero__score {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: clamp(53px, 9vw, 94px);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.12em;
}

.match-hero__score i {
  padding: 0 4px;
  font-style: normal;
  opacity: 0.4;
}

.match-hero__vs {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.match-hero__state {
  color: #a7b3a9;
  font-size: 9px;
  font-weight: 700;
}

.match-hero__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  max-width: 800px;
  margin: 0 auto;
}

.match-hero__meta > span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #b3bfb5;
  font-size: 9px;
}

.match-hero__meta strong {
  display: block;
  color: #7e8c81;
  font-size: 7px;
  letter-spacing: 0.06em;
}

.match-hero__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 22px;
}

.match-hero__deadline,
.match-hero__closed {
  margin: 0;
  color: #8d9b90;
  font-size: 9px;
}

.result-recap {
  margin-top: 16px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--lime);
  color: var(--ink);
  border-radius: 18px;
}

.result-recap__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
}

.result-recap__head h2 {
  margin: 4px 0 0;
  font-size: clamp(27px, 4vw, 41px);
  letter-spacing: -0.06em;
}

.result-recap__head .section-kicker {
  color: #52650a;
}

.result-recap__updated {
  color: #4c5e09;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
}

.recap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
}

.recap-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 17px 8px;
  background: var(--paper);
  text-align: center;
}

.recap-cell--editor {
  background: #e4dfd0;
}

.recap-cell--actual {
  background: var(--ink);
  color: var(--paper);
}

.recap-cell--points {
  background: var(--lime);
}

.recap-cell__label {
  color: #5a695d;
  font-size: 9px;
  font-weight: 800;
}

.recap-cell--actual .recap-cell__label {
  color: #a5b1a8;
}

.recap-cell strong {
  font-family: var(--font-mono);
  font-size: clamp(21px, 3vw, 29px);
  line-height: 1.2;
}

.recap-big {
  font-size: clamp(37px, 5vw, 51px) !important;
  line-height: 1 !important;
}

.recap-cell em {
  color: #58665a;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.recap-cell--points em {
  color: #405008;
}

.recap-cell__final {
  color: #97a298;
}

.recap-note {
  margin: 12px 0 0;
  color: #415207;
  font-size: 9px;
  line-height: 1.6;
}

.prematch-picks {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-2);
}

.prematch-picks__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.prematch-pick {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.prematch-pick__label {
  width: 100%;
  color: #869489;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.prematch-pick strong {
  font-family: var(--font-mono);
  font-size: 23px;
  color: var(--paper);
}

.prematch-pick strong.is-empty {
  color: #768479;
  font-size: 16px;
}

.prematch-pick small {
  color: #7e8b81;
  font-size: 8px;
}

.prematch-pick a {
  color: var(--lime);
  font-size: 9px;
  font-weight: 800;
  border-bottom: 1px solid rgba(215, 255, 63, 0.4);
}

.prematch-picks__note {
  margin: 8px 0 0;
  color: #7c8a80;
  font-size: 9px;
  line-height: 1.6;
}

.match-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

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

.article-block {
  padding: clamp(20px, 3vw, 31px);
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
}

.article-block h2 {
  margin: 5px 0 13px;
  font-size: clamp(27px, 3.6vw, 38px);
}

.article-lede {
  color: #1f3124 !important;
  font-size: clamp(16px, 2vw, 20px) !important;
  font-weight: 800;
  line-height: 1.65 !important;
  letter-spacing: -0.025em;
}

.article-block p {
  color: #4a5a4e;
  font-size: 13px;
  line-height: 1.85;
}

.editorial-verdict {
  display: flex;
  gap: 11px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px dashed rgba(12, 21, 16, 0.2);
}

.editorial-verdict__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--lime);
  font-size: 15px;
  font-weight: 900;
}

.editorial-verdict strong {
  font-size: 11px;
}

.editorial-verdict p {
  margin: 2px 0 0;
  color: #67746a;
  font-size: 10px;
  line-height: 1.6;
}

.facts-list {
  margin: 0;
}

.facts-list > div {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(12, 21, 16, 0.12);
}

.facts-list dt {
  color: var(--muted-dark);
  font-size: 9px;
  font-weight: 800;
}

.facts-list dd {
  margin: 0;
  color: #2d3f32;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}

.source-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 14px;
  padding: 13px;
  border-radius: 8px;
  background: rgba(12, 21, 16, 0.05);
}

.source-list > span:first-child {
  margin-bottom: 3px;
  color: var(--muted-dark);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.source-list a {
  color: #28513a;
  font-size: 10px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.source-list__note {
  margin-top: 4px;
  color: #6d7a70;
  font-size: 8px;
}

.fan-stats-block__count {
  padding: 9px 11px;
  border-radius: 6px;
  background: rgba(12, 21, 16, 0.055);
  color: #435347 !important;
  font-size: 10px !important;
}

.fan-stats-block__count strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 16px;
}

.stat-bar {
  display: flex;
  height: 16px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(12, 21, 16, 0.1);
}

.stat-bar__home {
  background: var(--pitch);
}

.stat-bar__draw {
  background: var(--amber);
}

.stat-bar__away {
  background: var(--orange);
}

.stat-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 9px;
  color: #526155;
  font-size: 9px;
}

.stat-legend strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-radius: 50%;
}

.dot--home {
  background: var(--pitch);
}

.dot--draw {
  background: var(--amber);
}

.dot--away {
  background: var(--orange);
}

.stat-note {
  margin: 9px 0 0 !important;
  color: #607064 !important;
  font-size: 9px !important;
}

.fan-stats-pending strong {
  font-family: var(--font-mono);
}

.match-content__side {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 95px;
}

.match-side-card dl {
  margin: 0 0 15px;
}

.match-side-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(12, 21, 16, 0.1);
}

.match-side-card dt {
  color: var(--muted-dark);
  font-size: 9px;
}

.match-side-card dd {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  text-align: right;
}

.other-games {
  display: grid;
  gap: 7px;
}

.other-games a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 7px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(12, 21, 16, 0.1);
}

.other-games a:last-child {
  border-bottom: 0;
}

.other-games span {
  font-size: 11px;
  font-weight: 800;
}

.other-games small {
  grid-column: 1;
  color: var(--muted-dark);
  font-size: 8px;
}

.other-games b {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Group page
   -------------------------------------------------------------------------- */

.invite-hero {
  position: relative;
  margin-top: 24px;
  padding: clamp(27px, 5vw, 58px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 104, 70, 0.16), transparent 28rem),
    var(--pitch);
  overflow: hidden;
}

.invite-hero::after {
  content: "PRIVATE";
  position: absolute;
  right: -20px;
  bottom: -20px;
  color: rgba(243, 239, 229, 0.055);
  font-family: var(--font-mono);
  font-size: clamp(70px, 13vw, 170px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  pointer-events: none;
}

.invite-hero__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 30px;
}

.invite-hero .pill--private {
  background: rgba(243, 239, 229, 0.12);
  color: #e7eee9;
  border-color: rgba(243, 239, 229, 0.18);
}

.invite-hero__count {
  color: #b3c4b8;
  font-size: 10px;
  font-weight: 800;
}

.invite-hero__kicker {
  position: relative;
  z-index: 1;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.invite-hero h1 {
  position: relative;
  z-index: 1;
  margin: 9px 0 11px;
  font-size: clamp(44px, 8vw, 94px);
  letter-spacing: -0.08em;
}

.invite-hero > p {
  position: relative;
  z-index: 1;
  max-width: 540px;
  color: #bdcbc0;
  font-size: 13px;
}

.invite-hero__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0;
}

.invite-hero__meta span {
  padding: 4px 8px;
  border: 1px solid rgba(243, 239, 229, 0.17);
  border-radius: 5px;
  color: #b2c0b5;
  font-size: 8px;
}

.invite-hero form,
.invite-hero > .button {
  position: relative;
  z-index: 1;
}

.invite-hero__login {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: #a1b0a4;
  font-size: 10px;
}

.invite-hero__login a {
  color: var(--lime);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.invite-fixtures {
  padding: 42px 0 18px;
}

.fixture-stack {
  display: grid;
  gap: 7px;
}

.fixture-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(243, 239, 229, 0.035);
}

.fixture-row__date {
  display: flex;
  flex-direction: column;
  color: #8b998e;
  font-size: 8px;
}

.fixture-row__date strong {
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 17px;
}

.fixture-row__teams {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.fixture-row__teams strong {
  font-size: 14px;
}

.fixture-row__vs {
  color: #718076;
  font-size: 9px;
}

.fixture-row .status-pill {
  background: rgba(243, 239, 229, 0.08);
  color: #c6d1c8;
}

.invite-fixtures__note {
  margin-top: 13px;
  color: #869489;
  font-size: 9px;
}

.invite-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: 25px 0;
  padding: 22px;
  border-radius: 13px;
  background: var(--lime);
  color: var(--ink);
}

.invite-bottom h2 {
  margin-bottom: 4px;
  font-size: 23px;
}

.invite-bottom p {
  margin: 0;
  color: #42510c;
  font-size: 10px;
}

.created-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 15px 0;
  padding: 13px 16px;
  border: 1px solid rgba(215, 255, 63, 0.4);
  border-radius: 10px;
  background: rgba(215, 255, 63, 0.08);
}

.created-banner__mark {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
}

.created-banner div:last-child {
  display: flex;
  flex-direction: column;
}

.created-banner strong {
  color: var(--lime);
  font-size: 12px;
}

.created-banner span {
  color: #9faca2;
  font-size: 10px;
}

.group-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  padding: 13px 0 23px;
}

.group-header__tags {
  display: flex;
  gap: 6px;
}

.group-header__tags .pill--private {
  background: rgba(243, 239, 229, 0.08);
  color: #b6c2b8;
  border-color: var(--line);
}

.group-header h1 {
  margin: 9px 0 6px;
  font-size: clamp(40px, 7vw, 70px);
  letter-spacing: -0.08em;
}

.group-header p {
  margin: 0;
  color: #94a197;
  font-size: 10px;
}

.group-header__rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  min-width: 105px;
  padding: 11px 16px;
  border: 1px solid rgba(215, 255, 63, 0.3);
  border-radius: 10px;
  background: rgba(215, 255, 63, 0.055);
}

.group-header__rank span {
  color: #94a197;
  font-size: 8px;
}

.group-header__rank strong {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 34px;
  line-height: 1.05;
}

.group-header__rank em {
  color: #b3bfb5;
  font-size: 9px;
  font-style: normal;
}

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

.group-main,
.group-sidebar {
  display: grid;
  gap: 13px;
}

.group-sidebar {
  position: sticky;
  top: 92px;
}

.leaderboard {
  overflow: hidden;
  border: 1px solid rgba(12, 21, 16, 0.13);
  border-radius: 9px;
}

.leaderboard__head {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) 60px 60px 60px;
  gap: 7px;
  padding: 7px 11px;
  background: rgba(12, 21, 16, 0.075);
  color: #627065;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.leaderboard__head span:nth-child(n + 3) {
  text-align: right;
}

.leader-row {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) 60px 60px 60px;
  align-items: center;
  gap: 7px;
  padding: 10px 11px;
  border-top: 1px solid rgba(12, 21, 16, 0.09);
  background: #f7f3e9;
}

.leader-row.is-me {
  background: var(--lime);
}

.rank {
  color: #536256;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
}

.rank__medal {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--ink);
  font-size: 11px;
}

.rank__medal--gold {
  background: #ffd84b;
}

.rank__medal--silver {
  background: #d4d8d4;
}

.rank__medal--bronze {
  background: #e0a174;
}

.leader-user {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.leader-user > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.leader-user strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: -0.02em;
}

.leader-user small {
  color: #6f7b71;
  font-size: 8px;
}

.you-tag {
  display: inline-block;
  margin-left: 3px;
  padding: 0 4px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--lime);
  font-size: 7px;
  font-style: normal;
  vertical-align: 1px;
}

.leader-stat {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 2px;
  color: #3f4f43;
}

.leader-stat strong {
  font-family: var(--font-mono);
  font-size: 14px;
}

.leader-stat small {
  font-size: 7px;
}

.leader-stat--total strong {
  font-size: 18px;
  color: var(--ink);
}

.leaderboard__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px;
  padding: 9px 4px 0;
  color: #6a776c;
  font-size: 8px;
}

.group-picks {
  display: grid;
  gap: 9px;
}

.group-pick-game {
  padding: 13px;
  border: 1px solid rgba(12, 21, 16, 0.13);
  border-radius: 8px;
  background: #faf7ef;
}

.group-pick-game__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.group-pick-game__time {
  color: var(--muted-dark);
  font-size: 7px;
  font-weight: 700;
}

.group-pick-game h3 {
  margin: 2px 0 0;
  font-size: 14px;
  letter-spacing: -0.03em;
}

.group-pick-game h3 span {
  color: #7b887d;
  font-size: 9px;
  font-weight: 500;
}

.group-pick-game .status-pill {
  font-size: 8px;
}

.group-pick-table {
  display: grid;
  gap: 2px;
}

.group-pick-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 60px 50px;
  align-items: center;
  gap: 7px;
  padding: 5px 6px;
  border-radius: 4px;
  background: rgba(12, 21, 16, 0.035);
}

.group-pick-row > span:nth-child(2) {
  font-size: 9px;
  font-weight: 700;
}

.group-pick-row > strong {
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: right;
}

.group-pick-row .points {
  justify-self: end;
  font-size: 8px;
}

.picks-hidden {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px dashed rgba(12, 21, 16, 0.2);
  border-radius: 5px;
  color: #5e6c61;
  font-size: 9px;
}

.picks-hidden svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

.invite-panel .copy-field {
  display: flex;
  margin: 11px 0;
  border: 1px solid rgba(12, 21, 16, 0.18);
  border-radius: 6px;
  overflow: hidden;
  background: #fffdf7;
}

.copy-field input {
  width: 100%;
  min-width: 0;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #526157;
  font-family: var(--font-mono);
  font-size: 8px;
}

.copy-field__button {
  flex: 0 0 auto;
  padding: 0 11px;
  border: 0;
  border-left: 1px solid rgba(12, 21, 16, 0.12);
  background: var(--ink);
  color: var(--lime);
  font-size: 8px;
  font-weight: 900;
}

.invite-panel .button {
  margin-bottom: 0;
}

.reminder-panel h2,
.invite-panel h2,
.quick-panel h2 {
  margin: 4px 0 9px;
  font-size: 22px;
}

.reminder-panel > p,
.invite-panel > p {
  color: #536157;
  font-size: 10px;
  line-height: 1.7;
}

.reminder-panel .button {
  margin-top: 11px;
}

.quick-progress {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 6px 0 12px;
}

.quick-progress strong {
  font-family: var(--font-mono);
  font-size: 37px;
  line-height: 1;
}

.quick-progress span {
  color: var(--muted-dark);
  font-size: 9px;
}

.quick-panel .text-link {
  display: inline-flex;
  margin-top: 11px;
  color: var(--ink);
}

.quick-panel .text-link:hover {
  color: #8a2c18;
}

.privacy-panel {
  background: rgba(243, 239, 229, 0.05);
  color: var(--paper);
  border: 1px solid var(--line);
}

.privacy-panel h2 {
  color: var(--paper);
  margin-bottom: 7px;
  font-size: 19px;
}

.privacy-panel p {
  margin: 0;
  color: #9ba89e;
  font-size: 9px;
  line-height: 1.7;
}

.empty-state {
  margin: 0;
  padding: 16px;
  color: #6d7a70;
  font-size: 11px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Dashboard / editorial / demo
   -------------------------------------------------------------------------- */

.dashboard-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 31px 0 25px;
}

.dashboard-head h1 {
  margin: 5px 0 7px;
  font-size: clamp(40px, 6vw, 67px);
  letter-spacing: -0.075em;
}

.dashboard-head p {
  max-width: 660px;
  margin: 0;
  color: #9eaaa1;
  font-size: 12px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  align-items: start;
}

.dashboard-round {
  grid-column: 1 / -1;
}

.dashboard-progress {
  display: flex;
  align-items: center;
  gap: 22px;
}

.dashboard-progress__ring {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex: 0 0 112px;
  height: 112px;
  border: 7px solid rgba(12, 21, 16, 0.1);
  border-top-color: var(--pitch);
  border-right-color: var(--pitch);
  border-radius: 50%;
}

.dashboard-progress__ring strong {
  font-family: var(--font-mono);
  font-size: 35px;
  line-height: 1;
}

.dashboard-progress__ring span {
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 13px;
}

.dashboard-progress > div:last-child strong {
  font-size: 17px;
}

.dashboard-progress > div:last-child p {
  margin: 5px 0 8px;
  color: #5c6b60;
  font-size: 11px;
}

.dashboard-progress .text-link {
  color: var(--ink);
}

.dashboard-progress .text-link:hover {
  color: #8a2c18;
}

.group-list,
.submission-list,
.reminder-list {
  display: grid;
  gap: 2px;
}

.group-list__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 6px;
  background: rgba(12, 21, 16, 0.035);
}

.group-list__item:hover {
  background: rgba(12, 21, 16, 0.07);
}

.group-list__badge {
  display: grid;
  place-items: center;
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--lime);
  font-size: 10px;
  font-weight: 900;
}

.group-list__item > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.group-list__item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.group-list__item small {
  color: var(--muted-dark);
  font-size: 8px;
}

.group-list__item b {
  margin-left: auto;
  color: #8a978d;
}

.create-group-inline {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px dashed rgba(12, 21, 16, 0.16);
}

.create-group-inline summary {
  color: #415247;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.create-group-inline form {
  margin-top: 12px;
}

.submission-row,
.reminder-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(12, 21, 16, 0.09);
}

.submission-row > div,
.reminder-list > div {
  display: flex;
  flex-direction: column;
}

.submission-row strong,
.reminder-list strong {
  font-size: 11px;
}

.submission-row span,
.reminder-list span {
  color: var(--muted-dark);
  font-size: 8px;
}

.account-details {
  margin: 0 0 15px;
}

.account-details > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(12, 21, 16, 0.09);
}

.account-details dt {
  color: var(--muted-dark);
  font-size: 9px;
}

.account-details dd {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
}

.account-details code {
  font-family: var(--font-mono);
  font-size: 10px;
}

/* Editorial */
.editorial-note,
.demo-warning {
  margin-bottom: 15px;
  padding: 12px 15px;
  border-left: 4px solid var(--lime);
  border-radius: 5px;
  background: rgba(215, 255, 63, 0.08);
  color: #b8c5ba;
  font-size: 11px;
  line-height: 1.65;
}

.editorial-note strong {
  color: var(--lime);
}

.editorial-list {
  padding: 0;
  overflow: hidden;
}

.editorial-list > .panel__head {
  padding: 20px 24px 0;
}

.editorial-row {
  padding: 19px 24px;
  border-top: 1px solid rgba(12, 21, 16, 0.1);
}

.editorial-row.is-locked {
  background: rgba(12, 21, 16, 0.035);
}

.editorial-row__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.editorial-row__time {
  color: var(--muted-dark);
  font-size: 8px;
  font-weight: 700;
}

.editorial-row h3 {
  margin: 2px 0 0;
  font-size: 21px;
}

.editorial-row h3 span {
  color: #849187;
  font-size: 11px;
  font-weight: 500;
}

.editorial-form {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: 13px;
}

.editorial-form__scores {
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.editorial-form__scores label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.editorial-form__scores label span {
  color: var(--muted-dark);
  font-size: 7px;
}

.tiny-score {
  width: 60px;
  height: 45px;
  padding: 0;
  border: 1.5px solid rgba(12, 21, 16, 0.22);
  border-radius: 6px;
  background: #fffdf7;
  color: var(--ink);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 900;
  appearance: textfield;
  -moz-appearance: textfield;
}

.tiny-score::-webkit-outer-spin-button,
.tiny-score::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.editorial-form__colon {
  padding-bottom: 9px;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 900;
}

.editorial-row__stamp {
  margin: 7px 0 0;
  color: #7b887e;
  font-size: 8px;
}

.editorial-sealed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 10px;
  padding: 11px;
  border: 1px dashed rgba(12, 21, 16, 0.22);
  border-radius: 7px;
}

.editorial-sealed > div {
  display: flex;
  flex-direction: column;
}

.editorial-sealed span {
  color: var(--muted-dark);
  font-size: 8px;
}

.editorial-sealed strong {
  font-family: var(--font-mono);
  font-size: 23px;
}

.editorial-sealed small {
  color: var(--muted-dark);
  font-size: 8px;
}

.sealed-badge {
  padding: 3px 7px;
  border: 1px solid #916436;
  color: #755221 !important;
  font-family: var(--font-mono);
  font-size: 8px !important;
  font-weight: 900;
  transform: rotate(-4deg);
}

.editorial-tools,
.rules-test {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 15px;
  padding: 23px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
}

.editorial-tools h2,
.rules-test h2 {
  margin-bottom: 4px;
  font-size: 23px;
}

.editorial-tools p,
.rules-test p {
  margin: 0;
  color: #43520d;
  font-size: 10px;
}

/* Demo */
.demo-head {
  padding-bottom: 17px;
}

.demo-warning {
  border-left-color: var(--orange);
  background: rgba(255, 104, 70, 0.09);
  color: #d6b7ae;
}

.demo-warning strong {
  color: var(--orange);
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}

.demo-main {
  display: grid;
  gap: 13px;
}

.demo-games {
  display: grid;
}

.demo-game {
  padding: 17px 0;
  border-top: 1px solid rgba(12, 21, 16, 0.1);
}

.demo-game:first-child {
  border-top: 0;
  padding-top: 4px;
}

.demo-game__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 13px;
}

.demo-game__index {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 900;
}

.demo-game h3 {
  margin: 1px 0 2px;
  font-size: 21px;
}

.demo-game h3 span {
  color: #849187;
  font-size: 10px;
  font-weight: 500;
}

.demo-game p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 8px;
}

.demo-game__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0;
}

.demo-game__facts span {
  padding: 3px 6px;
  border-radius: 3px;
  background: rgba(12, 21, 16, 0.055);
  color: #536157;
  font-size: 8px;
}

.demo-game__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.demo-game__actions form {
  margin: 0;
}

.inline-result-form {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.inline-result-form label {
  display: flex;
  align-items: center;
  gap: 3px;
}

.inline-result-form label span {
  color: var(--muted-dark);
  font-size: 8px;
}

.demo-game__hint {
  flex-basis: 100%;
  color: #78857a !important;
  font-size: 8px !important;
}

.reset-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 104, 70, 0.24);
  background: #f5e9e5;
}

.reset-panel h2 {
  margin-bottom: 3px;
  font-size: 21px;
}

.reset-panel p {
  margin: 0;
  color: #6d554d;
  font-size: 9px;
}

.demo-sidebar {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 95px;
}

.test-account-panel h2 {
  font-size: 22px;
}

.test-account {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(12, 21, 16, 0.08);
}

.test-account span {
  color: var(--muted-dark);
  font-size: 8px;
  text-align: right;
}

.test-account-panel p {
  margin: 8px 0 0;
  color: var(--muted-dark);
  font-size: 9px;
}

.demo-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-steps li {
  display: flex;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(12, 21, 16, 0.08);
}

.demo-steps li:last-child {
  border-bottom: 0;
}

.demo-steps li > span {
  display: grid;
  place-items: center;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 900;
}

.demo-steps p {
  margin: 0;
  color: #536157;
  font-size: 9px;
  line-height: 1.6;
}

.demo-steps strong {
  color: var(--ink);
}

.quick-links {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(12, 21, 16, 0.12);
}

.quick-links a {
  padding: 7px 9px;
  background: #faf7ef;
  font-size: 9px;
  font-weight: 700;
}

.quick-links a:hover {
  background: var(--lime);
}

/* --------------------------------------------------------------------------
   Rules / privacy / prose
   -------------------------------------------------------------------------- */

.page-heading--article {
  display: block;
  padding-bottom: 30px;
}

.page-heading--article h1 {
  max-width: 850px;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
}

.rule-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(243, 239, 229, 0.03);
}

.rule-card--wide {
  grid-column: 1 / -1;
  background: var(--paper);
  color: var(--ink);
}

.rule-card--wide p {
  max-width: 780px;
  color: #4c5b50;
}

.rule-card__num {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
}

.rule-card--wide .rule-card__num {
  color: var(--orange);
}

.rule-card h2 {
  margin: 8px 0 7px;
  font-size: 22px;
}

.rule-card p {
  margin: 0;
  color: #a2aea4;
  font-size: 11px;
  line-height: 1.75;
}

.scoring-section {
  margin: 42px 0;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.scoring-table-wrap {
  overflow-x: auto;
}

.scoring-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.scoring-table th {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  color: #7f8d82;
  font-size: 8px;
  font-weight: 800;
  text-align: left;
  letter-spacing: 0.05em;
}

.scoring-table td {
  padding: 11px 10px;
  border-bottom: 1px solid rgba(243, 239, 229, 0.08);
  color: #b2beb4;
}

.scoring-table td:first-child,
.scoring-table td:nth-child(2) {
  color: var(--paper);
}

.score-chip {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.score-chip--3 {
  background: var(--lime);
  color: var(--ink);
}

.score-chip--2 {
  background: var(--sky);
  color: #082b33;
}

.score-chip--1 {
  background: var(--amber);
  color: #3e2c00;
}

.score-chip--0 {
  background: rgba(243, 239, 229, 0.1);
  color: #98a59b;
}

.scoring-footnote {
  color: #7f8d82;
  font-size: 9px;
}

.rules-test__steps {
  display: grid;
  gap: 5px;
  flex: 0 0 auto;
}

.rules-test__steps span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
}

.rules-test__steps b {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 8px;
}

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

.prose {
  max-width: 760px;
}

.prose h2 {
  margin: 26px 0 8px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font-size: 24px;
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose ul {
  margin: 0 0 15px;
  padding-left: 19px;
  color: #abb7ad;
  font-size: 12px;
  line-height: 1.85;
}

.prose p {
  color: #a8b4aa;
  font-size: 12px;
  line-height: 1.85;
}

.prose code {
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(243, 239, 229, 0.08);
  font-family: var(--font-mono);
  font-size: 10px;
}

.source-note--page {
  position: sticky;
  top: 95px;
}

.source-note--page ul {
  list-style: none;
  padding: 0;
}

.source-note--page li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.source-note--page li a {
  display: block;
  font-size: 10px;
  font-weight: 800;
}

.source-note--page li span {
  display: block;
  margin-top: 2px;
  color: #829085;
  font-size: 8px;
}

.source-note--page h3 {
  margin-top: 17px;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Error / footer / mobile nav
   -------------------------------------------------------------------------- */

.error-hero {
  max-width: 670px;
  padding: 80px 0;
}

.error-code {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 75px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
}

.error-hero h1 {
  margin: 13px 0;
  font-size: clamp(39px, 6vw, 67px);
}

.error-hero p {
  color: #a5b1a7;
  font-size: 13px;
}

.error-hero > div {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  background: #09110c;
  padding: 40px 0 110px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 0.6fr 0.7fr;
  gap: 38px;
}

.brand--footer {
  margin-bottom: 13px;
}

.footer-note,
.footer-demo {
  max-width: 540px;
  color: #839087;
  font-size: 10px;
  line-height: 1.7;
}

.footer-demo {
  color: #6f7d73;
  font-size: 9px;
}

.footer-title {
  margin-bottom: 9px;
  color: #c5d0c7;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.site-footer nav a,
.site-footer > .shell > div > div a:not(.brand) {
  color: #9aa79d;
  font-size: 10px;
}

.site-footer nav a:hover,
.site-footer > .shell > div > div a:hover {
  color: var(--lime);
}

.footer-muted {
  color: #647168;
  font-size: 9px;
}

.footer-muted code {
  font-family: var(--font-mono);
  color: #9aa79d;
}

.footer-legal {
  margin-top: 31px;
  padding-top: 17px;
  border-top: 1px solid rgba(243, 239, 229, 0.08);
}

.footer-legal p {
  margin: 0 0 5px;
  color: #5f6c63;
  font-size: 8px;
  line-height: 1.7;
}

.footer-legal a {
  color: #8a978d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal strong {
  color: #829086;
}

.mobile-tabbar {
  display: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .desktop-nav {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr 310px;
    gap: 25px;
  }

  .round-layout,
  .group-layout,
  .demo-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
  }

  .match-content {
    grid-template-columns: minmax(0, 1fr) 285px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.2fr) 0.6fr 0.7fr;
    gap: 25px;
  }
}

@media (max-width: 840px) {
  .shell {
    width: min(100% - 28px, 680px);
  }

  .page-main {
    padding-bottom: 105px;
  }

  .demo-ribbon {
    flex-wrap: nowrap;
    gap: 6px;
    padding: 5px 10px;
    min-height: 30px;
    font-size: 9px;
  }

  .demo-ribbon span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header__inner {
    min-height: 62px;
    gap: 12px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__mark svg {
    width: 28px;
    height: 28px;
  }

  .brand__name {
    font-size: 19px;
  }

  .brand__sub {
    font-size: 7px;
  }

  .account-chip__name {
    display: none;
  }

  .account-chip {
    padding: 3px;
    border: 0;
  }

  .logout-form .text-button {
    font-size: 10px;
  }

  .account-nav > .text-button {
    font-size: 10px;
  }

  .account-nav .button--sm {
    min-height: 33px;
    padding: 6px 10px;
    font-size: 10px;
  }

  .hero {
    padding-top: 18px;
    padding-bottom: 10px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero__copy h1 {
    font-size: clamp(38px, 10.6vw, 56px);
    margin: 10px 0 9px;
    line-height: 1;
  }

  .hero__lede {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
    font-size: 12px;
    line-height: 1.55;
  }

  .hero__facts {
    display: none;
  }

  .hero__board {
    display: none;
  }

  .pick-section {
    padding-top: 10px;
  }

  .section-heading {
    align-items: flex-start;
    gap: 10px;
  }

  .section-heading > p {
    display: none;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .match-card {
    padding: 14px;
    border-radius: 15px;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.17);
  }

  .match-card__meta {
    margin-bottom: 9px;
  }

  .match-card__venue {
    display: none;
  }

  .fixture {
    gap: 6px;
    padding-bottom: 11px;
  }

  .crest {
    width: 38px;
    height: 38px;
    margin-bottom: 5px;
    border-radius: 11px 11px 11px 3px;
    font-size: 11px;
  }

  .team__name {
    font-size: clamp(16px, 4.8vw, 23px);
  }

  .score-input input {
    width: 48px;
    height: 55px;
    font-size: 25px;
  }

  .score-static {
    width: 42px;
    height: 48px;
    font-size: 23px;
  }

  .match-card__hook {
    font-size: 11px;
    line-height: 1.55;
  }

  .submit-dock {
    position: static;
    margin-top: 14px;
    padding: 10px;
  }

  .submit-dock__inner {
    gap: 8px;
  }

  .submit-dock__copy span {
    display: none;
  }

  .submit-dock__copy strong {
    font-size: 11px;
  }

  .button--submit {
    min-width: 0;
    min-height: 42px;
    padding: 9px 13px;
    font-size: 12px;
  }

  .submit-dock__fine {
    display: none;
  }

  .loop-grid,
  .next-steps__grid {
    grid-template-columns: 1fr;
  }

  .loop-card {
    min-height: 0;
    padding: 18px;
  }

  .loop-card__num {
    margin-bottom: 17px;
  }

  .friends-cta {
    grid-template-columns: 1fr;
    margin: 35px 0;
    padding: 24px;
    border-radius: 18px;
  }

  .friends-cta h2 {
    font-size: 40px;
  }

  .friends-cta__ticket {
    display: none;
  }

  .seo-home {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .source-note {
    padding: 17px;
  }

  .page-heading {
    align-items: flex-start;
  }

  .page-heading__badge {
    display: none;
  }

  .page-heading h1 {
    font-size: 42px;
  }

  .round-layout,
  .group-layout,
  .match-content,
  .demo-layout,
  .prose-grid {
    grid-template-columns: 1fr;
  }

  .round-sidebar,
  .group-sidebar,
  .demo-sidebar,
  .match-content__side,
  .source-note--page {
    position: static;
  }

  .round-sidebar {
    grid-row: 1;
  }

  .sidebar-card {
    padding: 15px;
  }

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

  .timeline li {
    display: block;
    padding-bottom: 0;
  }

  .timeline li:not(:last-child)::before {
    display: none;
  }

  .timeline__dot {
    margin-bottom: 5px;
  }

  .timeline strong {
    font-size: 9px;
  }

  .timeline em {
    display: none;
  }

  .rule-strip {
    gap: 5px;
  }

  .rule-strip div {
    padding: 10px 8px;
  }

  .rule-strip strong {
    font-size: 21px;
  }

  .round-sources {
    grid-template-columns: 1fr;
  }

  .success-burst {
    display: none;
  }

  .success-hero {
    padding-top: 22px;
    padding-bottom: 20px;
  }

  .success-hero h1 {
    font-size: 41px;
  }

  .share-ticket-wrap {
    grid-template-columns: 1fr;
  }

  .share-ticket {
    padding: 18px;
    box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.27);
  }

  .share-actions {
    padding: 18px;
  }

  .auth-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-aside {
    min-height: 0;
    padding: 18px 20px 20px;
  }

  .brand--auth {
    display: none;
  }

  .auth-aside__copy .eyebrow {
    padding: 4px 8px;
    font-size: 8px;
  }

  .auth-aside__copy h1 {
    margin: 10px 0 0;
    font-size: 33px;
    line-height: 1.02;
  }

  .auth-aside__copy p {
    display: none;
  }

  .auth-ticket {
    display: none;
  }

  .auth-card {
    width: min(100% - 36px, 460px);
    padding: 23px 0 35px;
  }

  .auth-tabs {
    margin-bottom: 19px;
  }

  .auth-card__head p {
    margin-bottom: 15px;
  }

  .auth-page .mobile-tabbar {
    display: none;
  }

  .match-hero {
    border-radius: 17px;
  }

  .match-hero__fixture {
    gap: 7px;
    margin: 22px auto 16px;
  }

  .crest--xl {
    width: 59px;
    height: 59px;
    border-radius: 18px 18px 18px 5px;
    font-size: 17px;
  }

  .match-hero__team h1 {
    font-size: 25px;
  }

  .match-hero__score {
    font-size: 52px;
  }

  .match-hero__meta {
    justify-content: flex-start;
  }

  .match-hero__meta > span {
    padding: 5px 7px;
  }

  .result-recap__head {
    display: block;
  }

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

  .prematch-picks__row {
    grid-template-columns: 1fr 1fr;
  }

  .facts-list > div {
    grid-template-columns: 95px 1fr;
  }

  .article-block {
    padding: 18px;
  }

  .match-hero__team h1 {
    overflow-wrap: anywhere;
  }

  .invite-hero {
    margin-top: 14px;
    padding: 25px 20px;
  }

  .invite-hero h1 {
    font-size: 44px;
  }

  .invite-hero__top {
    margin-bottom: 20px;
  }

  .invite-fixtures {
    padding-top: 28px;
  }

  .fixture-row {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px;
  }

  .fixture-row__teams {
    flex-wrap: wrap;
    gap: 5px;
  }

  .fixture-row__teams strong {
    font-size: 12px;
  }

  .fixture-row__teams .crest--sm {
    width: 23px;
    height: 23px;
    font-size: 7px;
  }

  .fixture-row .status-pill {
    font-size: 8px;
  }

  .invite-bottom {
    display: block;
    padding: 18px;
  }

  .invite-bottom .button {
    margin-top: 13px;
  }

  .group-header {
    align-items: flex-start;
  }

  .group-header h1 {
    font-size: 43px;
  }

  .group-header__rank {
    min-width: 78px;
    padding: 8px;
  }

  .group-header__rank strong {
    font-size: 26px;
  }

  .leaderboard__head,
  .leader-row {
    grid-template-columns: 32px minmax(0, 1fr) 41px 48px 36px;
    gap: 4px;
    padding: 8px 7px;
  }

  .leaderboard__head {
    font-size: 6px;
  }

  .leader-stat strong {
    font-size: 12px;
  }

  .leader-stat--total strong {
    font-size: 16px;
  }

  .leader-user strong {
    font-size: 10px;
  }

  .leader-user .avatar {
    width: 26px;
    height: 26px;
    font-size: 8px;
  }

  .leader-user small {
    font-size: 7px;
  }

  .group-pick-row {
    grid-template-columns: 24px minmax(0, 1fr) 48px 43px;
    gap: 4px;
  }

  .dashboard-head {
    display: block;
    padding-top: 24px;
  }

  .dashboard-head h1 {
    font-size: 44px;
  }

  .dashboard-head .button {
    margin-top: 14px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-progress {
    gap: 13px;
  }

  .dashboard-progress__ring {
    flex: 0 0 82px;
    height: 82px;
    border-width: 5px;
  }

  .dashboard-progress__ring strong {
    font-size: 27px;
  }

  .dashboard-progress__ring span {
    font-size: 10px;
  }

  .editorial-form {
    align-items: flex-start;
    flex-direction: column;
  }

  .editorial-tools,
  .rules-test,
  .reset-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .rule-card--wide {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding-bottom: 103px;
  }

  .footer-legal {
    margin-top: 20px;
  }

  .mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    height: 64px;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid rgba(243, 239, 229, 0.16);
    background: rgba(9, 17, 12, 0.97);
    backdrop-filter: blur(13px);
  }

  .mobile-tabbar a {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #758479;
    font-size: 8px;
    font-weight: 800;
  }

  .mobile-tabbar a svg {
    width: 19px;
    height: 19px;
  }

  .mobile-tabbar a.is-active {
    color: var(--lime);
  }

  .toast {
    bottom: 82px;
  }
}

@media (max-width: 380px) {
  .shell {
    width: calc(100% - 22px);
  }

  .demo-ribbon {
    padding-inline: 10px;
    font-size: 9px;
  }

  .demo-ribbon span:last-child {
    display: none;
  }

  .brand__sub {
    display: none;
  }

  .hero__copy h1 {
    font-size: 37px;
  }

  .score-input input {
    width: 43px;
    height: 51px;
    font-size: 23px;
  }

  .team__name {
    font-size: 15px;
  }

  .crest {
    width: 33px;
    height: 33px;
    font-size: 9px;
  }

  .match-card__kickoff {
    font-size: 9px;
  }

  .comparison__cell strong {
    font-size: 12px;
  }

  .comparison__cell--score strong {
    font-size: 17px;
  }

  .button--submit {
    padding-inline: 10px;
    font-size: 11px;
  }

  .recap-cell strong {
    font-size: 18px;
  }

  .leaderboard__head,
  .leader-row {
    grid-template-columns: 27px minmax(0, 1fr) 36px 42px 31px;
  }
}

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

/* --------------------------------------------------------------------------
   Supplement analysis entry, article and post-match head-to-head
   -------------------------------------------------------------------------- */

.supplement-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -2px 0 11px;
  padding: 9px 10px;
  border: 1px solid rgba(23, 61, 42, 0.2);
  border-radius: 8px;
  background: rgba(215, 255, 63, 0.34);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
  transition: background 0.15s ease, transform 0.15s ease;
}

.supplement-link:hover {
  background: var(--lime);
  transform: translateY(-1px);
}

.supplement-link__brand {
  flex: 0 0 auto;
  padding: 3px 5px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--lime);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.supplement-link small {
  margin-left: auto;
  color: #536157;
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.supplement-link__arrow {
  display: inline-block;
  margin-left: 1px;
  font-family: var(--font-mono);
  font-size: 13px;
  transition: transform 0.15s ease;
}

.supplement-link:hover .supplement-link__arrow {
  transform: translate(2px, -2px);
}

/* Article */
.supplement-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(25px, 4.5vw, 53px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 12%, rgba(215, 255, 63, 0.13), transparent 26rem),
    linear-gradient(135deg, rgba(255, 104, 70, 0.07), transparent 45%),
    var(--pitch);
}

.supplement-hero::after {
  content: "補時";
  position: absolute;
  right: -8px;
  bottom: -34px;
  color: rgba(243, 239, 229, 0.06);
  font-size: clamp(100px, 17vw, 220px);
  font-weight: 950;
  letter-spacing: -0.12em;
  line-height: 1;
  pointer-events: none;
}

.supplement-hero__brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #b9c8bc;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.supplement-hero__stamp {
  padding: 4px 7px;
  border-radius: 4px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.supplement-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 930px;
  margin: 17px 0 12px;
  color: var(--paper);
  font-size: clamp(35px, 6vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.07em;
}

.supplement-hero__standfirst {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin-bottom: 17px;
  color: #c2d0c5;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.7;
}

.supplement-hero__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.supplement-hero__meta span {
  padding: 4px 8px;
  border: 1px solid rgba(243, 239, 229, 0.2);
  border-radius: 4px;
  color: #b6c4b9;
  font-size: 8px;
  font-weight: 700;
}

.supplement-body-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
  margin-top: 17px;
}

.supplement-body {
  padding: clamp(20px, 3.5vw, 38px);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
}

.supplement-match-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 11px;
  border: 1px solid rgba(12, 21, 16, 0.13);
  border-radius: 8px;
  background: rgba(12, 21, 16, 0.045);
}

.supplement-match-strip strong {
  font-size: 13px;
}

.supplement-match-strip__score {
  padding: 0 8px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 900;
}

.supplement-prose {
  max-width: 750px;
}

.supplement-prose p {
  margin-bottom: 1.1em;
  color: #35483b;
  font-size: 14px;
  line-height: 1.95;
}

.supplement-prose p:first-child::first-letter {
  float: left;
  margin: 7px 6px 0 0;
  color: var(--pitch);
  font-size: 50px;
  font-weight: 950;
  line-height: 0.78;
}

.supplement-takeaways {
  margin-top: 28px;
  padding: 17px 18px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--paper);
}

.supplement-takeaways h2 {
  margin: 3px 0 11px;
  color: var(--paper);
  font-size: 23px;
}

.supplement-takeaways ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: takeaway;
}

.supplement-takeaways li {
  display: flex;
  gap: 8px;
  color: #bdc9bf;
  font-size: 11px;
  line-height: 1.65;
  counter-increment: takeaway;
}

.supplement-takeaways li::before {
  content: "0" counter(takeaway);
  flex: 0 0 auto;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
}

.supplement-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  margin-top: 20px;
  padding: 15px;
  border-radius: 9px;
  background: var(--lime);
}

.supplement-cta strong {
  font-size: 15px;
}

.supplement-cta p {
  margin: 2px 0 0;
  color: #43520d;
  font-size: 10px;
}

.supplement-cta .button {
  flex: 0 0 auto;
}

.supplement-source {
  margin-top: 22px;
  padding-top: 13px;
  border-top: 1px dashed rgba(12, 21, 16, 0.22);
}

.supplement-source strong {
  color: var(--muted-dark);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.supplement-source p {
  margin: 4px 0;
  color: #657469;
  font-size: 9px;
  line-height: 1.65;
}

.supplement-source a {
  color: #26543a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.supplement-side {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 95px;
}

.supplement-facts {
  margin: 0 0 12px;
}

.supplement-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(12, 21, 16, 0.1);
}

.supplement-facts dt {
  color: var(--muted-dark);
  font-size: 9px;
}

.supplement-facts dd {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  text-align: right;
}

.supplement-side__note p {
  margin: 0;
  color: #536157;
  font-size: 10px;
  line-height: 1.7;
}

/* Share strip directly below the picks ticket */
.share-ticket-stack {
  display: grid;
  gap: 10px;
  align-self: start;
}

.ticket-share-bar {
  padding: 14px;
  border: 1px solid rgba(215, 255, 63, 0.24);
  border-radius: 13px;
  background: rgba(18, 31, 23, 0.98);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.22);
}

.ticket-share-bar__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.ticket-share-bar__head strong {
  color: var(--paper);
  font-size: 12px;
  font-weight: 900;
}

.ticket-share-bar__head span {
  color: #87988b;
  font-size: 8px;
}

.ticket-share-actions {
  display: flex;
  align-items: stretch;
  gap: 7px;
}

.ticket-share-actions .button {
  flex: 1;
}

.copy-ticket {
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  min-height: 47px;
  border: 1px solid rgba(243, 239, 229, 0.24);
  border-radius: 9px;
  background: rgba(243, 239, 229, 0.06);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 900;
}

.copy-ticket:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.copy-ticket:disabled {
  cursor: not-allowed;
  opacity: 0.36;
}

.ticket-share-bar__fine {
  margin: 8px 0 0;
  color: #899b8d;
  font-size: 8px;
  line-height: 1.5;
}

.ticket-share-bar.is-highlight {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(215, 255, 63, 0.13), 0 5px 0 rgba(0, 0, 0, 0.22);
}

.created-share-note {
  margin: 0 0 10px;
  padding: 8px 10px;
  border-left: 3px solid var(--lime);
  border-radius: 4px;
  background: rgba(215, 255, 63, 0.08);
  color: #c2cec4;
  font-size: 9px;
  line-height: 1.55;
}

.share-actions__secondary {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.share-actions__secondary button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #9eaca1;
  font-size: 9px;
  font-weight: 800;
  padding: 0;
}

.share-actions__secondary button:hover {
  color: var(--lime);
}

/* You vs Supplement challenge */
.versus-panel {
  padding: 0;
  overflow: hidden;
}

.versus-head {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(circle at 92% 0, rgba(215, 255, 63, 0.15), transparent 20rem),
    var(--ink);
  color: var(--paper);
}

.versus-head::after {
  content: "VS";
  position: absolute;
  right: 15px;
  bottom: -18px;
  color: rgba(243, 239, 229, 0.06);
  font-family: var(--font-mono);
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
}

.versus-head__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.versus-head h2 {
  margin: 4px 0 0;
  color: var(--paper);
  font-size: clamp(24px, 3.4vw, 33px);
  letter-spacing: -0.06em;
}

.versus-league {
  margin: 3px 0 0;
  color: #87988b;
  font-size: 8px;
  font-weight: 700;
}

.versus-head .section-kicker {
  color: var(--lime);
}

.versus-status {
  padding: 4px 8px;
  border: 1px solid rgba(243, 239, 229, 0.22);
  border-radius: 999px;
  color: #b8c5ba;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
}

.versus-scoreboard {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 14px;
  margin-top: 13px;
}

.versus-side {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.versus-side--right {
  align-items: flex-end;
  text-align: right;
}

.versus-side span {
  color: #91a095;
  font-size: 8px;
  font-weight: 700;
}

.versus-side strong {
  color: var(--paper);
  font-size: 15px;
  font-weight: 900;
}

.versus-side em {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 43px;
  font-style: normal;
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.versus-mid {
  align-self: center;
  padding-bottom: 7px;
  color: #819086;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.versus-verdict {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 8px 11px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.versus-verdict--won {
  background: var(--lime);
  color: var(--ink);
}

.versus-verdict--lost {
  background: rgba(255, 104, 70, 0.18);
  color: #ffc0b1;
  border: 1px solid rgba(255, 104, 70, 0.4);
}

.versus-verdict--draw {
  background: rgba(255, 201, 74, 0.16);
  color: #ffdf8e;
  border: 1px solid rgba(255, 201, 74, 0.35);
}

.versus-live-note {
  position: relative;
  z-index: 1;
  margin-top: 11px;
  color: #9eada2;
  font-size: 9px;
  line-height: 1.55;
}

.versus-editor-note {
  position: relative;
  z-index: 1;
  margin-top: 9px;
  color: #d8c08a;
  font-size: 10px;
  line-height: 1.55;
}

.versus-games {
  display: grid;
  padding: 0 18px 17px;
  background: var(--paper);
}

.versus-game {
  padding: 13px 0;
  border-bottom: 1px solid rgba(12, 21, 16, 0.1);
}

.versus-game:last-child {
  border-bottom: 0;
}

.versus-game__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.versus-game__teams {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.versus-game__teams span {
  padding: 0 4px;
  color: #839085;
  font-size: 8px;
  font-weight: 500;
}

.versus-game__state {
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
}

.versus-game__state--done {
  color: #a23b24;
}

.versus-flow {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.15fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(12, 21, 16, 0.12);
  border-radius: 7px;
  background: rgba(12, 21, 16, 0.12);
}

.versus-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  padding: 8px 5px;
  background: #faf7ee;
  text-align: center;
}

.versus-cell--actual {
  background: var(--ink);
  color: var(--paper);
}

.versus-cell--me {
  background: #eff7ce;
}

.versus-cell--editor {
  background: #f2e9e0;
}

.versus-cell__label {
  color: #657367;
  font-size: 7px;
  font-weight: 800;
}

.versus-cell--actual .versus-cell__label {
  color: #99a79c;
}

.versus-cell strong {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.versus-cell--actual strong {
  color: var(--lime);
}

.versus-cell em {
  color: #68766b;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}

.versus-cell .points {
  margin-top: 1px;
  font-size: 7px;
}

.versus-locked {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px;
  border: 1px dashed rgba(12, 21, 16, 0.2);
  border-radius: 6px;
  color: #5f6f63;
  font-size: 9px;
}

.versus-locked svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
}

.versus-recap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 7px;
  color: #28523a;
  font-size: 9px;
  font-weight: 900;
  border-bottom: 1px solid rgba(40, 82, 58, 0.45);
}

.versus-recap:hover {
  color: #8a2c18;
  border-color: #8a2c18;
}

.versus-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px;
  border-top: 1px solid rgba(12, 21, 16, 0.1);
  background: #eee9dc;
  color: #69776b;
  font-size: 8px;
}

.versus-foot strong {
  color: var(--ink);
}

/* Supplement responsive */
@media (max-width: 840px) {
  .supplement-link {
    margin-bottom: 10px;
    padding: 9px 10px;
    font-size: 10px;
  }

  .supplement-link small {
    display: none;
  }

  .supplement-hero {
    padding: 23px 18px;
    border-radius: 17px;
  }

  .supplement-hero h1 {
    margin-top: 14px;
    font-size: 35px;
  }

  .supplement-hero__standfirst {
    font-size: 13px;
  }

  .supplement-body-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .supplement-body {
    padding: 18px;
  }

  .supplement-prose p {
    font-size: 13px;
    line-height: 1.85;
  }

  .supplement-prose p:first-child::first-letter {
    font-size: 42px;
  }

  .supplement-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .supplement-cta .button {
    width: 100%;
  }

  .supplement-side {
    position: static;
  }

  .ticket-share-actions {
    gap: 6px;
  }

  .ticket-share-actions .button {
    font-size: 12px;
    padding: 10px 9px;
  }

  .ticket-share-bar {
    padding: 11px;
  }

  .versus-head {
    padding: 18px;
  }

  .versus-scoreboard {
    gap: 7px;
  }

  .versus-side strong {
    font-size: 13px;
  }

  .versus-side em {
    font-size: 38px;
  }

  .versus-mid {
    font-size: 7px;
  }

  .versus-games {
    padding: 0 12px 13px;
  }

  .versus-game__teams {
    font-size: 12px;
  }

  .versus-flow {
    grid-template-columns: 1fr 1.1fr 1.1fr;
  }

  .versus-cell {
    padding: 7px 3px;
  }

  .versus-cell strong {
    font-size: 12px;
  }

  .versus-cell__label,
  .versus-cell em {
    font-size: 6px;
  }

  .versus-cell .points {
    font-size: 6px;
  }

  .versus-foot {
    padding: 9px 12px;
    font-size: 7px;
  }
}

/* ==========================================================================
   Homepage — dark-green matchday skin with cream scorecards
   Scoped to .home-page so only the homepage changes.
   ========================================================================== */

.home-page {
  background:
    radial-gradient(circle at 92% 0%, rgba(215, 255, 63, 0.07), transparent 22rem),
    radial-gradient(circle at 0% 42%, rgba(255, 104, 70, 0.045), transparent 24rem),
    #0a1710;
  color: #f3efe5;
}

.home-page .demo-ribbon {
  min-height: 25px;
  padding: 4px 12px;
  border-bottom: 1px solid rgba(243, 239, 229, 0.12);
  background: #10251a;
  color: #aebbb0;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.home-page .demo-ribbon strong {
  color: #f3efe5;
  font-size: 9px;
}

.home-page .demo-ribbon__dot {
  width: 5px;
  height: 5px;
  background: #d7ff3f;
  box-shadow: 0 0 0 3px rgba(215, 255, 63, 0.1);
}

.home-page .demo-ribbon__text {
  display: none;
}

.home-page .demo-ribbon__short {
  display: inline;
}

.home-page .site-header {
  background: rgba(10, 23, 16, 0.94);
}

.home-page .page-main {
  width: min(100% - 28px, 680px);
  padding-bottom: 92px;
}

/* Compact intro */
.gph-intro {
  padding: 13px 0 11px;
}

.gph-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8c9c90;
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.gph-kicker__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.gph-kicker__sep {
  opacity: 0.45;
}

.gph-intro h1 {
  max-width: 560px;
  margin: 8px 0 5px;
  color: #f3efe5;
  font-size: clamp(26px, 7.1vw, 39px);
  font-weight: 950;
  line-height: 1.17;
  letter-spacing: -0.07em;
}

.gph-intro h1 span {
  color: #d7ff3f;
}

.gph-subtitle {
  margin: 0 0 9px;
  color: #9fada2;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.5;
}

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

.gph-progress__copy {
  flex: 0 0 auto;
  color: #c2cec4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.gph-progress__copy strong {
  color: #d7ff3f;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
}

.gph-progress__track {
  display: block;
  flex: 1 1 auto;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(243, 239, 229, 0.14);
}

.gph-progress__track span {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: #d7ff3f;
  transition: width 0.2s ease;
}

.gph-picks {
  padding: 1px 0 4px;
}

.gph-list {
  display: grid;
  gap: 10px;
}

/* Cream scorecards */
.gph-match {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(243, 239, 229, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 30%),
    #f3efe5;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.22);
  color: #102f24;
}

.gph-match__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(16, 47, 36, 0.13);
}

.gph-kickoff {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.gph-kickoff__label {
  color: #748277;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.gph-kickoff__line {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}

.gph-kickoff__line strong {
  color: #102f24;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.gph-kickoff__line span {
  color: #102f24;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.gph-match__badges {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
}

.gph-demo {
  padding: 2px 6px;
  border: 1px solid #dfac96;
  border-radius: 4px;
  color: #a3472a;
  font-size: 7.5px;
  font-weight: 900;
}

.gph-round {
  color: #7a887b;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 700;
}

.gph-state {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 4px;
  background: #e8eee0;
  color: #4b6454;
  font-size: 8px;
  font-weight: 800;
}

.gph-state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #65836b;
}

.gph-match.is-locked .gph-state {
  background: #f0e4d3;
  color: #7d592d;
}

.gph-match.is-result .gph-state {
  background: #f2e4dc;
  color: #93482f;
}

/* Aligned team + score columns */
.gph-fixture {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: end;
  column-gap: 4px;
  row-gap: 8px;
  padding: 13px 0 6px;
}

.gph-team-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  min-width: 0;
  text-align: center;
}

.gph-team-head > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.gph-team-head h3 {
  overflow: hidden;
  max-width: 100%;
  margin: 0;
  color: #102f24;
  font-size: clamp(17px, 4.7vw, 22px);
  font-weight: 950;
  line-height: 1.18;
  letter-spacing: -0.06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gph-team-head > div > span {
  color: #829084;
  font-size: 7px;
  font-weight: 700;
}

.gph-crest {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 8px 8px 8px 2px;
  background: var(--crest, #173d2a);
  color: #fffdf8;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.gph-versus {
  align-self: center;
  color: #96a298;
  font-size: 8px;
  font-weight: 600;
  text-align: center;
}

.gph-score-cell {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.gph-stepper {
  display: flex;
  align-items: stretch;
  width: 124px;
  height: 49px;
  overflow: hidden;
  border: 1px solid #d2dbcf;
  border-radius: 9px;
  background: #fffdf8;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gph-stepper:focus-within {
  border-color: #23513a;
  box-shadow: 0 0 0 3px rgba(35, 81, 58, 0.12);
}

.gph-stepper.is-set {
  border-color: #aebfa8;
  background: #f8faef;
}

.gph-step {
  display: grid;
  place-items: center;
  flex: 0 0 35px;
  width: 35px;
  border: 0;
  background: transparent;
  color: #526a58;
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

.gph-step:hover {
  background: #e7eddf;
  color: #102f24;
}

.gph-step:active {
  background: #dce6d3;
}

.gph-step:disabled {
  cursor: not-allowed;
  color: #b5c0b1;
  background: transparent;
}

.gph-stepper input {
  width: 52px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-right: 1px solid #e0e6dc;
  border-left: 1px solid #e0e6dc;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #102f24;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  appearance: textfield;
  -moz-appearance: textfield;
}

.gph-stepper input::placeholder {
  color: #98a598;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
}

.gph-stepper input::-webkit-outer-spin-button,
.gph-stepper input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.gph-colon {
  align-self: center;
  color: #77867a;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.gph-input-hint {
  margin: -1px 0 8px;
  padding: 5px 7px;
  border-radius: 5px;
  background: rgba(16, 47, 36, 0.055);
  color: #637367;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.gph-input-hint.is-complete {
  background: rgba(16, 47, 36, 0.09);
  color: #315740;
}

.gph-static-score {
  display: grid;
  place-items: center;
  width: 66px;
  height: 49px;
  border: 1px solid #d8d0c1;
  border-radius: 9px;
  background: #ebe5d9;
  color: #102f24;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.gph-match.is-result .gph-static-score {
  border-color: #bccbb5;
  background: #e9f0e0;
}

.gph-score-note {
  margin: -4px 0 7px;
  color: #7d8b7e;
  font-size: 8px;
  font-weight: 700;
  text-align: center;
}

.gph-result {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 1px;
  overflow: hidden;
  margin-bottom: 9px;
  border: 1px solid #ddd5c6;
  border-radius: 7px;
  background: #ddd5c6;
}

.gph-result > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 7px 4px;
  background: #f8f4eb;
}

.gph-result span {
  color: #7a887b;
  font-size: 7px;
  font-weight: 700;
}

.gph-result strong {
  color: #102f24;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.2;
}

.gph-result__points {
  background: #edf2e5 !important;
}

.gph-result--locked .gph-result__points strong {
  font-family: var(--font);
  font-size: 9px;
}

.gph-hook {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 0 0 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(16, 47, 36, 0.17);
  color: #4e6153;
  font-size: 9.5px;
  line-height: 1.53;
}

.gph-hook > span {
  flex: 0 0 auto;
  padding: 2px 5px;
  border-radius: 3px;
  background: #102f24;
  color: #d7ff3f;
  font-size: 7px;
  font-weight: 900;
}

.gph-article {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 31px;
  margin-bottom: 8px;
  padding: 7px 9px;
  border: 1px solid #d5dfca;
  border-radius: 7px;
  background: #eef3e3;
  color: #2f513b;
  font-size: 9px;
  font-weight: 900;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.gph-article:hover {
  border-color: #b7c8a9;
  background: #e9f0dc;
}

.gph-article__brand {
  padding: 2px 4px;
  border-radius: 2px;
  background: #102f24;
  color: #f3efe5;
  font-size: 7px;
  font-weight: 900;
}

.gph-article__arrow {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
}

.gph-match__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #7f8d81;
  font-size: 8px;
  font-weight: 700;
}

.gph-match__footer strong {
  color: #536956;
  font-family: var(--font-mono);
  font-size: 10px;
}

.gph-match__footer a {
  color: #31513d;
  font-size: 8.5px;
  font-weight: 900;
  border-bottom: 1px solid #b3c0ad;
}

/* Dark submit area */
.home-page .submit-dock {
  border-color: rgba(215, 255, 63, 0.2);
  background: rgba(9, 20, 13, 0.96);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.28);
}

/* Dark lower sections */
.gph-loop {
  margin-top: 29px;
  padding: 27px 0 29px;
  border-top: 1px solid rgba(243, 239, 229, 0.13);
}

.gph-section-head {
  margin-bottom: 15px;
}

.gph-eyebrow {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.gph-section-head h2,
.gph-friends h2,
.gph-about h2 {
  margin: 5px 0 0;
  color: #f3efe5;
  font-size: clamp(26px, 6vw, 40px);
  letter-spacing: -0.07em;
}

.gph-loop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.gph-loop__grid article {
  padding: 15px;
  border: 1px solid rgba(243, 239, 229, 0.13);
  border-radius: 10px;
  background: rgba(243, 239, 229, 0.035);
}

.gph-loop__grid article > span {
  display: block;
  margin-bottom: 17px;
  color: #d7ff3f;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 900;
}

.gph-loop__grid strong {
  display: block;
  color: #f3efe5;
  font-size: 14px;
}

.gph-loop__grid p {
  margin: 5px 0 0;
  color: #9daaa0;
  font-size: 9.5px;
  line-height: 1.65;
}

.gph-friends {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 22px;
  align-items: center;
  margin: 5px 0 29px;
  padding: 22px;
  border: 1px solid rgba(215, 255, 63, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 95% 0%, rgba(215, 255, 63, 0.1), transparent 20rem),
    #123121;
}

.gph-friends p {
  max-width: 560px;
  margin: 9px 0 0;
  color: #b3c0b7;
  font-size: 10px;
  line-height: 1.75;
}

.gph-friends__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.gph-friends__actions .button--ink {
  background: #d7ff3f;
  color: #102f24;
  border-color: #d7ff3f;
  box-shadow: 0 3px 0 #739015;
}

.gph-text-link {
  color: #d9e3db;
  font-size: 9px;
  font-weight: 800;
  border-bottom: 1px solid rgba(243, 239, 229, 0.32);
}

.gph-friends__ticket {
  padding: 16px;
  border: 1px solid rgba(16, 47, 36, 0.14);
  border-radius: 9px;
  background: #f3efe5;
  color: #102f24;
  transform: rotate(1.1deg);
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.18);
}

.gph-ticket-label {
  display: block;
  color: #7c897d;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.gph-friends__ticket > strong {
  display: block;
  margin: 5px 0 10px;
  color: #102f24;
  font-size: 19px;
  letter-spacing: -0.06em;
}

.gph-friends__ticket > div {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid #e1d9ca;
  border-radius: 5px;
  background: #e1d9ca;
}

.gph-friends__ticket > div span {
  display: flex;
  justify-content: space-between;
  padding: 6px 8px;
  background: #fbf7ef;
  color: #5b6d60;
  font-size: 8.5px;
}

.gph-friends__ticket b {
  color: #102f24;
  font-family: var(--font-mono);
}

.gph-about {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 28px;
  padding: 25px 0 30px;
  border-top: 1px solid rgba(243, 239, 229, 0.13);
}

.gph-about__main > p {
  color: #9fac9f;
  font-size: 10.5px;
  line-height: 1.85;
}

.gph-about__main h2 {
  font-size: clamp(26px, 5vw, 38px);
}

.gph-about__main h3 {
  margin: 19px 0 9px;
  color: #f3efe5;
  font-size: 15px;
}

.gph-about__links {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(243, 239, 229, 0.13);
  border-radius: 7px;
  background: rgba(243, 239, 229, 0.13);
  list-style: none;
}

.gph-about__links li {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 10px;
  background: #102219;
}

.gph-about__links a {
  color: #f3efe5;
  font-size: 10px;
  font-weight: 800;
}

.gph-about__links a:hover {
  color: #d7ff3f;
}

.gph-about__links span {
  color: #839186;
  font-size: 8px;
}

.gph-source {
  align-self: start;
  padding: 16px;
  border: 1px solid rgba(243, 239, 229, 0.14);
  border-radius: 10px;
  background: rgba(243, 239, 229, 0.04);
}

.gph-source h3 {
  margin-bottom: 7px;
  color: #f3efe5;
  font-size: 15px;
}

.gph-source p,
.gph-source li {
  color: #9ba89e;
  font-size: 8.5px;
  line-height: 1.7;
}

.gph-source ul {
  margin: 8px 0;
  padding-left: 14px;
}

.gph-source a {
  color: #d7ff3f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gph-source__stamp {
  padding-top: 8px;
  border-top: 1px solid rgba(243, 239, 229, 0.12);
  color: #69776c !important;
  font-family: var(--font-mono);
  font-size: 7px !important;
}

.gph-faq {
  padding: 8px 0 40px;
}

.gph-faq > h2 {
  margin-bottom: 13px;
  color: #f3efe5;
  font-size: 24px;
}

.gph-faq details {
  border-top: 1px solid rgba(243, 239, 229, 0.13);
}

.gph-faq details:last-child {
  border-bottom: 1px solid rgba(243, 239, 229, 0.13);
}

.gph-faq summary {
  position: relative;
  padding: 13px 30px 13px 0;
  color: #f3efe5;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.gph-faq summary::after {
  content: "＋";
  position: absolute;
  right: 2px;
  top: 10px;
  color: #d7ff3f;
  font-size: 17px;
}

.gph-faq details[open] summary::after {
  content: "−";
}

.gph-faq details p {
  max-width: 680px;
  margin: 0 0 15px;
  color: #9eaba2;
  font-size: 10px;
  line-height: 1.8;
}

/* Homepage mobile tuning */
@media (max-width: 840px) {
  .home-page .demo-ribbon {
    min-height: 25px;
    padding: 4px 10px;
    font-size: 8px;
  }

  .home-page .site-header__inner {
    min-height: 53px;
  }

  .home-page .brand__mark {
    width: 31px;
    height: 31px;
  }

  .home-page .brand__mark svg {
    width: 26px;
    height: 26px;
  }

  .home-page .brand__name {
    font-size: 18px;
  }

  .gph-intro {
    padding: 10px 0 9px;
  }

  .gph-intro h1 {
    margin: 7px 0 4px;
    font-size: clamp(24px, 6.9vw, 30px);
    line-height: 1.18;
  }

  .gph-subtitle {
    margin-bottom: 8px;
    font-size: 9.5px;
  }

  .gph-progress {
    gap: 8px;
  }

  .gph-match {
    padding: 12px;
    border-radius: 15px;
  }

  .gph-match__top {
    padding-bottom: 8px;
  }

  .gph-kickoff__line strong {
    font-size: 12px;
  }

  .gph-kickoff__line span {
    font-size: 21px;
  }

  .gph-fixture {
    row-gap: 6px;
    padding: 11px 0 5px;
  }

  .gph-team-head h3 {
    font-size: clamp(16px, 4.6vw, 20px);
  }

  .gph-stepper {
    width: 124px;
    height: 49px;
  }

  .gph-step {
    flex-basis: 35px;
    width: 35px;
    font-size: 18px;
  }

  .gph-stepper input {
    width: 52px;
    font-size: 23px;
  }

  .gph-hook {
    font-size: 9px;
  }

  .gph-article {
    font-size: 8.5px;
  }

  .gph-loop {
    margin-top: 24px;
    padding: 23px 0;
  }

  .gph-loop__grid {
    grid-template-columns: 1fr;
  }

  .gph-loop__grid article {
    padding: 12px;
  }

  .gph-loop__grid article > span {
    margin-bottom: 7px;
  }

  .gph-friends {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 4px 0 23px;
    padding: 17px;
  }

  .gph-friends__ticket {
    display: none;
  }

  .gph-about {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 22px 0 24px;
  }

  .gph-source {
    padding: 13px;
  }

  .gph-faq {
    padding-bottom: 31px;
  }
}

@media (max-width: 370px) {
  .gph-stepper {
    width: 116px;
  }

  .gph-step {
    flex-basis: 33px;
    width: 33px;
  }

  .gph-stepper input {
    width: 48px;
  }

  .gph-team-head h3 {
    font-size: 15px;
  }

  .gph-team-head {
    gap: 2px;
  }

  .gph-crest {
    width: 27px;
    height: 27px;
  }
}

/* Submission states and round submit entry */
.gph-match {
  scroll-margin-top: 78px;
}

.gph-state {
  white-space: nowrap;
}

.gph-state.is-empty {
  background: #efeadf;
  color: #758176;
}

.gph-state.is-partial {
  background: #f8ead0;
  color: #8a632a;
}

.gph-state.is-ready {
  background: #e6eddc;
  color: #3d5a43;
}

.gph-state.is-submitted {
  background: #102f24;
  color: #f3efe5;
}

.gph-state.is-modified {
  background: #f8e1d5;
  color: #993f26;
}

.gph-state.is-empty i {
  background: #8c978b;
}

.gph-state.is-partial i {
  background: #b27823;
}

.gph-state.is-ready i {
  background: #58775c;
}

.gph-state.is-submitted i {
  background: #d7ff3f;
}

.gph-state.is-modified i {
  background: #c25232;
}

.gph-input-hint[hidden] {
  display: none;
}

/* Clear round submit entry, immediately after card 3 */
.gph-submit-entry {
  margin-top: 11px;
  padding: 16px;
  border: 1px solid rgba(215, 255, 63, 0.24);
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0, rgba(215, 255, 63, 0.09), transparent 17rem),
    #10251a;
  color: #f3efe5;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
}

.gph-submit-entry__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.gph-submit-entry__head .gph-eyebrow {
  color: #d7ff3f;
}

.gph-submit-entry__head strong {
  color: #f3efe5;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 900;
}

.gph-missing-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px dashed rgba(215, 255, 63, 0.42);
  border-radius: 9px;
  background: rgba(215, 255, 63, 0.055);
  color: #f3efe5;
  font-size: 14px;
  font-weight: 900;
}

.gph-missing-link:hover {
  border-style: solid;
  background: rgba(215, 255, 63, 0.1);
}

.gph-missing-link > span:last-child {
  color: #d7ff3f;
  font-size: 9px;
  font-weight: 800;
}

.gph-submit-button {
  width: 100%;
  min-height: 53px;
  font-size: 15px;
}

.gph-submit-button[hidden],
.gph-missing-link[hidden] {
  display: none;
}

.gph-submit-note {
  margin: 9px 0 0;
  color: #b1c0b4;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.gph-submit-fine {
  margin: 7px 0 0;
  color: #829287;
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
}

.late-submit-note {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 201, 74, 0.34);
  border-radius: 7px;
  background: rgba(255, 201, 74, 0.1);
  color: #ffdf8e;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.55;
}

@media (max-width: 840px) {
  .gph-submit-entry {
    margin-top: 10px;
    padding: 13px;
  }

  .gph-submit-entry__head strong {
    font-size: 12px;
  }

  .gph-missing-link {
    font-size: 13px;
  }
}

/* ==========================================================================
   Submission success — keep the invite action above the fluorescent ticket
   ========================================================================== */

.submitted-page .demo-ribbon {
  min-height: 25px;
  padding: 4px 12px;
  border-bottom: 1px solid rgba(243, 239, 229, 0.12);
  background: #10251a;
  color: #aebbb0;
  font-size: 8.5px;
  font-weight: 600;
}

.submitted-page .demo-ribbon strong {
  color: #f3efe5;
  font-size: 9px;
}

.submitted-page .demo-ribbon__dot {
  width: 5px;
  height: 5px;
  background: #d7ff3f;
  box-shadow: 0 0 0 3px rgba(215, 255, 63, 0.1);
}

.submitted-page .demo-ribbon__text {
  display: none;
}

.submitted-page .demo-ribbon__short {
  display: inline;
}

.submitted-page .page-main {
  width: min(100% - 28px, 680px);
  padding-bottom: 84px;
}

.submitted-page .success-hero {
  padding: 14px 0 10px;
}

.submitted-page .success-burst {
  display: none;
}

.success-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.success-meta .eyebrow {
  padding: 4px 8px;
  font-size: 8px;
}

.success-confirm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid rgba(215, 255, 63, 0.38);
  border-radius: 999px;
  background: rgba(215, 255, 63, 0.09);
  color: #d7ff3f;
  font-size: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.submitted-page .success-hero h1 {
  margin: 11px 0 7px;
  color: #f3efe5;
  font-size: clamp(34px, 9vw, 50px);
  line-height: 0.99;
  letter-spacing: -0.075em;
}

.submitted-page .success-hero h1 span {
  color: #d7ff3f;
}

.submitted-page .success-hero p {
  margin: 0;
  color: #aebbb1;
  font-size: 11px;
  line-height: 1.55;
}

/* Primary invitation action sits between the intro and the picks card */
.success-share {
  margin: 8px 0 10px;
  padding: 14px;
  border: 1px solid rgba(215, 255, 63, 0.24);
  border-radius: 15px;
  background:
    radial-gradient(circle at 94% 0, rgba(215, 255, 63, 0.1), transparent 17rem),
    #10251a;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
}

.success-share__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.success-share__eyebrow {
  display: block;
  color: #d7ff3f;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.success-share h2 {
  margin: 3px 0 0;
  color: #f3efe5;
  font-size: 20px;
  letter-spacing: -0.055em;
}

.success-share__group {
  max-width: 48%;
  color: #aab9ac;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.45;
  text-align: right;
}

.success-share__primary {
  width: 100%;
  min-height: 52px;
}

.success-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 30px;
  margin: 6px 0 0;
  padding: 5px 8px;
  border: 0;
  background: transparent;
  color: #b8c6ba;
  font-size: 9px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.success-copy:hover {
  color: #d7ff3f;
}

.success-copy:disabled {
  cursor: not-allowed;
  color: #748278;
  text-decoration: none;
}

.success-preview {
  margin-top: 3px;
  padding-top: 7px;
  border-top: 1px solid rgba(243, 239, 229, 0.11);
}

.success-preview summary {
  color: #99a89c;
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.success-preview summary::-webkit-details-marker {
  display: none;
}

.success-preview summary::after {
  content: " +";
  color: #d7ff3f;
}

.success-preview[open] summary::after {
  content: " −";
}

.success-preview p {
  margin: 7px 0 0;
  color: #aab8ad;
  font-size: 9px;
  line-height: 1.6;
  white-space: pre-line;
}

.success-share__note,
.success-share__fine {
  margin: 7px 0 0;
  color: #849287;
  font-size: 8px;
  line-height: 1.55;
}

.success-share__fine {
  margin-top: 6px;
  padding-top: 7px;
  border-top: 1px solid rgba(243, 239, 229, 0.09);
}

.success-ticket-section {
  margin-top: 9px;
}

.submitted-page .share-ticket {
  width: 100%;
}

@media (max-width: 840px) {
  .submitted-page .demo-ribbon {
    min-height: 25px;
    padding: 4px 10px;
    font-size: 8px;
  }

  .submitted-page .success-hero {
    padding: 11px 0 9px;
  }

  .submitted-page .success-hero h1 {
    margin: 9px 0 6px;
    font-size: 37px;
  }

  .success-share {
    padding: 12px;
  }

  .success-share h2 {
    font-size: 19px;
  }

  .success-share__primary {
    min-height: 51px;
    font-size: 14px;
  }

  .success-copy {
    min-height: 26px;
    margin-top: 4px;
  }

  .submitted-page .share-ticket {
    padding: 18px;
    box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.27);
  }
}

/* Guest invite landing: fit name, all three fixtures and join CTA in one phone screen */
@media (max-width: 840px) {
  .group-page .invite-hero {
    margin-top: 13px;
    padding: 18px 16px;
    border-radius: 18px;
  }

  .group-page .invite-hero__top {
    margin-bottom: 12px;
  }

  .group-page .invite-hero h1 {
    margin: 6px 0 7px;
    font-size: 36px;
    line-height: 1.05;
  }

  .group-page .invite-hero > p {
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.55;
  }

  .group-page .invite-hero__meta {
    margin: 10px 0 11px;
    gap: 4px;
  }

  .group-page .invite-hero .button--large {
    min-height: 47px;
    padding: 10px 18px;
    font-size: 14px;
  }

  .group-page .invite-hero__login {
    margin-top: 7px;
    font-size: 9px;
    line-height: 1.5;
  }

  .group-page .invite-fixtures {
    padding: 15px 0 8px;
  }

  .group-page .invite-fixtures .section-heading {
    margin-bottom: 9px;
  }

  .group-page .invite-fixtures .section-heading h2 {
    font-size: 21px;
  }

  .group-page .fixture-stack {
    gap: 5px;
  }

  .group-page .fixture-row {
    min-height: 55px;
    padding: 7px 9px;
    gap: 6px;
  }

  .group-page .fixture-row__date strong {
    font-size: 15px;
  }

  .group-page .fixture-row__teams strong {
    font-size: 11.5px;
  }

  .group-page .fixture-row .status-pill {
    font-size: 7px;
    padding: 3px 6px;
  }

  .group-page .invite-hero__count {
    font-size: 9px;
  }
}

.group-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 7px 11px;
  border-radius: 7px;
  background: var(--lime);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 3px 0 #7e9a17;
}

.group-header__cta:hover {
  background: #e2ff74;
}

/* Cumulative group rank and private self picks */
.group-header__rank.is-unranked strong {
  font-size: 13px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.group-header__rank.is-unranked em {
  max-width: 100px;
  font-size: 7px;
  line-height: 1.35;
}

.rank__none {
  color: #7c8a7f;
  font-size: 16px;
  font-weight: 900;
}

.my-private-pick {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(16, 47, 36, 0.14);
  border-radius: 8px;
  background: #f5f1e6;
  color: #102f24;
}

.my-private-pick__label {
  padding: 3px 6px;
  border-radius: 4px;
  background: #d7ff3f;
  color: #102f24;
  font-size: 7px;
  font-weight: 900;
  white-space: nowrap;
}

.my-private-pick strong {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}

.my-private-pick__note {
  color: #68796b;
  font-size: 7.5px;
  line-height: 1.4;
}

/* Clear return path from the submission success page */
.success-back-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 35px;
  margin-top: 4px;
  border: 1px solid rgba(215, 255, 63, 0.28);
  border-radius: 8px;
  background: rgba(215, 255, 63, 0.075);
  color: #d7ff3f;
  font-size: 10px;
  font-weight: 900;
}

.success-back-group:hover {
  background: rgba(215, 255, 63, 0.13);
}

@media (max-width: 840px) {
  .success-back-group {
    min-height: 33px;
    font-size: 9.5px;
  }

  .my-private-pick {
    grid-template-columns: auto auto;
    gap: 6px 8px;
  }

  .my-private-pick__note {
    grid-column: 1 / -1;
  }
}

/* Unified round picks: one readable match list for you, friends and the desk */
.round-picks-panel .panel__head {
  margin-bottom: 9px;
}

.round-picks-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0 0 9px;
  padding: 8px 9px;
  border: 1px solid rgba(215, 255, 63, 0.18);
  border-radius: 7px;
  background: rgba(215, 255, 63, 0.055);
  color: #aab9ac;
  font-size: 8px;
  line-height: 1.5;
}

.round-picks-note svg {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 1px;
  color: #d7ff3f;
}

.round-picks-list {
  display: grid;
  gap: 7px;
}

.round-pick-game {
  padding: 9px 10px;
  border: 1px solid rgba(243, 239, 229, 0.1);
  border-radius: 9px;
  background: #f4f0e5;
  color: #102f24;
}

.round-pick-game.is-live {
  border-color: rgba(215, 255, 63, 0.55);
  box-shadow: 0 0 0 1px rgba(215, 255, 63, 0.1);
}

.round-pick-game__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.round-pick-game__time {
  display: block;
  color: #68786b;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.round-pick-game h3 {
  margin: 3px 0 0;
  color: #102f24;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.round-pick-game h3 span {
  color: #7b8a7d;
  font-size: 9px;
  font-weight: 700;
}

.round-pick-game .status-pill {
  flex: 0 0 auto;
  margin-top: 1px;
  font-size: 7px;
}

.round-reveals {
  display: grid;
  gap: 3px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed rgba(16, 47, 36, 0.18);
}

.round-person {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 28px;
  padding: 3px 7px;
  border-radius: 5px;
}

.round-person.is-you {
  background: rgba(215, 255, 63, 0.44);
}

.round-person.is-editor {
  margin-top: 2px;
  background: rgba(16, 47, 36, 0.08);
}

.round-person__label {
  color: #102f24;
  font-size: 9px;
  font-weight: 900;
}

.round-person__label em {
  color: #68796b;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.round-person strong {
  color: #102f24;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.round-self-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
  padding: 6px 8px;
  border-radius: 5px;
  background: rgba(215, 255, 63, 0.28);
}

.round-self-pick span {
  color: #4f6454;
  font-size: 8px;
  font-weight: 900;
}

.round-self-pick strong {
  color: #102f24;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 900;
}

@media (max-width: 840px) {
  .round-pick-game {
    padding: 8px 9px;
  }

  .round-pick-game h3 {
    font-size: 15px;
  }

  .round-person {
    min-height: 26px;
    padding: 2px 6px;
  }

  .round-person strong,
  .round-self-pick strong {
    font-size: 15px;
  }
}

.round-picks-panel .panel__head h2 {
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.round-picks-panel .panel__meta {
  max-width: 118px;
  font-size: 8px;
  line-height: 1.35;
  text-align: right;
}

@media (max-width: 840px) {
  .round-picks-panel .panel__head h2 {
    font-size: 22px;
  }
}

/* Round page: deadline board first, then the shared scorecard flow */
.round-schedule {
  width: min(100%, 680px);
  margin: 16px auto 18px;
  padding: 14px;
  border: 1px solid rgba(215, 255, 63, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(215, 255, 63, 0.08), transparent 16rem),
    #10251a;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.16);
}

.round-schedule__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.round-schedule__head h2 {
  margin: 3px 0 0;
  color: #f3efe5;
  font-size: 24px;
}

.round-schedule__head p {
  margin: 0;
  color: #91a294;
  font-size: 8px;
  text-align: right;
}

.round-schedule__list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.round-schedule__list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid rgba(243, 239, 229, 0.1);
  border-radius: 7px;
  background: rgba(243, 239, 229, 0.035);
}

.round-schedule__num {
  color: #d7ff3f;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 900;
}

.round-schedule__match {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.round-schedule__match strong {
  overflow: hidden;
  color: #f3efe5;
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.round-schedule__match span {
  color: #8fa093;
  font-size: 7.5px;
}

.round-schedule__list li > em {
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(215, 255, 63, 0.1);
  color: #d7ff3f;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.round-schedule__list li.is-locked > em {
  background: rgba(255, 201, 74, 0.12);
  color: #ffcf73;
}

.round-pick-stage {
  width: min(100%, 680px);
  margin: 0 auto;
}

.round-pick-stage__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 8px;
}

.round-pick-stage__head h2 {
  margin: 3px 0 0;
  color: #f3efe5;
  font-size: 25px;
}

.round-pick-stage__hint {
  color: #8d9d90;
  font-size: 8px;
  text-align: right;
}

.round-pick-stage .gph-progress {
  margin: 0 0 9px;
}

.round-pick-stage .gph-list {
  gap: 9px;
}

.round-pick-stage .gph-submit-entry {
  margin-top: 9px;
}

.round-friends-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 680px);
  margin: 18px auto 0;
  padding: 16px;
  border: 1px solid rgba(215, 255, 63, 0.22);
  border-radius: 13px;
  background: #10251a;
}

.round-friends-cta h2 {
  margin: 3px 0 4px;
  color: #f3efe5;
  font-size: 22px;
}

.round-friends-cta p {
  margin: 0;
  color: #94a497;
  font-size: 9px;
  line-height: 1.55;
}

@media (max-width: 840px) {
  .round-schedule {
    margin-top: 12px;
    padding: 12px;
  }

  .round-schedule__head h2 {
    font-size: 21px;
  }

  .round-schedule__head p {
    max-width: 120px;
  }

  .round-pick-stage__head h2 {
    font-size: 22px;
  }

  .round-friends-cta {
    display: block;
  }

  .round-friends-cta .button {
    width: 100%;
    margin-top: 10px;
  }
}

/* Rules: stronger body copy on the first cream card */
.rule-card--wide p {
  color: #24362a;
  font-weight: 500;
}

.source-list__missing {
  color: #b4784b;
  font-size: 9px;
  font-weight: 800;
}

/* Match team names are visual headings; the page keeps one semantic H1. */
.match-hero__team .match-hero__team-name {
  margin: 9px 0 1px;
  color: inherit;
  font-size: clamp(25px, 4.7vw, 44px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1.05;
}

@media (max-width: 840px) {
  .match-hero__team .match-hero__team-name {
    font-size: 25px;
    overflow-wrap: anywhere;
  }
}

.gph-article--pending {
  cursor: default;
  color: #69796c;
  background: rgba(16, 47, 36, 0.05);
}

.gph-article--pending .gph-article__brand {
  background: #9ca99d;
}

.round-sources p a {
  color: var(--lime);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gph-article__title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.45;
}

.supplement-source__note {
  color: #9eaaa1;
  font-size: 10px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.supplement-source__note p {
  margin: 0 0 8px;
}

.supplement-source__note a {
  color: var(--lime);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.editorial-article-round {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.editorial-article-round:first-of-type {
  border-top: 0;
}

.editorial-article-round h3 {
  margin: 0 0 7px;
  font-size: 17px;
}

.editorial-article-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 9px;
  border-radius: 6px;
  background: rgba(243, 239, 229, 0.035);
  color: #aebbb0;
  font-size: 10px;
}

.editorial-article-row + .editorial-article-row {
  margin-top: 4px;
}

.editorial-article-row strong {
  color: #d7ff3f;
  font-size: 9px;
  text-align: right;
}

.editorial-article-row em {
  color: #ffcf73;
  font-style: normal;
  font-weight: 900;
}

/* ------------------------------------------------------------------
   公開記錄：編輯部戰績、球迷榜、上一輪賽果
   ------------------------------------------------------------------ */
.gupo-record {
  margin-top: 29px;
  padding: 27px 0 29px;
  border-top: 1px solid rgba(243, 239, 229, 0.13);
}

/* .text-link 預設係奶白色（配深色底）；放喺淺色 panel 裡面要轉返墨色 */
.panel .text-link {
  color: var(--ink);
  border-bottom-color: rgba(12, 21, 16, 0.3);
}

.panel .text-link:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.gupo-record__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.gupo-record__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.gupo-record__stats div {
  padding: 10px;
  background: #f7f3e9;
  border: 1px solid rgba(12, 21, 16, 0.09);
  border-radius: 9px;
}

.gupo-record__stats dt {
  color: var(--muted-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gupo-record__stats dd {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.gupo-record__note {
  margin: 0 0 12px;
  color: var(--muted-dark);
  font-size: 11px;
  line-height: 1.7;
}

.gupo-results {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gupo-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px 84px 70px;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #f7f3e9;
  border: 1px solid rgba(12, 21, 16, 0.09);
  border-radius: 9px;
}

.gupo-result__teams {
  min-width: 0;
}

.gupo-result__teams strong {
  display: block;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.gupo-result__teams small {
  display: block;
  margin-top: 3px;
  color: var(--muted-dark);
  font-size: 9px;
}

.gupo-result__cell {
  text-align: right;
}

.gupo-result__cell span {
  display: block;
  color: var(--muted-dark);
  font-size: 8px;
  font-weight: 700;
}

.gupo-result__cell strong {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--ink);
}

.gupo-result__cell--miss strong {
  color: var(--muted);
}

@media (max-width: 720px) {
  .gupo-record__grid,
  .gupo-record__stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .gupo-record__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gupo-result {
    grid-template-columns: minmax(0, 1fr) 62px 62px;
    row-gap: 8px;
  }

  .gupo-result__cell:last-child {
    grid-column: 1 / -1;
    text-align: left;
  }
}

/* ------------------------------------------------------------------
   補時主站入口（頁腳）＋ 官方 WhatsApp（首頁、提交成功頁）
   ------------------------------------------------------------------ */
.bousi-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 13px 16px;
  border: 1px solid rgba(243, 239, 229, 0.16);
  border-radius: 12px;
  background: rgba(243, 239, 229, 0.04);
  color: var(--paper);
  text-decoration: none;
}

.bousi-entry:hover,
.bousi-entry:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
}

.bousi-entry__brand {
  font-weight: 900;
  letter-spacing: -0.03em;
}

.bousi-entry__label {
  flex: 1;
  min-width: 0;
  font-size: 13px;
}

.bousi-entry__arrow {
  font-size: 13px;
}

.gupo-wa {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin: 26px 0 0;
  padding: 20px 22px;
  border: 1px solid rgba(215, 255, 63, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(215, 255, 63, 0.1), rgba(215, 255, 63, 0.03));
}

.gupo-wa__copy {
  min-width: 0;
}

.gupo-wa h2 {
  margin: 6px 0 0;
  color: var(--paper);
  font-size: clamp(20px, 4.5vw, 28px);
  letter-spacing: -0.04em;
}

.gupo-wa p {
  max-width: 46ch;
  margin: 8px 0 0;
  color: #b9c6bb;
  font-size: 13px;
  line-height: 1.7;
}

.gupo-wa__button {
  flex: none;
}

.success-official-wa {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(243, 239, 229, 0.18);
}

.success-official-wa__kicker {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.success-official-wa__button {
  width: 100%;
}

.success-official-wa__note {
  margin: 0;
  color: #9aa79c;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 720px) {
  .gupo-wa {
    padding: 18px;
  }

  .gupo-wa__button {
    width: 100%;
    justify-content: center;
  }
}

/* 比賽卡的「睇補時今場分析」入口：保留文章標題，下面加一行固定 CTA */
.gph-article--bousi .gph-article__title {
  -webkit-line-clamp: 3;
}

.gph-article__cta {
  display: block;
  margin-top: 2px;
  color: #4d6b52;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ==================================================================
   首頁 v3：一眼認出球隊、看到今輪看點、馬上填比分
   ================================================================== */

.gh-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 36px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 22px 60px;
}

.gh-col {
  min-width: 0;
  display: grid;
  gap: 30px;
}

.gh-rail {
  position: sticky;
  top: 84px;
  min-width: 0;
}

/* ---------- 首屏標題 ---------- */
.gh-hero {
  min-width: 0;
}

.gh-hero__meta {
  margin: 0;
  color: #93a297;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.gh-hero h1 {
  margin: 10px 0 0;
  color: var(--paper);
  font-size: clamp(30px, 5.4vw, 46px);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.gh-hero__brand {
  margin: 10px 0 0;
  color: var(--lime);
  font-size: clamp(15px, 3.4vw, 19px);
  font-weight: 850;
  letter-spacing: -0.02em;
}

.gh-hero__sub {
  margin: 8px 0 0;
  color: #a6b3a9;
  font-size: 13px;
  line-height: 1.6;
}

.gh-hero__prog {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.gh-hero__copy {
  color: #cfd9d1;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.gh-hero__copy strong {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 15px;
}

.gh-prog {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: rgba(243, 239, 229, 0.14);
  overflow: hidden;
}

.gh-prog__bar {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--lime);
  transition: width 0.25s ease;
}

/* ---------- 表單提示：只講一次，13px ---------- */
.gh-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px 14px;
  border-left: 3px solid var(--lime);
  border-radius: 8px;
  background: rgba(215, 255, 63, 0.08);
  color: #dfe8e1;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

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

/* ---------- 比賽卡 ---------- */
.gh-card {
  padding: 16px 18px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.14);
}

.gh-card--focus {
  border-color: rgba(215, 255, 63, 0.85);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.14), 0 0 0 2px rgba(215, 255, 63, 0.5);
}

.gh-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(12, 21, 16, 0.09);
}

.gh-card__when {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}

.gh-card__when strong {
  color: #5f6d63;
  font-size: 11px;
  font-weight: 700;
}

.gh-card__when b {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.gh-card__when small {
  color: #86937f;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
}

.gh-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding: 4px 9px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.gh-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.gh-state.is-empty {
  background: rgba(12, 21, 16, 0.07);
  color: #6d7a70;
}

.gh-state.is-ready {
  background: rgba(215, 255, 63, 0.55);
  color: #2b3a20;
}

.gh-state.is-submitted {
  background: #173d2a;
  color: var(--lime);
}

/* ---------- 主體：隊名 | 比數 | 隊名 ---------- */
.gh-pitch {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) auto 14px auto minmax(0, 1fr);
  grid-template-areas: "home sh colon sa away";
  align-items: center;
  gap: 6px;
  padding: 16px 0 12px;
}

.gh-team {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.gh-team--home {
  grid-area: home;
  align-items: flex-end;
  text-align: right;
}

.gh-team--away {
  grid-area: away;
  align-items: flex-start;
  text-align: left;
}

.gh-team__name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(15px, 4.2vw, 20px);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.gh-team__role {
  color: #86937f;
  font-size: 9px;
  font-weight: 700;
}

/* 隊色 + 球衣紋樣做辨認標記（冇隊徽素材時用） */
.gh-kit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  overflow: hidden;
  background: var(--k1, #173d2a);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
}

.gh-kit--lg {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.gh-kit--stripes {
  background: repeating-linear-gradient(90deg, var(--k1) 0 6px, var(--k2) 6px 12px);
}

.gh-kit--hoops {
  background: repeating-linear-gradient(180deg, var(--k1) 0 7px, var(--k2) 7px 14px);
}

.gh-kit--halves {
  background: linear-gradient(90deg, var(--k1) 50%, var(--k2) 50%);
}

.gh-kit--sash {
  background:
    linear-gradient(135deg, transparent 38%, var(--k2) 38% 62%, transparent 62%),
    var(--k1);
}

.gh-kit b {
  position: relative;
  z-index: 1;
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(12, 21, 16, 0.66);
  color: #f3efe5;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.gh-kit--lg b {
  font-size: 13px;
}

/* ---------- 比數輸入 ---------- */
.gh-cell {
  grid-area: sh;
}

.gh-cell--away {
  grid-area: sa;
}

.gh-colon {
  grid-area: colon;
  color: #7d8b81;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}

.gh-static {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 46px;
  border-radius: 10px;
  background: rgba(12, 21, 16, 0.07);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
}

.gh-card .gph-stepper {
  border-color: rgba(12, 21, 16, 0.16);
  background: #fff;
}

.gh-card .gph-stepper input {
  width: 44px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}

.gh-card .gph-step {
  width: 38px;
  height: 44px;
  color: #34493a;
  font-size: 20px;
  font-weight: 800;
}

/* ---------- 提示 / 觀察 / 原文入口 ---------- */
.gh-hint {
  margin: 0;
  padding: 2px 0 8px;
  color: #b25a3a;
  font-size: 11px;
  font-weight: 700;
}

.gh-hook {
  margin: 0;
  padding: 9px 0 0;
  border-top: 1px dashed rgba(12, 21, 16, 0.12);
  color: #33473a;
  font-size: 13px;
  line-height: 1.6;
}

.gh-hook b {
  display: inline-block;
  margin-right: 7px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #173d2a;
  color: var(--lime);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  vertical-align: 1px;
}

.gh-read {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid #cfdcc0;
  border-radius: 9px;
  background: #eff4e4;
  color: #2f513b;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.gh-read:hover {
  border-color: #a9bd97;
  background: #e8efd8;
}

.gh-read__brand {
  flex: none;
  padding: 2px 5px;
  border-radius: 3px;
  background: #102f24;
  color: #f3efe5;
  font-size: 8px;
  font-weight: 900;
}

.gh-read__title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-height: 1.45;
}

.gh-read__cta {
  flex: none;
  color: #33513d;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 430px) {
  .gh-read__cta {
    font-size: 9px;
  }
}

.gh-read__arrow {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
}

.gh-result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(12, 21, 16, 0.06);
}

.gh-result div {
  display: grid;
  gap: 2px;
}

.gh-result span {
  color: #6d7a70;
  font-size: 9px;
  font-weight: 700;
}

.gh-result strong {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
}

.gh-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  color: #7c8a80;
  font-size: 10px;
}

.gh-card__foot strong {
  color: #33473a;
}

.gh-card__foot a {
  color: #33513d;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- 提交區 ---------- */
.gh-submit {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(215, 255, 63, 0.3);
  border-radius: 16px;
  background: rgba(23, 61, 42, 0.9);
}

.gh-submit__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.gh-submit__head strong {
  color: var(--paper);
  font-size: 15px;
  font-weight: 850;
}

.gh-missing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px dashed rgba(215, 255, 63, 0.5);
  border-radius: 9px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.gh-submit__btn {
  width: 100%;
  margin-top: 12px;
  justify-content: center;
  font-size: 15px;
}

.gh-submit__hint {
  margin: 10px 0 0;
  color: #c3d0c6;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.gh-submit__fine {
  margin: 6px 0 0;
  color: #8fa095;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

/* ---------- 右欄焦點 ---------- */
.gh-focus {
  padding: 20px;
  border: 1px solid rgba(215, 255, 63, 0.35);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(215, 255, 63, 0.1), rgba(23, 61, 42, 0.9));
}

.gh-focus__meta {
  margin: 0;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.gh-focus__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin-top: 14px;
}

.gh-focus__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 0;
  text-align: center;
}

.gh-focus__team strong {
  color: var(--paper);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.gh-focus__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-top: 12px;
}

.gh-focus__mid span {
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
}

.gh-focus__mid small {
  color: #9db0a2;
  font-size: 9px;
  font-weight: 700;
}

.gh-focus__date {
  margin: 12px 0 0;
  color: #9db0a2;
  font-size: 11px;
  text-align: center;
}

.gh-focus__hook {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(243, 239, 229, 0.18);
  color: #dbe5dc;
  font-size: 13px;
  line-height: 1.7;
}

.gh-focus__hook b {
  display: block;
  margin-bottom: 5px;
  color: var(--lime);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.gh-focus__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(215, 255, 63, 0.4);
  padding-bottom: 2px;
}

.gh-h2 {
  margin: 0 0 14px;
  color: var(--paper);
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

/* ---------- 響應式 ---------- */
@media (max-width: 1080px) {
  .gh-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 18px 16px 48px;
  }

  .gh-rail {
    display: none;
  }
}

@media (max-width: 760px) {
  .gh-pitch {
    grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr);
    grid-template-areas:
      "home . away"
      "sh colon sa";
    row-gap: 12px;
  }

  .gh-team--home,
  .gh-team--away {
    align-items: center;
    text-align: center;
  }

  .gh-team__name {
    font-size: 17px;
  }

  .gh-cell,
  .gh-cell--away {
    display: flex;
    justify-content: center;
  }

  .gh-card {
    padding: 14px 14px 12px;
  }

  .gh-hero h1 {
    font-size: 30px;
  }
}

/* 舊版把首頁 main 鎖死喺 680px（手機單列年代）。新版自己控制寬度，
   所以放開，否則 1440px 之下右欄會食晒空間、比賽卡淨返 260px。 */
.home-page .page-main {
  width: 100%;
  max-width: none;
}

/* 桌面：隊徽同隊名並排一行，比分就近中線，讀成「隊名 比數 : 比數 隊名」 */
@media (min-width: 761px) {
  .gh-team {
    flex-direction: row;
    align-items: center;
    gap: 9px;
  }

  .gh-team--home {
    flex-direction: row-reverse;
  }

  .gh-team__role {
    display: none;
  }
}

/* ==================================================================
   首頁 v4：深綠報頭 + 暖白比賽單
   ================================================================== */
.home-page.home-v4 {
  background: #f6f1e5;
}

/* 深墨綠只限暖白內容區；報頭、深綠帶、頁腳保留原本淺色字 */
.home-page.home-v4 .hw-shell {
  color: #12211a;
}

.home-page.home-v4 .page-main {
  width: 100%;
  max-width: none;
  padding-bottom: 0;
}

.hw-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 32px;
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
  padding: 22px 0 46px;
  color: #12211a;
}

.hw-col {
  min-width: 0;
}

.hw-meta {
  margin: 0;
  color: #6f7d70;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hw-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding-bottom: 12px;
  border-bottom: 2px solid #173d2a;
}

.hw-bar h1 {
  margin: 0;
  color: #12211a;
  font-size: clamp(24px, 5vw, 30px);
  font-weight: 950;
  letter-spacing: -0.05em;
}

.hw-bar__prog {
  color: #4a5b4e;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.hw-bar__prog strong {
  color: #173d2a;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 800;
}

/* ---------- 三場共用一塊暖白比賽單 ---------- */
.hw-sheet {
  margin-top: 14px;
  border: 1px solid #e2dbc8;
  border-radius: 14px;
  background: #fffdf7;
  overflow: hidden;
}

.hw-row {
  padding: 16px 18px 14px;
}

.hw-row + .hw-row {
  border-top: 1px solid #e6dfcd;
}

.hw-row__when {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
  color: #6f7d70;
  font-size: 11.5px;
  font-weight: 700;
}

.hw-row__when b {
  color: #12211a;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
}

.hw-row__when small {
  color: #93a094;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
}

.hw-row__state {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.hw-row__state.is-empty {
  background: #efeade;
  color: #7d8a7f;
}

.hw-row__state.is-ready {
  background: #173d2a;
  color: #f3efe5;
}

.hw-row__state.is-submitted {
  background: #173d2a;
  color: var(--lime);
}

/* 主隊 | 比數 | 客隊 */
.hw-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 12px auto minmax(0, 1fr);
  grid-template-areas: "home sh colon sa away";
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.hw-side {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.hw-side--home {
  grid-area: home;
  justify-content: flex-end;
}

.hw-side--away {
  grid-area: away;
  justify-content: flex-start;
}

/* 隊色標記：直接一塊隊色，唔再套黑框 */
.hw-mark {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--k1, #173d2a);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.hw-mark--stripes {
  background: repeating-linear-gradient(90deg, var(--k1) 0 5px, var(--k2) 5px 10px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.hw-mark--hoops {
  background: repeating-linear-gradient(180deg, var(--k1) 0 6px, var(--k2) 6px 12px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.hw-mark--halves {
  background: linear-gradient(90deg, var(--k1) 50%, var(--k2) 50%);
}

.hw-mark--sash {
  background:
    linear-gradient(135deg, transparent 38%, var(--k2) 38% 62%, transparent 62%),
    var(--k1);
}

.hw-name {
  font-size: clamp(15px, 4vw, 17px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.3;
  white-space: nowrap;
}

.hw-colon {
  grid-area: colon;
  color: #a9b3a6;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}

/* ---------- 比分輸入：數字靠近中線 ---------- */
.hw-score {
  grid-area: sh;
}

.hw-score--away {
  grid-area: sa;
}

.hw-sheet .gph-stepper {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #ded7c4;
  border-radius: 10px;
  background: #fff;
}

.hw-sheet .gph-step {
  width: 44px;
  height: 46px;
  border: 0;
  background: transparent;
  color: #35503d;
  font-size: 19px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}

.hw-sheet .gph-step:active {
  background: #f0ebdd;
}

.hw-sheet .gph-step:disabled {
  color: #c8cdc0;
}

.hw-sheet .gph-stepper input {
  width: 40px;
  height: 46px;
  border: 0;
  border-left: 1px solid #ece6d6;
  border-right: 1px solid #ece6d6;
  background: transparent;
  color: #12211a;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  -moz-appearance: textfield;
}

.hw-sheet .gph-stepper input::-webkit-outer-spin-button,
.hw-sheet .gph-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 空 vs 已填 0：空有底線提示，已填係實心深墨綠 */
.hw-sheet .gph-stepper input::placeholder {
  color: #c3c9bb;
  font-weight: 700;
}

.hw-sheet .gph-stepper.is-set {
  border-color: #173d2a;
  background: #173d2a;
}

.hw-sheet .gph-stepper.is-set input {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fffdf7;
}

.hw-sheet .gph-stepper.is-set .gph-step {
  color: #d9e6d7;
}

.hw-static {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  height: 46px;
  border-radius: 10px;
  background: #f1ece0;
  color: #12211a;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
}

.hw-hint {
  margin: 8px 0 0;
  color: #b25a3a;
  font-size: 11.5px;
  font-weight: 700;
}

.hw-result {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  color: #5f6d61;
  font-size: 11.5px;
}

.hw-result strong {
  color: #12211a;
  font-family: var(--font-mono);
  font-size: 13px;
}

/* ---------- 手機：補時文章標題放比分下面 ---------- */
.hw-art {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e6dfcd;
}

.hw-art__link {
  display: block;
  text-decoration: none;
}

.hw-art__title {
  display: block;
  color: #173d2a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.hw-art__cta {
  display: inline-block;
  margin-top: 4px;
  color: #173d2a;
  font-size: 11.5px;
  font-weight: 900;
  border-bottom: 1px solid currentColor;
}

.hw-row__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 0;
  color: #8a968a;
  font-size: 10.5px;
}

.hw-row__foot a {
  color: #334f3c;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- 提交 ---------- */
.hw-submit {
  margin-top: 16px;
}

.hw-submit__btn {
  width: 100%;
  justify-content: center;
  font-size: 16px;
}

.hw-submit__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 0;
  color: #4a5b4e;
  font-size: 12px;
}

.hw-submit__missing {
  color: #173d2a;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 61, 42, 0.35);
}

.hw-submit__hint {
  margin: 8px 0 0;
  color: #6f7d70;
  font-size: 11.5px;
  text-align: center;
}

.hw-submit__fine {
  margin: 4px 0 0;
  color: #93a094;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

/* ---------- 官方 WhatsApp（暖白底版本） ---------- */
.hw-wa {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid #e2dbc8;
  border-radius: 14px;
  background: #fffdf7;
}

.hw-wa h2 {
  margin: 0;
  color: #12211a;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hw-wa p {
  max-width: 46ch;
  margin: 6px 0 0;
  color: #5f6d61;
  font-size: 12.5px;
  line-height: 1.7;
}

/* ---------- 右欄：只有一篇今輪主打 ---------- */
.hw-rail {
  position: sticky;
  top: 82px;
  min-width: 0;
}

.hw-focus {
  padding: 20px;
  border: 1px solid #e2dbc8;
  border-radius: 14px;
  background: #fffdf7;
}

.hw-focus__label {
  margin: 0;
  color: #a4632d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hw-focus__title {
  margin: 10px 0 0;
  color: #12211a;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.hw-focus__excerpt {
  margin: 10px 0 0;
  color: #4a5b4e;
  font-size: 13px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.hw-focus__hook {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed #e6dfcd;
  color: #3d5142;
  font-size: 12.5px;
  line-height: 1.7;
}

.hw-focus__cta {
  display: inline-block;
  margin-top: 14px;
  color: #173d2a;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid #173d2a;
  padding-bottom: 2px;
}

.hw-focus__match {
  margin: 14px 0 0;
  color: #8a968a;
  font-size: 10.5px;
  line-height: 1.6;
}

/* ---------- 下半場：深綠帶 ---------- */
.hw-band {
  padding: 40px 0 56px;
  background: #0f2418;
  color: #f3efe5;
}

.hw-band__inner {
  display: grid;
  gap: 34px;
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

.hw-band__h2 {
  margin: 0 0 14px;
  color: #f3efe5;
  font-size: clamp(20px, 3.6vw, 26px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

/* ---------- 響應式 ---------- */
@media (max-width: 1080px) {
  .hw-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 16px 0 36px;
  }

  .hw-rail {
    display: none;
  }
}

@media (min-width: 1081px) {
  /* 主打文章喺右欄出現，卡片唔再重複同一標題 */
  .hw-art--featured {
    display: none;
  }
}

@media (max-width: 760px) {
  .hw-line {
    grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr);
    grid-template-areas:
      "home . away"
      "sh colon sa";
    row-gap: 12px;
  }

  .hw-side--home,
  .hw-side--away {
    justify-content: center;
  }

  .hw-mark {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    font-size: 9px;
  }

  .hw-name {
    font-size: 16px;
  }

  .hw-score,
  .hw-score--away {
    display: flex;
    justify-content: center;
  }

  .hw-row {
    padding: 14px 14px 12px;
  }

  .hw-sheet {
    border-radius: 12px;
  }

  .hw-band {
    padding: 30px 0 42px;
  }
}

/* 隊徽：有圖就用圖，載入失敗自動回退隊色＋縮寫 */
.hw-mark {
  position: relative;
  overflow: hidden;
}

.hw-mark.has-crest {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(12, 21, 16, 0.14);
  font-size: 0;
}

.hw-mark__img {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  object-fit: contain;
}

/* 隊徽放大少少，30px 太細，辨認唔到 */
.hw-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

@media (max-width: 760px) {
  .hw-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
}

/* 右欄摘要硬性限制兩行（單靠 -webkit-line-clamp 有時唔生效） */
.hw-focus__excerpt {
  max-height: calc(1.75em * 2);
}

/* 觸控目標：加減掣一定要 44×44 以上（之前只有 35px 闊） */
.hw-sheet .gph-stepper .gph-step {
  width: 44px;
  min-width: 44px;
  height: 46px;
}

.hw-sheet .gph-stepper input {
  width: 42px;
}

/* 分數輸入框：34px 太窄，兩位數字會頂住 */
.hw-sheet .gph-stepper input[type="number"] {
  flex: 0 0 42px;
  width: 42px;
  min-width: 42px;
}

/* P1：手機觸控目標。視覺尺寸唔變，只把可點範圍撐到 44px。
   header 嘅「登入／開帳戶」原本只有 33px 高，手指好易撳錯；
   卡片底部「賽事資料 →」、「睇補時全文 ↗」同理。 */
@media (max-width: 760px) {
  .site-header .text-button,
  .site-header .button--sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding-block: 0;
  }

  .hw-row__foot a,
  .hw-art__cta,
  .hw-submit__missing {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .gupo-wa .button,
  .hw-wa .button {
    min-height: 44px;
  }
}

@media (max-width: 760px) {
  /* 補足闊度：純文字連結只有 28px 闊，加左右內距到 44px */
  .site-header .text-button {
    padding-inline: 8px;
  }

  .site-header .brand {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* P2-3 方案 A：深綠帶改淺綠灰，全頁由「報頭深綠 → 暖白 → 淺綠」過渡 */
.hw-band {
  background: #eef2e6;
  border-top: 1px solid rgba(12, 21, 16, 0.08);
  color: #2f4336;
}

.hw-band .hw-band__h2,
.hw-band .gph-friends h2,
.hw-band .gph-about h2,
.hw-band .gph-about h3,
.hw-band .gph-faq h2,
.hw-band .gph-source h3,
.hw-band .gph-friends strong {
  color: #12211a;
}

.hw-band p,
.hw-band li,
.hw-band .gph-friends p,
.hw-band .gph-about p,
.hw-band .gph-source p {
  color: #3d5142;
}

.hw-band .gph-about__links a,
.hw-band .gph-source a,
.hw-band .gph-faq a {
  color: #173d2a;
}

.hw-band .gph-text-link {
  color: #173d2a;
  border-bottom-color: rgba(23, 61, 42, 0.35);
}

.hw-band .gph-text-link:hover {
  color: #a4632d;
}

.hw-band .gph-faq details {
  border-top-color: rgba(12, 21, 16, 0.12);
}

.hw-band .gph-faq summary {
  color: #12211a;
}

.hw-band .gph-friends__ticket {
  background: #fffdf7;
  border: 1px solid #dbd5c2;
}

.hw-band .gph-source {
  background: rgba(255, 253, 247, 0.7);
  border-color: #dbd5c2;
}

.hw-band .gph-source__stamp {
  color: #7d8a7f;
}

/* P2-4：右欄 sticky 對齊頂部，停止位置自然啲 */
.hw-rail {
  align-self: start;
  top: 76px;
}

/* 淺綠帶內：about 連結本來係深底，改成白底深字；FAQ 的「＋」由螢光黃改深綠 */
.hw-band .gph-about__links {
  border-color: #dbd5c2;
  background: #dbd5c2;
}

.hw-band .gph-about__links li {
  background: #fffdf7;
}

.hw-band .gph-about__links a {
  color: #173d2a;
}

.hw-band .gph-about__links a:hover {
  color: #a4632d;
}

.hw-band .gph-about__links span {
  color: #7d8a7f;
}

.hw-band .gph-faq details,
.hw-band .gph-faq details:last-child {
  border-color: rgba(12, 21, 16, 0.12);
}

.hw-band .gph-faq summary::after {
  color: #173d2a;
}

/* 朋友局那塊本身係深綠 CTA 卡（唔似 about/faq 咁透明），
   所以帶內佢要保持深底＋淺字，唔可以跟其他段落轉深字 */
.hw-band .gph-friends {
  border-color: rgba(23, 61, 42, 0.16);
}

.hw-band .gph-friends h2,
.hw-band .gph-friends strong {
  color: #f3efe5;
}

.hw-band .gph-friends p {
  color: #b3c0b7;
}

.hw-band .gph-friends .gph-text-link {
  color: #d9e3db;
  border-bottom-color: rgba(243, 239, 229, 0.35);
}

.hw-band .gph-friends .gph-text-link:hover {
  color: #d7ff3f;
}

/* 客戶視角第一優先：手機填完第一場後，提交區要跟住手指走。
   之前提交掣喺三場之後，填完第一場根本見唔到下一步。 */
@media (max-width: 760px) {
  .hw-submit {
    position: sticky;
    bottom: 74px;
    z-index: 30;
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid #e2dbc8;
    border-radius: 14px;
    background: #fffdf7;
    box-shadow: 0 6px 18px rgba(12, 21, 16, 0.13);
  }

  .hw-submit__hint,
  .hw-submit__fine {
    display: none;
  }

  .hw-submit__row {
    margin-top: 8px;
  }

  .hw-submit__btn {
    min-height: 46px;
  }
}

/* 客戶視角：新用戶唔知「補時編輯部」係邊個，加一句身份說明（信任門檻） */
.hw-who {
  margin: 10px 0 0;
  color: #5f6d61;
  font-size: 13px;
  line-height: 1.6;
}

.hw-who__name {
  color: #173d2a;
  font-weight: 900;
}

/* 由補時原文跳返嚟時，固定報頭唔可以遮住比分輸入框 */
.hw-row {
  scroll-margin-top: 84px;
}

/* 已填待提交的場次：底嗰句「你可以係第一個估呢場」收起來（右上角「已填」已經夠） */
.hw-row.is-filled .hw-row__foot > span:first-child {
  display: none;
}

/* 「繼續估第 N 場」用主按鈕樣式，同提交掣同一位置切換 */
.hw-submit__btn {
  width: 100%;
  justify-content: center;
  text-decoration: none;
}

/* 手機底部操作欄：進度同主按鈕同一行，任何時刻只有一個主按鈕 */
.hw-submit__bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hw-submit__count {
  flex: none;
  color: #4a5b4e;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.hw-submit__bar .hw-submit__btn {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding-inline: 12px;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 380px) {
  .hw-submit__count {
    font-size: 11px;
  }
}

/* [hidden] 必須真的隱藏。
   根因：.button / .hw-submit__bar .hw-submit__btn 都設了 display:inline-flex，
   author 樣式優先於 UA 的 [hidden]{display:none}，令 hidden 屬性完全失效，
   結果底欄兩個按鈕同時顯示。加 !important 壓過所有 author 的 display。 */
[hidden],
.hw-submit__bar [hidden],
a.button[hidden],
button.button[hidden] {
  display: none !important;
}

/* 提交成功頁：由深色改成同首頁一致的暖白，避免填完三場後畫面突然跳色 */
body.submitted-page {
  background: #f6f1e5;
  color: #12211a;
}

.submitted-page .success-hero h1 {
  color: #12211a;
}

.submitted-page .success-hero h1 span {
  color: #173d2a;
}

.submitted-page .success-hero p {
  color: #5f6d61;
}

.submitted-page .success-burst {
  opacity: 0.1;
}

.submitted-page .success-meta .eyebrow {
  color: #4a5b4e;
}

.submitted-page .success-confirm {
  background: #eef2e6;
  border-color: #d9e3d4;
  color: #173d2a;
}

.submitted-page .success-share {
  background: #fffdf7;
  border-color: #e2dbc8;
  color: #12211a;
}

.submitted-page .success-share h2,
.submitted-page .success-share__eyebrow {
  color: #12211a;
}

.submitted-page .success-share p,
.submitted-page .success-share__group {
  color: #5f6d61;
}

/* 提交成功頁的報頭本身仍是深綠，要保淺色字（body 已改成深墨字） */
.submitted-page .site-header,
.submitted-page .site-header a,
.submitted-page .site-header .name,
.submitted-page .site-header .en,
.submitted-page .site-header .issue,
.submitted-page .site-header .clock {
  color: #f3efe5;
}
