/* Approved Pastel Daydream artwork. Every override is scoped to 2D. */
.theme-switch{display:inline-flex;align-items:center;border:2px solid #161616;border-radius:999px;overflow:hidden;background:#fffdf0;flex-shrink:0;box-shadow:0 2px 0 #161616;isolation:isolate}
.theme-switch button{padding:6px 12px;min-height:30px;font-size:13px;font-weight:900;line-height:1;color:#161616;transition:background .15s,color .15s}
.theme-switch button[aria-pressed=true]{background:#f34970;color:#fff}
.theme-switch button:focus-visible{outline:3px solid #191919;outline-offset:-4px}
.header-inner>.theme-switch{margin-left:16px}
.intro-theme{position:absolute;right:28px;top:24px;z-index:10}
.meadow-edge,.paper-badge-text,.intro-paper-world{display:none}
.cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.header-inner{gap:clamp(10px,1.5vw,28px)}
.header-inner nav{margin-left:auto;gap:clamp(12px,2vw,35px)}
.header-buy{margin-left:0}
.upload-btn:focus-within{outline:3px solid var(--lime);outline-offset:4px}
html[data-theme="2d"]{--ink:#151515;--lime:#ffe55c;--paper:#fffdf2;--pink:#f45f91;--blue:#a3c4ee;--content:min(91%,1580px)}
html[data-theme="2d"] body{color:#151515;background:#b9d0f4 url('assets/pastel/20-pastel-sky.webp') center top / max(100vw,900px) auto repeat-y}
html[data-theme="2d"] :is(h1,h2,h3){color:#111;background:none;-webkit-text-fill-color:currentColor;text-shadow:none;filter:none;font-style:italic;font-weight:900;letter-spacing:-.045em}
html[data-theme="2d"] :is(.bokeh,.spot,.hero-band:before,.hero-band:after,.hero-copy:before,.cat-interaction:before,.cat-interaction:after,.wordmark:after,.playground:after,.glass:before,.feature:after,.card-art:before,.beliefs button:before,.beliefs button:after){display:none}
html[data-theme="2d"] .hero-band::before,html[data-theme="2d"] .hero-band::after,html[data-theme="2d"] .hero-copy::before,html[data-theme="2d"] .cat-interaction::before,html[data-theme="2d"] .cat-interaction::after,html[data-theme="2d"] .wordmark::after,html[data-theme="2d"] .playground::after,html[data-theme="2d"] .glass::before,html[data-theme="2d"] .feature::after,html[data-theme="2d"] .card-art::before,html[data-theme="2d"] .beliefs button::before,html[data-theme="2d"] .beliefs button::after{display:none}
html[data-theme="2d"] :is(.scene,.wordmark img,.cat-interaction img,.computer img,.crown-bubble img,.portal img,.card-art img,.thesis-star,.thesis-crown){filter:none}
html[data-theme="2d"] #top-bar{color:#111;background:rgba(186,209,246,.91);backdrop-filter:blur(10px);box-shadow:none;border-bottom:1px solid #16161618}
html[data-theme="2d"] #top-bar.scrolled{background:rgba(239,245,255,.96)}
html[data-theme="2d"] nav a{color:#111;text-shadow:none;font-weight:900}
html[data-theme="2d"] .nav-play{border:2px solid #151515;background:#fffdf2;box-shadow:0 2px 0 #151515;color:#151515}
html[data-theme="2d"] .brand img{filter:none}
html[data-theme="2d"] :is(.lime,.dark,.soft-button,.pe-sub,.music-btn){border:2px solid #151515;color:#111;background:#f478a4;box-shadow:0 3px 0 #151515;text-shadow:none;border-radius:999px;filter:none;transition:transform .15s,box-shadow .15s}
html[data-theme="2d"] :is([data-buy].lime,.buy-where .lime){background:#ffe84f;color:#111;box-shadow:0 3px 0 #151515}
html[data-theme="2d"] :is(.lime,.dark,.soft-button):hover{transform:translateY(-2px);box-shadow:0 5px 0 #151515}
html[data-theme="2d"] :is(.lime,.dark,.soft-button):active{transform:translateY(2px);box-shadow:0 1px 0 #151515}
html[data-theme="2d"] :is(.lime:after,.dark:after,.soft-button:after){display:none}
html[data-theme="2d"] :is(.lime,.dark,.soft-button)::after{display:none}
html[data-theme="2d"] :is(a,button):focus-visible{outline:3px solid #111;outline-offset:5px}
html[data-theme="2d"] .hero-band{overflow:clip;padding-bottom:0}
html[data-theme="2d"] .hero{aspect-ratio:1024/575}
html[data-theme="2d"] .hero-copy{z-index:8}
html[data-theme="2d"] .hero-copy p{font-style:italic;text-shadow:none;color:#111;font-weight:900}
html[data-theme="2d"] .cat-interaction{left:17%;top:5%;width:24%;height:43%}
html[data-theme="2d"] .cat-interaction img{left:0;top:0;width:100%;height:100%;animation:paper-cat 6s ease-in-out infinite;scale:1;rotate:0deg;translate:0 0}
html[data-theme="2d"] .planet{left:-12%;top:34%;width:72%;animation:none}
html[data-theme="2d"] .computer{bottom:12%;z-index:7}
html[data-theme="2d"] :is(.mini-ring,.small-bubble,.distant-islands,.ribbon,.small-one,.small-two){display:none}
html[data-theme="2d"] .castle{height:40%;top:9%;width:20%;left:81%}
html[data-theme="2d"] .platform{top:57%;height:30%}
html[data-theme="2d"] .hero-clouds{background:url('assets/pastel/22-peach-cloud-cluster.webp') center bottom/auto 100% repeat-x;height:13cqw;bottom:3%;opacity:.7;mask-image:none;-webkit-mask-image:none;z-index:4}
html[data-theme="2d"] .meadow-edge{display:block;position:absolute;left:-2%;width:104%;max-width:none;bottom:-1%;height:190px;z-index:8;pointer-events:none}
html[data-theme="2d"] .beliefs{z-index:9;left:25%;top:61%;width:58%;height:25%}
html[data-theme="2d"] .beliefs button{animation:paper-float 6s ease-in-out infinite;transform:none;rotate:0deg;filter:none;container-type:inline-size}
html[data-theme="2d"] .beliefs button:nth-child(2){animation-delay:-1.5s}
html[data-theme="2d"] .beliefs button:nth-child(3){animation-delay:-3s}
html[data-theme="2d"] .beliefs button:nth-child(4){animation-delay:-4.5s}
html[data-theme="2d"] .beliefs button:hover{transform:translateY(-5px) rotate(-3deg);filter:none}
html[data-theme="2d"] .beliefs img{filter:none;scale:1}
html[data-theme="2d"] .badge-label{inset:52% 9% 15%;padding:0;color:#151515;text-shadow:none;font-weight:900;font-style:italic;font-size:clamp(10px,12cqi,22px);justify-content:center;letter-spacing:-.04em}
html[data-theme="2d"] .badge-label svg{display:none}
html[data-theme="2d"] .paper-badge-text{display:block;position:absolute;inset:49% 12% 23%;text-align:center;align-content:center;text-transform:uppercase;font-style:italic;font-weight:900;font-size:clamp(10px,12cqi,22px);line-height:1;letter-spacing:-.04em}
html[data-theme="2d"] .sparkle{color:#ffe463;text-shadow:1px 1px #111,-1px -1px #111;font-size:18px!important}
html[data-theme="2d"] .ticker{margin-top:0;background:#111;border-block:2px solid #111;box-shadow:none;rotate:0deg;padding:12px 0}
html[data-theme="2d"] .ticker i{color:#ffe84f;text-shadow:none}
html[data-theme="2d"] .glass{border:2px solid #1b1b1b;background-color:#fffdf3;background-image:radial-gradient(#b4cad956 .65px,transparent .8px);background-size:5px 5px;box-shadow:0 3px 0 #15151526;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:24px}
html[data-theme="2d"] .reveal{opacity:1;translate:none;transition:transform .2s,box-shadow .2s}
html[data-theme="2d"] .playground{margin-top:22px;overflow:hidden}
html[data-theme="2d"] .play-copy p{color:#111}
html[data-theme="2d"] .portal{width:63%;right:0;bottom:-1%}
html[data-theme="2d"] .portal-bubble{display:none}
html[data-theme="2d"] .pfp-stage{border:3px solid #161616;box-shadow:none;background:#afcbef;border-radius:22px}
html[data-theme="2d"] .pfp-empty{background:url('assets/pastel/30-pfp-preview-backdrop.webp') center /cover;color:#111}
html[data-theme="2d"] :is(.pe-rays,.pe-rings,.pe-glow){display:none}
html[data-theme="2d"] .pfp-empty .pe-cat{filter:none;width:58%;animation:paper-float 7s ease-in-out infinite}
html[data-theme="2d"] .pe-title{color:#111;text-shadow:2px 2px #fffdf3,-2px -2px #fffdf3;font-weight:900}
html[data-theme="2d"] .pe-sub{padding:8px 15px;font-size:12px}
html[data-theme="2d"] .pe-spark{color:#ffe168;text-shadow:1px 1px #111,-1px -1px #111;filter:none}
html[data-theme="2d"] .kicker{border:2px solid #111;background:#f478a4;box-shadow:none;color:#111;font-size:12px;letter-spacing:.03em}
html[data-theme="2d"] :is(.sliders label,.privacy){color:#111}
html[data-theme="2d"] input{accent-color:#ef6794}
html[data-theme="2d"] .steps b{background:#ffe96b;border:1.5px solid #111;box-shadow:none}
html[data-theme="2d"] .section-title{color:#111;text-shadow:2px 2px #fff,-2px -2px #fff}
html[data-theme="2d"] .section-title span{color:#111;text-shadow:none}
html[data-theme="2d"] .feature{overflow:hidden;box-shadow:none;transform:none;will-change:auto;transform-style:flat;padding-bottom:20px}
html[data-theme="2d"] .feature:hover{transform:translateY(-5px);box-shadow:0 5px 0 #15151526}
html[data-theme="2d"] :is(.feature h2,.feature p){color:#111;-webkit-text-fill-color:#111;background:none;text-shadow:none}
html[data-theme="2d"] .feature .card-art img{filter:none;transform:none;max-height:100%;object-fit:contain}
html[data-theme="2d"] .round-icon{background:#fffdf2;border:2px solid #111;box-shadow:none;color:#111}
html[data-theme="2d"] .thesis h2 span{color:#ed5585;background:none;-webkit-text-fill-color:#ed5585}
html[data-theme="2d"] :is(.thesis-sub,.thesis-sub b){color:#111}
html[data-theme="2d"] .thesis-crown{left:2%;top:5%;width:10%}
html[data-theme="2d"] .line-card{background:#fffdf5;border:2px solid #111;box-shadow:none;border-radius:18px;rotate:0deg;transform-style:flat}
html[data-theme="2d"] .line-card:hover{transform:translateY(-3px);box-shadow:0 4px 0 #15151526}
html[data-theme="2d"] .line-card blockquote{color:#111}
html[data-theme="2d"] .post-btn{box-shadow:none;border:1.5px solid #111;letter-spacing:0;font-weight:800}
html[data-theme="2d"] .tokenomics{background:#fffdf3;color:#111}
html[data-theme="2d"] .token-king{filter:none}
html[data-theme="2d"] .donut-mono{filter:none!important}
html[data-theme="2d"] .donut-label{inset:0 0 12%;color:#111;text-shadow:none;font-style:italic;letter-spacing:0;animation:none}
html[data-theme="2d"] .donut-label b{color:#111;text-shadow:none}
html[data-theme="2d"] .legend button{color:#111}
html[data-theme="2d"] .legend button :is(span,b){color:#111!important;text-shadow:none!important}
html[data-theme="2d"] .legend button i{background:#e9c4db;border:1.5px solid #111;box-shadow:none}
html[data-theme="2d"] .legend button.zero{opacity:.8}
html[data-theme="2d"] .allocation-note{color:#333}
html[data-theme="2d"] .token-copy .ca-pill{margin-top:10px;font-size:10px;padding:6px 10px!important;background:#fffdf3;box-shadow:none}
html[data-theme="2d"] .community{height:clamp(460px,42vw,700px);margin-top:30px;color:#111}
html[data-theme="2d"] .community:before{inset:0;background:url('assets/pastel/19-community-finale.webp') center bottom /cover no-repeat;mask-image:linear-gradient(transparent,#000 8%);-webkit-mask-image:linear-gradient(transparent,#000 8%)}
html[data-theme="2d"] .community:after{display:none}
html[data-theme="2d"] .community-copy{right:0;width:43%;top:48%;translate:0 -20%}
html[data-theme="2d"] .community h2{font-size:max(24px,2.7cqw);color:#111;-webkit-text-fill-color:#111;text-shadow:2px 2px #fffdf3,-2px -2px #fffdf3;filter:none}
html[data-theme="2d"] .community p{color:#111;text-shadow:1px 1px #fffdf3;font-size:clamp(12px,1vw,18px)}
html[data-theme="2d"] .socials button{border:2px solid #111;background:#fffdf3;border-radius:14px;padding:7px;width:64px;box-shadow:0 3px 0 #111}
html[data-theme="2d"] .socials img{filter:brightness(0);width:100%}
html[data-theme="2d"] footer{background:#b5cbef;border-top:2px solid #111;box-shadow:none;color:#111;backdrop-filter:none}
html[data-theme="2d"] .footer-line span{color:#111;text-shadow:none}
html[data-theme="2d"] .music-btn{background:#fffdf3;color:#111}
html[data-theme="2d"] .eq i{background:#111}
html[data-theme="2d"] dialog{background:#fffdf3;border:2px solid #111;box-shadow:5px 6px 0 #1113;color:#111}
html[data-theme="2d"] dialog::backdrop{background:#5b82af77;backdrop-filter:blur(5px)}
html[data-theme="2d"] :is(.kit-item,.spread-line){background:#f7ebf3;border:1.5px solid #111;box-shadow:none}
html[data-theme="2d"] .toast{background:#fffdf3;color:#111;border:2px solid #111;box-shadow:0 3px 0 #111}
/* The illustrated entrance uses the same session/Enter flow as the original. */
html[data-theme="2d"] #intro{background:#adc9ef url('assets/pastel/20-pastel-sky.webp') center/cover;color:#111}
html[data-theme="2d"] #intro:before{inset:auto;left:50%;top:53%;width:120vmax;height:120vmax;background:repeating-conic-gradient(from 20deg,#ffffff55 0deg 12deg,#a4c8f355 12deg 24deg);opacity:.65;animation:intro-spin 100s linear infinite;filter:none}
html[data-theme="2d"] #intro-canvas{display:none}
html[data-theme="2d"] .intro-word{filter:none;width:min(72vw,740px);animation:none}
html[data-theme="2d"] .intro-cat{filter:none;opacity:1;width:min(35vh,38vw);animation:paper-cat 6s ease-in-out infinite}
html[data-theme="2d"] .intro-hint{color:#111;text-shadow:none;opacity:.8}
html[data-theme="2d"] .intro-enter{background:#f478a4!important;color:#111!important;border:2px solid #111;box-shadow:0 4px 0 #111!important;text-shadow:none}
html[data-theme="2d"] .intro-paper-world{display:block;position:absolute;inset:0;pointer-events:none}
.paper-prop{position:absolute;object-fit:contain;animation:paper-float 8s ease-in-out infinite}
.paper-king{left:9%;top:31%;width:13%;height:27%;rotate:-15deg}
.paper-castle{right:7%;top:30%;width:17%;height:28%;animation-delay:-3s}
.paper-cube{left:17%;bottom:9%;width:12%;rotate:12deg;animation-delay:-5s}
.paper-flag{right:22%;bottom:8%;width:9%;height:22%;rotate:12deg}
.paper-crown{right:5%;bottom:9%;width:11%;animation-delay:-2s}
.paper-star{left:4%;top:15%;width:5%;animation-delay:-6s}
html[data-theme="2d"] #intro.entering .intro-ui{opacity:0;scale:1.08}
@keyframes paper-float{0%,100%{translate:0 0}50%{translate:0 -8px}}
@keyframes paper-cat{0%,100%{translate:0 0;rotate:-1deg}50%{translate:0 -6px;rotate:1deg}}
@media(min-width:761px){html[data-theme="2d"] .card-art{height:11cqw;margin-top:0}html[data-theme="2d"] .feature{min-height:0;aspect-ratio:1.05}}
@media(max-width:1100px) and (min-width:761px){.header-inner nav{gap:12px}.header-inner>.theme-switch{margin-left:0}.theme-switch button{padding:6px 9px}.header-inner .brand{width:130px}.header-buy .lime{padding:0 15px}.nav-play{padding:8px 11px}}
@media(max-width:760px){
  .header-inner{gap:8px;flex-wrap:nowrap;padding:10px 3%;min-height:65px}
  .header-inner .brand{width:110px;margin-right:auto;flex-shrink:0}
  .header-inner>.theme-switch{margin-left:0;order:1}
  .header-buy{order:2}.header-buy .lime{min-height:34px;font-size:11px;padding:0 12px}
  #menu{order:3;font-size:22px;width:30px}
  nav.open{top:65px}
  .theme-switch button{padding:6px 9px;font-size:12px;min-height:29px}
  .intro-theme{top:16px;right:16px}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cards .feature:nth-child(3){grid-column:1/-1}
  html[data-theme="2d"] #navigation.open{background:#fffdf3;border-bottom:2px solid #111;backdrop-filter:none}
  html[data-theme="2d"] #menu{border:1.5px solid #111;border-radius:8px;background:#fffdf2;color:#111;padding:0;min-height:30px;flex-shrink:0}
  html[data-theme="2d"] .hero{height:770px;aspect-ratio:auto}
  html[data-theme="2d"] .hero-copy{top:88px}
  html[data-theme="2d"] .hero-copy .actions{top:372px}
  html[data-theme="2d"] .cat-interaction{left:25%;top:auto;bottom:328px;width:50%;height:auto}
  html[data-theme="2d"] .planet{left:-10%;top:33%;width:120%}
  html[data-theme="2d"] .castle{left:75%;top:20%;width:25%;height:20%}
  html[data-theme="2d"] .beliefs{left:3%;top:555px;width:94%;height:140px}
  html[data-theme="2d"] .badge-label{font-size:12cqi;inset:49% 8% 18%}
  html[data-theme="2d"] .paper-badge-text{font-size:12cqi;inset:49% 8% 25%}
  html[data-theme="2d"] .hero-clouds{top:540px;bottom:auto;height:180px}
  html[data-theme="2d"] .meadow-edge{width:180%;left:-40%;bottom:0}
  html[data-theme="2d"] .glass{border-radius:20px}
  html[data-theme="2d"] .portal{width:100%;right:0;bottom:0}
  html[data-theme="2d"] .playground{padding-top:26px}
  html[data-theme="2d"] .feature{min-height:250px}
  html[data-theme="2d"] .card-art{height:125px}
  html[data-theme="2d"] .feature p{font-size:14px}
  html[data-theme="2d"] .thesis-crown{width:52px;left:-10px;top:-24px}
  html[data-theme="2d"] .tokenomics{padding-bottom:24px}
  html[data-theme="2d"] .token-copy .ca-pill{margin-inline:0}
  html[data-theme="2d"] .community{height:590px;margin-top:24px}
  html[data-theme="2d"] .community:before{top:150px;background-size:auto 380px;background-position:28% bottom}
  html[data-theme="2d"] .community-copy{left:0;right:0;top:25px;translate:0 0;width:100%}
  html[data-theme="2d"] .community h2{font-size:27px}
  html[data-theme="2d"] .community p{font-size:13px}
  html[data-theme="2d"] .socials button{width:45px;padding:5px}
  html[data-theme="2d"] .intro-word{width:90vw;margin-top:45px}
  html[data-theme="2d"] .intro-cat{width:min(36vh,62vw)}
  .paper-castle{width:27%;right:-2%;top:36%}.paper-king{left:0;width:21%;top:32%}.paper-cube{left:5%;width:17%;bottom:15%}.paper-flag{right:6%;width:15%;bottom:18%}.paper-crown,.paper-star{display:none}
}
@media(max-width:380px){.header-inner{gap:6px}.header-inner .brand{width:100px}.header-buy .lime{font-size:10px;padding:0 9px}.theme-switch button{padding:6px 7px}#menu{width:24px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* ===== cleanup pass on the latest layout ===== */
/* 2D globe stays solid down to the meadow (the 3D fade made it look ghostly over the clouds) */
html[data-theme="2d"] .planet{-webkit-mask-image:none;mask-image:none}
/* hero cloud band fully opaque: at 70% it read as a see-through smear over the globe */
html[data-theme="2d"] .hero-clouds{opacity:1}
/* "Touch clouds" art is a shorter cloud: lift and tighten its label so it stays inside */
html[data-theme="2d"] [data-belief="clouds"] .badge-label{inset:47% 14% 24%;line-height:.95}
@media(max-width:760px){
  html[data-theme="2d"] .badge-label{font-size:10.5cqi;inset:45% 10% 25%;line-height:.95}
  html[data-theme="2d"] .paper-badge-text{font-size:10.5cqi;inset:46% 10% 27%}
}
/* 2D cards: bigger art, and the art + title + text sit as one group centred above the arrow */
@media(min-width:761px){
  html[data-theme="2d"] .feature{aspect-ratio:1.3;padding-top:clamp(14px,1.6cqw,26px)}
  html[data-theme="2d"] .card-art{height:13cqw;margin-top:auto}
}
html[data-theme="2d"] .feature h2{margin-top:clamp(10px,1.2cqw,18px)}
html[data-theme="2d"] .feature .round-icon{margin-top:auto}
@media(max-width:760px){html[data-theme="2d"] .card-art{margin-top:auto}}
/* cards size to their content with even breathing room: art, title, text, arrow */
html[data-theme="2d"] .feature{aspect-ratio:auto!important;min-height:0!important;padding:clamp(18px,2cqw,30px) clamp(12px,1.4cqw,20px)!important;justify-content:center}
html[data-theme="2d"] .card-art{margin-top:0!important}
html[data-theme="2d"] .feature .round-icon{margin-top:clamp(16px,1.8cqw,26px)!important}

/* ===== 2D nav bar: see-through at the top, frosted glass once you scroll (same behaviour as 3D) ===== */
html[data-theme="2d"] #top-bar{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom:1px solid transparent;box-shadow:none;transition:background .35s,box-shadow .35s,border-color .35s,backdrop-filter .35s}
html[data-theme="2d"] #top-bar.scrolled{background:linear-gradient(180deg,rgba(255,253,244,.62),rgba(214,228,252,.42));
  backdrop-filter:blur(16px) saturate(170%);-webkit-backdrop-filter:blur(16px) saturate(170%);
  border-bottom-color:rgba(17,17,17,.12);box-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 10px 28px -14px rgba(40,60,120,.35)}
/* footer matches the frosted bar */
html[data-theme="2d"] footer{background:linear-gradient(180deg,rgba(255,253,244,.62),rgba(214,228,252,.5));backdrop-filter:blur(16px) saturate(170%);-webkit-backdrop-filter:blur(16px) saturate(170%);border-top:1px solid rgba(17,17,17,.12)}

/* ===== 2D <-> 3D switch transition ===== */
::view-transition-group(root){animation-duration:1s}
html[data-switching]::view-transition-old(root){animation:dim-out 1s cubic-bezier(.6,0,.2,1) both;transform-origin:var(--sw-x) var(--sw-y)}
html[data-switching]::view-transition-new(root){animation:dim-in 1s cubic-bezier(.7,0,.15,1) both;mix-blend-mode:normal}
@keyframes dim-in{
  0%  {clip-path:circle(0 at var(--sw-x) var(--sw-y));filter:saturate(2.2) brightness(1.35)}
  60% {filter:saturate(1.4) brightness(1.1)}
  100%{clip-path:circle(var(--sw-r) at var(--sw-x) var(--sw-y));filter:none}
}
@keyframes dim-out{
  0%  {transform:none;filter:none}
  100%{transform:scale(.88) rotate(-4deg);filter:blur(6px) brightness(.7) hue-rotate(60deg)}
}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none!important}}

/* ===== chess pieces sit exactly where the 3D ones do (2D art has different empty space around it) ===== */
@media(min-width:761px){
  html[data-theme="2d"] .far-left{left:-5.47%;top:28.11%;width:15.35%;height:30.71%}
  html[data-theme="2d"] .king-left{left:3.88%;top:14.24%;width:17.15%;height:36.07%;rotate:-35deg}  /* 3D king art is drawn leaning 18deg; the 2D one is upright */
  html[data-theme="2d"] .queen-right{left:34.31%;top:16.01%;width:11.79%;height:35.38%}
  html[data-theme="2d"] .small-one{display:block;left:44.19%;top:34.82%;width:7.86%;height:21.62%}
  html[data-theme="2d"] .small-two{display:block;left:49.12%;top:42.68%;width:5.93%;height:16.71%}
}
/* ===== the cat bounces on a squishy globe in 2D too ===== */
html[data-theme="2d"] .cat-interaction img{transform-origin:50% 96%;animation:cat-bounce 1.25s infinite}
html[data-theme="2d"] .planet{transform-origin:57% 12%;animation:globe-squish 1.25s infinite}
/* phones: same spots as the 3D phone layout (percentages of .hero-world, which starts 250px down on phones) */
@media(max-width:760px){
  html[data-theme="2d"] .far-left{left:-19.27%;top:29.88%;width:27.40%;height:39.22%}
  html[data-theme="2d"] .king-left{left:-5.78%;top:10.94%;width:21.31%;height:34.10%;rotate:-35deg}
  html[data-theme="2d"] .queen-right{left:76.44%;top:19.98%;width:20.62%;height:35.30%}
  html[data-theme="2d"] .castle{left:70.32%;top:-8.42%;width:36.49%;height:34.16%}
  /* cat's feet land on the 2D globe */
  html[data-theme="2d"] .cat-interaction{bottom:315px}
}

/* ===== 2D tokenomics: CA pill matches the other pink buttons; 100% sits in the hole and floats with the donut ===== */
html[data-theme="2d"] .token-copy .ca-pill{margin-top:14px;font-size:max(12px,1.05cqw);padding:.9em 1.4em!important;background:#f478a4;box-shadow:0 3px 0 #151515;color:#111}
html[data-theme="2d"] .token-copy .ca-pill:hover{box-shadow:0 5px 0 #151515}
html[data-theme="2d"] .token-copy .ca-pill .ca-label{background:#fffdf3;border:1.5px solid #151515}
html[data-theme="2d"] .token-copy .ca-pill .ic{color:#111}
/* float the whole button so the image and label can never drift apart */
html[data-theme="2d"] .donut-button{animation:float 8s ease-in-out infinite}
html[data-theme="2d"] .donut-button img,html[data-theme="2d"] .donut-label{animation:none}
html[data-theme="2d"] .donut-button.recount img{animation:recount 1.1s cubic-bezier(.3,1.4,.5,1)}
html[data-theme="2d"] .donut-label{inset:0 1.8% 2% 0}
html[data-theme="2d"] .donut-label b{font-size:max(18px,2.2cqw);margin-bottom:.15em}
@media(max-width:760px){html[data-theme="2d"] .token-copy .ca-pill{font-size:13px}html[data-theme="2d"] .donut-label{font-size:9px}html[data-theme="2d"] .donut-label b{font-size:18px}}

/* Full matching intro asset set: v2. */
html[data-theme="2d"] #intro-canvas{display:block}
html[data-theme="2d"] #intro.ready::before{opacity:0}
html[data-theme="2d"] #intro.ready .intro-cat{opacity:0}
html[data-theme="2d"] #intro.ready .intro-paper-world{display:none}
html[data-theme="2d"] .intro-cat{width:min(38vh,43vw)}
.intro-fallback-prop{position:absolute;height:auto;animation:paper-float 8s ease-in-out infinite;animation-delay:var(--d,0s)}
@media(max-width:760px){
  html[data-theme="2d"] .intro-cat{width:min(38vh,66vw)}
  .intro-fallback-prop:nth-child(3n){display:none}
  .intro-fallback-prop{max-width:20%}
}

/* 2D header: tablets keep the nav off the Buy button; tiny phones keep the menu on screen */
@media(min-width:761px) and (max-width:920px){.header-inner nav{gap:10px}.header-inner nav a{font-size:11px}.header-inner .brand{width:112px}.header-buy .lime{padding:.8em 1em;font-size:11px}}
@media(max-width:345px){.header-inner{gap:5px;padding-inline:2.5%}.header-inner .brand{width:84px}.header-buy .lime{font-size:9.5px;padding:0 7px}.theme-switch button{padding:5px 6px;font-size:11px}}

/* intro: the 2D/3D switch is big and glowing so it never blends into the art */
.intro-theme{top:22px;right:26px;z-index:20}
.intro-theme .theme-switch{box-shadow:0 3px 0 #161616,0 0 0 5px rgba(255,255,255,.4),0 10px 30px rgba(20,0,60,.45)}
.intro-theme .theme-switch button{min-height:40px;padding:8px 18px;font-size:16px}
html[data-theme="3d"] .intro-theme .theme-switch{animation:switch-glow 2.4s ease-in-out infinite}
@keyframes switch-glow{50%{box-shadow:0 3px 0 #161616,0 0 0 7px rgba(255,150,245,.55),0 0 38px rgba(255,110,240,.9)}}
@media(max-width:760px){.intro-theme{top:14px;right:14px}.intro-theme .theme-switch button{min-height:36px;padding:7px 14px;font-size:14px}}

/* ===== Phone tokenomics: only the title sits beside the king; the CA pill spans the card, centred ===== */
@media(max-width:760px){
  .token-copy{padding-left:0;min-height:0}
  .token-copy h2,.token-copy .token-tag{padding-left:96px}
  html .token-copy .ca-pill{width:100%;max-width:100%;margin:30px 0 0;justify-content:center}
}
@media(max-width:380px){.token-copy h2,.token-copy .token-tag{padding-left:80px}}
@media(max-width:760px){
  .token-copy .ca-pill .ca-text{width:22ch;flex:0 1 22ch;text-align:center;word-break:break-all}
  html[data-theme="2d"] .token-king{top:-4px;height:112px;width:96px;left:-6px}
}
