/* Image galleries with clear, ordinary routes to new introductions and current offers. */
.ep-discovery-head { margin: 24px 0 18px; padding: 22px 24px; border-left: 4px solid #9b234c; border-radius: 0 14px 14px 0; background: #fff7fa; }
.ep-discovery-head .ep-page-title { margin: 0 0 12px; line-height: 1.45; }
.ep-discovery-summary { margin: 0; max-width: 68em; color: #59525a; line-height: 1.8; }
.ep-discovery-head .ep-note { margin: 10px 0 0; }
.ep-discovery-tabs { margin: 18px 0 28px; }
.ep-discovery-section { margin: 32px 0; scroll-margin-top: 24px; }
.ep-discovery-section .ep-h2 { margin-bottom: 16px; }
.ep-discovery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ep-discovery .ep-discovery-card { min-width: 0; height: 100%; box-sizing: border-box; border-radius: 12px; transition: border-color .15s ease, box-shadow .15s ease; }
.ep-discovery .ep-discovery-card:hover, .ep-discovery .ep-discovery-card:focus-visible { border-color: #9b234c; box-shadow: 0 3px 12px #5f183c18; }
.ep-discovery .ep-gd-card-imgs { min-width: 0; gap: 4px; }
.ep-discovery .ep-tile-img { width: 100%; min-width: 0; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #f6f2f4; border-radius: 6px; }
.ep-discovery .ep-tile-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ep-discovery .ep-gd-card-t { line-height: 1.65; overflow-wrap: anywhere; }
.ep-discovery .ep-tile-m { overflow-wrap: anywhere; }
.ep-discovery-rank { display: block; padding: 8px 0 3px; color: #9b234c; font-size: 14px; font-weight: 700; }
.ep-discovery-next { margin-top: 22px; }
.ep-discovery-empty { margin: 24px 0; padding: 20px; border: 1px solid #eadde3; border-radius: 10px; line-height: 1.8; }
.ep-explore-nav { margin: 24px 0; }
.ep-explore-nav h2, .ep-explore-nav .ep-h3 { margin: 0 0 12px; font-size: 18px; }
.ep-explore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ep-explore-link { display: flex; flex-direction: column; min-width: 0; padding: 16px 18px; border: 1px solid #e5d5dd; border-radius: 10px; background: #fff; color: #6d1d3b; text-decoration: none; line-height: 1.5; }
.ep-explore-link:hover, .ep-explore-link:focus-visible { border-color: #9b234c; background: #fff7fa; }
.ep-explore-label { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.ep-explore-label::after { content: ' →'; white-space: nowrap; }
.ep-explore-note { margin-top: 5px; color: #6b6269; font-size: 12px; overflow-wrap: anywhere; }
.ep-explore-icon { display: none; }
@media (max-width: 1023px) { .ep-discovery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 767px) {
 .ep-discovery-head { margin-top: 16px; padding: 18px 16px; }
 .ep-discovery-head .ep-page-title { font-size: 24px; }
 .ep-discovery-summary { font-size: 14px; }
 .ep-discovery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
 .ep-discovery .ep-discovery-card { padding: 8px; }
 .ep-discovery .ep-gd-card-t { font-size: 13px; }
 .ep-discovery-rank, .ep-discovery .ep-tile-m { font-size: 11px; }
 .ep-explore-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
 .ep-explore-link { padding: 12px 14px; }
 .ep-explore-note { margin-top: 2px; }
}
@media (max-width: 359px) { .ep-discovery-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .ep-discovery .ep-discovery-card { transition: none; } }

/* Image-led catalogs retain the existing game/author information table below. */
.ep-site .ep-catalog-covers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:20px 0 28px}
.ep-site .ep-catalog-cover{display:flex;flex-direction:column;min-width:0;border:1px solid #e5dce0;border-radius:12px;background:#fff;overflow:hidden;color:inherit;text-decoration:none}
.ep-site .ep-catalog-cover:hover,.ep-site .ep-catalog-cover:focus-visible{border-color:#c55877;outline-offset:3px}
.ep-site .ep-catalog-cover-img{display:flex;align-items:center;justify-content:center;aspect-ratio:4/5;background:#f7f4f5;padding:10px;overflow:hidden}
.ep-site .ep-catalog-cover-img img{width:100%;height:100%;object-fit:contain}
.ep-site .ep-catalog-cover-title{padding:12px 12px 4px;font-weight:700;line-height:1.55;overflow-wrap:anywhere}
.ep-site .ep-catalog-cover-date{padding:0 12px 12px;color:#675f63;font-size:12px;margin-top:auto}
@media(max-width:1023px){.ep-site .ep-catalog-covers{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.ep-site .ep-catalog-covers{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ep-site .ep-catalog-cover-title{font-size:13px;padding:10px 10px 4px}}
@media(max-width:359px){.ep-site .ep-catalog-covers{grid-template-columns:1fr}}

.ep-catalog-all,.ep-work-more-intros{margin:18px 0;border:1px solid #e5d5dd;border-radius:10px;background:#fff;overflow:hidden}
.ep-catalog-all>summary,.ep-work-more-intros>summary{padding:14px 16px;cursor:pointer;color:#6d1d3b;font-weight:700;line-height:1.6;overflow-wrap:anywhere}
.ep-catalog-all>summary:focus-visible,.ep-work-more-intros>summary:focus-visible{outline:2px solid #9b234c;outline-offset:-3px}
.ep-catalog-all[open]>summary,.ep-work-more-intros[open]>summary{border-bottom:1px solid #e5d5dd;background:#fff7fa}
.ep-catalog-all>.ep-sr-scroll-wrap,.ep-catalog-all>.ep-sr-scroll{margin:12px}
.ep-work-more-intros>div{display:flex;flex-wrap:wrap;gap:8px;padding:12px;min-width:0}
.ep-work-more-intros .ep-work-compare-a{font-size:13px}
/* Long creator names remain readable when a related-link label wraps. */
.ep-site a.ep-work-compare-a{padding:8px 12px;border-radius:14px;line-height:1.55}
/* Keep the three purposes legible and easy to tap in the work information column. */
.ep-site .ep-work-compare{display:block;margin-top:14px}
.ep-site .ep-work-compare-h{margin:0 0 7px;font-size:13px}
.ep-work-compare-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
.ep-site .ep-work-compare-grid .ep-work-compare-a,.ep-site .ep-work-more-intros .ep-work-compare-a{display:flex;justify-content:space-between;gap:12px;min-height:48px;min-width:0;border-radius:10px;box-sizing:border-box}
.ep-work-compare-label{min-width:0;overflow-wrap:anywhere}
.ep-work-compare-kind{display:block;margin-bottom:2px;color:#6b5f68;font-size:11px;font-weight:400}
.ep-work-compare-arrow{flex:none;align-self:center}
.ep-site .ep-work-compare-a:focus-visible{outline:2px solid #9b234c;outline-offset:2px}
.ep-work-more-intros .ep-work-compare-a{flex:1 1 240px}
@media(max-width:767px){.ep-work-more-intros>div{display:grid;grid-template-columns:minmax(0,1fr)}.ep-work-compare-grid .ep-work-compare-a{font-size:13px}}

/* Verified first-link preview on the five work-page pilots only. */
.ep-site .ep-work-compare-grid .ep-work-compare-a.has-preview{align-items:center;gap:12px}
.ep-work-compare-preview{display:flex;flex:0 0 104px;width:104px;height:78px;align-items:center;justify-content:center;overflow:hidden;border-radius:6px;background:#f5f2f3}
.ep-work-compare-preview img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain}
.ep-work-compare-a.has-preview .ep-work-compare-label{flex:1}
@media(max-width:480px){.ep-work-compare-preview{flex-basis:80px;width:80px;height:60px}.ep-site .ep-work-compare-grid .ep-work-compare-a.has-preview{gap:10px}}
