/* Premium Heritage shared by all public pages, the CMS, login and maintenance. */
body.pmf-heritage {
    --pmf-bg: #111820;
    --pmf-panel: #19232d;
    --pmf-slate: #253443;
    --pmf-line: #35424c;
    --pmf-muted: #b6bdc3;
    --pmf-accent: #C7A56A;
    --pmf-ivory: #F1EEE7;
    --pmf-header: 88px;
    --bs-body-color: #F1EEE7;
    --bs-secondary-color: #b6bdc3;
    --bs-secondary-rgb: 182,189,195;
    --bs-link-color-rgb: 199,165,106;
    --bs-link-hover-color-rgb: 241,238,231;
    color: var(--pmf-ivory);
    background: var(--pmf-bg);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.pmf-heritage .pmf-navbar { background: #111820f7; border-color: #c7a56a35; }
body.pmf-heritage .pmf-logo { width: 60px; height: 60px; }
body.pmf-heritage .pmf-brand { font-size: 1.12rem; letter-spacing: -.035em; color: var(--pmf-ivory); }
body.pmf-heritage .pmf-navbar .nav-link { font-size: .82rem; font-weight: 500; letter-spacing: .02em; }
body.pmf-heritage .pmf-navbar .nav-link.active { color: var(--pmf-accent); }
body.pmf-heritage .pmf-eyebrow { color: var(--pmf-accent); font-size: .66rem; font-weight: 600; letter-spacing: .19em; line-height: 1.8; }
body.pmf-heritage h2,
body.pmf-heritage .pmf-home-latest-copy h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400 !important; letter-spacing: -.025em; }
body.pmf-heritage .display-5 { font-size: clamp(2.1rem,3.5vw,3.1rem); line-height: 1.12; }
body.pmf-heritage .pmf-section { padding: clamp(3.5rem,6vw,5.5rem) 0; }
body.pmf-heritage :is(section,[id]) { scroll-margin-top: 110px; }
body.pmf-heritage .btn { border-radius: 2px; font-size: .8rem; font-weight: 600; }
body.pmf-heritage .pmf-btn-primary { background: var(--pmf-accent); border-color: var(--pmf-accent); color: #111820; }
body.pmf-heritage .pmf-btn-primary:is(:hover,:focus-visible,:active) { background: #dfc392; border-color: #dfc392; color: #111820; }
body.pmf-heritage .btn-outline-secondary { border-color: #7b807e; color: var(--pmf-ivory); }
body.pmf-heritage .btn-outline-secondary:is(:hover,:active) { background: var(--pmf-slate); border-color: var(--pmf-accent); }
body.pmf-heritage a:focus-visible,
body.pmf-heritage button:focus-visible,
body.pmf-heritage input:focus-visible { outline: 2px solid var(--pmf-accent); outline-offset: 5px; }
body.pmf-heritage .pmf-home-hero { padding: 3rem 0 2.8rem; background: radial-gradient(ellipse at 82% 40%,#253443 0%,#111820 65%); border: 0; }
.pmf-heritage-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.pmf-heritage-hero-copy { min-width: 0; padding: 2rem 0; }
body.pmf-heritage .pmf-home-title { font-family: Georgia,'Times New Roman',serif; font-size: clamp(3rem,5.6vw,5.3rem); line-height: 1.07; font-weight: 400; letter-spacing: -.045em; margin-top: 1.5rem; }
body.pmf-heritage .pmf-home-title span { color: var(--pmf-accent); font-style: italic; }
body.pmf-heritage .pmf-home-lead { color: var(--pmf-ivory); font-size: 1rem; line-height: 1.7; margin-top: 1.9rem; max-width: 30rem; }
.pmf-heritage-intro { max-width: 29rem; color: var(--pmf-muted); font-size: .9rem; line-height: 1.85; }
.pmf-heritage-hero-note { display: flex; align-items: center; gap: .8rem; color: var(--pmf-muted); font-size: .66rem; letter-spacing: .09em; margin-top: 2.7rem; }
.pmf-heritage-hero-note > span { width: 34px; height: 1px; background: var(--pmf-accent); }
.pmf-heritage-artifact { position: relative; margin: 0; padding: 1.25rem 1.5rem; border: 1px solid #c7a56a45; background: radial-gradient(ellipse at 50% 35%,#35435250,transparent 70%); }
.pmf-heritage-artifact-label { display: flex; justify-content: space-between; color: var(--pmf-accent); font-size: .61rem; letter-spacing: .16em; text-transform: uppercase; }
.pmf-heritage-artifact > img { display: block; width: 100%; height: clamp(330px,34vw,480px); object-fit: contain; margin: 1.25rem auto; }
.pmf-heritage-artifact figcaption { display: flex; justify-content: space-between; gap: .7rem; padding-top: .85rem; border-top: 1px solid #c7a56a35; font-size: .62rem; color: var(--pmf-muted); }
.pmf-heritage-artifact figcaption > span:first-child { color: var(--pmf-ivory); }
.pmf-heritage-index { border-block: 1px solid #c7a56a35; background: #25344340; }
.pmf-heritage-index > div { display: flex; align-items: center; justify-content: space-between; gap: 1.3rem; padding-block: 1.3rem; }
.pmf-heritage-index span { font-family: Georgia,'Times New Roman',serif; font-style: italic; font-size: 1.1rem; color: var(--pmf-muted); }
.pmf-heritage-index a { color: var(--pmf-ivory); text-decoration: none; font-size: .65rem; text-transform: uppercase; letter-spacing: .11em; }
.pmf-heritage-index a:hover { color: var(--pmf-accent); }
body.pmf-heritage .pmf-home-latest-card { border-radius: 3px; background: var(--pmf-panel); }
body.pmf-heritage .pmf-home-latest-image-wrap,
body.pmf-heritage .pmf-home-latest-image { background: #0d131a; }
body.pmf-heritage .pmf-home-image-label { color: var(--pmf-muted); font-size: .63rem; font-weight: 500; }
body.pmf-heritage .pmf-home-latest-status { border-color: #c7a56a70; color: #dfc392; background: #c7a56a0d; border-radius: 2px; font-size: .63rem; }
body.pmf-heritage .pmf-home-point-counts span { border-radius: 2px; color: var(--pmf-muted); }
/* Match/mismatch markers retain their established semantic colors and geometry. */
body.pmf-heritage .pmf-home-more-card { border-radius: 3px; background: transparent; }
body.pmf-heritage .pmf-home-more-card b { color: var(--pmf-accent); }
body.pmf-heritage .pmf-home-more-card:hover { border-color: var(--pmf-accent); }
body.pmf-heritage .pmf-home-featured-card { border-radius: 3px; background: var(--pmf-panel); }
body.pmf-heritage .pmf-home-featured-image { aspect-ratio: 4 / 5; background: #0d131a; }
body.pmf-heritage .pmf-home-featured-image img { object-fit: contain; }
body.pmf-heritage .pmf-home-featured-image .badge { background: var(--pmf-accent) !important; color: #111820 !important; border-radius: 1px; font-size: .6rem; text-transform: uppercase; letter-spacing: .09em; }
body.pmf-heritage .pmf-home-featured-card h3 { font-family: Georgia,'Times New Roman',serif; font-size: 1.3rem; font-weight: 400; }
body.pmf-heritage .pmf-home-updates { border-radius: 3px; background: transparent; border-color: var(--pmf-line); }
body.pmf-heritage .pmf-home-update-dot { background: var(--pmf-accent); box-shadow: 0 0 0 4px #c7a56a12; }
body.pmf-heritage .pmf-home-updates-link { color: var(--pmf-accent); font-size: .8rem; }
body.pmf-heritage .pmf-studio-home-card { border-color: #c7a56a60; border-radius: 3px; background: linear-gradient(110deg,#253443,#19232d); }
body.pmf-heritage .pmf-studio-home-card .fs-5 { font-size: 1rem !important; line-height: 1.8; }
body.pmf-heritage .pmf-studio-home-version { border-color: var(--pmf-accent); font-size: .84rem; }
body.pmf-heritage #home-newsletter .pmf-newsletter-card { border-radius: 3px; border-top-width: 1px; background: var(--pmf-panel); }
body.pmf-heritage #home-newsletter h2 { font-family: Georgia,'Times New Roman',serif; font-weight: 400; }
body.pmf-heritage #home-newsletter .pmf-newsletter-mark { border-radius: 2px; background: transparent; color: var(--pmf-accent); border-color: #c7a56a60; }
body.pmf-heritage #home-newsletter .pmf-newsletter-benefits li::before { color: var(--pmf-accent); }
body.pmf-heritage #home-newsletter .pmf-newsletter-form { border-radius: 3px; background: var(--pmf-bg); }
body.pmf-heritage #home-newsletter .pmf-newsletter-form .form-control { border-radius: 2px; background: var(--pmf-panel); color: var(--pmf-ivory); }
body.pmf-heritage #home-newsletter .pmf-newsletter-topic { border-radius: 2px; }
body.pmf-heritage #home-newsletter .pmf-newsletter-topic:hover,
body.pmf-heritage #home-newsletter .pmf-newsletter-topic:has(input:checked) { border-color: var(--pmf-accent); background: #c7a56a0b; }
body.pmf-heritage #home-newsletter :is(input,button,a):focus-visible { outline-color: var(--pmf-accent); }
body.pmf-heritage #home-newsletter a { color: var(--pmf-ivory); }
body.pmf-heritage #home-newsletter a.pmf-btn-primary { color: var(--pmf-bg); }
body.pmf-heritage .pmf-home-process-card { border: 0; border-top: 1px solid #c7a56a70; padding: 1.5rem .7rem 0 0; border-radius: 0; background: transparent; }
body.pmf-heritage .pmf-home-process-card > span { font: italic 2rem Georgia,'Times New Roman',serif; color: var(--pmf-accent); }
body.pmf-heritage .pmf-home-process-card h3 { font: 1.4rem Georgia,'Times New Roman',serif; margin-block: 1rem; }
body.pmf-heritage .pmf-characteristics span { border-radius: 2px; background: transparent; color: var(--pmf-ivory); font-size: .8rem; font-weight: 400; }
body.pmf-heritage .pmf-home-stats { background: var(--pmf-slate); border-color: #c7a56a50; }
body.pmf-heritage .pmf-stat strong { font: 4rem Georgia,'Times New Roman',serif; color: var(--pmf-accent); }
body.pmf-heritage .pmf-stat span { font-size: .65rem; font-weight: 400; line-height: 1.6; }
body.pmf-heritage .pmf-home-disclaimer { border-radius: 3px; background: transparent; }
body.pmf-heritage .pmf-home-disclaimer p { font-size: .86rem; line-height: 1.8; }
body.pmf-heritage .pmf-footer { background: #0d131a; }
@media (max-width: 1199.98px) {
    .pmf-heritage-hero-grid { grid-template-columns: 1.1fr 1fr; gap: 2rem; }
    body.pmf-heritage .pmf-navbar .nav-link { padding-inline: .6rem !important; }
}
@media (max-width: 991.98px) {
    body.pmf-heritage { --pmf-header: 80px; }
    .pmf-heritage-hero-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    body.pmf-heritage .pmf-home-title { font-size: 3.2rem; }
    .pmf-heritage-artifact { padding: 1rem; }
    .pmf-heritage-artifact > img { height: 360px; }
    .pmf-heritage-artifact figcaption { flex-direction: column; }
    .pmf-heritage-index > div { flex-wrap: wrap; justify-content: flex-start; gap: 1rem 2rem; }
    .pmf-heritage-index span { width: 100%; }
}
@media (max-width: 767.98px) {
    body.pmf-heritage .pmf-home-hero { padding: 1.7rem 0 2rem; }
    .pmf-heritage-hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .pmf-heritage-hero-copy { padding: 1rem 0; }
    body.pmf-heritage .pmf-home-title { font-size: clamp(2.75rem,10vw,4.5rem); }
    .pmf-heritage-artifact > img { height: 380px; }
    .pmf-heritage-artifact figcaption { flex-direction: row; }
    body.pmf-heritage .pmf-logo { width: 42px; height: 42px; }
    body.pmf-heritage .pmf-brand { font-size: .98rem; }
    .pmf-heritage-hero-note { margin-top: 1.6rem; letter-spacing: .04em; }
    body.pmf-heritage .pmf-home-latest-copy { padding: 1.4rem; }
}
@media (max-width: 359.98px) {
    body.pmf-heritage .pmf-brand { font-size: .83rem; }
    body.pmf-heritage .pmf-logo { width: 32px; height: 32px; }
    .pmf-heritage-artifact figcaption { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    body.pmf-heritage *, body.pmf-heritage *::before, body.pmf-heritage *::after { transition: none !important; scroll-behavior: auto !important; }
}

body.pmf-heritage .pmf-navbar {background:rgba(17,24,32,.96);}

body.pmf-heritage .pmf-navbar .nav-link {color:#b6bdc3;}

body.pmf-heritage .pmf-hero {background:radial-gradient(circle at 80% 25%,rgba(199,165,106,.13),transparent 30%),linear-gradient(180deg,#111820,var(--pmf-bg));}

body.pmf-heritage .pmf-btn-primary:hover {background:#dfc392;border-color:#dfc392;}

body.pmf-heritage .form-control, body.pmf-heritage .form-select {color:#f1eee7;}

body.pmf-heritage .pmf-contact-email:hover {color:#c7a56a;}

body.pmf-heritage .pmf-contact-guidance > div > span {color:#c7a56a;}

body.pmf-heritage .pmf-imprint-contact a:hover {color:#c7a56a;}

body.pmf-heritage .pmf-privacy-stack a:hover {color:#c7a56a;}

body.pmf-heritage .pmf-footer .pmf-footer-links a {color:#b6bdc3 !important;}

body.pmf-heritage .pmf-about-hero {background:radial-gradient(
            circle at 82% 30%,
            rgba(199,165,106, .15),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #111820 0%,
            var(--pmf-bg) 100%
        );}

body.pmf-heritage .pmf-about-restriction span {border:1px solid rgba(199,165,106, .4);background:rgba(199,165,106, .05);}

body.pmf-heritage .pmf-share-copy-link {border-color:rgba(199,165,106,.55);}

body.pmf-heritage .pmf-share-copy-link:hover {border-color:#c7a56a;background:rgba(199,165,106,.08);}

body.pmf-heritage .pmf-studio-hero {background:radial-gradient(circle at 80% 35%,rgba(199,165,106,.2),transparent 35%),linear-gradient(145deg,#090b10,#151820);}

body.pmf-heritage .pmf-studio-logo-placeholder {border:3px solid #c7a56a;}

body.pmf-heritage .pmf-studio-notice {border-left:4px solid #c7a56a;}

body.pmf-heritage .pmf-checksum span {color:#c7a56a;}

/* Shared content surfaces. Layout, interactions and evidence geometry stay in their original stylesheets. */
body.pmf-heritage {
    --bg: #111820; --bg-soft: #19232d; --panel: #19232d; --panel-2: #253443;
    --line: #35424c; --line-soft: #c7a56a30; --text: #f1eee7; --muted: #b6bdc3; --muted-2: #b6bdc3;
    --red: #c7a56a; --red-deep: #dfc392;
    --bg-main: #111820; --bg-sidebar: #111820; --bg-card: #19232d; --bg-card-hover: #253443;
    --border: #35424c; --text-main: #f1eee7; --text-secondary: #b6bdc3; --text-muted: #b6bdc3;
    --primary: #c7a56a; --primary-light: #dfc392;
    --bs-body-bg: #111820; --bs-tertiary-bg: #253443; --bs-border-color: #35424c;
}
body.pmf-heritage :is(.pmf-display,.pmf-about-title,.pmf-detail-title,.content-header h1,.login-card h1,.page-title) {
    font-family: Georgia,'Times New Roman',serif; font-weight: 400; letter-spacing: -.025em;
}
body.pmf-heritage .pmf-hero {
    background: radial-gradient(ellipse at 85% 25%,#253443,transparent 65%),#111820;
    border-color: #c7a56a40;
}
body.pmf-heritage :is(.pmf-card,.pmf-collection-card,.pmf-jersey-image,.pmf-gallery-card,.pmf-match-card,.pmf-detail,.pmf-evidence-panel,.pmf-evidence-toolbar,.pmf-contact-note,.pmf-about-card,.pmf-about-faq,.pmf-studio-card,.pmf-studio-notice,.pmf-verify-result) {
    background-color: var(--pmf-panel); border-radius: 3px;
}
body.pmf-heritage .pmf-collection-card h2 { color: var(--pmf-ivory); }
body.pmf-heritage :is(.form-control,.form-select) { background-color: #19232d; border-color: #52616e; color: #f1eee7; border-radius: 3px; }
body.pmf-heritage :is(.form-control,.form-select):focus { border-color: #c7a56a; box-shadow: 0 0 0 .2rem #c7a56a26; }
body.pmf-heritage .form-control::placeholder { color: #b6bdc3; }
body.pmf-heritage :is(input[type=checkbox],input[type=radio]) { accent-color: #c7a56a; }
body.pmf-heritage .form-check-input:checked { background-color: #a3824d; border-color: #c7a56a; }
body.pmf-heritage .page-link { background: #19232d; border-color: #35424c; color: #f1eee7; }
body.pmf-heritage .page-item.active .page-link { background: #c7a56a; border-color: #c7a56a; color: #111820; }
body.pmf-heritage :is(.pmf-viewer-controls,.pmf-evidence-heading) { background: #253443; color: #f1eee7; border-color: #52616e; }
body.pmf-heritage .pmf-viewer-controls button { background: #19232d; border-color: #52616e; color: #f1eee7; border-radius: 3px; }
body.pmf-heritage :is(.pmf-history-marker span,.pmf-contact-icon) { background: #c7a56a; color: #111820; }
body.pmf-heritage .pmf-footer a:hover { color: #c7a56a; }
/* Product page has its own later-loaded CSS, hence explicit scope and specificity here. */
body.pmf-heritage .studio-product-page,
body.pmf-heritage .studio-product-page .pmf-section { background: #111820; color: #f1eee7; }
body.pmf-heritage .studio-product-page .studio-hero { background: radial-gradient(ellipse at 80% 35%,#253443,transparent 70%); }
body.pmf-heritage .studio-product-page :is(.studio-section-dark,.studio-cta) { background: #253443; }
body.pmf-heritage .studio-product-page :is(.studio-card,.studio-detail-column,.studio-notice,.studio-release-box,.studio-screenshot-card) { background: #19232d; border-color: #c7a56a50; border-radius: 3px; }
body.pmf-heritage .studio-product-page .studio-card::after { background: #c7a56a10; }
body.pmf-heritage .studio-product-page :is(h1,h2) { font-family: Georgia,'Times New Roman',serif; font-weight: 400; letter-spacing: -.035em; }
body.pmf-heritage .studio-product-page :is(.studio-eyebrow,.pmf-eyebrow,.studio-card-number) { color: #c7a56a; }
body.pmf-heritage .studio-product-page .studio-button { border-radius: 3px; }
body.pmf-heritage .studio-product-page .studio-button-primary { background: #c7a56a; border-color: #c7a56a; color: #111820; box-shadow: none; }
body.pmf-heritage .studio-product-page .studio-button-primary:hover { background: #dfc392; box-shadow: none; }
body.pmf-heritage .studio-product-page :is(.studio-hero-visual,.studio-version-pill) { border-color: #c7a56a60; }
body.pmf-heritage .studio-product-page .studio-logo-stage { background: #19232d; border-radius: 3px; }
body.pmf-heritage .studio-product-page .studio-logo-stage::before,
body.pmf-heritage .studio-product-page .studio-logo-stage::after { border-color: #c7a56a40; }
body.pmf-heritage .studio-product-page .studio-logo-glow { background: #c7a56a20; }
/* CMS and login: keep destructive actions, warnings, status colors and chart series intact. */
body.pmf-admin :is(.panel,.stat-card,.login-card,.quick-link) { border-radius: 3px; }
body.pmf-admin :is(.btn-primary,.login-container button) { background: #c7a56a; border-color: #c7a56a; color: #111820; }
body.pmf-admin :is(.btn-primary,.login-container button):hover { background: #dfc392; color: #111820; }
body.pmf-admin :is(.brand-mark,.user-avatar) { background: #c7a56a; color: #111820; border-color: #c7a56a; }
body.pmf-admin .nav-item { border-radius: 3px; }
body.pmf-admin .nav-item.active { border-color: #c7a56a60; background: #c7a56a12; color: #f1eee7; }
body.pmf-admin .nav-item.active .nav-icon { color: #c7a56a; }
body.pmf-admin :is(.login-card input,.form-group input,.form-group select,.form-group textarea,.search-form input) { border-radius: 3px; color: #f1eee7; }
body.pmf-admin .login-card input::placeholder { color: #b6bdc3; }
body.pmf-admin:has(.login-container) { background: radial-gradient(ellipse at top,#253443,transparent 75%),#111820; }
body.pmf-maintenance .card { background: #19232d; border: 1px solid #c7a56a60; border-radius: 3px; }
body.pmf-maintenance h1 { font-family: Georgia,'Times New Roman',serif; font-weight: 400; color: #c7a56a; }
body.pmf-maintenance :is(.subtitle,.message,.footer) { color: #b6bdc3; }
body.pmf-maintenance .btn { display: inline-block; padding: 12px 22px; margin: 16px 0; text-decoration: none; border: 1px solid #c7a56a; cursor: pointer; }
body.pmf-maintenance a { color: #c7a56a; }
@media(max-width:600px) {
    body.pmf-maintenance { padding: 20px; }
    body.pmf-maintenance .card { padding: 32px 20px; }
    body.pmf-maintenance h1 { font-size: 2rem; }
    body.pmf-public .pmf-display { overflow-wrap: anywhere; }
}
