:root{--bg: #f3efe8;--surface: #fffdf9;--fg: #1a1614;--muted: #7a7168;--subtle: #9a9188;--border: #e4ddd4;--primary: #6e2f32;--primary-fg: #faf7f2;--ink: #1a1614;--ok: #2f5d45;--ok-bg: #e7f0ea;--tight: #8a3b22;--tight-bg: #f6e8e1;--loose: #3d4a5c;--loose-bg: #e8ecf1;--radius: 12px}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;background:var(--bg);color:var(--fg);font-family:"Source Sans 3",Noto Sans SC,-apple-system,Microsoft YaHei,sans-serif}body{-webkit-font-smoothing:antialiased}h1,h2,h3{font-family:Cormorant Garamond,"Noto Serif SC",Georgia,Songti SC,serif;letter-spacing:-.02em;margin:0}p{margin:0}.page{max-width:460px;margin:0 auto;min-height:100dvh;padding:0 16px 24px;display:flex;flex-direction:column}.footer{margin-top:auto;padding-top:24px;text-align:center}.icp{font-size:11px;letter-spacing:.04em;color:var(--subtle);text-decoration:none}.icp:hover{color:var(--muted);text-decoration:underline}.header{padding:22px 0 10px;border-bottom:1px solid var(--border);margin-bottom:18px}.brand{font-family:Cormorant Garamond,"Noto Serif SC",Georgia,serif;font-size:30px;line-height:1}.brand-sub{margin-top:6px;font-size:10px;letter-spacing:.24em;color:var(--subtle)}.stack{display:flex;flex-direction:column;gap:14px}.stack-sm{display:flex;flex-direction:column;gap:8px}.hero h1{font-size:34px;line-height:1.15}.hero p{margin-top:8px;font-size:14px;line-height:1.6;color:var(--muted)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}.card.center{text-align:center}.section-title{font-size:11px;letter-spacing:.18em;color:var(--subtle);text-transform:uppercase;margin-bottom:6px}.muted{color:var(--muted);font-size:13px;line-height:1.6}.hint{margin-top:10px;font-size:11px;line-height:1.6;color:var(--subtle)}.alert{margin-bottom:12px;padding:10px 12px;border-radius:8px;background:var(--tight-bg);color:var(--tight);font-size:13px;line-height:1.5}.upload{display:block;overflow:hidden;border:1px dashed var(--border);border-radius:var(--radius);background:var(--surface);cursor:pointer}.upload img{display:block;width:100%;height:320px;object-fit:cover;object-position:top}.upload-empty{height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted)}.upload-empty span{font-size:30px;line-height:1}.upload input{display:none}.field{display:block;margin-bottom:10px}.field>span{font-size:11px;color:var(--muted)}.field input,.field .input-suffix{width:100%;margin-top:4px}.input-suffix{display:flex;align-items:center;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:0 10px}.input-suffix input{border:none;background:transparent;height:42px;flex:1;outline:none;font-size:15px}.input-suffix em{font-style:normal;font-size:12px;color:var(--subtle)}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}input,select,textarea{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--fg);font-size:14px;font-family:inherit;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--primary)}.row{display:flex;gap:8px;align-items:center}.grow{flex:1;min-width:0}.consent{display:flex;gap:8px;align-items:flex-start;font-size:12px;line-height:1.6;color:var(--muted)}.consent input{width:16px;height:16px;margin-top:2px;flex-shrink:0}.btn{min-height:44px;padding:10px 18px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--fg);font-size:14px;font-family:inherit;cursor:pointer;transition:opacity .15s ease;white-space:nowrap}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{width:100%;background:var(--ink);border-color:var(--ink);color:var(--primary-fg)}.btn-outline{width:100%;background:transparent}.link-danger{margin-top:10px;padding:0;border:none;background:none;color:var(--tight);font-size:12px;cursor:pointer;text-decoration:underline}.profile{display:flex;gap:14px;padding:12px}.profile-photo{width:116px;height:150px;object-fit:cover;object-position:top;border-radius:8px;flex-shrink:0}.profile-meta h2{font-size:26px;margin-bottom:2px}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:2px 10px;margin-top:8px;font-size:12px;color:var(--muted)}.tabs{display:flex;gap:6px;margin-bottom:12px}.tab{padding:6px 12px;border:1px solid var(--border);border-radius:999px;background:transparent;font-size:12px;color:var(--muted);cursor:pointer}.tab.active{background:var(--ink);border-color:var(--ink);color:var(--primary-fg)}.product{display:flex;gap:12px}.product>img{width:108px;height:135px;object-fit:cover;border-radius:8px;flex-shrink:0}.product-meta h3{font-size:20px;line-height:1.3;margin:4px 0}.tag-row{display:flex;gap:6px;flex-wrap:wrap}.tag{font-size:10px;padding:2px 7px;border-radius:999px;background:var(--bg);color:var(--muted);border:1px solid var(--border)}.tag.warn{background:var(--tight-bg);color:var(--tight);border-color:transparent}.size-row{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.buy-row{display:flex;flex-direction:column;gap:6px;margin-top:10px}.buy-row .hint{margin:0}.size{min-width:44px;min-height:38px;border:1px solid var(--border);border-radius:6px;background:var(--bg);font-size:13px;cursor:pointer}.size.active{background:var(--ink);border-color:var(--ink);color:var(--primary-fg)}.result{display:block;width:100%;border-radius:8px;margin-bottom:8px}.aigc-note{font-size:11px;line-height:1.6;color:var(--subtle);padding:8px 10px;background:var(--bg);border-radius:6px}.fit{margin-top:14px}.fit-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.fit-head h3{font-size:20px;margin-bottom:4px}.badge{flex-shrink:0;font-size:11px;padding:4px 10px;border-radius:999px}.badge.tight,.badge.close{background:var(--tight-bg);color:var(--tight)}.badge.ok{background:var(--ok-bg);color:var(--ok)}.badge.easy,.badge.loose{background:var(--loose-bg);color:var(--loose)}.fit-line{margin-top:12px}.fit-line-top{display:flex;justify-content:space-between;font-size:13px;margin-bottom:4px}.bar{height:6px;background:var(--border);border-radius:999px;overflow:hidden}.bar-inner{height:100%;border-radius:999px}.bar-inner.tight,.bar-inner.close{background:var(--tight)}.bar-inner.ok{background:var(--ok)}.bar-inner.easy,.bar-inner.loose{background:var(--loose)}.caption{margin-top:3px;font-size:11px;color:var(--subtle)}.history-item{width:100%;display:flex;align-items:center;gap:10px;padding:10px 0;border:none;border-bottom:1px solid var(--border);background:none;font-size:13px;font-family:inherit;color:var(--fg);text-align:left;cursor:pointer}.history-item:last-child{border-bottom:none}.dot{width:7px;height:7px;border-radius:50%;background:var(--subtle)}.dot.succeeded{background:var(--ok)}.dot.failed{background:var(--tight)}.spinner{width:28px;height:28px;margin:6px auto 12px;border:2px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
