:root{--bg:#f6f1e8;--surface:#fff;--text:#2b2522;--muted:#6b625b;--accent:#f2a33a;--outline:#3b3430;--ground:#d9cdb8;--canopy:#5f8f8b;--radius:10px;--line:2px solid var(--outline);color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;font-family:PingFang TC,Noto Sans TC,Microsoft JhengHei,system-ui,sans-serif;line-height:1.6}*{box-sizing:border-box}body{margin:0}a{color:inherit}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.page{max-width:1200px;margin:0 auto;padding:16px}.page--narrow{max-width:760px}.site-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:8px 24px;margin-bottom:12px;display:flex}.site-title{letter-spacing:.04em;margin:0;font-size:1.6rem}.site-tagline{color:var(--muted);margin:0}.site-nav{gap:16px;display:flex}.market{gap:16px;display:grid}.scene-shell{border:var(--line);border-radius:var(--radius);background:var(--ground);height:clamp(300px,58vh,600px);position:relative;overflow:hidden}.scene-placeholder,.scene-canvas{position:absolute;inset:0}.scene-canvas canvas{touch-action:none;display:block}.scene-canvas:focus-visible{outline-offset:-4px}.scene-fallback{background:var(--surface);border:var(--line);border-radius:var(--radius);margin:0;padding:8px 12px;position:absolute;inset:auto 12px 64px}.scene-controls{gap:8px;display:flex;position:absolute;bottom:12px;left:12px}.button{min-height:44px;font:inherit;color:var(--text);background:var(--surface);border:var(--line);border-radius:var(--radius);box-shadow:0 3px 0 var(--outline);cursor:pointer;justify-content:center;align-items:center;gap:6px;padding:8px 16px;font-weight:700;text-decoration:none;display:inline-flex}.button:active{box-shadow:0 1px 0 var(--outline);transform:translateY(2px)}.button:disabled{opacity:.5;cursor:not-allowed}.button--primary{background:var(--accent)}.button--ghost{min-height:36px;box-shadow:none;padding:4px 10px}.button--small{min-height:32px;box-shadow:0 2px 0 var(--outline);padding:2px 10px;font-size:.9rem}.stall-card{background:var(--surface);border:var(--line);border-radius:var(--radius);width:min(380px,100% - 24px);padding:16px;position:absolute;top:12px;bottom:12px;right:12px;overflow:auto;box-shadow:4px 4px #00000029}.stall-card--large{border-width:3px}.stall-card__header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.stall-card__header h2{margin:0;font-size:1.25rem}.stall-card__intro{color:var(--muted);margin:8px 0 12px}.stall-card__store{width:100%;margin-top:12px}.item-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.item{gap:2px;display:grid}.item img,.item__placeholder{aspect-ratio:1;object-fit:cover;border:var(--line);background:var(--bg);border-radius:8px;width:100%;height:auto}.item__zoom{cursor:zoom-in;background:0 0;border:0;padding:0;display:block}.item-zoom{z-index:1;background:var(--surface);border:var(--line);border-radius:var(--radius);margin:0 0 12px;padding:8px;position:sticky;top:0}.item-zoom img{aspect-ratio:1;border-radius:8px;width:100%;height:auto;display:block}.item__name{font-weight:700}.item__price{color:var(--muted)}.item__link{font-size:.9rem}.stall-detail{background:var(--surface);border:var(--line);border-radius:var(--radius);padding:16px}.stall-list h2{margin:0 0 8px;font-size:1.15rem}.stall-list__items{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.stall-list__item a{background:var(--surface);border:var(--line);border-radius:var(--radius);min-height:44px;padding:10px 12px;text-decoration:none;display:grid}.stall-list__item.is-current a{box-shadow:inset 0 0 0 3px var(--accent)}.stall-list__item span{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.9rem;display:-webkit-box;overflow:hidden}.muted,.empty{color:var(--muted)}.notice{border:var(--line);border-radius:var(--radius);background:var(--surface);padding:12px}@media (max-width:720px){.page{padding:12px}.site-title{font-size:1.3rem}.scene-shell{height:clamp(280px,52vh,460px)}.stall-card{z-index:10;width:auto;height:min(70vh,560px);position:fixed;inset:auto 8px 8px}.item-grid{grid-template-columns:repeat(2,1fr)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.panel{background:var(--surface);border:var(--line);border-radius:var(--radius);margin:16px 0;padding:16px}.panel h2,.panel h3{margin-top:0}.field{gap:4px;margin-bottom:12px;display:grid}.field label,.field>span{font-weight:700}.field input,.field textarea,.field select{width:100%;min-height:40px;font:inherit;color:var(--text);background:var(--surface);border:var(--line);border-radius:8px;padding:8px 10px}.field textarea{min-height:88px}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.item-editor{border:1px dashed var(--outline);border-radius:8px;grid-template-columns:72px 1fr;gap:8px 12px;margin-bottom:8px;padding:12px;display:grid}.item-editor img,.item-editor .item__placeholder{width:72px;height:72px}.status{border:var(--line);border-radius:999px;padding:0 8px;font-size:.85rem;font-weight:700;display:inline-block}.status--approved,.status--listed,.status--confirmed{background:#d7e8d4}.status--needs_info,.status--waitlisted,.status--reserved{background:#f6e2b8}.status--rejected,.status--delisted{background:#ecd2cc}.error{color:#9b2c1f;font-weight:700}.success{color:#2f6b3a;font-weight:700}table{border-collapse:collapse;width:100%;font-size:.92rem}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #d8d0c4;padding:6px 8px}.table-wrap{overflow-x:auto}code.link{word-break:break-all;background:var(--bg);border-radius:6px;padding:8px;display:block}.styleguide-canvas.styleguide-canvas--doll{height:900px}.styleguide-canvas.styleguide-canvas--lighting{height:740px}.swatches{flex-wrap:wrap;gap:8px;display:flex}.swatch{width:88px;font-size:.75rem}.swatch i{border:var(--line);border-radius:8px;height:40px;display:block}.styleguide-canvas{border:var(--line);border-radius:var(--radius);width:100%;height:750px;overflow:hidden}
