
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { min-height: 100%; }
body {
    font-family: var(--font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif);
    background: var(--bg-primary);
    color: var(--text-primary);
    background-image: radial-gradient(1200px 500px at 80% -10%, rgba(59,130,246,.14), transparent),
                      radial-gradient(900px 420px at -10% 110%, rgba(96,165,250,.10), transparent);
    background-attachment: fixed;
}

.wd-top {
    display: flex; align-items: center; gap: 12px;
    padding: 14px clamp(14px, 4vw, 40px);
    background: var(--bg-card);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 50;
}
.wd-back { color: var(--text-secondary); text-decoration: none; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); transition: .15s; }
.wd-back:hover { color: var(--text-primary); border-color: var(--accent); }
.wd-brand { font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.wd-brand i { color: var(--accent); }
.wd-bal { margin-left: auto; font-size: 13px; color: var(--text-secondary); background: var(--bg-secondary); border: 1px solid var(--border); padding: 7px 14px; border-radius: 999px; }
.wd-bal b { color: var(--accent-secondary); }

.wd-wrap { max-width: 1080px; margin: 0 auto; padding: 20px clamp(12px, 3vw, 24px) 56px; }


.wd-autharea { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.wd-head-btn { white-space: nowrap; }
.wd-autharea .wd-bal { margin-left: 0; }


.wd-auth-card { width: min(420px, 96vw); }
.wd-auth-tabs { display: flex; gap: 4px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: 12px; padding: 4px; margin-bottom: 14px; }
.wd-auth-tab { flex: 1; font-family: inherit; cursor: pointer; border: 0; background: transparent; color: var(--text-secondary); padding: 8px 12px; border-radius: 10px; font-size: 13.5px; transition: .16s; }
.wd-auth-tab:hover { color: var(--text-primary); background: var(--bg-secondary); }
.wd-auth-tab.active { background: var(--gradient-main); color: #fff; box-shadow: var(--shadow-colored); }
[data-theme="vip"] .wd-auth-tab.active { color: #241a05; }
.wd-auth-note { font-size: 12.5px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 14px; }
.wd-auth-err { display: none; color: #ff8589; background: rgba(229, 72, 77, .10); border: 1px solid rgba(229, 72, 77, .35); border-radius: 10px; padding: 9px 12px; font-size: 12.5px; line-height: 1.7; margin-bottom: 10px; }
.wd-auth-err.show { display: block; }
[data-theme="light"] .wd-auth-err { color: #dc2626; }
.wd-auth-alt { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.wd-auth-alt a { font-size: 12.5px; color: var(--accent); text-decoration: none; }
.wd-auth-alt a:hover { text-decoration: underline; }

.wd-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.wd-tab { font-family: inherit; cursor: pointer; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-secondary); padding: 9px 16px; border-radius: 12px; font-size: 13.5px; display: inline-flex; align-items: center; gap: 7px; transition: .18s; }
.wd-tab:hover { color: var(--text-primary); }
.wd-tab.active { background: var(--gradient-main); color: #fff; border-color: transparent; box-shadow: var(--shadow-colored); }
[data-theme="vip"] .wd-tab.active { color: #241a05; }
.wd-badge { background: #e5484d; color: #fff; font-size: 11px; border-radius: 999px; padding: 1px 7px; }

.wd-pane { display: none; }
.wd-pane.active { display: block; }

.wd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.wd-card { background: var(--gradient-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px; display: flex; flex-direction: column; gap: 8px; transition: transform .18s, border-color .18s, box-shadow .18s; position: relative; }
.wd-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-colored); }
.wd-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-secondary); border: 1px solid var(--border); }
.wd-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wd-img.noimg::after { content: "\f03e"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--text-muted); opacity: .4; font-size: 30px; }
.wd-card .wd-n { font-size: 15px; font-weight: 700; }
.wd-card .wd-d { font-size: 12.5px; color: var(--text-secondary); line-height: 1.6; min-height: 32px; }
.wd-meta { display: flex; flex-wrap: wrap; gap: 6px; }

.wd-cfoot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.wd-cfoot > span { display: flex; gap: 6px; flex-wrap: wrap; }
.wd-p { font-size: 18px; font-weight: 800; color: var(--accent-secondary); }
.wd-market { font-size: 12px; font-weight: 400; color: var(--text-muted); margin-left: 6px; }

.wd-tag { font-size: 11px; border-radius: 999px; padding: 2px 8px; border: 1px solid var(--border); color: var(--text-secondary); }
.wd-tag.free { color: #22c55e; border-color: rgba(34,197,94,.45); }
.wd-tag.off { color: var(--text-muted); opacity: .8; }
[data-theme="light"] .wd-tag.free { color: #16a34a; }


.wd-card, .wd-row, .wd-cartbar, .wd-img, .wd-addr-opt { border-radius: 12px; }
.wd-modal-card { border-radius: 14px; }
.wd-field input, .pq-link input, .wd-qty, .wd-chip, .wd-spec .wd-chip { border-radius: 12px; }
.wd-card .wd-n { font-size: 14.5px; line-height: 1.5; }
.wd-card .wd-d { font-size: 12.5px; color: var(--text-tertiary); }
.wd-toast.warn { border-color: rgba(255,159,67,.6); }

.wd-btn { font-family: inherit; cursor: pointer; border-radius: var(--radius-sm); border: 1px solid var(--border); padding: 8px 15px; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; transition: .16s; background: var(--bg-secondary); color: var(--text-primary); text-decoration: none; }
.wd-btn:hover { border-color: var(--accent); }
.wd-btn.primary { background: var(--gradient-main); border-color: transparent; color: #fff; box-shadow: var(--shadow-colored); }
[data-theme="vip"] .wd-btn.primary { color: #241a05; }
.wd-btn.ghost { background: transparent; color: var(--text-secondary); }
.wd-btn:disabled { opacity: .55; cursor: default; }
.wd-btn.sm { padding: 5px 11px; font-size: 12px; border-radius: 8px; }

.wd-empty { text-align: center; color: var(--text-muted); padding: 46px 0; font-size: 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.wd-empty i { font-size: 34px; opacity: .5; }
.wd-tip { font-size: 12px; color: var(--text-muted); }

.wd-list { display: flex; flex-direction: column; gap: 10px; }
.wd-row { background: var(--gradient-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 16px; }
.wd-row .wd-r-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wd-row .wd-r-img { width: 48px; height: 48px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-secondary); flex: none; }
.wd-row .wd-r-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wd-row .wd-r-title { font-weight: 700; font-size: 14px; }
.wd-row .wd-r-sub { font-size: 12px; color: var(--text-muted); }
.wd-row .wd-r-right { margin-left: auto; text-align: right; }
.wd-row .wd-r-amt { font-weight: 700; }
.wd-st { font-size: 11px; border-radius: 999px; padding: 2px 9px; border: 1px solid var(--border); color: var(--text-secondary); }
.wd-st.ok { color: #22c55e; border-color: rgba(34,197,94,.4); }
.wd-st.warn { color: #ff9f43; border-color: rgba(255,159,67,.4); }
.wd-st.bad { color: #e5484d; border-color: rgba(229,72,77,.4); }
[data-theme="light"] .wd-st.ok { color: #16a34a; }
[data-theme="light"] .wd-st.bad { color: #dc2626; }

.wd-cartbar { position: sticky; bottom: 0; margin-top: 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); }
.wd-cartbar b { color: var(--accent-secondary); font-size: 17px; }
.wd-qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.wd-qty button { font-family: inherit; width: 28px; height: 28px; border: none; background: var(--bg-secondary); color: var(--text-primary); cursor: pointer; font-size: 15px; }
.wd-qty button:hover { background: var(--accent); color: #fff; }
.wd-qty span { width: 40px; text-align: center; font-size: 13px; }
.wd-pager { display: flex; justify-content: center; gap: 12px; align-items: center; margin-top: 16px; font-size: 13px; color: var(--text-secondary); }

.wd-spec { margin-bottom: 12px; }
.wd-spec-name { font-size: 12.5px; color: var(--text-secondary); margin-bottom: 6px; }
.wd-spec-vals { display: flex; flex-wrap: wrap; gap: 8px; }
.wd-chip { font-family: inherit; cursor: pointer; border: 1px solid var(--border); background: var(--bg-secondary); color: var(--text-primary); border-radius: 8px; padding: 6px 14px; font-size: 13px; transition: .15s; }
.wd-chip:hover { border-color: var(--accent); }
.wd-chip.on { background: var(--gradient-main); border-color: transparent; color: #fff; }
[data-theme="vip"] .wd-chip.on { color: #241a05; }
.wd-chip.dis { opacity: .45; text-decoration: line-through; cursor: default; }
.wd-sku-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-secondary); margin: 6px 0 10px; }
.wd-sku-price { font-size: 20px; font-weight: 800; color: var(--accent-secondary); }
.wd-sku-price small { font-size: 12px; font-weight: 400; color: var(--text-muted); margin-left: 6px; }
.wd-sku-warn { font-size: 12px; color: #ff9f43; margin-top: 4px; display: block; }

.wd-addr-toolbar { margin-bottom: 12px; }
.wd-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.wd-field input { font-family: inherit; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-primary); color: var(--text-primary); outline: none; }
.wd-field input:focus { border-color: var(--accent); }
.wd-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; }
.wd-co-addr { margin-bottom: 12px; display: flex; flex-direction: column; gap: 8px; }
.wd-addr-opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; cursor: pointer; font-size: 13px; }
.wd-addr-opt.on { border-color: var(--accent); background: var(--bg-card); }
.wd-addr-opt input { margin-top: 3px; }
.wd-co-addr-none { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }

.wd-modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; background: rgba(16, 48, 96, .40); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 16px; }
.wd-modal.show { display: flex; }
.wd-modal-card { width: min(560px, 96vw); max-height: 90vh; display: flex; flex-direction: column; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.wd-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 15px 18px; border-bottom: 1px solid var(--border); }
.wd-modal-head h3 { font-size: 15.5px; display: flex; align-items: center; gap: 8px; }
.wd-modal-head i { color: var(--accent); }
.wd-modal-x { background: none; border: none; color: var(--text-muted); font-size: 22px; cursor: pointer; line-height: 1; }
.wd-modal-x:hover { color: var(--text-primary); }
.wd-modal-body { padding: 16px 18px; overflow: auto; }
.wd-modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 13px 18px; border-top: 1px solid var(--border); }
.wd-co-items { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.wd-co-item { display: flex; justify-content: space-between; font-size: 13.5px; gap: 8px; }
.wd-co-item span { color: var(--text-secondary); }
.wd-co-lines { border-top: 1px dashed var(--border); padding-top: 10px; display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--text-secondary); }
.wd-co-total { margin-top: 14px; text-align: right; font-size: 13.5px; color: var(--text-secondary); }
.wd-co-total b { font-size: 20px; color: var(--accent-secondary); margin-left: 6px; }

.wd-toast { position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%) translateY(20px); background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border); border-radius: 12px; padding: 11px 18px; font-size: 13.5px; opacity: 0; pointer-events: none; transition: .22s; z-index: 300; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); max-width: 86vw; }
.wd-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.wd-toast.ok { border-color: rgba(34,197,94,.55); }
.wd-toast.err { border-color: rgba(229,72,77,.6); color: #ff8589; }
[data-theme="light"] .wd-toast.err { color: #dc2626; }

@media (max-width: 640px) {
    .wd-wrap { padding: 14px 10px 70px; }
    .wd-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
    .wd-card { padding: 10px; }
    .wd-card .wd-n { font-size: 13.5px; }
    .wd-card .wd-d { min-height: 0; font-size: 11.5px; }
    .wd-cfoot { flex-direction: column; align-items: stretch; gap: 8px; }
    .wd-cfoot > span { display: flex; gap: 6px; }
    .wd-cfoot > span .wd-btn { flex: 1; justify-content: center; }
    .wd-cartbar { flex-direction: column; align-items: stretch; gap: 8px; }
    .wd-modal-card { max-height: 94vh; }
}


.wd-top { gap: 14px; padding: 12px clamp(14px, 4vw, 40px); }
.wd-logo {
    width: 34px; height: 34px; border-radius: 11px; display: inline-flex;
    align-items: center; justify-content: center; flex: 0 0 auto;
    background: linear-gradient(135deg, #2563eb, #38bdf8); color: #fff; font-size: 15px;
    box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .65);
}
.wd-logo.sm { width: 26px; height: 26px; border-radius: 9px; font-size: 12px; }
.wd-brand { gap: 10px; }
.wd-brand-txt { display: flex; flex-direction: column; line-height: 1.25; }
.wd-brand-txt b { font-size: 16px; letter-spacing: .3px; }
.wd-brand-txt small { font-size: 11px; font-weight: 400; color: var(--text-muted); }

.wd-hero { padding: 4px clamp(12px, 3vw, 24px) 0; }
.wd-hero-inner {
    max-width: 1080px; margin: 0 auto;
    background: var(--gradient-card); border: 1px solid var(--border);
    border-radius: 16px; padding: 28px clamp(18px, 3vw, 34px);
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
    box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.wd-hero-inner::after {
    content: ''; position: absolute; right: -60px; top: -80px;
    width: 260px; height: 260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, .30), transparent 68%);
    pointer-events: none;
}
.wd-hero-txt { flex: 1 1 320px; min-width: 260px; position: relative; z-index: 1; }
.wd-hero-tag {
    display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
    color: var(--accent); background: rgba(37, 99, 235, .1); border: 1px solid var(--border);
    padding: 4px 11px; border-radius: 999px; margin-bottom: 12px;
}
.wd-hero-txt h1 { font-size: clamp(22px, 3.4vw, 30px); line-height: 1.3; margin-bottom: 10px; letter-spacing: .5px; }
.wd-hero-txt p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 16px; }
.wd-hero-ops { display: flex; gap: 10px; flex-wrap: wrap; }
.wd-hero-card {
    flex: 0 1 260px; min-width: 220px; position: relative; z-index: 1;
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow);
}
.wd-hero-card { text-align: center; justify-content: center; }
.wd-hero-card small { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--text-secondary); }
.wd-hero-card b { display: block; font-size: 32px; margin: 8px 0 0; color: var(--accent); letter-spacing: .5px; }
.wd-hero-card b.sm { font-size: 19px; color: var(--text-primary); }
.wd-hero-note { display: block; font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.wd-hero-card.guest { border-style: dashed; }
.wd-hero-guest-ops { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.wd-hero-guest-ops .wd-btn { flex: 1; justify-content: center; }

.wd-tabs { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 5px; gap: 4px; margin-bottom: 20px; }
.wd-tab { border: none; background: transparent; border-radius: 10px; padding: 9px 18px; }
.wd-tab.active { box-shadow: 0 8px 18px -8px rgba(37, 99, 235, .6); }
.wd-tab:not(.active):hover { background: var(--bg-secondary); }

.wd-cart-over {
    margin-top: 12px; padding: 10px 14px; border-radius: 12px; font-size: 12.5px;
    color: #b4430f; background: rgba(255, 122, 69, .10);
    border: 1px solid rgba(255, 122, 69, .32);
    display: flex; align-items: center; gap: 7px;
}
.wd-cartbar button:disabled { opacity: .5; cursor: not-allowed; }


.wd-foot-site { margin-top: 56px; border-top: 1px solid var(--border); background: var(--bg-card); }
.wd-foot-in { max-width: 1080px; margin: 0 auto; padding: 30px clamp(14px, 3vw, 24px) 34px; text-align: center; }
.wd-foot-b { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.wd-foot-in p { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.75; }
.wd-foot-l { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.wd-foot-l a { font-size: 13px; color: var(--accent); text-decoration: none; }
.wd-foot-l a:hover { text-decoration: underline; }
.wd-foot-in small { font-size: 12px; color: var(--text-muted); line-height: 1.8; display: block; }

@media (max-width: 640px) {
  .wd-hero-inner { padding: 20px 16px; gap: 16px; }
  .wd-hero-card { flex: 1 1 100%; }
  .wd-tabs { border-radius: var(--radius-md); }
}


.wd-searchbar { margin-bottom: 14px; }
.wd-search {
    display: flex; align-items: center; gap: 8px; background: var(--bg-card);
    border: 1.5px solid var(--border); border-radius: 999px; padding: 0 6px 0 16px;
    height: 42px; transition: .18s;
}
.wd-search:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.wd-search > i { color: var(--text-tertiary); font-size: 14px; flex: none; }
.wd-search input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
    font-family: inherit; font-size: 14px; color: var(--text-primary);
    height: 100%; padding: 0;
}
.wd-search input::placeholder { color: var(--text-tertiary); }

.wd-search input::-webkit-search-decoration,
.wd-search input::-webkit-search-cancel-button,
.wd-search input::-webkit-search-results-button { -webkit-appearance: none; appearance: none; }
.wd-search-clear {
    flex: none; border: 0; background: transparent; cursor: pointer; padding: 6px;
    color: var(--text-tertiary); font-size: 15px; line-height: 1; border-radius: 50%;
}
.wd-search-clear:hover { color: var(--text-secondary); }
.wd-search-go {
    flex: none; border: 0; cursor: pointer; width: 32px; height: 32px; border-radius: 50%;
    background: var(--gradient-main); color: #fff; font-size: 13px;
    display: inline-flex; align-items: center; justify-content: center; transition: .16s;
}
.wd-search-go:hover { opacity: .9; transform: translateX(1px); }
[data-theme="vip"] .wd-search-go { color: #241a05; }
.wd-search-hint {
    font-size: 12px; color: var(--text-tertiary); padding: 7px 4px 0; min-height: 16px;
}
.wd-search-hint b { color: var(--accent); font-weight: 600; }
.wd-search-hint .kw { color: var(--text-primary); font-weight: 600; }
.wd-search-hint button {
    font-family: inherit; cursor: pointer; border: 0; background: rgba(37, 99, 235, .1);
    color: var(--accent); border-radius: 999px; padding: 2px 9px; font-size: 11px; margin: 0 3px;
}
.wd-search-hint button:hover { background: rgba(37, 99, 235, .2); }

.wd-n mark, .wd-d mark { background: rgba(250, 204, 21, .45); color: inherit; border-radius: 3px; padding: 0 1px; }


.wd-shopname {
    display: flex; align-items: center; gap: 4px; font-size: 12px;
    color: var(--text-tertiary); margin: -2px 0 6px; min-width: 0;
}
.wd-shopname i { font-size: 10px; flex: none; }
.wd-shopname span {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wd-shopname:hover { color: var(--accent); }
.wd-tag.store { color: var(--accent); border-color: rgba(37, 99, 235, .4); }
.wd-tag.store i { font-size: 10px; margin-right: 3px; }


.wd-share {
    position: absolute; top: 8px; right: 8px; z-index: 2;
    width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--border);
    background: rgba(255, 255, 255, .88); color: var(--text-secondary);
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; transition: .15s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.wd-share:hover { color: var(--accent); border-color: var(--accent); transform: scale(1.06); }
[data-theme="dark"] .wd-share { background: rgba(13, 25, 48, .78); }
.wd-share.noimg-pos { top: 20px; right: 20px; }
.wd-share-row { margin-top: 10px; }


.pq-box { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.pq-amount { font-size: 30px; font-weight: 800; color: var(--accent-secondary); letter-spacing: .5px; }
.pq-qr {
    padding: 10px; background: #fff; border-radius: 12px; border: 1px solid var(--border);
    min-width: 196px; min-height: 196px; display: flex; align-items: center; justify-content: center;
    font-size: 12px; word-break: break-all; color: #334155; line-height: 1.6;
}
.pq-qr img, .pq-qr canvas { width: 176px; height: 176px; display: block; }
.pq-tip { font-size: 12.5px; color: var(--text-secondary); line-height: 1.8; max-width: 340px; }
.pq-tip b { color: var(--accent); }
.pq-count { font-size: 13px; font-weight: 700; color: #ff9f43; }
.pq-link { display: flex; gap: 8px; width: 100%; max-width: 380px; }
.pq-link input {
    flex: 1; min-width: 0; font-family: inherit; font-size: 12px; padding: 9px 10px;
    border-radius: 8px; border: 1px solid var(--border); background: var(--bg-primary);
    color: var(--text-secondary); outline: none;
}
.pq-state { text-align: center; padding: 18px 6px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pq-state i.big { font-size: 46px; }
.pq-state.ok i.big { color: #22c55e; }
.pq-state.bad i.big { color: var(--text-muted); }
.pq-state h4 { font-size: 16.5px; }
.pq-state p { font-size: 13px; color: var(--text-secondary); line-height: 1.8; max-width: 340px; }


.pay-wrap { max-width: 520px; margin: 0 auto; padding: 26px clamp(12px, 3vw, 24px) 60px; }
.pay-card {
    background: var(--gradient-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 26px clamp(16px, 3vw, 28px); box-shadow: var(--shadow); text-align: center;
}
.pay-invite { font-size: 12.5px; color: var(--text-secondary); margin-bottom: 4px; }
.pay-amount { font-size: 40px; font-weight: 800; color: var(--accent); margin: 10px 0 4px; letter-spacing: .5px; }
.pay-amount small { font-size: 13px; font-weight: 400; color: var(--text-muted); display: block; margin-top: 4px; }
.pay-goods { text-align: left; margin: 18px 0 0; border-top: 1px dashed var(--border); padding-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.pay-goods .wd-co-item span { color: var(--text-secondary); }
.pay-state { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0 4px; }
.pay-state i.big { font-size: 52px; }
.pay-state.ok i.big { color: #22c55e; }
.pay-state.bad i.big { color: var(--text-muted); }
.pay-state.warn i.big { color: #ff9f43; }
.pay-state h4 { font-size: 17px; }
.pay-state p { font-size: 13px; color: var(--text-secondary); line-height: 1.8; }
.pay-count { font-size: 13.5px; font-weight: 700; color: #ff9f43; }
.pay-ops { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.pay-foot { text-align: center; font-size: 11.5px; color: var(--text-muted); margin-top: 18px; line-height: 1.8; }
