/* 1.5: smooth illustration, native SVG timber, quiet readable controls. */
:root{--forest:#2d844f;--cream:#fff8e6;--ink:#493223;--sand:#f4eddc;--accent:#dfad4f;--outline:#9b6d42}
body{background:#f4eddc;color:#493223}
.scene-wrap canvas,.animal-art canvas,.welcome-art canvas{image-rendering:auto}
.stat,.stat.coins{border:0;border-image:none;background:transparent url('assets/wood.svg') center/100% 100% no-repeat;border-radius:16px;padding:15px 22px;min-height:80px;box-shadow:none}
.stat>div{background:transparent;border:0;padding:0;color:#fff6dc}.stat strong{font:700 25px Consolas,monospace;color:#fffdf1}.stat small{color:#ead5ac}.stat-icon{color:#ffd569;background:transparent;border:0}.stat span{color:#f1ddbc}
.habitat-card,.shop-card{border:2px solid #956034;border-radius:13px;background:#fff8e6;box-shadow:0 3px 0 #c9a77c;overflow:hidden}
.section-header{background:linear-gradient(#cf9858,#b47c43);border-bottom:2px solid #956034;box-shadow:inset 0 2px #efc38a;color:#fff8e6;min-height:42px}.section-header h2{font-size:18px;text-shadow:none}
.scene-badge{border-radius:8px;background:#fff8e9ed;color:#4a6840;border:1px solid #d6bd84}.scene-tip{background:#f6e8c7;color:#665139;border-top:1px solid #d5b582}
.control-scroll{background:#fff8e6}.guide{background:#f5e8c9}.guide-action{border-radius:8px}.care-button,.bask-button,.encourage{border-radius:9px;border-color:#d7bd92;background:#fff8e6}.care-button.feed{background:#e8f4d9}.care-button.water{background:#e0f2f7}.care-button.sell,.primary{background:#2d844f;color:white;border:2px solid #22653e;box-shadow:0 2px 0 #22653e}.care-button svg{stroke-width:1.7}.care-button:not(:disabled):hover,.bask-button:not(:disabled):hover{filter:brightness(.97)}
.buy{background:#dcedc6;color:#2b613b;border:1px solid #9fb879;border-radius:8px;box-shadow:0 2px 0 #b3c895}.buy:not(:disabled):hover{background:#cde5ae}.shop-tabs{background:#efe0ba}.shop-tabs button{font-weight:700}.animal-product{border-radius:10px;border-color:#dec89e;background:#fffbef}.animal-art canvas{width:100px;height:63px}.animal-art{width:100px}
.workshop-dock{background:#f6e8c7;border-top:1px solid #d5b582}.dock-module{border-radius:10px;background:#fff8e7;border-color:#d9b581}.dock-icon{border-radius:8px;background:#e7f0d2;color:#3c794e}.belt-status{color:#705438}.workshop-caption{color:#735c41}
.notebook{border-radius:12px;border-color:#bd955d;background:#fff8e8}.fact-illustration{border-radius:12px;background:#e9f1d6}.quiz button,.fact-nav button,.secondary{border-radius:8px}
.mode-pill,.icon-button,.button{border-radius:8px}.brand-mark{border-radius:13px}.toast{border-radius:11px;background:#fff9e8;border-color:#c7a06c}
@media(max-width:600px){.stat,.stat.coins{padding:13px 12px;min-height:77px}.stat strong{font-size:21px}.stat small{font-size:10px}}

/* 1.6: original spatial hierarchy, quiet HUD in the right rail. */
main{max-width:1520px;padding:12px 14px 0}.game-layout{grid-template-columns:minmax(0,1fr) 360px;gap:14px;align-items:start}
.club-sidebar{position:sticky;top:12px;display:flex;flex-direction:column;height:calc(100dvh - 24px);min-height:520px;gap:8px;min-width:0}
.club-sidebar .topbar{padding:9px 12px;height:auto;min-height:82px;flex-wrap:wrap;gap:9px;background:#f4e5c7;border:1px solid #b28a5b;border-radius:12px}
.club-sidebar .brand{font-size:24px}.club-sidebar .brand img{width:30px;height:30px}.club-sidebar .brand small{display:none}
.club-sidebar .header-right{width:100%;justify-content:flex-end;gap:6px}.club-sidebar .mode-pill{margin-right:auto;font-size:10px;gap:5px;padding:3px 5px 3px 8px}.club-sidebar .saved{display:none}
.club-sidebar .icon-button{width:44px;height:44px;flex-shrink:0}.club-sidebar .mode-pill button{height:36px;width:32px;min-width:32px}
.club-sidebar .stats{gap:5px;margin:0}.club-sidebar .stat{padding:10px 11px;min-height:65px;gap:0}.club-sidebar .stat-icon,.club-sidebar .stat-aside{display:none}.club-sidebar .stat-label{font-size:9px;line-height:1.2}.club-sidebar .stat strong{font-size:20px}.club-sidebar .stat small{font-size:9px}
.club-sidebar .journey{padding:9px 11px;margin:0;border-color:#dac299;background:#fff7df;gap:6px}.club-sidebar .journey-icon{display:none}.club-sidebar .journey h2{font-size:11px}.club-sidebar .journey-heading{gap:6px;align-items:start}.club-sidebar .journey-heading>span{font-size:10px;white-space:nowrap}.club-sidebar .journey p{font-size:10px;margin:5px 0 7px;line-height:1.4}
.club-sidebar .shop-card{display:flex;flex-direction:column;min-height:0;flex:1}.club-sidebar .control-scroll{min-height:0;max-height:none;flex:1;overflow-y:auto;overscroll-behavior-y:auto;scrollbar-width:thin;scrollbar-gutter:stable}
.section-header .section-kicker{display:none}.section-header{padding:8px 12px;min-height:40px}.section-header h2{margin:0}.scroll-hint{font-size:11px;color:#fff3d3}.club-sidebar .tabs{position:sticky;top:0;z-index:2;box-shadow:0 2px 3px #75502c14}.club-sidebar .guide{padding:10px 12px}.club-sidebar .guide strong{font-size:13px}.club-sidebar .guide p{margin:6px 0;font-size:11px}
.habitat-card{border-radius:12px}.scene-wrap{background:#f6dca4}.scene-badge{top:10px;left:112px}.weather{color:#fff0cd}
@media(max-width:1100px) and (min-width:761px){.game-layout{grid-template-columns:minmax(0,1fr) 330px;gap:10px}main{padding:10px}.club-sidebar{top:10px;height:calc(100dvh - 20px)}}
@media(max-width:760px){main{padding:10px 10px 0}.game-layout{grid-template-columns:1fr;gap:12px}.club-sidebar{position:static;height:auto;min-height:0}.club-sidebar .topbar{min-height:75px}.club-sidebar .control-scroll{overflow:visible;max-height:none}.club-sidebar .tabs{position:static}.club-sidebar .journey p{font-size:11px}.scene-badge{left:12%;font-size:9px}.club-sidebar .shop-card{flex:none}.club-sidebar .stat strong{font-size:21px}}

/* 1.7 feedback: celebrate the actual object and a concrete benefit, briefly. */
.manual-dock{padding:15px 14px;background:#fff7e0;border-top:2px solid #c59a5c}.manual-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.manual-heading h2{font-size:18px;margin:3px 0;color:#674a2d}.manual-heading>strong{font-size:14px;color:#46764a}.hands-slots{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.hand-slot{width:36px;height:40px;border:1px dashed #d5bd8f;border-radius:9px;display:grid;place-items:center;color:#c4ae86;background:#f8efd7}.hand-slot.occupied{border:1px solid #b99252;background:#ffe7ac;color:#99682c;box-shadow:0 2px 0 #d4b378}.hand-slot svg{width:21px;height:25px}.manual-dock p{font-size:12px;line-height:1.5;color:#765e3d;margin:8px 0 12px}.manual-actions{display:flex;flex-wrap:wrap;gap:8px}.manual-actions button{flex:1;min-width:125px;min-height:44px}.manual-actions button[aria-pressed=true]{background:#e3edca;border-color:#86a86b;color:#3f693f}.hand-upgrade{display:flex;align-items:center;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #e2cda7}.hand-upgrade>div{flex:1}.hand-upgrade b{display:block;font-size:12px}.hand-upgrade small{display:block;font-size:11px;margin-top:5px;color:#82704e}.hand-upgrade .buy{margin:0;width:180px;min-height:44px}
.purchase-reward{position:absolute;z-index:3;left:50%;top:48px;transform:translateX(-50%);width:max-content;max-width:calc(100% - 30px);padding:12px 16px;border:2px solid #d0a452;border-radius:12px;display:flex;align-items:center;gap:12px;background:#fff4d7f5;color:#664622;box-shadow:0 4px 0 #c498503b;pointer-events:none;animation:reward-arrive .25s ease-out}.purchase-reward>span{width:36px;height:36px;display:grid;place-items:center;background:#f6d78c;border-radius:50%;color:#698545}.purchase-reward strong{display:block;font-size:16px}.purchase-reward div>span{display:block;margin-top:4px;font-size:12px;line-height:1.4}.reward-pulse{animation:reward-pulse .8s ease-out}
@keyframes reward-arrive{from{opacity:0;transform:translate(-50%,8px) scale(.96)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
@keyframes reward-pulse{0%{box-shadow:0 0 0 0 #efc76190}45%{box-shadow:0 0 0 5px #efc76150}100%{box-shadow:0 0 0 0 transparent}}
.reduce-motion .purchase-reward,.reduce-motion .reward-pulse{animation:none}
@media(prefers-reduced-motion:reduce){.purchase-reward,.reward-pulse{animation:none}}
@media(max-width:760px){.manual-dock{padding:13px 11px}.manual-heading h2{font-size:17px}.manual-heading .section-kicker{font-size:10px}.manual-actions button{min-width:115px;font-size:11px}.hand-upgrade .buy{width:145px}.purchase-reward{top:35px;padding:8px 10px;gap:7px}.purchase-reward strong{font-size:12px}.purchase-reward div>span{font-size:10px}.purchase-reward>span{width:28px;height:28px;flex-shrink:0}.hand-slot{width:30px;height:35px}}

/* 1.8: hierarchy, price clarity and tactile shop controls. */
.resource{border-color:#87603d}.resource strong{color:#fff4d8}.club-sidebar>.topbar{background:linear-gradient(135deg,#f9e9c6,#efdaa9);border-color:#b5874f}.shop-tabs [aria-selected=true]{color:#294e37;border-bottom:3px solid #64874e}.buy:not(:disabled){border-color:#90aa70;box-shadow:0 2px 0 #b4c594}.buy:not(:disabled):hover{background:#cfe3b2;border-color:#64874e}.buy:not(:disabled):active{transform:translateY(1px);box-shadow:none}.price{font-weight:800}.dock-module{border-top:3px solid #b4874d}.control-scroll{scrollbar-color:#ad8350 #eee0bf}.scene-wrap{background:#efd59d}.manual-heading h2{color:#3f6549}

#scene{aspect-ratio:1000 / 1100}.circuit-controls{display:flex;align-items:center;gap:12px;margin-top:12px;padding:12px;background:#eee4c7;border:1px solid #d2bb8f;border-radius:10px}.circuit-controls>div{flex:1}.circuit-controls strong{font-size:13px;color:#355e4a}.circuit-controls p{margin:5px 0 0}.circuit-controls button{min-height:44px;max-width:215px}@media(max-width:760px){.circuit-controls{flex-wrap:wrap}.circuit-controls button{max-width:none;width:100%}}

/* 1.10: seven club stages, earned upgrades and timed powers in the shop rail. */
.progression-panel{padding:12px;border-bottom:1px solid #d8c099;background:#f8edcf}.progression-panel h3{font-size:14px;margin:0;color:#3f6549}.progression-panel>p{margin:5px 0 9px;font-size:11px;font-weight:700;color:#776042}.stage-list{list-style:none;padding:0;margin:0;display:grid;gap:3px}.stage-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 7px;border:1px solid #ddccaa;border-radius:7px;background:#fff8e7;color:#87775c}.stage-list b{font-size:10px;white-space:nowrap}.stage-list small{font-size:9px;text-align:right}.stage-list .complete{border-color:#b1c58c;color:#4c713d;background:#ecf2d9}.stage-list [aria-current=step]{border-color:#779658;box-shadow:inset 3px 0 #779658}.boost-panel h4{font-size:12px;margin:13px 0 7px;color:#6b542e}.boost-card{display:flex;align-items:center;gap:8px;padding:8px 0;border-top:1px solid #ddccaa}.boost-card>div{flex:1;min-width:0}.boost-card b{display:block;font-size:11px}.boost-card small{display:block;font-size:10px;line-height:1.4;color:#806946;margin-top:3px}.boost-card button{min-width:94px;min-height:44px;padding:6px;font-size:10px}.progression-upgrade h3,.evolution-card h3{margin:0 0 7px;font-size:13px}.progression-upgrade>small,.evolution-card>small{display:block;color:#786144;font-size:11px;line-height:1.4}.evolution-card{border:1px solid #dbc399;border-radius:10px;background:#f5efd9;padding:12px;margin-top:10px}.boost-card[hidden],.boost-panel[hidden]{display:none}.hands-slots{max-height:96px;overflow:auto}.hand-slot{flex-shrink:0}
@media(max-width:760px){.stage-list b{font-size:11px}.stage-list small{font-size:10px}.progression-panel{padding:12px}.boost-card b{font-size:12px}.boost-card small{font-size:11px}}
/* 1.11: four accessible shop tabs and a physical processing chain. */
.tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0 4px}.tabs .tab{padding:8px 3px;font-size:11px;min-width:0;min-height:44px}.progression-panel{padding:9px 12px}.progression-panel>p{margin:4px 0;font-size:10px;line-height:1.5}.level-map summary{font-size:11px;min-height:30px;display:list-item;cursor:pointer;padding:6px 0}.stage-list li{padding:4px 6px}.stage-list b{white-space:normal}.boost-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.boost-heading h4{margin:0;font-size:13px}.boost-heading span{font-size:10px;color:#496741;background:#e4edcf;border-radius:6px;padding:5px 7px}.boost-panel>p{font-size:11px;line-height:1.5;color:#786144;margin:9px 0}.boost-card .availability{font-weight:700;color:#4e6841}.boost-card:has(button:disabled) .availability{color:#866347}.machine-module{flex-basis:145px;min-width:145px}.machine-module .dock-level{line-height:1.4;min-height:29px}.machine-module[hidden],.progression-upgrade[hidden]{display:none}.delivery-receipt{background:#e9f0d7;border-top:1px solid #b7c994;color:#426044;padding:10px 13px;font-size:11px;line-height:1.5}.delivery-receipt[hidden]{display:none}.delivery-receipt b{display:block;font-size:12px;margin-bottom:3px}.delivery-receipt span{display:inline-block;margin-right:8px}.processing-values{font-size:10px;line-height:1.5;color:#6e6349}.processing-values b{color:#4b6d42}
@media(max-width:420px){.tabs .tab{font-size:10px}.boost-card button{min-width:85px}.boost-heading{flex-wrap:wrap}}

/* 1.12: two visible floors and direct turbo controls beside the game. */
@media(min-width:761px){.scene-wrap{container-type:inline-size}#scene{height:min(86cqw,calc(100dvh - 80px));aspect-ratio:1000 / 860}.club-sidebar{min-height:0}}
.turbo-shortcuts{padding:7px 9px;background:#f6e8ca;border:1px solid #c1a273;border-radius:10px;flex-shrink:0}.turbo-quick-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.turbo-quick-heading b{font-size:12px;color:#496344}.turbo-quick-heading button{min-height:44px;padding:5px 9px;font-size:10px}.turbo-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.turbo-quick{min-width:0;min-height:44px;padding:5px 2px;display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:10px;border-color:#c3ad80}.turbo-quick small{font-size:9px;color:#61734b}.turbo-shortcuts>small{display:block;margin-top:6px;font-size:9px;color:#7a674a;line-height:1.3}.turbo-quick[hidden],#turbo-more[hidden]{display:none}.turbo-active{background:#e5edc9;border-color:#7ca168}.turbo-active small{font-weight:bold}.club-sidebar .shop-card{min-height:160px}@media(min-width:761px){.turbo-shortcuts:has(#turbo-more[aria-expanded=true]) .turbo-quick-grid{max-height:152px;overflow-y:auto}.turbo-shortcuts:has(#turbo-more[aria-expanded=true]){max-height:230px}.club-sidebar .guide p,.club-sidebar .journey p{line-height:1.25}}@media(max-width:760px){.turbo-shortcuts{padding:10px}.turbo-quick{min-height:48px;font-size:11px}.turbo-shortcuts>small{font-size:10px}.turbo-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* 1.13: a continuous purchase grid beside the two belt floors. */
.care-fold{border-bottom:1px solid #d6bd90;background:#fff5da}.care-fold>summary{min-height:44px;padding:12px 14px;cursor:pointer;font-size:11px;font-weight:bold;color:#63704b}.shop-card>.care-row{padding:5px 9px;margin:0;gap:7px;background:#f8edce}.shop-card>.care-row .care-button{padding:6px;min-height:48px;font-size:10px}.shop-card>.care-row .care-button em{font-size:11px}.shop-heading{display:flex;align-items:center;justify-content:space-between}.shop-heading .text-button{min-height:44px;color:#fff3d6;font-size:10px;text-decoration:underline}.tabs .tab{font-size:10px}.shop-all-view .shop-panel:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.shop-all-view .shop-panel::before{content:'IGUANAS';grid-column:1/-1;color:#5c6c44;background:#e8dfbc;font-size:11px;font-weight:bold;text-align:center;letter-spacing:.08em;padding:7px;border-radius:4px}.shop-all-view #panel-upgrades::before{content:'HUEVOS Y MEJORAS'}.shop-all-view #panel-auto::before{content:'AUTOMATIZACIÓN'}.shop-all-view .shop-footnote,.shop-all-view .processing-values,.shop-all-view .automation-note{grid-column:1/-1;font-size:10px;margin:0}.shop-all-view .animal-product,.shop-all-view .upgrade{display:flex;flex-direction:column;align-items:stretch;position:relative;margin:0;padding:8px;background:#fff7df;border:1px solid #cbb183;border-radius:7px;min-width:0;text-align:center}.shop-all-view .animal-art{position:relative;float:none;width:75px;height:48px;margin:0 auto}.shop-all-view .animal-art canvas{width:75px;height:48px}.shop-all-view h3{font-size:11px;line-height:1.3;margin:4px 0;font-weight:bold}.shop-all-view .species-badge,.shop-all-view .animal-product p{display:none}.shop-all-view .upgrade p{font-size:9px;line-height:1.35;margin:4px 0}.shop-all-view .product-facts{display:flex;flex-direction:column;gap:3px;font-size:9px;padding:0}.shop-all-view .buy{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:6px 3px;min-height:46px;margin-top:auto;font-size:10px}.shop-all-view .price{font-size:11px}.shop-all-view .upgrade-top{display:flex;flex-direction:column;gap:1px}.shop-all-view .upgrade-icon{margin:auto}.shop-all-view .upgrade small{font-size:9px;line-height:1.3;margin:3px 0}.upgrade-symbol{height:25px;display:block;color:#66834b}.upgrade-symbol svg{width:25px;height:25px}.shop-all-view .evolution-card p{display:none}.turbo-quick-heading button{min-height:32px}.turbo-quick-heading{margin-bottom:4px}.turbo-shortcuts>small{font-size:9px}.journey{padding:8px}.journey-copy p{font-size:10px}.shop-card .section-header{padding:8px 12px}.shop-card .section-header h2{font-size:15px}.shop-card .section-kicker{display:none}@media(min-width:761px){.club-sidebar{gap:7px}.turbo-shortcuts{padding:6px 9px}.turbo-quick{min-height:44px}.shop-card{flex:1}.shop-all-view .shop-panel:not([hidden]){padding:9px}}@media(max-width:760px){.shop-all-view .shop-panel:not([hidden]){grid-template-columns:repeat(3,minmax(0,1fr))}.shop-all-view h3{font-size:12px}.shop-all-view .buy{font-size:11px;min-height:48px}.shop-all-view .upgrade p{font-size:10px}.shop-all-view .animal-art{width:85px;height:53px}}@media(max-width:400px){.shop-all-view .shop-panel:not([hidden]){grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(min-width:761px){.game-layout{grid-template-columns:minmax(0,2fr) minmax(330px,1fr)}.shop-all-view .shop-panel:not([hidden]){grid-template-columns:repeat(3,minmax(0,1fr))}.shop-all-view .animal-product,.shop-all-view .upgrade{padding:7px}.shop-all-view h3{font-size:11px}.shop-all-view .upgrade p{font-size:10px}}@media(min-width:761px) and (max-width:1100px){.shop-all-view .shop-panel:not([hidden]){grid-template-columns:repeat(2,minmax(0,1fr))}}
.shop-all-view .upgrade[hidden],.shop-all-view .progression-upgrade[hidden]{display:none}

.shop-all-view #panel-family::before{content:'IGUANAS Y CRÍAS'}.shop-all-view #panel-upgrades::before{content:'HUEVOS Y BANDAS'}.shop-all-view #panel-auto::before{content:'RECURSOS Y AUTOMATIZACIÓN'}

.scene-wrap{position:relative}.field-turbo{position:absolute;right:2%;top:70%;width:92px;min-height:72px;z-index:3;background:#eab662;border:3px solid #ffe2a0;border-radius:8px;box-shadow:0 3px 0 #926337;color:#574127;display:flex;flex-direction:column;gap:4px;padding:7px 5px;font-size:10px;cursor:pointer}.field-turbo b{font-size:9px;letter-spacing:.05em}.field-turbo span{font-size:11px;font-weight:bold}.field-turbo small{font-size:9px;line-height:1.3}.field-turbo[hidden],.package-status[hidden]{display:none}.field-turbo:not(:disabled):hover{background:#f3ca79;transform:translateY(-2px)}.package-status{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px;background:#ede9cc;border:1px solid #c9b384;font-size:12px}.package-status span{color:#927242;font-size:20px;letter-spacing:3px}.package-status button{margin-left:auto;min-height:44px}@media(max-width:760px){.field-turbo{width:74px;min-height:58px;padding:4px;font-size:9px}.field-turbo span{font-size:10px}.field-turbo small{display:none}}

.machine-actions{padding:12px;background:#eef0d8;border-top:1px solid #bdc79b}.machine-actions>b{font-size:14px;color:#4d6743}.machine-actions p,.machine-actions>small{font-size:11px;line-height:1.5;color:#657052;margin:5px 0}#machine-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}#machine-buttons button{min-height:48px;font-size:11px;padding:7px}.machine-actions[hidden],#machine-buttons button[hidden],.purchase-plan[hidden]{display:none}.purchase-plan{padding:10px 13px;background:#e8edcf;border-bottom:1px solid #c4c895}.purchase-plan b{font-size:12px;display:block;color:#46623c}.purchase-plan small{font-size:10px;line-height:1.4;display:block;margin:5px 0;color:#697253}.purchase-plan>span{font-size:10px}.purchase-track{height:5px;border-radius:5px;background:#ced5b2;overflow:hidden;margin:7px 0}.purchase-track i{height:100%;display:block;background:#6e9758}@media(max-width:760px){#machine-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-plan b{font-size:13px}}
