
  :root {
    --green-deep: #0E3B27;
    --green-mid: #175C3D;
    --gold: #F2C230;
    --gold-soft: #F6D666;
    --ink: #0B140F;
    --paper: #F6F4EC;
    --paper-dim: #E9E6D8;
    --line: rgba(11,20,15,0.14);
    --line-on-dark: rgba(246,244,236,0.18);

    --bg: var(--paper);
    --fg: var(--ink);
    --surface: #ffffff;
    --surface-2: var(--paper-dim);
    --muted: #4B5A50;

    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  *, *::before, *::after { box-sizing: inherit; }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0B140F;
      --fg: #F1EFE4;
      --surface: #10201A;
      --surface-2: #0E1B15;
      --muted: #AEBBB0;
      --line: rgba(241,239,228,0.14);
    }
  }
  :root[data-theme="dark"] {
    --bg: #0B140F;
    --fg: #F1EFE4;
    --surface: #10201A;
    --surface-2: #0E1B15;
    --muted: #AEBBB0;
    --line: rgba(241,239,228,0.14);
  }

  html { scroll-padding-top: env(safe-area-inset-top, 0px); height: 100%; -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    height: 100%;
    background: var(--bg);
    color: var(--fg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
  }

  h1, h2, h3, .display {
    font-family: 'Fraunces', 'Inter', serif;
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: 0.005em;
    margin: 0;
  }

  a { color: inherit; }
  img { max-width: 100%; display: block; }

  .wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
  @media (max-width: 640px) { .wrap { padding-left: 18px; padding-right: 18px; } }

  .scrollx { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* ---------- Header ---------- */
  header.site {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 40;
    background: var(--green-deep);
    color: var(--paper);
    border-bottom: 3px solid var(--gold);
  }
  .nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }
  .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .crest {
    width: 42px; height: 42px; flex: none;
    object-fit: contain;
  }
  .hero-crest {
    width: 132px; height: 132px;
    object-fit: contain;
    margin-bottom: 22px;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.35));
  }
  .foot-crest {
    width: 56px; height: 56px;
    object-fit: contain;
    margin-bottom: 14px;
  }
  .brand-text {
    font-family: 'Fraunces', serif;
    font-weight: 800;
    font-size: 19px;
    line-height: 1;
    color: var(--paper);
  }
  .brand-text small {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--gold-soft);
    margin-top: 3px;
  }
  nav.links { display: flex; gap: 20px; }
  nav.links a { white-space: nowrap; }
  @media (max-width: 1180px) { nav.links { gap: 14px; } nav.links a { font-size: 14px; } }
  nav.links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--paper);
    opacity: 0.88;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
  }
  nav.links a:hover { opacity: 1; border-bottom-color: var(--gold); }
  .menu-btn {
    display: none;
    background: none; border: none; color: var(--paper);
    width: 40px; height: 40px; cursor: pointer;
  }
  @media (max-width: 1000px) {
    nav.links { display: none; }
    .menu-btn { display: flex; align-items: center; justify-content: center; }
  }
  #mobile-menu {
    display: none;
    background: var(--green-mid);
    border-top: 1px solid var(--line-on-dark);
  }
  #mobile-menu.open { display: block; }
  #mobile-menu a {
    display: block;
    padding: 14px 0;
    text-decoration: none;
    color: var(--paper);
    font-weight: 600;
    border-bottom: 1px solid var(--line-on-dark);
  }
  #mobile-menu a:last-child { border-bottom: none; }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    z-index: 5;
    background: var(--green-deep);
    color: var(--paper);
    overflow: visible;
    padding: 64px 0 56px;
  }
  .hero-stripes { overflow: hidden; }
  .hero-stripes {
    position: absolute;
    inset: 0;
    opacity: 0.55;
    background: repeating-linear-gradient(
      118deg,
      transparent 0px, transparent 46px,
      var(--green-mid) 46px, var(--green-mid) 78px
    );
    mask-image: linear-gradient(to bottom, transparent, black 35%, black 80%, transparent);
  }
  .hero-inner { position: relative; z-index: 1; }
  .kicker {
    font-weight: 700;
    font-size: 14px;
    color: var(--gold-soft);
    margin-bottom: 14px;
  }
  .hero h1 {
    font-size: clamp(52px, 11vw, 118px);
    color: var(--paper);
  }
  .hero h1 .accent { color: var(--gold); }
  .hero-sub {
    max-width: 560px;
    margin-top: 20px;
    font-size: 17px;
    color: var(--paper);
    opacity: 0.86;
  }
  .hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
  }
  .btn-gold { background: var(--gold); color: var(--ink); }
  .btn-gold:hover { background: var(--gold-soft); }
  .btn-outline { border-color: rgba(246,244,236,0.5); color: var(--paper); background: transparent; }
  .btn-outline:hover { border-color: var(--paper); }

  /* ---------- Ticker / next match strip ---------- */
  .strip {
    background: var(--gold);
    color: var(--ink);
    padding: 14px 0;
  }
  .strip .wrap {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    font-weight: 700;
    font-size: 14px;
  }
  .strip .item { display: flex; align-items: center; gap: 8px; }
  .strip .sep { opacity: 0.5; }

  /* ---------- Section framing ---------- */
  section { padding: 76px 0; }
  .section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
    border-bottom: 3px solid var(--fg);
    padding-bottom: 16px;
  }
  .section-head h2 {
    font-size: clamp(34px, 5vw, 50px);
  }
  .section-head .note { color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
  .surface { background: var(--surface); }

  /* ---------- Fixtures ---------- */
  .fixture-list { display: flex; flex-direction: column; }
  .fixture {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }
  .fixture:first-child { padding-top: 0; }
  .fixture .date {
    font-family: 'Fraunces', serif;
    font-weight: 800;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.2;
  }
  .fixture .date .day { font-size: 30px; color: var(--fg); display: block; }
  .fixture .match { font-weight: 700; font-size: 18px; }
  .fixture .meta { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
  .fixture .tag {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 3px;
    white-space: nowrap;
  }
  .tag-home { background: rgba(23,92,61,0.14); color: var(--green-mid); }
  .tag-away { background: rgba(242,194,48,0.22); color: #8A6A05; }
  @media (max-width: 560px) {
    .fixture { grid-template-columns: 60px 1fr; }
    .fixture .tag { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
  }

  /* ---------- Table (standings) ---------- */
  table.standings {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    min-width: 520px;
  }
  table.standings th, table.standings td {
    text-align: left;
    padding: 11px 10px;
    border-bottom: 1px solid var(--line);
  }
  table.standings th { font-size: 12px; color: var(--muted); font-weight: 700; }
  table.standings td.num, table.standings th.num { text-align: center; }
  table.standings tr.us { background: rgba(242,194,48,0.16); font-weight: 700; }
  table.standings td.team { font-weight: 700; }

  /* ---------- Squad ---------- */
  .squad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 22px;
  }
  .player {
    background: var(--surface);
    border: 1px solid var(--line);
  }
  .player-photo {
    aspect-ratio: 3/4;
    background: var(--green-deep);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
  .player-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
  }
  .player-photo .num {
    font-family: 'Fraunces', serif;
    font-size: 88px;
    font-weight: 900;
    color: rgba(246,244,236,0.14);
    line-height: 1;
    position: absolute;
    top: 4px; left: 8px;
  }
  .player-photo .initials {
    font-family: 'Fraunces', serif;
    font-size: 40px;
    font-weight: 800;
    color: var(--gold);
    padding-bottom: 14px;
  }
  .player-info { padding: 12px 14px 16px; }
  .player-info .name { font-weight: 700; font-size: 15px; }
  .player-info .pos { color: var(--muted); font-size: 12.5px; margin-top: 2px; }

  /* ---------- News ---------- */
  .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
  }
  .news-card { border-top: 3px solid var(--gold); padding-top: 16px; }
  .news-card .date { font-size: 12.5px; color: var(--muted); font-weight: 700; }
  .news-card h3 { font-size: 22px; margin-top: 8px; font-weight: 700; line-height: 1.15; }
  .news-card p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

  /* ---------- Sponsors ---------- */
  .sponsor-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  .sponsor-cell {
    background: var(--surface);
    padding: 26px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 17px;
    color: var(--muted);
    min-height: 84px;
  }

  /* ---------- Join CTA band ---------- */
  .join-band {
    background: var(--green-deep);
    color: var(--paper);
  }
  .join-band .flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
  }
  .join-band h2 { font-size: clamp(30px, 4.5vw, 44px); color: var(--paper); max-width: 520px; }
  .join-band p { color: var(--paper); opacity: 0.8; margin-top: 10px; max-width: 480px; font-size: 15px; }

  /* ---------- Footer ---------- */
  footer {
    background: var(--ink);
    color: var(--paper-dim);
    padding: 52px 0 calc(30px + env(safe-area-inset-bottom, 0px));
    font-size: 14px;
  }
  .foot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    justify-items: center;
    text-align: center;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(246,244,236,0.14);
  }
  @media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr; } }
  footer h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--gold-soft);
    margin: 0 0 14px;
  }
  footer a { text-decoration: none; color: var(--paper-dim); opacity: 0.85; }
  footer a:hover { opacity: 1; }
  footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 9px; }
  .foot-bottom {
    padding-top: 22px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12.5px;
    opacity: 0.65;
  }

  /* ---------- Achievement stats ---------- */
  .stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
  }
  .stat-cell {
    padding: 26px 18px;
    border-right: 1px solid var(--line);
    text-align: center;
  }
  .stat-cell:last-child { border-right: none; }
  .stat-cell .num {
    font-family: 'Fraunces', serif;
    font-weight: 800;
    font-size: 44px;
    color: var(--green-mid);
    line-height: 1;
  }
  :root[data-theme="dark"] .stat-cell .num,
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stat-cell .num { color: var(--gold); } }
  .stat-cell .label {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 8px;
    font-weight: 600;
  }
  @media (max-width: 640px) {
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .stat-cell:nth-child(2) { border-right: none; }
  }

  /* ---------- Timeline ---------- */
  .timeline { position: relative; padding-left: 46px; }
  .timeline::before {
    content: "";
    position: absolute;
    left: 15px; top: 6px; bottom: 6px;
    width: 2px;
    background: var(--line);
  }
  .t-item { position: relative; padding-bottom: 40px; }
  .t-item:last-child { padding-bottom: 0; }
  .t-item::before {
    content: attr(data-n);
    position: absolute;
    left: -46px; top: -2px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--green-deep);
    color: var(--gold);
    font-family: 'Fraunces', serif;
    font-weight: 800;
    font-size: 14px;
    display: flex; align-items: center; justify-content: center;
  }
  .t-item .t-year {
    font-family: 'Fraunces', serif;
    font-weight: 800;
    font-size: 15px;
    color: var(--muted);
  }
  .t-item h3 { font-size: 21px; margin-top: 4px; font-weight: 700; }
  .t-item p { color: var(--muted); font-size: 14.5px; margin-top: 8px; max-width: 620px; }

  /* ---------- People / leadership ---------- */
  .people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  .person-card { background: var(--surface); padding: 22px 20px; }
  .person-photo {
    width: 64px; height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 2px solid var(--gold);
  }
  .person-card .role {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--muted);
  }
  .person-card .p-name {
    font-family: 'Fraunces', serif;
    font-weight: 800;
    font-size: 22px;
    margin-top: 6px;
  }
  .person-card .p-note {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
  }

  /* ---------- Org chart ---------- */
  .org-chart { display: flex; flex-direction: column; align-items: center; }
  .org-connector {
    width: 2px;
    height: 26px;
    background: var(--line);
  }
  .org-connector::after {
    content: "";
    display: block;
    width: 8px; height: 8px;
    border-right: 2px solid var(--line);
    border-bottom: 2px solid var(--line);
    transform: translate(-3px, 20px) rotate(45deg);
  }
  .org-tier-label {
    font-family: 'Fraunces', serif;
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-mid);
    margin-bottom: 14px;
    text-align: center;
  }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .org-tier-label { color: var(--gold); } }
  :root[data-theme="dark"] .org-tier-label { color: var(--gold); }

  .org-card {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 16px 14px 14px;
    text-align: center;
    width: 168px;
  }
  .org-card { cursor: pointer; }
  .org-card:hover { filter: brightness(1.04); }
  .org-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
  .org-card--founder { width: 200px; border-top: 3px solid var(--gold); padding-top: 18px; }
  .org-photo {
    width: 64px; height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    display: block;
    border: 2px solid var(--gold);
  }
  .org-card--founder .org-photo { width: 84px; height: 84px; }
  .org-photo-placeholder {
    width: 64px; height: 64px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background: var(--green-deep);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-weight: 800;
    font-size: 18px;
    border: 2px solid var(--gold);
  }
  .org-name { font-weight: 700; font-size: 14px; line-height: 1.25; }
  .org-card--founder .org-name { font-size: 17px; }
  .org-role { font-size: 12px; color: var(--muted); margin-top: 3px; font-weight: 600; }
  .org-dept {
    font-size: 10px;
    color: var(--muted);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.75;
  }

  .org-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
  }

  .org-branches-scroll {
    width: 100%;
    overflow-x: auto;
    padding: 4px 4px 10px;
    -webkit-overflow-scrolling: touch;
  }
  .org-branches {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 16px;
    padding-top: 22px;
    border-top: 2px solid var(--line);
    width: max-content;
    margin: 0 auto;
  }
  .org-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
    flex: none;
  }
  .org-branch .org-card { width: 100%; }
  .org-branch-top-connector {
    width: 2px;
    height: 18px;
    background: var(--line);
    margin-bottom: 2px;
  }
  .org-branch-child-connector {
    width: 2px;
    height: 20px;
    background: var(--line);
    margin: 2px 0;
  }

  /* ---------- Grounds ---------- */
  .grounds-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
  }
  .ground-item {
    border-left: 3px solid var(--gold);
    padding: 4px 0 4px 16px;
  }
  .ground-item .g-name { font-weight: 700; font-size: 15.5px; }
  .ground-item .g-note { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

  .placeholder-note {
    font-size: 13px;
    color: var(--muted);
    font-style: italic;
    margin-top: 20px;
  }


  /* ---------- Membership form ---------- */
  .join-form { max-width: 620px; display: grid; gap: 18px; }
  .form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
  @media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
  .field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
  .field label .req { color: #B3261E; }
  .field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 15px; color: var(--fg);
    background: var(--surface); border: 1px solid var(--line); border-radius: 3px;
    padding: 11px 12px;
  }

  .phone-group { display: flex; gap: 8px; }
  .phone-group select { flex: 0 0 auto; width: 44%; max-width: 190px; }
  .phone-group input { flex: 1 1 auto; min-width: 0; }
  .field textarea { min-height: 96px; resize: vertical; }
  .field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
  .field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
  .field.invalid input, .field.invalid select { border-color: #B3261E; }
  .form-error { color: #B3261E; font-size: 13.5px; font-weight: 600; display: none; }
  .form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
  .form-consent input { margin-top: 3px; width: auto; }
  .btn-wa { background: #1FA855; color: #fff; border: none; font-size: 15px; justify-self: start; }
  .btn-wa:hover { background: #1b944b; }
  .join-success {
    display: none; max-width: 620px; border: 1px solid var(--line); border-top: 3px solid #1FA855;
    background: var(--surface); padding: 22px;
  }
  .join-success h3 { font-size: 24px; }
  .join-success p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
  .join-success .btn { margin-top: 14px; }


  /* ---------- Match countdown ---------- */
  .countdown {
    margin-top: 26px;
    background: var(--green-deep);
    color: var(--paper);
    border-top: 3px solid var(--gold);
    padding: 20px 18px 18px;
    text-align: center;
  }
  .countdown-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-soft); }
  .countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; max-width: 460px; margin-left: auto; margin-right: auto; }
  .cd-unit { background: rgba(255,255,255,0.06); border: 1px solid rgba(246,244,236,0.14); padding: 12px 4px 10px; }
  .cd-num { display: block; font-family: 'Fraunces', serif; font-weight: 800; font-size: clamp(28px, 8vw, 44px); line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
  .cd-lbl { display: block; font-size: 11px; margin-top: 6px; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.05em; }
  .countdown-sub { font-size: 13px; opacity: 0.8; margin-top: 12px; }
  .countdown.live .countdown-grid { display: none; }
  .strip-countdown { font-variant-numeric: tabular-nums; }

  .countdown { position: relative; overflow: hidden; isolation: isolate; }
  .countdown > *:not(.cd-bg) { position: relative; z-index: 2; }
  .cd-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
  .cd-bg::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(ellipse at center, rgba(14,59,39,0.55) 0%, rgba(14,59,39,0.88) 70%);
  }
  .cd-crest {
    position: absolute; left: 0; top: 0;
    width: 110px; height: 110px; object-fit: contain;
    opacity: 0.62;
    animation: crestGlow 3.5s ease-in-out infinite;
    will-change: transform, filter;
  }
  .cd-crest + .cd-crest { animation-delay: -1.75s; }
  @media (max-width: 560px) { .cd-crest { width: 84px; height: 84px; } }
  .cd-shine {
    position: absolute; inset: -40% -60%; z-index: 1;
    background: linear-gradient(115deg, transparent 40%, rgba(242,194,48,0.22) 50%, transparent 60%);
    animation: crestShine 5.5s ease-in-out infinite;
  }
  @keyframes crestGlow {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(242,194,48,0)); }
    50%      { filter: drop-shadow(0 0 22px rgba(242,194,48,0.55)); }
  }
  @keyframes crestShine {
    0%   { transform: translateX(-60%); }
    60%, 100% { transform: translateX(60%); }
  }
  @media (prefers-reduced-motion: reduce) {
    .cd-crest, .cd-shine { animation: none; }
  }
  .cd-unit { background: rgba(14,59,39,0.55); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }



  /* ---------- Stories (news) ---------- */
  .news-page { padding-top: 44px; }
  .stories-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
  .eyebrow { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; }
  .eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
  .stories-all { font-weight: 700; font-size: 14px; color: var(--green-mid); text-decoration: none; }
  .story-filters { display: flex; gap: 10px; flex-wrap: wrap; }
  .pill {
    font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
    padding: 9px 20px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface); color: var(--fg);
  }
  .pill:hover { border-color: var(--green-mid); }
  .pill.active { background: var(--green-deep); color: var(--paper); border-color: var(--green-deep); }

  .story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
  .story-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
    display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .story-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.10); }
  .story-media { position: relative; aspect-ratio: 16/10; background: var(--green-deep); overflow: hidden; }
  .story-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; transition: transform .4s ease; }
  .story-card:hover .story-media img { transform: scale(1.04); }
  .story-badge {
    position: absolute; top: 14px; left: 14px;
    background: rgba(11,20,15,0.82); color: var(--gold);
    font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
    padding: 6px 12px; border-radius: 999px;
  }
  .story-pin {
    position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%;
    background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center;
  }
  .story-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
  .story-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); }
  .story-meta span { display: inline-flex; align-items: center; gap: 6px; }
  .story-meta svg { width: 15px; height: 15px; flex: none; }
  .story-title {
    font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 21px; line-height: 1.22;
    margin: 14px 0 0; color: var(--fg);
  }
  .story-excerpt {
    color: var(--muted); font-size: 14.5px; margin-top: 12px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .story-more {
    margin-top: auto; padding-top: 18px; align-self: flex-start;
    font: inherit; font-weight: 700; font-size: 15px; color: var(--green-mid);
    background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  }
  .story-more:hover { text-decoration: underline; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .story-more, :root:not([data-theme="light"]) .stories-all { color: var(--gold); } }
  :root[data-theme="dark"] .story-more, :root[data-theme="dark"] .stories-all { color: var(--gold); }
  .story-empty { display: none; color: var(--muted); padding: 30px 0; text-align: center; }

  .article-overlay {
    position: fixed; inset: 0; background: rgba(11,20,15,0.78); z-index: 105;
    display: none; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 24px 16px;
  }
  .article-overlay.open { display: flex; }
  .article-card { position: relative; background: var(--surface); color: var(--fg); max-width: 720px; width: 100%; border-radius: 14px; overflow: hidden; }
  .article-media { position: relative; aspect-ratio: 16/9; background: var(--green-deep); }
  .article-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
  .article-body { padding: 24px 26px 30px; }
  .article-title { font-family: 'Fraunces', Georgia, serif; font-size: clamp(26px, 5vw, 36px); line-height: 1.15; margin-top: 12px; }
  .article-text p { margin: 14px 0 0; font-size: 16px; line-height: 1.65; }


  /* ---------- Site search ---------- */
  .site-search { position: relative; margin-left: auto; margin-right: 26px; width: clamp(170px, 20vw, 250px); z-index: 45; }
  .site-search input { font-size: 14px !important; padding: 9px 36px 9px 38px !important; box-shadow: none !important; border: 1px solid rgba(246,244,236,0.25) !important; }
  .site-search input:focus { border-color: var(--gold) !important; }
  .site-search .ss-icon { left: 13px; width: 17px; height: 17px; }
  .site-search .ss-clear { width: 24px; height: 24px; font-size: 15px; right: 6px; }
  .site-search .ss-results { left: auto; right: 0; width: min(400px, 92vw); }
  .search-btn { display: none; background: none; border: none; color: var(--paper); width: 40px; height: 40px; cursor: pointer; align-items: center; justify-content: center; margin-left: auto; }
  @media (max-width: 1000px) {
    .search-btn { display: flex; }
    .site-search {
      display: none; position: absolute; left: 0; right: 0; top: 100%;
      width: auto; margin: 0; padding: 10px 18px 12px;
      background: var(--green-deep); border-bottom: 3px solid var(--gold);
    }
    .site-search.open { display: block; }
    .site-search .ss-icon { left: 31px; }
    .site-search .ss-clear { right: 24px; }
    .site-search .ss-results { left: 18px; right: 18px; width: auto; top: calc(100% - 4px); }
  }
  .site-search input {
    width: 100%; font: inherit; font-size: 16px; color: var(--ink);
    background: #fff; border: 2px solid transparent; border-radius: 999px;
    padding: 14px 44px 14px 48px; box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  }
  .site-search input:focus { outline: none; border-color: var(--gold); }
  .site-search input::-webkit-search-cancel-button { display: none; }
  .ss-icon { position: absolute; left: 17px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--green-mid); pointer-events: none; }
  .ss-clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; border: none; background: #eee; color: #333; font-size: 18px; cursor: pointer; }
  .ss-results {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    background: var(--surface); color: var(--fg); border-radius: 14px; overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.3); max-height: 60vh; overflow-y: auto;
  }
  .ss-results.open { display: block; }
  .ss-group { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 12px 16px 4px; }
  .ss-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; cursor: pointer; }
  .ss-item:hover, .ss-item.active { background: rgba(242,194,48,0.18); }
  .ss-thumb { width: 38px; height: 38px; border-radius: 50%; flex: none; object-fit: cover; object-position: 50% 20%; background: var(--green-deep); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
  .ss-text { min-width: 0; }
  .ss-title { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ss-sub { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ss-title mark { background: rgba(242,194,48,0.45); color: inherit; padding: 0 1px; border-radius: 2px; }
  .ss-empty { padding: 16px; color: var(--muted); font-size: 14px; }


  /* ---------- Matchday albums ---------- */
  .md-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
  .md-folder {
    font: inherit; text-align: left; cursor: pointer; color: var(--fg);
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
    padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 10px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  }
  .md-folder:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,0.10); border-color: var(--gold); }
  .md-folder:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
  .md-icon { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden;
    background: linear-gradient(160deg, var(--green-mid), var(--green-deep)); display: flex; align-items: center; justify-content: center; }
  .md-icon::before { content: ""; position: absolute; top: 0; left: 0; width: 42%; height: 14%; background: var(--gold); border-bottom-right-radius: 8px; }
  .md-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .md-icon .md-num { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 40px; color: var(--gold); line-height: 1; position: relative; }
  .md-name { font-weight: 800; font-size: 15px; }
  .md-meta { font-size: 12.5px; color: var(--muted); margin-top: -6px; }
  .md-back { font: inherit; font-weight: 700; color: var(--green-mid); background: none; border: none; cursor: pointer; padding: 0; margin-bottom: 16px; font-size: 15px; }
  .md-album-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
  .md-album-head h2 { font-size: clamp(28px, 5vw, 40px); }
  .md-count { color: var(--muted); font-size: 14px; margin: 6px 0 22px; }
  .md-empty { border: 1px dashed var(--line); border-radius: 12px; padding: 48px 20px; text-align: center; color: var(--muted); }
  .md-empty p { margin-top: 10px; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .md-back { color: var(--gold); } }
  :root[data-theme="dark"] .md-back { color: var(--gold); }


  /* ---------- Home hub ---------- */
  .home-hub { padding-bottom: 20px; }
  .next-match {
    display: block; text-decoration: none; color: var(--paper);
    background: var(--green-deep); border-top: 3px solid var(--gold); border-radius: 14px;
    padding: 22px 24px; transition: transform .15s ease, box-shadow .15s ease;
  }
  .next-match:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,0.18); }
  .nm-label { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
  .nm-teams { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: clamp(22px, 4.5vw, 32px); margin-top: 8px; line-height: 1.15; }
  .nm-teams span { color: var(--gold); font-size: 0.7em; margin: 0 6px; }
  .nm-meta { font-size: 14px; opacity: 0.82; margin-top: 8px; }
  .nm-count { font-size: 14px; font-weight: 700; color: var(--gold-soft); margin-top: 12px; font-variant-numeric: tabular-nums; }
  .tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  @media (max-width: 720px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
  .tile {
    display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--fg);
    background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px;
    padding: 16px 16px 15px; transition: transform .15s ease, border-color .15s ease;
  }
  .tile:hover { transform: translateY(-2px); border-color: var(--green-mid); border-left-color: var(--gold); }
  .tile-t { font-weight: 800; font-size: 16px; }
  .tile-s { font-size: 12.5px; color: var(--muted); }
  nav a.current, .mobile-menu a.current { color: var(--gold) !important; }


  .modal-leader { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 6px; }
  .ml-block { padding: 12px 0; }
  .ml-block + .ml-block { border-top: 1px solid var(--line); }
  .ml-head { font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-mid); margin-bottom: 6px; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ml-head { color: var(--gold); } }
  :root[data-theme="dark"] .ml-head { color: var(--gold); }
  .ml-text { font-size: 14.5px; line-height: 1.55; }


  .article-media.is-poster { aspect-ratio: auto; background: #1a120b; }
  .article-media.is-poster img { height: auto; max-height: 85vh; object-fit: contain; }
  .article-quote {
    margin: 18px 0 4px; padding: 14px 18px; border-left: 4px solid var(--gold);
    background: rgba(242,194,48,0.12); font-family: 'Fraunces', Georgia, serif; font-size: 20px; font-weight: 700; line-height: 1.4;
  }
  .article-text p.article-kicker { font-weight: 800; font-size: 17px; color: var(--green-mid); }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .article-text p.article-kicker { color: var(--gold); } }
  :root[data-theme="dark"] .article-text p.article-kicker { color: var(--gold); }

  .story-src { display: none !important; }
  .article-card .modal-close { z-index: 3; }

  .hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
  .join-submit { justify-self: start; font-size: 15px; }
  .join-submit[disabled] { opacity: .6; cursor: wait; }
  #jf-send-error a { color: inherit; font-weight: 700; }
  .join-success { text-align: center; padding: 30px 22px; border-top-color: var(--gold); }
  .js-tick { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: #1FA855; color: #fff; font-size: 30px; line-height: 56px; font-weight: 800; }
  .join-success h3 { font-size: 26px; }
  .js-lead { font-size: 16px; color: var(--fg); margin-top: 10px; }
  .js-number {
    display: inline-block; margin: 8px 0 6px; padding: 12px 22px; border-radius: 12px;
    background: var(--green-deep); color: var(--gold); border: 2px solid var(--gold);
    font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: clamp(26px, 7vw, 38px); letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums; user-select: all;
  }
  .js-keep { font-weight: 700; color: var(--fg); }
  .btn-outline-dark { background: transparent; border: 1.5px solid var(--line); color: var(--fg); margin-top: 8px; }
  .js-preview { font-size: 13px; background: rgba(242,194,48,0.15); border-radius: 8px; padding: 10px 12px; margin-top: 16px; color: var(--fg); }


  /* ---------- Club honours (Our Story) ---------- */
  .club-honours { margin-top: 56px; }
  .ch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
  .ch-item {
    display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
    background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 16px;
  }
  .ch-icon { grid-row: 1 / 3; font-size: 30px; line-height: 1; }
  .ch-count { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 30px; line-height: 1; color: var(--green-mid); }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ch-count { color: var(--gold); } }
  :root[data-theme="dark"] .ch-count { color: var(--gold); }
  .ch-name { font-weight: 700; font-size: 14px; line-height: 1.3; margin-top: 4px; }
  .ch-total {
    margin-top: 16px; background: var(--green-deep); color: var(--paper); border-radius: 12px; padding: 16px 20px;
    font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 10px;
  }
  .ch-total strong { font-family: 'Fraunces', Georgia, serif; font-size: 30px; color: var(--gold); line-height: 1; }


  /* ---------- Long-form story ---------- */
  .story-long { max-width: 720px; }
  .story-long p { font-size: 17px; line-height: 1.75; margin: 0 0 18px; }
  .story-long .story-lead { font-family: 'Fraunces', Georgia, serif; font-size: clamp(21px, 3.6vw, 26px); line-height: 1.45; font-weight: 600; }
  .story-long .story-turn { font-family: 'Fraunces', Georgia, serif; font-size: 21px; font-weight: 800; margin-top: 30px; }
  .story-verse { border-left: 4px solid var(--gold); padding: 6px 0 6px 20px; margin: 30px 0; }
  .story-verse p { font-family: 'Fraunces', Georgia, serif; font-size: 20px; font-weight: 700; margin: 0 0 6px; }
  .story-motto {
    background: var(--green-deep); color: var(--gold) !important; border-radius: 12px; padding: 18px 20px;
    font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: clamp(18px, 3.4vw, 22px) !important;
    letter-spacing: 0.04em; text-transform: uppercase; text-align: center;
  }


  /* ---------- Partners ---------- */
  .partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; max-width: 760px; }
  .partner-card {
    background: var(--green-deep); border-radius: 14px; border-top: 3px solid var(--gold);
    height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px;
  }
  .p-logo { display: block; width: 80%; height: 132px; object-fit: contain; box-sizing: border-box; }
  .p-logo--zarah { padding: 20px 0; }
  .p-role { color: var(--gold); font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
  .foot-partners { text-align: center; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(246,244,236,0.12); }
  .fp-row { display: flex; justify-content: center; align-items: flex-end; gap: clamp(18px, 6vw, 72px); flex-wrap: nowrap; margin-top: 14px; }
  .fp-item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .fp-logo { display: block; object-fit: contain; }
  .fp-logo { height: 88px; width: 36vw; max-width: 200px; box-sizing: border-box; }
  .fp-logo--zarah { padding: 14px 0; }
  .fp-item figcaption { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }



  /* ---------- Shekwe Store ---------- */
  .shop-store, .shop-src { display: none !important; }
  #page-shop .shop-hero { position: relative;
    background: radial-gradient(ellipse at 80% 40%, rgba(242,194,48,0.18), transparent 55%), var(--green-deep);
    color: var(--paper); padding: 46px 0 40px; border-bottom: 3px solid var(--gold); overflow: hidden;
  }
  .shop-hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
  .sh-kicker { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
  .shop-hero h1 { font-size: clamp(32px, 6vw, 54px); line-height: 1.02; margin: 12px 0 14px; }
  .shop-hero p { opacity: .88; max-width: 440px; font-size: 16px; }
  .sh-price-row { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 22px; flex-wrap: wrap; }
  .sh-price { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 40px; color: var(--gold); line-height: 1; }
  .sh-colours { font-size: 14px; opacity: .85; }
  .sh-art { position: relative; height: 320px; }
  .sh-shirt { position: absolute; width: 62%; aspect-ratio: 1/1; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
  .sh-shirt--back { right: 0; top: 0; transform: rotate(6deg); }
  .sh-shirt--front { left: 4%; bottom: 0; transform: rotate(-5deg); }
  @media (max-width: 720px) {
    .shop-hero-inner { grid-template-columns: 1fr; }
    .sh-art { height: 250px; order: -1; }
    .sh-shirt { width: 56%; }
  }
  .shop-perks { background: var(--surface); border-bottom: 1px solid var(--line); }
  .perks-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  .perk { display: flex; align-items: center; gap: 10px; font-size: 14px; }
  .perk-ic { font-size: 22px; }
  .perk small { display: block; color: var(--muted); font-size: 12.5px; }
  @media (max-width: 720px) { .perks-row { grid-template-columns: 1fr; gap: 10px; } }
  .shop-section { padding-top: 40px; }
  .shop-count { color: var(--muted); font-size: 14px; font-weight: 600; }
  .shop-grid.shop-grid--live { display: grid; grid-template-columns: minmax(0, 860px); gap: 24px; }
  @media (min-width: 721px) {
    .live-card { display: grid !important; grid-template-columns: 1.05fr 1fr; }
    .live-card .lc-info { padding: 30px 30px 28px; justify-content: center; gap: 6px; }
    .live-card .p-title { font-size: 30px !important; font-family: 'Fraunces', Georgia, serif; line-height: 1.1; }
    .live-card .lc-price { font-size: 28px; }
    .live-card .lc-btn { padding: 14px 18px; font-size: 16px; }
  }
  .live-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; cursor: pointer; }
  .live-card:hover { box-shadow: 0 14px 32px rgba(0,0,0,.12); transform: translateY(-3px); }
  .lc-media { position: relative; aspect-ratio: 1/1; background: #dfdfdf; overflow: hidden; }
  .lc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform .5s ease; }
  .lc-back { opacity: 0; }
  @media (hover: hover) {
    .lc-media:hover .lc-back { opacity: 1; }
    .lc-media:hover .lc-front { opacity: 0; }
    .lc-media:hover .lc-img { transform: scale(1.04); }
  }
  .lc-badge { position: absolute; top: 14px; left: 14px; background: var(--green-deep); color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
  .lc-quick {
    position: absolute; left: 14px; right: 14px; bottom: 14px; font: inherit; font-weight: 700; font-size: 14px;
    background: rgba(255,255,255,.95); color: var(--ink); border: none; border-radius: 10px; padding: 11px; cursor: pointer;
    opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease;
  }
  .lc-media:hover .lc-quick, .lc-quick:focus-visible { opacity: 1; transform: none; }
  @media (hover: none) { .lc-quick { display: none; } }
  .lc-info { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
  .lc-swatches { display: flex; gap: 6px; margin-bottom: 6px; }
  .sw { width: 18px; height: 18px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.25); }
  .sw--white { background: #f7f7f5; }
  .sw--grey { background: linear-gradient(135deg, #b9b9b9, #8f8f8f); }
  .lc-swatches .sw.on { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--green-mid); }
  .live-card .p-title { font-weight: 800; font-size: 17px; }
  .lc-price { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 22px; }
  .lc-sizes { font-size: 13px; color: var(--muted); }
  .lc-btn { margin-top: 12px; background: var(--green-deep); color: var(--paper); border: none; font-weight: 800; }
  .lc-btn:hover { background: var(--green-mid); }
  .soon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .soon-card { background: var(--surface); border: 1px dashed var(--line); border-radius: 14px; overflow: hidden; }
  .soon-art { aspect-ratio: 4/3; background: repeating-linear-gradient(135deg, var(--green-deep) 0 14px, #12462f 14px 28px); display: flex; align-items: center; justify-content: center; }
  .soon-art span { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 22px; color: var(--gold); opacity: .85; }
  .soon-info { padding: 12px 14px 14px; }
  .soon-cat { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .soon-card .p-title { font-weight: 800; font-size: 15px; margin-top: 2px; }
  .soon-tag { display: inline-block; margin-top: 8px; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(242,194,48,.18); }


  .lc-colour-label { font-size: 13.5px; margin-top: 8px; }
  .lc-swatches { margin: 6px 0 4px; }
  .lc-sw { background: none; border: 2px solid transparent; border-radius: 50%; padding: 3px; cursor: pointer; line-height: 0; }
  .lc-sw .sw { width: 26px; height: 26px; }
  .lc-sw.on { border-color: var(--green-deep); }
  .lc-media .lc-img { transition: opacity .35s ease, transform .5s ease; }

  /* checkout */
  .pd-checkout { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
  .pd-step-title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; margin: 6px 0 12px; }
  .pd-step-title span { width: 24px; height: 24px; border-radius: 50%; background: var(--green-deep); color: var(--gold); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
  .pd-field { margin-bottom: 12px; }
  .pd-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; }
  .pd-field input, .pd-field select { width: 100%; font: inherit; font-size: 15px; color: var(--fg); background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; }
  .pd-field .phone-group select { width: 44%; max-width: 170px; }
  .pd-field.invalid input { border-color: #B3261E; }
  .pay-opts { display: grid; gap: 10px; margin-bottom: 14px; }
  .pay-opt { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
  .pay-opt input { width: 18px; height: 18px; accent-color: var(--green-deep); flex: none; }
  .pay-opt:has(input:checked) { border-color: var(--green-deep); box-shadow: 0 0 0 1px var(--green-deep); }
  .pay-opt.is-soon { opacity: .55; cursor: not-allowed; }
  .po-body { flex: 1; display: flex; flex-direction: column; }
  .po-title { font-weight: 800; font-size: 15px; }
  .po-sub { font-size: 12.5px; color: var(--muted); }
  .po-badge { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 6px; background: var(--line); color: var(--fg); }
  .po-badge--eco { background: #0a6fb5; color: #fff; }
  .po-badge--pp { background: #003087; color: #fff; }
  .po-badge--pn { background: #e4032e; color: #fff; }
  .pay-opt[hidden] { display: none; }
  .pn-banner { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 130; width: min(560px, calc(100% - 24px)); background: var(--surface); color: var(--fg); border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,.28); padding: 16px 18px 16px 16px; display: flex; gap: 12px; align-items: flex-start; border-left: 5px solid #1FA855; }
  .pn-banner.is-bad { border-left-color: #B3261E; }
  .pn-banner.is-wait { border-left-color: var(--gold); }
  .pn-banner strong { display: block; font-size: 16px; }
  .pn-banner p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
  .pn-banner button { margin-left: auto; background: none; border: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }
  .dn-pay--pp { border-color: #003087; background: rgba(0,48,135,.05); }
  .dn-pp { background: #FFC439; color: #111; border: none; font-weight: 800; }
  .dn-pp:hover { background: #f2b52a; }
  .dn-qr { display: flex; gap: 14px; align-items: center; margin-top: 12px; }
  .dn-qr img { width: 118px; height: 118px; background: #fff; border-radius: 10px; border: 1px solid var(--line); flex: none; }
  .dn-qr small { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
  @media (max-width: 560px) { .dn-qr { display: none; } }
  .pd-order { width: 100%; cursor: pointer; }
  .pd-order[disabled] { opacity: .7; cursor: wait; }
  #pdErr a { color: inherit; font-weight: 700; }
  .pd-done { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 20px; }
  .pd-done .dn-tick { width: 48px; height: 48px; border-radius: 50%; background: #1FA855; color: #fff; font-size: 26px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
  .pd-done h3 { font-size: 22px; margin: 12px 0 4px; }
  .dn-ref { display: inline-block; font-weight: 800; background: var(--green-deep); color: var(--gold); padding: 4px 10px; border-radius: 6px; letter-spacing: .04em; }
  .dn-summary { color: var(--muted); font-size: 14px; margin: 8px 0 14px; }
  .dn-pay { border: 1.5px solid #0a6fb5; border-radius: 12px; padding: 14px 16px; background: rgba(10,111,181,.06); }
  .dn-pay h4 { margin: 0 0 8px; font-size: 15px; }
  .dn-to { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--surface); border-radius: 10px; padding: 10px 12px; margin: 8px 0 10px; border: 1px solid var(--line); }
  .dn-to strong { font-size: 19px; letter-spacing: .03em; }
  .dn-to small { display: block; color: var(--muted); font-size: 12px; }
  .dn-pay ol { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.7; }
  .dn-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
  .dn-actions .btn { font-size: 14px; padding: 10px 14px; }
  .dn-eco { background: #0a6fb5; color: #fff; border: none; }
  .dn-copy { background: transparent; border: 1.5px solid var(--line); color: var(--fg); }
  .dn-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

  /* product quick view */
  .pd-overlay { position: fixed; inset: 0; z-index: 120; background: rgba(11,20,15,.7); display: none; align-items: center; justify-content: center; padding: 20px; }
  .pd-overlay.open { display: flex; }
  .pd-sheet { position: relative; background: var(--surface); color: var(--fg); width: 100%; max-width: 940px; max-height: 92vh; overflow-y: auto; border-radius: 18px; display: grid; grid-template-columns: 1.05fr 1fr; }
  .pd-close { z-index: 3; }
  .pd-gallery { background: #dfdfdf; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
  .pd-main { aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; }
  .pd-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .pd-thumbs { display: flex; gap: 10px; }
  .pd-thumb { font: inherit; background: #fff; border: 2px solid transparent; border-radius: 10px; padding: 0; overflow: hidden; cursor: pointer; width: 84px; text-align: center; }
  .pd-thumb img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
  .pd-thumb span { display: block; font-size: 11.5px; font-weight: 700; padding: 4px 0; color: #333; }
  .pd-thumb.on { border-color: var(--green-deep); }
  .pd-info { padding: 30px 28px 26px; }
  .pd-cat { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .pd-info h2 { font-size: clamp(26px, 4vw, 34px); margin: 6px 0 4px; }
  .pd-price { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 28px; }
  .pd-opt-label { margin-top: 20px; font-size: 14px; }
  .pd-colours, .pd-sizes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
  .pd-colour { background: none; border: 2px solid transparent; border-radius: 50%; padding: 3px; cursor: pointer; line-height: 0; }
  .pd-colour .sw { width: 30px; height: 30px; }
  .pd-colour.on { border-color: var(--green-deep); }
  .pd-size { font: inherit; font-weight: 700; min-width: 56px; padding: 11px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
  .pd-size:hover { border-color: var(--green-mid); }
  .pd-size.on { background: var(--green-deep); color: var(--gold); border-color: var(--green-deep); }
  .pd-sheet.need-size .pd-sizes { animation: teeShake .35s; }
  .pd-sheet.need-size #pdSizeLabel { color: #B3261E; }
  @keyframes teeShake { 0%,100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
  .pd-buy-row { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; gap: 12px; }
  .pd-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
  .pd-qty button { font: inherit; font-size: 20px; width: 42px; height: 42px; border: none; background: transparent; color: var(--fg); cursor: pointer; }
  .pd-qty span { min-width: 34px; text-align: center; font-weight: 800; }
  .pd-total { font-size: 14px; color: var(--muted); }
  .pd-total strong { font-family: 'Fraunces', Georgia, serif; font-size: 24px; color: var(--fg); margin-left: 6px; }
  .pd-order { display: block; text-align: center; margin-top: 16px; background: #1FA855; color: #fff; border: none; font-size: 16px; font-weight: 800; padding: 15px; border-radius: 12px; text-decoration: none; }
  .pd-order:hover { background: #1b944b; }
  .pd-order.is-disabled { background: var(--line); color: var(--muted); }
  .pd-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
  .pd-details { margin: 18px 0 0; padding: 16px 0 0 18px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.8; }
  @media (max-width: 760px) {
    .pd-overlay { padding: 0; align-items: flex-end; }
    .pd-sheet { grid-template-columns: 1fr; max-height: 94vh; border-radius: 18px 18px 0 0; }
    .pd-gallery { padding: 12px; }
    .pd-info { padding: 20px 18px 26px; }
  }

  /* ---------- Player detail modal ---------- */
  .player { cursor: pointer; }
  .player:hover .player-photo { filter: brightness(1.06); }
  .player:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

  .modal-overlay {
    position: fixed; inset: 0;
    background: rgba(11,20,15,0.72);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
  }
  .modal-overlay.open { display: flex; }
  .modal-card {
    background: var(--surface);
    color: var(--fg);
    max-width: 420px;
    width: 100%;
    border-top: 4px solid var(--gold);
    padding: 0;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal-photo {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    background: var(--green-deep);
  }
  .modal-body { padding: 22px 24px 26px; }
  .modal-name {
    font-family: 'Fraunces', serif;
    font-weight: 800;
    font-size: 26px;
    line-height: 1.1;
  }
  .modal-role { color: var(--muted); font-size: 14px; margin-top: 4px; font-weight: 600; }
  .modal-note {
    margin-top: 16px;
    font-size: 13.5px;
    color: var(--muted);
    font-style: italic;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }
  .modal-stats {
    margin-top: 16px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }
  .modal-stats .stat-row-item {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
  }
  .modal-stats .stat-row-item:last-child { border-bottom: none; }
  .modal-stats .stat-row-item .k { color: var(--muted); font-weight: 600; }
  .modal-stats .stat-row-item .v { font-weight: 700; text-align: right; }
  .modal-achievements {
    margin-top: 16px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }
  .modal-achievements .ach-title {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
  }
  .modal-achievements ul {
    margin: 0;
    padding-left: 18px;
  }
  .modal-achievements li {
    font-size: 13.5px;
    margin-bottom: 6px;
    line-height: 1.4;
  }
  .modal-close {
    position: absolute;
    top: 10px; right: 10px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
  }

  /* ---------- Multi-page switcher ---------- */
  .page { display: none; }
  .page.active { display: block; }

  .page-hero {
    background: var(--green-deep);
    color: var(--paper);
    padding: 56px 0 40px;
    border-bottom: 3px solid var(--gold);
  }
  .page-hero h1 { font-size: clamp(38px, 7vw, 64px); color: var(--paper); }
  .page-hero p { margin-top: 12px; color: var(--paper); opacity: 0.82; font-size: 15px; max-width: 520px; }

  /* ---------- Gallery ---------- */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 4px;
  }
  .gallery-item {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--green-deep);
  }
  .gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  .gallery-item .cap {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 10px 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.72), transparent);
  }
  .gallery-empty {
    grid-column: 1 / -1;
    border: 1px dashed var(--line);
    padding: 40px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
  }
  .gallery-item { cursor: pointer; }
  .gallery-item:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

  /* ---------- Lightbox ---------- */
  .lightbox-overlay {
    position: fixed; inset: 0;
    background: rgba(11,20,15,0.88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 110;
    padding: 20px;
  }
  .lightbox-overlay.open { display: flex; }
  .lightbox-card {
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
  }
  .lightbox-img {
    width: 100%;
    max-height: 68vh;
    object-fit: contain;
    background: #000;
  }
  .lightbox-bar {
    background: var(--surface);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .lightbox-name { font-weight: 700; font-size: 14.5px; color: var(--fg); }
  .lightbox-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold);
    color: var(--ink);
    font-weight: 700;
    font-size: 13px;
    padding: 9px 14px;
    border-radius: 3px;
    text-decoration: none;
    white-space: nowrap;
  }
  .lightbox-close {
    position: absolute;
    top: -14px; right: -14px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
  }

  /* ---------- Shop ---------- */
  .shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
  }
  .product-card {
    background: var(--surface);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
  }
  .product-swatch {
    aspect-ratio: 1/1;
    background: var(--green-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .product-swatch::before {
    content: "";
    position: absolute; inset: 0;
    background: repeating-linear-gradient(118deg, transparent 0px, transparent 20px, rgba(242,194,48,0.16) 20px, rgba(242,194,48,0.16) 34px);
  }
  .product-swatch .mark {
    font-family: 'Fraunces', serif;
    font-weight: 800;
    font-size: 15px;
    color: var(--gold);
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 16px;
  }
  .product-info { padding: 16px 16px 18px; }
  .product-info .p-title { font-weight: 700; font-size: 16px; }
  .product-info .p-price { color: var(--muted); font-size: 13.5px; margin-top: 4px; font-weight: 600; }
  .product-info .p-order {
    display: inline-block;
    margin-top: 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--green-mid);
    text-decoration: none;
    border-bottom: 1px solid var(--green-mid);
  }
  :root[data-theme="dark"] .product-info .p-order,
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .product-info .p-order { color: var(--gold); border-bottom-color: var(--gold); } }

  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
  }

  /* ================= Header (club green & gold) ================= */
  header.site { background: var(--green-deep); color: var(--paper); border-bottom: 3px solid var(--gold); box-shadow: none; }
  .ticker { background: var(--green-mid); color: var(--paper); overflow: hidden; font-size: 13.5px; font-weight: 600; white-space: nowrap; border-bottom: 1px solid rgba(242,194,48,.35); }
  .tk-track { display: flex; width: max-content; animation: tkScroll 54s linear infinite; }
  .ticker:hover .tk-track { animation-play-state: paused; }
  .tk-group { display: flex; align-items: center; padding: 8px 0; }
  .tk-item { padding: 0 18px; display: inline-flex; align-items: center; gap: 8px; }
  .tk-dot { color: var(--gold); }
  .tk-tag { background: var(--gold); color: var(--ink); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; }
  @keyframes tkScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .tk-track { animation: none; } .ticker { overflow-x: auto; } }
  .nav-row { height: 84px; gap: 18px; }
  .crest { width: 62px; height: 62px; image-rendering: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
  .brand { gap: 14px; }
  .brand-text { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 21px; line-height: 1.1; color: var(--paper); white-space: nowrap; }
  .brand-text .bt-fc-short { display: none; }
  .brand-text small { color: var(--gold); font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; white-space: nowrap; }
  nav.links { margin-left: auto; gap: 26px; }
  nav.links a { color: var(--paper); opacity: .9; font-weight: 600; font-size: 15px; padding: 30px 0 27px; border-bottom: 3px solid transparent; }
  nav.links a:hover { opacity: 1; color: var(--gold); }
  nav.links a.current { color: var(--gold) !important; opacity: 1; border-bottom-color: var(--gold); }
  @media (max-width: 1240px) { nav.links { gap: 16px; } nav.links a { font-size: 14px; } .brand-text { font-size: 19px; } .brand-text .bt-fc { display: none; } .brand-text .bt-fc-short { display: inline; } }
  .search-btn, .menu-btn { color: var(--paper); }
  .search-btn { display: flex; margin-left: 6px; border-radius: 50%; }
  .search-btn:hover { background: rgba(255,255,255,.1); }
  .site-search { display: none; position: absolute; left: 0; right: 0; top: 100%; width: auto; margin: 0; padding: 12px 18px 14px; background: var(--green-deep); border-bottom: 3px solid var(--gold); }
  .site-search.open { display: block; }
  .site-search input { max-width: 720px; display: block; margin: 0 auto; border: 2px solid transparent !important; font-size: 16px !important; padding: 12px 40px 12px 44px !important; }
  .site-search input:focus { border-color: var(--gold) !important; }
  .site-search .ss-icon { left: calc(50% - min(360px, 50% - 18px) + 14px); }
  .site-search .ss-clear { right: calc(50% - min(360px, 50% - 18px) + 8px); }
  .site-search .ss-results { left: 50%; right: auto; transform: translateX(-50%); width: min(720px, calc(100% - 36px)); top: calc(100% - 4px); }
  #mobile-menu { background: var(--green-mid); border-top: 1px solid var(--line-on-dark); }
  #mobile-menu a { color: var(--paper); }
  #mobile-menu a.current { color: var(--gold) !important; }
  @media (max-width: 1100px) {
    nav.links { display: none; }
    .menu-btn { display: flex; align-items: center; justify-content: center; }
    .search-btn { margin-left: auto; }
  }
  @media (max-width: 560px) {
    .nav-row { height: 72px; }
    .crest { width: 52px; height: 52px; }
    .brand-text { font-size: 17px; }
    .brand-text small { font-size: 10px; }
  }

  /* original homepage hero: lines glow in place */
  .hero--classic .hero-crest { width: 150px; height: 150px; }
  .hero-stripes::before, .hero-stripes::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
  .hero-stripes { animation: fxBreathe 7s ease-in-out infinite; }
  .hero-stripes::after {
    background: linear-gradient(105deg, transparent 38%, rgba(242,194,48,.38) 50%, transparent 62%);
    background-size: 260% 100%; background-repeat: no-repeat;
    -webkit-mask-image: repeating-linear-gradient(118deg, transparent 0 46px, #000 46px 78px);
            mask-image: repeating-linear-gradient(118deg, transparent 0 46px, #000 46px 78px);
    animation: fxGlow 6.5s ease-in-out infinite;
  }
  @media (prefers-reduced-motion: reduce) { .hero-stripes, .hero-stripes::after { animation: none; } .hero-stripes::after { display: none; } }

  .hero.hero--split { background: linear-gradient(180deg, #f7f6f0 0%, #eef3ec 100%); color: var(--ink); padding: 44px 0 52px; overflow: hidden; }
  .hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 44px; align-items: center; }
  .hero-league { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #1f7a3a; }
  .hero-league span { width: 4px; height: 18px; background: var(--gold); border-radius: 2px; }
  .hero--split h1.hero-title { font-family: 'Fraunces', Georgia, serif; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; margin: 16px 0 14px; color: var(--green-deep); }
  .hero-lead { font-size: 17px; color: #3c463f; max-width: 470px; }
  .hero-match { display: block; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid #e3e3db; border-radius: 16px; padding: 16px 18px; margin-top: 22px; max-width: 480px; box-shadow: 0 8px 24px rgba(0,0,0,.06); transition: transform .15s ease, box-shadow .15s ease; }
  .hero-match:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.1); }
  .hm-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .hm-pill { background: var(--green-deep); color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
  .hm-count { font-size: 13px; font-weight: 800; color: #1f7a3a; font-variant-numeric: tabular-nums; }
  .hm-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 14px 0 10px; }
  .hm-team { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-weight: 800; font-size: 14px; line-height: 1.2; }
  .hm-badge { width: 52px; height: 52px; border-radius: 50%; object-fit: contain; }
  .hm-badge--opp { display: flex; align-items: center; justify-content: center; background: #ececE6; color: #555; font-size: 13px; font-weight: 800; }
  .hm-vs { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 20px; color: var(--gold); }
  .hm-meta { text-align: center; font-size: 13px; color: var(--muted); border-top: 1px solid #efefe8; padding-top: 10px; }
  .hero--split .hero-cta { margin-top: 22px; }
  .btn-green { background: #1f7a3a; color: #fff; border-radius: 10px; }
  .btn-green:hover { background: var(--green-deep); }
  .btn-ghost { background: transparent; color: var(--green-deep); border: 2px solid var(--green-deep); border-radius: 10px; }
  .btn-ghost:hover { background: var(--green-deep); color: #fff; }
  .hero-photo { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 22px 50px rgba(0,0,0,.18); aspect-ratio: 16 / 11; }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
  .hp-tag { position: absolute; left: 16px; bottom: 16px; background: rgba(11,20,15,.78); color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 26px; }
    .hero-photo { order: 2; }
    .hero.hero--split { padding: 28px 0 40px; }
    .hero-match { max-width: none; }
  }
  .home-hub { padding-top: 48px; }

  /* ================= Photos shown whole in popups ================= */
  .photo-fit { position: relative; overflow: hidden; background: #0b140f; }
  .photo-fit::before {
    content: ""; position: absolute; inset: -30px; background-image: var(--fit-bg, none);
    background-size: cover; background-position: center; filter: blur(22px) brightness(.55) saturate(1.1); transform: scale(1.08);
  }
  .photo-fit > img { position: relative; z-index: 1; display: block; width: 100% !important; height: auto !important; max-height: min(62vh, 560px); object-fit: contain !important; aspect-ratio: auto !important; margin: 0 auto; background: transparent !important; }
  .article-media.photo-fit { aspect-ratio: auto !important; }
  .article-media.photo-fit > img { max-height: min(70vh, 620px); }
  .modal-card { overflow-x: hidden; }

  /* ================= Lines that glow in place ================= */
  .fx-lines { position: relative; overflow: hidden; isolation: isolate; }
  .fx-lines > * { position: relative; z-index: 1; }
  .fx-lines::before, .fx-lines::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; }
  .fx-lines::before {
    background: repeating-linear-gradient(118deg, transparent 0 46px, rgba(255,255,255,.055) 46px 78px);
    animation: fxBreathe 7s ease-in-out infinite;
  }
  .fx-lines::after {
    background: linear-gradient(105deg, transparent 35%, rgba(242,194,48,.42) 50%, transparent 65%);
    background-size: 260% 100%; background-repeat: no-repeat;
    -webkit-mask-image: repeating-linear-gradient(118deg, transparent 0 46px, #000 46px 78px);
            mask-image: repeating-linear-gradient(118deg, transparent 0 46px, #000 46px 78px);
    animation: fxGlow 6.5s ease-in-out infinite;
  }
  .fx-lines--light::before {
    background: repeating-linear-gradient(118deg, transparent 0 46px, rgba(31,122,58,.07) 46px 78px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  }
  .fx-lines--light::after {
    background-image: linear-gradient(105deg, transparent 38%, rgba(242,194,48,.34) 50%, transparent 62%);
    -webkit-mask-image: repeating-linear-gradient(118deg, transparent 0 46px, #000 46px 78px), linear-gradient(90deg, transparent 0%, #000 55%);
            mask-image: repeating-linear-gradient(118deg, transparent 0 46px, #000 46px 78px), linear-gradient(90deg, transparent 0%, #000 55%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
  @keyframes fxBreathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
  .hero-stripes { --x: 0; }
  @keyframes fxGlow { 0% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
  @media (prefers-reduced-motion: reduce) { .fx-lines::before, .fx-lines::after { animation: none; } .fx-lines::after { display: none; } }

  /* ================= Same fit on every screen ================= */
  .section-head { flex-wrap: wrap; row-gap: 6px; }
  .section-head .note { max-width: 100%; }
  img, video, svg { max-width: 100%; }
  @media (max-width: 400px) {
    .nav-row { gap: 6px; }
    .brand { gap: 9px; min-width: 0; }
    .crest { width: 44px; height: 44px; }
    .brand-text { font-size: 15.5px; }
    .search-btn, .menu-btn { width: 36px; height: 36px; flex: none; }
  }

  /* ================= Zoomable photos ================= */
  .zoom { position: fixed; inset: 0; z-index: 300; background: rgba(4,9,6,.95); display: none; }
  .zoom.open { display: block; }
  .zoom-stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; display: flex; align-items: center; justify-content: center; }
  .zoom-stage.dragging { cursor: grabbing; }
  .zoom-stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; transform-origin: center center; will-change: transform; transition: transform .18s ease; }
  .zoom-stage.live img { transition: none; }
  .zoom-bar { position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; gap: 6px; background: rgba(14,59,39,.92); border: 1px solid rgba(242,194,48,.45); border-radius: 999px; padding: 6px; }
  .zoom-bar button { font: inherit; font-weight: 800; font-size: 18px; min-width: 44px; height: 40px; border-radius: 999px; border: none; background: transparent; color: var(--paper); cursor: pointer; }
  .zoom-bar button:hover { background: rgba(255,255,255,.12); }
  .zoom-bar #zoomLevel { font-size: 13px; min-width: 62px; color: var(--gold); }
  .zoom-bar .zoom-x { background: var(--gold); color: var(--ink); }
  .zoom-hint { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: 12.5px; background: rgba(0,0,0,.45); padding: 6px 12px; border-radius: 999px; white-space: nowrap; transition: opacity .6s; pointer-events: none; }
  .zoom-hint.gone { opacity: 0; }
  #modalPhoto, #articleImg, #lightboxImg, #pdMain, .hero-crest { cursor: zoom-in; }
  .photo-fit::after, .pd-main::after {
    content: "\2922  Tap to zoom"; position: absolute; right: 10px; bottom: 10px; z-index: 2; pointer-events: none;
    background: rgba(11,20,15,.72); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 9px; border-radius: 999px;
  }
  .pd-main { position: relative; }
  #modalPhotoWrap[style*="display: none"]::after { display: none; }

  img.img-missing { display: none !important; }

  .dn-wa { border: 1.5px solid #1FA855; background: rgba(31,168,85,.07); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
  .dn-wa h4 { margin: 0 0 6px; font-size: 15px; }
  .dn-wa p { margin: 0 0 10px; font-size: 14px; }
  .dn-wa-btn { background: #1FA855; color: #fff; border: none; font-weight: 800; }
  #jsWa { margin-top: 10px; }

  /* close buttons always on top and easy to reach */
  .modal-close { z-index: 6 !important; position: absolute; top: 10px; right: 10px; width: 40px !important; height: 40px !important; font-size: 22px !important; background: rgba(11,20,15,.75) !important; color: #fff !important; border: 2px solid rgba(255,255,255,.85) !important; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
  .modal-card, .article-card { position: relative; }
  .modal-back { display: block; width: 100%; margin-top: 18px; font: inherit; font-weight: 800; font-size: 15px; padding: 13px; border-radius: 10px; border: none; background: var(--green-deep); color: var(--gold); cursor: pointer; }
  .modal-back:hover { background: var(--green-mid); }

  /* ================= Donate ================= */
  nav.links a.nav-donate { color: var(--gold) !important; }
  .search-btn { flex: none; width: 40px; height: 40px; }
  nav.links { flex-wrap: nowrap; min-width: 0; }
  @media (min-width: 1101px) and (max-width: 1320px) { nav.links { gap: 13px; } nav.links a { font-size: 13.5px; } .brand-text { font-size: 18px; } }
  #mobile-menu a.nav-donate { color: var(--gold) !important; font-weight: 800; }
  .btn-support { border-color: var(--gold) !important; color: var(--gold) !important; }
  .support-band { background: linear-gradient(90deg, rgba(242,194,48,.18), rgba(242,194,48,.06)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; }
  .support-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
  .support-band h2 { font-size: clamp(24px, 3.6vw, 34px); margin: 10px 0 6px; }
  .support-band p { color: var(--muted); max-width: 560px; }
  .donate-section { padding-top: 34px; }
  .donate-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .donate-grid > .pd-done { grid-column: 1; }
  @media (max-width: 860px) { .donate-grid { grid-template-columns: 1fr; } .donate-side { order: -1; } }
  .donate-form, .dn-done { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px 24px; }
  .dn-done { margin-top: 0 !important; }
  .causes { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 18px; }
  .cause { position: relative; display: flex; flex-direction: column; gap: 4px; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 14px 13px; cursor: pointer; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
  .cause input { position: absolute; opacity: 0; pointer-events: none; }
  .cause:has(input:checked) { border-color: var(--green-deep); box-shadow: 0 0 0 1px var(--green-deep); background: rgba(242,194,48,.08); }
  .cause:has(input:checked)::after { content: "\2713"; position: absolute; top: 10px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-deep); color: var(--gold); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
  .cause-ic { font-size: 24px; line-height: 1; }
  .cause-t { font-weight: 800; font-size: 15px; }
  .cause-s { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
  .amts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
  .amt { font: inherit; font-weight: 800; font-size: 16px; min-width: 70px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
  .amt.on { background: var(--green-deep); color: var(--gold); border-color: var(--green-deep); }
  .dn-anon { margin: 4px 0 14px; }
  .dn-go { width: 100%; background: var(--gold); color: var(--ink); border: none; font-size: 17px; font-weight: 800; padding: 15px; border-radius: 12px; margin-top: 6px; cursor: pointer; }
  .dn-go:hover { filter: brightness(1.05); }
  .donate-side .ds-card { background: var(--green-deep); color: var(--paper); border-radius: 16px; padding: 24px 22px; border-top: 3px solid var(--gold); position: sticky; top: 110px; }
  .ds-crest { width: 84px; height: 84px; object-fit: contain; display: block; margin-bottom: 10px; }
  .ds-card h3 { color: var(--gold); font-size: 20px; }
  .ds-card ul { list-style: none; padding: 0; margin: 12px 0; line-height: 2; font-weight: 600; }
  .ds-card p { opacity: .85; font-size: 14px; }

  /* header never overlaps: links keep their size; if they don't fit, the menu button takes over */
  nav.links { flex-shrink: 0 !important; min-width: max-content !important; }
  .brand { min-width: 0; flex-shrink: 1; overflow: hidden; }
  .brand-text { overflow: hidden; text-overflow: ellipsis; }
  header.site.nav-compact nav.links { display: none !important; }
  header.site.nav-compact .menu-btn { display: flex !important; align-items: center; justify-content: center; }
  header.site.nav-compact .search-btn { margin-left: auto; }
  header.site .wrap.nav-row { max-width: min(1340px, calc(100% - 32px)); }
  header.site.brand-short .brand-text .bt-fc { display: none !important; }
  header.site.brand-short .brand-text .bt-fc-short { display: inline !important; }

  /* EcoCash logo (payment choices and payment steps) */
  .eco-logo { display: inline-block; width: 92px; height: 18px; background: url("/assets/img/i-544dd944d2.webp") center / contain no-repeat; vertical-align: middle; }
  .po-badge--eco { background: #fff !important; border: 1px solid #e3e6ee; padding: 6px 8px !important; line-height: 0; }
  .po-badge--eco .eco-logo { width: 78px; height: 15px; }
  .dn-pay h4 .eco-logo { width: 84px; height: 16px; margin: -3px 0 0 4px; }

  /* ================= EcoCash payment experience ================= */
  .eco-wow { border-radius: 16px; overflow: hidden; border: 1.5px solid #0a5ca8; background: linear-gradient(160deg, #eef5fd 0%, #fff 55%); }
  .eco-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; }
  .eco-head h4 { margin: 0; font-size: 15px; }
  .eco-amount { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 34px; color: #0a5ca8; line-height: 1; }
  .eco-amount small { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; color: var(--muted); margin-left: 4px; }
  .eco-body { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 4px 16px 16px; align-items: center; }
  @media (max-width: 480px) { .eco-body { grid-template-columns: 1fr; } .eco-phone { margin: 0 auto; } }
  .eco-phone { width: 158px; height: 300px; border-radius: 26px; background: #111; padding: 10px 8px; box-shadow: 0 14px 30px rgba(10,92,168,.28), inset 0 0 0 2px #333; position: relative; }
  .eco-phone::before { content: ""; position: absolute; top: 7px; left: 50%; width: 46px; height: 6px; margin-left: -23px; border-radius: 6px; background: #222; }
  .eco-screen { height: 100%; border-radius: 18px; background: linear-gradient(180deg, #1c2433, #0f1520); color: #e8f0ff; padding: 22px 10px 10px; font-family: 'Inter', monospace; font-size: 12.5px; display: flex; flex-direction: column; overflow: hidden; }
  .eco-screen .es-logo { height: 13px; width: 70px; margin: 0 auto 10px; background-color: #fff; border-radius: 3px; padding: 2px; background-origin: content-box; }
  .es-box { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 10px 9px; min-height: 150px; }
  .es-line { opacity: 0; transform: translateY(4px); animation: esIn .35s ease forwards; line-height: 1.5; }
  .es-line.hl { background: rgba(242,194,48,.22); color: #ffe07a; border-radius: 5px; padding: 1px 5px; margin: 2px -5px; font-weight: 700; }
  .es-line.big { font-size: 17px; font-weight: 800; color: #fff; letter-spacing: .04em; }
  .es-line.ok { color: #6ee7a0; font-weight: 800; font-size: 15px; }
  .es-caret::after { content: "|"; animation: esBlink .8s steps(1) infinite; margin-left: 1px; }
  .es-dots { display: flex; gap: 5px; justify-content: center; margin-top: auto; padding-top: 10px; }
  .es-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.25); }
  .es-dots i.on { background: #F2C230; }
  @keyframes esIn { to { opacity: 1; transform: none; } }
  @keyframes esBlink { 50% { opacity: 0; } }
  .eco-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
  .eco-steps li { counter-increment: s; position: relative; padding: 7px 8px 7px 36px; border-radius: 10px; font-size: 14px; line-height: 1.4; transition: background .3s, transform .3s; }
  .eco-steps li::before { content: counter(s); position: absolute; left: 6px; top: 7px; width: 22px; height: 22px; border-radius: 50%; background: #dbe8f7; color: #0a5ca8; font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; transition: background .3s, color .3s; }
  .eco-steps li.on { background: rgba(10,92,168,.09); transform: translateX(3px); }
  .eco-steps li.on::before { background: #0a5ca8; color: #fff; }
  .eco-steps li.done::before { content: "\2713"; background: #1FA855; color: #fff; }
  .eco-note { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
  .eco-to { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; border: 1px dashed #9ec1e6; border-radius: 12px; padding: 10px 12px; margin: 0 16px 12px; }
  .eco-to small { display: block; color: var(--muted); font-size: 11.5px; }
  .eco-to strong { font-size: 19px; letter-spacing: .03em; }
  .eco-actions { display: flex; gap: 10px; flex-wrap: wrap; padding: 0 16px 14px; }
  .eco-actions .btn { font-size: 14px; padding: 11px 14px; border-radius: 10px; }
  .eco-dial { background: #0a5ca8; color: #fff; border: none; }
  .eco-copy { background: #fff; border: 1.5px solid #cfdcec; color: var(--fg); }
  .eco-paid { border-top: 1px solid #d9e6f4; padding: 14px 16px 16px; background: #fff; }
  .eco-paid label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; }
  .eco-paid input { width: 100%; font: inherit; font-size: 15px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; }
  .eco-paid-btn { width: 100%; margin-top: 10px; background: #1FA855; color: #fff; border: none; font-size: 16px; font-weight: 800; padding: 14px; border-radius: 12px; cursor: pointer; }
  .eco-paid-btn:hover { background: #1b944b; }
  .eco-thanks { display: none; text-align: center; padding: 18px 16px 20px; background: linear-gradient(160deg, #0E3B27, #16553a); color: var(--paper); }
  .eco-thanks.show { display: block; animation: esIn .4s ease forwards; }
  .eco-thanks .big { font-family: 'Fraunces', Georgia, serif; font-size: 24px; font-weight: 800; color: var(--gold); }
  .eco-thanks p { margin: 6px 0 12px; opacity: .9; }
  .eco-thanks .btn { background: #1FA855; color: #fff; border: none; font-weight: 800; }
  #ecoConfetti { position: fixed; inset: 0; pointer-events: none; z-index: 400; }

  /* ================= Homepage video showcase (no box: straight onto the green) ================= */
  .hero.hero--classic { overflow: hidden; }
  .hero-inner--media { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
  @media (max-width: 960px) { .hero-inner--media { grid-template-columns: 1fr; gap: 20px; } }
  .hero-media { position: relative; justify-self: center; width: min(100%, 460px); aspect-ratio: 560 / 720; perspective: 1100px; }
  @media (max-width: 960px) { .hero-media { width: min(92vw, 380px); } }
  .hmv-float { position: absolute; inset: 0; animation: hmvFloat 6s ease-in-out infinite; }
  .hmv-stage { position: absolute; inset: 0; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(.12); opacity: 0; transition: transform .25s ease-out;
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 46%, rgba(0,0,0,.7) 66%, rgba(0,0,0,.25) 84%, transparent 99%);
            mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 46%, rgba(0,0,0,.7) 66%, rgba(0,0,0,.25) 84%, transparent 99%); }
  .hmv-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 50% at 50% 48%, transparent 45%, rgba(242,194,48,.18) 75%, rgba(14,59,39,.55) 100%); }
  .hmv-poster, .hmv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
  .hmv-video { opacity: 0; transition: opacity .7s ease; }
  .hmv-video.on { opacity: 1; }
  /* gold light behind, like the crest intro */
  .hmv-burst { position: absolute; left: 50%; top: 46%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.2); border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(255,246,214,.85) 0%, rgba(242,194,48,.55) 25%, rgba(242,194,48,.18) 50%, rgba(242,194,48,0) 70%); opacity: 0; }
  .hmv-rays { position: absolute; left: 50%; top: 46%; width: 190%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; opacity: 0;
    background: repeating-conic-gradient(from 0deg, rgba(242,194,48,.14) 0deg 6deg, rgba(242,194,48,0) 6deg 18deg);
    -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.5) 30%, transparent 62%); mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.5) 30%, transparent 62%); }
  /* first appearance: pops up out of the background */
  .hero-media.pop .hmv-stage { animation: hmvPop 1.05s cubic-bezier(.18,.9,.22,1.2) forwards; }
  .hero-media.pop .hmv-burst { animation: hmvBurst 1.3s cubic-bezier(.2,.7,.2,1) .15s forwards, hmvHalo 3.4s ease-in-out 1.4s infinite; }
  .hero-media.pop .hmv-rays  { animation: hmvRaysIn 1s ease .45s forwards, hmvSpin 30s linear .45s infinite; }
  /* every time it switches to the next clip: a smaller pop and a flash of light */
  .hero-media.swap .hmv-stage { animation: hmvSwap .9s cubic-bezier(.18,.9,.22,1.2) forwards; }
  .hero-media.swap .hmv-burst { animation: hmvFlashIn .9s ease-out, hmvHalo 3.4s ease-in-out .9s infinite; }
  @keyframes hmvPop { 0% { opacity: 0; transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale(.12) rotate(-8deg); filter: blur(14px) brightness(1.8); }
                      55% { opacity: 1; transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale(1.08) rotate(1.5deg); filter: blur(0) brightness(1.3); }
                      78% { transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale(.97); filter: brightness(1.05); }
                      100% { opacity: 1; transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale(1); filter: none; } }
  @keyframes hmvSwap { 0% { opacity: 1; transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale(.86); filter: brightness(1.6); }
                       60% { transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale(1.05); filter: brightness(1.15); }
                       100% { opacity: 1; transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale(1); filter: none; } }
  @keyframes hmvBurst { 0% { opacity: 1; transform: translate(-50%, -50%) scale(.1); } 45% { opacity: .95; } 100% { opacity: .55; transform: translate(-50%, -50%) scale(1); } }
  @keyframes hmvHalo { 0%, 100% { opacity: .45; transform: translate(-50%, -50%) scale(.95); } 50% { opacity: .75; transform: translate(-50%, -50%) scale(1.05); } }
  @keyframes hmvFlashIn { 0% { opacity: 1; transform: translate(-50%, -50%) scale(.6); } 100% { opacity: .5; transform: translate(-50%, -50%) scale(1); } }
  @keyframes hmvRaysIn { to { opacity: 1; } }
  @keyframes hmvSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
  @keyframes hmvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }


  /* phones & tablets: video centred under the buttons, as wide as the screen allows */
  @media (max-width: 959px) {
    .hero-inner--media { gap: 8px; }
    .hero-media { justify-self: start; width: min(calc(100% + 24px), 420px) !important; margin: 0 0 0 max(-12px, calc((100% - 420px) / 2)); }
    .hero--classic .hero-crest { width: 116px; height: 116px; }
  }
  @media (max-width: 400px) { .hero--classic .hero-crest { width: 100px; height: 100px; } }
  /* video sits at the far right edge of the page on computers */
  @media (min-width: 1100px) {
    .hero.hero--classic { position: relative; }
    .hero-inner--media { display: block; position: static !important; }
    .hero-inner--media .hero-left { max-width: 760px; position: relative; z-index: 2; }
    .hero-media { position: absolute; right: clamp(8px, 1.5vw, 28px); top: 50%; width: clamp(340px, 31vw, 520px); transform: translateY(-50%); margin: 0; z-index: 1; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hmv-float, .hero-media.pop .hmv-rays, .hero-media .hmv-burst { animation: none !important; }
    .hero-media .hmv-stage { animation: none !important; opacity: 1 !important; transform: none !important; }
  }

  /* richer news articles */
  .article-h3 { font-family: 'Fraunces', Georgia, serif; font-size: 20px; margin: 26px 0 4px; color: var(--green-deep); }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .article-h3 { color: var(--gold); } }
  .article-list { margin: 8px 0 4px; padding-left: 22px; line-height: 1.75; font-size: 16px; }
  .article-list li::marker { color: var(--gold); }
  .article-facts { margin: 12px 0 6px; border-left: 4px solid var(--gold); background: rgba(242,194,48,.12); border-radius: 10px; padding: 12px 16px; font-size: 15px; line-height: 1.7; }
  .article-facts .af-main { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 19px; }
  .article-source { font-size: 13px !important; color: var(--muted); font-style: italic; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 22px !important; }
  .article-cta { display: inline-block; margin-top: 16px; background: #1FA855; color: #fff; border: none; font-weight: 800; }

  /* phones: two players per row so the squad is quick to browse */
  @media (max-width: 560px) {
    .squad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
    .squad-grid .player-info { padding: 10px 10px 12px; }
    .squad-grid .name { font-size: 14px; line-height: 1.25; }
    .squad-grid .pos { font-size: 12px; }
  }

  /* ================= Media man ================= */
  .media-man { background: var(--green-deep); padding: 44px 0; }
  .mm-card { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; text-align: left; font: inherit; color: var(--paper); cursor: pointer;
    background: rgba(255,255,255,.04); border: 1px solid rgba(242,194,48,.35); border-radius: 20px; padding: 20px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
  .mm-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 16px 36px rgba(0,0,0,.35), 0 0 30px rgba(242,194,48,.18); }
  .mm-photo { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; border: 3px solid var(--gold); box-shadow: 0 0 0 6px rgba(242,194,48,.15); flex: none; }
  .mm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
  .mm-text { display: flex; flex-direction: column; gap: 6px; }
  .mm-text .eyebrow { color: var(--gold); }
  .mm-name { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: clamp(26px, 4vw, 36px); line-height: 1.1; }
  .mm-role { opacity: .85; font-size: 15px; }
  .mm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
  .mm-chips span { font-size: 13px; font-weight: 600; background: rgba(242,194,48,.14); border: 1px solid rgba(242,194,48,.35); padding: 5px 11px; border-radius: 999px; }
  .mm-cta { margin-top: 8px; font-weight: 800; color: var(--gold); }
  @media (max-width: 600px) { .mm-card { grid-template-columns: 1fr; justify-items: center; text-align: center; } .mm-text { align-items: center; } .mm-chips { justify-content: center; } .mm-photo { width: 130px; height: 130px; } }
  .mm-banner { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; width: 100%; font: inherit; font-size: 14px; text-align: left; cursor: pointer; margin-bottom: 22px;
    background: rgba(242,194,48,.14); border: 1px solid rgba(242,194,48,.45); color: var(--fg); border-radius: 12px; padding: 12px 16px; }
  .mm-banner span { margin-left: auto; font-weight: 800; color: var(--green-mid); }
  .mm-sheet { grid-template-columns: 1fr 1.1fr !important; }
  .mm-hero { position: relative; background: #0b2418; min-height: 100%; }
  .mm-hero img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 50% 30%; display: block; cursor: zoom-in; }
  .mm-badge { position: absolute; left: 14px; bottom: 14px; background: rgba(11,20,15,.78); color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
  .mm-body { padding: 28px 26px 26px; }
  .mm-body h2 { font-size: clamp(26px, 4vw, 34px); }
  .mm-intro { color: var(--muted); margin-top: 8px; }
  .mm-h { font-size: 16px; margin: 22px 0 4px; }
  .mm-tip { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
  .mm-svcs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  @media (max-width: 420px) { .mm-svcs { grid-template-columns: 1fr; } }
  .mm-svc { position: relative; text-align: left; font: inherit; display: flex; flex-direction: column; gap: 3px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); border-radius: 12px; padding: 12px; cursor: pointer; }
  .mm-svc.on { border-color: var(--green-deep); box-shadow: 0 0 0 1px var(--green-deep); background: rgba(242,194,48,.1); }
  .mm-svc.on::after { content: "\2713"; position: absolute; top: 8px; right: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-deep); color: var(--gold); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
  .mm-svc-ic { font-size: 22px; }
  .mm-svc-t { font-weight: 800; font-size: 14.5px; }
  .mm-svc-d { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
  .mm-contact { background: var(--green-deep); color: var(--paper); border-radius: 12px; padding: 12px 16px; margin-top: 8px; }
  .mm-contact small { display: block; color: var(--gold); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .mm-contact strong { font-size: 22px; letter-spacing: .03em; }
  .mm-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
  .mm-actions .btn { flex: 1 1 160px; text-align: center; font-weight: 800; border: none; border-radius: 12px; padding: 14px; }
  .mm-wa { background: #1FA855; color: #fff; }
  .mm-call { background: var(--gold); color: var(--ink); }
  @media (max-width: 760px) { .mm-sheet { grid-template-columns: 1fr !important; } .mm-hero img { min-height: 0; max-height: 52vh; } }

  /* ================= Team dropdown ================= */
  .nav-drop { position: relative; display: flex; align-items: stretch; }
  .nav-drop-btn { font: inherit; font-weight: 600; font-size: 15px; color: var(--paper); opacity: .9; background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
    padding: 30px 0 27px; border-bottom: 3px solid transparent; white-space: nowrap; }
  .nav-drop-btn:hover, .nav-drop.open .nav-drop-btn { color: var(--gold); opacity: 1; }
  .nav-drop.current .nav-drop-btn { color: var(--gold); opacity: 1; border-bottom-color: var(--gold); }
  .nd-chev { transition: transform .2s; }
  .nav-drop.open .nd-chev, .nav-drop:hover .nd-chev { transform: rotate(180deg); }
  .nav-drop-menu { position: absolute; top: 100%; left: -18px; min-width: 230px; background: #fff; border-top: 3px solid var(--gold); border-radius: 0 0 12px 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,.25); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
  .nav-drop:hover .nav-drop-menu, .nav-drop.open .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }
  nav.links .nav-drop-menu a { display: block; color: #1b1f1c !important; padding: 13px 22px !important; border: none !important; font-size: 15px; opacity: 1; }
  nav.links .nav-drop-menu a:hover { background: #f4f2ea; color: var(--green-mid) !important; }
  nav.links .nav-drop-menu a.current { color: var(--green-mid) !important; font-weight: 800; box-shadow: inset 3px 0 0 var(--gold); }
  @media (max-width: 1240px) { .nav-drop-btn { font-size: 14px; } }
  #mobile-menu .mm-group { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding: 14px 0 4px; }
  #mobile-menu a.mm-sub { padding-left: 16px; border-left: 2px solid rgba(242,194,48,.5); }

  /* ================= Squad page (club style) ================= */
  .squad-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 30px; }
  .squad-filters .pill span { font-size: 12px; opacity: .7; margin-left: 2px; }
  .squad-grid .player, .tech-card { position: relative; border-radius: 16px !important; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(0,0,0,.05);
    transition: transform .2s ease, box-shadow .2s ease; cursor: pointer; }
  .squad-grid .player:hover, .tech-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.14); }
  .squad-grid .player .player-photo, .tech-card .player-photo { display: block; aspect-ratio: 4 / 5 !important; height: auto !important; background: linear-gradient(160deg, var(--green-mid), var(--green-deep)); }
  .squad-grid .player .player-photo img, .tech-card .player-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
  .squad-grid .player:hover .player-photo img, .tech-card:hover .player-photo img { transform: scale(1.04); }
  .pl-badge { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    padding: 6px 11px; border-radius: 999px; box-shadow: 0 3px 10px rgba(0,0,0,.2); }
  .squad-grid .player .player-info, .tech-card .player-info { display: block; text-align: center; padding: 14px 12px 16px; }
  .squad-grid .player .name, .tech-card .name { display: block; font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 19px; color: var(--green-deep); line-height: 1.2; }
  .squad-grid .player .pos, .tech-card .pos { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .squad-grid .player .name, :root:not([data-theme="light"]) .tech-card .name { color: var(--gold); } }
  .tech-card { font: inherit; text-align: left; padding: 0; color: inherit; }
  .tech-grid { max-width: 900px; margin: 0 auto; }
  .technical-section { padding-top: 40px; }
  @media (max-width: 560px) {
    .pl-badge { top: 8px; right: 8px; font-size: 9.5px; padding: 4px 8px; letter-spacing: .06em; }
    .squad-grid .player .name, .tech-card .name { font-size: 15px; }
    .squad-grid .player .pos, .tech-card .pos { font-size: 11.5px; }
  }

  .tech-card .pl-badge { white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; }
  .tech-card .initials { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 54px; color: var(--gold); }

  .tech-lead { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); justify-content: center; align-items: stretch; gap: 22px; margin-bottom: 28px; }
  .tech-hand { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--green-deep); }
  .tech-hand span { width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; background: var(--gold); box-shadow: 0 0 0 6px rgba(242,194,48,.2); }
  .tech-hand small { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
  .tech-rest { grid-template-columns: minmax(0, 280px) !important; justify-content: center; max-width: none !important; }
  @media (max-width: 640px) {
    .tech-lead { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
    .tech-hand span { width: 40px; height: 40px; font-size: 20px; box-shadow: 0 0 0 4px rgba(242,194,48,.2); }
    .tech-hand small { display: none; }
    .tech-rest { grid-template-columns: minmax(0, calc(50% - 6px)) !important; }
  }

  /* ================= Technical Team (club style) ================= */
  .tech-filters { margin-bottom: 28px; }
  .t2-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  @media (max-width: 1000px) { .t2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
  .tech-card.t2 { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); padding: 0; }
  .t2-photo { display: block; aspect-ratio: 4 / 5; background: #eeeee8; overflow: hidden; }
  .t2-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; transition: transform .4s ease; }
  .tech-card.t2:hover .t2-photo img { transform: scale(1.04); }
  .t2-role { display: block; background: var(--gold); color: var(--green-deep); text-align: center; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 11px 8px; line-height: 1.3; }
  .t2-name { display: block; text-align: center; font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 20px; color: var(--green-deep); padding: 14px 10px 18px; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .t2-name { color: var(--gold); } }
  @media (max-width: 560px) { .t2-role { font-size: 10.5px; letter-spacing: .06em; padding: 6px; min-height: 40px; display: flex !important; align-items: center; justify-content: center; } .t2-name { font-size: 15.5px; padding: 10px 8px 14px; } }

  /* ================= Gallery seasons ================= */
  .season-grid { display: grid; grid-template-columns: minmax(0, 560px); }
  .season-folder { position: relative; font: inherit; text-align: left; cursor: pointer; background: none; border: none; padding: 16px 0 0; color: var(--paper); }
  .sf-tab { position: absolute; top: 0; left: 0; width: 42%; height: 26px; border-radius: 14px 14px 0 0; background: var(--gold); }
  .sf-body { position: relative; display: flex; align-items: center; gap: 18px; border-radius: 0 16px 16px 16px; padding: 22px 22px;
    background: linear-gradient(140deg, var(--green-mid), var(--green-deep)); border-top: 4px solid var(--gold); box-shadow: 0 14px 32px rgba(0,0,0,.18); transition: transform .2s, box-shadow .2s; }
  .season-folder:hover .sf-body { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0,0,0,.25), 0 0 26px rgba(242,194,48,.2); }
  .sf-crest img { width: 76px; height: 76px; object-fit: contain; display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
  .sf-text { display: flex; flex-direction: column; gap: 4px; flex: 1; }
  .sf-kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
  .sf-title { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: clamp(20px, 3.4vw, 26px); line-height: 1.15; }
  .sf-meta { font-size: 13.5px; opacity: .85; }
  .sf-arrow { font-size: 40px; color: var(--gold); line-height: 1; }
  .md-vs { font-size: 13px; font-weight: 700; color: var(--green-mid); line-height: 1.3; margin-top: -4px; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .md-vs { color: var(--gold); } }
  .md-ha { position: absolute; right: 8px; bottom: 8px; z-index: 2; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
  .md-ha--H { background: var(--gold); color: var(--ink); }
  .md-ha--A { background: rgba(255,255,255,.9); color: var(--green-deep); }

  .md-venue { font-size: 12px; color: var(--muted); line-height: 1.35; margin-top: -2px; }
  .md-album-head { flex-wrap: wrap; }
  .md-venue-line { margin: 4px 0 6px; font-size: 14.5px; color: var(--muted); font-weight: 600; flex-basis: 100%; }

  /* ---------- Fans' Player of the Season vote ---------- */
  .fpos-banner { margin-top: 14px; display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); background: var(--gold); border-radius: 14px; padding: 18px 20px; box-shadow: 0 10px 24px rgba(242,194,48,0.20); transition: transform .15s ease, box-shadow .15s ease; }
  .fpos-banner:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(242,194,48,0.30); }
  .fpos-trophy { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; background: var(--green-deep); display: flex; align-items: center; justify-content: center; font-size: 26px; }
  .fpos-text { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
  .fpos-label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-deep); }
  .fpos-title { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: clamp(20px, 3.8vw, 27px); line-height: 1.12; }
  .fpos-meta { font-size: 13.5px; font-weight: 600; opacity: 0.82; }
  .fpos-cta { flex: 0 0 auto; background: var(--green-deep); color: var(--paper); font-weight: 800; font-size: 14.5px; padding: 12px 18px; border-radius: 999px; white-space: nowrap; }
  @media (max-width: 560px) {
    .fpos-banner { flex-wrap: wrap; padding: 16px; gap: 12px 14px; }
    .fpos-trophy { width: 44px; height: 44px; font-size: 22px; }
    .fpos-cta { width: 100%; text-align: center; }
  }
  .fpos { padding: 30px 0 64px; }
  .fpos-wrap { max-width: 880px; }
  .fpos-note { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
  .fpos-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px 0; }
  .fpos-step { margin-bottom: 26px; }
  .fpos-step-h { display: flex; align-items: center; gap: 10px; font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 22px; line-height: 1.1; margin-bottom: 12px; }
  .fpos-num { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--green-deep); color: var(--gold); font-family: 'Inter', sans-serif; font-size: 15px; display: flex; align-items: center; justify-content: center; }
  .fpos-field { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
  .fpos-input { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); color: var(--fg); }
  .fpos-input:focus { outline: none; border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(23,92,61,0.18); }
  .fpos-hint { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
  .fpos-search { margin-bottom: 4px; }
  .fpos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
  .fpos-group { grid-column: 1 / -1; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 14px 0 0; }
  .fpos-player { position: relative; display: flex; flex-direction: column; padding: 0; text-align: left; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); color: var(--fg); font: inherit; cursor: pointer; transition: border-color .12s ease, box-shadow .12s ease; -webkit-tap-highlight-color: transparent; }
  .fpos-player:hover { border-color: var(--green-mid); }
  .fpos-player[aria-checked="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,194,48,0.55); }
  .fpos-player[hidden], .fpos-group[hidden] { display: none; }
  .fpos-ph { aspect-ratio: 3 / 4; background: var(--green-deep); display: flex; align-items: center; justify-content: center; overflow: hidden; }
  .fpos-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
  .fpos-ph .ini, .fpos-done-ph .ini { font-family: 'Fraunces', serif; font-weight: 800; font-size: 30px; color: var(--gold); }
  .fpos-pn { padding: 8px 9px 10px; }
  .fpos-pn b { display: block; font-size: 13px; line-height: 1.25; }
  .fpos-pn small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
  .fpos-tick { position: absolute; top: 7px; right: 7px; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 900; font-size: 15px; display: none; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
  .fpos-player[aria-checked="true"] .fpos-tick { display: flex; }
  .fpos-empty { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
  .fpos-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .fpos-bar { position: sticky; bottom: 0; z-index: 5; margin: 6px -20px 0; padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); border-radius: 0 0 14px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; box-shadow: 0 -8px 18px rgba(0,0,0,0.06); }
  .fpos-pick { font-size: 14.5px; color: var(--muted); min-width: 0; }
  .fpos-pick b { color: var(--fg); }
  .fpos-bar .btn[disabled] { opacity: 0.45; cursor: not-allowed; }
  .fpos-error { flex: 1 0 100%; order: -1; margin: 0; color: #B42318; font-weight: 600; font-size: 14.5px; }
  .fpos-done { display: flex; gap: 22px; align-items: center; background: var(--green-deep); color: var(--paper); border-top: 3px solid var(--gold); border-radius: 14px; padding: 22px; }
  .fpos-done[hidden] { display: none; }
  .fpos-done-ph { flex: 0 0 120px; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--green-mid); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px var(--gold); }
  .fpos-done-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
  .fpos-done .fpos-label { color: var(--gold); }
  .fpos-done h2 { font-size: clamp(26px, 5vw, 36px); line-height: 1.05; margin: 8px 0; color: var(--paper); }
  .fpos-done p { margin: 0; opacity: 0.9; }
  .fpos-done-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
  .fpos-live { margin-top: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px 14px; }
  .fpos-live[hidden] { display: none; }
  .fpos-live-h { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
  .fpos-live-h h3 { font-size: 24px; line-height: 1.1; }
  .fpos-live-meta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
  .fpos-live-dot { width: 9px; height: 9px; border-radius: 50%; background: #1FA463; animation: fposPulse 1.8s infinite; }
  @keyframes fposPulse { 0% { box-shadow: 0 0 0 0 rgba(31,164,99,0.55); } 70% { box-shadow: 0 0 0 9px rgba(31,164,99,0); } 100% { box-shadow: 0 0 0 0 rgba(31,164,99,0); } }
  .fpos-live.final .fpos-live-dot { background: var(--muted); animation: none; }
  .fpos-live-note { margin: 6px 0 10px; font-size: 13px; color: var(--muted); }
  .fpos-live-list { list-style: none; margin: 0; padding: 0; }
  .fpos-lrow { display: flex; align-items: center; gap: 10px; padding: 9px 6px; border-radius: 10px; }
  .fpos-lrow + .fpos-lrow { border-top: 1px solid var(--line); }
  .fpos-lrow[hidden] { display: none; }
  .fpos-lrow.mine { background: rgba(242,194,48,0.16); }
  .fpos-lrow.bump { animation: fposBump 1.6s ease; }
  @keyframes fposBump { 0% { background: rgba(31,164,99,0.30); } 100% { background: transparent; } }
  .fpos-lrank { flex: 0 0 20px; text-align: center; font-weight: 800; font-size: 14px; color: var(--muted); }
  .fpos-lph { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--green-deep); display: flex; align-items: center; justify-content: center; }
  .fpos-lph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
  .fpos-lph .ini { font-family: 'Fraunces', serif; font-weight: 800; font-size: 15px; color: var(--gold); }
  .fpos-lmain { flex: 1 1 auto; min-width: 0; }
  .fpos-lname { display: block; font-weight: 700; font-size: 14.5px; line-height: 1.3; overflow-wrap: anywhere; }
  .fpos-you { display: inline-block; white-space: nowrap; font-style: normal; font-size: 11px; font-weight: 800; color: var(--ink); background: var(--gold); border-radius: 5px; padding: 1px 6px; margin-left: 4px; vertical-align: 1px; }
  .fpos-lbar { display: block; height: 8px; margin-top: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
  .fpos-lbar i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--gold); transition: width .7s ease; }
  .fpos-lrow.mine .fpos-lbar i { background: var(--green-mid); }
  .fpos-lnum { flex: 0 0 auto; min-width: 42px; text-align: right; line-height: 1.15; }
  .fpos-lnum b { display: block; font-size: 18px; }
  .fpos-lnum small { font-size: 12px; color: var(--muted); }
  .fpos-live-more { margin-top: 10px; font: inherit; font-weight: 700; font-size: 14px; color: var(--green-mid); background: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
  .fpos-live-more[hidden] { display: none; }
  .award-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
  .award-tab { display: flex; align-items: center; gap: 10px; text-align: left; font: inherit; cursor: pointer; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); color: var(--fg); -webkit-tap-highlight-color: transparent; transition: background .15s ease, border-color .15s ease; }
  .award-tab:hover { border-color: var(--green-mid); }
  .award-tab[aria-selected="true"] { background: var(--green-deep); border-color: var(--green-deep); color: var(--paper); box-shadow: 0 8px 18px rgba(14,59,39,0.18); }
  .at-ico { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 19px; }
  .at-txt { min-width: 0; display: flex; flex-direction: column; }
  .at-txt b { font-size: 15px; line-height: 1.2; }
  .at-txt small { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
  .award-tab[aria-selected="true"] .at-txt small { color: var(--gold); }
  .vote-intro { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
  @media (max-width: 560px) {
    .award-tabs { gap: 8px; }
    .award-tab { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 12px; }
    .at-ico { width: 32px; height: 32px; font-size: 16px; }
    .at-txt b { font-size: 14px; }
  }
  .fpos-banner--rookie { background: var(--green-deep); color: var(--paper); box-shadow: 0 10px 24px rgba(14,59,39,0.22); }
  .fpos-banner--rookie:hover { box-shadow: 0 14px 30px rgba(14,59,39,0.32); }
  .fpos-banner--rookie .fpos-trophy { background: var(--gold); }
  .fpos-banner--rookie .fpos-label { color: var(--gold); }
  .fpos-banner--rookie .fpos-cta { background: var(--gold); color: var(--ink); }
  .fpos-grid--few { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  @media (min-width: 561px) { .fpos-grid--few .fpos-pn b { font-size: 14.5px; } }
  .fpos-pn b { overflow-wrap: anywhere; }
  .fpos-other { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 14.5px; color: var(--gold); text-decoration: none; }
  /* on phones the six nominees sit three to a row, so all of them fit on one screen */
  @media (max-width: 560px) {
    .fpos-done { align-items: flex-start; gap: 14px 16px; padding: 18px 16px; }
    .fpos-done-ph { flex: 0 0 84px; width: 84px; }
    .fpos-done-txt { flex: 1 1 auto; min-width: 0; }
    .fpos-done h2 { font-size: 25px; margin: 6px 0; }
    .fpos-done p { font-size: 15px; }
    .fpos-done-cta .btn { padding: 11px 16px; }
    .fpos-card { padding: 18px 14px 0; }
    .fpos-bar { margin: 6px -14px 0; padding-left: 14px; padding-right: 14px; }
    .fpos-grid { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
    .fpos-pn { padding: 7px 7px 9px; }
    .fpos-pn b { font-size: 12.5px; }
  }


  #vp-splash { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #06190f; color: #F6F4EC; overflow: hidden; cursor: pointer;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; transition: opacity .6s ease, transform .6s ease; }
  /* the light that floods the screen when the crest pops */
  .sp-lit { position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, #1f6b43 0%, #0E3B27 48%, #06190f 100%); opacity: 0; }
  .sp-burst { position: absolute; left: 50%; top: 45%; width: 30vmax; height: 30vmax; margin: -15vmax 0 0 -15vmax; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,246,214,.95) 0%, rgba(242,194,48,.75) 22%, rgba(242,194,48,.25) 48%, rgba(242,194,48,0) 70%);
    transform: scale(0); opacity: 0; }
  .sp-rays { position: absolute; left: 50%; top: 45%; width: 220vmax; height: 220vmax; margin: -110vmax 0 0 -110vmax; opacity: 0;
    background: repeating-conic-gradient(from 0deg, rgba(242,194,48,.16) 0deg 6deg, rgba(242,194,48,0) 6deg 18deg);
    -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.6) 25%, transparent 55%); mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.6) 25%, transparent 55%); }
  .sp-lines { position: absolute; inset: 0; opacity: 0; background: repeating-linear-gradient(118deg, transparent 0 46px, rgba(255,255,255,.05) 46px 78px); }
  .sp-stage { position: relative; z-index: 2; width: min(82vw, 60vh, 560px); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
  .sp-ring { position: absolute; inset: 4%; border-radius: 50%; border: 3px solid rgba(242,194,48,.8); opacity: 0; }
  .sp-crest { position: relative; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.15); will-change: transform, filter; image-rendering: auto; }
  .sp-text { position: relative; z-index: 2; text-align: center; margin-top: clamp(10px, 2.5vh, 22px); }
  .sp-name { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: clamp(22px, 5.2vw, 34px); letter-spacing: .02em; opacity: 0; }
  .sp-sub { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #F2C230; margin-top: 6px; opacity: 0; }
  .sp-bar { width: min(56vw, 240px); height: 4px; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; margin: 16px auto 0; opacity: 0; }
  .sp-bar span { display: block; height: 100%; width: 40%; border-radius: 999px; background: linear-gradient(90deg, #F2C230, #fff1b8); animation: spLoad 1.1s ease-in-out infinite; }
  .sp-skip { position: absolute; z-index: 2; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); font-size: 12px; color: rgba(246,244,236,.6); opacity: 0; }

  /* sequence starts once the HD crest is ready */
  #vp-splash.go .sp-crest { animation: spPop 1s cubic-bezier(.18,.9,.22,1.2) forwards, spGlow 2.4s ease-in-out 1.1s infinite; }
  #vp-splash.go .sp-burst { animation: spBurst 1.5s cubic-bezier(.2,.7,.2,1) .45s forwards; }
  #vp-splash.go .sp-lit   { animation: spFade .9s ease .55s forwards; }
  #vp-splash.go .sp-lines { animation: spFade .9s ease .8s forwards, spBreathe 3.5s ease-in-out 1.7s infinite; }
  #vp-splash.go .sp-rays  { animation: spRaysIn 1s ease .6s forwards, spSpin 26s linear .6s infinite; }
  #vp-splash.go .sp-ring  { animation: spRing 1.9s ease-out .9s infinite; }
  #vp-splash.go .sp-ring.r2 { animation-delay: 1.85s; }
  #vp-splash.go .sp-name  { animation: spUp .6s ease .95s forwards; }
  #vp-splash.go .sp-sub   { animation: spUp .6s ease 1.1s forwards; }
  #vp-splash.go .sp-bar   { animation: spUp .5s ease 1.25s forwards; }
  #vp-splash.go .sp-skip  { animation: spUp .5s ease 1.8s forwards; }
  #vp-splash.sp-out { opacity: 0; transform: scale(1.08); pointer-events: none; }
  html.vp-no-splash #vp-splash { display: none !important; }

  @keyframes spPop { 0% { opacity: 0; transform: scale(.15) rotate(-10deg); filter: blur(14px) brightness(1.8); }
                     55% { opacity: 1; transform: scale(1.12) rotate(1.5deg); filter: blur(0) brightness(1.35); }
                     75% { transform: scale(.97); filter: brightness(1.05); }
                     100% { opacity: 1; transform: scale(1); filter: blur(0) brightness(1); } }
  @keyframes spGlow { 0%, 100% { filter: drop-shadow(0 0 10px rgba(242,194,48,.45)); } 50% { filter: drop-shadow(0 0 38px rgba(242,194,48,.95)); } }
  @keyframes spBurst { 0% { transform: scale(0); opacity: 1; } 45% { opacity: .95; } 100% { transform: scale(9); opacity: 0; } }
  @keyframes spFade { to { opacity: 1; } }
  @keyframes spRaysIn { to { opacity: 1; } }
  @keyframes spSpin { to { transform: rotate(360deg); } }
  @keyframes spRing { 0% { opacity: .85; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.55); } }
  @keyframes spUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  @keyframes spLoad { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
  @keyframes spBreathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
  @media (prefers-reduced-motion: reduce) {
    #vp-splash *, #vp-splash.go * { animation: none !important; }
    .sp-crest, .sp-lit, .sp-lines, .sp-name, .sp-sub, .sp-bar, .sp-skip { opacity: 1 !important; transform: none !important; }
    .sp-burst, .sp-ring, .sp-rays { display: none; }
  }

  /* while the HD crest arrives: a soft gold glow gathers in the middle */
  #vp-splash:not(.go) .sp-burst { opacity: .5; transform: scale(.28); animation: spPre 1s ease-in-out infinite alternate; }
  @keyframes spPre { from { opacity: .25; transform: scale(.2); } to { opacity: .6; transform: scale(.34); } }

/* =====================================================================================
   Multi-page site: breadcrumbs, player pages, news articles, former players archive
   ===================================================================================== */
.crumbs { background: var(--green-deep); color: rgba(246, 244, 236, 0.74); font-size: 13px; line-height: 1.4; }
.crumbs ol { list-style: none; margin: 0; padding: 12px 0 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; max-width: 100%; }
.crumbs li + li::before { content: "\203A"; margin-right: 8px; opacity: 0.6; }
.crumbs a { color: var(--gold); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current="page"] { color: rgba(246, 244, 236, 0.92); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs + .page > .page-hero, .crumbs + .page-hero, .crumbs + .page > .page-hero:first-child { padding-top: 26px; }

/* Squad: each card links to the player's page */
.player { position: relative; }
.player .name a.player-link { color: inherit; text-decoration: none; }
.player .name a.player-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.player .name a.player-link:focus-visible { outline: none; }
.player:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.squad-archive { padding-bottom: 56px; }
.squad-archive-link { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: center; text-decoration: none; color: var(--fg);
  background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 12px; padding: 16px 18px; }
.squad-archive-link span:first-child { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 20px; }
.squad-archive-link small { grid-column: 1; color: var(--muted); font-size: 14px; }
.squad-archive-link span[aria-hidden] { grid-column: 2; grid-row: 1 / span 2; font-size: 22px; color: var(--green-mid); }

/* Story cards are links now */
a.story-media { display: block; }
.story-title a { color: inherit; text-decoration: none; }
.story-title a:hover { text-decoration: underline; }
a.story-more { text-decoration: none; }

/* ---------- Player page ---------- */
.pp-hero { background: var(--green-deep); color: var(--paper); border-bottom: 3px solid var(--gold); padding: 22px 0 36px; }
.pp-hero-in { display: grid; grid-template-columns: minmax(180px, 290px) 1fr; gap: 32px; align-items: end; }
.pp-photo { margin: 0; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: var(--green-mid); box-shadow: 0 0 0 3px var(--gold);
  display: flex; align-items: center; justify-content: center; }
.pp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; cursor: zoom-in; }
.pp-photo .ini { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 72px; color: var(--gold); }
.pp-kicker { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.pp-hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.02; color: var(--paper); margin: 0 0 12px; }
.pp-sub { margin: 0 0 4px; font-size: 16px; opacity: 0.9; }
.pp-team { margin: 14px 0 0; font-size: 14px; opacity: 0.72; }
.pp-body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; padding-top: 28px; padding-bottom: 56px; }
.pp-main, .pp-side { display: grid; gap: 20px; align-content: start; }
.pp-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.pp-card h2 { font-size: 22px; line-height: 1.15; margin: 0 0 12px; }
.pp-card p { margin: 0; line-height: 1.65; }
.pp-facts { display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; margin: 0; }
.pp-facts dt { color: var(--muted); font-size: 14px; }
.pp-facts dd { margin: 0; font-weight: 700; }
.pp-list { margin: 0; padding-left: 20px; line-height: 1.65; }
.pp-news { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pp-news a { font-weight: 700; color: var(--green-mid); }
.pp-news small { display: block; color: var(--muted); font-size: 13px; }
.pp-note { margin-top: 10px !important; font-size: 13px; color: var(--muted); }
.pp-vote { background: var(--green-deep); color: var(--paper); border-color: var(--green-deep); }
.pp-vote h2 { color: var(--gold); }
.pp-vote p { margin-bottom: 14px !important; }
.pp-nav { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; }
.pp-nav a { text-decoration: none; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-weight: 700; }
.pp-nav a small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.pp-nav a[rel="next"] { text-align: right; }
.pp-nav .pp-all { display: flex; align-items: center; background: var(--gold); border-color: var(--gold); color: var(--ink); }
@media (max-width: 760px) {
  .pp-hero-in { grid-template-columns: 1fr; gap: 20px; }
  .pp-photo { width: min(240px, 70vw); }
  .pp-body { grid-template-columns: 1fr; }
  .pp-nav { grid-template-columns: 1fr 1fr; }
  .pp-nav .pp-all { grid-column: 1 / -1; grid-row: 1; justify-content: center; }
}

/* ---------- News article ---------- */
.art-head { background: var(--green-deep); color: var(--paper); padding: 22px 0 34px; border-bottom: 3px solid var(--gold); }
.art-wrap { max-width: 800px; }
.art-cat { display: inline-block; margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); border-radius: 6px; padding: 4px 9px; }
.art-head h1 { font-size: clamp(30px, 5.4vw, 50px); line-height: 1.08; color: var(--paper); margin: 0 0 14px; }
.art-dek { font-size: 18px; line-height: 1.55; opacity: 0.9; margin: 0 0 16px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; opacity: 0.8; margin: 0; }
.art-figure { margin: 28px 0 0; }
.art-figure img { width: 100%; height: auto; border-radius: 14px; display: block; background: var(--surface-2); cursor: zoom-in; }
.art-figure.is-poster img { width: auto; max-width: 100%; max-height: 82vh; margin: 0 auto; }
.art-body { padding: 26px 0 8px; font-size: 18px; line-height: 1.75; }
.art-body p { margin: 0 0 18px; }
.art-body .article-kicker { font-family: 'Fraunces', Georgia, serif; font-size: 26px; line-height: 1.2; margin: 30px 0 14px; color: var(--green-mid); }
.art-body .article-h3 { font-size: 20px; margin: 26px 0 10px; }
.art-body .article-list { margin: 0 0 18px; padding-left: 22px; }
.art-body .article-quote { margin: 0 0 20px; padding: 14px 18px; border-left: 5px solid var(--gold); background: var(--surface); border-radius: 0 12px 12px 0;
  font-family: 'Fraunces', Georgia, serif; font-size: 22px; line-height: 1.4; }
.art-body .article-facts { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 0 0 18px; }
.art-body .article-facts .af-main { font-weight: 800; }
.art-body .article-source { font-size: 14px; color: var(--muted); font-style: italic; }
.art-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 0 30px; border-top: 1px solid var(--line); margin-top: 10px; }
.art-share span { font-weight: 800; font-size: 14px; margin-right: 4px; }
.art-share a, .art-share button { font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--fg); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.art-share a:hover, .art-share button:hover { border-color: var(--green-mid); }
.art-related { padding-bottom: 60px; }
.rel-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; }
.rel-box h2, .rel-news h2 { font-size: 20px; margin: 0 0 12px; }
.rel-match { display: grid; gap: 4px; text-decoration: none; color: var(--fg); }
.rel-match strong { font-size: 17px; }
.rel-match span { font-size: 14px; color: var(--muted); }
.rel-comp { margin: 0; }
.rel-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rel-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border: 1.5px solid var(--line); border-radius: 999px;
  text-decoration: none; color: var(--fg); font-weight: 700; font-size: 14px; background: var(--bg); }
.rel-chip img, .rel-chip i { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: var(--green-deep);
  color: var(--gold); font-style: normal; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.rel-chip.rel-all { padding-left: 14px; background: var(--gold); border-color: var(--gold); color: var(--ink); }
.rel-news { margin-top: 30px; }
.rel-news .story-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* ---------- Former players archive ---------- */
.fp-page { padding: 34px 0 60px; }
.fp-empty { max-width: 720px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 14px; padding: 22px; }
.fp-empty h2 { font-size: 24px; margin: 0 0 10px; }
.fp-empty p { margin: 0 0 12px; line-height: 1.65; }
.fp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.fp-card { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; color: var(--fg); }
.fp-card span { color: var(--muted); font-size: 14px; }
.fp-card { grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.fp-card img, .fp-card .fp-ini { grid-row: 1 / span 2; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%;
  background: var(--green-deep); color: var(--gold); font-style: normal; font-weight: 800; display: flex; align-items: center; justify-content: center; }
/* Hall of Fame */
.pp-tagline { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.pp-story p + p { margin-top: 14px; }
.pp-story .pp-closing { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 20px; line-height: 1.35; color: var(--green-mid);
  border-left: 4px solid var(--gold); padding-left: 14px; margin-top: 20px; }
.pp-fame .pp-photo .ini { font-size: 64px; }
.fp-card em { grid-column: 2; font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep, #B8860B); }
.fp-card { grid-template-rows: auto auto auto; }
.fp-card img, .fp-card .fp-ini { grid-row: 1 / span 3; }
/* Footer WhatsApp button and the privacy notice */
footer .foot-wa { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #062b17 !important; font-weight: 800;
  text-decoration: none; border-radius: 999px; padding: 9px 16px; margin-bottom: 6px; }
footer .foot-wa::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #062b17; opacity: 0.6; }
footer .foot-bottom a { color: inherit; text-decoration: underline; }
.legal { max-width: 760px; }
.legal h2 { font-size: 24px; margin: 30px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 18px; margin: 20px 0 6px; }
.legal p { line-height: 1.7; margin: 0 0 12px; }
.legal a { color: var(--green-mid); font-weight: 700; }
/* About: the years each honour was won */
.ch-years { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; color: var(--gold-deep, #B8860B); }
/* Shop: collection and postage */
.shop-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 28px; }
.si-item { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 12px; padding: 16px 18px; }
.si-item h3 { font-size: 17px; margin: 0 0 6px; }
.si-item p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.pd-field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--fg); background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 10px; padding: 11px 12px; resize: vertical; min-height: 72px; }
.pd-field.invalid textarea, .pd-field.invalid select { border-color: #C0392B; }
.pd-post { margin: 4px 0 6px; }
.pd-post[hidden], .pay-opt[hidden] { display: none !important; }
.pd-postage { margin: 2px 0 12px; font-size: 14.5px; font-weight: 700; color: var(--green-mid); }
.dl-opts { margin-bottom: 12px; }
.dn-where { margin: 14px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--fg); background: var(--surface); border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0; padding: 10px 14px; }
/* Shop: Hauna orders are collected */
.pd-switch { margin-left: 4px; font: inherit; font-size: 13.5px; font-weight: 800; color: var(--ink); background: var(--gold); border: 0; border-radius: 999px;
  padding: 6px 12px; cursor: pointer; }
.form-error.is-info { background: #E7F2EA; color: #175C3D; border-color: #175C3D; }
/* League table on the Fixtures page */
.log-sec { padding: 8px 0 48px; }
.log-title { font-size: clamp(24px, 4vw, 32px); margin: 6px 0 4px; }
.log-date { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.log-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.log-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.log-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.log-table th, .log-table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line); }
.log-table thead th { background: var(--green-deep); color: var(--paper); font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; }
.log-table .lt-team { text-align: left; font-weight: 700; white-space: nowrap; }
.log-table .lt-pos { width: 34px; color: var(--muted); font-weight: 700; }
.log-table .lt-pts { font-weight: 800; }
.log-table tbody tr:last-child th, .log-table tbody tr:last-child td { border-bottom: 0; }
.log-table tr.lt-us th, .log-table tr.lt-us td { background: var(--gold); color: var(--ink); }
.log-sub { font-size: 18px; margin: 22px 0 10px; }
.log-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 560px; }
.log-results li { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 12px; font-size: 14.5px; }
.log-results .lr-away { text-align: right; }
.log-results b { font-variant-numeric: tabular-nums; background: var(--green-deep); color: var(--paper); border-radius: 6px; padding: 2px 8px; }
.strip .item a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .log-table { font-size: 14px; }
  .log-table th, .log-table td { padding: 9px 5px; }
  .log-table .lt-fa { display: none; }
}
.log-table thead .lt-pos { color: var(--paper); }
/* Top scorers and results on the Fixtures page */
.sc-wrap { max-width: 620px; }
.sc-table .lt-team a { color: inherit; text-decoration: none; }
.sc-table .lt-team a:hover { text-decoration: underline; }
.sc-bar { display: block; height: 6px; margin-top: 6px; border-radius: 4px; background: var(--line); overflow: hidden; max-width: 260px; }
.sc-bar i { display: block; height: 100%; background: var(--gold); border-radius: 4px; }
.sc-table td.lt-pts { font-size: 18px; }
.res-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 760px; }
.res { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.res--w { border-left-color: #1E8E4E; } .res--d { border-left-color: var(--gold); } .res--l { border-left-color: #C0392B; }
.res--next { border-left-color: var(--green-deep); background: var(--green-deep); color: var(--paper); }
.res-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 6px; }
.res-md { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); }
.res--next .res-md { color: rgba(246,244,236,0.75); }
.res-badge { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 10px; background: var(--line); color: var(--fg); }
.res--w .res-badge { background: #1E8E4E; color: #fff; } .res--d .res-badge { background: var(--gold); color: var(--ink); }
.res--l .res-badge { background: #C0392B; color: #fff; } .res--next .res-badge { background: var(--gold); color: var(--ink); }
.res-score { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; font-size: 15.5px; }
.res-score span:last-child { text-align: right; }
.res-score b { font-variant-numeric: tabular-nums; font-size: 18px; background: var(--green-deep); color: var(--paper); border-radius: 8px; padding: 2px 10px; white-space: nowrap; }
.res--next .res-score b { background: var(--gold); color: var(--ink); font-size: 14px; }
.res-goals, .res-motm { margin: 8px 0 0; font-size: 14px; line-height: 1.5; }
.res-k { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.res a { color: var(--green-mid); font-weight: 700; text-decoration: none; }
.res-motm::before { content: "\2B50\00a0"; }
.sc-table .sc-split { color: var(--muted); font-size: 14px; }
.sc-left { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; color: var(--muted); background: var(--line); border-radius: 999px; padding: 1px 7px; vertical-align: middle; }
.sc-table .lt-team { white-space: normal; }
.sc-table th, .sc-table td { padding: 10px 6px; }
.sc-table thead .sc-split { color: var(--paper); }
@media (max-width: 560px) {
  .sc-table thead th { font-size: 11px; letter-spacing: 0.02em; }
  .sc-table td.lt-pts { font-size: 16px; }
  .sc-left { margin-left: 0; }
}
@media (max-width: 400px) {
  .log-table .lt-team { white-space: normal; }
  .log-table th, .log-table td { padding: 8px 4px; }
}
.sc-table thead .sc-split { font-size: 12.5px; }
@media (max-width: 560px) { .sc-table thead .sc-split { font-size: 11px; } }
/* goals (gold) and assists (green) in one bar */
.sc-bar--ga { display: flex; }
.sc-bar--ga i, .sc-bar--ga b { display: block; height: 100%; }
.sc-bar--ga i { background: var(--gold); border-radius: 4px 0 0 4px; }
.sc-bar--ga b { background: #1E8E4E; border-radius: 0 4px 4px 0; }
.sc-key { margin: -6px 0 12px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.sc-key span { display: inline-block; width: 14px; height: 8px; border-radius: 3px; }
.sc-key .k-g { background: var(--gold); } .sc-key .k-a { background: #1E8E4E; margin-left: 10px; }
/* Fans' Vote: how it works */
.vote-how { margin: 0 0 18px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 12px; padding: 4px 16px; }
.vote-how summary { cursor: pointer; font-weight: 800; padding: 10px 0; list-style-position: inside; }
.vote-how ul { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.55; }
.vote-how a { color: var(--green-mid); font-weight: 700; }
/* Countdown while the new kick-off time isn't confirmed */
.countdown .cd-tbc { display: none; }
.countdown.tbc .countdown-grid { display: none; }
.countdown.tbc .cd-tbc { display: block; position: relative; font-family: 'Fraunces', Georgia, serif; font-weight: 900; font-size: clamp(40px, 9vw, 64px);
  line-height: 1; color: var(--gold); margin: 6px 0 10px; }
.fixture .date .day { white-space: nowrap; }

/* ---------- Shop: studio presentation (dark wall, tube lights, clothes rail) ---------- */
#page-shop .sh-art { height: auto; }
#page-shop .sh-studio { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; border-radius: 18px; background: #0d0e10; box-shadow: 0 22px 48px rgba(0,0,0,.45), 0 0 0 1px rgba(242,194,48,.3); }
#page-shop .lc-media { background: #0e0f11; }
#page-shop .lc-badge { left: auto; right: 14px; border: 1px solid rgba(242,194,48,.6); }
#page-shop .pd-gallery { background: #111214; }
#page-shop .pd-thumb { background: #1c1d21; border-color: #2c2e33; }
#page-shop .pd-thumb span { color: #ececec; }
#page-shop .pd-thumb.on { border-color: var(--gold); }

/* ---------- Membership plans (Join page) ---------- */
.mem-sec { --mem-gold: #9A6F00; --mem-line: #C9971C; padding-bottom: 24px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mem-sec { --mem-gold: #F2C230; --mem-line: rgba(242,194,48,.7); } }
:root[data-theme="dark"] .mem-sec { --mem-gold: #F2C230; --mem-line: rgba(242,194,48,.7); }
#membership, #apply { scroll-margin-top: 136px; }
.mem-head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.mem-head .eyebrow { justify-content: center; }
.mem-head h2 { margin: 12px 0 14px; }
.mem-head p { color: var(--muted); font-size: 16.5px; line-height: 1.55; margin: 0; }
.mem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: stretch; max-width: 1060px; margin: 0 auto; }
.mem-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1.5px solid var(--line); border-radius: 6px; padding: 36px 28px 28px; }
.mem-card--top { border: 2px solid var(--mem-line); }
.mem-card--featured { background: var(--green-deep); color: var(--paper); border: 2px solid var(--gold); box-shadow: 0 24px 48px rgba(0,0,0,.22); }
@media (min-width: 901px) { .mem-card--featured { margin: -14px 0; } }
.mem-flag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--gold); color: var(--ink); font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 7px 16px; border-radius: 4px; white-space: nowrap; }
.mem-card .mem-name { font-family: 'Inter', sans-serif; font-size: 23px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; }
.mem-price { margin-top: 16px; display: flex; align-items: baseline; gap: 2px; color: var(--mem-gold); }
.mem-price strong { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 46px; line-height: 1; }
.mem-price span { font-weight: 800; font-size: 19px; }
.mem-card--featured .mem-price { color: var(--gold); }
.mem-alt { margin: 8px 0 0; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.mem-card--featured .mem-alt { color: rgba(246,244,236,.78); }
.mem-list { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 13px; }
.mem-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; line-height: 1.35; }
.mem-list li::before { content: ""; flex: 0 0 19px; height: 19px; background: var(--mem-gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3.2l2.6 5.5 6 .8-4.4 4.2 1.1 6-5.3-2.9-5.3 2.9 1.1-6L3.4 9.5l6-.8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3.2l2.6 5.5 6 .8-4.4 4.2 1.1 6-5.3-2.9-5.3 2.9 1.1-6L3.4 9.5l6-.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.mem-card--featured .mem-list li::before { background: var(--gold); }
.mem-btn { margin-top: auto; width: 100%; justify-content: center; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: 14px; border-radius: 6px; padding: 15px 18px; }
.mem-card:not(.mem-card--featured) .mem-btn { background: transparent; border: 2px solid var(--mem-line); color: var(--mem-gold); }
.mem-card:not(.mem-card--featured) .mem-btn:hover { background: rgba(242,194,48,.14); }
.mem-note { text-align: center; color: var(--muted); font-size: 13.5px; margin: 34px auto 0; max-width: 560px; }
@media (max-width: 900px) { .mem-grid { grid-template-columns: 1fr; max-width: 470px; gap: 34px; } }
.join-head { margin-bottom: 28px; }
.join-head h2 { margin-top: 12px; }
.field.flash select { animation: memFlash 1.8s ease; }
@keyframes memFlash { 0%, 55% { box-shadow: 0 0 0 3px var(--gold); } 100% { box-shadow: 0 0 0 0 rgba(242,194,48,0); } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Membership plans: pop-up with what each benefit means (Join page) ---------- */
.mem-card { cursor: pointer; }
@media (hover: hover) {
  .mem-card { transition: transform .18s ease, box-shadow .18s ease; }
  .mem-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,.14); }
  .mem-card--featured:hover { box-shadow: 0 30px 56px rgba(0,0,0,.28); }
}
.mem-more { align-self: flex-start; margin: -12px 0 24px; padding: 4px 0; background: none; border: 0; font: inherit; font-size: 14.5px; font-weight: 800;
  color: var(--mem-gold); cursor: pointer; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.mem-card--featured .mem-more { color: var(--gold); }
.mem-more:hover { text-decoration-thickness: 2.5px; }
.mem-more:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 3px; }
.mem-modal { --mem-gold: #9A6F00; --mem-line: #C9971C; max-width: 470px; border-radius: 10px; overscroll-behavior: contain; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mem-modal { --mem-gold: #F2C230; --mem-line: rgba(242,194,48,.7); } }
:root[data-theme="dark"] .mem-modal { --mem-gold: #F2C230; --mem-line: rgba(242,194,48,.7); }
.mem-modal-head { padding: 28px 64px 22px 24px; border-bottom: 1px solid var(--line); }
.mem-modal--gold .mem-modal-head { background: var(--green-deep); color: var(--paper); border-bottom-color: transparent; }
.mem-modal-flag { display: inline-block; margin-bottom: 12px; background: var(--gold); color: var(--ink); font-size: 11.5px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 4px; }
.mem-modal-flag[hidden] { display: none; }
.mem-modal-kicker { margin: 0 0 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mem-modal--gold .mem-modal-kicker { color: rgba(246,244,236,.72); }
.mem-modal-name { margin: 0; font-family: 'Inter', sans-serif; font-size: 26px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; }
.mem-modal .mem-modal-price { margin-top: 12px; }
.mem-modal .mem-modal-price strong { font-size: 40px; }
.mem-modal--gold .mem-modal-price { color: var(--gold); }
.mem-modal-alt { margin: 6px 0 0; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.mem-modal--gold .mem-modal-alt { color: rgba(246,244,236,.78); }
.mem-modal-body { padding-top: 20px; }
.mem-modal-sub { margin: 0 0 4px; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mem-gold); }
.mem-modal-list { list-style: none; margin: 0; padding: 0; }
.mem-modal-list li { display: grid; grid-template-columns: 19px 1fr; column-gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.mem-modal-list li:last-child { border-bottom: 0; }
.mem-modal-list li::before { content: ""; grid-row: 1 / span 2; width: 19px; height: 19px; margin-top: 1px; background: var(--mem-gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3.2l2.6 5.5 6 .8-4.4 4.2 1.1 6-5.3-2.9-5.3 2.9 1.1-6L3.4 9.5l6-.8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3.2l2.6 5.5 6 .8-4.4 4.2 1.1 6-5.3-2.9-5.3 2.9 1.1-6L3.4 9.5l6-.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.mem-modal-list b { font-size: 15.5px; font-weight: 800; line-height: 1.3; }
.mem-modal-list span { grid-column: 2; margin-top: 3px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.mem-modal-join { display: flex; width: 100%; justify-content: center; margin-top: 20px; text-transform: uppercase; letter-spacing: .14em;
  font-weight: 800; font-size: 14px; border-radius: 6px; padding: 15px 18px; }
.mem-modal .modal-back { margin-top: 10px; }
.mem-modal:focus { outline: none; }

/* ---------- Gallery: full match highlights on YouTube ---------- */
.md-folder { position: relative; }
.md-open { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; text-align: left; cursor: pointer; }
.md-open::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.md-open:focus { outline: none; }
.md-open:focus-visible::after { outline: 2px solid var(--gold); outline-offset: 2px; }
.md-yt { position: relative; z-index: 1; display: block; padding: 8px 9px; border-radius: 9px; border: 1px solid rgba(255,0,0,.25);
  background: rgba(255,0,0,.06); color: var(--fg); font-size: 12.5px; font-weight: 800; line-height: 1.4; text-decoration: none; }
.md-yt:hover { background: rgba(255,0,0,.12); border-color: rgba(255,0,0,.45); }
.md-yt:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.md-yt .nw { white-space: nowrap; }
.md-yt .yt-ic { display: inline-block; width: 26px; height: 19px; margin-left: 6px; vertical-align: -5px; }
.md-yt-line { flex-basis: 100%; margin: 0 0 10px; }
.md-yt-line[hidden] { display: none; }
.md-yt-line .md-yt { display: inline-block; padding: 10px 14px 10px 16px; font-size: 15px; border-radius: 10px; }
.md-yt-line .yt-ic { width: 32px; height: 23px; margin-left: 10px; vertical-align: -6px; }

/* ---------- Membership: number, payment and card link after joining (Join page) ---------- */
.js-member { text-align: left; margin: 22px auto 0; max-width: 560px; }
.js-member h4 { display: flex; align-items: center; gap: 10px; margin: 24px 0 6px; font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 800; color: var(--fg); }
.js-member h4 b { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: var(--ink); font-size: 14px; }
.js-member > p { font-size: 15px; line-height: 1.55; }
.js-member .eco-wow { margin-top: 12px; }
.js-member .js-card-btn { display: flex; justify-content: center; width: 100%; box-sizing: border-box; }
.js-member .js-keep { text-align: center; font-size: 14px; }

/* ---------- Membership card page (/card/) ---------- */
.mc-page { padding: 34px 0 70px; }
.mc-wrap { max-width: 640px; }
.mc-head { text-align: center; margin: 0 auto 24px; }
.mc-head .eyebrow { justify-content: center; }
.mc-head h1 { margin: 10px 0 8px; font-size: clamp(30px, 6.4vw, 44px); line-height: 1.08; }
.mc-head p { color: var(--muted); font-size: 17px; line-height: 1.5; margin: 0; }
.mc-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.mc-box h2 { font-size: clamp(22px, 4.8vw, 28px); line-height: 1.2; margin: 12px 0 8px; }
.mc-box p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.mc-box p strong { color: var(--fg); }
.mc-loading { text-align: center; color: var(--muted); font-weight: 600; }
.mc-status { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 5px 12px; }
.mc-status--wait { background: #FCE7A8; color: #6B4A00; }
.mc-status--ok { background: #D8EFDF; color: #175C3D; }
.mc-status--off { background: #F3D9D9; color: #9B2C2C; }
.mc-note { font-size: 14px !important; margin-top: 16px; }
.mc-eco { margin: 18px 0 6px; }
.mc-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.mc-btns .btn { flex: 1 1 180px; justify-content: center; margin-top: 0; border-radius: 10px; padding: 14px 16px; font-size: 15px; }
.mc-btns [hidden] { display: none !important; }
.mc-frame { position: relative; width: min(100%, 360px); aspect-ratio: 4 / 5; margin: 18px auto 0; border-radius: 18px; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #1d3a2b, #0B140F 70%); box-shadow: 0 0 0 4px var(--gold), 0 14px 30px rgba(0,0,0,.18); }
.mc-frame video, .mc-frame .mc-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mc-frame video.mirror { transform: scaleX(-1); }
.mc-frame [hidden] { display: none !important; }
.mc-oval { position: absolute; left: 50%; top: 45%; width: 60%; height: 62%; transform: translate(-50%, -50%); border: 3px dashed rgba(242,194,48,.9);
  border-radius: 50%; box-shadow: 0 0 0 9999px rgba(0,0,0,.22); pointer-events: none; }
.mc-shot:not([hidden]) ~ .mc-oval { display: none; }
.mc-msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: #F6F4EC; font-size: 15px; line-height: 1.4; text-align: center; padding: 20px; }
.mc-msg span { font-size: 42px; line-height: 1; }
.mc-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.mc-flash.go { animation: mcFlash .45s ease-out; }
@keyframes mcFlash { from { opacity: .9; } to { opacity: 0; } }
.mc-alt { font-size: 14px !important; text-align: center; margin-top: 14px; }
.mc-file { color: var(--green-mid); font-weight: 700; text-decoration: underline; cursor: pointer; position: relative; }
.mc-file input { position: absolute; width: 1px; height: 1px; opacity: 0; left: 0; top: 0; }
.mc-err { color: #B42318 !important; font-weight: 600; font-size: 14.5px !important; margin-top: 12px; text-align: center; }
.mc-done { text-align: center; }
.mc-card { --px: 50%; --py: 50%; perspective: 1100px; max-width: 540px; margin: 8px auto 0; touch-action: pan-y; }
.mc-card-in { position: relative; aspect-ratio: 1000 / 630; border-radius: 4% / 6.35%; transform-style: preserve-3d; transition: transform .14s linear;
  box-shadow: 0 26px 50px rgba(0,0,0,.30), 0 6px 14px rgba(0,0,0,.18); }
.mc-card-img { display: block; width: 100%; height: 100%; border-radius: inherit; -webkit-touch-callout: default; }
.mc-card-skel { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: inherit;
  background: linear-gradient(110deg, #0E3B27 30%, #1d5c3d 50%, #0E3B27 70%); background-size: 200% 100%; animation: mcSkel 1.2s linear infinite;
  color: #F2C230; font-weight: 700; }
@keyframes mcSkel { to { background-position: -200% 0; } }
.mc-shine, .mc-holo { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .6s; }
.mc-card.in .mc-shine { opacity: 1; }
.mc-shine { background: radial-gradient(circle at var(--px) var(--py), rgba(255,255,255,.26), rgba(255,255,255,0) 46%); mix-blend-mode: overlay; }
.mc-card--gold .mc-shine { background: radial-gradient(circle at var(--px) var(--py), rgba(255,248,214,.7), rgba(255,248,214,0) 52%); }
.mc-card--platinum .mc-shine { background: radial-gradient(circle at var(--px) var(--py), rgba(255,255,255,.8), rgba(255,255,255,0) 50%); mix-blend-mode: soft-light; }
.mc-card--platinum .mc-holo { background: linear-gradient(115deg, transparent 18%, rgba(255,60,172,.55) 31%, rgba(255,200,40,.55) 39%, rgba(70,255,190,.55) 47%,
  rgba(40,160,255,.55) 55%, rgba(170,80,255,.55) 63%, transparent 77%); background-size: 260% 260%; background-position: var(--px) var(--py); mix-blend-mode: color-dodge; }
.mc-card--platinum.in .mc-holo { opacity: .42; }
.mc-card--platinum .mc-card-in { box-shadow: 0 28px 60px rgba(40,60,90,.40), 0 6px 14px rgba(0,0,0,.16); }
.mc-card--gold .mc-card-in { box-shadow: 0 28px 56px rgba(110,78,0,.35), 0 6px 14px rgba(0,0,0,.16); }
.mc-facts { margin: 20px 0 0; color: var(--muted); font-size: 15px; }
.mc-facts strong { color: var(--fg); }
.mc-done .mc-btns { max-width: 540px; margin-left: auto; margin-right: auto; }
.mc-done .mc-note { max-width: 540px; margin: 14px auto 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
@media (prefers-reduced-motion: reduce) { .mc-card-in { transition: none; } .mc-card-skel { animation: none; } }

/* ---------- Barcode for scanning (card page): black on white, whatever the theme ---------- */
.mc-bc-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; max-width: 540px; margin: 18px auto 0; box-sizing: border-box;
  background: #0B140F; color: #FFFFFF; border: 0; border-radius: 10px; padding: 14px 16px; font-size: 15px; font-weight: 800; }
.mc-bc-btn:hover { background: #1d2a22; }
.mc-bc-ico { width: 20px; height: 20px; flex: none; border-radius: 3px; box-sizing: border-box; border: 2px solid #FFFFFF;
  background: conic-gradient(#FFFFFF 25%, transparent 0 50%, #FFFFFF 0 75%, transparent 0) 0 0 / 8px 8px; }
.mc-bc { position: fixed; inset: 0; z-index: 130; display: none; align-items: center; justify-content: center; background: #FFFFFF; color: #0B0F0C;
  padding: 70px 16px 30px; overflow-y: auto; }
.mc-bc.open { display: flex; }
.mc-bc-in { width: 100%; max-width: 600px; text-align: center; }
.mc-bc-x { position: fixed; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #0B140F; color: #FFFFFF;
  font-size: 28px; line-height: 1; cursor: pointer; }
.mc-bc-club { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #3A4A40; }
.mc-bc-name { margin: 8px 0 4px; font-size: clamp(24px, 6vw, 34px); line-height: 1.15; color: #0B0F0C; }
.mc-bc-meta { margin: 0 0 24px; font-size: 16px; font-weight: 600; color: #3A4A40; }
.mc-bc-bars { display: block; margin: 0 auto; image-rendering: pixelated; }
.mc-bc-code { margin: 16px 0 0; font: 700 22px/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; color: #0B0F0C; }
.mc-bc-lab { display: block; margin: 0 0 4px; font: 800 11.5px/1.3 Inter, system-ui, -apple-system, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #4B5A50; }
.mc-bc-tip { margin: 22px auto 0; max-width: 380px; font-size: 14px; line-height: 1.5; color: #4B5A50; }

/* ---------- Card check page (/v/), opened by scanning a card's QR chip ---------- */
.vc-page { padding: 34px 0 70px; }
.vc-wrap { max-width: 600px; }
.vc-head { text-align: center; margin: 0 auto 22px; }
.vc-head .eyebrow { justify-content: center; }
.vc-head h1 { margin: 10px 0 0; font-size: clamp(28px, 6vw, 40px); }
.vc { background: var(--surface); border: 3px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.vc--ok { border-color: #1F8A4C; }
.vc--wait { border-color: #E0A800; }
.vc--off { border-color: #B42318; }
.vc-status { font-size: clamp(26px, 6.5vw, 34px); font-weight: 900; line-height: 1.1; margin: 0 0 16px; }
.vc--ok .vc-status { color: #16723D; }
.vc--wait .vc-status { color: #8A5A00; }
.vc--off .vc-status { color: #B42318; }
.vc p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.vc-body { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: start; }
.vc-photo { width: 132px; height: 165px; object-fit: cover; border-radius: 12px; background: var(--green-deep); box-shadow: 0 0 0 3px var(--gold); }
.vc-nophoto { display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 13px; text-align: center; }
.vc-name { font-size: clamp(22px, 5.4vw, 28px); font-weight: 800; line-height: 1.15; }
.vc-plan { display: inline-block; margin: 8px 0 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 5px 12px; }
.vc-plan--standard { background: #0E3B27; color: #F2C230; }
.vc-plan--gold { background: linear-gradient(120deg, #C9971C, #F7E08E, #C3921F); color: #0A2618; }
.vc-plan--platinum { background: linear-gradient(120deg, #D5DAE1, #FBFCFD, #BCC4CE); color: #151A21; box-shadow: inset 0 0 0 1px rgba(40,50,64,.25); }
.vc-facts { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 4px 12px; margin: 0; font-size: 15px; }
.vc-facts dt { color: var(--muted); }
.vc-facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.vc-staff { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.vc-staff h2 { font-size: 18px; margin: 0 0 10px; }
.vc-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.vc-btns .btn { margin-top: 0; border-radius: 10px; }
.vc-note { margin: 16px 0 0; font-size: 14px !important; }
@media (max-width: 420px) { .vc-body { grid-template-columns: 1fr; } .vc-photo { width: 150px; height: 188px; } }
/* ---------- Top bar: Awards Night countdown ---------- */
a.tk-item { color: inherit; text-decoration: none; }
.tk-days { color: var(--gold); font-weight: 800; }
a.tk-item:hover .tk-days, a.tk-item:focus-visible .tk-days { text-decoration: underline; text-underline-offset: 3px; }
/* ---------- Join: how you join, then plan, form and payment in a pop-up ---------- */
.jw-sec, .jw-overlay { --jw-green: #175C3D; --jw-gold-ink: #8A6400; --jw-gold-price: #9A6F00; --jw-plat-ink: #4E5968;
  --jw-plat-bg: linear-gradient(120deg, rgba(255,214,240,.35), rgba(196,236,255,.35), rgba(218,255,230,.35)); --jw-link: var(--green-mid); --jw-red: #B42318; --jw-red-bg: rgba(180,35,24,.1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .jw-sec, :root:not([data-theme="light"]) .jw-overlay { --jw-green: #7FD3A5; --jw-gold-ink: #F2C230;
    --jw-gold-price: #F2C230; --jw-plat-ink: #DDE3EA; --jw-plat-bg: rgba(255,255,255,.06); --jw-link: var(--gold); --jw-red: #F4A39A; --jw-red-bg: rgba(244,163,154,.14); }
}
:root[data-theme="dark"] .jw-sec, :root[data-theme="dark"] .jw-overlay { --jw-green: #7FD3A5; --jw-gold-ink: #F2C230;
  --jw-gold-price: #F2C230; --jw-plat-ink: #DDE3EA; --jw-plat-bg: rgba(255,255,255,.06); --jw-link: var(--gold); --jw-red: #F4A39A; --jw-red-bg: rgba(244,163,154,.14); }
.jw-sec { padding: 64px 0 24px; }
.jw-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1100px; margin: 0 auto; }
.jw-role { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; font: inherit; color: var(--fg);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 22px 20px 20px; cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.jw-role:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 16px 34px rgba(11,20,15,.12); }
.jw-role:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.jw-role[hidden] { display: none; }
.jw-ico { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--green-deep); color: var(--gold);
  box-shadow: 0 0 0 5px rgba(242,194,48,.16); margin-bottom: 6px; }
.jw-ico svg { width: 26px; height: 26px; }
.jw-role-name { font-weight: 800; font-size: 19px; letter-spacing: .01em; }
.jw-role-desc { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.jw-role-go { margin-top: auto; padding-top: 12px; font-weight: 800; font-size: 14px; color: var(--jw-link); display: inline-flex; align-items: center; gap: 6px; }
.jw-role-go::after { content: "\203A"; font-size: 20px; line-height: 1; transition: transform .18s ease; }
.jw-role:hover .jw-role-go::after { transform: translateX(3px); }
.jw-also { text-align: center; color: var(--muted); font-size: 14.5px; margin: 26px auto 0; max-width: 640px; line-height: 1.6; }
.jw-also a { color: inherit; font-weight: 700; }
@media (max-width: 1000px) { .jw-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; } }
@media (max-width: 560px) {
  .jw-sec { padding: 44px 0 10px; }
  .jw-roles { grid-template-columns: 1fr; gap: 12px; }
  .jw-role { display: grid; grid-template-columns: 50px 1fr 18px; grid-template-areas: "ico name go" "ico desc go"; column-gap: 14px; row-gap: 2px; padding: 16px 14px; align-items: center; }
  .jw-role--plain { grid-template-areas: "ico name go"; }
  .jw-ico { grid-area: ico; margin: 0; align-self: center; }
  .jw-role-name { grid-area: name; font-size: 18px; }
  .jw-role-desc { grid-area: desc; font-size: 14px; }
  .jw-role-go { grid-area: go; padding: 0; font-size: 0; margin: 0; }
  .jw-role-go::after { font-size: 26px; }
}

/* the pop-up */
html.jw-lock, html.jw-lock body { overflow: hidden; }
.jw-overlay { position: fixed; inset: 0; z-index: 140; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(6,14,10,.74); }
.jw-overlay.open { display: flex; animation: jwFade .2s ease; }
@keyframes jwFade { from { opacity: 0; } to { opacity: 1; } }
.jw-sheet { position: relative; width: 100%; max-width: 640px; max-height: 92vh; display: flex; flex-direction: column; background: var(--bg); color: var(--fg);
  border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); animation: jwUp .26s cubic-bezier(.2,.9,.3,1); }
@keyframes jwUp { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.jw-head { flex: none; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 10px 10px 8px; background: var(--green-deep); color: #F6F4EC; }
.jw-back, .jw-x { font: inherit; border: 0; cursor: pointer; color: #F6F4EC; background: rgba(255,255,255,.08); border-radius: 999px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.jw-back { padding: 0 14px 0 10px; font-weight: 700; font-size: 14.5px; gap: 4px; }
.jw-back::before { content: "\2039"; font-size: 24px; line-height: 1; margin-top: -2px; }
.jw-back[hidden] { visibility: hidden; display: inline-flex; }
.jw-x { width: 40px; font-size: 24px; line-height: 1; }
.jw-back:hover, .jw-x:hover { background: rgba(255,255,255,.16); }
.jw-back:focus-visible, .jw-x:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.jw-where { text-align: center; min-width: 0; }
.jw-count { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.jw-where strong { display: block; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jw-bar { flex: none; height: 4px; background: rgba(242,194,48,.18); }
.jw-bar i { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, #F2C230, #FFE08A); transition: width .3s ease; }
.jw-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 24px 24px 28px; }
.jw-step { padding: 0; margin: 0; }
.jw-step[hidden] { display: none; }
.jw-step h3 { font-size: 25px; line-height: 1.15; margin: 0; outline: none; }
.jw-lead { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 8px 0 18px; }
.jw-step .jw-roles { grid-template-columns: 1fr; gap: 10px; }
.jw-step .jw-role { display: grid; grid-template-columns: 50px 1fr 18px; grid-template-areas: "ico name go" "ico desc go"; column-gap: 14px; row-gap: 2px; padding: 14px; align-items: center; }
.jw-step .jw-role--plain { grid-template-areas: "ico name go"; }
.jw-step .jw-ico { grid-area: ico; margin: 0; align-self: center; }
.jw-step .jw-role-name { grid-area: name; font-size: 17.5px; }
.jw-step .jw-role-desc { grid-area: desc; font-size: 14px; }
.jw-step .jw-role-go { grid-area: go; padding: 0; font-size: 0; }
.jw-step .jw-role-go::after { font-size: 26px; }

/* plans */
.jw-billing { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin: 0 0 16px; }
.jw-billing button { font: inherit; font-weight: 800; font-size: 14px; border: 0; background: transparent; color: var(--fg); padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.jw-billing button.on { background: var(--green-deep); color: var(--gold); }
.jw-billing button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.jw-plans { display: grid; gap: 12px; }
.jw-plan { display: block; position: relative; cursor: pointer; }
.jw-plan input { position: absolute; opacity: 0; pointer-events: none; }
.jw-plan-in { position: relative; display: block; background: var(--surface); border: 2px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.jw-plan:hover .jw-plan-in { border-color: rgba(242,194,48,.75); }
.jw-plan input:focus-visible + .jw-plan-in { outline: 3px solid var(--gold); outline-offset: 2px; }
.jw-plan input:checked + .jw-plan-in { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242,194,48,.22); }
.jw-plan--gold .jw-plan-in { background: linear-gradient(135deg, rgba(242,194,48,.16), rgba(242,194,48,.04)); }
.jw-plan--platinum .jw-plan-in { background: linear-gradient(120deg, rgba(255,214,240,.22), rgba(196,236,255,.22) 50%, rgba(218,255,230,.22)); }
.jw-plan-flag { position: absolute; top: -10px; right: 14px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; }
.jw-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.jw-plan-name { font-weight: 900; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; }
.jw-tick { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; }
.jw-plan input:checked + .jw-plan-in .jw-tick { background: var(--gold); border-color: var(--gold); }
.jw-plan input:checked + .jw-plan-in .jw-tick::after { content: ""; width: 10px; height: 6px; border: solid var(--ink); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px); }
.jw-plan-price { display: flex; align-items: baseline; gap: 2px; margin-top: 6px; }
.jw-plan-price strong { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 32px; line-height: 1.05; }
.jw-plan-price span { font-weight: 800; font-size: 15px; }
.jw-plan--gold .jw-plan-price { color: var(--jw-gold-price); }
.jw-plan-alt { display: block; color: var(--muted); font-size: 13.5px; font-weight: 600; margin-top: 2px; }
.jw-plan-list { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 13.5px; }
.jw-plan-list span::before { content: "\2713"; color: #1F8A4C; font-weight: 900; margin-right: 5px; }
.jw-more { margin: -4px 4px 4px; font-size: 14px; }
.jw-more summary { cursor: pointer; font-weight: 700; color: var(--jw-link); padding: 4px 0; list-style-position: inside; }
.jw-more ul { list-style: none; margin: 8px 0 6px; padding: 0; display: grid; gap: 8px; }
.jw-more li b { display: block; font-size: 14px; }
.jw-more li span { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.jw-go { width: 100%; margin-top: 18px; justify-content: center; font-weight: 800; font-size: 16px; padding: 15px 18px; }
.jw-go:disabled { opacity: .55; cursor: not-allowed; }

/* player */
.jw-fee { display: flex; align-items: center; gap: 18px; background: var(--green-deep); color: #F6F4EC; border-radius: 14px; padding: 18px 20px; border: 2px solid var(--gold); }
.jw-fee strong { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 44px; line-height: 1; color: var(--gold); }
.jw-fee span { font-size: 15px; line-height: 1.4; }
.jw-fee b { display: block; font-size: 17px; }
.jw-points { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.jw-points li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.jw-points li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(31,138,76,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F8A4C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; margin-top: 1px; }
.jw-points li.no::before { background: rgba(180,35,24,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B42318' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/12px no-repeat; }

/* form */
.jw-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 10px 12px; margin: 10px 0 18px; font-size: 14.5px; }
.jw-choice-k { color: var(--muted); font-weight: 600; }
#jwChoice { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.jw-choice-p { color: var(--muted); }
.jw-choice a { margin-left: auto; font-weight: 800; color: inherit; font-size: 14px; }
.jw-step .join-form { max-width: none; }
.jw-step .field[hidden], .jw-step .form-row[hidden] { display: none; }
.form-consent.invalid { color: #B3261E; }
.jw-step .join-submit { width: 100%; justify-content: center; font-size: 16px; padding: 15px 18px; }
/* the date of birth box stays inside the form on iPhones (and nothing in the pop-up can slide sideways) */
.jw-body { overflow-x: hidden; }
.jw-step .field { min-width: 0; }
.jw-step input[type="date"] { display: block; width: 100%; min-width: 0; max-width: 100%; }
.jw-step input[type="date"]::-webkit-date-and-time-value { text-align: left; }
@supports (-webkit-touch-callout: none) {
  .jw-step input[type="date"] { -webkit-appearance: none; appearance: none; min-height: 3.05em; }
}
/* iPhones zoom in on form fields smaller than 16px, so on phones and tablets they are 16px (Join, Donate, Shop, EcoCash) */
@media (max-width: 760px), (pointer: coarse) {
  .field input, .field select, .field textarea, .pd-field input, .pd-field select, .eco-paid input { font-size: 16px; }
}

/* not on the list */
.jw-reject { text-align: center; }
.jr-ico { width: 62px; height: 62px; margin: 4px auto 12px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 900; line-height: 1; color: var(--jw-red); background: var(--jw-red-bg); }
.jw-reject .jw-lead { max-width: 480px; margin: 10px auto 12px; }
.jr-name { font-size: 15px; margin: 0 0 4px; overflow-wrap: anywhere; }
.jw-reject .jw-go { margin-top: 12px; }
.jw-reject .jw-go[hidden] { display: none; }
.jr-help { font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.jr-help a { color: var(--jw-link); font-weight: 700; }

/* done */
.jw-done { text-align: center; }
.jw-done .js-tick { margin: 4px auto 10px; }
.jw-done h3 { margin-bottom: 6px; }
.jw-done .js-lead { color: var(--muted); margin-top: 10px; }
.jw-role-line { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.jw-done .js-member, .jw-done .js-player { text-align: left; margin: 22px auto 0; max-width: 560px; }
.js-player h4 { display: flex; align-items: center; gap: 10px; margin: 24px 0 6px; font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 800; color: var(--fg); }
.js-player h4 b { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 14px; }
.js-player > p { font-size: 15px; line-height: 1.55; }
.jw-nocard { font-size: 14px; color: var(--muted); }
.jw-finish { margin-top: 26px; }
@media (max-width: 640px) {
  .jw-overlay { padding: 0; align-items: flex-end; }
  .jw-sheet { max-width: none; max-height: 96vh; max-height: 96dvh; height: 96vh; height: 96dvh; border-radius: 18px 18px 0 0; }
  .jw-body { padding: 20px 16px 28px; }
  .jw-step h3 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .jw-overlay.open, .jw-sheet { animation: none; } .jw-role, .jw-bar i { transition: none; } }

/* players: the team first (18 Oct 2026) */
.jw-teams { display: grid; gap: 10px; margin: 0 0 18px; }
.jw-team { position: relative; display: flex; flex-direction: column; gap: 3px; text-align: left; font: inherit; color: var(--fg); background: var(--surface);
  border: 1.5px solid var(--line); border-left: 5px solid var(--gold); border-radius: 14px; padding: 15px 44px 15px 16px; cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.jw-team::after { content: "\203A"; position: absolute; right: 16px; top: 50%; transform: translateY(-52%); font-size: 28px; line-height: 1; color: var(--jw-link); }
.jw-team:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 12px 26px rgba(11,20,15,.10); }
.jw-team:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.jw-team-name { font-weight: 800; font-size: 18px; }
.jw-team-desc { color: var(--muted); font-size: 14px; line-height: 1.45; }
.jw-fee span b { margin-bottom: 2px; }

/* players: the form's extra parts */
.jf-block { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 14px 16px; margin: 18px 0; background: var(--surface); }
.jf-block[hidden] { display: none; }
.jf-block-t { font-weight: 800; font-size: 15.5px; margin: 0 0 4px; }
.jf-block-h { margin: 0 0 4px !important; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.jf-block > .field { margin-top: 14px; }
.jf-block .form-row { margin-top: 12px; }
.jf-block .form-consent { margin-top: 14px; }
.jf-label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
.jf-label .req { color: #B3261E; }
.jf-opt { font-weight: 600; color: var(--muted); }
.jf-seg { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.jf-seg label { position: relative; margin: 0; cursor: pointer; }
.jf-seg input { position: absolute; opacity: 0; pointer-events: none; }
.jf-seg span { display: inline-block; font-weight: 800; font-size: 15px; padding: 10px 22px; border-radius: 999px; border: 2px solid var(--line); background: var(--bg); }
.jf-seg input:checked + span { background: var(--green-deep); border-color: var(--green-deep); color: var(--gold); }
.jf-seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.field.invalid .jf-seg span { border-color: #B3261E; }
.jf-group { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 800; color: var(--jw-green); background: rgba(31,138,76,.12); border-radius: 999px; padding: 4px 11px; }
.jf-group[hidden] { display: none; }
.jf-ph-row { display: grid; grid-template-columns: repeat(2, minmax(0, 132px)); gap: 12px; margin-top: 10px; }
.jf-ph { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--surface); border: 2px dashed var(--line); }
.jf-ph.has { border-style: solid; border-color: var(--gold); }
.jf-ph-add { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font: inherit; font-weight: 800;
  font-size: 14px; color: var(--jw-link); background: transparent; border: 0; cursor: pointer; }
.jf-ph-add span { font-size: 30px; line-height: 1; }
.jf-ph-add[hidden], .jf-ph-x[hidden], .jf-ph img[hidden] { display: none; }
.jf-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jf-ph-x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(11,20,15,.72); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.jf-ph-err { color: #B3261E !important; font-weight: 700; }
.jf-ph-err[hidden] { display: none; }

/* the end: a new player's application */
.js-trial #jsTrialWhen p, .js-trial > p { font-size: 15px; line-height: 1.55; }
.js-photos { max-width: 560px; margin: 16px auto 0; font-size: 14.5px; font-weight: 700; color: var(--muted); }
.js-photos.ok { color: #1F8A4C; }
.js-photos.bad { color: #B3261E; }
.js-photos[hidden] { display: none; }
.tr-keep { margin: 18px 0 0; background: var(--surface); border: 1px dashed rgba(23,92,61,.45); border-radius: 14px; padding: 14px 16px; font-size: 14.5px; text-align: left; }
.tr-keep p { margin: 0 0 10px; }
.tr-keep-row { display: flex; gap: 8px; }
.tr-keep-row input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--fg); }
.tr-keep-row .btn { margin: 0; border-radius: 10px; padding: 10px 14px; white-space: nowrap; }
.tr-keep-wa { display: inline-block; margin-top: 10px; font-weight: 700; color: #128C4A; }
.tr-date { display: flex; flex-direction: column; gap: 2px; background: var(--green-deep); color: #F6F4EC; border: 2px solid var(--gold); border-radius: 14px; padding: 14px 18px; margin: 14px 0 10px; text-align: left; }
.tr-date-k { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.tr-date strong { font-family: 'Fraunces', Georgia, serif; font-size: 25px; line-height: 1.15; }
.tr-date span:last-child { font-weight: 700; font-size: 15px; }

/* a new player's own page (/join/?app=...) */
.tr-sec { padding: 28px 0 0; }
.tr-sec[hidden] { display: none; }
.tr-app { max-width: 640px; margin: 0 auto; }
.tr-card { background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.tr-card h2 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(23px, 5vw, 29px); line-height: 1.15; margin: 12px 0 6px; color: var(--fg); }
.tr-card p { margin: 0 0 10px; line-height: 1.55; }
.tr-loading { color: var(--muted); }
.tr-who { color: var(--muted); font-size: 14.5px; font-weight: 600; }
.tr-pill { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 4px 11px; }
.tr-pill--wait { background: #FCE7A8; color: #6B4A00; }
.tr-pill--ok { background: #D8EFDF; color: #175C3D; }
.tr-pill--off { background: #F3D9D9; color: #9B2C2C; }
.tr-num { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; background: linear-gradient(135deg, #17714A, #0E3B27 60%, #062618); color: #F6F4EC;
  border: 2px solid var(--gold); border-radius: 14px; padding: 16px 20px; margin: 14px 0 12px; }
.tr-num span { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.tr-num strong { font-family: 'Fraunces', Georgia, serif; font-size: 40px; line-height: 1.05; letter-spacing: .02em; }
.tr-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0 !important; }
.tr-btns .btn { border-radius: 10px; }
.tr-eco { margin: 14px 0 4px; }
.tr-photos { margin: 16px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 14.5px; }
.tr-photos p { margin: 0 0 10px; }
.tr-photo-st { font-weight: 700; margin: 10px 0 0 !important; }
.tr-photo-st[hidden] { display: none; }
.tr-mine { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--gold);
  border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.tr-mine b { flex-basis: 100%; }
.tr-mine a { font-weight: 700; color: var(--green-mid); text-decoration: none; background: rgba(23,92,61,.08); border-radius: 999px; padding: 6px 12px; }
.tr-page .jw-sec { padding-top: 40px; }

/* ---------- EcoCash: the website sees the payment ---------- */
.eco-from { margin: -2px 16px 12px; font-size: 13.5px; color: #0a5ca8; line-height: 1.45; }
.eco-wait { display: flex; gap: 12px; align-items: center; border-top: 1px solid #d9e6f4; padding: 14px 16px; background: #fff; color: #0B140F; }
.eco-wait b { display: block; font-size: 15.5px; }
.eco-wait .t { display: block; font-size: 13.5px; color: #4B5A50; line-height: 1.45; margin-top: 2px; }
.eco-spin { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 3px solid #cfe0f3; border-top-color: #0a5ca8; animation: ecoSpin .9s linear infinite; }
@keyframes ecoSpin { to { transform: rotate(360deg); } }
.eco-late { padding: 0 16px 14px; background: #fff; font-size: 13.5px; color: #4B5A50; line-height: 1.45; }
.eco-late[hidden] { display: none; }
.eco-late a { color: #1b7a43; font-weight: 700; }
.eco-got { text-align: center; padding: 22px 16px 24px; background: linear-gradient(160deg, #0E3B27, #16553a); color: #F6F4EC; }
.eco-got .tick { width: 54px; height: 54px; margin: 0 auto 8px; border-radius: 50%; background: #1FA855; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 900; }
.eco-got .big { font-family: 'Fraunces', Georgia, serif; font-size: 25px; font-weight: 800; color: #F2C230; }
.eco-got p { margin: 6px 0 0; opacity: .92; }
.eco-code { padding: 0 16px 14px; background: #fff; color: #0B140F; font-size: 14px; }
.eco-code summary { cursor: pointer; font-weight: 700; color: #0a5ca8; padding: 4px 0; }
.eco-code p { margin: 6px 0 8px; color: #4B5A50; font-size: 13.5px; }
.eco-code-row { display: flex; gap: 8px; }
.eco-code-row input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 10px 12px; border: 1.5px solid #cfdcec; border-radius: 10px; text-transform: uppercase; color: #0B140F; background: #fff; }
.eco-code-row button { font: inherit; font-weight: 800; padding: 10px 16px; border: none; border-radius: 10px; background: #0a5ca8; color: #fff; cursor: pointer; }
.eco-code-row button:disabled { opacity: .6; }
.eco-code-msg { margin-top: 6px; font-size: 13.5px; color: #175C3D; font-weight: 600; }
.eco-code-msg:empty { display: none; }
.js-card-btn.jw-now { animation: jwPulse 1.6s ease-out 3; }
@keyframes jwPulse { 0% { box-shadow: 0 0 0 0 rgba(242,194,48,.75); } 100% { box-shadow: 0 0 0 16px rgba(242,194,48,0); } }
@media (prefers-reduced-motion: reduce) { .eco-spin { animation-duration: 3s; } .js-card-btn.jw-now { animation: none; } }

/* ---------- Awards Night tickets ---------- */
.fpos-banner--tix { background: var(--green-deep); color: var(--paper); box-shadow: 0 10px 24px rgba(14,59,39,0.22); }
.fpos-banner--tix:hover { box-shadow: 0 14px 30px rgba(14,59,39,0.32); }
.fpos-banner--tix .fpos-trophy { background: var(--gold); }
.fpos-banner--tix .fpos-label { color: var(--gold); }
.fpos-banner--tix .fpos-cta { background: var(--gold); color: var(--ink); }

.tx-hero { position: relative; overflow: hidden; color: var(--paper); padding: 0;
  background: radial-gradient(120% 90% at 10% 0%, rgba(255,255,255,.10), rgba(255,255,255,0) 55%), linear-gradient(160deg, #13603D 0%, #0E3B27 48%, #062618 100%); }
.tx-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09;
  background: repeating-linear-gradient(115deg, transparent 0 46px, #F2C230 46px 64px, transparent 64px 150px); }
.tx-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 36px; align-items: center; padding-top: 44px; padding-bottom: 52px; }
.tx-hero .eyebrow { color: var(--gold); }
.tx-hero h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 900; font-size: clamp(40px, 8vw, 72px); line-height: .98; margin: 12px 0 14px; color: #FFFFFF; }
.tx-hero h1 span { color: var(--gold); display: block; }
.tx-lead { font-size: 17px; line-height: 1.55; margin: 0 0 20px; color: rgba(246,244,236,.9); max-width: 540px; }
.tx-facts { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 540px; }
.tx-facts li { background: rgba(255,255,255,.07); border: 1px solid rgba(242,194,48,.28); border-radius: 12px; padding: 10px 14px; }
.tx-facts span { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tx-facts b { display: block; font-size: 16px; line-height: 1.3; margin-top: 2px; overflow-wrap: anywhere; }
.tx-sample { position: relative; max-width: 360px; margin: 0 auto; aspect-ratio: 720 / 1280; border-radius: 26px; transform: rotate(3deg);
  filter: drop-shadow(0 26px 40px rgba(0,0,0,.42)); opacity: 0; transition: opacity .6s ease, transform .6s ease; }
.tx-sample.in { opacity: 1; }
.tx-sample-img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) {
  .tx-hero-in { grid-template-columns: 1fr; gap: 26px; padding-top: 30px; padding-bottom: 38px; }
  .tx-sample { max-width: 240px; transform: rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) { .tx-sample { transition: none; } }

.tx-sec { padding: 34px 0 20px; }
.tx-wrap { max-width: 760px; }
.tx-form, .tx-box { background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.tx-form[hidden], .tx-app[hidden], #tkMine[hidden] { display: none; }
.tx-h { font-family: 'Fraunces', Georgia, serif; font-size: clamp(24px, 5vw, 30px); line-height: 1.15; margin: 0 0 18px; }
.tx-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.tx-num { width: 34px; height: 34px; border-radius: 50%; background: var(--green-deep); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 900; }
.tx-lab { font-weight: 800; font-size: 16px; margin: 4px 0 8px; }
.tx-sub { margin: -2px 0 12px; font-size: 14px; color: var(--muted); }
.tx-qty { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.tx-qty-in { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.tx-qty-in button { width: 50px; font: inherit; font-size: 26px; font-weight: 700; line-height: 1; border: 0; background: var(--surface-2); color: var(--fg); cursor: pointer; }
.tx-qty-in button:disabled { opacity: .35; cursor: default; }
.tx-qty-in input { width: 64px; text-align: center; font: inherit; font-size: 22px; font-weight: 800; border: 0; background: var(--surface); color: var(--fg); padding: 10px 0; -moz-appearance: textfield; }
.tx-qty-in input::-webkit-outer-spin-button, .tx-qty-in input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tx-total { display: flex; flex-direction: column; line-height: 1.2; }
.tx-total span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.tx-total b { font-size: 26px; font-weight: 900; }
.tx-names { margin-top: 18px; }
.tx-nm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
@media (max-width: 560px) { .tx-nm { grid-template-columns: 1fr; } }
.tx-pay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 480px) { .tx-pay { grid-template-columns: 1fr; } }
.tx-pay-opt { position: relative; display: block; cursor: pointer; }
.tx-pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.tx-pay-in { display: flex; flex-direction: column; gap: 3px; height: 100%; border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px 14px 46px; position: relative; transition: border-color .15s, background .15s; }
.tx-pay-in::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted); box-sizing: border-box; }
.tx-pay-in b { font-size: 17px; }
.tx-pay-in small { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.tx-pay-opt input:checked + .tx-pay-in { border-color: var(--green-mid); background: rgba(23,92,61,.07); }
.tx-pay-opt input:checked + .tx-pay-in::before { border: 6px solid var(--green-mid); }
.tx-pay-opt input:focus-visible + .tx-pay-in { outline: 2px solid var(--gold); outline-offset: 2px; }
.tx-err { margin: 6px 0 0; padding: 10px 14px; border-radius: 10px; background: #F3D9D9; color: #8E1F1F; font-weight: 700; font-size: 14.5px; }
.tx-err[hidden] { display: none; }
.tx-go { width: 100%; justify-content: center; margin-top: 18px; font-size: 17px; padding: 16px 20px; border-radius: 12px; }
.tx-go:disabled { opacity: .7; cursor: default; }
.tx-fine { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }

.tx-mine { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--gold);
  border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; font-size: 15px; }
.tx-mine b { flex-basis: 100%; }
.tx-mine a { font-weight: 700; color: var(--green-mid); text-decoration: none; background: rgba(23,92,61,.08); border-radius: 999px; padding: 6px 12px; }

.tx-box h2 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(23px, 5vw, 29px); line-height: 1.15; margin: 12px 0 8px; }
.tx-box p { margin: 0 0 10px; }
.tx-loading { color: var(--muted); }
.tx-ord { font-size: 15.5px; }
.tx-steps { margin: 10px 0 14px; padding-left: 22px; line-height: 1.55; }
.tx-steps li { margin: 4px 0; }
.tx-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.tx-btns .btn { border-radius: 10px; }
.tx-small { font-size: 14px; color: var(--muted); margin-top: 14px !important; }
.tx-linkbtn { font: inherit; font-weight: 700; color: var(--green-mid); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.tx-eco { margin: 16px 0 6px; }
.tx-keep { margin: 16px 0 0; background: var(--surface); border: 1px dashed rgba(23,92,61,.45); border-radius: 14px; padding: 14px 16px; font-size: 14.5px; }
.tx-keep p { margin: 0 0 10px; }
.tx-keep-row { display: flex; gap: 8px; }
.tx-keep-row input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--fg); }
.tx-keep-row .btn { margin: 0; border-radius: 10px; padding: 10px 14px; white-space: nowrap; }
.tx-keep-wa { display: inline-block; margin-top: 10px; font-weight: 700; color: #128C4A; }

.tx-done-head { text-align: center; }
.tx-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; margin: 22px 0 6px; }
.tx-tk { text-align: center; }
.tx-tk-pic { position: relative; max-width: 380px; margin: 0 auto; aspect-ratio: 720 / 1280; filter: drop-shadow(0 18px 30px rgba(0,0,0,.28)); }
.tx-tk-pic img { display: block; width: 100%; height: auto; }
.tx-tk.in .tx-tk-pic { animation: txIn .55s ease both; }
@keyframes txIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tx-tk.in .tx-tk-pic { animation: none; } }
.tx-skel { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 26px; color: var(--muted); font-weight: 700;
  background: linear-gradient(180deg, #0E3B27 0 59%, #F6F1DE 59% 100%); }
.tx-skel { color: #F2C230; }
.tx-tk-who { margin: 14px 0 0; font-size: 15.5px; }
.tx-used { color: #B42318; font-weight: 800; }
.tx-tk-btns { display: grid; gap: 10px; max-width: 380px; margin: 12px auto 0; }
.tx-tk-btns .mc-bc-btn { margin: 0; max-width: none; }
.tx-tk-btns .btn-gold { justify-content: center; border-radius: 10px; }
.tx-note { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

.tx-how { padding: 18px 0 64px; }
.tx-how h2 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(23px, 5vw, 30px); margin: 0 0 16px; color: var(--fg); }
.tx-h, .tx-box h2 { color: var(--fg); }
.tx-how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: tx; }
@media (max-width: 760px) { .tx-how-steps { grid-template-columns: 1fr; } }
.tx-how-steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 16px 60px; counter-increment: tx; line-height: 1.5; }
.tx-how-steps li::before { content: counter(tx); position: absolute; left: 16px; top: 15px; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-weight: 900; }
.tx-how-steps b { display: block; margin-bottom: 2px; }
.tx-faq { margin-top: 18px; }
.tx-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 0 0 10px; }
.tx-faq summary { font-weight: 800; cursor: pointer; }
.tx-faq p { margin: 8px 0 2px; color: var(--muted); line-height: 1.55; }

.vc-tk { margin-top: 2px; }
.vc-admit { font-size: 19px; padding: 16px 24px; border-radius: 12px; }

/* dress code, with the club shop */
.tx-dress { display: flex; gap: 14px; align-items: flex-start; margin: 16px 0 0; background: #0B140F; color: #F6F4EC; border: 1px solid rgba(242,194,48,.38);
  border-radius: 16px; padding: 18px 18px 20px; box-shadow: 0 10px 26px rgba(0,0,0,.12); }
.tx-dress-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 24px; line-height: 1; }
.tx-dress-in { min-width: 0; }
.tx-dress p { margin: 0 0 8px; line-height: 1.5; }
.tx-dress .tx-dress-h { margin: 2px 0 6px; font-weight: 900; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tx-dress b { color: #FFFFFF; }
.tx-dress .tx-dress-tip { font-size: 14.5px; color: rgba(246,244,236,.8); }
.tx-dress .btn { margin-top: 6px; border-radius: 10px; }
.tx-done .tx-dress { text-align: left; }

/* after ticket sales end (20:00 on 22 December): nothing to buy, only the tickets people already have */
html.tix-over [data-tix-sale] { display: none !important; }
.tx-ended .tx-hero .btn, .tx-ended #txSample, .tx-ended .tx-how, .tx-ended .tx-fact-price { display: none !important; }
.tx-ended .tx-hero-in { grid-template-columns: minmax(0, 1fr); }
.tx-mine--in { background: none; border: 0; padding: 0; margin: 6px 0 4px; }
.tx-facts .tx-fact-dress { grid-column: 1 / -1; }
.tx-fact-dress a { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.tx-facts .tx-fact-dress a span { display: inline; font-size: inherit; font-weight: inherit; letter-spacing: normal; text-transform: none; color: inherit; }

/* a guest of the club opening their free tickets: nothing to buy on the page */
.tx-guest-page .tx-hero .btn, .tx-guest-page #txSample, .tx-guest-page .tx-how, .tx-guest-page .tx-fact-price { display: none !important; }
.tx-guest-page .tx-hero-in { grid-template-columns: minmax(0, 1fr); }
.tx-guest .tx-done-head .mc-status { background: var(--gold); color: #0E3B27; }
.tx-role-usher .tx-done-head .mc-status { background: #1E40AF; color: #fff; }
.tx-role-security .tx-done-head .mc-status { background: #9B2C2C; color: #fff; }
/* when and where, on the tickets page of an order (22 Oct 2026) */
.tx-when { margin: 6px 0 4px; font-size: 15.5px; line-height: 1.5; color: var(--fg); }
.tx-when b { font-weight: 800; }
/* the venue has a row of its own; with no price (a free ticket's page, after sales end) the date has one too */
.tx-facts .tx-fact-venue { grid-column: 1 / -1; }
.tx-guest-page .tx-facts li:first-child, .tx-ended .tx-facts li:first-child { grid-column: 1 / -1; }

/* 18 Oct 2026: the tickets page without the sample ticket */
.tx-hero-in.tx-hero-solo { grid-template-columns: minmax(0, 1fr); }
.tx-hero-solo .tx-hero-text { max-width: 760px; }

/* 18 Oct 2026: Donate: Events (Awards Night 2026), and cash */
.dn-tabs { display: flex; gap: 4px; background: var(--line); padding: 4px; border-radius: 12px; margin: 0 0 12px; }
.dn-tab { flex: 1; font: inherit; font-weight: 800; font-size: 15px; padding: 10px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--fg); cursor: pointer; }
.dn-tab.on { background: var(--surface); color: var(--green-deep); box-shadow: 0 1px 4px rgba(0,0,0,.14); }
.causes[hidden], .dn-events[hidden] { display: none !important; }
.dn-events { margin-bottom: 18px; }
.cause.dn-ev { padding: 0; overflow: hidden; gap: 0; }
.dn-ev-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; background: #0b0b0f; }
.dn-ev-in { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.dn-ev-when { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green-mid); }
.cause.dn-ev:has(input:checked)::after { top: 12px; right: 12px; box-shadow: 0 0 0 3px rgba(255,255,255,.85); }
.dn-ev-note { font-size: 14px; color: var(--muted); margin: 10px 2px 0; }
.dn-ev-note a { font-weight: 700; }
.po-badge--cash { background: #175C3D; color: #fff; }
.dn-pay--cash { border-color: #175C3D; background: rgba(23,92,61,.06); }
.dn-pay--cash p { margin: 0 0 4px; font-size: 14px; line-height: 1.6; }

/* 21 Oct 2026: Shop: your own print, and half now, half on collection */
.pd-print { margin-top: 20px; }
.pd-print label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.pd-print label span { font-weight: 400; color: var(--muted); }
.pd-print textarea { display: block; width: 100%; font: inherit; font-size: 15px; line-height: 1.45; color: var(--fg); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; resize: vertical; min-height: 68px; }
.pd-print textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.pd-hint { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.po-badge--dep { background: var(--gold); color: var(--ink); }
.dn-print { margin: -6px 0 14px; font-size: 14px; color: var(--fg); white-space: pre-line; overflow-wrap: anywhere; }
.dn-rest { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--fg); }
@media (max-width: 760px), (pointer: coarse) {
  .pd-print textarea, .pd-field textarea { font-size: 16px; }
}
