.cvma-lrc,
.cvma-lrc *,
.cvma-lrc *::before,
.cvma-lrc *::after {
    box-sizing: border-box;
}

.cvma-lrc {
    --lrc-red: #d0333c;
    --lrc-red-deep: #a41f28;
    --lrc-ink: #0d333c;
    --lrc-body: #3c4858;
    --lrc-gold: #f3e2b8;
    --lrc-gold-deep: #8a6a2f;
    --lrc-paper: #f3efe8;
    --lrc-white: #fff;
    --lrc-line: rgba(13, 51, 60, 0.12);
    color: var(--lrc-ink);
    font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

body.cvma-lrc-page {
    background: var(--lrc-paper, #f3efe8);
}

body.cvma-lrc-page .main,
body.cvma-lrc-page .pagebuilder-section.section {
    background: #f3efe8;
    padding: 0;
    margin: 0;
}

.cvma-lrc h1,
.cvma-lrc h2,
.cvma-lrc h3,
.cvma-lrc-banner h2 {
    font-family: "Roboto Slab", Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0;
    color: inherit;
}

.cvma-lrc a:focus-visible,
.cvma-lrc button:focus-visible,
.cvma-lrc input:focus-visible,
.cvma-lrc select:focus-visible {
    outline: 3px solid #c4a15a;
    outline-offset: 3px;
}

.lrc-wrap {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.lrc-eyebrow {
    margin: 0 0 10px;
    color: var(--lrc-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lrc-eyebrow-ink {
    color: var(--lrc-red);
}

.lrc-btn,
.cvma-lrc a.lrc-btn,
.cvma-lrc button.lrc-btn,
.cvma-lrc-banner a.lrc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    min-height: 48px;
    margin: 0;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    background: var(--lrc-red);
    color: #fff;
    box-shadow: 0 10px 24px rgba(208, 51, 60, 0.28);
    font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.cvma-lrc a.lrc-btn:hover,
.cvma-lrc-banner a.lrc-btn:hover,
.lrc-btn:hover {
    background: var(--lrc-red-deep);
    color: #fff;
    opacity: 1;
    transform: translateY(-1px);
}

.lrc-btn-ghost,
.cvma-lrc a.lrc-btn-ghost {
    background: transparent;
    color: var(--lrc-gold);
    box-shadow: inset 0 0 0 1.5px rgba(243, 226, 184, 0.7);
}

.cvma-lrc a.lrc-btn-ghost:hover {
    background: rgba(243, 226, 184, 0.12);
    color: #fff;
}

.lrc-hero {
    position: relative;
    padding: 168px 0 54px;
    background:
        radial-gradient(900px 320px at 85% -10%, rgba(208, 51, 60, 0.45), transparent 60%),
        linear-gradient(160deg, #123f4a 0%, var(--lrc-ink) 48%, #071c22 100%);
    color: #fff;
    overflow: hidden;
}

.lrc-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 36px;
    align-items: center;
}

.lrc-hero-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.lrc-coin {
    display: block;
    width: 168px;
    height: 168px;
    object-fit: contain;
    border-radius: 50%;
    flex: 0 0 auto;
}

.lrc-hero h1 {
    font-size: clamp(46px, 7vw, 84px);
    max-width: 9ch;
}

.lrc-lede {
    max-width: 46ch;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}

.lrc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.lrc-countdown {
    padding: 22px;
    border: 1px solid rgba(243, 226, 184, 0.22);
    border-radius: 22px;
    background: rgba(7, 28, 34, 0.45);
    backdrop-filter: blur(8px);
}

.lrc-countdown-label,
.lrc-closed-stamp {
    margin: 0 0 14px;
    color: var(--lrc-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.lrc-closed-stamp {
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 28px;
    letter-spacing: -0.03em;
}

.lrc-clock {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.lrc-clock div {
    padding: 10px 4px 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    text-align: center;
}

.lrc-clock strong {
    display: block;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: clamp(26px, 3vw, 36px);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.lrc-clock span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lrc-road {
    height: 10px;
    margin-top: 36px;
    overflow: hidden;
    background: #071c22;
}

.lrc-road span {
    display: block;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(90deg, #f3e2b8 0 28px, transparent 28px 56px);
    animation: lrc-dash 1.1s linear infinite;
}

.lrc-body {
    padding: 36px 0 88px;
}

.lrc-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: -48px;
    position: relative;
    z-index: 2;
}

.lrc-stats article,
.lrc-panel-block,
.lrc-form,
.lrc-empty,
.lrc-success,
.lrc-alert {
    background: var(--lrc-white);
    border: 1px solid var(--lrc-line);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(13, 51, 60, 0.06);
}

.lrc-stats article {
    padding: 18px 20px 16px;
    border-top: 4px solid var(--lrc-red);
}

.lrc-stats strong {
    display: block;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: clamp(32px, 4vw, 46px);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.lrc-stats span {
    display: block;
    margin-top: 6px;
    color: var(--lrc-body);
    font-size: 14px;
}

.lrc-steps {
    margin: 42px 0 18px;
}

.lrc-steps h2,
.lrc-section-head h2,
.lrc-form-section h2 {
    font-size: clamp(32px, 4vw, 46px);
}

.lrc-steps ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.lrc-steps li {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid var(--lrc-line);
}

.lrc-steps li span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--lrc-ink);
    color: var(--lrc-gold);
    font-family: "Roboto Slab", Georgia, serif;
    font-weight: 700;
}

.lrc-steps h3 {
    margin: 12px 0 6px;
    font-size: 22px;
}

.lrc-steps p,
.lrc-form-foot p,
.lrc-update-note,
.lrc-chapter-empty,
.lrc-empty p {
    margin: 0;
    color: var(--lrc-body);
}

.lrc-panel-block,
.lrc-form-section {
    margin-top: 28px;
}

.lrc-panel-block {
    padding: 26px;
}

.lrc-section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin-bottom: 18px;
}

.lrc-find input {
    width: min(280px, 100%);
    min-height: 46px;
    padding: 10px 14px;
    border: 1.5px solid var(--lrc-line);
    border-radius: 999px;
    background: #fff;
    color: var(--lrc-ink);
    font-size: 15px;
}

.lrc-podium {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.lrc-podium-card {
    flex: 1;
    padding: 18px 16px 16px;
    border-radius: 20px;
    background: #f7f4ef;
    border: 1px solid var(--lrc-line);
    animation: lrc-rise 0.6s ease both;
}

.lrc-podium-card.is-1 { order: 2; flex: 1.15; background: #fff; border-color: #e3c98a; box-shadow: 0 18px 40px rgba(138, 106, 47, 0.12); }
.lrc-podium-card.is-2 { order: 1; animation-delay: 0.08s; }
.lrc-podium-card.is-3 { order: 3; animation-delay: 0.16s; }

.lrc-podium-card .lrc-rank {
    color: var(--lrc-gold-deep);
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 14px;
    letter-spacing: 0.08em;
}

.lrc-podium-card.is-1 .lrc-rank { color: var(--lrc-red); font-size: 18px; }
.lrc-podium-card h3 { margin: 8px 0 2px; font-size: clamp(26px, 3vw, 36px); }
.lrc-legal { margin: 0; color: var(--lrc-body); }

.lrc-chapter-pill {
    display: inline-flex;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(13, 51, 60, 0.08);
    color: var(--lrc-ink);
    font-size: 13px;
    font-weight: 700;
}

.lrc-miles {
    margin: 12px 0 8px;
    font-variant-numeric: tabular-nums;
}

.lrc-miles strong,
.lrc-row .lrc-miles strong {
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 28px;
    font-weight: 700;
}

.lrc-row .lrc-miles strong { font-size: 22px; }

.lrc-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lrc-badge.is-verified { background: #e5f4ea; color: #0f5132; }
.lrc-badge.is-pending { background: #f8edd4; color: #6b4e16; }

.lrc-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lrc-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1.4fr) auto auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px 4px;
    border-top: 1px solid var(--lrc-line);
    animation: lrc-rise 0.5s ease both;
}

.lrc-row:nth-child(2) { animation-delay: 0.04s; }
.lrc-row:nth-child(3) { animation-delay: 0.08s; }
.lrc-row:nth-child(4) { animation-delay: 0.12s; }
.lrc-row:nth-child(5) { animation-delay: 0.16s; }

.lrc-row .lrc-rank {
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 20px;
    color: var(--lrc-red);
}

.lrc-who {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lrc-who strong { font-size: 18px; }
.lrc-who em {
    color: var(--lrc-body);
    font-style: normal;
    font-size: 14px;
}

.lrc-row .lrc-miles { margin: 0; text-align: right; }

.lrc-filter-empty {
    margin: 12px 0 0;
    color: var(--lrc-body);
}

.lrc-tops {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.cvma-lrc a.lrc-top-card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 92px;
    padding: 12px;
    border-radius: 16px;
    background: var(--lrc-ink);
    color: #fff;
    text-decoration: none;
    opacity: 1;
}

.cvma-lrc a.lrc-top-card:hover { transform: translateY(-2px); color: #fff; opacity: 1; }
.lrc-top-card span { color: var(--lrc-gold); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.lrc-top-card strong { font-family: "Roboto Slab", Georgia, serif; font-size: 18px; }
.lrc-top-card em { color: rgba(255,255,255,0.75); font-style: normal; font-size: 13px; }

.lrc-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.cvma-lrc a.lrc-tab {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    background: transparent;
    color: var(--lrc-ink);
    box-shadow: inset 0 0 0 1.5px var(--lrc-line);
    font-weight: 700;
    text-decoration: none;
    opacity: 1;
}

.cvma-lrc a.lrc-tab:hover {
    background: rgba(13, 51, 60, 0.06);
    color: var(--lrc-ink);
}

.cvma-lrc a.lrc-tab.is-active,
.cvma-lrc a.lrc-tab.is-active:hover {
    background: var(--lrc-ink);
    color: #fff;
}

.lrc-chapter { scroll-margin-top: 110px; padding-top: 8px; }
.lrc-chapter h3 { margin: 8px 0 10px; font-size: 28px; }
.lrc-chapter-empty { margin-bottom: 18px; }

.lrc-chapters:has(.lrc-chapter:target) .lrc-chapter { display: none; }
.lrc-chapters:has(.lrc-chapter:target) .lrc-chapter:target { display: block; }
.lrc-chapters.is-ready .lrc-chapter { display: none; }
.lrc-chapters.is-ready .lrc-chapter.is-active { display: block; }

.lrc-empty,
.lrc-success,
.lrc-alert {
    padding: 22px;
    margin-bottom: 16px;
}

.lrc-empty h3 { font-size: 28px; margin-bottom: 6px; }
.lrc-empty .lrc-btn { margin-top: 14px; }

.lrc-success {
    display: flex;
    gap: 14px;
    align-items: center;
    border-color: #b7e0c2;
    background: #f3fbf6;
}

.lrc-success p,
.lrc-alert p { margin: 0; }

.lrc-success-mark {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #14804a;
    position: relative;
    animation: lrc-pop 0.45s ease both;
}

.lrc-success-mark::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 10px;
    width: 16px;
    height: 9px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(-45deg);
}

.lrc-alert {
    border-color: #f0c2c5;
    background: #fff6f6;
    color: var(--lrc-red-deep);
}

.lrc-form {
    padding: 22px;
}

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

.lrc-field,
.lrc-drop {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    color: var(--lrc-ink);
    font-weight: 700;
}

.cvma-lrc .lrc-field input,
.cvma-lrc .lrc-field select,
.cvma-lrc .lrc-find input {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 14px 16px;
    border: 1.5px solid rgba(13, 51, 60, 0.2);
    border-radius: 14px;
    background: #fff;
    color: var(--lrc-ink);
    box-shadow: none;
    font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    appearance: none;
}

.cvma-lrc .lrc-field select {
    background-image: linear-gradient(45deg, transparent 50%, var(--lrc-ink) 50%), linear-gradient(135deg, var(--lrc-ink) 50%, transparent 50%);
    background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.lrc-field small,
.lrc-drop small {
    color: var(--lrc-red-deep);
    font-size: 13px;
    font-weight: 500;
}

.lrc-field small.is-hint,
.lrc-drop-ui em {
    color: var(--lrc-body);
    font-style: normal;
    font-weight: 400;
}

.lrc-field.has-error input,
.lrc-field.has-error select,
.lrc-drop.has-error .lrc-drop-ui {
    border-color: var(--lrc-red);
}

.lrc-drop { margin-top: 14px; }

.lrc-drop {
    position: relative;
}

.cvma-lrc .lrc-drop input[type="file"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none;
}

.lrc-drop-ui {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 120px;
    justify-content: center;
    padding: 18px;
    border: 1.5px dashed rgba(208, 51, 60, 0.55);
    border-radius: 18px;
    background: #fff8f8;
    cursor: pointer;
}

.lrc-drop-ui img {
    display: block;
    max-width: 220px;
    max-height: 140px;
    margin-top: 8px;
    border-radius: 10px;
}

.lrc-drop.is-hot .lrc-drop-ui {
    background: #fff;
    border-color: var(--lrc-ink);
}

.lrc-form-foot {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 16px;
}

.lrc-form-foot p { font-size: 13px; }
.lrc-form-error { color: var(--lrc-red-deep); font-weight: 700; }
.lrc-update-note { margin: 0 0 14px; }

.lrc-hp {
    position: absolute !important;
    left: -9999px !important;
    height: 0;
    width: 0;
    overflow: hidden;
}

.lrc-home-slot { padding-top: 28px; }
.cvma-lrc-banner { margin: 0 0 8px; }

.lrc-banner-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 22px 78px 22px 28px;
    border-radius: 18px;
    background:
        radial-gradient(420px 120px at 100% 0%, rgba(208, 51, 60, 0.45), transparent 70%),
        var(--lrc-ink);
    color: #fff;
}

.lrc-banner-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 7px;
    background: var(--lrc-red);
}

.lrc-banner-card .lrc-coin {
    width: 92px;
    height: 92px;
}

.lrc-banner-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.cvma-lrc-banner h2 { font-size: clamp(28px, 4vw, 38px); color: #fff; }
.lrc-banner-copy p:last-child { margin: 6px 0 0; color: rgba(255,255,255,0.82); }
.cvma-lrc-banner .lrc-eyebrow { margin-bottom: 4px; }

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@keyframes lrc-dash {
    from { transform: translateX(0); }
    to { transform: translateX(-56px); }
}

@keyframes lrc-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

@keyframes lrc-pop {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: none; opacity: 1; }
}

@media (max-width: 900px) {
    .lrc-hero { padding-top: 132px; }
    .lrc-hero-grid,
    .lrc-steps ol,
    .lrc-form-grid,
    .lrc-stats { grid-template-columns: 1fr; }
    .lrc-tops { grid-template-columns: repeat(2, 1fr); }
    .lrc-podium { flex-direction: column; align-items: stretch; }
    .lrc-podium-card.is-1,
    .lrc-podium-card.is-2,
    .lrc-podium-card.is-3 { order: unset; }
    .lrc-podium-card.is-1 { order: 1; }
    .lrc-podium-card.is-2 { order: 2; }
    .lrc-podium-card.is-3 { order: 3; }
    .lrc-row {
        grid-template-columns: 48px minmax(0, 1fr) auto;
    }
    .lrc-row .lrc-chapter-pill,
    .lrc-row .lrc-badge { display: none; }
    .lrc-hero-side { align-items: flex-start; }
    .lrc-coin { width: 120px; height: 120px; }
    .lrc-form-foot,
    .lrc-banner-card,
    .lrc-section-head { flex-direction: column; align-items: stretch; }
    .lrc-banner-card .lrc-coin { align-self: flex-start; width: 84px; height: 84px; }
}

@media (prefers-reduced-motion: reduce) {
    .cvma-lrc *,
    .cvma-lrc *::before,
    .cvma-lrc *::after,
    .cvma-lrc-banner *,
    .cvma-lrc-banner *::before,
    .cvma-lrc-banner *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media print {
    .lrc-hero-actions,
    .lrc-form-section,
    .lrc-road,
    .lrc-find,
    .lrc-tabs { display: none !important; }
    .lrc-chapter { display: block !important; }
    .cvma-lrc { color: #000; }
}
