/* Each founder's country continues behind the complete collection page. */
.collection-world{--world-art:url('/assets/world-shadow-v1.webp');--world-accent:201,164,93;position:relative;isolation:isolate;background:#080808}
.world-hardy{--world-art:url('/assets/world-hardy-v1.webp');--world-accent:108,146,122}
.world-code-bar-909{--world-art:url('/assets/world-code-bar-909-v1.webp');--world-accent:173,111,69}
.collection-world::before{content:'';position:fixed;inset:0;z-index:-2;pointer-events:none;background-image:linear-gradient(90deg,rgba(5,7,7,.89),rgba(5,7,7,.62) 55%,rgba(5,7,7,.48)),linear-gradient(0deg,rgba(5,7,7,.8),transparent 65%),var(--world-art);background-size:cover;background-position:center}
.collection-world .collection-page-header{background:#080808d9;border-color:rgba(var(--world-accent),.28)}
.collection-world .founder-banner{background:radial-gradient(ellipse at 75% 45%,rgba(var(--world-accent),.12),transparent 65%)}
.collection-world .founder-banner>div:first-child{min-width:0;text-shadow:0 2px 18px #0009}
.collection-world .founder-banner p{color:#d4c8b9}
.collection-world .founder-image{height:auto;aspect-ratio:4/3;align-self:center;border:1px solid rgba(var(--world-accent),.5);box-shadow:0 18px 50px #0008;background:#0b0c0b}
.collection-world .founder-image img{display:block;object-fit:cover;object-position:center 18%;filter:brightness(.91) saturate(.86)}
.collection-world .founder-image img{object-position:center center;filter:none}
.collection-world .founder-image:after{background:linear-gradient(0deg,#050707b3,transparent 30%);pointer-events:none}
.collection-world .founder-image span{font-size:9px;bottom:15px;left:18px;text-shadow:0 1px 6px #000}
.collection-world #collection.character-catalog{background:transparent;border-top:1px solid rgba(var(--world-accent),.24)}
.collection-world .catalogue-group-heading{background:linear-gradient(90deg,#080a0be8,#080a0b80);border-color:rgba(var(--world-accent),.32)}
.collection-world .product-card{background:#0b0c0bf5;box-shadow:0 8px 25px #0005}
.collection-world .collection-filters{background:#090b0bf2;border-color:rgba(var(--world-accent),.3)}
.collection-world .founders-tools{background:#080a0bbd;padding:12px;border:1px solid rgba(var(--world-accent),.14)}
.collection-world .collection-page-footer{background:#080808e8}
/* A shared cash-filled vault links the three worlds at the end of each collection. */
.collection-world footer.collection-page-footer{position:relative;isolation:isolate;overflow:hidden;background:#080808;text-shadow:0 2px 8px #000}
.collection-world footer.collection-page-footer::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background-image:linear-gradient(90deg,#08080873,#080808cf 24%,#080808cf 76%,#08080873),url('/assets/footer-vault-money-v1.webp');background-position:center;background-size:100% 100%,cover;background-repeat:no-repeat;opacity:.92}
.collection-world footer.collection-page-footer>*{position:relative;z-index:1;min-width:0}
.collection-world .collection-page-footer .footer-promises{background:linear-gradient(90deg,#080808db,#080808b8)}
.collection-world .collection-page-footer .footer-payments{background:#080808b8}
.collection-world .collection-page-footer .launch-support-links{background:#080808e6;text-shadow:0 2px 6px #000}
.collection-world .collection-page-footer .footer-character-quote{background:linear-gradient(90deg,#080808b8,#080808e6,#080808b8);border-color:rgba(var(--world-accent),.35)}
.collection-world .footer-character-quote>div{min-width:0;max-width:480px;gap:8px;white-space:normal}
.collection-world .footer-character-quote span{font-size:9px;line-height:1.5;letter-spacing:1.8px}
.collection-world .footer-character-quote strong{font-size:clamp(17px,2vw,24px);line-height:1.35;letter-spacing:.5px;white-space:normal;overflow-wrap:anywhere}
@media(max-width:700px){
 .world-shadow{--world-art:url('/assets/world-shadow-mobile-v1.webp');--catalog-art:url('/assets/catalog-shadow-mobile-v1.webp')}
 .world-hardy{--world-art:url('/assets/world-hardy-mobile-v1.webp');--catalog-art:url('/assets/catalog-hardy-mobile-v1.webp')}
 .world-code-bar-909{--world-art:url('/assets/world-code-bar-909-mobile-v1.webp');--catalog-art:url('/assets/catalog-code-bar-909-mobile-v1.webp')}
 /* Keep the entire portrait scenery in frame instead of enlarging it to 2100px. */
 .collection-world::before{content:none}
 .collection-world .founder-banner{position:relative;isolation:isolate;background:none;gap:22px;padding-block:30px}
 .collection-world .founder-banner::before{content:'';position:absolute;inset:0 0 auto;width:100%;height:auto;aspect-ratio:3/4;z-index:-1;pointer-events:none;background-image:linear-gradient(180deg,#050707b8 0%,#05070794 30%,#050707b8 65%,#080808 100%),var(--world-art);background-size:100% 100%;background-position:center top;background-repeat:no-repeat}
 .collection-world .founder-image{width:100%;min-width:0;height:auto;aspect-ratio:4/3;max-height:none}
 .collection-world .founder-image img{object-fit:contain}
 .collection-world .founder-image span{bottom:12px;left:14px;font-size:8px}
 .collection-world .founders-tools{padding:8px}
 /* The scene stays behind the catalogue; it cannot cover or intercept shopping controls. */
 .collection-world #collection.character-catalog{position:relative;isolation:isolate;background:#080808}
 .collection-world #collection.character-catalog::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(90deg,#08080833,#08080880 22%,#08080880 78%,#08080833),linear-gradient(180deg,#080808,transparent 10%,transparent 88%,#080808),var(--catalog-art);background-position:center top;background-size:100% 100%,100% 150vw,100% 150vw;background-repeat:no-repeat,repeat-y,repeat-y;opacity:.65}
 .collection-world #collection.character-catalog::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#080808,transparent 90px,transparent calc(100% - 100px),#080808)}
 .collection-world #collection .product-card{background-color:#0b0c0b}
 .collection-world #collection .collection-filters,.collection-world #collection .founders-tools{background-color:#090b0b}
 .collection-world #collection .catalogue-group-heading{background:linear-gradient(90deg,#080a0bf2,#080a0bd9)}
 .collection-world #collection :is(.section-top,.collection-count,.collection-disclosure,.founders-empty){background-color:#080808e6}
 .collection-world #collection .other-collections a{background-color:#090b0b}
 .collection-world footer.collection-page-footer::before{background-image:linear-gradient(90deg,#0808084d,#080808c9 24%,#080808c9 76%,#0808084d),linear-gradient(180deg,#080808,transparent 12%,transparent 86%,#080808),url('/assets/footer-vault-money-v1.webp');background-size:100% 100%,100% 150vw,100% 150vw;background-position:center top;background-repeat:no-repeat,repeat-y,repeat-y}
 .collection-world .collection-page-footer .footer-character-quote{gap:12px;padding:18px 10px}
 .collection-world .footer-character-quote .footer-accuracy-mark{width:36px;height:36px;flex-basis:36px}
 .collection-world .footer-character-quote span{font-size:8px;letter-spacing:1px}
 .collection-world .footer-character-quote strong{font-size:16px;line-height:1.4}
 /* Share the compact footer layout while letting each character quote wrap naturally. */
 .collection-world footer.collection-page-footer .footer-character-quote{gap:9px;padding:10px 0;margin:0}
 .collection-world footer.collection-page-footer .footer-character-quote>div{flex-direction:column;align-items:flex-start;gap:3px;white-space:normal}
 .collection-world footer.collection-page-footer .footer-character-quote .footer-accuracy-mark{width:26px;height:26px;flex:0 0 26px}
 .collection-world footer.collection-page-footer .footer-character-quote span{font-size:8px;line-height:1.4;letter-spacing:.6px}
 .collection-world footer.collection-page-footer .footer-character-quote strong{font-size:12px;line-height:1.4;letter-spacing:.2px;white-space:normal}
}

/* Wide desktop scene plates avoid magnifying and cropping portrait artwork. */
@media(min-width:1101px){
 .world-shadow{--world-art:url('/assets/world-shadow-wide-v2.webp')}
 .world-hardy{--world-art:url('/assets/world-hardy-wide-v2.webp')}
 .world-code-bar-909{--world-art:url('/assets/world-code-bar-909-wide-v2.webp')}
 .collection-world::before{background-image:linear-gradient(90deg,#050707de 0%,#050707b8 39%,#05070773 70%,#05070766),linear-gradient(0deg,#050707c9,transparent 55%),var(--world-art);background-size:cover;background-position:center top;background-repeat:no-repeat}
}
/* Use crisp portrait masters on tablets and high-density phones. */
@media(min-width:701px) and (max-width:1100px){
 .world-shadow{--world-art:url('/assets/world-shadow-portrait-hq-v2.webp')}
 .world-hardy{--world-art:url('/assets/world-hardy-portrait-hq-v2.webp')}
 .world-code-bar-909{--world-art:url('/assets/world-code-bar-909-portrait-hq-v2.webp')}
 .collection-world::before{background-position:center top}
}
@media(max-width:700px){
 .world-shadow{--world-art:url('/assets/world-shadow-portrait-v2.webp');--world-art:image-set(url('/assets/world-shadow-portrait-v2.webp') 1x,url('/assets/world-shadow-portrait-hq-v2.webp') 2x)}
 .world-hardy{--world-art:url('/assets/world-hardy-portrait-v2.webp');--world-art:image-set(url('/assets/world-hardy-portrait-v2.webp') 1x,url('/assets/world-hardy-portrait-hq-v2.webp') 2x)}
 .world-code-bar-909{--world-art:url('/assets/world-code-bar-909-portrait-v2.webp');--world-art:image-set(url('/assets/world-code-bar-909-portrait-v2.webp') 1x,url('/assets/world-code-bar-909-portrait-hq-v2.webp') 2x)}
 .collection-world .founder-banner::before{background-size:100% 100%;background-position:center top;aspect-ratio:3/4}
}
