/* The catalog separates illustrated arena cards from book-like collections. */
html body .ph-catalog-v6{--ph8550-font-ui:var(--ph-font-ui,"PH Noto Serif 8476",Georgia,"Times New Roman",serif);width:min(calc(100% - 32px),1180px);min-width:0;margin-inline:auto;grid-template-columns:minmax(0,1fr);gap:0;font-family:var(--ph8550-font-ui)}
.ph-catalog-v6>*{min-width:0}
html body .ph-catalog-v6 :is(h1,h2,h3,p,a,span,small,strong,b,em,time){font-family:var(--ph8550-font-ui)!important}
.ph-catalog-v6>section{margin-top:30px;scroll-margin-top:114px}
.ph-catalog-v6 .ph-catalog-deferred{content-visibility:auto;contain-intrinsic-block-size:auto 520px}
.ph-catalog-arrow{position:relative;display:inline-block;flex:0 0 14px;width:14px;height:14px;color:inherit}
.ph-catalog-arrow::before,.ph-catalog-arrow::after{content:'';position:absolute;right:1px}
.ph-catalog-arrow::before{width:12px;top:6px;border-top:1.5px solid currentColor}
.ph-catalog-arrow::after{width:6px;height:6px;top:3px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg)}
.ph-catalog-v6 .ph-catalog-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:8px 13px;border:1px solid var(--cat-line);border-radius:7px;background:var(--cat-card);color:var(--cat-ink)!important;font-size:12px;line-height:1.5;font-weight:700;text-decoration:none;white-space:normal}
.ph-catalog-v6 .ph-catalog-button .ph8540-icon{width:16px;height:16px}
.ph-catalog-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center;overflow:hidden;isolation:isolate;padding:30px 32px;border:1px solid #86724f;border-radius:15px;background:linear-gradient(112deg,#132236 22%,var(--scene-shadow,#102942) 64%,var(--scene-wash,#214654));box-shadow:inset 0 0 0 3px #efce9310,0 6px 22px #152a4020}
.ph-catalog-hero::before{content:'';position:absolute;inset:8px;border:1px solid #cdae7434;border-radius:10px;z-index:-1;pointer-events:none}
.ph-catalog-hero>.ph-catalog-seal{position:absolute;right:7%;top:50%;width:250px;height:294px;transform:translateY(-50%) rotate(12deg);color:var(--scene-accent,#83b5c4);opacity:.19;z-index:-1;pointer-events:none}
.ph-catalog-hero-copy{min-width:0}
.ph-catalog-overline{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:10px;font-weight:800;letter-spacing:.13em;color:#d9bc86}
.ph-catalog-overline i{width:4px;height:4px;transform:rotate(45deg);background:currentColor}
html body .ph-catalog-v6 .ph-catalog-hero h1{margin:10px 0 7px;color:#fff0d2!important;font-size:clamp(30px,4vw,46px)!important;font-weight:700;letter-spacing:-.025em;line-height:1.22;overflow-wrap:anywhere}
.ph-catalog-hero h1 em{font-style:normal;color:#efc986}
.ph-catalog-hero p{max-width:570px;margin:0;color:#d9e0e9;font-size:13px;line-height:1.75}
.ph-catalog-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:17px}
.ph-catalog-v6 .ph-catalog-hero .ph-catalog-button{background:#142337dd;color:#f3e6cb!important;border-color:#cdb07855}
.ph-catalog-v6 .ph-catalog-hero .ph-catalog-button.is-gold{background:linear-gradient(#f2d59e,#d4aa61);color:#302315!important;border-color:#e8c789}
.ph-catalog-hero-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-width:260px;border:1px solid #cdae7452;border-radius:10px;background:#101c2bcc;overflow:hidden}
.ph-catalog-hero-metrics>span{display:grid;gap:3px;padding:13px 14px;color:#e0d5bf;font-size:11px;text-align:center;white-space:nowrap}
.ph-catalog-hero-metrics>span+span{border-left:1px solid #cdae7440}
.ph-catalog-hero-metrics strong{color:#f4d9a6;font-size:24px;font-variant-numeric:tabular-nums}
.ph-catalog-hero-metrics .is-live strong{color:#abecd0}
.ph-catalog-jump{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0;padding:6px;border:1px solid var(--cat-line);border-radius:10px;background:var(--cat-card)}
.ph-catalog-jump>a{display:flex;align-items:center;justify-content:center;flex:1 1 auto;gap:8px;min-height:40px;padding:8px 10px;border:1px solid transparent;border-radius:6px;color:var(--cat-ink)!important;font-size:12px;font-weight:700}
.ph-catalog-jump>a .ph8540-icon{width:17px;height:17px;color:var(--cat-gold)}
.ph-catalog-jump>a b{padding:1px 7px;background:var(--cat-soft);border-radius:4px;color:var(--cat-gold);font-size:11px;font-variant-numeric:tabular-nums}
.ph-catalog-section{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid var(--cat-line)}
.ph-catalog-section>div{min-width:0}
.ph-catalog-section>div>span,.ph-dossier-label>span,.ph-dossier-index>span{color:var(--cat-gold);font-size:10px;line-height:1.5;font-weight:800;letter-spacing:.12em}
.ph-catalog-section>div>span.is-live{color:var(--cat-teal)}
html body .ph-catalog-v6 .ph-catalog-section h2{margin:3px 0 4px;color:var(--cat-ink)!important;font-size:clamp(21px,2.7vw,29px)!important;font-weight:750;line-height:1.32;overflow-wrap:anywhere}
.ph-catalog-section p{margin:0;color:var(--cat-muted);font-size:12px;line-height:1.65}
.ph-catalog-section p>small{display:inline-block;margin-left:5px;color:var(--cat-muted);font-size:10px}
.ph-catalog-section>b{flex:none;color:var(--cat-gold);font-size:11px;font-weight:700;border:1px solid var(--cat-line);border-radius:6px;padding:5px 9px;background:var(--cat-card)}
.ph-catalog-v6 .ph-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ph-catalog-v6 .ph-exam-dossier{display:grid;grid-template-columns:clamp(96px,11vw,132px) minmax(0,1fr);min-width:0;overflow:hidden;border:1px solid var(--cat-line);border-radius:11px;background:var(--cat-card);box-shadow:var(--cat-shadow)}
.ph-catalog-v6 .ph-dossier-book{position:relative;display:grid;justify-items:center;align-content:center;gap:13px;min-width:0;overflow:hidden;padding:17px 8px;border-right:3px double var(--scene-metal);background:linear-gradient(90deg,#0004 0 6px,#ffffff14 6px 8px,transparent 8px),radial-gradient(ellipse at 70% 42%,var(--scene-wash),var(--scene-shadow) 85%);color:var(--scene-high);isolation:isolate}
.ph-dossier-book::before{content:'';position:absolute;inset:8px 7px 8px 13px;border:1px solid color-mix(in srgb,var(--scene-high) 38%,transparent);border-radius:5px;pointer-events:none}
.ph-dossier-book::after{content:'';position:absolute;inset:auto 14px 16px 19px;height:1px;background:var(--scene-metal);opacity:.52;pointer-events:none}
.ph-dossier-book .ph-catalog-seal{display:block;width:min(90%,95px);height:auto;color:var(--scene-high);flex:none}
.ph-dossier-book>span,.ph-dossier-book>b{font-size:9px;letter-spacing:.14em;font-weight:800;text-align:center}
.ph-dossier-book>b{opacity:.82}
.ph-dossier-content{display:flex;flex-direction:column;min-width:0;padding:17px 17px 14px}
.ph-dossier-label{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 8px}
.ph-dossier-label>small{border:1px solid var(--cat-line);border-radius:5px;padding:3px 6px;color:var(--cat-teal);background:var(--cat-tint);font-size:10px;font-weight:700}
.ph-dossier-label>small.is-locked{color:var(--cat-gold);background:var(--cat-soft)}
html body .ph-catalog-v6 .ph-dossier-content h3{margin:5px 0;color:var(--cat-ink)!important;font-size:clamp(20px,2.4vw,29px)!important;font-weight:750;line-height:1.25;overflow-wrap:anywhere}
.ph-dossier-content>p{margin:0;color:var(--cat-muted);font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.ph-dossier-counts{display:flex;gap:5px 12px;flex-wrap:wrap;align-items:center;padding:10px 0;border-bottom:1px solid var(--cat-line)}
.ph-dossier-counts>span{display:inline-flex;gap:4px;align-items:baseline;color:var(--cat-muted);font-size:11px;white-space:nowrap}
.ph-dossier-counts strong{color:var(--cat-ink);font-size:15px;font-variant-numeric:tabular-nums}
.ph-dossier-counts .is-live,.ph-dossier-counts .is-live strong{color:var(--cat-teal)}
.ph-dossier-counts .is-live>i{width:6px;height:6px;align-self:center;border-radius:50%;background:currentColor}
.ph-dossier-index{flex:1;padding:11px 0}
.ph-dossier-index>p{margin:5px 0 0;color:var(--cat-muted);font-size:11px;line-height:1.6}
.ph-dossier-folders{display:grid;gap:5px;margin-top:6px}
.ph-dossier-folders>a{display:flex;align-items:center;gap:8px;min-height:36px;padding:7px 8px;border:1px solid var(--cat-line);border-radius:6px;background:var(--cat-soft);color:var(--cat-ink)!important}
.ph-dossier-folders strong{flex:1;min-width:0;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.ph-dossier-folders small{flex:none;font-size:10px;color:var(--cat-muted);white-space:nowrap}
.ph-dossier-folders .ph-catalog-arrow{color:var(--cat-gold)}
.ph-catalog-folder{position:relative;display:block;flex:0 0 14px;height:10px;border:1.4px solid currentColor;border-radius:2px;color:var(--cat-gold)}
.ph-catalog-folder::before{content:'';position:absolute;left:0;top:-4px;width:7px;height:4px;border:1px solid currentColor;border-bottom:0;border-radius:2px 2px 0 0}
.ph-dossier-footer{display:flex;align-items:center;gap:9px 13px;flex-wrap:wrap;margin-top:auto;padding-top:10px;border-top:1px solid var(--cat-line)}
.ph-dossier-footer>div{flex:1 1 90px;max-width:240px}
.ph-dossier-footer>div>span{display:flex;justify-content:space-between;gap:7px;color:var(--cat-muted);font-size:10px;margin-bottom:5px}
.ph-dossier-footer .ph8540-progress{height:4px;background:var(--cat-line)}
.ph-dossier-footer .ph8540-progress>span{background:var(--cat-teal)}
.ph-catalog-v6 .ph-dossier-footer .ph-catalog-button{margin-left:auto;min-height:36px;padding:7px 9px;color:var(--cat-gold)!important;font-size:11px}
html body .ph-catalog-v6 .ph8540-live-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
html body .ph-catalog-v6 .ph-catalog-contest{position:relative;display:flex;flex-direction:column;gap:0;min-width:0;padding:0;overflow:hidden;border:1px solid var(--cat-line);border-radius:10px;background:var(--cat-card);box-shadow:var(--cat-shadow);color:var(--cat-ink);isolation:isolate}
.ph-catalog-v6 .ph-catalog-contest:only-child{grid-column:auto}
.ph-catalog-landscape{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-start;justify-content:space-between;min-height:116px;padding:12px;border-bottom:2px solid var(--scene-metal);background:var(--scene-shadow)}
.ph-catalog-landscape .ph-rpg-landscape{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%;z-index:-2;pointer-events:none}
.ph-catalog-landscape::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#0d182d66,transparent 45%,#14223666);pointer-events:none}
.ph-catalog-contest-state{display:flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid #c9f8d152;border-radius:5px;background:#122d2cee;color:#d5f6e8;font-size:10px;font-weight:700}
.ph-catalog-contest-state>i{width:6px;height:6px;background:#8ce5b6;border-radius:50%}
.ph-catalog-contest.is-upcoming .ph-catalog-contest-state{background:#352817ee;color:#ffe6b3;border-color:#f9d49455}
.ph-catalog-contest.is-upcoming .ph-catalog-contest-state>i{background:#eec784}
.ph-catalog-contest-emblem{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--scene-metal);border-radius:9px;background:var(--scene-shadow);color:var(--scene-high);box-shadow:inset 0 0 0 2px #ffffff14}
.ph-catalog-contest-emblem>.ph8540-icon{width:23px;height:23px}
.ph-catalog-contest-content{display:flex;flex-direction:column;flex:1;min-width:0;padding:13px}
html body .ph-catalog-v6 .ph-catalog-contest h3{margin:0 0 12px;color:var(--cat-ink)!important;font-size:17px!important;line-height:1.45;overflow-wrap:anywhere}
.ph-catalog-v6 .ph-catalog-contest .ph8540-participation{display:flex;gap:0;margin-top:auto;padding:0;border:1px solid var(--cat-line);border-radius:7px;background:var(--cat-soft);color:var(--cat-ink);box-shadow:none;overflow:hidden}
.ph-catalog-v6 .ph-catalog-contest .ph8540-participation>div{display:grid;flex:1 1 0;align-content:start;gap:2px;min-width:0;padding:7px 8px;background:none;border:0}
.ph-catalog-v6 .ph-catalog-contest .ph8540-participation>div+div{border-left:1px solid var(--cat-line)}
.ph-catalog-v6 .ph-catalog-contest .ph8540-participation>div>span{min-height:1.5em;font-size:10px;color:var(--cat-muted);line-height:1.5}
.ph-catalog-v6 .ph-catalog-contest .ph8540-participation strong{font-size:19px;color:var(--cat-ink);line-height:1.3}
.ph-catalog-v6 .ph-catalog-contest .ph8540-participation .is-competing{background:var(--cat-tint)}
.ph-catalog-v6 .ph-catalog-contest .ph8540-participation .is-competing strong{color:var(--cat-teal)}
.ph-catalog-contest-footer{display:flex;justify-content:space-between;align-items:center;gap:7px 9px;flex-wrap:wrap;padding-top:10px}
.ph-catalog-contest-footer>div{display:grid;min-width:0;gap:2px;color:var(--cat-muted);font-size:10px;line-height:1.45}
.ph-catalog-contest-footer time{color:var(--cat-gold);font-weight:700}
.ph-catalog-contest-footer>b{display:flex;align-items:center;gap:7px;margin-left:auto;padding:6px 9px;border:1px solid var(--cat-line);border-radius:6px;color:var(--cat-ink);background:var(--cat-card);font-size:11px}
.ph-catalog-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:12px;color:var(--cat-muted);font-size:12px}
.ph-catalog-pagination>span{font-variant-numeric:tabular-nums}
.ph-catalog-v6 a:focus-visible{outline:2px solid var(--cat-teal);outline-offset:3px}
.ph-catalog-v6 .ph-catalog-hero a:focus-visible{outline-color:#f3d394}
.ph-catalog-v6 .ph-catalog-button:active{background:var(--cat-soft)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){html.ph-atmosphere-motion .ph-dossier-book .ph-catalog-seal{transition:transform .2s ease}html.ph-atmosphere-motion .ph-exam-dossier:is(:hover,:focus-within) .ph-dossier-book .ph-catalog-seal{transform:translateY(-3px)}}
@media(hover:hover) and (pointer:fine){.ph-catalog-v6 :is(.ph-catalog-button,.ph-catalog-jump>a,.ph-dossier-folders>a):hover{border-color:var(--cat-gold)}.ph-catalog-v6 .ph-catalog-contest:hover{border-color:var(--scene-metal)}.ph-catalog-contest:hover .ph-catalog-contest-footer>b{color:var(--cat-gold);border-color:var(--cat-gold)}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){html.ph-atmosphere-motion .ph-catalog-v6 .ph-catalog-arrow{transition:transform .16s ease}html.ph-atmosphere-motion .ph-catalog-v6 a:hover .ph-catalog-arrow{transform:translateX(2px)}html.ph-atmosphere-motion .ph-catalog-v6 .ph-catalog-contest{transition:transform .18s ease}html.ph-atmosphere-motion .ph-catalog-v6 .ph-catalog-contest:hover{transform:translateY(-3px)}}
@media(max-width:990px){html body .ph-catalog-v6 .ph8540-live-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ph-catalog-hero{padding:24px}.ph-catalog-hero-metrics{min-width:226px}.ph-catalog-hero-metrics>span{padding:10px}.ph-dossier-content{padding:13px}.ph-catalog-v6 .ph-library-grid{gap:12px}}
@media(max-width:760px){.ph-catalog-hero{grid-template-columns:minmax(0,1fr);gap:15px}.ph-catalog-hero-metrics{justify-self:start;min-width:0}.ph-catalog-hero>.ph-catalog-seal{right:2%;width:185px;height:220px}.ph-catalog-v6 .ph-library-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:660px){html body .ph-catalog-v6{width:calc(100% - 24px)}.ph-catalog-v6>section{margin-top:27px;scroll-margin-top:103px}.ph-catalog-hero{padding:19px 16px;gap:13px}.ph-catalog-hero h1{font-size:32px!important}.ph-catalog-hero-actions{gap:6px;margin-top:13px}.ph-catalog-hero-actions .ph-catalog-button{min-height:36px;font-size:11px;padding:7px 9px}.ph-catalog-hero-metrics{width:100%}.ph-catalog-hero-metrics>span{padding:7px 5px}.ph-catalog-hero-metrics strong{font-size:20px}.ph-catalog-jump{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ph-catalog-jump>a{padding:7px 5px;font-size:11px;gap:5px}.ph-catalog-section{align-items:flex-start;flex-wrap:wrap}.ph-catalog-v6 .ph-exam-dossier{grid-template-columns:78px minmax(0,1fr)}.ph-dossier-book::before{inset:7px 5px 7px 11px}.ph-dossier-book>span,.ph-dossier-book>b{font-size:8px}.ph-dossier-footer>div{flex:1 1 100%}.ph-dossier-content{padding:11px}.ph-dossier-counts{gap:4px 8px}.ph-dossier-folders>a{min-height:39px}.ph-dossier-folders .ph-catalog-arrow{display:none}html body .ph-catalog-v6 .ph8540-live-grid{grid-template-columns:minmax(0,1fr)}.ph-catalog-landscape{min-height:105px}}

