@font-face{font-family:Syne;src:url('/assets/Syne.ttf') format('truetype');font-weight:400 800;font-display:swap}@font-face{font-family:Grotesk;src:url('/assets/Grotesk.ttf') format('truetype');font-weight:100 900;font-display:swap}@font-face{font-family:Mono;src:url('/assets/Mono.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{--bg:#fff;--ink:#181818;--muted:#929292;--accent:#bc7254;--line:#ededed;--mono:Mono,monospace;--display:Syne,sans-serif}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:Grotesk,sans-serif;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none}button:disabled{opacity:.35;cursor:default}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button,a{touch-action:manipulation}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:4px}::selection{background:#efcfbd}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}.skip-link{position:fixed;top:-100px;left:20px;z-index:1000;background:#111;padding:16px;color:white}.skip-link:focus{top:10px}.topbar{height:76px;display:flex;align-items:center;padding:0 28px;position:relative;gap:20px}.brand{font:650 20px var(--display);letter-spacing:-.8px;display:flex;align-items:center;gap:14px}.brand-orb{width:35px;height:35px;border-radius:50%;display:block;background:radial-gradient(circle at 64% 28%,#fff5e3 1%,#e4a6a2 12%,#c98a69 32%,#a45a3f 50%,#4b393b 76%,#392f2d 100%);box-shadow:inset 0 0 3px #54332277,0 2px 3px #5c3c2019}.header-note{position:absolute;left:50%;transform:translateX(-50%);font-size:11px;color:#a3a3a3;white-space:nowrap}.free-badge{margin-left:auto;border:1px solid #e8e8e8;border-radius:10px;padding:10px 14px;font-size:11px;color:#777}.rail{position:absolute;left:17px;top:142px;bottom:24px;width:45px;display:flex;flex-direction:column;gap:29px;z-index:5}.rail>button,.rail-bottom>button{width:43px;height:43px;display:grid;place-items:center;border-radius:12px;color:#b7b7b7;font-size:26px;position:relative}.rail>button.active{color:#222;background:#f4f4f4}.rail>button:hover,.rail-bottom>button:hover{background:#f7f7f7;color:#222}.rail svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}.rail>button:first-child svg{fill:currentColor;stroke:none}.rail #saved-count{position:absolute;right:0;top:-1px;font:8px var(--mono);background:#f5f5f5;border-radius:4px;min-width:13px;padding:2px}.rail-bottom{margin-top:auto;display:flex;flex-direction:column;gap:17px}.rail-bottom>button:last-child{font:15px var(--display)}.center-stage{height:calc(100dvh - 76px);width:min(1000px,calc(100% - 210px));margin:0 auto;display:flex;flex-direction:column;padding:23px 0 20px;gap:24px;min-height:0}.screen-switch{display:flex;align-items:center;align-self:center;background:#f5f5f5;border:1px solid #eee;padding:5px;border-radius:15px;gap:5px;flex-shrink:0}.screen-switch button{font:600 19px var(--display);padding:13px 29px;letter-spacing:-.5px;border-radius:11px;color:#9b9b9b;display:flex;align-items:center;gap:11px}.screen-switch button.active{background:#191919;color:#fff;box-shadow:0 3px 7px #0000000d}.screen-switch button>span{font:9px Grotesk,sans-serif;color:inherit;opacity:.55}.studio-screen{flex:1;min-height:0;width:100%;border:1px solid #ededed;border-radius:24px;overflow:hidden;position:relative;background:#fff;box-shadow:0 12px 35px #00000002;max-height:720px}.prompt-view{height:100%;display:flex;flex-direction:column;padding:24px 28px;background:radial-gradient(ellipse at 50% 4%,#faf2ec44,transparent 60%)}.screen-topline,.screen-bottomline{display:flex;justify-content:space-between;gap:16px;font:8px var(--mono);letter-spacing:.6px;color:#b0b0b0;flex-shrink:0}.live-dot{display:inline-block;width:5px;height:5px;background:#c98e73;border-radius:50%;margin-right:7px;vertical-align:middle}.screen-bottomline{font:9px Grotesk,sans-serif;letter-spacing:0}.prompt-center{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px 0;min-height:0}.idea-mark{font-size:51px;line-height:1;color:#c17e5e;margin-bottom:19px}.prompt-center h1{font:650 clamp(27px,3vw,43px)/1.15 var(--display);letter-spacing:-1.8px;text-align:center}.prompt-center>p{font-size:13px;color:#aaa;margin-top:13px;text-align:center}#brief-form{width:min(660px,90%);margin-top:29px;background:#f8f8f8;border:1px solid #e9e9e9;border-radius:18px;padding:5px 6px 7px;position:relative;transition:border-color .2s}#brief-form:focus-within{border-color:#d7b8a8}textarea{display:block;resize:none;width:100%;height:107px;padding:17px 18px 8px;background:none;border:0;outline:none!important;font-size:15px;line-height:1.7}textarea::placeholder{color:#b2b2b2}.form-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:3px 5px 4px}.mode-select{display:flex;align-items:center;gap:3px;padding:4px}.mode-select button{font-size:10px;color:#aaa;border-radius:7px;padding:7px 9px}.mode-select button.active{background:#eceae8;color:#777}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:19px;background:#1d1d1d;color:#fff;padding:12px 16px;border-radius:11px;font-size:12px;font-weight:500;transition:background .2s}.primary-button:hover{background:#b67355}.primary-button>span{font-size:17px}.status-line{font-size:10px;color:#b77b5f;padding:4px 12px;line-height:1.5}.status-line:empty{display:none}.examples{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:19px}.examples button{font-size:10px;color:#a0a0a0;background:white;border:1px solid #eee;border-radius:8px;padding:8px 10px}.examples button:hover{color:#b27354;border-color:#dbbdac}.stage-footer{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#b4b4b4;flex-shrink:0;padding:0 3px}.stage-footer>div{display:flex;gap:17px}.stage-footer button{font-size:9px;color:#999;padding:0}.browse-view{height:100%;display:flex;flex-direction:column;min-height:0;padding:22px 27px 17px;background:radial-gradient(ellipse at 50% 53%,#f7eee51c,transparent 60%)}.library-controls{display:flex;gap:13px;align-items:center}.search-wrap{display:flex;align-items:center;gap:9px;background:#f6f6f6;border:1px solid #eee;border-radius:11px;height:43px;padding:0 12px;flex:1;min-width:0}.search-wrap svg{height:18px;width:18px;fill:none;stroke:#aaa;stroke-width:1.6;flex:none}.search-wrap input{font-size:12px;outline:none;background:none;border:0;height:100%;width:100%;min-width:0}.search-wrap input::placeholder{color:#b0b0b0}.category-select select,.sort-wrap select{font-size:10px;color:#919191;max-width:115px;background:none;border:0;outline-offset:4px}.sort-wrap select{max-width:95px}.icon-button{width:34px;height:34px;font-size:21px;color:#aaa;border:1px solid #eee;border-radius:9px}.icon-button[aria-pressed=true]{color:#b87557;background:#faf0ea}.shelf-heading{display:flex;align-items:center;justify-content:space-between;margin-top:21px;gap:15px}.eyebrow{font:7px/1.6 var(--mono);letter-spacing:1.1px;color:#b0b0b0}.shelf-heading h2{font:600 23px var(--display);letter-spacing:-.9px;margin-top:5px;max-width:650px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shelf-heading>div:first-child{min-width:0}.view-switch{display:flex;gap:3px;align-items:center}.view-switch button{font-size:20px;width:29px;height:28px;border-radius:6px;color:#c5c5c5}.view-switch button.active{background:#f3f3f3;color:#777}#clear-filters{font-size:9px;color:#b47859;margin-left:auto;white-space:nowrap}.shelf{position:relative;flex:1;min-height:150px;isolation:isolate;outline-offset:-3px!important;touch-action:pan-y;cursor:grab;margin:0 -27px;overflow:hidden;user-select:none}.shelf.dragging{cursor:grabbing}.shelf-floor{position:absolute;left:20%;right:20%;bottom:7%;height:18%;border-radius:50%;background:#7965570d;filter:blur(25px)}.carousel{position:absolute;inset:0;perspective:1400px;transform-style:flat;pointer-events:none}
.tool-card{position:absolute;left:50%;top:50%;width:252px;height:292px;padding:7px;border:1px solid #fff;border-radius:20px;box-shadow:0 14px 32px #69554412,0 2px 5px #6054440b;background:#fffffff2;text-align:left;transform-origin:center;transition:transform .55s cubic-bezier(.22,.8,.2,1),opacity .4s,box-shadow .2s;will-change:transform;cursor:grab;overflow:hidden}.tool-card.selected{box-shadow:0 20px 42px #6955441d,0 3px 8px #65523f0a}.tool-card .art{height:208px;border-radius:13px;overflow:hidden}.art{position:relative;width:100%}.art svg{width:100%;height:100%;display:block}.art-dot{position:absolute;left:12px;top:12px;height:4px;width:4px;border-radius:50%;opacity:.5}.art-label{position:absolute;bottom:9px;right:10px;font:5px var(--mono);letter-spacing:1.1px;color:#676d5d;opacity:.6}.card-copy{display:flex;align-items:center;justify-content:space-between;padding:13px 10px 7px;gap:8px}.card-copy strong{font:650 17px var(--display);letter-spacing:-.6px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:190px}.card-copy small{display:block;font:7px var(--mono);color:#9a9f8d;margin-top:5px}.card-copy>span{font-size:16px;color:#a1a991}.step-badge{position:absolute;top:17px;left:17px;padding:5px 7px;border-radius:6px;font:8px var(--mono);background:#ffffffe0;z-index:2;color:#7e8a70}dialog{border:1px solid white;border-radius:25px;padding:0;background:#f8f6f0;color:var(--ink);box-shadow:0 30px 120px #26281e40;max-height:88dvh;max-width:calc(100vw - 36px)}dialog::backdrop{background:#30342666;backdrop-filter:blur(6px)}.repo-dialog{width:920px}.info-dialog{width:650px}.dialog-close{position:absolute;right:17px;top:17px;width:32px;height:32px;background:#fff9;border-radius:50%;font-size:23px;color:#999e89;z-index:10}.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:44px 30px 28px}.detail-visual{min-height:260px;border-radius:18px;overflow:hidden;display:flex}.detail-visual .art{height:100%}.detail-copy h2{font:650 34px var(--display);letter-spacing:-1px;margin:13px 0 5px}.detail-owner{font:9px var(--mono);color:#9ca18e;margin-bottom:12px}.detail-description{font-size:13px;line-height:1.7;color:#7b8571}.detail-tags{display:flex;gap:5px;flex-wrap:wrap;margin:15px 0}.detail-tags span{font:7px var(--mono);padding:5px 7px;border-radius:6px;background:#eeeee2;color:#929b83}.detail-meta{display:flex;flex-wrap:wrap;gap:10px;font:8px var(--mono);color:#99a18a;line-height:1.7;margin:16px 0}.detail-buttons{display:flex;gap:8px;flex-wrap:wrap}.detail-buttons .primary-button{font-size:11px;padding:12px}.detail-more{padding:23px 30px;background:#eeeee4;display:grid;grid-template-columns:1fr 1fr;gap:28px}.detail-more h3{font:9px var(--mono);color:#879176;margin:0 0 9px}.detail-more h3:not(:first-child){margin-top:15px}.detail-more p{font-size:11px;line-height:1.7;color:#8a947a}.detail-more code{font:9px/1.7 var(--mono);padding:10px;display:block;overflow-wrap:anywhere;background:#f9f8f0;border-radius:6px;color:#8a785b}.info-content{padding:48px 40px 34px}.info-content h2{font:650 33px/1.15 var(--display);letter-spacing:-1px;margin:15px 0 20px}.info-content h3{font:600 15px var(--display);margin:22px 0 8px}.info-content p{font-size:12px;line-height:1.8;color:#88917a}.info-content p+p{margin-top:12px}.info-content .secondary-button{margin-top:20px}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,15px);opacity:0;background:#343d2e;color:#f4f1e6;padding:13px 21px;border-radius:12px;font-size:11px;box-shadow:0 8px 30px #3e483122;z-index:100;pointer-events:none;transition:.25s;max-width:90%;text-align:center}.toast.visible{transform:translate(-50%,0);opacity:1}
.rotate{animation:spin 22s linear infinite;transform-origin:center}.float{animation:bob 4s ease-in-out infinite}.delay1{animation-delay:-1.3s}.delay2{animation-delay:-2.6s}.pulse{animation:pulse 4s ease-in-out infinite;transform-origin:center}.wave{animation:wave 2.5s ease-in-out infinite}.draw{stroke-dasharray:260;animation:draw 5s ease-in-out infinite}.tool-card:not(.selected) .art *,.grid-card .art *{animation-play-state:paused}.grid-card:hover .art *{animation-play-state:running}.quiet *{animation:none!important}.backgrounded *{animation-play-state:paused!important}@keyframes spin{to{transform:rotate(360deg)}}@keyframes bob{50%{transform:translateY(-8px)}}@keyframes pulse{50%{opacity:.5;transform:scale(.98)}}@keyframes wave{50%{transform:scaleY(.4)}}@keyframes draw{50%{stroke-dashoffset:260}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.tool-card{width:254px;height:294px}.tool-card .art{height:208px}.card-copy strong{color:#272727}.card-copy small{color:#999}.card-copy>span{color:#aaa}.selected-tool{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0 17px;min-height:86px;border-top:1px solid #f0f0f0;flex-shrink:0}.selected-tool>div:first-child{min-width:0}.selected-tool h3{display:flex;align-items:center;gap:12px;font:600 21px var(--display);letter-spacing:-.6px;margin:0 0 7px}.selected-tool h3 button{font:inherit;text-align:left;padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:350px}.selected-meta{font:8px Grotesk,sans-serif;color:#aaa;letter-spacing:0;white-space:nowrap}.selected-description{font-size:11px;color:#aaa;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:610px}.selected-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 13px;border:1px solid #e9e9e9;border-radius:9px;font-size:11px;white-space:nowrap;color:#666;background:#fff}.secondary-button:hover{background:#f6f6f6}.save-tool{width:35px;height:35px;border:1px solid #eee;border-radius:9px;font-size:21px;color:#aaa}.save-tool.active{background:#f8ede5;color:#b77c5c}.shelf-footer{display:flex;align-items:center;justify-content:space-between;font:7px var(--mono);letter-spacing:.5px;color:#bbb;gap:15px;padding-top:8px;flex-shrink:0}.carousel-nav{display:flex;align-items:center;gap:14px}.carousel-nav button{width:29px;height:29px;border:1px solid #ededed;border-radius:50%;font-size:16px;color:#999}.carousel-nav span{font:8px var(--mono);color:#aaa;min-width:84px;text-align:center}.empty-state,.loading-state{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#aaa;font-size:12px}.empty-state>span{font-size:50px;color:#ccc}.empty-state h3{font:600 23px var(--display);color:#555;margin:12px 0}.empty-state button{margin-top:15px;color:#b7795b;font-size:11px}.empty-state p{font-size:12px}.repo-grid{height:100%;padding:20px 27px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}.grid-card{min-height:0;padding:5px;border:1px solid #eee;border-radius:13px;background:#fff;overflow:hidden;text-align:left;display:flex;flex-direction:column}.grid-card .art{flex:1;min-height:0;border-radius:9px;overflow:hidden}.grid-card .card-copy{padding:8px 7px 5px}.grid-card .card-copy strong{font-size:12px;max-width:160px}.grid-card .card-copy small{font-size:6px}.grid-card:hover{border-color:#d3b8a5}.stack-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:40px}.back-button{font-size:11px;color:#777}.stack-controls>span{font-size:10px;color:#aaa}.export-menu{position:relative;z-index:10;font-size:11px;color:#555}.export-menu summary{list-style:none;cursor:pointer;padding:10px 12px;background:#f5f5f5;border-radius:8px}.export-menu summary::-webkit-details-marker{display:none}.export-menu>div{position:absolute;right:0;top:42px;width:170px;border:1px solid #eee;border-radius:12px;background:#fff;padding:6px;box-shadow:0 8px 20px #0000000a}.export-menu button{display:block;width:100%;padding:10px;text-align:left;font-size:10px;border-radius:6px}.export-menu button:hover{background:#f6f6f6}.alt-select{font-size:9px;padding:8px;max-width:115px;border:1px solid #eee;border-radius:8px;background:#fff;color:#888}.detail-copy .eyebrow{font-size:8px}.detail-meta{color:#999}.detail-more{background:#f6f6f4}.detail-more p{color:#888}.detail-more h3{color:#777}.detail-tags span{background:#f1f1ed;color:#999}.detail-owner{color:#aaa}.detail-description{color:#888}.info-content p{color:#888}.info-content h3{color:#444}.detail-buttons .primary-button{background:#222}.detail-visual .art{min-height:260px}
@media(min-width:1550px){.center-stage{width:min(1100px,calc(100% - 260px));padding-top:32px;gap:29px}.studio-screen{max-height:780px}.tool-card{width:288px;height:334px}.tool-card .art{height:244px}.card-copy strong{font-size:20px;max-width:230px}.prompt-center h1{font-size:48px}textarea{height:125px;font-size:16px}.idea-mark{font-size:60px}.prompt-center>p{font-size:14px}}
@media(max-height:800px){.topbar{height:60px}.center-stage{height:calc(100dvh - 60px);padding-top:12px;gap:17px;padding-bottom:14px}.screen-switch button{font-size:17px;padding:10px 25px}.prompt-view{padding:20px 25px}.idea-mark{font-size:38px;margin-bottom:13px}.prompt-center h1{font-size:35px}.prompt-center>p{font-size:12px;margin-top:10px}#brief-form{margin-top:22px}textarea{height:90px;font-size:13px}.examples{margin-top:14px}.tool-card{width:222px;height:258px}.tool-card .art{height:180px}.card-copy strong{font-size:16px}.browse-view{padding-top:18px}.shelf-heading{margin-top:15px}.selected-tool{min-height:77px;padding:12px 0}.selected-tool h3{font-size:19px}.shelf-footer{padding-top:5px}}
@media(max-height:650px){.header-note{display:none}.topbar{height:53px}.center-stage{height:calc(100dvh - 53px);gap:12px;padding-top:6px;padding-bottom:10px}.screen-switch button{font-size:15px;padding:8px 23px}.studio-screen{border-radius:19px}.idea-mark{display:none}.prompt-center h1{font-size:30px}.prompt-center{padding:8px 0}.prompt-center>p{margin-top:7px}#brief-form{margin-top:16px}textarea{height:72px}.primary-button{padding:10px 14px}.examples{margin-top:11px}.examples button{font-size:9px;padding:6px 9px}.screen-topline{font-size:7px}.screen-bottomline{font-size:8px}.tool-card{width:175px;height:209px}.tool-card .art{height:144px}.card-copy{padding-top:9px}.card-copy strong{font-size:13px;max-width:130px}.card-copy small{font-size:6px}.browse-view{padding:14px 23px 12px}.shelf-heading h2{font-size:20px}.shelf-heading .eyebrow{display:none}.shelf-heading{margin-top:10px}.search-wrap{height:35px}.selected-tool{min-height:65px;padding:9px 0}.selected-description{font-size:10px;-webkit-line-clamp:1}.selected-tool h3{font-size:17px;margin-bottom:5px}.rail{top:115px;gap:20px}}
@media(max-width:1100px){.center-stage{width:calc(100% - 170px);margin-left:110px}.header-note{display:none}.selected-meta{display:none}.shelf-heading h2{font-size:21px}.sort-wrap{display:none}}
@media(max-width:800px){.center-stage{width:calc(100% - 120px);margin-left:88px}.rail{left:12px;width:40px}.rail>button,.rail-bottom>button{width:39px;height:39px}.topbar{padding:0 21px}.brand{font-size:18px}.brand-orb{height:31px;width:31px}.free-badge{font-size:10px;padding:9px 11px}.prompt-view{padding:22px}.prompt-center h1{font-size:31px;letter-spacing:-1.2px}.prompt-center>p{font-size:11px}#brief-form{width:100%;margin-top:24px}textarea{font-size:13px;height:126px}.form-bottom{gap:6px}.mode-select button{font-size:9px;padding:7px}.primary-button{font-size:11px;padding:11px 13px;gap:9px}.examples{gap:6px}.examples button{font-size:9px;padding:7px}.screen-topline{font-size:7px}.screen-bottomline{font-size:8px;line-height:1.6}.screen-bottomline>span:last-child{max-width:180px;text-align:right}.screen-switch button{padding:12px 22px;font-size:18px}.browse-view{padding:19px 21px 14px}.shelf{margin:0 -21px}.search-wrap{height:39px}.search-wrap input{font-size:10px}.category-select select{font-size:9px;max-width:95px}.library-controls{gap:8px}.library-controls .icon-button{display:none}.selected-tool{display:block;padding:14px 0;min-height:112px}.selected-tool h3{font-size:19px}.selected-description{font-size:11px;-webkit-line-clamp:1}.selected-actions{margin-top:10px}.selected-actions .secondary-button{padding:8px 11px;font-size:10px}.save-tool{height:31px;width:31px}.shelf-footer{font-size:6px;gap:8px}#browse-hint{display:none}.shelf-heading h2{font-size:20px}.shelf-heading .eyebrow{font-size:6px}.tool-card{width:224px;height:263px}.tool-card .art{height:185px}.card-copy strong{font-size:16px;max-width:170px}.repo-grid{padding:15px 21px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:8px}.grid-card .card-copy strong{font-size:11px}.grid-card .card-copy small{display:none}.grid-card .card-copy{padding:5px}.stack-controls{gap:8px}.stack-controls>span{font-size:8px}.stack-controls .back-button{font-size:10px}.export-menu{font-size:10px}.detail-layout{padding:45px 22px 22px;gap:20px}.detail-copy h2{font-size:26px}.detail-visual{min-height:220px}.detail-visual .art{min-height:220px}.detail-meta{font-size:7px}.detail-more{padding:22px;gap:20px}.info-content{padding:45px 27px 28px}}
@media(max-width:520px){.topbar{height:59px;padding:0 16px}.brand{font-size:17px;gap:10px}.brand-orb{height:29px;width:29px}.free-badge{font-size:9px;padding:8px 9px}.rail{display:none}.center-stage{width:calc(100% - 26px);height:calc(100dvh - 59px);margin:0 auto;padding:13px 0 12px;gap:17px}.screen-switch{padding:4px;gap:4px;border-radius:13px}.screen-switch button{font-size:17px;padding:11px 23px;border-radius:9px}.screen-switch button>span{font-size:8px}.studio-screen{border-radius:20px}.prompt-view{padding:20px 18px}.screen-topline{font-size:6px;letter-spacing:.5px}.idea-mark{font-size:42px;margin-bottom:18px}.prompt-center h1{font-size:29px;letter-spacing:-1.1px}.prompt-center>p{font-size:11px;margin-top:10px}#brief-form{margin-top:25px;border-radius:15px}textarea{height:134px;font-size:13px;padding:14px}.mode-select{padding:2px}.mode-select button{font-size:9px;padding:7px}.primary-button{font-size:10px;padding:11px 12px}.primary-button>span{font-size:15px}.examples{gap:5px;margin-top:15px}.examples button{font-size:8px;padding:7px}.screen-bottomline{font-size:7px}.stage-footer{font-size:7px;padding:0 4px}.stage-footer button{font-size:8px}.stage-footer>div{gap:12px}.browse-view{padding:17px 16px 12px}.shelf{margin:0 -16px}.shelf-heading{margin-top:15px}.shelf-heading h2{font-size:19px}.shelf-heading .eyebrow{font-size:6px}.tool-card{width:198px;height:234px}.tool-card .art{height:161px}.card-copy strong{font-size:14px;max-width:145px}.card-copy small{font-size:6px}.selected-tool{min-height:108px;padding:12px 0}.selected-tool h3{font-size:18px}.selected-description{font-size:10px}.selected-actions{margin-top:9px}.shelf-footer{padding-top:5px}.carousel-nav{gap:9px}.carousel-nav span{font-size:7px;min-width:76px}.carousel-nav button{height:27px;width:27px}.stack-controls>span{max-width:85px;line-height:1.6}.export-menu summary{padding:8px}.search-wrap{padding:0 9px;gap:6px}.search-wrap svg{height:15px;width:15px}.search-wrap input{font-size:10px}.category-select select{max-width:82px;font-size:8px}.repo-grid{padding:13px 16px;gap:8px}.detail-layout{grid-template-columns:1fr}.detail-visual{height:185px;min-height:185px}.detail-visual .art{min-height:185px}.detail-more{grid-template-columns:1fr}.detail-copy h2{font-size:29px}.detail-description{font-size:12px}.info-content h2{font-size:28px}.repo-dialog{max-width:calc(100vw - 20px)}}
@media(max-height:740px) and (max-width:800px){.tool-card{width:162px;height:195px}.tool-card .art{height:131px}.card-copy strong{font-size:12px;max-width:120px}.card-copy{padding-top:8px}.card-copy small{font-size:5px}.selected-tool{min-height:97px;padding:9px 0}.selected-tool h3{font-size:17px}.selected-actions{margin-top:7px}.shelf-heading .eyebrow{display:none}.shelf-heading{margin-top:12px}.idea-mark{font-size:32px;margin-bottom:12px}.prompt-center h1{font-size:27px}textarea{height:100px}#brief-form{margin-top:19px}.screen-topline{font-size:6px}.center-stage{gap:13px}.shelf{min-height:130px}.stack-controls{min-height:30px}}
[hidden]{display:none!important}
.prompt-center>p,.selected-description{color:#777}.screen-bottomline,.stage-footer,.stage-footer button{color:#888}.examples button{color:#777}.mode-select button{color:#828282}.mode-select button.active{color:#555}textarea::placeholder,.search-wrap input::placeholder{color:#929292}.category-select select,.sort-wrap select{color:#737373}.selected-meta,.carousel-nav span,#results-label{color:#919191}.screen-topline,.eyebrow{color:#929292}.rail>button,.rail-bottom>button{color:#aaa}.header-note{color:#909090}
.mobile-save{display:none;margin-left:auto;border:1px solid #e8e8e8;border-radius:9px;padding:7px 11px;align-items:center;gap:8px;font-size:19px;color:#888}.mobile-save span{font:8px var(--mono)}@media(max-width:520px){.mobile-save{display:flex}.free-badge{display:none}}

.screen-bottomline{justify-content:flex-end}

/* Keep the stage transparent to hit testing; each visible card owns its click. */
.tool-card{cursor:pointer}.shelf.dragging .tool-card{cursor:grabbing}.mobile-save.active{background:#f4f4f4;color:#222}
.header-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.header-icon{display:grid;place-items:center;width:36px;height:36px;border:1px solid #e9e9e9;border-radius:10px;color:#777;background:#fff;transition:background .2s,color .2s}.header-icon:hover{background:#f5f5f5;color:#222}.header-icon svg{width:17px;height:17px;display:block}.x-link svg{fill:currentColor;stroke:none;width:15px;height:15px}#theme-toggle svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}#theme-toggle .theme-sun{display:none}
html[data-theme="dark"]{color-scheme:dark;--bg:#111113;--ink:#ecebe8;--muted:#98989f;--accent:#ce9a7c;--line:#303033}
[data-theme="dark"] body{background:#111113;color:#ecebe8}
[data-theme="dark"] .header-note,[data-theme="dark"] .stage-footer,[data-theme="dark"] .stage-footer button{color:#7e7e86}
[data-theme="dark"] .header-icon,[data-theme="dark"] .mobile-save{background:#19191c;border-color:#303033;color:#a4a4aa}
[data-theme="dark"] .header-icon:hover{background:#27272b;color:#eee}
[data-theme="dark"] #theme-toggle .theme-moon{display:none}[data-theme="dark"] #theme-toggle .theme-sun{display:block}
[data-theme="dark"] .rail>button,[data-theme="dark"] .rail-bottom>button{color:#74747d}
[data-theme="dark"] .rail>button.active,[data-theme="dark"] .rail>button:hover,[data-theme="dark"] .rail-bottom>button:hover,[data-theme="dark"] .mobile-save.active{background:#262629;color:#eee}
[data-theme="dark"] .rail #saved-count{background:#29292d;color:#a4a4ab}
[data-theme="dark"] .screen-switch{background:#1b1b1e;border-color:#2a2a2d}
[data-theme="dark"] .screen-switch button{color:#85858e}[data-theme="dark"] .screen-switch button.active{background:#e9e7e3;color:#181819;box-shadow:none}
[data-theme="dark"] .studio-screen{border-color:#2a2a2e;background:#171719;box-shadow:0 12px 35px #00000010}
[data-theme="dark"] .prompt-view{background:radial-gradient(ellipse at 50% 4%,#bd7d4d0a,transparent 60%)}
[data-theme="dark"] .screen-topline,[data-theme="dark"] .eyebrow{color:#85858c}
[data-theme="dark"] .screen-bottomline,[data-theme="dark"] .prompt-center>p{color:#919197}
[data-theme="dark"] .idea-mark{color:#ca9577}[data-theme="dark"] #brief-form{background:#202023;border-color:#333337}
[data-theme="dark"] #brief-form:focus-within{border-color:#8c6852}[data-theme="dark"] textarea{color:#e5e3df}
[data-theme="dark"] textarea::placeholder,[data-theme="dark"] .search-wrap input::placeholder{color:#888890}
[data-theme="dark"] .mode-select button{color:#929299}[data-theme="dark"] .mode-select button.active{background:#353335;color:#d3c9c2}
[data-theme="dark"] .primary-button{background:#d2a183;color:#1b1511}[data-theme="dark"] .primary-button:hover{background:#e2b89b}
[data-theme="dark"] .examples button{background:#1a1a1d;border-color:#303034;color:#9c9ca4}[data-theme="dark"] .examples button:hover{border-color:#906c55;color:#d5aa8e}
[data-theme="dark"] .browse-view{background:radial-gradient(ellipse at 50% 53%,#bd7d4d05,transparent 60%)}
[data-theme="dark"] .search-wrap{background:#212124;border-color:#303034}[data-theme="dark"] .search-wrap svg{stroke:#93939b}
[data-theme="dark"] .category-select select,[data-theme="dark"] .sort-wrap select,[data-theme="dark"] .back-button{color:#a5a5ad}
[data-theme="dark"] select option{background:#222225;color:#e4e3df}
[data-theme="dark"] .icon-button{border-color:#333337;color:#aaa}[data-theme="dark"] .icon-button[aria-pressed=true]{background:#3d3029;color:#d5ab8e}
[data-theme="dark"] .view-switch button{color:#707079}[data-theme="dark"] .view-switch button.active{background:#2b2b2e;color:#ccc}
[data-theme="dark"] .tool-card{background:#232326;border-color:#3a3a3f;box-shadow:0 14px 32px #0000002d,0 2px 5px #0002}
[data-theme="dark"] .tool-card.selected{box-shadow:0 20px 42px #0000003d,0 3px 8px #0002}
[data-theme="dark"] .card-copy strong{color:#eeece8}[data-theme="dark"] .card-copy small,[data-theme="dark"] .card-copy>span{color:#a0a0a7}
[data-theme="dark"] .art-label{color:#e1ded6}[data-theme="dark"] .shelf-floor{background:#00000030}
[data-theme="dark"] .selected-tool{border-color:#2b2b2f}[data-theme="dark"] .selected-description{color:#a2a2aa}
[data-theme="dark"] .selected-meta,[data-theme="dark"] .carousel-nav span,[data-theme="dark"] #results-label{color:#878790}
[data-theme="dark"] .secondary-button,[data-theme="dark"] .save-tool,[data-theme="dark"] .alt-select{background:#232326;border-color:#36363b;color:#c0bfc5}
[data-theme="dark"] .secondary-button:hover{background:#303033}[data-theme="dark"] .save-tool.active{background:#403027;color:#dfb395}
[data-theme="dark"] .carousel-nav button{border-color:#343438;color:#aaa}
[data-theme="dark"] .grid-card{background:#242427;border-color:#38383d}[data-theme="dark"] .grid-card:hover{border-color:#a78064}
[data-theme="dark"] .export-menu{color:#c0bfc6}[data-theme="dark"] .export-menu summary{background:#29292d}
[data-theme="dark"] .export-menu>div{background:#232326;border-color:#3a3a3e;box-shadow:0 8px 20px #0003}[data-theme="dark"] .export-menu button:hover{background:#343438}
[data-theme="dark"] .empty-state h3{color:#ccc}[data-theme="dark"] .empty-state p{color:#929299}
[data-theme="dark"] dialog{background:#1e1e21;color:#e9e6e2;border-color:#3a3a40;box-shadow:0 30px 120px #0008}
[data-theme="dark"] dialog::backdrop{background:#0008}[data-theme="dark"] .dialog-close{background:#303034;color:#aaa}
[data-theme="dark"] .detail-more{background:#242427}[data-theme="dark"] .detail-more h3{color:#c3beb6}
[data-theme="dark"] .detail-more p,[data-theme="dark"] .detail-description,[data-theme="dark"] .info-content p{color:#a3a2aa}
[data-theme="dark"] .detail-more code{background:#19191c;color:#c4a58d}[data-theme="dark"] .detail-tags span{background:#303034;color:#b4b1ba}
[data-theme="dark"] .detail-meta,[data-theme="dark"] .detail-owner{color:#8e8e99}[data-theme="dark"] .info-content h3{color:#ddd}
[data-theme="dark"] .detail-buttons .primary-button{background:#d2a183;color:#21180f}
[data-theme="dark"] .toast{background:#e6ded1;color:#2e271e}
@media(max-width:520px){.header-actions{gap:7px}.header-icon{width:31px;height:31px;border-radius:9px}.header-icon svg{width:15px;height:15px}.x-link svg{width:13px;height:13px}.mobile-save{padding:4px 8px;height:31px;font-size:17px}.brand{font-size:16px;gap:8px}.brand-orb{width:27px;height:27px}}
