
:root {
    --rp-black: #07090d;
    --rp-charcoal: #101820;
    --rp-red: #d90000;
    --rp-green: #00853e;
    --rp-blue: #0057b8;
    --rp-orange: #f47c00;
    --rp-bg: #f6f4ef;
    --rp-card: #ffffff;
    --rp-border: #dedbd4;
    --rp-text: #111111;
    --rp-muted: #6e6e6e;
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    background: var(--rp-bg);
    color: var(--rp-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }

  .rp-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
  }

  .rp-header {
    background: var(--rp-black);
    color: white;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .rp-header-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .rp-logo img {
    height: 42px;
    display: block;
  }

  .rp-nav {
    display: flex;
    gap: 28px;
    align-items: center;
  }

  .rp-nav a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .rp-nav a.active {
    color: var(--rp-red);
    border-bottom: 2px solid var(--rp-red);
    padding-bottom: 8px;
  }

  .rp-menu {
    display: none;
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 22px;
  }

  .rp-hero {
    padding-top: 0px;
    padding-bottom: 56px;
  }

  .rp-hero {
    background:
      linear-gradient(
        to bottom,
        #f5f5f3 0%,
        #f1f0ec 100%
      );
  }

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

  .rp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: 640px;
    align-items: center;
    gap: 36px;
    padding: 0px 0 28px;
  }

  .rp-eyebrow {
    color: var(--rp-green);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 12px;
    font-weight: 800;
  }

  .rp-hero h1 {
    margin: 16px 0;
    font-size: clamp(42px, 5.8vw, 74px);
    line-height: 1.13;
    text-transform: uppercase;
    letter-spacing: -0.04em;
  }

  .rp-hero h1 span {
    color: var(--rp-red);
  }

  .rp-hero-text {
    max-width: 520px;
    color: #5d6472;
    font-size: 18px;
    line-height: 1.68;
    margin-top: 18px;
  }

  .rp-hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 22px;
    flex-wrap: wrap;
  }

  .rp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 34px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.05em;
    border-radius: 6px;
    transition:
      transform 0.18s ease,
      box-shadow 0.18s ease,
      background 0.18s ease;
  }

  .rp-btn:hover {
    transform: translateY(-1px);
  }

    .rp-btn-dark {
    background: var(--rp-black);
    color: white;
    box-shadow:
        0 10px 24px rgba(0,0,0,0.12),
        0 4px 10px rgba(217,0,0,0.10);
    }

    .rp-btn-outline {
        border: 1px solid rgba(0,0,0,0.24);
        color: #111;
        background: rgba(255,255,255,0.82);
        backdrop-filter: blur(6px);
    }

  .rp-hero-media {
    position: relative;
    width: 100%;
    height: 520px;
    display: flex;
    overflow: hidden;
    border-radius: 18px;
    background: #111;
    box-shadow:
      0 30px 60px rgba(0,0,0,0.12),
      0 8px 24px rgba(0,0,0,0.08);
  }

  .rp-slice {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: contrast(1.08) saturate(1.05);
    transition: transform 0.4s ease;
  }

  .rp-slice:hover {
    transform: scale(1.02);
    z-index: 3;
  }

  .rp-slice:not(:first-child) {
    margin-left: -48px;
  }

  .rp-slice::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.04), rgba(0,0,0,0.45));
    z-index: 1;
  }

  .rp-slice::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: rgba(255,255,255,0.88);
    transform: skewX(-7deg);
    z-index: 2;
  }

  .rp-slice:first-child::after {
    display: none;
  }

  .rp-stat-label {
    margin-top: 2px;
    line-height: 1.15;
  }

  .rp-stat-value {
    line-height: 0.95;
  }

  .rp-stat-rail {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #07111d;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  
  .rp-stat-rail__item {
    min-height: 116px;
    padding: 24px 26px;
    display: flex;
    align-items: center;
    gap: 18px;
    border-right: 1px solid rgba(255,255,255,0.07);
  }
  
  .rp-stat-rail__item:last-child {
    border-right: none;
  }
  
  .rp-stat-rail__item strong {
    font-size: 4rem;
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: -0.04em;
    flex-shrink: 0;
  }
  
  .rp-stat-rail__item div {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .rp-stat-rail__item span {
    color: rgba(255,255,255,0.92);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    line-height: 1.1;
  }
  
  .rp-stat-rail__item p {
    margin: 6px 0 0;
    color: rgba(255,255,255,0.42);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
  }
  
  /* Color system */
  
  .rp-stat-rail__item.orange strong {
    color: #ffb323;
  }
  
  .rp-stat-rail__item.red strong {
    color: #ff5252;
  }
  
  .rp-stat-rail__item.blue strong {
    color: #52a7ff;
  }
  
  .rp-stat-rail__item.green strong {
    color: #73df6c;
  }

  .rp-summary {
    padding: 36px 0;
  }

  .rp-summary-card {
    background: white;
    border: 1px solid var(--rp-border);
    border-radius: 16px;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    overflow: hidden;
  }

  .rp-summary-card > div {
    padding: 28px;
    border-right: 1px solid var(--rp-border);
  }

  .rp-summary-card > div:last-child {
    border-right: none;
  }

  .rp-summary-card p {
    margin: 0;
    color: var(--rp-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 11px;
  }

  .rp-summary-card strong {
    display: block;
    margin-top: 8px;
    font-size: 34px;
    line-height: 1;
    text-transform: uppercase;
  }

  .rp-section {
    padding: 42px 0;
  }

  .rp-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
  }
  
  .rp-section-head h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #101828;
  }

  .rp-section-head a {
    color: var(--rp-red);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
  }

  .rp-disciplines {
    padding-top: 54px;
  }

  .rp-discipline-card {
    padding: 34px 28px 28px;
  }

  .rp-discipline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }

  .rp-discipline-card {
    color: white;
    text-decoration: none;
    min-height: 320px;
    padding: 26px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 38px rgba(0,0,0,0.18);
  }

  .rp-discipline-card.green {
    background: linear-gradient(145deg, rgba(0,133,62,.96), rgba(0,70,32,.96));
  }

  .rp-discipline-card.red {
    background: linear-gradient(145deg, rgba(217,0,0,.96), rgba(120,0,0,.96));
  }

  .rp-discipline-card.blue {
    background: linear-gradient(145deg, rgba(0,87,184,.96), rgba(0,42,94,.96));
  }

  .rp-discipline-card.orange {
    background: linear-gradient(145deg, rgba(244,124,0,.96), rgba(150,70,0,.96));
  }

  .rp-discipline-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.26);
    border-radius: 50%;
    font-size: 24px;
  }

  .rp-discipline-card h3 {
    font-size: 28px;
    text-transform: uppercase;
    margin: 20px 0 8px;
  }

  .rp-discipline-card p {
    color: rgba(255,255,255,0.82);
    line-height: 1.5;
  }

  .rp-discipline-card strong {
    margin-top: 16px;
    font-size: 16px;
    text-transform: uppercase;
  }

  .rp-card-action {
    margin-top: 22px;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 13px 16px;
    border-radius: 6px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
  }

  .rp-chip {
    display: inline-flex;
    width: max-content;
    margin-top: 16px;
    background: rgba(255,255,255,0.18);
    color: white;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .rp-live {
    background: var(--rp-charcoal);
    color: white;
  }

  .rp-section-head.dark h2 {
    color: white;
  }

  .rp-section-head.dark h2 span {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: var(--rp-red);
    border-radius: 50%;
    margin-left: 8px;
  }

  .rp-live-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .rp-live-card {
    min-height: 180px;
    background: #101820;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
    padding: 22px;
    color: white;
    text-decoration: none;
  }

  .rp-live-badge {
    display: inline-block;
    background: var(--rp-red);
    color: white;
    padding: 5px 9px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .rp-live-card small {
    display: block;
    margin-top: 18px;
    color: var(--rp-green);
    font-weight: 900;
    text-transform: uppercase;
  }

  .rp-live-card h3 {
    margin: 8px 0;
  }

  .rp-live-card p {
    color: rgba(255,255,255,0.65);
  }

  .rp-live-card strong {
    color: var(--rp-red);
    text-transform: uppercase;
    font-size: 12px;
  }

  .rp-intelligence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.95fr;
    gap: 18px;
    align-items: start;
  }

  .rp-panel {
    background: white;
    border: 1px solid #e7e4dc;
    border-radius: 14px;
    padding: 18px 20px;
  }

  .rp-row {
    display: grid;
    grid-template-columns: 26px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0ece4;
  }

  .rp-row:last-child {
    border-bottom: none;
  }

  .rp-row p {
    margin: 4px 0 0;
    color: var(--rp-muted);
    font-size: 13px;
  }

  .rp-row span {
    font-size: 12px;
    font-weight: 800;
    color: #9a9488;
  }

  .rp-row strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #101828;
  }
  
  .rp-row p {
    margin: 2px 0 0;
    font-size: 12px;
    color: #777;
    line-height: 1.4;
  }

  .rp-row b {
    font-size: 15px;
    font-weight: 900;
    color: #111827;
  }

  .rp-athlete-panel {
    background: var(--rp-charcoal);
    color: white;
  }

  .rp-athlete-panel p {
    color: rgba(255,255,255,0.7);
  }

  .rp-athlete-panel .rp-btn {
    width: 100%;
    border: 1px solid var(--rp-red);
    margin-top: 18px;
  }

  .rp-footer {
    background: var(--rp-black);
    color: white;
    padding: 50px 0;
  }

  .rp-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
  }

  .rp-footer img {
    height: 54px;
  }

  .rp-footer p {
    color: rgba(255,255,255,0.65);
    max-width: 280px;
  }

  .rp-footer h4 {
    text-transform: uppercase;
    font-size: 13px;
  }

  .rp-footer a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin: 9px 0;
  }

  .rp-hero-copy {
    min-width: 620;
    z-index: 2;
  }

  @media (max-width: 1320px) {
    .rp-hero-grid {
      grid-template-columns: 1fr;
      min-height: auto;
      gap: 36px;
    }

    .rp-hero-media {
      height: 560px;
      max-width: 100%;
    }
  }

  @media (max-width: 1000px) {
    .rp-stat-rail {
      grid-template-columns: 1fr 1fr;
    }

    .rp-stat-rail__item {
      min-height: 110px;
    }
  }

  @media (max-width: 900px) {
    .rp-nav {
      display: none;
    }

    .rp-menu {
      display: block;
    }

    .rp-header-inner {
      height: 96px;
    }

    .rp-logo img {
      height: 56px;
    }

    .rp-summary-card,
    .rp-discipline-grid,
    .rp-live-grid,
    .rp-intelligence-grid,
    .rp-footer-grid {
      grid-template-columns: 1fr;
    }

    .rp-summary-card > div {
      border-right: none;
      border-bottom: 1px solid var(--rp-border);
    }

    .rp-discipline-card {
      min-height: 260px;
    }
  }

  @media (max-width: 720px) {
    .rp-hero-media {
      height: 320px;
    }

    .rp-slice:not(:first-child) {
      margin-left: -34px;
    }
  }

  @media (max-width: 560px) {
    .rp-stat-rail {
      grid-template-columns: 1fr;
    }

    .rp-stat-rail__item strong {
      font-size: 44px;
    }
  }

  @media (max-width: 1100px) {
    .rp-stat-rail {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 640px) {
    .rp-stat-rail {
      grid-template-columns: 1fr;
    }
  
    .rp-stat-rail__item {
      min-height: 92px;
    }
  
    .rp-stat-rail__item strong {
      font-size: 3rem;
    }
  }

  .rp-race-intel {
    background: var(--rp-bg);
    padding-top: 54px;
    padding-bottom: 54px;
  }
  
  .rp-race-intel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.05fr;
    gap: 22px;
    align-items: stretch;
  }
  
  /* Shared panels */
  
  .rp-intel-panel,
  .rp-athlete-spotlight {
    background: #ffffff;
    border: 1px solid var(--rp-border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 18px 35px rgba(0,0,0,0.04);
  }
  
  .rp-intel-panel-head,
  .rp-athlete-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
  }
  
  .rp-intel-panel-head h3,
  .rp-athlete-head h3 {
    margin: 0;
    color: #111827;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
  }
  
  .rp-intel-panel-head span,
  .rp-athlete-head a {
    color: var(--rp-red);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
  }
  
  /* Movers */
  
  .rp-mover-row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 18px;
    align-items: center;
  
    padding: 18px 0;
  
    border-bottom: 1px solid #ece7de;
  
    color: inherit;
    text-decoration: none;
  
    transition: all 0.18s ease;
  }
  
  .rp-mover-row:last-child {
    border-bottom: none;
  }
  
  .rp-mover-row:hover {
    transform: translateX(4px);
  }
  
  .rp-rank {
    color: #857d73;
    font-size: 14px;
    font-weight: 800;
  }
  
  .rp-mover-driver strong {
    display: block;
    color: #101828;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.15;
  }
  
  .rp-mover-driver p {
    margin: 5px 0 0;
    color: #7b7b7b;
    font-size: 12px;
    font-weight: 600;
  }
  
  .rp-mover-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
  
  .rp-movement {
    min-width: 56px;
    height: 28px;
  
    padding: 0 12px;
  
    border-radius: 999px;
  
    display: inline-flex;
    align-items: center;
    justify-content: center;
  
    font-size: 11px;
    font-weight: 900;
  
    letter-spacing: 0.04em;
  }
  
  .rp-movement.up {
    background: rgba(0,133,62,0.12);
    color: #00853e;
  }
  
  .rp-movement.down {
    background: rgba(217,0,0,0.12);
    color: #d90000;
  }
  
  .rp-movement.neutral {
    background: rgba(120,120,120,0.10);
    color: #666;
  }
  
  .rp-mover-points {
    color: #101828;
    font-size: 15px;
    font-weight: 900;
  }
  
  /* Results */
  
  .rp-result-row {
    display: grid;
    grid-template-columns: 64px 1fr 24px;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #eee9df;
  }
  
  .rp-result-row:last-child {
    border-bottom: none;
  }
  
  .rp-result-tag {
    color: var(--rp-red);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  
  .rp-result-content strong {
    display: block;
    color: #101828;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
  }
  
  .rp-result-content p {
    margin: 4px 0 0;
    color: #777;
    font-size: 12px;
  }
  
  .rp-result-arrow {
    color: #101828;
    font-size: 18px;
    font-weight: 900;
  }
  
  /* Athlete Spotlight */
  
  .rp-athlete-spotlight {
    background: #07111d;
    color: white;
    border-color: rgba(255,255,255,0.08);
  }
  
  .rp-athlete-head h3 {
    color: white;
  }
  
  .rp-athlete-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    align-items: center;
  }
  
  .rp-athlete-photo {
    width: 140px;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
  }
  
  .rp-athlete-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .rp-athlete-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #111827, #020617);
    color: rgba(255,255,255,0.35);
    font-size: 72px;
    font-weight: 900;
  }
  
  .rp-athlete-info h4 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
  }
  
  .rp-athlete-info p {
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: 14px;
    line-height: 1.55;
  }
  
  .rp-athlete-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    min-height: 48px;
    border: 1px solid var(--rp-red);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
  }
  
  .rp-empty-intel {
    padding: 28px 0;
    color: #777;
    font-size: 13px;
  }
  
  .rp-empty-intel.dark {
    color: rgba(255,255,255,0.62);
  }
  
  /* Responsive */
  
  @media (max-width: 1000px) {
    .rp-race-intel-grid {
      grid-template-columns: 1fr;
    }
  
    .rp-athlete-card {
      grid-template-columns: 120px 1fr;
    }
  
    .rp-athlete-photo {
      width: 120px;
      height: 150px;
    }
  }
  
  @media (max-width: 560px) {
    .rp-athlete-card {
      grid-template-columns: 1fr;
    }
  
    .rp-athlete-photo {
      width: 100%;
      height: 220px;
    }
  }

  .rp-athlete-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 18px 0;
  }
  
  .rp-athlete-meta div {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 10px;
  }
  
  .rp-athlete-meta strong {
    display: block;
    color: white;
    font-size: 20px;
    line-height: 1;
  }
  
  .rp-athlete-meta span {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,0.45);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }

  .rp-result-media-row {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #eee9df;
  }
  
  .rp-result-media-row:last-child {
    border-bottom: none;
  }
  
  .rp-result-thumb {
    width: 58px;
    height: 52px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: white;
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(145deg, #101828, #020617);
  }
  
  .rp-result-thumb.bikes {
    background: linear-gradient(145deg, #00853e, #003d1d);
  }
  
  .rp-result-thumb.cars {
    background: linear-gradient(145deg, #d90000, #650000);
  }
  
  .rp-result-thumb.karting {
    background: linear-gradient(145deg, #0057b8, #001f52);
  }
  
  .rp-result-thumb.motocross {
    background: linear-gradient(145deg, #f47c00, #7a3300);
  }
  
  .rp-result-main {
    min-width: 0;
  }
  
  .rp-result-discipline {
    display: block;
    margin-bottom: 4px;
    color: var(--rp-red);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
  }
  
  .rp-result-main strong {
    display: block;
    color: #101828;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
  }
  
  .rp-result-main p {
    margin: 4px 0 0;
    color: #777;
    font-size: 12px;
    line-height: 1.3;
  }
  
  .rp-result-status {
    padding: 6px 8px;
    border-radius: 999px;
    background: #f3f0e8;
    color: #555;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .rp-mover-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
  
  .rp-movement {
    min-width: 54px;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  
  .rp-movement.up {
    background: rgba(0,133,62,0.12);
    color: #00853e;
  }
  
  .rp-movement.down {
    background: rgba(217,0,0,0.12);
    color: #d90000;
  }
  
  .rp-movement.neutral {
    background: rgba(120,120,120,0.10);
    color: #777;
  }
  
  .rp-mover-points {
    color: #101828;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
  }
  
  .rp-result-media-row {
    color: inherit;
    text-decoration: none;
  }
  
  .rp-athlete-info {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .rp-athlete-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-top: auto;
  }

  .rp-athlete-spotlight {
    display: flex;
    flex-direction: column;
  }
  
  .rp-athlete-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    align-items: center;
  }
  
  .rp-athlete-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-top: 22px;
  }

  .rp-athlete-spotlight {
    min-height: auto;
  }
  
  .rp-athlete-card {
    margin-bottom: 22px;
  }


.rp-result-thumb {
    width: 72px;
    height: 58px;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #08111f;
    flex-shrink: 0;
  }
  
  .rp-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .rp-result-thumb {
    width: 72px;
    height: 58px;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #08111f;
    flex-shrink: 0;
  }
  
  .rp-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  @media (max-width: 560px) {
    .rp-race-intel {
      overflow-x: hidden;
    }
  
    .rp-race-intel-grid {
      grid-template-columns: 1fr;
      gap: 22px;
    }
  
    .rp-intel-panel,
    .rp-athlete-spotlight {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
    }
  
    .rp-mover-row {
      grid-template-columns: 28px 1fr auto;
      gap: 10px;
    }
  
    .rp-mover-driver {
      min-width: 0;
    }
  
    .rp-mover-driver strong,
    .rp-mover-driver p {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  
    .rp-result-media-row {
      grid-template-columns: 70px minmax(0, 1fr) auto;
      gap: 10px;
    }
  
    .rp-result-main {
      min-width: 0;
    }
  
    .rp-result-main strong,
    .rp-result-main p {
      overflow: hidden;
      text-overflow: ellipsis;
    }
  
    .rp-result-status {
      font-size: 9px;
      padding: 5px 7px;
    }
  
    .rp-athlete-card {
      grid-template-columns: 1fr;
    }
  }

  .rp-result-status.complete {
    background: rgba(46, 204, 113, 0.12);
    color: #34c759;
    border: 1px solid rgba(52, 199, 89, 0.18);
  }

  .rp-result-status.complete {
    font-size: 9px;
    letter-spacing: .12em;
  }

  .rp-result-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  
    line-height: 1.22;
    max-width: 320px;
  }

  .rp-athlete-meta {
    margin-top: 32px;
  }
  
  .rp-athlete-btn {
    margin-top: 44px;
  }

  .rp-live-badge.live {
    background: var(--rp-red);
  }
  
  .rp-live-badge.next {
    background: #ffad2f;
    color: #111;
  }
  
  .rp-live-badge.classified {
    background: #22c55e;
    color: #07111d;
  }

  .rp-bottom-info {
    padding: 28px 0 0;
    background: #f6f4ef;
  }
  
  .rp-bottom-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid var(--rp-border);
    border-radius: 14px 14px 0 0;
    overflow: hidden;
  }
  
  .rp-bottom-info-card {
    padding: 24px 22px;
    border-right: 1px solid var(--rp-border);
  }
  
  .rp-bottom-info-card:last-child {
    border-right: none;
  }
  
  .rp-bottom-info-card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--rp-black);
  }
  
  .rp-bottom-info-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--rp-muted);
  }
  
  /* FOOTER */
  .rp-footer {
    background: linear-gradient(180deg, #05101c 0%, #020913 100%);
    color: white;
    padding: 28px 0 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  
  .rp-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 36px;
    align-items: start;
  }
  
  .rp-footer-brand {
    max-width: 280px;
  }
  
  .rp-footer-logo {
    height: 52px;
    width: auto;
    display: block;
    margin-bottom: 16px;
  }
  
  .rp-footer-brand p {
    margin: 0;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    font-size: 14px;
  }
  
  .rp-footer-links h4 {
    margin: 0 0 14px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
  }
  
  .rp-footer-links a {
    display: block;
    margin: 8px 0;
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
  }
  
  .rp-footer-links a:hover {
    color: #ffffff;
  }
  
  .rp-footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .rp-footer-socials a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    background: rgba(255,255,255,0.03);
    font-weight: 700;
  }
  
  .rp-footer-socials a:hover {
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.08);
  }
  
  .rp-footer-bottom {
    margin-top: 26px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: right;
  }
  
  .rp-footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.56);
    font-size: 13px;
  }
  
  @media (max-width: 1100px) {
    .rp-bottom-info-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .rp-bottom-info-card:nth-child(2) {
      border-right: none;
    }
  
    .rp-bottom-info-card:nth-child(1),
    .rp-bottom-info-card:nth-child(2) {
      border-bottom: 1px solid var(--rp-border);
    }
  
    .rp-footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 28px;
    }
  
    .rp-footer-bottom {
      text-align: left;
    }
  }
  
  @media (max-width: 700px) {
    .rp-bottom-info-grid,
    .rp-footer-grid {
      grid-template-columns: 1fr;
    }
  
    .rp-bottom-info-card,
    .rp-bottom-info-card:nth-child(2) {
      border-right: none;
      border-bottom: 1px solid var(--rp-border);
    }
  
    .rp-bottom-info-card:last-child {
      border-bottom: none;
    }
  
    .rp-footer {
      padding: 24px 0 14px;
    }
  }

  .rp-discipline-gateway {
    padding: 64px 0;
    background: #ffffff;
  }
  
  .rp-discipline-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  
  .rp-discipline-card {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    padding: 24px;
    border-radius: 28px;
    background:
      radial-gradient(circle at top right, rgba(220, 38, 38, 0.16), transparent 34%),
      linear-gradient(135deg, #111827, #030712);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
  }
  
  .rp-discipline-card-cars {
    background:
      radial-gradient(circle at top right, rgba(37, 99, 235, 0.20), transparent 34%),
      linear-gradient(135deg, #111827, #030712);
  }
  
  .rp-discipline-card-karting {
    background:
      radial-gradient(circle at top right, rgba(245, 158, 11, 0.22), transparent 34%),
      linear-gradient(135deg, #111827, #030712);
  }
  
  .rp-discipline-card-kicker {
    display: block;
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    font-weight: 900;
    margin-bottom: 12px;
  }
  
  .rp-discipline-card h3 {
    margin: 0;
    font-size: 2rem;
    letter-spacing: -0.04em;
  }
  
  .rp-discipline-card p {
    max-width: 90%;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
  }
  
  .rp-discipline-card strong {
    position: absolute;
    left: 24px;
    bottom: 24px;
    color: #fff;
  }
  
  @media (max-width: 860px) {
    .rp-discipline-card-grid {
      grid-template-columns: 1fr;
    }
  
    .rp-discipline-card {
      min-height: 220px;
    }
  }