.playLab{max-width:1000px;color:var(--graphite);margin:auto}.labInvitation{justify-content:space-between;align-items:center;gap:24px;margin:0 0 24px;display:flex}.labInvitation h2{max-width:650px;margin:10px 0;font-size:clamp(23px,3vw,32px);line-height:1.3}.labInvitation p,.labPanel p,.labPanel details{color:var(--graphite-soft);line-height:1.75}.labEyebrow{color:var(--emerald-dark);letter-spacing:.14em;font-size:11px;font-weight:700}.labIllustration{width:160px;height:125px;color:var(--emerald);flex:0 0 160px;position:relative}.labIllustration>svg:first-child{fill:none;stroke:currentColor;stroke-width:1px;opacity:.65;width:100%;height:100%;animation:3s ease-out both lab-arrive}.labIllustration>svg:last-child{position:absolute;top:calc(50% - 21px);left:calc(50% - 21px)}.labPanel{background:var(--surface);border:1px solid var(--border);box-shadow:0 12px 40px color-mix(in srgb, var(--emerald) 6%, transparent);border-radius:24px;padding:clamp(18px,4vw,36px)}.labPanel h3{margin:20px 0 14px;font-size:clamp(22px,3vw,29px);line-height:1.35}.labMeter{color:var(--emerald-dark);letter-spacing:.02em;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:12px;font-weight:600;display:flex}.labPanel button{font:inherit;background:var(--surface);min-height:44px;color:var(--graphite);border:1px solid var(--border);cursor:pointer;border-radius:10px;padding:10px 16px;line-height:1.4}.labPanel button:hover:not(:disabled){background:var(--emerald-soft);border-color:var(--emerald)}.labPanel button:disabled{opacity:.55;cursor:default}.labPanel button.labPrimary{background:var(--emerald-dark);color:var(--surface);border-color:var(--emerald-dark)}.labPanel button.labPrimary:hover:not(:disabled){background:var(--emerald)}.playLab :focus-visible{outline:3px solid var(--copper,#b8783a);outline-offset:3px}.labPanel input:not([type=checkbox]):not([type=range]){box-sizing:border-box;border:1px solid var(--border);background:var(--surface);width:100%;color:var(--graphite);font:inherit;border-radius:10px;min-height:48px;padding:12px}.labPanel label{margin:14px 0 8px;font-size:13px;font-weight:600;display:block}.labPanel fieldset{border:0;min-width:0;margin:20px 0;padding:0}.labPanel legend{margin-bottom:12px;font-weight:600;line-height:1.6}.labActions{flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0;display:flex}.labChoiceList{gap:10px;margin:14px 0;display:grid}.labChoiceList button{text-align:left}.labNotice{border:1px solid var(--border);border-left:3px solid var(--copper,#b8783a);background:var(--surface);border-radius:10px;margin:20px 0;padding:14px 16px;animation:.3s ease-out lab-arrive}.labNotice.labSuccess{background:var(--emerald-soft);border-left-color:var(--emerald)}.labHint,.labMessage,.labStory{background:var(--emerald-soft);border-left:3px solid var(--emerald);border-radius:8px;margin:20px 0;padding:18px;line-height:1.8}.labInscription,.labEvidence{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.9 var(--font-mono,monospace);background:var(--emerald-soft);border:1px solid var(--border);border-radius:12px;padding:20px}.labInscription{letter-spacing:.08em;text-align:center;font-size:clamp(17px,3vw,24px)}.labTerminal{background:var(--emerald-dark);max-height:390px;color:var(--surface);font:13px/1.8 var(--font-mono,monospace);border-radius:14px;margin:20px 0;padding:20px;overflow:auto}.labTerminal pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.labTerminal .labPrompt{color:var(--surface);opacity:.75;margin-bottom:4px}.labCommand{gap:10px;display:flex}.labCommand input{min-width:0}.labFootnote,.labPanel .labQuiet{color:var(--graphite-soft);font-size:12px;line-height:1.75}.labFootnote{text-align:center;margin:24px auto 0}.labPanel summary{cursor:pointer;min-height:44px;padding:10px 0;line-height:1.6}.labPanel details{border-top:1px solid var(--border);margin-top:25px;padding-top:12px}@keyframes lab-arrive{0%{opacity:.3;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (width<=600px){.labIllustration{flex-basis:90px;width:90px;height:90px}.labIllustration>svg:last-child{width:30px;height:30px;top:calc(50% - 15px);left:calc(50% - 15px)}.labInvitation{gap:10px}.labInvitation h2{font-size:22px}.labInvitation p{font-size:12px}}@media (prefers-reduced-motion:reduce){.playLab *,.playLab :before{transition:none!important;animation:none!important}}.genesis{color:var(--graphite)}.genesisTopline{border-bottom:1px solid var(--border);color:var(--graphite-soft);flex-wrap:wrap;justify-content:space-between;gap:8px;padding-bottom:18px;font-size:12px;display:flex}.genesisTopline span:first-child{color:var(--emerald-dark);font-weight:700}.genesisLayout{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:28px;margin-top:28px;display:grid}.genesisWorkbench{min-width:0}.genesisWorkbench>h3{margin-top:10px}.genesisWorkbench>p{font-size:13px}.genesisBenchHeader{justify-content:space-between;align-items:center;gap:12px;display:flex}.genesisBenchHeader h3{margin:8px 0;font-size:23px}.genesisBenchHeader>button{flex-shrink:0;font-size:12px}.genesisCanvas{border:1px solid var(--border);background-color:var(--surface);background-image:radial-gradient(color-mix(in srgb,var(--emerald-dark) 17%,transparent) 1px,transparent 1px);background-size:22px 22px;border-radius:16px;height:390px;margin-top:18px;position:relative;overflow:hidden}.genesisCanvasEmpty{color:var(--graphite-soft);text-align:center;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:20px;display:flex;position:absolute;inset:0}.genesisCanvasEmpty svg{color:var(--copper)}.genesisCanvasEmpty span{font-size:12px}.genesisCanvasToken{width:90px;height:100px;position:absolute}.labPanel .genesisCanvasToken>button:first-child{background:var(--surface);cursor:grab;border-color:#0000;flex-direction:column;justify-content:center;align-items:center;gap:3px;width:90px;height:100px;padding:6px 2px;display:flex}.genesisCanvasToken strong{overflow-wrap:anywhere;font-size:11px}.genesisCanvasToken .genesisArt{width:58px}.labPanel .genesisRemove{z-index:2;border-radius:50%;place-items:center;width:30px;min-height:30px;padding:5px;display:grid;position:absolute;top:0;right:0}.genesisArt{width:64px;height:auto;display:block;overflow:visible}.genesisArtShadow{fill:var(--emerald-dark);opacity:.07}.genesisArtHalo{fill:var(--emerald-soft);opacity:.55}.genesisArtOutline,.genesisArtAccent{fill:none;stroke:var(--emerald-dark);stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round}.genesisArtAccent{stroke:var(--copper,#b8783a);stroke-width:2px}.genesisReveal{text-align:center;border:1px solid var(--border);border-radius:18px;min-height:185px;margin-top:22px;padding:24px 16px;scroll-margin-top:115px}.genesisReveal.hasDiscovery{background:linear-gradient(150deg, var(--surface), var(--emerald-soft));animation:.55s ease-out both genesis-reveal}.genesisReveal .genesisHeroArt{width:132px;margin:12px auto 0;animation:.75s ease-out both genesis-bloom}.genesisReveal h3{margin:12px 0;font-size:27px}.genesisReveal>p{margin:10px 0 16px;font-size:13px}.genesisReveal .genesisEquation{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;font-size:11px;display:flex}.genesisReveal button{font-size:12px}.genesisAwaiting{color:var(--copper,#b8783a);justify-content:center;align-items:center;gap:25px;margin:15px 0 20px;display:flex}.genesisAwaiting span:nth-child(2){color:var(--emerald);font-size:42px}.genesisHint{margin-top:16px}.genesisHint button{font-size:12px}.genesisHint p{border-left:2px solid var(--copper,#b8783a);padding:10px 14px;font-size:13px}.genesisCabinet{background:var(--emerald-soft);border:1px solid var(--border);border-radius:18px;min-width:0;padding:16px}.genesisCabinetTitle{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.genesisCabinetTitle h3{margin:3px 0 16px;font-size:19px}.genesisCabinetTitle>span{white-space:nowrap;color:var(--graphite-soft);font-size:11px}.genesisCabinet .genesisSearch{border:1px solid var(--border);background:var(--surface);border-radius:10px;align-items:center;gap:8px;margin:0;padding:0 12px;display:flex}.genesisCabinet .genesisSearch input{background:0 0;min-width:0;font-size:13px;border:0!important;padding:10px 0!important}.genesisSort{flex-wrap:wrap;gap:6px;margin:12px 0;display:flex}.labPanel .genesisSort button{background:0 0;border-color:#0000;min-height:36px;padding:7px 10px;font-size:11px}.labPanel .genesisSort button[aria-pressed=true]{background:var(--surface);border-color:var(--border)}.genesisElements{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px;max-height:760px;padding:4px;display:grid;overflow-y:auto}.labPanel .genesisElement{min-height:99px;box-shadow:0 3px 0 color-mix(in srgb, var(--emerald-dark) 5%, transparent);cursor:grab;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:9px 4px;display:flex}.genesisElement .genesisArt{width:55px}.genesisElement span{overflow-wrap:anywhere;font-size:11px;font-weight:600}.genesisElement:active{cursor:grabbing}.genesisStatus{font-size:12px}.genesisJournal ul{max-height:320px;padding:0;list-style:none;overflow-y:auto}.genesisJournal li{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;font-size:12px;display:flex}.genesisJournal li button{flex-shrink:0;font-size:11px}.genesisBackups .labActions button{align-items:center;gap:6px;font-size:12px;display:inline-flex}.genesisFileInput{display:none}.genesisResetConfirm{border:1px solid var(--copper,#b8783a);border-radius:10px;padding:15px}.genesisResetConfirm button{margin-right:8px}.genesisFantasy{text-align:center;margin-top:24px}@keyframes genesis-reveal{0%{opacity:.25;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes genesis-bloom{0%{transform:scale(.8)rotate(-7deg)}to{transform:scale(1)rotate(0)}}@media (width<=820px){.genesisLayout{grid-template-columns:1fr}.genesisCabinet{order:2}.genesisElements{grid-template-columns:repeat(4,minmax(0,1fr));max-height:350px}}@media (width<=480px){.genesisCanvas{height:330px}.genesisBenchHeader{align-items:flex-start}.genesisBenchHeader h3{font-size:20px}.genesisCabinet{padding:12px}.genesisElements{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.genesisElement .genesisArt{width:49px}.genesisJournal li{flex-direction:column;align-items:flex-start}.genesisWorkbench>h3{font-size:23px}}@media (prefers-reduced-motion:reduce){.genesis *,.genesis :before,.genesis :after{transition:none!important;animation:none!important}}.genesisCanvasToken:nth-child(3n+1){left:0}.genesisCanvasToken:nth-child(3n+2){left:calc(50% - 45px)}.genesisCanvasToken:nth-child(3n){left:calc(100% - 90px)}.genesisCanvasToken:nth-child(-n+3){top:35px}.genesisCanvasToken:nth-child(n+4){top:220px}@media (width<=480px){.genesisCanvas{height:380px}.genesisCanvasToken:nth-child(odd){left:10px}.genesisCanvasToken:nth-child(2n){left:calc(100% - 100px)}.genesisCanvasToken:nth-child(-n+2){top:12px}.genesisCanvasToken:nth-child(n+3):nth-child(-n+4){top:135px}.genesisCanvasToken:nth-child(n+5){top:258px}}.genesisCanvasStatus{overflow-wrap:break-word;width:100%;min-width:0;font-size:12px;line-height:1.6;display:block}.labPanel .genesisCanvasToken.isSelected>button:first-child{border-color:var(--copper);box-shadow:0 0 0 2px color-mix(in srgb,var(--copper) 22%,transparent)}.genesisStackArt{pointer-events:none;flex-wrap:wrap;flex-shrink:0;justify-content:center;align-items:center;width:58px;height:58px;display:flex}.genesisStackArt>.genesisArt{width:58px;max-width:none;height:58px}.genesisCanvasToken.isStack .genesisStackArt>.genesisArt{width:33.3333%;height:28px}.genesisCanvasToken strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:84px;line-height:1.3;display:-webkit-box;overflow:hidden}.genesisCanvasToken.isStack>button:first-child{border-style:dashed;border-color:var(--emerald)!important}
