/* FF Legends public pages (20261123_legend_pages): /legends/ and /legends/<slug>/.
   Sits on the article shell (css/article-pages.css) and reuses the in-app
   legend pieces (css/legends.css: crest, record, strip, cells, fight cards).
   Navy #121a2b, gold #d6b05c, cream #f4efe6. W-L-D green / red / grey. */

.lp-hero {
    position: relative; background: #121a2b; color: #f4efe6; border-radius: 28px;
    padding: 28px 30px 24px; box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}
.lp-hero-id { display: flex; align-items: center; gap: 18px; }
.lp-hero-idtxt { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lp-kicker { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #d6b05c; }
.lp-name { margin: 0; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.04; letter-spacing: -.02em; color: #f4efe6; font-weight: 900; }
.lp-sub { font-size: 15px; font-weight: 700; color: #d6b05c; }
.lp-divs { font-size: 14px; color: #a9b0bd; }
.lp-rec { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; font-size: 30px; }
.lp-rec .lg-ko { font-size: 14px; }
.lp-hero .lg-rec .lg-w { color: #5fd08a; }
.lp-hero .lg-rec .lg-l { color: #ff7a6e; }
.lp-hero .lg-rec .lg-d, .lp-hero .lg-rec { color: #9aa1ad; }
.lp-hero .lg-ko { color: #a9b0bd; }
.lp-strip .lg-strip { height: 34px; margin-top: 14px; }
.lp-hub-lead { margin: 10px 0 0; max-width: 680px; font-size: 16px; line-height: 1.6; color: #d9d3c7; }

.lp-prose .lp-cells { margin-bottom: 6px; }
.lp-prose h2 { margin-top: 26px; }
.lp-prose .lg-fights { margin-bottom: 8px; }
.lp-prose .lg-fight-opp { font-size: 16px; }

/* Full record */
.lp-table-wrap { margin: 4px 0 16px; border: 1px solid #eceef2; border-radius: 14px; overflow: hidden; }
.lp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.lp-table th:nth-child(2), .lp-table td:nth-child(2) { width: 34px; }
.lp-table th { text-align: left; padding: 10px 10px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6b7280; background: #f7f8fa; }
.lp-table td { padding: 8px 10px; border-top: 1px solid #f0f1f4; color: #1A1A2E; vertical-align: top; }
.lp-table .lp-n { width: 34px; color: #9aa1ad; font-variant-numeric: tabular-nums; }
.lp-table .lp-opp { font-weight: 700; }
.lp-table .lp-how, .lp-table .lp-date { color: #6b7280; white-space: nowrap; }
.lp-title { display: inline-block; margin-left: 4px; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #7a5d1e; background: #f6efdc; border-radius: 999px; padding: 2px 6px; vertical-align: 1px; }
.ff-article-prose .lp-src { font-size: 12.5px; line-height: 1.6; color: #8a91a0; margin-top: 4px; }
.ff-article-prose .lp-src a { color: #6b7280; }

/* Legend rows (hub list + sidebar) */
.lp-list { display: flex; flex-direction: column; }
.lp-row {
    display: flex; align-items: center; gap: 12px; padding: 11px 2px; min-height: 64px;
    border-top: 1px solid #eef0f3; text-decoration: none; color: inherit;
}
.lp-row:first-child { border-top: 0; }
.lp-row-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lp-row-name { font-size: 15.5px; font-weight: 800; color: #1A1A2E; line-height: 1.2; }
.lp-row-sub { font-size: 12.5px; color: #6b7280; white-space: nowrap; }
.lp-row-rec { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 15px; }
.lp-list--side .lp-row { padding: 9px 0; }
.lp-list--side .lp-row-name { font-size: 14.5px; }

@media (max-width: 760px) {
    .lp-hero { border-radius: 22px; padding: 22px 18px 18px; }
    .lp-hero-id { gap: 14px; }
    .lp-rec { font-size: 26px; margin-top: 14px; }
    .lp-table { font-size: 12.5px; }
    .lp-table th, .lp-table td { padding: 7px 6px; }
    .lp-table .lp-n { width: 26px; }
}
@media (max-width: 420px) {
    .lp-table .lp-n { display: none; }
}

/* Rows sit inside .ff-article-prose, whose links are red and underlined. */
.ff-article-prose a.lp-row, .ff-article-prose a.lp-row:hover { color: inherit; font-weight: inherit; text-decoration: none; }
.ff-article-prose a.lp-row:hover .lp-row-name { color: var(--ff-red); }

/* All-time draft CTA (20261123_alltime) */
.ff-article-prose a.lp-draft {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 4px;
    min-height: 52px; padding: 0 16px; border-radius: 14px; background: #121a2b; color: #f4efe6;
    font-size: 15px; font-weight: 900; text-decoration: none;
}
.ff-article-prose a.lp-draft span { color: #d6b05c; font-size: 22px; }

/* Only on FF rows on the public pages (20261123_ff_only) */
.ff-article-prose a.lp-web-row {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 0 12px;
    border-top: 1px solid #f1f2f5; color: #1A1A2E; font-weight: 700; text-decoration: none;
}
.ff-article-prose a.lp-web-row:first-child { border-top: 0; }
.ff-article-prose a.lp-web-row > span[aria-hidden] { color: #9aa1ad; font-size: 20px; }
.lp-web { margin-bottom: 8px; }

/* Legends art (20261123_legends_art): the vintage ring behind a legend,
   the hall of gloves and belts behind the hub. Gradient keeps text on navy. */
.lp-hero {
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(18,26,43,.7) 0%, rgba(18,26,43,.93) 40%, #121a2b 75%),
        url('/img/legends/today-ring.webp?v=20261123_legends_art') center 30% / cover no-repeat,
        #121a2b;
}
.lp-hero--hub {
    padding-top: 120px;
    background:
        linear-gradient(180deg, rgba(10,15,27,0) 0%, rgba(10,15,27,.5) 22%, rgba(18,26,43,.95) 46%, #121a2b 60%),
        url('/img/legends/hall.webp?v=20261123_legends_art') center 40% / cover no-repeat,
        #121a2b;
}
.lp-kicker .lg-emb { width: 24px; height: 24px; vertical-align: -7px; }
.lp-name, .lp-sub { text-shadow: 0 2px 10px rgba(0,0,0,.45); }
@media (min-width: 760px) {
    .lp-hero--hub { padding-top: 150px; }
}
