.card-art.black{background:linear-gradient(125deg,#434a49,#171f1e);color:#ddd8c9}.card-art.red{background:linear-gradient(125deg,#885252,#462b32);color:#e3d8d2}.exhibit-links{max-width:1370px;margin:auto;padding:21px 5.5% 0;display:flex;gap:28px;flex-wrap:wrap;font-size:11px;color:#586657}.exhibit-links a:hover{color:#8c6634}.catalog-card{display:flex;flex-direction:column}.catalog-card .tile-bottom{margin-top:auto}.fee-note{font-size:9px;line-height:1.8;color:#69716b;margin:0 0 15px}.catalog-card .quick-facts{margin-bottom:12px}.catalog-card .quick-facts dd{min-width:0;text-align:right}.catalog-card h3{overflow-wrap:anywhere}.archive-intro{padding-bottom:0}.archive-intro h1,.hub-page h1,.history-page h1{font-family:var(--serif);font-weight:400;font-size:38px;line-height:1.7;letter-spacing:.06em;margin:0 0 15px}.archive-intro>p:not(.eyebrow){font-size:12px;color:var(--muted)}.hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:40px 0}.hub-tile{border:1px solid var(--line);padding:28px 25px;display:block;background:#ffffff25;transition:background .2s}.hub-tile:hover{background:#e9ece1}.hub-tile h2{font-family:var(--serif);font-size:22px;font-weight:400;line-height:1.6;overflow-wrap:anywhere;margin:20px 0 30px}.hub-tile>span:last-child{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.detail-section{padding-top:25px;border-top:1px solid var(--line);margin-top:30px}.detail-section p{font-size:12px;line-height:2.1;color:#536056}.history-section,.related-section{border-top:1px solid var(--line);padding:35px 0;margin-top:30px}.history-section h2,.related-section h2{font-family:var(--serif);font-weight:400;font-size:24px;margin:0 0 25px}.history-event{display:grid;grid-template-columns:150px 1fr;gap:30px;padding:25px 0;border-top:1px solid var(--line)}.history-event time{font:23px Georgia,serif;display:block;line-height:1.4}.history-event .phase{font-size:10px;border:1px solid var(--line);padding:2px 8px;margin-top:10px;display:inline-block}.history-event>div:last-child>a:first-child{font-size:12px}.history-event p{font-size:12px;line-height:2;color:#536056}.history-event .underlined{font-size:10px;margin-top:4px}.related-links{display:flex;flex-wrap:wrap;gap:12px}.related-links a{border:1px solid var(--line);font-size:11px;padding:11px 15px}.footer-links{display:flex;flex-direction:column;gap:6px}.contact-form{max-width:700px}.contact-form>label:not(.consent):not(.sr-only){display:block;font-size:12px;margin:22px 0}.contact-form input:not([type=checkbox]),.contact-form textarea{display:block;width:100%;margin-top:7px;border:1px solid #bac3b5;border-radius:0;background:#ffffff55;padding:13px;font:inherit;line-height:1.8;color:var(--ink)}.contact-form textarea{resize:vertical}.contact-form .consent{display:flex;align-items:flex-start;gap:10px;font-size:11px;margin:22px 0}.contact-form .consent input{margin-top:5px}.contact-form .consent a{text-decoration:underline;text-underline-offset:3px}.form-notice{background:#e9ece1;padding:15px 20px;font-size:12px}.wp-site-blocks{margin:0}.admin-bar .compare-dock{z-index:9999}.prose a{overflow-wrap:anywhere}.hub-page,.history-page{min-height:65vh}
@media(max-width:850px){.hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-event{grid-template-columns:120px 1fr;gap:22px}}
@media(max-width:650px){.nav-explore{display:none}.exhibit-links{gap:10px 17px;padding:20px 6% 0;font-size:9px}.hub-grid{grid-template-columns:1fr 1fr;gap:13px;margin-top:25px}.hub-tile{padding:18px 14px}.hub-tile h2{font-size:17px;line-height:1.8;margin:12px 0 22px}.hub-tile>span:last-child{font-size:9px;gap:8px}.archive-intro h1,.hub-page h1,.history-page h1{font-size:27px}.history-event{grid-template-columns:1fr;gap:12px}.history-event>div:first-child{display:flex;align-items:center;gap:13px}.history-event time{font-size:23px}.history-event .phase{margin-top:0}.history-event p{font-size:11px}.fee-note{font-size:8px}.related-links{display:grid;grid-template-columns:1fr}.detail-section p{font-size:11px}.catalog-card .quick-facts>div{flex-wrap:wrap}.catalog-card .quick-facts dd{margin-left:auto}.catalog-card .art-name{font-size:10px}.contact-form .consent{font-size:10px}}

@media(max-width:650px){.hero-description{font-size:13px}.search-box input,.filters select,.contact-form input:not([type=checkbox]),.contact-form textarea{font-size:16px}.catalog-card h3{font-size:13px}.issuer{font-size:10px}.quick-facts dt,.quick-facts dd{font-size:11px}.fee-note{font-size:10px}.tile-bottom>span{font-size:9px}.compare-toggle{font-size:12px;min-height:44px}.detail-intro,.detail-section p,.detail-info aside>p:not(.eyebrow),.specs>div,.prose p,.page-description{font-size:13px}.verified,.breadcrumbs,.detail-art>p{font-size:10px}.results-line,.results-line>span{font-size:10px}.history-event p{font-size:13px}.exhibit-links{font-size:11px}.comparison-table th,.comparison-table td{font-size:12px}}

/* Official card images use an explicit box so portrait faces never overflow. */
.official-card-art{position:relative;display:block;width:100%;aspect-ratio:1.586;min-width:0;overflow:visible;background:transparent}
.official-card-art .official-card-face{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;object-position:center;box-shadow:none}
.catalog-card .art-link{flex:none}
.catalog-card h3{min-height:3.6em}
.catalog-card .issuer{min-height:1.8em}
.catalog-card .quick-facts>div{align-items:baseline}
.catalog-card .quick-facts dt{flex:0 0 4.5em}
.catalog-card .quick-facts dd{overflow-wrap:anywhere}
.detail-art .official-card-art{max-width:550px;margin-inline:auto}
.detail-art .image-credit{font-size:12px;line-height:1.7;color:var(--muted,#68716d)}
.image-credit a{text-decoration:underline;text-underline-offset:3px}
.official-card-pending{display:flex;align-items:center;justify-content:center;font-size:12px;color:#68716d;border:1px solid #e0e2dc;background:#f4f3ee}
@media(max-width:650px){.catalog-card h3{min-height:3.6em}.catalog-card .quick-facts>div{flex-wrap:nowrap}.official-card-pending{font-size:10px}}

/* Frame the complete credit card in the original official Yodobashi artwork. */
.official-card-art:has(img[src*="/ccm-80-official"]){aspect-ratio:223/142;overflow:hidden;border-radius:8px}
.official-card-art img.official-card-face[src*="/ccm-80-official"]{inset:auto;left:-192.376682%;top:-5.633803%;width:295.964126%;height:269.014085%;object-fit:fill}

/* Show the complete UCS face from the unchanged official gift illustration. */
.official-card-art img.official-card-face:is([src*="/p_flow02"],[src*="/ccm-149-official"]){inset:auto;left:50%;top:0;height:110.550459%;width:auto;max-width:none;max-height:none;transform:translateX(-74.515235%);clip-path:inset(0 6.371191% 9.543568% 55.401662% round 4px);object-fit:fill}

/* Remove only the transparent side margins in the original Persona artwork. */
.official-card-art:has(img[src*="/ccm-521-official"]){aspect-ratio:326/206;overflow:hidden}
.official-card-art img.official-card-face[src*="/ccm-521-official"]{inset:auto;left:-75.766871%;top:0;width:251.533742%;height:100%;object-fit:fill}

/* The JQ EPOS entry displays the standard pink card from the official comparison image. */
.official-card-art img.official-card-face[src*="/ccm-600-official"]{inset:auto;left:50%;top:0;height:100%;width:auto;max-width:none;max-height:none;transform:translateX(-72.096774%);clip-path:inset(0 7.580645% 0 51.774194% round 5px);object-fit:fill}

/* The entrance display links to real card entries and keeps the whole face visible. */
.hero-exhibit .floating{display:block;outline-offset:8px}
.hero-exhibit .floating:focus-visible{outline:2px solid #d1b784}
.hero-exhibit .official-card-art{border-radius:12px;overflow:hidden}
@media(max-width:650px){
    .hero-exhibit{min-height:370px}
    .hero-exhibit .floating{width:clamp(170px,57vw,230px)}
}
/* Keep complete card faces centered when official source art also includes labels or reflections. */
.official-card-art .official-card-window{position:absolute;display:block;left:50%;top:50%;width:var(--official-window-width);aspect-ratio:var(--official-face-ratio);overflow:hidden;transform:translate(-50%,-50%);border-radius:6px}
.official-card-art .official-card-window .official-card-face{inset:auto;left:var(--official-source-left);top:var(--official-source-top);width:var(--official-source-width);height:var(--official-source-height);max-width:none;max-height:none;object-fit:fill}
