:root {
  --burgundy: #902225;
  --burgundy-dark: #6e191b;
  --burgundy-deep: #4c1214;
  --ink: #241616;
  --gold: #c4af78;
  --gold-dark: #a8925c;
  --muted: #6d6d6d;
  --line: #eadfdf;
  --paper: #faf6f4;
  --white: #ffffff;
  --max: 1140px;
  --header: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, h4 {
  font-family: Outfit, Inter, sans-serif;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin: 0 0 16px;
}

.wrap { width: min(var(--max), 100%); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.eyebrow {
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.lead { color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  background: var(--burgundy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--burgundy-dark); color: var(--white); }
.btn-ghost {
  background: #fff;
  color: #902225;
  border: 1px solid #902225;
}
.btn-ghost:hover {
  background: #902225;
  color: #fff;
  border-color: #902225;
}
.menu-account > a.btn-ghost {
  padding: 0 22px;
  font-size: 13px;
  border-radius: 0;
  color: #902225;
  background: #fff;
  border: 1px solid #902225;
}
.menu-account > a.btn-ghost:hover {
  background: #902225;
  color: #fff;
  border-color: #902225;
}
.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-line:hover { background: var(--burgundy); color: var(--white); }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  color: var(--white);
  /* background: linear-gradient(180deg, rgba(76, 18, 20, 0.72) 0%, rgba(144, 34, 37, 0.28) 72%, rgba(144, 34, 37, 0) 100%); */
}
.header-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo { flex: none; max-width: 230px; }
.logo img { height: 48px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a, .menu > li > a, .menu-account > a {
  color: var(--white);
  font-size: 15px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav .current, .menu a:hover, .menu-account > a:hover { color: var(--gold); }
.menu { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.menu form, .menu-account form { margin: 0; }
.menu-account { display: flex; align-items: center; }
.account-menu { position: relative; }
.account-sub {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 40;
  min-width: 180px;
  margin: 0;
  padding: 8px 0;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.account-menu:hover > .account-sub,
.account-menu:focus-within > .account-sub,
.account-menu.is-open > .account-sub { display: block; }
.account-sub a,
.account-sub .nav-link {
  display: block;
  width: 100%;
  padding: 8px 16px;
  color: var(--ink);
  background: none;
  font-size: 14px;
  text-align: left;
}
.account-sub a:hover,
.account-sub .nav-link:hover,
.account-sub a.current { color: var(--burgundy); }
.nav-label { display: none; margin: 0; }
.nav-link {
  background: none;
  border: 0;
  color: var(--white);
  font-size: 15px;
  padding: 10px 12px;
  cursor: pointer;
}
.nav-link:hover { color: var(--gold); }
.account-toggle { display: inline-flex; align-items: center; gap: 8px; }
.account-toggle img[data-portrait] {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
img[data-portrait][hidden],
.user-letter[hidden] { display: none !important; }
.account-initial {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.menu li { position: relative; }
.menu .sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.menu li:hover > .sub, .menu li:focus-within > .sub { display: block; }
.menu .sub a { display: block; padding: 8px 16px; color: var(--ink); font-size: 14px; }
.menu .sub a:hover { color: var(--burgundy); }
.caret { font-size: 10px; opacity: 0.8; }
.nav-toggle {
  display: none;
  margin-left: auto;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--burgundy);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span:before, .nav-toggle span:after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle span:before, .nav-toggle span:after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span:before { top: -6px; }
.nav-toggle span:after { top: 6px; }
.drawer-head, .nav-ico, .tabbar { display: none; }
.drawer-scroll { display: contents; }
.icon {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  /* background:
    linear-gradient(90deg, rgba(76, 18, 20, 0.82) 0%, rgba(144, 34, 37, 0.42) 54%, rgba(144, 34, 37, 0.16) 100%),
    url("../images/hero.jpg") right center / cover no-repeat; */
    background: linear-gradient(90deg, rgb(48 7 9 / 82%) 0%, rgb(34 4 5 / 42%) 54%, rgb(38 12 12 / 16%) 100%), url("../images/hero.jpg") right center / cover no-repeat;
  padding: 140px 0 150px;
  position: relative;
}
.hero h1 { font-size: clamp(34px, 5vw, 64px); max-width: min(640px, 100%); color: var(--white); }
.hero .eyebrow { color: var(--gold); }
.hero p { max-width: 460px; color: rgba(255, 255, 255, 0.82); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}
.hero-grid:has(.next-board) {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
}
.next-board {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 16px;
  background: rgba(76, 18, 20, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  color: var(--white);
}
.next-board .event-dateplate {
  position: static;
  display: flex;
  flex: 0 0 116px;
  flex-direction: column;
  justify-content: center;
  width: 116px;
  min-width: 116px;
}
.next-board-copy { min-width: 0; }
.next-board-copy h2 { margin: 0 0 8px; color: var(--white); font-size: 26px; }
.next-board-copy h2 a:hover { color: var(--gold); }
.next-board .event-kicker {
  width: fit-content;
  margin: 0 0 10px;
  padding: 4px 8px;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.next-board p { max-width: none; margin: 0 0 14px; color: rgba(255, 255, 255, 0.75); }
.next-board .more { margin-top: 0; color: var(--gold); }
.next-board .more:hover { color: var(--white); }
.socials {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
}
.socials a:hover { color: var(--gold); }

.page-hero {
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background: linear-gradient(90deg, rgb(0 0 0 / 82%) 0%, rgb(189 42 46 / 42%) 58%, rgb(38 38 38 / 18%) 100%), #1a0d0d;
  padding: 132px 20px 48px;
}
.page-hero h1 { font-size: clamp(36px, 5vw, 52px); color: var(--white); margin-bottom: 8px; }
.page-hero p { margin: 0; font-size: 18px; font-family: Outfit, sans-serif; }
.event-hero {
  /* min-height: 520px; */
  align-items: end;
  text-align: left;
  padding: 160px 0 56px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.event-hero h1 { max-width: min(720px, 100%); margin-bottom: 10px; }
.event-hero .event-hero-meta {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.current-alert {
  position: fixed;
  z-index: 70;
  right: 16px;
  bottom: 16px;
  display: none;
  width: min(320px, calc(100% - 32px));
  margin: 0;
  padding: 14px 36px 14px 14px;
  background: var(--burgundy);
  color: var(--white);
  border-radius: 14px;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.current-alert.is-open { display: block; }
.current-alert p { margin: 0; font-size: 14px; line-height: 1.45; }
.current-alert p + p { margin-top: 4px; color: rgba(255, 255, 255, 0.78); }
.current-alert span {
  display: block;
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.current-alert a { color: var(--white); font-weight: 600; }
.current-alert-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.current-alert-close:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.verify-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 18px;
  padding: 12px 14px;
  background: #f7f4ee;
  border-left: 3px solid var(--gold);
  min-width: 0;
}
.verify-note p {
  margin: 0;
  flex: 1 1 180px;
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
}
.auth-card .verify-note form {
  display: flex;
  margin: 0;
  flex: none;
}
.verify-note .btn {
  width: auto;
  min-height: 36px;
  padding: 8px 14px;
  white-space: nowrap;
}

.nav-backdrop { display: none; }

.stats-band { margin-top: -72px; position: relative; z-index: 2; padding-bottom: 20px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}
.stat { text-align: center; padding: 34px 12px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong {
  display: block;
  color: var(--burgundy);
  font-family: Outfit, sans-serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.stat > span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section { padding: 88px 0; }
.section.how,
.section.brands { padding: 56px 0; }
.section.section-tight { padding: 36px 0 56px; }

.about-grid, .split, .class-grid, .offer-top, .why-grid {
  display: grid;
  gap: 40px;
}
.about-grid { grid-template-columns: 1fr 1.05fr; align-items: center; }
.feature { display: flex; gap: 14px; margin-top: 22px; }
.feature-icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--burgundy);
  color: var(--white);
}
.feature h3 { font-size: 18px; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

.passion {
  background: var(--burgundy-deep) url("../images/cta.jpg") center / cover;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.passion:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(76, 18, 20, 0.9), rgba(144, 34, 37, 0.55));
}
.passion-copy { position: relative; z-index: 1; padding: 40px 36px; }
.passion-copy h3 { font-size: 26px; color: var(--white); }
.passion-copy p { color: rgba(255, 255, 255, 0.78); }
.signature { width: 150px; height: auto; margin: 8px 0 10px; filter: invert(1); }
.passion .name { letter-spacing: 0.14em; font-size: 13px; color: var(--gold); }

.excellence {
  color: var(--white);
  background: linear-gradient(90deg, rgba(144, 34, 37, 0.18), rgba(76, 18, 20, 0.78) 48%, rgba(76, 18, 20, 0.88));
  padding: 110px 0;
}
.excellence-grid { display: grid; grid-template-columns: 1fr 1fr; }
.excellence-grid .copy { grid-column: 2; }
.excellence h2 { font-size: clamp(32px, 4vw, 46px); color: var(--white); }
.excellence p { color: rgba(255, 255, 255, 0.82); }

.brands {
  position: relative;
  overflow: hidden;
  background: var(--burgundy-deep) url("../images/facility-1.jpg") center / cover no-repeat;
  color: var(--white);
}
.brands::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(76, 18, 20, 0.88), rgba(144, 34, 37, 0.62));
}
.brands > .wrap { position: relative; z-index: 1; }
.brands .eyebrow,
.subscribe .eyebrow,
.page-hero .eyebrow,
.event-panel .eyebrow,
.player-bar .eyebrow,
.passion .eyebrow { color: var(--gold); }
.brands h2 { font-size: clamp(28px, 3vw, 40px); max-width: 460px; }
.brand-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.brand-grid a { display: block; }
.brand-grid img {
  width: 100%;
  height: 84px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 22px;
  filter: grayscale(1) brightness(2);
}

.class-grid, .why-grid { grid-template-columns: 1fr 1fr; }
.class-card, .text-card, .level-card, .facility, .review, .post {
  background: var(--white);
  border: 1px solid var(--line);
}
.class-card { display: grid; grid-template-columns: 180px 1fr; min-height: 180px; }
.class-card img { width: 100%; height: 100%; object-fit: cover; }
.class-card div, .text-card, .level-card div, .facility div, .review, .post div { padding: 22px; }
.class-card h3, .text-card h3, .level-card h3, .facility h3, .post h3 { font-size: 22px; margin-bottom: 8px; }
.class-card p, .text-card p, .level-card p, .facility p, .post p { margin: 0; color: var(--muted); }

.offer-top { grid-template-columns: 0.8fr 1fr 1fr; align-items: start; margin-bottom: 28px; }
.level-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.level-grid > *, .facility-grid > *, .post-grid > *, .review-grid > *, .brand-grid > *, .class-grid > *, .footer-grid > *, .stats > *, .about-grid > *, .why-grid > * { min-width: 0; }
.level-card img, .facility img, .post img { width: 100%; height: 180px; object-fit: cover; }
.more { display: inline-block; margin-top: 14px; color: var(--burgundy); font-weight: 700; font-size: 14px; }
.more:hover { color: var(--burgundy-dark); }

.how { background: var(--paper); }
#how .play-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
#how .play-head h2 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4.2vw, 48px);
}
#how .play-head .lead {
  margin: 0 auto;
  max-width: none;
  text-align: center;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.step { min-width: 0; display: flex; }
.step-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 22px 26px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(27, 27, 27, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.step-icon {
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--gold);
  transition: background 0.3s ease, color 0.3s ease;
}
.step-icon .icon { width: 26px; height: 26px; }
.step-copy { min-width: 0; }
.step:hover .step-icon,
.step:focus-within .step-icon {
  background: var(--gold);
  color: var(--ink);
}
.step:hover .step-body,
.step:focus-within .step-body {
  transform: translateY(-6px);
  border-color: #e4d8bf;
  box-shadow: 0 20px 40px rgba(27, 27, 27, 0.08);
}
.step-copy h3 { font-size: 22px; margin: 0 0 6px; }
.step-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.steps > *, .member-grid > *, .learn-grid > *, .gallery-grid > * { min-width: 0; }
@media (prefers-reduced-motion: no-preference) {
  html.js #how:not(.is-in) .play-head,
  html.js #how:not(.is-in) .step {
    opacity: 0;
    transform: translateY(26px);
  }
  html.js #how.is-in .play-head {
    animation: how-rise 0.7s cubic-bezier(.22, .7, .25, 1) both;
  }
  html.js #how.is-in .step {
    animation: how-rise 0.75s cubic-bezier(.22, .7, .25, 1) both;
  }
  html.js #how.is-in .step:nth-child(1) { animation-delay: 0.12s; }
  html.js #how.is-in .step:nth-child(2) { animation-delay: 0.24s; }
  html.js #how.is-in .step:nth-child(3) { animation-delay: 0.36s; }
  html.js #how.is-in .step:nth-child(4) { animation-delay: 0.48s; }
}
@keyframes how-rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

.badge-muted { background: #6d6d6d; }
.result { margin-top: 12px; color: var(--ink); font-weight: 600; font-size: 14px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.section-head h2 { margin-bottom: 0; }
.section-head .more { margin-top: 0; margin-bottom: 6px; }

.member-grid, .learn-grid {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}
.member-grid { grid-template-columns: repeat(4, 1fr); }
.learn-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.member { text-align: center; }
.member img, .member-fallback { width: 100%; aspect-ratio: 1; object-fit: cover; }
.member-fallback {
  display: grid;
  place-items: center;
  background: var(--paper);
  font-family: Outfit, Inter, sans-serif;
  font-size: 36px;
}
.member h3 { font-size: 18px; margin: 14px 0 4px; }
.member p { margin: 0; color: var(--burgundy); font-size: 14px; }
.member-slider { position: relative; margin-top: 28px; }
.member-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.member-track::-webkit-scrollbar { display: none; }
.member-track .member { flex: 0 0 calc((100% - 54px) / 4); scroll-snap-align: start; }
.slider-btn {
  position: absolute;
  top: 34%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.slider-prev { left: -16px; }
.slider-next { right: -16px; }
.slider-btn:hover { background: var(--gold-dark); }
.card-slider > .slider-nav { display: none; }
.member-slider > .slider-nav { display: contents; }
.members-table .member-thumb {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper);
  font-weight: 600;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.gallery-grid a {
  display: block;
  flex: 1 1 calc((100% - 24px) / 3);
  min-width: calc((100% - 24px) / 3);
  max-width: 100%;
  height: 220px;
  overflow: hidden;
}
.gallery-page a { height: 260px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }
.gallery-all { display: flex; justify-content: center; margin-top: 22px; }
.gallery-all .more { margin-top: 0; }

.why { background: var(--paper); }
.why-grid { margin-top: 36px; }
.why-item { text-align: center; padding: 10px; }
.why-item i {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
  font-style: normal;
  font-family: Outfit, sans-serif;
  font-size: 22px;
}
.why-item p { color: var(--muted); margin: 0; }

.facility-grid, .review-grid, .post-grid { display: grid; gap: 18px; margin-top: 36px; }
.facility-grid { grid-template-columns: repeat(4, 1fr); }
.review-grid, .post-grid { grid-template-columns: repeat(3, 1fr); }
.review-grid { grid-template-columns: repeat(4, 1fr); }
.review img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.review h3 { font-size: 18px; margin: 14px 0 0; }
.review .role { color: var(--burgundy); font-size: 13px; margin: 0 0 10px; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }

.post {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}
.post > div:last-child {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post .more { margin-top: auto; padding-top: 14px; }
.post img { height: 210px; }
.post-grid .post img { height: 280px; }
.event-row { margin-top: 18px; }
.event-row .post img { height: 200px; }
.post-grid-quiet .post img { height: 180px; }
.post-grid-quiet .post h3 { font-size: 18px; }
.event-card .event-dateplate { min-width: 78px; padding: 10px 10px 8px; }
.event-card .event-dateplate strong { font-size: 30px; }
.event-card-quiet .event-dateplate { min-width: 68px; padding: 8px 8px 6px; }
.event-card-quiet .event-dateplate strong { font-size: 24px; }
.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}
.pager a, .pager span {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pager a:hover { background: #f8f4ea; border-color: var(--burgundy); }
.pager .is-current { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
.pager .is-gap { min-width: 28px; border-color: transparent; background: transparent; color: var(--muted); }
.pager .pager-step { width: 44px; padding: 0; }
.pager .pager-step.is-disabled { opacity: 0.38; background: var(--paper); }
.pager .pager-chevron { font-size: 22px; line-height: 1; }
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--burgundy);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 8px;
}
.badge-kicker { background: var(--gold); color: var(--ink); }
.page-hero a { color: var(--gold); }
.page-hero a:hover { color: var(--white); }
.directory-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-bottom: 22px;
}
.directory-bar label {
  display: grid;
  gap: 6px;
  flex: 1 1 220px;
  font-size: 13px;
  font-weight: 600;
}
.directory-bar .directory-sort { flex: 0 0 180px; }
.directory-bar input,
.directory-bar select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: var(--white);
  font-weight: 400;
}
.directory-bar .btn { flex: none; }
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.category-chips a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.category-chips a.is-active,
.category-chips a:hover {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}
.directory-count { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.member-directory { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.member-row {
  display: grid;
  grid-template-columns: 36px 56px minmax(0, 1.6fr) auto auto auto;
  gap: 8px 18px;
  align-items: center;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.member-rank {
  margin: 0;
  color: var(--burgundy);
  font-family: Outfit, Inter, sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}
.member-row .member-thumb {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper);
  font-family: Outfit, Inter, sans-serif;
  font-weight: 600;
}
.member-row h2 { margin: 0; font-size: 22px; }
.member-row h2 a,
.member h3 a { color: inherit; text-decoration: none; }
.member-row h2 a:hover,
.member h3 a:hover { color: var(--burgundy); }
.player-profile { display: grid; gap: 18px; width: 100%; max-width: 760px; min-width: 0; }
.player-profile-head { display: flex; align-items: center; gap: 18px; min-width: 0; }
.player-profile-id {
  display: grid;
  flex: none;
  justify-items: center;
  gap: 6px;
}
.player-profile-id .hint { margin: 0; text-align: center; }
.player-profile-photo {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper);
  font-family: Outfit, Inter, sans-serif;
  font-size: 32px;
  font-weight: 600;
}
.player-profile-rating {
  margin: 4px 0 0;
  color: var(--burgundy);
  font-family: Outfit, Inter, sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}
.player-profile h2 { margin: 8px 0 0; font-size: 22px; }
.player-profile h2.player-profile-name {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.player-profile .player-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.player-profile .player-stats p {
  margin: 0;
  min-width: 0;
  padding: 14px 8px 12px;
  background: #2a1718;
  border-top: 3px solid var(--gold);
  text-align: center;
}
.player-profile .player-stats strong {
  display: block;
  color: var(--white);
  font-family: Outfit, Inter, sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}
.player-profile .player-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.chesscom-card {
  padding: 18px 18px 16px;
  background: #312e2b;
  color: var(--white);
  border-radius: 16px;
  border-top: 3px solid #81b64c;
}
.chesscom-card-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; min-width: 0; }
.chesscom-card .eyebrow { margin: 0; color: #81b64c; }
.chesscom-card a { color: var(--white); font-weight: 600; overflow-wrap: anywhere; }
.chesscom-card a:hover { color: #81b64c; }
.chesscom-card-body { display: flex; align-items: center; gap: 28px; margin-top: 16px; }
.chesscom-blitz, .chesscom-record p { margin: 0; }
.chesscom-blitz strong, .chesscom-record strong {
  display: block;
  font-family: Outfit, Inter, sans-serif;
  font-weight: 600;
  line-height: 1;
}
.chesscom-blitz strong { font-size: 40px; }
.chesscom-record { display: flex; gap: 18px; }
.chesscom-record strong { font-size: 22px; }
.chesscom-card span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.chesscom-card .hint { margin: 14px 0 0; color: rgba(255, 255, 255, 0.78); }
.rating-chart {
  width: 100%;
  height: auto;
  color: var(--burgundy);
  background: linear-gradient(180deg, #f6d5d2 0%, #fff6f4 55%, #ffffff 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: visible;
}
.chart-grid { stroke: rgba(144, 34, 37, 0.28); stroke-width: 1; }
.chart-grid-v { stroke: rgba(144, 34, 37, 0.16); }
.chart-axis {
  fill: #8a746e;
  font-family: Outfit, Inter, sans-serif;
  font-size: 12px;
  font-weight: 600;
}
.chart-hit { fill: transparent; }
.chart-dot { fill: #fff; stroke: var(--burgundy); stroke-width: 2.5; }
.chart-tip { opacity: 0; pointer-events: none; }
.chart-point:hover .chart-tip,
.chart-point:focus-within .chart-tip { opacity: 1; }
.chart-point:hover .chart-dot { fill: var(--burgundy); }
.chart-tip rect { fill: #1a0d0d; }
.chart-tip text {
  fill: #fff;
  font-family: Outfit, Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-anchor: middle;
}
.rating-log {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.rating-log li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}
.rating-log li:first-child { border-top: 0; }
.rating-log-outcome {
  display: inline-flex;
  justify-content: center;
  min-width: 64px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rating-log .is-win .rating-log-outcome { background: #e5f3d8; color: #3d6b22; }
.rating-log .is-draw .rating-log-outcome { background: #f3efe4; color: #7a6840; }
.rating-log .is-loss .rating-log-outcome { background: #f8e4e4; color: #8a3030; }
.rating-log-who { min-width: 0; overflow-wrap: anywhere; }
.rating-log strong {
  font-family: Outfit, Inter, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--burgundy);
}
.member-rating {
  margin: 0;
  color: var(--burgundy);
  font-family: Outfit, Inter, sans-serif;
  font-size: 22px;
  font-weight: 600;
}
.member-rating.is-unrated { color: var(--muted); font-size: 14px; font-weight: 600; }
.member-stat { margin: 0; color: var(--muted); font-size: 14px; text-align: right; }
.related-posts { margin-top: 36px; }
.related-posts h2 { font-size: 22px; }
.related-posts ul { list-style: none; margin: 0; padding: 0; }
.related-posts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.related-posts a { font-weight: 600; }
.related-posts a:hover { color: var(--burgundy); }
.related-posts span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.directory-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}
.directory-head .directory-bar,
.directory-head .directory-count { margin: 0; }
.member-prizes { display: flex; justify-content: flex-start; gap: 8px; }
.player-profile .member-prizes { gap: 16px; margin-top: 4px; }
.player-profile .prize svg { width: 48px; height: 62px; }
.player-profile .prize-count { font-size: 18px; }
.prize { display: inline-flex; align-items: center; gap: 4px; }
.prize svg { width: 28px; height: 36px; display: block; }
.prize-1 { color: var(--gold-dark); }
.prize-2 { color: #8d8d8d; }
.prize-3 { color: #a56a45; }
.prize-count { font-size: 13px; font-weight: 700; }
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
}
.blog-side { position: sticky; top: calc(var(--header) + 16px); min-width: 0; }
.blog-side .directory-bar {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 16px;
}
.blog-side .directory-bar label {
  position: relative;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}
.blog-side .directory-bar input { min-width: 0; }
.blog-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.blog-side .directory-bar .blog-search-btn {
  flex: none;
  width: 48px;
  min-width: 48px;
  padding: 0;
}
.blog-side .directory-bar .blog-search-btn .icon { width: 20px; height: 20px; }
.blog-side .category-chips { flex-direction: column; align-items: stretch; margin: 8px 0 0; }
.blog-side .category-chips h2 {
  margin: 0 0 4px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.blog-rows { display: grid; gap: 18px; }
.blog-rows .event-spotlight { margin-top: 0; }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
.blog-rows + .blog-grid { margin-top: 18px; }
.blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.blog-card-media { position: relative; height: 200px; overflow: hidden; }
.blog-card-media a { position: absolute; inset: 0; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.blog-card h3 { margin: 0 0 8px; font-size: 22px; }
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--burgundy); }
.blog-card p { margin: 0; color: var(--muted); }
.blog-card .meta { margin-top: 14px; font-size: 13px; }
.blog-card .more { margin-top: auto; padding-top: 14px; }
.post-media { position: relative; }
.post > a,
.post-media > a { display: block; }
.post h3 a,
.event-spotlight-body h3 a { color: inherit; text-decoration: none; }
.post h3 a:hover { color: var(--burgundy); }
.event-spotlight-body h3 a:hover { color: var(--gold); }
.post .meta { margin-top: 16px; color: var(--muted); font-size: 13px; }

.article { max-width: 760px; }
.event-rsvp {
  margin: 28px 0 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.event-rsvp > p { margin: 0; }
.event-rsvp > p + p,
.event-rsvp > .action-row,
.event-rsvp > form { margin-top: 14px; }
.event-rsvp > form { margin-bottom: 0; }
.article-cover { display: block; width: 100%; max-height: 460px; object-fit: cover; margin: 0 auto 20px; }
@media (min-width: 681px) {
  .article-cover { width: min(100%, 460px); max-height: 260px; }
}
.article .meta { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.article .body h2, .article .body h3 { margin: 1.4em 0 0.4em; }
.article .body p { margin: 0 0 1em; }
.article .body ul, .article .body ol { margin: 0 0 1em; padding-left: 1.2em; }
.article .body a { color: var(--burgundy); }
.article .body img { width: auto; max-width: 100%; height: auto; max-height: none; object-fit: contain; margin: 1em 0; }
.article .body img.diagram { display: block; width: min(100%, 520px); margin: 0.2em 0 1.2em; }
.article .body ul.pieces { list-style: none; margin: 0 0 1.2em; padding: 0; }
.article .body ul.pieces li { display: flex; align-items: center; gap: 16px; margin: 0 0 12px; }
.article .body ul.pieces img { width: 84px; height: 84px; flex: none; margin: 0; background: var(--paper); }
.article .body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; margin: 1em 0; }
.article-files { display: grid; gap: 16px; margin-top: 28px; }
.article-files video { width: 100%; max-height: 480px; background: #111; }
.article-files .article-attachment { width: 100%; height: auto; max-height: none; object-fit: contain; }
.event-media {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}
.event-media a,
.event-media video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
}
.event-media video { height: auto; object-fit: contain; }
.event-media a img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 980px) {
  .event-media { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .event-media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.article-file {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.event-stack { display: grid; gap: 28px; margin-top: 32px; }
.event-stack .event-spotlight { margin-top: 0; }

.event-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.85fr);
  margin-top: 32px;
  min-height: 480px;
  background: var(--burgundy-deep) center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.event-spotlight-media { position: relative; min-height: 280px; }
.event-spotlight-media > a { position: absolute; inset: 0; z-index: 1; }
.event-spotlight-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-spotlight-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(76, 18, 20, 0.45));
  pointer-events: none;
}
.event-dateplate {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 22px;
  min-width: 92px;
  padding: 12px 12px 10px;
  background: var(--white);
  color: var(--ink);
  text-align: center;
}
.event-dateplate span {
  display: block;
  color: var(--burgundy);
  text-transform: uppercase;
}
.event-dateplate strong {
  display: block;
  margin: 2px 0;
  font-family: Outfit, sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}
.event-spotlight-body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px;
  background: linear-gradient(90deg, rgba(76, 18, 20, 0.78), rgba(76, 18, 20, 0.9));
}
.event-spotlight-body > * { position: relative; z-index: 1; }
.event-spotlight-body .event-kicker {
  width: fit-content;
  margin: 0 0 16px;
  padding: 6px 10px;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.event-spotlight-body h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: clamp(32px, 3.4vw, 46px);
}
.event-spotlight-body .event-excerpt {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.78);
}
.event-spotlight-body .event-meta {
  margin: 0 0 28px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.event-spotlight .btn { align-self: flex-start; }

.blog-rows .blog-feature {
  display: block;
  position: relative;
  min-height: 460px;
}
.blog-feature .event-spotlight-media {
  position: absolute;
  inset: 0;
  height: auto;
  min-height: 0;
}
.blog-feature .event-spotlight-media::after {
  height: 68%;
  background: linear-gradient(to top, rgb(18 4 4 / 94%) 0%, rgb(58 42 42 / 95%) 46%, #ffffff00 100%)
}
.blog-feature .event-dateplate {
  top: 20px;
  right: 20px;
  bottom: auto;
  left: auto;
  z-index: 2;
}
.blog-feature .event-spotlight-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 28px 28px 26px;
  background: none;
}
.blog-feature-title { flex: 1.15 1 200px; min-width: 0; }
.blog-feature-title .event-kicker { margin: 0 0 10px; }
.blog-feature .event-spotlight-body h3 {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 38px);
}
.blog-feature .event-excerpt {
  flex: 1 1 180px;
  min-width: 0;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-feature-actions {
  display: flex;
  flex: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  max-width: 100%;
  margin-left: auto;
}
.blog-feature-actions .event-meta { margin: 0; }
.blog-feature .btn { align-self: center; flex: none; }
@media (max-width: 680px) {
  .blog-rows .blog-feature { min-height: 460px; }
  .blog-feature .event-dateplate { top: 12px; right: 12px; }
  .blog-feature .event-spotlight-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 16px 16px;
  }
  .blog-feature-title,
  .blog-feature .event-excerpt,
  .blog-feature-actions {
    flex: none;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
  .blog-feature-actions { justify-content: flex-start; }
  .blog-feature .event-excerpt { -webkit-line-clamp: 2; line-clamp: 2; }
  .blog-feature .btn { width: 100%; }
}

.cta {
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(rgba(76, 18, 20, 0.72), rgba(144, 34, 37, 0.58)),
    url("../images/cta.jpg") center / cover no-repeat;
  padding: 100px 20px;
}
.cta h2 { font-size: clamp(32px, 4vw, 46px); max-width: 760px; margin: 0 auto 16px; color: var(--white); }
.cta p { max-width: 640px; margin: 0 auto 24px; color: rgba(255, 255, 255, 0.84); }

.site-footer {
  background: #111111;
  color: rgba(255, 255, 255, 0.7);
  border-top: 3px solid var(--gold);
  padding: 52px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: 36px 28px;
  padding-bottom: 40px;
}
.footer-brand img { height: 48px; width: auto; }
.footer-brand p {
  margin: 16px 0 0;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.6;
}
.footer-subscribe {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.site-footer h2 {
  margin: 0 0 6px;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-subscribe p {
  margin: 0;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.6;
}
.footer-subscribe .newsletter {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  max-width: 360px;
  margin-top: 4px;
}
.footer-subscribe .newsletter-fields { display: flex; width: 100%; }
.footer-subscribe .newsletter input { border: 0; min-height: 48px; }
.footer-subscribe .newsletter button {
  border: 0;
  min-height: 48px;
  padding: 0 16px;
  background: var(--burgundy);
  color: var(--white);
  cursor: pointer;
}
.footer-subscribe .newsletter button:hover { background: var(--burgundy-dark); color: var(--white); }
.footer-subscribe .newsletter button:disabled { opacity: 0.6; cursor: default; }
.footer-subscribe .form-note { color: var(--gold); width: 100%; margin: 0; }
.footer-subscribe .form-note.is-error { color: #ffb4b4; }
.footer-subscribe .form-note[hidden] { display: none; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0 20px;
  text-align: center;
}
.footer-bottom p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.45); }
.g-recaptcha {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.grecaptcha-badge { visibility: hidden !important; }
.newsletter { display: flex; margin-top: 12px; }
.newsletter input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: var(--white);
}
.newsletter button { border: 0; background: var(--burgundy); color: var(--white); padding: 0 16px; cursor: pointer; }
.form-note { min-height: 1.2em; font-size: 14px; color: var(--ink); }
.legal {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding: 16px 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.legal nav { display: flex; gap: 16px; }

.avatar-editor {
  display: flex;
  align-items: center;
  gap: 16px;
}
.auth-card .avatar-editor label.btn {
  position: relative;
  display: inline-flex;
  width: auto;
  margin: 0;
  cursor: pointer;
}
.avatar-portrait {
  position: relative;
  display: block;
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
}
.avatar-field img,
.avatar-letter {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper);
  color: var(--ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 32px;
  font-weight: 600;
}
.avatar-field img[hidden],
.avatar-letter[hidden] { display: none; }
.avatar-editor input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.profile-hint { margin: -6px 0 0; font-size: 13px; color: var(--muted); }
.profile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.profile-actions .btn { width: auto; }
.profile-card { max-width: 560px; }
.profile-card,
.profile-card form,
.profile-group { min-width: 0; max-width: 100%; }
.profile-group {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 20px 0 4px;
  border-top: 1px solid var(--line);
}
.profile-group:first-child { padding-top: 0; border-top: 0; }
.profile-label {
  margin: 0;
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.profile-ratings {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.profile-rating {
  flex: 1 1 150px;
  min-width: 0;
  padding: 14px 16px 12px;
  background: var(--paper);
  border-top: 3px solid var(--gold);
}
.profile-rating[hidden] { display: none !important; }
.profile-rating strong {
  display: block;
  color: var(--burgundy);
  font-family: Outfit, Inter, sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}
.profile-rating span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.profile-rating p,
.profile-rating a {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}
.profile-rating a { display: inline-block; color: var(--burgundy); }
.profile-rating a[hidden],
.profile-rating p[hidden] { display: none !important; }
.auth-card { max-width: 460px; }
.auth-card form { display: grid; gap: 14px; }
.auth-card label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"],
.auth-card input[type="tel"],
.auth-card input[type="number"] {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: var(--white);
  font-weight: 400;
}
.auth-card .check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.auth-card .check input { width: auto; }
.auth-card .hint { margin: 0; color: var(--muted); font-size: 13px; font-weight: 400; }
.field-error { color: #8a3b3b; margin: -6px 0 0; font-size: 14px; }
.field-error:empty { display: none; }
.auth-switch { margin-top: 18px; }
.auth-switch a { color: var(--burgundy); }

.contact-grid {
  display: grid;
  width: min(560px, 100%);
  margin-inline: auto;
  gap: 32px;
}
.contact-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.contact-card label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.contact-card input,
.contact-card textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
.contact-card textarea { min-height: 150px; resize: vertical; }
.contact-card .btn { justify-self: start; }
.contact-card .page-note { margin: 0; color: var(--burgundy); font-weight: 600; }

.tournament { margin-top: 48px; }
.round-tabs {
  display: flex;
  width: 100%;
  max-width: 100%;
  margin: 28px 0 0;
}
.round-tabs a {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  margin-left: -1px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.round-tabs a:first-child {
  margin-left: 0;
  border-radius: 12px 0 0 12px;
}
.round-tabs a:last-child { border-radius: 0 12px 12px 0; }
.round-tabs a.is-active,
.round-tabs a:hover {
  z-index: 1;
  color: var(--white);
  background: var(--burgundy);
  border-color: var(--burgundy);
}
.finished-panel { margin-top: 16px; }
.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  margin: 4px 0 22px;
}
.podium-place {
  flex: 1 1 0;
  max-width: 220px;
  margin: 0;
  padding: 18px 14px 16px;
  border-radius: 16px;
  text-align: center;
}
.podium-place p { margin: 0; }
.podium-place.place-1 {
  min-height: 220px;
  background: var(--gold);
  box-shadow: inset 0 5px 0 #f4ead2;
}
.podium-place.place-2 { min-height: 176px; background: #ececec; }
.podium-place.place-3 { min-height: 156px; background: #ead7c4; }
.podium-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: #1b1b1b;
}
.podium-place.place-1 .podium-badge { background: var(--burgundy); color: var(--gold); }
.podium-place.place-2 .podium-badge { color: #5c5c5c; }
.podium-place.place-3 .podium-badge { color: #8a5a32; }
.podium-badge .icon { width: 26px; height: 26px; }
.podium-medal {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.podium-name {
  margin-top: 10px;
  font-family: Outfit, Inter, sans-serif;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.25;
}
.podium-points { margin-top: 6px; font-size: 13px; color: var(--muted); }
.event-winners {
  display: grid;
  justify-items: center;
  margin: 0 auto 36px;
  text-align: center;
}
.event-winners .eyebrow { margin-bottom: 8px; }
.event-winners h2 {
  margin: 0 0 22px;
  font-size: clamp(32px, 4vw, 44px);
}
.event-winners .podium {
  align-items: flex-end;
  justify-content: center;
  width: min(100%, 820px);
  gap: 16px;
  margin: 0;
}
.event-winners .podium-place {
  flex: 1 1 0;
  max-width: 240px;
  padding: 26px 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(27, 27, 27, 0.06);
}
.event-winners .podium-place.place-1 {
  min-height: 268px;
  background: var(--white);
  border-color: #eadcba;
  box-shadow: 0 24px 48px rgba(168, 146, 92, 0.16);
}
.event-winners .podium-place.place-2 { min-height: 228px; background: var(--white); }
.event-winners .podium-place.place-3 { min-height: 204px; background: var(--white); }
.event-winners .podium-place.place-1 { border-top: 4px solid var(--gold); }
.event-winners .podium-place.place-2 { border-top: 4px solid #cfcfcf; }
.event-winners .podium-place.place-3 { border-top: 4px solid #e4c7aa; }
.event-winners .podium-badge {
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(27, 27, 27, 0.04);
}
.event-winners .podium-place.place-1 .podium-badge { background: var(--burgundy); color: var(--gold); }
.event-winners .podium-place.place-2 .podium-badge { color: #6a6a6a; }
.event-winners .podium-place.place-3 .podium-badge { color: #8a5a32; }
.event-winners .podium-medal { color: var(--muted); }
.event-winners .podium-place.place-1 .podium-medal { color: var(--gold-dark); }
.event-winners .podium-name { font-size: 22px; }
.event-winners .podium-points {
  margin-top: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.event-ticker-mobile { display: none; }
.event-desk.is-playing {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}
.event-desk.is-open { grid-template-columns: minmax(0, 1fr); }
.tournament h2 { margin-bottom: 8px; }
.tournament form { margin: 16px 0; }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.page-note { margin: 12px 0; }
.your-game {
  margin: 28px 0;
  padding: 20px 22px;
  background: var(--paper);
}
.your-game p { margin: 0 0 8px; }
.your-game p:last-child { margin-bottom: 0; }
.standings,
.pairings { width: 100%; max-width: 100%; border-collapse: collapse; margin-top: 12px; }
.standings th, .standings td, .pairings th, .pairings td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.pairings th, .pairings td { white-space: nowrap; padding: 8px 10px; }
.pairings .col-board,
.pairings .col-result,
.pairings .vs { width: 1%; }
.pairings .vs {
  padding-left: 8px;
  padding-right: 8px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}
.pairings .piece {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 12px;
  border-radius: 2px;
  vertical-align: -1px;
}
.pairings .piece-white { background: #fff; border: 1px solid #bdbdbd; }
.pairings .piece-black { margin-right: 0; margin-left: 12px; background: #1b1b1b; border: 1px solid #1b1b1b; }
.standings th, .pairings th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.standings th,
.standings td { white-space: nowrap; }
.standing-player,
.pairings th:nth-child(2),
.pairings th:nth-child(4),
.pairings td:nth-child(2),
.pairings td:nth-child(4) {
  width: 1px;
  white-space: nowrap;
}
.col-fill { width: auto; padding-left: 0; padding-right: 0; }
.results-wrap,
.round-block { overflow-x: auto; }
.place-mark {
  display: inline-block;
  min-width: 1.6em;
  margin-right: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  vertical-align: middle;
  color: var(--burgundy);
}
.standings .is-you, .pairings .is-you { background: var(--paper); }
.round-block { margin-top: 28px; }
.round-block h3 { margin: 0; font-size: 22px; }
.results-wrap { overflow-x: auto; }
.player-name-short { display: none; }
.th-short { display: none; }
.tournament-list { display: grid; gap: 16px; }
.tournament-card {
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}
.tournament-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.tournament-card h2 { margin: 4px 0 6px; font-size: 22px; line-height: 1.2; }
.tournament-card h2 a:hover { color: var(--burgundy); }
.tournament-card .meta { margin: 0; color: var(--muted); font-size: 14px; }
.tournament-place {
  flex: none;
  min-width: 92px;
  margin: 0;
  padding: 12px 10px;
  border: 2px solid var(--gold);
  border-radius: 16px;
  background: var(--burgundy);
  color: var(--white);
  text-align: center;
}
.tournament-place strong {
  display: block;
  color: var(--white);
  font-family: Outfit, Inter, sans-serif;
  font-size: 28px;
  line-height: 1;
}
.tournament-place span { color: var(--gold); font-size: 12px; }
.status-pill {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.status-registered { background: var(--paper); color: var(--burgundy); }
.status-progress { background: var(--gold); color: var(--ink); }
.status-finished { background: var(--burgundy); color: var(--white); }
.tournament-list-title { margin: 0 0 8px; font-size: 28px; }
.board-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  font-weight: 600;
}
.board-line .piece {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex: none;
}
.board-line .piece-white { background: #fff; border: 1px solid #bdbdbd; }
.board-line .piece-black { background: #1b1b1b; border: 1px solid #1b1b1b; }
.board-line .vs {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}
.board-result {
  margin-left: auto;
  color: var(--burgundy);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.event-desk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}
.event-desk .article { max-width: none; }
.event-story .more,
.event-foot { margin-top: 28px; }
.event-foot .more { margin-top: 0; }
.event-panel {
  position: sticky;
  top: calc(var(--header) + 16px);
  padding: 22px;
  background: #111111;
  color: var(--white);
  border-bottom: 3px solid var(--gold);
}
.event-panel > p { margin: 0; color: rgba(255, 255, 255, 0.82); }
.event-panel > p + p,
.event-panel > .action-row,
.event-panel > form { margin-top: 14px; }
.event-panel > form { margin-bottom: 0; }
.event-panel .page-note { color: var(--gold); }
.event-panel .field-error { color: #ffb4b4; }
.event-panel .btn-line { color: var(--white); border-color: rgba(255, 255, 255, 0.75); }
.event-panel .btn-line:hover { background: var(--white); color: var(--ink); }
.event-tables { margin-top: 56px; }
.event-panel.is-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 16px;
  text-align: center;
}
.board-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 0;
  padding: 0;
  background: none;
  border: 0;
  text-align: center;
}
.board-card .eyebrow { margin-bottom: 8px; }
.board-card p { margin: 0; color: rgba(255, 255, 255, 0.82); }
.board-place { margin-top: 2px; }
.board-card-meta { margin-top: 10px; font-size: 14px; }
.board-card-result { margin-top: 8px; color: var(--gold); font-weight: 600; }
.event-panel .board-line { justify-content: center; margin-top: 10px; color: var(--white); }
.event-panel .board-line .vs { color: rgba(255, 255, 255, 0.5); }
.event-panel .piece-black { background: #111; border: 1px solid #d8d8d8; }
.player-bar {
  padding: calc(var(--header) + 28px) 0 32px;
  background: #282828;
  color: var(--white);
}
.player-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.player-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.player-id img,
.player-id > span {
  width: 64px;
  height: 64px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
  font-family: Outfit, Inter, sans-serif;
  font-size: 26px;
  font-weight: 600;
}
.player-bar h1 { margin: 0 0 2px; color: var(--white); font-size: clamp(28px, 3vw, 36px); }
.player-bar p {
  margin: 0;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.player-nav { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; }
.player-nav a { padding: 10px 14px; color: rgba(255, 255, 255, 0.8); font-weight: 600; }
.player-nav a.current,
.player-nav a:hover { color: var(--gold); }
.start-ticker {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.start-ticker-label {
  margin: 0;
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.start-ticker-clock { display: flex; gap: 8px; margin: 0; }
.start-ticker-clock[hidden] { display: none !important; }
.start-ticker-clock span {
  display: grid;
  justify-items: center;
  min-width: 52px;
  padding: 8px 6px;
  border-radius: 10px;
  background: var(--white);
}
.start-ticker-clock strong {
  font-family: Outfit, Inter, sans-serif;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.start-ticker-clock small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.event-panel .start-ticker {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}
.event-panel .start-ticker-label { color: var(--gold); }
.event-panel .start-ticker-clock span { background: rgba(0, 0, 0, 0.35); }
.event-panel .start-ticker-clock strong { color: var(--white); }
.event-panel .start-ticker-clock small { color: rgba(255, 255, 255, 0.55); }
.tournament-note { margin: 16px 0 0; }
.tournament-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.tournament-actions form { margin: 0; }
.tournament-actions .btn { min-height: 42px; }
.tournament-fold { margin-top: 16px; border-top: 1px solid var(--line); }
.tournament-fold summary {
  cursor: pointer;
  padding: 14px 0 0;
  font-weight: 600;
  list-style: none;
}
.tournament-fold summary::-webkit-details-marker { display: none; }
.tournament-fold summary::after { content: " +"; color: var(--burgundy); }
.tournament-fold[open] summary::after { content: " –"; }
.tournament-fold .round-tabs { margin-top: 16px; }
.account-block { margin-top: 48px; }
.account-block > h2 { margin-bottom: 8px; }
.account-event { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.account-event h3 { margin: 0 0 8px; }
.account-event h3 a { color: inherit; }
.account-event h3 a:hover { color: var(--burgundy); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 50; }
  body.nav-open .site-header { z-index: 45; }
  body.nav-open .header-inner > .logo { visibility: hidden; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 35;
    background: rgba(76, 18, 20, 0.55);
  }
  .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(340px, 88vw);
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    background: #111111;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.35);
    z-index: 40;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.2s ease;
  }
  .drawer-scroll {
    display: flex;
    flex: 1 1 0%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    height: 100%;
    min-height: 0;
    width: 100%;
    padding: 16px 16px calc(120px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
  .drawer-head,
  .menu,
  .menu-account { flex-shrink: 0; }
  .drawer-head {
    display: flex;
    align-items: center;
    min-height: 52px;
    margin-bottom: 10px;
    padding-right: 52px;
  }
  .drawer-logo img { height: 40px; width: auto; }
  .nav-ico {
    display: grid;
    width: 36px;
    height: 36px;
    flex: none;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold);
  }
  .menu a.current .nav-ico,
  .account-sub a.current .nav-ico { background: var(--gold); color: var(--ink); }
  .nav.open { transform: translateX(0); }
  .nav-label {
    display: block;
    padding: 0 14px 8px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .menu { flex-direction: column; align-items: stretch; gap: 4px; }
  .menu > li > a,
  .menu-account > a,
  .menu-account .nav-link,
  .account-sub a {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    padding: 8px 10px;
  }
  .menu a.current,
  .menu-account > a.current { background: rgba(196, 175, 120, 0.16); color: var(--gold); }
  .menu .sub { position: static; display: block; background: transparent; box-shadow: none; padding-left: 12px; }
  .menu .sub a { color: var(--white); }
  .menu-account {
    display: grid;
    gap: 4px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .account-sub {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 0 12px;
    background: transparent;
    box-shadow: none;
  }
  .account-sub a,
  .account-sub .nav-link { color: var(--white); }
  .account-sub a.current { color: var(--gold); }
  .menu-account .nav-link { width: 100%; text-align: left; }
  .nav .btn { display: inline-flex; justify-content: center; width: 100%; margin-top: 8px; }
  .socials { display: none; }
  .stats, .about-grid, .passion, .excellence-grid, .class-grid, .offer-top, .why-grid, .facility-grid, .review-grid, .footer-grid, .steps, .member-grid {
    grid-template-columns: 1fr 1fr;
  }
  .level-grid, .post-grid, .learn-grid { grid-template-columns: 1fr 1fr; }
  .card-track.swipe-track {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: auto;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    cursor: grab;
  }
  .card-track.swipe-track::-webkit-scrollbar { display: none; }
  .card-track.swipe-track > * {
    flex: 0 0 86%;
    scroll-snap-align: start;
  }
  .card-track.swipe-track img {
    -webkit-user-drag: none;
    user-select: none;
  }
  #blog .card-track.swipe-track img { pointer-events: none; }
  .card-track.swipe-track.is-dragging { cursor: grabbing; }
  .event-spotlight,
  .hero-grid:has(.next-board),
  .event-desk,
  .blog-layout { grid-template-columns: minmax(0, 1fr); }
  .blog-layout > * { min-width: 0; }
  .blog-side { position: static; order: -1; }
  .blog-side .directory-bar { margin-bottom: 12px; }
  .blog-side .category-chips {
    position: relative;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .blog-side .category-chips::-webkit-scrollbar { display: none; }
  .blog-side .category-chips h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .blog-side .category-chips a {
    flex: none;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    white-space: nowrap;
  }
  .event-spotlight { min-height: 0; }
  .event-panel { position: static; }
  .event-ticker-mobile { display: block; margin-bottom: 8px; }
  .event-panel .start-ticker { display: none; }
  .event-desk.is-playing { grid-template-columns: minmax(0, 1fr); }
  .event-spotlight-media { height: 320px; }
  .member-track .member { flex-basis: calc((100% - 18px) / 2); }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
  .gallery-grid { gap: 10px; }
  .gallery-grid a {
    flex-basis: calc((100% - 10px) / 2);
    min-width: calc((100% - 10px) / 2);
    height: 170px;
  }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .tabbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 46;
    background: #282828;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  }
  .tabbar a,
  .tabbar button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 48px;
    padding: 2px 2px;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, 0.62);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.15;
    text-align: center;
    cursor: pointer;
  }
  .tabbar a span { max-width: 100%; }
  .tabbar a.current,
  .tabbar button.is-on,
  .tabbar a:hover,
  .tabbar button:hover { color: var(--gold); }
  .tabbar .icon { width: 22px; height: 22px; }
  input,
  select,
  textarea,
  .contact-card input,
  .contact-card textarea,
  .auth-card input,
  .directory-bar input,
  .directory-bar select,
  .newsletter input {
    font-size: 16px;
  }
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .excellence-grid .copy { grid-column: 1 / -1; }
  .offer-top .lead { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .wrap,
  .header-inner { padding-left: 16px; padding-right: 16px; }
  .section { padding: 40px 0; }
  .section.how,
  .section.brands { padding: 32px 0; }
  .section.section-tight { padding: 24px 0 32px; }
  .subscribe { padding: 40px 0; }
  .member-track { gap: 10px; }
  .member-track .member { flex-basis: calc((100% - 10px) / 2); }
  .slider-nav,
  .card-slider > .slider-nav,
  .member-slider > .slider-nav { display: none; }
  .podium { flex-direction: column; align-items: stretch; }
  .podium-place { max-width: none; min-height: 0; }
  .podium-place.place-1 { order: -1; }
  .hero {
    min-height: 0;
    padding: 112px 0 64px;
  }
  .hero-grid { gap: 20px; }
  .hero h1 { font-size: 30px; }
  .hero p { max-width: 100%; }
  .next-board { gap: 12px; padding: 12px; }
  .next-board-copy h2 { font-size: 22px; }
  .stats, .about-grid, .passion, .class-grid, .why-grid, .facility-grid, .review-grid, .level-grid, .post-grid, .class-card, .member-grid, .learn-grid {
    grid-template-columns: 1fr;
  }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-head .more { margin-bottom: 0; }
  .steps { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .step-body {
    align-items: center;
    gap: 12px;
    padding: 22px 18px;
  }
  .step:hover .step-body,
  .step:focus-within .step-body { transform: none; }
  .step-icon { width: 48px; height: 48px; }
  .step-icon .icon { width: 22px; height: 22px; }
  .step-copy h3 { font-size: 18px; margin-bottom: 2px; }
  .step-copy p { font-size: 14px; line-height: 1.45; }
  .gallery-grid { gap: 8px; margin-top: 20px; }
  .gallery-grid a,
  .gallery-page a {
    flex-basis: calc((100% - 8px) / 2);
    min-width: calc((100% - 8px) / 2);
    height: 150px;
  }
  .brand-grid { grid-template-columns: 1fr 1fr; margin-top: 20px; }
  .brand-grid img { height: 72px; padding: 10px 12px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .legal { flex-direction: column; }
  .page-hero {
    min-height: 0;
    padding: 92px 16px 20px;
  }
  .page-hero h1 { font-size: 32px; }
  .page-hero p { font-size: 18px; }
  .event-hero { min-height: 0; padding: 92px 0 24px; text-align: left; }
  .event-hero h1 { max-width: none; }
  .directory-bar .directory-sort { flex-basis: 100%; }
  .member-directory { gap: 8px; }
  .member-row {
    grid-template-columns: 22px 36px minmax(0, 1fr) auto;
    gap: 2px 10px;
    padding: 8px 10px;
    border-radius: 12px;
  }
  .member-rank { font-size: 14px; }
  .member-row .member-thumb { width: 36px; height: 36px; font-size: 13px; }
  .member-row h2 { font-size: 16px; }
  .member-row h2,
  .member-rank,
  .member-row .member-thumb { grid-row: 1; }
  .member-rating {
    grid-column: 4;
    grid-row: 1;
    font-size: 16px;
    text-align: right;
  }
  .member-stat { display: none; }
  .member-prizes {
    grid-column: 3 / 5;
    grid-row: 2;
    gap: 6px;
  }
  .member-prizes:not(:has(.prize)) { display: none; }
  .member-prizes .prize svg { width: 18px; height: 24px; }
  .member-prizes .prize-count { font-size: 12px; }
  .directory-head { flex-direction: column; align-items: stretch; }
  .blog-grid { grid-template-columns: 1fr; }
  .related-posts li { flex-direction: column; gap: 4px; }
  .player-bar-inner { align-items: flex-start; flex-direction: column; }
  .player-nav { width: 100%; gap: 4px 16px; }
  .player-nav a { padding: 6px 0; }
  .page-hero h1,
  .player-profile-rating { overflow-wrap: anywhere; }
  .player-profile .player-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-profile .player-stats p:last-child { grid-column: 1 / -1; }
  .player-profile .player-stats strong { font-size: 24px; }
  .player-profile .player-stats span { letter-spacing: 0.04em; }
  .player-profile .prize svg { width: 40px; height: 52px; }
  .rating-chart { overflow: hidden; }
  .rating-log li { grid-template-columns: 68px minmax(0, 1fr) auto; gap: 8px; padding: 10px 12px; }
  .chesscom-card { padding: 16px; }
  .chesscom-card-body { align-items: flex-start; flex-wrap: wrap; gap: 16px; }
  .chesscom-record { flex-wrap: wrap; gap: 12px 18px; }
  .tournament-list { gap: 12px; }
  .tournament-list-title { font-size: 22px; }
  .tournament-card { padding: 16px; border-radius: 14px; }
  .tournament-card h2 { font-size: 18px; }
  .tournament-card-head { flex-direction: column; gap: 12px; }
  .tournament-place { min-width: 0; align-self: flex-start; padding: 8px 12px; }
  .tournament-place strong { font-size: 22px; }
  .tournament-actions { gap: 8px; }
  .tournament-actions form { flex: 1 1 0; }
  .tournament-actions .btn { width: 100%; min-height: 40px; padding: 0 12px; font-size: 12px; }
  .tournament-card .start-ticker { padding: 12px; }
  .tournament-card .start-ticker-clock { flex-wrap: wrap; }
  .tournament-card .start-ticker-clock span { flex: 1 1 64px; min-width: 0; }
  .tournament-card .board-line { font-size: 14px; }
  .auth-card.profile-card { width: 100%; max-width: none; }
  .verify-note {
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
  }
  .verify-note p { flex: none; }
  .verify-note .btn { align-self: flex-start; }
  .current-alert { right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .board-result { margin-left: 0; }
  .th-long { display: none; }
  .th-short { display: inline; }
  .th-short.piece {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    vertical-align: middle;
  }
  .piece-white { background: #fff; border: 1px solid #c8c8c8; }
  .piece-black { background: #1b1b1b; border: 1px solid #1b1b1b; }
  .player-name { position: relative; }
  .player-name-full { display: none; }
  .player-name-short { display: inline; }
  .player-name-short { cursor: pointer; }
  .player-name-short.is-open::after,
  .player-name-short:hover::after,
  .player-name-short:focus::after {
    content: attr(title);
    position: absolute;
    left: 0;
    bottom: calc(100% + 6px);
    z-index: 4;
    padding: 6px 8px;
    border-radius: 6px;
    background: var(--burgundy-deep);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.3;
    text-transform: none;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    pointer-events: none;
  }
  .round-block, .results-wrap { overflow-x: auto; }
  .standings { min-width: 0; font-size: 13px; }
  .pairings { min-width: 0; font-size: 13px; }
  .standings th, .pairings th { font-size: 11px; letter-spacing: 0.04em; }
  .standings th, .standings td, .pairings th, .pairings td { padding: 6px; }
  .event-spotlight-media { height: 200px; }
  .event-spotlight-body { padding: 20px 16px 24px; }
  .event-spotlight-body h3 { font-size: 26px; }
  .event-stack { gap: 16px; margin-top: 16px; }
  .event-dateplate { left: 14px; bottom: 14px; }
  .event-dateplate strong { font-size: 32px; }
  .passion { min-height: 0; }
  .passion-copy { padding: 24px 20px; }
  .passion .signature { width: 150px; height: auto; }
  .passion > img { height: 240px; width: 100%; object-fit: contain; object-position: bottom center; align-self: end; }
  .site-footer { padding-top: 36px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 28px 16px;
    padding-bottom: 28px;
    text-align: center;
  }
  .footer-brand,
  .footer-subscribe { grid-column: 1 / -1; }
  .footer-brand,
  .footer-subscribe { align-items: center; }
  .footer-brand p { max-width: 320px; }
  .footer-bottom { text-align: center; }
  .contact-grid { gap: 24px; }
  .contact-card { padding: 18px; }
  .event-panel .action-row { flex-direction: column; align-items: stretch; }
  .event-panel .action-row form,
  .event-panel > form { width: 100%; }
  .event-panel .action-row .btn,
  .event-panel > form .btn { width: 100%; }
  .blog-card-media { height: 180px; }
  .blog-card-body { padding: 16px; }
  .blog-card h3 { font-size: 20px; }
  .card-track.post-grid {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: auto;
    scrollbar-width: none;
  }
  .card-track.post-grid::-webkit-scrollbar { display: none; }
  .card-track.post-grid > * {
    flex: 0 0 86%;
    scroll-snap-align: start;
  }
}

@media (max-width: 860px) {
  .event-winners .podium {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .event-winners .podium-place,
  .event-winners .podium-place.place-1,
  .event-winners .podium-place.place-2,
  .event-winners .podium-place.place-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: none;
    width: min(100%, 340px);
    max-width: 340px;
    min-height: 0;
    text-align: center;
  }
  .event-winners .podium-place.place-1 { order: -1; }
  .event-winners .podium-badge {
    margin-right: auto;
    margin-left: auto;
  }
}

