/* Additive home hierarchy. Existing feature pages, storage and character assets are unchanged. */
body.pk-app #app .pi-home{--pi-home-gold:#e2c98e;--pi-home-muted:#b6b5b3;max-width:1384px;margin:auto;color:#f7f5ef}
.pi-home-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px}
.pi-home-label{display:block;font-size:11px;line-height:1.5;font-weight:700;letter-spacing:1.6px;color:var(--pi-home-gold)}
body.pk-app .pi-arsenal{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;color:#e8e3d8}
.pi-arsenal svg{width:18px;height:18px}
.pi-welcome{position:relative;min-height:410px;overflow:hidden;border-radius:14px;background:#14110f;isolation:isolate;border:1px solid #514536}
.pi-welcome-art{position:absolute;inset:0;z-index:-2}
.pi-welcome-art img{width:100%;height:100%;object-fit:cover;object-position:64% 48%}
.pi-welcome:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,12,10,.98) 0%,rgba(14,12,10,.78) 28%,rgba(14,12,10,.15) 65%,rgba(14,12,10,.04));z-index:-1;pointer-events:none}
.pi-welcome-copy{padding:48px;max-width:550px}
body.pk-app #app .pi-welcome h1{font-size:clamp(44px,4.2vw,64px);line-height:1.05;font-weight:600;letter-spacing:-2px;margin:18px 0 20px;color:#faf5e8}
.pi-welcome p{font-size:18px;line-height:1.65;color:#e3ddd1;margin:0 0 25px}
body.pk-app #app .pi-home .pi-home-primary{background:#e2c98e!important;border:1px solid #e2c98e!important;color:#16140f!important;min-height:48px!important;gap:24px;font-size:15px!important;padding:12px 20px!important;font-weight:800}
.pi-home-primary svg{width:20px;height:20px}
.pi-start{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:16px 0 24px;border:1px solid #383630;border-radius:10px;background:#1b1c20;overflow:hidden}
.pi-start a{display:flex;align-items:center;gap:14px;padding:21px 24px;min-height:88px;text-decoration:none;color:#edeae3;transition:background .15s}
.pi-start a+a{border-left:1px solid #383630}
.pi-start a:hover{background:#27272b}
.pi-start svg{width:25px;height:25px;flex-shrink:0;color:var(--pi-home-gold)}
.pi-start strong{display:block;font-size:17px;font-weight:700;margin-bottom:5px}
.pi-start small{display:block;font-size:13px;color:var(--pi-home-muted)}
.pi-start i{font-size:18px;color:var(--pi-home-gold);font-style:normal;margin-left:auto}
.pi-continue{display:flex;justify-content:space-between;align-items:center;gap:24px;border-left:2px solid #ac9569;padding:8px 20px;margin:30px 0 18px}
body.pk-app #app .pi-continue h2{font-size:22px;font-weight:650;line-height:1.3;margin:7px 0;color:#f1ede4;letter-spacing:-.5px}
.pi-continue p{font-size:14px;line-height:1.6;margin:0;color:#cdcac3}
.pi-continue small{font-size:12px;line-height:1.5;color:#a7a6a4;display:block;margin-top:6px}
.pi-continue-link{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;min-height:44px;flex-shrink:0;text-decoration:none;color:var(--pi-home-gold);font-size:14px;font-weight:700}
.pi-home-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(320px,1fr);gap:38px}
.pi-home-main,.pi-home-side{min-width:0}
body.pk-app #app .pi-home .portal-section{padding-top:36px}
body.pk-app #app .pi-home .portal-section-heading{margin-bottom:20px}
body.pk-app #app .pi-home .portal-section-heading h2{font-size:27px;line-height:1.2;font-weight:650;margin:9px 0 0}
body.pk-app #app .pi-home .portal-kicker{font-size:11px;color:var(--pi-home-gold)}
body.pk-app #app .pi-home .portal-meta{font-size:12px}
body.pk-app #app .pi-home .portal-report{grid-template-columns:1.1fr 1fr;gap:24px}
body.pk-app #app .pi-home .portal-story{grid-template-columns:82px minmax(0,1fr);gap:12px;margin-bottom:15px;padding-bottom:15px}
body.pk-app #app .pi-home .portal-story-featured{display:block;grid-row:span 3}
body.pk-app #app .pi-home .portal-story-cover{height:90px}
body.pk-app #app .pi-home .portal-story-featured .portal-story-cover{height:220px;margin-bottom:16px}
body.pk-app #app .pi-home .portal-story-copy h3{font-size:16px;line-height:1.4;margin:6px 0 8px}
body.pk-app #app .pi-home .portal-story-featured h3{font-size:22px;line-height:1.3}
body.pk-app #app .pi-home .portal-story p{font-size:13px;line-height:1.6}
body.pk-app #app .pi-home .portal-caption{font-size:11px;line-height:1.5}
body.pk-app #app .pi-home .portal-events{display:flex;flex-direction:column;gap:15px}
body.pk-app #app .pi-home .portal-event,body.pk-app #app .pi-home .portal-event-featured{display:grid;grid-template-columns:100px minmax(0,1fr);gap:15px;padding-bottom:15px;grid-row:auto}
body.pk-app #app .pi-home .portal-event-cover{height:100%;min-height:125px;margin:0}
body.pk-app #app .pi-home .portal-event-copy{padding:0}
body.pk-app #app .pi-home .portal-event-copy h3{font-size:17px;line-height:1.35;margin:7px 0}
body.pk-app #app .pi-home .portal-event-copy p{font-size:13px;line-height:1.6;margin:8px 0}
body.pk-app #app .pi-home .portal-event-emblem{padding:10px;min-height:125px;font-size:24px}
.pi-source-note{font-size:12px;line-height:1.7;color:#a7a6a4;margin-top:22px}
body.pk-app #app .pi-home .pk-about{margin-top:28px;background:#191b20;border-color:#373632}
body.pk-app #app .pi-home .pk-about summary{font-size:16px;min-height:48px}
body.pk-app #app .pi-home .text-button{font-size:14px;min-height:44px}
body.pk-app #app .pi-home a:focus-visible,body.pk-app #app .pi-home button:focus-visible,body.pk-app #app .pi-home summary:focus-visible{outline:2px solid #e2c98e;outline-offset:4px}
@media(max-width:1000px){.pi-home-layout{grid-template-columns:1.4fr 1fr;gap:24px}.pi-welcome-copy{padding:38px}.pi-start a{padding:18px 20px}.pi-start strong{font-size:16px}.pi-start small{font-size:12px}body.pk-app #app .pi-home .portal-report{display:block}body.pk-app #app .pi-home .portal-story{grid-template-columns:100px minmax(0,1fr)}body.pk-app #app .pi-home .portal-story-featured{display:block;margin-bottom:22px}}
@media(max-width:700px){body.pk-app #main{padding:14px 14px 32px!important}.pi-home-top{margin-bottom:12px}.pi-home-label{font-size:9px;letter-spacing:1.3px}body.pk-app .pi-arsenal{font-size:12px}.pi-welcome{min-height:315px;border-radius:10px}.pi-welcome-art img{object-position:60% 32%}.pi-welcome:after{background:linear-gradient(90deg,rgba(14,12,10,.97),rgba(14,12,10,.63) 46%,rgba(14,12,10,.13))}.pi-welcome-copy{padding:27px 20px;width:65%;max-width:none}body.pk-app #app .pi-welcome h1{font-size:42px;letter-spacing:-1.6px;margin:14px 0 15px}.pi-welcome p{font-size:14px;line-height:1.65;margin-bottom:20px}body.pk-app #app .pi-home .pi-home-primary{font-size:13px!important;padding:12px 16px!important;gap:15px}.pi-start{margin:12px 0 20px}.pi-start a{display:block;min-height:98px;padding:14px 12px}.pi-start svg{width:21px;height:21px;margin-bottom:8px}.pi-start strong{font-size:13px;margin:0}.pi-start small{font-size:10px;line-height:1.5;margin-top:4px}.pi-start i{display:none}.pi-continue{display:block;padding:5px 14px;margin:25px 0 5px}.pi-continue-link{margin-top:10px}body.pk-app #app .pi-continue h2{font-size:19px}.pi-continue p{font-size:13px}.pi-home-layout{display:flex;flex-direction:column;gap:0}body.pk-app #app .pi-home .portal-section-heading h2{font-size:24px}body.pk-app #app .pi-home .portal-story-featured .portal-story-cover{height:205px}body.pk-app #app .pi-home .portal-story-featured h3{font-size:21px}body.pk-app #app .pi-home .portal-story-copy h3{font-size:16px}.pi-home-side{border-top:1px solid #373632;margin-top:28px}body.pk-app #app .pi-home .portal-event-copy h3{font-size:16px}}
@media(max-width:360px){.pi-welcome-copy{width:75%;padding:25px 16px}body.pk-app #app .pi-welcome h1{font-size:39px}.pi-start a{padding:12px 9px}.pi-start strong{font-size:12px}.pi-start small{font-size:10px}.pi-welcome .pi-home-label{font-size:8px}.pi-welcome p{font-size:13px}}
@media(prefers-reduced-motion:reduce){.pi-start a{transition:none}}
