@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@700;800&display=swap");
:root {
  --ink: #0f172a;
  --muted: #5b6679;
  --paper: #f5f7fa;
  --card: #fff;
  --primary: #2348c4;
  --primary-dark: #162f85;
  --primary-light: #3f6fe0;
  --accent: #f59e0b;
  --accent-dark: #b45309;
  --accent-light: #fbbf24;
  --red: #dc2626;
  --violet: var(--primary);
  --violet-dark: var(--primary-dark);
  --blue: var(--primary-light);
  --cyan: var(--primary-light);
  --pink: var(--red);
  --amber: var(--accent);
  --grad-primary: linear-gradient(135deg, #2348c4, #2f5bd6);
  --grad-warm: linear-gradient(135deg, #f59e0b, #fbbf24);
  --glass: #fff;
  --glass-strong: #fff;
  --glass-border: #e3e8ef;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.14);
  --shadow-violet: 0 6px 16px rgba(35, 72, 196, 0.22);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 999px;
  --line: #e3e8ef;
  --tint: rgba(35, 72, 196, 0.045);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--paper);
}

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

.container {
  width: min(1160px, 100% - 40px);
  margin: auto;
}

.blob {
  display: none;
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
  animation: blobfloat 16s ease-in-out infinite;
}
.blob-1 {
  width: 380px;
  height: 380px;
  background: var(--primary);
  top: -140px;
  left: -90px;
}
.blob-2 {
  width: 340px;
  height: 340px;
  background: var(--accent);
  top: 20px;
  right: -110px;
  animation-delay: -5s;
}
.blob-3 {
  width: 280px;
  height: 280px;
  background: var(--primary-light);
  bottom: -120px;
  left: 32%;
  animation-delay: -10s;
}

@keyframes blobfloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(24px, -18px) scale(1.07);
  }
}
@media (prefers-reduced-motion: reduce) {
  .blob {
    animation: none;
  }
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  padding: 10px 0;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font: 800 19px "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--ink);
}

.brand-mark {
  height: 32px;
  width: auto;
  aspect-ratio: 651/438;
  display: block;
}

.nav-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  align-items: center;
  font-weight: 500;
}
.nav-links a {
  transition: color 0.15s ease;
}
.nav-links a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
}
.menu-toggle span {
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
  font-family: inherit;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
  transition: transform 0.18s cubic-bezier(0.16, 0.84, 0.44, 1), box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-violet);
}
.btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.btn:disabled {
  background: rgba(95, 107, 133, 0.25);
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  border: 1px solid #cfd6e0;
}
.btn-light:hover {
  background: #f8fafc;
  border-color: #b6c0ce;
  box-shadow: var(--shadow-sm);
}

.nav > div .btn {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  min-height: 40px;
}
.nav > div .btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.nav-icon-btn {
  gap: 8px;
}

.nav-icon {
  flex-shrink: 0;
}

.btn-coral {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}
.btn-coral:hover {
  background: var(--accent-light);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.eyebrow:before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.eyebrow-light {
  color: #fcd34d;
}
.eyebrow-light:before {
  background: #fff;
}

h1, h2, h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.03em;
  margin: 0;
}

h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  max-width: 700px;
  margin: 16px 0 22px;
  color: var(--ink);
}

h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  color: var(--ink);
}

h3 {
  font-size: 18px;
  color: var(--ink);
}

.lede {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 580px;
}

.hero {
  padding: 56px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-chip strong {
  display: block;
  font: 800 30px "Plus Jakarta Sans", sans-serif;
  color: var(--primary);
}
.stat-chip span {
  color: var(--muted);
  font-size: 13px;
}

.hero-art {
  min-height: 420px;
  border-radius: 20px;
  background: var(--ink) url("images/hero-action.jpg") center/cover no-repeat;
  padding: 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.hero-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.7) 100%);
}

.hero-art-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  font-size: 13px;
  color: #f2f4fb;
  font-weight: 600;
}

.section {
  padding: 72px 0;
  position: relative;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px;
  gap: 20px;
}
.section-head p {
  color: var(--muted);
  margin: 0;
}

#tournaments, #rules, #why {
  scroll-margin-top: 100px;
}

.announce-bar {
  background: var(--grad-primary);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 11px 16px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin: 0 auto 8px;
  box-shadow: var(--shadow-violet);
}
.announce-bar .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  margin-right: 8px;
  animation: pulse 1.6s ease-in-out infinite;
}
.announce-bar strong {
  font-weight: 700;
}
.announce-bar a {
  text-decoration: underline;
  margin-left: 10px;
  font-weight: 700;
  color: #fff;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.filter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-form select {
  width: auto;
  padding: 10px 14px;
  font-size: 13px;
}

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

.feature {
  background: var(--glass);
  border: 1px solid #e3e8ef;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.16, 0.84, 0.44, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.feature p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 8px 0 0;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad-primary);
  font-size: 21px;
  margin-bottom: 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 194px 194px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  transition: transform 0.3s cubic-bezier(0.16, 0.84, 0.44, 1), box-shadow 0.3s ease;
}
.gallery-item:hover {
  transform: scale(1.015);
  box-shadow: var(--shadow-md);
}
.gallery-item.tall {
  grid-row: 1/3;
}
.gallery-item span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  z-index: 1;
}
.gallery-item:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 55%, rgba(15, 23, 42, 0.65) 100%);
}

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

.card {
  background: var(--glass);
  border: 1px solid #e3e8ef;
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.16, 0.84, 0.44, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-violet);
}

.card-photo {
  height: 190px;
  margin: -24px -24px 18px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.card-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 55%, rgba(15, 23, 42, 0.55) 100%);
}

.card-photo-tags {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.card-photo-tags .tag {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
}
.card-photo-tags .tag-completed {
  color: var(--primary-light);
}
.card-photo-tags .tag-closed {
  color: var(--red);
}
.card-photo-tags .tag-draft {
  color: var(--muted);
}

.card-meta {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 20px;
  line-height: 1.7;
}

.tag {
  display: inline-block;
  background: rgba(35, 72, 196, 0.12);
  color: var(--primary);
  border-radius: var(--radius-full);
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tag-completed {
  background: rgba(35, 72, 196, 0.14);
  color: var(--primary-light);
}

.tag-closed {
  background: rgba(220, 38, 38, 0.12);
  color: var(--red);
}

.tag-draft {
  background: rgba(95, 107, 133, 0.14);
  color: var(--muted);
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.rule-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.rule-grid p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.rule-preview {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
  margin-bottom: 0;
}

.rule-more {
  margin-top: 12px;
  padding: 0;
  background: none;
  border: 0;
  font: 700 13px "Inter", sans-serif;
  color: var(--primary);
  cursor: pointer;
}
.rule-more:hover {
  text-decoration: underline;
}

.rule-index {
  display: block;
  font: 800 13px "Plus Jakarta Sans", sans-serif;
  color: var(--accent-dark);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.cta-band {
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.92), rgba(35, 72, 196, 0.85)), url("images/cta-action.jpg") center 25%/cover no-repeat;
  color: #fff;
  border-radius: 20px;
  padding: 52px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 {
  color: #fff;
  max-width: 420px;
  margin-top: 10px;
  -webkit-text-fill-color: #fff;
}
.cta-band p {
  color: #dce6f7;
  margin: 10px 0 0;
  max-width: 420px;
}

.footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 48px 0 26px;
  color: var(--muted);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
}
.footer-grid h4 {
  font: 700 13px "Plus Jakarta Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0 0 14px;
}
.footer-grid a {
  display: block;
  color: var(--muted);
  padding: 5px 0;
}
.footer-grid a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-visual {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(150deg, rgba(15, 23, 42, 0.93), rgba(35, 72, 196, 0.88)), url("images/gallery-1.jpg") center/cover no-repeat;
}
.auth-visual .brand {
  color: #fff;
  position: relative;
  z-index: 1;
}

.auth-quote {
  font: 800 30px "Plus Jakarta Sans", sans-serif;
  line-height: 1.25;
  max-width: 420px;
  position: relative;
  z-index: 1;
}
.auth-quote span {
  display: block;
  font: 500 15px "Inter", sans-serif;
  color: #dce6f7;
  margin-top: 14px;
}

.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.auth-mobile-brand {
  display: none;
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-visual {
    display: none;
  }
  .auth-mobile-brand {
    display: flex;
  }
}
.form-wrap {
  max-width: 760px;
  margin: 55px auto;
}

.form-card {
  background: var(--glass-strong);
  border: 1px solid #e3e8ef;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
}

input, select, textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: var(--radius-sm);
  padding: 12px;
  font: inherit;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(35, 72, 196, 0.14);
}

textarea {
  min-height: 115px;
  resize: vertical;
}

.field-full {
  grid-column: 1/-1;
}

.form-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.notice {
  border-left: 4px solid var(--primary);
  background: rgba(35, 72, 196, 0.08);
  padding: 13px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  border-radius: 4px;
}

.error {
  border-color: var(--red);
  background: rgba(220, 38, 38, 0.08);
}

.payment-card {
  background: linear-gradient(160deg, #0f172a, #172554);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.payment-card h2 {
  margin: 8px 0;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.payment-kicker {
  color: #fbbf24;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.payment-total {
  font: 800 42px "Plus Jakarta Sans", sans-serif;
  margin: 26px 0;
}

.payment-note {
  color: #cbd6ea;
  font-size: 13px;
  line-height: 1.5;
  margin: 18px 0 0;
}

.pay-choice {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 4px;
}

.pay-choice-option {
  flex: 1;
  min-width: 140px;
  display: flex;
  margin: 0;
}
.pay-choice-option > button, .pay-choice-option.is-active {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 13px;
  text-align: center;
}
.pay-choice-option > button {
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.pay-choice-option > button:hover {
  background: rgba(255, 255, 255, 0.16);
}
.pay-choice-option.is-active {
  background: #fbbf24;
  color: #0f172a;
  border: 1px solid #fbbf24;
  font-weight: 700;
}
.pay-choice-option strong {
  font-size: 15px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: calc(100vh - 76px);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-backdrop {
  display: none;
}

.sidebar {
  background: linear-gradient(165deg, #0f172a, #172554);
  color: #cfdaf0;
  padding: 28px 20px;
}
.sidebar h3 {
  color: #fff;
  margin-bottom: 24px;
}
.sidebar a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #b7c6e6;
  font-size: 14px;
  margin: 4px 0;
}
.sidebar a:hover, .sidebar a.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.admin-main {
  padding: 38px;
}

.rating-card {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 28px;
}
.rating-card img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}
.rating-card .rc-name {
  font: 800 22px "Plus Jakarta Sans", sans-serif;
}
.rating-card .rc-meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}
.rating-card .rc-points {
  margin-left: auto;
  text-align: center;
}
.rating-card .rc-points strong {
  display: block;
  font: 800 42px "Plus Jakarta Sans", sans-serif;
  color: var(--primary);
  line-height: 1;
}
.rating-card .rc-points span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 26px 0;
}

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

.stat {
  background: var(--glass);
  border: 1px solid #e3e8ef;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.stat strong {
  display: block;
  font: 800 34px "Plus Jakarta Sans", sans-serif;
  margin-top: 8px;
  color: var(--primary);
}

.table-wrap {
  overflow: auto;
  background: var(--glass-strong);
  border: 1px solid #e3e8ef;
  border-radius: 16px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table th, .table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  white-space: nowrap;
}
.table th {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin: 36px 0 20px;
  max-width: 100%;
  background: #e9edf3;
  border-radius: 12px;
}

.tab-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 9px;
  box-shadow: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  padding: 9px 20px;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.tab-btn:hover {
  color: var(--ink);
}
.tab-btn.active {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tab-panel[hidden] {
  display: none;
}

.crop-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 20, 35, 0.55);
  padding: 20px;
}
.crop-modal[hidden] {
  display: none;
}

.crop-modal-inner {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  max-width: 360px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.crop-modal-inner h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.crop-stage {
  position: relative;
  width: 300px;
  height: 300px;
  max-width: 100%;
  margin: 0 auto 18px;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  touch-action: none;
}
.crop-stage canvas {
  display: block;
  width: 300px;
  height: 300px;
  max-width: 100%;
  cursor: grab;
  touch-action: none;
}

.crop-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.45);
  border-radius: 50%;
}

.crop-zoom-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}
.crop-zoom-label input[type=range] {
  display: block;
  width: 100%;
  margin-top: 10px;
  accent-color: var(--primary);
}

.crop-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.player-nav a.active {
  color: var(--primary);
  font-weight: 700;
}
.player-nav .btn {
  padding: 9px 16px;
}

@media (max-width: 860px) {
  .player-nav {
    gap: 14px;
    font-size: 13px;
  }
}
@media (max-width: 600px) {
  .player-nav {
    display: none;
  }
}
.notif-bell {
  position: relative;
  margin-left: auto;
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
}
.notif-bell svg {
  width: 22px;
  height: 22px;
}
.notif-bell:hover, .notif-bell.active {
  color: var(--primary);
  background: rgba(35, 72, 196, 0.08);
}
.notif-bell + .nav-links, .notif-bell + .menu-toggle {
  margin-left: -12px;
}

.notif-count {
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}

.notif-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.notif-item {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease;
}
.notif-item strong {
  font-size: 15px;
  color: var(--ink);
}
.notif-item span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.notif-item time {
  color: var(--muted);
  font-size: 12px;
}
.notif-item:hover {
  border-color: var(--primary-light);
}
.notif-item.unread {
  border-left: 4px solid var(--primary);
  background: rgba(35, 72, 196, 0.04);
}

.notif-empty {
  padding: 32px 20px;
  text-align: center;
  color: var(--muted);
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.notif-empty p {
  margin: 4px 0;
}
.notif-empty p:first-child {
  color: var(--ink);
  font-weight: 700;
}

.search-select-wrap {
  position: relative;
}

.search-select-list {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 4px;
  list-style: none;
  max-height: 260px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}
.search-select-list li {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
}
.search-select-list li.is-active, .search-select-list li[role=option]:hover {
  background: rgba(35, 72, 196, 0.08);
  color: var(--primary);
}
.search-select-list .search-select-empty {
  color: var(--muted);
  cursor: default;
}

.bottom-nav {
  display: none;
}

@media (max-width: 600px) {
  .has-bottom-nav {
    padding-bottom: 88px;
  }
  .bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    justify-content: space-around;
    align-items: center;
    gap: 2px;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    background: var(--glass-strong);
    border: 1px solid #e3e8ef;
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 0;
    box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.1);
  }
  .bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex: 1;
    padding: 4px 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
  }
  .bottom-nav a svg {
    width: 22px;
    height: 22px;
  }
  .bottom-nav a.active {
    color: var(--primary);
  }
}
.pill {
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  background: rgba(95, 107, 133, 0.12);
}
.pill.open, .pill.confirmed {
  color: var(--primary);
  background: rgba(35, 72, 196, 0.14);
}

@media (max-width: 900px) {
  .tournament-grid, .rule-grid, .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 180px);
  }
  .gallery-item.tall {
    grid-row: auto;
    grid-column: 1/3;
  }
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-art {
    min-height: 260px;
  }
  .menu-toggle {
    display: flex;
  }
  #siteNav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--glass-strong);
    border: 1px solid #e3e8ef;
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.22s ease, opacity 0.18s ease;
  }
  #siteNav.open {
    max-height: min(70vh, 560px);
    opacity: 1;
    pointer-events: auto;
  }
  #siteNav a {
    padding: 12px 10px;
    border-radius: var(--radius-sm);
  }
  #siteNav a:hover {
    background: rgba(35, 72, 196, 0.08);
  }
  #siteNav .btn {
    margin-top: 4px;
  }
  .admin-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 60;
    width: min(280px, 84vw);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    visibility: hidden;
  }
  .sidebar.open {
    transform: none;
    visibility: visible;
    box-shadow: var(--shadow-lg);
  }
  .sidebar-backdrop.open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(15, 23, 42, 0.45);
  }
}
@media (max-width: 800px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field-full {
    grid-column: auto;
  }
  .admin-main {
    padding: 25px 20px;
  }
  .sidebar {
    min-height: 0;
  }
}
@media (max-width: 600px) {
  .tournament-grid, .rule-grid, .feature-grid, .stats, .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer {
    text-align: center;
  }
  .footer-grid .brand {
    justify-content: center;
  }
  .footer-grid p {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
  .hero-stats {
    gap: 22px;
  }
  .cta-band {
    padding: 36px 26px;
  }
  .section {
    padding: 52px 0;
  }
  .nav {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .nav > div {
    display: flex;
    gap: 8px;
  }
  .nav > div .btn {
    padding: 9px 16px;
    font-size: 12px;
    min-height: 38px;
  }
  .stats-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .gallery-item, .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
    height: 200px;
  }
}
.filter-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 14px;
}
.filter-toolbar input[type=text] {
  flex: 1 1 260px;
  width: auto;
  min-width: 0;
}
.filter-toolbar .filter-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
}

.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}
.filter-chips span {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.06);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.filter-dialog {
  width: min(720px, 100vw - 32px);
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: #fff;
  color: var(--ink);
}
.filter-dialog::backdrop {
  background: rgba(15, 23, 42, 0.45);
}
.filter-dialog .filter-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 0;
}
.filter-dialog .filter-dialog-head h3 {
  margin: 0;
}
.filter-dialog .filter-dialog-head button {
  background: none;
  border: 0;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}
.filter-dialog .form-grid {
  padding: 18px 24px;
}
.filter-dialog .form-actions {
  padding: 16px 24px 22px;
  margin: 0;
  border-top: 1px solid var(--line);
  justify-content: flex-end;
}

.institution-tabs {
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 600px) {
  .institution-tabs {
    display: none;
  }
}
.admin-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 18px;
}
.admin-toolbar input[type=search] {
  flex: 0 1 260px;
  width: auto;
  min-width: 0;
}
.admin-toolbar select {
  width: auto;
  padding: 10px 14px;
  font-size: 13px;
}
.admin-toolbar .toolbar-count {
  color: var(--muted);
  font-size: 13px;
}
.admin-toolbar .toolbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}

.admin-dialog {
  width: min(760px, 100vw - 32px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: #fff;
  color: var(--ink);
}
.admin-dialog::backdrop {
  background: rgba(15, 23, 42, 0.45);
}

.admin-dialog-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 12px;
  background: #fff;
}
.admin-dialog-head h3 {
  margin: 0;
}
.admin-dialog-head button {
  background: none;
  border: 0;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.admin-dialog-body {
  padding: 4px 24px 24px;
}
.admin-dialog-body .btn:last-child {
  margin-top: 16px;
}

.rule-dialog {
  width: min(640px, 100vw - 32px);
}
.rule-dialog .admin-dialog-head {
  align-items: flex-start;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.rule-dialog .rule-index {
  margin-bottom: 4px;
}

.rule-dialog-body {
  padding-top: 16px;
}
.rule-dialog-body h4 {
  margin: 20px 0 8px;
  font-size: 14px;
  color: var(--ink);
}
.rule-dialog-body h4:first-child {
  margin-top: 0;
}
.rule-dialog-body p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.rule-dialog-body strong {
  color: var(--ink);
  font-weight: 600;
}

.rule-admin-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.rule-admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.rule-admin-head .rule-index {
  margin-bottom: 4px;
}

.rule-admin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.rule-admin-actions .btn {
  padding: 9px 16px;
  font-size: 13px;
}

@media (max-width: 600px) {
  .admin-toolbar .toolbar-actions {
    margin-left: 0;
    width: 100%;
  }
  .admin-toolbar input[type=search] {
    flex: 1 1 100%;
  }
}
.stat-link {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.stat-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.stat-link small {
  display: block;
  margin-top: 4px;
  font-weight: 500;
  font-size: 12px;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}
.dash-grid .card {
  margin: 0;
}

@media (max-width: 1000px) {
  .dash-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.auth-visual {
  position: sticky;
  top: 0;
  height: 100vh;
  align-self: start;
}

@media (max-width: 600px) {
  .hide-sm {
    display: none;
  }
  .nav-icon-btn {
    padding-left: 12px;
    padding-right: 12px;
  }
}
/* An inline display style would otherwise override the hidden attribute (e.g. the OTP code row). */
[hidden] {
  display: none !important;
}

.venue-map {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: 12px;
  margin-top: 14px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.7s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .stagger:not(.is-done) > * {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 0.6s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.6s cubic-bezier(0.16, 0.84, 0.44, 1);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.js .stagger.is-visible:not(.is-done) > * {
  opacity: 1;
  transform: none;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.avatar-fallback {
  display: inline-grid;
  place-items: center;
  background: var(--grad-primary);
  color: #fff;
  font: 800 15px "Plus Jakarta Sans", sans-serif;
}

.hero-banner {
  position: relative;
  width: min(1320px, 100% - 24px);
  height: clamp(500px, 72vh, 660px);
  margin: 18px auto 0;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  background: #162f85;
  box-shadow: var(--shadow-lg);
  touch-action: pan-y;
}

.hb-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s 0.9s;
}

.hb-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: opacity 0.9s ease;
}

.hb-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
}

.hb-slide.is-active .hb-bg {
  animation: hbZoom 9s ease-out forwards;
}

.hb-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 18, 36, 0.9) 0%, rgba(10, 18, 36, 0.58) 46%, rgba(10, 18, 36, 0.12) 100%), linear-gradient(0deg, rgba(10, 18, 36, 0.75), rgba(10, 18, 36, 0) 55%);
}

@keyframes hbZoom {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}
.hb-content {
  position: relative;
  z-index: 1;
  width: min(1160px, 100% - 64px);
  margin: 0 auto;
  padding-bottom: 96px;
  color: #fff;
}

.hb-content > * {
  opacity: 0;
}

.hb-slide.is-active .hb-content > * {
  animation: hbUp 0.75s cubic-bezier(0.16, 0.84, 0.44, 1) both;
}

.hb-slide.is-active .hb-content > :nth-child(1) {
  animation-delay: 0.24s;
}

.hb-slide.is-active .hb-content > :nth-child(2) {
  animation-delay: 0.33s;
}

.hb-slide.is-active .hb-content > :nth-child(3) {
  animation-delay: 0.42s;
}

.hb-slide.is-active .hb-content > :nth-child(4) {
  animation-delay: 0.51s;
}

.hb-slide.is-active .hb-content > :nth-child(5) {
  animation-delay: 0.6s;
}

@keyframes hbUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hb-chips {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hb-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--accent);
  color: #162f85;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hb-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.6s ease-in-out infinite;
}

.hb-chip-live {
  background: #e11d48;
  color: #fff;
  animation: liveGlow 1.8s ease-in-out infinite;
}

@keyframes liveGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(225, 29, 72, 0);
  }
}
.hb-sport {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hb-title {
  max-width: 780px;
  margin: 16px 0 18px;
  font-size: clamp(32px, 5.2vw, 62px);
  line-height: 1.05;
  text-wrap: balance;
  background: none;
  color: #fff;
  -webkit-text-fill-color: #fff;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.hb-lede {
  max-width: 580px;
  margin: 0;
  color: #dce6f7;
  font-size: 17px;
  line-height: 1.6;
}

.hb-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hb-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hb-facts svg {
  color: #fbbf24;
  flex-shrink: 0;
}

.hb-facts .hb-deadline {
  background: rgba(251, 191, 36, 0.2);
  border-color: rgba(251, 191, 36, 0.55);
  color: #fde68a;
}

.hb-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.hb-controls {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 30px;
  width: min(1160px, 100% - 64px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hb-dots {
  order: -1;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hb-dot {
  position: relative;
  width: 26px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: width 0.4s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.hb-dot:before, .hb-dot span {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  height: 4px;
  border-radius: 4px;
}

.hb-dot:before {
  right: 0;
  background: rgba(255, 255, 255, 0.32);
}

.hb-dot span {
  width: 0;
  background: #fbbf24;
}

.hb-dot.is-active {
  width: 64px;
}

.hb-dot.is-active span {
  animation: hbProgress var(--hb-duration, 6.5s) linear forwards;
}

.hero-banner.is-paused .hb-dot.is-active span {
  animation-play-state: paused;
}

@keyframes hbProgress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
.hb-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hb-arrow:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: scale(1.08);
}

.hb-arrow:active {
  transform: scale(0.94);
}

.stat-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  margin-top: 18px;
  padding: 22px 12px;
  border-radius: var(--radius);
  background: var(--glass-strong);
  border: 1px solid #e3e8ef;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stat-strip > div + div {
  border-left: 1px solid rgba(15, 23, 42, 0.08);
}

.stat-strip strong {
  display: block;
  font: 800 34px "Plus Jakarta Sans", sans-serif;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
}

.stat-strip span {
  color: var(--muted);
  font-size: 13px;
}

#scores, #how {
  scroll-margin-top: 100px;
}

.scoreboard-shell {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border-radius: 20px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  background: radial-gradient(120% 130% at 0% 0%, #1e3a8a 0%, #0f172a 52%, #0b1120 100%);
}

.scoreboard-shell:before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -180px;
  border-radius: 50%;
  pointer-events: none;
  background: #3f6fe0;
  filter: blur(110px);
  opacity: 0.4;
  animation: blobfloat 16s ease-in-out infinite;
}

.scoreboard-shell > * {
  position: relative;
}

.scoreboard-shell h2 {
  color: #fff;
  margin-top: 8px;
}

.sb-link {
  color: #fbbf24;
  font-weight: 700;
  font-size: 14px;
}

.sb-link:hover {
  text-decoration: underline;
}

.sb-sports {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.sb-sport {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  cursor: pointer;
  background: transparent;
  color: #b7c6e6;
  font: 700 13px "Inter", sans-serif;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sb-sport:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.sb-sport.active {
  background: #fbbf24;
  border-color: #fbbf24;
  color: #162f85;
}

.sb-tabs {
  display: inline-flex;
  gap: 4px;
  max-width: 100%;
  padding: 4px;
  overflow-x: auto;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  scrollbar-width: none;
}

.sb-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  background: transparent;
  color: #b7c6e6;
  font: 700 13px "Inter", sans-serif;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.sb-tab span {
  padding: 1px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
}

.sb-tab:hover {
  color: #fff;
}

.sb-tab.active {
  background: #fff;
  color: #162f85;
}

.sb-tab.active span {
  background: rgba(35, 72, 196, 0.12);
}

.sb-dot, .sb-chip-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e11d48;
  animation: pulse 1.3s ease-in-out infinite;
}

.sb-panel {
  display: none;
  margin-top: 22px;
}

.sb-panel.active {
  display: block;
  animation: sbFade 0.45s cubic-bezier(0.16, 0.84, 0.44, 1);
}

@keyframes sbFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.sb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.sb-card {
  min-width: 0;
  padding: 16px 16px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.25s cubic-bezier(0.16, 0.84, 0.44, 1), border-color 0.25s ease, background 0.25s ease;
}

.sb-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.09);
}

.sb-live {
  border-color: rgba(225, 29, 72, 0.45);
  animation: sbLive 2.4s ease-in-out infinite;
}

@keyframes sbLive {
  0%, 100% {
    box-shadow: 0 0 0 rgba(225, 29, 72, 0);
  }
  50% {
    box-shadow: 0 0 26px rgba(225, 29, 72, 0.28);
  }
}
.sb-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.sb-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.1);
  color: #dce6f7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sb-chip-live {
  background: rgba(225, 29, 72, 0.18);
  color: #ff9db0;
}

.sb-chip-next {
  background: rgba(251, 191, 36, 0.16);
  color: #fbbf24;
}

.sb-where {
  color: #a9b6d1;
  font-size: 12px;
  text-align: right;
}

.sb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.3s ease;
}

.sb-row + .sb-row {
  margin-top: 4px;
}

.sb-row.is-leading, .sb-row.is-winner {
  background: rgba(251, 191, 36, 0.12);
}

.sb-row.is-leading .sb-name, .sb-row.is-winner .sb-name {
  color: #fff;
  font-weight: 700;
}

.sb-row.is-loser .sb-name {
  color: #a9b6d1;
}

.sb-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.sb-avatar.avatar-fallback {
  background: linear-gradient(150deg, #3f6fe0, #2348c4);
  font-size: 14px;
}

.sb-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #e7edf9;
  font-size: 14.5px;
  font-weight: 600;
}

.sb-win {
  color: #fbbf24;
  flex-shrink: 0;
}

.sb-games {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.sb-games b {
  min-width: 24px;
  text-align: center;
  color: #8f9dbb;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.sb-games b.won {
  color: #fff;
}

.sb-point {
  min-width: 48px;
  padding: 3px 6px;
  border-radius: 10px;
  text-align: center;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.3);
  color: #fbbf24;
  font: 800 26px "Plus Jakarta Sans", sans-serif;
  font-variant-numeric: tabular-nums;
}

.sb-point.bump {
  animation: sbBump 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes sbBump {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.38);
    background: #fbbf24;
    color: #162f85;
  }
  100% {
    transform: scale(1);
  }
}
.sb-foot {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8f9dbb;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-empty {
  margin: 0;
  padding: 30px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  color: #b7c6e6;
  text-align: center;
  font-size: 14px;
}

.card-date {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  border-radius: 10px;
  text-align: center;
  line-height: 1.15;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-sm);
}

.card-date strong {
  display: block;
  font: 800 19px "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.steps li {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--glass-strong);
  border: 1px solid #e3e8ef;
  transition: transform 0.25s cubic-bezier(0.16, 0.84, 0.44, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.steps li:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.steps h3 {
  margin: 18px 0 8px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.step-num {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--tint);
  color: var(--primary);
  font: 800 18px "Plus Jakarta Sans", sans-serif;
  border: 1px solid rgba(35, 72, 196, 0.18);
}

@media (min-width: 901px) {
  .feature-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps li:not(:last-child) .step-num:after {
    content: "";
    position: absolute;
    top: 48px;
    left: 84px;
    right: 26px;
    border-top: 1px dashed #c3ccd9;
  }
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .scoreboard-shell {
    padding: 30px 24px;
  }
}
@media (max-width: 600px) {
  .hero-banner {
    height: clamp(540px, 84vh, 660px);
    margin-top: 12px;
    border-radius: 16px;
  }
  .hb-bg:after {
    background: linear-gradient(0deg, rgba(10, 18, 36, 0.94) 0%, rgba(10, 18, 36, 0.7) 50%, rgba(10, 18, 36, 0.2) 100%);
  }
  .hb-content {
    width: calc(100% - 40px);
    padding-bottom: 74px;
  }
  .hb-controls {
    width: calc(100% - 40px);
    bottom: 22px;
  }
  .hb-arrow {
    display: none;
  }
  .hb-dots {
    margin: 0 auto;
  }
  .hb-facts li {
    padding: 7px 12px;
    font-size: 12px;
  }
  .hb-lede {
    font-size: 15px;
  }
  .hb-actions {
    margin-top: 20px;
  }
  .hb-actions .btn {
    flex: 1 1 0;
    padding: 13px 14px;
    white-space: nowrap;
  }
  .stat-strip {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
    padding: 20px 8px;
  }
  .stat-strip > div:nth-child(3) {
    border-left: 0;
  }
  .stat-strip strong {
    font-size: 28px;
  }
  .scoreboard-shell {
    padding: 26px 16px;
    border-radius: 16px;
  }
  .sb-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .sb-tab {
    padding: 9px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .stagger:not(.is-done) > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hb-slide, .hb-slide.is-active {
    transition: none;
  }
  .hb-bg, .hb-slide.is-active .hb-bg {
    animation: none;
    transform: none;
  }
  .hb-content > *, .hb-slide.is-active .hb-content > * {
    animation: none;
    opacity: 1;
  }
  .hb-dot.is-active span {
    animation: none;
    width: 100%;
  }
  .hb-chip i, .hb-chip-live, .sb-live, .sb-dot, .sb-chip-live i, .sb-panel.active, .sb-point.bump, .scoreboard-shell:before {
    animation: none;
  }
}
.lb-page {
  max-width: 1000px;
  margin: 28px auto 56px;
}

.lb-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 28px 0;
  border-radius: 24px;
  color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, rgba(63, 111, 224, 0.45), transparent 60%), radial-gradient(80% 70% at 0% 100%, rgba(245, 158, 11, 0.14), transparent 60%), linear-gradient(160deg, #172554, #0f172a);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
}

.lb-hero:not(:has(.podium)) {
  padding-bottom: 28px;
}

.lb-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.lb-hero-title {
  min-width: 0;
  max-width: 520px;
}

.lb-hero-title h1 {
  margin: 6px 0 8px;
  color: #fff;
  font: 800 40px/1.05 "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.02em;
}

.lb-hero-title p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.55;
}

.lb-kicker {
  color: #fbbf24;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lb-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lb-stat {
  min-width: 118px;
  padding: 12px 16px;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lb-stat strong {
  display: block;
  font: 800 26px/1.1 "Plus Jakarta Sans", sans-serif;
  font-variant-numeric: tabular-nums;
}

.lb-stat span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lb-stat-you {
  background: linear-gradient(160deg, #f59e0b, #fcd34d);
  border-color: transparent;
  color: #0f172a;
  transition: transform 0.2s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.lb-stat-you span {
  color: rgba(15, 23, 42, 0.75);
}

.lb-stat-you:hover {
  transform: translateY(-2px);
}

.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 14px;
  max-width: 640px;
  margin: 30px auto 0;
}

.podium-spot {
  min-width: 0;
  text-align: center;
  color: #fff;
}

.podium-spot.p1 {
  order: 2;
}

.podium-spot.p2 {
  order: 1;
}

.podium-spot.p3 {
  order: 3;
}

.podium-spot .avatar {
  width: 64px;
  height: 64px;
  font-size: 22px;
  border: 3px solid #cbd5e1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.podium-spot.p1 .avatar {
  width: 88px;
  height: 88px;
  font-size: 30px;
  border-color: #fbbf24;
}

.podium-spot.p3 .avatar {
  border-color: #d97736;
}

.podium-spot:hover .podium-block {
  filter: brightness(1.06);
}

.podium-avatar {
  position: relative;
  display: inline-block;
}

.podium-medal {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #0f172a;
  color: #0f172a;
  font: 800 12px "Plus Jakarta Sans", sans-serif;
  background: linear-gradient(160deg, #94a3b8, #e2e8f0);
}

.p1 .podium-medal {
  width: 30px;
  height: 30px;
  font-size: 14px;
  background: linear-gradient(160deg, #f59e0b, #fcd34d);
}

.p3 .podium-medal {
  background: linear-gradient(160deg, #9a4a12, #d97736);
  color: #fff;
}

.podium-name {
  margin: 10px 0 2px;
  font: 800 15px "Plus Jakarta Sans", sans-serif;
  line-height: 1.25;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.podium-sub {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.podium-block {
  margin-top: 12px;
  padding: 16px 8px 0;
  border-radius: 14px 14px 0 0;
  color: #0f172a;
  transform-origin: bottom;
  transition: transform 0.9s cubic-bezier(0.16, 0.84, 0.44, 1), filter 0.2s ease;
}

.p1 .podium-block {
  height: 150px;
  background: linear-gradient(160deg, #f59e0b, #fcd34d);
  transition-delay: 0.35s;
}

.p2 .podium-block {
  height: 116px;
  background: linear-gradient(160deg, #94a3b8, #e2e8f0);
  transition-delay: 0.15s;
}

.p3 .podium-block {
  height: 94px;
  background: linear-gradient(160deg, #9a4a12, #d97736);
  color: #fff;
  transition-delay: 0.5s;
}

.podium-block strong {
  display: block;
  font: 800 30px/1.05 "Plus Jakarta Sans", sans-serif;
  font-variant-numeric: tabular-nums;
}

.podium-block span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

.podium-block small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.8;
}

.js .podium:not(.is-visible) .podium-block {
  transform: scaleY(0);
}

.lb-controls {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e3e8ef;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
}

.lb-control-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lb-seg {
  display: inline-flex;
  gap: 4px;
  max-width: 100%;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 12px;
  background: #eef1f6;
}

.lb-seg a {
  padding: 8px 16px;
  border-radius: 9px;
  color: #5b6679;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.lb-seg a:hover {
  color: #0f172a;
}

.lb-seg a.active {
  background: #fff;
  color: #2348c4;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
}

.lb-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.lb-chips a {
  padding: 6px 14px;
  border: 1px solid #e3e8ef;
  border-radius: 999px;
  color: #5b6679;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.lb-chips a:hover {
  border-color: #3f6fe0;
  color: #2348c4;
}

.lb-chips a.active {
  border-color: #2348c4;
  background: #2348c4;
  color: #fff;
}

.lb-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #e3e8ef;
}

.lb-filters select {
  width: auto;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
}

.lb-clear {
  color: #2348c4;
  font-size: 13px;
  font-weight: 700;
}

.lb-clear:hover {
  text-decoration: underline;
}

.lb-subtabs {
  display: flex;
  gap: 6px;
  margin: 0 0 14px;
}

.lb-subtabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #5b6679;
  font-size: 13px;
  font-weight: 700;
}

.lb-subtabs a b {
  padding: 1px 8px;
  border-radius: 999px;
  background: #e9edf3;
  color: #0f172a;
  font-size: 12px;
}

.lb-subtabs a.active {
  background: #0f172a;
  color: #fff;
}

.lb-subtabs a.active b {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.lb-table {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e3e8ef;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
}

.lb-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 48px 48px 48px 150px 64px 76px;
  align-items: center;
  gap: 0 10px;
  padding: 12px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e3e8ef;
  color: #5b6679;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lb-head .lb-col-num {
  text-align: center;
}

.lb-head .lb-col-pts {
  text-align: right;
}

.lb-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 48px 48px 48px 150px 64px 76px;
  align-items: center;
  gap: 0 10px;
  position: relative;
  padding: 12px 20px;
  border-top: 1px solid #eef1f6;
  scroll-margin-top: 96px;
  transition: background 0.18s ease;
}

.lb-head + .lb-row {
  border-top: 0;
}

.lb-row:hover {
  background: #f8fafc;
}

.lb-row.top {
  background: rgba(245, 158, 11, 0.045);
}

.lb-row.is-you {
  background: rgba(35, 72, 196, 0.06);
  box-shadow: inset 4px 0 0 #2348c4;
}

.lb-row:target {
  animation: lb-flash 1.6s ease;
}

@keyframes lb-flash {
  0%, 40% {
    background: rgba(245, 158, 11, 0.22);
  }
}
.lb-rank {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #5b6679;
  font: 800 15px "Plus Jakarta Sans", sans-serif;
  font-variant-numeric: tabular-nums;
}

.r1 .lb-rank {
  background: linear-gradient(160deg, #f59e0b, #fcd34d);
  color: #0f172a;
}

.r2 .lb-rank {
  background: linear-gradient(160deg, #94a3b8, #e2e8f0);
  color: #0f172a;
}

.r3 .lb-rank {
  background: linear-gradient(160deg, #9a4a12, #d97736);
  color: #fff;
}

.lb-who {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.lb-who > div {
  min-width: 0;
}

.lb-who .avatar {
  width: 40px;
  height: 40px;
}

.lb-who strong {
  display: block;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-who small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #5b6679;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-who .lb-mobile-line {
  display: none;
}

.lb-you {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f59e0b;
  color: #0f172a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

.lb-num {
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.lb-titles {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #b45309;
  font-weight: 800;
}

.lb-dash {
  color: #cbd5e1;
}

.lb-rate {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lb-rate b {
  min-width: 36px;
  color: #0f172a;
  font-size: 12px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.lb-bar {
  position: relative;
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(35, 72, 196, 0.1);
}

.lb-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: 6px;
  background: linear-gradient(135deg, #2348c4, #2f5bd6);
  transition: width 1s cubic-bezier(0.16, 0.84, 0.44, 1) 0.2s;
}

.js .stagger:not(.is-visible) .lb-bar i {
  width: 0;
}

.lb-pts {
  color: #2348c4;
  font: 800 20px "Plus Jakarta Sans", sans-serif;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.lb-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 40px 20px;
  border: 1px dashed rgba(15, 23, 42, 0.2);
  border-radius: 18px;
  background: #fff;
  color: #5b6679;
  text-align: center;
}

.lb-empty svg {
  width: 30px;
  height: 30px;
  color: #f59e0b;
}

.lb-empty p {
  margin: 0;
}

.lb-howto {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e3e8ef;
}

.lb-howto summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.lb-howto ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #5b6679;
  font-size: 14px;
  line-height: 1.7;
}

.lb-howto strong {
  color: #0f172a;
}

.champ-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}

.champ-item {
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e3e8ef;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 0.84, 0.44, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.champ-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.champ-item h3 {
  margin: 14px 0 4px;
  font-size: 18px;
}

.champ-item p {
  margin: 0;
  color: #5b6679;
  font-size: 13px;
  line-height: 1.6;
}

.champ-item .champ-event {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-weight: 600;
}

.champ-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.champ-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(160deg, #f59e0b, #fcd34d);
  color: #0f172a;
}

.champ-icon svg {
  width: 18px;
  height: 18px;
}

.champ-year {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff7e6;
  color: #b45309;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

@media (max-width: 760px) {
  .lb-page {
    margin-top: 16px;
  }
  .lb-hero {
    padding: 22px 18px 0;
    border-radius: 20px;
  }
  .lb-hero-title h1 {
    font-size: 30px;
  }
  .lb-hero-stats {
    width: 100%;
  }
  .lb-stat {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
  }
  .lb-stat strong {
    font-size: 22px;
  }
  .podium {
    gap: 8px;
    margin-top: 22px;
  }
  .podium-spot .avatar {
    width: 52px;
    height: 52px;
    font-size: 18px;
  }
  .podium-spot.p1 .avatar {
    width: 70px;
    height: 70px;
    font-size: 24px;
  }
  .podium-name {
    font-size: 13px;
  }
  .podium-block strong {
    font-size: 24px;
  }
  .podium-block small {
    display: none;
  }
  .p1 .podium-block {
    height: 120px;
  }
  .p2 .podium-block {
    height: 94px;
  }
  .p3 .podium-block {
    height: 76px;
  }
  .lb-controls {
    padding: 12px;
  }
  .lb-control-row .lb-seg {
    width: 100%;
  }
  .lb-head, .lb-row {
    grid-template-columns: 38px minmax(0, 1fr) 56px;
    padding: 12px 14px;
  }
  .lb-head > :nth-child(n+3):not(:last-child), .lb-row > :nth-child(n+3):not(:last-child) {
    display: none;
  }
  .lb-rank {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .lb-who {
    gap: 10px;
  }
  .lb-who .avatar {
    width: 36px;
    height: 36px;
  }
  .lb-who .lb-mobile-line {
    display: block;
    color: #0f172a;
    font-weight: 600;
  }
  .lb-pts {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .podium-block, .lb-bar i, .lb-row {
    transition: none;
  }
  .lb-row:target {
    animation: none;
  }
  .js .podium:not(.is-visible) .podium-block {
    transform: none;
  }
  .js .stagger:not(.is-visible) .lb-bar i {
    width: var(--w);
  }
}
.report-note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.report-note[hidden] {
  display: none;
}

.report-list {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid #e3e8ef;
  border-radius: 12px;
}

.report-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  font-size: 14px;
}

.report-list li + li {
  border-top: 1px solid #e3e8ef;
}

.report-list small {
  color: #5b6679;
}

.report-list strong {
  white-space: nowrap;
}

.coming-up {
  display: grid;
  gap: 12px;
}

.cu-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e3e8ef;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
}

.cu-when {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 16px;
  color: #fff;
  background: linear-gradient(160deg, #172554, #2348c4);
}

.cu-when span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cu-when strong {
  font: 800 26px/1.1 "Plus Jakarta Sans", sans-serif;
  font-variant-numeric: tabular-nums;
}

.cu-when .cu-tba {
  font-size: 15px;
}

.cu-when em {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.cu-body {
  min-width: 0;
  padding: 14px 18px;
}

.cu-body h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.cu-body h3 small {
  color: #5b6679;
  font-weight: 500;
}

.cu-body p {
  margin: 2px 0;
  color: #5b6679;
  font-size: 13px;
}

.cu-body strong {
  color: #0f172a;
}

.cu-warn {
  color: #dc2626 !important;
  font-weight: 600;
}

.cu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.cu-actions .btn {
  padding: 7px 12px;
  font-size: 13px;
}

.standings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

.standings-card {
  min-width: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e3e8ef;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
}

.standings-card h4 {
  margin: 0 0 8px;
  font-size: 15px;
}

.standings-table th, .standings-table td {
  padding: 8px 6px;
  font-size: 13px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.standings-table th:nth-child(2), .standings-table td:nth-child(2) {
  text-align: left;
}

.standings-table td small {
  color: #5b6679;
  font-weight: 500;
}

.standings-table tr.is-through td:first-child {
  box-shadow: inset 3px 0 0 #2348c4;
  color: #2348c4;
  font-weight: 800;
}

.standings-table tr.is-mine td {
  background: rgba(245, 158, 11, 0.1);
}

.standings-note {
  grid-column: 1/-1;
  margin: 0;
  color: #5b6679;
  font-size: 13px;
}

@media (max-width: 760px) {
  .cu-card {
    grid-template-columns: 1fr;
  }
  .cu-when {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    padding: 12px 16px;
  }
  .cu-when strong {
    font-size: 22px;
  }
  .standings {
    grid-template-columns: 1fr;
  }
}
.qr {
  margin-top: 36px;
}

.qr-title {
  font-size: 40px;
  margin: 10px 0 12px;
}

.qr-lede {
  font-size: 16px;
  margin-bottom: 22px;
}

.qr-step {
  margin-bottom: 18px;
  padding: 24px;
}

.qr-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  margin: 0 0 16px;
}

.qr-num {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.qr-sub {
  color: var(--muted);
  font-size: 14px;
  margin: -6px 0 16px;
}

.qr-empty {
  color: var(--muted);
  margin: 0;
}

.qr-empty a, .qr-small a {
  color: var(--primary);
  font-weight: 700;
}

.qr-location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.qr-tournament {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
}

.qr-tournament:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.qr-t-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.qr-t-thumb {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--tint) center/cover no-repeat;
}

.qr-t-head h3 {
  font-size: 17px;
  margin: 0 0 4px;
}

.qr-t-meta {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 8px;
  line-height: 1.5;
}

.qr-t-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.qr-deadline {
  color: var(--accent-dark);
  background: rgba(245, 158, 11, 0.16);
}

.qr-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}

.qr-cat {
  position: relative;
  margin: 0;
  cursor: pointer;
  font-weight: 400;
}

.qr-cat input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.qr-cat-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  font-size: 13px;
  color: var(--muted);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.qr-cat-body strong {
  color: var(--ink);
  font-size: 15px;
}

.qr-fee {
  color: var(--ink);
  font-weight: 700;
  margin-top: 4px;
}

.qr-why {
  color: var(--red);
  font-size: 12px;
}

.qr-cat:hover .qr-cat-body {
  border-color: var(--primary-light);
}

.qr-cat input:focus-visible + .qr-cat-body {
  box-shadow: 0 0 0 3px rgba(35, 72, 196, 0.25);
}

.qr-cat input:checked + .qr-cat-body {
  border-color: var(--primary);
  background: rgba(35, 72, 196, 0.07);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.qr-cat input:checked + .qr-cat-body::after {
  content: "✓ Selected";
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  margin-top: 4px;
}

.qr-cat.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.qr-cat.is-disabled:hover .qr-cat-body {
  border-color: var(--line);
}

.qr-picked {
  background: rgba(35, 72, 196, 0.08);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin: -4px 0 16px;
}

.qr-small {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 0;
}

.qr-center {
  text-align: center;
}

.qr-submit {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 14px 20px;
}

.qr .form-actions {
  margin-top: 18px;
}

.qr-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .qr {
    margin-top: 20px;
  }
  .qr-title {
    font-size: 30px;
  }
  .qr-step {
    padding: 18px 16px;
  }
  .qr-location {
    grid-template-columns: 1fr;
  }
  .qr-cats {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 380px) {
  .qr-cats {
    grid-template-columns: 1fr;
  }
}
