:root {
  color-scheme: light; --ink:#2b2723;--muted:#70665e;--line:#e6dfd7;--paper:#fff;--ground:#faf9f6;
  --action:#ba430d;--action-hover:#9d3508;--orange:#f97316;--soft:#fff0e3;
  font:15px/1.55 Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--ground);
}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}a{color:var(--action);text-decoration:none}
:where(.workspace,.auth,.modal,.drawer) :where(button,.button){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;max-width:100%;padding:8px 14px;line-height:1.35;color:var(--ink);background:white;border:1px solid var(--line);border-radius:9px;cursor:pointer;font-weight:550}
:where(.workspace,.auth,.modal,.drawer) button:hover{border-color:#d39b76}
:where(.workspace,.auth,.modal,.drawer) button:disabled{opacity:.54;cursor:wait}
:where(.workspace,.auth,.modal) button.primary{background:var(--action);color:white;border-color:var(--action)}
:where(.workspace,.auth,.modal) button.primary:hover{background:var(--action-hover)}
:where(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #cc632c;outline-offset:3px}
:where(.workspace,.auth,.modal) :where(input,textarea,select){width:100%;min-width:0;min-height:41px;color:var(--ink);background:white;border:1px solid #d8cec4;border-radius:8px;padding:8px 11px}
:where(.workspace,.auth,.modal) input[type=checkbox]{width:16px;min-height:16px;accent-color:var(--action)}
:where(.workspace,.auth,.modal) label{display:block;margin:12px 0 5px;font-size:14px;color:#564b42}
h1,h2,h3,p{margin:0 0 8px}h1,h2,h3{line-height:1.3}h1{font-size:clamp(26px,3vw,35px)}h2{font-size:21px}h3{font-size:16px}
.muted{color:var(--muted)}.error{color:#9e2c2a;white-space:pre-wrap}.success{color:#23704f}.row,.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.brand{display:inline-flex;align-items:center;gap:10px;font-weight:790;letter-spacing:-1.2px;font-size:26px;line-height:1;color:var(--ink)}
.mark{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px;background:var(--orange);color:#33190c;font-size:23px;font-weight:850}
.workspace{min-height:100vh;display:grid;grid-template-columns:206px minmax(0,1fr)}.workspace-body{min-width:0;display:flex;flex-direction:column}
.rail{background:#fff;border-right:1px solid var(--line);padding:29px 15px 22px;height:100dvh;overflow:auto;position:sticky;top:0;display:flex;flex-direction:column;align-items:stretch;gap:19px}
.rail .wordmark{display:flex;width:fit-content;margin:0 10px 18px}.rail-group{display:grid;gap:3px}.rail-title{font-size:12px;font-weight:650;letter-spacing:.07em;color:#7a7067;margin:0 12px 7px}
.rail .rail-item{display:flex;align-items:center;justify-content:start;gap:12px;min-height:41px;padding:8px 11px;width:100%;font-size:14px;font-weight:520;border:1px solid transparent;border-radius:8px;background:transparent;color:#554c45;line-height:1.35}
.rail .rail-item:hover{background:#f9f5ef}.rail .rail-item.current{background:var(--soft);color:#a03b0a;font-weight:700}
.rail-item svg,.workspace-top svg,.tool-tile svg,.hero-cta svg,.chooser-item svg,.text-link svg,.starter-icon svg,.project-tile svg,.search-box svg,.actions svg,.head button svg,.drawer-close svg,.starter-card>svg,.project-card>svg{width:19px;height:19px;display:block;flex:none}
.workspace-top{display:flex;align-items:center;gap:12px;justify-content:space-between;height:63px;background:white;border-bottom:1px solid var(--line);padding:0 clamp(18px,3.5vw,54px)}
.page-crumb{color:#50473f;font-size:14px;font-weight:650}.identity{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:13px}.avatar{width:29px;height:29px;display:grid;place-items:center;background:#ffe6cf;border:1px solid #f3c6a6;color:#89401a;border-radius:50%}.user-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}
.icon-only{width:36px;height:36px;min-width:36px;min-height:36px!important;padding:0!important;aspect-ratio:1;flex:none;display:inline-grid!important;place-items:center;border-color:transparent!important;background:transparent!important}
.icon-only:hover{background:var(--soft)!important}.icon-only>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.menu-toggle{display:none!important}
.main{width:100%;max-width:1600px;margin:0 auto;padding:clamp(20px,2.8vw,42px) clamp(18px,3.5vw,54px) 48px;flex:1;min-width:0}
.studio-hero{min-height:224px;position:relative;overflow:hidden;isolation:isolate;border:1px solid #efd0b4;border-radius:19px;display:grid;grid-template-columns:1fr 46%;align-items:center;background:radial-gradient(ellipse at 88% 66%,#ffd0a1 0,transparent 55%),linear-gradient(105deg,#fff7ed 2%,#ffecd7 59%,#ffe2be 100%)}
.studio-hero::before{content:"";position:absolute;inset:0;opacity:.34;background-image:radial-gradient(#b68a63 .9px,transparent 1px);background-size:16px 16px;mask-image:linear-gradient(90deg,transparent 12%,black 64%);z-index:-1}
.hero-copy{padding:28px 0 30px clamp(18px,3vw,47px);position:relative;z-index:2}.hero-copy h1{font-size:clamp(29px,3.2vw,48px);font-weight:780;letter-spacing:-.035em;line-height:1.18}.hero-copy p{font-size:clamp(14px,1.3vw,17px);color:#6b5040;margin:13px 0 23px}.hero-cta{min-height:43px!important;padding:10px 16px!important;border-radius:9px!important;box-shadow:0 3px 0 #91320a20}
.studio-art{align-self:stretch;position:relative;min-width:0;min-height:210px;pointer-events:none}.film-slate,.frame-paper,.script-paper{position:absolute;box-shadow:4px 12px 23px #8b4d1e29,0 1px 0 #fff8 inset}
.film-slate{left:31%;top:22%;width:clamp(105px,11.9vw,167px);aspect-ratio:1.28;transform:rotate(-8deg);border-radius:9px;background:linear-gradient(130deg,#302b27,#483d35);color:#fff3d8;border:1px solid #2c231d;padding:28px 12px 7px;z-index:2}
.clapstick{position:absolute;left:-1px;right:-1px;top:-3px;height:21%;border-radius:6px 6px 1px 1px;transform-origin:left bottom;transform:rotate(-9deg);background:repeating-linear-gradient(126deg,#3c352e 0 16px,#ffedcb 16px 29px);border:1px solid #514337;box-shadow:0 2px 4px #0003}
.film-slate b{display:block;font-size:clamp(18px,2.5vw,35px);letter-spacing:-.065em;line-height:1.2}.film-slate span,.paper b{font-size:11px}.slate-lines{height:12px;margin:5px 0;border-top:1px solid #f8d2a6aa;border-bottom:1px solid #f8d2a666;background:linear-gradient(90deg,transparent 54%,#ffe2b366 54%,#ffe2b366 55%,transparent 55%)}
.script-paper{left:5%;top:32%;width:clamp(60px,5.7vw,84px);padding:9px 9px 11px;border:1px solid #f2d5b9;border-radius:7px;background:#fffbf3;transform:rotate(-12deg);color:#8b532c}.paper svg{width:15px;height:15px;display:block;margin-bottom:3px}.paper i{display:block;width:88%;height:3px;background:#e2c6ab;margin-top:4px}.paper i:last-child{width:54%}
.frame-paper{left:66%;top:45%;width:clamp(58px,7vw,106px);aspect-ratio:1.25;border:5px solid #fff9ee;border-bottom-width:11px;background:white;border-radius:8px;transform:rotate(10deg)}
.frame-scene{height:100%;background:radial-gradient(circle at 74% 26%,#ffedc0 0 9%,transparent 10%),linear-gradient(150deg,transparent 54%,#a55023 55% 74%,#813b1f 75%),linear-gradient(32deg,#b96c31 0 35%,transparent 36%),linear-gradient(#eaa36d,#ffdc9f)}
.play{position:absolute;left:48%;top:39%;width:0;height:0;border-left:8px solid white;border-top:5px solid transparent;border-bottom:5px solid transparent;filter:drop-shadow(0 1px 2px #4c2c17)}
.art-wire{position:absolute;width:36%;height:30%;border:1.5px dashed #ce945f;border-radius:15px}.art-wire.one{left:13%;top:52%;border-top:0;border-right:0}.art-wire.two{left:51%;top:35%;border-left:0;border-bottom:0}
.shortcut-section,.collection,.starters{margin-top:26px}.section-title,.head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.section-title{margin-bottom:12px}.section-title h2{margin:0;font-size:20px;letter-spacing:-.02em}.text-link{display:inline-flex;flex-direction:row-reverse;align-items:center;gap:5px;font-size:13px;font-weight:620}.text-link svg{width:15px;height:15px}
.tool-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.tool-row .tool-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#fff;border:1px solid var(--line);padding:14px 6px;color:var(--ink);border-radius:12px;font-size:14px;font-weight:630;min-width:0;text-align:center;min-height:86px}
.tool-tile svg,.starter-icon{box-sizing:content-box;padding:6px;border-radius:8px;background:#fff1e3;color:#b74b18}.tool-tile svg{width:21px;height:21px}.tool-tile:hover,.project-card:hover,.starter-card:hover{border-color:#d99c74!important;background:#fffaf4!important}
.collection-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;flex-wrap:wrap}.filters{display:flex;align-items:center;gap:3px;padding:3px;background:#f0ede8;border-radius:9px;width:fit-content}
.filters button{background:transparent;border:1px solid transparent;min-height:28px;padding:3px 12px;border-radius:6px;color:#6c635b;font-size:13px}.filters button[aria-pressed=true]{background:#fff;border-color:#e3dbd1;box-shadow:0 1px 3px #39200c12;color:#a03b0a}
.main label.search-box{display:flex;align-items:center;gap:7px;max-width:100%;width:190px;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:8px;margin:0;padding:0 9px}.search-box svg{width:15px;height:15px}.search-box input{background:transparent;border:0;min-height:33px;padding:3px 0;font-size:13px}.search-box input:focus-visible{outline:none}.search-box:focus-within{outline:2px solid var(--action);outline-offset:1px}
.recent-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:10px}.project-card,.starter-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px;color:var(--ink);min-width:0;max-width:100%;text-align:left}
.project-card>svg,.starter-card>svg{margin-left:auto;color:#998675;width:15px}.project-tile{width:51px;height:59px;flex:none;border-radius:7px;display:grid;place-items:center;color:#a4461b;background:radial-gradient(#cfa77e .8px,transparent .9px) 0 0/8px 8px,#ffedda;border:1px solid #efd8bd}.project-tile.shop{color:#614938;background:repeating-linear-gradient(-45deg,#e0c5a8 0 2px,#eddbc8 2px 9px);border-color:#ddc4a9}.project-tile svg{box-sizing:content-box;padding:4px;background:#fff5e6;border-radius:5px;width:21px;height:21px}
.project-copy,.starter-copy{min-width:0;display:grid;gap:2px}.project-copy small,.starter-copy small,.project-date{color:var(--muted);font-size:12px;font-weight:450}.project-copy h3{margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:15px;font-weight:680}.list-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:13px}.list-status:not(:empty){margin-top:10px}.load-more:not(:empty){margin-top:14px}
.starter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.starter-grid .starter-card{justify-content:flex-start;line-height:1.5;padding:13px}.starter-icon{padding:9px}.starter-copy strong{font-size:15px}.starter-copy small{font-size:11px}.head{align-items:start;margin-bottom:20px}
.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px}.form-wide{max-width:850px}.model-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.health,.badge{display:inline-flex;background:var(--soft);color:#873809;padding:6px 12px;border-radius:8px}.link-output{padding:12px;background:#f7f3ee;overflow-wrap:anywhere;border-radius:8px}pre,code{white-space:pre-wrap;overflow-wrap:anywhere}
.main table{display:block;overflow-x:auto;max-width:100%;width:fit-content;border-collapse:collapse}.main td,.main th{text-align:left;padding:10px 15px;border-bottom:1px solid var(--line);white-space:nowrap}
.auth{max-width:1050px;min-height:85dvh;margin:auto;padding:55px 25px;display:grid;grid-template-columns:1fr minmax(290px,390px);gap:clamp(24px,6vw,80px);align-items:center}.auth .hero h1{font-size:clamp(31px,4vw,54px);margin:26px 0 14px;letter-spacing:-.035em}.auth .hero p{max-width:460px;color:var(--muted)}.steps{display:flex;gap:7px;flex-wrap:wrap;margin-top:22px}.steps span{padding:4px 10px;border-radius:25px;background:var(--soft);color:#944317;font-size:13px}.auth .card{padding:28px}.auth .primary{width:100%;margin-top:10px}
footer{border-top:1px solid var(--line);padding:16px;text-align:center;color:var(--muted);font-size:11px}
dialog.modal{border:1px solid var(--line);border-radius:16px;width:min(500px,calc(100% - 24px));max-height:88dvh;padding:0;color:var(--ink);background:#fff;box-shadow:0 18px 80px #4a291930}
dialog.modal::backdrop,dialog.drawer::backdrop{background:#382b2380}dialog.modal>section{padding:clamp(17px,3vw,26px)}.modal .actions{justify-content:flex-end;margin-top:15px}.modal textarea{resize:vertical}.chooser-list{max-height:42vh;overflow:auto;margin:10px 0 0;display:grid;gap:4px}.chooser-item{display:flex;align-items:center;gap:9px;padding:10px 7px;border-bottom:1px solid var(--line);color:var(--ink)}.chooser-item>svg:last-child{margin-left:auto}.chooser-item:hover{background:var(--soft)}
dialog.drawer{height:100dvh;max-height:100dvh;width:min(285px,86vw);max-width:none;margin:0 auto 0 0;padding:0;border:0;background:white;color:var(--ink)}dialog.drawer .rail{position:static;height:auto;min-height:100%;border:0}.drawer-close{position:absolute;top:20px;right:12px}.drawer-close svg{color:var(--ink)}
@media(max-width:1050px){.workspace{grid-template-columns:170px minmax(0,1fr)}.rail{padding-inline:10px}.studio-hero{min-height:200px}.studio-art{min-height:185px}.starter-icon{padding:6px}.starter-card{gap:8px}}
@media(max-width:790px){.workspace{display:block}.workspace>.rail{display:none}.menu-toggle{display:inline-grid!important}.workspace-top{height:54px;padding:0 14px;justify-content:flex-start}.main{padding:18px 16px 34px}.studio-hero{grid-template-columns:1fr 40%;min-height:190px}.user-name{max-width:100px}.tool-row{grid-template-columns:repeat(3,minmax(0,1fr))}.tool-row .tool-tile{flex-direction:row;min-height:55px;padding:8px 4px}.tool-tile svg{width:18px;height:18px;padding:4px}.auth{grid-template-columns:1fr;gap:20px;min-height:auto;max-width:510px;padding:28px 18px}.auth .hero h1{margin-top:18px}.model-grid{grid-template-columns:1fr}}
@media(max-width:580px){.studio-hero{grid-template-columns:1fr 34%;min-height:165px;border-radius:13px}.studio-art{min-height:156px}.hero-copy{padding:22px 0 22px 16px}.hero-copy p{margin:8px 0 15px;font-size:12px}.film-slate{left:-3%;width:81px;top:32%;padding:17px 7px 4px}.film-slate b{font-size:19px}.film-slate span{font-size:9px}.slate-lines{margin:0;height:6px}.script-paper,.art-wire.one{display:none}.frame-paper{width:48px;left:46%;top:58%;border-width:3px;border-bottom-width:7px}.starter-grid{grid-template-columns:1fr}.shortcut-section,.collection,.starters{margin-top:21px}.tool-row{gap:6px}.tool-row .tool-tile{font-size:13px;gap:5px}.collection-bar{gap:6px}.main label.search-box{width:min(43%,175px)}.filters button{padding-inline:9px}.auth input,.modal input,.modal textarea,.modal select{font-size:16px}.identity{gap:5px}.recent-grid{grid-template-columns:1fr}.hero-cta{min-height:38px!important}}
@media(max-width:350px){.main{padding-inline:10px}.studio-hero{grid-template-columns:1fr 29%}.tool-row .tool-tile{flex-direction:column}.main label.search-box{width:40%}.studio-art .frame-paper{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}

.project-tile{overflow:hidden}.project-tile img{display:block;width:100%;height:100%;min-width:0;object-fit:cover;}

.merchant-page,.main{min-width:0}
.main h1,.main .head h1{font-size:clamp(20px,1.65vw,24px);line-height:1.28;margin:0 0 5px;letter-spacing:0}
.hero-copy h1,.main .hero-copy h1{font-size:clamp(23px,2.2vw,32px)}
.main h2{font-size:clamp(17px,1.45vw,20px);line-height:1.4}
.merchant-page{width:100%;max-width:1600px}
.merchant-heading,.mt-toolbar,.merchant-actions,.mt-links{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.merchant-heading{justify-content:space-between;margin:0 0 20px}.merchant-heading p{margin:4px 0;font-size:14px}
.merchant-actions{gap:8px}.mt-toolbar{margin:18px 0 12px}.mt-toolbar h2,.merchant-page h2{margin:12px 0}.mt-toolbar>strong{margin-right:auto}
.mt-toolbar input,.mt-toolbar select,.mt-label select{width:auto;max-width:100%;min-width:0}
.mt-toolbar input[type=search]{width:230px}
.main .mt-label,.mt-check{display:inline-flex;align-items:center;gap:8px;min-width:0}.modal .mt-label{display:grid}.modal .mt-label select{width:100%}
.modal label.mt-check{display:flex;align-items:center;gap:10px;margin:10px 0}.modal .mt-check input{width:16px;height:16px}
.mt-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--line,#eaded3);border-radius:10px;background:white}
.main table.mt-table{display:table;width:100%;border:none;max-width:none;overflow:visible;border-collapse:collapse}
.main .mt-table th,.main .mt-table td{text-align:left;padding:11px 15px;vertical-align:middle;font-size:14px;overflow-wrap:anywhere}
.mt-table th{background:#fff6ed;font-weight:650}.mt-table td:last-child{width:auto}.mt-table .empty-cell{color:#74695f;text-align:center;padding:28px 12px}
.merchant-actions button,.merchant-page button,.plain-link,.mt-links a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;line-height:1.3;white-space:nowrap;flex:0 0 auto;width:auto;max-width:100%;padding:7px 12px;border-radius:8px}
.plain-link{color:#a33d05;text-decoration:none;font-size:14px;font-weight:600}.plain-link:hover{background:#fff0e2}
.mt-metrics,.workspace-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr));gap:12px;margin:15px 0}
.mt-metrics>div,.workspace-choice{min-width:0;padding:14px 18px;background:#fff;border:1px solid var(--line,#eaded3);border-radius:12px}
.mt-metrics small,.mt-metrics strong,.workspace-choice strong,.workspace-choice small{display:block}.mt-metrics strong{font-size:22px;margin-top:5px}.mt-metrics small,.workspace-choice small{color:#77685d}
.mt-note,.invite-out{color:#6e5b4b;line-height:1.55}.mt-note{padding:10px 13px;background:#fff4e9;border-radius:8px;font-size:14px}
.mt-links{margin:10px 0}.identity .profile-link{display:inline-flex;align-items:center;gap:7px;text-decoration:none;color:inherit;min-height:36px}
.workspace-choice{text-decoration:none;color:#382a20;display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:10px}
.workspace-choice:hover{border-color:#e27a33;background:#fff8ef}.workspace-choice>svg{width:26px;height:26px;color:#b94808}
.workspace-choice strong{font-size:17px}.workspace-choice small{font-size:13px;margin-top:3px}
.mt-asset-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,220px));gap:12px}.mt-asset-grid a{display:grid;gap:8px;white-space:normal}.mt-asset-grid img{width:100%;aspect-ratio:16/9;object-fit:cover}
.mt-table .merchant-actions{min-width:max-content}.merchant-page button,.merchant-page select,.merchant-page input{font:inherit}.modal [hidden]{display:none!important}
@media(max-width:620px){.mt-toolbar{gap:8px}.mt-toolbar input[type=search]{width:155px}.main h1,.main .head h1{font-size:20px}.merchant-heading{align-items:flex-start}.main .mt-table th,.main .mt-table td{font-size:13px;padding:9px 10px}.mt-table{min-width:460px}.workspace-choices{grid-template-columns:1fr}.mt-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.merchant-page{padding-inline:14px}}
