:root{font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#192c24;background:#f5f3eb;--ink:#192c24;--green:#17392a;--muted:#5d6b61;--paper:#fffefa;--line:#dbded2;--gold:#e9d3a0;line-height:1.55}
*,*::before,*::after{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}a{color:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.53;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a46a28;outline-offset:3px}
.top{background:#11251e;color:#fff9e9}.top-inner{max-width:1160px;margin:auto;display:flex;justify-content:space-between;align-items:center;min-height:74px;padding:0 26px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:23px;font-weight:750;line-height:1.1;letter-spacing:.14em}.brand small{display:block;font-size:10px;letter-spacing:.15em;color:#e8d3a6;margin-top:5px}.mark{color:var(--gold);font-size:30px}.quiet{font-size:14px;padding:9px 13px;border:1px solid #ffffff41;border-radius:24px;text-decoration:none}
main{max-width:1160px;margin:auto;padding:28px 26px 36px}.steps{display:flex;gap:13px;flex-wrap:wrap;align-items:center;margin-bottom:23px;font-size:14px;color:var(--muted)}.steps span{display:flex;align-items:center;gap:6px}.steps span+span::before{content:"";display:inline-block;width:16px;height:1px;background:#b5baad;margin-right:4px}.steps strong{color:var(--green)}.steps b{font-size:12px;font-weight:600}
h1,h2,h3,p{margin:0}h1{line-height:1.14;font-size:clamp(29px,5.7vw,64px);letter-spacing:-.055em}h2{font-size:23px;line-height:1.25}h3{font-size:17px}p{color:var(--muted)}
.hero{display:grid;grid-template-columns: .95fr 1.15fr;overflow:hidden;background:#152e24;color:#fff9eb;border-radius:25px;min-height:440px}.hero-copy{padding:clamp(28px,5vw,64px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:22px}.hero .kicker{font-size:14px;color:var(--gold);font-weight:650}.hero p{color:#e0e7dc}.hero-visual{width:100%;height:100%;min-height:240px;object-fit:cover;display:block;background:#234336}.hero-actions{display:flex;flex-wrap:wrap;gap:10px}.btn{border:1px solid transparent;text-decoration:none;min-height:46px;border-radius:12px;padding:10px 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:650;line-height:1.35;background:var(--green);color:white}.btn.gold{background:var(--gold);color:#172a21}.btn.ghost{border-color:var(--line);background:var(--paper);color:var(--ink)}.hero .ghost{background:transparent;color:#fff9eb;border-color:#ffffff55}.btn.danger{color:#8f2929;background:#fff9f7;border-color:#eed6d1}.hint{font-size:14px}
.bottom-info{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-top:17px}.bottom-info details{font-size:14px}.bottom-info p{font-size:14px}.bottom-info summary{cursor:pointer;font-weight:650}.bottom-info details p{padding-top:5px}.error{color:#a32927;margin-top:10px;min-height:1.5em}.hero .error{color:#ffd6ca;margin:0}.error:empty{display:none}
.page-title{font-size:clamp(26px,5vw,39px);margin-bottom:8px}.workspace{display:grid;grid-template-columns:1.05fr 1fr;gap:22px;align-items:start;margin-top:20px}.card{background:var(--paper);border:1px solid var(--line);border-radius:21px;padding:20px}.preview-card{position:sticky;top:14px}.preview-head,.row,.bar-inner{display:flex;align-items:center;justify-content:space-between;gap:12px}.preview-stage{background:radial-gradient(ellipse at 48% 32%,#d6ddcc,#aab8a3);border-radius:16px;display:grid;place-items:center;padding:24px;margin:14px 0 10px;min-height:280px}.art{display:block;max-width:100%;height:auto;touch-action:none;box-shadow:3px 5px 0 #ffffff8c,8px 15px 25px #233c3980;background:#d5ded4}.art[data-shape=circle]{border-radius:50%}.art[data-shape=rectangle],.art[data-shape=square]{border-radius:4px}
.fields{display:grid;gap:17px}.fields fieldset{border:0;padding:0;margin:0;min-width:0}.fields legend,.label{font-weight:700;margin-bottom:8px}.options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.styles{grid-template-columns:repeat(2,minmax(0,1fr))}.choice{position:relative;padding:8px 5px;border:1px solid var(--line);background:#fffefa;border-radius:11px;text-align:center;cursor:pointer;font-size:14px;min-height:44px;display:grid;align-content:center}.choice:has(input:checked){border-color:var(--green);outline:1px solid var(--green);background:#e9efe5}.choice:has(input:focus-visible){outline:3px solid #a46a28}.choice input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}.choice small{color:var(--muted);font-size:12px}.shape{display:inline-block;justify-self:center;width:15px;height:15px;border:1.5px solid currentColor;margin-bottom:3px}.shape.rectangle{width:11px}.shape.circle{border-radius:50%}
.input,select{display:block;width:100%;min-height:46px;background:#fffefa;color:var(--ink);border:1px solid #c1c9bc;border-radius:10px;padding:8px 11px}.text-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}.text-tools label{font-size:14px}.text-tools select{padding:7px 4px}.qty{display:flex;align-items:center;gap:10px}.qty .btn{padding:6px;min-width:44px}
.bar{position:sticky;bottom:0;margin-top:18px;background:#f5f3ebf5;padding:10px 0 max(10px,env(safe-area-inset-bottom));z-index:2}.bar-inner{padding:9px 12px;background:#fffefa;border:1px solid var(--line);border-radius:15px;box-shadow:0 5px 18px #192c2412}.price{font-size:24px;font-weight:800;line-height:1.2}.list{display:grid;gap:12px;margin-top:16px}.ticket{max-width:580px;margin:18px auto;text-align:center;padding:clamp(20px,5vw,35px)}.ticket h1{font-size:31px}.number{font-size:clamp(38px,9vw,60px);font-weight:800;color:var(--green);line-height:1.1;letter-spacing:.06em;margin:10px 0}.badge{display:inline-block;background:#e8eee4;color:#264a36;border-radius:999px;padding:5px 12px;font-size:14px;font-weight:650}.ticket .actions,.actions{display:flex;flex-wrap:wrap;gap:8px}.ticket .actions{justify-content:center;margin-top:20px}.ticket p{margin-top:10px}.confirm-grid{display:grid;gap:10px;margin:16px 0}.confirm-item{display:flex;justify-content:space-between;align-items:center;gap:12px}.confirm-item img{width:52px;height:60px;object-fit:contain}.variant-actions{display:flex;gap:6px;flex-wrap:wrap}.variant-actions button{font-size:14px}.staff{max-width:750px;margin:auto}.staff label{display:block}.staff form>*+*{margin-top:10px}.staff-job .actions{margin-top:10px}.staff-job img{width:45px;height:50px;object-fit:contain;background:#edf0e7;border-radius:5px}.job-line{display:flex;gap:8px;align-items:center;margin-top:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:720px){.top-inner{min-height:62px;padding:0 16px}main{padding:18px 14px 24px}.steps{gap:6px;margin-bottom:14px;font-size:13px}.steps span+span::before{width:8px;margin-right:2px}.hero{grid-template-columns:1fr;min-height:0;border-radius:19px}.hero-copy{padding:25px 22px;gap:13px}.hero-visual{grid-row:1;height:clamp(177px,54vw,290px);min-height:0}.hero-actions .btn{padding-inline:12px}.bottom-info{align-items:start;flex-direction:column;gap:10px}.workspace{grid-template-columns:1fr;gap:11px;margin-top:12px}.card{padding:13px;border-radius:15px}.preview-card{position:static}.preview-stage{min-height:210px;padding:13px;margin-block:9px}.fields{gap:13px}.btn{font-size:14px}.bar{margin-top:10px}.text-tools select{font-size:14px}.page-title{margin-bottom:4px}}
.ticket h1.number{font-size:clamp(38px,9vw,60px)}
.confirm-item>div{flex:1;text-align:left}

@font-face{font-family:"Noto Sans SC";src:url("/fonts/noto-sans-sc.ttf") format("truetype");font-weight:100 900;font-display:swap}
@font-face{font-family:"ZCOOL XiaoWei";src:url("/fonts/zcool-xiaowei.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"Ma Shan Zheng";src:url("/fonts/ma-shan-zheng.ttf") format("truetype");font-weight:400;font-display:swap}
.hero-product{margin:0;min-width:0;position:relative;background:#152e24}
.hero-product .hero-visual{height:auto;min-height:0;aspect-ratio:2/1;object-fit:cover}
.hero-product{display:flex;flex-direction:column;justify-content:center}
.hero-product figcaption{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:9px 8px 13px;text-align:center;color:#e8d3a6;font-size:13px}
.hero-product figcaption b{display:block;color:#fff9eb;font-weight:650}
.art{background:transparent;box-shadow:none;touch-action:auto}
.art[data-shape=rectangle],.art[data-shape=square]{border-radius:0}
#preview{width:210px;max-width:100%;border-radius:0;filter:drop-shadow(0 9px 10px #233c3950)}
#preview[data-shape=rectangle]{width:175px}
#preview[data-shape=circle]{border-radius:50%}
#preview[data-movable=true]{touch-action:none;cursor:grab}
#preview[data-movable=true]:active{cursor:grabbing}
#preview:focus-visible{outline:3px solid #a46a28;outline-offset:4px}
.preview-mode{display:flex;gap:8px;margin-bottom:6px}
.preview-mode .btn{min-height:44px;flex:1}
.preview-mode .btn[aria-pressed=true]{background:#e9efe5;border-color:#628270}
.fields .text-choice{margin-top:12px}
.text-choice .hint{color:var(--muted);font-weight:400}
.text-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
.font-choice strong{font-size:24px;font-weight:400;line-height:1.15;margin:3px 0 4px}
.font-choice[data-font=sans] strong{font-family:"Noto Sans SC",sans-serif}
.font-choice[data-font=serif] strong{font-family:"ZCOOL XiaoWei",serif}
.font-choice[data-font=brush] strong{font-family:"Ma Shan Zheng",serif}
.swatches{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.swatch{display:grid;min-height:44px;place-items:center;position:relative;cursor:pointer;border:1px solid var(--line);border-radius:10px}
.swatch input{opacity:0;position:absolute;inset:0;margin:0;cursor:pointer}
.swatch span{width:26px;height:26px;background:var(--swatch);border:1px solid #192c2440;border-radius:50%}
.swatch:has(input:checked){border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green);background:#e9efe5}
.swatch:has(input:focus-visible){outline:3px solid #a46a28;outline-offset:2px}
.swatch[data-color=white]{--swatch:#ffffff}.swatch[data-color=ivory]{--swatch:#fff1d9}.swatch[data-color=gold]{--swatch:#ffe09f}
.swatch[data-color=peach]{--swatch:#ff9d80}.swatch[data-color=pink]{--swatch:#f2b7ca}.swatch[data-color=lilac]{--swatch:#d0b9f4}
.swatch[data-color=sky]{--swatch:#bde0f8}.swatch[data-color=mint]{--swatch:#cdebd0}.swatch[data-color=pine]{--swatch:#183c31}.swatch[data-color=ink]{--swatch:#202328}
.crop-controls label{min-width:0;display:grid;gap:3px;font-size:14px}
.crop-controls input{width:100%;min-height:31px;margin:0;accent-color:var(--green)}
.crop-controls .btn{flex-shrink:0}
@media(max-width:720px){.hero-product{grid-row:1}.hero-product .hero-visual{height:auto}.hero-product figcaption{background:#193329;padding-bottom:10px}}
