:root{--paper:#faf7f0;--white:#fffdf8;--ink:#332b25;--muted:#756759;--line:#dcd2c4;--primary:#a44730;--primary-dark:#833620;--soft:#f0e5d6;--green:#4d6450;--error:#a12525;--shadow:0 8px 24px #442b1710}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.65}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bc754b;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:36px;line-height:1.35;letter-spacing:-.8px}h2{font-size:24px;line-height:1.4}h3{font-size:17px}small{font-size:12px}svg{display:block}img{max-width:100%}input,select,textarea{width:100%;min-height:42px;padding:9px 11px;border:1px solid #c6b9a8;border-radius:3px;background:#fffefb;color:var(--ink)}textarea{min-height:90px;resize:vertical}input[type=checkbox],input[type=radio]{width:16px;min-height:16px;accent-color:var(--primary)}input[type=color]{width:48px;height:40px;padding:3px}input[type=range]{padding:0;accent-color:var(--primary)}label{display:block;font-weight:600;margin-bottom:7px}.field{margin-bottom:18px}.field small,.help{display:block;color:var(--muted);font-size:12px;margin-top:6px;font-weight:400}.muted{color:var(--muted)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 18px;min-height:42px;border:1px solid var(--primary);border-radius:3px;background:var(--primary);color:#fffdf7;font-weight:600;line-height:1.4;white-space:nowrap}.btn:hover{background:var(--primary-dark);border-color:var(--primary-dark)}.btn.secondary{background:var(--white);border-color:#c7b8a4;color:var(--ink)}.btn.secondary:hover{background:var(--soft)}.btn.ghost{background:transparent;color:var(--primary);border-color:transparent}.btn.danger{background:#a12525;border-color:#a12525}.btn.small{padding:6px 11px;min-height:32px;font-size:12px}.btn.full{width:100%}.icon-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:3px;background:var(--white);min-width:34px;min-height:34px;color:var(--ink)}.icon{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.site-header{height:78px;border-bottom:1px solid var(--line);background:var(--white)}.header-inner{max-width:1240px;height:100%;padding:0 32px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;gap:11px;align-items:center;font-size:22px;font-weight:750;letter-spacing:1px;white-space:nowrap}.brand small{font-weight:400;letter-spacing:0;color:var(--muted);border-left:1px solid var(--line);padding-left:14px;margin-left:2px;font-size:12px}.brand-mark{display:grid;grid-template-columns:repeat(2,9px);gap:3px;padding:9px;background:var(--primary);border-radius:3px}.brand-mark i{width:9px;height:9px;position:relative}.brand-mark i:before,.brand-mark i:after{content:"";position:absolute;width:12px;height:1.5px;top:4px;left:-1px;background:var(--white);transform:rotate(45deg)}.brand-mark i:after{transform:rotate(-45deg)}nav{display:flex;gap:27px;align-items:center}nav a{font-size:14px;font-weight:500;padding:24px 0;border-bottom:2px solid transparent}nav a.active{border-bottom-color:var(--primary);color:var(--primary)}nav .nav-account{padding:7px 13px;background:var(--soft);border:1px solid var(--line);border-radius:3px}.mobile-menu{display:none}.page{max-width:1200px;padding:42px 32px 72px;margin:auto;min-height:calc(100vh - 184px)}.eyebrow{display:flex;align-items:center;gap:9px;font-size:12px;letter-spacing:2px;color:var(--primary);font-weight:700;margin-bottom:18px}.eyebrow:before{content:"";width:25px;height:1px;background:var(--primary)}.hero{display:grid;grid-template-columns:1.04fr 1fr;gap:70px;align-items:center;padding:14px 0 44px}.hero h1{font-size:46px;line-height:1.4;letter-spacing:-1.4px;margin-bottom:21px}.hero h1 em{font-style:normal;color:var(--primary)}.hero .intro{font-size:15px;line-height:1.95;color:#69594a;max-width:460px}.hero-facts{display:flex;gap:22px;margin-top:29px;font-size:12px;color:#5e5145}.hero-facts span{display:flex;align-items:center;gap:6px}.hero-facts .icon{width:15px;height:15px}.hero-art{position:relative;padding:20px 24px 18px;background:#eee4d4;border:1px solid #d3c3ae}.art-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;font-size:11px;letter-spacing:1px;color:#6d5b46}.art-board{background:#fffdf7;padding:20px;display:flex;justify-content:center;border:1px solid #d9cbb9;box-shadow:4px 5px 0 #d9cbb9}.art-board canvas{display:block;width:100%;max-width:300px;aspect-ratio:1;image-rendering:pixelated}.art-caption{margin-top:16px;display:flex;justify-content:space-between;font-size:11px;letter-spacing:.5px}.art-tag{position:absolute;left:-26px;bottom:45px;background:var(--white);border:1px solid var(--line);padding:12px 17px;box-shadow:var(--shadow);font-size:12px;transform:rotate(-3deg)}.art-tag strong{display:block;font-size:18px;color:var(--primary);margin-bottom:1px}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px;gap:16px}.section-head p{color:var(--muted);margin-top:6px}.section-index{font-size:12px;color:var(--primary);letter-spacing:1px;display:block;margin-bottom:5px}.studio{background:var(--white);border:1px solid var(--line);box-shadow:var(--shadow)}.studio-tabs{display:flex;border-bottom:1px solid var(--line);background:#f2ebdf}.studio-tabs button{display:flex;align-items:center;justify-content:center;gap:9px;width:50%;padding:17px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);font-size:16px;font-weight:600}.studio-tabs button.active{background:var(--white);color:var(--primary);border-bottom-color:var(--primary)}.studio-body{display:grid;grid-template-columns:1.08fr 1fr;gap:34px;padding:30px}.upload-area{display:flex;position:relative;min-height:300px;align-items:center;justify-content:center;text-align:center;flex-direction:column;border:1px dashed #b3a28a;background:#f8f4ec;padding:25px;cursor:pointer;overflow:hidden}.upload-area.drag{background:#eee0cc;border-color:var(--primary)}.upload-area input{position:absolute;inset:0;opacity:0;cursor:pointer}.upload-area .upload-symbol{width:48px;height:48px;border:1px solid #cabcaa;display:flex;align-items:center;justify-content:center;margin-bottom:18px;background:var(--white)}.upload-area .upload-symbol .icon{width:24px;height:24px}.upload-area strong{font-size:17px;margin-bottom:6px}.upload-area p{color:var(--muted);font-size:13px}.upload-area small{display:block;color:var(--muted);margin-top:25px;font-size:11px}.upload-area img{max-height:230px;object-fit:contain}.upload-filename{display:flex;align-items:center;justify-content:space-between;margin-top:10px;color:var(--muted);font-size:12px;gap:10px}.upload-tips{margin-top:19px;display:flex;gap:11px;color:#695b4c;font-size:12px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-row.three{grid-template-columns:1fr 1fr 1fr}.inline-check{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:400;margin:0 0 16px}.dimension-note{padding:10px 13px;background:#f4eee3;font-size:12px;color:#65513f;margin:0 0 17px}.submit-note{margin:10px 0 0;text-align:center;color:var(--muted);font-size:11px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;padding:45px 0 10px}.step{display:flex;gap:15px}.step-num{font-size:29px;line-height:1.3;color:#b19270;letter-spacing:-1px}.step h3{font-size:14px;margin:2px 0 6px}.step p{font-size:12px;color:var(--muted)}.notice{background:#eee5d7;border-left:3px solid #aa7851;padding:13px 18px;color:#5b4938;font-size:13px;margin-top:28px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:30px;gap:20px}.page-heading h1{font-size:30px}.page-heading p{color:var(--muted);margin-top:8px}.card{background:var(--white);border:1px solid var(--line);padding:25px;border-radius:3px}.card+.card{margin-top:22px}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.toolbar input{max-width:260px}.filter-tabs{display:flex;gap:4px;margin-bottom:25px;border-bottom:1px solid var(--line)}.filter-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;padding:11px 20px;color:var(--muted)}.filter-tabs button.active{color:var(--primary);border-color:var(--primary);font-weight:700}.pattern-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.pattern-card{background:var(--white);border:1px solid var(--line);overflow:hidden;border-radius:3px}.pattern-thumb{height:200px;background:#eee7dc;display:flex;align-items:center;justify-content:center;overflow:hidden}.pattern-thumb img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated;padding:14px}.pattern-info{padding:15px}.pattern-info h3{font-size:14px;margin:8px 0 5px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.pattern-info p{font-size:11px;color:var(--muted)}.pattern-actions{display:flex;justify-content:space-between;align-items:center;margin-top:13px}.badge{display:inline-flex;align-items:center;gap:5px;padding:2px 7px;border:1px solid #cbbba6;background:#f4ece0;font-size:10px;color:#765436;border-radius:2px;white-space:nowrap}.badge.green{color:#3c5942;border-color:#bbc9b8;background:#ecf0e7}.badge.red{color:#972e25;border-color:#dfb6af;background:#f8e7e1}.progress{height:5px;background:#dfd4c4;width:100%;overflow:hidden;border-radius:2px}.progress i{height:100%;display:block;background:var(--primary)}.progress-box{width:78%;text-align:center}.progress-box p{margin-bottom:12px;font-size:12px;color:var(--muted)}.empty{text-align:center;padding:70px 25px;border:1px dashed var(--line);color:var(--muted);background:var(--white)}.empty h2{font-size:20px;color:var(--ink);margin-bottom:10px}.empty .btn{margin-top:22px}.pagination{display:flex;gap:15px;justify-content:center;align-items:center;padding:28px 0;font-size:12px}.loading{display:flex;align-items:center;justify-content:center;min-height:400px;color:var(--muted)}.error-text{color:var(--error);font-size:13px;margin:12px 0}.auth-wrap{display:grid;grid-template-columns:1fr 1fr;max-width:880px;margin:25px auto;min-height:500px;border:1px solid var(--line);background:var(--white)}.auth-story{background:#e9dfcd;padding:44px 34px;display:flex;flex-direction:column;justify-content:space-between}.auth-story h2{font-size:31px;line-height:1.55;margin:16px 0}.auth-story p{color:#675540;font-size:13px}.auth-story canvas{width:180px;height:180px;image-rendering:pixelated;margin:20px auto}.auth-form{padding:36px}.auth-form h1{font-size:24px;margin-bottom:20px}.auth-form .filter-tabs{margin-bottom:22px}.auth-form .filter-tabs button{flex:1;padding:9px 0;font-size:12px}.code-row{display:flex;gap:8px}.code-row input{min-width:0}.code-row .btn{padding:8px 11px;font-size:12px}.auth-links{margin-top:20px;color:var(--muted);font-size:12px;display:flex;justify-content:space-between;align-items:center}.auth-links a{color:var(--primary)}.auth-social{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.profile-layout{display:grid;grid-template-columns:310px 1fr;gap:26px;align-items:start}.profile-card{text-align:center}.avatar{background:#e3cfb6;color:#6f4029;width:64px;height:64px;border-radius:3px;display:flex;align-items:center;justify-content:center;font-size:26px;margin:0 auto 14px}.profile-card h2{font-size:19px}.profile-card .account-id{font-size:12px;color:var(--muted);margin:5px 0 15px;overflow-wrap:anywhere}.balance-box{margin:20px 0;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.balance-box strong{font-size:32px;display:block;line-height:1.5}.balance-box span{color:var(--muted);font-size:12px}.profile-card .toolbar{justify-content:center}.table-wrap{width:100%;overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th,td{padding:13px 11px;border-bottom:1px solid var(--line);vertical-align:middle}th{background:#f1e9dd;color:#675540;font-weight:600;white-space:nowrap}td{color:#4c3d30}td .btn+.btn{margin-left:5px}td img{width:64px;height:64px;object-fit:contain;image-rendering:pixelated;background:#eee6d9}.money-positive{color:#376046}.money-negative{color:#a44730}.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:35px}.plan{padding:30px;background:var(--white);border:1px solid var(--line);border-top:3px solid var(--primary)}.plan h2{font-size:21px}.plan-price{font-size:40px;font-weight:700;letter-spacing:-1px;margin:20px 0 2px}.plan-price small{font-size:15px;font-weight:400;letter-spacing:0}.plan p{font-size:12px;color:var(--muted);min-height:44px;margin:15px 0 24px}.plan .duration{color:var(--primary);font-size:12px}.feature-note{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:35px;border-top:1px solid var(--line);padding-top:30px}.feature-note h3{font-size:14px;margin-bottom:5px}.feature-note p{color:var(--muted);font-size:12px}.site-footer{border-top:1px solid var(--line);background:#f0e8da}.footer-inner{max-width:1200px;padding:24px 32px;margin:auto;display:flex;align-items:center;gap:25px;font-size:11px;color:#6f5e4b}.footer-brand{font-size:16px;color:#514030}.footer-inner>a:last-child{margin-left:auto}#toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);background:#3c3026;color:#fffdf8;padding:12px 22px;border-radius:3px;box-shadow:var(--shadow);z-index:100;max-width:90vw;display:none;font-size:13px}#toast.show{display:block}.modal-overlay{position:fixed;inset:0;background:#21180f80;z-index:90;display:flex;align-items:center;justify-content:center;padding:22px}.modal{width:480px;max-width:100%;max-height:90vh;overflow:auto;background:var(--white);border:1px solid var(--line);border-radius:4px;padding:28px;box-shadow:0 20px 70px #0003}.modal.wide{width:700px}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.modal-head h2{font-size:21px}.modal .toolbar{justify-content:flex-end;margin-top:20px}.modal .payment-qr{display:block;max-width:240px;max-height:280px;margin:20px auto}.payment-summary{background:var(--soft);padding:17px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center}.payment-summary strong{font-size:24px}.radio-options{display:flex;gap:20px;margin:15px 0}.radio-options label{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:400}.payment-order{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.processing-card{max-width:660px;margin:55px auto;padding:45px;text-align:center}.processing-card h1{font-size:25px;margin:20px 0 10px}.processing-card .progress{margin:28px 0 15px}.processing-card .percent{font-size:48px;color:var(--primary);line-height:1.2}.processing-card .icon{width:36px;height:36px;margin:auto}.editor-page{max-width:1600px;padding:25px 28px 45px}.editor-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:20px}.editor-heading h1{font-size:21px}.editor-heading p{font-size:12px;color:var(--muted);margin-top:5px}.editor-heading .back{color:var(--muted);font-size:12px;display:block;margin-bottom:8px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px;align-items:start}.editor-main{border:1px solid var(--line);background:var(--white);min-width:0}.editor-toolbar{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--line);gap:15px;flex-wrap:wrap}.editor-toolbar .toolbar{gap:6px}.tool-btn{border:1px solid #c9bba7;background:#fffdf8;color:var(--ink);padding:6px 10px;min-height:33px;font-size:12px;border-radius:3px}.tool-btn.active{background:#ead8c6;border-color:#9d6d47;color:#6e3924}.canvas-viewport{width:100%;height:620px;overflow:auto;background:#e9e2d7;overscroll-behavior:contain;position:relative}.canvas-viewport canvas{display:block;touch-action:none;cursor:crosshair;background:#fffdf7}.canvas-status{display:flex;justify-content:space-between;gap:10px;padding:9px 14px;font-size:11px;color:#71604e;border-top:1px solid var(--line)}.editor-side .card{padding:19px}.editor-side h3{font-size:14px;margin-bottom:10px}.editor-side .field{margin-bottom:12px}.editor-side .help{line-height:1.8}.selection-count{background:#f2e7d7;padding:10px 12px;margin-bottom:13px;font-size:12px}.palette-list{display:flex;flex-direction:column;gap:5px;max-height:355px;overflow:auto}.palette-item{display:flex;align-items:center;gap:9px;padding:7px;border:1px solid var(--line);border-radius:2px;cursor:pointer;background:var(--white);text-align:left;width:100%}.palette-item.active{border-color:var(--primary);background:#f6eade}.palette-swatch{width:27px;height:27px;border:1px solid #0002;display:flex;align-items:center;justify-content:center;font-size:11px;flex-shrink:0}.palette-item .palette-label{font-size:11px;line-height:1.4;min-width:0;flex:1}.palette-label b{font-weight:600;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.palette-item small{font-size:10px;color:var(--muted)}.editor-legend{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);margin-bottom:12px}.editor-side .custom-color{display:flex;gap:8px;align-items:center;margin-top:12px}.editor-side .custom-color input[type=color]{flex-shrink:0}.editor-side .custom-color .btn{flex:1;font-size:11px;padding:7px}.zoom-label{font-size:11px;min-width:46px;text-align:center}.admin-page{max-width:1440px;display:grid;grid-template-columns:185px 1fr;gap:30px;padding-top:30px}.admin-nav{padding:18px 0;border-right:1px solid var(--line);min-height:650px}.admin-nav h2{font-size:17px;padding:0 15px 18px}.admin-nav a{display:flex;align-items:center;gap:10px;padding:11px 15px;color:var(--muted);border-left:3px solid transparent;margin-bottom:5px}.admin-nav a.active{background:#ece0cf;color:var(--primary);border-left-color:var(--primary);font-weight:600}.admin-content{min-width:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:24px}.stat{border:1px solid var(--line);background:var(--white);padding:20px}.stat span{color:var(--muted);font-size:12px}.stat strong{display:block;font-size:29px;margin-top:6px;line-height:1.3}.stat small{color:var(--green);font-size:11px}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px}.dashboard-grid .card+.card{margin:0}.bar-chart{display:flex;gap:8px;align-items:flex-end;height:150px;padding-top:20px;border-bottom:1px solid var(--line);margin-top:18px}.bar-column{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;flex:1;height:100%;min-width:0}.bar-column i{display:block;background:#ac7350;width:100%;max-width:22px;min-height:2px}.bar-column span{font-size:9px;color:var(--muted);margin-top:5px}.bar-column b{font-size:10px;font-weight:400}.worker-row{padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.worker-row:last-child{border:0}.worker-row .top{display:flex;justify-content:space-between;gap:10px;margin-bottom:6px}.worker-row code{font-size:10px;overflow-wrap:anywhere}.thread-slots{display:flex;gap:5px;margin-top:8px;flex-wrap:wrap}.thread-slot{background:#e5e8dd;border:1px solid #aeba9e;color:#3e5433;padding:3px 7px;font-size:10px}.thread-slot.busy{background:#efe0ca;border-color:#b89566;color:#7b512e}.settings-tabs{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:24px;border-bottom:1px solid var(--line)}.settings-tabs a{padding:9px 17px;border-bottom:2px solid transparent;color:var(--muted);font-size:13px}.settings-tabs a.active{border-color:var(--primary);color:var(--primary);font-weight:600}.settings-form{max-width:760px}.settings-form h3{padding-bottom:14px;margin-bottom:18px;border-bottom:1px solid var(--line)}.settings-form .inline-check{font-size:13px;margin:15px 0}.settings-form .note{font-size:12px;color:var(--muted);margin-bottom:20px}.setting-group{margin-bottom:26px;padding-bottom:13px;border-bottom:1px solid var(--line)}.tiny{font-size:11px}.nowrap{white-space:nowrap}.break{overflow-wrap:anywhere;max-width:230px}.back-link{color:var(--muted);font-size:12px}.split-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:18px}
@media(min-width:1600px){.canvas-viewport{height:700px}}
@media(max-width:1100px){.brand small{display:none}.hero{gap:40px}.hero h1{font-size:39px}.pattern-grid{grid-template-columns:repeat(3,1fr)}.editor-layout{grid-template-columns:minmax(0,1fr) 260px}.admin-page{gap:20px;grid-template-columns:155px 1fr}.stats{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.plans{gap:16px}.plan{padding:24px}}
@media(max-width:800px){.page{padding:28px 22px 45px}.header-inner{padding:0 22px}.site-header{height:68px}nav{gap:18px}nav a{font-size:12px;padding:21px 0}.brand{font-size:20px}.hero{gap:30px;padding-top:5px}.hero h1{font-size:32px}.hero .intro{font-size:13px}.hero-facts{gap:10px;flex-wrap:wrap;margin-top:18px}.hero-art{padding:13px}.art-board{padding:12px}.art-tag{left:-12px;padding:9px;bottom:25px}.art-tag strong{font-size:14px}.art-caption{font-size:9px}.studio-body{gap:23px;padding:22px}.upload-area{min-height:310px;padding:15px}.form-row{gap:10px}.steps{gap:22px}.step{gap:9px}.step-num{font-size:24px}.profile-layout{grid-template-columns:260px 1fr;gap:18px}.editor-heading{align-items:flex-start}.editor-heading .toolbar{justify-content:flex-end}.editor-page{padding:20px 16px}.canvas-viewport{height:550px}.editor-layout{grid-template-columns:minmax(0,1fr) 230px}.editor-side .card{padding:13px}.admin-page{grid-template-columns:1fr;gap:15px}.admin-nav{display:flex;min-height:0;border-right:0;border-bottom:1px solid var(--line);padding:0;gap:8px;overflow:auto}.admin-nav h2{display:none}.admin-nav a{font-size:12px;white-space:nowrap;padding:10px;border-left:0;border-bottom:2px solid transparent}.admin-nav a.active{border-bottom-color:var(--primary)}.admin-nav .icon{display:none}.plans{grid-template-columns:repeat(2,1fr)}.auth-story{padding:30px 23px}.auth-form{padding:30px 25px}.footer-inner{padding:22px;gap:15px}.footer-inner>span{font-size:10px}}
@media(max-width:600px){h1{font-size:29px}.page{padding:25px 17px 40px}.header-inner{padding:0 17px;gap:10px}.brand{font-size:19px}.brand-mark{padding:7px}.mobile-menu{display:flex}.site-header nav{display:none;position:absolute;top:68px;left:0;right:0;background:var(--white);z-index:30;border-bottom:1px solid var(--line);padding:15px 22px;flex-wrap:wrap;gap:18px}.site-header nav.open{display:flex}nav a{padding:9px 0}.hero{grid-template-columns:1fr;padding-bottom:32px;gap:28px}.hero h1{font-size:35px;margin-bottom:16px}.hero .intro{max-width:100%;font-size:14px}.hero-art{margin:0 8px 0 16px;padding:17px 22px}.art-board canvas{max-width:220px}.art-tag{left:-17px;bottom:30px}.hero-facts{gap:20px;margin-top:20px}.section-head h2{font-size:22px}.section-head p{font-size:12px}.section-head>.muted{display:none}.studio-tabs button{font-size:14px;padding:14px 8px}.studio-body{grid-template-columns:1fr;gap:25px;padding:18px}.upload-area{min-height:220px}.upload-area small{margin-top:14px}.upload-area .upload-symbol{margin-bottom:13px}.upload-tips{margin-top:14px}.steps{grid-template-columns:1fr;gap:23px;padding:30px 0 0}.step{gap:16px}.step p{font-size:12px}.step-num{min-width:33px}.notice{font-size:12px}.page-heading{align-items:flex-start;gap:12px;margin-bottom:24px}.page-heading h1{font-size:25px}.page-heading p{font-size:12px}.page-heading>.btn{font-size:12px;padding:9px 11px}.pattern-grid{grid-template-columns:repeat(2,1fr);gap:12px}.pattern-thumb{height:160px}.pattern-info{padding:11px}.pattern-info h3{font-size:12px}.pattern-info p{font-size:10px}.pattern-actions .btn{font-size:10px;padding:5px 8px}.pattern-actions{gap:4px}.filter-tabs button{padding:10px 14px;font-size:12px}.profile-layout{grid-template-columns:1fr}.card{padding:20px}.auth-wrap{grid-template-columns:1fr;margin:0 auto}.auth-story{display:none}.auth-form{padding:26px}.plans{grid-template-columns:1fr;gap:18px;margin-top:24px}.plan p{min-height:0}.plan-price{margin-top:15px}.feature-note{grid-template-columns:1fr;gap:20px}.footer-inner{padding:20px 17px;flex-wrap:wrap;gap:10px}.footer-inner>span{order:3;width:100%}.footer-inner>a:last-child{font-size:10px}.modal{padding:22px}.processing-card{padding:30px 20px;margin:25px auto}.editor-page{padding:18px 10px}.editor-heading{display:block;padding:0 7px}.editor-heading h1{font-size:19px}.editor-heading .toolbar{margin-top:15px;justify-content:flex-start}.editor-heading .btn{font-size:11px;padding:8px 12px}.editor-layout{grid-template-columns:1fr;gap:13px}.canvas-viewport{height:440px}.editor-toolbar{padding:9px;gap:8px}.tool-btn{font-size:10px;padding:5px 7px;min-height:31px}.editor-toolbar .toolbar{gap:4px}.editor-side{display:grid;grid-template-columns:1fr;gap:13px}.editor-side .card+.card{margin-top:0}.palette-list{max-height:225px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.canvas-status{font-size:10px;padding:8px}.stats{gap:10px}.stat{padding:14px}.stat strong{font-size:25px}.admin-nav{gap:4px}.admin-nav a{font-size:11px;padding:8px}.admin-content .card{padding:15px}.settings-tabs{gap:0}.settings-tabs a{padding:9px 10px;font-size:11px}.admin-content .toolbar input{max-width:200px}.form-row.three{grid-template-columns:1fr 1fr}.table-wrap th,.table-wrap td{padding:11px 8px}.dashboard-grid{gap:16px}.tiny{font-size:10px}}
.captcha-row{display:flex;gap:9px;align-items:center}.captcha-row input{min-width:0;text-transform:uppercase}.captcha-row button{padding:0;border:1px solid #c6b9a8;border-radius:3px;background:#efe5d5;height:44px;flex-shrink:0;overflow:hidden}.captcha-row img{display:block;width:132px;height:44px}.upload-symbol{margin-left:auto;margin-right:auto}
.editor-main{display:flex;flex-direction:column;min-height:0}
.canvas-shell{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:32px minmax(0,1fr);height:620px;min-height:0;min-width:0;position:relative;isolation:isolate}
.canvas-shell .canvas-viewport{grid-column:2;grid-row:2;height:100%;min-height:0;min-width:0;overflow:scroll;scroll-behavior:auto;touch-action:none;user-select:none;-webkit-user-select:none;scrollbar-width:thin}
.canvas-shell .canvas-viewport canvas{background:transparent}
.chart-ruler{overflow:hidden;background:#f4eee3;user-select:none;touch-action:none}
.chart-ruler canvas{display:block}
.chart-ruler-top{grid-column:2;grid-row:1;border-bottom:1px solid #c7b8a4}
.chart-ruler-left{grid-column:1;grid-row:2;border-right:1px solid #c7b8a4}
.chart-ruler-corner{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:center;background:#e9dfcf;border-right:1px solid #c7b8a4;border-bottom:1px solid #c7b8a4;font-size:10px;color:#6f4d33;user-select:none;touch-action:none}
.cell-info{position:absolute;z-index:12;width:310px;max-width:calc(100% - 16px);padding:17px;background:var(--white);border:1px solid #bda58a;border-radius:4px;box-shadow:0 8px 28px #38220e33;touch-action:pan-y}
.cell-info[hidden],.editor-side-backdrop[hidden]{display:none!important}
.cell-info-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.cell-info-head h2{font-size:15px;line-height:1.4}
.cell-info-color{display:flex;align-items:center;gap:12px;margin-bottom:14px;min-width:0}
.cell-info-swatch{width:44px;height:44px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #0002;border-radius:2px;font-size:18px;font-weight:600}
.cell-info-color strong{font-size:18px;overflow-wrap:anywhere}
.cell-info-color p{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.cell-info-facts{margin:0;padding:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px}
.cell-info-facts>div{display:flex;justify-content:space-between;gap:18px;margin:4px 0}
.cell-info-facts dt{color:var(--muted)}
.cell-info-facts dd{margin:0;text-align:right;overflow-wrap:anywhere}
.cell-info-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.cell-info-actions .btn{min-width:0;white-space:normal;min-height:36px}
.color-choice-help{margin-top:-5px;margin-bottom:13px}.color-summary-note{margin-bottom:12px}.canvas-shell canvas{-webkit-touch-callout:none}
.mobile-editor-toggle,.editor-side-heading,.editor-side-backdrop{display:none}
@media(min-width:1600px){.canvas-shell{height:700px}}
@media(max-width:800px){.canvas-shell{height:550px}}
@media(max-width:800px),(pointer:coarse){
  body.chart-editor-open{overflow:hidden;overscroll-behavior:none}
  .editor-page{position:fixed;inset:0;z-index:40;width:100%;max-width:none;height:100vh;height:100dvh;min-height:0;margin:0;padding:0;display:flex;flex-direction:column;overflow:hidden;background:var(--paper);padding-top:env(safe-area-inset-top)}
  .editor-page .editor-heading{flex:none;display:block;margin:0;padding:9px 12px 8px;border-bottom:1px solid var(--line);background:var(--white)}
  .editor-page .editor-heading .back{font-size:11px;margin-bottom:3px;line-height:1.5}
  .editor-page .editor-heading h1{font-size:17px;line-height:1.4;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .editor-page .editor-heading p{font-size:10px;margin-top:3px;line-height:1.5}
  .editor-page .editor-heading>.toolbar{margin-top:7px;justify-content:flex-start;gap:6px}
  .editor-page .editor-heading .btn{padding:7px 9px;min-height:34px;font-size:11px}
  .editor-page .editor-heading .icon{width:14px;height:14px}
  .mobile-editor-toggle{display:inline-flex}
  .editor-page .editor-layout{flex:1;display:block;min-height:0;width:100%;overflow:hidden}
  .editor-page .editor-main{height:100%;border:0;min-height:0;overflow:hidden}
  .editor-page .editor-toolbar{flex:none;padding:7px 9px;gap:7px;justify-content:space-between}
  .editor-page .editor-toolbar .toolbar{gap:4px}
  .editor-page .tool-btn{padding:6px 8px;min-height:33px;font-size:11px}
  .editor-page .zoom-label{font-size:11px;min-width:39px}
  .editor-page .canvas-shell{flex:1;min-height:0;height:auto;grid-template-columns:36px minmax(0,1fr);grid-template-rows:28px minmax(0,1fr)}
  .editor-page .canvas-viewport{scrollbar-width:none}
  .editor-page .canvas-viewport::-webkit-scrollbar{display:none}
  .editor-page .canvas-status{flex:none;padding:7px 10px calc(7px + env(safe-area-inset-bottom));font-size:10px;min-height:30px}
  .editor-page .canvas-status>span:first-child{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .editor-page .canvas-status>span:last-child{flex-shrink:0}
  .editor-page .editor-side{display:none;position:fixed;z-index:62;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));max-height:75vh;max-height:75dvh;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;background:var(--white);border:1px solid #bda58a;border-radius:4px;box-shadow:0 10px 30px #38220e33}
  .editor-page .editor-side.is-open{display:block}
  .editor-page .editor-side-heading{display:flex;position:sticky;top:0;z-index:1;align-items:center;justify-content:space-between;padding:10px 14px;background:var(--white);border-bottom:1px solid var(--line)}
  .editor-page .editor-side .card{padding:16px;border:0;border-radius:0}
  .editor-page .editor-side .card+.card{margin:0;border-top:1px solid var(--line)}
  .editor-page .palette-list{max-height:32vh;max-height:32dvh;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .editor-page .editor-side-backdrop{display:block;position:fixed;inset:0;z-index:61;background:#21180f55}
  .cell-info{position:fixed;left:12px!important;right:12px;top:auto!important;bottom:calc(12px + env(safe-area-inset-bottom));z-index:70;width:auto;max-width:none;max-height:68vh;max-height:68dvh;overflow:auto;overscroll-behavior:contain;padding:18px;box-shadow:0 8px 35px #38220e33}
  .cell-info-head h2{font-size:16px}
  .cell-info-actions .btn{min-height:42px}
}
@media(max-height:520px) and (pointer:coarse){
  .editor-page .editor-heading{padding:5px 10px}
  .editor-page .editor-heading .back{display:inline-block;margin:0 12px 0 0}
  .editor-page .editor-heading h1{display:inline;font-size:14px}
  .editor-page .editor-heading p{display:none}
  .editor-page .editor-heading>.toolbar{margin-top:4px}
  .editor-page .editor-toolbar{padding:4px 8px}
  .editor-page .cell-info{max-height:88dvh}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

.color-count-control{display:flex;align-items:center;gap:8px}.color-count-control input{min-width:0;flex:1}.color-count-control button{flex:none;white-space:nowrap}

.footer-inner{flex-wrap:wrap}.footer-icp{order:4;flex-basis:100%;text-align:center;color:#5b4939;overflow-wrap:anywhere;margin-top:2px}.footer-icp:hover{text-decoration:underline}.footer-icp[hidden]{display:none}
.footer-filing{padding:0 18px 22px;text-align:center;font-size:12px;line-height:1.7;color:#5b4939;overflow-wrap:anywhere}.footer-filing:empty,.footer-filing[hidden]{display:none}.footer-filing .footer-icp{display:inline-block;max-width:100%;margin:0}.footer-filing .footer-icp[hidden]{display:none}
.actionable-message a{color:var(--primary-dark);font-weight:600;text-decoration:underline;text-underline-offset:3px}#toast.actionable-message a{color:#ffe0aa}
.log-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end;margin-bottom:20px}.log-filters .field{min-width:0;margin:0}.log-filters .log-search{grid-column:span 2}.log-filters label{font-size:12px}.log-filters .toolbar{grid-column:1/-1}.log-client{font-size:11px;max-width:280px;margin-top:5px}.log-client summary{cursor:pointer;color:#87452e}.log-client p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:6px}.log-count{margin-bottom:14px;color:#5b4939;font-size:12px}@media(max-width:950px){.log-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.log-filters{grid-template-columns:1fr}.log-filters .log-search{grid-column:span 1}}

.free-credit-box{padding:12px;margin:12px 0;background:#f3eadb;display:flex;flex-direction:column;gap:4px;color:#493322}.free-credit-box strong{font-size:23px}.thread-chip{display:inline-block;width:14px;height:14px;border:1px solid #8c7860;margin-right:6px;vertical-align:middle}.thread-settings{margin-top:14px}#thread-panel .form-row{gap:8px}#thread-panel .notice{font-size:12px;line-height:1.8;margin-bottom:12px}#thread-panel label{font-size:12px}

.dashboard-section{margin-bottom:24px}.dashboard-section h2{font-size:18px}.dashboard-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:10px}.dashboard-summary .stat{min-width:0;padding:17px 14px}.dashboard-summary .stat strong{font-size:clamp(20px,2vw,28px);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.dashboard-summary .stat>small{display:block;margin-top:8px;color:#69513f;font-size:11px}.dashboard-summary .stat strong small{font-size:12px;color:#5e6344}.dashboard-registration-summary .stat{background:#f5f3e9}.dashboard-accounting-note{font-size:12px;color:#624d3b;line-height:1.8}.dashboard-range-toolbar{display:flex;gap:18px;justify-content:space-between;align-items:flex-end;margin:28px 0 18px}.dashboard-range-toolbar .field{margin:0;min-width:180px}.dashboard-range-toolbar label{font-size:12px}.dashboard-range-toolbar .help{margin:0;text-align:right;color:#624d3b;max-width:480px;overflow-wrap:anywhere}.dashboard-charts{align-items:start}.dashboard-charts>*{min-width:0}.dashboard-chart-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.dashboard-chart-heading h3{font-size:16px}.dashboard-chart-heading p{font-size:11px;line-height:1.6;color:#69513f;margin:5px 0 0}.dashboard-chart-total{text-align:right;max-width:48%;overflow-wrap:anywhere}.dashboard-chart-total strong{display:block;font-size:21px;color:#402d20;font-variant-numeric:tabular-nums}.dashboard-chart-total small{display:block;font-size:10px;color:#69513f;line-height:1.6;margin-top:3px}.dashboard-chart-legend{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:18px 0 17px;font-size:11px;color:#624d3b}.dashboard-chart-legend span{display:inline-flex;align-items:center;gap:5px}.dashboard-chart-legend i{display:inline-block;width:11px;height:11px}.dashboard-recharge-key,.dashboard-recharge-bar{background:#a96646}.dashboard-vip-key,.dashboard-vip-bar{background:#6c7954}.dashboard-registration-key,.dashboard-registration-bar{background:#6c7954}.dashboard-pattern-key,.dashboard-pattern-bar{background:#a77a48}.dashboard-chart-layout{display:grid;grid-template-columns:68px minmax(0,1fr);gap:9px;min-width:0}.dashboard-chart-axis{display:flex;flex-direction:column;justify-content:space-between;height:200px;text-align:right;font-size:10px;color:#69513f;line-height:1;font-variant-numeric:tabular-nums}.dashboard-chart-scroll{overflow-x:auto;min-width:0;overscroll-behavior-x:contain;padding-bottom:5px;scrollbar-width:thin}.dashboard-plot{position:relative}.dashboard-gridlines{position:absolute;inset:0 0 auto;height:200px;pointer-events:none}.dashboard-gridlines i{position:absolute;left:0;right:0;border-top:1px solid #ded2c1}.dashboard-chart-columns{display:flex;gap:7px;height:226px;position:relative}.dashboard-chart-column{flex:1;min-width:10px;display:flex;flex-direction:column}.dashboard-chart-bar{appearance:none;display:flex;flex-direction:column-reverse;align-items:center;justify-content:flex-start;flex:0 0 200px;height:200px;width:100%;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer}.dashboard-chart-bar>span{display:block;flex-shrink:0;width:76%;max-width:24px;pointer-events:none}.dashboard-chart-bar:hover,.dashboard-chart-bar[aria-pressed=true]{background:#eee4d3}.dashboard-chart-bar:focus-visible{outline:2px solid #71412b;outline-offset:-2px}.dashboard-chart-label{height:26px;padding-top:8px;text-align:center;white-space:nowrap;font-size:10px;color:#69513f;pointer-events:none}.dashboard-chart-empty{position:absolute;top:72px;left:10px;right:10px;text-align:center;font-size:12px;color:#624d3b;background:#fffdf8;padding:10px;pointer-events:none}.dashboard-chart-detail{min-height:49px;margin:14px 0 0;padding:10px;background:#f5eee3;border:1px solid #ded2c1;font-size:12px;line-height:1.8;color:#493322;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.dashboard-chart-hint{font-size:10px;color:#69513f;margin:8px 0 0;line-height:1.7}
@media(max-width:1200px){.dashboard-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.dashboard-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-summary .stat:last-child{grid-column:1/-1}.dashboard-summary .stat{padding:14px}.dashboard-summary .stat strong{font-size:24px}.dashboard-range-toolbar{align-items:stretch;flex-direction:column;gap:10px;margin-top:22px}.dashboard-range-toolbar .help{text-align:left;max-width:none}.dashboard-range-toolbar .field{min-width:0}.dashboard-chart-total strong{font-size:18px}.dashboard-chart-heading h3{font-size:15px}.dashboard-chart-layout{grid-template-columns:56px minmax(0,1fr);gap:7px}.dashboard-chart-axis{font-size:9px}.dashboard-chart-legend{gap:10px}.dashboard-chart-detail{font-size:11px}}

.seo-information{margin:38px 0 20px}.seo-information-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.seo-information p{line-height:1.9;color:#5c4c3d}.seo-faq details{padding:14px 0;border-top:1px solid #dfd4c4}.seo-faq summary{cursor:pointer;font-weight:600;color:#3b2b20}.seo-tool-links{display:flex;flex-wrap:wrap;gap:18px;margin-top:18px}.seo-tool-links a{color:#87452e;text-decoration:underline}.seo-search-preview{padding:18px;border:1px solid #d5c8b6;border-radius:4px;background:#fffdf8;margin:18px 0}.seo-preview-url{color:#5b6153;font-size:12px;overflow-wrap:anywhere}.seo-preview-title{color:#263f79;font-size:18px}.seo-preview-description{line-height:1.7;color:#493e32}.seo-search-preview small{color:#6b5a47}.seo-server-hero{padding-bottom:24px}@media(max-width:800px){.seo-information-grid{grid-template-columns:1fr}.seo-tool-links{gap:12px}.seo-search-preview{padding:12px}}

.contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}.contact-grid .card+.card{margin-top:0}.contact-card{min-width:0}.contact-card h2{font-size:20px}.contact-value{overflow-wrap:anywhere;font-weight:600;color:#3b2b20;margin:8px 0}.contact-preline{white-space:pre-wrap;overflow-wrap:anywhere}.contact-card .toolbar{margin-top:16px;gap:6px}.contact-card .btn{white-space:normal;text-align:center}.contact-qr{display:block;width:220px;max-width:100%;height:220px;object-fit:contain;background:#fff;margin:16px auto 8px}.contact-page .notice{margin-bottom:22px}.contact-qr-detail{text-align:center}.contact-qr-detail>img{display:block;max-width:100%;width:460px;height:auto;max-height:60vh;object-fit:contain;background:#fff;margin:0 auto 14px;touch-action:auto}.contact-qr-detail a{color:#87452e;text-decoration:underline}.contact-settings-entry{margin:14px 0}.contact-admin-qr{display:block;max-width:160px;max-height:160px;object-fit:contain;background:#fff;margin:10px 0}.contact-admin-qr[hidden],.contact-floating-panel[hidden]{display:none!important}#contact-floating{position:fixed;right:18px;bottom:calc(18px + env(safe-area-inset-bottom));z-index:55}#contact-floating-toggle{min-width:64px;box-shadow:0 3px 14px #38220e26}.contact-floating-panel{position:absolute;right:0;bottom:calc(100% + 8px);width:300px;max-width:calc(100vw - 24px);background:var(--white);border:1px solid #bda58a;border-radius:4px;box-shadow:0 8px 28px #38220e26;color:#3b2b20}.contact-floating-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid var(--line)}.contact-floating-list{padding:0 14px;max-height:min(55vh,440px);max-height:min(55dvh,440px);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}.contact-floating-list article{text-align:center;padding:14px 0}.contact-floating-list article+article{border-top:1px solid var(--line)}.contact-floating-list h3{font-size:15px}.contact-floating-list img{display:block;width:160px;height:160px;object-fit:contain;background:#fff;margin:10px auto}.contact-floating-list .contact-value{font-size:12px}.contact-all-link{display:block;padding:11px 14px;border-top:1px solid var(--line);color:#87452e;font-size:12px;text-decoration:underline}body.chart-editor-open #contact-floating{bottom:calc(72px + env(safe-area-inset-bottom))}@media(max-width:1000px){.contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.contact-grid{grid-template-columns:1fr}.contact-card h2{font-size:18px}#contact-floating{right:12px;bottom:calc(12px + env(safe-area-inset-bottom))}.contact-floating-list{max-height:calc(100vh - 200px);max-height:calc(100dvh - 200px)}body.chart-editor-open .contact-floating-list{max-height:calc(100vh - 260px);max-height:calc(100dvh - 260px)}}@media(max-height:520px){.contact-floating-list{max-height:calc(100dvh - 200px)}body.chart-editor-open .contact-floating-list{max-height:calc(100dvh - 260px)}}
