.worlds-page .worlds-main{max-width:1440px;margin:auto;padding:100px clamp(20px,4vw,64px) 80px;color:var(--cream)}
.worlds-page .public-breadcrumb{width:auto;margin:0;min-height:30px;align-items:center}
.worlds-page .worlds-intro{padding:38px 0 26px;max-width:980px}
.worlds-page .worlds-intro h1{font-size:clamp(2.35rem,5.5vw,4.8rem);line-height:1.05;letter-spacing:-.04em;margin:12px 0 22px;max-width:1000px}
.worlds-page .worlds-intro>p:not(.eyebrow){max-width:760px;font-size:clamp(1.06rem,1.5vw,1.22rem);line-height:1.7;color:var(--muted)}
.worlds-page .worlds-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}
.worlds-page .worlds-hero{margin:8px 0 0}
.worlds-page .worlds-hero--vertical{max-width:780px;margin-inline:auto}
.worlds-page .worlds-hero--vertical img{aspect-ratio:4/5;object-fit:contain}
.worlds-page .worlds-example{margin:28px 0 42px;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--panel)}
.worlds-page .worlds-example figure{margin:0}
.worlds-page .worlds-example img{width:100%;height:auto;display:block}
.worlds-page .worlds-example figcaption{padding:0 24px}
.worlds-page .worlds-example-copy{padding:24px clamp(24px,4vw,44px) 34px;max-width:1000px}
.worlds-page .worlds-examples .worlds-role-links{display:flex;gap:18px;flex-wrap:wrap}
.worlds-page .worlds-hero img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:cover;border-radius:var(--radius)}
.worlds-page figcaption{color:var(--muted);line-height:1.6;margin-top:12px;font-size:.94rem}
.worlds-page .worlds-section{padding:64px 0 0;scroll-margin-top:110px}
.worlds-page .worlds-heading{max-width:750px;margin-bottom:28px}
.worlds-page .worlds-main h2{font-size:clamp(1.75rem,3vw,2.55rem);line-height:1.15;margin:0 0 16px;letter-spacing:-.025em}
.worlds-page h3{font-size:1.25rem;line-height:1.35;margin:0 0 12px}
.worlds-page p{line-height:1.75;color:var(--muted)}
.worlds-page .worlds-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 26px}
.worlds-page .worlds-detail{margin:0;min-width:0;grid-column:auto}
.worlds-page .worlds-detail img{width:100%;display:block;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius)}
.worlds-page .worlds-detail figcaption{margin:20px 0 0}
.worlds-page .worlds-detail h3{color:var(--cream)}
.worlds-page .worlds-detail p{margin:0;max-width:60ch}
.worlds-page .worlds-match{margin-top:20px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}
.worlds-page .worlds-match>.eyebrow{font-size:.7rem;margin-bottom:12px}
.worlds-page .worlds-material{min-width:0;display:flex;flex-direction:column;gap:12px}
.worlds-page .worlds-material-photo{display:block;border-radius:12px;overflow:hidden;background:#f5f2e9}
.worlds-page .worlds-material-photo img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;border-radius:0}
.worlds-page .worlds-material a:not(.worlds-material-photo){display:inline-block;color:var(--gold-soft);line-height:1.4;min-height:44px;text-underline-offset:4px}
.worlds-page .worlds-material-note{font-size:.8rem;line-height:1.5;margin:0 0 8px}
.worlds-page .worlds-material-action{display:block;font-size:.75rem;color:var(--muted);margin-top:8px}
.worlds-page .worlds-match .worlds-material{display:grid;grid-template-columns:130px minmax(0,1fr);align-items:center}
.worlds-page .worlds-match .worlds-material-photo img{aspect-ratio:1}
.worlds-page .worlds-discovery{display:grid;gap:26px;grid-template-columns:repeat(2,minmax(0,1fr))}
.worlds-page .worlds-discovery-group{min-width:0;padding:26px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel)}
.worlds-page .worlds-discovery-group>p{font-size:.94rem;margin-bottom:24px}
.worlds-page .worlds-thumbnail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
.worlds-page .worlds-thumbnail-grid .worlds-material a:not(.worlds-material-photo){font-size:.86rem}
@media(max-width:1100px){.worlds-page .worlds-discovery{grid-template-columns:1fr}}
@media(max-width:600px){.worlds-page .worlds-discovery-group{padding:20px}.worlds-page .worlds-thumbnail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.worlds-page .worlds-thumbnail-grid .worlds-material:last-child{grid-column:1/-1;max-width:calc((100% - 16px)/2);justify-self:center}.worlds-page .worlds-match{padding:14px}.worlds-page .worlds-match .worlds-material{grid-template-columns:100px minmax(0,1fr)}}
.worlds-page .worlds-roles,.worlds-page .worlds-reading{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.worlds-page .worlds-role{padding:28px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius)}
.worlds-page .worlds-role-links{display:flex;align-items:flex-start;flex-direction:column;gap:4px}
.worlds-page .worlds-role-links a,.worlds-page .worlds-reading a{color:var(--gold-soft);min-height:44px;display:inline-flex;align-items:center;text-underline-offset:5px}
.worlds-page .worlds-products{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;align-items:stretch}
.worlds-page .worlds-products .catalogue-card{flex:0 0 calc((100% - 60px)/4);min-width:0;width:auto;margin:0}
.worlds-page .worlds-products .shop-card-metadata{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.worlds-page .worlds-products .shop-card-metadata li{border:1px solid rgba(211,159,56,.26);border-radius:999px;padding:4px 7px;color:var(--gold-soft);font-size:11px;font-weight:800}
.worlds-page .worlds-products .catalogue-card-image{aspect-ratio:4/3;min-height:0;height:auto}
.worlds-page .worlds-products .catalogue-card-image img{width:100%;height:100%;object-fit:contain}
.worlds-page .worlds-products .catalogue-card-summary{display:none}
.worlds-page .worlds-products .catalogue-card-title{font-size:1.1rem}
.worlds-page .worlds-product-fallback{display:flex;flex-wrap:wrap;gap:10px 24px;padding-left:20px}
.worlds-page .worlds-product-fallback a{display:inline-flex;align-items:center;min-height:44px;color:var(--gold-soft)}
.worlds-page .worlds-steps{list-style:none;counter-reset:build;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.worlds-page .worlds-steps li{counter-increment:build;border-top:1px solid var(--line);padding-top:22px}
.worlds-page .worlds-steps li:before{content:'0' counter(build);display:block;color:var(--gold);font-size:.85rem;letter-spacing:.12em;margin-bottom:18px}
.worlds-page .worlds-reading .route-card{padding:24px;min-width:0}
.worlds-page .worlds-reading .route-card p{margin:0}
.worlds-page .worlds-reading .worlds-knowledge-card{padding:0;overflow:hidden;display:flex;flex-direction:column;align-self:start}
.worlds-page .worlds-knowledge-photo{display:block;aspect-ratio:16/9;overflow:hidden}
.worlds-page .worlds-knowledge-photo img{width:100%;height:100%;object-fit:cover;display:block}
.worlds-page .worlds-knowledge-copy{padding:22px;display:grid;gap:12px}
.worlds-page .worlds-knowledge-copy h3{margin:0;font-size:1.18rem}
.worlds-page .worlds-knowledge-copy h3 a{min-height:0}
.worlds-page .worlds-knowledge-copy p{font-size:1rem}
.worlds-page .worlds-knowledge-read{justify-self:start}
.worlds-page .worlds-reading-more{margin:26px 0}
.worlds-page .worlds-reading-more ul{display:flex;flex-wrap:wrap;gap:8px 24px;margin:0;padding:0;list-style:none}
.worlds-page .worlds-reading-more a{display:inline-flex;align-items:center;min-height:44px;color:var(--gold-soft)}
.worlds-page .worlds-knowledge-entrance{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);align-items:center;gap:30px;padding:28px;margin-top:48px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel)}
.worlds-page .worlds-knowledge-entrance img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:12px}
.worlds-page .worlds-knowledge-entrance h2{font-size:clamp(1.7rem,3vw,2.3rem)}
.worlds-page .worlds-knowledge-entrance .worlds-knowledge-count{color:var(--gold-soft);font-size:.9rem;margin:16px 0}
.worlds-page :is(.worlds-knowledge-card,.worlds-reading-more,.worlds-knowledge-entrance) a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
@media(max-width:700px){.worlds-page .worlds-knowledge-entrance{grid-template-columns:1fr;padding:20px;gap:20px}.worlds-page .worlds-reading{grid-template-columns:1fr}}
.worlds-page .worlds-closing{margin-top:60px;padding:38px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(120deg,rgba(112,72,20,.22),transparent)}
.worlds-page .worlds-closing p{max-width:650px}
.worlds-page .worlds-hub-card{margin-top:14px;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--panel)}
.worlds-page .worlds-hub-card img{display:block;width:100%;height:auto;aspect-ratio:2.1;object-fit:cover}
.worlds-page .worlds-hub-copy{padding:clamp(24px,4vw,44px);display:grid;grid-template-columns:1.2fr 1fr;gap:32px;align-items:center}
.worlds-page .worlds-hub-copy p{margin:0 0 20px}
.worlds-page .worlds-hub-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:26px}
.worlds-page .worlds-hub-grid .worlds-hub-card{display:flex;flex-direction:column;min-width:0;flex:0 1 calc((100% - 52px)/3)}
.worlds-page .worlds-hub-grid .worlds-hub-card img{aspect-ratio:1672/941}
.worlds-page .worlds-hub-grid .worlds-hub-copy{display:flex;flex-direction:column;align-items:stretch;gap:12px;flex:1;padding:28px}
.worlds-page .worlds-hub-grid .worlds-hub-copy>div:last-child{margin-top:auto}
@media(max-width:1100px){.worlds-page .worlds-hub-grid .worlds-hub-card{flex-basis:calc((100% - 26px)/2)}}
@media(max-width:600px){.worlds-page .worlds-hub-grid .worlds-hub-card{flex-basis:100%}}
.worlds-page a:focus-visible{outline:3px solid var(--gold-soft);outline-offset:5px}
.worlds-page .worlds-skip{position:absolute;top:-100px;left:20px;z-index:9999;background:var(--panel-solid);padding:15px}
.worlds-page .worlds-skip:focus{top:10px}
@media(max-width:1100px){.worlds-page .worlds-products .catalogue-card{flex-basis:calc((100% - 20px)/2)}}
@media(max-width:900px){.worlds-page .worlds-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.worlds-page .worlds-hub-copy{grid-template-columns:1fr;gap:6px}}
@media(max-width:600px){.worlds-page .worlds-intro{padding-top:24px}.worlds-page .worlds-section{padding-top:44px}.worlds-page .worlds-details,.worlds-page .worlds-roles,.worlds-page .worlds-reading,.worlds-page .worlds-steps,.worlds-page .worlds-products{grid-template-columns:1fr}.worlds-page .worlds-closing{padding:24px}.worlds-page .worlds-role{padding:22px}.worlds-page .worlds-hub-card img{aspect-ratio:1.5}}
@media(prefers-reduced-motion:reduce){.worlds-page{scroll-behavior:auto}.worlds-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:600px){.worlds-page .worlds-products .catalogue-card{flex-basis:100%}}
@media print{
 .worlds-page .worlds-main{max-width:none;padding:16px 24px}
 .worlds-page .worlds-intro{padding:12px 0 16px;min-height:0}
 .worlds-page .worlds-hub-card{display:grid;grid-template-columns:1fr 1fr;break-inside:avoid;min-height:0}
 .worlds-page .worlds-hub-card>a{display:block;min-height:0}
 .worlds-page .worlds-hub-card img{width:100%;height:auto;max-height:280px;object-fit:contain}
 .worlds-page .worlds-hub-copy{display:block;padding:20px;min-height:0}
 .worlds-page .worlds-hub-copy h2{font-size:24px}
 .worlds-page .worlds-hero img{max-height:400px;object-fit:contain}
 .worlds-page .worlds-hero,.worlds-page .worlds-detail,.worlds-page .worlds-role,.worlds-page .worlds-reading .route-card,.worlds-page .worlds-steps li,.worlds-page .worlds-products .catalogue-card{break-inside:avoid}
 .worlds-page .worlds-products .catalogue-card{flex-basis:calc((100% - 40px)/3);min-height:0}
 .worlds-page .worlds-products .catalogue-card-image{max-height:170px}
 .worlds-page .worlds-products .catalogue-card-body{min-height:0}
 .worlds-page .worlds-heading{break-after:avoid}
}
.worlds-page .worlds-hero.worlds-hero--vertical img{aspect-ratio:4/5;object-fit:contain}
.worlds-page .worlds-inhabitants{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.worlds-page .worlds-inhabitant{padding:14px;align-self:start;min-height:0}
.worlds-page .worlds-inhabitant>a{display:flex;gap:14px;align-items:center;text-decoration:none;min-width:0;min-height:88px}
.worlds-page .worlds-inhabitant span{font:inherit;letter-spacing:normal;text-transform:none;margin:0}
.worlds-page .worlds-inhabitant img{width:96px;height:72px;object-fit:cover;border-radius:7px;flex-shrink:0}
.worlds-page .worlds-inhabitant strong,.worlds-page .worlds-inhabitant small,.worlds-page .worlds-inhabitant span>span{display:block}
.worlds-page .worlds-inhabitant strong{color:#fff;font-size:1rem;line-height:1.35}
.worlds-page .worlds-inhabitant small{font-size:.82rem;font-style:italic;margin:4px 0;color:var(--text-soft)}
.worlds-page .worlds-inhabitant span>span{font-size:.8rem}
@media(max-width:1050px){.worlds-page .worlds-inhabitants{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.worlds-page .worlds-inhabitants{grid-template-columns:1fr}}

/* Sixth World: compact independent habitat choices; native keyboard/touch disclosure. */
.worlds-page .worlds-habitat-routes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.worlds-page .worlds-habitat-route{min-width:0;align-self:start;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--panel)}
.worlds-page .worlds-habitat-route>img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.worlds-page .worlds-habitat-route>div{padding:24px}
.worlds-page .worlds-habitat-route summary{cursor:pointer;color:var(--gold-soft);min-height:44px;display:list-item;padding:12px 0}
.worlds-page .worlds-habitat-route nav a{display:flex;align-items:center;min-height:44px;color:var(--gold-soft)}
.worlds-page .worlds-habitat-route summary:focus-visible{outline:2px solid var(--gold-soft);outline-offset:4px}
@media(max-width:700px){.worlds-page .worlds-habitat-routes{grid-template-columns:1fr}}

/* Optional native image links retain the established route-image proportions. */
.worlds-page .worlds-habitat-route>.worlds-image-link img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.worlds-page .worlds-image-link{display:block}
.worlds-page .worlds-image-link:focus-visible{outline:3px solid var(--gold-soft);outline-offset:4px}

.worlds-page .worlds-owner-example{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start}
.worlds-page .worlds-owner-example figcaption{padding:12px 20px 20px}
.worlds-page .worlds-owner-example .worlds-example-copy{padding:24px}
@media(max-width:800px){.worlds-page .worlds-owner-example{grid-template-columns:1fr}}
