/* CORTEX 3.0 / evolutionary anatomy, no face or character identity. */
.cortex-suspension{animation:cortexFloat 5s ease-in-out infinite;transform-origin:210px 216px}.cortex-organ{filter:drop-shadow(0 5px 9px #14212f88)}.cortex-axon{animation:axonBreath 6s ease-in-out infinite;transform-origin:210px 270px}.synapse-glow{animation:synapticPulse 2.8s ease-in-out infinite}.overdrive .cortex-suspension{animation-duration:1.5s}.overdrive .synapse-glow{animation-duration:.5s}.cortex-profile{position:relative;z-index:1;border:1px solid #4a7769;background:linear-gradient(120deg,#2b52433d,#142d32cc);padding:13px 14px 12px;margin:18px 0 0}.cortex-profile:before{content:'';position:absolute;top:-1px;left:-1px;width:35px;height:2px;background:#b9d59b}.cortex-profile-head{display:flex;justify-content:space-between;gap:8px;align-items:center}.cortex-profile-head .tiny-label{font-size:10px;letter-spacing:.7px;color:#b1d0ad}.cortex-profile-head button{font-size:10px;color:#e8c99d;padding:2px 0}.cortex-profile>strong{display:block;font:700 25px/1.1 var(--display);margin-top:9px;color:#ebe8ce}.cortex-profile>p{font:400 12px/1.5 var(--body);color:#bfd1b5;margin:7px 0 11px}.cortex-lineage{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.cortex-lineage span{font:600 11px/1 var(--ui);padding:6px 0;text-align:center;border:1px solid #49685b;color:#8aa68c;background:#152e31}.cortex-lineage span.current{background:#809e5333;border-color:#c7d797;color:#eff0c5;box-shadow:inset 0 2px #c7d797}.cortex-lineage span.complete{color:#abdfb4;background:#3f6c4844;border-color:#67956b}.neural-meter{margin-top:13px}.neural-meter p{font-size:11px;line-height:1.6}.specimen-wrap{min-height:330px}.specimen-side{font-size:8px;letter-spacing:.8px}.brain-preview{width:100%;height:180px;display:block;background:radial-gradient(ellipse at center,#477b6840,#10293155 70%);border:1px solid #46675c}.brain-preview .cortex-organ{filter:none}.mutation-comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 16px}.mutation-comparison>div>span{font:600 10px var(--ui);letter-spacing:.7px;display:block;margin-bottom:8px;color:#b3c7ac}.mutation-comparison>div>strong{font:700 22px/1.2 var(--display);display:block;color:#dedfc1;margin-top:9px}.mutation-comparison .next-anatomy>span{color:#e9bd96}.mutation-comparison .next-anatomy .brain-preview{border-color:#ba996b;background:radial-gradient(ellipse at center,#8a6b4140,#142b2e 70%)}.anatomy-history{margin-top:21px}.anatomy-history-row{display:flex;gap:13px;align-items:center;padding:13px 0;border-bottom:1px solid #405b4c}.anatomy-history-row>b{font:700 29px var(--display);color:#aac7a3;width:28px;flex-shrink:0}.anatomy-history-row>div{flex:1}.anatomy-history-row strong{font:700 21px var(--display);color:#e2e2c6}.anatomy-history-row small{display:block;font:400 12px/1.6 var(--body);color:#afc3a8;margin-top:4px}.anatomy-history-row>span{font:600 18px var(--ui);color:#b6dc9e}.anatomy-history-row.future{opacity:.6}.cortex-morph{animation:cortexRewrite 1.8s ease-out}.cortex-morph .cortex-suspension{animation:cortexFloat 1s ease-in-out infinite}.overdrive .cortex-profile{border-color:#ce9d6e}.overdrive .cortex-lineage .current{background:#c9954830;border-color:#e0b482}.cortex-profile button:hover{color:#f7e0b7}.specimen-tag{font-size:9px}.specimen-tag strong{font-size:14px}.prestige-box{background:linear-gradient(90deg,#91b37608,transparent)}
@keyframes cortexFloat{50%{transform:translateY(-5px) rotate(.7deg)}}@keyframes axonBreath{50%{transform:scaleX(1.03) skewX(1deg);opacity:.8}}@keyframes synapticPulse{0%,100%{opacity:.3}50%{opacity:1;filter:drop-shadow(0 0 3px #b5e8cc)}}@keyframes cortexRewrite{0%{filter:brightness(1)}25%{filter:brightness(2.2) drop-shadow(0 0 35px #b3edcc)}60%{filter:brightness(1.3)}100%{filter:brightness(1)}}
@media(min-width:1101px){main{min-height:1000px}.specimen-wrap{min-height:320px;max-height:390px}.specimen{width:min(97%,305px)}.currency{margin-top:20px}.currency:after{margin-top:13px}.currency h1{font-size:72px}.cortex-profile{margin-top:10px}.harvest-footer{margin-top:13px}.strain-selector{margin-top:14px}.strain-options button{min-height:71px}.cortex-profile>p{font-size:11px}.cortex-profile>strong{font-size:24px}}
@media(min-width:1550px){main{min-height:1050px}.specimen{width:355px}.specimen-wrap{min-height:365px}.cortex-profile>p{font-size:12px}.cortex-profile>strong{font-size:27px}}
@media(max-width:1100px) and (min-width:701px){.harvest{min-height:1250px}.specimen-wrap{min-height:360px}.cortex-profile>strong{font-size:25px}.cortex-profile>p{font-size:12px}}
@media(max-width:700px){main{min-height:0}.harvest{min-height:1100px}.cortex-profile{margin-top:17px;padding:15px}.cortex-profile>strong{font-size:28px}.cortex-profile>p{font-size:13px}.cortex-profile-head .tiny-label{font-size:11px}.cortex-profile-head button{font-size:11px}.cortex-lineage span{font-size:12px;padding:8px 0}.neural-meter p{font-size:12px}.specimen-wrap{min-height:365px}.specimen{width:315px}.mutation-comparison{gap:9px}.brain-preview{height:155px}.mutation-comparison>div>span{font-size:9px}.mutation-comparison>div>strong{font-size:20px}.anatomy-history-row strong{font-size:22px}.anatomy-history-row small{font-size:13px}.specimen-side{font-size:7px}}
@media(prefers-reduced-motion:reduce){.cortex-suspension,.cortex-axon,.synapse-glow,.cortex-morph{animation:none!important}}
.specimen-wrap{margin-bottom:18px!important}.cortex-profile{margin-top:16px}.cortex-lineage span{cursor:default}.specimen-tag{pointer-events:none}.cortex-profile>strong{overflow-wrap:break-word}

/* Generations 0–10 stay visible in two rows at every screen width. */
.cortex-lineage{grid-template-columns:repeat(6,minmax(0,1fr))}.cortex-lineage span{white-space:nowrap}

/* Keep floating tissue, nerves and the final oversized lobes inside a padded viewport. */
.specimen>svg{overflow:visible}
