:root {
  --ink: #07131a;
  --ink-soft: #102530;
  --paper: #f6f1e8;
  --paper-2: #fffdf8;
  --line: #d9d1c4;
  --muted: #6e756f;
  --accent: #df5a31;
  --accent-dark: #b83e20;
  --gold: #d7ad63;
  --green: #287a59;
  --radius: 22px;
  color-scheme: light;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust:100%; }
body {
  margin: 0; color: var(--ink); min-height: 100vh;
  padding-left:env(safe-area-inset-left, 0px); padding-right:env(safe-area-inset-right, 0px);
  background: radial-gradient(circle at 20% 0%, rgba(215, 173, 99, .16), transparent 34rem), var(--paper);
}
button, input, textarea, select { font: inherit; }
input:not([type="checkbox"]), textarea, select { font-size:16px; min-width:0; }
button:focus-visible, a:focus-visible { outline:3px solid var(--accent-dark); outline-offset:3px; }
[hidden] { display:none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: wait; opacity: .68; }

.topbar { width:min(1120px, calc(100% - 32px)); min-height:76px; margin:0 auto; display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:24px; align-items:center; }
.merchant-contact { min-width:0; display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:4px 10px; line-height:1.5; padding:8px 0; }
.merchant-contact>span { font-size:.8rem; color:var(--muted); }
.merchant-contact a { color:var(--ink); font-weight:700; overflow-wrap:anywhere; text-decoration:none; }
.merchant-contact a[href] { min-height:44px; display:inline-flex; align-items:center; }
.merchant-contact a[href]:hover { color:var(--accent-dark); text-decoration:underline; }
.merchant-contact .merchant-contact-extra { max-width:34rem; padding-left:10px; border-left:1px solid var(--line); color:var(--ink-soft); font-size:.78rem; white-space:pre-line; overflow-wrap:anywhere; }
.brand-mark { overflow:hidden; }
.brand-mark img { width:100%; height:100%; object-fit:contain; background:#fff; }
.brand { display: flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; min-width:0; }
.brand>span:last-child { min-width:0; overflow-wrap:anywhere; }
.brand-mark,.order-link { flex-shrink:0; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff7e9; background: var(--ink); font-family: serif; font-size: 24px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.brand b, .brand small { display: block; }
.brand b { font-family: "STSong", "Songti SC", serif; font-size: 1.15rem; letter-spacing: .08em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: .75rem; letter-spacing: .12em; }
.order-link { color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; padding: 8px 0; }

.customer-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto 56px; }
.hero { position: relative; min-height: 390px; border-radius: 32px; overflow: hidden; isolation: isolate; background: var(--ink); box-shadow: 0 28px 80px rgba(7,19,26,.18); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,14,21,.96) 0%, rgba(4,14,21,.74) 44%, rgba(4,14,21,.06) 78%); }
.hero-copy { width: min(530px, 62%); padding: 76px 64px; color: #fff; }
.eyebrow { color: var(--gold); letter-spacing: .2em; font-size: .82rem; }
.eyebrow.dark { color: var(--accent-dark); }
h1 { margin: 18px 0 16px; font-family: "STSong", "Songti SC", serif; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.08; font-weight: 600; letter-spacing: .03em; }
.hero p { margin: 0; max-width: 32rem; color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.8; }

.workbench { position: relative; width: min(820px, calc(100% - 48px)); margin: -54px auto 0; background: var(--paper-2); border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(20,31,34,.16); overflow: hidden; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.tab { border: 0; background: #eee8de; color: var(--muted); padding: 18px; cursor: pointer; font-weight: 700; }
.tab.is-active { color: var(--accent-dark); background: var(--paper-2); box-shadow: inset 0 -3px 0 var(--accent); }
.panel { padding: 34px 40px 40px; }
.panel-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 26px; }
.panel-heading > div { display: flex; align-items: center; gap: 12px; }
.panel-heading h2 { margin: 0; font-family: "STSong", "Songti SC", serif; font-size: 1.55rem; }
.panel-heading p { margin: 0; color: var(--muted); font-size: .88rem; }
.step { color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.card-form { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; gap: 14px; align-items: end; }
label,.panel-heading>div { min-width:0; }
label { display: grid; gap: 9px; font-size: .86rem; font-weight: 700; }
input:not([type="checkbox"]), textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); padding: 0 15px; outline: none; transition: border-color .2s, box-shadow .2s; }
input:not([type="checkbox"]), select { height: 50px; }
textarea { padding-top: 13px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(223,90,49,.12); }
select:disabled { color: var(--muted); background: #f2eee6; cursor: not-allowed; }
.primary { min-height: 50px; border: 0; border-radius: 12px; padding: 0 22px; color: #fff; cursor: pointer; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); font-weight: 800; box-shadow: 0 10px 24px rgba(184,62,32,.22); }
.text-button { border: 0; background: none; padding: 6px 0; color: var(--accent-dark); cursor: pointer; }
.form-note { margin: 18px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.feedback { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: #fff1e8; color: #9a321c; font-size: .88rem; }
.feedback.success { color: #176244; background: #e8f5ee; }
.spec-card { display: grid; grid-template-columns: 150px minmax(0,1fr); gap:16px 22px; align-items: center; padding: 14px; border-radius: 16px; background: #f1eadf; overflow-wrap:anywhere; }
.customer-spec-facts { grid-column:1/-1; margin:0; padding:14px; display:grid; gap:10px; border-radius:10px; background:var(--paper-2); }
.customer-spec-facts>div { display:grid; grid-template-columns:5em minmax(0,1fr); gap:12px; font-size:.94rem; line-height:1.6; }
.customer-spec-facts dt { color:var(--muted); }
.customer-spec-facts dd { margin:0; font-weight:700; text-align:right; }
.spec-card .spec-description { grid-column:1/-1; margin:0; white-space:pre-wrap; line-height:1.7; }
.spec-card img { width: 150px; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.spec-card span, .spec-card small { color: var(--muted); font-size: .78rem; }
.spec-card h3 { margin: 7px 0; font-family: "STSong", "Songti SC", serif; font-size: 1.35rem; }
.spec-card p { margin: 0 0 6px; color: #4e5956; font-size: .9rem; }
.address-form { margin-top: 26px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-grid .wide { grid-column: 1 / -1; }
.region-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.region-help { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.privacy-check { display: flex; grid-template-columns: auto 1fr; align-items: flex-start; gap: 10px; margin: 18px 0; font-weight: 400; color: var(--muted); line-height: 1.6; }
.privacy-check input { margin-top: 4px; accent-color: var(--accent); }
.privacy-check a, footer a { color: var(--accent-dark); }
.submit-order { width: 100%; }
.success-state { text-align: center; padding: 24px 0 8px; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-size: 2rem; }
.success-state h2 { font-family: "STSong", "Songti SC", serif; font-size: 2rem; margin: 8px 0 18px; }
.muted { color: var(--muted); }
.order-result { margin-top: 24px; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.order-result > div { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(223,90,49,.12); }
.order-result dl { margin: 0; display: grid; gap: 10px; }
.order-result dl div { display: grid; grid-template-columns: 90px 1fr; border-top: 1px solid #eee7dd; padding-top: 10px; }
.order-result dt { color: var(--muted); }
.order-result dd { margin:0; min-width:0; overflow-wrap:anywhere; line-height:1.65; }
.assurance { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin: 42px auto 0; max-width: 900px; background: var(--line); border: 1px solid var(--line); }
.assurance div { display: grid; gap: 6px; padding: 22px 26px; background: var(--paper); }
.assurance b { font-family: "STSong", "Songti SC", serif; }
.assurance span { color: var(--muted); font-size: .82rem; }
.merchant-wechat { max-width:900px; margin:22px auto 0; padding:24px 28px; display:flex; justify-content:space-between; align-items:center; gap:24px; border:1px solid var(--line); background:var(--paper-2); }
.merchant-wechat span { color:var(--accent-dark); font-size:.7rem; font-weight:800; letter-spacing:.18em; }
.merchant-wechat h2 { margin:7px 0 5px; font-family:"STSong","Songti SC",serif; font-size:1.35rem; }
.merchant-wechat p { margin:0; color:var(--muted); font-size:.82rem; line-height:1.7; }
.merchant-wechat img { width:140px; height:140px; padding:7px; object-fit:contain; border:1px solid var(--line); border-radius:12px; background:#fff; }
footer { padding:26px 16px max(28px, env(safe-area-inset-bottom)); color:var(--muted); text-align:center; font-size:.8rem; line-height:1.7; overflow-wrap:anywhere; }

@media (max-width: 760px) {
  .topbar, .customer-shell { width: min(100% - 24px, 620px); }
  .topbar { min-height:68px; grid-template-columns:minmax(0,1fr) auto; gap:0 14px; padding-top:env(safe-area-inset-top, 0px); }
  .topbar .brand { grid-column:1; grid-row:1; min-height:64px; }
  .topbar .order-link { grid-column:2; grid-row:1; }
  .merchant-contact { grid-column:1/-1; grid-row:2; justify-content:flex-start; padding:0 0 6px; font-size:.9rem; }
  .merchant-contact .merchant-contact-extra { flex-basis:100%; max-width:none; margin:2px 0 5px; padding-left:0; border-left:0; line-height:1.65; }
  .order-link { font-size:.88rem; min-height:44px; display:flex; align-items:center; }
  .hero { min-height:0; border-radius:18px; }
  .hero img { object-position: 66% center; }
  .hero::after { background:linear-gradient(90deg,rgba(4,14,21,.9),rgba(4,14,21,.65)); }
  .hero-copy { width:100%; position:relative; padding:26px 22px; overflow-wrap:anywhere; }
  h1 { font-size:clamp(1.8rem,7vw,2.4rem); max-width:12em; line-height:1.25; margin:12px 0; }
  .hero p { font-size:.9rem; line-height:1.65; }
  .eyebrow { font-size:.75rem; letter-spacing:.1em; }
  .workbench { width:100%; margin-top:14px; border-radius:18px; }
  .panel { padding:22px 18px 26px; }
  .panel-heading { align-items:center; flex-wrap:wrap; gap:8px 12px; margin-bottom:18px; }
  .panel-heading h2 { font-size:1.3rem; line-height:1.4; }
  .panel-heading p { font-size:.82rem; line-height:1.6; }
  .card-form, .field-grid { grid-template-columns: 1fr; }
  .field-grid .wide { grid-column: auto; }
  .region-fields { grid-template-columns: 1fr; }
  .primary { width: 100%; margin-top: 4px; }
  .spec-card { grid-template-columns:80px minmax(0,1fr); gap:12px; padding:12px; }
  .spec-card img { width:80px; }
  .spec-card h3 { font-size:1.2rem; line-height:1.4; }
  .spec-card small { display:block; line-height:1.6; }
  .customer-spec-facts { padding:12px; }
  .field-grid { gap:18px; }
  .text-button { min-height:44px; padding:10px 4px; }
  .privacy-check { padding:8px 0; }
  .privacy-check input { width:22px; height:22px; flex-shrink:0; margin:2px 0 0; }
  .order-result { padding:16px; }
  .order-result dl div { grid-template-columns:72px minmax(0,1fr); gap:8px; font-size:.9rem; }
  .order-result dl .order-spec-row { grid-template-columns:minmax(0,1fr); gap:6px; }
  .success-state { overflow-wrap:anywhere; }
  .success-state h2 { font-size:1.6rem; }
  .tracking-panel button { width:100%; min-height:48px; }
  .assurance { grid-template-columns:1fr; margin-top:24px; }
  .assurance div { padding:14px 18px; }
  .merchant-wechat { margin-top:16px; padding:20px; flex-direction:column; align-items:flex-start; }
  .merchant-wechat img { width:min(220px,100%); height:auto; align-self:center; }
}
@media (max-width:360px) {
  .panel { padding:20px 14px 24px; }
  .brand { gap:8px; }
  .brand b { font-size:1rem; letter-spacing:0; }
  .order-result dl div { grid-template-columns:minmax(0,1fr); gap:4px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* Premium hairy-crab gift visual system */
:root {
  --ink: #102724;
  --ink-soft: #24413d;
  --paper: #f3ede1;
  --paper-2: #fffdf8;
  --line: #d8cdbb;
  --muted: #746f64;
  --accent: #bd4933;
  --accent-dark: #8f2f24;
  --gold: #c9a45f;
  --green: #326e57;
  --radius: 24px;
}

::selection { color:#fff; background:var(--accent-dark); }
body {
  background:
    radial-gradient(circle at 12% -8%, rgba(201,164,95,.24), transparent 31rem),
    radial-gradient(circle at 92% 24%, rgba(143,47,36,.07), transparent 26rem),
    repeating-linear-gradient(135deg, rgba(16,39,36,.018) 0 1px, transparent 1px 18px),
    var(--paper);
}
body::before {
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none; opacity:.42;
  background:linear-gradient(90deg,transparent calc(50% - 1px),rgba(201,164,95,.06) 50%,transparent calc(50% + 1px));
}
button, a, input, textarea, select { transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease,color .2s ease,transform .2s ease; }
button:not(:disabled):active { transform:translateY(1px); }

.topbar { min-height:88px; }
.brand { gap:14px; }
.brand-mark {
  width:50px; height:50px; border-radius:16px; color:#f8e6bc;
  background:linear-gradient(145deg,#173b36,#091b19);
  border:1px solid rgba(201,164,95,.65);
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.06),0 8px 24px rgba(16,39,36,.16);
}
.brand-mark img { background:#fffdf8; }
.brand b { color:var(--ink); font-size:1.25rem; letter-spacing:.12em; }
.brand small { color:#8a7b63; letter-spacing:.18em; }
.merchant-contact>span { color:#8a7b63; letter-spacing:.04em; }
.merchant-contact a { color:var(--accent-dark); }
.merchant-contact .merchant-contact-extra { border-left-color:rgba(201,164,95,.55); color:var(--ink-soft); }
.order-link {
  min-height:42px; padding:0 16px; display:inline-flex; align-items:center;
  border:1px solid rgba(16,39,36,.22); border-radius:999px; background:rgba(255,253,248,.5);
  font-size:.86rem; font-weight:700;
}
.order-link:hover { color:var(--accent-dark); border-color:rgba(143,47,36,.45); background:#fffdf8; }

.hero {
  min-height:420px; border-radius:34px; border:1px solid rgba(201,164,95,.72);
  box-shadow:0 32px 80px rgba(16,39,36,.2),inset 0 0 0 1px rgba(255,255,255,.12);
}
.hero::before {
  content:""; position:absolute; inset:14px; z-index:0; pointer-events:none;
  border:1px solid rgba(222,190,124,.28); border-radius:24px;
}
.hero::after {
  background:
    linear-gradient(90deg,rgba(5,23,22,.97) 0%,rgba(5,23,22,.86) 42%,rgba(5,23,22,.24) 72%,rgba(5,23,22,.08)),
    linear-gradient(0deg,rgba(5,23,22,.42),transparent 44%);
}
.hero img { filter:saturate(.88) contrast(1.04); transform:scale(1.012); }
.hero-copy { position:relative; z-index:1; width:min(570px,63%); min-width:0; max-width:100%; padding:84px 70px; }
.hero-copy .eyebrow,.hero-copy h1,.hero-copy p { max-width:100%; overflow-wrap:anywhere; word-break:break-word; white-space:pre-line; }
.eyebrow { display:flex; align-items:center; gap:12px; color:#e1bd72; font-weight:700; }
.eyebrow::before { content:""; width:34px; height:1px; background:currentColor; }
.hero-copy .eyebrow { display:block; position:relative; padding-left:46px; }
.hero-copy .eyebrow::before { position:absolute; left:0; top:.7em; }
h1 { text-shadow:0 4px 28px rgba(0,0,0,.22); }
.hero p { color:rgba(255,252,242,.78); }

.workbench {
  width:min(860px,calc(100% - 48px)); margin-top:-62px;
  border-color:rgba(201,164,95,.36); border-radius:28px;
  box-shadow:0 28px 72px rgba(24,38,34,.17),0 2px 0 rgba(255,255,255,.8) inset;
}
.tabs { border-color:rgba(201,164,95,.34); }
.tab { min-height:70px; color:#80796c; background:#ede5d7; letter-spacing:.08em; }
.tab:hover { color:var(--ink); background:#f5efe4; }
.tab.is-active { color:var(--accent-dark); background:var(--paper-2); box-shadow:inset 0 -3px 0 var(--accent),inset 0 1px 0 #fff; }
.panel { padding:40px 46px 46px; }
.panel-heading { margin-bottom:30px; padding-bottom:18px; border-bottom:1px solid rgba(216,205,187,.7); }
.panel-heading h2 { color:var(--ink); font-size:1.7rem; letter-spacing:.04em; }
.step { color:var(--accent-dark); }
label { color:var(--ink-soft); }
input:not([type="checkbox"]), textarea, select {
  border-color:#d8cdbb; border-radius:14px; background:#fffefa;
  box-shadow:0 1px 0 rgba(255,255,255,.8) inset;
}
input:not([type="checkbox"]), select { height:54px; }
input:focus, textarea:focus, select:focus { border-color:#aa5a46; box-shadow:0 0 0 4px rgba(189,73,51,.1),0 5px 16px rgba(16,39,36,.05); }
.primary {
  min-height:54px; border-radius:14px; letter-spacing:.04em;
  background:linear-gradient(135deg,#c75439,#963225);
  box-shadow:0 12px 26px rgba(143,47,36,.24),inset 0 1px 0 rgba(255,255,255,.24);
}
.primary:hover:not(:disabled) { filter:brightness(1.04); box-shadow:0 15px 32px rgba(143,47,36,.3),inset 0 1px 0 rgba(255,255,255,.28); transform:translateY(-1px); }
.feedback { border:1px solid rgba(189,73,51,.16); }
.feedback.success { border-color:rgba(50,110,87,.18); }
.spec-card {
  padding:18px; border:1px solid rgba(201,164,95,.26); border-radius:18px;
  background:linear-gradient(135deg,#f5efe4,#eee4d4);
}
.spec-card img { border-radius:14px; box-shadow:0 8px 22px rgba(16,39,36,.12); }
.spec-card h3 { color:var(--ink); }
.customer-spec-facts { border:1px solid rgba(216,205,187,.62); }
.region-help { padding:0 2px; }
.privacy-check { padding:13px 15px; border-radius:12px; background:#f7f1e7; }
.success-icon { background:linear-gradient(145deg,#44866b,#245a47); box-shadow:0 9px 22px rgba(50,110,87,.24); }
.order-result { border-color:rgba(201,164,95,.45); background:linear-gradient(180deg,#fffdf8,#fbf7ee); box-shadow:0 12px 35px rgba(16,39,36,.06); }
.card-history { margin-top:16px; padding:15px 17px; border:1px solid rgba(201,164,95,.34); border-radius:14px; background:#f8f2e8; }
.card-history>div:first-child { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:11px; }
.card-history b { color:var(--ink); font-size:.86rem; }
.card-history [data-clear-card-history] { padding:4px 0; border:0; color:var(--muted); background:transparent; font-size:.76rem; cursor:pointer; }
.card-history [data-clear-card-history]:hover { color:var(--accent-dark); }
.card-history-list { display:flex; flex-wrap:wrap; gap:8px; }
.card-history-list button { display:flex; align-items:center; gap:9px; min-height:38px; padding:8px 11px; border:1px solid #d9c8aa; border-radius:10px; color:var(--ink); background:#fffdf8; cursor:pointer; }
.card-history-list button:hover { border-color:#b7654f; box-shadow:0 4px 12px rgba(16,39,36,.07); }
.card-history-list code { font-size:.82rem; }
.card-history-list span { color:var(--muted); font-size:.68rem; }
.card-history>p { margin:9px 0 0; color:var(--muted); font-size:.7rem; }
.address-history { margin-top:20px; padding:17px; border:1px solid rgba(201,164,95,.36); border-radius:16px; background:linear-gradient(135deg,#f8f2e8,#f4ecdf); }
.smart-address { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; margin-top:20px; padding:18px; border:1px solid rgba(50,110,87,.3); border-radius:16px; background:linear-gradient(135deg,#eef5ef,#f7f4ea); }
.smart-address>div,.smart-address textarea,.smart-address-feedback { grid-column:1/-1; }
.smart-address b { color:var(--ink); font-size:.95rem; }
.smart-address p { margin:5px 0 0; color:var(--muted); font-size:.74rem; line-height:1.6; }
.smart-address textarea { width:100%; resize:vertical; }
.smart-address>button { grid-column:2; min-height:44px; padding:0 18px; }
.smart-address .smart-address-feedback { margin:0; padding:10px 12px; border-radius:10px; color:var(--accent-dark); background:#fff1eb; }
.smart-address .smart-address-feedback.success { color:#286248; background:#e8f4ec; }
.address-history-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:12px; }
.address-history-head b { color:var(--ink); font-size:.9rem; }
.address-history-head p { margin:4px 0 0; color:var(--muted); font-size:.7rem; line-height:1.5; }
.address-history-head button { flex:none; padding:3px 0; border:0; color:var(--muted); background:transparent; font-size:.76rem; cursor:pointer; }
.address-history-head button:hover { color:var(--accent-dark); }
.address-history-list { display:grid; gap:8px; }
.address-history-list button { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:16px; width:100%; padding:12px 13px; border:1px solid #ded0b9; border-radius:12px; color:var(--ink); text-align:left; background:#fffdf8; cursor:pointer; }
.address-history-list button:hover { border-color:#b7654f; box-shadow:0 5px 16px rgba(16,39,36,.07); }
.address-history-list span { min-width:0; }
.address-history-list b,.address-history-list small { display:block; overflow-wrap:anywhere; }
.address-history-list b { margin-bottom:4px; font-size:.82rem; }
.address-history-list small { color:var(--muted); font-size:.74rem; line-height:1.55; }
.address-history-list em { color:var(--accent-dark); font-size:.74rem; font-style:normal; font-weight:800; white-space:nowrap; }
.shipping-preference { display:grid; gap:8px; }
.shipping-preference .field-label { color:var(--ink-soft); font-size:.86rem; font-weight:800; }
.shipping-choice { display:grid; grid-template-columns:auto auto minmax(190px,1fr); align-items:center; gap:12px; }
.shipping-choice>button { min-height:54px; padding:0 22px; border:1px solid #d8cdbb; border-radius:14px; color:var(--ink-soft); background:#fffefa; font-weight:800; cursor:pointer; }
.shipping-choice>button.is-active { color:#fff; border-color:#9c3729; background:linear-gradient(135deg,#c75439,#963225); box-shadow:0 8px 20px rgba(143,47,36,.2); }
.shipping-choice>span { color:var(--muted); font-size:.76rem; white-space:nowrap; }
.shipping-preference>small { color:var(--muted); font-size:.72rem; line-height:1.65; }

.assurance {
  gap:12px; max-width:920px; border:0; background:transparent;
}
.assurance div {
  position:relative; min-height:112px; padding:24px 26px; border:1px solid rgba(201,164,95,.3); border-radius:16px;
  background:rgba(255,253,248,.64); box-shadow:0 12px 32px rgba(16,39,36,.05);
}
.assurance div::before { content:""; width:26px; height:2px; margin-bottom:4px; background:var(--accent); }
.assurance b { color:var(--ink); font-size:1.03rem; }
.merchant-wechat {
  max-width:920px; border-color:rgba(201,164,95,.42); border-radius:18px;
  background:linear-gradient(135deg,rgba(255,253,248,.92),rgba(244,236,221,.92));
  box-shadow:0 14px 36px rgba(16,39,36,.06);
}
.merchant-wechat img { padding:9px; border-color:#d6c39e; box-shadow:0 8px 22px rgba(16,39,36,.08); }
footer { color:#827b6d; }
.platform-disclaimer { max-width:920px; margin:22px auto 0; padding:22px 26px; border:1px solid rgba(201,164,95,.34); border-radius:16px; background:rgba(255,253,248,.56); }
.platform-disclaimer h2 { margin:0 0 9px; color:var(--ink); font-family:"STSong","Songti SC",serif; font-size:1rem; letter-spacing:.08em; }
.platform-disclaimer p { margin:0; color:#81796c; font-size:.76rem; line-height:1.9; }
.brand-mark img { display:block; }
#merchant-logo-fallback { background:transparent; }
.redemption-notice { width:min(520px,calc(100% - 32px)); padding:0; border:1px solid rgba(201,164,95,.6); border-radius:22px; color:var(--ink); background:#fffdf8; box-shadow:0 30px 100px rgba(5,24,22,.32); }
.redemption-notice::backdrop { background:rgba(5,24,22,.66); backdrop-filter:blur(5px); }
.redemption-notice form { padding:32px 32px 0; }
.redemption-notice .notice-emblem { width:max-content; margin:0 auto 16px; padding:5px 10px; border:1px solid rgba(189,73,51,.25); border-radius:999px; color:var(--accent-dark); background:#fff3ea; font-size:.68rem; font-weight:800; letter-spacing:.16em; }
.redemption-notice h2 { margin:0 0 26px; text-align:center; font-family:"STSong","Songti SC",serif; font-size:2rem; font-weight:600; }
.redemption-notice p { margin:0 0 12px; color:#545e59; line-height:1.85; }
.redemption-notice button { width:calc(100% + 64px); margin:24px -32px 0; border-radius:0; box-shadow:none; }

@media (max-width:760px) {
  .topbar { min-height:72px; }
  .brand-mark { width:44px; height:44px; border-radius:14px; }
  .brand b { font-size:1.08rem; }
  .order-link { min-height:40px; padding:0 12px; border:0; border-bottom:1px solid currentColor; border-radius:0; background:transparent; }
  .hero { border-radius:20px; min-height:310px; }
  .hero::before { inset:9px; border-radius:14px; }
  .hero img { object-position:68% center; }
  .hero-copy { width:100%; padding:34px 25px 38px; }
  .hero-copy h1 { max-width:100%; }
  .hero-copy .eyebrow { padding-left:34px; }
  .eyebrow::before { width:22px; }
  .workbench { margin-top:16px; border-radius:20px; }
  .tab { min-height:58px; padding:14px 10px; }
  .panel { padding:24px 18px 28px; }
  .panel-heading { margin-bottom:22px; padding-bottom:15px; }
  .assurance { gap:10px; }
  .assurance div { min-height:0; padding:17px 19px; }
  .merchant-wechat { border-radius:16px; }
  .platform-disclaimer { margin:16px 12px 0; padding:18px; border-radius:14px; }
  .redemption-notice form { padding:27px 23px 0; }
  .redemption-notice button { width:calc(100% + 46px); margin:22px -23px 0; }
  .shipping-choice { grid-template-columns:1fr auto; }
  .shipping-choice input { grid-column:1/-1; }
}

@media (max-width:360px) {
  .brand small { letter-spacing:.06em; }
  .hero-copy { padding:30px 20px 34px; }
}
