:root {
  --red: #e30613;
  --red-dark: #b80010;
  --red-soft: rgba(227, 6, 19, 0.08);
  --green: #0f5b3a;
  --green-dark: #063d28;
  --green-soft: rgba(15, 91, 58, 0.1);
  --gold: #d4af37;
  --gold-soft: rgba(212, 175, 55, 0.12);
  --ink: #0d0d0d;
  --muted: #605a52;
  --paper: #fff;
  --surface: #fff;
  --surface-soft: #fff;
  --line: #d9d9d9;
  --line-strong: #c7c7c7;
  --shadow: 0 14px 32px rgba(13, 13, 13, 0.08);
  --font-sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Noto Sans", "Helvetica Neue", "Segoe UI", sans-serif;
  --font-brand: "Poppins", "Inter Tight", -apple-system, BlinkMacSystemFont, "Noto Sans", "Helvetica Neue", "Segoe UI", sans-serif;
  --font-number: "Inter Tight", -apple-system, BlinkMacSystemFont, "Noto Sans", "Helvetica Neue", "Segoe UI", sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --app-topbar-height: calc(54px + var(--safe-top));
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-feature-settings: "kern" 1;
  line-height: 1.38;
}

.brand,
.brand-mark,
.brand-name,
.app-brand-lockup,
.app-brand-mark,
.app-brand-name,
.hero h1,
.pricing h1,
.form-page h1,
.home-hero h2,
.screen-heading h1,
.section-title h2,
.leaderboard-card h2,
.share-panel h2,
.admin-group h2,
.scoring-rules-heading h1,
.scoring-rules-summary strong,
.scoring-rules-total strong,
.group-detail-card h2,
.group-card-head h2,
.bracket-round h2,
.match-day h2,
.profile-card h2 {
  font-family: var(--font-brand);
}

.price,
.compact-score,
.compact-score b,
.rank-badge,
.matches-played,
.moment-match-count,
.score-stepper input,
.score-stepper > span,
.match-row-time time,
.match-row-time span,
.group-table-row > span,
.group-table-row > strong,
.profile-points strong {
  font-family: var(--font-number);
  font-variant-numeric: tabular-nums;
}

a {
  color: inherit;
}

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

.app-body {
  background: #fff;
}

.app-body .site-header {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--app-topbar-height);
  padding: calc(7px + var(--safe-top)) clamp(14px, 5vw, 44px) 7px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  backdrop-filter: blur(14px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-brand);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
}

.brand-mark img,
.app-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name,
.app-brand-name {
  display: block;
  font-size: 0.8rem;
  line-height: 0.88;
}

.brand-name span,
.app-brand-name span {
  display: block;
}

.brand-name-primary,
.app-brand-name-primary {
  color: var(--ink);
}

.brand-name-accent,
.app-brand-name-accent {
  color: var(--red);
}

.site-header nav a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.language-switcher-button {
  min-width: 30px;
  height: 28px;
  padding: 0 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.language-switcher-button.is-active {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}

.hero,
.dashboard,
.pricing,
.form-page,
.band {
  padding: 26px 16px calc(78px + var(--safe-bottom));
}

.hero {
  display: grid;
  align-content: start;
  width: min(100%, 760px);
  margin: 0 auto;
  gap: 18px;
  overflow: hidden;
}

.hero-copy {
  display: grid;
  gap: 14px;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.pricing h1,
.form-page h1 {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  line-height: 1;
}

.lede {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.actions,
.copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.16);
}

.button.secondary {
  color: var(--green);
  background: var(--green-soft);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.06);
}

.button.danger {
  color: white;
  background: var(--red-dark);
}

.button.whatsapp {
  color: white;
  background: var(--green);
}

.button.small {
  min-height: 36px;
  padding: 0 11px;
  font-size: 0.82rem;
}

.button.full {
  width: 100%;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: 8px;
  padding: 5px 11px 5px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(13, 13, 13, 0.08);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.plan-badge-icon {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan-badge-free {
  color: var(--green);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(207, 238, 219, 1), rgba(181, 226, 199, 0.98));
  border-color: rgba(15, 91, 58, 0.34);
}

.plan-badge-plus {
  color: #6d4700;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(255, 214, 119, 1), rgba(247, 190, 69, 0.98));
  border-color: rgba(212, 175, 55, 0.7);
}

.plan-badge-pro {
  color: var(--red-dark);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(255, 225, 227, 1), rgba(255, 205, 210, 0.98));
  border-color: rgba(227, 6, 19, 0.42);
}

.plan-badge-free::before,
.plan-badge-plus::before,
.plan-badge-pro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 34%);
  pointer-events: none;
}

.plan-badge-free::after,
.plan-badge-plus::after,
.plan-badge-pro::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.icon-button {
  width: 46px;
  padding: 0;
  color: white;
  background: var(--green);
}

input,
select {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(15, 91, 58, 0.22);
  outline-offset: 2px;
}

label {
  font-weight: 900;
}

.errorlist {
  margin: 0;
  padding-left: 18px;
  color: var(--red);
  font-weight: 900;
}

.scoreboard,
.panel,
.price-card,
.code-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 25, 18, 0.04);
}

.scoreboard {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.scoreboard-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.scoreboard-row.top {
  color: var(--green);
}

.form-page {
  display: grid;
  align-items: start;
}

.panel,
.price-card {
  padding: 18px;
}

.form-page .panel,
.narrow {
  width: min(100%, 560px);
  margin: 0 auto;
}

.create-body {
  background:
    radial-gradient(circle at top left, rgba(227, 6, 19, 0.1), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 91, 58, 0.08), transparent 24%),
    #fffdf9;
}

.create-shell {
  width: auto;
  margin: 0;
}

.create-topbar {
  margin-bottom: 0;
}

.create-hero {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(224, 227, 232, 0.9);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 56%, rgba(255, 255, 255, 0.86) 68%, rgba(255, 255, 255, 0.05) 100%),
    #fff;
  box-shadow: 0 16px 36px rgba(31, 25, 18, 0.08);
}

.create-hero-copy {
  display: grid;
  gap: 14px;
  align-content: start;
  max-width: 700px;
  padding: 22px 18px 18px;
}

.create-hero h1 {
  max-width: 9ch;
  margin: 0;
  color: #0a0d14;
  font-family: var(--font-brand);
  font-size: clamp(2.1rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 0.94;
}

.create-title-accent {
  color: var(--red);
}

.create-lede {
  max-width: 460px;
  margin: 0;
  color: #18212d;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  font-weight: 500;
  line-height: 1.54;
}

.create-pill {
  display: inline-flex;
  align-self: start;
  align-items: center;
  min-height: 40px;
  margin: 6px 0 0;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--green);
  background: rgba(15, 91, 58, 0.11);
  font-size: 0.9rem;
  font-weight: 800;
}

.create-hero-media {
  position: relative;
  min-height: 252px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 20%),
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.01) 42%, rgba(255, 255, 255, 0.78) 100%);
}

.create-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--create-hero-image);
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  transform: scale(1.01);
}

.create-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 33%, rgba(255, 255, 255, 0.96) 33% 36%, transparent 36% 56%, rgba(255, 255, 255, 0.9) 56% 58%, transparent 58% 76%, rgba(227, 6, 19, 0.92) 76% 100%),
    linear-gradient(135deg, transparent 0 35%, rgba(245, 132, 0, 0.88) 35% 37%, transparent 37% 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.9;
}

.create-form-stage {
  width: 100%;
  margin: 0;
  padding: 18px 0 18px;
}

.create-form-shell {
  display: grid;
  gap: 18px;
}

.create-form-grid {
  display: grid;
  gap: 18px;
}

.create-step-column {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.create-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(219, 225, 232, 0.96);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 252, 249, 0.98)),
    #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 18px 38px rgba(31, 25, 18, 0.07);
}

.create-card h2 {
  margin: 0;
  color: #050912;
  font-family: var(--font-brand);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.05;
  display: flex;
  align-items: center;
  gap: 12px;
}

.create-card.is-complete h2,
.create-card.is-locked:not(.is-complete) h2 {
  padding-right: 116px;
}

.create-card-lock-note {
  margin: -6px 0 2px;
  color: #6b7280;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.create-details-card,
.create-plan-card {
  min-width: 0;
}

.create-submit-card {
  min-width: 0;
}

.create-submit-card {
  gap: 16px;
}

.checkout-status-details {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 2px 0 0;
}

.checkout-status-details div {
  display: grid;
  grid-template-columns: minmax(92px, 0.36fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.checkout-status-details dt {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-status-details dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #111827;
  font-weight: 800;
}

.checkout-status-details a {
  color: #08712e;
}

.checkout-status-note {
  color: #475569;
  font-size: 0.95rem;
  font-weight: 700;
}

.create-card.is-locked {
  border-color: rgba(189, 197, 209, 0.96);
  background:
    linear-gradient(180deg, rgba(252, 252, 253, 0.99), rgba(246, 248, 251, 0.97)),
    #fff;
}

.create-card.is-complete {
  border-color: rgba(8, 113, 46, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 252, 249, 0.97)),
    #fff;
}

.create-card.is-locked.is-complete {
  border-color: rgba(189, 197, 209, 0.92);
  background:
    linear-gradient(180deg, rgba(251, 252, 253, 0.99), rgba(246, 248, 251, 0.98)),
    #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.86) inset,
    0 14px 30px rgba(51, 65, 85, 0.04);
}

.create-card.is-locked.is-complete h2,
.create-card.is-locked.is-complete label {
  color: #475569;
}

.create-card.is-complete .create-step-badge {
  background: linear-gradient(180deg, #0b8f3b, #08712e);
  box-shadow:
    0 10px 22px rgba(8, 113, 46, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.create-card.is-locked:not(.is-complete) {
  border-color: rgba(148, 163, 184, 0.68);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.99), rgba(241, 245, 249, 0.98)),
    #f8fafc;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.86) inset,
    0 14px 30px rgba(51, 65, 85, 0.045);
}

.create-card.is-locked:not(.is-complete) h2 {
  color: #475569;
}

.create-card.is-locked:not(.is-complete) .create-step-badge {
  background: linear-gradient(180deg, #a7b3c4, #758195);
  box-shadow:
    0 10px 20px rgba(100, 116, 139, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.create-card.is-locked:not(.is-complete) .create-field-hint {
  color: #64748b;
}

.create-step-state {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.create-step-check {
  background: #08712e;
  color: #fff;
  box-shadow:
    0 10px 22px rgba(8, 113, 46, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.create-step-lock {
  border: 1px solid rgba(100, 116, 139, 0.2);
  background: rgba(226, 232, 240, 0.96);
  color: #475569;
  box-shadow:
    0 10px 20px rgba(100, 116, 139, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.create-step-state svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.create-plan-action-card {
  align-content: start;
}

.create-complete-status {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 76px;
  border: 1px solid rgba(8, 113, 46, 0.16);
  border-radius: 18px;
  padding: 15px 16px;
  color: #124329;
  background:
    radial-gradient(circle at top right, rgba(8, 113, 46, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 250, 246, 0.98)),
    #fff;
  box-shadow:
    0 14px 30px rgba(18, 53, 36, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.create-card.is-locked.is-complete .create-complete-status {
  border-color: rgba(189, 197, 209, 0.94);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.97), rgba(242, 245, 249, 0.98)),
    #f8fafc;
  color: #344054;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.create-complete-status-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(8, 113, 46, 0.2), rgba(8, 113, 46, 0.08));
  color: #08712e;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.create-card.is-locked.is-complete .create-complete-status-icon {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.18), rgba(148, 163, 184, 0.08));
  color: #475569;
}

.create-complete-status-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.create-complete-status-copy {
  display: grid;
  gap: 0;
  min-width: 0;
}

.create-complete-status-code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-height: 42px;
}

.create-complete-status-label {
  color: #557063;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.create-card.is-locked.is-complete .create-complete-status-label {
  color: #64748b;
}

.create-complete-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(8, 113, 46, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #0e5b28;
  box-shadow: 0 8px 18px rgba(8, 113, 46, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.create-card.is-locked.is-complete .create-complete-status-badge {
  border-color: rgba(148, 163, 184, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 6px 14px rgba(100, 116, 139, 0.08);
}

.create-form-grid.is-locked-after-payment .create-step-column-left .create-card,
.create-form-grid.is-locked-after-payment .create-plan-card {
  position: relative;
}

.create-form-grid.is-locked-after-payment .create-step-column-left .create-card::after,
.create-form-grid.is-locked-after-payment .create-plan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(148, 163, 184, 0.06));
  pointer-events: none;
}

.create-details-card {
  gap: 12px;
}

.create-details-card h2 {
  margin-bottom: 2px;
}

.create-step-badge {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ef1118, var(--red));
  box-shadow:
    0 10px 22px rgba(227, 6, 19, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #fff;
  font-family: var(--font-number);
  font-size: 1rem;
  font-weight: 900;
  flex: 0 0 auto;
}

.create-details-card label {
  margin-top: 0;
  color: #111827;
  font-size: 0.88rem;
}

.create-field-hint {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.create-field-hint-tight {
  margin-top: -8px;
}

.create-field-hint strong {
  color: #0a0d14;
  font-weight: 900;
}

.availability-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(227, 6, 19, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.08), rgba(255, 255, 255, 0.95));
  box-shadow: 0 12px 24px rgba(227, 6, 19, 0.08);
  color: var(--red);
}

.availability-banner-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(227, 6, 19, 0.12);
}

.availability-banner-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.availability-banner-copy {
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.create-payment-banner {
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 16px 18px;
  border-radius: 20px;
}

.create-payment-banner[hidden],
.create-manual-contact-field[hidden] {
  display: none;
}

.create-payment-banner.is-payment {
  border-color: rgba(245, 132, 0, 0.22);
  background:
    radial-gradient(circle at 90% 0, rgba(245, 132, 0, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(245, 132, 0, 0.1), rgba(255, 255, 255, 0.97));
  box-shadow: 0 14px 28px rgba(245, 132, 0, 0.12);
  color: #b15f00;
}

.create-payment-banner.is-payment .availability-banner-icon {
  background: rgba(245, 132, 0, 0.14);
}

.create-payment-banner.is-confirmed {
  border-color: rgba(8, 113, 46, 0.2);
  background:
    radial-gradient(circle at 90% 0, rgba(8, 113, 46, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(8, 113, 46, 0.1), rgba(255, 255, 255, 0.97));
  box-shadow: 0 14px 28px rgba(8, 113, 46, 0.1);
  color: #0d5c31;
}

.create-payment-banner.is-confirmed .availability-banner-icon {
  background: rgba(8, 113, 46, 0.14);
}

.create-payment-banner.is-warning {
  border-color: rgba(227, 6, 19, 0.18);
}

.create-payment-banner-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.create-payment-banner-title {
  color: currentColor;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.2;
}

.create-payment-banner-detail {
  color: color-mix(in srgb, currentColor 82%, #111827);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
}

.create-payment-banner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.create-payment-banner-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: currentColor;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.create-payment-banner-chip strong {
  margin-right: 4px;
  font-weight: 900;
}

.create-manual-contact-field {
  display: grid;
  gap: 8px;
}

.create-manual-contact-field label {
  color: #111827;
  font-size: 0.88rem;
}

.create-manual-contact-field input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #d3dae3;
  border-radius: 12px;
  padding: 0 16px;
  background: #fff;
  box-shadow: inset 0 1px 1px rgba(13, 13, 13, 0.02);
  font-size: 1rem;
}

.create-details-card input,
.create-details-card select {
  min-height: 52px;
  border-color: #d3dae3;
  border-radius: 12px;
  padding: 0 16px;
  background: #fff;
  box-shadow: inset 0 1px 1px rgba(13, 13, 13, 0.02);
  font-size: 1rem;
}

.create-details-card .create-field-shell input {
  padding-right: 190px;
}

.create-details-card input.is-locked,
.create-details-card select.is-locked,
.create-details-card [data-locked-field="true"] {
  border-color: rgba(189, 197, 209, 0.94);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(242, 245, 249, 0.98));
  color: #344054;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.create-details-card input.is-locked {
  cursor: default;
}

.create-competition-select-shell {
  position: relative;
}

.create-competition-select-shell select {
  width: 100%;
  padding-right: 54px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.create-competition-select-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transform: translateY(-50%);
  color: #956b00;
  background: rgba(212, 175, 55, 0.12);
  pointer-events: none;
}

.create-competition-select-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.create-plan-list {
  display: grid;
  grid-auto-rows: auto;
  padding-top: 6px;
  gap: 12px;
  width: 100%;
  justify-self: start;
}

.create-plan-option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "body price"
    "copy cap"
    "code code";
  align-items: center;
  gap: 8px 16px;
  min-height: 112px;
  padding: 14px 15px;
  border: 1.5px solid rgba(16, 24, 40, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 244, 0.96)),
    #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 10px 24px rgba(31, 25, 18, 0.055);
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.create-plan-option::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: currentColor;
  opacity: 0.18;
  transition: opacity 160ms ease;
}

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

.create-plan-option input[type="text"] {
  position: static;
  opacity: 1;
  pointer-events: auto;
}

.create-plan-option input[type="text"]:not(:disabled):not([readonly]) {
  cursor: text;
}

.create-plan-option:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, currentColor 34%, transparent);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 16px 30px rgba(31, 25, 18, 0.08);
}

.create-plan-option:focus-within {
  outline: 4px solid color-mix(in srgb, currentColor 18%, transparent);
  outline-offset: 3px;
}

.create-plan-option.is-selected,
.create-plan-option:has(input:checked) {
  transform: translateY(-2px);
  border-color: currentColor;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, currentColor 74%, transparent),
    0 18px 34px rgba(31, 25, 18, 0.11),
    0 0 0 4px color-mix(in srgb, currentColor 12%, transparent);
}

.create-plan-option.is-selected::before,
.create-plan-option:has(input:checked)::before {
  opacity: 1;
}

.create-plan-option-free {
  --create-plan-accent: #08712e;
  color: #08712e;
}

.create-plan-option-plus {
  --create-plan-accent: #f58400;
  color: #f58400;
}

.create-plan-option-pro {
  --create-plan-accent: var(--red);
  color: var(--red);
}

.create-plan-option-free.is-selected,
.create-plan-option-free:has(input:checked) {
  background:
    radial-gradient(circle at 16% 14%, rgba(15, 91, 58, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(15, 91, 58, 0.08), rgba(255, 255, 255, 0.99) 56%);
}

.create-plan-option-plus.is-selected,
.create-plan-option-plus:has(input:checked) {
  background:
    radial-gradient(circle at 16% 14%, rgba(245, 132, 0, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(245, 132, 0, 0.09), rgba(255, 255, 255, 0.99) 56%);
}

.create-plan-option-pro.is-selected,
.create-plan-option-pro:has(input:checked) {
  background:
    radial-gradient(circle at 16% 14%, rgba(227, 6, 19, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(227, 6, 19, 0.08), rgba(255, 255, 255, 0.99) 56%);
}

.create-plan-option-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: currentColor;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.create-plan-option-free .create-plan-option-icon {
  background: rgba(15, 91, 58, 0.12);
  color: var(--green);
}

.create-plan-option-plus .create-plan-option-icon {
  background: rgba(245, 132, 0, 0.14);
  color: #f58400;
}

.create-plan-option-pro .create-plan-option-icon {
  background: rgba(227, 6, 19, 0.12);
  color: var(--red);
}

.create-plan-option-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.create-plan-option-body {
  grid-area: body;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
}

.create-plan-option-heading {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.create-plan-option-title-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.create-plan-option-title {
  font-family: var(--font-brand);
  font-size: 1.72rem;
  line-height: 1;
  font-weight: 700 !important;
}

.create-plan-option-free .create-plan-option-title {
  color: #08712e;
}

.create-plan-option-plus .create-plan-option-title {
  color: #f58400;
}

.create-plan-option-pro .create-plan-option-title {
  color: var(--red);
}

.create-plan-option-copy {
  grid-area: copy;
  min-width: 0;
  padding-left: 4px;
  color: #26313d;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.3;
}

.create-plan-option-price {
  grid-area: price;
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 44px;
  text-align: right;
}

.create-plan-option-price strong {
  color: #0a0d14;
  font-family: var(--font-number);
  font-size: clamp(1.25rem, 1.8vw, 1.58rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.create-plan-option-price-line {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 7px;
}

.create-plan-option-price .create-plan-option-price-previous {
  color: #7c8794;
  font-family: var(--font-number);
  font-size: clamp(1.25rem, 1.8vw, 1.58rem);
  font-weight: 800;
  line-height: 0.95;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(124, 135, 148, 0.72);
  letter-spacing: -0.04em;
}

.create-plan-option-price span {
  color: #39424d;
  font-size: 0.66rem;
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.create-plan-option-cap {
  grid-area: cap;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  border-radius: 10px;
  padding: 0 9px;
  background: rgba(15, 91, 58, 0.11);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.create-plan-option-plus .create-plan-option-cap {
  background: rgba(245, 132, 0, 0.12);
  color: #c96c00;
}

.create-plan-option-pro .create-plan-option-cap {
  background: rgba(227, 6, 19, 0.1);
  color: var(--red);
}

.create-plan-option-meta {
  display: contents;
}

.create-plan-option.is-selected .create-plan-option-icon,
.create-plan-option:has(input:checked) .create-plan-option-icon {
  background: var(--create-plan-accent);
  color: #fff;
}

.create-plan-option-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 132px;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(71, 85, 105, 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.96));
  color: #334155;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  font-size: 0.6rem;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.create-plan-option-state-current {
  border-color: rgba(11, 18, 32, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(226, 232, 240, 0.98));
  color: #0f172a;
}

.create-plan-option-state-blocked {
  border-color: rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.98));
  color: #64748b;
}

.create-plan-option.is-locked,
.create-plan-option.is-locked.is-selected,
.create-plan-option.is-locked:has(input:checked),
.create-plan-option.is-locked:hover,
.create-plan-option.is-locked:focus-within {
  border-color: rgba(148, 163, 184, 0.62);
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.97)),
    #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.08);
  color: #64748b;
  cursor: default;
  opacity: 0.68;
  filter: grayscale(0.45);
  transform: none;
}

.create-plan-option.is-current,
.create-plan-option.is-current.is-locked,
.create-plan-option.is-current:has(input:checked),
.create-plan-option.is-current:hover,
.create-plan-option.is-current:focus-within {
  opacity: 0.9;
  filter: none;
}

.create-plan-option.is-locked::before {
  background: #94a3b8;
  opacity: 0.55;
}

.create-plan-option.is-locked:focus-within {
  outline: none;
}

.create-plan-option.is-locked .create-plan-option-icon {
  background: rgba(148, 163, 184, 0.2);
  color: #64748b;
}

.create-plan-option.is-locked .create-plan-option-title,
.create-plan-option.is-locked .create-plan-option-copy,
.create-plan-option.is-locked .create-plan-option-price strong,
.create-plan-option.is-locked .create-plan-option-price span,
.create-plan-option.is-locked .create-plan-option-cap {
  color: #64748b;
}

.create-plan-option.is-locked .create-plan-option-cap {
  background: rgba(148, 163, 184, 0.16);
}

.create-custom-code-panel {
  grid-area: code;
  display: grid;
  gap: 8px;
  margin-top: 4px;
  margin-left: -2px;
  margin-right: -2px;
  padding: 12px 13px;
  border: 1px solid color-mix(in srgb, var(--create-plan-accent) 22%, transparent);
  border-radius: 14px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--create-plan-accent) 8%, transparent), rgba(255, 255, 255, 0.98)),
    #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.84) inset,
    0 8px 18px color-mix(in srgb, var(--create-plan-accent) 8%, transparent);
}

.create-custom-code-label {
  margin: 0;
  color: var(--create-plan-accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1.1;
  text-transform: uppercase;
}

.create-custom-code-panel input {
  min-height: 46px;
  border-radius: 12px;
  padding: 0 12px;
  font-size: 0.92rem;
}

.create-custom-code-panel .create-field-hint {
  margin: 0;
  color: #39424d;
  font-size: 0.74rem;
  line-height: 1.35;
}

.create-custom-code-panel.is-disabled {
  border-color: color-mix(in srgb, var(--create-plan-accent) 14%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--create-plan-accent) 4%, transparent), rgba(255, 255, 255, 0.96)),
    #fff;
  color: color-mix(in srgb, var(--create-plan-accent) 58%, #64748b);
}

.create-custom-code-panel.is-disabled .create-custom-code-label,
.create-custom-code-panel.is-disabled .create-field-hint {
  color: color-mix(in srgb, var(--create-plan-accent) 54%, #64748b);
}

.create-custom-code-panel.is-disabled input {
  cursor: not-allowed;
  opacity: 0.78;
}

.create-submit {
  min-height: 74px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(180deg, #ef1118, var(--red));
  font-size: 1.08rem;
  font-weight: 900;
  box-shadow:
    0 20px 38px rgba(227, 6, 19, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.create-submit.button.primary {
  background: linear-gradient(180deg, #ef1118, var(--red));
}

.create-submit:disabled,
.create-submit.button.primary:disabled,
.create-plan-action-card.is-locked .create-submit {
  background: linear-gradient(180deg, #a7b3c4, #758195);
  box-shadow:
    0 12px 22px rgba(100, 116, 139, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  color: #f8fafc;
  cursor: not-allowed;
  opacity: 0.78;
}

.create-submit:focus-visible {
  outline-color: rgba(227, 6, 19, 0.28);
}

.create-panel {
  display: grid;
  gap: 16px;
  width: min(100%, 640px);
  margin: 0 auto;
  border-color: rgba(217, 217, 217, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 247, 0.98)),
    #fff;
}

.create-panel-head {
  display: grid;
  gap: 8px;
}

.create-panel-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: 1.25rem;
  line-height: 1.05;
}

.create-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.create-form {
  margin-top: 4px;
}

.join-form-stage {
  padding-right: 8px;
  padding-left: 8px;
}

.join-form-grid {
  display: grid;
  gap: 18px;
  width: 100%;
  margin: 0 auto;
}

.join-request-card,
.join-info-card {
  align-content: start;
}

.join-card-copy {
  margin: -2px 0 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.join-access-form {
  display: grid;
  gap: 12px;
}

.join-access-form label {
  color: #111827;
  font-size: 0.88rem;
}

.join-access-form input {
  min-height: 52px;
  border-color: #d3dae3;
  border-radius: 12px;
  padding: 0 16px;
  background: #fff;
  box-shadow: inset 0 1px 1px rgba(13, 13, 13, 0.02);
  font-size: 1rem;
}

.join-submit {
  margin-top: 4px;
}

.join-form-footnote {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 650;
}

.join-tournament-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, auto);
  gap: 16px;
  align-items: center;
  min-height: 36px;
  border-bottom: 1px solid rgba(219, 225, 232, 0.96);
  padding: 0 0 10px;
}

.join-tournament-section span,
.join-tournament-section strong {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.2;
}

.join-tournament-section span {
  color: #050912;
  font-family: var(--font-brand);
  font-size: 1rem;
  font-weight: 800;
}

.join-tournament-section strong {
  color: #4f5866;
  font-weight: 750;
  text-align: right;
}

.join-code-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(3, 105, 161, 0.16);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.95), rgba(240, 249, 255, 0.98));
  color: #075985;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.join-plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.join-plan-badge-free {
  border-color: rgba(100, 116, 139, 0.22);
  background: rgba(241, 245, 249, 0.98);
  color: #475569;
}

.join-plan-badge-plus {
  border-color: rgba(22, 163, 74, 0.2);
  background: rgba(240, 253, 244, 0.98);
  color: #15803d;
}

.join-plan-badge-pro {
  border-color: rgba(234, 88, 12, 0.22);
  background: rgba(255, 247, 237, 0.98);
  color: #c2410c;
}

.join-rules-row-list {
  display: grid;
  gap: 0;
  border-bottom: 1px solid rgba(219, 225, 232, 0.96);
  padding: 0 0 4px;
}

.join-rules-row-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, auto);
  gap: 16px;
  align-items: center;
  min-height: 36px;
  border-top: 1px solid rgba(219, 225, 232, 0.72);
}

.join-rules-row-list span,
.join-rules-row-list strong {
  font-size: 0.86rem;
  line-height: 1.2;
}

.join-rules-row-list span {
  color: #111827;
  font-weight: 850;
}

.join-rules-row-list strong {
  color: #4f5866;
  font-weight: 750;
  text-align: right;
}

.join-plan-subrows {
  margin: -2px 0 0 18px;
  padding-left: 14px;
  border-left: 2px solid rgba(219, 225, 232, 0.92);
}

.join-plan-subrows.is-full {
  border-left-color: rgba(237, 114, 87, 0.35);
}

.join-facts-row-list {
  margin-top: 8px;
}

.join-plan-subrows.is-full .join-facts-row-list {
  border-color: rgba(237, 114, 87, 0.35);
}

.join-plan-subrows.is-full .join-facts-row-list div {
  border-top-color: rgba(237, 114, 87, 0.2);
}

.join-plan-subrows.is-full .join-facts-row-list strong {
  color: #9a3412;
}

.join-full-note {
  margin: 10px 0 0;
  color: #b42318;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.35;
}

.stacked-form {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.form-footnote {
  margin: 18px 0 0;
  color: var(--muted);
}

.form-footnote a {
  color: var(--green);
  font-weight: 900;
}

.join-menu {
  position: relative;
}

.join-menu summary {
  list-style: none;
}

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

.join-menu .code-form {
  margin-top: 10px;
  padding: 16px;
}

.landing-body {
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-body main {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: auto;
  margin: 0;
  border: 0;
  background: #fff;
  box-shadow: none;
  overflow: visible;
}

.landing-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  --landing-shell-gutter: 10px;
  padding-bottom: 0;
}

.landing-topbar {
  border-bottom: 1px solid var(--line);
}

.landing-topbar .app-brand-lockup {
  padding-left: 0;
}

.landing-topbar .app-brand-lockup::before {
  display: none;
}

.landing-topbar-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}

.landing-topbar-nav a {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none;
}

.landing-menu-link {
  display: none;
}

.landing-menu-link span,
.landing-menu-link span::before,
.landing-menu-link span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.landing-menu-link span {
  position: relative;
}

.landing-menu-link span::before,
.landing-menu-link span::after {
  content: "";
  position: absolute;
  left: 0;
}

.landing-menu-link span::before {
  top: -6px;
}

.landing-menu-link span::after {
  top: 6px;
}

.landing-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - var(--app-topbar-height));
  background: #fff;
  overflow: hidden;
}

.landing-hero {
  --landing-hero-copy-width: min(52%, 580px);
  --landing-hero-fade: linear-gradient(90deg, #fff 0%, #fff 38%, rgba(255, 255, 255, 0.98) 48%, rgba(255, 255, 255, 0.72) 62%, rgba(255, 255, 255, 0.12) 80%, rgba(255, 255, 255, 0) 100%);
  position: relative;
  display: grid;
  align-items: start;
  min-height: 202px;
  margin: 0 -10px;
  border-bottom: 1px solid #dde2e8;
  background: #fff;
  overflow: hidden;
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    var(--landing-hero-fade),
    linear-gradient(135deg, rgba(13, 13, 13, 0.035) 0 10%, transparent 10.2% 100%),
    linear-gradient(315deg, rgba(15, 91, 58, 0.055) 0 8%, transparent 8.2% 100%),
    linear-gradient(28deg, transparent 0 78%, rgba(212, 175, 55, 0.07) 78.2%, transparent 78.4%);
}

.landing-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 18px;
  max-width: var(--landing-hero-copy-width);
  padding: 20px 24px 56px 24px;
}

.landing-hero h1 {
  max-width: 100%;
  margin: 0;
  color: #050912;
  font-family: var(--font-brand);
  font-size: clamp(1.9rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 0.96;
}

.landing-title-main,
.landing-title-accent {
  display: block;
}

.landing-title-main {
  color: #050912;
}

.landing-title-accent {
  color: var(--red);
}

.landing-title-break {
  display: none;
}

.landing-subtitle-break {
  display: none;
}

.landing-hero p {
  max-width: 470px;
  margin: 0;
  color: #111827;
  font-size: 0.97rem;
  font-weight: 500;
  line-height: 1.55;
}

.landing-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.landing-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--landing-hero-image);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  opacity: 0.96;
}

.landing-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 20px 20px 16px;
  scroll-margin-top: 24px;
}

.landing-card {
  display: grid;
  grid-template-rows: auto auto auto auto;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(31, 25, 18, 0.07);
}

.landing-create-card {
  background:
    radial-gradient(circle at 12% 14%, rgba(227, 6, 19, 0.12), transparent 34%),
    #fff3f3;
}

.landing-join-card {
  background:
    radial-gradient(circle at 12% 14%, rgba(15, 91, 58, 0.1), transparent 35%),
    #f7f9f8;
}

.landing-card-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.landing-card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.landing-card-icon-red {
  color: var(--red);
  background: rgba(227, 6, 19, 0.1);
}

.landing-card-icon-green {
  color: var(--green);
  background: rgba(15, 91, 58, 0.12);
}

.landing-card-icon-orange {
  color: #f58400;
  background: rgba(245, 132, 0, 0.13);
}

.landing-card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-card h2,
.landing-how h2,
.landing-features h2,
.landing-promo h2 {
  margin: 0;
  color: #050912;
  font-family: var(--font-brand);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.15;
}

.landing-card p,
.landing-how p,
.landing-feature-grid p,
.landing-promo p,
.landing-footer p,
.landing-footer a {
  font-size: 0.78rem;
  line-height: 1.45;
}

.landing-card p {
  margin: 8px 0 0;
  color: #111827;
  font-weight: 500;
}

.landing-how svg,
.landing-feature-grid svg,
.landing-promo-link svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-create-form {
  display: contents;
  min-width: 0;
}

.landing-create-form select {
  align-self: center;
  width: 100%;
  min-height: 52px;
  border-color: rgba(227, 6, 19, 0.12);
  border-radius: 6px;
  padding: 0 48px 0 14px;
  background: rgba(255, 255, 255, 0.82);
  color: #050912;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.landing-create-form select option {
  color: #050912;
}

.landing-create-form select:disabled {
  color: #8d5d67;
}

.landing-create-select-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transform: translateY(-50%);
  color: var(--red);
  background: rgba(227, 6, 19, 0.1);
  pointer-events: none;
}

.landing-create-select-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-field-shell,
.create-field-shell {
  position: relative;
  min-width: 0;
}

.landing-field-status,
.create-field-status {
  position: absolute;
  top: 50%;
  right: 12px;
  z-index: 1;
  display: none;
  align-items: center;
  gap: 6px;
  max-width: min(54%, 260px);
  transform: translateY(-50%);
  overflow: hidden;
  padding-left: 8px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
  pointer-events: none;
}

.landing-field-status.is-visible::before,
.create-field-status.is-visible::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.62rem;
  line-height: 1;
  flex: 0 0 auto;
}

.landing-field-status.is-visible,
.create-field-status.is-visible {
  display: flex;
}

.landing-field-status .errorlist,
.create-field-status .errorlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-cta {
  width: 100%;
  min-height: 52px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 800;
}

.landing-create-card .landing-cta {
  background: linear-gradient(180deg, #f11118, var(--red));
}

.landing-join-card .landing-cta {
  background: linear-gradient(180deg, #087139, #005a2d);
}

.landing-pill {
  justify-self: center;
  margin: -8px 0 0 !important;
  padding: 8px 12px;
  color: var(--red) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
}

.landing-create-form .landing-availability-note,
.landing-join-form .landing-availability-note,
.landing-join-form p.landing-availability-note {
  display: block;
  justify-self: stretch;
  margin: 0 0 4px !important;
  padding: 0;
  text-align: center;
}

.landing-create-form[data-availability-disabled="true"] select:disabled,
.landing-join-form[data-availability-disabled="true"] input:disabled,
.create-form-shell[data-availability-disabled="true"] input:disabled,
.create-form-shell[data-availability-disabled="true"] select:disabled,
.join-access-form[data-availability-disabled="true"] input:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.landing-create-form[data-availability-disabled="true"] button:disabled,
.landing-join-form[data-availability-disabled="true"] button:disabled,
.create-form-shell[data-availability-disabled="true"] button:disabled,
.join-access-form[data-availability-disabled="true"] button:disabled,
.create-form-shell[data-availability-disabled="true"] [data-create-plan-option] {
  cursor: not-allowed;
  opacity: 0.64;
}

.landing-page a {
  text-decoration: none;
}

.landing-page a:hover {
  font-weight: 900;
}

.pricing-landing-body .landing-topbar-nav a[aria-current="page"] {
  color: var(--red);
}

.landing-hero.pricing-landing-hero {
  --landing-hero-copy-width: min(54%, 600px);
  height: 246px;
  min-height: 246px;
}

.pricing-landing-hero .landing-hero-copy {
  gap: 12px;
  padding-bottom: 32px;
}

.pricing-landing-hero .landing-hero h1,
.pricing-landing-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.7rem);
}

.join-landing-hero h1 {
  max-width: min(100%, 11ch);
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .landing-hero.pricing-landing-hero {
    --landing-hero-copy-width: 57%;
    height: 168px;
    min-height: 168px;
  }

  .pricing-landing-hero .landing-hero-copy {
    gap: 7px;
    padding: 22px 18px 30px;
  }

  .pricing-landing-hero h1 {
    max-width: 180px;
    font-size: clamp(1.42rem, 6vw, 1.72rem);
    line-height: 0.94;
  }

  .join-landing-hero h1 {
    max-width: 170px;
  }

  .pricing-landing-hero .landing-subtitle-break {
    display: block;
  }

  .pricing-landing-hero p {
    max-width: 182px;
    font-size: 0.76rem;
    line-height: 1.34;
  }
}

.landing-pricing-section {
  padding: 20px 20px 16px;
  scroll-margin-top: 24px;
}

.landing-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.landing-price-card {
  position: relative;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 16px;
  min-height: 560px;
}

.landing-price-card-free {
  background:
    radial-gradient(circle at 12% 14%, rgba(15, 91, 58, 0.1), transparent 35%),
    #f7f9f8;
}

.landing-price-card-plus {
  border-color: rgba(245, 132, 0, 0.35);
  background:
    radial-gradient(circle at 12% 14%, rgba(245, 132, 0, 0.12), transparent 35%),
    #fff8ef;
}

.landing-price-card-pro {
  background:
    radial-gradient(circle at 12% 14%, rgba(227, 6, 19, 0.12), transparent 34%),
    #fff3f3;
}

.landing-price-card .landing-card-head {
  grid-template-columns: 56px minmax(0, 1fr);
}

.landing-price-card h2 {
  font-size: 1.35rem;
}

.landing-price-card p {
  margin-top: 6px;
}

.landing-plan-badge {
  position: absolute;
  top: -13px;
  right: 18px;
  margin: 0 !important;
  border-radius: 999px;
  padding: 6px 11px;
  color: #fff !important;
  background: #f58400;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  line-height: 1;
}

.landing-price-value {
  display: grid;
  justify-items: center;
  gap: 1px;
  padding: 12px 0 4px;
}

.landing-price-value strong {
  font-family: var(--font-number);
  font-size: clamp(2.7rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.landing-price-value span {
  color: #111827;
  font-size: 0.78rem;
  font-weight: 700;
}

.landing-price-cap {
  align-self: start;
  margin: 0 !important;
}

.landing-price-card-free .landing-price-cap {
  color: var(--green) !important;
  background: rgba(15, 91, 58, 0.11);
}

.landing-price-card-plus .landing-price-cap {
  color: #c24600 !important;
  background: rgba(245, 132, 0, 0.12);
}

.landing-price-list {
  display: grid;
  align-content: start;
  gap: 9px;
  margin: 0;
  border-top: 1px solid rgba(13, 13, 13, 0.1);
  padding: 16px 0 0;
  list-style: none;
}

.landing-price-list li {
  position: relative;
  padding-left: 24px;
  color: #111827;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.32;
}

.landing-price-list li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

.landing-price-card-plus .landing-price-list li::before {
  color: #f58400;
}

.landing-price-card-pro .landing-price-list li::before {
  color: var(--red);
}

.landing-price-card-plus .landing-cta {
  background: linear-gradient(180deg, #ff9d00, #f58400);
}

.landing-price-card-pro .landing-cta {
  background: linear-gradient(180deg, #f11118, var(--red));
}

.pricing-contact-promo {
  grid-template-columns: 82px minmax(0, 1fr) auto;
}

.pricing-star-preview {
  height: 82px;
}

.pricing-star-preview > div {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 0;
  border-radius: 50%;
  background: rgba(109, 40, 217, 0.12);
  box-shadow: none;
}

.pricing-star-preview svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #6d28d9;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-join-form {
  display: contents;
  min-width: 0;
}

.landing-join-form input {
  align-self: center;
  width: 100%;
  min-height: 52px;
  border-color: #d9e0e8;
  border-radius: 6px;
  padding: 0 168px 0 14px;
  background: #fff;
  font-weight: 600;
}

.landing-join-form p {
  display: flex;
  align-self: start;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  color: #28313d;
  font-size: 0.7rem;
  font-weight: 500;
}

.landing-join-form p svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-how {
  padding: 20px 28px 28px;
  text-align: center;
}

.landing-how h2,
.landing-features h2 {
  font-size: 1.04rem;
}

.landing-how ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.landing-how li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
}

.landing-how li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  left: calc(50% + 34px);
  width: calc(100% - 50px);
  border-top: 1px dashed #cbd3dd;
}

.landing-how li > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
}

.landing-how svg {
  width: 38px;
  height: 38px;
  color: #050912;
  stroke-width: 1.7;
}

.landing-how strong,
.landing-feature-grid strong {
  color: #050912;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
}

.landing-how p,
.landing-feature-grid p {
  max-width: 130px;
  margin: 0;
  color: #111827;
  font-weight: 500;
}

.landing-screenshots {
  display: grid;
  gap: 24px;
  margin: 0 28px 34px;
  padding: 32px 0 4px;
  border-top: 1px solid #dde2e8;
}

.landing-section-head {
  display: grid;
  gap: 8px;
  max-width: 720px;
}

.landing-section-head h2 {
  margin: 0;
  color: #050912;
  font-family: var(--font-brand);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.05;
}

.landing-section-head p {
  margin: 0;
  color: #334155;
  font-weight: 550;
  line-height: 1.55;
}

.landing-phone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.landing-features {
  margin: 0 28px;
  padding: 22px 0 28px;
  border-top: 1px solid #dde2e8;
  text-align: center;
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 0;
  margin-top: 22px;
}

.landing-feature-grid article {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  padding: 0 14px;
}

.landing-feature-grid article + article {
  border-left: 1px solid #e2e6ec;
}

.landing-feature-grid article:nth-child(4n + 1) {
  border-left: 0;
}

.landing-feature-grid svg {
  width: 36px;
  height: 36px;
  color: #050912;
  stroke-width: 1.75;
}

.landing-feature-grid p {
  margin: 0;
  color: #111827;
}

.landing-promo {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 0 28px 30px;
  padding: 18px 20px;
  border: 1px solid #dfe8e4;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbfa, #f3f7f5);
}

.landing-phone-preview {
  display: grid;
  place-items: end center;
  height: 146px;
  overflow: hidden;
}

.landing-phone-preview > div {
  position: relative;
  width: 82px;
  height: 152px;
  border: 5px solid #111827;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(140deg, transparent 0 38%, rgba(227, 6, 19, 0.85) 38.5% 52%, rgba(15, 91, 58, 0.88) 52.5% 68%, transparent 68.5%),
    #06080c;
  box-shadow: 0 14px 26px rgba(10, 18, 28, 0.22);
}

.landing-phone-preview span,
.landing-phone-preview strong,
.landing-phone-preview b {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.landing-phone-preview span {
  top: 11px;
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: #2b313a;
}

.landing-phone-preview strong {
  top: 34px;
  color: #fff;
  font-size: 0.58rem;
  text-transform: uppercase;
}

.landing-phone-preview b {
  bottom: 30px;
  border-radius: 4px;
  padding: 7px 13px;
  color: #050912;
  background: #fff;
  font-size: 0.62rem;
}

.landing-promo h2 {
  font-size: 1.08rem;
}

.landing-promo p {
  max-width: 500px;
  margin: 8px 0 0;
  color: #111827;
  font-weight: 500;
}

.about-landing-hero {
  --landing-hero-copy-width: min(56%, 640px);
}

.about-landing-hero .landing-hero-copy {
  gap: 14px;
}

.about-overview-grid .landing-card,
.about-detail-grid .landing-card {
  min-height: 100%;
}

.about-how p {
  max-width: 190px;
}

.about-notice .landing-phone-preview > div {
  background:
    linear-gradient(155deg, transparent 0 40%, rgba(15, 91, 58, 0.9) 40.5% 58%, rgba(227, 6, 19, 0.88) 58.5% 74%, transparent 74.5%),
    #06080c;
}

.about-notice p {
  max-width: 540px;
}

.legal-landing-hero {
  --landing-hero-copy-width: min(62%, 720px);
}

.legal-landing-hero .landing-hero-copy {
  gap: 14px;
}

.legal-page-updated {
  margin: 0 !important;
  color: rgba(15, 23, 42, 0.72) !important;
  font-size: 0.7rem;
  font-weight: 650 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-update-banner {
  margin: 12px 24px 18px;
  padding: 12px 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.96));
  box-shadow: 0 12px 28px rgba(8, 15, 23, 0.05);
}

.legal-highlight {
  align-items: center;
}

.legal-highlight .landing-phone-preview > div {
  background:
    linear-gradient(155deg, transparent 0 34%, rgba(15, 91, 58, 0.96) 34.5% 53%, rgba(227, 6, 19, 0.9) 53.5% 72%, transparent 72.5%),
    #08131c;
}

.legal-highlight-copy {
  max-width: 640px;
  margin: 10px 0 0;
  color: #111827;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.6;
}

.legal-page-content {
  margin: 0 24px 34px;
}

.legal-page-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.98)),
    #fff;
  box-shadow: 0 24px 60px rgba(8, 15, 23, 0.08);
}

.legal-page-card > p {
  max-width: 76ch;
  margin: 0;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 450;
  line-height: 1.72;
}

.legal-page-card a {
  color: var(--red);
  font-weight: 650;
}

.legal-section {
  display: grid;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.legal-index {
  display: grid;
  grid-template-columns: minmax(130px, 0.42fr) minmax(0, 1.8fr);
  gap: 18px;
  align-items: start;
  max-width: 920px;
  padding: 20px 0 4px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.legal-index-label {
  margin: 0;
  color: rgba(15, 23, 42, 0.58);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-index-links {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.legal-index-links a {
  display: grid;
  grid-template-columns: 36px minmax(130px, 0.9fr) minmax(0, 1.5fr);
  gap: 12px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  color: #08131c;
  text-decoration: none;
}

.legal-index-links a:hover strong {
  color: var(--red);
}

.legal-index-links span {
  color: rgba(15, 23, 42, 0.48);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.legal-index-links strong {
  font-size: 0.9rem;
  line-height: 1.35;
}

.legal-index-links small {
  color: #475569;
  font-size: 0.82rem;
  font-weight: 450;
  line-height: 1.5;
}

.legal-section h2 {
  margin: 0;
  color: #08131c;
  font-size: 0.94rem;
  line-height: 1.3;
}

.legal-section p {
  max-width: 76ch;
  margin: 0;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 450;
  line-height: 1.72;
}

.legal-section ul {
  max-width: 72ch;
  margin: 0;
  padding-left: 22px;
  color: #334155;
}

.overview-hero {
  --landing-hero-copy-width: min(66%, 760px);
}

.overview-content a {
  color: var(--red);
  font-weight: 750;
}

.overview-content strong {
  color: #0f5b3a;
}

.overview-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.9);
}

.overview-language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 850;
  text-decoration: none;
}

.overview-language-switcher a.is-active {
  color: #fff;
  background: #0f5b3a;
}

.overview-section-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 24px 26px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 38px rgba(8, 15, 23, 0.07);
}

.overview-section-links {
  display: flex;
  flex: 1 1 520px;
  flex-wrap: wrap;
  gap: 10px;
}

.overview-section-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(15, 91, 58, 0.18);
  border-radius: 6px;
  padding: 0 14px;
  color: #0f5b3a;
  background: rgba(15, 91, 58, 0.04);
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
}

.overview-section-links a:hover {
  border-color: rgba(227, 6, 19, 0.26);
  color: var(--red);
  background: rgba(227, 6, 19, 0.05);
}

.overview-media {
  margin-top: -10px;
}

.overview-video-section video {
  display: block;
  width: 100%;
  max-width: 920px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #08131c;
  box-shadow: 0 18px 42px rgba(8, 15, 23, 0.12);
}

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

.overview-gallery figure {
  display: grid;
  gap: 10px;
  margin: 0;
}

.overview-gallery img {
  display: block;
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 15, 23, 0.08);
}

.overview-gallery figcaption {
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.claim-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 32px;
  align-items: center;
  min-height: 560px;
  padding: 56px 56px 38px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.96) 0 45%, rgba(255, 255, 255, 0.82) 55%, rgba(255, 255, 255, 0.2) 78%, transparent 100%),
    linear-gradient(140deg, rgba(227, 6, 19, 0.12), transparent 34%),
    linear-gradient(315deg, rgba(15, 91, 58, 0.22), transparent 42%),
    #08131c;
  overflow: hidden;
}

.claim-hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -34% 46%;
  height: 78%;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.18);
  pointer-events: none;
}

.claim-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0 50%, rgba(8, 19, 28, 0.16) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 18px);
  pointer-events: none;
}

.claim-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  min-width: 0;
}

.claim-eyebrow {
  width: fit-content;
  border: 1px solid rgba(15, 91, 58, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  color: #0f5b3a;
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  font-weight: 850;
}

.claim-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #050912;
  font-family: var(--font-brand);
  font-size: clamp(3.1rem, 5vw, 5rem);
  font-weight: 850;
  line-height: 0.94;
}

.claim-hero p,
.claim-section-head p,
.claim-benefits p {
  margin: 0;
  color: #334155;
  font-weight: 550;
  line-height: 1.55;
}

.claim-hero p {
  max-width: 620px;
  font-size: 1.08rem;
}

.claim-hero-claims {
  display: grid;
  gap: 10px;
  max-width: 660px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.claim-hero-claims li {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  padding: 12px 14px 12px 44px;
  color: #172033;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(8, 15, 23, 0.07);
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.32;
}

.claim-hero-claims li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 15px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0f5b3a;
  box-shadow: 0 0 0 4px rgba(15, 91, 58, 0.1);
}

.claim-hero-claims li::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 20px;
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.claim-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.claim-primary-cta {
  min-height: 52px;
  padding-right: 24px;
  padding-left: 24px;
  box-shadow: 0 18px 34px rgba(227, 6, 19, 0.2);
}

.claim-price-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  padding: 0 14px;
  color: #111827;
  background: rgba(255, 255, 255, 0.84);
  font-size: 0.84rem;
  font-weight: 850;
}

.claim-hero-visual {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 472px;
  min-width: 0;
}

.claim-hero-phone-stack {
  position: relative;
  min-height: 472px;
}

.claim-hero-phone {
  position: absolute;
  display: block;
  margin: 0;
}

.claim-hero-phone span,
.claim-phone-frame > span {
  position: absolute;
  top: 13px;
  left: 50%;
  z-index: 2;
  width: 50px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0b1018, #2b3442);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
}

.claim-hero-phone span::after,
.claim-phone-frame > span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #111827;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.22);
  transform: translateY(-50%);
}

.claim-hero-phone img {
  display: block;
  width: 238px;
  height: auto;
  border: 10px solid #111827;
  border-radius: 34px;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.24),
    0 24px 58px rgba(8, 15, 23, 0.32);
}

.claim-hero-phone::before,
.claim-hero-phone::after,
.claim-phone-frame::before,
.claim-phone-frame::after {
  content: "";
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  background: #111827;
}

.claim-hero-phone::before,
.claim-phone-frame::before {
  top: 90px;
  left: -3px;
  width: 4px;
  height: 48px;
}

.claim-hero-phone::after,
.claim-phone-frame::after {
  top: 128px;
  right: -3px;
  width: 4px;
  height: 72px;
}

.claim-hero-phone-primary {
  right: 42px;
  top: 4px;
  z-index: 2;
}

.claim-hero-phone-secondary {
  left: 10px;
  top: 88px;
  z-index: 1;
  opacity: 0.92;
  transform: rotate(-4deg);
}

.claim-link-card {
  position: absolute;
  right: 0;
  bottom: 20px;
  z-index: 4;
  display: grid;
  gap: 9px;
  width: min(78%, 380px);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 54px rgba(8, 15, 23, 0.22);
}

.claim-link-card span,
.claim-link-card b {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.claim-link-card strong {
  overflow-wrap: anywhere;
  color: #050912;
  font-size: clamp(1rem, 2vw, 1.32rem);
  line-height: 1.15;
}

.claim-link-card b {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 10px;
  color: #fff;
  background: #0f5b3a;
}

.claim-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 28px;
  padding: 32px 0 28px;
}

.claim-benefits article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 15, 23, 0.06);
}

.claim-benefit-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #0f5b3a;
  background: rgba(15, 91, 58, 0.08);
}

.claim-benefit-icon-red {
  color: var(--red);
  background: rgba(227, 6, 19, 0.08);
}

.claim-benefit-icon-gold {
  color: #8a5c00;
  background: rgba(212, 175, 55, 0.18);
}

.claim-benefit-icon-dark {
  color: #111827;
  background: rgba(17, 24, 39, 0.08);
}

.claim-benefit-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.claim-benefits strong {
  color: #050912;
  font-size: 0.94rem;
}

.claim-benefits p {
  font-size: 0.86rem;
}

.claim-screenshots {
  display: grid;
  gap: 24px;
  margin: 0 28px 38px;
  padding: 32px 0 4px;
  border-top: 1px solid #dde2e8;
}

.claim-section-head {
  display: grid;
  gap: 8px;
  max-width: 720px;
}

.claim-section-head h2 {
  margin: 0;
  color: #050912;
  font-family: var(--font-brand);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.05;
}

.claim-phone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.claim-phone-frame {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  min-width: 0;
}

.claim-phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 10px solid #111827;
  border-radius: 34px;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.24),
    0 18px 42px rgba(8, 15, 23, 0.16);
}

.claim-phone-frame figcaption {
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.legal-section li {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.72;
}

.landing-promo-link {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 58px;
  border: 1px solid rgba(15, 91, 58, 0.24);
  border-radius: 6px;
  padding: 0 22px;
  color: var(--green);
  background: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  width: fit-content;
}

.landing-promo-link svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.8;
}

.landing-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.9fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
  margin: auto calc(-1 * var(--landing-shell-gutter)) 0;
  padding: 28px 28px 24px;
  color: #fff;
  background: #080f17;
}

.landing-footer .brand {
  color: #fff;
}

.landing-footer .brand-mark {
  width: 38px;
  height: 38px;
}

.landing-footer .brand-name-primary {
  color: #fff;
}

.landing-footer p {
  max-width: 300px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.landing-footer-right {
  display: grid;
  gap: 18px;
  width: min(100%, 360px);
  padding-top: 42px;
  justify-self: end;
}

.landing-footer nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  width: 100%;
}

.landing-footer nav div {
  display: grid;
  gap: 7px;
  align-content: start;
}

.landing-footer strong {
  color: #fff;
  font-size: 0.78rem;
}

.landing-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
  text-decoration: none;
}

.landing-footer-bottom {
  grid-column: 1 / -1;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

.landing-footer-copy {
  max-width: none !important;
  margin: 0 !important;
  text-align: center;
}

.landing-footer-language {
  display: flex;
  position: absolute;
  top: 28px;
  right: 28px;
  justify-content: flex-end;
}

.landing-footer-language .language-switcher {
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.landing-footer-language .language-switcher-button {
  color: rgba(255, 255, 255, 0.72);
}

.landing-footer-language .language-switcher-button.is-active {
  border-color: rgba(255, 255, 255, 0.22);
  color: #08131c;
  background: #fff;
}

.code-row,
.rules-summary {
  display: grid;
  gap: 10px;
}

.rules-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.rules-summary div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.rules-summary strong,
.rules-summary span {
  display: block;
}

.rules-summary strong {
  color: var(--green);
  font-size: 1.1rem;
}

.rules-summary span {
  color: var(--muted);
  font-size: 0.84rem;
}

.pricing {
  max-width: 1120px;
  margin: 0 auto;
}

.pricing-head {
  display: grid;
  gap: 10px;
}

.pricing-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.price-card.featured {
  border-color: var(--gold);
  box-shadow: inset 0 4px 0 var(--gold), var(--shadow);
}

.price {
  color: var(--green);
  font-size: 2rem;
  font-weight: 900;
  margin: 8px 0;
}

.pricing-body {
  background:
    radial-gradient(circle at 20% 0%, rgba(15, 91, 58, 0.07), transparent 30%),
    radial-gradient(circle at 92% 15%, rgba(227, 6, 19, 0.06), transparent 34%),
    #fff;
}

.pricing-body .site-header {
  position: relative;
  width: min(calc(100% - 28px), 1140px);
  margin: 22px auto 0;
  border: 1px solid rgba(13, 13, 13, 0.14);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(13, 13, 13, 0.04);
}

.pricing-body .site-header nav {
  gap: clamp(16px, 3vw, 34px);
}

.pricing-body .site-header nav a {
  font-weight: 900;
}

.pricing-body .site-header nav a[aria-current="page"] {
  color: var(--red);
}

.pricing-page {
  width: min(calc(100% - 28px), 1140px);
  margin: 0 auto;
  padding: 14px 0 34px;
}

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  min-height: 420px;
  overflow: hidden;
}

.pricing-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  padding: 44px 14px 44px;
}

.pricing-hero h1 {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(3rem, 4.5vw, 3.95rem);
  line-height: 1.08;
  letter-spacing: -0.07em;
}

.pricing-hero h1 span {
  color: var(--red);
}

.pricing-hero p {
  max-width: 520px;
  margin: 0;
  color: #101827;
  font-size: clamp(1.06rem, 1.6vw, 1.35rem);
  line-height: 1.45;
}

.pricing-hero-art {
  position: relative;
  height: 360px;
  isolation: isolate;
}

.pricing-hero-art::before,
.pricing-hero-art::after {
  content: "";
  position: absolute;
  z-index: 0;
  transform: skewX(-38deg);
}

.pricing-hero-art::before {
  inset: 18px auto 24px -70px;
  width: 86%;
  border: 1px solid rgba(245, 132, 0, 0.7);
  border-width: 0 0 1px 1px;
}

.pricing-hero-art::after {
  right: -90px;
  bottom: 0;
  width: 75%;
  height: 54%;
  background:
    linear-gradient(135deg, rgba(9, 92, 52, 0.8), rgba(9, 92, 52, 0.88) 52%, rgba(227, 6, 19, 0.94) 52%, rgba(227, 6, 19, 0.94) 72%, rgba(255, 255, 255, 0.8) 72%, rgba(255, 255, 255, 0.8) 76%, rgba(227, 6, 19, 0.9) 76%);
  opacity: 0.92;
}

.pricing-hero-art img {
  position: absolute;
  z-index: 1;
  inset: 0 -120px 0 44px;
  width: calc(100% + 120px);
  height: 100%;
  object-fit: cover;
  object-position: 100% center;
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 5% 100%);
  filter: saturate(1.08) contrast(1.03);
}

.pricing-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.pricing-plan-carousel {
  position: relative;
  margin: 18px 0 10px;
}

.pricing-plan-tabs,
.pricing-plan-dots {
  display: none;
}

.pricing-plan-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto auto 1fr auto auto;
  justify-items: center;
  min-height: 620px;
  padding: 30px 18px 18px;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(13, 13, 13, 0.04);
}

.pricing-plan-card.is-disabled {
  opacity: 0.76;
  box-shadow: 0 10px 22px rgba(13, 13, 13, 0.03);
}

.pricing-plan-card.featured {
  border-color: rgba(245, 132, 0, 0.42);
  box-shadow: 0 14px 28px rgba(245, 132, 0, 0.1);
}

.pricing-plan-free {
  border-color: rgba(15, 91, 58, 0.18);
  background: linear-gradient(180deg, rgba(15, 91, 58, 0.025), #fff 44%);
}

.pricing-plan-plus {
  border-color: rgba(245, 132, 0, 0.42);
  background: linear-gradient(180deg, rgba(245, 132, 0, 0.055), #fff 44%);
}

.pricing-plan-pro {
  border-color: rgba(227, 6, 19, 0.18);
  background: linear-gradient(180deg, rgba(227, 6, 19, 0.04), #fff 44%);
}

.pricing-popular {
  position: absolute;
  top: -19px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  border-radius: 9px;
  padding: 8px 18px;
  color: #fff;
  background: linear-gradient(135deg, #f58400, #ff9d00);
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 18px rgba(245, 132, 0, 0.22);
}

.pricing-plan-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
}

.pricing-plan-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.pricing-plan-free .pricing-plan-icon {
  color: #08712e;
  background: rgba(15, 91, 58, 0.11);
}

.pricing-plan-plus .pricing-plan-icon {
  color: #f58400;
  background: rgba(245, 132, 0, 0.13);
}

.pricing-plan-pro .pricing-plan-icon {
  color: var(--red);
  background: rgba(227, 6, 19, 0.12);
}

.pricing-plan-card h2 {
  margin: 12px 0 0;
  font-family: var(--font-brand);
  font-size: 2rem;
  line-height: 1;
}

.pricing-plan-free h2 {
  color: #08712e;
}

.pricing-plan-plus h2 {
  color: #f58400;
}

.pricing-plan-pro h2 {
  color: var(--red);
}

.pricing-plan-positioning {
  min-height: 34px;
  margin: 6px 0 16px;
  color: #111827;
  font-size: 0.94rem;
  line-height: 1.2;
  text-align: center;
}

.pricing-plan-price {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin: 0 0 14px;
}

.pricing-plan-price.is-upgrade {
  gap: 4px;
}

.pricing-plan-price-line {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}

.pricing-plan-price strong {
  font-family: var(--font-number);
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.pricing-plan-price .pricing-plan-price-previous {
  color: #7c8794;
  font-family: var(--font-number);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: rgba(124, 135, 148, 0.72);
  letter-spacing: -0.04em;
}

.pricing-plan-price span {
  color: #111827;
  font-size: 0.9rem;
}

.pricing-plan-cap {
  min-width: 0;
  margin: 0 0 16px;
  border-radius: 7px;
  padding: 7px 12px;
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
}

.pricing-plan-free .pricing-plan-cap {
  color: #08712e;
  background: rgba(15, 91, 58, 0.11);
}

.pricing-plan-plus .pricing-plan-cap {
  color: #c13d00;
  background: rgba(245, 132, 0, 0.12);
}

.pricing-plan-pro .pricing-plan-cap {
  color: var(--red);
  background: rgba(227, 6, 19, 0.12);
}

.pricing-plan-card ul {
  width: 100%;
  margin: 0 0 16px;
  border-top: 1px solid rgba(13, 13, 13, 0.11);
  padding: 16px 0 0;
  list-style: none;
}

.pricing-plan-card li {
  position: relative;
  margin: 0;
  padding: 0 0 10px 28px;
  color: #111827;
  font-size: 0.94rem;
}

.pricing-plan-card li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 0;
  font-weight: 950;
}

.pricing-plan-free li::before {
  color: #08712e;
}

.pricing-plan-plus li::before {
  color: #f58400;
}

.pricing-plan-pro li::before {
  color: var(--red);
}

.pricing-plan-button {
  align-self: end;
  width: 100%;
  height: 44px;
  min-height: 44px;
  border-radius: 7px;
}

.pricing-plan-button:disabled {
  cursor: not-allowed;
  opacity: 0.64;
  box-shadow: none;
}

.pricing-plan-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px rgba(13, 13, 13, 0.12);
  font: 900 1rem/1 var(--font-number);
  transform: translateY(-50%);
  cursor: pointer;
}

.pricing-plan-carousel.has-overflow .pricing-plan-arrow {
  display: grid;
}

.pricing-plan-arrow-left {
  left: 4px;
}

.pricing-plan-arrow-right {
  right: 4px;
}

.pricing-plan-arrow:disabled {
  opacity: 0;
  visibility: hidden;
  cursor: default;
  pointer-events: none;
}

.pricing-plan-tab {
  display: grid;
  place-items: center;
  min-height: 28px;
  min-width: 0;
  border: 0;
  border-radius: 6px;
  padding: 4px 6px;
  color: var(--muted);
  background: transparent;
  font: 900 0.72rem/1.1 var(--font-brand);
  text-decoration: none;
  cursor: pointer;
}

.pricing-plan-tab.is-active {
  box-shadow: 0 1px 3px rgba(13, 13, 13, 0.14);
}

.pricing-plan-tab.pricing-plan-free.is-active {
  color: #08712e;
  background: #fff;
}

.pricing-plan-tab.pricing-plan-plus.is-active {
  color: #f58400;
  background: #fff;
}

.pricing-plan-tab.pricing-plan-pro.is-active {
  color: var(--red);
  background: #fff;
}

.pricing-plan-dots {
  gap: 10px;
  justify-content: center;
}

.pricing-plan-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.18);
}

.pricing-plan-dot.is-active.pricing-plan-free {
  background: #08712e;
}

.pricing-plan-dot.is-active.pricing-plan-plus {
  background: #f58400;
}

.pricing-plan-dot.is-active.pricing-plan-pro {
  background: var(--red);
}

.pricing-button-free {
  border: 2px solid #08712e;
  color: #08712e;
  background: #fff;
}

.pricing-button-plus {
  color: #fff;
  background: linear-gradient(135deg, #f58400, #ff9800);
}

.pricing-button-pro {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #d90010);
}

.pricing-contact-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin-top: 32px;
  border: 1px solid rgba(111, 49, 201, 0.24);
  border-radius: 10px;
  padding: 28px 44px;
  background: linear-gradient(135deg, rgba(111, 49, 201, 0.045), rgba(255, 255, 255, 0.92));
}

.pricing-contact-icon,
.pricing-trust-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.pricing-contact-icon {
  width: 72px;
  height: 72px;
  color: #6d28d9;
  background: rgba(109, 40, 217, 0.12);
}

.pricing-contact-icon svg,
.pricing-trust-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.pricing-contact-card h2 {
  margin: 0 0 4px;
  font-family: var(--font-brand);
  font-size: 1.32rem;
}

.pricing-contact-card p {
  margin: 0;
  color: #111827;
  font-size: 1.06rem;
}

.pricing-contact-button {
  min-width: 170px;
  border: 2px solid #6d28d9;
  color: #6d28d9;
  background: #fff;
}

.pricing-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.pricing-trust-strip > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 16px;
  align-items: center;
}

.pricing-trust-strip > div:not(:last-child) {
  border-right: 1px solid rgba(13, 13, 13, 0.12);
  padding-right: 22px;
}

.pricing-trust-icon {
  grid-row: 1 / 3;
  width: 64px;
  height: 64px;
}

.pricing-trust-icon.green {
  color: #08712e;
  background: rgba(15, 91, 58, 0.11);
}

.pricing-trust-icon.red {
  color: var(--red);
  background: rgba(227, 6, 19, 0.12);
}

.pricing-trust-icon.purple {
  color: #6d28d9;
  background: rgba(109, 40, 217, 0.1);
}

.pricing-trust-icon.orange {
  color: #f58400;
  background: rgba(245, 132, 0, 0.12);
}

.pricing-trust-strip strong {
  font-family: var(--font-brand);
  font-size: 0.98rem;
}

.pricing-trust-strip p {
  margin: 0;
  color: #111827;
  font-size: 0.88rem;
  line-height: 1.32;
}

.pricing-footer {
  width: 100%;
  margin: 0;
  padding-right: max(28px, calc((100vw - 1140px) / 2 + 28px));
  padding-left: max(28px, calc((100vw - 1140px) / 2 + 28px));
}

.pricing-footer nav {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-social-links {
  display: flex;
  gap: 14px;
}

.pricing-social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #0b141e;
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--font-brand);
  font-size: 1.2rem;
  font-weight: 900;
}

@media (max-width: 980px) {
  .pricing-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .pricing-hero-copy {
    padding-bottom: 18px;
  }

  .pricing-hero-art {
    height: 250px;
    margin: 0 -14px;
  }

  .pricing-hero-art img {
    left: 0;
    width: 100%;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  }

  .pricing-plan-grid {
    grid-template-columns: 1fr;
  }

  .pricing-plan-card {
    min-height: 0;
  }

  .pricing-plan-button {
    height: 50px;
    min-height: 50px;
  }

  .pricing-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-trust-strip > div:not(:last-child) {
    border-right: 0;
    padding-right: 0;
  }

  .pricing-footer,
  .pricing-footer nav {
    grid-template-columns: 1fr;
  }

  .landing-pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-contact-promo {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .pricing-contact-promo .landing-promo-link {
    grid-column: 1 / -1;
    width: 100%;
  }

  .pricing-plan-carousel .pricing-plan-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-padding: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .pricing-plan-carousel.has-overflow .pricing-plan-grid {
    padding: 0 14px;
  }

  .pricing-plan-carousel .pricing-plan-grid::-webkit-scrollbar {
    display: none;
  }

  .pricing-plan-carousel .pricing-plan-card {
    flex: 0 0 calc(100% - 56px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .pricing-plan-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    margin: 0 0 12px;
    padding: 1px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--green-soft);
  }

  .pricing-plan-dots {
    display: flex;
    margin: 12px 0 0;
  }

  .pricing-plan-arrow {
    top: 50%;
    bottom: auto;
    display: grid !important;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
  }

  .pricing-plan-arrow-left {
    left: 8px;
  }

  .pricing-plan-arrow-right {
    right: 8px;
  }
}

@media (max-width: 640px) {
  .pricing-body .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 8px 12px;
  }

  .pricing-body .site-header nav {
    gap: 12px;
    font-size: 0.85rem;
  }

  .pricing-body .site-header nav a:first-child {
    display: none;
  }

  .pricing-page {
    width: calc(100% - 20px);
    padding-top: 4px;
  }

  .pricing-hero-copy {
    gap: 16px;
    padding: 34px 2px 16px;
  }

  .pricing-hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.45rem);
  }

  .pricing-hero p {
    font-size: 1.02rem;
  }

  .pricing-hero-art {
    height: 190px;
  }

  .pricing-plan-grid {
    gap: 18px;
  }

  .pricing-contact-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px 14px;
    justify-items: start;
    align-items: start;
    padding: 18px 16px;
  }

  .pricing-contact-icon {
    width: 56px;
    height: 56px;
  }

  .pricing-contact-icon svg {
    width: 28px;
    height: 28px;
  }

  .pricing-contact-card h2 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.08;
  }

  .pricing-contact-card p {
    margin: 6px 0 0;
    font-size: 0.92rem;
    line-height: 1.3;
  }

  .pricing-contact-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .pricing-trust-strip {
    grid-template-columns: 1fr;
  }

  .pricing-footer {
    padding-right: 22px;
    padding-left: 22px;
  }

  .landing-pricing-section {
    padding: 16px 14px;
  }

  .landing-price-card {
    min-height: 0;
  }

  .pricing-star-preview {
    height: 74px;
  }
}

.pricing-contact-promo {
  grid-template-columns: 82px minmax(0, 1fr) auto;
}

.pricing-contact-promo .landing-promo-link {
  grid-column: auto;
}

.pricing-star-preview {
  height: 82px;
}

.pricing-star-preview > div {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 0;
  border-radius: 50%;
  background: rgba(109, 40, 217, 0.12);
  box-shadow: none;
}

@media (max-width: 980px) {
  .pricing-contact-promo {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .pricing-contact-promo .landing-promo-link {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .pricing-contact-promo {
    grid-template-columns: 1fr;
  }

  .pricing-star-preview {
    height: 74px;
  }
}

.app-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 0 10px calc(78px + var(--safe-bottom));
}

.app-shell.landing-shell {
  padding-bottom: 0;
}

.app-shell.leaderboard-screen {
  padding-bottom: 0;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 4;
  align-items: center;
  min-height: var(--app-topbar-height);
  margin: 0 -10px 10px;
  padding: calc(7px + var(--safe-top)) 14px 7px;
  border-bottom: 1px solid rgba(217, 217, 217, 0.9);
  background: #fff;
  backdrop-filter: blur(16px);
}

.home-topbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 0;
  border-bottom: 0;
  background: #fff;
}

.home-header-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.home-header-brand.has-back-link {
  gap: 12px;
}

.app-back-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
}

.app-back-link svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-header-divider {
  width: 1px;
  height: 32px;
  flex: 0 0 auto;
  background: var(--line-strong);
}

.porra-header-mark {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  max-width: 160px;
  height: 48px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  color: var(--green);
  background: var(--surface);
  font-size: 1.12rem;
  font-weight: 950;
  text-decoration: none;
  overflow: hidden;
}

.porra-header-mark:not(.is-default-logo) {
  border-radius: 0;
  background: transparent;
}

.porra-header-mark img {
  width: auto;
  height: auto;
  max-width: min(160px, 38vw);
  max-height: 100%;
  object-fit: contain;
}

.branding-logo-preview img {
  max-height: 100%;
}

.home-header-brand .porra-header-mark img {
  max-height: 100%;
}

.branding-preview-lockup .porra-header-mark img {
  max-height: 100%;
}

.porra-header-mark.is-default-logo {
  width: 36px;
  height: 36px;
  justify-content: center;
  border: 1px solid var(--line);
}

.home-header-brand .app-brand-lockup {
  position: relative;
  padding-left: 9px;
}

.home-header-brand .app-brand-lockup::before {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 1px;
  background: var(--line-strong);
}

.app-header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.app-brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.profile-chip {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(199, 199, 199, 0.86);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.app-brand-mark {
  width: 34px;
  height: 34px;
}

.profile-chip {
  color: white;
  background: var(--green);
  border-color: rgba(15, 91, 58, 0.22);
}

.home-topbar .profile-chip {
  width: 32px;
  height: 32px;
}

.profile-chip.is-admin {
  color: white;
  background: var(--green);
}

.screen-heading {
  display: grid;
  gap: 3px;
  margin: 10px 0 0;
  padding: 10px 12px 2px;
}

.screen-heading .eyebrow {
  overflow: hidden;
  font-size: 0.68rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-heading h1 {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.05;
}

.screen-context {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.screen-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 108px;
  margin: 0 -10px;
  padding: 16px 14px 18px;
  border-bottom: 1px solid var(--line);
  background-color: var(--surface-soft);
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  pointer-events: none;
  overflow: hidden;
}

.hero-art img {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: right center;
}

.hero-art-mirror {
  margin-right: -1px;
  transform: scaleX(-1);
}

.screen-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    var(--hero-gradient),
    linear-gradient(135deg, rgba(13, 13, 13, 0.035) 0 10%, transparent 10.2% 100%),
    linear-gradient(315deg, rgba(15, 91, 58, 0.065) 0 9%, transparent 9.2% 100%),
    linear-gradient(28deg, transparent 0 80%, rgba(212, 175, 55, 0.07) 80.2%, transparent 80.4%);
}

.screen-hero > :not(.hero-art) {
  position: relative;
  z-index: 1;
}

.screen-hero .screen-heading {
  max-width: 58%;
  margin: 0;
  padding: 0;
}

.screen-hero .screen-heading h1 {
  color: var(--green);
}

.more-hero-plan-badge {
  justify-self: start;
  margin: 4px 0 0;
}

.more-screen .screen-hero {
  align-items: start;
}

.home-hero {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: start;
  min-height: 202px;
  margin: 0 -10px;
  padding: 20px 24px 56px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background-color: var(--surface-soft);
  background-repeat: no-repeat;
  box-shadow: none;
  overflow: hidden;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    var(--hero-gradient),
    linear-gradient(135deg, rgba(13, 13, 13, 0.035) 0 10%, transparent 10.2% 100%),
    linear-gradient(315deg, rgba(15, 91, 58, 0.065) 0 8%, transparent 8.2% 100%),
    linear-gradient(28deg, transparent 0 78%, rgba(212, 175, 55, 0.07) 78.2%, transparent 78.4%);
}

.home-hero > :not(.hero-art) {
  position: relative;
  z-index: 1;
}

.hero-copy-block {
  max-width: 64%;
  padding-top: 0;
}

.home-hero h2 {
  margin: 8px 0 0;
  color: var(--green);
  font-size: 1.48rem;
  line-height: 1.08;
}

.home-hero p:not(.eyebrow) {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.stat-board {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -38px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(31, 25, 18, 0.12);
  overflow: hidden;
}

.stat-board div,
.stat-board a {
  display: grid;
  gap: 1px;
  justify-items: center;
  min-width: 0;
  padding: 8px 5px;
  text-decoration: none;
}

.stat-board div + div,
.stat-board a {
  border-left: 1px solid var(--line);
}

.stat-board span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-board strong {
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.1;
}

.stat-board a span {
  color: var(--green);
}

.stat-icon {
  display: block;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prediction-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  margin-top: 12px;
  padding: 8px 10px 8px 12px;
  border: 1px solid rgba(255, 34, 40, 0.78);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 34, 40, 0.08), rgba(255, 255, 255, 0.92));
  color: var(--red);
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(255, 34, 40, 0.08);
}

.prediction-alert strong {
  min-width: 0;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.15;
}

.prediction-alert span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 7px;
  background: var(--red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(224, 0, 8, 0.16);
}

.prediction-alert.is-tie-pending {
  border-color: rgba(214, 132, 0, 0.52);
  background: linear-gradient(90deg, rgba(214, 132, 0, 0.08), rgba(255, 255, 255, 0.94));
  color: #b86d00;
  box-shadow: 0 8px 18px rgba(214, 132, 0, 0.09);
}

.prediction-alert.is-tie-pending strong {
  color: #b86d00;
}

.prediction-alert.is-tie-pending span {
  background: linear-gradient(180deg, #d59100, #c27800);
  box-shadow: 0 8px 16px rgba(194, 120, 0, 0.17);
}

.app-section,
.home-card,
.leaderboard-card,
.share-panel,
.qr-panel,
.profile-card,
.menu-list,
.admin-group {
  margin-top: 10px;
}

.home-card {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 25, 18, 0.04);
}

.home-card .section-title {
  margin-bottom: 5px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.section-title h2,
.leaderboard-card h2,
.share-panel h2,
.admin-group h2 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-title a {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  text-decoration: none;
}

.compact-match-list,
.results-strip,
.match-list,
.admin-list {
  display: grid;
  gap: 8px;
}

.compact-match-list {
  gap: 0;
}

.compact-match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr) 50px;
  gap: 8px;
  align-items: center;
  min-height: 56px;
  padding: 8px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  text-decoration: none;
}

.compact-match:first-child {
  border-top: 0;
}

.compact-team {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.compact-team span {
  display: block;
  flex: 1 1 auto;
  max-width: calc(100% - 35px);
  min-width: 0;
}

.compact-team strong {
  display: block;
  overflow: hidden;
  font-size: 0.84rem;
  line-height: 1.05;
  overflow-wrap: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-team small {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  overflow-wrap: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-team.away {
  justify-content: flex-end;
  text-align: right;
}

.compact-score {
  display: grid;
  grid-template-columns: 27px auto 27px;
  gap: 1px 5px;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  color: var(--ink);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.compact-score b {
  display: grid;
  place-items: center;
  width: 27px;
  height: 25px;
  border-radius: 5px;
  color: white;
  background: var(--green);
  font-size: 0.92rem;
  line-height: 1;
}

.compact-score i {
  color: var(--ink);
  font-style: normal;
  line-height: 1;
}

.compact-score small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.5rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.compact-match time {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: right;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-match time span {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
}

.team-flag {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  object-fit: cover;
}

.team-flag.mini {
  width: 28px;
  height: 19px;
}

.leaderboard-card,
.home-leaderboard-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 25, 18, 0.04);
}

.home-leaderboard-card .leaderboard-list {
  gap: 0;
}

.home-leaderboard-card .leaderboard-list + .leaderboard-list {
  margin-top: 0;
}

.home-leaderboard-card {
  --leaderboard-columns: 48px minmax(0, 1fr) 48px 64px 42px;
  --leaderboard-gap: 7px;
  --leaderboard-inline-padding: 0;
}

.leaderboard-scroll {
  max-height: min(62vh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}

.home-leaderboard-card .leaderboard-list li {
  grid-template-columns: var(--leaderboard-columns);
  gap: var(--leaderboard-gap);
  min-height: 45px;
  padding: 6px var(--leaderboard-inline-padding);
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.home-leaderboard-card .leaderboard-list li:first-child {
  border-top: 0;
}

.home-leaderboard-card .leaderboard-placeholders li:first-child {
  border-top: 1px solid var(--line);
}

.home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li.rank-first,
.home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li.rank-second,
.home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li.rank-third {
  padding-right: 6px;
  padding-left: 6px;
}

.home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li.rank-first,
.home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li.rank-third {
  border: 1px solid rgba(212, 175, 55, 0.23);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.14), rgba(212, 175, 55, 0.03));
}

.home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li.rank-second {
  border: 1px solid rgba(141, 138, 132, 0.23);
  border-radius: 8px;
  background: rgba(141, 138, 132, 0.07);
}

.home-leaderboard-card .leaderboard-list li.current {
  margin: 2px -4px 0;
  padding-right: 4px;
  padding-left: 4px;
  border-radius: 8px;
  background: var(--green-soft);
}

.home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li.current.rank-first,
.home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li.current.rank-second,
.home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li.current.rank-third {
  margin: 0;
  padding-right: 6px;
  padding-left: 6px;
}

.home-leaderboard-card .leaderboard-list li.placeholder {
  color: var(--muted);
  opacity: 0.58;
}

.home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li.placeholder {
  opacity: 0.64;
}

.home-leaderboard-card .leaderboard-list li.placeholder .rank-badge {
  color: var(--muted);
  background: #fff;
}

.home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li.placeholder .rank-badge {
  color: var(--ink);
  background: #e6dccd;
}

.home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li.placeholder.rank-second .rank-badge {
  background: #b9b4ab;
}

.home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li.placeholder.rank-third .rank-badge {
  color: white;
  background: #9b6a26;
}

.home-leaderboard-card .leaderboard-list li.placeholder strong,
.home-leaderboard-card .leaderboard-list li.placeholder .matches-played,
.home-leaderboard-card .leaderboard-list li.placeholder .leaderboard-phase-points,
.home-leaderboard-card .leaderboard-list li.placeholder b {
  min-height: 10px;
  border-radius: 999px;
  background: #fff;
}

.home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li.placeholder strong,
.home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li.placeholder .matches-played,
.home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li.placeholder .leaderboard-phase-points,
.home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li.placeholder b {
  background: rgba(13, 13, 13, 0.08);
}

.home-leaderboard-card .leaderboard-list li.placeholder .leaderboard-group-points,
.home-leaderboard-card .leaderboard-list li.placeholder .leaderboard-knockout-points {
  width: 24px;
  justify-self: center;
}

.home-leaderboard-card .leaderboard-list li.placeholder b {
  justify-self: end;
  width: 28px;
  color: transparent;
}

@media (min-width: 720px) {
  .home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-head,
  .home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li {
    --leaderboard-columns: 48px minmax(0, 1fr) 68px 120px 58px;
    --leaderboard-gap: 10px;
  }
}

[data-leaderboard-anchor].is-hidden,
.leaderboard-list li.is-filtered {
  display: none;
}

.leaderboard-frame {
  position: relative;
}

.leaderboard-frame.has-leaderboard-anchor.is-anchor-below .leaderboard-scroll {
  padding-bottom: 104px;
}

.leaderboard-anchor-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 18px),
    #fff;
}

.leaderboard-anchor-overlay.is-above {
  top: 0;
  bottom: auto;
  flex-direction: column-reverse;
  background:
    linear-gradient(180deg, #fff calc(100% - 18px), rgba(255, 255, 255, 0)),
    #fff;
}

.leaderboard-anchor-overlay.is-below {
  top: auto;
  bottom: 0;
}

.leaderboard-separator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  gap: 26px !important;
  align-items: center;
  min-height: 42px !important;
  padding: 0 24px !important;
  border: 0;
  border-top: 1px solid rgba(217, 217, 217, 0.75) !important;
  background: transparent !important;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.leaderboard-separator span {
  height: 1px;
  background: var(--line-strong);
}

.leaderboard-search {
  position: relative;
  display: block;
  margin: 12px 18px 0;
}

.leaderboard-search input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 16px 0 52px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
  font-weight: 600;
}

.leaderboard-search input::placeholder {
  color: #737780;
}

.leaderboard-search-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  z-index: 1;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #555f6f;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(-50%);
}

.home-leaderboard-card .rank-badge {
  width: 30px;
  height: 30px;
  font-size: 0.78rem;
}

.home-leaderboard-card .rank-badge {
  width: 24px;
  height: 24px;
}

.home-leaderboard-card .leaderboard-list b {
  color: var(--green);
  font-size: 1.12rem;
}

.home-leaderboard-card.full-leaderboard-card .leaderboard-list li {
  position: relative;
  grid-template-columns: var(--leaderboard-columns);
  gap: var(--leaderboard-gap);
  min-height: 58px;
  padding: 9px var(--leaderboard-inline-padding);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-leaderboard-card.full-leaderboard-card .leaderboard-list li::before {
  content: "";
  position: absolute;
  top: 0;
  right: 8px;
  left: 8px;
  height: 1px;
  background: rgba(217, 217, 217, 0.75);
}

.home-leaderboard-card.full-leaderboard-card .leaderboard-list li:first-child::before,
.home-leaderboard-card.full-leaderboard-card .leaderboard-list li.rank-first::before,
.home-leaderboard-card.full-leaderboard-card .leaderboard-list li.rank-second::before,
.home-leaderboard-card.full-leaderboard-card .leaderboard-list li.rank-third::before,
.home-leaderboard-card.full-leaderboard-card .leaderboard-list li.current::before,
.home-leaderboard-card.full-leaderboard-card .leaderboard-list li.anchored-current::before,
.home-leaderboard-card.full-leaderboard-card .leaderboard-list li.rank-first + li::before,
.home-leaderboard-card.full-leaderboard-card .leaderboard-list li.rank-second + li::before,
.home-leaderboard-card.full-leaderboard-card .leaderboard-list li.rank-third + li::before,
.home-leaderboard-card.full-leaderboard-card .leaderboard-list li.current + li::before,
.home-leaderboard-card.full-leaderboard-card .leaderboard-list li.anchored-current + li::before {
  display: none;
}

.home-leaderboard-card.full-leaderboard-card .leaderboard-list li.rank-first,
.home-leaderboard-card.full-leaderboard-card .leaderboard-list li.rank-third {
  border: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.23);
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.14), rgba(212, 175, 55, 0.03));
}

.home-leaderboard-card.full-leaderboard-card .leaderboard-list li.rank-second {
  border: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(141, 138, 132, 0.23);
  background: rgba(141, 138, 132, 0.07);
}

.home-leaderboard-card.full-leaderboard-card .leaderboard-list li.current,
.home-leaderboard-card.full-leaderboard-card .leaderboard-list li.anchored-current {
  margin: 0;
  padding-right: var(--leaderboard-inline-padding);
  padding-left: var(--leaderboard-inline-padding);
  border: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(15, 91, 58, 0.14);
  background: linear-gradient(90deg, rgba(15, 91, 58, 0.1), rgba(15, 91, 58, 0.04));
}

.home-leaderboard-card.full-leaderboard-card .rank-badge {
  width: 34px;
  height: 34px;
  font-size: 0.9rem;
}

.home-leaderboard-card.full-leaderboard-card .rank-badge {
  color: var(--ink);
  background: transparent;
  border-radius: 0;
}

.home-leaderboard-card.full-leaderboard-card .leaderboard-list li.rank-first .rank-badge,
.home-leaderboard-card.full-leaderboard-card .leaderboard-list li.rank-second .rank-badge,
.home-leaderboard-card.full-leaderboard-card .leaderboard-list li.rank-third .rank-badge {
  border-radius: 50%;
}

.home-leaderboard-card .leaderboard-list li > .rank-badge {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.home-leaderboard-card.full-leaderboard-card .leaderboard-list strong {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.96rem;
}

.home-leaderboard-card.full-leaderboard-card .matches-played {
  grid-column: 3;
  grid-row: 1;
  text-align: center;
}

.home-leaderboard-card.full-leaderboard-card .moment-match-count {
  grid-column: 4;
  grid-row: 1;
  text-align: center;
}

.home-leaderboard-card .leaderboard-phase-points {
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.home-leaderboard-card .leaderboard-group-points {
  grid-column: 3;
  grid-row: 1;
}

.home-leaderboard-card .leaderboard-knockout-points {
  grid-column: 4;
  grid-row: 1;
}

.home-leaderboard-card.full-leaderboard-card .leaderboard-list b {
  grid-column: 5;
  grid-row: 1;
}

.home-leaderboard-card.full-leaderboard-card.is-match-leaderboard .leaderboard-list b {
  grid-column: 4;
}

.home-leaderboard-card.full-leaderboard-card .matches-played,
.home-leaderboard-card.full-leaderboard-card .moment-match-count,
.home-leaderboard-card.full-leaderboard-card .leaderboard-phase-points,
.home-leaderboard-card.full-leaderboard-card .leaderboard-list b {
  font-size: 0.95rem;
}

.leaderboard-head {
  display: grid;
  grid-template-columns: var(--leaderboard-columns);
  gap: var(--leaderboard-gap);
  padding: 0 var(--leaderboard-inline-padding) 8px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.leaderboard-head > span {
  display: flex;
  align-items: center;
  min-width: 0;
}

.leaderboard-head button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 28px;
  border: 0;
  border-radius: 6px;
  padding: 4px 3px;
  color: inherit;
  background: transparent;
  font: inherit;
  line-height: 1.1;
  white-space: nowrap;
  text-transform: inherit;
  cursor: pointer;
}

.leaderboard-head > span:nth-child(3) button,
.leaderboard-head > span:nth-child(4) button,
.leaderboard-head > span:nth-child(5) button {
  padding-right: 0;
  padding-left: 0;
}

.leaderboard-head > span:nth-child(2) button {
  justify-content: flex-start;
}

.leaderboard-head button:hover,
.leaderboard-head button[aria-pressed="true"] {
  color: var(--green);
}

.leaderboard-head button:hover {
  background: var(--green-soft);
}

.leaderboard-head > span:nth-child(2) {
  grid-column: 2;
}

.leaderboard-head > span:nth-child(2) {
  justify-content: flex-start;
}

.leaderboard-head > span:first-child {
  grid-column: 1;
  justify-content: flex-start;
  padding-left: 0.75em;
  text-align: left;
}

.leaderboard-head > span:nth-child(3) {
  grid-column: 3;
  justify-content: center;
  text-align: center;
}

.leaderboard-head > span:nth-child(4) {
  grid-column: 4;
  justify-content: center;
  text-align: center;
}

.leaderboard-head > span:nth-child(5) {
  grid-column: 5;
  justify-content: center;
  text-align: center;
}

.leaderboard-head > span:nth-child(3) button,
.leaderboard-head > span:nth-child(4) button,
.leaderboard-head > span:nth-child(5) button {
  justify-content: center;
}

.leaderboard-label-short {
  display: none;
}

.full-leaderboard-card {
  --leaderboard-columns: 62px minmax(0, 1fr) 72px 132px 64px;
  --leaderboard-gap: 10px;
  --leaderboard-inline-padding: 22px;
  padding: 6px 8px 14px;
}

.full-leaderboard-card.is-match-leaderboard {
  --leaderboard-columns: 62px minmax(0, 1fr) 116px 64px;
}

.full-leaderboard-card .leaderboard-head {
  padding-top: 16px;
  padding-bottom: 14px;
  color: var(--ink);
  background: var(--surface);
  font-size: 0.78rem;
}

.full-leaderboard-card .leaderboard-head > span:nth-child(2) {
  grid-column: 2;
}

.full-leaderboard-card .leaderboard-scroll {
  max-height: min(62vh, 680px);
  padding: 0;
}

.full-leaderboard-card .leaderboard-frame.has-leaderboard-anchor.is-anchor-below .leaderboard-scroll {
  padding-bottom: 104px;
}

.leaderboard-moment-selector {
  display: grid;
  grid-template-columns: repeat(var(--moment-filter-count, 1), minmax(max-content, 1fr));
  gap: 8px;
  margin: 0 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.calendar-filter-row.leaderboard-moment-selector {
  display: grid;
  grid-template-columns: repeat(var(--moment-filter-count, 1), minmax(max-content, 1fr));
  margin: 0;
}

.leaderboard-moment-selector::-webkit-scrollbar {
  display: none;
}

.leaderboard-moment-selector a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #404852;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.leaderboard-moment-selector a.is-active {
  border-color: rgba(216, 27, 45, 0.32);
  color: var(--red);
  background: #fff5f5;
}

.leaderboard-moment-tabs {
  position: static;
  z-index: 1;
  margin: 0 0 10px;
  border-radius: 8px;
  overflow: hidden;
}

.leaderboard-moment-tabs a {
  min-height: 46px;
}

.leaderboard-match-menu {
  margin: 0 0 10px;
}

.leaderboard-match-menu summary {
  display: block;
  cursor: pointer;
  list-style: none;
}

.leaderboard-match-menu summary::-webkit-details-marker {
  display: none;
}

.leaderboard-match-menu summary:focus-visible,
.match-menu-banner:focus-visible {
  outline: 2px solid rgba(216, 27, 45, 0.42);
  outline-offset: 3px;
}

.leaderboard-match-menu-list {
  display: grid;
  max-height: 360px;
  margin-top: 8px;
  overflow: auto;
  gap: 6px;
  padding-right: 2px;
}

.match-menu-banner {
  border-radius: 8px;
}

.match-menu-banner.is-active .match-card {
  border-color: rgba(216, 27, 45, 0.32);
  background: #fff5f5;
}

.moment-prediction-label {
  justify-self: center;
  min-width: 48px;
  padding: 5px 8px;
  border-radius: 8px;
  color: #20242a;
  background: #f3f4f6;
  font-size: 0.86rem;
  font-weight: 950;
  text-align: center;
}

.moment-prediction-label.is-empty {
  color: #7a838f;
  background: transparent;
  font-size: 0.74rem;
  font-weight: 850;
}

.moment-rewards-card {
  gap: 12px;
  margin-bottom: 10px;
}

.moment-reward-list {
  display: grid;
  gap: 8px;
}

.moment-reward-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(217, 217, 217, 0.82);
  border-radius: 8px;
  background: #fbfbfb;
  color: #30343a;
  font-size: 0.9rem;
  font-weight: 800;
}

.moment-reward-list b {
  color: var(--red);
}

@media (max-width: 540px) {
  .home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-head,
  .home-leaderboard-card:not(.full-leaderboard-card) .leaderboard-list li {
    --leaderboard-columns: 40px minmax(0, 1fr) 30px 30px 38px;
  }

  .full-leaderboard-card .leaderboard-head,
  .home-leaderboard-card.full-leaderboard-card .leaderboard-list li {
    --leaderboard-columns: 40px minmax(0, 1fr) 30px 30px 38px;
    --leaderboard-gap: 7px;
    --leaderboard-inline-padding: 10px;
  }

  .full-leaderboard-card.is-match-leaderboard .leaderboard-head,
  .home-leaderboard-card.full-leaderboard-card.is-match-leaderboard .leaderboard-list li {
    --leaderboard-columns: 40px minmax(0, 1fr) 58px 38px;
  }

  .home-leaderboard-card.full-leaderboard-card .leaderboard-list li.current,
  .home-leaderboard-card.full-leaderboard-card .leaderboard-list li.anchored-current {
    padding-right: 10px;
    padding-left: 10px;
  }

  .home-leaderboard-card.full-leaderboard-card .rank-badge {
    width: 30px;
    height: 30px;
    font-size: 0.82rem;
  }

  .home-leaderboard-card.full-leaderboard-card .leaderboard-list strong {
    font-size: 0.9rem;
  }

  .home-leaderboard-card.full-leaderboard-card .matches-played,
  .home-leaderboard-card.full-leaderboard-card .moment-match-count,
  .home-leaderboard-card.full-leaderboard-card .leaderboard-phase-points,
  .home-leaderboard-card.full-leaderboard-card .leaderboard-list b {
    font-size: 0.88rem;
  }

  .leaderboard-label-full {
    display: none;
  }

  .leaderboard-label-short {
    display: inline;
  }
}

.leaderboard-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.leaderboard-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 40px 48px;
  gap: 8px;
  align-items: center;
  min-height: 58px;
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.leaderboard-list li.current {
  background: var(--green-soft);
}

.rank-badge,
.player-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: white;
  background: #8d8a84;
  font-weight: 900;
}

.rank-badge {
  color: var(--ink);
  background: #e6dccd;
}

.leaderboard-list li.rank-first .rank-badge {
  background: var(--gold);
}

.leaderboard-list li.rank-second .rank-badge {
  background: #b9b4ab;
}

.leaderboard-list li.rank-third .rank-badge {
  color: white;
  background: #9b6a26;
}

.player-avatar {
  background: var(--green);
}

.player-avatar.large {
  width: 54px;
  height: 54px;
  font-size: 1.3rem;
}

.leaderboard-list strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-list small {
  margin-left: 6px;
  color: var(--green);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.matches-played,
.moment-match-count {
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.leaderboard-list b {
  color: var(--green);
  font-size: 1.08rem;
  text-align: right;
}

.home-leaderboard-card.full-leaderboard-card .leaderboard-list b {
  text-align: center;
}

.sponsor-host-card {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 0;
}

.sponsor-host-card-single,
.house-ad-card {
  grid-template-columns: minmax(0, 1fr);
}

.house-ad-block {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.house-ad-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(15, 91, 58, 0.16);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.house-ad-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.house-ad-block small,
.house-ad-block strong,
.house-ad-block b {
  display: block;
  min-width: 0;
}

.house-ad-block small {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
}

.house-ad-block strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1.12;
}

.house-ad-block b {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
}

.prize-block,
.host-block {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.prize-block.is-placeholder {
  opacity: 1;
}

.prize-block.is-placeholder .prize-value-placeholder {
  display: block;
  width: min(100%, 148px);
  margin-top: 8px;
  min-height: 10px;
  border-radius: 999px;
  background: rgba(13, 13, 13, 0.06);
  color: transparent;
  opacity: 0.5;
}

.prize-block + .host-block {
  padding-top: 0;
  padding-left: 10px;
  border-top: 0;
  border-left: 1px solid var(--line);
}

.prize-icon,
.host-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--green);
  font-weight: 950;
  overflow: hidden;
}

.host-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.host-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prize-icon {
  border-color: rgba(201, 146, 25, 0.45);
  background: rgba(201, 146, 25, 0.07);
}

.prize-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prize-block span,
.host-block span {
  display: block;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
}

.prize-block strong,
.host-block strong {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prize-block small {
  display: block;
  overflow: hidden;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prize-block small a,
.prize-block small b {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-decoration: none;
}

.host-block small {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.host-block small a {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.host-block strong a {
  color: inherit;
  text-decoration: none;
}

.results-strip p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 0.84rem;
}

.results-strip span {
  margin: 0 4px;
  color: var(--green);
  font-weight: 900;
}

.match-hub {
  background: #fff;
}

.match-hub .screen-hero {
  margin-bottom: 0;
}

.match-tabs {
  position: sticky;
  top: var(--app-topbar-height);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(var(--match-tab-count, 3), minmax(0, 1fr));
  margin: 0 -10px 10px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  backdrop-filter: blur(16px);
}

.match-tabs a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 50px;
  padding: 7px 8px 9px;
  color: #3f4650;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.match-tabs a + a {
  border-left: 1px solid var(--line);
}

.match-tab-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.match-tabs a.is-active {
  color: var(--red);
}

.match-tabs a.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
}

.calendar-filter-carousel {
  position: relative;
  margin: 0 0 10px;
}

.calendar-filter-row {
  display: block;
  gap: 8px;
  align-items: stretch;
  width: 100%;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-padding: 46px;
  scrollbar-width: none;
}

.calendar-filter-carousel.has-overflow .calendar-filter-row {
  padding: 0 38px;
}

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

.calendar-state-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(82px, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0;
}

.calendar-state-filter {
  --state-color: var(--green);
  --state-dark: var(--green-dark);
  --state-soft: var(--green-soft);
  --state-badge-bg: var(--state-color);
  --state-badge-color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 38px;
  padding: 4px 10px;
  border: 1px solid rgba(15, 91, 58, 0.42);
  border-radius: 8px;
  color: var(--state-color);
  background: #fff;
  box-shadow: 0 1px 7px rgba(20, 20, 20, 0.045);
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.calendar-state-filter > span {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
}

.calendar-state-filter.is-pending {
  --state-color: var(--red);
  --state-dark: var(--red-dark);
  --state-soft: var(--red-soft);
  border-color: rgba(227, 6, 19, 0.42);
}

.calendar-state-filter.is-missing {
  --state-color: #4d5662;
  --state-dark: #2f3741;
  --state-badge-bg: #4d5662;
  --state-badge-color: #fff;
  --state-soft: rgba(77, 86, 98, 0.09);
  border-color: rgba(77, 86, 98, 0.34);
}

.calendar-state-filter.is-predicted {
  --state-color: #315f9f;
  --state-dark: #244b82;
  --state-badge-bg: #dbeafe;
  --state-badge-color: #1d4ed8;
  --state-soft: #dbeafe;
  border-color: rgba(49, 95, 159, 0.34);
}

.calendar-state-filter.is-live {
  --state-color: #f08322;
  --state-dark: #c76b1c;
  --state-soft: rgba(240, 131, 34, 0.1);
  border-color: rgba(240, 131, 34, 0.5);
}

.calendar-state-filter.is-finished {
  --state-color: var(--green);
  --state-dark: var(--green-dark);
  --state-soft: var(--green-soft);
  border-color: rgba(15, 91, 58, 0.42);
}

.calendar-state-filter.is-active {
  border-color: var(--state-color);
  color: #fff;
  background: linear-gradient(180deg, var(--state-color), var(--state-dark));
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.16);
}

.calendar-state-filter.is-disabled {
  --state-color: #8d939b;
  --state-dark: #8d939b;
  border-color: #c7cbd1;
  color: #8d939b;
  background: #f4f5f6;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

.calendar-state-count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--state-badge-color);
  background: var(--state-badge-bg);
  font-family: var(--font-number);
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1;
}

.calendar-state-filter.is-active .calendar-state-count {
  color: var(--state-color);
  background: #fff;
}

.calendar-state-filter.is-disabled .calendar-state-count {
  color: #777f89;
  background: #d9dde2;
}

.calendar-state-filter.is-pending:not(.is-disabled) .calendar-state-count {
  animation: pending-count-pulse 1.5s ease-in-out infinite;
}

@keyframes pending-count-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.36);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(227, 6, 19, 0);
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .calendar-state-filter.is-pending:not(.is-disabled) .calendar-state-count {
    animation: none;
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.14);
  }
}

.calendar-filter-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(13, 13, 13, 0.12);
  font: 900 1rem/1 var(--font-number);
  transform: translateY(-50%);
  cursor: pointer;
}

.calendar-filter-carousel.has-overflow .calendar-filter-arrow {
  display: grid;
}

.calendar-filter-arrow-left {
  left: 4px;
}

.calendar-filter-arrow-right {
  right: 4px;
}

.calendar-filter-arrow:disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}

.bonus-prediction-panel {
  display: grid;
  gap: 10px;
  margin: 0 0 10px;
}

.bonus-prediction-list {
  display: grid;
  gap: 8px;
}

.bonus-prediction-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 7px rgba(20, 20, 20, 0.045);
}

.bonus-prediction-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.bonus-prediction-title {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.05;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bonus-prediction-entry {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.bonus-prediction-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
}

.bonus-prediction-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bonus-prediction-field {
  display: block;
  min-width: 0;
}

.bonus-prediction-field > span {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 650;
}

.bonus-prediction-field input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

.bonus-prediction-field input::placeholder {
  color: rgba(96, 90, 82, 0.42);
  font-weight: 500;
}

.bonus-prediction-field input:focus {
  border-color: rgba(15, 91, 58, 0.48);
  outline: 3px solid rgba(15, 91, 58, 0.12);
}

.bonus-prediction-field input[readonly] {
  color: #756f66;
  background: #f5f5f3;
  cursor: default;
}

.bonus-prediction-status {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 0 auto;
  min-width: 94px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
}

.bonus-prediction-status strong {
  font-weight: inherit;
}

.bonus-prediction-status.is-pending {
  color: var(--red);
}

.bonus-prediction-status.is-predicted {
  color: var(--green);
}

.bonus-prediction-status.is-warning {
  color: #c76b1c;
}

.bonus-prediction-status.is-danger {
  color: var(--red);
}

@media (max-width: 640px) {
  .calendar-filter-row {
    gap: 8px;
  }

  .calendar-state-filters {
    display: flex;
    flex: 0 0 auto;
    overflow: visible;
  }

  .calendar-filter-row.calendar-state-filters {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .calendar-state-filter {
    flex: 0 0 auto;
    min-width: 82px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .calendar-state-filter.is-pending {
    min-width: 106px;
  }

  .calendar-state-filter.is-missing {
    min-width: 104px;
  }

  .match-tabs.has-bonus a {
    flex-direction: column;
    gap: 3px;
    min-height: 56px;
    padding: 6px 4px 8px;
    font-size: 0.66rem;
  }

  .match-tabs.has-bonus .match-tab-icon {
    width: 19px;
    height: 19px;
  }

  .bonus-prediction-entry {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
  }
}

.groups-grid {
  display: grid;
  gap: 12px;
}

.group-carousel {
  position: relative;
  margin: 0 0 10px;
}

.group-selector {
  display: grid;
  grid-template-columns: repeat(var(--group-count), minmax(44px, 1fr));
  gap: 8px;
  width: 100%;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-padding: 46px;
}

.group-carousel.has-overflow .group-selector {
  padding: 0 38px;
}

.group-selector::-webkit-scrollbar {
  display: none;
}

.group-selector a {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 0.92rem;
  font-weight: 950;
  text-decoration: none;
}

.group-selector-tie-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f59a1b;
  box-shadow: 0 2px 6px rgba(137, 82, 0, 0.24);
  pointer-events: none;
}

.group-selector a.is-active {
  border-color: var(--green);
  color: white;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.16);
}

.group-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(13, 13, 13, 0.12);
  font: 900 1rem/1 var(--font-number);
  transform: translateY(-50%);
  cursor: pointer;
}

.group-carousel.has-overflow .group-carousel-arrow {
  display: grid;
}

.group-carousel-arrow-left {
  left: 4px;
}

.group-carousel-arrow-right {
  right: 4px;
}

.group-carousel-arrow:disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}

.group-detail-card {
  margin: 0 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 25, 18, 0.04);
  overflow: hidden;
}

.group-detail-card h2 {
  margin: 0;
  padding: 10px 12px 6px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.group-card-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px 6px 12px;
}

.group-card-toolbar h2 {
  flex: 0 0 auto;
  padding: 0;
  font-size: 1.12rem;
  font-weight: 950;
  white-space: nowrap;
}

.standings-toggle {
  display: grid;
  grid-template-columns: repeat(var(--standings-toggle-count, 2), minmax(0, 1fr));
  gap: 2px;
  width: min(190px, 58vw);
  padding: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--green-soft);
}

.group-standings-toggle {
  --standings-toggle-count: 3;
  flex: 1 1 0;
  width: auto;
  max-width: 284px;
  min-width: 0;
}

.standings-toggle a {
  display: grid;
  place-items: center;
  min-height: 26px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-decoration: none;
}

.standings-toggle a.is-active {
  color: var(--green-dark);
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 91, 58, 0.14);
}

.group-standings .group-table-row {
  grid-template-columns: 34px minmax(0, 1fr) 38px 42px 46px;
  min-height: 40px;
  padding: 5px 12px;
  font-size: 0.84rem;
}

.group-standings .group-table-header {
  min-height: 28px;
  font-size: 0.68rem;
}

.group-standings .group-team {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
}

.group-standings .group-team .team-flag {
  width: 28px;
  height: 19px;
  border-radius: 0;
  object-fit: cover;
}

.group-standings .group-table-header > span:nth-child(2),
.group-standings .group-team strong {
  overflow: hidden;
  text-align: left;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-team-name {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.group-team-name strong {
  min-width: 0;
}

.group-tie-resolution.is-hidden {
  display: none;
}

.group-standings .group-table-row > span:nth-child(3),
.group-standings .group-table-row > span:nth-child(4) {
  font-weight: 600;
}

.group-standings .group-table-row > strong:last-child {
  color: var(--green);
  font-size: 1rem;
}

.group-tie-resolution.third-place-tie-resolution {
  margin: 0 0 10px;
  padding: 0;
  border-top: 0;
  background: transparent;
}

.third-place-card h2 {
  padding: 13px 12px 8px;
  font-size: 1rem;
}

.third-place-note {
  margin: 0 12px 10px;
  padding: 8px 10px;
  border: 1px solid rgba(245, 132, 0, 0.18);
  border-radius: 8px;
  background: rgba(245, 132, 0, 0.07);
  color: #6d4300;
  font-size: 0.76rem;
  font-weight: 850;
}

.third-place-standings .group-table-row {
  grid-template-columns: 34px 54px minmax(0, 1fr) 38px 42px 46px;
}

.third-place-standings .group-table-header > span:nth-child(3) {
  text-align: left;
}

.third-place-standings .group-table-row > span:nth-child(2),
.third-place-standings .group-table-row > span:nth-child(4),
.third-place-standings .group-table-row > span:nth-child(5) {
  font-weight: 700;
}

.third-place-cut-row {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  gap: 10px;
  min-height: 36px;
  border-top: 0;
  color: var(--green-dark);
}

.third-place-cut-row span {
  height: 1px;
  background: rgba(15, 91, 58, 0.48);
}

.third-place-cut-row strong {
  color: var(--green-dark) !important;
  font-size: 0.72rem !important;
  font-weight: 950;
  text-align: center;
}

.group-tie-resolution {
  padding: 8px 10px 10px;
  border-top: 1px solid rgba(222, 216, 208, 0.68);
  background: #fff;
}

.group-tie-banner {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(245, 132, 0, 0.22);
  border-radius: 8px;
  background: rgba(245, 132, 0, 0.08);
  color: #5f3c00;
}

.group-tie-banner.is-resolved {
  border-color: rgba(15, 91, 58, 0.18);
  background: rgba(15, 91, 58, 0.07);
  color: var(--green-dark);
}

.group-tie-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}

.group-tie-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.group-tie-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.group-tie-copy strong {
  font-size: 0.82rem;
  font-weight: 950;
}

.group-tie-copy span {
  overflow: hidden;
  font-size: 0.76rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-tie-action,
.group-tie-primary,
.group-tie-secondary,
.group-tie-close,
.group-tie-move-controls button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.group-tie-action {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 950;
}

.group-tie-sheet[hidden] {
  display: none;
}

.group-tie-sheet {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  align-items: end;
}

.group-tie-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(13, 13, 13, 0.38);
}

.group-tie-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(100%, 480px);
  max-height: min(86vh, 620px);
  margin: 0 auto;
  padding: 16px 16px calc(16px + var(--safe-bottom));
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: 0 -16px 40px rgba(13, 13, 13, 0.22);
  overflow: auto;
}

.group-tie-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.group-tie-panel-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 950;
}

.group-tie-panel-header p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.group-tie-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
}

.group-tie-order-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.group-tie-order-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 8px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.group-tie-rank {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 950;
}

.group-tie-team {
  display: flex;
  gap: 9px;
  align-items: center;
  min-width: 0;
}

.group-tie-team span {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
}

.group-tie-team strong,
.group-tie-team small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-tie-team strong {
  font-size: 0.86rem;
  font-weight: 950;
}

.group-tie-team small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.group-tie-team .team-flag {
  width: 28px;
  height: 19px;
  border-radius: 0;
  object-fit: cover;
}

.group-tie-move-controls {
  display: flex;
  gap: 4px;
}

.group-tie-move-controls button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
}

.group-tie-move-controls button:disabled {
  opacity: 0.36;
  cursor: default;
}

.group-tie-panel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.group-tie-primary,
.group-tie-secondary {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 950;
}

.group-tie-primary {
  background: var(--green);
  color: #fff;
}

.group-tie-secondary {
  background: var(--surface-soft);
  color: var(--muted);
}

.group-tie-primary.is-saving {
  opacity: 0.72;
  pointer-events: none;
}

@media (max-width: 420px) {
  .group-tie-resolution {
    padding: 6px 8px 8px;
  }

  .group-tie-banner {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px;
  }

  .group-tie-icon {
    width: 24px;
    height: 24px;
  }

  .group-tie-icon svg {
    width: 15px;
    height: 15px;
  }

  .group-tie-copy {
    gap: 0;
  }

  .group-tie-copy strong {
    font-size: 0.76rem;
  }

  .group-tie-copy span {
    font-size: 0.7rem;
    line-height: 1.2;
    white-space: normal;
  }

  .group-tie-action {
    min-height: 32px;
    padding: 0 9px;
    font-size: 0.7rem;
  }

  .group-tie-panel {
    padding: 14px 14px calc(14px + var(--safe-bottom));
  }
}

.group-match-card {
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.match-hub .group-match-card .match-list {
  gap: 8px;
  padding: 0;
}

.group-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(46, 34, 24, 0.06);
  overflow: hidden;
}

.group-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.group-card-head h2 {
  margin: 0;
  font-size: 0.96rem;
}

.group-card-head span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.group-table {
  display: grid;
}

.group-table-row {
  display: grid;
  grid-template-columns: minmax(112px, 1fr) repeat(6, minmax(24px, 30px));
  gap: 4px;
  align-items: center;
  min-height: 46px;
  padding: 7px 10px;
  border-top: 1px solid rgba(222, 216, 208, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.group-table-row:first-child {
  border-top: 0;
}

.group-table-header {
  min-height: 34px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.group-table-row > :first-child {
  text-align: left;
}

.group-team {
  display: grid;
  grid-template-columns: 24px minmax(34px, auto) minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.group-team small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bracket-round-selector {
  --bracket-card-min-width: 96px;
  --bracket-column-gap: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(var(--bracket-card-min-width), 1fr));
  gap: var(--bracket-column-gap);
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-padding: 46px;
  scrollbar-width: none;
}

.bracket-round-carousel.has-overflow .bracket-round-selector {
  padding: 0 38px;
}

.bracket-round-selector::-webkit-scrollbar {
  display: none;
}

.bracket-round-selector-inline {
  padding-bottom: 0;
}

.bracket-round-selector a {
  display: grid;
  place-items: center;
  min-height: 38px;
  min-width: 0;
  padding: 4px 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.bracket-round-selector a.is-active {
  border-color: var(--green);
  color: white;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.16);
}

.bracket-selected-section {
  display: grid;
  gap: 8px;
}

.bracket-selected-section + .bracket-selected-section {
  margin-top: 12px;
}

.bracket-selected-title {
  margin: 0;
  padding: 8px 8px 0;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.1;
  text-align: left;
  text-transform: uppercase;
}

.bracket-board {
  position: relative;
  margin-right: -10px;
  padding: 0 10px 12px 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.bracket-view-toolbar {
  position: sticky;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  height: 32px;
  margin: 0 0 -32px;
  padding: 0;
  pointer-events: none;
}

@media (max-width: 640px) {
  .bracket-view-toolbar {
    min-height: 32px;
    height: auto;
    margin: 0 0 10px;
  }
}

.bracket-standings-toggle {
  --standings-toggle-count: 3;
  width: min(284px, 70vw);
  pointer-events: auto;
}

.bracket-standings-toggle a {
  min-height: 28px;
  font-size: 0.68rem;
}

.bracket-stage-grid {
  --bracket-card-min-width: 96px;
  --bracket-row-height: 66px;
  --bracket-detached-gap: 4px;
  --bracket-column-gap: 10px;
  --bracket-round-left-inset: 4px;
  display: grid;
  grid-template-columns: repeat(5, minmax(var(--bracket-card-min-width), 1fr));
  gap: var(--bracket-column-gap);
  align-items: stretch;
  width: 100%;
  min-width: calc((var(--bracket-card-min-width) * 5) + (var(--bracket-column-gap) * 4));
  padding: 2px 0 4px 2px;
}

.bracket-column {
  display: grid;
  min-width: 0;
}

.bracket-column-matches {
  display: grid;
  grid-template-rows:
    repeat(7, var(--bracket-row-height) var(--bracket-row-height) var(--bracket-detached-gap))
    var(--bracket-row-height)
    var(--bracket-row-height);
  gap: 8px;
  min-height: 0;
  padding-left: var(--bracket-round-left-inset);
  position: relative;
}

.bracket-connector {
  grid-column: 1;
  align-self: center;
  justify-self: end;
  width: 2px;
  height: calc(100% - (var(--connector-inset) * 2));
  transform: translateX(9px);
  background: var(--line);
  pointer-events: none;
  z-index: 0;
}

.bracket-column.is-last .bracket-connector {
  display: none;
}

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

.bracket-match {
  grid-column: 1;
  display: grid;
  align-self: center;
  position: relative;
  z-index: 1;
  gap: 3px;
  min-height: 60px;
  padding: 6px 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 5px 14px rgba(46, 34, 24, 0.08);
}

.bracket-match-rank-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  color: inherit;
  text-decoration: none;
}

.bracket-match-rank-link:focus-visible {
  outline: 2px solid rgba(216, 27, 45, 0.42);
  outline-offset: -3px;
}

.bracket-column:not(.is-last) .bracket-match::after,
.bracket-column:not(.is-first) .bracket-match::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--line);
  transform: translateY(-50%);
  z-index: -1;
}

.bracket-column:not(.is-last) .bracket-match::after {
  left: 100%;
}

.bracket-column:not(.is-first) .bracket-match::before {
  right: 100%;
  width: 5px;
}

.bracket-match header,
.bracket-match footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px;
  color: rgba(96, 90, 82, 0.72);
  font-size: 0.56rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bracket-team {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr) 10px;
  gap: 3px;
  align-items: center;
  min-height: 20px;
  padding: 2px 3px;
  border-radius: 5px;
  background: var(--surface-soft);
  font-size: 0.6rem;
  font-weight: 900;
}

.bracket-team span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bracket-team span:first-child {
  grid-column: 1 / 3;
}

.bracket-team strong {
  text-align: right;
}

.bracket-team .team-flag.mini {
  width: 13px;
  height: 9px;
}

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

.match-day {
  margin-top: 0;
}

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

.match-day + .match-day {
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.match-day h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px;
  border-bottom: 0;
  color: var(--green);
  font-size: 0.78rem;
  text-align: left;
  text-transform: uppercase;
}

.match-day h2 small {
  color: #3f4650;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: none;
}

.match-day h2::before,
.match-day h2::after {
  content: none;
}

.match-hub .match-list {
  gap: 0;
}

.prediction-form .match-list {
  display: grid;
  gap: 8px;
  padding: 0 0 4px;
}

.fixture-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(162px, 28%, 196px);
  gap: 0;
  align-items: stretch;
  min-height: 118px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 3px 14px rgba(30, 38, 48, 0.05);
  overflow: hidden;
}

.fixture-card::before {
  content: none;
}

.fixture-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(116px, 1fr));
  column-gap: 22px;
  row-gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 18px 14px 14px 22px;
}

.fixture-meta {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
  color: #5b6470;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.15;
}

.fixture-stadium {
  min-width: 0;
  grid-column: 1 / -1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fixture-meta-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  color: var(--ink);
  font-weight: 850;
  white-space: nowrap;
}

.fixture-meta-time .kickoff-icon {
  width: 16px;
  height: 16px;
  stroke: var(--muted);
  stroke-width: 1.75;
}

.fixture-meta-time time {
  font: inherit;
}

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

.fixture-team.away {
  justify-content: flex-end;
}

.fixture-team .team-flag {
  width: 62px;
  height: 42px;
  flex: 0 0 auto;
  border-color: #dfe3e8;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(23, 23, 23, 0.08);
  object-fit: cover;
}

.fixture-team-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.fixture-team strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fixture-team strong {
  font-size: 1.02rem;
  font-weight: 950;
  line-height: 1.05;
}

.fixture-team small {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fixture-prediction {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 9px;
  min-width: 0;
  padding: 10px 22px 12px;
  border-left: 1px solid var(--line);
}

.fixture-group {
  display: inline-grid;
  place-items: center;
  max-width: 100%;
  min-width: 76px;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: var(--surface-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fixture-prediction .score-stepper {
  grid-template-columns: 60px 14px 60px;
  gap: 7px;
  justify-content: center;
  justify-self: center;
  width: 100%;
}

.score-field {
  position: relative;
  display: block;
  width: 100%;
}

.fixture-prediction .score-stepper input {
  width: 60px;
  min-height: 34px;
  padding: 4px 22px 4px 10px;
  border-radius: 5px;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.14), 0 1px 2px rgba(15, 91, 58, 0.18);
  font-size: 1rem;
}

.score-caret {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: white;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transform: translateY(-50%);
}

.fixture-prediction .score-stepper > span:not(.score-field) {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.fixture-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  color: #3e4650;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.fixture-lock svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fixture-lock.is-locked {
  color: var(--muted);
}

.fixture-lock time {
  font: inherit;
}

@media (max-width: 540px) {
  .fixture-card {
    grid-template-columns: minmax(0, 1fr) 126px;
    min-height: 100px;
  }

  .fixture-main {
    grid-template-columns: repeat(2, minmax(70px, 1fr));
    column-gap: 8px;
    row-gap: 6px;
    padding: 12px 10px;
  }

  .fixture-team {
    gap: 7px;
  }

  .fixture-team .team-flag {
    width: 38px;
    height: 26px;
  }

  .fixture-team strong {
    font-size: 0.88rem;
  }

  .fixture-team small {
    font-size: 0.62rem;
  }

  .fixture-meta {
    gap: 7px;
    font-size: 0.64rem;
  }

  .fixture-meta-time .kickoff-icon {
    width: 13px;
    height: 13px;
  }

  .fixture-prediction {
    gap: 6px;
    padding: 8px;
  }

  .fixture-group {
    min-width: 68px;
    min-height: 22px;
    font-size: 0.56rem;
  }

  .fixture-prediction .score-stepper {
    grid-template-columns: 37px 8px 37px;
    gap: 5px;
  }

  .fixture-prediction .score-stepper input {
    width: 37px;
    min-height: 31px;
    padding: 4px 15px 4px 6px;
    font-size: 0.9rem;
  }

  .score-caret {
    right: 5px;
    width: 9px;
    height: 9px;
  }

  .fixture-lock {
    gap: 4px;
    font-size: 0.58rem;
  }

  .fixture-lock svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 360px) {
  .fixture-card {
    grid-template-columns: minmax(0, 1fr) 110px;
  }

  .fixture-main {
    grid-template-columns: repeat(2, minmax(48px, 1fr));
    column-gap: 5px;
    padding: 10px 8px;
  }

  .fixture-team {
    gap: 5px;
  }

  .fixture-team .team-flag {
    width: 30px;
    height: 20px;
  }

  .fixture-team strong {
    font-size: 0.74rem;
  }

  .fixture-meta {
    font-size: 0.56rem;
  }

  .fixture-prediction .score-stepper {
    grid-template-columns: 31px 8px 31px;
  }

  .fixture-prediction .score-stepper input {
    width: 31px;
    padding-right: 13px;
    font-size: 0.84rem;
  }
}

.match-row {
  display: grid;
  grid-template-columns: 56px 50px 56px 100px;
  column-gap: clamp(14px, 4vw, 26px);
  row-gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.match-row-team {
  display: grid;
  justify-self: start;
  justify-items: center;
  gap: 5px;
  width: 56px;
  min-width: 0;
  text-align: center;
}

.match-row-team.away {
  justify-self: end;
  justify-items: center;
}

.match-row-team .team-flag {
  width: 34px;
  height: 23px;
  border-radius: 0;
  object-fit: cover;
}

.match-row-team strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-row-time {
  display: grid;
  justify-items: center;
  gap: 1px;
  min-width: 0;
  text-align: center;
}

.match-row-time time {
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1;
}

.match-row-time span {
  color: var(--muted);
  font-size: 0.54rem;
  font-weight: 950;
  text-transform: uppercase;
}

.kickoff-icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.score-stepper {
  display: grid;
  grid-template-columns: 42px 10px 42px;
  gap: 8px;
  align-items: center;
  justify-content: start;
  justify-self: start;
}

.score-stepper input {
  min-height: 34px;
  border-radius: 6px;
  font: inherit;
  font-weight: 950;
  text-align: center;
}

.score-stepper input {
  width: 42px;
  padding: 4px;
  border: 0;
  color: white;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  font-size: 1rem;
  appearance: textfield;
}

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

.score-stepper input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.score-stepper > span {
  font-weight: 950;
  text-align: center;
}

.group-match-card .match-row {
  --group-flag-height: clamp(26px, 5vw, 38px);
  --group-score-size: calc(var(--group-flag-height) + 4px);
  grid-template-columns:
    minmax(48px, 0.55fr)
    minmax(118px, 1.35fr)
    minmax(48px, 0.55fr)
    minmax(62px, 0.52fr);
  column-gap: clamp(8px, 2.4vw, 18px);
  min-height: 88px;
  padding: 10px clamp(10px, 3vw, 18px) 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.group-match-card .match-row-team {
  justify-self: center;
  justify-items: center;
  gap: 5px;
  width: 100%;
}

.group-match-card .match-row-team.away {
  justify-self: center;
}

.group-match-card .match-row-team .team-flag {
  width: clamp(40px, 8vw, 58px);
  height: var(--group-flag-height);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(20, 20, 20, 0.08);
}

.group-match-card .match-row-team strong {
  color: var(--ink);
  font-size: clamp(0.82rem, 2vw, 1rem);
  font-weight: 600;
  line-height: 1;
}

.group-score-block {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
}

.group-score-block .score-stepper {
  grid-template-columns: var(--group-score-size) 9px var(--group-score-size);
  gap: clamp(6px, 1.6vw, 12px);
  justify-content: center;
  justify-self: center;
}

.group-score-block .score-stepper input {
  width: var(--group-score-size);
  min-height: 0;
  height: var(--group-score-size);
  border-radius: 7px;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.14);
  font-size: clamp(0.9rem, 2.2vw, 1.08rem);
  font-weight: 850;
}

.group-score-block .score-stepper > span {
  color: #101010;
  font-size: clamp(0.76rem, 1.8vw, 0.92rem);
  font-weight: 800;
}

.group-row-stadium {
  max-width: 100%;
  overflow: hidden;
  color: var(--muted);
  font-size: clamp(0.62rem, 1.8vw, 0.74rem);
  font-weight: 650;
  line-height: 1.12;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-match-card .match-row-time {
  justify-self: center;
  gap: 4px;
}

.prediction-form .fixture-row-badge {
  display: inline-grid;
  place-items: center;
  min-height: 18px;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.group-match-card .match-row-time time {
  color: var(--ink);
  font-size: clamp(0.9rem, 2.5vw, 1.08rem);
  font-weight: 850;
}

.group-match-card .match-row-time span {
  color: var(--muted);
  font-size: clamp(0.55rem, 1.5vw, 0.68rem);
  font-weight: 750;
}

.group-match-card .match-row-time .kickoff-icon {
  width: clamp(22px, 4.8vw, 32px);
  height: clamp(22px, 4.8vw, 32px);
  stroke: var(--muted);
  stroke-width: 1.8;
}

@media (max-width: 540px) {
  .group-match-card .match-row {
    grid-template-columns:
      minmax(42px, 0.58fr)
      minmax(94px, 1.35fr)
      minmax(42px, 0.58fr)
      minmax(48px, 0.55fr);
    column-gap: 8px;
    min-height: 86px;
    padding: 10px 10px 6px;
  }

  .group-match-card .match-row-team {
    gap: 6px;
  }

  .group-score-block {
    gap: 5px;
  }

  .group-score-block .score-stepper {
    grid-template-columns: var(--group-score-size) 8px var(--group-score-size);
    gap: 8px;
  }

  .group-score-block .score-stepper input {
    width: var(--group-score-size);
    height: var(--group-score-size);
    border-radius: 8px;
    font-size: 1.08rem;
  }

  .group-row-stadium {
    font-size: 0.66rem;
  }

  .group-match-card .match-row-time {
    gap: 5px;
  }
}

@media (max-width: 360px) {
  .group-match-card .match-row {
    --group-flag-height: 24px;
    --group-score-size: 30px;
    grid-template-columns: 38px minmax(78px, 1fr) 38px 44px;
    column-gap: 6px;
    padding: 8px 8px 5px;
  }

  .group-match-card .match-row-team .team-flag {
    width: 36px;
    height: 24px;
  }

  .group-match-card .match-row-team strong {
    font-size: 0.82rem;
  }

  .group-score-block .score-stepper {
    grid-template-columns: var(--group-score-size) 7px var(--group-score-size);
    gap: 6px;
  }

  .group-score-block .score-stepper input {
    width: var(--group-score-size);
    height: var(--group-score-size);
    border-radius: 7px;
    font-size: 0.94rem;
  }

  .group-row-stadium {
    font-size: 0.56rem;
  }
}

.match-card-list {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 0 auto;
}

.match-card-form {
  margin: 0;
}

.match-card {
  --match-green: #007142;
  --match-green-dark: #005a36;
  --match-green-text: #0b6b42;
  --match-orange: #f08322;
  --match-red: #ff2228;
  --match-muted: #5b5b5b;
  position: relative;
  display: grid;
  grid-template-rows: 30px 68px 30px;
  gap: 0;
  width: 100%;
  max-width: 100%;
  height: 128px;
  min-height: 128px;
  padding: 0;
  border: 1px solid #ececec;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 1px 7px rgba(20, 20, 20, 0.055);
  font-family: var(--font-brand);
  overflow: hidden;
}

.match-card[id] {
  scroll-margin-top: calc(var(--app-topbar-height) + 58px);
}

.match-card::before {
  content: none;
}

.match-card-rank-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  color: inherit;
  text-decoration: none;
}

.match-card-rank-link:focus-visible {
  outline: 2px solid rgba(216, 27, 45, 0.42);
  outline-offset: -3px;
}

.match-card:has(.match-card-rank-link) {
  cursor: pointer;
}

.match-scorebox.is-input,
.match-advance-selector,
.match-card input,
.match-card button {
  position: relative;
  z-index: 2;
}

.next-matches-card .match-card-list {
  gap: 6px;
}

.compact-match-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.match-card-compact {
  grid-template-rows: 22px 42px;
  height: 66px;
  min-height: 66px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(20, 20, 20, 0.045);
}

.match-card-compact .match-card-top {
  grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr);
  padding: 0 9px;
}

.match-card-compact .match-card-kickoff,
.match-card-compact .match-card-phase,
.match-card-compact .match-card-badge,
.match-card-compact .match-card-venue {
  font-size: 10px;
}

.match-card-compact .match-card-badge {
  min-height: 16px;
  padding: 0 7px;
  margin-top: 2px;
}

.match-card-compact .match-card-body {
  grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr);
  padding: 0 9px;
}

.match-card-compact .match-card-team {
  gap: 7px;
  height: 24px;
}

.match-card-compact .match-card-team strong {
  font-size: 15px;
}

.match-card-compact .match-card-team .team-flag {
  width: 32px;
  height: 22px;
}

.match-card-compact .match-scorebox {
  width: 72px;
  height: 28px;
  border-radius: 6px;
}

.match-card-compact .match-scorebox strong {
  font-size: 16px;
}

.match-card-compact .match-scorebox.is-score strong,
.match-card-compact .match-scorebox input {
  font-size: 16px;
}

.match-card-compact .match-scorebox > span {
  height: 16px;
}

.match-card-compact .match-card-footer {
  height: 24px;
  font-size: 10px;
}

.match-card-compact .match-card-meta {
  gap: 4px;
  height: 16px;
}

.match-card-compact .match-card-center strong,
.match-card-compact .match-card-status strong {
  font-size: 10px;
}

.match-card-compact .match-card-icon,
.match-card-compact .match-card-mark {
  width: 9px;
  height: 9px;
}

.match-card-compact .match-card-mark.is-check::before {
  top: 2px;
  left: 2px;
  width: 3px;
  height: 2px;
}

.match-card-compact .match-card-mark.is-cross::before,
.match-card-compact .match-card-mark.is-cross::after {
  top: 4px;
  left: 2px;
  width: 5px;
}

.match-card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 188px minmax(0, 1fr);
  align-items: end;
  min-width: 0;
  padding: 0 14px 4px;
}

.match-card-kickoff {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.match-card-kickoff span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-card-separator {
  color: var(--muted);
}

.match-card-phase {
  justify-self: center;
  display: block;
  color: var(--match-green-text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.match-card-badge {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  min-height: 20px;
  padding: 0 8px;
  border: 1px solid #f2b879;
  border-radius: 6px;
  color: #c76b1c;
  background: #fff;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.match-card-venue {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.match-card-venue-icon {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  fill: currentColor;
}

.match-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 188px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  padding: 0 14px;
}

.match-card-team {
  display: flex;
  align-items: center;
  gap: 17px;
  height: 34px;
  min-width: 0;
}

.match-card-team.home {
  justify-content: flex-start;
}

.match-card-team.away {
  justify-content: flex-end;
  text-align: right;
}

.match-card-team strong {
  overflow: hidden;
  color: #0d0d0d;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-card-team .team-flag {
  width: 50px;
  height: 34px;
  border: 1px solid #dddddd;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
}

.match-scorebox {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  justify-self: center;
  width: 188px;
  height: 58px;
  border-radius: 8px;
  overflow: hidden;
}

.match-scorebox.is-input {
  border: 1px solid rgba(0, 113, 66, 0.34);
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 113, 66, 0.08);
}

.match-card.is-editing {
  border-color: rgba(0, 113, 66, 0.5);
  box-shadow: 0 10px 24px rgba(0, 113, 66, 0.13);
}

.match-card.is-editing .match-scorebox.is-input {
  border-color: var(--match-green);
  box-shadow: 0 0 0 3px rgba(0, 113, 66, 0.14);
}

.match-card.is-saving .match-scorebox.is-input {
  border-color: var(--match-orange);
}

.match-card.is-unavailable {
  background: #fdfdfc;
}

.match-card.is-unavailable .match-card-team strong,
.match-card.is-unavailable .match-card-kickoff,
.match-card.is-unavailable .match-card-phase,
.match-card.is-unavailable .match-card-venue,
.match-card.is-unavailable .match-card-footer {
  color: #756f66;
}

.match-scorebox.is-disabled {
  border: 1px dashed rgba(96, 90, 82, 0.32);
  background: rgba(96, 90, 82, 0.035);
}

.match-scorebox.is-score {
  border: 1px solid var(--match-green-dark);
  background: linear-gradient(180deg, var(--match-green), var(--match-green-dark));
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 2px 5px rgba(0, 113, 66, 0.16);
}

.match-scorebox input,
.match-scorebox strong {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-brand);
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.match-scorebox input {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0;
  color: var(--match-green-text);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  text-align: center !important;
  caret-color: var(--match-green-text);
  appearance: textfield;
}

.match-scorebox.is-input strong {
  color: var(--match-green-text);
}

.match-scorebox.is-disabled strong {
  color: #756f66;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.match-scorebox input:focus,
.match-scorebox input:focus-visible {
  outline: none;
  box-shadow: none;
  border: 0;
  appearance: textfield;
}

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

.match-scorebox input::placeholder {
  color: transparent;
  opacity: 1;
  text-align: center;
}

.match-scorebox input::-webkit-input-placeholder {
  color: transparent;
  text-align: center;
}

.match-scorebox.is-empty::before,
.match-scorebox.is-empty::after,
.match-scorebox.is-input:has(input:first-child:placeholder-shown:not(:focus))::before,
.match-scorebox.is-input:has(input:last-child:placeholder-shown:not(:focus))::after {
  content: "-";
  position: absolute;
  top: 50%;
  z-index: 0;
  color: var(--match-green-text);
  font-family: var(--font-brand);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.match-scorebox.is-empty::before,
.match-scorebox.is-input:has(input:first-child:placeholder-shown:not(:focus))::before {
  left: 25%;
}

.match-scorebox.is-empty::after,
.match-scorebox.is-input:has(input:last-child:placeholder-shown:not(:focus))::after {
  left: 75%;
}

.match-scorebox.is-empty:has(input:first-child:not(:placeholder-shown))::before,
.match-scorebox.is-empty:has(input:last-child:not(:placeholder-shown))::after {
  content: none;
}

.match-scorebox:has(input:first-child:focus:placeholder-shown)::before,
.match-scorebox:has(input:last-child:focus:placeholder-shown)::after {
  content: "";
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2px;
  height: 34px;
  border-radius: 999px;
  background: var(--match-green-text);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: score-input-caret 1s step-end infinite;
}

.match-scorebox:has(input:first-child:focus:placeholder-shown)::before {
  left: 25%;
}

.match-scorebox:has(input:last-child:focus:placeholder-shown)::after {
  left: 75%;
}

@keyframes score-input-caret {
  0%,
  50% {
    opacity: 1;
  }

  50.01%,
  100% {
    opacity: 0;
  }
}

.match-scorebox.is-score strong {
  color: white;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.match-scorebox > span {
  display: grid;
  place-items: center;
  width: 1px;
  height: 32px;
  color: transparent;
  background: rgba(13, 13, 13, 0.15);
  font-size: 0;
  line-height: 0;
}

.match-scorebox.is-score > span {
  background: rgba(255, 255, 255, 0.72);
}

.match-scorebox.is-disabled > span {
  background: rgba(96, 90, 82, 0.18);
}

.match-card-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  height: 30px;
  padding: 0;
  border-top: 1px solid #eeeeee;
  color: var(--match-muted);
  font-size: 12px;
}

.match-card-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  width: 100%;
  height: 18px;
  line-height: 1;
  white-space: nowrap;
}

.match-card-footer > :nth-child(2),
.match-card-footer > :nth-child(3) {
  border-left: 1px solid #e6e6e6;
}

.match-card-footer > :first-child {
  justify-self: center;
}

.match-card-footer > :nth-child(2) {
  justify-self: center;
}

.match-card-footer > :last-child {
  justify-self: end;
}

.match-card-center {
  color: var(--match-green-text);
}

.match-card-center-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
}

.match-card-center-content.is-hidden,
.match-advance-selector.is-hidden {
  display: none;
}

.match-card-center.is-muted {
  color: var(--muted);
}

.match-card-center.is-success {
  color: var(--match-green-text);
}

.match-card-center.is-danger {
  color: var(--match-red);
}

.match-card-center.is-warning {
  color: var(--match-orange);
}

.match-card-status.is-muted {
  color: var(--muted);
}

.match-card-status.is-pending {
  color: var(--match-red);
}

.match-card-status.is-success {
  color: var(--match-green-text);
}

.match-card-status.is-predicted {
  color: #315f9f;
}

.match-card-status.is-danger {
  color: var(--match-red);
}

.match-card-status.is-warning {
  color: var(--match-orange);
}

.match-card-prefix,
.match-card-status strong {
  letter-spacing: 0;
}

.match-card-prefix {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.match-card-center strong,
.match-card-status strong {
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.match-advance-selector {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.match-advance-selector input {
  display: none;
}

.match-advance-selector button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 22px;
  padding: 0 10px;
  border: 1px solid #cfd4d1;
  border-radius: 6px;
  background: #fff;
  color: var(--match-muted);
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.match-advance-selector button.is-selected {
  border-color: var(--match-green);
  color: var(--match-green-text);
  box-shadow: 0 0 0 1px rgba(0, 113, 66, 0.16);
}

.match-advance-selector button:focus-visible {
  outline: 2px solid rgba(0, 113, 66, 0.42);
  outline-offset: 2px;
}

.match-card-icon {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.match-card-mark {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.match-card-mark.is-check::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 4px;
  height: 2px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(-45deg);
}

.match-card-mark.is-cross::before,
.match-card-mark.is-cross::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 3px;
  width: 6px;
  height: 1px;
  border-radius: 999px;
  background: #fff;
}

.match-card-mark.is-cross::before {
  transform: rotate(45deg);
}

.match-card-mark.is-cross::after {
  transform: rotate(-45deg);
}

.match-card-mark.is-dot {
  width: 12px;
  height: 12px;
}

.match-hub .group-match-card .match-card-list {
  gap: 8px;
  padding: 0;
}

.prediction-form .match-card-list {
  padding: 0 0 4px;
}

.group-match-card .match-card {
  background: #fff;
}

.app-bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  min-height: calc(60px + var(--safe-bottom));
  padding: 5px 8px calc(5px + var(--safe-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
  backdrop-filter: blur(18px);
}

.app-bottom-nav a {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 48px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
}

.nav-icon {
  display: block;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-bottom-nav strong {
  overflow: hidden;
  max-width: 100%;
  font-size: 0.66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-bottom-nav a.is-active {
  color: var(--red);
  background: var(--red-soft);
}

.share-panel,
.qr-panel,
.profile-card {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 25, 18, 0.04);
}

.share-panel {
  display: grid;
  gap: 12px;
}

.share-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.qr-panel {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.qr-code {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.qr-code svg {
  display: block;
  width: 100%;
  height: auto;
}

.suggested-message {
  min-width: 0;
}

.suggested-message span,
.invite-note {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.suggested-message p {
  margin: 4px 0 8px;
}

.suggested-message a {
  color: var(--green);
  font-weight: 900;
}

.invite-note {
  margin: 12px 0 0;
  text-align: center;
}

.profile-card div {
  min-width: 0;
}

.profile-card h2,
.profile-card p {
  display: block;
}

.profile-card p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.profile-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 15px 18px;
}

.profile-card h2 {
  overflow: hidden;
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-points {
  display: grid;
  justify-items: end;
}

.profile-points strong {
  color: var(--green);
  font-size: 1.7rem;
  line-height: 1;
}

.profile-points span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.menu-list {
  display: grid;
  gap: 0;
  padding: 10px 18px;
}

.menu-list a,
.menu-list button {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 86px;
  padding: 13px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
  appearance: none;
}

.menu-list a:first-child,
.menu-list button:first-child {
  border-top: 0;
}

.more-menu-list strong,
.menu-action-description,
.menu-action-lock-text {
  display: block;
}

.more-menu-list strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.15;
}

.menu-action-description {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.32;
}

.menu-action-lock {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-action-lock.is-admin {
  color: var(--red-dark);
}

.menu-action-lock .plan-badge {
  margin-left: 0;
}

.menu-action-status {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  min-width: 0;
  color: var(--muted);
}

.menu-action-status.has-chevron {
  gap: 5px;
}

.menu-action-plan-badge {
  margin-left: 0;
}

.menu-action-plan-badge.plan-badge-free,
.more-hero-plan-badge.plan-badge-free {
  color: var(--green);
  background: rgba(15, 91, 58, 0.12);
  border-color: transparent;
  box-shadow: none;
}

.menu-action-plan-badge.plan-badge-plus,
.more-hero-plan-badge.plan-badge-plus {
  color: #c13d00;
  background: rgba(245, 132, 0, 0.12);
  border-color: transparent;
  box-shadow: none;
}

.menu-action-plan-badge.plan-badge-pro,
.more-hero-plan-badge.plan-badge-pro {
  color: var(--red);
  background: rgba(227, 6, 19, 0.12);
  border-color: transparent;
  box-shadow: none;
}

.menu-action-plan-badge.plan-badge-free::before,
.menu-action-plan-badge.plan-badge-free::after,
.menu-action-plan-badge.plan-badge-plus::before,
.menu-action-plan-badge.plan-badge-plus::after,
.menu-action-plan-badge.plan-badge-pro::before,
.menu-action-plan-badge.plan-badge-pro::after,
.more-hero-plan-badge.plan-badge-free::before,
.more-hero-plan-badge.plan-badge-free::after,
.more-hero-plan-badge.plan-badge-plus::before,
.more-hero-plan-badge.plan-badge-plus::after,
.more-hero-plan-badge.plan-badge-pro::before,
.more-hero-plan-badge.plan-badge-pro::after {
  content: none;
}

.menu-action-status-lock {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-action-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, var(--green), var(--green-dark));
}

.menu-action-icon svg {
  display: block;
  width: 31px;
  height: 31px;
  color: #fff;
  fill: #fff;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-action-icon.is-danger {
  background: linear-gradient(145deg, var(--red), var(--red-dark));
}

.menu-list a.is-locked,
.menu-list button.is-locked {
  opacity: 1;
}

.menu-list button.is-locked:disabled {
  cursor: not-allowed;
}

.menu-list a.is-locked .menu-action-icon,
.menu-list button.is-locked .menu-action-icon {
  background: linear-gradient(145deg, #9a9a9a, #737373);
}

.menu-list a.is-plan-locked,
.menu-list button.is-plan-locked {
  grid-template-columns: 58px minmax(0, 1fr) auto;
}

.menu-list a.is-plan-locked .menu-action-copy,
.menu-list button.is-plan-locked .menu-action-copy {
  padding-right: 0;
}

.menu-list a.is-plan-locked .menu-action-status,
.menu-list button.is-plan-locked .menu-action-status {
  justify-self: end;
}

.menu-list a.is-plan-locked .menu-action-chevron,
.menu-list button.is-plan-locked .menu-action-chevron {
  display: none;
}

.menu-list a.is-locked .menu-action-chevron,
.menu-list button.is-locked .menu-action-chevron {
  opacity: 0.55;
}

.menu-action-copy {
  min-width: 0;
}

.menu-action-chevron {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.more-menu-form {
  margin: 0;
}

.more-menu-form .more-menu-row.is-destructive {
  color: var(--red-dark);
}

.player-leave-form {
  margin: 16px 0 0;
}

.player-leave-button {
  min-height: 54px;
}

.locked-feature-card {
  display: grid;
  gap: 18px;
  padding: 22px 20px;
  border: 1px solid rgba(15, 91, 58, 0.16);
  background: linear-gradient(180deg, rgba(247, 249, 246, 0.98), #fff);
}

.more-upsell-screen {
  padding-bottom: 96px;
}

.more-upsell-plan {
  width: min(100%, 680px);
  margin: 18px auto 0;
}

.more-upsell-actions {
  width: min(100%, 680px);
  margin: 16px auto 0;
}

.more-screen-back-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(100%, 680px);
  margin: 2px 0 4px;
  padding: 0;
}

.more-screen-back-actions h1 {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  font-size: clamp(1rem, 2.8vw, 1.08rem);
  line-height: 1.02;
}

.more-screen-top-back-link {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: #626973;
  text-decoration: none;
}

.more-upsell-back-arrow {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.locked-feature-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.locked-feature-icon {
  flex: 0 0 auto;
}

.locked-feature-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.locked-feature-copy .plan-badge {
  margin-left: 0;
  align-self: flex-start;
}

.locked-feature-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1.1;
}

.locked-feature-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.locked-feature-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.locked-feature-list li::marker {
  color: var(--green);
}

.locked-feature-actions {
  display: grid;
  gap: 10px;
}

.locked-feature-actions .button {
  min-height: 54px;
}

.locked-feature-actions .button.secondary {
  color: #626973;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(13, 13, 13, 0.1);
  box-shadow: none;
}

.branding-form {
  display: grid;
  gap: 10px;
  padding-top: 10px;
}

.branding-preview-frame {
  display: grid;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(31, 25, 18, 0.04);
}

.branding-preview {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 202px;
  margin: 0;
  padding: 20px 24px 56px;
  border: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: var(--surface-soft);
  background-repeat: no-repeat;
  box-shadow: none;
  overflow: hidden;
}

.branding-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--hero-gradient);
}

.branding-preview > :not(.hero-art) {
  position: relative;
  z-index: 1;
}

.branding-preview-lockup,
.branding-media-row {
  display: flex;
  align-items: center;
  min-width: 0;
}

.branding-preview-lockup {
  gap: 8px;
}

.branding-logo-preview {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  color: var(--green);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 950;
  overflow: hidden;
}

.branding-logo-preview img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.branding-preview-copy {
  max-width: 58%;
  margin-top: 22px;
}

.branding-preview-copy h1 {
  margin: 0;
  color: var(--green);
  font-family: var(--font-brand);
  font-size: 1.5rem;
  line-height: 1.08;
}

.branding-preview-copy p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.branding-card {
  display: grid;
  gap: 12px;
}

.branding-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.branding-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 22px;
}

.branding-media-row {
  gap: 12px;
}

.branding-cover-upload-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.branding-media-row > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.branding-cover-upload-row > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.branding-media-row strong,
.branding-cover-upload-row strong,
.branding-toggle-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.branding-media-row > div span,
.branding-cover-upload-row > div span,
.branding-toggle-row span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.branding-logo-preview {
  width: 104px;
  max-width: 104px;
  height: 58px;
  border: 0;
  border-radius: 10px;
  font-size: 1.28rem;
}

.is-default-logo {
  width: 58px;
  border: 1px solid var(--line);
}

.branding-cover-preview {
  display: block;
  width: 86px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: var(--surface-soft);
  background-position: center;
  background-size: cover;
}

.branding-media-row input[type="file"],
.branding-cover-upload-row input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 13px;
}

.default-toggle {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  min-height: 24px;
  padding: 0 8px 0 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.default-toggle span {
  position: relative;
  display: block;
  width: 24px;
  height: 14px;
  border-radius: 999px;
  background: #b8b8b8;
}

.default-toggle span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(13, 13, 13, 0.18);
}

.default-toggle.is-on {
  border-color: rgba(15, 91, 58, 0.2);
  color: var(--green);
  background: var(--green-soft);
}

.default-toggle.is-on span {
  background: var(--green);
}

.default-toggle.is-on span::after {
  transform: translateX(10px);
}

.theme-preset-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.theme-preset-list::-webkit-scrollbar {
  display: none;
}

.theme-preset-list > label {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 7px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.theme-preset-list > label.is-selected {
  border-color: rgba(15, 91, 58, 0.42);
  background: var(--green-soft);
  box-shadow: inset 0 0 0 1px rgba(15, 91, 58, 0.16);
}

.theme-preset-list input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.scoring-rules-form[data-editable="false"] .default-toggle,
.scoring-rules-form[data-editable="false"] .branding-card-switch,
.scoring-rules-form[data-editable="false"] .scoring-choice-list > label,
.scoring-rules-form[data-editable="false"] .scoring-rule-row,
.scoring-rules-form[data-editable="false"] .prize-reward-row,
.scoring-rules-form[data-editable="false"] input:disabled,
.scoring-rules-form[data-editable="false"] textarea:disabled,
.scoring-rules-form[data-editable="false"] select:disabled {
  cursor: not-allowed;
}

.scoring-rules-form[data-editable="false"] .default-toggle {
  border-color: #d2d2d2;
  color: #7f7f7f;
  background: #f3f3f3;
  box-shadow: none;
  opacity: 1;
}

.scoring-rules-form[data-editable="false"] .default-toggle span,
.scoring-rules-form[data-editable="false"] .default-toggle.is-on span {
  background: #b9b9b9;
}

.scoring-rules-form[data-editable="false"] .default-toggle span::after {
  background: #f8f8f8;
  box-shadow: none;
}

.scoring-rules-form[data-editable="false"] .scoring-choice-list > label {
  border-color: #d6d6d6;
  color: #7a7a7a;
  background: #f5f5f5;
  box-shadow: none;
  opacity: 1;
}

.scoring-rules-form[data-editable="false"] .scoring-choice-list > label.is-selected {
  border-color: #c9c9c9;
  color: #676767;
  background: #ececec;
  box-shadow: inset 0 0 0 1px rgba(13, 13, 13, 0.06);
}

.swatch,
.swatch {
  display: block;
  border-radius: 50%;
  width: 15px;
  height: 15px;
}

.classic-red {
  background: var(--red);
}

.pitch-green,
.deep-green {
  background: var(--green);
}

.mint-green {
  background: #6bae7a;
}

.stadium-gold {
  background: #dc9a24;
}

.night-match {
  background: #1b2a40;
}

.neutral-gray {
  background: #92979b;
}

.branding-fields-grid,
.branding-split {
  display: grid;
  gap: 10px;
}

.branding-field {
  display: grid;
  gap: 6px;
}

.branding-field label {
  color: var(--muted);
  font-size: 0.72rem;
}

.branding-field input[type="text"],
.branding-field input[type="url"] {
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.file-field input[type="file"] {
  min-height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.78rem;
}

.branding-toggle-list {
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.branding-toggle-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 54px;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}

.branding-toggle-row:first-child {
  border-top: 0;
}

.toggle-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
}

.toggle-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.branding-toggle-row input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.toggle-control {
  position: relative;
  width: 50px;
  height: 30px;
  border-radius: 999px;
  background: #a5a5a5;
}

.toggle-control::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(13, 13, 13, 0.2);
}

.toggle-control.is-on {
  background: var(--green);
}

.toggle-control.is-on::after {
  transform: translateX(20px);
}

.branding-save-button {
  min-height: 58px;
  margin-top: 8px;
  font-size: 1rem;
}

.branding-save-bar {
  position: fixed;
  bottom: calc(70px + var(--safe-bottom));
  left: 50%;
  z-index: 5;
  width: min(100%, 760px);
  padding: 10px 10px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 28%, #fff);
  pointer-events: none;
  transform: translateX(-50%);
}

.branding-save-bar .branding-save-button {
  width: min(100%, 740px);
  margin: 0 auto;
  pointer-events: auto;
}

.branding-save-button:disabled {
  color: rgba(50, 50, 50, 0.54);
  background: #d9d9d9;
  box-shadow: none;
  cursor: not-allowed;
}

.branding-screen {
  background: #fff;
}

.branding-screen .branding-form {
  gap: 9px;
  padding: 4px 0 80px;
}

.branding-screen .home-card {
  margin-top: 0;
  border-color: rgba(217, 217, 217, 0.86);
  box-shadow: 0 5px 14px rgba(31, 25, 18, 0.035);
}

.branding-screen .branding-card {
  gap: 9px;
  padding: 11px 12px;
}

.branding-screen .branding-card h2 {
  font-size: 0.66rem;
  letter-spacing: 0.02em;
}

.branding-screen .branding-preview-copy {
  max-width: 58%;
  margin-top: 18px;
}

.branding-screen .branding-preview-copy h1 {
  font-size: 1.04rem;
}

.moments-screen {
  background: #fff;
}

.moment-form-card,
.moment-list-card {
  gap: 14px;
  margin-top: 0;
}

.moment-form-grid,
.moment-reward-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.moment-active-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: #30343a;
  font-size: 0.9rem;
  font-weight: 900;
}

.moment-match-picker {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.moment-match-picker legend {
  margin-bottom: 4px;
  color: #30343a;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.moment-match-picker ul {
  display: grid;
  max-height: 330px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
  border: 1px solid rgba(217, 217, 217, 0.88);
  border-radius: 8px;
}

.moment-match-picker li + li {
  border-top: 1px solid rgba(217, 217, 217, 0.7);
}

.moment-match-picker label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  color: #30343a;
  font-size: 0.86rem;
  font-weight: 800;
}

.moment-list {
  display: grid;
  gap: 8px;
}

.moment-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(217, 217, 217, 0.82);
  border-radius: 8px;
  background: #fff;
}

.moment-list-row.is-muted {
  opacity: 0.58;
}

.moment-list-row strong,
.moment-list-row span {
  display: block;
}

.moment-list-row strong {
  color: #20242a;
  font-size: 0.94rem;
}

.moment-list-row span {
  color: #626b75;
  font-size: 0.78rem;
  font-weight: 800;
}

.moment-list-row nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.moment-list-row a,
.moment-list-row button {
  border: 0;
  color: var(--red);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

@media (min-width: 640px) {
  .moment-form-grid {
    grid-template-columns: minmax(0, 1fr) 120px auto;
    align-items: end;
  }

  .moment-reward-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.branding-screen .branding-preview-copy p {
  margin-top: 6px;
  font-size: 0.66rem;
  line-height: 1.3;
}

.branding-screen .branding-card-copy {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.branding-screen .branding-media-row {
  display: grid;
  grid-template-columns: minmax(54px, 104px) minmax(0, 1fr) auto;
  gap: 10px;
}

.branding-screen .branding-logo-preview {
  width: 104px;
  max-width: 104px;
  height: 54px;
  font-size: 1.28rem;
}

.branding-screen .branding-logo-preview.is-default-logo {
  width: 54px;
}

.branding-screen .branding-media-row strong {
  font-size: 0.86rem;
}

.branding-screen .branding-media-row > div span {
  font-size: 0.72rem;
}

.branding-screen .file-button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(15, 91, 58, 0.22);
  border-radius: 8px;
  background: #fff;
  font-size: 0.78rem;
}

.branding-screen input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.branding-screen .theme-preset-list {
  gap: 7px;
}

.branding-screen .theme-preset-list > label {
  min-height: 36px;
  padding: 0 10px;
  font-size: 0.67rem;
}

.branding-screen .swatch {
  width: 12px;
  height: 12px;
}

.welcome-message-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  min-height: 56px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.welcome-message-box input {
  width: 100%;
  min-height: 32px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.3;
}

.welcome-message-box span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
}

.branding-screen .branding-split {
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}

.branding-screen .branding-section-list {
  display: grid;
  gap: 9px;
}

.branding-inline-field {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
}

.branding-inline-icon svg,
.inline-edit-button svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.branding-inline-icon {
  color: #d89822;
}

.branding-inline-icon svg {
  width: 28px;
  height: 28px;
}

.branding-inline-field input[type="text"] {
  min-width: 0;
  min-height: 36px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 900;
}

.branding-prize-card .branding-inline-field {
  grid-template-columns: 30px minmax(0, 1fr);
}

.branding-prize-card .branding-inline-input {
  min-width: 0;
}

.branding-prize-card .branding-inline-input {
  display: grid;
  gap: 5px;
}

.branding-prize-card .branding-inline-field input[type="text"],
.branding-sponsor-fields input[type="text"],
.branding-sponsor-fields input[type="url"] {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  font-size: 0.82rem;
  box-shadow: inset 0 1px 0 rgba(31, 25, 18, 0.04);
}

.branding-prize-card .branding-inline-field input[type="text"] {
  min-height: 46px;
  font-size: 0.92rem;
}

.branding-prize-card .branding-inline-field input[type="text"]:focus,
.branding-sponsor-fields input[type="text"]:focus,
.branding-sponsor-fields input[type="url"]:focus {
  border-color: rgba(15, 91, 58, 0.48);
  outline: 3px solid rgba(15, 91, 58, 0.12);
}

.branding-sponsor-fields {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 9px;
}

.branding-host-fields {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.branding-host-icon {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.branding-host-icon .host-icon {
  width: 52px;
  height: 52px;
}

.branding-host-icon .host-icon img {
  object-fit: cover;
}

.branding-host-icon .file-button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.72rem;
}

.branding-host-inputs {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.branding-host-inputs input[type="text"],
.branding-host-inputs input[type="url"] {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 850;
}

.branding-host-inputs input[type="text"]:focus,
.branding-host-inputs input[type="url"]:focus {
  border-color: rgba(15, 91, 58, 0.48);
  outline: 3px solid rgba(15, 91, 58, 0.12);
}

.branding-card-switch {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  min-height: 24px;
  padding: 0 8px 0 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.branding-card-switch input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.branding-card-switch span {
  position: relative;
  display: block;
  width: 24px;
  height: 14px;
  border-radius: 999px;
  background: #b8b8b8;
}

.branding-card-switch span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(13, 13, 13, 0.18);
}

.branding-card-switch.is-on {
  border-color: rgba(15, 91, 58, 0.2);
  color: var(--green);
  background: var(--green-soft);
}

.branding-card-switch.is-on span {
  background: var(--green);
}

.branding-card-switch.is-on span::after {
  transform: translateX(10px);
}

.sponsor-inline-field {
  grid-template-columns: minmax(0, 1fr) 28px;
}

.sponsor-inline-field input[type="text"] {
  color: var(--green);
  font-size: 1rem;
}

.inline-edit-button {
  display: grid;
  place-items: center;
  color: var(--muted);
  cursor: pointer;
}

.inline-edit-button svg {
  width: 21px;
  height: 21px;
}

.branding-screen .branding-toggle-list {
  padding: 0 12px;
}

.branding-screen .branding-toggle-row {
  grid-template-columns: 34px minmax(0, 1fr) 48px;
  min-height: 54px;
  padding: 7px 0;
}

.branding-screen .branding-toggle-row strong {
  font-size: 0.8rem;
}

.branding-screen .branding-toggle-row span {
  font-size: 0.68rem;
}

.branding-screen .toggle-icon {
  width: 30px;
  height: 30px;
}

.branding-screen .toggle-control {
  width: 46px;
  height: 28px;
}

.branding-screen .toggle-control::after {
  width: 22px;
  height: 22px;
}

.branding-screen .toggle-control.is-on::after {
  transform: translateX(18px);
}

.branding-screen .branding-save-button {
  min-height: 56px;
  margin: 7px 0 0;
  border-radius: 8px;
}

.branding-screen .branding-save-bar .branding-save-button {
  margin: 0 auto;
}

.prize-rewards-screen .prize-rewards-row-list {
  display: grid;
  gap: 8px;
}

.prize-rewards-screen .prize-reward-row {
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
}

.prize-rewards-screen .prize-reward-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.prize-rewards-screen .prize-reward-row input[type="text"] {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 850;
}

.prize-rewards-screen .prize-reward-row input[type="text"]::placeholder {
  color: rgba(96, 90, 82, 0.34);
  font-weight: 700;
}

.prize-rewards-screen .prize-reward-row input[type="text"]::-webkit-input-placeholder {
  color: rgba(96, 90, 82, 0.34);
  font-weight: 700;
}

.prize-rewards-screen .prize-reward-row input[type="text"]:focus {
  border-color: rgba(15, 91, 58, 0.48);
  outline: 3px solid rgba(15, 91, 58, 0.12);
}

.prize-rewards-screen .prize-inline-icon {
  color: #d89822;
}

.scoring-rules-screen {
  background: #fff;
}

.scoring-rules-form {
  display: grid;
  gap: 9px;
  padding: 4px 0 80px;
}

.scoring-rules-heading {
  display: grid;
  gap: 6px;
  padding: 8px 12px 4px;
}

.scoring-rules-heading h1 {
  margin: 0;
  color: var(--green);
  font-size: 1.24rem;
  line-height: 1.05;
}

.scoring-rules-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.3;
}

.scoring-game-rule-card {
  gap: 9px;
  padding: 11px 12px;
}

.scoring-choice-list {
  gap: 8px;
}

.scoring-choice-list > label {
  min-height: 36px;
  padding: 0 10px;
  font-size: 0.67rem;
}

.scoring-rules-section-heading {
  padding-top: 12px;
}

.scoring-rules-heading h2 {
  margin: 0;
  color: var(--green);
  font-size: 1.24rem;
  line-height: 1.05;
}

.scoring-rules-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.scoring-rule-groups {
  display: grid;
  gap: 9px;
}

.scoring-rules-screen .home-card {
  margin-top: 0;
  border-color: rgba(217, 217, 217, 0.86);
  box-shadow: 0 5px 14px rgba(31, 25, 18, 0.035);
}

.scoring-rules-card {
  padding: 0;
  overflow: hidden;
}

.scoring-rules-card summary {
  list-style: none;
}

.scoring-rules-card summary::-webkit-details-marker {
  display: none;
}

.scoring-rules-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 20px;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 11px 12px;
  cursor: pointer;
}

.scoring-rules-summary strong {
  display: flex;
  min-width: 0;
  gap: 7px;
  color: var(--green);
  font-size: 0.92rem;
  line-height: 1.1;
}

.scoring-rules-summary strong span {
  flex: 0 0 auto;
}

.scoring-rules-summary > span {
  color: var(--muted);
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.scoring-rules-chevron {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scoring-rules-card:not([open]) .scoring-rules-chevron {
  stroke: var(--ink);
  transform: rotate(180deg);
}

.scoring-rule-list {
  display: grid;
  padding: 0 12px;
}

.scoring-rule-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
}

.scoring-rule-row:first-child {
  border-top: 0;
}

.scoring-rule-input {
  display: grid;
  gap: 4px;
}

.scoring-rule-input input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border-color: var(--line-strong);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(31, 25, 18, 0.04);
}

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

.scoring-rule-input input[type="number"] {
  appearance: textfield;
}

.scoring-rules-form[data-editable="false"] .scoring-rule-row {
  color: #777;
}

.scoring-rules-form[data-editable="false"] .scoring-rule-input input:disabled {
  border-color: #d3d3d3;
  color: #6f6f6f;
  background: #f1f1f1;
  box-shadow: none;
  opacity: 1;
  -webkit-text-fill-color: #6f6f6f;
}

.scoring-rules-footnote {
  margin: 0;
  padding: 11px 12px 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.scoring-rules-total {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 12px;
}

.scoring-rules-total > div > strong,
.scoring-rules-total > div > span {
  display: block;
}

.scoring-rules-total > div > strong {
  font-size: 0.92rem;
  line-height: 1.1;
}

.scoring-rules-total > div > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.scoring-rules-save-button {
  min-height: 56px;
  margin: 0 auto;
  border-radius: 8px;
  font-size: 1rem;
}

.admin-group {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 25, 18, 0.04);
  overflow: hidden;
}

.admin-screen {
  padding-bottom: calc(92px + var(--safe-bottom));
}

.admin-screen .screen-heading {
  margin: 0;
}

.admin-accordion-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 20px;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 11px 12px;
  list-style: none;
  cursor: pointer;
}

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

.admin-screen .admin-group h2 {
  display: flex;
  min-width: 0;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: none;
}

.admin-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(15, 91, 58, 0.08);
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-count-pill.is-neutral {
  color: var(--muted);
  background: rgba(13, 13, 13, 0.055);
}

.admin-accordion-chevron {
  width: 20px;
  height: 20px;
  justify-self: end;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.16s ease;
}

.admin-accordion:not([open]) .admin-accordion-chevron {
  stroke: var(--ink);
  transform: rotate(180deg);
}

.admin-list {
  display: grid;
  gap: 0;
  margin: 0 14px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.admin-list .empty-state {
  padding: 18px;
}

.admin-request-list {
  margin-top: 0;
}

.admin-limit-note {
  margin: 0 14px 10px;
  padding: 10px 12px;
  border: 1px solid rgba(245, 132, 0, 0.34);
  border-radius: 8px;
  color: #8a5300;
  background: rgba(245, 132, 0, 0.08);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.admin-row:first-child {
  border-top: 0;
}

.admin-row-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-row strong {
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.admin-row-copy > span {
  color: #393939;
  font-size: 0.86rem;
  font-weight: 500;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.admin-actions form,
.admin-row form {
  margin: 0;
}

.button.admin-action-button {
  min-width: 0;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(15, 91, 58, 0.22);
  border-radius: 8px;
  color: var(--green);
  background: #fff;
  box-shadow: none;
  font-size: 0.78rem;
}

.button.admin-action-button.is-danger {
  border-color: rgba(227, 6, 19, 0.44);
  color: var(--red);
  background: #fff;
}

.button.admin-action-button:hover,
.button.admin-action-button:focus-visible {
  background: #fff;
}

.button.admin-action-button.is-danger:hover,
.button.admin-action-button.is-danger:focus-visible {
  background: #fff;
}

.button.admin-action-button:disabled,
.button.admin-action-button:disabled:hover,
.button.admin-action-button:disabled:focus-visible {
  border-color: var(--line);
  color: var(--muted);
  background: #f7f7f7;
  cursor: not-allowed;
  opacity: 0.78;
}

.admin-role-pill {
  margin-left: 6px;
}

.admin-predicted-pill {
  min-width: 24px;
  margin-left: 6px;
  padding: 0 6px;
  color: var(--green);
  background: rgba(15, 91, 58, 0.08);
  vertical-align: middle;
}

.admin-predicted-pill svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-protected-pill {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
}

.empty-state {
  margin: 0;
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
}

.admin-protection-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 56px;
  margin-top: 12px;
  padding: 12px 14px;
  background: rgba(15, 91, 58, 0.06);
}

.scoring-settings-banner {
  grid-template-columns: 38px minmax(0, 1fr) auto;
  min-height: 76px;
  border-color: rgba(15, 91, 58, 0.22);
}

.scoring-settings-banner-plan {
  border-color: rgba(245, 132, 0, 0.34);
  background:
    linear-gradient(90deg, rgba(245, 132, 0, 0.12), rgba(245, 132, 0, 0.035)),
    #fff;
}

.scoring-settings-banner-admin {
  background:
    linear-gradient(90deg, rgba(15, 91, 58, 0.08), rgba(15, 91, 58, 0.025)),
    #fff;
}

.admin-protection-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}

.scoring-settings-banner-icon {
  width: 38px;
  height: 38px;
}

.scoring-settings-banner-plan .scoring-settings-banner-icon {
  color: #fff;
  background: linear-gradient(135deg, #f58400, #ff9800);
  box-shadow: 0 8px 16px rgba(245, 132, 0, 0.22);
}

.admin-protection-card .admin-protection-icon {
  color: #fff;
}

.admin-protection-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-protection-card div {
  display: grid;
  gap: 2px;
}

.admin-protection-card strong {
  font-size: 0.88rem;
  line-height: 1.15;
}

.admin-protection-card div span {
  color: #393939;
  font-size: 0.78rem;
  line-height: 1.25;
}

.scoring-settings-upgrade-button {
  justify-self: end;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #f58400, #ff9800);
  font-size: 0.78rem;
  box-shadow: 0 10px 18px rgba(245, 132, 0, 0.2);
}

@media (max-width: 640px) {

  .scoring-settings-banner {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .scoring-settings-upgrade-button {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .match-card {
    --match-card-body-row: clamp(44px, 9.4vw, 58px);
    --match-scorebox-height: clamp(36px, 8.2vw, 48px);
    --match-card-footer-row: clamp(30px, 6.1vw, 38px);
    grid-template-rows: 24px var(--match-card-body-row) var(--match-card-footer-row);
    height: calc(24px + var(--match-card-body-row) + var(--match-card-footer-row));
    min-height: calc(24px + var(--match-card-body-row) + var(--match-card-footer-row));
  }

  .match-card-top {
    grid-template-columns: minmax(0, 1fr) clamp(136px, 32vw, 188px) minmax(0, 1fr);
    padding: 0 clamp(8px, 2.3vw, 14px);
  }

  .match-card-body {
    grid-template-columns: minmax(0, 1fr) clamp(136px, 32vw, 188px) minmax(0, 1fr);
    padding: 0 clamp(8px, 2.3vw, 14px);
  }

  .match-card-kickoff {
    gap: 4px;
    max-width: none;
  }

  .match-card-kickoff,
  .match-card-phase,
  .match-card-badge,
  .match-card-venue {
    font-size: clamp(0.64rem, 2vw, 0.8125rem);
    padding: 0 0 2px 0;
  }

  .match-card-badge {
    min-width: clamp(68px, 13vw, 80px);
    min-height: clamp(16px, 3.2vw, 20px);
    padding: 0 clamp(5px, 1.2vw, 6px);
    font-size: clamp(0.58rem, 1.8vw, 0.75rem);
  }

  .match-card-team {
    gap: clamp(7px, 2vw, 17px);
    height: clamp(22px, 5.6vw, 34px);
  }

  .match-card-team .team-flag {
    width: clamp(32px, 8.2vw, 50px);
    height: clamp(22px, 5.6vw, 34px);
  }

  .match-card-team strong {
    font-size: clamp(0.95rem, 3.55vw, 1.375rem);
  }

  .match-scorebox {
    width: clamp(136px, 32vw, 188px);
    height: var(--match-scorebox-height);
    border-radius: 8px;
  }

  .match-scorebox input,
  .match-scorebox.is-disabled strong,
  .match-scorebox.is-score strong {
    font-size: clamp(1.25rem, 4.8vw, 1.875rem);
  }

  .match-scorebox.is-empty::before,
  .match-scorebox.is-empty::after {
    font-size: clamp(1.25rem, 4.8vw, 1.875rem);
  }

  .match-card-footer {
    height: var(--match-card-footer-row);
    font-size: clamp(0.66rem, 2.55vw, 0.8125rem);
  }

  .match-card-center strong,
  .match-card-status strong {
    font-size: clamp(0.66rem, 2.55vw, 0.8125rem);
  }

  .match-card-status .match-card-mark.is-dot {
    width: clamp(10px, 2.4vw, 12px);
    height: clamp(10px, 2.4vw, 12px);
    transform: translateY(-1px);
  }

  .match-card-meta {
    gap: clamp(5px, 1.2vw, 7px);
    overflow: hidden;
  }

  .match-card-compact {
    grid-template-rows: 24px 42px;
    height: 66px;
    min-height: 66px;
  }

  .match-card-compact .match-card-top {
    grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr);
    padding: 2px 9px;
  }

  .match-card-compact .match-card-body {
    grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr);
    padding: 0 9px;
  }

  .match-card-compact .match-card-kickoff,
  .match-card-compact .match-card-phase,
  .match-card-compact .match-card-badge,
  .match-card-compact .match-card-venue {
    font-size: 10px;
  }

  .match-card-compact .match-card-badge {
    min-height: 15px;
    padding: 0 6px;
    margin-top: 2px;
  }

  .match-card-compact .match-card-team {
    gap: 7px;
    height: 24px;
  }

  .match-card-compact .match-card-team .team-flag {
    width: 32px;
    height: 22px;
  }

  .match-card-compact .match-card-team strong {
    font-size: 15px;
  }

  .match-card-compact .match-scorebox {
    width: 72px;
    height: 28px;
  }

  .match-card-compact .match-scorebox.is-score strong,
  .match-card-compact .match-scorebox input {
    font-size: 16px;
  }

  .match-card-compact .match-card-footer {
    height: 24px;
    font-size: 10px;
  }

  .match-card-compact .match-card-center strong,
  .match-card-compact .match-card-status strong {
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .scoring-rules-heading h1 {
    font-size: 1.12rem;
  }

  .scoring-rules-summary {
    grid-template-columns: minmax(0, 1fr) 20px;
  }

  .scoring-rules-summary > span {
    grid-column: 1 / -1;
    grid-row: 2;
    white-space: normal;
  }

  .scoring-rule-list {
    padding-right: 10px;
    padding-left: 10px;
  }

  .scoring-rule-row {
    grid-template-columns: minmax(0, 1fr) 82px;
  }

  .branding-sponsor-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .branding-host-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .compact-match {
    grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr) 45px;
    gap: 6px;
  }

  .compact-score {
    grid-template-columns: 25px auto 25px;
    gap: 1px 4px;
  }

  .compact-score b {
    width: 25px;
    height: 24px;
  }

  .compact-score small {
    font-size: 0.46rem;
  }

  .compact-match time {
    text-align: right;
  }

  .qr-panel,
  .profile-card,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .profile-points {
    justify-items: start;
  }

}

@media (max-width: 980px) {
  .landing-body .site-header {
    min-height: var(--app-topbar-height);
    padding: calc(7px + var(--safe-top)) 24px 7px;
  }

  .landing-body .site-header nav > a:not(.landing-menu-link) {
    display: none;
  }

  .landing-topbar-nav {
    gap: 10px 16px;
  }

  .landing-hero {
    --landing-hero-copy-width: min(54%, 560px);
    --landing-hero-fade: linear-gradient(90deg, #fff 0%, #fff 42%, rgba(255, 255, 255, 0.98) 52%, rgba(255, 255, 255, 0.76) 66%, rgba(255, 255, 255, 0.18) 84%, rgba(255, 255, 255, 0) 100%);
    min-height: 220px;
  }

  .landing-hero-copy {
    padding: 20px 24px 56px 24px;
  }

  .landing-hero h1 {
    font-size: clamp(1.85rem, 4.7vw, 3.25rem);
  }

  .landing-hero-media {
    min-height: 0;
  }

  .landing-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px 20px 14px;
  }

  .landing-how,
  .landing-screenshots,
  .landing-features {
    padding-right: 28px;
    padding-left: 28px;
  }

  .landing-screenshots,
  .landing-features {
    margin-right: 28px;
    margin-left: 28px;
  }

  .landing-phone-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .landing-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 0;
  }

  .landing-feature-grid article:nth-child(4n + 1) {
    border-left: 0;
  }

  .landing-promo {
    grid-template-columns: 108px minmax(0, 1fr);
    margin-right: 28px;
    margin-left: 28px;
    padding: 18px 20px;
  }

  .landing-promo-link {
    grid-column: 2;
    width: fit-content;
  }

  .claim-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 34px 28px 28px;
  }

  .claim-hero h1 {
    font-size: clamp(2.15rem, 7vw, 3.6rem);
  }

  .claim-hero-visual {
    min-height: 430px;
  }

  .claim-hero-phone-stack {
    min-height: 430px;
  }

  .claim-hero-phone-primary {
    right: 22%;
  }

  .claim-hero-phone-secondary {
    left: 20%;
  }

  .claim-link-card {
    right: 50%;
    width: min(72%, 380px);
    transform: translateX(50%);
  }

  .claim-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .claim-phone-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .landing-footer {
    gap: 26px;
    margin: auto calc(-1 * var(--landing-shell-gutter)) 0;
    padding: 28px 28px 24px;
  }
}

@media (min-width: 720px) {
  .landing-shell {
    width: min(100%, 980px);
  }

  .landing-hero {
    --landing-hero-copy-width: min(50%, 560px);
    --landing-hero-fade: linear-gradient(90deg, #fff 0%, #fff 38%, rgba(255, 255, 255, 0.98) 49%, rgba(255, 255, 255, 0.7) 63%, rgba(255, 255, 255, 0.12) 82%, rgba(255, 255, 255, 0) 100%);
    min-height: 220px;
  }

  .landing-hero-copy {
    padding: 20px 24px 56px 34px;
  }

  .landing-hero h1 {
    font-size: clamp(2.15rem, 5vw, 3.25rem);
  }

  .landing-hero-media {
    min-height: 0;
  }

  .landing-action-grid {
    align-items: stretch;
    gap: 24px;
  }

  .landing-card {
    padding: 18px;
  }

  .landing-card-head {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .landing-card-icon {
    width: 44px;
    height: 44px;
  }

}

@media (min-width: 981px) {
  .landing-shell {
    width: min(100%, 1220px);
  }

  .landing-hero {
    --landing-hero-copy-width: min(48%, 580px);
    --landing-hero-fade: linear-gradient(90deg, #fff 0%, #fff 36%, rgba(255, 255, 255, 0.98) 47%, rgba(255, 255, 255, 0.66) 62%, rgba(255, 255, 255, 0.08) 80%, rgba(255, 255, 255, 0) 100%);
    min-height: 220px;
  }

  .landing-hero-copy {
    padding: 20px 24px 56px 24px;
  }

  .landing-hero h1 {
    font-size: clamp(3rem, 4.3vw, 4.2rem);
  }

  .landing-hero-media {
    min-height: 0;
  }

  .landing-action-grid {
    gap: 28px;
    padding: 28px 52px 18px;
  }

  .landing-card {
    padding: 24px;
  }
}

@media (min-width: 1080px) {
  .join-form-grid {
    grid-template-columns: minmax(360px, 0.88fr) minmax(520px, 1.12fr);
    align-items: start;
  }
}

@media (max-width: 680px) {
  .landing-shell {
    --landing-shell-gutter: 4px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .landing-topbar {
    margin: 0 -4px;
  }

  .landing-body .site-header {
    min-height: var(--app-topbar-height);
    margin-top: 18px;
    padding: calc(7px + var(--safe-top)) 18px 7px;
    border-radius: 12px 12px 0 0;
  }

  .landing-body main {
    margin: 0;
  }

  .landing-body .brand-mark {
    width: 34px;
    height: 34px;
  }

  .landing-body .brand-name {
    font-size: 0.78rem;
  }

  .landing-hero {
    --landing-hero-copy-width: 72%;
    --landing-hero-fade: linear-gradient(90deg, #fff 0%, #fff 43%, rgba(255, 255, 255, 0.96) 52%, rgba(255, 255, 255, 0.68) 61%, rgba(255, 255, 255, 0.18) 72%, rgba(255, 255, 255, 0) 84%);
    min-height: 168px;
    margin: 0;
  }

  .landing-hero::after {
    background:
      var(--landing-hero-fade),
      linear-gradient(135deg, rgba(13, 13, 13, 0.03) 0 11%, transparent 11.2% 100%),
      linear-gradient(315deg, rgba(15, 91, 58, 0.045) 0 9%, transparent 9.2% 100%);
  }

  .landing-hero-copy {
    gap: 8px;
    padding: 12px 16px 14px 18px;
  }

  .landing-hero h1 {
    font-size: clamp(1.46rem, 6.8vw, 1.58rem);
    line-height: 0.96;
  }

  .landing-title-break {
    display: block;
  }

  .landing-subtitle-break {
    display: block;
  }

  .landing-hero p {
    max-width: 270px;
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .landing-hero-media {
    position: absolute;
    inset: 0;
    min-height: 0;
  }

  .landing-hero-media::before {
    background-position: right bottom;
    background-size: auto 94%;
    opacity: 0.98;
    filter: saturate(1.04) contrast(1.03);
  }

  .landing-action-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 10px 8px;
  }

  .claim-hero {
    padding: 24px 18px 18px;
  }

  .claim-hero h1 {
    font-size: clamp(1.95rem, 10vw, 2.6rem);
  }

  .claim-hero p {
    font-size: 0.96rem;
  }

  .claim-hero-visual {
    min-height: 356px;
  }

  .claim-hero-phone-stack {
    min-height: 356px;
  }

  .claim-hero-phone img {
    width: 164px;
    border-width: 6px;
    border-radius: 22px;
  }

  .claim-hero-phone-primary {
    top: 0;
    right: 7%;
  }

  .claim-hero-phone-secondary {
    top: 58px;
    left: 7%;
  }

  .claim-link-card {
    right: 50%;
    bottom: 0;
    width: min(94%, 340px);
    padding: 14px;
    transform: translateX(50%);
  }

  .claim-actions {
    align-items: stretch;
  }

  .claim-primary-cta,
  .claim-price-chip {
    justify-content: center;
    width: 100%;
  }

  .claim-benefits,
  .claim-screenshots {
    margin-right: 10px;
    margin-left: 10px;
  }

  .claim-benefits,
  .claim-phone-grid {
    grid-template-columns: 1fr;
  }

  .claim-phone-frame img {
    max-width: 290px;
    margin: 0 auto;
  }

  .landing-card {
    width: auto;
    max-width: none;
    gap: 10px;
    padding: 14px;
  }

  .landing-card-head {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }

  .landing-card-icon {
    width: 36px;
    height: 36px;
  }

  .landing-card-icon svg {
    width: 21px;
    height: 21px;
  }

  .landing-card h2 {
    font-size: 1rem;
  }

  .landing-card p {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .landing-cta,
  .landing-create-form select,
  .landing-join-form input {
    min-height: 44px;
  }

  .landing-create-form select,
  .landing-join-form input {
    font-size: 0.84rem;
  }

  .landing-create-form select {
    padding: 0 42px 0 10px;
  }

  .landing-join-form input {
    padding: 0 136px 0 10px;
  }

  .create-details-card .create-field-shell input {
    padding-right: 150px;
  }

  .landing-field-status,
  .create-field-status {
    right: 10px;
    max-width: min(58%, 170px);
    font-size: 0.68rem;
  }

  .landing-cta {
    font-size: 0.88rem;
  }

  .landing-pill {
    padding: 5px 7px;
    font-size: 0.72rem !important;
  }

  .landing-how {
    padding: 24px 18px 26px;
  }

  .landing-how ol {
    grid-template-columns: 1fr;
    gap: 22px;
    width: min(100%, 520px);
    margin: 22px auto 0;
    text-align: left;
  }

  .landing-how li {
    grid-template-columns: 30px 52px minmax(0, 1fr);
    grid-template-rows: auto auto;
    justify-items: start;
    align-items: center;
    gap: 2px 14px;
  }

  .landing-how li:not(:last-child)::after {
    display: none;
  }

  .landing-how li > span {
    grid-row: 1 / 3;
    align-self: center;
    justify-self: center;
    width: 28px;
    height: 28px;
    margin-top: 0;
    font-size: 0.82rem;
  }

  .landing-how svg {
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    stroke-width: 1.9;
  }

  .landing-how h2 {
    font-size: 1.24rem;
  }

  .landing-how strong {
    font-size: 1rem;
    line-height: 1.1;
  }

  .landing-how p {
    max-width: none;
    font-size: 0.92rem;
    line-height: 1.25;
  }

  .landing-screenshots,
  .landing-features {
    margin: 0 18px;
    padding: 20px 0 22px;
  }

  .landing-phone-grid {
    grid-template-columns: 1fr;
  }

  .landing-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .landing-feature-grid article {
    min-height: 132px;
    border-top: 1px solid #e2e6ec;
    padding: 18px 12px;
  }

  .landing-feature-grid article:nth-child(odd) {
    border-left: 0;
  }

  .landing-feature-grid article:nth-child(1),
  .landing-feature-grid article:nth-child(2) {
    border-top: 0;
  }

  .landing-promo {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 10px;
    margin: 0 18px 22px;
    padding: 12px;
  }

  .landing-phone-preview {
    height: 104px;
  }

  .landing-phone-preview > div {
    width: 60px;
    height: 112px;
  }

  .landing-promo-link {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 46px;
    white-space: normal;
  }

  .landing-footer {
    padding: 22px 18px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .landing-footer-right {
    width: 100%;
    padding-top: 46px;
    justify-self: stretch;
  }

  .landing-footer-language {
    top: 22px;
    right: 18px;
  }

  .landing-footer nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    justify-self: stretch;
  }

  .legal-update-banner {
    margin: 10px 18px 16px;
    padding: 10px 14px;
    border-radius: 16px;
  }

  .legal-page-content {
    margin: 0 18px 24px;
  }

  .legal-page-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .legal-section {
    padding-top: 20px;
  }

  .overview-section-nav {
    align-items: stretch;
    margin: 22px 18px 22px;
  }

  .overview-section-links {
    flex-basis: 100%;
  }

  .overview-section-links a {
    flex: 1 1 140px;
  }

  .overview-language-switcher {
    flex: 1 1 auto;
    justify-content: center;
  }

  .overview-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .landing-body .site-header {
    padding: 0 14px;
  }

  .landing-hero h1 {
    font-size: 1.48rem;
  }

  .landing-hero-media {
    min-height: 0;
  }

  .landing-card {
    padding-right: 10px;
    padding-left: 10px;
  }

  .landing-card-head {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .landing-card-icon {
    width: 36px;
    height: 36px;
  }
}

@media (min-width: 720px) {
  .hero,
  .form-page,
  .pricing {
    padding: 36px 32px calc(78px + var(--safe-bottom));
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .create-shell {
    gap: 18px;
  }

  .create-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
    min-height: 390px;
  }

  .create-hero-copy {
    align-content: center;
    gap: 18px;
    padding: 42px 34px 38px 36px;
  }

  .create-hero h1 {
    max-width: 8ch;
    font-size: clamp(3rem, 4.7vw, 4.9rem);
  }

  .create-hero-media {
    min-height: 100%;
  }

  .create-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .create-step-column {
    display: contents;
  }

  .create-step-column-left > .create-card {
    grid-column: 1;
  }

  .create-step-column-right > .create-card {
    grid-column: 2;
  }

  .create-step-column-left > .create-card:nth-child(1) {
    grid-row: 1;
  }

  .create-step-column-left > .create-card:nth-child(2) {
    grid-row: 2;
  }

  .create-step-column-left > .create-card:nth-child(3) {
    grid-row: 3;
  }

  .create-step-column-right > .create-plan-card {
    grid-row: 1 / 3;
  }

  .create-step-column-right > .create-plan-action-card {
    grid-row: 3;
  }

  .create-card {
    padding: 26px;
    border-radius: 18px;
  }

  .create-details-card {
    gap: 11px;
  }

  .create-plan-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-content: stretch;
    justify-items: stretch;
  }

  .create-plan-card .create-plan-list {
    flex: 1 1 auto;
    align-content: space-evenly;
    grid-auto-rows: auto;
    gap: clamp(16px, 2vw, 22px);
  }

  .create-plan-option {
    min-height: 132px;
    padding: 18px 18px;
    gap: 11px 18px;
  }

  .create-plan-option-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .create-plan-option-icon svg {
    width: 25px;
    height: 25px;
  }

  .create-plan-option-body,
  .create-plan-option-heading {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .create-plan-option-heading {
    gap: 12px;
  }

  .create-plan-option-title {
    font-size: 1.88rem;
  }

  .create-plan-option-copy {
    font-size: 0.84rem;
    line-height: 1.38;
  }

  .create-plan-option-price strong,
  .create-plan-option-price .create-plan-option-price-previous {
    font-size: clamp(1.38rem, 1.9vw, 1.72rem);
  }

  .create-plan-option-price span {
    font-size: 0.69rem;
  }

  .create-plan-option-cap {
    min-height: 31px;
    padding: 0 11px;
    font-size: 0.72rem;
  }

  .create-custom-code-panel {
    gap: 10px;
    margin-top: 6px;
    padding: 14px 15px;
  }

  .create-custom-code-panel input {
    min-height: 50px;
  }

  .create-submit {
    min-height: 74px;
    font-size: 1.1rem;
  }

  .hero h1,
  .pricing h1,
  .form-page h1 {
    font-size: 2.7rem;
  }

  .join-menu .code-form {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 8;
    width: min(90vw, 420px);
  }

  .code-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .app-shell {
    padding-top: 20px;
  }

  .app-topbar {
    border: 1px solid var(--line);
    border-radius: 8px;
    margin: 0 0 16px;
  }

  .screen-hero {
    margin: 0 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .match-hub .screen-hero {
    margin-bottom: 12px;
  }

  .match-tabs {
    margin: 0 0 10px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(31, 25, 18, 0.04);
    overflow: hidden;
  }

  .groups-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bracket-round-selector a {
    font-size: 0.78rem;
  }

  .home-hero {
    min-height: 220px;
  }

  .home-hero h2 {
    font-size: 2.2rem;
  }

  .compact-match {
    grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr) 96px;
  }

  .match-card-main {
    grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr);
  }

  .app-bottom-nav {
    right: 50%;
    left: auto;
    width: min(100%, 760px);
    transform: translateX(50%);
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
  }
}

@media (max-width: 900px) {
  .create-card.is-complete h2,
  .create-card.is-locked:not(.is-complete) h2 {
    padding-right: 42px;
  }

  .create-step-state {
    justify-content: center;
    width: 30px;
    min-height: 30px;
    padding: 0;
  }

  .create-step-state-label {
    display: none;
  }

  .create-step-state svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 719px) {
  .legal-index {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .legal-index-links a {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px 12px;
  }

  .legal-index-links small {
    grid-column: 2;
  }

  .create-hero {
    border-radius: 8px;
  }

  .create-hero-copy {
    padding: 18px 16px 16px;
  }

  .create-hero-media {
    min-height: 214px;
  }

  .create-submit {
    min-height: 66px;
  }
}

@media (max-width: 640px) {
  .create-shell {
    gap: 12px;
  }

  .create-hero-copy {
    gap: 12px;
  }

  .create-hero h1 {
    max-width: 10ch;
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 0.96;
  }

  .create-lede {
    max-width: 34ch;
    font-size: 0.94rem;
  }

  .create-pill {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .create-form-grid {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .join-form-stage {
    padding-right: 0;
    padding-left: 0;
  }

  .join-form-grid {
    gap: 12px;
  }

  .create-card {
    padding: 16px;
    border-radius: 12px;
  }

  .create-card-lock-note {
    margin-top: -4px;
    font-size: 0.7rem;
  }

  .create-card h2 {
    padding-right: 42px;
    font-size: 1.05rem;
  }

  .create-card.is-complete h2,
  .create-card.is-locked:not(.is-complete) h2 {
    padding-right: 42px;
  }

  .create-step-state {
    top: 13px;
    right: 13px;
    justify-content: center;
    width: 30px;
    min-height: 30px;
    padding: 0;
  }

  .create-step-state-label {
    display: none;
  }

  .create-step-state svg {
    width: 16px;
    height: 16px;
  }

  .create-details-card input,
  .create-details-card select {
    min-height: 52px;
    border-radius: 12px;
    padding: 0 12px;
    font-size: 0.94rem;
  }

  .create-competition-select-shell select {
    padding-right: 48px;
  }

  .create-competition-select-icon {
    right: 12px;
    width: 24px;
    height: 24px;
  }

  .create-competition-select-icon svg {
    width: 14px;
    height: 14px;
  }

  .create-plan-option {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "body price"
      "copy cap"
      "code code";
    column-gap: 12px;
    row-gap: 9px;
    min-height: 0;
    padding: 16px 13px;
  }

  .create-plan-option::before {
    width: 5px;
  }

  .create-plan-option-body {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .create-plan-option-heading {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
  }

  .create-plan-option-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .create-plan-option-icon svg {
    width: 21px;
    height: 21px;
  }

  .create-plan-option-title {
    font-size: 1.72rem;
  }

  .create-plan-option-copy {
    font-size: 0.76rem;
  }

  .create-plan-option-price span {
    font-size: 0.64rem;
  }

  .create-plan-option-price strong,
  .create-plan-option-price .create-plan-option-price-previous {
    font-size: 1.34rem;
  }

  .create-plan-option-cap {
    padding: 0 9px;
    font-size: 0.69rem;
  }

  .create-payment-banner {
    padding: 14px;
    border-radius: 16px;
  }

  .create-payment-banner-meta {
    gap: 6px;
  }

  .create-payment-banner-chip {
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .create-submit {
    min-height: 58px;
    font-size: 0.98rem;
  }

  .join-scoring-card-grid {
    grid-template-columns: 1fr;
  }

  .join-score-card {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .create-hero-copy {
    padding-left: 12px;
    padding-right: 12px;
  }

  .create-card {
    padding: 16px;
  }

  .create-plan-option {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "body price"
      "copy cap"
      "code code";
    column-gap: 10px;
    row-gap: 9px;
    min-height: 0;
  }

  .create-plan-option-body {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .create-plan-option-heading {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 7px;
  }

  .create-plan-option-icon {
    width: 36px;
    height: 36px;
  }

  .create-plan-option-price {
    justify-items: start;
    text-align: left;
  }

  .create-plan-option-cap {
    display: none;
  }

  .create-payment-banner {
    gap: 12px;
  }

  .create-payment-banner-copy {
    gap: 6px;
  }

  .create-payment-banner-title {
    font-size: 0.88rem;
  }

  .create-payment-banner-detail {
    font-size: 0.8rem;
  }

}

.invite-screen {
  background: #fff;
}

.invite-layout {
  display: grid;
  gap: 9px;
  padding: 4px 0 0;
}

.invite-screen .home-card {
  margin-top: 0;
  border-color: rgba(217, 217, 217, 0.86);
  box-shadow: 0 5px 14px rgba(31, 25, 18, 0.035);
}

.invite-section-heading {
  display: grid;
  gap: 5px;
  margin: 0 0 10px;
}

.invite-section-heading h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: 1.25rem;
  line-height: 1.05;
}

.invite-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.invite-hero-heading {
  display: grid;
  gap: 5px;
}

.invite-hero-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 2px;
  border: 1px solid rgba(15, 91, 58, 0.16);
  border-radius: 8px;
  color: var(--green);
  background: #fff;
  font-size: 0.92rem;
  font-weight: 950;
  overflow: hidden;
}

.invite-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.invite-social-card {
  position: relative;
  display: grid;
  align-content: start;
  height: clamp(292px, 44vw, 376px);
  min-height: clamp(292px, 44vw, 376px);
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background-color: #fffaf3;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 32%, rgba(255, 255, 255, 0.54) 56%, rgba(255, 255, 255, 0.08) 100%),
    var(--invite-social-wide-image, var(--invite-social-image));
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  box-shadow: 0 14px 30px rgba(31, 25, 18, 0.08);
  overflow: hidden;
}

.invite-social-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(15, 91, 58, 0.08), transparent);
}

.invite-social-lockup,
.invite-social-copy {
  position: relative;
  z-index: 1;
}

.invite-social-lockup {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: min(100%, 370px);
  gap: 11px;
}

.invite-social-brand-mark {
  width: 42px;
  height: 42px;
}

.invite-social-brand-name {
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-social-copy {
  display: grid;
  justify-items: start;
  width: min(58%, 480px);
  min-width: 0;
  margin-top: clamp(32px, 5vw, 46px);
}

.invite-social-kicker {
  min-width: 0;
  margin: 0 0 14px;
  padding: 8px 20px;
  border: 2px solid rgba(194, 137, 25, 0.84);
  border-radius: 999px;
  color: #ad7616;
  background: rgba(255, 255, 255, 0.74);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.invite-social-copy h1 {
  max-width: 100%;
  margin: 0;
  color: var(--green-dark);
  font-family: var(--font-brand);
  font-size: clamp(2.75rem, 7vw, 3.35rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.invite-social-copy p:not(.invite-social-kicker) {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.36;
}

.invite-screen .branding-preview-copy {
  max-width: 58%;
  margin-top: 18px;
}

.invite-screen .branding-preview-copy h1 {
  font-size: 1.04rem;
}

.invite-screen .branding-preview-copy p {
  margin-top: 6px;
  font-size: 0.66rem;
  line-height: 1.3;
}

.invite-link-card,
.invite-qr-card,
.invite-message-card {
  gap: 9px;
  padding: 11px 12px;
}

.invite-screen .share-panel h2,
.invite-qr-card h2,
.invite-message-card h2,
.invite-meta-card h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.invite-copy-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(31, 25, 18, 0.03);
  overflow: hidden;
}

.invite-copy-field input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 400;
  text-overflow: ellipsis;
}

.invite-copy-field input:focus {
  outline: 0;
}

.invite-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  color: var(--green);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.invite-copy-button svg,
.invite-whatsapp-button svg,
.invite-outline-button svg {
  display: block;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.invite-whatsapp-button {
  gap: 9px;
  min-height: 56px;
  margin: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #0c7a4b, var(--green-dark));
}

.invite-whatsapp-button svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  stroke: none;
  stroke-width: 1.9;
}

.invite-share-grid {
  --invite-qr-size: 188px;
  --invite-card-footer-height: 22px;
  display: grid;
  grid-template-columns: minmax(160px, 224px) minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.invite-share-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.invite-qr-card,
.invite-message-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto var(--invite-qr-size) var(--invite-card-footer-height);
  align-content: start;
  min-width: 0;
}

.invite-qr-card .qr-code {
  position: relative;
  width: min(100%, var(--invite-qr-size));
  justify-self: center;
  padding: 9px;
  border-color: var(--line-strong);
}

.invite-qr-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 8px;
  color: var(--green);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 950;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.invite-qr-mark img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.invite-qr-card p {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-align: center;
}

.suggested-message-box {
  display: grid;
  gap: 9px;
  height: 100%;
  padding: 11px;
  border: 1px solid rgba(15, 91, 58, 0.14);
  border-radius: 8px;
  background: rgba(15, 91, 58, 0.06);
}

.invite-message-input {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.42;
  outline: 0;
  overflow: auto;
}

.invite-message-input p {
  margin: 0 0 12px;
}

.invite-message-input p:last-child {
  margin-bottom: 0;
}

.invite-message-input strong {
  font-weight: 800;
}

.invite-copy-message {
  align-self: center;
  justify-self: end;
  height: var(--invite-card-footer-height);
  min-height: var(--invite-card-footer-height);
  padding-right: 6px;
}

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

.invite-meta-card-single {
  grid-template-columns: minmax(0, 1fr);
}

.invite-meta-block {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 0 14px;
}

.invite-meta-block + .invite-meta-block {
  border-left: 1px solid var(--line);
}

.invite-meta-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.invite-meta-row .host-icon,
.invite-sponsor-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 91, 58, 0.16);
  border-radius: 8px;
  color: var(--green);
  background: #fff;
  overflow: hidden;
}

.invite-meta-row .host-icon img,
.invite-sponsor-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.invite-meta-row .host-icon svg,
.invite-sponsor-mark svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.invite-meta-row strong,
.invite-meta-row span {
  display: block;
  min-width: 0;
}

.invite-meta-row strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.14;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-meta-row strong a {
  text-decoration: none;
}

.invite-meta-row span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.25;
}

.invite-sponsor-block .invite-sponsor-mark {
  color: var(--green);
}

.invite-action-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 9px;
}

.invite-outline-button {
  gap: 8px;
  min-height: 54px;
  padding: 0 10px;
  border: 1px solid rgba(15, 91, 58, 0.34);
  color: var(--green);
  background: #fff;
  box-shadow: none;
}

.invite-outline-button span {
  min-width: 0;
  line-height: 1.1;
  text-align: center;
}

@media (max-width: 620px) {
  .invite-social-card {
    height: 296px;
    min-height: 296px;
    padding: 20px 21px;
  }

  .invite-social-brand-mark {
    width: 34px;
    height: 34px;
  }

  .invite-social-brand-name {
    font-size: 0.82rem;
  }

  .invite-social-copy {
    width: min(60%, 286px);
    margin-top: 30px;
  }

  .invite-social-kicker {
    margin-bottom: 12px;
    padding: 7px 15px;
    font-size: 0.62rem;
  }

  .invite-social-copy h1 {
    font-size: 2.16rem;
  }

  .invite-social-copy p:not(.invite-social-kicker) {
    margin-top: 11px;
    font-size: 0.84rem;
  }
}

@media (max-width: 520px) {
  .invite-social-card {
    background-image:
      linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.95) 42%, rgba(255, 255, 255, 0.56) 70%, rgba(255, 255, 255, 0.18) 100%),
      var(--invite-social-image);
    background-position: 56% center;
    background-size: cover;
  }
}

@media (max-width: 420px) {
  .invite-social-card {
    height: 286px;
    min-height: 286px;
    padding: 16px 17px;
    border-radius: 16px;
  }

  .invite-social-lockup {
    gap: 8px;
  }

  .invite-social-brand-mark {
    width: 32px;
    height: 32px;
  }

  .invite-social-brand-name {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
  }

  .invite-social-copy {
    width: min(62%, 252px);
    margin-top: 28px;
  }

  .invite-social-kicker {
    margin-bottom: 11px;
    padding: 7px 13px;
    border-width: 1.5px;
    font-size: 0.58rem;
  }

  .invite-social-copy h1 {
    font-size: 2rem;
  }

  .invite-social-copy p:not(.invite-social-kicker) {
    margin-top: 10px;
    font-size: 0.79rem;
    line-height: 1.32;
  }

  .invite-share-grid {
    --invite-qr-size: 132px;
    grid-template-columns: minmax(154px, 0.82fr) minmax(0, 1.18fr);
    gap: 8px;
  }

  .invite-qr-card,
  .invite-message-card {
    padding: 10px;
  }
}

@media (max-width: 360px) {
  .invite-share-grid,
  .invite-meta-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .invite-meta-block + .invite-meta-block {
    padding-top: 12px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .invite-action-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 720px) {
  .invite-layout {
    padding-top: 8px;
  }
}

.pricing-contact-promo {
  grid-template-columns: 82px minmax(0, 1fr) auto;
}

.pricing-contact-promo .landing-promo-link {
  grid-column: auto;
}

.pricing-star-preview {
  height: 82px;
}

.pricing-star-preview > div {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 0;
  border-radius: 50%;
  background: rgba(109, 40, 217, 0.12);
  box-shadow: none;
}

@media (max-width: 980px) {
  .pricing-contact-promo {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .pricing-contact-promo .landing-promo-link {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .pricing-contact-promo {
    grid-template-columns: 1fr;
  }

  .pricing-star-preview {
    height: 74px;
  }
}
