/* Athlete page only: hero, parent request modal, support cards, and athlete preview panels. */
body.athlete-page {
      background:
        radial-gradient(900px 520px at 72% 14%, rgba(0, 90, 255, .18), transparent 66%),
        linear-gradient(rgba(0, 8, 235, .035) 1px, transparent 1px) 0 0 / 100% 44px,
        linear-gradient(90deg, rgba(0, 8, 235, .035) 1px, transparent 1px) 0 0 / 44px 100%,
        #05070a;
    }

    .athlete-hero {
      position: relative;
      padding: 90px 0 80px;
      display: grid;
      overflow: hidden;
      background:
        url("../images/hero-gym.png") center center / cover no-repeat,
        radial-gradient(1000px 600px at 82% -15%, rgba(0,8,235,.42), transparent 60%),
        radial-gradient(820px 520px at -10% 115%, rgba(0,8,235,.22), transparent 55%),
        var(--bg);
    }

    .athlete-hero::before {
      content: none;
    }

    .athlete-hero::after {
      content: none;
    }

    .athlete-hero .wrap {
      position: relative;
      z-index: 2;
    }

    .athlete-hero-grid {
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 50px;
      align-items: center;
    }

    .hero-copy {
      max-width: 700px;
    }

    .athlete-video {
      max-width: 420px;
      width: 100%;
      aspect-ratio: 4/5;
      justify-self: end;
    }

    .program-kicker {
      display: block;
      margin-bottom: 12px;
      color: #5566ff;
      font-family: 'Anton', sans-serif;
      font-size: clamp(16px, 2vw, 22px);
      line-height: 1;
      letter-spacing: .5px;
      text-transform: uppercase;
      text-shadow: 0 0 14px rgba(0,8,235,.55);
    }

    .athlete-hero h1 {
      max-width: 720px;
      font-size: clamp(46px, 7vw, 88px);
      line-height: .95;
      letter-spacing: .5px;
      color: #f7f7f7;
      text-shadow: 0 12px 28px rgba(0,0,0,.75);
    }

    .athlete-hero h1 span {
      display: block;
      margin-top: 10px;
      color: #3243d8;
      text-shadow: 0 0 8px rgba(0,8,235,.9), 0 0 34px rgba(0,8,235,.7);
    }

    .hero-rule {
      width: 190px;
      height: 4px;
      margin: 22px 0 18px;
      background: var(--accent-2);
      box-shadow: 0 0 24px rgba(0,8,235,.6);
    }

    .athlete-hero p.lead {
      max-width: 560px;
      color: var(--muted);
      font-size: 18px;
      margin: 22px 0 32px;
    }

    .athlete-hero p.lead strong {
      display: block;
      margin-top: 6px;
      color: var(--accent-2);
      font-weight: 800;
      text-shadow: 0 0 14px rgba(0,8,235,.55);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 30px;
    }

    .athlete-hero .btn {
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      letter-spacing: .6px;
      text-transform: uppercase;
    }

    .athlete-hero .btn-ghost {
      border-color: var(--line);
      background: transparent;
      color: var(--text);
    }

    .athlete-hero .btn-ghost:hover {
      border-color: var(--accent-2);
      color: var(--text);
      box-shadow: 0 0 24px rgba(0,8,235,.35);
    }

    .profile-modal {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 22px;
      background: rgba(0,0,0,.72);
      backdrop-filter: blur(10px);
    }

    .profile-modal.open {
      display: flex;
    }

    .profile-dialog {
      width: min(580px, 100%);
      overflow: visible;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 22px;
      box-shadow: var(--shadow);
    }

    .profile-dialog-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 16px;
    }

    .profile-dialog h2 {
      font-size: 26px;
      margin-bottom: 6px;
    }

    .profile-dialog p {
      color: var(--muted);
      font-size: 14px;
    }

    .modal-close {
      width: 38px;
      height: 38px;
      flex: 0 0 auto;
      display: grid;
      place-content: center;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: transparent;
      color: var(--text);
      cursor: pointer;
      font-size: 24px;
      line-height: 1;
    }

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

    .profile-form .field-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .profile-form .btn {
      justify-self: center;
      margin-top: 4px;
    }

    .profile-form select {
      width: 100%;
      background: var(--bg);
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      padding: 12px 14px;
      color: var(--text);
      font-family: inherit;
      font-size: 15px;
    }

    .profile-form select:focus {
      outline: none;
      border-color: var(--accent);
    }

    .athlete-section {
      padding: 34px 0 78px;
      background: transparent;
    }

    .support-section {
      padding: 72px 0 70px;
      background: var(--bg-2);
    }

    .support-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 14px;
    }

    .support-card {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 24px 20px;
      transition: border-color .2s, transform .2s;
    }

    .support-card:hover {
      border-color: var(--accent);
      transform: translateY(-3px);
      box-shadow: 0 12px 40px rgba(0,8,235,.22);
    }

    .support-card .ic {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: var(--accent-dim);
      color: var(--accent-2);
      display: grid;
      place-content: center;
      font-size: 20px;
      margin-bottom: 16px;
      box-shadow: inset 0 0 0 1px rgba(0,8,235,.4), 0 0 18px rgba(0,8,235,.25);
    }

    .support-card h3 {
      font-size: 19px;
      margin-bottom: 8px;
    }

    .support-card p {
      color: var(--muted);
      font-size: 14px;
    }

    .center-title {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 22px;
      margin-bottom: 44px;
      text-align: center;
    }

    .center-title::before,
    .center-title::after {
      content: "";
      width: min(180px, 22vw);
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--accent-2));
    }

    .center-title::after {
      background: linear-gradient(90deg, var(--accent-2), transparent);
    }

    .center-title h2 {
      font-size: clamp(30px, 4vw, 48px);
      letter-spacing: 4px;
      white-space: nowrap;
    }

    .center-title h2 span {
      color: var(--accent-2);
    }

    .athlete-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(340px, 1fr));
      gap: 18px;
      justify-content: center;
    }

    .athlete-card {
      position: relative;
      min-height: 270px;
      display: grid;
      grid-template-columns: 190px minmax(0, 1fr);
      gap: 18px;
      overflow: hidden;
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background:
        linear-gradient(135deg, rgba(255,255,255,.035), rgba(0, 29, 80, .08)),
        rgba(5, 10, 14, .86);
      box-shadow: inset 0 0 34px rgba(0,8,235,.08);
    }

    .athlete-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(110deg, rgba(0,8,235,.14), transparent 36%);
      opacity: .8;
      pointer-events: none;
    }

    .athlete-mark {
      position: relative;
      align-self: stretch;
      width: 190px;
      min-height: 230px;
      border: 1px solid rgba(0,8,235,.28);
      border-radius: var(--radius-sm);
      background:
        radial-gradient(circle at 50% 24%, rgba(244,244,247,.92) 0 14%, transparent 15%),
        linear-gradient(180deg, transparent 30%, rgba(0,8,235,.42) 30% 70%, var(--surface) 70%),
        var(--bg-2);
      box-shadow: 0 12px 26px rgba(0,0,0,.4);
    }

    .athlete-mark.has-athlete-photo {
      overflow: hidden;
      background: #05070d;
      border-color: rgba(58, 72, 255, .48);
    }

    .athlete-mark.has-athlete-photo::before,
    .athlete-mark.has-athlete-photo::after {
      display: none;
    }

    .athlete-mark::before,
    .athlete-mark::after {
      content: "";
      position: absolute;
      background: var(--surface);
    }

    .athlete-mark::before {
      left: 22px;
      right: 22px;
      top: 70px;
      height: 80px;
      border-radius: 28px 28px 0 0;
      box-shadow: inset 0 -26px 0 rgba(0, 68, 190, .6);
    }

    .athlete-mark::after {
      left: 16px;
      right: 16px;
      bottom: 36px;
      height: 28px;
      border-radius: 40px 40px 8px 8px;
    }

    .athlete-mark .selfie-note {
      position: absolute;
      left: 8px;
      right: 8px;
      bottom: 38px;
      z-index: 3;
      color: var(--muted);
      font-size: 9px;
      line-height: 1.1;
      letter-spacing: 1px;
      text-align: center;
      text-transform: uppercase;
    }

    .athlete-mark img {
      display: block;
      position: relative;
      z-index: 2;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      border-radius: inherit;
    }

    .athlete-info {
      position: relative;
      z-index: 1;
      align-self: center;
      min-width: 0;
    }

    .athlete-info h3 {
      margin-bottom: 2px;
      color: var(--accent-2);
      font-size: 20px;
      line-height: 1.05;
    }

    .athlete-meta {
      color: var(--text);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    .athlete-meta span,
    .profile-field span {
      color: var(--accent-2);
    }

    .athlete-divider {
      width: 34px;
      height: 1px;
      margin: 12px 0;
      background: var(--accent-2);
    }

    .athlete-info p {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
    }

    .profile-fields {
      display: grid;
      gap: 7px;
    }

    .profile-field {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.35;
    }

    .profile-field span {
      display: block;
      margin-bottom: 1px;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    .profile-link {
      display: inline-flex;
      align-items: center;
      margin-top: 16px;
      color: var(--accent-2);
      font-family: 'Anton', sans-serif;
      font-size: 16px;
      letter-spacing: 1px;
      text-transform: uppercase;
      transition: color .2s ease, transform .2s ease, text-shadow .2s ease;
    }

    .profile-link:hover {
      color: var(--text);
      transform: translateX(5px);
      text-shadow: 0 0 16px rgba(0,8,235,.65);
    }

    .athlete-actions {
      display: flex;
      justify-content: center;
      margin-top: 26px;
    }

    .athlete-actions .btn {
      min-width: 270px;
      border-color: var(--accent-2);
      color: var(--accent-2);
      font-family: 'Anton', sans-serif;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      box-shadow: none;
    }

    .request-success {
      display: grid;
      gap: 8px;
      padding: 18px;
      border: 1px solid rgba(39,232,137,.35);
      border-radius: 8px;
      background: rgba(39,232,137,.08);
      text-align: center;
    }

    .request-success strong {
      color: #fff;
      font-size: 20px;
    }

    .request-success span {
      color: var(--muted);
      line-height: 1.5;
    }

    @media (max-width: 1120px) {
      .athlete-hero-grid {
        grid-template-columns: 1fr;
      }

      .athlete-video {
        justify-self: start;
        max-width: 380px;
      }

      .athlete-grid {
        grid-template-columns: repeat(2, minmax(320px, 1fr));
      }

      .support-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .athlete-card {
        min-height: 164px;
      }
    }

    @media (max-width: 760px) {
      .athlete-hero {
        padding: 64px 0 50px;
      }

      .hero-copy {
        padding-bottom: 0;
      }

      .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
      }

      .hero-actions .btn {
        width: 100%;
      }

      .profile-form .field-row {
        grid-template-columns: 1fr;
      }

      .athlete-hero h1 {
        font-size: clamp(40px, 14vw, 70px);
      }

      .athlete-video {
        max-width: 320px;
        justify-self: start;
      }

      .support-section {
        padding: 52px 0 26px;
      }

      .support-card {
        padding: 22px 18px;
      }

      .athlete-grid {
        display: flex;
        gap: 14px;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 0 14px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
      }

      .athlete-grid::-webkit-scrollbar {
        height: 4px;
      }

      .athlete-grid::-webkit-scrollbar-track {
        background: rgba(255,255,255,.06);
        border-radius: 999px;
      }

      .athlete-grid::-webkit-scrollbar-thumb {
        background: var(--accent-2);
        border-radius: 999px;
      }

      .support-grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 0 14px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
      }

      .support-grid::-webkit-scrollbar {
        height: 4px;
      }

      .support-grid::-webkit-scrollbar-track {
        background: rgba(255,255,255,.06);
        border-radius: 999px;
      }

      .support-grid::-webkit-scrollbar-thumb {
        background: var(--accent-2);
        border-radius: 999px;
      }

      .support-card {
        flex: 0 0 min(82vw, 330px);
        scroll-snap-align: center;
      }

      .center-title {
        gap: 12px;
      }

      .center-title h2 {
        white-space: normal;
        letter-spacing: 2px;
      }

      .athlete-card {
        flex: 0 0 min(86vw, 360px);
        grid-template-columns: 1fr;
        padding: 16px;
        scroll-snap-align: center;
      }

      .athlete-mark {
        width: 100%;
        min-height: 320px;
      }
    }

    @media (max-width: 520px) {
      .profile-modal {
        align-items: flex-start;
        padding: 10px;
      }

      .profile-dialog {
        padding: 16px;
        border-radius: var(--radius-sm);
      }

      .profile-dialog-head {
        gap: 12px;
        margin-bottom: 12px;
      }

      .profile-dialog h2 {
        font-size: 22px;
      }

      .profile-dialog p {
        font-size: 13px;
        line-height: 1.35;
      }

      .profile-form {
        gap: 8px;
      }

      .profile-form .field input,
      .profile-form .field textarea,
      .profile-form select {
        padding: 10px 12px;
        font-size: 14px;
      }

      .profile-form .btn {
        width: 100%;
      }

      .center-title::before,
      .center-title::after {
        width: 44px;
      }

      .center-title h2 {
        font-size: 30px;
      }
    }
