.result-detail {
    --result-ink: #20232b;
    --result-muted: #737783;
    --result-red: #aa0000;
    max-width: 1080px;
    color: var(--result-ink);
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding-top: 10px;
    padding-bottom: 30px;
}
.result-detail *, .result-detail *::before, .result-detail *::after { box-sizing: border-box; }
.result-detail .result-back { display: inline-flex; align-items: center; gap: 10px; color: #616570; font-size: 13px; font-weight: 700; text-decoration: none; }
.result-detail .result-back:hover { color: var(--result-red); }
.result-back > span { font-size: 20px; line-height: 1; }
.result-hero { position: relative; overflow: hidden; margin-top: 22px; padding: 32px 40px 0; border-radius: 20px; color: #fff; background: radial-gradient(ellipse at 100% 0%, #c52b32 0, transparent 65%), var(--result-red); box-shadow: 0 18px 40px -24px rgba(130, 0, 0, .35); }
.result-hero::before { content: ''; position: absolute; left: 0; top: 35px; width: 4px; height: 46px; background: #ec555a; }
.result-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.result-eyebrow { display: block; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.result-hero .result-eyebrow { color: #ffe0e1; }
.result-bib { display: inline-flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: 7px 12px; color: #ffe5e5; font-size: 12px; }
.result-bib strong { color: #fff; font-size: 20px; font-variant-numeric: tabular-nums; }
.result-event { margin: 24px 0 10px; color: #ffe0e1; font-size: 15px; overflow-wrap: anywhere; }
.result-detail .result-hero h1 { max-width: 100%; margin: 0; font-size: clamp(30px, 4.7vw, 52px); font-weight: 800; line-height: 1.13; letter-spacing: -.035em; overflow-wrap: anywhere; }
.result-hero h1 span { color: #fff; }
.result-identity { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 20px 0 32px; color: #ffe5e5; font-size: 13px; }
.result-identity > span { border-left: 2px solid #f58c91; padding-left: 10px; overflow-wrap: anywhere; }
.result-hero-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); color: #ffdddd; font-size: 11px; }
.result-hero-footer strong { color: #fff; font-weight: 600; }
.result-brand { white-space: nowrap; color: #fff; font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.result-brand > span { color: #ffdddd; font-weight: 400; }
.result-metrics { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin: 22px 0 0; }
.result-metric { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; min-width: 0; min-height: 175px; padding: 25px 22px; border: 1px solid #e6e7eb; border-radius: 15px; background: #fff; box-shadow: 0 5px 15px rgba(23,28,42,.025); }
.result-metric-primary { background: #fff8f7; border-color: #eedbd9; }
.result-label { display: block; color: #747680; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.result-time { display: block; max-width: 100%; margin: 15px 0 10px; color: var(--result-red); font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; line-height: 1.2; letter-spacing: -.04em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.result-time-secondary { color: var(--result-ink); font-size: clamp(23px, 2.8vw, 31px); }
.result-position { margin: 8px 0; font-size: 38px; line-height: 1.2; font-weight: 800; letter-spacing: -.04em; }
.result-position > span { color: #aeb0b8; font-size: 24px; margin-right: 4px; }
.result-caption { color: var(--result-muted); font-size: 11px; overflow-wrap: anywhere; }
.result-section-heading { margin: 42px 0 20px; }
.result-section-heading .result-eyebrow { color: var(--result-red); margin-bottom: 8px; }
.result-detail .result-section-heading h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.025em; }
.result-panel { overflow: hidden; margin-bottom: 24px; border: 1px solid #e6e7eb; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(23,28,42,.035); }
.result-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 28px; }
.result-panel-heading .result-label { margin-bottom: 7px; }
.result-detail .result-panel-heading h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.result-panel-number { color: #b6b8c0; font-size: 24px; font-weight: 400; }
.result-certificate { padding: 28px; background: #f0f1f4; border-top: 1px solid #e6e7eb; }
.result-certificate img { display: block; width: 100%; height: auto; box-shadow: 0 6px 20px rgba(23,28,42,.1); }
.result-video-stage { display: flex; justify-content: center; background: #111318; }
.result-video-stage video { display: block; width: 100%; max-height: 620px; object-fit: contain; }
.result-panel-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 28px; }
.result-panel-footer p { margin: 0; color: var(--result-muted); font-size: 13px; }
.result-detail .result-button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 8px; background: var(--result-red); color: #fff; text-decoration: none; font-size: 12px; font-weight: 800; transition: background .15s; }
.result-detail .result-button:hover { background: #800000; }
.result-button > span { font-size: 19px; line-height: 1; }
.result-detail a:focus-visible { outline: 3px solid #df8c8c; outline-offset: 4px; }
.result-processing { padding: 35px 24px 42px; border-top: 1px solid #eee; text-align: center; background: #f8f8fa; }
.result-processing-icon { color: var(--result-red); font-size: 36px; }
.result-detail .result-processing h3 { margin: 12px 0; font-size: 18px; font-weight: 800; }
.result-processing p { max-width: 470px; margin: auto; font-size: 13px; line-height: 1.8; color: var(--result-muted); }
.result-bottom-nav { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #e0e1e6; }
.result-bottom-nav > span { color: #8b8e98; font-size: 12px; }
@media (max-width: 767px) {
    .result-detail { padding-top: 0; }
    .result-hero { padding: 24px 24px 0; border-radius: 16px; }
    .result-hero-top { gap: 8px; }
    .result-eyebrow { font-size: 9px; }
    .result-bib { padding: 5px 9px; gap: 8px; }
    .result-event { margin-top: 22px; font-size: 13px; }
    .result-hero-footer { align-items: flex-start; }
    .result-metrics { grid-template-columns: 1fr 1fr; gap: 12px; }
    .result-metric { min-height: 155px; padding: 20px 16px; }
    .result-metric-primary { grid-column: 1 / -1; min-height: 155px; }
    .result-metric-primary .result-time { font-size: 42px; }
    .result-time-secondary { font-size: clamp(20px, 5.5vw, 30px); }
    .result-label { font-size: 9px; }
    .result-section-heading { margin-top: 32px; }
    .result-detail .result-section-heading h2 { font-size: 22px; }
    .result-panel-heading { padding: 20px; }
    .result-certificate { padding: 14px; }
    .result-panel-footer { flex-direction: column; align-items: stretch; padding: 20px; gap: 14px; }
    .result-panel-footer p { text-align: center; }
    .result-bottom-nav > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .result-detail .result-button { transition: none; }
}
.result-classification-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.result-detail .result-button-outline { border: 1px solid var(--result-red); background: #fff; color: var(--result-red); }
.result-detail .result-button-outline:hover { background: #fff0ee; }
@media (max-width: 767px) {
    .result-classification-links > a { flex: 1 1 200px; }
}
