/* Player hub uses the existing bedtime palette and native artwork. */
.hub-hero{display:grid;grid-template-columns:1fr minmax(0,.82fr);align-items:center;gap:clamp(1.2rem,4vw,3rem);margin:2rem 0 2.5rem}.hub-hero figure{margin:0;min-width:0}.hub-hero a{margin:.35rem .3rem .35rem 0}.hub-art{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:5/4;border:2px solid #e6ca8b;border-radius:32px;background:#30244e;box-shadow:0 6px 0 #17132d}.hub-art:after{content:"";position:absolute;inset:8px;border:1px dashed #ffe7b1a6;border-radius:24px;pointer-events:none}.hub-scene{position:absolute;width:100%;height:100%;object-fit:cover;opacity:.85}.hub-bear{position:absolute;inset:4% 12%;width:76%;height:92%;object-fit:contain;filter:drop-shadow(0 10px 15px #161026a0)}.hub-token{position:absolute;right:4%;bottom:8%;width:24%;height:auto}.hub-hero figcaption{font-size:.83rem;color:var(--muted);margin-top:.7rem}.hub-overview{display:flex;align-items:center;flex-wrap:wrap;gap:.8rem;margin:1.5rem 0;padding:1rem;background:#251c43;border:1px solid var(--line);border-radius:18px}.hub-overview>div{flex:1 1 16rem;min-width:0}.hub-overview p{margin:0;font-size:.88rem;color:var(--muted)}.hub-overview strong{color:var(--gold)}.hub-overview[hidden],.hub-progress[hidden],.hub-check[hidden],.hub-next[hidden],.hub-next a[hidden]{display:none!important}.hub-trail{padding:clamp(.85rem,3vw,1.8rem);margin:1.5rem 0;background:linear-gradient(145deg,#493563,#251c43);border:1px solid var(--line);border-radius:24px;box-shadow:0 6px 0 #17132d;scroll-margin-top:1rem;overflow-wrap:anywhere}.hub-trail:target{outline:2px solid var(--gold);outline-offset:3px}.hub-trail-heading{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:1rem}.hub-trail-heading img{object-fit:contain}.hub-trail-heading p:last-child{color:var(--muted)}.hub-progress{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.hub-progress progress{width:min(100%,220px);height:12px;accent-color:var(--gold)}.hub-progress p{margin:0;color:var(--mint);font-size:.9rem}.hub-steps{list-style:decimal;padding-left:1.8rem;margin:1rem 0}.hub-steps li{padding:.8rem 0;border-top:1px solid var(--line)}.hub-steps li::marker{font-weight:900;color:var(--gold)}.hub-steps li>div{display:inline-block;width:calc(100% - 6.5rem);vertical-align:middle}.hub-steps li h3{margin:0 0 .35rem;font-size:1.06rem}.hub-steps li p{margin:0;color:var(--muted);font-size:.92rem}.hub-check{display:inline-flex;align-items:center;justify-content:center;min-height:44px;gap:.4rem;padding:.3rem .5rem;margin-left:.4rem;border:1px solid var(--line);border-radius:10px;font-weight:800;vertical-align:middle;cursor:pointer}.hub-check input{width:20px;height:20px;accent-color:var(--gold)}.hub-check input:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.hub-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.hub-next{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;background:#251c43;border-radius:16px;padding:.9rem;margin-top:1rem}.hub-next p{flex:1 0 100%;margin:0;font-weight:750}.hub-next button,.hub-overview button{font:inherit;cursor:pointer}.hub-next button:disabled,.hub-overview button:disabled{opacity:.55;cursor:not-allowed}.hub-permalink{display:inline-flex;align-items:center;min-height:44px;color:var(--gold);font-size:.88rem}.hub-overview button:focus-visible,.hub-next button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}@media(max-width:800px){.hub-hero{grid-template-columns:1fr}.hub-hero figure{max-width:560px;margin:auto}}@media(max-width:480px){.hub-trail-heading{grid-template-columns:64px minmax(0,1fr);gap:.65rem}.hub-trail-heading img{width:64px;height:64px}.hub-steps li>div{display:block;width:100%}.hub-check{margin:.5rem 0 0}.hub-next a,.hub-next button,.hub-overview button{width:100%}}@media print{body.explore-page{background:white!important;color:black!important;font-size:11pt}.explore-header,.explore-footer,.explore-skip,.hub-overview button,.hub-next,.hub-permalink,.hub-hero figure,.hub-hero a,.guide-jumps{display:none!important}.hub-trail{background:white!important;border:1px solid #999;box-shadow:none;break-inside:avoid;color:black}.hub-trail-heading img{display:none}.hub-trail-heading{display:block}.hub-trail p,.hub-steps li p,.explore-lede,.explore-kicker,.hub-progress p,.hub-overview strong,.hub-overview p{color:black!important}.hub-overview,.explore-note{background:white!important;color:black!important}.hub-steps li a{color:black!important}.explore-container{width:100%;padding:0}.hub-hero{display:block;margin:0 0 1rem}.hub-hero h1{font-size:24pt;text-shadow:none}.hub-trail h2{font-size:18pt}}

/* Session checklist, backup controls and focused path view. */
.hub-overview .hub-overview-main,.hub-overview .hub-resume,.hub-overview .hub-save-panel,.hub-overview .hub-backup-panel,.hub-overview .hub-overview-actions{flex:1 0 100%;min-width:0}.hub-overview .hub-resume,.hub-overview .hub-save-panel,.hub-backup-panel{padding:1rem;background:#30244e;border:1px solid var(--line);border-radius:16px}.hub-overview h2{font-size:1.15rem;margin:0 0 .65rem}.hub-resume label,.hub-backup-panel label{display:grid;gap:.45rem;margin-top:.85rem;font-weight:800}.hub-resume select,.hub-backup-panel textarea{width:100%;min-width:0;max-width:100%;padding:.65rem;min-height:44px;background:#1f193d;color:var(--cream);border:1px solid var(--lilac);border-radius:10px;font:inherit}.hub-backup-panel textarea{resize:vertical;font-family:ui-monospace,monospace;font-size:.86rem;overflow-wrap:anywhere}.hub-resume select:focus-visible,.hub-backup-panel textarea:focus-visible,.hub-backup-panel summary:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.hub-backup-panel summary{cursor:pointer;min-height:44px;font-weight:850;padding:.4rem 0}.hub-overview button,.hub-resume a{margin:.5rem .4rem .3rem 0}.hub-overview [role=status]{margin:.55rem 0 0;overflow-wrap:anywhere}.hub-overview [role=status]:empty{display:none}.hub-overview [hidden],.hub-trail[hidden]{display:none!important}.hub-steps li[data-checked=true]{border-left:3px solid var(--mint);padding-left:.6rem}.hub-step-status{display:none}.hub-steps li[data-checked=true] .hub-check{border-color:var(--mint);background:#25433e}.hub-overview-actions,.hub-backup-actions{display:flex;flex-wrap:wrap;gap:.6rem}.hub-overview-actions button,.hub-backup-actions button{margin:0}@media(max-width:480px){.hub-overview .hub-resume,.hub-overview .hub-save-panel,.hub-backup-panel{padding:.75rem}.hub-overview button,.hub-resume a{width:100%;margin-right:0}}@media print{.hub-resume,.hub-save-panel,.hub-backup-panel,.hub-overview-actions{display:none!important}.hub-step-status{display:inline!important;color:black!important;font-weight:700;margin-left:.5rem}.hub-check{display:none!important}.hub-trail[hidden]{display:none!important}.hub-steps li[data-checked=true]{border-left:2px solid #444}.hub-steps li>div{width:auto}.hub-overview{padding:.5rem}}
