:root{font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#202b3a;background:#faf9f6;--ink:#202b3a;--muted:#5c6571;--primary:#244d78;--line:#dce1e7;--white:#fff;--soft:#edf2f8;--amber:#78540f;--danger:#ab3531;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:active{transform:scale(.98)}button:disabled{cursor:not-allowed;opacity:.55;transform:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #244d78;outline-offset:3px}button,.btn{min-height:44px;border:0;border-radius:12px;padding:10px 18px;background:var(--primary);color:white;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px}.secondary{background:var(--soft);color:var(--primary)}.danger{background:#fae8e5;color:var(--danger)}.plain{background:transparent;color:var(--primary);padding:8px 12px}input,select,textarea{width:100%;min-height:46px;padding:11px 14px;border:1px solid #c8d0da;border-radius:12px;background:white;color:var(--ink)}textarea{resize:vertical;min-height:90px}label{display:block;font-weight:600;margin:16px 0 7px}small,.muted{color:var(--muted)}small{font-size:13px;line-height:1.5}.test-banner{text-align:center;padding:9px 16px;font-size:13px;background:#edf2f8;color:#244d78}.topbar{position:sticky;top:0;z-index:10;background:rgba(250,252,249,.94);backdrop-filter:blur(20px);display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px max(24px,calc((100vw - 1152px)/2));border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-weight:700;white-space:nowrap}.brand-mark{background:var(--primary);color:white;border-radius:14px;display:grid;place-items:center;width:46px;height:46px;font-size:24px}.brand small{display:block;font-weight:400;font-size:12px}.topbar nav{display:flex;gap:12px}.topbar nav a{border-radius:12px;padding:10px 14px;min-height:44px;font-size:14px;font-weight:600}.topbar nav a.selected{background:var(--soft);color:var(--primary)}main{max-width:1152px;padding:32px 24px 64px;margin:auto}h1,h2,h3,p{margin:0}h1{font-size:clamp(28px,4vw,44px);line-height:1.25;letter-spacing:-.025em}h2{font-size:24px;letter-spacing:-.015em}h3{font-size:18px;line-height:1.5}.eyebrow{font-size:13px;font-weight:600;letter-spacing:.12em;margin-bottom:14px}.hero{position:relative;overflow:hidden;background:#f2f0eb;border-radius:28px;padding:44px;display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:24px;margin-bottom:28px}.hero p{margin:18px 0 22px;max-width:440px;color:#5c6571}.hero-art{display:grid;place-items:center;min-height:210px}.illustration{width:100%;max-width:300px}.subtle{background:#edf2f8;padding:14px 18px;border-radius:14px;color:#244d78;font-size:14px}.toolbar{display:flex;gap:16px;align-items:center;margin-bottom:22px}.search{max-width:330px}.chips{display:flex;flex-wrap:wrap;gap:8px;flex:1}.chip{background:transparent;border:1px solid var(--line);color:var(--muted);border-radius:30px;font-weight:500;min-height:44px;padding:8px 16px}.chip.active{background:var(--primary);color:white;border-color:var(--primary)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card{background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden}.card-cover{height:130px;padding:22px;display:flex;align-items:center;justify-content:space-between;background:var(--cover,#edf2f8);color:#244d78}.card-cover svg{width:78px;height:78px;stroke:currentColor;fill:none;stroke-width:1.6}.cover-label{font-size:14px;font-weight:600}.card-body{padding:22px}.card h3{margin-bottom:8px}.tag{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;border-radius:7px;padding:4px 8px;background:#edf2f8;color:#244d78}.tag.amber{background:#f7eedb;color:var(--amber)}.tag.red{background:#fae8e5;color:var(--danger)}.price{color:#a34821;font-size:28px;font-weight:700;letter-spacing:-.03em}.price small{font-size:14px;font-weight:400;margin-left:4px}.card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:22px;gap:12px}.section-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:24px}.section-head p{margin-top:8px;color:var(--muted);font-size:14px}.row{display:flex;align-items:center;justify-content:space-between;gap:16px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.panel{padding:26px;background:white;border:1px solid var(--line);border-radius:20px;margin-bottom:20px}.order-card{margin-bottom:16px}.order-card .meta{display:flex;flex-wrap:wrap;gap:16px;margin:12px 0;color:var(--muted);font-size:14px}.order-id{font-family:ui-monospace,monospace;font-size:12px;overflow-wrap:anywhere;color:var(--muted)}.empty{border:1px dashed #c8d0da;border-radius:20px;text-align:center;padding:56px 20px;background:#fff}.empty p{color:var(--muted);margin:10px 0 20px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:26px}.stat{background:white;border:1px solid var(--line);border-radius:16px;padding:20px}.stat strong{display:block;font-size:28px;line-height:1.5}.stat span{color:var(--muted);font-size:13px}.admin-tabs{margin-bottom:24px}.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.help{font-size:13px;color:var(--muted);margin-top:8px}.rule-list{padding-left:20px;margin:12px 0}.rule-list li{margin:7px 0}.status-line{margin-top:12px;font-size:14px;color:var(--muted)}.overdue{color:var(--danger)}dialog{border:0;border-radius:24px;padding:0;width:min(560px,calc(100vw - 32px));max-height:90dvh;box-shadow:0 24px 80px #202b3a33;color:var(--ink);background:white}dialog::backdrop{background:#202b3a70;backdrop-filter:blur(3px)}.sheet-top{position:sticky;top:0;background:white;padding:16px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;z-index:1;font-weight:600}.icon-btn{background:#edf2f8;color:var(--ink);padding:0;width:44px;font-size:26px}#sheet-content{padding:24px}.sheet-price{color:#a34821;margin:22px 0;font-size:32px;font-weight:700}.sheet-info{font-size:14px;background:#f1f3f6;border-radius:14px;padding:18px;margin:18px 0}.checkbox{display:flex;align-items:flex-start;gap:10px;font-size:14px;font-weight:400}.checkbox input{width:20px;min-height:20px;margin-top:4px;flex-shrink:0}.wide{width:100%;margin-top:20px}.ticket-image{display:block;width:100%;max-height:480px;object-fit:contain;border-radius:14px;border:1px solid var(--line);margin:20px 0}.timeline{list-style:none;padding:0;margin:20px 0}.timeline li{border-left:2px solid #dce1e7;padding:0 0 16px 16px;font-size:14px}.timeline time{display:block;color:var(--muted);font-size:12px}.alert{background:#faf0dd;color:#705213;padding:14px 16px;border-radius:12px;font-size:14px;margin:16px 0}.error{color:var(--danger);margin:14px 0;font-size:14px}.inventory-table{width:100%;border-collapse:collapse;font-size:14px}.inventory-table th,.inventory-table td{text-align:left;padding:14px 8px;border-bottom:1px solid var(--line)}.inventory-table th{color:var(--muted);font-weight:500}.table-wrap{overflow-x:auto}footer{padding:24px;text-align:center;border-top:1px solid var(--line);color:var(--muted);font-size:13px}#notice{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#202b3a;color:white;max-width:calc(100vw - 40px);width:max-content;padding:14px 22px;border-radius:14px;z-index:40;display:none;box-shadow:0 8px 30px #202b3a22}.link{color:var(--primary);text-decoration:underline}.preview-phone{max-width:410px;margin:auto}.preview-phone .grid{grid-template-columns:1fr}.preview-phone .hero{grid-template-columns:1fr;padding:24px}.preview-phone .hero-art{display:none}.preview-phone .toolbar{flex-direction:column;align-items:stretch}.preview-phone .search{max-width:none}.preview-phone .section-head{align-items:flex-start}.preview-phone .chips{gap:6px}.preview-phone .chip{font-size:13px;padding:8px 12px}.preview-label{margin-bottom:20px;font-size:13px;color:var(--muted)}@media(max-width:900px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding:32px}.toolbar{flex-wrap:wrap}.search{max-width:none;flex-basis:100%}.split{grid-template-columns:1fr}}@media(max-width:600px){.topbar{padding:12px 16px;flex-wrap:wrap;gap:12px}.brand{font-size:16px}.brand small{font-size:11px}.topbar nav{width:100%;justify-content:space-between;gap:8px}.topbar nav a{flex:1;text-align:center;padding:9px 6px}.test-banner{font-size:11px}.brand-mark{width:40px;height:40px;font-size:22px}main{padding:22px 16px 40px}.hero{grid-template-columns:1fr;padding:26px 24px;border-radius:22px}.hero-art{display:none}.hero p{font-size:14px}.grid{grid-template-columns:1fr}.card-cover{height:105px}.toolbar{gap:12px}.chips{gap:6px}.chip{padding:8px 12px;font-size:13px}.section-head{align-items:flex-start;flex-wrap:wrap}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.stat{padding:16px}.panel{padding:20px}.field-grid{grid-template-columns:1fr}.row{align-items:flex-start;flex-wrap:wrap}.actions button{flex:1;min-width:100px}h2{font-size:22px}.sheet-top{padding:12px 20px}#sheet-content{padding:20px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}button:active{transform:none}}@media(prefers-reduced-transparency:reduce){.topbar{background:#fafcf9;backdrop-filter:none}dialog::backdrop{backdrop-filter:none}}@media(prefers-contrast:more){.card,.panel{border-color:#5c6571}.topbar{background:white}}

.card-cover[data-category="温泉洗浴"]{background:#e9e4d7}.card-cover[data-category="游泳"]{background:#ddebee}.card-cover[data-category="亲子娱乐"]{background:#e7eada}.card-cover[data-category="餐饮生活"]{background:#eee1d7}.card-cover[data-category="滑雪"]{background:#e2e8ee}
[hidden]{display:none!important}
.product-photo-field{margin:1.5rem 0}.product-photo-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:12px;margin:16px 0}.product-photo-preview img{width:100%;height:120px;object-fit:contain;background:#f1f3f6;border:1px solid #dce1e7;border-radius:12px}.product-cover{height:200px;background:#f1f3f6}.product-cover img{width:100%;height:100%;object-fit:contain}.product-detail-photo{display:block;width:100%;height:auto;margin-bottom:16px;border-radius:12px}.product-admin-cover{width:92px;height:92px;object-fit:contain;border-radius:10px;background:#f1f3f6}.product-admin-info{flex:1;min-width:0;overflow-wrap:anywhere}.login-main{display:grid;place-items:center;min-height:100dvh;padding:24px}.login-panel{width:min(100%,460px)}.login-panel h1{font-size:2rem}.login-panel input{font-size:1rem}.topbar nav{flex-wrap:wrap}
.brand{min-width:0;white-space:normal}.brand-mark{flex-shrink:0}.brand>span:last-child{min-width:0;overflow-wrap:anywhere}.card-bottom{flex-wrap:wrap}.price small{white-space:nowrap}

.hero-ticket{display:block;text-align:center;padding:36px 24px;border:1px solid var(--line);background:#fff}.hero-ticket h1{font-size:clamp(36px,5vw,56px)}.hero-ticket p{margin:16px auto;max-width:none}.hero-rules{color:var(--muted);font-size:.875rem;line-height:1.8}.product-card{cursor:pointer;min-width:0}.product-card:focus-visible{outline:3px solid var(--primary);outline-offset:3px}.product-card h3{margin-top:10px}.product-card .card-body{display:flex;flex-direction:column}.product-cover img{object-fit:cover}.sku-edit-row{margin:24px 0;padding:18px;border:1px solid var(--line);border-radius:16px;min-width:0}.sku-edit-row legend{font-weight:700;padding:0 8px;color:var(--primary)}.sku-edit-row label{font-size:.875rem;margin-top:12px}.sku-section-head{margin:24px 0 8px}.field-span{grid-column:1/-1}.sku-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.sku-badges>span{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:7px 10px;background:#f5f6f8;border-radius:9px;font-size:.875rem}.group-choices{margin-top:24px}.group-choice{padding:16px 0;border-top:1px solid var(--line)}.group-choice input[type=checkbox]{accent-color:var(--primary)}.group-choice label{font-weight:400}.group-choice small{display:block}.detail-lines{margin-top:16px;border-top:1px solid var(--line);padding-top:12px;white-space:pre-wrap;overflow-wrap:anywhere}.detail-lines p{margin:10px 0;line-height:1.8}h2,h3,.sku-badges{overflow-wrap:anywhere}#b-reason:empty{display:none}.sheet-info strong{color:var(--primary)}.product-admin-row{align-items:flex-start}.stats .stat strong{color:var(--primary)}.inventory-table td{overflow-wrap:anywhere}.product-admin-cover{object-fit:cover}.topbar{background:rgba(250,249,246,.96)}
@media(max-width:600px){.hero-ticket{padding:26px 20px}.sku-edit-row{padding:14px}.product-admin-row>.secondary{width:100%}.sku-badges>span{width:100%}}

.product-admin-actions{display:flex;flex-wrap:wrap;gap:8px;align-self:center}.product-admin-actions button{min-height:44px}.product-admin-actions .danger{background:#fae8e5;color:#9c332b}
@media(max-width:600px){.product-admin-actions{width:100%;align-self:stretch}.product-admin-actions button{flex:1}}
