:root {
    --rr-header-height: 68px;
    --rr-page-gutter: clamp(1.1rem, 3vw, 2.4rem);
    --rr-radius-sm: 14px;
    --rr-radius-md: 24px;
    --rr-radius-lg: 36px;
    --rr-shadow-soft: 0 18px 55px rgba(6, 24, 39, 0.14);
    --rr-shadow-device: 0 38px 90px rgba(6, 24, 39, 0.27);
    --rr-navy: var(--wp--preset--color--navy, #0c2d4f);
    --rr-navy-deep: var(--wp--preset--color--navy-deep, #061827);
    --rr-red: var(--wp--preset--color--red, #ea1f45);
    --rr-snow: var(--wp--preset--color--snow, #f6f9fc);
    --rr-muted: var(--wp--preset--color--muted, #66788a);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    background: var(--rr-snow);
    color: var(--rr-navy);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { text-underline-offset: .16em; }

:where(a, button, summary):focus-visible {
    outline: 3px solid rgba(234, 31, 69, .42);
    outline-offset: 4px;
}

.rr-skip-link {
    position: fixed;
    top: .75rem;
    left: .75rem;
    z-index: 9999;
    padding: .65rem .9rem;
    border-radius: 10px;
    color: #fff;
    background: var(--rr-navy-deep);
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform .15s ease;
}
.rr-skip-link:focus { transform: translateY(0); }

.rr-text-red { color: var(--rr-red); }

/* Header */
.rr-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: var(--rr-header-height);
    background: rgba(249, 252, 255, 0.84);
    backdrop-filter: blur(18px) saturate(155%);
    -webkit-backdrop-filter: blur(18px) saturate(155%);
    border-bottom: 1px solid rgba(12, 45, 79, 0.065);
}

.rr-site-header__inner {
    min-height: var(--rr-header-height);
    padding-inline: var(--rr-page-gutter);
}

.rr-brand {
    display: inline-flex;
    align-items: center;
    gap: .72rem;
    color: var(--rr-navy) !important;
    text-decoration: none;
    white-space: nowrap;
}

.rr-brand__mark {
    width: 42px;
    height: 42px;
    display: block;
    object-fit: contain;
}

.rr-brand__name {
    font-size: clamp(1.1rem, 1.5vw, 1.36rem);
    font-weight: 820;
    letter-spacing: -.035em;
}

.rr-site-nav {
    font-size: .92rem;
    font-weight: 650;
}
.rr-site-nav a {
    color: var(--rr-navy) !important;
    text-decoration: none;
}
.rr-site-nav a:hover { color: var(--rr-red) !important; }

/* Hero */
.rr-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(610px, 74svh, 690px);
    background:
        radial-gradient(circle at 16% 4%, rgba(255,255,255,.99) 0 14%, transparent 43%),
        radial-gradient(circle at 78% 20%, rgba(205,228,246,.84) 0 10%, transparent 39%),
        linear-gradient(145deg, #fbfdff 0%, #eef6fb 47%, #dbeaf5 100%);
}

.rr-hero::before {
    content: "";
    position: absolute;
    z-index: -3;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(105deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 28%, rgba(255,255,255,.28) 55%, rgba(255,255,255,.02) 74%),
        radial-gradient(ellipse at 42% 74%, rgba(255,255,255,.94) 0 12%, transparent 43%);
}

.rr-hero::after {
    content: "";
    position: absolute;
    z-index: -2;
    left: -6%;
    right: -6%;
    bottom: -19%;
    height: 43%;
    border-radius: 50% 50% 0 0 / 30% 30% 0 0;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(239,246,251,.98));
    box-shadow: 0 -18px 70px rgba(255,255,255,.8);
    transform: rotate(-2deg);
}

/* Temporary CSS mountain system. Replace this one layer with the final licensed
   alpine background later; layout and copy remain unchanged. */
.rr-hero__mountains {
    position: absolute;
    z-index: -4;
    inset: 12% -6% 0 36%;
    pointer-events: none;
    opacity: .96;
}
.rr-hero__mountain {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    transform-origin: 50% 100%;
    clip-path: polygon(0 100%, 8% 77%, 19% 69%, 31% 39%, 39% 56%, 51% 23%, 62% 50%, 71% 33%, 82% 62%, 91% 43%, 100% 100%);
}
.rr-hero__mountain--back {
    height: 63%;
    background: linear-gradient(145deg, #c9ddeb 0 44%, #edf5fa 44% 100%);
    filter: blur(.2px);
    opacity: .74;
    transform: translateY(-7%) scale(1.08);
}
.rr-hero__mountain--mid {
    height: 58%;
    background: linear-gradient(138deg, #bfd4e4 0 41%, #f8fbfd 41% 64%, #dae8f2 64% 100%);
    opacity: .92;
    transform: translateX(6%) scale(1.03);
}
.rr-hero__mountain--front {
    height: 47%;
    background: linear-gradient(144deg, #aebfcd 0 36%, #fdfefe 36% 61%, #d7e5ef 61% 100%);
    opacity: .9;
    transform: translate(11%, 9%) scale(1.08);
}

.rr-hero__grid {
    position: relative;
    z-index: 2;
    min-height: clamp(610px, 74svh, 690px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, .92fr);
    align-items: center;
    gap: clamp(1.5rem, 3.2vw, 3.5rem);
    padding: clamp(2.8rem, 4.2vw, 4.4rem) var(--rr-page-gutter) clamp(2.8rem, 4vw, 4rem);
}

.rr-hero__copy {
    position: relative;
    z-index: 3;
    max-width: 620px;
    margin: 0;
}

.rr-hero__title {
    margin: 0;
    max-width: 8.7ch;
    color: var(--rr-navy);
    font-size: clamp(3.5rem, 5.2vw, 5rem);
    font-weight: 850;
    letter-spacing: -.072em;
    line-height: .84;
}
.rr-hero__title-line { display: block; }
.rr-hero__title-line + .rr-hero__title-line { margin-top: .08em; }

.rr-hero__positioning {
    margin: clamp(1.15rem, 1.8vw, 1.55rem) 0 0;
    max-width: 31rem;
    color: #283d53;
    font-size: clamp(1rem, 1.18vw, 1.2rem);
    font-weight: 470;
    letter-spacing: -.027em;
    line-height: 1.27;
}
.rr-hero__positioning strong {
    color: var(--rr-navy);
    font-weight: 760;
}

.rr-hero__lead {
    max-width: 33rem;
    margin: clamp(1rem, 1.5vw, 1.3rem) 0 0;
    color: #4f6478;
    font-size: clamp(.96rem, 1vw, 1.04rem) !important;
    line-height: 1.55;
}

.rr-hero__proof {
    margin: .72rem 0 0;
    color: #334b61;
    font-size: clamp(.9rem, .95vw, .98rem);
    font-weight: 520;
}

.rr-store-badges {
    margin-top: 1.2rem;
    gap: .72rem;
}

.rr-store-badge {
    display: inline-flex;
    min-width: 148px;
    min-height: 48px;
    flex-direction: column;
    justify-content: center;
    padding: .5rem .92rem .54rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 11px;
    color: #fff !important;
    background: #050607;
    text-decoration: none;
    line-height: 1;
    box-shadow: 0 9px 24px rgba(6,24,39,.14);
    transition: transform .18s ease, box-shadow .18s ease;
}
.rr-store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 30px rgba(6,24,39,.2);
}
.rr-store-badge__small {
    margin-bottom: .22rem;
    font-size: .61rem;
    font-weight: 500;
    letter-spacing: .01em;
    opacity: .92;
}
.rr-store-badge__large {
    font-size: 1.05rem;
    font-weight: 650;
    letter-spacing: -.025em;
}

.rr-hero__visual {
    position: relative;
    min-height: 510px;
    margin: 0;
}

.rr-phone {
    position: absolute;
    z-index: 3;
    right: clamp(0rem, 1vw, 1.4rem);
    bottom: -4.8rem;
    width: clamp(285px, 25vw, 340px);
    aspect-ratio: 9 / 19.5;
    padding: clamp(8px, .7vw, 11px);
    border-radius: clamp(40px, 3.8vw, 57px);
    background:
        linear-gradient(150deg, #53616c 0%, #0b1118 18%, #010306 48%, #46515b 82%, #0b1118 100%);
    box-shadow:
        0 5px 0 rgba(255,255,255,.18) inset,
        0 -3px 0 rgba(255,255,255,.06) inset,
        var(--rr-shadow-device);
    transform: rotate(6.5deg);
}

.rr-phone::before,
.rr-phone::after {
    content: "";
    position: absolute;
    right: -5px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: #202934;
}
.rr-phone::before { top: 22%; height: 70px; }
.rr-phone::after { top: 34%; height: 42px; }

.rr-phone__screen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: clamp(32px, 3.2vw, 47px);
    background: #dff4db;
}

.rr-phone__screen::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(105deg, rgba(255,255,255,.14), transparent 23% 74%, rgba(255,255,255,.08)),
        linear-gradient(180deg, rgba(0,0,0,.035), transparent 14% 88%, rgba(0,0,0,.08));
}

.rr-phone__screen-image {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: auto;
    max-width: none;
    height: 160%;
    transform: translateX(-50%);
    object-fit: cover;
}

.rr-phone__island {
    position: absolute;
    z-index: 5;
    top: 1.8%;
    left: 50%;
    width: 32%;
    height: 3.5%;
    border-radius: 999px;
    background: #050607;
    transform: translateX(-50%);
    box-shadow: 0 1px 1px rgba(255,255,255,.12) inset;
}

.rr-rank-card {
    position: absolute;
    z-index: 6;
    top: 12%;
    left: -5%;
    width: clamp(130px, 10vw, 158px);
    padding: clamp(.72rem, .9vw, .92rem) clamp(.8rem, 1vw, 1rem);
    border: 1px solid rgba(255,255,255,.76);
    border-radius: clamp(20px, 2vw, 30px);
    background: rgba(255,255,255,.92);
    box-shadow: 0 18px 52px rgba(12,45,79,.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: rotate(-2deg);
}
.rr-rank-card::after {
    content: "";
    position: absolute;
    left: 88%;
    bottom: -68px;
    width: 118px;
    height: 88px;
    border-right: 3px solid var(--rr-red);
    border-bottom: 3px solid var(--rr-red);
    border-radius: 0 0 64px 0;
    transform: rotate(8deg);
    transform-origin: 0 0;
}
.rr-rank-card span {
    display: block;
    color: var(--rr-navy);
    font-size: clamp(.8rem, 1vw, 1rem);
    font-weight: 750;
    letter-spacing: -.02em;
}
.rr-rank-card strong {
    display: block;
    margin-top: .18rem;
    color: var(--rr-red);
    font-size: clamp(2.25rem, 2.8vw, 3.2rem);
    font-weight: 850;
    letter-spacing: -.06em;
    line-height: .95;
}

/* General page/footer */
.rr-front-page > *[id] { scroll-margin-top: calc(var(--rr-header-height) + 18px); }
.rr-page { padding: var(--wp--preset--spacing--section) var(--rr-page-gutter); }
.rr-site-footer { padding: 2rem var(--rr-page-gutter); }
.rr-site-footer a { color: #fff; }
.rr-site-footer__inner { gap: 1.5rem 2.5rem; }
.rr-site-footer__links { gap: .8rem 1.15rem; }
.rr-site-footer__links p { margin: 0; }
.rr-site-footer__links a { text-decoration: none; opacity: .82; }
.rr-site-footer__links a:hover { opacity: 1; }

@media (max-width: 1080px) {
    .rr-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(320px, .92fr);
        gap: 1.2rem;
    }
    .rr-hero__title { font-size: clamp(3.35rem, 5.8vw, 4.8rem); }
    .rr-rank-card { left: -2%; }
}

@media (max-width: 899px) {
    :root { --rr-header-height: 66px; }

    .rr-site-header__inner { min-height: var(--rr-header-height); }
    .rr-brand__mark { width: 38px; height: 38px; }
    .rr-brand__name { font-size: 1.12rem; }

    .rr-hero { min-height: auto; }
    .rr-hero__mountains { inset: 42% -34% 0 -4%; opacity: .72; }
    .rr-hero::before {
        background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.82) 42%, rgba(255,255,255,.18) 69%, transparent 100%);
    }

    .rr-hero__grid {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 1.4rem;
        padding-top: clamp(3.2rem, 8vw, 5rem);
        padding-bottom: 0;
        text-align: center;
    }

    .rr-hero__copy {
        max-width: 680px;
        margin-inline: auto;
    }
    .rr-hero__title,
    .rr-hero__positioning,
    .rr-hero__lead { margin-inline: auto; }
    .rr-hero__title {
        max-width: none;
        font-size: clamp(3.25rem, 9vw, 5.1rem);
        line-height: .88;
    }
    .rr-hero__positioning { max-width: 31rem; }
    .rr-hero__lead { max-width: 35rem; }
    .rr-store-badges { justify-content: center; }

    .rr-hero__visual {
        min-height: clamp(470px, 62vw, 580px);
        width: min(700px, 100%);
        margin-inline: auto;
    }
    .rr-phone {
        right: 50%;
        bottom: -8.8rem;
        width: clamp(285px, 42vw, 350px);
        transform: translateX(54%) rotate(4deg);
    }
    .rr-rank-card {
        top: 14%;
        left: 15%;
        transform: rotate(-2deg);
    }
}

@media (max-width: 599px) {
    :root {
        --rr-header-height: 62px;
        --rr-page-gutter: 1rem;
    }

    .rr-site-header { min-height: var(--rr-header-height); }
    .rr-site-header__inner { min-height: var(--rr-header-height); }
    .rr-brand { gap: .5rem; }
    .rr-brand__mark { width: 34px; height: 34px; }
    .rr-brand__name { font-size: 1.02rem; }

    .rr-hero__grid { padding-top: 2.65rem; }
    .rr-hero__title {
        font-size: clamp(2.95rem, 15vw, 4.25rem);
        letter-spacing: -.075em;
    }
    .rr-hero__positioning {
        margin-top: 1.35rem;
        max-width: 23rem;
        font-size: 1.06rem;
        line-height: 1.32;
    }
    .rr-hero__lead {
        margin-top: 1.1rem;
        max-width: 22rem;
        font-size: .96rem !important;
    }
    .rr-hero__proof { font-size: .93rem; }
    .rr-store-badges {
        width: 100%;
        gap: .55rem;
    }
    .rr-store-badge {
        min-width: 0;
        flex: 1 1 145px;
        max-width: 172px;
        min-height: 50px;
        padding-inline: .85rem;
    }
    .rr-store-badge__large { font-size: 1.05rem; }

    .rr-hero__visual { min-height: 410px; }
    .rr-phone {
        bottom: -8.5rem;
        width: min(270px, 68vw);
        border-radius: 40px;
        transform: translateX(51%) rotate(3.5deg);
    }
    .rr-phone__screen { border-radius: 32px; }
    .rr-rank-card {
        top: 13%;
        left: 4%;
        width: 132px;
        padding: .75rem .85rem;
        border-radius: 18px;
    }
    .rr-rank-card strong { font-size: 2.45rem; }
    .rr-rank-card::after {
        left: 84%;
        bottom: -54px;
        width: 90px;
        height: 68px;
        border-width: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Shared section primitives */
.rr-eyebrow {
    margin: 0 0 .9rem;
    color: #8594a5;
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .28em;
    line-height: 1.2;
}

.rr-section-title {
    margin: 0;
    max-width: 15ch;
    color: var(--rr-navy-deep);
    font-size: clamp(2.65rem, 4.6vw, 4.3rem);
    font-weight: 850;
    letter-spacing: -.065em;
    line-height: .93;
}
.rr-section-title > span { display: block; }
.rr-section-title > span + span { margin-top: .06em; }

.rr-section-lead {
    margin: 1.2rem 0 0;
    max-width: 36rem;
    color: #536579;
    font-size: clamp(1rem, 1.2vw, 1.14rem);
    letter-spacing: -.018em;
    line-height: 1.48;
}

/* Current season */
.rr-season {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 17%, rgba(198,224,244,.88) 0 11%, transparent 35%),
        linear-gradient(145deg, #fbfdff 0%, #f3f8fc 45%, #e8f2f8 100%);
}

.rr-season::before,
.rr-season::after {
    content: "";
    position: absolute;
    z-index: -2;
    pointer-events: none;
}

.rr-season::before {
    right: -7%;
    top: 10%;
    width: 58%;
    height: 52%;
    opacity: .56;
    background: linear-gradient(145deg, #d4e6f1 0 42%, #fbfdff 42% 63%, #c8dae7 63% 100%);
    clip-path: polygon(0 100%, 15% 74%, 28% 57%, 39% 70%, 55% 26%, 66% 51%, 77% 18%, 100% 100%);
}

.rr-season::after {
    left: -8%;
    right: -8%;
    bottom: -17%;
    height: 47%;
    border-radius: 50% 50% 0 0 / 25% 25% 0 0;
    background: linear-gradient(180deg, rgba(255,255,255,.96), #e8f1f7);
    transform: rotate(-1.5deg);
    box-shadow: 0 -16px 62px rgba(255,255,255,.72);
}

.rr-season__inner {
    position: relative;
    z-index: 2;
    padding: clamp(4.6rem, 6vw, 6.2rem) var(--rr-page-gutter) clamp(5.1rem, 6.5vw, 6.8rem);
}

.rr-season__copy { max-width: 750px; }
.rr-season__lead { max-width: 39rem; }

.rr-season-card {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(260px, .72fr);
    gap: 0;
    width: min(100%, 930px);
    margin: clamp(2.2rem, 3.6vw, 3.4rem) auto 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.82);
    border-radius: 30px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 24px 68px rgba(12,45,79,.12);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.rr-season-card__top {
    grid-column: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.3rem;
    padding: 1.65rem 1.8rem .85rem;
}

.rr-season-profile {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    min-width: 0;
}

.rr-season-profile__avatar {
    width: 112px;
    height: 112px;
    flex: 0 0 auto;
    object-fit: cover;
    border: 5px solid rgba(255,255,255,.95);
    border-radius: 24px;
    box-shadow: 0 9px 24px rgba(12,45,79,.12);
}

.rr-season-profile__identity {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
}

.rr-season-profile__name {
    color: #091a31;
    font-size: clamp(1.5rem, 2.15vw, 2rem);
    font-weight: 820;
    letter-spacing: -.045em;
    line-height: 1.02;
}

.rr-season-profile__level {
    display: inline-flex;
    margin-top: .72rem;
    padding: .42rem .82rem;
    border-radius: 999px;
    color: #7c4d1d;
    background: #f5e4c9;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1;
}

.rr-season-selector {
    min-width: 144px;
    text-align: center;
}

.rr-season-selector__label {
    display: block;
    margin-bottom: .3rem;
    color: #758496;
    font-size: .86rem;
    font-weight: 600;
}

.rr-season-selector__value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .66rem;
    color: #748395;
    font-size: 1.55rem;
    line-height: 1;
}

.rr-season-selector__value strong {
    color: #091a31;
    font-size: 1.75rem;
    font-weight: 820;
    letter-spacing: -.035em;
}

.rr-season-card__bottom {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(260px, .72fr);
}

.rr-season-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .72rem;
    padding: .85rem 1.8rem 1.7rem;
}

.rr-stat {
    display: flex;
    min-width: 0;
    min-height: 128px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .75rem .55rem;
    border: 1px solid rgba(12,45,79,.035);
    border-radius: 21px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 8px 24px rgba(12,45,79,.055);
    text-align: center;
}

.rr-stat__icon {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    margin-bottom: .5rem;
    border-radius: 50%;
    background: #eef5fb;
    color: #6e9ed0;
}
.rr-stat--runs .rr-stat__icon { color: #6baa79; background: #edf6ee; }
.rr-stat--distance .rr-stat__icon { color: #8c79ca; background: #f2eefb; }
.rr-stat--vertical .rr-stat__icon { color: #c89b45; background: #fbf5e9; }

.rr-stat strong {
    color: #08182e;
    font-size: 1.52rem;
    font-weight: 830;
    letter-spacing: -.045em;
    line-height: 1;
}

.rr-stat > span:last-child {
    margin-top: .35rem;
    color: #7d8b9b;
    font-size: .78rem;
    line-height: 1.15;
}

.rr-season-rank {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.55rem 1.5rem 1.65rem;
    border-left: 1px solid rgba(12,45,79,.09);
    text-align: center;
}

.rr-season-rank__label {
    margin-bottom: .8rem;
    color: #536579;
    font-size: 1.05rem;
    font-weight: 760;
    letter-spacing: -.018em;
}

.rr-season-medal {
    position: relative;
    display: flex;
    width: 188px;
    aspect-ratio: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 8px solid #bd6e30;
    border-radius: 50%;
    color: #612b11;
    background:
        radial-gradient(circle at 34% 24%, rgba(255,255,255,.67), transparent 20%),
        radial-gradient(circle at 50% 50%, #f0b272 0 47%, #cb7b3d 48% 70%, #8e4e24 71% 100%);
    box-shadow:
        0 16px 28px rgba(116,61,23,.2),
        inset 0 0 0 4px rgba(255,219,172,.68),
        inset 0 0 0 7px rgba(107,53,22,.28);
}

.rr-season-medal::before {
    content: "";
    position: absolute;
    inset: 15px;
    border: 2px solid rgba(113,56,24,.42);
    border-radius: 50%;
}

.rr-season-medal__mountain {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: .12rem;
    color: #8e4f28;
    opacity: .83;
}

.rr-season-medal strong {
    position: relative;
    z-index: 1;
    color: #4b210d;
    font-size: 3.15rem;
    font-weight: 820;
    letter-spacing: -.06em;
    line-height: .92;
    text-shadow: 0 1px rgba(255,226,190,.7);
}

.rr-season-medal > span:last-child {
    position: relative;
    z-index: 1;
    margin-top: .34rem;
    color: #5d2b13;
    font-size: 1.02rem;
    font-weight: 820;
    letter-spacing: .04em;
}

@media (max-width: 899px) {
    .rr-section-title { font-size: clamp(2.55rem, 7vw, 3.8rem); }

    .rr-season__inner {
        padding-top: 4.4rem;
        padding-bottom: 4.8rem;
    }

    .rr-season::before {
        top: 8%;
        right: -22%;
        width: 84%;
        opacity: .42;
    }

    .rr-season-card {
        grid-template-columns: 1fr;
        max-width: 720px;
        border-radius: 27px;
    }

    .rr-season-card__top {
        grid-column: 1;
        padding-bottom: .75rem;
    }

    .rr-season-card__bottom {
        grid-column: 1;
        grid-template-columns: 1fr;
    }

    .rr-season-rank {
        grid-column: 1;
        grid-row: auto;
        min-height: auto;
        flex-direction: row;
        justify-content: space-between;
        gap: 1.5rem;
        padding: 1.35rem 1.8rem 1.6rem;
        border-top: 1px solid rgba(12,45,79,.08);
        border-left: 0;
        text-align: left;
    }

    .rr-season-rank__label { margin: 0; font-size: 1.1rem; }
    .rr-season-medal { width: 150px; border-width: 6px; }
    .rr-season-medal strong { font-size: 2.55rem; }
}

@media (max-width: 599px) {
    .rr-eyebrow { margin-bottom: .72rem; font-size: .66rem; }
    .rr-section-title {
        max-width: 11.5ch;
        font-size: clamp(2.4rem, 11.5vw, 3.15rem);
        line-height: .95;
    }
    .rr-section-lead { margin-top: 1rem; font-size: 1rem; }

    .rr-season__inner {
        padding: 3.9rem var(--rr-page-gutter) 4.25rem;
    }

    .rr-season-card {
        margin-top: 2rem;
        border-radius: 24px;
    }

    .rr-season-card__top {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.2rem 1.1rem .55rem;
    }

    .rr-season-profile { gap: .82rem; }
    .rr-season-profile__avatar {
        width: 86px;
        height: 86px;
        border-width: 4px;
        border-radius: 20px;
    }
    .rr-season-profile__name { font-size: 1.48rem; }
    .rr-season-profile__level { margin-top: .52rem; font-size: .78rem; }

    .rr-season-selector {
        display: flex;
        min-width: 0;
        align-items: center;
        justify-content: space-between;
        padding: .7rem .75rem;
        border-radius: 16px;
        background: rgba(247,250,253,.78);
        text-align: left;
    }
    .rr-season-selector__label { margin: 0; }
    .rr-season-selector__value strong { font-size: 1.35rem; }

    .rr-season-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .58rem;
        padding: .72rem 1.1rem 1.1rem;
    }
    .rr-stat { min-height: 112px; border-radius: 18px; }
    .rr-stat__icon { width: 40px; height: 40px; }

    .rr-season-rank {
        align-items: center;
        padding: 1.05rem 1.1rem 1.2rem;
    }
    .rr-season-rank__label { max-width: 7ch; font-size: 1rem; }
    .rr-season-medal { width: 125px; }
    .rr-season-medal__mountain svg { width: 48px; height: auto; }
    .rr-season-medal strong { font-size: 2.12rem; }
    .rr-season-medal > span:last-child { font-size: .82rem; }
}

/* Your runs: text remains localizable; bars and ascent are decorative. */
.rr-runs {
    position: relative;
    isolation: isolate;
    margin-block-start: 0;
    color: #f6f8fc;
    background: radial-gradient(ellipse at 85% 25%, #182b3e 0, transparent 58%), #080f19;
}
.rr-runs__inner {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 3.75rem);
    max-width: 1180px;
    margin-inline: auto;
    padding: clamp(4rem, 6vw, 6rem) var(--rr-page-gutter);
}
.rr-runs__inner > * { min-width: 0; margin-block: 0; }
.rr-runs .rr-eyebrow { display: flex; align-items: center; gap: 1rem; color: #a3afbf; }
.rr-runs .rr-eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--rr-red); flex-shrink: 0; }
.rr-runs__title {
    max-width: none;
    color: #f6f8fc;
    font-size: clamp(2.25rem, 3.5vw, 3.1rem);
    line-height: 1.04;
    letter-spacing: -.055em;
    overflow-wrap: anywhere;
}
.rr-runs__title > span { display: inline; }
.rr-runs__lead { margin-top: 1.5rem; color: #bbc5d2; font-size: 1.06rem; line-height: 1.65; }
.rr-runs-card {
    padding: clamp(1.1rem, 2.2vw, 1.8rem);
    border: 1px solid #45566b;
    border-radius: 24px;
    background: linear-gradient(135deg, #192330, #0c131d 65%);
    box-shadow: 0 24px 60px #0005, inset 0 1px 0 #ffffff0a;
    font-variant-numeric: tabular-nums;
}
.rr-runs-card__header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); gap: 1rem; align-items: center; margin-bottom: 1.6rem; }
.rr-runs-card__day h3 { margin: 0; color: #f6f8fc; font-size: clamp(1.45rem, 2.3vw, 2rem); letter-spacing: -.04em; line-height: 1.2; overflow-wrap: anywhere; }
.rr-runs-card__day p { margin: .4rem 0 0; color: #a4afbf; font-size: 1rem; }
.rr-runs-card__best { padding-inline-start: 1.25rem; border-inline-start: 1px solid #3b4655; }
.rr-runs-card__best span { display: block; color: #bbc5d2; font-size: .85rem; }
.rr-runs-card__best strong { display: block; margin-top: .3rem; color: #ff3354; font-size: clamp(2.8rem, 4.4vw, 3.7rem); letter-spacing: -.06em; line-height: 1; }
.rr-runs-card__comparison { position: relative; }
.rr-runs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.rr-run { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 3.2rem; align-items: center; gap: 1rem; min-height: 64px; padding: .85rem 3.4rem .85rem 1rem; border: 1px solid #ffffff07; border-radius: 12px; background: #ffffff04; }
.rr-run__number { font-size: 1.1rem; font-weight: 700; }
.rr-run strong { font-size: 1.4rem; text-align: end; line-height: 1.2; }
.rr-run__bar { height: 4px; border-radius: 4px; background: #ffffff05; }
.rr-run__bar::before { content: ""; display: block; width: var(--rr-progress); height: 100%; border-radius: inherit; background: #70839c; }
.rr-run--best { border-color: #d93651; background: linear-gradient(90deg, #e9264522, #e926450a); }
.rr-run--best strong { color: #ff3354; }
.rr-run--best .rr-run__bar::before { background: #ff3354; box-shadow: 0 0 14px #ff335444; }
.rr-runs-card__ascent { position: absolute; inset-block: 0; inset-inline-end: .55rem; width: 42px; height: 100%; color: #ff3354; filter: drop-shadow(0 0 5px #ff335455); pointer-events: none; }
@media (max-width: 899px) {
    .rr-runs__inner { grid-template-columns: 1fr; gap: 2.3rem; padding-block: 4.4rem; }
    .rr-runs__copy { max-width: 38rem; }
    .rr-runs-card { width: 100%; max-width: 600px; justify-self: center; }
}
@media (max-width: 599px) {
    .rr-runs__inner { padding-block: 3.9rem; gap: 2rem; }
    .rr-runs__title { font-size: clamp(2rem, 8.5vw, 2.8rem); }
    .rr-runs__lead { font-size: 1rem; }
    .rr-runs-card { border-radius: 20px; }
    .rr-runs-card__header { gap: .7rem; }
    .rr-runs-card__best { padding-inline-start: .8rem; }
    .rr-run { gap: .55rem; grid-template-columns: 2.2rem minmax(0, 1fr) 2.8rem; padding-inline: .7rem 2.7rem; }
    .rr-run strong { font-size: 1.25rem; }
    .rr-runs-card__ascent { width: 32px; inset-inline-end: .4rem; }
}

/* Top Riders — illustrative app ranking, with localizable HTML copy. */
.rr-top { position: relative; isolation: isolate; overflow: hidden; margin-block-start: 0; background: radial-gradient(ellipse at 80% 45%, #e9f2fa, transparent 65%), #fbfdff; }
.rr-top::before,.rr-top::after { content: ""; position: absolute; z-index: -1; width: 150%; height: 85%; border: 1px solid #cedfeb; border-radius: 50%; pointer-events: none; transform: rotate(-28deg); }
.rr-top::before { inset: -45% auto auto -55%; }
.rr-top::after { inset: 20% auto auto 40%; }
.rr-top__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); max-width: 1180px; margin-inline: auto; padding: clamp(4rem, 6vw, 6rem) var(--rr-page-gutter); }
.rr-top__inner > * { min-width: 0; margin-block: 0; }
.rr-top .rr-eyebrow { color: #526c96; }
.rr-top__title { max-width: 11ch; font-size: clamp(2.7rem, 4.4vw, 4rem); line-height: 1; overflow-wrap: anywhere; }
.rr-top__title > span { display: inline; }
.rr-top__lead { max-width: 30rem; margin-top: 1.6rem; color: #526785; line-height: 1.6; }
.rr-top__filters { list-style: none; display: flex; flex-wrap: wrap; gap: .65rem; padding: 0; margin: 1.6rem 0 0; }
.rr-top__filters li { display: flex; gap: .65rem; align-items: center; padding: .65rem .95rem; border: 1px solid #e5ebf1; border-radius: 14px; background: #ffffffc9; color: #203955; font-size: .9rem; box-shadow: 0 5px 18px #16334a06; }
.rr-top__filters svg { width: 21px; height: 21px; flex-shrink: 0; color: #687e9b; }
.rr-leaderboard { width: 100%; max-width: 445px; justify-self: center; border: 1px solid #e0e8f1; border-radius: 24px; padding: 1.1rem; background: #ffffffad; box-shadow: 0 22px 60px #153f6521; font-variant-numeric: tabular-nums; }
.rr-leaderboard__title { margin: .2rem .4rem 1rem; color: #08172e; font-size: 1.2rem; line-height: 1.3; letter-spacing: -.03em; }
.rr-leaderboard__metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; padding: 3px; margin: 0 0 .8rem; border-radius: 12px; background: #eef1f4; text-align: center; }
.rr-leaderboard__metrics li { padding: .55rem .2rem; font-size: .75rem; line-height: 1.4; color: #5c6675; overflow-wrap: anywhere; }
.rr-leaderboard__metrics .rr-leaderboard__metric--selected { color: #d7193e; background: white; border-radius: 9px; box-shadow: 0 2px 6px #0000000a; font-weight: 650; }
.rr-leaderboard__position { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; margin-bottom: .65rem; border-radius: 16px; color: white; background: linear-gradient(115deg,#ed2044,#ff455c); box-shadow: 0 6px 15px #ea1f4520; }
.rr-leaderboard__position > div { min-width: 0; }
.rr-leaderboard__position > div:last-child { text-align: end; }
.rr-leaderboard__position span { display: block; font-size: .7rem; line-height: 1.4; }
.rr-leaderboard__position strong { display: block; margin-top: .2rem; font-size: 1.6rem; line-height: 1.1; }
.rr-leaderboard__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.rr-rider { display: grid; grid-template-columns: 22px 36px minmax(0,1fr) auto; align-items: center; gap: .6rem; min-height: 58px; padding: .55rem .65rem; border: 1px solid #edf0f4; border-radius: 12px; background: #ffffffc9; color: #0d1c30; }
.rr-rider__place { color: #7c899b; font-size: .78rem; }
.rr-rider__place svg { display: block; width: 22px; height: 22px; }
.rr-rider__place--1 { color: #d5a600; }
.rr-rider__place--2 { color: #919ca8; }
.rr-rider__place--3 { color: #c87928; }
.rr-rider:first-child { border-color: #eedc8c; }
.rr-rider__avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #f0f1f3; color: #a1a5ab; object-fit: cover; }
.rr-rider__avatar svg { width: 19px; height: 19px; }
.rr-rider__identity { min-width: 0; }
.rr-rider__name { font-size: .78rem; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.rr-rider__location { display: block; color: #67768a; font-size: .68rem; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rr-rider__score { font-size: 1rem; }
.rr-rider--you { border-color: #f7b1bc; background: #fff4f6; }
.rr-rider--you .rr-rider__name,.rr-rider--you .rr-rider__score { color: #d7193e; }
.rr-rider__you { display: inline-block; vertical-align: middle; padding: .08rem .28rem; border-radius: 4px; color: #fff; background: #df2042; font-size: .53rem; line-height: 1.4; }
.rr-top__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 899px) {
    .rr-top__inner { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 4.4rem; }
    .rr-top__copy { max-width: 38rem; }
    .rr-top__title { font-size: clamp(2.7rem, 6.5vw, 3.7rem); }
    .rr-top__lead { max-width: 36rem; }
}
@media (max-width: 599px) {
    .rr-top__inner { padding-block: 3.9rem; gap: 2rem; }
    .rr-top__title { font-size: clamp(2.65rem, 11vw, 3.2rem); }
    .rr-top__filters { gap: .45rem; }
    .rr-top__filters li { padding: .55rem .65rem; font-size: .8rem; gap: .4rem; }
    .rr-leaderboard { padding: .75rem; border-radius: 20px; }
    .rr-rider { grid-template-columns: 19px 30px minmax(0,1fr) auto; gap: .4rem; padding-inline: .45rem; }
    .rr-rider__avatar { width: 30px; height: 30px; }
    .rr-rider__name { font-size: .73rem; }
    .rr-rider__score { font-size: .93rem; }
}

/* Best Track: schematic map and an HTML score overlay. */
.rr-track { position: relative; isolation: isolate; overflow: hidden; margin-block-start: 0; background: #edf1e6 url('../images/best-track-map.svg') center / cover no-repeat; }
.rr-track::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(105deg, #fffffff5 0%, #ffffffe6 26%, #ffffff50 56%, #ffffff08 85%); pointer-events: none; }
.rr-track__inner { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); align-items: center; gap: 1.5rem 3rem; max-width: 1180px; margin-inline: auto; padding: clamp(4rem,6vw,6rem) var(--rr-page-gutter) clamp(3rem,5vw,5rem); }
.rr-track__inner > * { min-width: 0; margin-block: 0; }
.rr-track .rr-eyebrow { color: #526c96; }
.rr-track__title { max-width: 15ch; font-size: clamp(2.6rem,4vw,3.6rem); line-height: 1.02; overflow-wrap: anywhere; }
.rr-track__title > span { display: inline; }
.rr-track__lead { max-width: 31rem; margin-top: 1.4rem; color: #526785; line-height: 1.6; }
.rr-track-card { margin-top: 2.5rem; padding: 1.7rem; color: #fff; border: 1px solid #ffffff20; border-radius: 21px; background: linear-gradient(130deg,#222b2d,#161e23); box-shadow: 0 20px 40px #16241f30; }
.rr-track-card__name { font-size: 1.3rem; line-height: 1.3; }
.rr-track-card__place { margin: .2rem 0 1.4rem; color: #b8c1c2; font-size: .85rem; }
.rr-track-card__stats { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.rr-track-card__rank span { display: block; color: #c0c8cb; font-size: .8rem; }
.rr-track-card__rank strong { display: block; font-size: 2.5rem; line-height: 1.1; letter-spacing: -.04em; }
.rr-track-card__turns { padding-inline-start: 1rem; border-inline-start: 1px solid #ffffff40; font-size: .85rem; }
.rr-track-card__label { display: flex; align-items: center; gap: .9rem; padding: .7rem 1rem; border: 1px solid #ffffff18; border-radius: 18px; background: #ffffff05; color: #ff4561; font-size: .8rem; font-weight: 650; }
.rr-track-card__label > span { font-size: 1.25rem; line-height: 1; }
.rr-track-route { grid-column: 1 / -1; position: relative; height: 190px; margin: .5rem 0 0; color: #ed2044; }
.rr-track-route__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rr-track-route__scores { position: absolute; inset: 0; padding: 0; margin: 0; list-style: none; }
.rr-track-route__scores li { position: absolute; left: var(--rr-x); top: var(--rr-y); transform: translate(-50%,-50%); display: grid; place-items: center; width: clamp(42px,4.5vw,59px); aspect-ratio: 1; border: 3px solid #fff; border-radius: 50%; background: #ed2044; color: #fff; box-shadow: 0 5px 12px #13231e40; font-size: clamp(.8rem,1.45vw,1.1rem); font-weight: 750; font-variant-numeric: tabular-nums; }
@media (max-width: 899px) {
    .rr-track__inner { grid-template-columns: 1fr; gap: 2rem; padding-block: 4.4rem; }
    .rr-track__copy { max-width: 38rem; }
    .rr-track__title { font-size: clamp(2.6rem,6.5vw,3.5rem); }
    .rr-track-card { width: 100%; max-width: 460px; margin-top: 0; justify-self: end; }
    .rr-track-route { height: 150px; margin-block: 0 1rem; }
}
@media (max-width: 599px) {
    .rr-track { background-position: 60% center; }
    .rr-track::before { background: linear-gradient(180deg,#fffffff5,#ffffffe0 32%,#ffffff30); }
    .rr-track__inner { padding-block: 3.9rem; gap: 1.8rem; }
    .rr-track__title { font-size: clamp(2.4rem,10vw,3.1rem); }
    .rr-track-card { padding: 1.15rem; }
    .rr-track-card__stats { gap: .75rem; }
    .rr-track-card__label { padding: .55rem .7rem; gap: .5rem; }
    .rr-track-route { height: 190px; }
    .rr-track-route__scores li { width: 36px; border-width: 2px; font-size: .72rem; }
}

/* Season History */
.rr-history { position: relative; isolation: isolate; overflow: hidden; margin-block-start: 0; background: radial-gradient(ellipse at 90% 40%,#eaf2f9,transparent 70%),#fbfdff; }
.rr-history::before { content: ""; position: absolute; z-index: -1; width: 130%; height: 95%; inset: -28% auto auto 36%; border: 1px solid #d5e4f0; border-radius: 50%; transform: rotate(-35deg); pointer-events: none; }
.rr-history__inner { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.25fr); gap: clamp(2rem,4vw,3.5rem); align-items: center; max-width: 1180px; margin-inline: auto; padding: clamp(4rem,6vw,6rem) var(--rr-page-gutter); }
.rr-history__inner > * { min-width: 0; margin-block: 0; }
.rr-history .rr-eyebrow { color: #526c96; }
.rr-history__title { max-width: none; font-size: clamp(2.5rem,3.7vw,3.5rem); line-height: 1.04; overflow-wrap: anywhere; }
.rr-history__title > span { display: block; margin-top: .08em; }
.rr-history__lead { margin-top: 1.4rem; color: #526785; line-height: 1.6; }
.rr-history__benefits { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; padding: 0; margin: 2rem 0 0; }
.rr-history__benefits li { min-width: 0; color: #526785; font-size: .8rem; line-height: 1.45; }
.rr-history__benefits li + li { border-inline-start: 1px solid #dce5ef; padding-inline-start: .8rem; }
.rr-history__benefit-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: .6rem; border-radius: 50%; background: #fcecef; color: #ea4760; }
.rr-history__benefit-icon svg { width: 23px; height: 23px; }
.rr-history__benefits li:nth-child(2) .rr-history__benefit-icon { color: #5287ba; background: #ecf3fb; }
.rr-history__benefits li:nth-child(3) .rr-history__benefit-icon { color: #599e70; background: #ebf6ef; }
.rr-history__support { max-width: 25ch; margin: 2.5rem 0 0; color: #526c96; font-size: .65rem; letter-spacing: .2em; line-height: 1.9; }
.rr-history__support::before { content: ""; display: block; width: 45px; height: 1px; background: #8295af; margin-bottom: 1rem; }
.rr-history-timeline { list-style: none; padding: 0 0 0 64px; position: relative; display: grid; gap: .85rem; font-variant-numeric: tabular-nums; }
.rr-history-timeline::before { content: ""; position: absolute; inset: 27px auto 40px 47px; width: 1px; background: #ccdae8; }
.rr-history-item { position: relative; min-width: 0; }
.rr-history-item__year { position: absolute; top: 23px; left: -64px; color: #607a9b; font-size: .75rem; font-weight: 650; }
.rr-history-item__year::after { content: ""; position: absolute; top: 4px; left: 42px; width: 9px; height: 9px; border: 1px solid #7d98bb; border-radius: 50%; background: #fff; }
.rr-history-item--current .rr-history-item__year { color: #df2042; }
.rr-history-item--current .rr-history-item__year::after { background: #ed2044; border-color: #ed2044; box-shadow: 0 0 0 3px #fff,0 0 0 4px #ed2044; }
.rr-history-card { padding: 1rem 1.2rem; border: 1px solid #ffffff; border-radius: 18px; background: #ffffffdf; box-shadow: 0 12px 30px #1b42650b; }
.rr-history-item--current .rr-history-card { border-color: #ef3151; box-shadow: 0 12px 30px #c3344610; }
.rr-history-profile { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.rr-history-profile img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.rr-history-profile > div { min-width: 0; }
.rr-history-profile strong { display: block; color: #081a30; font-size: 1.05rem; line-height: 1.3; overflow-wrap: anywhere; }
.rr-history-profile span { display: block; color: #677d96; font-size: .8rem; margin-top: .25rem; }
.rr-history-card__season { margin: 0 0 .65rem; color: #081a30; font-size: .92rem; line-height: 1.3; }
.rr-history-card__data { display: grid; grid-template-columns: minmax(0,1fr) 86px; align-items: center; gap: .9rem; }
.rr-history-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .5rem; margin: 0; }
.rr-history-stats > div { min-width: 0; display: flex; flex-direction: column-reverse; justify-content: end; }
.rr-history-stats dt { margin: .15rem 0 0; color: #647992; font-size: .64rem; line-height: 1.3; }
.rr-history-stats dd { margin: 0; color: #0a1d34; font-size: .95rem; font-weight: 750; line-height: 1.2; }
.rr-history-card__rank { border-inline-start: 1px solid #e0e7f0; padding-inline-start: .9rem; }
.rr-history-card__rank span { display: block; color: #5f7189; font-size: .62rem; line-height: 1.4; }
.rr-history-card__rank strong { display: block; margin-top: .2rem; color: #091d34; font-size: 1.65rem; line-height: 1.1; letter-spacing: -.035em; }
.rr-history-item--current .rr-history-card__rank strong { color: #ed2044; font-size: 2.15rem; }
.rr-history-item--current .rr-history-stats dd { font-size: 1.15rem; }
@media (max-width: 999px) {
    .rr-history__inner { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 4.4rem; }
    .rr-history__copy { max-width: 38rem; }
    .rr-history__title { font-size: clamp(2.6rem,6vw,3.6rem); }
    .rr-history__benefits { max-width: 420px; }
    .rr-history-timeline { width: 100%; max-width: 680px; justify-self: center; }
}
@media (max-width: 599px) {
    .rr-history__inner { padding-block: 3.9rem; gap: 2rem; }
    .rr-history__title { font-size: clamp(2.4rem,10vw,3.1rem); }
    .rr-history-timeline { padding-inline-start: 17px; }
    .rr-history-timeline::before { left: 3px; }
    .rr-history-item__year { left: -18px; top: 22px; font-size: 0; }
    .rr-history-item__year::after { left: 0; }
    .rr-history-card { padding: 1rem; border-radius: 16px; }
    .rr-history-card__data { grid-template-columns: minmax(0,1fr) 76px; gap: .7rem; }
    .rr-history-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
    .rr-history-card__rank { padding-inline-start: .7rem; }
    .rr-history-profile { gap: .7rem; }
    .rr-history-profile img { width: 52px; height: 52px; }
    .rr-history-profile strong { font-size: .95rem; }
    .rr-history__benefits { gap: .6rem; }
    .rr-history__benefits li { font-size: .75rem; }
}

/* Final install CTA — structural vector medal, localized HTML copy. */
.rr-cta { position: relative; isolation: isolate; overflow: hidden; margin-block-start: 0; background: radial-gradient(ellipse at 82% 50%,#4e351c55,transparent 45%),linear-gradient(135deg,#06121c,#02070b); color: #fff; }
.rr-cta::before { content: ""; position: absolute; z-index: -1; inset: 0; background: repeating-radial-gradient(ellipse at 100% 0,transparent 0 48px,#6d90ac0c 49px 50px,transparent 51px 72px); pointer-events: none; }
.rr-cta__inner { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); align-items: center; gap: clamp(2rem,4vw,4rem); max-width: 1180px; margin-inline: auto; padding: clamp(4rem,6vw,6rem) var(--rr-page-gutter); }
.rr-cta__inner > * { min-width: 0; margin-block: 0; }
.rr-cta .rr-eyebrow { display: flex; align-items: center; gap: 1rem; color: #ff385b; }
.rr-cta .rr-eyebrow::before { content: ""; flex-shrink: 0; width: 36px; height: 2px; background: currentColor; }
.rr-cta__title { max-width: 10ch; color: #fff; font-size: clamp(3rem,5vw,4.6rem); line-height: 1; overflow-wrap: anywhere; }
.rr-cta__title > span { display: inline; color: #ff3556; }
.rr-cta__lead { color: #b8ccd9; margin-top: 1.5rem; max-width: 29rem; line-height: 1.6; }
.rr-cta__stores { display: flex; flex-wrap: wrap; margin-top: 1.7rem; justify-content: flex-start; }
.rr-cta .rr-store-badge { border-color: #8294a080; box-shadow: 0 5px 24px #92bdd515; }
.rr-cta__visual { display: grid; place-items: center; padding-top: 40px; }
.rr-champion { position: relative; width: min(100%,360px); aspect-ratio: 1; filter: drop-shadow(0 15px 22px #000a); }
.rr-champion__ribbon { position: absolute; width: 40%; height: 43%; left: 30%; top: -20%; border: 2px solid #b57b32; background: repeating-linear-gradient(90deg,#13191d 0 22%,#d7a053 23% 35%,#f4c47b 36% 40%,#13191d 41% 62%); transform: rotate(7deg); box-shadow: 0 0 25px #e7a65225; }
.rr-champion__face { position: absolute; inset: 0; overflow: hidden; border: 8px solid #d6a361; border-radius: 50%; background: radial-gradient(circle at 50% 46%,#26231f 0 49%,#6e461e 50% 52%,#181816 53% 65%,#b67c3b 66% 68%,#322719 69%); box-shadow: inset 0 0 0 3px #f4d294,0 0 0 2px #7e5023,0 0 38px #e7ad5444; }
.rr-champion__ornament { position: absolute; inset: 0; width: 100%; height: 100%; }
.rr-champion__score { position: absolute; top: 28%; left: 21%; right: 21%; text-align: center; color: #f5c576; font-size: clamp(3.4rem,6vw,5rem); font-weight: 850; line-height: 1; letter-spacing: -.065em; text-shadow: 0 3px 0 #754313,0 -1px 0 #fff1c6; }
.rr-champion__gauge { position: absolute; width: 52%; height: 31%; left: 24%; top: 49%; }
.rr-champion__label { position: absolute; left: 16%; right: 16%; bottom: 11%; text-align: center; color: #f0c780; font-size: clamp(1.1rem,2.2vw,1.6rem); font-weight: 750; line-height: 1.2; overflow-wrap: anywhere; }
@media (max-width: 899px) {
    .rr-cta__inner { grid-template-columns: 1fr; gap: 3.5rem; padding-block: 4.4rem; }
    .rr-cta__copy { max-width: 38rem; }
    .rr-cta__title { font-size: clamp(3rem,8vw,4.3rem); }
    .rr-cta__visual { padding-top: 45px; }
    .rr-champion__score { font-size: 4.5rem; }
    .rr-champion__label { font-size: 1.5rem; }
}
@media (max-width: 599px) {
    .rr-cta__inner { padding-block: 3.9rem; gap: 2.8rem; }
    .rr-cta__title { font-size: clamp(2.8rem,12vw,3.8rem); }
    .rr-champion { width: min(100%,290px); }
    .rr-champion__score { font-size: clamp(3rem,17vw,4rem); }
    .rr-champion__label { font-size: 1.25rem; }
}

/* FAQ: native, keyboard accessible disclosures, open as in the concept. */
.rr-faq { margin-block-start: 0; background: #fafcfe; }
.rr-faq__inner { max-width: 1180px; margin-inline: auto; padding: clamp(3.8rem,6vw,5.5rem) var(--rr-page-gutter); }
.rr-faq .rr-eyebrow { display: flex; align-items: center; gap: 1rem; color: #e51f44; }
.rr-faq .rr-eyebrow::before,.rr-faq .rr-eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.rr-faq__title { max-width: none; font-size: clamp(2.1rem,3.8vw,3.4rem); line-height: 1.08; overflow-wrap: anywhere; }
.rr-faq__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 3.5rem; margin-top: 2rem; }
.rr-faq-item { min-width: 0; padding: 1.3rem 0; border-bottom: 1px solid #dfe6ee; scroll-margin-top: calc(var(--rr-header-height) + 18px); }
.rr-faq-item summary { position: relative; display: grid; grid-template-columns: 36px minmax(0,1fr) 12px; gap: 1.1rem; align-items: start; cursor: pointer; color: #09172c; list-style: none; font-size: 1.02rem; font-weight: 750; line-height: 1.35; }
.rr-faq-item summary::-webkit-details-marker { display: none; }
.rr-faq-item__icon { width: 32px; height: 32px; color: #fb274c; }
.rr-faq-item__chevron { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); margin-top: .45rem; }
.rr-faq-item[open] .rr-faq-item__chevron { transform: rotate(45deg); }
.rr-faq-item p { margin: .45rem 1.8rem 0 3.35rem; color: #4c596d; font-size: .95rem; line-height: 1.55; }
.rr-faq-item:nth-last-child(-n+2) { border-bottom: 0; }
.rr-footer { margin-block-start: 0; padding: 3rem var(--rr-page-gutter) 1.8rem; color: #e0e8f0; background: radial-gradient(ellipse at 100% 0,#132c3a,transparent 60%),#040d14; }
.rr-footer__inner { max-width: 1180px; margin-inline: auto; }
.rr-footer__grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,.8fr) minmax(0,1fr) minmax(0,1fr); gap: 2rem; align-items: start; }
.rr-footer__grid > * { min-width: 0; }
.rr-footer__logo { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff; font-size: 1.8rem; font-weight: 800; letter-spacing: -.035em; }
.rr-footer__logo img { width: 48px; height: 48px; object-fit: contain; }
.rr-footer__tagline { margin: .5rem 0 0; color: #fff; font-size: .85rem; letter-spacing: .17em; }
.rr-footer__description { max-width: 25rem; margin: 1rem 0 0; color: #a7b6c4; font-size: .8rem; line-height: 1.6; }
.rr-footer__nav { border-inline-start: 1px solid #ffffff25; padding-inline-start: 1.4rem; }
.rr-footer__nav h3 { margin: 0 0 .75rem; color: #fff; font-size: .9rem; }
.rr-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.rr-footer__nav a { color: #cbd6df; font-size: .85rem; text-decoration: none; }
.rr-footer__nav a:hover { color: #fff; text-decoration: underline; }
.rr-footer__stores { display: grid; gap: .55rem; }
.rr-footer__stores .rr-store-badge { min-width: 0; max-width: 180px; border-color: #ffffff50; }
.rr-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 2.5rem; }
.rr-footer__bottom p { margin: 0; color: #a7b6c4; font-size: .78rem; line-height: 1.6; }
@media (max-width: 899px) {
    .rr-faq__grid { column-gap: 2rem; }
    .rr-footer__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .rr-footer__brand { grid-column: 1 / -1; }
    .rr-footer__nav { padding-inline-start: 0; border: 0; }
}
@media (max-width: 599px) {
    .rr-faq__inner { padding-block: 3.9rem; }
    .rr-faq__title { font-size: clamp(2rem,9vw,2.8rem); }
    .rr-faq__grid { grid-template-columns: 1fr; margin-top: 1.2rem; }
    .rr-faq-item:nth-last-child(2) { border-bottom: 1px solid #dfe6ee; }
    .rr-faq-item summary { grid-template-columns: 28px minmax(0,1fr) 10px; gap: .8rem; font-size: .98rem; }
    .rr-faq-item__icon { width: 27px; height: 27px; }
    .rr-faq-item p { margin-inline: 2.55rem 1rem; font-size: .9rem; }
    .rr-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.7rem; }
    .rr-footer__stores { grid-column: 1 / -1; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .rr-footer__logo { font-size: 1.6rem; }
    .rr-footer__bottom { margin-top: 2rem; }
}

/* v0.10.0: page-wide scale and layout refinement. */
:root {
    --rr-section-heading: clamp(2.5rem, 3.8vw, 3.5rem);
    --rr-section-space: clamp(3.9rem, 5.3vw, 5rem);
}
.rr-season__title,.rr-runs__title,.rr-top__title,.rr-track__title,.rr-history__title,.rr-faq__title {
    font-size: var(--rr-section-heading);
    letter-spacing: -.045em;
    line-height: 1.06;
}
.rr-runs__title { font-size: clamp(2.4rem, 3.5vw, 3.2rem); }
.rr-hero__title { letter-spacing: -.055em; line-height: .96; }
.rr-hero__grid { min-height: 650px; padding-block: 3rem; }
.rr-hero { min-height: 650px; }
.rr-hero__visual { min-height: 550px; display: flex; align-items: center; justify-content: center; }
.rr-phone { position: relative; right: auto; bottom: auto; width: clamp(230px, 19vw, 255px); flex: 0 0 auto; transform: rotate(5deg); border-radius: 40px; }
.rr-phone__screen { border-radius: 31px; }
.rr-phone__screen-image { position: static; width: 100%; height: 100%; max-width: 100%; transform: none; object-fit: cover; object-position: center; }
.rr-rank-card { top: 18%; left: 0; width: 138px; }
.rr-rank-card::after { width: 80px; height: 66px; bottom: -48px; }
.rr-season__inner,.rr-runs__inner,.rr-top__inner,.rr-track__inner,.rr-history__inner,.rr-cta__inner,.rr-faq__inner { padding-block: var(--rr-section-space); }
.rr-season__copy { max-width: 820px; }
.rr-season__title { max-width: none; }
.rr-season-card { display: block; margin-top: 2rem; max-width: 900px; }
.rr-season-card__top { padding: 1.4rem 1.6rem .7rem; }
.rr-season-profile__avatar { width: 88px; height: 88px; border-radius: 20px; }
.rr-season-profile__name { font-size: 1.7rem; }
.rr-season-card__bottom { grid-template-columns: minmax(0,1fr) 215px; align-items: center; }
.rr-season-stats { padding: .8rem 1.6rem 1.4rem; }
.rr-season-rank { grid-column: 2; grid-row: auto; padding: 1rem 1.2rem 1.3rem; }
.rr-season-medal { width: 145px; border-width: 6px; }
.rr-season-medal strong { font-size: 2.5rem; }
.rr-season-rank__label { font-size: .95rem; margin-bottom: .6rem; }
.rr-stat { min-height: 115px; }
.rr-top__title { max-width: 12ch; }
.rr-rider__name { font-size: .85rem; }
.rr-rider__location { font-size: .78rem; }
.rr-leaderboard__metrics li { font-size: .82rem; }
.rr-history-stats dt { font-size: .78rem; }
.rr-history-card__rank span { font-size: .75rem; }
.rr-history-card__data { grid-template-columns: minmax(0,1fr) 100px; }
.rr-history__benefits li { font-size: .85rem; }
.rr-cta__title { max-width: 12ch; letter-spacing: -.045em; line-height: 1.04; overflow-wrap: normal; }
.rr-cta__title > .rr-text-red { white-space: nowrap; }
.rr-cta__title > .rr-cta__question { display: block; white-space: nowrap; }
@media (max-width: 999px) {
    .rr-history-card__data { grid-template-columns: minmax(0,1fr) 100px; }
}
@media (max-width: 899px) {
    :root { --rr-section-heading: clamp(2.5rem, 5.6vw, 3.25rem); }
    .rr-hero,.rr-hero__grid { min-height: auto; }
    .rr-hero__grid { padding-block: 3rem; gap: 2rem; }
    .rr-hero__visual { min-height: 550px; width: 100%; }
    .rr-phone { width: 240px; transform: rotate(3deg); }
    .rr-rank-card { left: max(0px, calc(50% - 220px)); top: 16%; }
    .rr-season-card__bottom { grid-template-columns: minmax(0,1fr) 180px; }
    .rr-season-rank { grid-column: 2; flex-direction: column; justify-content: center; gap: 0; border-top: 0; border-left: 1px solid #0c2d4f17; text-align: center; }
    .rr-season-rank__label { max-width: none; }
    .rr-top__inner { gap: 2rem; }
}
@media (max-width: 599px) {
    :root { --rr-section-heading: clamp(2.15rem, 9.3vw, 2.7rem); --rr-section-space: 3.5rem; }
    .rr-runs__title { font-size: var(--rr-section-heading); }
    .rr-hero__grid { padding-block: 2.7rem 2rem; gap: 1.6rem; }
    .rr-hero__title { font-size: clamp(2.8rem, 13vw, 3.7rem); }
    .rr-hero__visual { min-height: 490px; }
    .rr-phone { width: min(220px, 62vw); }
    .rr-rank-card { left: 0; top: 12%; width: 112px; padding: .65rem .7rem; }
    .rr-rank-card strong { font-size: 2rem; }
    .rr-rank-card::after { width: 55px; height: 45px; bottom: -32px; }
    .rr-season-card__top { padding: 1.1rem 1.1rem .55rem; }
    .rr-season-profile__avatar { width: 72px; height: 72px; }
    .rr-season-profile__name { font-size: 1.4rem; }
    .rr-season-card__bottom { grid-template-columns: 1fr; }
    .rr-season-stats { padding: .7rem 1.1rem 1rem; }
    .rr-stat { min-height: 95px; padding: .65rem .5rem; }
    .rr-stat__icon { width: 30px; height: 30px; margin-bottom: .4rem; }
    .rr-stat__icon svg { width: 20px; height: 20px; }
    .rr-season-rank { grid-column: 1; flex-direction: row; justify-content: space-between; border-left: 0; border-top: 1px solid #0c2d4f17; padding: .9rem 1.1rem; }
    .rr-season-rank__label { margin: 0; white-space: nowrap; }
    .rr-season-medal { width: 110px; }
    .rr-season-medal strong { font-size: 1.9rem; }
    .rr-rider__name { font-size: .81rem; }
    .rr-rider__location { font-size: .78rem; }
    .rr-history-card__data { grid-template-columns: minmax(0,1fr) 88px; }
    .rr-history-stats dt { font-size: .78rem; }
    .rr-history__benefits li { font-size: .8rem; }
    .rr-cta__title { font-size: clamp(2.65rem,11vw,3.4rem); }
}

/* v0.11.0: phone planted in snow; independent, unmodified app screenshot. */
.rr-hero__grid { padding-top: 30px; padding-bottom: 0; }
.rr-hero__copy { padding-block: 1.5rem 3.5rem; }
.rr-hero__visual { min-height: 620px; align-self: end; display: block; perspective: 1200px; }
.rr-phone {
    position: absolute;
    top: 34px;
    bottom: auto;
    right: 8%;
    width: 300px;
    padding: 8px;
    border-radius: 44px;
    transform: rotate(7deg) rotateY(-12deg);
    transform-origin: 50% 90%;
    background: linear-gradient(100deg,#0b1015 0%,#65717c 2%,#d7dfe6 3%,#121820 5%,#070b10 91%,#7d8894 94%,#dbe2e7 97%,#252d36 100%);
    box-shadow: inset 0 2px 1px #ffffff8c, 9px 6px 0 #39414b, 13px 8px 0 #b1bdc7, 16px 10px 0 #29333d, 20px 20px 36px #102a4140;
}
.rr-phone__screen { height: 100%; border-radius: 35px; background: #dff8e4; }
.rr-phone__screen-image { position: absolute; top: 28px; left: 0; bottom: auto; width: 100%; height: auto; max-width: 100%; object-fit: initial; transform: none; }
.rr-phone__island { top: 10px; height: 17px; width: 32%; }
.rr-rank-card { top: 19%; left: -2%; z-index: 6; }
.rr-hero__snow {
    position: absolute;
    z-index: 7;
    pointer-events: none;
    width: 155%;
    max-width: none;
    height: 355px;
    object-fit: cover;
    left: -25%;
    bottom: -145px;
    mask-image: linear-gradient(90deg,transparent,#000 17% 90%,transparent);
    -webkit-mask-image: linear-gradient(90deg,transparent,#000 17% 90%,transparent);
}
@media (max-width: 1080px) and (min-width: 900px) {
    .rr-phone { width: 280px; right: 6%; top: 60px; }
    .rr-rank-card { left: -4%; width: 125px; }
}
@media (max-width: 899px) {
    .rr-hero__grid { padding-top: 2.7rem; padding-bottom: 0; gap: 0; }
    .rr-hero__copy { padding-block: 0 1.5rem; }
    .rr-hero__visual { min-height: 560px; width: min(100%,600px); margin-inline: auto; }
    .rr-phone { width: 270px; right: calc(50% - 135px); top: 32px; transform: rotate(7deg) rotateY(-10deg); }
    .rr-rank-card { top: 20%; left: max(0px,calc(50% - 215px)); }
    .rr-hero__snow { bottom: -150px; height: 340px; }
}
@media (max-width: 599px) {
    .rr-hero__visual { min-height: 490px; }
    .rr-phone { width: min(230px,65vw); right: calc(50% - min(115px,32.5vw)); top: 34px; border-radius: 37px; padding: 7px; }
    .rr-phone__screen { border-radius: 29px; }
    .rr-phone__screen-image { top: 26px; }
    .rr-phone__island { height: 14px; top: 9px; }
    .rr-rank-card { left: 0; top: 20%; width: 110px; }
    .rr-hero__snow { width: 165%; left: -32.5%; height: 300px; bottom: -125px; }
}
@media (max-width: 359px) {
    .rr-hero__visual { min-height: 445px; }
    .rr-rank-card { width: 96px; }
    .rr-rank-card strong { font-size: 1.7rem; }
}

/* v0.12.0: exact original reference pixels, browser-only silhouette mask. */
.rr-hero__visual { min-height: 620px; perspective: none; }
.rr-hero__reference-phone {
    position: absolute;
    right: -24px;
    bottom: -2px;
    width: 505px;
    max-width: none;
    height: auto;
    display: block;
    clip-path: none;
}
.rr-hero__visual .rr-rank-card { top: 20%; left: -2%; }
@media (max-width:1080px) and (min-width:900px) {
    .rr-hero__reference-phone { width: 470px; right: -30px; }
}
@media (max-width:899px) {
    .rr-hero__visual { min-height: 560px; }
    .rr-hero__reference-phone { width: 450px; max-width: 100%; right: 50%; transform: translateX(50%); }
    .rr-hero__visual .rr-rank-card { left: max(0px,calc(50% - 220px)); top: 22%; }
}
@media (max-width:599px) {
    .rr-hero__visual { min-height: 475px; }
    .rr-hero__reference-phone { width: 380px; }
    .rr-hero__visual .rr-rank-card { left: 0; top: 22%; }
}
@media (max-width:359px) {
    .rr-hero__visual { min-height: 430px; }
    .rr-hero__reference-phone { width: 345px; }
}

/* v0.14.0: reconstructed alpine background from the approved Hero concept. */
.rr-hero {
    background: #edf5fc url('../images/hero-alpine-background.webp') center center / cover no-repeat;
}
.rr-hero__mountains { display: none; }
.rr-hero::before {
    background: linear-gradient(90deg,rgba(255,255,255,.48),rgba(255,255,255,.24) 42%,transparent 65%);
}
.rr-hero::after { display: none; }
@media (max-width: 899px) {
    .rr-hero { background-position: 62% bottom; }
    .rr-hero::before { background: linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,255,255,.7) 38%,rgba(255,255,255,.12) 63%,transparent); }
}
@media (max-width: 599px) {
    .rr-hero {
        background-image: url('../images/hero-alpine-background-mobile.webp');
        background-size: auto 100%;
        background-position: 58% bottom;
    }
}

/* v0.16.0: approved round medal, front-facing with integrated edge shading. */
.rr-hero-medal {
    position: absolute;
    z-index: 6;
    top: 110px;
    left: -18px;
    display: block;
    width: 220px;
    max-width: none;
    height: auto;
}
@media (min-width:900px) and (max-width:1080px) {
    .rr-hero-medal { width: 185px; left: -18px; top: 120px; }
}
@media (max-width:899px) {
    .rr-hero-medal { width: 200px; left: max(0px,calc(50% - 240px)); top: 100px; }
}
@media (max-width:599px) {
    .rr-hero-medal { width: 150px; left: -10px; top: 95px; }
}
@media (max-width:359px) {
    .rr-hero-medal { width: 135px; top: 90px; }
}

/* v0.17.0: season composition and approved alpine / bronze artwork. */
.rr-season { background: #eff6fc url('../images/season-alpine-background.webp') center center / cover no-repeat; }
.rr-season::before, .rr-season::after { display: none; }
.rr-season__lead { max-width: 38rem; }
.rr-season-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 265px;
    grid-template-rows: auto auto;
    width: min(100%, 960px);
    max-width: 960px;
    padding: 26px;
    gap: 18px 24px;
    background: rgba(255,255,255,.90);
    border-radius: 34px;
}
.rr-season-card__top { grid-column: 1; grid-row: 1; padding: 0; gap: 18px; }
.rr-season-profile { gap: 18px; }
.rr-season-profile__avatar { width: 142px; height: 142px; border-radius: 25px; border-width: 3px; }
.rr-season-profile__name { font-size: 1.85rem; line-height: 1.08; }
.rr-season-profile__level { font-size: .85rem; }
.rr-season-selector { min-width: 116px; }
.rr-season-selector__value strong { font-size: 1.8rem; }
.rr-season-card__bottom { display: contents; }
.rr-season-stats { grid-column: 1; grid-row: 2; padding: 0; gap: 12px; grid-template-columns: repeat(4,minmax(0,1fr)); }
.rr-season-stats .rr-stat { min-height: 137px; padding: 12px 6px; }
.rr-season-stats .rr-stat__icon { width: 48px; height: 48px; margin-bottom: 10px; }
.rr-season-stats .rr-stat__icon svg { width: 26px; height: 26px; }
.rr-season-rank {
    grid-column: 2; grid-row: 1 / 3;
    flex-direction: column; justify-content: center; gap: 0;
    padding: 0 0 0 20px; border-top: 0; border-left: 1px solid #0c2d4f17;
}
.rr-season-rank__label { margin: 0 0 8px; font-size: 1.2rem; max-width: none; white-space: normal; }
.rr-season-medal-image { display: block; width: 100%; max-width: 245px; height: auto; filter: drop-shadow(0 9px 9px #59341824); }
@media (min-width:600px) and (max-width:899px) {
    .rr-season-card { grid-template-columns: minmax(0,1fr) 200px; padding: 22px; gap: 18px; }
    .rr-season-profile__avatar { width: 98px; height: 112px; }
    .rr-season-profile__name { font-size: 1.4rem; }
    .rr-season-profile { gap: 12px; }
    .rr-season-card__top { grid-template-columns: 1fr; gap: 14px; }
    .rr-season-selector { display: flex; justify-content: flex-start; align-items: center; gap: 14px; }
    .rr-season-selector__label { margin: 0; }
    .rr-season-selector__value strong { font-size: 1.4rem; }
    .rr-season-stats { gap: 7px; }
    .rr-season-stats .rr-stat { min-height: 112px; border-radius: 16px; }
    .rr-season-stats .rr-stat__icon { width: 36px; height: 36px; }
    .rr-season-rank { padding-left: 16px; }
}
@media (max-width:599px) {
    .rr-season { background-position: 62% center; }
    .rr-season-card { grid-template-columns: minmax(0,1fr); padding: 20px; gap: 20px; border-radius: 26px; }
    .rr-season-card__top { grid-template-columns: 1fr; gap: 18px; }
    .rr-season-profile__avatar { width: 100px; height: 110px; }
    .rr-season-profile__name { font-size: 1.5rem; }
    .rr-season-selector { display: flex; align-items: center; justify-content: space-between; padding: 0; border: 0; background: none; }
    .rr-season-selector__label { margin: 0; }
    .rr-season-selector__value strong { font-size: 1.45rem; }
    .rr-season-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .rr-season-stats .rr-stat { min-height: 115px; }
    .rr-season-stats .rr-stat__icon { width: 38px; height: 38px; margin-bottom: 7px; }
    .rr-season-rank { grid-column: 1; grid-row: 3; padding: 18px 0 0; border-left: 0; border-top: 1px solid #0c2d4f17; }
    .rr-season-medal-image { width: 210px; max-width: 100%; }
    .rr-season-rank__label { font-size: 1.1rem; }
}

/* v0.18.0: terrain background and per-run measurements. */
.rr-runs { background: linear-gradient(#050d1726,#050d1726), url('../images/runs-topographic-background.webp') center / cover no-repeat #080f19; }
.rr-runs__inner { grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: 2rem; }
.rr-runs-card { background: linear-gradient(135deg,#192330f5,#0c131df2 65%); }
.rr-runs-day-stats { display: flex; flex-wrap: wrap; gap: .35rem .65rem; margin-top: .8rem; color: #bbc5d2; font-size: .8rem; }
.rr-runs-day-stats > span { white-space: nowrap; }
.rr-runs-day-stats > span + span::before { content: '·'; margin-right: .65rem; color: #748395; }
.rr-run { grid-template-columns: 2.3rem minmax(0,1fr) 2.8rem; gap: .6rem; padding-inline: .8rem 3rem; min-height: 68px; }
.rr-run__details { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .4rem; color: #b7c1cf; font-size: .8rem; line-height: 1.5; }
.rr-run__details > span { white-space: nowrap; }
.rr-run__details > span + span::before { content: '·'; margin-right: .4rem; color: #7d8a9c; }
@media (max-width:899px) {
    .rr-runs__inner { grid-template-columns: 1fr; }
    .rr-runs-card { max-width: 640px; }
}
@media (max-width:599px) {
    .rr-runs-card { padding: 16px; }
    .rr-runs-card__header { grid-template-columns: minmax(0,1fr) auto; }
    .rr-runs-day-stats { font-size: .75rem; gap: .25rem .45rem; }
    .rr-run { grid-template-columns: minmax(0,1fr) auto; gap: .25rem .5rem; padding: .7rem 2.7rem .7rem .7rem; }
    .rr-run__number { grid-column: 1; grid-row: 1; }
    .rr-run strong { grid-column: 2; grid-row: 1; }
    .rr-run__details { grid-column: 1 / -1; grid-row: 2; font-size: .75rem; }
}

/* v0.19.0: compact ranking preview fades into a quiet alpine-blue backdrop. */
.rr-top {
    background: radial-gradient(ellipse at 76% 43%, #dfedf8 0%, #edf5fb 31%, transparent 65%), linear-gradient(110deg,#fff 10%,#f8fbfe 65%,#f2f8fd);
}
.rr-top::before, .rr-top::after {
    width: 112%; height: 118%; border-color: #cbddec99; transform: rotate(-32deg);
}
.rr-top::before { inset: -76% auto auto 43%; }
.rr-top::after { inset: -1% auto auto -41%; width: 160%; height: 105%; }
.rr-leaderboard-preview {
    width: 100%; max-width: 501px; justify-self: center;
    padding: 28px 28px 0; margin: -28px;
    -webkit-mask-image: linear-gradient(to bottom,#000 0%,#000 calc(100% - 75px),transparent 100%);
    mask-image: linear-gradient(to bottom,#000 0%,#000 calc(100% - 75px),transparent 100%);
}
.rr-leaderboard-preview .rr-leaderboard { max-width: none; padding-bottom: 0; border-bottom: 0; border-radius: 24px 24px 0 0; }
.rr-leaderboard-preview .rr-rider:nth-child(n+6) { display: none; }
.rr-leaderboard-preview .rr-rider:nth-child(5) { height: 38px; min-height: 0; overflow: hidden; }
@media (max-width:599px) {
    .rr-leaderboard-preview { max-width: 445px; padding-inline: 16px; margin-inline: -16px;
        -webkit-mask-image: linear-gradient(to bottom,#000 0%,#000 calc(100% - 60px),transparent 100%);
        mask-image: linear-gradient(to bottom,#000 0%,#000 calc(100% - 60px),transparent 100%);
    }
    .rr-leaderboard-preview .rr-rider:nth-child(n+5) { display: none; }
    .rr-leaderboard-preview .rr-rider:nth-child(4) { height: 34px; min-height: 0; overflow: hidden; }
}

/* v0.20.0: map reconstructed from the approved Best Track design. */
.rr-track { background-image: url('../images/best-track-background.webp'); background-position: center; background-size: cover; }
.rr-track::before { background: linear-gradient(105deg,#ffffff75 0%,#ffffff35 30%,transparent 58%); }
@media (max-width:599px) {
    .rr-track { background-position: 60% center; }
    .rr-track::before { background: linear-gradient(180deg,#ffffffa6,#ffffff70 32%,transparent 65%); }
}

/* v0.21.0: concise season history with clearer timeline labels. */
.rr-history-preview {
    min-width: 0; width: 100%; padding: 20px 20px 0; margin: -20px;
    -webkit-mask-image: linear-gradient(to bottom,#000 calc(100% - 65px),transparent 100%);
    mask-image: linear-gradient(to bottom,#000 calc(100% - 65px),transparent 100%);
}
.rr-history-preview .rr-history-timeline { margin: 0; padding-left: 76px; }
.rr-history-preview .rr-history-timeline::before { left: 58px; bottom: 0; }
.rr-history-item__year { left: -76px; color: #496383; font-size: .9rem; font-weight: 750; line-height: 1.3; }
.rr-history-item__year::after { left: 53px; top: 4px; }
.rr-history-preview .rr-history-item:nth-child(n+5) { display: none; }
.rr-history-preview .rr-history-item:nth-child(4) { height: 64px; overflow: hidden; }
@media (max-width:899px) {
    .rr-history-preview { max-width: 720px; justify-self: center; }
}
@media (max-width:599px) {
    .rr-history-preview { padding: 16px 12px 16px; margin: -16px -12px;
        -webkit-mask-image: linear-gradient(to bottom,#000 calc(100% - 27px),transparent 100%);
        mask-image: linear-gradient(to bottom,#000 calc(100% - 27px),transparent 100%);
    }
    .rr-history-preview .rr-history-timeline { padding-left: 17px; }
    .rr-history-preview .rr-history-timeline::before { left: 3px; }
    .rr-history-item__year { left: -18px; font-size: 0; }
    .rr-history-item__year::after { left: 0; }
    .rr-history-card__season { font-size: 1.1rem; font-weight: 750; }
    .rr-history-preview .rr-history-item:nth-child(n+4) { display: none; }
}

/* v0.22.0: cinematic Champion scene; copy and store links remain HTML. */
.rr-cta { background: #020a10 url('../images/cta-champion-scene.webp') center center / cover no-repeat; }
.rr-cta::before { display: none; }
.rr-cta__inner { grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-height: clamp(600px,56.28vw,850px); gap: 2rem; }
.rr-cta__copy { position: relative; z-index: 1; text-shadow: 0 2px 18px #020a10; }
.rr-cta__visual { padding: 0; min-height: 400px; }
.rr-cta__title > .rr-cta__question { color: #fff; }
.rr-cta__question .rr-text-red { background: linear-gradient(120deg,#ff9da9,#ff163d 65%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width:899px) {
    .rr-cta { background: #020a10; }
    .rr-cta__inner { grid-template-columns: 1fr; min-height: 0; padding-bottom: 0; gap: 1.5rem; }
    .rr-cta__copy { max-width: 38rem; }
    .rr-cta__visual {
        width: min(100%,600px); justify-self: center; min-height: 0; aspect-ratio: .86;
        background: url('../images/cta-champion-scene.webp') right center / auto 100% no-repeat;
        -webkit-mask-image: linear-gradient(to bottom,transparent,#000 7%,#000 93%,transparent);
        mask-image: linear-gradient(to bottom,transparent,#000 7%,#000 93%,transparent);
    }
}

/* v0.23.0: accessible native contact dialog. */
html.rr-contact-open { overflow: hidden; }
.rr-contact { box-sizing: border-box; width: min(480px,calc(100% - 28px)); max-height: calc(100dvh - 32px); margin: auto; padding: 32px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #e1e8ef; border-radius: 24px; background: #fff; color: #091a31; box-shadow: 0 24px 90px #0005; }
.rr-contact::backdrop { background: #03101dcc; backdrop-filter: blur(5px); }
.rr-contact h2 { margin: 0 32px 24px 0; font-size: 1.65rem; line-height: 1.2; letter-spacing: -.035em; }
.rr-contact__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eff4f8; color: #19334c; font: inherit; font-size: 26px; cursor: pointer; }
.rr-contact__form { display: grid; gap: 9px; }
.rr-contact__form label { font-size: .9rem; font-weight: 650; }
.rr-contact__form input,.rr-contact__form textarea { box-sizing: border-box; width: 100%; min-width: 0; padding: 12px 14px; margin: 0 0 10px; border: 1px solid #cdd9e4; border-radius: 10px; background: #f8fbfd; color: #091a31; font: inherit; font-size: 16px; }
.rr-contact__form textarea { min-height: 130px; resize: vertical; }
.rr-contact :focus-visible { outline: 3px solid #ed204480; outline-offset: 3px; }
.rr-contact__submit { padding: 14px; border: 0; border-radius: 10px; background: #ed2044; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.rr-contact__submit:hover { background: #cc1738; }
.rr-contact__submit:disabled { opacity: .65; cursor: wait; }
.rr-contact__status { margin: 4px 0 0; color: #286644; font-size: .9rem; line-height: 1.5; }
.rr-contact__status:empty { display: none; }
.rr-contact__status--error { color: #b51936; }
@media (max-width:599px) { .rr-contact { padding: 26px 20px; border-radius: 18px; } }

/* v0.24.0: a shared light transition between season summary and history. */
.rr-front-page .rr-season { background-image: linear-gradient(to bottom,transparent calc(100% - 110px),#fbfdff 100%),url('../images/season-alpine-background.webp'); }
.rr-front-page .rr-season + .rr-history {
    background: linear-gradient(to bottom,#fbfdff,transparent 110px),radial-gradient(ellipse at 90% 40%,#eaf2f9,transparent 70%),#fbfdff;
}

/* v0.25.0: minimal header and two-link footer. */
.rr-footer__grid { grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 2rem; }
.rr-footer__grid .rr-footer__nav { border: 0; padding: 0; }
.rr-footer__nav ul { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: 0; }
.rr-footer__nav li { margin: 0; }
.rr-footer__bottom { margin-top: 2rem; }
@media (max-width:599px) {
    .rr-footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .rr-footer__nav ul { justify-content: flex-start; }
}

/* v0.25.1: restored footer download buttons. */
.rr-footer__grid { grid-template-columns: minmax(0,1fr) auto auto; }
@media (max-width:899px) {
    .rr-footer__grid { grid-template-columns: minmax(0,1fr) auto; }
    .rr-footer__stores { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .75rem; }
}
@media (max-width:599px) { .rr-footer__grid { grid-template-columns: 1fr; } }

/* v0.26.0: two-tier footer, balanced branding and download actions. */
.rr-footer { padding: 2.5rem var(--rr-page-gutter) 1.25rem; background: radial-gradient(ellipse at 80% 0,#11263466,transparent 65%),#061018; border-top: 1px solid #ffffff0d; }
.rr-footer .rr-footer__grid { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2rem; align-items: center; }
.rr-footer .rr-footer__brand { grid-column: auto; }
.rr-footer__logo { font-size: 1.65rem; gap: .7rem; }
.rr-footer__logo img { width: 42px; height: 42px; }
.rr-footer__tagline { margin: .65rem 0 0; font-size: .78rem; letter-spacing: .12em; color: #b5c3cf; }
.rr-footer .rr-footer__stores { grid-column: auto; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.rr-footer .rr-footer__stores .rr-store-badge { box-sizing: border-box; width: 165px; max-width: none; min-height: 56px; padding: .6rem 1rem; border: 1px solid #ffffff40; border-radius: 11px; background: #020609; box-shadow: none; }
.rr-footer__stores .rr-store-badge__small { font-size: .65rem; }
.rr-footer__stores .rr-store-badge__large { font-size: 1.15rem; }
.rr-footer .rr-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: .75rem 2rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #ffffff18; }
.rr-footer__bottom p { color: #899eaf; font-size: .74rem; }
.rr-footer .rr-footer__nav { border: 0; padding: 0; }
.rr-footer__nav ul { display: flex; gap: .5rem 1.5rem; }
.rr-footer__nav a { display: inline-flex; align-items: center; min-height: 40px; color: #c1cfda; font-size: .8rem; }
.rr-footer a:focus-visible { outline: 2px solid #ff4561; outline-offset: 5px; }
.rr-footer .rr-footer__grid { margin-block: 0; }
@media (max-width:699px) {
    .rr-footer { padding-top: 2rem; }
    .rr-footer .rr-footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .rr-footer .rr-footer__stores { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; max-width: 360px; gap: .6rem; }
    .rr-footer .rr-footer__stores .rr-store-badge { width: 100%; padding-inline: .75rem; }
    .rr-footer .rr-footer__bottom { flex-direction: column-reverse; align-items: flex-start; gap: .5rem; margin-top: 1.5rem; }
}

/* v0.26.1: preserve the two-line season-history sign-off on phones. */
@media (max-width:599px) {
    .rr-history__support { max-width: none; letter-spacing: .16em; }
    .rr-history__support > span { display: block; }
}

/* v0.27.0: home-page branding shares the Hero background. */
.rr-hero > .rr-hero__header { position: relative; z-index: 4; width: 100%; max-width: none; margin: 0; }
.rr-hero .rr-site-header { position: relative; top: auto; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.rr-hero .rr-site-header__inner { max-width: 1180px; margin-inline: auto; padding-block: 18px; min-height: 78px; }
.rr-hero > .rr-hero__grid { margin-top: 0; }
@media (max-width:899px) {
    .rr-hero .rr-site-header__inner { min-height: 70px; padding-block: 16px; }
    .rr-hero .rr-hero__grid { padding-top: 36px; }
    .rr-hero .rr-hero__copy { padding-top: 0; }
}
@media (max-width:599px) {
    .rr-hero .rr-site-header__inner { min-height: 64px; padding-block: 12px; }
    .rr-hero .rr-brand__mark { width: 34px; height: 34px; }
    .rr-hero .rr-brand__name { font-size: 1.35rem; }
    .rr-hero .rr-hero__grid { padding-top: 34px; }
}

/* v0.30.0: Polylang language switcher as a scalable <details> dropdown. */
.rr-languages { position: relative; display: inline-block; }
.rr-languages > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 3px 10px; border-radius: 999px; background: #ffffffb8; border: 1px solid #d7e3ee; color: #425c75; font-size: .78rem; font-weight: 700; cursor: pointer; list-style: none; -webkit-user-select: none; user-select: none; }
.rr-languages > summary::-webkit-details-marker { display: none; }
.rr-languages > summary::marker { content: ""; }
.rr-languages > summary:focus-visible { outline: 2px solid #ed2044; outline-offset: 3px; }
.rr-languages__chevron { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .18s ease; }
.rr-languages[open] > summary .rr-languages__chevron { transform: translateY(1px) rotate(-135deg); }
.rr-languages__menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; display: flex; flex-direction: column; gap: 2px; min-width: 164px; margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: #fff; border: 1px solid #d7e3ee; box-shadow: 0 12px 30px #10203a1f; }
.rr-languages__menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: #425c75; text-decoration: none; font-size: .82rem; font-weight: 600; }
.rr-languages__menu a:hover { background: #f0f5fa; }
.rr-languages__menu a[aria-current] { color: #fff; background: #102e4c; }
.rr-languages__menu a:focus-visible { outline: 2px solid #ed2044; outline-offset: 2px; }
.rr-languages__menu-code { flex: 0 0 auto; min-width: 2.2em; font-weight: 700; letter-spacing: .04em; }
.rr-languages__menu-name { flex: 1 1 auto; }

html:lang(ru) .rr-hero__title-line { white-space: normal; }
html:lang(ru) .rr-section-title { overflow-wrap: normal; }
html:lang(ru) .rr-top__title { max-width: 14ch; }

html:lang(ru) .rr-season-profile__level { line-height: 1.25; }
html:lang(ru) .rr-history-card__rank { overflow-wrap: normal; }
@media (max-width:599px) {



    html:lang(ru) .rr-history__support { font-size: .6rem; letter-spacing: .1em; }
    html:lang(ru) .rr-season-profile { gap: 12px; }
    html:lang(ru) .rr-season-profile__level { font-size: .72rem; padding-inline: .5rem; }
}

/* v0.28.2: shared EN/RU heading scale and two-line history sign-off. */
.rr-history__support { max-width: none; }
.rr-history__support > span { display: block; white-space: nowrap; }
html:lang(ru) .rr-history__support { font-size: .65rem; letter-spacing: .1em; }
@media (max-width:599px) {
    html:lang(ru) .rr-history__support { font-size: .6rem; letter-spacing: .04em; }
}

/* v0.28.5: emphasize only the where/how distinction. */
.rr-hero__lead strong { font-weight: 760; }
.rr-hero__lead strong.rr-text-red { color: var(--rr-red); }

/* v0.28.6: store marks beside localized download labels. */
.rr-store-badge { flex-direction: row; align-items: center; gap: .65rem; }
.rr-store-badge__icon { display: block; width: 28px; height: 32px; object-fit: contain; flex: 0 0 28px; }
.rr-store-badge__text { display: flex; flex-direction: column; justify-content: center; text-align: left; }
.rr-store-badge__large { white-space: nowrap; }
.rr-footer .rr-footer__stores .rr-store-badge { gap: .55rem; }
.rr-footer .rr-store-badge__icon { width: 24px; height: 28px; flex-basis: 24px; }
@media (max-width:359px) {
    .rr-footer .rr-footer__stores .rr-store-badge { padding-inline: .5rem; gap: .35rem; }
    .rr-footer .rr-store-badge__large { font-size: 1rem; }
}

/* v0.29.1: Current Season image assets use stylesheet-relative URLs so inserted Gutenberg patterns remain portable. */
.rr-season-profile__avatar--sophie {
    display: block;
    flex: 0 0 auto;
    background: url('../images/season-avatar-sophie.webp') center / cover no-repeat;
}
.rr-season-medal-image--bronze {
    display: block;
    width: 100%;
    max-width: 245px;
    aspect-ratio: 1;
    height: auto;
    background: url('../images/season-bronze-medal.webp') center / contain no-repeat;
    filter: drop-shadow(0 9px 9px #59341824);
}
@media (max-width: 599px) {
    .rr-season-medal-image--bronze { width: 210px; max-width: 100%; }
}

/* Combined season history: compact achievement medal beside Luca. */
.rr-history-profile .rr-history-profile__medal {
    display: block;
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    margin: 0 0 0 auto;
    background: url('../images/season-bronze-medal.webp') center / contain no-repeat;
}
@media (max-width: 599px) {
    .rr-history-profile .rr-history-profile__medal {
        flex-basis: 76px;
        width: 76px;
        height: 76px;
    }
}


/* v0.33.0: a Facebook invitation composed into the footer. */
.rr-footer:has(.rr-footer__grid > .rr-footer__social) .rr-footer__grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) auto;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}
.rr-footer .rr-footer__social { min-width: 0; margin: 0; }
.rr-footer .rr-footer__grid > * { margin-block: 0; }
.rr-footer__social-link {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    align-items: center;
    gap: 1rem;
    min-height: 144px;
    padding: 1.3rem 1.4rem;
    overflow: hidden;
    border: 1px solid #a1c7e128;
    border-radius: 20px;
    background: linear-gradient(110deg, #122b3b, #0b1d2a);
    color: #edf5fc;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease;
}
.rr-footer__social-trail {
    position: absolute;
    z-index: -1;
    inset: auto -24px -24px auto;
    width: 190px;
    height: 180px;
    color: #94c7e72b;
    pointer-events: none;
    opacity: .7;
}
.rr-footer__social-copy { display: grid; gap: .75rem; min-width: 0; }
.rr-footer__social-label { display: flex; align-items: center; gap: .5rem; color: #b5c9d9; font-size: .74rem; font-weight: 500; line-height: 1.4; }
.rr-footer__social-icon { display: block; flex: 0 0 18px; }
.rr-footer__social-title { display: block; max-width: 19ch; color: #edf5fc; font-size: clamp(1.2rem, 1.6vw, 1.5rem); font-weight: 650; letter-spacing: -.025em; line-height: 1.2; text-wrap: balance; }
.rr-footer__social-arrow { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #b5c9d93d; border-radius: 50%; color: #edf5fc; transition: background-color .2s ease, border-color .2s ease; }
.rr-footer__social-link:hover { border-color: #a1c7e180; color: #fff; }
.rr-footer__social-link:hover .rr-footer__social-arrow,
.rr-footer__social-link:focus-visible .rr-footer__social-arrow { border-color: #ed2044; background: #ed2044; }
.rr-footer__social-link:hover .rr-footer__social-title { color: #fff; }
@media (max-width: 999px) {
    .rr-footer:has(.rr-footer__grid > .rr-footer__social) .rr-footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .rr-footer:has(.rr-footer__social) .rr-footer__stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 360px; gap: .6rem; }
    .rr-footer:has(.rr-footer__social) .rr-footer__stores .rr-store-badge { width: 100%; }
    .rr-footer__social-link { min-height: 136px; }
}
@media (max-width: 599px) {
    .rr-footer__social-link { padding: 1.15rem; border-radius: 18px; gap: .75rem; }
    .rr-footer__social-title { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
    .rr-footer__social-link, .rr-footer__social-arrow { transition: none; }
}

/* v0.34.0: G-Rank, between the snowy Hero and the deep-navy Runs section. */
.rr-grank {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-block-start: 0;
    color: #f2f6fc;
    background: #405b7c;
}
.rr-grank > .rr-grank__art {
    position: absolute;
    inset: 0;
    z-index: -1;
    max-width: none;
    margin: 0;
    background: url('../images/grank-alpine-graph.webp') center / cover no-repeat;
    pointer-events: none;
}
.rr-grank > .rr-grank__inner {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1180px;
    min-height: 420px;
    margin: 0 auto;
    padding: clamp(3rem, 4vw, 3.5rem) var(--rr-page-gutter);
}
.rr-grank__copy {
    flex: 0 0 50%;
    min-width: 0;
    padding-inline-end: clamp(1rem, 2vw, 2rem);
}
.rr-grank .rr-grank__title {
    max-width: none;
    margin: 0 0 1.4rem;
    color: #fff;
    font-size: clamp(2.15rem, 3.3vw, 3rem);
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: 1.1;
    overflow-wrap: normal;
}
.rr-grank__copy p {
    margin: 0;
    font-size: clamp(1.02rem, 1.25vw, 1.1rem);
    line-height: 1.65;
    text-wrap: pretty;
}
.rr-grank__copy p + p { margin-top: 1.15rem; }
.rr-grank__copy strong { color: #fff; font-weight: 750; }
@media (max-width: 899px) {
    .rr-grank > .rr-grank__inner {
        min-height: 0;
        padding-top: 3rem;
        padding-bottom: clamp(290px, 44vw, 360px);
    }
    .rr-grank__copy { flex-basis: 100%; max-width: 38rem; padding: 0; }
    .rr-grank > .rr-grank__art {
        top: auto;
        height: clamp(280px, 43vw, 350px);
        background-size: auto 100%;
        background-position: right bottom;
        -webkit-mask-image: linear-gradient(180deg, transparent, #000 24%);
        mask-image: linear-gradient(180deg, transparent, #000 24%);
    }
}
@media (max-width: 599px) {
    .rr-grank > .rr-grank__inner { padding-top: 2.75rem; padding-bottom: 265px; }
    .rr-grank .rr-grank__title { font-size: clamp(1.9rem, 7.5vw, 2.7rem); }
    .rr-grank__copy p { font-size: 1rem; }
    .rr-grank > .rr-grank__art { height: 255px; }
}

/* Friends sharing: give longer localized headlines room on desktop. */
@media (min-width: 1000px) {
    #share.rr-history .rr-history__inner {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
    #share.rr-history .rr-history-card {
        width: 100%;
        max-width: 320px !important; /* Overrides the saved pattern’s inline width. */
        box-sizing: border-box;
    }
}

/* Personal results: current season and season history share a fixed frame. */
.rr-runs-card.rr-season-slideshow {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 720 / 1178;
    overflow: hidden;
    justify-self: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}
.rr-season-slideshow__current,
.rr-season-slideshow__history {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.rr-season-slideshow img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rr-season-slideshow__history { animation: rr-season-history 8s ease-in-out infinite; }
@keyframes rr-season-history {
    0%, 42%, 100% { opacity: 0; }
    50%, 92% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .rr-season-slideshow__history { animation: none; opacity: 0; }
}

.rr-leaderboard--cycling .rr-rider__score { white-space: nowrap; }

/* Change only the hero phone display; the skiers and frame stay still. */
.rr-hero__screen-cycle .rr-hero__artwork { display: block; width: 100%; height: auto; }
.rr-hero__screen-cycle .rr-hero__map-frame {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
    clip-path: polygon(9.2% 8.6%, 42.6% 19.7%, 43.7% 85.8%, 38.5% 86.8%, 30% 86.5%, 23% 86.6%, 16% 87.5%, 10.5% 88.5%, 9.2% 86%);
    animation: rr-season-history 8s ease-in-out infinite;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    .rr-hero__screen-cycle .rr-hero__map-frame { animation: none; opacity: 0; }
}
