/* Shared visual treatment for records, the featured fact and the transfer ticket. */
.recap-story {
    --fact-gold: #ffd46a;
    --fact-paper: #f3f8f9;
    --fact-muted: #c1d3d7;
    --fact-badge: #164b49;
}

.recap-story .talking-card[data-card] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
    min-width: 0;
}

.recap-story .talking-card h3,
.recap-story .talking-card .talking-value,
.recap-story p.recap-fact-detail {
    margin: 0;
}

.recap-story .talking-value,
.recap-story .recap-highlight {
    color: var(--fact-gold);
    font-variant-numeric: tabular-nums;
}

.recap-story .recap-fact-badges,
.recap-story .cml-fact-badges,
.recap-story .recap-fact-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .38rem .5rem;
    min-width: 0;
}

.recap-story .recap-badge,
.recap-story .cml-fact-badge {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid #598383;
    border-radius: .55rem;
    background: var(--fact-badge);
    padding: .25em .62em;
    line-height: 1.4;
    font-size: .86rem;
    font-weight: 650;
    color: #fff;
    letter-spacing: normal;
    overflow-wrap: anywhere;
    text-transform: none;
}

.recap-story a.recap-badge,
.recap-story a.cml-fact-badge {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}

.recap-story a.recap-badge:hover,
.recap-story a.cml-fact-badge:hover {
    background: #23615e;
    border-color: #b3dcd9;
    color: #fff;
}
.recap-story a.recap-badge:focus-visible,
.recap-story a.cml-fact-badge:focus-visible,
.recap-story .cml-fact-manager:focus-visible,
.recap-story #talking-discovery-next:focus-visible {
    outline: 3px solid var(--fact-gold);
    outline-offset: 3px;
}

.recap-story .recap-fact-meta,
.recap-story .cml-fact-period {
    color: var(--fact-muted);
    font-variant-numeric: tabular-nums;
    font-size: .86rem;
    font-weight: 550;
    line-height: 1.4;
}
.recap-fact-meta > span + span::before {
    content: "·";
    margin-right: .5rem;
}

.recap-story .recap-fact-detail {
    font-size: .98rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--fact-paper);
    overflow-wrap: anywhere;
}
.recap-story .cml-fact-manager { color: inherit; }
.recap-story .record-ticket .cml-fact-period { margin-top: .45rem; color: inherit; }
.recap-story #talking-discovery[hidden] { display: none; }
.recap-story #talking-discovery-content {
    display: grid;
    gap: .5rem;
    align-content: start;
    min-width: 0;
}
.recap-story #talking-discovery-content > * { margin: 0; }
.recap-story #talking-discovery-content [data-value] {
    color: var(--fact-gold);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    line-height: 1.15;
}
@media (max-width: 40rem) {
    .recap-story .talking-grid { grid-template-columns: minmax(0, 1fr); }
    .recap-story .record-ticket { flex-wrap: wrap; }
    .recap-story #talking-discovery { flex-wrap: wrap; gap: .75rem; }
}

/* Light editorial panels retain their own readable ink in either site theme. */
.recap-story .talking-story--academy {
    --fact-gold: #315b37;
    --fact-paper: #183c32;
    --fact-muted: #385c4c;
}
.recap-story .talking-story--oddities {
    --fact-gold: #71451f;
    --fact-paper: #292b39;
    --fact-muted: #59452c;
}

.recap-page > .recap-actions { width:100%; margin:0 0 16px; min-height:0; }
.recap-actions .recap-story-link { display:block; box-sizing:border-box; width:100%; padding:14px 20px; border-radius:8px; background:#d2ef74; color:#102b26; text-align:center; font-weight:700; }
.recap-actions .recap-story-link:hover { background:#e3f5a7; }
.record-ticket .cml-fact-player { flex-basis:100%; }

/* Footer actions are separate from the full-width navigation above the story. */
.recap-page > .recap-download-actions { margin:28px 0 16px; padding-top:4px; }
.recap-story .record-ticket .cml-fact-player .cml-fact-badge {
    font-size:clamp(1.35rem,2.8vw,1.9rem); font-weight:800; line-height:1.2; padding:.35em .6em;
}
.recap-story .build-breakdown { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); gap:12px; }
.recap-story .build-breakdown .story-stat,
.recap-story .stadium-art > .story-stat,
.recap-story .stadium-small .story-stat {
    box-sizing:border-box; min-width:0; padding:18px 16px; border:1px solid #a5bec8;
    border-top:4px solid #2a6671; border-radius:10px; background:#f3f8fa;
    box-shadow:0 4px 12px #142d430c; gap:10px; text-align:left; align-items:flex-start;
}
.recap-story .build-breakdown .story-stat strong,
.recap-story .stadium-art > .story-stat strong,
.recap-story .stadium-small .story-stat strong { color:#164d59; font-size:clamp(1.5rem,2.6vw,2.1rem); line-height:1.1; }
.recap-story .build-story .story-stat span { max-width:none; color:#284653; line-height:1.45; }
.recap-story .stadium-small { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); gap:12px; margin-top:12px; }
.recap-story .build-story .story-stat strong { max-width:100%; overflow-wrap:anywhere; }
.recap-story .stadium-art > .story-stat { margin-top:16px; }
@media(max-width:600px) {
    .recap-story .build-breakdown { grid-template-columns:1fr; }
    .recap-story .stadium-small { grid-template-columns:1fr; }
}

.recap-page a,.recap-page a:hover,.recap-page a:focus { text-decoration:none; }
.recap-page .story-filters .btn { box-sizing:border-box; padding:0 18px; min-height:42px; height:42px; line-height:1.2; align-self:end; }
.recap-story .build-story .story-stat { text-align:center; align-items:center; justify-content:center; }
.recap-story .stadium-art > .story-stat { width:calc((100% - 12px)/2); box-sizing:border-box; margin:16px auto 0; }
.recap-story .stadium-small { grid-template-columns:repeat(2,minmax(0,1fr)); }
.recap-story .stadium-art > .story-stat strong { font-size:clamp(1.5rem,3vw,2.2rem); }
