:root {
  --bg: #061733;
  --bg-accent: #0d2653;
  --panel: rgba(10, 27, 58, 0.84);
  --panel-strong: #0f2f63;
  --text: #f4f7fb;
  --muted: #b7c5db;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #ff6a00;
  --brand-strong: #ff7f24;
  --soft: rgba(255, 106, 0, 0.14);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  font-family: "Barlow", sans-serif;
}

.auth-page,
.account-page {
  gap: 22px;
}

.auth-panel,
.account-hero,
.account-next-panel {
  width: min(100%, 920px);
  margin: 0 auto;
}

.auth-form {
  margin-top: 20px;
  max-width: 560px;
}

.auth-mode-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
  max-width: 560px;
}

.account-actions {
  margin-top: 18px;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: min(100%, 920px);
  margin: 0 auto;
}

.account-card {
  margin: 0;
}

.account-data-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.account-data-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.account-data-list div:last-child {
  border-bottom: 0;
}

.account-data-list dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.account-data-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.feature-card-account {
  border-color: rgba(65, 201, 141, 0.5);
  background:
    linear-gradient(135deg, rgba(65, 201, 141, 0.2), rgba(255, 106, 0, 0.12)),
    var(--panel);
}

.debug-output {
  margin: 18px 0 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92rem;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre-wrap;
}

@media (max-width: 760px) {
  .auth-mode-toggle,
  .account-grid,
  .account-data-list div {
    grid-template-columns: 1fr;
  }
}

.admin-page {
  gap: 22px;
}

.admin-hero {
  max-width: 920px;
  margin: 0 auto;
}

.admin-login-panel,
.admin-config-panel {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.admin-login-form {
  max-width: 520px;
}

.admin-section {
  margin-bottom: 22px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
}

.admin-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.admin-status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.admin-status-error {
  color: #ffd0d0;
}

.admin-status-success {
  color: #d8ffef;
}

.admin-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: min(360px, calc(100vw - 32px));
  padding: 16px 18px;
  border: 1px solid rgba(65, 201, 141, 0.55);
  border-radius: 14px;
  background: rgba(8, 46, 35, 0.96);
  color: #d8ffef;
  font-weight: 700;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.admin-toast-error {
  border-color: rgba(255, 117, 117, 0.5);
  background: rgba(66, 18, 18, 0.96);
  color: #ffd0d0;
}

.admin-toast-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.admin-date-time-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 10px;
}

.admin-date-time-fields input {
  min-width: 0;
}

.admin-actions-panel {
  margin-bottom: 0;
}

.admin-actions {
  flex-wrap: wrap;
}

textarea {
  width: 100%;
  resize: vertical;
}

@media (max-width: 760px) {
  .admin-grid,
  .admin-toggle-grid {
    grid-template-columns: 1fr;
  }

  .admin-date-time-fields {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 8px;
  }

  .admin-date-time-fields input {
    padding-inline: 12px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 106, 0, 0.18), transparent 24%),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(180deg, #102d5f 0%, var(--bg) 42%, #041226 100%);
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 56px;
}

.home-page {
  display: grid;
  align-content: center;
  min-height: 100vh;
}

.top-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(7, 21, 46, 0.72);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 106, 0, 0.45);
  background: rgba(255, 106, 0, 0.12);
}

.brand-banner {
  margin-bottom: 18px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(7, 21, 46, 0.78);
  box-shadow: var(--shadow);
}

.brand-logo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.14);
}

.brand-name {
  margin-bottom: 4px;
  font-size: 1.35rem;
  font-weight: 700;
}

.brand-subtitle {
  margin-bottom: 0;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

.home-hero,
.highlights-hero {
  padding: 32px;
}

.home-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature-card {
  display: block;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 0, 0.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.feature-card-locked,
.feature-card-locked:hover {
  transform: none;
  cursor: not-allowed;
  border-color: rgba(255, 214, 189, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 12px,
      rgba(255, 106, 0, 0.08) 12px,
      rgba(255, 106, 0, 0.08) 24px
    );
  box-shadow: var(--shadow);
}

.feature-card-locked .feature-link {
  color: #ffd8c2;
}

.feature-lock-pill {
  display: inline-flex;
  margin-top: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 214, 189, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff3eb;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-card-primary {
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.2), rgba(255, 255, 255, 0.05));
}

.feature-card-store {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 188, 92, 0.28);
  background:
    radial-gradient(circle at top right, rgba(255, 205, 120, 0.3), transparent 32%),
    linear-gradient(135deg, rgba(255, 146, 61, 0.26), rgba(255, 255, 255, 0.06));
}

.feature-card-store::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 45%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.45s ease;
}

.feature-card-store:hover::before {
  transform: translateX(100%);
}

.feature-card-store .feature-tag {
  background: rgba(255, 243, 220, 0.18);
  color: #fff2da;
}

.feature-card-store .feature-link {
  color: #fff7ed;
}

.feature-card-referral {
  border-color: rgba(255, 163, 96, 0.28);
  background:
    radial-gradient(circle at top left, rgba(255, 166, 82, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(140, 74, 16, 0.34), rgba(255, 255, 255, 0.05));
}

.feature-card-referral .feature-tag {
  background: rgba(255, 177, 108, 0.16);
  color: #ffe5ca;
}

.feature-card-referral .feature-link {
  color: #fff1e4;
}

.feature-card-calendar {
  border-color: rgba(99, 214, 255, 0.24);
  background:
    radial-gradient(circle at top right, rgba(117, 223, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(8, 86, 116, 0.42), rgba(255, 255, 255, 0.05));
}

.feature-card-calendar .feature-tag {
  background: rgba(103, 220, 255, 0.16);
  color: #d6f8ff;
}

.feature-card-calendar .feature-link {
  color: #e0fbff;
}

.feature-card-fidelity {
  border-color: rgba(116, 229, 199, 0.26);
  background:
    radial-gradient(circle at top left, rgba(92, 255, 203, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(9, 88, 96, 0.42), rgba(255, 255, 255, 0.05));
}

.feature-card-fidelity .feature-tag {
  background: rgba(99, 237, 200, 0.16);
  color: #d7fff4;
}

.feature-card-fidelity .feature-link {
  color: #ddfff6;
}

.feature-card-rp {
  border-color: rgba(255, 190, 117, 0.28);
  background:
    radial-gradient(circle at top left, rgba(255, 196, 126, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(103, 58, 16, 0.4), rgba(255, 255, 255, 0.05));
}

.feature-card-rp .feature-tag {
  background: rgba(255, 196, 126, 0.16);
  color: #fff0dc;
}

.feature-card-rp .feature-link {
  color: #fff5e8;
}

.feature-card-vdot {
  border-color: rgba(124, 210, 255, 0.26);
  background:
    radial-gradient(circle at top right, rgba(132, 221, 255, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(10, 78, 111, 0.46), rgba(255, 255, 255, 0.05));
}

.feature-card-vdot .feature-tag {
  background: rgba(132, 221, 255, 0.16);
  color: #ddf8ff;
}

.feature-card-vdot .feature-link {
  color: #ebfbff;
}

.feature-card-feedback {
  border-color: rgba(255, 214, 111, 0.28);
  background:
    radial-gradient(circle at top left, rgba(255, 214, 111, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(86, 63, 12, 0.42), rgba(255, 255, 255, 0.05));
}

.feature-card-feedback .feature-tag {
  background: rgba(255, 214, 111, 0.16);
  color: #fff1c6;
}

.feature-card-feedback .feature-link {
  color: #fff7e1;
}

.feature-card-guide {
  border-color: rgba(255, 166, 112, 0.28);
  background:
    radial-gradient(circle at top right, rgba(255, 166, 112, 0.2), transparent 32%),
    radial-gradient(circle at bottom left, rgba(103, 220, 255, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(8, 70, 107, 0.52), rgba(255, 255, 255, 0.05));
}

.feature-card-guide .feature-tag {
  background: rgba(255, 185, 130, 0.16);
  color: #ffe8d6;
}

.feature-card-guide .feature-link {
  color: #fff5eb;
}

.feature-card-partners {
  border-color: rgba(123, 226, 184, 0.28);
  background:
    linear-gradient(135deg, rgba(12, 92, 78, 0.48), rgba(255, 106, 0, 0.14)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.feature-card-partners .feature-tag {
  background: rgba(133, 233, 193, 0.16);
  color: #e3fff4;
}

.feature-card-partners .feature-link {
  color: #edfff8;
}

.feature-card-collective {
  border-color: rgba(126, 232, 183, 0.26);
  background:
    radial-gradient(circle at top left, rgba(126, 232, 183, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(12, 84, 70, 0.44), rgba(255, 255, 255, 0.05));
}

.feature-card-collective .feature-tag {
  background: rgba(126, 232, 183, 0.16);
  color: #dffff0;
}

.feature-card-collective .feature-link {
  color: #ebfff4;
}

.feature-card-coaches {
  border-color: rgba(255, 145, 78, 0.28);
  background:
    radial-gradient(circle at top left, rgba(255, 106, 0, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(17, 63, 107, 0.62), rgba(255, 255, 255, 0.05));
}

.feature-card-coaches .feature-tag {
  background: rgba(255, 177, 108, 0.16);
  color: #ffe6d2;
}

.feature-card-coaches .feature-link {
  color: #fff4eb;
}

.feature-card-plans {
  grid-column: 1 / -1;
  border-color: rgba(145, 214, 196, 0.22);
  background:
    radial-gradient(circle at top left, rgba(67, 201, 168, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(10, 63, 83, 0.46), rgba(255, 255, 255, 0.05));
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.plan-card {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: space-between;
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 18, 38, 0.28) 0%, rgba(4, 18, 38, 0.8) 100%),
    linear-gradient(120deg, rgba(255, 106, 0, 0.12), rgba(6, 23, 51, 0.12));
}

.plan-card:hover {
  transform: translateY(-2px);
  border-color: rgba(67, 201, 168, 0.45);
}

.plan-card > * {
  position: relative;
  z-index: 1;
}

.plan-card strong {
  font-size: 1.05rem;
  line-height: 1.3;
}

.plan-card span {
  color: #c9fff1;
  font-weight: 700;
}

.plan-help {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.plan-help a {
  color: #d9fff6;
  font-weight: 700;
  text-decoration: none;
}

.plan-help a:hover {
  text-decoration: underline;
}

.plan-card-running {
  background-image: url("assets/plan-corrida.jpeg");
}

.plan-card-functional {
  background-image: url("assets/plan-corrida-funcional.jpeg");
}

.plan-card-nutri {
  background-image: url("assets/plan-corrida-nutri.jpeg");
}

.feature-card h2,
.highlight-card h2 {
  margin-bottom: 10px;
}

.feature-card p,
.highlight-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.16);
  color: #ffd7bc;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-link {
  display: inline-flex;
  margin-top: 20px;
  color: #fff1e7;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.hero-copy {
  padding: 18px 6px 0 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 16px;
  font-size: 1.45rem;
}

.hero-text {
  max-width: 58ch;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-highlight {
  max-width: 520px;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.16), rgba(255, 255, 255, 0.03));
}

.highlight-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.18);
  color: #ffd7bc;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-highlight p {
  margin-bottom: 0;
  color: #e6edf8;
  line-height: 1.6;
}

.panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.access-lock-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
  padding: 28px;
  border-color: rgba(255, 214, 189, 0.18);
  background:
    radial-gradient(circle at top right, rgba(255, 106, 0, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(52, 28, 13, 0.52), rgba(255, 255, 255, 0.04));
}

.access-lock-panel-hidden {
  display: none;
}

.access-lock-support {
  margin-bottom: 0;
  color: #ffe5d5;
  line-height: 1.7;
}

.access-lock-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  text-decoration: none;
}

.kit-page-locked #status-box,
.kit-page-locked .hero,
.kit-page-locked .overview,
.kit-page-locked .table-panel {
  display: none;
}

.status-box {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  justify-content: center;
  max-height: 220px;
  margin-bottom: 18px;
  overflow: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.25s ease, margin-bottom 0.25s ease;
}

.status-box-hidden {
  opacity: 0;
  transform: translateY(-8px);
  max-height: 0;
  margin-bottom: 0;
  pointer-events: none;
}

.status-box-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(100%, 560px);
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(7, 21, 46, 0.94);
  box-shadow: var(--shadow);
}

.status-box-info .status-box-panel {
  border-color: rgba(255, 255, 255, 0.14);
}

.status-box-success .status-box-panel {
  border-color: rgba(65, 201, 141, 0.55);
  background: rgba(8, 46, 35, 0.94);
}

.status-box-error .status-box-panel {
  border-color: rgba(255, 117, 117, 0.5);
  background: rgba(66, 18, 18, 0.94);
}

.status-spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: status-spin 0.8s linear infinite;
}

.status-spinner-hidden {
  display: none;
}

.status-box-title,
.status-box-text {
  margin-bottom: 0;
}

.status-box-title {
  font-size: 1rem;
  font-weight: 700;
}

.status-box-text {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
}

.status-box-success .status-box-text {
  color: #d8ffef;
}

.status-box-error .status-box-text {
  color: #ffd0d0;
}

.form-panel,
.overview,
.table-panel {
  padding: 24px;
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field span {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.field-help {
  display: block;
  margin-top: 8px;
  font-size: 0.87rem;
  color: var(--muted);
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--panel-strong);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(29, 111, 95, 0.12);
  transform: translateY(-1px);
}

input:disabled,
select:disabled,
textarea:disabled,
button:disabled {
  opacity: 0.68;
  cursor: not-allowed;
}

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

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

.primary-button,
.secondary-button {
  border: none;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, #ff5b00 0%, #ff8a24 100%);
  box-shadow: 0 14px 26px rgba(255, 106, 0, 0.28);
}

.secondary-button {
  color: #fff3eb;
  background: rgba(255, 255, 255, 0.08);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.primary-button:disabled,
.secondary-button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-message {
  min-height: 24px;
  margin: 12px 0 0;
  font-weight: 600;
  color: #ffd6bd;
}

.form-message-error {
  color: #ffd0d0;
}

.overview-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.count-badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.14);
  color: #ffd9c2;
  font-weight: 700;
}

.distance-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.distance-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.distance-card h3 {
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.distance-count {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.names-list li {
  display: block;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(31, 35, 33, 0.12);
}

.athlete-line {
  font-weight: 600;
}

.shirt-summary {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.shirt-summary-title {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.shirt-summary-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.shirt-summary-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.14);
  color: #ffd8c2;
  font-size: 0.92rem;
  font-weight: 700;
}

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

.table-wrapper {
  overflow-x: auto;
}

.highlight-note {
  margin-top: 24px;
}

.ranking-hero {
  padding: 32px;
  margin-bottom: 24px;
}

.rp-ranking-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 166, 82, 0.2), transparent 30%),
    radial-gradient(circle at bottom left, rgba(86, 203, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(9, 27, 58, 0.94), rgba(4, 18, 38, 0.96));
}

.rp-ranking-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.rp-ranking-hero-link,
.rp-ranking-hero-note {
  max-width: none;
  margin-bottom: 0;
}

.rp-ranking-hero-note {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.rp-ranking-hero-note p {
  margin-bottom: 0;
  color: #edf3fd;
  line-height: 1.7;
}

.regulation-link-card {
  display: block;
  max-width: 560px;
  margin: 0 0 24px;
  text-decoration: none;
}

.regulation-link-card:hover {
  transform: translateY(-1px);
  border-left-color: #43c9a8;
}

.regulation-hero {
  padding: 32px;
  margin-bottom: 24px;
}

.regulation-panel {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.regulation-section {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.regulation-section p:last-child,
.regulation-section ul:last-child,
.regulation-section ol:last-child {
  margin-bottom: 0;
}

.regulation-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.regulation-summary-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.regulation-summary-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.regulation-summary-card strong {
  line-height: 1.45;
}

.regulation-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
  color: #edf3fd;
  line-height: 1.65;
}

.regulation-points-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.regulation-point-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.14);
  color: #ffd8c2;
  font-size: 0.92rem;
  font-weight: 700;
}

.fidelity-hero,
.fidelity-controls-panel {
  padding: 24px;
  margin-bottom: 24px;
}

.fidelity-info-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  margin-bottom: 24px;
  border-color: rgba(255, 154, 88, 0.24);
  background:
    radial-gradient(circle at top right, rgba(255, 106, 0, 0.16), transparent 24%),
    radial-gradient(circle at bottom left, rgba(67, 201, 168, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(8, 27, 55, 0.95), rgba(4, 18, 38, 0.97));
}

.fidelity-bonus-alert {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 204, 163, 0.48);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 228, 201, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(255, 106, 0, 0.28), rgba(255, 153, 84, 0.1));
  box-shadow: 0 20px 42px rgba(5, 13, 30, 0.3);
}

.fidelity-bonus-alert-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 244, 232, 0.12);
  color: #fff1e5;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fidelity-bonus-alert-text {
  margin: 0;
  color: #fffaf5;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-wrap: balance;
}

.fidelity-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fidelity-benefit-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.fidelity-benefit-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.fidelity-benefit-tag,
.fidelity-benefit-discount {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.fidelity-benefit-tag {
  background: linear-gradient(135deg, #ff5b00 0%, #ff8a24 100%);
  color: #fff7f1;
  text-transform: uppercase;
}

.fidelity-benefit-discount {
  background: rgba(255, 255, 255, 0.08);
  color: #edf8f4;
}

.fidelity-benefit-list {
  margin: 0;
  padding-left: 20px;
  color: #edf3fd;
  display: grid;
  gap: 10px;
  line-height: 1.55;
}

.fidelity-benefit-card-monthly {
  border-color: rgba(255, 147, 72, 0.22);
}

.fidelity-benefit-card-quarterly {
  border-color: rgba(255, 191, 98, 0.22);
}

.fidelity-benefit-card-semiannual {
  border-color: rgba(110, 225, 200, 0.22);
}

.fidelity-benefit-card-annual {
  border-color: rgba(107, 186, 255, 0.22);
}

.fidelity-store-highlight {
  display: block;
  text-decoration: none;
}

.fidelity-store-highlight:hover {
  transform: translateY(-1px);
  border-left-color: #43c9a8;
}

.calendar-hero,
.calendar-panel {
  padding: 24px;
  margin-bottom: 24px;
}

.vdot-hero,
.vdot-form-panel,
.vdot-summary-panel,
.vdot-adjustment-panel,
.vdot-zones-panel,
.vdot-equivalent-panel,
.vdot-info-panel,
.collective-hero,
.collective-form-panel,
.collective-list-panel {
  padding: 24px;
  margin-bottom: 24px;
}

.rp-hero,
.rp-form-panel,
.rp-history-panel {
  padding: 24px;
  margin-bottom: 24px;
}

.feedback-hero,
.feedback-summary-panel,
.feedback-form-panel,
.feedback-list-panel {
  padding: 24px;
  margin-bottom: 24px;
}

.feedback-hero-highlight {
  margin-top: 24px;
}

.feedback-form-shell {
  max-width: 760px;
}

.feedback-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.feedback-summary-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.feedback-summary-inline-label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feedback-summary-inline-value {
  font-size: 1.5rem;
  line-height: 1;
}

.feedback-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feedback-summary-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feedback-summary-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.feedback-summary-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feedback-summary-value {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.08;
}

.feedback-summary-support {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.feedback-average-stars {
  position: relative;
  display: inline-block;
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: 0.12em;
}

.feedback-average-stars-track {
  color: rgba(255, 255, 255, 0.18);
}

.feedback-average-stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: #ffd770;
  white-space: nowrap;
  width: 0;
}

.feedback-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feedback-question-list {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.feedback-question-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.feedback-question-header {
  margin-bottom: 14px;
}

.feedback-question-index {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 214, 111, 0.16);
  color: #ffe7af;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feedback-question-title {
  margin-bottom: 0;
  color: #edf5ff;
  line-height: 1.6;
}

.feedback-score-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.feedback-score-button {
  min-height: 56px;
  justify-content: center;
  font-size: 1rem;
}

.feedback-question-scale {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.feedback-rating-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.feedback-rating-button {
  display: grid;
  gap: 8px;
  min-height: 94px;
  padding: 16px 14px;
  text-align: left;
}

.feedback-rating-button-stars,
.feedback-entry-rating-stars {
  letter-spacing: 0.08em;
}

.feedback-rating-button-caption {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.feedback-rating-button.toggle-button-active .feedback-rating-button-caption {
  color: #fff1e7;
}

.feedback-entry-list {
  display: grid;
  gap: 18px;
}

.feedback-entry-card,
.feedback-empty-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.feedback-entry-card-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.feedback-entry-athlete {
  margin: 0 0 8px;
  color: #ffe3b1;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feedback-entry-heading {
  min-width: 0;
}

.feedback-entry-heading h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.4;
}

.feedback-entry-rating {
  min-width: 128px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.feedback-entry-rating span,
.feedback-entry-rating strong {
  display: block;
}

.feedback-entry-rating span {
  margin-bottom: 6px;
  color: #ffe6b8;
  font-size: 1rem;
}

.feedback-entry-rating strong {
  font-size: 1.15rem;
  line-height: 1;
}

.feedback-entry-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.feedback-entry-body p {
  margin-bottom: 0;
  color: #edf5ff;
  line-height: 1.7;
}

.feedback-entry-suggestion {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.feedback-entry-suggestion strong {
  color: #ffe3b1;
}

.rp-ranking-summary-panel {
  padding: 24px;
  margin-bottom: 24px;
}

.rp-ranking-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rp-ranking-summary-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.rp-ranking-summary-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rp-ranking-summary-value {
  display: block;
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
}

.rp-ranking-source-note {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.rp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.rp-time-input-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: nowrap;
}

.vdot-zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.vdot-zone-card,
.vdot-info-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.vdot-zone-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vdot-zone-value {
  display: block;
  margin-bottom: 10px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.vdot-zone-note,
.vdot-info-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.vdot-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.vdot-adjustment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.vdot-filter-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.vdot-filter-card .field:last-child {
  margin-bottom: 0;
}

.vdot-filter-label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vdot-filter-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.vdot-adjustment-note {
  margin: 16px 0 0;
  color: #fff3eb;
  line-height: 1.6;
}

.vdot-zone-impact {
  display: block;
  margin-top: 10px;
  color: #ffd8c2;
  font-size: 0.92rem;
}

.vdot-info-card h3 {
  margin-bottom: 10px;
}

.vdot-equivalent-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.vdot-equivalent-time {
  font-size: 1.2rem;
  white-space: nowrap;
}

.collective-confirmation-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}

.collective-session-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.collective-callout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
  gap: 16px;
  margin-top: 16px;
}

.collective-session-card,
.collective-callout-card,
.collective-status-banner {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.collective-session-card,
.collective-callout-card {
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.collective-session-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.collective-session-card strong,
.collective-callout-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.collective-session-card p,
.collective-callout-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.collective-status-banner {
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.collective-callout-card-deadline {
  background:
    radial-gradient(circle at top right, rgba(255, 106, 0, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.collective-status-banner-pending {
  border-color: rgba(255, 187, 87, 0.32);
  background: linear-gradient(135deg, rgba(84, 61, 18, 0.54), rgba(255, 255, 255, 0.04));
}

.collective-status-banner-ready,
.collective-status-banner-confirmed {
  border-color: rgba(65, 201, 141, 0.35);
  background: linear-gradient(135deg, rgba(10, 66, 47, 0.58), rgba(255, 255, 255, 0.04));
}

.collective-status-banner-cancelled {
  border-color: rgba(255, 117, 117, 0.4);
  background: linear-gradient(135deg, rgba(78, 22, 22, 0.62), rgba(255, 255, 255, 0.04));
}

.collective-status-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collective-status-text {
  margin: 10px 0 0;
  color: #edf5ff;
  line-height: 1.7;
}

.collective-name-list {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

.collective-form-panel h2,
.collective-list-panel h2 {
  margin-bottom: 16px;
}

.collective-name-list-item {
  color: #ebfff4;
  font-weight: 600;
  line-height: 1.6;
}

.collective-name-empty {
  list-style: none;
  margin-left: -22px;
}

.rp-time-part {
  flex: 0 0 72px;
  width: 72px;
  min-width: 72px;
  text-align: center;
  padding: 14px 10px;
}

.rp-time-separator {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.82);
}

.rp-aux-field {
  margin-top: 4px;
  margin-bottom: 0;
}

.rp-aux-field-hidden {
  display: none;
}

.rp-entry-list {
  display: grid;
  gap: 18px;
}

.rp-entry-card,
.rp-empty-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.rp-entry-card-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.rp-entry-heading {
  min-width: 0;
}

.rp-entry-athlete {
  margin: 0 0 8px;
  color: #ffd8c2;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rp-entry-heading h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.35;
}

.rp-entry-time-block {
  min-width: 120px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  text-align: right;
}

.rp-entry-time-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rp-entry-time {
  font-size: 1.6rem;
  line-height: 1;
}

.rp-entry-time-previous {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}

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

.rp-meta-item {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.rp-meta-item strong {
  line-height: 1.45;
}

.rp-meta-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rp-podium-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.16);
  color: #ffe0cd;
}

.rp-podium-pill-muted {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.trainers-hero {
  padding: 32px;
  margin-bottom: 24px;
}

.guide-hero {
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  padding: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 166, 112, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(103, 220, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(9, 27, 58, 0.95), rgba(4, 18, 38, 0.97));
}

.guide-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.05) 46%, transparent 100%);
  transform: translateX(-100%);
  animation: guide-hero-shimmer 9s ease-in-out infinite;
}

.guide-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.guide-hero-copy {
  min-width: 0;
}

.guide-hero-highlight {
  max-width: none;
}

.guide-quick-list {
  display: grid;
  gap: 14px;
}

.guide-quick-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.guide-quick-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.guide-quick-card p {
  margin-bottom: 0;
  color: #edf3fd;
  line-height: 1.6;
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.guide-side-column {
  display: grid;
  gap: 24px;
}

.guide-content-panel {
  padding: 24px;
}

.guide-section-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.guide-section-header h2 {
  margin-bottom: 0;
}

.guide-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.14);
  color: #ffd9c2;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.guide-pse-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 22px;
}

.guide-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.guide-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.guide-visual-compact {
  max-width: 280px;
}

.guide-copy-stack {
  display: grid;
  gap: 16px;
}

.guide-copy-stack p {
  margin-bottom: 0;
  line-height: 1.7;
}

.guide-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.guide-check-list li {
  position: relative;
  padding-left: 24px;
  color: #edf3fd;
  line-height: 1.6;
}

.guide-check-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}

.guide-note {
  padding: 18px;
  border: 1px solid rgba(255, 166, 112, 0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.14), rgba(255, 255, 255, 0.04));
  color: #fff4eb;
  line-height: 1.65;
}

.guide-scale-table-wrapper {
  overflow-x: auto;
}

.guide-scale-table td strong {
  color: #fff4eb;
}

.guide-scale-table th,
.guide-scale-table td {
  vertical-align: top;
}

.guide-links-panel {
  position: relative;
  overflow: hidden;
}

.guide-links-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 106, 0, 0.12), transparent 30%);
  pointer-events: none;
}

.guide-links-panel > * {
  position: relative;
  z-index: 1;
}

.guide-lead {
  color: #edf3fd;
  line-height: 1.7;
}

.guide-action-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.guide-action-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.guide-action-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 106, 0, 0.35);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.28);
}

.guide-action-tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.16);
  color: #ffd8c2;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-action-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.guide-action-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.guide-action-state {
  color: #fff4eb;
  font-weight: 700;
}

.guide-action-note {
  min-height: 22px;
  color: #d9e3f4;
  font-size: 0.92rem;
}

.guide-action-card-disabled,
.guide-action-card-disabled:hover {
  transform: none;
  cursor: default;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  opacity: 0.78;
}

.guide-feedback-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.guide-feedback-quote {
  margin: 0;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.14), rgba(255, 255, 255, 0.04));
  color: #fff7ed;
  font-size: 1.02rem;
  line-height: 1.7;
}

.guide-inline-action {
  width: fit-content;
}

.guide-inline-action[hidden] {
  display: none;
}

.guide-support-text {
  color: var(--muted);
}

.trainer-grid {
  display: grid;
  gap: 20px;
}

.trainer-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  overflow: hidden;
}

.trainer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 106, 0, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.trainer-card:nth-child(3n + 2)::before {
  background:
    radial-gradient(circle at top left, rgba(99, 214, 255, 0.14), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.trainer-card:nth-child(3n)::before {
  background:
    radial-gradient(circle at bottom right, rgba(67, 201, 168, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.trainer-card > * {
  position: relative;
  z-index: 1;
}

.trainer-card-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 106, 0, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.trainer-card-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center top;
}

.trainer-card-content {
  min-width: 0;
  display: grid;
  gap: 18px;
  align-content: start;
}

.trainer-card-heading {
  display: grid;
  gap: 8px;
}

.trainer-card-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.3vw, 2.25rem);
}

.trainer-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trainer-detail-block {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.trainer-detail-block-wide {
  grid-column: 1 / -1;
}

.trainer-field-label {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5b00 0%, #ff8a24 100%);
  color: #fff7f1;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trainer-lead-copy {
  margin: 0;
  color: #fff8f1;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.28;
}

.trainer-detail-text {
  margin: 0;
  color: #edf3fd;
  line-height: 1.7;
}

.trainer-distance-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trainer-distance-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.14);
  color: #ffe0cd;
  font-size: 0.92rem;
  font-weight: 700;
}

.partners-page {
  padding-bottom: 64px;
}

.partners-hero {
  margin-bottom: 24px;
  padding: 32px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(12, 70, 78, 0.78), rgba(82, 44, 16, 0.42)),
    linear-gradient(180deg, rgba(9, 27, 58, 0.96), rgba(4, 18, 38, 0.98));
}

.partners-hero-layout {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.partners-hero .hero-text {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.partner-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    var(--panel);
}

.partner-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: #f8faf7;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.partner-logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.partner-card-body {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}

.partner-category {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.14);
  color: #ffe3d0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.partner-card h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.partner-slogan {
  margin: 0;
  color: #f3f7fb;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}

.partner-info-list {
  display: grid;
  gap: 12px;
  margin-top: 2px;
}

.partner-info-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.partner-info-list span {
  display: block;
  margin-bottom: 3px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.partner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.partner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 180px;
  min-height: 46px;
  text-align: center;
  text-decoration: none;
}

.calendar-race-list {
  display: grid;
  gap: 24px;
}

.calendar-month-section {
  display: grid;
  gap: 16px;
}

.calendar-month-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calendar-month-name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.calendar-month-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(99, 214, 255, 0.14);
  color: #d8f7ff;
  font-size: 0.88rem;
  font-weight: 700;
}

.calendar-month-races {
  display: grid;
  gap: 18px;
}

.calendar-race-card,
.calendar-empty-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.calendar-race-card-finished {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.calendar-race-card-top {
  margin-bottom: 16px;
}

.calendar-race-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.calendar-race-meta-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calendar-race-meta-item strong {
  font-size: 1rem;
  line-height: 1.4;
}

.calendar-race-headline h3 {
  margin-bottom: 6px;
  font-size: 1.28rem;
}

.calendar-race-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.calendar-race-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.16);
  color: #ffd8c2;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.calendar-race-badge-finished {
  margin-left: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffe9c7;
}

.calendar-race-headline p {
  margin-bottom: 0;
  color: var(--muted);
}

.calendar-race-meta-item {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.calendar-race-meta-item-distances {
  grid-column: span 1;
}

.calendar-distance-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.calendar-distance-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.calendar-race-notes {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.calendar-race-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.calendar-race-response-button {
  flex: 1 1 180px;
  box-shadow: none;
}

.calendar-race-response-button-strong {
  background: rgba(255, 106, 0, 0.16);
  color: #fff1e8;
}

.calendar-race-records-button {
  width: 100%;
  min-height: 42px;
  margin-top: 4px;
  padding: 9px 14px;
  border-radius: 999px;
  box-shadow: none;
}

.calendar-race-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5b00 0%, #ff8a24 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(255, 106, 0, 0.22);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.calendar-race-link:hover {
  transform: translateY(-1px);
}

.calendar-race-link-disabled {
  background: rgba(255, 255, 255, 0.08);
  color: #fff0e7;
  box-shadow: none;
  cursor: default;
}

.calendar-race-link-finished {
  background: rgba(255, 255, 255, 0.12);
  color: #ffe9c7;
}

.calendar-race-chip-list,
.calendar-interest-chip-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.calendar-interest-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.calendar-interest-chip strong {
  color: #fff4eb;
  font-size: 0.95rem;
}

.calendar-interest-chip-strong {
  background: rgba(255, 106, 0, 0.16);
  color: #fff1e7;
}

.calendar-interest-modal-open {
  overflow: hidden;
}

.calendar-interest-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.calendar-interest-modal-hidden {
  display: none;
}

.calendar-interest-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 10, 24, 0.78);
  backdrop-filter: blur(8px);
}

.calendar-interest-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 28px;
  box-sizing: border-box;
  scroll-padding-bottom: 96px;
}

.calendar-interest-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

.calendar-interest-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.calendar-interest-modal-race {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.calendar-interest-summary-panel {
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.calendar-records-panel {
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.calendar-records-panel-hidden {
  display: none;
}

.calendar-records-field {
  margin-bottom: 8px;
}

.calendar-records-message {
  min-height: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.calendar-interest-summary-copy {
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.calendar-interest-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.calendar-interest-type-button {
  justify-content: center;
}

.ranking-controls-panel {
  padding: 24px;
  margin-bottom: 24px;
}

.ranking-top-panel {
  padding: 24px;
  margin-bottom: 24px;
}

.referral-info-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  margin-bottom: 24px;
  border-color: rgba(255, 154, 88, 0.24);
  background:
    radial-gradient(circle at top left, rgba(255, 106, 0, 0.16), transparent 24%),
    radial-gradient(circle at bottom right, rgba(61, 111, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(8, 27, 55, 0.94), rgba(4, 18, 38, 0.96));
}

.referral-info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.referral-info-copy,
.referral-info-side {
  min-width: 0;
}

.referral-info-lead {
  margin-bottom: 18px;
  color: #edf3fd;
  font-size: 1.02rem;
  line-height: 1.7;
}

.referral-benefit-grid {
  display: grid;
  gap: 14px;
}

.referral-benefit-card,
.referral-note-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.referral-benefit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.referral-benefit-tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5b00 0%, #ff8a24 100%);
  color: #fff7f1;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.referral-benefit-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
  line-height: 1.5;
}

.referral-benefit-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.referral-note-title {
  margin-bottom: 12px;
  color: #ffd8c2;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.referral-note-list {
  margin: 0;
  padding-left: 18px;
  color: #edf3fd;
  display: grid;
  gap: 12px;
  line-height: 1.65;
}

.ranking-top-five {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.ranking-top-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at top, rgba(255, 106, 0, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.rp-ranking-top-card {
  align-content: start;
}

.rp-ranking-top-time {
  font-size: 1.45rem;
  line-height: 1;
}

.rp-ranking-top-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.rp-ranking-top-meta,
.rp-ranking-top-race {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  text-align: center;
}

.ranking-top-position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.16);
  color: #ffe0cd;
  font-size: 1rem;
  font-weight: 700;
}

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

.referral-top-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.referral-top-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.16);
  color: #ffe0cd;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.referral-level-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #edf3fd;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.referral-validity-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(87, 217, 172, 0.14);
  color: #ddfff4;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.referral-validity-pill-expired {
  background: rgba(255, 117, 117, 0.16);
  color: #ffd8d8;
}

.referral-validity-note {
  margin: 0;
  color: #d8fff4;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.referral-validity-note-expired {
  color: #ffd8d8;
}

.ranking-filters-stack {
  display: grid;
  gap: 18px;
}

.ranking-filter-block {
  display: grid;
  gap: 10px;
}

.ranking-filter-label {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ranking-view-toggle {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ranking-search-field {
  margin-bottom: 0;
}

.ranking-category-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ranking-category-button {
  padding-inline: 14px;
}

.ranking-detail-button {
  min-width: 132px;
}

.toggle-button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.toggle-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 106, 0, 0.35);
}

.toggle-button-active {
  border-color: rgba(255, 106, 0, 0.52);
  background: rgba(255, 106, 0, 0.16);
  color: #fff3eb;
}

.ranking-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.ranking-chip-strong {
  background: rgba(255, 106, 0, 0.16);
  color: #ffd8c2;
}

.ranking-position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.14);
  color: #ffd9c2;
  font-weight: 700;
}

.ranking-points {
  font-weight: 700;
}

.ranking-detail-row td {
  padding-top: 0;
}

.ranking-detail-panel,
.ranking-card-details {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.ranking-stage-detail-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ranking-stage-detail-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.ranking-stage-detail-title {
  margin-bottom: 4px;
  font-size: 1rem;
  font-weight: 700;
}

.ranking-stage-detail-meta {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.ranking-stage-detail-points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ranking-card-list {
  display: none;
  gap: 14px;
}

.fidelity-card-list {
  display: none;
  gap: 14px;
}

.ranking-athlete-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.fidelity-athlete-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.fidelity-athlete-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.fidelity-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fidelity-meta-item {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.fidelity-meta-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.85rem;
}

.fidelity-meta-value {
  display: block;
  line-height: 1.4;
}

.fidelity-status-pill {
  font-weight: 700;
}

.fidelity-status-pill-active {
  background: rgba(65, 201, 141, 0.16);
  color: #d8ffef;
}

.fidelity-status-pill-expiring {
  background: rgba(255, 187, 87, 0.18);
  color: #ffe8bf;
}

.fidelity-status-pill-expired {
  background: rgba(255, 117, 117, 0.16);
  color: #ffd5d5;
}

.fidelity-status-pill-unknown {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.fidelity-gift-pill {
  font-weight: 700;
}

.fidelity-gift-pill-available {
  background: rgba(255, 187, 87, 0.18);
  color: #ffe8bf;
}

.fidelity-gift-pill-delivered {
  background: rgba(65, 201, 141, 0.16);
  color: #d8ffef;
}

.fidelity-gift-pill-unknown {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.ranking-athlete-card-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.ranking-athlete-main {
  min-width: 0;
}

.ranking-athlete-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ranking-athlete-identity-copy {
  min-width: 0;
}

.ranking-athlete-name-inline {
  display: block;
  font-weight: 700;
  line-height: 1.35;
}

.athlete-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.28), rgba(255, 255, 255, 0.08)),
    rgba(8, 27, 55, 0.9);
  color: #fff1e7;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.athlete-avatar-button {
  padding: 0;
  cursor: zoom-in;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.athlete-avatar-button:hover,
.athlete-avatar-button:focus-visible {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(255, 106, 0, 0.5);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  outline: none;
}

.athlete-avatar-table {
  width: 40px;
  height: 40px;
  font-size: 0.86rem;
}

.athlete-avatar-card {
  width: 56px;
  height: 56px;
  font-size: 1rem;
}

.athlete-avatar-top {
  width: 88px;
  height: 88px;
  font-size: 1.45rem;
}

.athlete-avatar-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.athlete-avatar-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-preview-open {
  overflow: hidden;
}

.avatar-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.avatar-preview-modal-hidden {
  display: none;
}

.avatar-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 10, 24, 0.76);
  backdrop-filter: blur(8px);
}

.avatar-preview-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(6, 23, 51, 0.96);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.42);
}

.avatar-preview-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.avatar-preview-close:hover,
.avatar-preview-close:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 106, 0, 0.42);
  background: rgba(255, 106, 0, 0.14);
  outline: none;
}

.avatar-preview-media {
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.24), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.04);
}

.avatar-preview-image {
  display: block;
  width: 100%;
  max-height: min(72vh, 640px);
  object-fit: cover;
}

.avatar-preview-name {
  margin: 16px 6px 4px;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
}

.ranking-athlete-name {
  margin-bottom: 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

.ranking-athlete-meta {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.ranking-athlete-total {
  text-align: right;
}

.rp-ranking-name-meta {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.rp-ranking-race-cell {
  display: grid;
  gap: 6px;
}

.rp-ranking-race-cell strong {
  line-height: 1.4;
}

.rp-ranking-race-cell span {
  color: var(--muted);
  font-size: 0.88rem;
}

.ranking-athlete-total-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ranking-athlete-card-bottom {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.rp-ranking-card-race {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.rp-ranking-card-race strong {
  line-height: 1.4;
}

.rp-ranking-card-race span {
  color: var(--muted);
  font-size: 0.9rem;
}

.rp-ranking-history-item {
  gap: 14px;
}

.rp-ranking-history-main {
  min-width: 0;
}

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

.highlights-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.stat-card {
  padding: 24px;
}

.stat-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
}

.stat-support {
  margin-bottom: 0;
  color: var(--muted);
}

.perfect-panel,
.highlights-table-panel {
  margin-bottom: 24px;
}

.perfect-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.perfect-name-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 106, 0, 0.22);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.18), rgba(255, 255, 255, 0.04));
  color: #fff3eb;
  font-weight: 700;
}

.perfect-athlete-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 106, 0, 0.22);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.18), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.perfect-athlete-card .athlete-avatar-table {
  width: 48px;
  height: 48px;
  font-size: 1rem;
}

.perfect-athlete-name {
  margin: 0;
  color: #fff3eb;
  font-weight: 700;
  line-height: 1.4;
}

.week-chip-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.week-chip-list-compact {
  gap: 6px;
}

.week-chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.week-chip-list-compact .week-chip {
  min-width: 32px;
  justify-content: center;
  padding: 5px 8px;
  font-size: 0.82rem;
  text-align: center;
}

.search-field {
  max-width: 360px;
}

.table-status {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.table-status-perfect {
  background: rgba(255, 106, 0, 0.16);
  color: #ffd8c2;
}

.highlight-card {
  padding: 24px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

@keyframes status-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes guide-hero-shimmer {
  0%,
  15% {
    transform: translateX(-100%);
  }

  45%,
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 860px) {
  .hero,
  .guide-grid,
  .guide-hero-layout,
  .partners-hero-layout,
  .guide-pse-layout,
  .guide-feedback-layout,
  .collective-confirmation-layout,
  .distance-groups,
  .home-actions,
  .highlights-stat-grid,
  .plan-grid,
  .feedback-summary-grid,
  .feedback-form-grid,
  .rp-form-grid,
  .rp-meta-grid,
  .collective-session-grid,
  .collective-callout-grid,
  .vdot-adjustment-grid,
  .vdot-info-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .calendar-race-summary {
    grid-template-columns: 1fr;
  }

  .regulation-summary-grid {
    grid-template-columns: 1fr;
  }

  .fidelity-benefit-grid {
    grid-template-columns: 1fr;
  }

  .referral-info-layout {
    grid-template-columns: 1fr;
  }

  .trainer-card {
    grid-template-columns: 1fr;
  }

  .trainer-card-media {
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .calendar-month-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .ranking-top-five {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .brand-pill {
    display: flex;
    width: 100%;
    border-radius: 28px;
  }

  .calendar-interest-dialog {
    width: min(100%, 620px);
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 20px, 1120px);
    padding-top: 20px;
  }

  .top-nav {
    gap: 10px;
    flex-wrap: nowrap;
    margin-bottom: 14px;
    padding: 2px 2px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 106, 0, 0.45) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .top-nav::-webkit-scrollbar {
    height: 6px;
  }

  .top-nav::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 106, 0, 0.45);
  }

  .nav-link {
    flex: 0 0 auto;
    padding: 9px 14px;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .form-panel,
  .overview,
  .table-panel,
  .calendar-panel,
  .ranking-controls-panel,
  .ranking-hero,
  .vdot-hero,
  .vdot-form-panel,
  .vdot-summary-panel,
  .vdot-adjustment-panel,
  .vdot-zones-panel,
  .vdot-equivalent-panel,
  .vdot-info-panel,
  .collective-hero,
  .collective-form-panel,
  .collective-list-panel,
  .feedback-hero,
  .feedback-summary-panel,
  .feedback-form-panel,
  .feedback-list-panel,
  .guide-content-panel,
  .partners-hero,
  .rp-hero,
  .rp-form-panel,
  .rp-history-panel,
  .regulation-hero,
  .calendar-hero,
  .home-hero,
  .highlights-hero,
  .trainers-hero,
  .guide-hero {
    padding: 18px;
  }

  .overview-header,
  .actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .rp-ranking-hero-layout,
  .rp-ranking-summary-grid {
    grid-template-columns: 1fr;
  }

  .feedback-rating-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .feedback-summary-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .calendar-interest-modal {
    place-items: start center;
    padding: max(12px, env(safe-area-inset-top)) 12px max(18px, env(safe-area-inset-bottom));
  }

  .calendar-interest-dialog {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 22px 18px 28px;
  }

  .calendar-interest-type-grid {
    grid-template-columns: 1fr;
  }

  .ranking-table-wrapper {
    display: none;
  }

  .ranking-card-list,
  .fidelity-card-list {
    display: grid;
  }

  .fidelity-table-wrapper {
    display: none;
  }

  .rp-entry-card-top {
    flex-direction: column;
  }

  .feedback-entry-card-top {
    flex-direction: column;
  }

  .rp-time-input-group {
    gap: 6px;
  }

  .vdot-equivalent-card-top {
    flex-direction: column;
  }

  .rp-time-part {
    flex-basis: 64px;
    width: 64px;
    min-width: 64px;
    padding: 13px 8px;
  }

  .rp-entry-time-block {
    width: 100%;
    text-align: left;
  }

  .ranking-top-five {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 12px;
  }

  .ranking-top-card {
    padding: 14px 10px;
  }

  .referral-info-panel {
    padding: 18px;
  }

  .fidelity-info-panel {
    padding: 18px;
  }

  .trainer-card {
    padding: 18px;
  }

  .partner-card {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .partner-logo-panel {
    width: 86px;
    height: 86px;
    padding: 7px;
  }

  .partner-card-body {
    display: contents;
  }

  .partner-category {
    grid-column: 2;
    font-size: 0.72rem;
  }

  .partner-card h2,
  .partner-slogan,
  .partner-info-list {
    grid-column: 2;
  }

  .partner-slogan {
    font-size: 1rem;
  }

  .partner-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
  }

  .partner-button {
    width: 100%;
    flex-basis: auto;
  }

  .trainer-detail-grid {
    grid-template-columns: 1fr;
  }

  .guide-section-header {
    flex-direction: column;
  }

  .guide-visual-compact {
    max-width: 100%;
  }

  .athlete-avatar-top {
    width: 74px;
    height: 74px;
    font-size: 1.2rem;
  }

  .ranking-athlete-card-top {
    grid-template-columns: auto 1fr;
  }

  .ranking-athlete-total {
    grid-column: 1 / -1;
    text-align: left;
  }

  .ranking-stage-detail-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .ranking-stage-detail-points {
    justify-content: flex-start;
  }

  .fidelity-meta-grid {
    grid-template-columns: 1fr;
  }

  .fidelity-athlete-card-top {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .toggle-button {
    width: 100%;
  }
}
