/* Inter self-hosted (static/fonts) — no Google Fonts round-trip. */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/InterVariable.woff2") format("woff2");
}

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

html {
  background: var(--page-bg, #010409);
  color-scheme: dark;
}

:root {
  --maize: #FFCB05;
  --blue: #001224;
  --blue-light: #0a1c2e;
  --site-chrome: var(--blue);
  --site-chrome-border: #14283c;
  --page-bg: #010409;
  --white: #FFF;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-800: #262626;
  --green: #16a34a;
  --green-light: #dcfce7;
  --green-text: #166534;
  --surface: #060f1a;
  --surface-elevated: #0b1826;
  --surface-border: rgba(120, 170, 220, 0.18);
  --text-muted: rgba(255, 255, 255, 0.62);
  --color-text-primary: #f8fafc;
  --color-text-secondary: rgba(255, 255, 255, 0.62);
  --color-background-primary: var(--surface);
  --color-background-secondary: var(--page-bg);
  --color-border-tertiary: var(--surface-border);
  --color-border-secondary: rgba(255, 255, 255, 0.16);
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui-heavy: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-hand: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --green-border: #22c55e;
  --green-border-soft: #86efac;
  --maize-hover: #ffe066;

  /* Ohio State Buckeyes */
  --osu-scarlet: #BB0000;
  --osu-gray: #666666;
  --osu-white: #FFFFFF;

  /* Oklahoma Sooners */
  --ou-crimson: #841617;
  --ou-white: #FFFFFF;

  /* UTEP Miners */
  --utep-orange: #FF8200;
  --utep-navy: #041E42;
  --utep-silver: #B1B3B3;

  /* Western Michigan Broncos */
  --wmu-brown: #6C4023;
  --wmu-gold: #FFC425;
  --wmu-white: #FFFFFF;

  /* Iowa Hawkeyes */
  --iowa-black: #000000;
  --iowa-gold: #FFCD00;

  /* Penn State Nittany Lions */
  --psu-navy: #001E44;
  --psu-white: #FFFFFF;

  /* Indiana Hoosiers */
  --iu-crimson: #990000;
  --iu-cream: #EEEDEB;

  /* Michigan State Spartans */
  --msu-green: #18453B;
  --msu-white: #FFFFFF;

  /* UCLA Bruins */
  --ucla-blue: #2774AE;
  --ucla-baby-blue: #8BB8E8;
  --ucla-gold: #FFD100;
  --ucla-yellow-gold: #F5C518;

  /* Washington Huskies */
  --washington-purple: #4B2E83;
  --washington-gold: #B7A57A;

  /* USC Trojans */
  --usc-cardinal: #990000;
  --usc-gold: #FFC72C;

  /* Title font — page/section headings (e.g. "Upcoming Games" on index) */
  --font-size-title: 3rem;
  --font-weight-title: 700;
  --font-line-height-title: 1.1;
  --font-letter-spacing-title: -0.02em;
  --font-color-title: #f8fafc;

  /* Section font — listing primary lines (e.g. "Section 27"), tab labels, section headings, offer amounts */
  --font-size-section: 1.1rem;
  --font-weight-section: 700;
  --font-line-height-section: 1.25;
  --font-letter-spacing-section: -0.02em;
  --font-color-section: #edf3f9;

  /* Detail font — secondary listing lines (e.g. "Row 14 · Seat 8") */
  --font-size-detail: 12pt;
  --font-weight-detail: 500;
  --font-line-height-detail: 1.35;
  --font-color-detail: rgba(255, 255, 255, 0.55);

  /* My listings font — badges, stat labels, support copy; slightly larger than detail */
  --font-size-my-listings: 12.5pt;
  --font-weight-my-listings: 500;
  --font-line-height-my-listings: 1.35;
  --font-letter-spacing-my-listings: 0.01em;
  --font-color-my-listings: rgba(255, 255, 255, 0.55);

  /* Kickoff section font — countdown values (e.g. "04" under Days) */
  --font-size-kickoff-section: 18px;
  --font-weight-kickoff-section: 700;
  --font-line-height-kickoff-section: 1.15;
  --font-letter-spacing-kickoff-section: -0.02em;
  --font-color-kickoff-section: #f8fafc;
}

.text-kickoff-section {
  font-size: var(--font-size-kickoff-section);
  font-weight: var(--font-weight-kickoff-section);
  line-height: var(--font-line-height-kickoff-section);
  letter-spacing: var(--font-letter-spacing-kickoff-section);
  color: var(--font-color-kickoff-section);
  font-variant-numeric: tabular-nums;
}

.text-title {
  font-family: var(--font-sans);
  font-size: var(--font-size-title);
  font-weight: var(--font-weight-title);
  line-height: var(--font-line-height-title);
  letter-spacing: var(--font-letter-spacing-title);
  color: var(--font-color-title);
}

.text-section {
  font-size: var(--font-size-section);
  font-weight: var(--font-weight-section);
  line-height: var(--font-line-height-section);
  letter-spacing: var(--font-letter-spacing-section);
  color: var(--font-color-section);
}

.text-my-listings {
  font-size: var(--font-size-my-listings);
  font-weight: var(--font-weight-my-listings);
  line-height: var(--font-line-height-my-listings);
  letter-spacing: var(--font-letter-spacing-my-listings);
  color: var(--font-color-my-listings);
}

.text-detail {
  font-size: var(--font-size-detail);
  font-weight: var(--font-weight-detail);
  line-height: var(--font-line-height-detail);
  color: var(--font-color-detail);
}

/* Shared banner/header component (scoped so page <section> heroes are not affected) */
#banner header {
  background: var(--site-chrome);
  border-bottom: 1px solid var(--site-chrome-border);
  padding: 1.2rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 18, 36, 0.3);
}

/* Client-side top notices — same visual format as flash messages */
.flashes {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}

.flashes:empty,
.flashes[hidden] {
  display: none;
}

.flash {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0.85rem 2.75rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--blue);
  background: var(--maize);
  border-bottom: 1px solid rgba(0, 18, 36, 0.18);
  box-shadow: 0 8px 24px rgba(0, 18, 36, 0.28);
}

.flash__text {
  display: block;
  text-align: center;
}

.flash__close {
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.flash__close:hover {
  background: rgba(0, 18, 36, 0.1);
}

.flash--error {
  color: var(--blue);
  background: var(--maize);
}

.flash--message,
.flash--info {
  color: var(--blue);
  background: var(--maize);
  border-bottom-color: rgba(0, 18, 36, 0.18);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
}

.header-left {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  border: none;
  background: transparent;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--maize);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle:hover span {
  background: var(--white);
}

.header-dropdown {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  min-width: 210px;
  background: var(--surface-elevated);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 1002;
  overflow: hidden;
}

.header-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-dropdown a {
  display: block;
  padding: 0.85rem 1.25rem;
  color: var(--color-text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.header-dropdown a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--maize);
}

.header-dropdown a + a {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
  grid-column: 2;
  justify-self: center;
  position: static;
  left: auto;
  transform: none;
  text-align: center;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.logo img {
  display: block;
  height: 66px;
  width: auto;
}

.header-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
}

.header-auth {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.profile-menu {
  position: relative;
}

.profile-menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.profile-menu__toggle > svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.profile-menu__toggle[aria-expanded="true"] > svg {
  transform: rotate(180deg);
}

.profile-menu__avatar {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  overflow: hidden;
  place-items: center;
  border: 2px solid var(--maize);
  border-radius: 50%;
  background: var(--maize);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.22);
}

.profile-menu__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.profile-avatar-fallback svg {
  width: 58%;
  height: 58%;
}

.profile-menu__avatar.has-photo .profile-avatar-fallback,
.account-avatar.has-photo .profile-avatar-fallback {
  display: none;
}

.profile-menu__dropdown {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  z-index: 1002;
  width: 230px;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  background: var(--surface-elevated);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.profile-menu__dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-menu__identity {
  display: flex;
  flex-direction: column;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-menu__identity strong {
  color: var(--color-text-primary);
  font-size: 0.85rem;
}

.profile-menu__identity span {
  margin-top: 0.15rem;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.profile-menu__dropdown a,
.profile-menu__upload,
.profile-menu__remove {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 0;
  background: transparent;
  color: var(--color-text-primary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.profile-menu__dropdown a:hover,
.profile-menu__upload:hover,
.profile-menu__remove:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--maize);
}

.profile-menu__logout {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #f87171 !important;
}

/* Shared button system — use across pages instead of redefining maize CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.15s ease;
}

.btn--primary {
  background: var(--maize);
  color: var(--blue);
  box-shadow: 0 4px 18px rgba(255, 203, 5, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 203, 5, 0.45);
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
}

.btn--blue:hover {
  background: var(--blue-light);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 0.7rem 1.2rem;
  font-size: 0.92rem;
  gap: 0.35rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(255, 203, 5, 0.3);
}

.btn--sm.btn--primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 203, 5, 0.3);
}

.btn--md {
  padding: 0.9rem 1.6rem;
  font-size: 1.05rem;
}

.btn--lg {
  padding: 0.95rem 1.25rem;
  font-size: 1.05rem;
}

.btn--xl {
  padding: 1.1rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 50px;
}

.btn-auth {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.25rem;
  background: var(--maize);
  color: var(--blue);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.btn-auth:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.btn-auth--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-auth--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

/* Shared back-navigation link — margin-bottom and font-size overridden per page */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--maize);
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover { color: var(--maize-hover); }

/* Sell/list-flow next-step button — display toggled via .is-visible */
.btn-next {
  display: none;
  margin-top: 1.5rem;
  padding: 1rem;
  font-size: 1.05rem;
  color: var(--white);
  border-radius: 50px;
}

.btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 203, 5, 0.45);
}

.btn-next.is-visible { display: inline-flex; }

@media (max-width: 768px) {
  #banner header {
    padding: 0.9rem 1rem;
  }

  .header-container {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem;
  }

  .header-left {
    grid-column: 1;
  }

  .menu-toggle {
    padding: 8px;
  }

  .menu-toggle span {
    width: 24px;
    height: 2.5px;
  }

  .logo-container {
    grid-column: 2;
    justify-self: center;
    position: static;
    transform: none;
    text-align: center;
  }

  .logo img {
    height: 52px;
  }

  .profile-menu__avatar {
    width: 38px;
    height: 38px;
  }

  .profile-menu__toggle > svg {
    display: none;
  }

  .btn-auth {
    padding: 0.45rem 0.95rem;
    font-size: 0.85rem;
  }

  .header-auth {
    gap: 0.4rem;
  }
}

/* Enforce consistent styling for injected banner */
#banner header {
  background: var(--site-chrome) !important;
  border-bottom: 1px solid var(--site-chrome-border) !important;
  padding: 1.2rem 2rem !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  box-shadow: 0 4px 20px rgba(0, 18, 36, 0.3) !important;
}

#banner .header-dropdown {
  background: var(--surface-elevated) !important;
  border: 1px solid var(--surface-border) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45) !important;
}

#banner .header-dropdown a {
  font-size: 0.95rem !important;
  color: var(--color-text-primary) !important;
  background: transparent !important;
}

#banner .header-dropdown a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--maize) !important;
}

#banner .header-dropdown a + a {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

@media (max-width: 768px) {
  #banner header {
    padding: 0.9rem 1rem !important;
  }
}

/* Sticky footer — keep shared footer at bottom on short pages */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page-bg);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
}

/* Prevent flex shrink on page sections (absolute-positioned sliders collapse otherwise) */
body > * {
  flex-shrink: 0;
}

#footer {
  margin-top: auto;
  width: 100%;
  background: var(--site-chrome);
  box-shadow: 0 100vh 0 100vh var(--site-chrome);
}

/* Shared footer component */
#footer footer {
  background: var(--site-chrome);
  border-top: 1px solid var(--site-chrome-border);
  padding: 3rem 2rem 1.5rem;
  margin-top: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo-link img {
  display: block;
  height: 80px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gray-200);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--maize);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--maize);
  color: var(--blue);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  #footer footer {
    padding: 2.5rem 1rem 1.25rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .footer-socials {
    justify-content: center;
  }
}


/* ============================================================
   Home / Index
   ============================================================ */

* { margin: 0; padding: 0; }

        :root {
            --home-content-max: 1400px;
            --home-content-pad-x: 2rem;
        }

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

        .home-search {
            max-width: var(--home-content-max);
            margin: 1.5rem auto 0;
            padding: 0 var(--home-content-pad-x);
            width: 100%;
            box-sizing: border-box;
            flex-shrink: 0;
            display: flex;
            justify-content: center;
        }

        .home-search__form {
            width: 100%;
            max-width: 520px;
        }

        .home-search__field {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            width: 100%;
            background: var(--white);
            border: 1px solid var(--gray-200);
            border-radius: 12px;
            padding: 0.95rem 1.2rem;
            box-shadow: 0 4px 18px rgba(0, 18, 36, 0.08);
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

        .home-search__field:focus-within {
            border-color: var(--blue);
            box-shadow: 0 4px 22px rgba(0, 18, 36, 0.14);
        }

        .home-search__icon {
            flex-shrink: 0;
            color: var(--gray-500);
        }

        .home-search__field:focus-within .home-search__icon {
            color: var(--blue);
        }

        .home-search__input {
            flex: 1;
            min-width: 0;
            border: none;
            outline: none;
            background: transparent;
            font-family: var(--font-sans);
            font-size: 1.05rem;
            font-weight: 500;
            color: var(--blue);
        }

        .home-search__input::placeholder {
            color: var(--gray-400);
            font-weight: 500;
        }

        .home-search__input::-webkit-search-decoration,
        .home-search__input::-webkit-search-cancel-button {
            -webkit-appearance: none;
        }

        #hero-slider {
            max-width: var(--home-content-max);
            margin: 1rem auto 0;
            padding: 0 var(--home-content-pad-x);
            flex-shrink: 0;
            width: 100%;
            box-sizing: border-box;
        }

        .hero-slider__shell {
            position: relative;
        }

        .hero-slider__card {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            background: var(--blue);
            box-shadow: 0 10px 40px rgba(0, 18, 36, 0.3);
        }

        .hero-slider__viewport {
            position: relative;
            min-height: 420px;
            isolation: isolate;
        }

        /* Shared fade on desktop + mobile — only layout differs in media queries below */
        .hero-slider__slide {
            position: absolute;
            inset: 0;
            z-index: 0;
            opacity: 0;
            transition: opacity 0.6s ease;
            pointer-events: none;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
        }

        .hero-slider__slide.is-active {
            z-index: 1;
            opacity: 1;
            pointer-events: auto;
            cursor: pointer;
        }

        .hero-slider__slide-inner {
            position: relative;
            width: 100%;
            height: 100%;
            min-height: 420px;
        }

        .hero-slider__visual {
            position: absolute;
            inset: 0;
            z-index: 0;
        }

        .hero-slider__media {
            position: absolute;
            inset: 0;
            overflow: hidden;
            background: var(--blue);
        }

        .hero-slider__photo {
            position: absolute;
            z-index: 1;
            inset: 0 0 0 30%;
            overflow: hidden;
        }

        .hero-slider__photo img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            object-position: center center;
            filter: none;
            transform: none;
            image-rendering: auto;
        }

        .hero-slider__photo::before {
            content: "";
            position: absolute;
            z-index: 1;
            inset: 0;
            /*
             * Eased "scrim" gradient. Stays fully opaque through 15% so it
             * tucks under the solid overlay (overlay ends at 40% of the slide,
             * which is ~14.3% of this photo layer), then eases smoothly to
             * transparent — no seam at the overlay edge, no banding.
             */
            background: linear-gradient(
                90deg,
                var(--blue) 0%,
                var(--blue) 15%,
                rgba(0, 18, 36, 0.972) 20.7%,
                rgba(0, 18, 36, 0.896) 26.4%,
                rgba(0, 18, 36, 0.784) 32.1%,
                rgba(0, 18, 36, 0.648) 37.8%,
                rgba(0, 18, 36, 0.5) 43.5%,
                rgba(0, 18, 36, 0.352) 49.2%,
                rgba(0, 18, 36, 0.216) 54.9%,
                rgba(0, 18, 36, 0.104) 60.6%,
                rgba(0, 18, 36, 0.028) 66.3%,
                rgba(0, 18, 36, 0) 72%
            );
            pointer-events: none;
        }

        .hero-slider__overlay {
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            width: 40%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            padding: 2.5rem 2rem;
            background: linear-gradient(90deg, rgba(0, 18, 36, 0.88) 0%, rgba(0, 18, 36, 0.72) 70%, rgba(0, 18, 36, 0) 100%);
            z-index: 3;
        }

        .hero-slider__title {
            font-family: var(--font-sans);
            font-size: 2.25rem;
            font-weight: 700;
            line-height: 1.25;
            letter-spacing: -0.02em;
            color: var(--white);
            margin-bottom: 0.5rem;
            text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
        }

        .hero-slider__date {
            font-size: 1.3rem;
            font-weight: 500;
            color: var(--gray-200);
            margin-bottom: 1.5rem;
        }

        .hero-slider__cta.btn-view {
            text-decoration: none;
            display: inline-block;
            font-size: 1.1rem;
            padding: 0.95rem 1.75rem;
        }

        .hero-slider__cta.btn-view:hover {
            background: var(--blue);
            color: var(--maize);
        }

        .hero-slider__mobile-info {
            display: none;
        }

        .hero-slider__dots {
            position: absolute;
            bottom: 1.25rem;
            left: 1.25rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            z-index: 5;
            list-style: none;
        }

        .hero-slider__dot {
            width: 12px;
            height: 12px;
            border-radius: 999px;
            border: none;
            padding: 0;
            cursor: pointer;
            background: rgba(255, 255, 255, 0.45);
            transition: width 0.3s ease, background 0.3s ease;
        }

        .hero-slider__dot.is-active {
            width: 28px;
            background: var(--maize);
        }

        .hero-slider__dot:focus-visible {
            outline: 2px solid var(--maize);
            outline-offset: 2px;
        }

        .games-section {
            padding: 5rem var(--home-content-pad-x);
            max-width: var(--home-content-max);
            margin: 0 auto;
            width: 100%;
            box-sizing: border-box;
            position: relative;
            z-index: 1;
        }

        .games-section .section-title {
            font-family: var(--font-sans);
            font-weight: 700;
            letter-spacing: -0.02em;
        }

        .games-section .section-subtitle {
            font-weight: 500;
        }

        .section-header { text-align: center; margin-bottom: 2.5rem; }

        .section-eyebrow {
            margin: 0 0 0.45rem;
            color: var(--maize);
            font-size: 0.78rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .section-title {
            font-family: var(--font-display);
            font-size: 3rem;
            color: var(--blue);
            letter-spacing: 2px;
        }

        .section-subtitle {
            color: var(--gray-600);
            font-size: var(--font-size-section);
            line-height: var(--font-line-height-section);
            letter-spacing: var(--font-letter-spacing-section);
            margin-top: 0.5rem;
        }

        .games-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 1.25rem;
            align-items: stretch;
        }

        .game-listing-card {
            display: flex;
            flex-direction: column;
            text-decoration: none;
            border-radius: 16px;
            overflow: visible;
            background: var(--white);
            border: 1px solid var(--gray-200);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
            transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
        }

        .game-listing-card:hover {
            transform: translateY(-4px);
            border-color: var(--maize);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        }

        .game-card-visual {
            position: relative;
            min-height: 200px;
            overflow: hidden;
            background: var(--gray-800);
        }

        .game-card-media {
            position: absolute;
            inset: 0;
            overflow: hidden;
            background: var(--blue);
        }

        .game-card-media--photo {
            background: #0a1624;
        }

        .game-card-media--photo::before,
        .game-card-media--photo::after {
            content: none;
        }

        .game-card-media--photo img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 42%;
            /* Intrinsic width/height attrs are for CLS only — fill the media box */
            max-width: none;
        }

        .game-card-media--indiana img {
            object-position: center 38%;
        }

        .game-card-bottom {
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            gap: 0.35rem;
            padding: 1rem 1.05rem 1.1rem;
            background: var(--white);
        }

        .game-card-title {
            color: var(--blue);
            font-size: 1.1rem;
            font-weight: 700;
            line-height: 1.3;
            letter-spacing: -0.01em;
            margin: 0;
        }

        .game-card-title__matchup {
            display: inline;
        }

        .game-card-title__vs {
            font-weight: 700;
        }

        .game-card-date {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            color: var(--gray-600);
            font-size: 0.82rem;
            font-weight: 600;
            line-height: 1.35;
            margin: 0;
        }

        .game-card-venue {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            margin: 0;
            color: var(--gray-600);
            font-size: 0.78rem;
            font-weight: 550;
            line-height: 1.35;
        }

        .game-card-date .ti,
        .game-card-venue .ti,
        .game-card-date .game-card-icon,
        .game-card-venue .game-card-icon,
        .game-card-venue svg {
            width: 13px;
            height: 13px;
            font-size: 13px;
            flex-shrink: 0;
            opacity: 0.85;
        }

        .game-card-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            margin-top: 0.55rem;
            padding-top: 0.7rem;
            border-top: 1px solid var(--gray-200);
        }

        .game-card-price {
            color: var(--blue);
            font-size: 0.92rem;
            font-weight: 650;
            font-variant-numeric: tabular-nums;
        }

        .game-card-price strong {
            font-size: 1.12rem;
            font-weight: 800;
        }

        .game-card-price--empty {
            color: var(--gray-500);
            font-weight: 600;
            font-size: 0.82rem;
        }

        .game-card-cta {
            color: var(--blue);
            font-size: 0.82rem;
            font-weight: 750;
            white-space: nowrap;
            transition: color 0.2s ease, transform 0.2s ease;
        }

        .game-listing-card:hover .game-card-cta {
            color: #b38f00;
            transform: translateX(2px);
        }

        .game-card-date-badge {
            position: absolute;
            top: 0.75rem;
            left: 0.75rem;
            z-index: 3;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-width: 48px;
            padding: 0.4rem 0.45rem 0.35rem;
            border-radius: 10px;
            background: rgba(0, 18, 36, 0.88);
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: var(--white);
            line-height: 1;
            backdrop-filter: blur(6px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
        }

        .game-card-date-badge__month {
            font-size: 0.62rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--maize);
            margin-bottom: 0.2rem;
        }

        .game-card-date-badge__day {
            font-size: 1.15rem;
            font-weight: 800;
            letter-spacing: -0.02em;
        }

        .game-card-availability {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            z-index: 3;
            padding: 0.32rem 0.55rem;
            border-radius: 999px;
            background: rgba(255, 203, 5, 0.92);
            color: var(--blue);
            font-size: 0.68rem;
            font-weight: 800;
            letter-spacing: 0.01em;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
        }

        .game-card-subtitle {
            color: var(--gray-600);
            font-size: 0.88rem;
            font-weight: 500;
            margin: 0;
        }

        .games-grid__empty {
            grid-column: 1 / -1;
            text-align: center;
            color: var(--gray-600);
            font-size: 1rem;
            font-weight: 500;
            padding: 2rem 1rem;
            margin: 0;
        }

        .btn-view {
            background: var(--maize);
            color: var(--blue);
            padding: 0.8rem 1.5rem;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.9rem;
            transition: all 0.3s;
        }

        @media (max-width: 768px) {
            header { padding: 0.75rem 1rem; }
            .header-container { 
                display: grid;
                grid-template-columns: auto 1fr auto;
                align-items: center;
                gap: 0.5rem;
            }
            .header-left { 
                grid-column: 1;
            }
            .menu-toggle { 
                padding: 8px;
            }
            .menu-toggle span { 
                width: 24px; 
                height: 2.5px; 
            }
            .back-btn { 
                font-size: 0.85rem; 
                gap: 0.25rem; 
            }
            .back-btn svg { 
                width: 20px; 
                height: 16px; 
            }
            .logo-container { 
                grid-column: 2;
                justify-self: center;
                position: static;
                transform: none;
                text-align: center;
            }
            .logo { 
                font-size: 1.5rem; 
                letter-spacing: 2px; 
            }
            .auth-buttons { 
                grid-column: 1 / -1;
                grid-row: 2;
                justify-content: center;
                gap: 1rem;
                margin-top: 0.5rem;
            }
            .btn-signin { font-size: 0.85rem; }
            #hero-slider {
                margin: 0.75rem auto 0;
                padding: 0 1rem;
            }

            .home-search {
                margin: 1rem auto 0;
                padding: 0 1rem;
            }

            .home-search__field {
                padding: 0.75rem 1rem;
            }

            .home-search__input {
                font-size: 0.95rem;
            }
            .hero-slider__viewport {
                position: relative;
                min-height: 0;
                height: auto;
            }

            .hero-slider__slide {
                position: relative;
                inset: auto;
                height: 0;
                overflow: hidden;
            }

            .hero-slider__slide.is-active {
                height: auto;
                overflow: visible;
            }

            .hero-slider__slide-inner {
                display: flex;
                flex-direction: column;
                min-height: 0;
                height: auto;
            }
            .hero-slider__visual {
                position: relative;
                inset: auto;
                width: 100%;
                aspect-ratio: 16 / 10;
                flex-shrink: 0;
                overflow: hidden;
            }

            .hero-slider__media {
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                aspect-ratio: auto;
            }
            .hero-slider__overlay {
                display: none;
            }
            .hero-slider__mobile-info {
                display: block;
                flex-shrink: 0;
                background: var(--blue-light);
                padding: 1.25rem 1.5rem 1.25rem;
                cursor: pointer;
            }

            .hero-slider__card {
                background: var(--blue-light);
            }
            .hero-slider__mobile-info .hero-slider__title {
                font-size: 1.4rem;
                line-height: 1.2;
                margin-bottom: 0.35rem;
                text-shadow: none;
            }
            .hero-slider__mobile-info .game-card-title__opponent {
                display: block;
            }
            .hero-slider__mobile-info .hero-slider__date {
                margin: 0;
                padding: 0;
                font-size: 1.15rem;
                line-height: 1.3;
            }
            .hero-slider__dots {
                position: static;
                justify-content: center;
                margin-top: 1rem;
                left: auto;
                bottom: auto;
            }
            .hero-slider__dot {
                background: rgba(0, 18, 36, 0.28);
            }
            .hero-slider__dot.is-active {
                background: var(--maize);
            }
            .hero-slider__dot:focus-visible {
                outline-color: var(--blue);
            }
            .games-section {
                padding: 2.5rem 0 3rem;
                max-width: 100%;
                width: 100%;
            }
            .games-section .section-header {
                margin-bottom: 1.5rem;
                padding: 0 0.75rem;
            }
            .games-section .section-title {
                font-size: 2rem;
            }
            .games-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 1rem;
                width: 100%;
                padding: 0;
                box-sizing: border-box;
            }
            .game-listing-card {
                border-radius: 10px;
                overflow: hidden;
            }
            .game-card-visual {
                min-height: 128px;
                aspect-ratio: auto;
            }
            .game-card-title {
                font-size: 0.88rem;
                line-height: 1.25;
            }
            .game-card-title__opponent {
                display: block;
            }
            .game-card-date {
                font-size: 0.72rem;
                line-height: 1.3;
            }
            .game-card-subtitle {
                font-size: 0.76rem;
                line-height: 1.3;
            }
            .game-card-bottom {
                padding: 0.5rem 0.5rem 0.55rem;
                gap: 0.25rem;
            }
            .game-card-meta {
                margin-top: 0.35rem;
                padding-top: 0.45rem;
            }
        }

        /* Desktop: text on the left — slider grows taller as screen widens; top gap stays 2rem */
        @media (min-width: 769px) {
            .hero-slider__viewport,
            .hero-slider__slide-inner {
                min-height: clamp(
                    420px,
                    calc(420px + (100vw - 769px) * 0.14),
                    580px
                );
            }

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

            .game-card-visual {
                min-height: 0;
                aspect-ratio: 3 / 2;
            }

        }

        @media (min-width: 1200px) {
            .games-grid {
                gap: 1.35rem;
            }

            .game-card-visual {
                aspect-ratio: 2 / 1;
            }

        }

        /* Campaign-style homepage hero */
        #hero-slider {
            margin-top: 1.5rem;
        }

        .hero-slider__card {
            border-radius: 18px;
            box-shadow: 0 18px 48px rgba(0, 18, 36, 0.24);
        }

        .hero-slider__viewport,
        .hero-slider__slide-inner {
            min-height: clamp(440px, 35vw, 520px);
        }

        .hero-slider__media {
            background-position: center 58%;
        }

        .hero-slider__overlay {
            width: 40%;
            padding: clamp(2rem, 4vw, 4rem);
            background: var(--blue);
        }

        .hero-slider__eyebrow {
            margin: 0 0 0.55rem;
            color: var(--maize);
            font-size: clamp(0.78rem, 1vw, 0.95rem);
            font-weight: 800;
            letter-spacing: 0.02em;
        }

        .hero-slider__slogan {
            margin: 0;
            color: var(--white);
            font-size: clamp(3rem, 5vw, 5.25rem);
            font-weight: 900;
            line-height: 0.92;
            letter-spacing: -0.06em;
            text-shadow: 0 5px 24px rgba(0, 0, 0, 0.35);
        }

        .hero-slider__slogan span {
            display: block;
            color: var(--maize);
        }

        .hero-slider__copy {
            max-width: 400px;
            margin: 1rem 0 1.35rem;
            color: rgba(255, 255, 255, 0.88);
            font-size: clamp(0.9rem, 1.25vw, 1.08rem);
            font-weight: 500;
            line-height: 1.5;
        }

        .hero-slider__copy strong {
            display: block;
            color: var(--maize);
            font-weight: 800;
        }

        .hero-slider__actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .hero-slider__action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.7rem;
            min-width: 132px;
            padding: 0.78rem 1.25rem;
            border: 1.5px solid rgba(255, 255, 255, 0.65);
            border-radius: 999px;
            color: var(--white);
            font-size: 0.88rem;
            font-weight: 800;
            text-decoration: none;
            transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
        }

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

        .hero-slider__action--primary {
            border-color: var(--maize);
            background: var(--maize);
            color: var(--blue);
            box-shadow: 0 8px 22px rgba(255, 203, 5, 0.25);
        }

        .hero-slider__action--secondary {
            background: rgba(0, 18, 36, 0.42);
        }

        .hero-slider__featured {
            display: inline-flex;
            flex-wrap: wrap;
            align-items: center;
            align-self: flex-start;
            gap: 0.4rem 0.55rem;
            max-width: 460px;
            margin: 1.25rem 0 0;
            padding: 0.5rem 0.75rem;
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 14px;
            background: rgba(0, 18, 36, 0.55);
            color: rgba(255, 255, 255, 0.82);
            font-size: 0.78rem;
            font-weight: 700;
            line-height: 1.35;
            backdrop-filter: blur(8px);
        }

        .hero-slider__featured-label {
            display: inline-flex;
            align-items: center;
            padding: 0.18rem 0.45rem;
            border-radius: 999px;
            background: var(--maize);
            color: var(--blue);
            font-size: 0.65rem;
            font-weight: 800;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .hero-slider__featured-match {
            color: var(--white);
        }

        .hero-slider__featured-meta {
            color: rgba(255, 255, 255, 0.55);
            font-weight: 600;
        }

        .hero-slider__featured-price {
            color: var(--maize);
            font-weight: 800;
        }

        .hero-slider__featured .game-card-title__matchup {
            color: var(--white);
        }

        .hero-slider__dots {
            right: auto;
            bottom: 1.5rem;
            left: 58%;
            transform: translateX(-50%);
        }

        .home-search {
            position: relative;
            z-index: 10;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: min(760px, calc(100% - 3rem));
            max-width: none;
            margin: -2rem auto 0;
            padding: 0;
        }

        .home-search__form {
            width: 100%;
            max-width: none;
        }

        .home-search__field {
            min-height: 64px;
            padding: 0.9rem 1.25rem;
            border: 1px solid rgba(0, 18, 36, 0.09);
            border-radius: 18px;
            box-shadow: 0 14px 36px rgba(0, 18, 36, 0.18);
        }

        .home-search__filter-icon {
            flex-shrink: 0;
            color: var(--gray-500);
        }

        .home-search__popular {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 0.45rem;
            margin-top: 0.75rem;
            color: var(--gray-500);
            font-size: 0.75rem;
            font-weight: 600;
        }

        .home-search__chip {
            padding: 0.3rem 0.7rem;
            border: 1px solid var(--gray-200);
            border-radius: 999px;
            background: var(--white);
            color: var(--blue);
            font: inherit;
            cursor: pointer;
            box-shadow: 0 2px 7px rgba(0, 18, 36, 0.06);
            transition: border-color 0.2s ease, background 0.2s ease;
        }

        .home-search__chip:hover {
            border-color: var(--maize);
            background: rgba(255, 203, 5, 0.12);
        }

        .games-section {
            padding-top: 3rem;
        }

        @media (max-width: 768px) {
            #hero-slider {
                margin-top: 1rem;
            }

            .hero-slider__viewport,
            .hero-slider__slide-inner {
                min-height: 520px;
            }

            .hero-slider__slide {
                position: absolute;
                inset: 0;
                height: auto;
                overflow: hidden;
            }

            .hero-slider__slide.is-active {
                height: auto;
                overflow: hidden;
            }

            .hero-slider__slide-inner {
                display: block;
            }

            .hero-slider__visual {
                position: absolute;
                inset: 0;
                width: auto;
                aspect-ratio: auto;
            }

            .hero-slider__photo {
                inset: 60% 0 0;
                clip-path: none;
            }

            .hero-slider__photo::before {
                background: linear-gradient(
                    180deg,
                    var(--blue) 0%,
                    rgba(0, 18, 36, 0.92) 10%,
                    rgba(0, 18, 36, 0.76) 20%,
                    rgba(0, 18, 36, 0.54) 30%,
                    rgba(0, 18, 36, 0.3) 40%,
                    rgba(0, 18, 36, 0.12) 48%,
                    rgba(0, 18, 36, 0) 56%
                );
            }

            .hero-slider__photo img {
                object-position: center center;
            }

            .hero-slider__overlay {
                display: flex;
                width: 100%;
                bottom: 40%;
                padding: 2rem 1.5rem 1.75rem;
                justify-content: flex-start;
                background: var(--blue);
            }

            .hero-slider__slogan {
                font-size: clamp(2.8rem, 15vw, 4rem);
            }

            .hero-slider__copy {
                max-width: 310px;
                margin: 0.8rem 0 1rem;
                font-size: 0.88rem;
            }

            .hero-slider__featured {
                display: none;
            }

            .hero-slider__mobile-info {
                display: none;
            }

            .hero-slider__dots {
                position: absolute;
                bottom: 2.75rem;
                left: 50%;
                margin: 0;
                transform: translateX(-50%);
            }

            .home-search {
                width: calc(100% - 1.5rem);
                margin-top: -1.5rem;
            }

            .home-search__field {
                min-height: 56px;
                padding: 0.75rem 1rem;
                border-radius: 15px;
            }

            .home-search__popular {
                padding: 0 0.5rem;
            }

            .home-search__popular > span {
                width: 100%;
                text-align: center;
            }

            .games-section {
                padding-top: 2rem;
            }
        }

        .hero-slider__card {
            border: 1px solid #1b3049;
            box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
        }

        .home-search__field {
            border-color: #23364f;
            background: var(--blue);
            box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
        }

        .home-search__field:focus-within {
            border-color: var(--maize);
            box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.08), 0 14px 36px rgba(0, 0, 0, 0.34);
        }

        .home-search__input {
            color: #f8fafc;
        }

        .home-search__input::placeholder,
        .home-search__icon,
        .home-search__filter-icon,
        .home-search__popular {
            color: #7f91a8;
        }

        .home-search__field:focus-within .home-search__icon {
            color: var(--maize);
        }

        .home-search__chip {
            border-color: #23364f;
            background: var(--blue);
            color: #cbd7e5;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
        }

        .home-search__chip:hover {
            border-color: var(--maize);
            background: rgba(255, 203, 5, 0.1);
            color: var(--maize);
        }

        .section-title,
        .games-section .section-title {
            color: #f8fafc;
        }

        .section-subtitle,
        .games-section .section-subtitle {
            color: #8fa1b7;
        }

        .game-listing-card {
            overflow: hidden;
            border-color: #172a42;
            background: var(--blue);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        }

        .game-listing-card:hover {
            border-color: var(--maize);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 203, 5, 0.08);
        }

        .game-card-bottom {
            border-top: 1px solid #172a42;
            background: var(--blue);
        }

        .game-card-title {
            color: #edf3f9;
        }

        .game-card-date,
        .game-card-venue,
        .game-card-subtitle,
        .games-grid__empty {
            color: #7f91a8;
        }

        .game-card-meta {
            border-top-color: #172a42;
        }

        .game-card-price {
            color: #edf3f9;
        }

        .game-card-price strong {
            color: var(--maize);
        }

        .game-card-price--empty {
            color: #7f91a8;
        }

        .game-card-cta {
            color: var(--maize);
        }

        .game-listing-card:hover .game-card-cta {
            color: var(--maize-hover);
        }

        .section-eyebrow {
            color: var(--maize);
        }

        .hero-slider__dots {
            display: flex;
            position: absolute;
            left: 1.25rem;
            right: auto;
            bottom: 1.15rem;
            transform: none;
            z-index: 5;
            gap: 0.4rem;
            margin: 0;
            padding: 0.35rem 0.55rem;
            list-style: none;
            border-radius: 999px;
            background: rgba(0, 18, 36, 0.55);
            backdrop-filter: blur(8px);
        }

        .hero-slider__dot {
            width: 8px;
            height: 8px;
            border: none;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.35);
            cursor: pointer;
            padding: 0;
            transition: width 0.25s ease, background 0.25s ease;
        }

        .hero-slider__dot.is-active {
            width: 22px;
            background: var(--maize);
        }


        @media (max-width: 768px) {
            #banner header {
                padding: 0.9rem 1rem !important;
            }

            .hero-slider__dots {
                bottom: 0.75rem;
            }
        }

/* ==========================================================================
   Home hero — full-bleed stadium landing (matches design mock)
   ========================================================================== */

body.page-home {
    color: #f8fafc;
}

body.page-home #hero-slider.home-hero {
    position: relative;
    z-index: 2;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: calc(100vh - 3.25rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: visible;
}

.home-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.home-hero__photo {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.home-hero__photo.is-active {
    opacity: 1;
}

/* Fade only during carousel rotation — not on first paint */
.home-hero.is-ready .home-hero__photo {
    transition: opacity 0.8s ease;
}

.home-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    transform: scale(1.28);
}

.home-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 11, 20, 0.94) 0%, rgba(5, 11, 20, 0.78) 34%, rgba(5, 11, 20, 0.35) 62%, rgba(5, 11, 20, 0.2) 100%),
        linear-gradient(180deg, rgba(5, 11, 20, 0.35) 0%, rgba(5, 11, 20, 0.15) 40%, rgba(5, 11, 20, 0.88) 100%);
}

.home-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 2.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.home-hero__copy {
    max-width: 640px;
}

.home-hero__title {
    margin: 0;
    color: var(--white);
    font-size: clamp(3.4rem, 8vw, 5.6rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.045em;
    line-height: 0.92;
}

.home-hero__title span {
    color: var(--maize);
}

.home-hero__lede {
    max-width: 26rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.45;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.home-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.35rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.home-hero__btn--primary {
    background: var(--maize);
    color: var(--blue);
    box-shadow: 0 8px 24px rgba(255, 203, 5, 0.28);
}

.home-hero__btn--primary:hover {
    transform: translateY(-1px);
    background: #ffd84a;
}

.home-hero__btn--ghost {
    border: 1.5px solid var(--maize);
    background: transparent;
    color: var(--maize);
}

.home-hero__btn--ghost:hover {
    background: rgba(255, 203, 5, 0.1);
    transform: translateY(-1px);
}

.home-featured {
    margin-top: 1.75rem;
    max-width: 620px;
    width: 100%;
}

.home-featured--countdown {
    display: grid;
    grid-template-columns: minmax(12rem, 1.3fr) repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 0.4rem;
    padding: 0.5rem;
    border: 1px solid rgba(255, 203, 5, 0.32);
    border-radius: 18px;
    background: var(--blue);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.home-featured--countdown:hover {
    border-color: rgba(255, 203, 5, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.5);
}

.home-featured__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.6rem 0.8rem;
    background: transparent;
    text-align: left;
}

.home-featured__label {
    display: block;
    color: var(--maize);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.1;
}

.home-featured__match {
    display: block;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 850;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-featured__cta {
    display: block;
    margin-top: 0.15rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.68rem;
    font-weight: 700;
    transition: color 0.18s ease;
}

.home-featured--countdown:hover .home-featured__cta {
    color: var(--maize);
}

.home-featured__countdown {
    display: contents;
}

.home-featured__cd-unit {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.7rem 0.3rem;
    border: 1px solid var(--site-chrome-border);
    border-radius: 12px;
    background: var(--blue-light);
    text-align: center;
}

.home-featured__cd-unit strong {
    color: #fff;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
}

.home-featured__cd-unit span {
    color: rgba(255, 203, 5, 0.75);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-featured__cd-unit--sec {
    border-color: rgba(255, 203, 5, 0.28);
    background: rgba(255, 203, 5, 0.08);
}

.home-featured__cd-unit--sec strong {
    color: var(--maize);
}

.home-featured__cd-unit--sec.is-ticking strong {
    animation: home-countdown-flash 0.35s ease-out;
}

@keyframes home-countdown-flash {
    0% { transform: scale(1.14); color: #fff; }
    100% { transform: scale(1); color: var(--maize); }
}

@media (prefers-reduced-motion: reduce) {
    .home-featured__cd-unit--sec.is-ticking strong {
        animation: none;
    }
}

body.page-home .home-search {
    max-width: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 5;
}

body.page-home .home-search__form {
    position: relative;
    margin: 0;
    z-index: 20;
}

body.page-home .home-search__field {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 0.85rem 1rem;
    border: 1px solid var(--site-chrome-border);
    border-radius: 14px;
    background: var(--blue);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
    backdrop-filter: none;
}

body.page-home .home-search__field:focus-within,
body.page-home .home-search__form--results-open .home-search__field {
    border-color: var(--maize);
    box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.08), 0 14px 36px rgba(0, 0, 0, 0.34);
}

body.page-home .home-search__results {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    z-index: 30;
    overflow: visible;
    border: 1px solid var(--maize);
    border-radius: 14px;
    background: var(--blue);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

body.page-home .home-search__results-empty {
    padding: 1rem 1.1rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    font-weight: 550;
}

body.page-home .home-search__result {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: inherit;
    text-decoration: none;
    transition: background 0.15s ease;
}

body.page-home .home-search__result:last-child {
    border-bottom: 0;
}

body.page-home .home-search__result:hover,
body.page-home .home-search__result.is-active,
body.page-home .home-search__result:focus-visible {
    background: rgba(255, 203, 5, 0.08);
    outline: none;
}

body.page-home .home-search__result-date {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 3rem;
    min-height: 3rem;
    padding: 0.35rem 0.25rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1;
}

body.page-home .home-search__result-month {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.page-home .home-search__result-day {
    margin-top: 0.2rem;
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 800;
}

body.page-home .home-search__result-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

body.page-home .home-search__result-title {
    color: var(--white);
    font-size: 0.98rem;
    font-weight: 750;
    line-height: 1.25;
}

body.page-home .home-search__result-meta {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-search__query {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    width: 100%;
}

body.page-home .home-search__icon {
    color: rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
}

body.page-home .home-search__field:focus-within .home-search__icon,
body.page-home .home-search__form--results-open .home-search__icon {
    color: var(--maize);
}

body.page-home .home-search__input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--white);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 550;
    line-height: 1.25;
    padding: 0;
    margin: 0;
}

body.page-home .home-search__input::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

body.page-home .home-search__popular {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    font-weight: 600;
}

body.page-home .home-search__chip {
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--site-chrome-border);
    border-radius: 999px;
    background: var(--blue);
    color: rgba(255, 255, 255, 0.82);
    font: inherit;
    font-size: 0.75rem;
    font-weight: 650;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

body.page-home .home-search__chip:hover,
body.page-home .home-search__chip:focus-visible {
    border-color: var(--maize);
    color: var(--maize);
    background: rgba(255, 203, 5, 0.08);
}

body.page-home .games-section {
    padding: 3rem var(--home-content-pad-x) 4rem;
    max-width: var(--home-content-max);
    margin: 0 auto;
}


@media (max-width: 760px) {
    body.page-home #hero-slider.home-hero {
        min-height: min(60vh - 1.5rem, 520px);
        justify-content: flex-end;
    }

    body.page-home .games-section {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .home-hero__shade {
        background:
            linear-gradient(180deg, rgba(5, 11, 20, 0.45) 0%, rgba(5, 11, 20, 0.25) 35%, rgba(5, 11, 20, 0.92) 100%),
            linear-gradient(90deg, rgba(5, 11, 20, 0.75) 0%, rgba(5, 11, 20, 0.35) 100%);
    }

    .home-hero__inner {
        width: calc(100% - 1.25rem);
        min-width: 0;
        max-width: 100%;
        padding: 1.25rem 0 1.15rem;
        gap: 0.95rem;
    }

    .home-hero__copy {
        max-width: none;
    }

    .home-hero__title {
        font-size: clamp(2.35rem, 11vw, 3rem);
        line-height: 0.9;
    }

    .home-hero__lede {
        max-width: 20rem;
        margin-top: 0.55rem;
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .home-featured {
        max-width: none;
        margin-top: 0.85rem;
    }

    .home-featured--countdown {
        grid-template-columns: minmax(6.5rem, 1fr) repeat(4, minmax(0, 1fr));
        gap: 0.3rem;
        padding: 0.35rem;
        border-radius: 14px;
    }

    .home-featured--countdown:hover {
        transform: none;
    }

    .home-featured__copy {
        gap: 0.1rem;
        padding: 0.45rem 0.5rem;
    }

    .home-featured__label {
        font-size: 0.54rem;
    }

    .home-featured__match {
        font-size: 0.78rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.15;
    }

    .home-featured__cta {
        display: none;
    }

    .home-featured__countdown {
        display: contents;
    }

    .home-featured__cd-unit {
        min-height: 0;
        gap: 0.2rem;
        padding: 0.5rem 0.15rem;
        border-radius: 10px;
    }

    .home-featured__cd-unit strong {
        font-size: clamp(1.05rem, 4.8vw, 1.35rem);
    }

    .home-featured__cd-unit span {
        font-size: 0.5rem;
        letter-spacing: 0.08em;
    }

    body.page-home .home-search__field {
        padding: 0.7rem 0.85rem;
    }

    body.page-home .home-search__input {
        font-size: 0.88rem;
    }

    body.page-home .home-search__popular {
        margin-top: 0.65rem;
        gap: 0.4rem;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    body.page-home .home-search__popular > span {
        flex-shrink: 0;
        width: auto;
        font-size: 0.7rem;
        white-space: nowrap;
        text-align: left;
    }

    body.page-home .home-search__chip {
        flex-shrink: 0;
        padding: 0.32rem 0.65rem;
        font-size: 0.7rem;
        white-space: nowrap;
    }
}

@media (max-width: 420px) {
    .home-featured--countdown {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .home-featured__copy {
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
        gap: 0.5rem;
        padding: 0.45rem 0.6rem 0.3rem;
        text-align: left;
    }

    .home-featured__match {
        white-space: nowrap;
        -webkit-line-clamp: unset;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 60%;
        text-align: right;
    }

    .home-featured__countdown {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.3rem;
    }

    .home-featured__cd-unit {
        padding: 0.5rem 0.2rem 0.65rem;
    }

    .home-featured__cd-unit strong {
        font-size: 1.25rem;
    }
}


/* ============================================================
   Game Market
   ============================================================ */

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

body.game-market-page {
  min-height: 100vh;
  margin: 0;
  color: #f8fafc;
  font-family: var(--font-sans);
}

.game-market-page #footer .footer-container {
  max-width: 1500px;
}

.game-market-page #footer footer {
  background: var(--site-chrome);
  border-top: 1px solid var(--site-chrome-border);
}

.page-wrap {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}

.page {
  width: 100%;
}

.event-hero {
  position: relative;
  min-height: 300px;
  padding: 1.2rem 2rem 1.6rem;
  overflow: hidden;
  border: 1px solid #1d3047;
  border-radius: 18px;
  background: var(--blue);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
  isolation: isolate;
}

.event-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, var(--blue) 0%, rgba(0, 18, 36, 0.98) 32%, rgba(0, 18, 36, 0.78) 51%, rgba(0, 18, 36, 0.2) 78%, rgba(0, 18, 36, 0.1) 100%),
    linear-gradient(0deg, rgba(0, 18, 36, 0.8), transparent 50%);
}

.event-hero__photo {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 42%;
  background-color: var(--blue);
  background-image:
    linear-gradient(90deg, var(--blue) 0%, rgba(0, 18, 36, 0.72) 20%, transparent 58%),
    url("../img/hero-collage/michigan-stadium-sunset.png");
  background-position: center, center 40%;
  background-size: cover, cover;
  background-repeat: no-repeat;
}

.event-hero__photo--western-michigan,
.event-hero__photo--oklahoma,
.event-hero__photo--utep,
.event-hero__photo--iowa,
.event-hero__photo--penn-state,
.event-hero__photo--indiana,
.event-hero__photo--michigan-state,
.event-hero__photo--ucla {
  background-color: var(--blue);
  background-image:
    linear-gradient(90deg, var(--blue) 0%, rgba(0, 18, 36, 0.72) 20%, transparent 58%),
    url("../img/hero-collage/michigan-stadium-sunset.png");
  background-position: center, center 40%;
  background-size: cover, cover;
  background-repeat: no-repeat;
  filter: none;
}

.back-to-games {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
  color: #a9b8c9;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-to-games:hover {
  color: var(--maize);
}

.matchup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.38rem;
  max-width: 650px;
}

.team {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.team-name {
  color: #f8fafc;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.vs {
  color: #8ea0b5;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  margin-top: 1.25rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #b6c3d1;
  font-size: 0.82rem;
  font-weight: 600;
}

.meta-item .ti {
  color: #d6e0eb;
  font-size: 1rem;
}

.countdown-bar {
  width: min(570px, 100%);
  margin-top: 1.2rem;
}

.countdown-pill {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  min-height: 76px;
  overflow: hidden;
  border: 1px solid #263b54;
  border-radius: 14px;
  background: rgba(0, 18, 36, 0.78);
  backdrop-filter: blur(10px);
}

.countdown-seg {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  text-align: center;
}

.countdown-seg:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22%;
  right: 0;
  width: 1px;
  height: 56%;
  background: #263b54;
}

.countdown-prefix {
  color: var(--maize);
  font-size: 0.82rem;
  font-weight: 800;
}

.cunit .cnum {
  color: #f8fafc;
  font-size: 1.25rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.cunit .clabel {
  order: 2;
  margin-top: 0.25rem;
  color: #788ba1;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-ui {
  margin-top: 1.5rem;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  overflow: hidden;
  border: 1px solid #1c3047;
  border-radius: 14px;
  background: var(--blue);
}

.tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 62px;
  padding: 1rem;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #a4b3c4;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 750;
  cursor: pointer;
}

.tab + .tab {
  border-left: 1px solid #1c3047;
}

.tab.active {
  border-bottom-color: var(--maize);
  background: linear-gradient(180deg, rgba(255, 203, 5, 0.06), transparent);
  color: var(--maize);
}

.tab .ti {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  font-size: 1.15rem;
  line-height: 1;
  vertical-align: -0.12em;
  flex: 0 0 auto;
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.market-strip--pill {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 1.2rem 0 1.7rem;
  overflow: hidden;
  border: 1px solid #1c3047;
  border-radius: 14px;
  background: var(--blue);
}

.market-strip--single {
  grid-template-columns: 1fr;
}

.mstat-col {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 82px;
  padding: 1rem 1.4rem;
}

.mstat-col + .mstat-col {
  border-left: 1px solid #1c3047;
}

.mstat-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  font-size: 1.1rem;
}

.mstat-icon--price {
  color: var(--maize);
  background: rgba(255, 203, 5, 0.14);
}

.mstat-icon--sale {
  color: #7eb6ff;
  background: rgba(96, 165, 250, 0.14);
}

.mstat-icon--listings {
  color: #c9d7e8;
  background: rgba(120, 150, 180, 0.14);
}

.mstat-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mstat-label {
  color: #8495aa;
  font-size: 0.7rem;
  font-weight: 650;
}

.mstat-value {
  color: #f8fafc;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

button.mstat-value--link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  text-align: left;
  cursor: pointer;
}

.mstat-value--link:hover {
  color: var(--maize);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.buy-available-heading {
  color: #f8fafc;
  font-size: 1.15rem;
  font-weight: 800;
}

.listings-group + .listings-group {
  margin-top: 1.35rem;
}

.listings-group__rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.listings-group .section-head {
  margin-bottom: 0.7rem;
}

.section-select {
  position: relative;
  min-width: 170px;
}

.section-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 42px;
  padding: 0.65rem 0.85rem;
  border: 1px solid #263b54;
  border-radius: 9px;
  background: var(--blue);
  color: #dce5ef;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
}

.section-select__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.4rem);
  right: 0;
  left: 0;
  max-height: 260px;
  margin: 0;
  padding: 0.35rem;
  overflow-y: auto;
  list-style: none;
  border: 1px solid #263b54;
  border-radius: 10px;
  background: var(--blue);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.section-select__menu[hidden] {
  display: none;
}

.section-select__option {
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #bdcada;
  font: inherit;
  font-size: 0.78rem;
  text-align: left;
  cursor: pointer;
}

.section-select__option:hover,
.section-select__option.is-selected {
  background: var(--blue);
  color: var(--maize);
}

.listings-shell {
  background: transparent;
}

#listings-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.listing-row {
  width: 100%;
}

.listing-card-hit {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  /* Match my-listings: padding + two stacked action buttons + borders */
  min-height: calc(2.1rem + 2.35rem + 0.45rem + 2.35rem + 2px);
  padding: 1rem 1.2rem;
  border: 1px solid #1b3047;
  border-radius: 12px;
  background: var(--blue);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.listing-card--ticket,
.listing-card--bid {
  position: relative;
  overflow: hidden;
  gap: 0.85rem;
  padding: 1.05rem 1.15rem 1.05rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--blue);
  min-height: calc(2.1rem + 2.35rem + 0.45rem + 2.35rem + 2px);
}

.listing-card--ticket:hover {
  border-color: rgba(255, 203, 5, 0.35);
  transform: translateY(-1px);
}

.listing-card__accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #FFE566 0%, var(--maize) 55%, #C99200 100%);
}

.listing-card__body {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
  padding-left: 0.35rem;
}

.listing-card__icon {
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
}

.listing-card__icon--rank {
  color: #f5f8fc;
  font-size: 1.05rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

.listing-card__icon--rank.is-highest {
  border-color: rgba(255, 203, 5, 0.55);
  background: rgba(255, 203, 5, 0.12);
  color: var(--maize);
}

.listing-card__icon--rank.is-silver {
  border-color: rgba(192, 200, 212, 0.55);
  background: rgba(192, 200, 212, 0.12);
  color: #c8d0dc;
}

.listing-card__icon--rank.is-bronze {
  border-color: rgba(205, 127, 50, 0.55);
  background: rgba(205, 127, 50, 0.12);
  color: #cd7f32;
}

.listing-card__copy {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
}

.listing-card__copy .ticket-badge.lowest {
  margin-bottom: 0.15rem;
}

.listing-card__level {
  margin: 0;
  color: var(--maize);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}

.listing-card__section {
  margin: 0;
  color: #f5f8fc;
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.listing-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 600;
}

.listing-card__meta > span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.listing-card__meta .ti {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.listing-card__meta-sep {
  width: 1px;
  height: 0.85rem;
  background: rgba(255, 255, 255, 0.2);
}

.listing-card__rule {
  flex: 0 0 1px;
  align-self: stretch;
  width: 0;
  margin: 0.2rem 0.35rem;
  border-left: 1px dashed rgba(255, 255, 255, 0.18);
}

.listing-card__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  /* Fixed width so the dotted rule stays put when edit inputs appear */
  flex: 0 0 7.5rem;
  gap: 0.12rem;
  width: 7.5rem;
  min-width: 7.5rem;
  max-width: 7.5rem;
  margin-left: 0;
  padding-left: 0.25rem;
  box-sizing: border-box;
}

.listing-card__price-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.listing-card__price-amount,
.listing-card__price-amount.price {
  color: var(--maize);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.listing-card__price-each {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  font-weight: 650;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.listing-card__actions {
  display: flex;
  flex: 0 0 7.5rem;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.45rem;
  width: 7.5rem;
  min-width: 7.5rem;
  max-width: 7.5rem;
  /* Reserve space for two stacked buttons (same as my-listings) */
  min-height: calc(2.35rem + 0.45rem + 2.35rem);
  margin-left: 0.15rem;
  box-sizing: border-box;
}

.listing-card__buy-btn,
.my-listing-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 203, 5, 0.55);
  border-radius: 8px;
  background: var(--maize);
  color: var(--blue);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.listing-card__buy-btn:hover,
.my-listing-buy-btn:hover {
  background: #ffe566;
  border-color: #ffe566;
  color: var(--blue);
}

.listing-card__level--market {
  display: none;
}

body[data-buy-preview="buyer"] .listing-row--mine .listing-card__level--mine,
body[data-buy-preview="buyer"] .listing-row--mine .my-listing-instant-sell-btn,
body[data-buy-preview="buyer"] .listing-row--mine .my-listing-edit-btn,
body[data-buy-preview="buyer"] .listing-row--mine .my-listing-cancel-btn,
body[data-buy-preview="buyer"] .listing-row--mine .my-listing-edit-dismiss-btn,
body[data-buy-preview="buyer"] .listing-row--mine .my-listing-edit-fields {
  display: none !important;
}

body[data-buy-preview="buyer"] .listing-row--mine .listing-card__level--market {
  display: block;
}

body[data-buy-preview="buyer"] .listing-row--mine .my-listing-buy-btn {
  display: inline-flex !important;
}

body[data-buy-preview="seller"] .listing-row--mine .listing-card__level--market,
body:not([data-buy-preview="buyer"]) .listing-row--mine .listing-card__level--market {
  display: none;
}

body[data-buy-preview="seller"] .listing-row--mine .my-listing-buy-btn,
body:not([data-buy-preview="buyer"]) .listing-row--mine .my-listing-buy-btn,
.listing-row--mine .my-listing-buy-btn[hidden] {
  display: none !important;
}

.listing-row:not(.listing-row--mine) .listing-card-hit:hover,
.listing-row--mine .listing-card--ticket:hover {
  border-color: rgba(255, 203, 5, 0.35);
  background: var(--blue);
  transform: translateY(-1px);
}

.listing-row:not(.listing-row--mine) .listing-card-hit::after {
  display: none;
}

.listing-row.lowest-price .listing-card-hit {
  border-color: rgba(255, 203, 5, 0.4);
  background: var(--blue);
  box-shadow: none;
}

.listing-row.lowest-price .listing-card__price-amount {
  color: var(--maize);
}

.listing-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.ticket-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.1rem;
  font-size: 0.7rem;
  font-weight: 750;
}

.ticket-badge.lowest {
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 203, 5, 0.14);
  color: var(--maize);
}

.ticket-badge.lowest .ti {
  font-size: 0.85rem;
}

.ticket-badge.my-listing {
  padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--maize);
  color: var(--maize);
}

.listing-main {
  color: #f5f8fc;
  font-size: 1rem;
  font-weight: 800;
}

.listing-detail {
  color: #8495aa;
  font-size: 0.76rem;
  font-weight: 550;
}

.listing-tags {
  margin-top: 0.15rem;
}

.listing-tag-student {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.25rem 0.45rem;
  border-radius: 5px;
  background: var(--blue);
  color: #9aabc0;
  font-size: 0.68rem;
  font-weight: 650;
}

.price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  margin-left: auto;
}

.price {
  color: #f8fafc;
  font-size: 1.2rem;
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price-each {
  color: #8495aa;
  font-size: 0.68rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lowest-price .price {
  color: var(--maize);
}

.listing-row--mine {
  margin-top: 0;
}

.my-listing-price {
  margin-top: 0;
}

.my-listing-edit-fields {
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.my-listing-edit-fields__row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 203, 5, 0.45);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

.my-listing-edit-fields__row:focus-within {
  border-color: var(--maize);
  box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.14);
}

.my-listing-currency {
  color: var(--maize);
  font-size: 1rem;
  font-weight: 800;
}

.my-listing-price-input {
  width: 100%;
  min-width: 0;
  border: none;
  background: transparent;
  color: #f8fafc;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  outline: none;
}

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

.my-listing-price-input[type='number'] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.my-listing-actions {
  margin-left: 0;
}

.my-listing-instant-sell-btn,
.my-listing-edit-btn,
.my-listing-cancel-btn,
.my-listing-edit-dismiss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: transparent;
  color: #e8eef6;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.my-listing-instant-sell-btn:hover,
.my-listing-edit-btn:hover,
.my-listing-cancel-btn:hover,
.my-listing-edit-dismiss-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.my-listing-instant-sell-btn {
  border-color: rgba(255, 203, 5, 0.55);
  color: var(--maize);
}

.my-listing-instant-sell-btn:hover {
  background: rgba(255, 203, 5, 0.1);
}

.listing-row--mine.is-editing .listing-card__price-label,
.listing-row--mine.is-editing .listing-card__price-amount,
.listing-row--mine.is-editing .listing-card__price-each {
  display: none;
}

.my-listing-edit-btn.is-save {
  border-color: rgba(255, 203, 5, 0.55);
  color: var(--maize);
}

.my-listing-edit-btn.is-save:hover {
  background: rgba(255, 203, 5, 0.1);
}

.my-listing-cancel-btn {
  border-color: rgba(248, 113, 113, 0.45);
  color: #f87171;
}

.my-listing-cancel-btn:hover {
  background: rgba(248, 113, 113, 0.1);
}

.my-listing-cancel-btn.is-confirm {
  border-color: rgba(248, 113, 113, 0.85);
  background: #ef4444;
  color: #fff;
}

.my-listing-cancel-btn.is-confirm:hover {
  background: #dc2626;
  border-color: #dc2626;
}

.buy-empty {
  padding: 2rem;
  border: 1px solid #1b3047;
  border-radius: 12px;
  background: var(--blue);
  color: #8495aa !important;
}

@media (max-width: 640px) {
  .listing-row:not(.listing-row--mine) .listing-card-hit::after {
    display: none;
  }

  .price {
    font-size: 1.05rem;
  }

  .tab {
    gap: 0.35rem;
    min-height: 56px;
    padding: 0.75rem 0.45rem;
    font-size: 0.78rem;
  }

  .tab .ti {
    font-size: 1rem;
  }
}

.sell-block {
  margin-top: 1.2rem;
}

.sell-option {
  display: block;
  padding: 1.4rem;
  border: 1px solid #1b3047;
  border-radius: 12px;
  background: var(--blue);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.sell-option:hover {
  border-color: var(--maize);
  transform: translateY(-1px);
}

.sell-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--maize);
  font-size: 1rem;
  font-weight: 800;
}

.sell-panel-empty {
  margin-top: 0;
  padding: 0;
  text-align: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#sell-panel-empty {
  margin-top: 0;
}

.sell-panel-empty__options {
  display: grid;
  gap: 0.7rem;
  text-align: left;
  margin: -0.35rem 0 0;
  padding: 1.15rem 1.1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: var(--blue);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.sell-panel-empty .sell-instant-price,
#sell-panel-empty .sell-instant-price {
  color: var(--maize);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.sell-change-method {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9eb0c4;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
}

.sell-change-method:hover {
  color: var(--maize);
}

.sell-listing {
  margin-top: 1.35rem;
}

.sell-instant {
  margin-top: 1.35rem;
}

.sell-instant__card {
  text-align: center;
}

.sell-instant__label {
  margin: 0;
  color: var(--maize);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sell-instant__price {
  margin: 0.55rem 0 0.7rem;
  color: #ffffff;
  font-size: clamp(2.15rem, 5.5vw, 2.85rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.sell-instant__note {
  margin: 0 auto 1.25rem;
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  font-weight: 550;
  line-height: 1.45;
}

.sell-instant .btn-next,
#btnInstantSell {
  display: inline-flex;
  width: 100%;
  margin-top: 0.25rem;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
}

.sell-instant .btn-next:disabled,
#btnInstantSell:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

/* Sell chooser modal */
.sell-modal[hidden] {
  display: none;
}

.sell-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.sell-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 7, 17, 0.78);
  backdrop-filter: blur(5px);
}

.sell-modal__panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 1.55rem 1.4rem 1.4rem;
  border: 1px solid #2a3f58;
  border-radius: 16px;
  background: var(--blue);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  animation: sell-modal-in 0.22s ease-out;
}

@keyframes sell-modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.sell-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9aabba;
  cursor: pointer;
}

.sell-modal__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.sell-modal__title {
  margin: 0 2rem 0 0;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sell-modal__subtitle {
  margin: 0.4rem 0 1.15rem;
  color: #91a2b6;
  font-size: 0.88rem;
  line-height: 1.45;
}

.sell-modal__options {
  display: grid;
  gap: 0.7rem;
}

.sell-modal__option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1rem 1rem;
  border: 1px solid #2a3f58;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.sell-modal__option:hover {
  border-color: rgba(255, 203, 5, 0.55);
  background: rgba(255, 203, 5, 0.06);
  transform: translateY(-1px);
}

.sell-modal__option:disabled,
.sell-modal__option.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.sell-modal__option:disabled:hover,
.sell-modal__option.is-disabled:hover {
  border-color: #2a3f58;
  background: rgba(0, 0, 0, 0.22);
  transform: none;
}

.sell-modal__option--instant:hover {
  border-color: rgba(126, 200, 255, 0.55);
  background: rgba(100, 180, 255, 0.08);
}

.sell-modal__option-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 203, 5, 0.12);
  color: var(--maize);
  font-size: 1.25rem;
}

.sell-modal__option-icon--bolt {
  background: rgba(100, 180, 255, 0.14);
  color: #7ec8ff;
}

.sell-modal__option-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.sell-modal__option-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
}

.sell-modal__option-desc {
  color: #8fa0b5;
  font-size: 0.8rem;
  line-height: 1.4;
}

.sell-modal__option-chevron {
  color: #6b7f96;
  font-size: 1.1rem;
}

.sell-modal__instant-card {
  margin-top: 0.35rem;
  padding: 1.15rem 1rem 1rem;
  border: 1px solid #2a3f58;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
}

.sell-modal__instant-card .btn-next,
.sell-modal__instant-card #btnSellModalAccept {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  margin-top: 0.15rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
}

.sell-modal__secondary {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.55rem 0.5rem;
  border: 0;
  background: transparent;
  color: #9eb0c4;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
}

.sell-modal__secondary:hover {
  color: var(--maize);
}

.sell-listing__header {
  margin-bottom: 1.25rem;
  text-align: center;
}

.sell-listing__title {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.sell-listing__title span {
  color: var(--maize);
}

.sell-listing__subtitle {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-weight: 500;
}

.pricing-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--blue);
  border-radius: 20px;
  padding: 1.75rem 1.75rem 1.5rem;
  border: 1px solid rgba(120, 170, 220, 0.28);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.amount-wrap { position: relative; }

.field-error {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: #f87171;
  min-height: 1.2em;
}

.amount-dollar {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
}

.amount-input {
  width: 100%;
  padding: 1.05rem 1.1rem 1.05rem 2.15rem;
  border: 1.5px solid rgba(100, 160, 220, 0.45);
  border-radius: 14px;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  background: rgba(0, 18, 36, 0.55);
  color: var(--white);
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.amount-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.amount-input:focus {
  outline: none;
  border-color: var(--maize);
  box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.18);
}

/* Hide number spinners */
.amount-input::-webkit-outer-spin-button,
.amount-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.amount-input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

#payout-section {
  display: none;
  margin-top: 1.5rem;
}

.payout-line {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.payout-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--maize);
  font-variant-numeric: tabular-nums;
}

.payout-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  margin-top: 1rem;
  border: none;
  background: transparent;
  font-family: inherit;
  padding: 0;
  transition: color 0.2s ease;
}

.payout-toggle:hover { color: var(--maize); }
.payout-toggle .ti { font-size: 1rem; transition: transform 0.2s ease; }

.fee-breakdown {
  display: none;
  margin-top: 0.75rem;
  padding: 1rem 1.15rem;
  background: rgba(0, 18, 36, 0.45);
  border: 1px solid rgba(120, 170, 220, 0.2);
  border-radius: 12px;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  padding: 4px 0;
}

.fee-row .fl { color: rgba(255, 255, 255, 0.55); }
.fee-row .fr { color: rgba(255, 255, 255, 0.9); font-weight: 600; font-variant-numeric: tabular-nums; }

.fee-row.total {
  border-top: 1px solid rgba(120, 170, 220, 0.2);
  margin-top: 6px;
  padding-top: 10px;
  font-weight: 700;
}

.fee-row.total .fl { color: var(--white); }
.fee-row.total .fr { color: var(--maize); }

.stripe-setup {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(120, 170, 220, 0.22);
}

.stripe-setup__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 203, 5, 0.12);
  color: var(--maize);
  font-size: 1.25rem;
}

.stripe-setup__copy {
  flex: 1;
  min-width: 0;
}

.stripe-setup__title {
  margin: 0 0 0.2rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.stripe-setup__text {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.stripe-setup__btn {
  flex-shrink: 0;
}

.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem 2.5rem;
  margin: 2.25rem auto 0;
  max-width: 640px;
  padding: 0;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 600;
}

.trust-item__icon {
  display: grid;
  place-items: center;
  color: var(--maize);
  font-size: 1.15rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .pricing-card { padding: 1.4rem 1.25rem 1.25rem; }

  .stripe-setup {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .stripe-setup__btn {
    margin-left: auto;
  }

  .trust-row {
    gap: 1.1rem 1.5rem;
    margin-top: 1.75rem;
  }

  .trust-item {
    font-size: 0.88rem;
  }
}

.sell-listing__card.pricing-card {
  max-width: none;
  width: 100%;
  margin: 0;
}

.sell-listing__trust.trust-row {
  margin-top: 1.35rem;
}

.btn-next {
  font-weight: 850;
  color: #0a1624 !important;
}

.btn--primary.btn--sm.stripe-setup__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-shrink: 0;
  min-height: 40px;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--maize);
  color: #0a1624;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.sell-desc {
  margin-top: 0.45rem;
  color: #8fa0b5;
  font-size: 0.8rem;
  line-height: 1.6;
}

.bid-form-panel {
  margin: 0 0 1.4rem;
  padding: 1.25rem 1.3rem 1.35rem;
  border: 1px solid #1b3047;
  border-radius: 12px;
  background: var(--blue);
}

.bid-form-lede {
  margin: 0 0 1rem;
  color: #8fa0b5;
  font-size: 0.86rem;
  line-height: 1.5;
}

.bid-offers-heading,
.bid-offers-heading-row .bid-offers-heading {
  margin: 0 0 0.55rem;
  color: #f5f8fc;
  font-size: 0.95rem;
  font-weight: 800;
}

.bid-offers-heading-row {
  margin: 0 0 0.75rem;
}

.bid-field-label {
  display: block;
  margin-bottom: 0.45rem;
  color: #9aabc0;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bid-ticket-select-wrap {
  position: relative;
  margin-bottom: 0.95rem;
}

.bid-ticket-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  min-height: 48px;
  padding: 0.7rem 2.4rem 0.7rem 0.9rem;
  border: 1px solid #263b54;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #f8fafc;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  cursor: pointer;
}

.bid-ticket-select:focus {
  outline: none;
  border-color: var(--maize);
  box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.14);
}

.bid-ticket-select option {
  color: #0a1624;
  background: #fff;
}

.bid-ticket-select__chevron {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  font-size: 1rem;
}

.bid-input-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid #263b54;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.bid-currency {
  color: var(--maize);
  font-size: 1.15rem;
  font-weight: 850;
}

.bid-input-row input[type="number"] {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #f8fafc;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 750;
}

.bid-input-row input[type="number"]::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.bid-place-cta,
.btn-buy.bid-place-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: 100%;
  margin-top: 0.9rem;
  padding: 0.7rem 1.1rem;
  border: 0;
  border-radius: 10px;
  background: var(--maize);
  color: #0a1624;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 850;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.bid-place-cta:hover,
.btn-buy.bid-place-cta:hover {
  background: #ffd84a;
  transform: translateY(-1px);
}

.bid-rows-wrap {
  min-height: 72px;
}

#bid-offers-rows {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.bid-listing-row .listing-card-hit {
  cursor: default;
  background: var(--blue);
}

.bid-listing-row .listing-card--ticket {
  /* Avoid load-time / paint jitter from the shared ticket hover lift */
  transition: border-color 0.2s ease, background 0.2s ease;
  transform: none;
}

/* Must beat `.listing-row:not(.listing-row--mine) .listing-card-hit:hover`
   (translateY(-1px)) — that lift moves the edit button out from under the
   cursor and causes hover flicker. */
.listing-row.bid-listing-row .listing-card-hit:hover,
.listing-row.bid-listing-row .listing-card--ticket:hover {
  transform: none;
}

.bid-listing-row .listing-card-hit::after {
  content: none !important;
}

.bid-listing-row.highest-offer .listing-card--ticket {
  border-color: rgba(255, 203, 5, 0.4);
  background: var(--blue);
}

.bid-listing-row .listing-card__price {
  margin-left: 0;
}

/*
 * Available bids: keep price/actions column widths (dotted rule stays put),
 * but center the amount across the full span from the rule to the card edge.
 */
[data-bids-group="available"] .bid-listing-row .listing-card__price {
  position: relative;
  align-self: stretch;
}

[data-bids-group="available"] .bid-listing-row .listing-card__price-amount {
  position: absolute;
  top: 50%;
  left: 0;
  /* Span price column + row gap + actions column (+ its margin) */
  right: calc(-0.85rem - 0.15rem - 7.5rem);
  transform: translateY(-50%);
  text-align: center;
  width: auto;
}

.bid-listing-row .listing-card__actions:not(.bid-row-actions--empty) {
  margin-left: 0;
}

@media (max-width: 640px) {
  [data-bids-group="available"] .bid-listing-row .listing-card__price-amount {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    text-align: inherit;
    width: auto;
  }
}

.bid-row-hit {
  align-items: center;
  gap: 0.85rem;
}

.bid-row-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.45rem;
}

/* Reserved (mid-sale) "mine" rows — informational only, no edit/cancel. */
.listing-card__pending-note {
  display: block;
  text-align: center;
  padding: 0.35rem 0.4rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 700;
}

.bid-edit-field {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 2.35rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 203, 5, 0.45);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

.bid-edit-field:focus-within {
  border-color: var(--maize);
  box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.14);
}

.bid-edit-field .bid-currency {
  color: var(--maize);
  font-size: 1rem;
  font-weight: 800;
}

.bid-edit-input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #f8fafc;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  outline: none;
}

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

.bid-edit-input[type='number'] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.bid-edit-btn,
.bid-save-btn,
.bid-edit-dismiss-btn,
.bid-cancel-btn,
.bid-accept-btn,
.bid-confirm-accept-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 2.35rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.bid-edit-btn,
.bid-edit-dismiss-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #e8eef6;
}

.bid-edit-btn:hover,
.bid-edit-dismiss-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.bid-save-btn {
  border: 1px solid rgba(255, 203, 5, 0.55);
  background: transparent;
  color: var(--maize);
}

.bid-save-btn:hover {
  background: rgba(255, 203, 5, 0.1);
}

.bid-accept-btn {
  border: 1px solid rgba(255, 203, 5, 0.55);
  background: var(--maize);
  color: var(--blue);
  font-weight: 800;
}

.bid-accept-btn:hover {
  background: #ffe566;
  border-color: #ffe566;
  color: var(--blue);
}

.bid-accept-btn.is-confirm,
.bid-confirm-accept-btn {
  border: 1px solid rgba(34, 197, 94, 0.9);
  background: #22c55e;
  color: #052e16;
}

.bid-accept-btn.is-confirm:hover,
.bid-confirm-accept-btn:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.bid-row-actions--empty {
  /* Keep column width so the dotted rule stays aligned */
  visibility: hidden;
  pointer-events: none;
}

.bid-cancel-btn {
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: transparent;
  color: #f87171;
}

.bid-cancel-btn:hover {
  background: rgba(248, 113, 113, 0.1);
}

.bid-cancel-btn.is-confirm {
  border-color: rgba(248, 113, 113, 0.85);
  background: #ef4444;
  color: #fff;
}

.bid-cancel-btn.is-confirm:hover {
  background: #dc2626;
  border-color: #dc2626;
}

@media (max-width: 640px) {
  .bid-listing-row .listing-card-hit {
    flex-wrap: wrap;
  }

  .bid-edit-field {
    width: 100%;
    min-width: 0;
  }

  .bid-row-actions {
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: wrap;
    order: 3;
  }

  .bid-edit-btn,
  .bid-save-btn,
  .bid-edit-dismiss-btn,
  .bid-cancel-btn,
  .bid-accept-btn,
  .bid-confirm-accept-btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 760px) {
  .page-wrap {
    padding: 1rem 1rem 3rem;
  }

  .event-hero {
    min-height: 0;
    padding: 1rem 1rem 1.2rem;
  }

  .event-hero__photo {
    inset: 0;
    opacity: 0.35;
  }

  .event-hero::before {
    background: linear-gradient(90deg, rgba(0, 18, 36, 0.98), rgba(0, 18, 36, 0.68));
  }

  .team-name {
    font-size: clamp(1.35rem, 7vw, 1.9rem);
  }

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

  .countdown-seg {
    padding: 0.55rem 0.3rem;
  }

  .countdown-prefix {
    font-size: 0.68rem;
  }

  .cunit .cnum {
    font-size: 1rem;
  }

  .market-strip--pill {
    grid-template-columns: 1fr;
  }

  .mstat-col {
    min-height: 67px;
    padding: 0.8rem 1rem;
  }

  .mstat-col + .mstat-col {
    border-top: 1px solid #1c3047;
    border-left: 0;
  }

  .listing-card-hit,
  .listing-card--ticket,
  .listing-card--bid {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.95rem 0.9rem 0.95rem 0.95rem;
    min-height: 0;
  }

  .listing-card__body {
    flex: 1 1 auto;
    gap: 0.65rem;
  }

  .listing-card__icon {
    flex-basis: 2.35rem;
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.05rem;
  }

  .listing-card__section {
    font-size: 1.05rem;
  }

  .listing-card__meta {
    gap: 0.35rem 0.4rem;
    font-size: 0.72rem;
  }

  .listing-card__rule {
    display: none;
  }

  .listing-card__price {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    max-width: none;
    margin-left: auto;
  }

  .listing-card__price-amount,
  .listing-card__price-amount.price {
    font-size: 1.25rem;
  }

  .listing-row:not(.listing-row--mine) .listing-card-hit::after {
    display: none;
  }

  .listing-card__actions,
  .my-listing-actions,
  .bid-row-actions {
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    min-width: 0;
    max-width: none;
    min-height: 0;
    margin-left: 0;
  }

  .listing-card__actions > *,
  .my-listing-actions > *,
  .bid-row-actions > * {
    flex: 1 1 auto;
  }
}

@media (max-width: 480px) {
  .meta-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .countdown-pill {
    min-height: 68px;
  }

  .countdown-prefix {
    line-height: 1.15;
  }

  .tabs .tab {
    min-height: 56px;
    font-size: 0.82rem;
  }

  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .section-select {
    width: 100%;
  }

  .price-col {
    margin-left: 0;
  }
}


/* ============================================================
   Ticket Detail
   ============================================================ */

body.page-ticket {
    margin: 0;
    min-height: 100vh;
    color: #f8fafc;
    font-family: var(--font-sans);
}

.ticket-page {
    width: min(560px, 100%);
    margin: 0 auto;
    padding: 0 0 3rem;
}

.ticket-hero {
    position: relative;
    min-height: clamp(240px, 42vw, 300px);
    overflow: hidden;
    border-radius: 0 0 22px 22px;
    background: var(--blue);
}

.ticket-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.ticket-hero__img--western-michigan,
.ticket-hero__img--oklahoma,
.ticket-hero__img--utep,
.ticket-hero__img--iowa,
.ticket-hero__img--penn-state,
.ticket-hero__img--indiana,
.ticket-hero__img--michigan-state,
.ticket-hero__img--ucla {
    object-position: center 40%;
}

.ticket-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 8, 15, 0.15) 0%, rgba(5, 8, 15, 0.15) 40%, rgba(5, 8, 15, 0.92) 100%),
        linear-gradient(90deg, rgba(5, 8, 15, 0.35), transparent 55%);
}

.ticket-hero__nav {
    position: absolute;
    z-index: 2;
    top: 1rem;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(8, 14, 24, 0.72);
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.ticket-hero__nav:hover {
    background: rgba(8, 14, 24, 0.9);
}

.ticket-hero__nav--back { left: 1rem; }
.ticket-hero__nav--save { right: 1rem; color: var(--maize); }
.ticket-hero__nav--save.is-saved { color: #ff6b6b; }

.ticket-hero__nav .ti { font-size: 1.2rem; }

.ticket-hero__copy {
    position: absolute;
    z-index: 2;
    left: 1.15rem;
    right: 1.15rem;
    bottom: 1.15rem;
}

.ticket-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.45rem, 5vw, 1.85rem);
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.ticket-body {
    padding: 1.35rem 1.15rem 0;
}

.ticket-block {
    margin-bottom: 1.45rem;
}

.ticket-block h2 {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.85rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.ticket-block h2 .ti {
    color: var(--maize);
    font-size: 1.1rem;
}

.ticket-seats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

.ticket-seat {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    padding: 0.85rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: #0c121c;
    text-align: center;
}

.ticket-seat .ti {
    color: var(--maize);
    font-size: 1.15rem;
}

.ticket-seat span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ticket-seat strong {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 850;
}

.ticket-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.ticket-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.78rem;
    font-weight: 700;
}

.ticket-feature--verified {
    border-color: rgba(74, 222, 128, 0.35);
    background: rgba(74, 222, 128, 0.1);
    color: #86efac;
}

.ticket-feature--student {
    border-color: rgba(96, 165, 250, 0.35);
    background: rgba(96, 165, 250, 0.1);
    color: #93c5fd;
}

.ticket-feature--instant {
    border-color: rgba(255, 203, 5, 0.35);
    background: rgba(255, 203, 5, 0.1);
    color: var(--maize-hover);
}

.ticket-event {
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: #0c121c;
}

.ticket-event__row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.55rem 0;
}

.ticket-event__row + .ticket-event__row {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ticket-event__row > .ti {
    margin-top: 0.1rem;
    color: var(--maize);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.ticket-event__row span,
.ticket-event__row strong {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 650;
}

.ticket-event__row small {
    display: block;
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.78rem;
    font-weight: 500;
}

.ticket-price__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: #0c121c;
}

.ticket-price__bar strong {
    display: block;
    color: #fff;
    font-size: 1.65rem;
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1;
}

.ticket-price__bar span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.4rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
    font-weight: 600;
}

.ticket-price__bar span .ti {
    color: #86efac;
}

.ticket-buy {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 46px;
    padding: 0.7rem 1.15rem;
    border: none;
    border-radius: 12px;
    background: var(--maize);
    color: #0a1624;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.ticket-buy:hover {
    background: #ffd84a;
    transform: translateY(-1px);
}

.ticket-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 46px;
    padding: 0.7rem 1.15rem;
    border: 1px solid rgba(248, 113, 113, 0.45);
    border-radius: 12px;
    background: rgba(248, 113, 113, 0.12);
    color: #fecaca;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 850;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.ticket-cancel:hover {
    background: rgba(248, 113, 113, 0.2);
    border-color: rgba(248, 113, 113, 0.7);
    transform: translateY(-1px);
}

.ticket-cancel.is-confirm {
    border-color: rgba(248, 113, 113, 0.85);
    background: #ef4444;
    color: #fff;
}

.ticket-cancel.is-confirm:hover {
    background: #dc2626;
    border-color: #dc2626;
}

.ticket-cancel:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.ticket-owned {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0.7rem 1.15rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 750;
}

@media (max-width: 520px) {
    .ticket-seats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ticket-price__bar {
        flex-direction: column;
        align-items: stretch;
    }

    .ticket-buy,
    .ticket-cancel,
    .ticket-owned {
        justify-content: center;
    }
}


/* ============================================================
   Checkout
   ============================================================ */

body.page-checkout {
  margin: 0;
  min-height: 100dvh;
  color: #f8fafc;
  font-family: var(--font-sans);
}

body.page-checkout #footer {
  display: none;
}

.checkout-page {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 1.15rem clamp(1.25rem, 3vw, 2.5rem) 2.75rem;
}

.checkout-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
  color: var(--maize);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.15s ease;
}

.checkout-back:hover {
  color: var(--maize-hover);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(420px, 1.15fr);
  gap: clamp(1.25rem, 2vw, 1.75rem);
  align-items: stretch;
  min-height: calc(100dvh - 7.5rem);
}

.checkout-aside,
.checkout-main {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(14, 28, 46, 0.92), rgba(7, 16, 28, 0.98));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  animation: checkout-rise 0.45s ease both;
  overflow: hidden;
}

.checkout-main {
  animation-delay: 0.06s;
  border: 1px solid rgba(120, 160, 210, 0.16);
  padding: 1.75rem 1.65rem 1.45rem;
  min-height: 100%;
}

@keyframes checkout-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.checkout-aside {
  border: 1px solid rgba(255, 203, 5, 0.28);
  padding: 1.75rem 1.65rem 1.5rem;
  min-height: 100%;
}

.checkout-aside__glow {
  position: absolute;
  top: -40%;
  left: 10%;
  right: 10%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(80, 140, 200, 0.22), transparent 70%);
  pointer-events: none;
}

.checkout-aside__eyebrow {
  position: relative;
  margin: 0 0 1rem;
  color: var(--maize);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.checkout-aside__title {
  position: relative;
  margin: 0 0 1.6rem;
  color: #fff;
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.checkout-aside__title span {
  margin: 0 0.18em;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78em;
  font-weight: 550;
}

.checkout-aside__meta {
  position: relative;
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
}

.checkout-aside__meta li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-weight: 600;
}

.checkout-aside__meta .ti {
  color: var(--maize);
  font-size: 1.1rem;
}

.checkout-aside__amount {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-aside__amount span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  font-weight: 650;
}

.checkout-aside__amount strong {
  color: var(--maize);
  font-size: clamp(2rem, 3.2vw, 2.55rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1;
}

.checkout-aside__note {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1.1rem 0 1.35rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.8rem;
  font-weight: 550;
  line-height: 1.45;
}

.checkout-aside__note .ti {
  margin-top: 0.08rem;
  color: var(--maize);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.checkout-aside__trust {
  position: relative;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.checkout-aside__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 203, 5, 0.35);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 650;
  white-space: nowrap;
}

.checkout-aside__trust .ti {
  color: var(--maize);
  font-size: 0.85rem;
}

.checkout-main__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.55rem;
}

.checkout-main__header h2 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: clamp(1.75rem, 2.6vw, 2.15rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1;
}

.checkout-main__header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
}

.checkout-main__secure {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 203, 5, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.checkout-main__secure > .ti {
  margin-top: 0.05rem;
  color: var(--maize);
  font-size: 1rem;
}

.checkout-main__secure strong {
  display: block;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.2;
}

.checkout-main__secure span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.25;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.checkout-section-title {
  margin: 0 0 0.65rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.checkout-methods {
  margin-bottom: 1.35rem;
}

.checkout-method-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.checkout-method {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 4.5rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(4, 10, 18, 0.55);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.checkout-method input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-method:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(8, 16, 28, 0.85);
}

.checkout-method.is-selected {
  border-color: var(--maize);
  background: rgba(255, 203, 5, 0.05);
  box-shadow: 0 0 0 1px rgba(255, 203, 5, 0.18);
}

.checkout-method__icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--maize);
  font-size: 1.2rem;
}

.checkout-method__icon--apple {
  color: #fff;
}

.checkout-method.is-selected .checkout-method__icon--apple {
  color: var(--maize);
}

.checkout-method__copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  padding-right: 1.1rem;
}

.checkout-method__copy strong {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 750;
}

.checkout-method__copy span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  font-weight: 500;
}

.checkout-method__check {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  color: var(--maize);
  font-size: 1.05rem;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.checkout-method.is-selected .checkout-method__check {
  opacity: 1;
  transform: none;
}

.checkout-wallets {
  margin-bottom: 1.35rem;
}

.checkout-wallets[hidden] {
  display: none;
}

/* Keep layout size while Stripe probes wallet availability. Only hide
   visually — display:none / height:0 can break Apple Pay detection. */
.checkout-wallets--pending {
  visibility: hidden;
}

#express-checkout-element {
  min-height: 2.75rem;
}

.checkout-wallet-error {
  margin: 0.65rem 0 0;
  color: #ff8e8e;
  font-size: 0.9rem;
  line-height: 1.35;
}

.checkout-wallet-error[hidden] {
  display: none;
}

.checkout-wallet-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checkout-wallet-divider::before,
.checkout-wallet-divider::after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.checkout-wallet-divider span {
  line-height: 1;
}

.checkout-new {
  margin-bottom: 1.25rem;
}

.checkout-new .checkout-method {
  margin-bottom: 0.85rem;
}

.checkout-card-fields {
  display: grid;
  gap: 0.75rem;
}

.checkout-card-fields[hidden] {
  display: none;
}

.checkout-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.checkout-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(4, 10, 18, 0.7);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.checkout-card:focus-within {
  border-color: rgba(255, 203, 5, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.1);
}

.checkout-card--element {
  min-height: 3.25rem;
}

.checkout-card__element {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0.15rem 0;
}

.checkout-card__icon {
  display: grid;
  place-items: center;
  color: var(--maize);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.checkout-card__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.checkout-card__input::placeholder {
  color: rgba(255, 255, 255, 0.32);
  font-weight: 550;
  letter-spacing: 0;
}

.checkout-pay.is-busy,
.checkout-pay:disabled {
  opacity: 0.65;
  cursor: wait;
  pointer-events: none;
}

.checkout-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 56px;
  margin: auto 0 1rem;
  border: 0;
  border-radius: 14px;
  background: var(--maize);
  color: #0a1624;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(255, 203, 5, 0.22);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.checkout-pay .ti {
  font-size: 1.05rem;
}

.checkout-pay:hover {
  background: #ffd84a;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(255, 203, 5, 0.28);
}

.checkout-pay:active {
  transform: translateY(0);
}

.checkout-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.74rem;
  font-weight: 550;
  text-align: center;
}

.checkout-secure-note .ti {
  color: var(--maize);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: 0;
  }

  .checkout-aside,
  .checkout-main {
    min-height: 0;
  }

  .checkout-aside__amount {
    margin-top: 2rem;
  }
}

@media (max-width: 640px) {
  .checkout-page {
    padding: 1rem 0.9rem 2.25rem;
  }

  .checkout-aside,
  .checkout-main {
    padding: 1.25rem 1.05rem 1.15rem;
    border-radius: 18px;
  }

  .checkout-main__header {
    flex-direction: column;
  }

  .checkout-main__secure {
    align-self: flex-start;
  }

  .checkout-method-list,
  .checkout-card-row {
    grid-template-columns: 1fr;
  }

  .checkout-aside__trust li {
    font-size: 0.66rem;
    padding: 0.38rem 0.58rem;
  }
}


/* ============================================================
   Success
   ============================================================ */

* { margin: 0; padding: 0; }

body.page-success {
    font-family: var(--font-sans);
    color: var(--white);
    overflow-x: hidden;
}

.success-main {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100dvh - 4.25rem);
    overflow: hidden;
    padding: 1.5rem 1.25rem 4.25rem;
    isolation: isolate;
}

body.page-success #footer {
    display: block;
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.success-atmosphere {
    pointer-events: none;
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 20%, rgba(255, 203, 5, 0.1), transparent 60%),
        radial-gradient(ellipse 55% 40% at 50% 100%, rgba(12, 40, 72, 0.45), transparent 70%),
        var(--page-bg);
    transition: opacity 0.45s ease;
}

.success-atmosphere__photo {
    display: none;
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.04);
}

.success-atmosphere__shade {
    display: none;
    position: absolute;
    inset: 0;
}

.page-success--waiting .success-atmosphere {
    background: var(--page-bg);
}

.page-success--waiting .success-atmosphere__photo {
    display: block;
    opacity: 0.55;
    filter: saturate(1.08) brightness(0.62) contrast(1.05);
    animation: wait-photo-drift 24s ease-in-out infinite alternate;
}

.page-success--waiting .success-atmosphere__shade {
    display: block;
    background:
        radial-gradient(ellipse 58% 46% at 50% 34%, rgba(255, 203, 5, 0.16), transparent 64%),
        linear-gradient(180deg, rgba(1, 4, 9, 0.35) 0%, rgba(1, 4, 9, 0.72) 52%, rgba(1, 4, 9, 0.96) 100%);
}

body.is-success-revealed .success-atmosphere__photo {
    display: block;
    opacity: 0.3;
    filter: saturate(1) brightness(0.65);
    animation: none;
}

body.is-success-revealed .success-atmosphere__shade {
    display: block;
    background:
        linear-gradient(180deg, rgba(1, 4, 9, 0.5) 0%, rgba(1, 4, 9, 0.78) 48%, rgba(1, 4, 9, 0.94) 100%),
        radial-gradient(ellipse 80% 55% at 50% 18%, rgba(255, 203, 5, 0.18), transparent 60%);
}

.page-success--waiting .success-atmosphere__flare,
.page-success--waiting .success-atmosphere__ring {
    opacity: 0;
}

.success-atmosphere__flare {
    position: absolute;
    width: 42vmax;
    height: 42vmax;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.28;
    animation: success-flare 8s ease-in-out infinite alternate;
}

.success-atmosphere__flare--a {
    top: -12%;
    left: -8%;
    background: rgba(255, 203, 5, 0.22);
}

.success-atmosphere__flare--b {
    right: -10%;
    bottom: 5%;
    background: rgba(30, 90, 150, 0.28);
    animation-delay: -2.5s;
}

.success-atmosphere__ring {
    position: absolute;
    left: 50%;
    top: 28%;
    width: min(28rem, 78vw);
    height: min(28rem, 78vw);
    margin: 0;
    border: 1px solid rgba(255, 203, 5, 0.22);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.72);
    opacity: 0;
}

body.is-success-revealed .success-atmosphere__ring {
    animation: success-ring 2.8s ease-out infinite;
}

body.is-success-revealed .success-atmosphere__ring--delayed {
    animation-delay: 1.1s;
}

.success-stage {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 34rem;
    min-height: 0;
    height: 100%;
    text-align: center;
}

.page-success--waiting .success-stage {
    z-index: 3;
    max-width: none;
    padding: 0;
}

.success-panel--loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: min(32rem, 100%);
    max-height: 100%;
    animation: wait-panel-in 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.wait-headline {
    margin: 0 0 clamp(1.25rem, 3dvh, 1.85rem);
    color: var(--white);
    font-size: clamp(2.6rem, 8vw, 4rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.045em;
    line-height: 0.92;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    animation: wait-headline-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.wait-headline span {
    color: var(--maize);
}

/* —— Ticket wait motif —— */
.wait-ticket {
    position: relative;
    width: min(24.5rem, 92vw);
    margin-bottom: clamp(1.4rem, 3.2dvh, 2rem);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    overflow: visible;
    perspective: 1000px;
    animation: wait-ticket-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

.wait-ticket__glow {
    position: absolute;
    width: 82%;
    height: 82%;
    border-radius: 50%;
    background: rgba(255, 203, 5, 0.24);
    filter: blur(36px);
    animation: wait-ticket-glow 2.6s ease-in-out infinite;
    transition: opacity 0.35s ease;
}

.wait-ticket__shadow {
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: -0.65rem;
    height: 1.05rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    filter: blur(9px);
    animation: wait-ticket-shadow 3s ease-in-out infinite;
    transition: opacity 0.35s ease;
}

.wait-ticket__stub {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    min-height: 8.35rem;
    border-radius: 16px;
    overflow: visible;
    animation: wait-ticket-float 3.1s ease-in-out infinite;
    transform-origin: 50% 60%;
    transform-style: preserve-3d;
}

.wait-ticket__shine {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 5;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(
        115deg,
        transparent 28%,
        rgba(255, 255, 255, 0.16) 45%,
        rgba(255, 203, 5, 0.22) 50%,
        transparent 64%
    );
    background-size: 220% 100%;
    animation: wait-ticket-shine 3.2s ease-in-out infinite;
    mix-blend-mode: screen;
}

.wait-ticket__half {
    display: flex;
    min-height: inherit;
    overflow: hidden;
    background:
        linear-gradient(140deg, rgba(255, 203, 5, 0.08), transparent 40%),
        linear-gradient(180deg, var(--blue-light) 0%, var(--blue) 100%);
    border: 1px solid rgba(255, 203, 5, 0.38);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    will-change: transform;
}

.wait-ticket__half--main {
    flex: 1 1 auto;
    border-radius: 16px 0 0 16px;
    border-right: none;
}

.wait-ticket__half--stub {
    flex: 0 0 5.1rem;
    border-radius: 0 16px 16px 0;
    border-left: none;
}

.wait-ticket__stripe {
    position: relative;
    flex: 0 0 0.65rem;
    background: linear-gradient(180deg, #FFE566 0%, var(--maize) 42%, #C99200 100%);
    overflow: hidden;
}

.wait-ticket__stripe::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: wait-stripe-flow 2s linear infinite;
}

.wait-ticket__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.12rem;
    padding: 1.05rem 0.8rem 1rem 1.1rem;
    text-align: left;
}

.wait-ticket__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.wait-ticket__logo {
    display: block;
    width: auto;
    height: 1.7rem;
}

.wait-ticket__chip {
    flex-shrink: 0;
    padding: 0.28rem 0.45rem;
    border: 1px solid rgba(255, 203, 5, 0.4);
    border-radius: 4px;
    color: var(--maize);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    background: rgba(255, 203, 5, 0.08);
}

.wait-ticket__label {
    margin: 0;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.wait-ticket__meta {
    margin: 0.12rem 0 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.74rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

.wait-ticket__barcode {
    margin-top: 0.75rem;
    width: 100%;
    max-width: 11rem;
    height: 1.2rem;
    border-radius: 2px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.82) 0 2px,
        transparent 2px 3px,
        rgba(255, 255, 255, 0.82) 3px 4px,
        transparent 4px 6px,
        rgba(255, 255, 255, 0.82) 6px 7px,
        transparent 7px 8px,
        rgba(255, 255, 255, 0.82) 8px 11px,
        transparent 11px 13px,
        rgba(255, 255, 255, 0.82) 13px 14px,
        transparent 14px 16px
    );
    opacity: 0.58;
}

.wait-ticket__tear {
    position: relative;
    flex: 0 0 0.8rem;
    background:
        radial-gradient(circle at 100% 0.55rem, transparent 0.34rem, rgba(1, 4, 9, 0.6) 0.35rem) 0 0 / 100% 1.1rem repeat-y;
    border-left: 1px dashed rgba(255, 255, 255, 0.34);
}

.wait-ticket__stub-end {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 203, 5, 0.2), rgba(255, 203, 5, 0.08));
    color: var(--maize);
}

.wait-ticket__admit {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.wait-ticket__one {
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 203, 5, 0.4);
}

/* Rip apart when transfer is ready */
.wait-ticket.is-ripping .wait-ticket__stub {
    animation: none;
}

.wait-ticket.is-ripping .wait-ticket__glow,
.wait-ticket.is-ripping .wait-ticket__shadow,
.wait-ticket.is-ripping .wait-ticket__shine {
    animation: none;
    opacity: 0;
    visibility: hidden;
}

.wait-ticket.is-ripping .wait-ticket__half--main {
    animation: wait-ticket-rip-main 0.78s cubic-bezier(0.22, 0.8, 0.28, 1) forwards;
}

.wait-ticket.is-ripping .wait-ticket__half--stub {
    animation: wait-ticket-rip-stub 0.78s cubic-bezier(0.22, 0.8, 0.28, 1) forwards;
}

.wait-ticket.is-ripping .wait-ticket__tear {
    animation: wait-ticket-tear-flash 0.35s ease-out forwards;
}

.success-panel--loading.is-ripping .wait-headline,
.success-panel--loading.is-ripping .wait-status,
.success-panel--loading.is-ripping .wait-track,
.success-panel--loading.is-ripping .wait-cancel,
.success-panel--loading.is-ripping .wait-cancel-error {
    animation: wait-fade-out 0.35s ease forwards;
}

.wait-status {
    margin: 0 0 clamp(1.05rem, 2.4dvh, 1.45rem);
    min-height: 1.35em;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.02rem, 2.4vw, 1.18rem);
    font-weight: 650;
    letter-spacing: -0.01em;
    transition: opacity 0.22s ease, transform 0.22s ease;
    flex-shrink: 0;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.wait-status.is-swap {
    opacity: 0;
    transform: translateY(6px);
}

.wait-track {
    position: relative;
    width: min(15rem, 62vw);
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 1px rgba(255, 203, 5, 0.1);
    flex-shrink: 0;
}

.wait-track__beam {
    position: absolute;
    inset: 0 auto 0 0;
    width: 48%;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, #FFE566, var(--maize), transparent);
    box-shadow: 0 0 14px rgba(255, 203, 5, 0.5);
    animation: wait-beam 1.3s ease-in-out infinite;
}

.wait-cancel {
    margin-top: 1.5rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    font-size: 0.8125rem;
    padding: 0.375rem 0.875rem;
    transition: color 0.15s, border-color 0.15s;
}

.wait-cancel:hover:not(:disabled) {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.4);
}

.wait-cancel:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.wait-cancel-error {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #ff6b6b;
    min-height: 1em;
}

.success-panel {
    width: 100%;
}

#success-state,
#failure-state {
    display: none;
}

#success-state.is-visible,
#failure-state.is-visible {
    display: block;
    animation: success-rise 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

#loading-state.is-hidden {
    display: none;
}

.success-panel--done {
    width: min(26rem, 100%);
    margin: 0 auto;
}

.success-panel--done .success-seal,
.success-panel--done .success-eyebrow,
.success-panel--done .title,
.success-panel--done .success-payout-card,
.success-panel--done .subtitle,
.success-panel--done .success-actions {
    animation: success-rise 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.success-panel--done .success-seal { animation-delay: 0.02s; }
.success-panel--done .success-eyebrow { animation-delay: 0.08s; }
.success-panel--done .title { animation-delay: 0.14s; }
.success-panel--done .success-payout-card { animation-delay: 0.22s; }
.success-panel--done .subtitle { animation-delay: 0.3s; }
.success-panel--done .success-actions { animation-delay: 0.38s; }

.success-seal {
    position: relative;
    width: 5.75rem;
    height: 5.75rem;
    margin: 0 auto 1.2rem;
}

.success-seal__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 203, 5, 0.2);
    animation: success-seal-pulse 1.6s ease-out infinite;
}

.success-seal__mark {
    position: absolute;
    inset: 0.4rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--maize);
    color: var(--blue);
    font-size: 2.2rem;
    box-shadow:
        0 12px 32px rgba(255, 203, 5, 0.32),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset;
    animation: success-seal-pop 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.success-eyebrow {
    margin: 0 0 0.5rem;
    color: var(--maize);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.title {
    font-family: var(--font-sans);
    font-size: clamp(2.35rem, 7vw, 3.4rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.04em;
    line-height: 1.02;
    color: var(--white);
    text-wrap: balance;
}

.title__accent {
    color: var(--maize);
}

.success-payout-card {
    margin: 1.35rem auto 0;
    padding: 1.25rem 1.25rem;
    width: 100%;
    border-radius: 16px;
    background: linear-gradient(180deg, var(--blue-light) 0%, var(--blue) 100%);
    border: 1px solid rgba(255, 203, 5, 0.35);
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.success-payout-card--ask {
    border-color: rgba(120, 170, 220, 0.28);
}

.success-payout-card__label {
    margin: 0 0 0.35rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.success-payout {
    margin: 0;
    color: var(--maize);
    font-size: clamp(2.7rem, 9vw, 3.75rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.success-payout--ask {
    color: #fff;
}

.success-payout-card__hint {
    margin: 0.55rem 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.86rem;
    font-weight: 600;
}

.subtitle {
    margin: 1.1rem auto 0;
    max-width: 24rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    line-height: 1.55;
    font-weight: 500;
}

.success-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.success-actions__primary {
    width: 100%;
    min-height: 3.35rem;
    font-size: 1.02rem;
    font-weight: 800;
    animation: success-cta-glow 2.4s ease-in-out infinite;
}

.success-actions__secondary {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 650;
    text-decoration: none;
    padding: 0.4rem;
    transition: color 0.15s ease;
}

.success-actions__secondary:hover {
    color: var(--maize);
}

.crossmark {
    width: 5.25rem;
    height: 5.25rem;
    margin: 0 auto 1.15rem;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.18);
    color: #f87171;
    display: grid;
    place-items: center;
    font-size: 2.2rem;
}

@keyframes wait-panel-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes wait-headline-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wait-ticket-in {
    from {
        opacity: 0;
        transform: translateY(28px) rotateX(18deg) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0) scale(1);
    }
}

@keyframes wait-ticket-float {
    0%, 100% { transform: translateY(0) rotateX(5deg) rotate(-1.5deg); }
    50% { transform: translateY(-0.75rem) rotateX(0deg) rotate(1.3deg); }
}

@keyframes wait-ticket-shadow {
    0%, 100% { transform: scaleX(1); opacity: 0.55; }
    50% { transform: scaleX(0.76); opacity: 0.26; }
}

@keyframes wait-ticket-glow {
    0%, 100% { opacity: 0.48; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.12); }
}

@keyframes wait-ticket-shine {
    0% { background-position: 140% 0; opacity: 0.3; }
    45% { opacity: 0.9; }
    100% { background-position: -50% 0; opacity: 0.3; }
}

@keyframes wait-stripe-flow {
    from { transform: translateY(-100%); }
    to { transform: translateY(100%); }
}

@keyframes wait-ticket-rip-main {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
    35% { transform: translate(-0.35rem, -0.15rem) rotate(-2deg); opacity: 1; }
    100% { transform: translate(-38vw, -18vh) rotate(-18deg); opacity: 0; }
}

@keyframes wait-ticket-rip-stub {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
    35% { transform: translate(0.35rem, 0.2rem) rotate(3deg); opacity: 1; }
    100% { transform: translate(34vw, 22vh) rotate(22deg); opacity: 0; }
}

@keyframes wait-ticket-tear-flash {
    0% { background-color: transparent; box-shadow: none; }
    40% { background-color: rgba(255, 203, 5, 0.55); box-shadow: 0 0 18px rgba(255, 203, 5, 0.45); }
    100% { background-color: transparent; box-shadow: none; }
}

@keyframes wait-fade-out {
    to { opacity: 0; transform: translateY(8px); }
}

@keyframes wait-photo-drift {
    from { transform: scale(1.06) translate3d(0, 0, 0); }
    to { transform: scale(1.12) translate3d(0, -2%, 0); }
}

@keyframes wait-beam {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(280%); }
}

@keyframes success-flare {
    from { transform: scale(1) translate(0, 0); opacity: 0.28; }
    to { transform: scale(1.12) translate(2%, -2%); opacity: 0.45; }
}

@keyframes success-ring {
    0% {
        opacity: 0.55;
        transform: translate(-50%, -50%) scale(0.55);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.25);
    }
}

@keyframes success-rise {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes success-seal-pop {
    0% { transform: scale(0.4); opacity: 0; }
    70% { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes success-seal-pulse {
    0% { transform: scale(0.85); opacity: 0.7; }
    100% { transform: scale(1.55); opacity: 0; }
}

@keyframes success-cta-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 203, 5, 0); }
    50% { box-shadow: 0 0 0 6px rgba(255, 203, 5, 0.12), 0 12px 28px rgba(255, 203, 5, 0.18); }
}

.page-success--instant .success-atmosphere,
.page-success--buy .success-atmosphere {
    background: var(--page-bg);
}

.page-success--instant.page-success--waiting .success-atmosphere,
.page-success--buy.page-success--waiting .success-atmosphere {
    background: var(--page-bg);
}

.page-success--instant.is-success-revealed .success-atmosphere__ring,
.page-success--buy.is-success-revealed .success-atmosphere__ring {
    animation-duration: 2.4s;
}

@media (max-width: 480px) {
    .success-main {
        min-height: calc(100dvh - 3.75rem);
        padding: 1rem 1rem 3.75rem;
    }
    .success-seal { width: 4.75rem; height: 4.75rem; }
    .success-payout-card { padding: 1rem 1.05rem 1.05rem; }
    .wait-headline { font-size: clamp(2.2rem, 10vw, 3rem); margin-bottom: 1.1rem; }
    .wait-ticket { width: min(21.5rem, 92vw); margin-bottom: 1.2rem; }
    .wait-ticket__stub { min-height: 7.5rem; }
    .wait-ticket__half--stub { flex-basis: 4.5rem; }
    .wait-ticket__stripe { flex-basis: 0.55rem; }
    .wait-ticket__logo { height: 1.5rem; }
    .wait-ticket__label { font-size: 1.05rem; }
    .wait-ticket__barcode { max-width: 9.25rem; height: 1rem; margin-top: 0.55rem; }
}

@media (prefers-reduced-motion: reduce) {
    .success-atmosphere__flare,
    .success-atmosphere__ring,
    .success-seal__pulse,
    .success-actions__primary,
    #success-state.is-visible,
    #failure-state.is-visible,
    .success-seal__mark,
    .success-atmosphere__photo,
    .success-panel--loading,
    .wait-headline,
    .wait-ticket,
    .success-panel--done .success-seal,
    .success-panel--done .success-eyebrow,
    .success-panel--done .title,
    .success-panel--done .success-payout-card,
    .success-panel--done .subtitle,
    .success-panel--done .success-actions,
    .wait-ticket__stub,
    .wait-ticket__glow,
    .wait-ticket__shadow,
    .wait-ticket__shine,
    .wait-ticket__stripe::after,
    .wait-ticket__half--main,
    .wait-ticket__half--stub,
    .wait-ticket__tear,
    .wait-track__beam,
    .wait-status,
    .success-panel--loading.is-ripping .wait-headline,
    .success-panel--loading.is-ripping .wait-status,
    .success-panel--loading.is-ripping .wait-track,
    .success-panel--loading.is-ripping .wait-cancel,
    .success-panel--loading.is-ripping .wait-cancel-error {
        animation: none !important;
        transition: none !important;
    }

    .wait-ticket,
    .wait-ticket__stub,
    .wait-ticket__half { transform: none; }
    .wait-status { opacity: 1; transform: none; }
}


/* ============================================================
   Transfer Instructions
   ============================================================ */

* { margin: 0; padding: 0; }

body.page-transfer {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--white);
    min-height: 100vh;
}

/* Fixed black gap above/below the card via .transfer-container padding —
   don't let the sticky-footer auto-margin add extra (growing/shrinking) space on top of it. */
body.page-transfer #footer {
    margin-top: 0;
}


.transfer-container {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.transfer-card {
    background: var(--blue);
    border-radius: 20px;
    padding: 2.5rem 2.25rem;
    border: 1px solid rgba(120, 170, 220, 0.28);
}

.transfer-header {
    text-align: center;
    margin-bottom: 2.25rem;
}

.transfer-header h1 {
    font-family: var(--font-sans);
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.transfer-header h1 span {
    color: var(--maize);
}

.transfer-inbox {
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.55;
}

.transfer-inbox .email-highlight {
    display: inline-block;
    margin-top: 0.45rem;
}

.transfer-dropdown {
    margin-bottom: 1rem;
}

.transfer-dropdown:last-child {
    margin-bottom: 0;
}

.dropdown-toggle {
    width: 100%;
    background: rgba(0, 18, 36, 0.45);
    border: 1.5px solid rgba(100, 160, 220, 0.35);
    border-radius: 12px;
    padding: 1rem 1.15rem;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transition: border-color 0.2s ease, background 0.2s ease;
    text-align: left;
}

.dropdown-toggle:hover {
    background: rgba(0, 18, 36, 0.65);
    border-color: rgba(100, 160, 220, 0.55);
}

.dropdown-toggle.active {
    border-color: rgba(255, 203, 5, 0.45);
}

.dropdown-toggle svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--maize);
    transition: transform 0.3s ease;
}

.dropdown-toggle.active svg {
    transform: rotate(180deg);
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(0, 18, 36, 0.4);
    border-radius: 12px;
    margin-top: 0.5rem;
}

.dropdown-content.active {
    max-height: 560px;
    padding: 1.35rem 1.25rem;
    border: 1px solid rgba(120, 170, 220, 0.22);
}

.steps-list {
    list-style: none;
    counter-reset: step-counter;
}

.step-item {
    counter-increment: step-counter;
    margin-bottom: 1.1rem;
    padding-left: 2.75rem;
    position: relative;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.02rem;
    line-height: 1.6;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-item::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--maize);
    color: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.step-item strong {
    color: var(--white);
    font-weight: 700;
}

.step-item a {
    color: var(--maize);
    word-break: break-all;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.step-item a:hover {
    color: var(--maize-hover);
}

.email-highlight {
    background: var(--maize);
    color: var(--blue);
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.95em;
}

.transfer-card .btn {
    margin-top: 1.35rem;
}

@media (max-width: 768px) {

    .transfer-card {
        padding: 1.75rem 1.25rem;
    }

    .transfer-header h1 {
        font-size: 1.7rem;
    }

    .transfer-inbox {
        font-size: 0.98rem;
    }

    .dropdown-toggle {
        font-size: 0.98rem;
    }

    .step-item {
        font-size: 0.95rem;
        padding-left: 2.5rem;
    }
}

/* Instant accept modal */
.transfer-accept-modal[hidden] {
    display: none;
}

.transfer-accept-modal {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.transfer-accept-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 7, 17, 0.78);
    backdrop-filter: blur(5px);
}

.transfer-accept-modal__panel {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    padding: 1.55rem 1.4rem 1.4rem;
    border: 1px solid #2a3f58;
    border-radius: 16px;
    background: var(--blue);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.transfer-accept-modal__close {
    position: absolute;
    top: 0.55rem;
    right: 0.7rem;
    border: 0;
    background: transparent;
    color: #9aabba;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.transfer-accept-modal__title {
    margin: 0 2rem 0 0;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.transfer-accept-modal__subtitle {
    margin: 0.4rem 0 1.15rem;
    color: #91a2b6;
    font-size: 0.88rem;
    line-height: 1.45;
}

.transfer-accept-modal__card {
    padding: 1.15rem 1rem 1rem;
    border: 1px solid #2a3f58;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.22);
    text-align: center;
}

.transfer-accept-modal__label {
    margin: 0;
    color: #9eb0c4;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.transfer-accept-modal__price {
    margin: 0.55rem 0 0.75rem;
    color: #4ade80;
    font-size: clamp(2rem, 5vw, 2.6rem);
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1;
}

.transfer-accept-modal__note {
    margin: 0 0 1.15rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
    line-height: 1.55;
}

.transfer-accept-modal__card .btn {
    width: 100%;
}


/* ============================================================
   Account Dashboard
   ============================================================ */

body.account-page {
    min-height: 100vh;
    margin: 0;
    color: #f8fafc;
    font-family: var(--font-sans);
}

.account-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 3.5rem;
}

.account-shell--sub {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 3.5rem;
}

.back-link { margin-bottom: 1.35rem; font-size: 0.9rem; }

.account-sub-hero {
    margin-bottom: 1.35rem;
}

.account-sub-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 2.5rem);
    font-weight: 850;
    letter-spacing: -0.03em;
}

.account-sub-hero h1 span { color: var(--maize); }

.account-sub-hero p {
    margin: 0.5rem 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
}

.account-shell--sub .account-section {
    margin-left: 0;
    margin-right: 0;
}

/* —— Hero —— */
.account-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(320px, 42vh, 460px);
    margin: 0 0 1.5rem;
    padding: 3.25rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
    overflow: hidden;
}

.account-hero__media {
    position: absolute;
    inset: 0;
}

.account-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}

.account-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(1, 4, 9, 0.78) 0%, rgba(1, 4, 9, 0.45) 48%, rgba(1, 4, 9, 0.18) 100%),
        linear-gradient(180deg, rgba(1, 4, 9, 0.15) 0%, rgba(1, 4, 9, 0.55) 55%, rgba(1, 4, 9, 0.88) 100%);
}

.account-hero__copy {
    position: relative;
    z-index: 1;
    max-width: 34rem;
}

.account-hero__title {
    margin: 0;
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 3.25rem);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
}

.account-hero__welcome {
    margin: 0.85rem 0 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 650;
}

.account-hero__welcome span:first-child {
    color: var(--maize);
    font-weight: 800;
}

.account-hero__lede {
    margin: 0.45rem 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
    font-weight: 500;
}

/* —— Stripe alert —— */
.account-stripe-alert {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.9rem;
    margin: 0 clamp(1.25rem, 4vw, 3rem) 1.15rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--site-chrome-border);
    border-left: 3px solid var(--maize);
    border-radius: 12px;
    background: var(--blue);
}

.account-stripe-alert__icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 2px solid var(--maize);
    border-radius: 50%;
    color: var(--maize);
}

.account-stripe-alert p {
    margin: 0;
    color: #d8e2ed;
    font-size: 0.82rem;
}

.account-stripe-alert > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    background: var(--maize);
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
}

/* —— Stats —— */
.account-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 0 clamp(1.25rem, 4vw, 3rem) 1.75rem;
}

.account-stat {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    padding: 1.1rem 1rem;
    border: 1px solid var(--site-chrome-border);
    border-radius: 14px;
    background: var(--blue);
    color: inherit;
}

.account-stat__icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 12px;
    font-size: 1.25rem;
    background: rgba(255, 203, 5, 0.12);
    color: var(--maize);
}

.account-stat__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.account-stat__body small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    font-weight: 650;
}

.account-stat__body strong {
    margin: 0.2rem 0 0.15rem;
    color: #fff;
    font-size: 1.55rem;
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1;
}

/* —— Sections —— */
.account-section {
    margin: 1.75rem clamp(1.25rem, 4vw, 3rem) 0;
}

.account-section__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.account-section__heading h2 {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.account-section__heading > a {
    color: var(--maize);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.account-section__heading > a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.account-list,
.account-activity {
    overflow: hidden;
    border: 1px solid var(--site-chrome-border);
    border-radius: 14px;
    background: var(--blue);
}

.account-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

/* Empty account panels match one game-page listing/bid row height */
.account-shell:not(.account-shell--sub) #tk-list,
.account-shell:not(.account-shell--sub) #tk-bids,
.account-shell:not(.account-shell--sub) #tk-history-list {
    min-height: calc(2.1rem + 2.35rem + 0.45rem + 2.35rem + 2px);
}

.account-shell:not(.account-shell--sub) #tk-history-list:has(> .account-empty:only-child) {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.account-shell:not(.account-shell--sub) #tk-list > .account-empty,
.account-shell:not(.account-shell--sub) #tk-bids > .account-empty,
.account-shell:not(.account-shell--sub) #tk-history-list > .account-empty {
    min-height: calc(2.1rem + 2.35rem + 0.45rem + 2.35rem + 2px);
    height: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    gap: 0.2rem;
}

.account-shell:not(.account-shell--sub) #tk-list > .account-empty .account-empty__icon,
.account-shell:not(.account-shell--sub) #tk-bids > .account-empty .account-empty__icon,
.account-shell:not(.account-shell--sub) #tk-history-list > .account-empty .account-empty__icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0;
    border-radius: 8px;
    font-size: 1rem;
}

.account-shell:not(.account-shell--sub) #tk-list > .account-empty .account-empty__title,
.account-shell:not(.account-shell--sub) #tk-bids > .account-empty .account-empty__title,
.account-shell:not(.account-shell--sub) #tk-history-list > .account-empty .account-empty__title {
    font-size: 0.88rem;
}

.account-shell:not(.account-shell--sub) #tk-list > .account-empty .account-empty__copy,
.account-shell:not(.account-shell--sub) #tk-bids > .account-empty .account-empty__copy,
.account-shell:not(.account-shell--sub) #tk-history-list > .account-empty .account-empty__copy {
    font-size: 0.72rem;
    line-height: 1.3;
}

.account-shell:not(.account-shell--sub) #tk-list > .account-empty .account-empty__cta,
.account-shell:not(.account-shell--sub) #tk-bids > .account-empty .account-empty__cta,
.account-shell:not(.account-shell--sub) #tk-history-list > .account-empty .account-empty__cta {
    margin-top: 0.25rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.7rem;
}

/* —— Listings —— */
.account-listing-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    min-height: 148px;
    overflow: hidden;
    border: 1px solid var(--site-chrome-border);
    border-radius: 14px;
    background: var(--blue);
}

.account-listing-main {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.account-listing-main:hover .account-listing-info h3 {
    color: var(--maize);
}

.account-matchup {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-self: stretch;
    overflow: hidden;
    background: linear-gradient(90deg, var(--blue) 0 50%, var(--opponent-color, #364c63) 50% 100%);
}

.account-matchup--photo {
    display: block;
    grid-template-columns: none;
    background: #0a1624;
}

.account-matchup--photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.account-matchup-team {
    position: relative;
    display: grid;
    align-items: center;
    justify-items: center;
    min-width: 0;
    overflow: hidden;
}

.account-matchup-team::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        transparent 0 24px,
        rgba(255, 255, 255, 0.08) 24px 28px
    );
    opacity: 0.55;
}

.account-listing-info {
    min-width: 0;
    padding: 1.1rem 1.2rem;
}

.account-listing-badge {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.28rem 0.55rem;
    border-radius: 6px;
    background: var(--maize);
    color: var(--blue);
    font-size: 0.62rem;
    font-weight: 850;
}

/* Mid-sale (reserved) or mid-edit (repricing) — still current, just not open. */
.account-listing-card--reserved .account-listing-badge,
.account-listing-card--repricing .account-listing-badge {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
}

.account-list-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid var(--site-chrome-border);
    border-radius: 12px;
    background: var(--blue);
    color: var(--maize);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.account-list-view-all:hover {
    border-color: rgba(255, 203, 5, 0.35);
    background: rgba(255, 203, 5, 0.08);
}

.account-activity > .account-list-view-all {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 13px 13px;
    background: rgba(255, 255, 255, 0.03);
    min-height: 48px;
}

.account-activity > .account-list-view-all:hover {
    background: rgba(255, 203, 5, 0.08);
}

.account-listing-info h3 {
    margin: 0 0 0.45rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
}

.account-listing-info p {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.28rem 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
}

.account-listing-actions {
    display: flex;
    min-width: 140px;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.1rem 1.2rem;
}

.account-listing-info .account-listing-price {
    margin: 0.35rem 0 0.1rem;
    color: var(--maize);
    font-size: 1.15rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.account-listing-actions .account-see-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: transparent;
    color: #e8eef6;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.account-listing-actions .account-see-link:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* —— Activity —— */
.account-activity-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 1rem;
    min-height: 68px;
    padding: 0.85rem 1.15rem;
    color: inherit;
    text-decoration: none;
    transition: background 0.15s ease;
}

a.account-activity-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.account-activity-row + .account-activity-row {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.account-activity-type {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 750;
}

.account-activity-type i {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

.account-activity-type--sold,
.account-activity-type--bought,
.account-activity-type--bid {
    color: rgba(255, 255, 255, 0.78);
}

.account-activity-type--sold i,
.account-activity-type--bought i,
.account-activity-type--bid i {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.72);
}

.account-activity-game strong,
.account-activity-game span { display: block; }

.account-activity-game strong {
    color: #edf3f9;
    font-size: 0.88rem;
}

.account-activity-game span {
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
}

.account-activity-section {
    padding: 0.32rem 0.6rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.68rem;
    white-space: nowrap;
}

.account-activity-price {
    min-width: 82px;
    color: #f8fafc;
    font-size: 0.88rem;
    font-weight: 800;
    text-align: right;
}

.account-activity-price.is-positive,
.account-activity-price.is-bid,
.account-activity-price.is-bought {
    color: #f8fafc;
}

/* —— Settings grid —— */
.account-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.account-settings-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.05rem 0.95rem;
    border: 1px solid var(--site-chrome-border);
    border-radius: 14px;
    background: var(--blue);
    color: inherit;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.account-settings-card:hover {
    border-color: rgba(255, 203, 5, 0.35);
    transform: translateY(-1px);
}

.account-settings-card__icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 203, 5, 0.12);
    color: var(--maize);
    font-size: 1.15rem;
}

.account-settings-card h3 {
    margin: 0;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 750;
}

.account-settings-card p {
    margin: 0.28rem 0 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.72rem;
    line-height: 1.35;
}

.account-settings-card > .ti-chevron-right {
    color: rgba(255, 255, 255, 0.35);
    font-size: 1.05rem;
}

.account-settings-card--danger .account-settings-card__icon {
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
}

.account-settings-card--danger h3 {
    color: #fecaca;
}

.account-settings-card.is-disabled {
    cursor: not-allowed;
    opacity: 0.55;
    pointer-events: none;
}

.account-forfeit {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: rgba(248, 113, 113, 0.08);
    color: #f1a3a3;
    font-size: 0.78rem;
}

.account-settings-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.35rem;
}

.account-logout {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    font-weight: 650;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.account-logout:hover { color: var(--maize); }

.account-help {
    margin: 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.78rem;
}

.account-help a { color: var(--maize); }

.account-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 200px;
    padding: 1.6rem 1.25rem;
    border: 1px dashed var(--site-chrome-border);
    border-radius: 14px;
    background: var(--blue);
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

.account-empty__icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 0.2rem;
    place-items: center;
    border: 1px solid rgba(255, 203, 5, 0.28);
    border-radius: 12px;
    background: rgba(255, 203, 5, 0.08);
    color: var(--maize);
    font-size: 1.25rem;
}

.account-empty__title {
    margin: 0;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.account-empty__copy {
    margin: 0;
    max-width: 22rem;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.8rem;
    line-height: 1.4;
}

.account-empty__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.55rem;
    padding: 0.55rem 0.95rem;
    border: 1px solid rgba(255, 203, 5, 0.45);
    border-radius: 8px;
    background: transparent;
    color: var(--maize);
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.account-empty__cta:hover {
    border-color: var(--maize);
    background: rgba(255, 203, 5, 0.1);
}

/* —— Modal —— */
.account-modal[hidden] { display: none; }

.account-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.account-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 7, 17, 0.82);
    backdrop-filter: blur(5px);
}

.account-modal__panel {
    position: relative;
    z-index: 1;
    width: min(460px, 100%);
    padding: 1.5rem;
    border: 1px solid #49303a;
    border-radius: 15px;
    background: var(--blue);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

.account-modal__close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #9aabba;
    cursor: pointer;
}

.account-modal__warning {
    display: grid;
    width: 45px;
    height: 45px;
    margin-bottom: 0.9rem;
    place-items: center;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    font-size: 1.25rem;
}

.account-modal h2 {
    margin: 0;
    font-size: 1.25rem;
}

.account-modal p {
    margin: 0.55rem 0 1rem;
    color: #91a2b6;
    font-size: 0.78rem;
    line-height: 1.55;
}

.account-modal label {
    display: block;
    margin-bottom: 0.4rem;
    color: #c9d4df;
    font-size: 0.7rem;
    font-weight: 700;
}

.account-modal input {
    width: 100%;
    padding: 0.72rem 0.8rem;
    border: 1px solid #2a3c53;
    border-radius: 8px;
    outline: none;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font: inherit;
}

.account-modal input:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.account-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 1rem;
}

.account-modal__actions button {
    padding: 0.65rem 0.85rem;
    border: 1px solid #304158;
    border-radius: 7px;
    background: transparent;
    color: #d5e0eb;
    font: inherit;
    font-size: 0.7rem;
    font-weight: 750;
    cursor: pointer;
}

.account-modal__actions .account-modal__confirm {
    border-color: #ef4444;
    background: #b91c1c;
    color: #fff;
}

.account-modal__confirm:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.account-modal .account-modal__status {
    min-height: 1em;
    margin: 0.75rem 0 0;
    color: var(--maize);
    font-size: 0.68rem;
}

.account-modal__blockers {
    margin: 0 0 1rem;
    padding-left: 1.1rem;
    color: #91a2b6;
    font-size: 0.78rem;
    line-height: 1.55;
}

@media (max-width: 1100px) {
    .account-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .account-stats,
    .account-settings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-listing-card {
        grid-template-columns: 1fr;
    }

    .account-listing-main {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .account-listing-actions {
        display: flex;
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .account-listing-price {
        text-align: left;
        margin: 0;
    }
}

@media (max-width: 640px) {
    .account-hero {
        min-height: 280px;
        margin: 0 0 1.25rem;
        padding: 2.25rem 0.85rem 1.75rem;
    }

    .account-shell { padding-bottom: 2.5rem; }

    .account-stats,
    .account-stripe-alert,
    .account-section {
        margin-left: 0.85rem;
        margin-right: 0.85rem;
    }

    .account-stats,
    .account-settings-grid {
        grid-template-columns: 1fr;
    }

    .account-stripe-alert {
        grid-template-columns: auto 1fr;
    }

    .account-stripe-alert > a {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .account-listing-card { grid-template-columns: 1fr; }

    .account-listing-main { grid-template-columns: 1fr; }

    .account-matchup { min-height: 130px; }

    .account-listing-actions {
        width: 100%;
    }

    .account-listing-actions .account-see-link {
        width: 100%;
    }

    .account-listing-price {
        grid-column: 1 / -1;
        text-align: left;
    }

    .account-activity-row {
        grid-template-columns: 80px minmax(0, 1fr) auto;
        gap: 0.65rem;
    }

    .account-activity-section { display: none; }

    .account-settings-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── account_payments ───────────────────────────────────────────────────── */

body.page-account-payments {
    margin: 0;
    min-height: 100vh;
    color: var(--color-text-primary);
    font-family: var(--font-sans);
}

.payments-page {
    width: min(640px, 100%);
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3.5rem;
}

.payments-hero {
    text-align: center;
    margin-bottom: 1.5rem;
}

.payments-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.55rem);
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.payments-hero h1 span { color: var(--maize); }

.payments-hero p {
    margin: 0.65rem 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
}

.payments-card {
    margin-bottom: 1rem;
    padding: 1.35rem 1.25rem 1.4rem;
    border: 1px solid var(--site-chrome-border);
    border-radius: 18px;
    background: var(--blue);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.payments-card__head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-bottom: 1.05rem;
    margin-bottom: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.payments-card__icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 203, 5, 0.14);
    color: var(--maize);
    font-size: 1.3rem;
}

.payments-card__head h2 {
    margin: 0;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 800;
}

.payments-card__head p {
    margin: 0.2rem 0 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.82rem;
}

#cards-list {
    display: grid;
    gap: 0.75rem;
}

.payments-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 0.95rem;
    border: 1px solid rgba(120, 170, 220, 0.22);
    border-radius: 12px;
    background: rgba(5, 22, 40, 0.45);
}

.payments-row__icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 203, 5, 0.12);
    color: var(--maize);
}

.payments-row strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 750;
}

.payments-row span {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.8rem;
}

.payments-row__action {
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--maize);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.payments-row__action:hover { color: var(--maize-hover); }

.payments-row__badge {
    margin-left: auto;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 203, 5, 0.12);
    color: var(--maize);
    font-size: 0.72rem;
    font-weight: 750;
}

.payments-empty {
    text-align: center;
    padding: 0.5rem 0 0.25rem;
}

.payments-empty p {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
}

.payments-cta,
.payments-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0.7rem 1.15rem;
    border: 0;
    border-radius: 12px;
    background: var(--maize);
    color: var(--blue);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.payments-cta:hover,
.payments-add:hover { background: #ffd84a; }

.payments-add {
    width: 100%;
    margin-top: 0.85rem;
    border: 1px dashed rgba(255, 203, 5, 0.35);
    background: rgba(255, 203, 5, 0.08);
    color: var(--maize);
}

.payments-add:hover {
    background: rgba(255, 203, 5, 0.14);
}

.payments-add[hidden] {
    display: none;
}

.payments-add-form {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.85rem;
}

.payments-add-form[hidden] {
    display: none;
}

.payments-add-actions {
    display: grid;
    gap: 0.65rem;
}

.payments-add--confirm {
    margin-top: 0;
    border: 0;
    background: var(--maize);
    color: var(--blue);
}

.payments-add--confirm:hover {
    background: #ffd84a;
}

.payments-add--confirm:disabled {
    opacity: 0.65;
    cursor: wait;
}

.payments-add--cancel {
    margin-top: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
}

.payments-add--cancel:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.payments-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.8rem;
    line-height: 1.4;
}

.payments-note.is-error {
    color: #ff8a8a;
}

.payments-balance__amount {
    margin: 0;
    color: var(--maize);
    font-size: 2.2rem;
    font-weight: 850;
    letter-spacing: -0.03em;
}

.payments-link {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--maize);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.payments-link:hover { color: var(--maize-hover); }

@media (max-width: 640px) {
    .payments-page { padding: 1.15rem 1rem 3rem; }
}

/* ============================================================
   Onboarding Flow
   ============================================================ */

* { margin: 0; padding: 0; }

/* ── onboard_return ─────────────────────────────────────────────────────── */

body.page-onboard {
    font-family: var(--font-sans);
    color: var(--white);
}

.onboard-wrap {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.25rem;
}

.onboard-card {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(180deg, var(--blue-light) 0%, var(--blue) 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(120, 170, 220, 0.28);
    box-shadow:
        0 0 0 1px rgba(80, 140, 200, 0.08),
        0 18px 48px rgba(0, 0, 0, 0.28),
        0 0 40px rgba(70, 140, 210, 0.12);
}

.onboard-mark {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.15rem;
    line-height: 1;
}

.onboard-mark--ok {
    background: rgba(255, 203, 5, 0.14);
    color: var(--maize);
}

.onboard-mark--warn {
    background: rgba(255, 203, 5, 0.14);
    color: var(--maize);
}

.onboard-title {
    font-family: var(--font-sans);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
    margin: 0 0 0.65rem;
    line-height: 1.2;
}

.onboard-title span {
    color: var(--maize);
}

.onboard-sub {
    color: rgba(255, 255, 255, 0.68);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.55;
    margin: 0 0 1.6rem;
}

@media (max-width: 480px) {
    .onboard-wrap { padding: 2rem 1rem; }
    .onboard-card { padding: 2rem 1.35rem; }
}

/* ============================================================
   About
   ============================================================ */

* { margin: 0; padding: 0; }

body.page-about {
    font-family: var(--font-sans);
    font-size: var(--font-size-detail);
    line-height: var(--font-line-height-detail);
    color: var(--white);
}

.page-main { flex: 1; }

.about-root {
    font-family: var(--font-sans);
    padding: 3rem 1.25rem 3.5rem;
    color: var(--white);
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.about-hero {
    text-align: center;
    margin-bottom: 2.25rem;
}

.about-hero h1 {
    font-family: var(--font-sans);
    font-size: clamp(2.1rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0;
}

.about-hero h1 span {
    color: var(--maize);
}

.founders-heading {
    font-family: var(--font-sans);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--maize);
    margin: 0 0 1.15rem;
}

.about-cta {
    text-align: center;
    margin-top: 0.75rem;
}

.about-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--maize);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.about-cta a:hover {
    opacity: 0.85;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.team-board {
    --team-card-w: 24rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2.5rem 5.5rem;
    margin-bottom: 1.75rem;
    justify-content: center;
}

.team-group--founders,
.team-group--designer {
    min-width: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, var(--team-card-w));
    gap: 1.5rem;
    margin-bottom: 0;
}

.team-grid--single {
    grid-template-columns: var(--team-card-w);
}

.team-member {
    height: 100%;
    background: linear-gradient(180deg, var(--blue-light) 0%, var(--blue) 100%);
    border: 1px solid rgba(120, 170, 220, 0.28);
    border-radius: 16px;
    box-shadow:
        0 0 0 1px rgba(80, 140, 200, 0.06),
        0 12px 32px rgba(0, 0, 0, 0.22);
    padding: 1.15rem;
    text-align: left;
}

.team-member-slot {
    display: flex;
    flex-direction: column;
    width: var(--team-card-w);
    max-width: 100%;
}

.team-member-disclaimer {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.5);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    transition: opacity 0.25s ease, max-height 0.35s ease, margin-top 0.25s ease;
}

.team-member-slot--has-disclaimer:has(.team-photo:hover) .team-member-disclaimer,
.team-member-slot--has-disclaimer:has(.team-photo:focus-within) .team-member-disclaimer {
    opacity: 1;
    max-height: 6rem;
    margin-top: 0.5rem;
}

.team-photo {
    position: relative;
    aspect-ratio: 1;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.85rem;
    background: rgba(0, 18, 36, 0.55);
    border: 1px solid rgba(120, 170, 220, 0.2);
    cursor: pointer;
}

.team-photo__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: opacity 0.3s ease;
}

.team-photo__img--default {
    z-index: 1;
    opacity: 1;
}

.team-photo__img--hover {
    z-index: 2;
    opacity: 0;
    object-position: center center;
}

.team-photo--hover-swap.has-hover-photo:hover .team-photo__img--default,
.team-photo--hover-swap.has-hover-photo:focus-within .team-photo__img--default {
    opacity: 0;
}

.team-photo--hover-swap.has-hover-photo:hover .team-photo__img--hover,
.team-photo--hover-swap.has-hover-photo:focus-within .team-photo__img--hover {
    opacity: 1;
}

.team-photo__placeholder {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(255, 203, 5, 0.2) 0%, rgba(0, 18, 36, 0.35) 100%);
    color: var(--maize);
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: opacity 0.3s ease;
}

.team-photo__placeholder .ti {
    font-size: 4.5rem;
    line-height: 1;
    opacity: 0.9;
}

.team-photo__placeholder--alt {
    z-index: 1;
    opacity: 0;
    background: linear-gradient(145deg, rgba(0, 18, 36, 0.35) 0%, rgba(255, 203, 5, 0.28) 100%);
}

.team-photo--placeholder-only:hover .team-photo__placeholder:not(.team-photo__placeholder--alt),
.team-photo--placeholder-only:focus-within .team-photo__placeholder:not(.team-photo__placeholder--alt) {
    opacity: 0;
}

.team-photo--placeholder-only:hover .team-photo__placeholder--alt,
.team-photo--placeholder-only:focus-within .team-photo__placeholder--alt {
    opacity: 1;
}

.team-photo.has-default-photo .team-photo__placeholder:not(.team-photo__placeholder--alt) {
    opacity: 0;
    pointer-events: none;
}

.team-member-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.45rem;
}

.team-member h3 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--white);
    margin: 0;
}

.team-social {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

.team-social a:hover {
    color: var(--maize);
}

.team-social .ti {
    font-size: 1.05rem;
    line-height: 1;
}

.team-member p {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.62);
    margin: 0;
}

@media (max-width: 1100px) {
    .team-board {
        --team-card-w: min(22rem, calc((100vw - 4rem - 1.5rem) / 2));
        gap: 2.25rem 3.5rem;
    }
}

@media (max-width: 760px) {
    .about-root {
        padding: 2.25rem 1rem 3rem;
    }

    .team-board {
        --team-card-w: min(24rem, 100%);
        flex-direction: column;
        align-items: center;
        gap: 2.25rem;
    }

    .team-grid,
    .team-grid--single {
        grid-template-columns: minmax(0, var(--team-card-w));
        width: var(--team-card-w);
        max-width: 100%;
    }
}


/* ============================================================
   Contact
   ============================================================ */

body.contact-page {
    min-height: 100vh;
    margin: 0;
    color: #f8fafc;
    font-family: var(--font-sans);
}

.contact-page #footer footer {
    border-top: 1px solid var(--site-chrome-border);
    background: var(--site-chrome);
}

.contact-page-main {
    width: min(640px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.25rem 0 3.5rem;
}

.contact-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.18s ease;
}

.contact-back:hover {
    color: var(--maize);
}

.contact-hero {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    margin-bottom: 1.5rem;
    border: 1px solid #172a42;
    border-radius: 16px;
    background: var(--blue);
}

.contact-hero__media {
    position: absolute;
    inset: 0;
}

.contact-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
    transform: scale(1.04);
}

.contact-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 18, 36, 0.35) 0%, rgba(0, 18, 36, 0.82) 100%),
        linear-gradient(90deg, rgba(0, 18, 36, 0.55) 0%, rgba(0, 18, 36, 0.25) 100%);
}

.contact-hero__copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    padding: 2rem 1.25rem;
    text-align: center;
}

.contact-hero__title {
    margin: 0;
    color: var(--white);
    font-size: clamp(2.8rem, 10vw, 4.2rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.045em;
    line-height: 0.92;
}

.contact-hero__title span {
    color: var(--maize);
}

.contact-hero__lede {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-hero__lede span {
    display: block;
    width: clamp(1.5rem, 8vw, 3.25rem);
    height: 2px;
    background: var(--maize);
    flex-shrink: 0;
}

.contact-shell {
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-field {
    position: relative;
    display: flex;
    align-items: center;
}

.contact-field > i {
    position: absolute;
    left: 0.95rem;
    z-index: 1;
    color: var(--maize);
    font-size: 1.1rem;
    pointer-events: none;
}

.contact-field--message {
    align-items: flex-start;
}

.contact-field--message > i {
    top: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.95rem 1rem 0.95rem 2.75rem;
    border: 1px solid #2a4058;
    border-radius: 12px;
    background-color: var(--blue);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    color-scheme: dark;
    font: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-form textarea {
    min-height: 9.5rem;
    resize: vertical;
    line-height: 1.45;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #7f91a6;
    -webkit-text-fill-color: #7f91a6;
    opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--maize);
    box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.12);
}

.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form input:-webkit-autofill:active,
.contact-form textarea:-webkit-autofill,
.contact-form textarea:-webkit-autofill:hover,
.contact-form textarea:-webkit-autofill:focus,
.contact-form textarea:-webkit-autofill:active {
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    box-shadow: 0 0 0 1000px var(--blue) inset !important;
    transition: background-color 99999s ease-out;
}

.contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    margin-top: 0.35rem;
    padding: 1rem 1.1rem;
    border: 0;
    border-radius: 12px;
    background: var(--maize);
    color: var(--blue);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 203, 5, 0.16);
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.contact-form__submit .ti {
    font-size: 1.15rem;
}

.contact-form__submit:hover {
    background: #ffd84a;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(255, 203, 5, 0.24);
}

.contact-form__status {
    margin: 0.55rem 0 0;
    text-align: center;
    color: #9fb0c2;
    font-size: 0.86rem;
    font-weight: 600;
}

.contact-form__status.is-success {
    color: #86efac;
}

.contact-form__status.is-error {
    color: #fca5a5;
}

.contact-find {
    margin: 1.1rem 0 0;
    color: #8fa0b4;
    font-size: 0.9rem;
    font-weight: 550;
    text-align: center;
}

.contact-find a {
    color: var(--maize);
    font-weight: 750;
    text-decoration: none;
}

.contact-find a:hover {
    text-decoration: underline;
}


@media (max-width: 520px) {
    .contact-page-main {
        width: calc(100% - 1.25rem);
        padding-top: 1rem;
    }

    .contact-hero {
        min-height: 180px;
    }

    .contact-hero__copy {
        min-height: 180px;
        padding: 1.5rem 1rem;
    }

    .contact-hero__title {
        font-size: clamp(2.4rem, 12vw, 3.2rem);
    }

    .contact-hero__lede {
        font-size: 0.68rem;
        gap: 0.55rem;
        letter-spacing: 0.08em;
    }
}


/* ============================================================
   Help
   ============================================================ */

body.help-page {
    min-height: 100vh;
    margin: 0;
    color: #f8fafc;
    font-family: var(--font-sans);
}

.help-page #footer footer {
    border-top: 1px solid var(--site-chrome-border);
    background: var(--site-chrome);
}

.help-shell {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.help-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.35rem 1.5rem;
    border: 1px solid #172a42;
    border-radius: 14px;
    background: var(--blue);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2);
}

.help-hero__icon {
    display: grid;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid rgba(255, 203, 5, 0.32);
    border-radius: 50%;
    background: rgba(255, 203, 5, 0.08);
    color: var(--maize);
    font-size: 1.55rem;
}

.help-hero p {
    margin: 0 0 0.2rem;
    color: var(--maize);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.help-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.help-hero div > span {
    display: block;
    margin-top: 0.35rem;
    color: #8496ab;
    font-size: 0.78rem;
}

.help-section + .help-section {
    margin-top: 2.25rem;
}

.help-section__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.help-section__heading h2 {
    margin: 0;
    color: #f7f9fc;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.help-section__heading h2 + span {
    display: block;
    width: 38px;
    height: 3px;
    margin-top: 0.55rem;
    border-radius: 999px;
    background: var(--maize);
}

.help-section__heading p {
    margin: 0.35rem 0 0;
    color: #8799ad;
    font-size: 0.76rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
}

.faq-item {
    overflow: hidden;
    border: 1px solid #1a2d45;
    border-radius: 11px;
    background: var(--blue);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:has(.faq-trigger[aria-expanded="true"]) {
    border-color: rgba(255, 203, 5, 0.45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.faq-trigger {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    padding: 0.78rem 1rem;
    border: 0;
    background: transparent;
    color: #edf3f9;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 750;
    text-align: left;
    cursor: pointer;
    transition: background 0.18s ease;
}

.faq-trigger:hover {
    background: var(--blue);
}

.faq-trigger:focus-visible {
    outline: 2px solid var(--maize);
    outline-offset: -2px;
}

.faq-icon {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 1px solid #1c3c5e;
    border-radius: 50%;
    background: var(--blue);
    color: #9bc8f1;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.faq-chevron {
    color: #a6b6c8;
    font-size: 1rem;
    transition: transform 0.22s ease, color 0.22s ease;
}

.faq-trigger[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
    color: var(--maize);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
    border-color: rgba(255, 203, 5, 0.35);
    color: var(--maize);
}

.faq-body {
    padding: 0.1rem 1rem 1rem 3.85rem;
    color: #93a5b9;
    font-size: 0.76rem;
    line-height: 1.65;
}

.faq-body[hidden] {
    display: none;
}

.faq-body strong {
    color: var(--maize);
}

.help-contact {
    padding-top: 1.75rem;
    border-top: 1px solid #172a42;
}

.help-contact-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    max-width: 420px;
    min-width: 0;
    margin-bottom: 1rem;
    padding: 1.25rem;
    border: 1px solid #172a42;
    border-radius: 12px;
    background: var(--blue);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.help-contact-card__icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 1px solid #23405f;
    border-radius: 50%;
    background: var(--blue);
    color: var(--maize);
    font-size: 1.4rem;
}

.help-contact-card > div {
    min-width: 0;
}

.help-contact-card small {
    display: block;
    margin-bottom: 0.25rem;
    color: #8395aa;
    font-size: 0.66rem;
}

.help-contact-card__title {
    display: block;
    color: #fff;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 800;
    line-height: 1.25;
}

.help-contact-card p {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    margin: 0.45rem 0 1rem;
    color: #899bae;
    font-size: 0.68rem;
    line-height: 1.4;
}

.help-contact-card p i {
    margin-top: 0.1rem;
    color: #22c55e;
}

.help-contact-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.58rem 0.8rem;
    border-radius: 6px;
    background: var(--maize);
    color: var(--blue);
    font-size: 0.68rem;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(255, 203, 5, 0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.help-contact-card__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 9px 20px rgba(255, 203, 5, 0.2);
}

.help-guide {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid #172a42;
    border-radius: 12px;
    background: var(--blue);
}

.help-guide__icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid rgba(255, 203, 5, 0.24);
    border-radius: 50%;
    color: var(--maize);
    font-size: 1.3rem;
}

.help-guide h3 {
    margin: 0;
    color: #fff;
    font-size: 0.88rem;
}

.help-guide p {
    margin: 0.25rem 0 0;
    color: #889aae;
    font-size: 0.7rem;
    line-height: 1.45;
}

.help-guide > a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.62rem 1rem;
    border: 1px solid #53647a;
    border-radius: 7px;
    color: #eaf0f7;
    font-size: 0.68rem;
    font-weight: 750;
    text-decoration: none;
}

.help-guide > a:hover {
    border-color: var(--maize);
    color: var(--maize);
}

.help-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 0.85rem 0.2rem 0;
    border-top: 1px solid #172a42;
    color: #8294aa;
    font-size: 0.68rem;
}

.help-bottom > span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.help-bottom > span > i {
    color: var(--maize);
}

@media (max-width: 760px) {
    .help-shell {
        width: min(100% - 1.25rem, 1120px);
        padding-top: 1rem;
    }

    .help-hero {
        padding: 1rem;
    }

    .help-hero__icon {
        width: 46px;
        height: 46px;
    }

    .help-guide {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .help-guide > a {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .help-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 430px) {
    .help-hero__icon {
        display: none;
    }

    .faq-trigger {
        grid-template-columns: auto minmax(0, 1fr) auto;
        padding-inline: 0.75rem;
    }

    .faq-body {
        padding-left: 0.9rem;
    }

    .help-contact-card {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .help-contact-card__icon {
        width: 46px;
        height: 46px;
    }
}


/* ============================================================
   Press
   ============================================================ */

/**
 * Ticko press release styles — dark theme shared with the rest of the site.
 */

:root {
    --press-card-radius: 16px;
    --press-card-padding-y: 1.65rem;
    --press-card-padding-x: 1.5rem;
    --press-list-gap: 12px;
    --press-date-title-gap: 0.5rem;
    --press-title-excerpt-gap: 0.75rem;
    --press-headline-size: clamp(2rem, 3.5vw + 1rem, 2.75rem);
    --press-list-title-size: 1.375rem;
    --press-date-size: 0.9375rem;
    --press-lede-size: 1.25rem;
    --press-lede-line-height: 1.55;
    --press-body-size: 1.125rem;
    --press-body-line-height: 1.7;
    --press-excerpt-size: 1.0625rem;
}

* { margin: 0; padding: 0; }

body.press-page {
    font-family: var(--font-sans);
    font-size: var(--font-size-detail);
    font-weight: var(--font-weight-detail);
    line-height: var(--font-line-height-detail);
    color: rgba(255,255,255,0.72);
    min-height: 100vh;
}

.press-page .page-main { flex: 1; }

.press-wrap {
    max-width: min(1040px, 96vw);
    margin: 0 auto;
    padding: 3rem 1.25rem 3.5rem;
}

/* --- List layout --- */
.press-articles {
    display: flex;
    flex-direction: column;
    gap: var(--press-list-gap);
    min-width: 0;
}

/* --- List card (linked preview) --- */
.press-article {
    display: block;
    padding: var(--press-card-padding-y) var(--press-card-padding-x) 1.75rem;
    min-height: 8.5rem;
    background: var(--blue);
    border: 1px solid rgba(120, 170, 220, 0.28);
    border-radius: var(--press-card-radius);
    box-shadow:
        0 0 0 1px rgba(80, 140, 200, 0.06),
        0 12px 32px rgba(0, 0, 0, 0.22);
    text-decoration: none;
    color: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.press-article:hover {
    border-color: rgba(255, 203, 5, 0.45);
    box-shadow:
        0 0 0 1px rgba(255, 203, 5, 0.12),
        0 14px 36px rgba(0, 0, 0, 0.28);
    transform: translateY(-2px);
}

.press-article__date {
    display: block;
    margin-bottom: var(--press-date-title-gap);
}

.press-article__title {
    margin: 0 0 var(--press-title-excerpt-gap);
}

.press-article__excerpt {
    margin: 0;
}

/* --- Typography --- */
.press-hero__title,
.press-release__headline {
    font-family: var(--font-sans);
    font-size: var(--press-headline-size);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--white);
}

.press-hero__title span,
.press-release__headline span {
    color: var(--maize);
}

.press-article__title {
    font-family: var(--font-sans);
    font-size: var(--press-list-title-size);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--white);
}

.press-contact-block__label {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--maize);
}

.press-article__date {
    font-family: var(--font-sans);
    font-size: var(--press-date-size);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--maize);
}

.press-release__date {
    font-family: var(--font-sans);
    font-size: var(--press-date-size);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.press-contact-block__list li {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.68);
}

.press-contact-block__list a {
    color: inherit;
    text-decoration: none;
}

.press-contact-block__list a:hover {
    color: var(--maize);
}

.press-hero__tagline {
    font-family: var(--font-sans);
    font-size: var(--press-excerpt-size);
    font-weight: 500;
    line-height: var(--press-body-line-height);
    color: rgba(255, 255, 255, 0.68);
}

.press-article__excerpt {
    font-family: var(--font-sans);
    font-size: var(--press-excerpt-size);
    font-weight: 500;
    line-height: var(--press-body-line-height);
    color: rgba(255, 255, 255, 0.85);
}

.press-release__lede {
    font-family: var(--font-sans);
    font-size: var(--press-lede-size);
    font-weight: 500;
    line-height: var(--press-lede-line-height);
    color: rgba(255, 255, 255, 0.85);
}

.press-release__body,
.press-release__body p,
.press-release__body a {
    font-family: var(--font-sans);
    font-size: var(--press-body-size);
    font-weight: 400;
    line-height: var(--press-body-line-height);
    color: rgba(255, 255, 255, 0.78);
}

.press-release__body a {
    color: var(--maize);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.press-release__body a:hover {
    color: var(--maize-hover);
}

.press-release__body strong {
    color: var(--white);
    font-weight: 700;
}

/* --- Full release (detail page) --- */
.press-release__back {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--maize);
    text-decoration: none;
}

.press-release__back:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.press-release {
    max-width: 42rem;
    margin: 0 auto;
    padding: 3rem 1.25rem 3.5rem;
    color: var(--white);
}

.press-release__date {
    display: block;
    margin-bottom: var(--press-date-title-gap);
}

.press-release__headline {
    margin: 0 0 var(--press-title-excerpt-gap);
}

.press-release__lede {
    margin: 0 0 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(120, 170, 220, 0.22);
}

.press-release__body p {
    margin: 0 0 1.35rem;
}

.press-release__body p:last-child {
    margin-bottom: 0;
}

.press-release__body strong a {
    font-weight: 700;
    color: var(--maize);
    text-decoration: none;
}

.press-release__body strong a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (min-width: 900px) {
    .press-release {
        max-width: min(42rem, 96vw);
        padding: 3rem 2rem 4rem;
    }
}

/* --- Press index page layout --- */
.press-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 1rem;
    row-gap: 0;
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(120, 170, 220, 0.22);
    background: transparent;
}

.press-hero__intro {
    grid-column: 1;
    min-width: 0;
    max-width: 36rem;
    text-align: left;
}

.press-hero__title {
    margin: 0;
}

.press-hero__tagline {
    margin: 0.75rem 0 0;
    max-width: 34rem;
}

.press-hero__contact {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.35rem;
    min-width: 9.5rem;
    text-align: right;
}

.press-contact-block {
    min-width: 0;
}

.press-contact-block__label {
    margin: 0 0 0.4rem;
}

.press-contact-block__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 720px) {
    .press-wrap {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .press-hero {
        column-gap: clamp(2rem, 5vw, 4rem);
    }

    .press-hero__intro {
        max-width: min(52%, 36rem);
    }

    .press-hero__contact {
        min-width: 10.5rem;
    }
}

@media (max-width: 520px) {
    .press-wrap {
        padding: 2.25rem 1rem 3rem;
    }
}

/* ── press_releases (index only) ────────────────────────────────────────── */

body.press-page .press-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 1rem;
}

body.press-page .press-hero__intro {
    grid-column: 1;
    min-width: 0;
}

body.press-page .press-hero__contact {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-end;
    text-align: right;
}

@media (min-width: 720px) {
    body.press-page .press-hero {
        column-gap: clamp(2rem, 5vw, 4rem);
    }
}
