body{background:#f7f8fa}
#atelier{max-width:none}
#atelier .shop{--paper:#f7f8fa;--edge:#e6e7ec;--ink:#191d28;--a:#1e2330;--on:#fff;--gutter:max(4.5%,calc((100% - 1380px)/2));min-height:100svh;overflow:visible;font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
#atelier .main{padding:clamp(16px,2.1vw,32px) var(--gutter) 32px}
#atelier .top{padding:0 var(--gutter);gap:clamp(14px,2.2vw,36px);min-height:74px}
#atelier .shop .brand{gap:12px;font-size:20px;letter-spacing:.5px;white-space:nowrap}
#atelier .brand-mark{width:30px;height:30px;position:relative;display:block;transform:rotate(-8deg)}
#atelier .brand-mark:before,#atelier .brand-mark:after{content:"";position:absolute;inset:0 3px 3px 0;border-radius:8px 8px 4px 8px;background:var(--ink)}
#atelier .brand-mark:after{inset:10px -2px -2px 10px;background:linear-gradient(135deg,#ffe4a1,#c68b33);border:3px solid white;border-radius:6px}
#atelier .primary{align-self:stretch;display:flex;gap:clamp(18px,2.4vw,36px);margin-left:1.6%;white-space:nowrap}
#atelier .primary a{position:relative;display:flex;align-items:center;color:#646975;font-weight:500}
#atelier .primary a[aria-current],#atelier .primary a:hover{color:var(--ink);font-weight:600}
#atelier .primary a[aria-current]:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;border-radius:4px;background:#c18c3a}
#atelier .find{min-width:0;width:clamp(180px,23vw,340px);height:41px;border-radius:12px;background:#f3f4f7;border:1px solid transparent}
#atelier .find:focus-within{background:white;border-color:#aa813e}
#atelier .find input:focus{outline:0}
#atelier .find kbd{white-space:nowrap;background:white;border:1px solid #dddfe5;color:#707582;font:11px "Segoe UI",sans-serif;padding:2px 5px;border-radius:5px}
#atelier .who .rank-toggle{background:#202431;border:0;color:#fff;border-radius:12px;min-height:41px;justify-content:center;padding:8px 15px}
#atelier .who .rank-toggle>svg:first-child{color:#efcc85}
#atelier #catalog{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:19px 28px;align-items:center;scroll-margin:18px}
#atelier .library-bar{display:contents}
#atelier .library-title{display:flex;align-items:baseline;gap:12px;white-space:nowrap}
#atelier .library-title h2{margin:0;font-size:clamp(21px,2.2vw,28px)}
#atelier .library-title span,#atelier .product-title span{color:#686f7d;font-size:13px}
#atelier .layout-picker{grid-column:3;grid-row:1;display:flex;background:#e9ebef;padding:4px;border-radius:11px}
#atelier .layout-picker button{color:#656c79;border-radius:8px;width:35px;min-height:31px}
#atelier .layout-picker [aria-pressed=true]{background:white;color:#242a38;box-shadow:0 2px 5px #25334b15}
#atelier .categories{grid-column:2;grid-row:1;display:flex;gap:6px;flex-wrap:wrap}
#atelier .categories a{color:#575d6b;font-size:14px;padding:8px 13px;border-radius:10px;max-width:100%}
#atelier .categories a:hover{background:#e9ebef}
#atelier .categories a[aria-current]{background:#222734;color:white}
#atelier .library,#atelier .query{grid-column:1/-1}
#atelier .query a{color:#825614}
#atelier .library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.5vw,22px)}
#atelier .product{background:white;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto 1fr auto;align-items:center;gap:0 14px;padding:clamp(17px,1.8vw,27px);border:1px solid #e4e6ec;border-radius:20px;box-shadow:0 3px 6px #263b5904;transition:transform .2s,box-shadow .2s,border-color .2s}
#atelier .product:hover{transform:translateY(-3px);box-shadow:0 12px 24px -8px #2530481c;border-color:#c9cdd8}
#atelier .product .logo{width:54px;height:54px;border-radius:16px;box-shadow:inset 0 1px 2px #ffffff85,inset 0 -3px 4px #0002,0 5px 10px -4px color-mix(in srgb,var(--b) 50%,transparent)}
#atelier .product .logo svg{width:31px;height:31px;stroke-width:1.8}
#atelier .letter{--t:hsl(var(--tone) 70% 48%);--b:hsl(calc(var(--tone) + 20) 65% 28%);font-size:25px;font-weight:600}
#atelier .product-title h3{margin:0 0 3px;font-size:18px}
#atelier .product-title span,#atelier .product-foot span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
#atelier .more{align-self:start;display:grid;place-items:center;color:#626979;background:#f4f5f8;border-radius:50%;width:28px;height:28px}
#atelier .product:hover .more{color:white;background:#222938}
#atelier .product p{grid-column:1/-1;color:#505664;font-size:14px;line-height:1.65;margin:17px 0;align-self:start}
#atelier .product-foot{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:14px;border-top:1px solid #eff0f3;font-size:12px;color:#676c79}
#atelier .product-foot svg{width:14px;height:14px}
#atelier .product-foot span:first-child svg{vertical-align:-2px;margin-right:6px}
#atelier .product-foot .rule{flex:none;gap:5px;max-width:65%;color:#815816;background:#fbf4e5;border-radius:7px;padding:4px 8px;font-weight:500}
#atelier .product-foot .free{color:#16715d;background:#e8f7f1}
#atelier .library.rows{grid-template-columns:1fr;gap:9px}
#atelier .rows .product{grid-template-columns:auto minmax(100px,1fr) minmax(0,1.5fr) minmax(0,.9fr) auto;padding:15px 20px;grid-template-rows:1fr}
#atelier .rows .product p,#atelier .rows .product-foot{grid-column:auto;margin:0;align-self:center}
#atelier .rows .product-foot{flex-direction:column;border:0;padding:0;align-items:end}
#atelier .rows .product-foot span{max-width:100%}
#atelier .rows .more{grid-column:5;grid-row:1;align-self:center}
#atelier .no-items{grid-column:1/-1;text-align:center;padding:60px 15px;color:#656c79}
#atelier .no-items>svg{width:30px;height:30px}
#atelier .no-items a{color:#865c18}
#atelier :is(.columns,.fields,.editor,.auth,.row,.bar,.product,.product-foot,.primary)>*{min-width:0}
#atelier .box :is(label:not(.check),.fields,.row,.editor),#atelier .editor,#atelier .auth{grid-template-columns:minmax(0,1fr);min-width:0}
#atelier .box .fields{grid-template-columns:repeat(2,minmax(0,1fr))}
#atelier .box :is(input[type=file],textarea){width:100%}
#atelier .box textarea{resize:vertical}
#atelier .cover>div{min-width:0}
#atelier .columns{grid-template-columns:minmax(0,1.75fr) minmax(280px,1fr)}
#atelier .shot{display:block;margin-bottom:12px}
#atelier .dialog-body .box{grid-template-columns:minmax(0,1fr)}
#atelier .rank-menu,#atelier #loginDialog{max-width:calc(100vw - 24px)}
#atelier .record .grow{min-width:120px}
#atelier .rank-menu{max-height:75dvh;overflow:auto}
#atelier .shop footer{margin-top:36px}
@container(max-width:1000px){
 #atelier .shop .brand{font-size:18px}
 #atelier .primary{margin:0;gap:18px}
 #atelier .find kbd{display:none}
 #atelier .library:not(.rows){grid-template-columns:repeat(2,minmax(0,1fr))}
 #atelier #catalog{gap:14px}
 #atelier .categories a{gap:6px;padding:8px 10px}
}
@container(max-width:850px){
 #atelier .top{flex-wrap:wrap;gap:12px;min-height:66px;padding-block:12px}
 .view-home #atelier .top{padding-bottom:0}
 #atelier .primary{order:4;width:100%;height:41px;gap:26px}
 #atelier .find{order:0;width:34%}
 #atelier .find+.who{margin-left:0}
 #atelier .columns{grid-template-columns:minmax(0,1fr)}
 #atelier .categories{grid-column:1/-1;grid-row:2}
 #atelier .categories a:not([aria-current]){background:#eceef3}
 #atelier .product .logo{width:46px;height:46px;border-radius:13px}
 #atelier .product .logo svg{width:27px;height:27px}
 #atelier .rows .product{grid-template-columns:auto minmax(0,1fr) auto;gap:6px 12px}
 #atelier .rows .more{grid-column:3}
 #atelier .rows .product p{grid-area:2/2/3/4}
 #atelier .rows .product-foot{grid-area:3/2/4/4;flex-direction:row;align-items:center;flex-wrap:wrap}
 #atelier .rows .product-title h3{font-size:16px}
 #atelier .box .fields{grid-template-columns:minmax(0,1fr)}
}
@container(max-width:640px){
 #atelier .find{order:3;width:100%}
 #atelier .find+.who{margin-left:auto}
 #atelier .find input{font-size:16px}
 #atelier .primary{height:36px;justify-content:space-between;gap:0}
 #atelier .primary a{flex:1;justify-content:center;padding-bottom:6px}
 #atelier .primary a[aria-current]:after{inset-inline:27%}
 #atelier .shop .brand{font-size:17px;gap:8px}
 #atelier .who .rank-toggle{font-size:13px;min-width:0;padding:8px 11px}
 #atelier .library:not(.rows){grid-template-columns:minmax(0,1fr)}
 #atelier .product p{margin:12px 0}
 #atelier .rows .product{padding:12px}
 #atelier .rows .product p{margin:0;-webkit-line-clamp:1}
 #atelier .rows .product-foot span:first-child{display:none}
 #atelier .product-foot{padding-top:11px}
 #atelier .categories{flex-wrap:nowrap;overflow:auto;scrollbar-width:none;margin-right:-4.5vw;padding-right:4.5vw}
 #atelier .categories a{flex:none;min-height:40px;font-size:13px}
 #atelier .shop nav.manage{display:flex;gap:6px;flex-wrap:wrap}
 #atelier .manage a{font-size:13px;padding:10px 9px}
 #atelier .box .row>select,#atelier .box .row>input:not([type=hidden]){flex:1 0 100%;width:100%}
 #atelier .record:has(select) .grow{flex:1 0 100%}
 #atelier .record select{flex:1 1 100px!important;width:auto!important}
 #atelier :is(.bar,.box) h1{font-size:22px}
 #atelier .bar .pill{font-size:13px;padding:9px 10px}
 #atelier .box :is(input:not([type=checkbox]),select,textarea){font-size:16px}
 #atelier .spec span{max-width:62%}
 #atelier .detail .steps button{flex:auto}
}
@media(pointer:coarse){#atelier .layout-picker button{width:42px;min-height:40px}}
@media(prefers-reduced-motion:reduce){#atelier .product,#atelier button{transition:none}}
@container(max-width:640px){
 #atelier .categories{margin:0;padding:0;overflow:visible;flex-wrap:wrap;gap:6px}
 #atelier .categories a{flex:1 0 auto;justify-content:center;padding:8px 6px}
}
@container(max-width:425px){#atelier .categories svg{display:none}}
#atelier .categories a,#atelier .product-foot span{display:inline-flex;align-items:center;gap:8px}
#atelier .product-title h3,#atelier .product p,#atelier .spot-copy :is(h2,p){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#atelier .highlights{margin-bottom:clamp(24px,3vw,44px)}
#atelier .high-head,#atelier .high-head :is(h1,a){display:flex;align-items:center;gap:9px}
#atelier .high-head{margin-bottom:16px}
#atelier .high-head h1{margin:0;font-size:clamp(21px,2.2vw,28px)}
#atelier .high-head h1 svg{width:25px;height:28px;color:#cf5626;fill:#ffca73}
#atelier .high-head span{font-size:12px;color:#676c78}
#atelier .high-head a{margin-left:auto;font-size:13px;color:#4e5564}
#atelier .spotlights{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:clamp(12px,1.5vw,22px)}
#atelier .spot{--base:#672136;--mid:#c44742;--glow:#ffb979;position:relative;isolation:isolate;display:flex;align-items:end;overflow:hidden;border-radius:22px;padding:clamp(18px,2vw,30px);padding-top:128px;min-height:clamp(236px,20vw,285px);color:white;background:radial-gradient(ellipse at 82% 5%,var(--glow),transparent 64%),linear-gradient(32deg,var(--base),var(--mid) 68%,var(--glow));box-shadow:0 12px 24px -18px var(--base)}
#atelier .spot:nth-child(2){--base:#272157;--mid:#5750bc;--glow:#8cbaff}
#atelier .spot:nth-child(3){--base:#0c3c48;--mid:#157b78;--glow:#90e3b8}
#atelier .spot:before{content:"";position:absolute;z-index:-2;inset:-80% -40% 12% 5%;border-radius:50%;border:1px solid #ffffff38;box-shadow:0 0 0 26px #ffffff0c,0 0 0 54px #ffffff0b,0 0 0 84px #ffffff08;transform:rotate(-25deg)}
#atelier .spot:after{content:"";position:absolute;z-index:-1;inset:40% 0 0;background:linear-gradient(transparent,var(--base));opacity:.65}
#atelier .spot-copy{min-width:0}
#atelier .spot-copy h2{font-size:clamp(22px,2.25vw,32px);margin:0 0 5px;line-height:1.25;letter-spacing:.02em}
#atelier .spot-copy p{margin:0;color:#fffffff2;font-size:14px}
#atelier .genre{position:absolute;left:clamp(18px,2vw,30px);top:24px;font-size:12px;letter-spacing:1px;white-space:nowrap;max-width:35%;overflow:hidden;text-overflow:ellipsis;background:#14152130;border:1px solid #ffffff48;border-radius:8px;padding:4px 9px}
#atelier .spot-go{margin-left:auto;flex:none;padding-left:6px}
#atelier .spot-go svg{width:22px;height:22px}
#atelier .spot-scene{position:absolute;z-index:-1;right:4%;top:4%;width:54%;height:53%;display:grid;place-items:center;transition:transform .25s}
#atelier .spot:hover .spot-scene{transform:translateY(-3px) scale(1.04)}
#atelier .spot-scene img{position:absolute;max-width:94%;max-height:93%;border-radius:7px;transform:rotate(-5deg);box-shadow:0 8px 16px #11182740}
#atelier .spot-scene .logo{width:84px;height:84px;border-radius:23px;transform:rotate(9deg);font-size:36px;box-shadow:inset 0 2px 3px #fff6,0 14px 22px #14182740}
#atelier .spot-scene .logo svg{width:45px;height:45px}
#atelier .paper-stack{position:relative;width:78px;height:96px;transform:rotate(12deg);border-radius:9px;background:#fcae99;box-shadow:0 15px 20px #6f142451}
#atelier .paper-stack i{position:absolute;inset:0;border-radius:9px;transform:rotate(-15deg) translateX(-9px);background:#ffe5cd;box-shadow:1px 4px 8px #92273435}
#atelier .paper-stack i+i{transform:rotate(-25deg) translate(-15px,-3px);background:linear-gradient(140deg,#fff,#ffefe5)}
#atelier .paper-stack i+i:before{content:"";position:absolute;inset:18px 13px 0;height:4px;border-radius:4px;background:#d9b5aa;box-shadow:0 10px #e7cdc3,0 20px #e7cdc3}
#atelier .paper-stack b{position:absolute;bottom:8px;left:-21px;background:linear-gradient(#ff6152,#c52436);padding:4px 12px;border-radius:6px;box-shadow:0 4px 8px #b1363c50;transform:rotate(-25deg);letter-spacing:1px}
#atelier .player{position:relative;display:grid;place-items:center;transform:rotate(-10deg);width:134px;height:86px;border-radius:13px;border:2px solid #ffffffbb;background:radial-gradient(ellipse at 90% 110%,#ff99de,transparent 65%),linear-gradient(135deg,#29256b,#6d62f3);box-shadow:7px 9px 0 #c1b9ff90,4px 17px 24px #251a6747}
#atelier .player span{position:absolute;top:6px;left:8px;font:700 10px Arial;color:#ffbabe}
#atelier .player svg{width:30px;height:30px;fill:white}
#atelier .player i{position:absolute;inset:auto 12px 10px;height:3px;background:linear-gradient(90deg,#fff 42%,#ffffff4d 42%);border-radius:4px}
#atelier .player i:after{content:"";position:absolute;left:40%;top:-2px;border-radius:50%;width:7px;height:7px;background:white}
#atelier .folder-art{position:relative;transform:rotate(9deg);width:110px;height:76px;background:#299396;border-radius:12px;box-shadow:0 14px 22px #01394454}
#atelier .folder-art:before{content:"";position:absolute;inset:-10px 9px 4px;transform:rotate(-6deg);background:#fff9df;border-radius:7px;box-shadow:5px -5px #b8f6e8}
#atelier .folder-art i{position:absolute;inset:6px 0 0;border-top:2px solid #c5fff4;border-radius:10px;background:linear-gradient(145deg,#83f5d9,#17aaae);transform:skew(-5deg)}
#atelier .folder-art i:before{content:"";position:absolute;top:-9px;width:46px;height:15px;background:#80f0d6;border-radius:8px 10px 0 0}
#atelier .folder-art b{display:grid;place-items:center;position:absolute;right:-9px;bottom:-8px;background:#f5fff8;color:#12896f;border-radius:50%;width:40px;height:40px;box-shadow:0 6px 11px #12654e40}
#atelier .folder-art svg{width:24px;height:24px;stroke-width:3}
#atelier .spot:only-child{padding-top:85px;min-height:205px}
#atelier .spot:only-child .spot-copy{max-width:50%}
#atelier .spot:only-child .spot-scene{top:8%;height:84%;width:40%}
@container(max-width:1000px){
 #atelier .spot-scene>div{scale:.8}
 #atelier .spot-go{display:none}
 #atelier .genre{top:17px;padding:3px 6px;letter-spacing:0}
}
@container(max-width:760px){
 #atelier .spotlights{grid-auto-flow:row;gap:10px}
 #atelier .spot,#atelier .spot:only-child{min-height:114px;align-items:center;padding:15px 17px;border-radius:16px}
 #atelier .spot .spot-copy,#atelier .spot:only-child .spot-copy{width:62%;max-width:62%}
 #atelier .spot .spot-scene,#atelier .spot:only-child .spot-scene{width:36%;right:1%;height:92%;top:4%;display:flex;align-items:center;justify-content:center}
 #atelier .spot-scene>div,#atelier .spot-scene .logo{flex:none;scale:.68}
 #atelier .spot:after{inset:0;background:linear-gradient(90deg,var(--base),transparent 76%)}
 #atelier .genre{position:static;max-width:100%;border:none;background:none;padding:0;color:#ffebce}
 #atelier .spot-copy h2{font-size:20px;margin:4px 0}
 #atelier .spot-copy p{font-size:12px}
 #atelier .high-head{margin-bottom:10px}
}
@media(prefers-reduced-motion:reduce){#atelier .spot-scene{transition:none}}
@container(min-width:761px){#atelier .spot:not(:only-child) .spot-scene{top:10px;height:114px}#atelier .spot:not(:only-child){padding-top:148px}}
