:root {
  --paper: #f5f0e6;
  --paper-deep: #ebe1cf;
  --paper-light: #fffdf8;
  --ink: #18201d;
  --ink-soft: #59605b;
  --vermilion: #9f2824;
  --vermilion-dark: #741b18;
  --gold: #ad8350;
  --gold-soft: #d5ba8b;
  --jade: #2f6256;
  --line: rgba(67, 54, 38, .16);
  --shadow: 0 20px 60px rgba(42, 32, 20, .10);
  --radius: 20px;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Serif SC", "Songti SC", "STSong", "Microsoft YaHei", serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.desktop-only { display: initial; }
.paper-noise {
  position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: .18; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
}

.top-ribbon { background: var(--ink); color: #ece3d3; font-size: 12px; letter-spacing: .08em; }
.top-ribbon-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pulse-dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: #d7b273; border-radius: 50%; box-shadow: 0 0 0 5px rgba(215,178,115,.12); }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,247,239,.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.nav-shell { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 42px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-seal {
  display: grid; place-items: center; width: 42px; height: 42px; color: #fff8ea; background: var(--vermilion);
  border-radius: 6px 6px 9px 5px; border: 1px solid rgba(255,255,255,.38); outline: 1px solid var(--vermilion); outline-offset: 3px;
  font-size: 24px; font-weight: 800; line-height: 1;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 21px; letter-spacing: .12em; }
.brand-copy small { margin-top: 5px; color: var(--gold); font: 600 9px/1.1 Arial, sans-serif; letter-spacing: .18em; }
.main-nav { justify-self: center; display: flex; align-items: center; gap: 6px; }
.main-nav a, .nav-link-button { position: relative; padding: 27px 17px 25px; border: 0; color: #4a4f4b; background: none; cursor: pointer; font-size: 14px; letter-spacing: .05em; }
.main-nav a::after, .nav-link-button::after { content: ""; position: absolute; left: 50%; bottom: 16px; width: 0; height: 2px; background: var(--vermilion); transform: translateX(-50%); transition: width .25s ease; }
.main-nav a:hover::after, .main-nav a.active::after, .nav-link-button:hover::after { width: 20px; }
.main-nav a.active { color: var(--vermilion); font-weight: 700; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; }

.account-menu { position: relative; }
.account-menu > summary { list-style: none; }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-trigger {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) 18px; align-items: center; gap: 10px; width: 244px; min-height: 52px;
  padding: 5px 10px 5px 6px; color: var(--ink); background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 10px 28px rgba(42,32,20,.08); cursor: pointer; user-select: none;
}
.account-trigger:hover { background: #fffdf8; border-color: rgba(173,131,80,.38); }
.account-avatar { display: grid; place-items: center; width: 38px; height: 38px; color: #fff9ec; background: linear-gradient(145deg, #bd6959, #77342e); border-radius: 50%; font-size: 16px; font-weight: 800; box-shadow: inset 0 0 0 3px rgba(255,255,255,.18); }
.account-trigger-copy { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.account-trigger-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 13px/1.25 Arial, sans-serif; }
.account-trigger-copy small { margin-top: 3px; color: #77736e; font-size: 11px; }
.account-chevron { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s ease; }
.account-menu[open] .account-chevron { transform: rotate(180deg); }
.account-popover {
  position: absolute; z-index: 240; top: calc(100% + 10px); right: 0; width: 250px; padding: 12px;
  color: #33363b; background: rgba(255,255,255,.98); border: 1px solid rgba(70,76,85,.14); border-radius: 18px;
  box-shadow: 0 22px 55px rgba(31,35,42,.18); animation: account-menu-in .16s ease-out;
}
@keyframes account-menu-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.account-popover a, .account-popover button { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 11px; width: 100%; min-height: 47px; padding: 7px 9px; border: 0; border-radius: 10px; color: inherit; background: transparent; text-align: left; font-size: 15px; }
.account-popover a:hover, .account-popover button:hover { background: #f5f3ef; }
.account-popover svg { width: 23px; height: 23px; fill: none; stroke: #6f757d; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.account-popover form { margin: 0; }
.account-popover button { cursor: pointer; }
.account-popover form:last-child button { color: #e24345; }
.account-popover form:last-child svg { stroke: currentColor; }
.account-menu-separator { display: block; height: 1px; margin: 8px 2px; background: #e0e1e3; }

.button {
  min-height: 46px; padding: 0 23px; border: 1px solid transparent; border-radius: 5px 9px 5px 9px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  cursor: pointer; font-weight: 700; letter-spacing: .04em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.compact { min-height: 38px; padding: 0 16px; font-size: 13px; }
.button-vermilion { color: #fff8ec; background: var(--vermilion); box-shadow: 0 10px 25px rgba(159,40,36,.18); }
.button-vermilion:hover { background: var(--vermilion-dark); box-shadow: 0 13px 30px rgba(159,40,36,.25); }
.button-ink { color: #f9f4e8; background: var(--ink); }
.button-ghost { color: var(--ink); background: rgba(255,255,255,.38); border-color: var(--line); }
.button-ghost:hover { background: #fffaf0; border-color: var(--gold-soft); }
.button-wide { width: 100%; }
.button-disabled { color: #8b8c86; background: #dfddd5; cursor: not-allowed; }
.button-disabled:hover { transform: none; }

.messages { position: fixed; top: 92px; right: 20px; z-index: 300; width: min(400px, calc(100% - 40px)); }
.message { margin-bottom: 10px; padding: 14px 18px; border: 1px solid var(--line); border-left: 4px solid var(--jade); background: var(--paper-light); border-radius: 4px; box-shadow: var(--shadow); font-size: 14px; }
.message-error { border-left-color: var(--vermilion); }
.message-success { border-left-color: #307150; }

.hero { position: relative; overflow: hidden; min-height: 570px; background: linear-gradient(120deg, #f7f1e5 0%, #f1e8d8 56%, #e6d6be 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .6; background: radial-gradient(circle at 82% 22%, rgba(170,73,52,.12), transparent 24%), repeating-linear-gradient(90deg, transparent 0 112px, rgba(89,65,37,.035) 113px); }
.hero-grid { position: relative; z-index: 2; min-height: 570px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 80px; align-items: center; padding-block: 70px; }
.hero-copy { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font: 700 11px/1.4 Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.mini-seal { display: inline-grid; place-items: center; width: 24px; height: 24px; color: var(--vermilion); border: 1px solid currentColor; border-radius: 3px; font-family: serif; font-size: 13px; letter-spacing: 0; }
.hero h1 { max-width: 690px; margin: 22px 0 18px; font-size: clamp(44px, 5.2vw, 74px); line-height: 1.16; letter-spacing: .045em; font-weight: 800; }
.hero h1::first-letter { color: var(--vermilion); }
.hero-copy > p { max-width: 620px; margin: 0; color: var(--ink-soft); font-size: 17px; letter-spacing: .03em; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 38px; color: #525955; font-size: 13px; }
.trust-row span { display: inline-flex; align-items: center; gap: 9px; }
.trust-row b { display: grid; place-items: center; width: 29px; height: 29px; color: var(--jade); border: 1px solid rgba(47,98,86,.3); border-radius: 50%; font-size: 12px; }
.hero-card { position: relative; padding: 42px 38px 34px; color: #f7efdf; background: linear-gradient(155deg, rgba(26,34,31,.97), rgba(49,58,51,.98)); border: 1px solid rgba(213,186,139,.44); border-radius: 140px 140px 12px 12px; box-shadow: 0 35px 70px rgba(39,28,16,.2); text-align: center; }
.hero-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(213,186,139,.24); border-radius: inherit; pointer-events: none; }
.hero-card-kicker { color: var(--gold-soft); font-size: 12px; letter-spacing: .28em; }
.hero-card > strong { display: block; margin: 24px 0; font-size: 36px; line-height: 1.35; letter-spacing: .16em; }
.ink-divider { width: 80px; height: 1px; margin: 0 auto 20px; background: linear-gradient(90deg, transparent, var(--gold-soft), transparent); }
.hero-card > p { color: rgba(255,248,235,.67); font-size: 13px; }
.hero-card-stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-card-stats span { padding: 22px 8px 0; color: rgba(255,255,255,.54); font-size: 10px; }
.hero-card-stats span + span { border-left: 1px solid rgba(255,255,255,.12); }
.hero-card-stats b { display: block; color: #f7efdf; font-size: 14px; }
.hero-landscape { position: absolute; left: 0; right: 0; bottom: -38px; height: 210px; opacity: .13; filter: blur(.3px); }
.hero-landscape i { position: absolute; bottom: 0; width: 50%; height: 100%; background: var(--ink); clip-path: polygon(0 100%, 10% 72%, 18% 84%, 31% 40%, 40% 66%, 54% 20%, 68% 68%, 80% 45%, 100% 100%); }
.hero-landscape i:nth-child(2) { left: 33%; transform: scale(.75); opacity: .7; }
.hero-landscape i:nth-child(3) { right: -10%; transform: scale(.92); opacity: .5; }

.announcement-strip { background: var(--vermilion); color: #fff6e6; }
.announcement-inner { min-height: 74px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.announcement-label { padding: 5px 9px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; font-size: 12px; letter-spacing: .12em; }
.announcement-copy { display: flex; align-items: baseline; gap: 16px; min-width: 0; }
.announcement-copy strong { white-space: nowrap; }
.announcement-copy span { overflow: hidden; color: rgba(255,246,230,.75); text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.announcement-inner button { border: 0; color: #fff; background: transparent; cursor: pointer; font-weight: 700; }

.catalog-section { padding: 92px 0 110px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.section-heading h2 { margin: 8px 0 4px; font-size: clamp(30px, 3vw, 43px); line-height: 1.25; letter-spacing: .05em; }
.section-heading p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.section-heading.centered { justify-content: center; text-align: center; }
.search-form { display: flex; width: min(440px, 100%); padding: 5px; background: rgba(255,255,255,.48); border: 1px solid var(--line); border-radius: 8px; }
.search-form label { flex: 1; min-width: 0; }
.search-form input { width: 100%; min-width: 0; height: 44px; padding: 0 14px; border: 0; outline: 0; background: transparent; }
.search-form .button { min-height: 44px; }
.catalog-layout { display: grid; grid-template-columns: 242px minmax(0,1fr); gap: 34px; align-items: start; }
.category-panel { position: sticky; top: 102px; padding: 24px 16px 18px; background: rgba(255,253,248,.65); border: 1px solid var(--line); border-radius: 4px 18px 4px 18px; box-shadow: 0 16px 35px rgba(49,38,24,.06); }
.category-title { display: flex; align-items: end; justify-content: space-between; padding: 0 8px 16px; border-bottom: 1px solid var(--line); }
.category-title span { font-size: 18px; font-weight: 800; letter-spacing: .08em; }
.category-title small { color: var(--gold); font: 700 8px Arial; letter-spacing: .16em; }
.category-list { display: flex; flex-direction: column; gap: 4px; padding-block: 12px; }
.category-list a { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 10px; min-height: 50px; padding: 7px 10px; border-radius: 7px; color: #4e544f; transition: .2s ease; }
.category-list a:hover, .category-list a.active { color: var(--vermilion); background: #efe4d2; }
.category-list a.active { box-shadow: inset 3px 0 var(--vermilion); }
.category-icon { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--gold-soft); border-radius: 50%; color: var(--jade); font-size: 12px; }
.category-icon.red { color: var(--vermilion); }
.category-list b { font-size: 14px; }
.category-list em { color: #9c9589; font: normal 10px Arial; }
.mobile-category-rail { display: none; }
.product-area { min-width: 0; }
.product-toolbar { display: flex; justify-content: space-between; align-items: center; min-height: 48px; margin-bottom: 16px; padding: 0 6px; color: var(--ink-soft); font-size: 12px; }
.product-toolbar div { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 15px; }
.brush-mark { width: 20px; height: 9px; background: var(--vermilion); clip-path: polygon(0 42%, 100% 0, 82% 100%, 8% 82%); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.product-card { overflow: hidden; background: rgba(255,253,248,.74); border: 1px solid var(--line); border-radius: 5px 18px 5px 18px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(173,131,80,.38); box-shadow: var(--shadow); }
.product-visual { position: relative; display: grid; place-items: center; height: 138px; overflow: hidden; background: linear-gradient(140deg, #e8dcc7, #d6c1a0); }
.product-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, transparent 49.7%, rgba(86,66,42,.07) 50%), linear-gradient(transparent 49.7%, rgba(86,66,42,.07) 50%); background-size: 28px 28px; opacity: .4; }
.product-monogram { position: relative; z-index: 2; display: grid; place-items: center; width: 66px; height: 66px; border: 1px solid rgba(127,29,29,.5); border-radius: 50%; color: var(--vermilion); background: rgba(250,244,230,.72); box-shadow: inset 0 0 0 6px rgba(255,255,255,.34); font-weight: 800; font-size: 21px; }
.visual-cloud { position: absolute; width: 110px; height: 24px; border-top: 2px solid rgba(47,98,86,.24); border-radius: 50%; }
.cloud-one { left: -20px; bottom: 20px; transform: rotate(8deg); }
.cloud-two { right: -28px; top: 26px; transform: rotate(-8deg); }
.corner-ribbon { position: absolute; z-index: 4; right: 12px; top: 0; padding: 8px 7px 12px; color: #fff6e7; background: var(--vermilion); clip-path: polygon(0 0,100% 0,100% 82%,50% 100%,0 82%); font-size: 10px; }
.product-body { padding: 18px 18px 16px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 25px; }
.tag { padding: 3px 7px; color: #756b5d; background: #eee5d6; border-radius: 3px; font: 10px Arial, sans-serif; }
.tag-delivery { color: var(--jade); background: #e1ebe4; }
.tag-red { color: var(--vermilion); background: #f0ded7; }
.product-body h3 { min-height: 50px; margin: 11px 0 7px; font-size: 15px; line-height: 1.65; }
.product-body h3 a:hover { color: var(--vermilion); }
.product-body > p { min-height: 43px; margin: 0 0 14px; color: #79786f; font-size: 11px; }
.product-footer { display: flex; align-items: end; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.price { display: flex; align-items: baseline; color: var(--vermilion); font-family: Arial, sans-serif; }
.price small { font-weight: 800; }
.price strong { font-size: 26px; line-height: 1; }
.price span { margin-left: 5px; color: #9d9386; font-size: 9px; }
.stock { color: #858076; font-size: 10px; }
.stock i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; background: #3f8463; border-radius: 50%; box-shadow: 0 0 0 3px rgba(63,132,99,.12); }
.product-buy { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; padding-top: 11px; color: var(--vermilion); border-top: 1px solid rgba(159,40,36,.12); font-size: 12px; font-weight: 800; }
.product-buy.disabled { color: #99938a; }
.sold-out { opacity: .68; }
.empty-state { grid-column: 1/-1; padding: 70px 30px; text-align: center; background: rgba(255,255,255,.35); border: 1px dashed var(--line); }
.empty-state > span { display: grid; place-items: center; width: 55px; height: 55px; margin: 0 auto; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); }
.empty-state h3 { margin-bottom: 0; }
.empty-state p { color: var(--ink-soft); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pagination a, .pagination span { min-width: 36px; height: 36px; padding: 0 11px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.42); font: 700 11px Arial, sans-serif; }
.pagination a:hover, .pagination span { color: #fff6e8; background: var(--vermilion); border-color: var(--vermilion); }

.service-steps { padding: 86px 0; color: #f9f2e5; background: var(--ink); }
.service-steps .section-heading { margin-bottom: 46px; }
.service-steps h2 { color: #fff8ec; }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.step-grid article { display: flex; align-items: center; gap: 17px; padding: 28px 22px; }
.step-grid article + article { border-left: 1px solid rgba(255,255,255,.14); }
.step-grid article > span { color: var(--gold-soft); font-size: 26px; }
.step-grid b { font-size: 14px; }
.step-grid p { margin: 2px 0 0; color: rgba(255,255,255,.5); font-size: 11px; }

.inner-hero { padding: 74px 0 64px; background: linear-gradient(135deg, #e9ddc8, #f7f1e6); border-bottom: 1px solid var(--line); text-align: center; }
.inner-hero h1 { margin: 14px 0 7px; font-size: clamp(34px, 4vw, 52px); letter-spacing: .08em; }
.inner-hero p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.compact-hero { padding: 48px 0 42px; }
.compact-hero h1 { font-size: 36px; }
.detail-section, .form-section, .order-detail-section, .account-section, .help-section { padding: 72px 0 100px; }
.detail-grid { display: grid; grid-template-columns: .9fr 1.15fr; gap: 48px 66px; align-items: start; }
.detail-visual { position: relative; display: grid; place-items: center; min-height: 430px; overflow: hidden; background: linear-gradient(145deg,#e4d5bd,#c9ad85); border-radius: 6px 32px 6px 32px; box-shadow: var(--shadow); }
.detail-visual::before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(255,255,255,.45); border-radius: inherit; }
.detail-emblem { position: relative; z-index: 2; display: grid; place-items: center; width: 130px; height: 130px; color: var(--vermilion); background: rgba(255,250,238,.75); border: 2px solid rgba(159,40,36,.5); border-radius: 50%; font-size: 40px; font-weight: 900; box-shadow: inset 0 0 0 12px rgba(255,255,255,.38); }
.detail-stamp { position: absolute; right: 28px; bottom: 24px; padding: 9px; color: var(--vermilion); border: 2px solid currentColor; transform: rotate(-5deg); font-size: 12px; font-weight: 800; line-height: 1.3; }
.cloud-line { position: absolute; left: -10%; bottom: 18%; width: 120%; height: 85px; border-top: 2px solid rgba(47,98,86,.2); border-radius: 50%; }
.detail-main > h1 { margin: 15px 0 13px; font-size: clamp(28px,3vw,40px); line-height: 1.4; }
.detail-summary { color: var(--ink-soft); }
.price-panel { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 18px; margin: 25px 0; padding: 22px 25px; background: #e9dfcf; border-left: 3px solid var(--vermilion); }
.price-panel > span { font-size: 12px; }
.price-panel .price strong { font-size: 38px; }
.price-panel em { color: var(--jade); font-size: 11px; font-style: normal; }
.detail-meta { margin: 0 0 28px; }
.detail-meta > div { display: grid; grid-template-columns: 90px 1fr; padding: 11px 0; border-bottom: 1px solid var(--line); }
.detail-meta dt { color: #847d72; font-size: 12px; }
.detail-meta dd { margin: 0; font-size: 13px; }
.purchase-note, .secure-note { color: #898276; text-align: center; font-size: 10px; }
.detail-aside { grid-column: 1/-1; display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.detail-aside section { padding: 28px 30px; background: rgba(255,255,255,.46); border: 1px solid var(--line); border-radius: 5px 18px 5px 18px; }
.detail-aside h2 { margin-top: 0; font-size: 19px; }
.detail-aside p, .detail-aside li, .prose { color: var(--ink-soft); font-size: 13px; }
.inline-checkout { width: 100%; margin: 0 0 28px; scroll-margin-top: 96px; }
.detail-main .checkout-card { padding: 24px; }

.checkout-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr); gap: 34px; align-items: start; }
.form-card { padding: 34px; background: rgba(255,253,248,.76); border: 1px solid var(--line); border-radius: 5px 22px 5px 22px; box-shadow: var(--shadow); }
.form-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.form-card-head h1, .form-card-head h2 { margin: 0; font-size: 23px; }
.form-card-head p { margin: 2px 0 0; color: var(--ink-soft); font-size: 11px; }
.step-number { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; color: var(--vermilion); border: 1px solid currentColor; border-radius: 50%; font-size: 16px; font-weight: 800; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; }
.field label em { color: var(--vermilion); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 4px; outline: none; color: var(--ink); background: rgba(255,255,255,.64); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(173,131,80,.12); }
.field small { display: block; margin-top: 5px; color: #898276; font-size: 10px; }
.field small ul { padding-left: 18px; }
.errorlist { margin: 6px 0 0; padding: 0; list-style: none; color: var(--vermilion); font-size: 11px; }
.form-errors { margin-bottom: 18px; padding: 12px 14px; color: var(--vermilion-dark); background: #f3ded8; border-left: 3px solid var(--vermilion); font-size: 12px; }
.order-summary { position: sticky; top: 112px; padding: 30px; color: #f8f1e5; background: var(--ink); border-radius: 5px 22px 5px 22px; box-shadow: var(--shadow); }
.summary-product { display: flex; gap: 14px; align-items: center; margin: 22px 0; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.13); }
.summary-product > span { display: grid; place-items: center; width: 48px; height: 48px; color: var(--gold-soft); border: 1px solid rgba(213,186,139,.4); border-radius: 50%; }
.summary-product strong, .summary-product small { display: block; }
.summary-product strong { font-size: 13px; }
.summary-product small { color: rgba(255,255,255,.48); font-size: 10px; }
.order-summary dl > div { display: flex; justify-content: space-between; padding: 9px 0; color: rgba(255,255,255,.58); font-size: 12px; }
.order-summary dd { margin: 0; color: #fff; }
.order-summary .summary-total { margin-top: 12px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); color: #fff; }
.summary-total dd { color: var(--gold-soft); font-size: 18px; }
.order-summary > p { color: rgba(255,255,255,.43); font-size: 10px; }

.lookup-section { position: relative; overflow: hidden; padding: 100px 0 120px; background: linear-gradient(125deg,#e8dbc5,#f7f2e8); }
.lookup-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .8fr; gap: 80px; align-items: center; }
.lookup-copy h1 { margin: 16px 0; font-size: clamp(40px,5vw,64px); line-height: 1.25; }
.lookup-copy > p { max-width: 520px; color: var(--ink-soft); }
.lookup-copy ul { margin-top: 30px; padding: 0; list-style: none; color: #666b66; font-size: 13px; }
.lookup-copy li::before { content: "◆"; margin-right: 10px; color: var(--vermilion); font-size: 7px; }
.lookup-card { background: rgba(255,253,248,.9); }
.lookup-landscape { position: absolute; inset: 30% -10% -20%; opacity: .08; background: var(--ink); clip-path: polygon(0 100%,0 70%,12% 30%,22% 72%,37% 5%,53% 70%,68% 25%,83% 74%,100% 42%,100% 100%); }

.order-detail-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(260px,.7fr); gap: 28px; align-items: start; }
.order-paper { padding: 32px; background: rgba(255,253,248,.7); border: 1px solid var(--line); border-radius: 5px 20px 5px 20px; }
.order-paper-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.order-paper-head small, .order-paper-head strong { display: block; }
.order-paper-head small { color: var(--ink-soft); font-size: 10px; }
.order-paper-head strong { font-family: Arial; font-size: 17px; letter-spacing: .04em; }
.status { display: inline-flex; padding: 5px 9px; color: #786f63; background: #e8dfd0; border-radius: 3px; font-size: 10px; }
.status-delivered { color: #29664c; background: #dce9df; }
.status-paid { color: #7b5d22; background: #eee3c6; }
.status-pending { color: var(--vermilion); background: #f2ddd8; }
.order-paper dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 15px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.order-paper dt { color: var(--ink-soft); font-size: 12px; }
.order-paper dd { margin: 0; text-align: right; font-size: 13px; }
.order-paper dl > div.grand-total { padding-top: 22px; border: 0; }
.grand-total dd { color: var(--vermilion); font-size: 24px; font-weight: 800; }
.order-side { display: grid; gap: 18px; }
.order-side section { padding: 24px; background: rgba(255,253,248,.62); border: 1px solid var(--line); border-radius: 5px 16px 5px 16px; }
.order-side h2 { margin-top: 0; font-size: 17px; }
.order-side p { color: var(--ink-soft); font-size: 12px; }
.delivery-box { grid-column: 1/-1; padding: 30px; color: #f9f2e5; background: var(--ink); border-radius: 5px 20px 5px 20px; }
.delivery-box h2 { margin: 5px 0 22px; }
.delivery-item { display: flex; gap: 12px; align-items: center; margin-top: 9px; padding: 12px; background: rgba(255,255,255,.07); }
.delivery-item code { flex: 1; overflow-wrap: anywhere; color: #f4d9a7; }
.delivery-item button { padding: 6px 10px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.25); cursor: pointer; }

.auth-section { min-height: calc(100vh - 112px); display: grid; grid-template-columns: .85fr 1.15fr; background: var(--paper-light); }
.auth-art { position: relative; overflow: hidden; min-height: 720px; background: linear-gradient(150deg,#d5c1a0,#eee3d1); }
.auth-art .sun { position: absolute; top: 18%; left: 52%; width: 150px; height: 150px; border-radius: 50%; background: rgba(159,40,36,.78); }
.mountain { position: absolute; left: -10%; right: -10%; bottom: 0; height: 58%; background: rgba(24,32,29,.82); clip-path: polygon(0 100%,0 82%,18% 35%,35% 76%,52% 20%,70% 74%,86% 44%,100% 82%,100% 100%); }
.mountain-b { height: 45%; opacity: .4; transform: translateX(8%); }
.vertical-copy { position: absolute; z-index: 2; top: 12%; left: 16%; writing-mode: vertical-rl; font-size: 23px; letter-spacing: .3em; }
.auth-wrap { display: grid; place-items: center; padding: 60px 30px; }
.auth-card { width: min(100%, 520px); box-shadow: none; }
.auth-card .form-card-head { align-items: flex-start; }
.auth-card h1 { margin: 5px 0 0; font-size: 30px; }
.form-switch { margin-bottom: 0; text-align: center; color: var(--ink-soft); font-size: 12px; }
.form-switch a { color: var(--vermilion); font-weight: 800; }
.verification-email-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: stretch; }
.verification-email-row .verification-send { min-width: 116px; padding-inline: 14px; white-space: nowrap; }
.verification-email-row .verification-send:disabled { cursor: wait; opacity: .65; }
.verification-status { min-height: 18px; margin: 7px 0 0; color: var(--ink-soft); font-size: 11px; }
.verification-status.is-success { color: var(--jade); }
.verification-status.is-error { color: var(--vermilion); }
.staff-auth-section .auth-art { min-height: 640px; }
.totp-card { max-width: 660px; margin-inline: auto; }
.totp-steps { display: grid; gap: 8px; margin: 0 0 22px; padding-left: 22px; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.totp-qr { display: grid; place-items: center; width: fit-content; margin: 0 auto 18px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.totp-qr img { display: block; width: 248px; max-width: 100%; height: auto; }
.totp-secret { display: grid; gap: 7px; margin-bottom: 22px; padding: 14px; text-align: center; background: rgba(255,255,255,.55); border: 1px dashed var(--line); border-radius: 8px; }
.totp-secret span, .totp-secret small { color: var(--ink-soft); font-size: 11px; }
.totp-secret code { overflow-wrap: anywhere; color: var(--vermilion-dark); font: 700 15px/1.6 ui-monospace, Consolas, monospace; letter-spacing: .08em; }
.recovery-warning { margin-bottom: 18px; padding: 13px 15px; color: #75551d; background: #f3e6c6; border-left: 3px solid var(--gold); font-size: 12px; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-bottom: 24px; }
.recovery-codes code { padding: 12px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; font: 700 15px ui-monospace, Consolas, monospace; letter-spacing: .08em; }
@media (max-width: 520px) { .recovery-codes { grid-template-columns: 1fr; } }
.verification-status.is-pending { color: #7b5d22; }

.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
.stat-cards article { padding: 25px; background: rgba(255,253,248,.72); border: 1px solid var(--line); border-radius: 5px 17px 5px 17px; }
.stat-cards span, .stat-cards small { display: block; color: var(--ink-soft); font-size: 10px; }
.stat-cards strong { display: block; margin: 7px 0; color: var(--vermilion); font: 800 27px Arial, sans-serif; }
.stat-cards button { padding: 0; border: 0; color: var(--jade); background: transparent; cursor: pointer; font-size: 10px; }
.stat-cards a { color: var(--jade); font-size: 10px; font-weight: 700; }
.secondary-table { margin-top: 24px; }

/* 个人中心 */
.account-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.account-sidebar { position: sticky; top: 96px; padding: 22px 16px; background: var(--paper-light); border: 1px solid var(--line); border-radius: 5px 20px 5px 20px; }
.account-sidebar > .eyebrow { display: block; margin: 0 12px 14px; }
.account-section-nav { display: grid; gap: 8px; }
.account-section-nav a { display: block; padding: 12px 14px; color: var(--ink); border-radius: 4px 12px 4px 12px; font-size: 13px; font-weight: 800; }
.account-section-nav a:hover, .account-section-nav a:focus-visible { color: var(--vermilion); background: var(--paper-deep); }
.account-section-nav a.active, .account-section-nav a.active:hover, .account-section-nav a.active:focus-visible { color: #fffaf0; background: var(--vermilion); }
.account-workspace { min-width: 0; }
.account-panel { margin-bottom: 24px; scroll-margin-top: 110px; }
.account-panel-body { padding: 22px 26px 26px; }
.account-panel-body h3 { margin: 0 0 12px; font-size: 15px; }
.account-panel-body h3:not(:first-child) { margin-top: 30px; }
.account-notice-list { border-top: 1px solid var(--line); }
.account-notice { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.account-notice.is-unread { border-left: 3px solid var(--vermilion); padding-left: 12px; }
.account-notice h4 { margin: 5px 0; font-size: 15px; }
.account-notice p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.account-notice p a { color: var(--vermilion); font-weight: 700; }
.account-notice-meta { color: var(--gold); font-size: 11px; }
.account-notice form { flex: none; }
.account-empty { padding: 18px 0; color: var(--ink-soft); font-size: 13px; }
.account-pagination { display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding: 14px 26px; color: var(--ink-soft); font-size: 12px; }
.account-pagination a { color: var(--vermilion); font-weight: 800; }
.account-profile-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 18px; }
.account-profile-form .field { margin: 0; min-width: 0; }
.account-profile-form input { width: 100%; }
.account-profile-form .button { justify-self: start; }
.account-readonly { padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; overflow-wrap: anywhere; }
.account-inbox-intro { margin: 22px 26px; padding: 24px 28px; border: 1px solid #d9e4f4; border-radius: 12px; background: #f5f8fd; }
.account-inbox-intro strong { display: block; color: #234267; font-size: 20px; }
.account-inbox-intro p { margin: 10px 0 0; color: #59728e; }
.account-inbox { margin: 0 26px 26px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.account-inbox-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.account-inbox-heading strong { font-size: 17px; }
.account-inbox-heading span { color: var(--ink-soft); font-size: 12px; }
.account-inbox-search { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; padding: 18px; background: #f4f7fb; }
.account-inbox-search input, .account-inbox-search select { width: min(220px, 100%); min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.account-inbox-table { width: 100%; }
.account-inbox-table th, .account-inbox-table td { padding: 15px 12px; text-align: left; vertical-align: middle; }
.account-inbox-table th { white-space: nowrap; }
.account-inbox-table td { color: var(--ink-soft); font-size: 13px; }
.account-inbox-table td:first-child { min-width: 175px; }
.account-inbox-table td:nth-child(2) { min-width: 180px; max-width: 320px; overflow-wrap: anywhere; }
.account-inbox-table td:last-child { min-width: 135px; white-space: nowrap; }
.account-inbox-table form { display: inline; }
.account-inbox-open { padding: 0; border: 0; color: #2363bb; background: none; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.account-inbox-open:hover, .account-inbox-open:focus-visible { text-decoration: underline; }
.account-confirm-flag { display: inline-block; margin-left: 5px; padding: 2px 5px; border-radius: 3px; color: #fff; background: #2363bb; font-size: 10px; white-space: nowrap; }
.account-inbox-status { display: inline-block; padding: 5px 9px; border-radius: 7px; color: #55715f; background: #edf6ef; white-space: nowrap; }
.account-inbox-status.is-unread { color: #935b10; background: #fff2d8; }
.account-inbox-status.needs-confirmation { color: #ae2525; background: #fff0f0; }
.account-profile-block + .account-profile-block { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.account-profile-block p { color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.account-profile-note { margin-bottom: 0; }
.account-email-form { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.account-email-form .field { margin: 0; min-width: 160px; flex: 1 1 180px; }
.account-email-form input { width: 100%; }
.account-email-form .button { flex: none; }
.account-message-detail { padding: 28px; }
.account-message-content { line-height: 1.85; overflow-wrap: anywhere; }
.account-message-confirm { margin: 24px 0; }
.account-message-detail > .button { margin-top: 20px; }
#purchases td { white-space: normal; min-width: 100px; }
#purchases td:nth-child(3) { min-width: 220px; }
#purchases .status { white-space: nowrap; }
.referral-card { margin-bottom: 24px; padding: 20px 26px; display: grid; gap: 12px; }
.referral-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 13px; }
.referral-label { color: var(--vermilion); font-weight: 800; white-space: nowrap; }
.referral-link { color: var(--gold); font-weight: 700; word-break: break-all; }
.referral-note { color: var(--gold); }
.referral-count { color: var(--gold); font-weight: 800; }
.referral-row .button { margin-left: auto; }
.wallet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.wallet-card { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; background: rgba(255,253,248,.72); border: 1px solid var(--line); border-radius: 5px 17px 5px 17px; }
.wallet-card header { display: flex; align-items: center; gap: 8px; color: var(--vermilion); }
.wallet-card header svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wallet-card header span { color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.wallet-card strong { color: var(--vermilion); font: 800 24px Arial, sans-serif; }
.wallet-card .member-level { font-size: 19px; }
.wallet-card a { color: var(--jade); font-size: 11px; font-weight: 700; }
.redeem-button { align-self: flex-start; margin-top: auto; padding: 7px 14px; color: #fff8ec; background: var(--vermilion); border: 0; border-radius: 999px; cursor: pointer; font-size: 12px; font-weight: 800; }
.redeem-button:hover { background: var(--vermilion-dark); }
.redeem-button:disabled { color: #a89f90; background: #e7dfd0; cursor: not-allowed; }
.recharge-methods-card { margin-top: 4px; }
.recharge-methods { margin: 0; padding: 8px 26px 20px; list-style: none; }
.recharge-methods li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.recharge-methods li:last-child { border-bottom: 0; }
.recharge-methods .method-name { color: var(--vermilion); font-weight: 800; font-size: 13px; }
.recharge-methods small { color: var(--ink-soft); }
@media (max-width: 900px) { .wallet-grid { grid-template-columns: 1fr 1fr; } .account-profile-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .account-layout { grid-template-columns: 1fr; gap: 16px; } .account-sidebar { position: static; } .account-section-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .wallet-grid, .account-profile-form { grid-template-columns: 1fr; } .referral-row .button { margin-left: 0; } .account-notice { flex-direction: column; gap: 10px; } .account-panel-body { padding-inline: 18px; } }
@media (max-width: 520px) { .account-inbox-intro { margin: 16px; padding: 18px; } .account-inbox { margin: 0 16px 18px; } .account-inbox-search { justify-content: stretch; } .account-inbox-search input, .account-inbox-search select, .account-inbox-search .button { width: 100%; } .account-message-detail { padding: 20px; } }

.narrow-form { max-width: 720px; }
.account-table-card { overflow: hidden; background: rgba(255,253,248,.72); border: 1px solid var(--line); border-radius: 5px 20px 5px 20px; }
.card-heading { display: flex; justify-content: space-between; align-items: center; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.card-heading h2 { margin: 4px 0 0; font-size: 20px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: #766e62; background: rgba(235,225,207,.45); font-size: 10px; }
td a { color: var(--vermilion); font-family: Arial; font-weight: 700; }
.empty-cell { padding: 45px; text-align: center; color: var(--ink-soft); }
.dashboard-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 24px; align-items: start; }
.stock-list { margin: 0; padding: 0; list-style: none; }
.stock-list li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 25px; border-bottom: 1px solid var(--line); font-size: 12px; }
.stock-list b { color: var(--vermilion); }
.admin-entry { padding: 30px; color: #f8f1e5; background: var(--ink); border-radius: 5px 20px 5px 20px; }
.admin-entry .step-number { color: var(--gold-soft); }
.admin-entry p { color: rgba(255,255,255,.58); font-size: 12px; }
.admin-entry .button { background: var(--gold-soft); color: var(--ink); }

.help-grid { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 50px; align-items: start; }
.help-grid > nav { position: sticky; top: 110px; display: flex; flex-direction: column; padding: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.38); }
.help-grid > nav a { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.help-grid > nav a:hover { color: var(--vermilion); }
.faq-list details { margin-bottom: 13px; padding: 22px 25px; background: rgba(255,253,248,.66); border: 1px solid var(--line); border-radius: 4px 14px 4px 14px; }
.faq-list summary { cursor: pointer; font-weight: 800; }
.faq-list p { margin-bottom: 0; color: var(--ink-soft); font-size: 13px; }

.site-footer { padding: 64px 0 24px; color: rgba(255,248,235,.68); background: #121815; }
.footer-grid { display: grid; grid-template-columns: 1.8fr .8fr 1fr; gap: 70px; }
.footer-brand { color: #fff8ec; }
.footer-grid section > p { max-width: 510px; font-size: 11px; }
.footer-grid h3 { margin: 0 0 14px; color: #fff8ec; font-size: 13px; }
.footer-grid section > a, .footer-grid section > span, .footer-copy { display: block; margin: 7px 0; padding: 0; color: rgba(255,248,235,.58); background: transparent; border: 0; text-align: left; cursor: pointer; font-size: 11px; }
.footer-grid a:hover, .footer-copy:hover { color: var(--gold-soft); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 7px; margin-top: 45px; padding-top: 20px; color: rgba(255,248,235,.4); border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }
.footer-legal a { color: rgba(255,248,235,.68); }
.footer-legal a:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 14px; font-size: 10px; }

.notice-dialog { width: min(680px, calc(100% - 30px)); max-height: min(82vh, 760px); padding: 0; overflow: hidden; color: var(--ink); background: var(--paper-light); border: 1px solid var(--gold-soft); border-radius: 5px 22px 5px 22px; box-shadow: 0 40px 120px rgba(0,0,0,.32); }
.notice-dialog::backdrop { background: rgba(15,20,18,.64); backdrop-filter: blur(6px); }
.dialog-ornament { position: absolute; right: 55px; top: 18px; color: rgba(159,40,36,.07); font-size: 130px; font-weight: 900; line-height: 1; }
.dialog-head { position: relative; display: flex; justify-content: space-between; gap: 20px; padding: 30px 32px 20px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 5px 0 0; font-size: 24px; }
.icon-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 22px; }
.notice-list { max-height: 48vh; overflow-y: auto; padding: 13px 32px; }
.notice-item { display: grid; grid-template-columns: 35px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px dashed var(--line); }
.notice-item > span { color: var(--gold); font: 700 11px Arial; }
.notice-item h3 { margin: 0; font-size: 14px; }
.notice-item p { margin: 4px 0 0; color: var(--ink-soft); font-size: 12px; }
.notice-warning h3 { color: var(--vermilion); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 20px 32px 26px; }

@media (max-width: 1060px) {
  .nav-shell { gap: 20px; }
  .main-nav a, .nav-link-button { padding-inline: 10px; }
  .hero-grid { grid-template-columns: 1fr .55fr; gap: 36px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .detail-grid { gap: 36px; }
}

@media (max-width: 820px) {
  .desktop-only { display: none !important; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-shell { min-height: 68px; grid-template-columns: auto 1fr auto; }
  .brand-copy strong { font-size: 18px; }
  .brand-seal { width: 36px; height: 36px; font-size: 20px; }
  .nav-toggle { justify-self: end; display: grid; gap: 4px; width: 40px; height: 38px; padding: 9px; border: 1px solid var(--line); background: transparent; }
  .nav-toggle span:not(.sr-only) { height: 1px; background: var(--ink); }
  .main-nav { position: absolute; top: 68px; left: 14px; right: 14px; display: none; padding: 12px; background: var(--paper-light); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .main-nav a, .nav-link-button { padding: 12px 14px; text-align: left; }
  .main-nav a::after, .nav-link-button::after { display: none; }
  .nav-actions { grid-column: 2; grid-row: 1; justify-self: end; }
  .nav-toggle { grid-column: 3; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 72px; }
  .hero-card { display: none; }
  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(39px,10vw,62px); }
  .catalog-section { padding-block: 70px; }
  .section-heading { align-items: stretch; flex-direction: column; }
  .search-form { width: 100%; }
  .catalog-layout { grid-template-columns: 1fr; }
  .category-panel { display: none; }
  .mobile-category-rail { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 14px; padding: 3px 0 10px; scrollbar-width: none; }
  .mobile-category-rail a { flex: 0 0 auto; padding: 8px 13px; background: rgba(255,255,255,.5); border: 1px solid var(--line); border-radius: 4px; font-size: 12px; }
  .mobile-category-rail a.active { color: #fff6e7; background: var(--vermilion); border-color: var(--vermilion); }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .step-grid article:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .step-grid article:nth-child(4) { border-top: 1px solid rgba(255,255,255,.14); }
  .detail-grid, .checkout-grid, .lookup-wrap, .order-detail-grid { grid-template-columns: 1fr; }
  .detail-visual { min-height: 330px; }
  .detail-aside { grid-template-columns: 1fr; }
  .order-summary { position: static; grid-row: 1; }
  .auth-section { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .stat-cards article:last-child { grid-column: 1/-1; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .help-grid > nav { position: static; flex-direction: row; overflow-x: auto; }
  .help-grid > nav a { flex: 0 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-grid section:first-child { grid-column: 1/-1; }
}

@media (max-width: 560px) {
  .verification-email-row { grid-template-columns: 1fr; }
  .verification-email-row .verification-send { width: 100%; }
  .top-ribbon-inner { justify-content: center; }
  .nav-shell { grid-template-columns: auto 1fr auto; gap: 10px; }
  .nav-actions { display: none; }
  .nav-actions.has-account { display: flex; grid-column: 2; grid-row: 1; justify-self: end; }
  .nav-toggle { grid-column: 3; }
  .account-trigger { display: grid; grid-template-columns: 1fr; width: 40px; min-height: 40px; padding: 2px; }
  .account-avatar { width: 34px; height: 34px; }
  .account-trigger-copy, .account-chevron { display: none; }
  .account-popover { right: -50px; width: 250px; }
  .hero-grid { padding-block: 56px 70px; }
  .hero h1 { font-size: 39px; }
  .hero h1 { overflow-wrap: anywhere; word-break: break-word; }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .trust-row { gap: 12px; }
  .announcement-inner { grid-template-columns: auto 1fr; min-height: 68px; gap: 12px; }
  .announcement-copy span { display: none; }
  .announcement-inner button { grid-column: 2; justify-self: start; padding: 0; font-size: 10px; text-align: left; }
  .product-grid { grid-template-columns: 1fr; }
  .mobile-category-rail { max-width: 100%; }
  .product-visual { height: 150px; }
  .step-grid { grid-template-columns: 1fr; }
  .step-grid article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .inner-hero { padding: 48px 0 42px; }
  .detail-section, .form-section, .order-detail-section, .account-section, .help-section { padding: 46px 0 70px; }
  .price-panel { grid-template-columns: auto 1fr; }
  .price-panel em { grid-column: 1/-1; }
  .form-card, .order-paper { padding: 23px 18px; }
  .lookup-section { padding: 68px 0; }
  .lookup-wrap { gap: 35px; }
  .order-paper-head { align-items: flex-start; flex-direction: column; }
  .order-paper dl > div { grid-template-columns: 1fr; gap: 3px; }
  .order-paper dd { text-align: left; }
  .stat-cards { grid-template-columns: 1fr; }
  .stat-cards article:last-child { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid section:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .dialog-head, .notice-list, .dialog-actions { padding-inline: 20px; }
  .dialog-actions { flex-direction: column-reverse; }
}

.purchase-confirm-dialog {
  width: min(820px, calc(100% - 32px)); max-height: min(86vh, 820px);
  padding: 0; overflow: hidden; color: #273142; background: #fff;
  border: 1px solid #e1e5eb; border-radius: 12px;
  box-shadow: 0 28px 90px rgba(17, 27, 44, .3);
}
.purchase-confirm-dialog::backdrop { background: rgba(25, 36, 55, .58); }
.purchase-confirm-head, .purchase-confirm-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; }
.purchase-confirm-head { border-bottom: 1px solid #e5e9ef; }
.purchase-confirm-head h2 { margin: 0; color: #c62828; font-size: 22px; }
.purchase-confirm-head button { border: 0; background: transparent; color: #687b96; font-size: 30px; line-height: 1; cursor: pointer; }
.purchase-confirm-content { max-height: min(52vh, 520px); padding: 24px 30px; overflow: auto; color: #273142; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.purchase-confirm-content p { margin: 0 0 20px; }
.purchase-confirm-content p:last-child { margin-bottom: 0; }
.purchase-confirm-content [data-confirm-description], .purchase-confirm-content [data-confirm-warranty] { white-space: pre-line; }
.purchase-confirm-content img { max-width: 100%; height: auto; }
.purchase-confirm-agreement { display: flex; align-items: center; gap: 10px; margin: 0 30px; padding: 16px 18px; color: #594433; background: #fff7e5; border: 1px solid #ffdc91; border-radius: 16px; font-weight: 700; cursor: pointer; }
.purchase-confirm-agreement input { width: 20px; height: 20px; margin: 0; accent-color: #c58a1b; }
.purchase-confirm-actions { justify-content: flex-end; }
.purchase-confirm-actions button { min-height: 46px; padding: 0 20px; border: 1px solid #c9d4e2; border-radius: 7px; background: #fff; color: #40516a; font-weight: 700; cursor: pointer; }
.purchase-confirm-actions [data-confirm-continue] { border-color: #2b5c91; background: #2b5c91; color: #fff; }
.purchase-confirm-actions [data-confirm-continue]:disabled { border-color: #d1dae6; background: #d1dae6; color: #75869d; cursor: not-allowed; }
@media (max-width: 560px) {
  .purchase-confirm-dialog { width: calc(100% - 20px); max-height: calc(100vh - 24px); }
  .purchase-confirm-head, .purchase-confirm-actions { padding: 16px 18px; }
  .purchase-confirm-head h2 { font-size: 19px; }
  .purchase-confirm-content { max-height: 55vh; padding: 18px; font-size: 14px; }
  .purchase-confirm-agreement { margin: 0 18px; padding: 14px 16px; font-size: 14px; }
  .purchase-confirm-actions button { min-height: 44px; padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.member-price-disclosure { margin: 25px 0; }
.member-price-disclosure > summary { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 9px 16px; color: #087fbd; background: #eaf6fc; border: 1px solid #e3f1f8; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 800; list-style: none; transition: background-color .18s ease, box-shadow .18s ease; }
.member-price-disclosure > summary::-webkit-details-marker { display: none; }
.member-price-disclosure > summary:hover { background: #dff2fb; }
.member-price-disclosure > summary:focus-visible { outline: 2px solid #168bc2; outline-offset: 3px; }
.member-price-disclosure > summary svg { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.member-price-panel { grid-template-columns: minmax(210px, .8fr) minmax(0, 1.6fr); gap: 24px; margin: 12px 0 0; padding: 22px 34px; border-left: 3px solid #b34b40; border-radius: 0 0 12px 12px; }
.member-price-panel .current-price-copy { display: flex; align-items: baseline; gap: 16px; }
.member-price-panel .current-price-copy > span { color: #2d2925; font-size: 14px; white-space: nowrap; }
.member-price-panel .price { display: flex; align-items: baseline; color: #ae493f; }
.member-price-panel .price small { margin-right: 2px; font-size: 16px; font-weight: 800; }
.member-price-panel .price strong { font-size: 38px; line-height: 1; }
.tier-prices { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 24px; margin: 0; font-size: 14px; }
.tier-prices b { color: #1e1b18; font-size: 16px; }
.tier-prices [hidden] { display: none; }

.reference-aside { display: block; }
.reference-prose { min-width: 0; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.reference-prose img { display: block; max-width: 100%; height: auto !important; margin: 16px auto; }
.reference-prose table { display: block; max-width: 100%; overflow-x: auto; }
.reference-prose pre { white-space: pre-wrap; }
.reference-prose h1, .reference-prose h2, .reference-prose h3 { font-size: 20px; line-height: 1.6; }
.reference-prose a { text-decoration: underline; }
.reference-prose p { white-space: normal; }
.purchase-confirmation { margin-bottom: 24px; padding: 18px 0; border-top: 1px solid #d6dbd8; }
.purchase-confirmation > h2 { margin: 0 0 12px; font-size: 16px; }
.full-warranty { margin-top: 12px; }
.full-warranty summary { cursor: pointer; font-size: 14px; }

.registration-consent { display: grid; gap: 10px; margin: 18px 0 22px; font-size: 13px; line-height: 1.7; }
.consent-row { display: flex; align-items: flex-start; gap: 9px; }
.consent-row input { flex: 0 0 18px; width: 18px; height: 18px; margin: 3px 0 0; accent-color: #347267; }
.consent-row span { min-width: 0; overflow-wrap: anywhere; }
.consent-row label { cursor: pointer; }
.consent-row a { color: #245e75; text-decoration: underline; text-underline-offset: 3px; }
.registration-consent .errorlist { color: #a73731; padding-left: 20px; margin-bottom: 0; }
.checkout-consent { padding: 14px 16px; background: #fbf7ed; border: 1px solid var(--line); border-radius: 10px; }
.field-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; }
.field-label em { color: var(--vermilion); font-style: normal; }
.payment-method-field { margin-block: 20px; padding: 20px; background: #f1f2f5; border: 1px solid #dcdfe5; border-radius: 22px; }
.payment-method-field .field-label { margin-bottom: 14px; color: #394152; font-size: 15px; }
.payment-method-field .field-label::before { content: '🛒'; margin-right: 7px; }
.payment-choice-grid > div { display: flex; flex-wrap: wrap; gap: 12px; }
.payment-choice-grid > div > div { min-width: 0; }
.payment-choice-grid label { display: inline-flex; align-items: center; min-height: 58px; padding: 10px 20px; color: #14171c; background: #fff; border: 1px solid #d6dae1; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 800; line-height: 1.35; white-space: nowrap; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.payment-choice-grid label::before { display: grid; place-items: center; flex: 0 0 23px; width: 23px; height: 23px; margin-right: 10px; color: #fff; background: #111; border-radius: 6px; font-size: 12px; font-weight: 900; }
.payment-choice-grid label:has(input[value="binance"])::before { content: ''; background: #101318 url("../images/payments/binance.6b4159401449.svg") center/16px 16px no-repeat; }
.payment-choice-grid label:has(input[value="usdt_bsc"])::before { content: ''; background: #101318 url("../images/payments/bnb-chain.09f850273a1d.svg") center/17px 17px no-repeat; }
.payment-choice-grid label:has(input[value="usdt_trc"])::before { content: ''; background: #d92d2d url("../images/payments/tron.38a64a648c37.svg") center/16px 16px no-repeat; }
.payment-choice-grid label:has(input[value="usdt_sol"])::before { content: ''; background: #11151d url("../images/payments/solana.cb78657b067d.svg") center/17px 17px no-repeat; }
.payment-choice-grid label:has(input[value="alipay"])::before { content: ''; background: #1677ff url("../images/payments/alipay.c545935b7174.svg") center/14px 14px no-repeat; }
.payment-choice-grid label:has(input[value="balance"])::before { content: '💳'; color: #334155; background: #f4bf52; font-size: 11px; }
.payment-choice-grid label:hover { border-color: #adb5c1; transform: translateY(-1px); }
.payment-choice-grid label:has(input:checked) { color: #0b6c92; background: #f5fbfe; border-color: #168bc2; box-shadow: 0 0 0 2px rgba(22,139,194,.10); }
.payment-choice-grid label:focus-within { outline: 2px solid #168bc2; outline-offset: 2px; }
.payment-choice-grid input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.payment-alipay-amount { display: grid; gap: 4px; margin: 0 0 14px; padding: 14px 16px; background: #f7f9fb; border: 1px solid #dce5ea; border-radius: 10px; }
.payment-alipay-amount span { color: #617083; font-size: 12px; font-weight: 700; }
.payment-alipay-amount strong { color: #1677ff; font: 800 24px Arial, sans-serif; }
.payment-alipay-amount p { margin: 0; color: #748195; font-size: 11px; }

/* Screenshot-led checkout: one calm purchase panel with four explicit payment channels. */
.checkout-page .paper-noise { opacity: .06; }
.checkout-hero { padding: 32px 0 28px; background: #fff; border-bottom-color: #e1e4e9; }
.checkout-hero h1 { margin: 7px 0 0; font-size: 30px; letter-spacing: 0; }
.checkout-section { padding: 34px 0 80px; background: #f1f3f7; }
.checkout-shell { width: min(calc(100% - 32px), 1020px); }
.checkout-card { padding: 34px 38px 30px; background: #fff; border: 1px solid #e0e3e9; border-radius: 26px; box-shadow: 0 12px 30px rgba(30,38,52,.10); }
.checkout-product { display: grid; grid-template-columns: 72px minmax(0,1fr) auto; align-items: center; gap: 16px; margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid #e0e3e9; }
.checkout-product-thumb { display: block; width: 72px; height: 54px; overflow: hidden; background: #edf0f5; border: 1px solid #dfe3e9; border-radius: 8px; }
.checkout-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.checkout-product div > span, .checkout-product p { color: #727b8b; font-size: 12px; }
.checkout-product h2 { margin: 1px 0; color: #1c2430; font-size: 18px; line-height: 1.4; }
.checkout-product p { margin: 0; }
.checkout-product > strong { color: #151a22; font: 800 22px/1.2 Arial,"Microsoft YaHei",sans-serif; }
.checkout-card .checkout-field, .checkout-card .checkout-quantity-field { margin-bottom: 24px; }
.checkout-card .checkout-field > label, .checkout-card .checkout-quantity-field > label { margin-bottom: 10px; color: #3f4652; font-size: 15px; }
.checkout-card .checkout-field > input, .checkout-card .checkout-field > select, .checkout-card .checkout-field > textarea { min-height: 62px; padding: 13px 18px; background: #eaf1fc; border: 1px solid #d5dce8; border-radius: 21px; font-size: 16px; }
.checkout-card .checkout-field > textarea { min-height: 100px; }
.checkout-card .checkout-field > input:focus, .checkout-card .checkout-field > select:focus, .checkout-card .checkout-field > textarea:focus { background: #f3f7fe; border-color: #7392bd; box-shadow: 0 0 0 3px rgba(61,102,158,.11); }
.quantity-stepper { display: grid; grid-template-columns: 66px 148px 66px; width: 280px; height: 64px; overflow: hidden; background: #fff; border: 1px solid #d7dbe2; border-radius: 32px; }
.quantity-stepper button { display: grid; place-items: center; padding: 0; color: #1a2330; background: #f8f9fb; border: 0; cursor: pointer; font: 500 26px/1 Arial,sans-serif; }
.quantity-stepper button:first-child { border-right: 1px solid #d7dbe2; }
.quantity-stepper button:last-child { border-left: 1px solid #d7dbe2; }
.quantity-stepper button:hover { background: #edf2fa; }
.quantity-stepper button:focus-visible { position: relative; outline: 2px solid #5879a6; outline-offset: -4px; }
.quantity-stepper input { width: 100%; min-width: 0; padding: 0; color: #080b10; background: #fff; border: 0; outline: 0; text-align: center; font: 800 20px/1 Arial,sans-serif; appearance: textfield; }
.quantity-stepper input::-webkit-inner-spin-button, .quantity-stepper input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.checkout-more-fields { margin: 0 0 24px; border-top: 1px solid #e3e6eb; border-bottom: 1px solid #e3e6eb; }
.checkout-more-fields > summary { padding: 16px 2px; color: #4b5668; cursor: pointer; font-size: 13px; font-weight: 700; }
.checkout-more-fields[open] > summary { margin-bottom: 4px; }
.checkout-payment-field { margin: 0 0 24px; padding: 24px 20px 20px; background: #f1f2f5; border-color: #dcdfe5; border-radius: 24px; }
.checkout-payment-field .field-label { margin-bottom: 13px; font-size: 16px; }
.checkout-payment-field .field-label::before { content: '🛒'; }
.checkout-payment-field .payment-choice-grid > div { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.checkout-payment-field .payment-choice-grid > div > div { min-width: 0; }
.checkout-payment-field .payment-choice-grid label { justify-content: center; width: 100%; min-height: 58px; padding: 10px 14px; overflow: hidden; font-size: 14px; text-overflow: ellipsis; }
.checkout-payment-field .payment-choice-grid label::before { display: none; content: none; }
.checkout-payment-field .payment-choice-grid label > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.payment-choice-icon { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; margin-right: 9px; overflow: hidden; background: #101318; border-radius: 6px; }
.payment-choice-icon img { display: block; width: 18px; height: 18px; object-fit: contain; }
.payment-choice-icon { color: #fff; font-weight: 800; }
.detail-main .checkout-payment-field .payment-choice-grid > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
.checkout-payment-field > small { margin: 12px 2px 0; color: #747d8a; font-size: 11px; }
.checkout-login-hint { margin: 0 0 14px; padding: 9px 13px; color: #8a4b00; background: #fff6e8; border: 1px solid #f0d3a5; border-radius: 12px; font-size: 13px; font-weight: 700; line-height: 1.55; }
.checkout-submit { min-height: 54px; margin-top: 18px; }
.checkout-card-footer { display: flex; justify-content: space-between; gap: 18px; margin-top: 22px; padding-top: 18px; color: #727b88; border-top: 1px solid #e1e4e9; font-size: 12px; }
.checkout-card-footer a { color: #2f6256; font-weight: 800; }

@media (max-width: 620px) {
  .checkout-hero { padding: 24px 0 21px; }
  .checkout-hero h1 { font-size: 24px; }
  .checkout-section { padding: 18px 0 54px; }
  .checkout-shell { width: min(calc(100% - 20px), 1020px); }
  .checkout-card { padding: 20px 16px 22px; border-radius: 18px; }
  .checkout-product { grid-template-columns: 54px minmax(0,1fr); gap: 12px; margin-bottom: 24px; padding-bottom: 20px; }
  .checkout-product-thumb { width: 54px; height: 44px; }
  .checkout-product h2 { font-size: 15px; }
  .checkout-product > strong { grid-column: 2; font-size: 18px; }
  .checkout-card .checkout-field > input, .checkout-card .checkout-field > select, .checkout-card .checkout-field > textarea { min-height: 56px; border-radius: 18px; font-size: 14px; }
  .quantity-stepper { grid-template-columns: 58px 112px 58px; width: 228px; height: 58px; }
  .checkout-payment-field { padding: 18px 12px 16px; border-radius: 18px; }
  .checkout-payment-field .payment-choice-grid > div { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .checkout-payment-field .payment-choice-grid > div > div { flex: initial; }
  .checkout-payment-field .payment-choice-grid label { min-height: 52px; padding: 8px; font-size: 12px; white-space: normal; }
  .checkout-payment-field .payment-choice-grid label::before { flex-basis: 21px; width: 21px; height: 21px; margin-right: 7px; }
  .checkout-card-footer { align-items: flex-start; flex-direction: column; }
}
.payment-page { min-height: 100vh; padding: 42px 16px 80px; background: #edf2f5; }
.payment-shell { width: min(690px,100%); margin: 0 auto; overflow: hidden; background: #f9fbfc; border: 1px solid #dce5ea; border-radius: 16px; box-shadow: 0 24px 70px rgba(30,48,63,.12); }
.payment-head { padding: 30px 34px 26px; color: #fff; background: linear-gradient(135deg,#077f69,#13a47f); }
.payment-head .eyebrow { color: rgba(255,255,255,.72); }
.payment-head h1 { margin: 8px 0 20px; color: #fff; font-size: 30px; }
.payment-head dl { display: grid; gap: 7px; margin: 0; padding: 15px 18px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.24); border-radius: 10px; }
.payment-head dl div { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 12px; }
.payment-head dt { color: rgba(255,255,255,.74); }
.payment-head dd { margin: 0; overflow-wrap: anywhere; font-weight: 800; }
.payment-alert, .payment-result { margin: 20px 24px 16px; padding: 20px; text-align: center; background: #fff9f9; border: 1px solid #f0b7b4; border-radius: 12px; }
.payment-alert strong { color: #c92d27; font-size: 18px; }
.payment-alert p { margin: 8px 0 16px; color: #617083; font-size: 13px; }
.payment-deadline { padding-top: 15px; border-top: 1px solid #f0d6d4; font-weight: 800; }
.payment-deadline strong { font-size: 25px; }
.payment-result { display: flex; align-items: center; gap: 15px; text-align: left; }
.payment-result > span { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; color: white; background: var(--jade); border-radius: 50%; font-size: 24px; font-weight: 900; }
.payment-result h2, .payment-result p { margin: 0; }
.payment-result p { margin-top: 4px; color: var(--ink-soft); }
.payment-result-warning > span { background: var(--vermilion); }
.payment-steps { margin: 0 24px 16px; padding: 18px 20px; background: #f1f6f8; border: 1px solid #dce6eb; border-radius: 12px; }
.payment-steps ol { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.payment-steps li { display: flex; align-items: flex-start; color: #1d2d3f; font-size: 13px; font-weight: 650; line-height: 1.6; }
.payment-steps li span { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; margin-right: 10px; color: #167b93; background: #d8f1f7; border-radius: 50%; font-weight: 900; }
.payment-amount-card { margin: 0 24px 18px; padding: 25px 22px; text-align: center; background: #fff; border: 1px solid #dce5ea; border-radius: 12px; }
.payment-amount-card > span { display: inline-block; padding: 5px 12px; color: #d6312c; background: #fff0ef; border-radius: 999px; font-size: 12px; font-weight: 800; }
.payment-amount { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin: 9px 0 1px; }
.payment-amount button { padding: 0; color: #d32120; background: transparent; border: 0; cursor: pointer; font: 900 48px/1.1 ui-monospace,Consolas,monospace; }
.payment-amount strong { color: #17283b; }
.payment-amount-card > p { margin: 5px 0 18px; color: #748195; font-size: 12px; }
.payment-amount-card h2 { margin: 0 0 12px; color: #53657a; font-size: 14px; }
.payment-amount-card .payment-case-warning { margin: -3px 0 10px; color: #a73731; font-size: 12px; font-weight: 800; }
.payment-address { width: 100%; padding: 14px; overflow-wrap: anywhere; color: #17283b; background: #f7f9fb; border: 1px solid #cedae2; border-radius: 8px; cursor: pointer; font: 700 13px/1.5 ui-monospace,Consolas,monospace; }
.binance-transfer-options { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); align-items: center; gap: 24px; margin-top: 18px; }
.binance-transfer-options figure { margin: 0; }
.binance-transfer-options figure > strong, .binance-id-option > strong { display: block; margin-bottom: 12px; color: #17283b; font-size: 14px; }
.binance-transfer-options figure img { display: block; width: 100%; max-width: 260px; height: auto; aspect-ratio: 1; margin: 0 auto; padding: 8px; background: #fff; border: 1px solid #dce5ea; border-radius: 10px; }
.binance-transfer-options figcaption, .binance-id-option small { display: block; margin-top: 8px; color: #748195; font-size: 11px; line-height: 1.6; }
.binance-id-option { min-width: 0; padding-left: 24px; border-left: 1px solid #dce5ea; text-align: left; }
.binance-id-option p { margin: 0 0 12px; color: #617083; font-size: 12px; line-height: 1.7; }
.binance-id-copy { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 8px 8px 8px 14px; color: #17283b; background: #f7f9fb; border: 1px solid #cedae2; border-radius: 8px; }
.binance-id-copy code { min-width: 0; overflow-wrap: anywhere; font: 800 16px/1.4 ui-monospace,Consolas,monospace; }
.binance-id-copy button { min-width: 46px; min-height: 34px; padding: 6px 8px; color: #116e61; background: #e1f4ef; border: 0; border-radius: 6px; cursor: pointer; font-size: 11px; font-weight: 800; }
.binance-fee-note { margin: 18px 0 0 !important; color: #16725f !important; font-weight: 800; }
.payment-qr-row { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 18px; }
.payment-qr-row figure { margin: 0; }
.payment-qr-row img { display: block; width: 290px; height: 290px; padding: 8px; background: #fff; border: 1px solid #dce5ea; border-radius: 10px; }
.payment-qr-row figcaption { margin-top: 7px; color: #748195; font-size: 11px; }
.payment-timer { min-width: 132px; padding: 21px 15px; background: #f5f7fa; border-radius: 10px; }
.payment-timer strong { display: block; color: #17283b; font: 900 27px/1.2 ui-monospace,Consolas,monospace; }
.payment-timer span { display: block; margin-top: 7px; color: #8b97a8; font-size: 10px; }
.payment-timer-wide { width: 100%; margin-top: 14px; padding: 13px 15px; }
.payment-timer-wide strong, .payment-timer-wide span { display: inline-block; margin: 0 4px; vertical-align: middle; }
.payment-timer.is-expired strong { color: var(--vermilion); }
.payment-waiting { display: flex; align-items: center; justify-content: center; margin-top: 16px; color: #7b899b; font-size: 12px; }
.payment-waiting span { width: 10px; height: 10px; margin-right: 8px; background: #25b892; border: 3px solid #d8f4ec; border-radius: 50%; box-sizing: content-box; }
.payment-submit-card, .payment-contact-card { margin: 0 24px 18px; padding: 22px; background: #fff; border: 1px solid #dce5ea; border-radius: 12px; }
.payment-submit-card h2, .payment-submit-card p { margin: 0; }
.payment-submit-card p { margin: 6px 0 16px; color: var(--ink-soft); font-size: 12px; }
.payment-contact-card { padding: 36px 28px; text-align: center; }
.payment-channel-mark { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 16px; color: #fff; background: #1677ff; border-radius: 15px; font-size: 34px; font-weight: 900; }
.payment-contact-card h2 { margin: 0 0 10px; }
.payment-contact-card p { color: var(--ink-soft); line-height: 1.8; }
.payment-contact-actions { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.payment-footer { display: flex; justify-content: space-between; gap: 18px; padding: 18px 24px 24px; color: #7b899b; font-size: 11px; }
.payment-footer a { color: #28728a; font-weight: 800; }
.legal-document { max-width: 880px; padding-top: 44px; padding-bottom: 64px; line-height: 1.9; overflow-wrap: anywhere; }
.legal-document h1 { font-size: 28px; line-height: 1.5; }
.legal-document h2 { font-size: 19px; margin: 28px 0 12px; }
.legal-document h3 { font-size: 16px; margin: 20px 0 8px; }
.legal-document p { font-size: 15px; }
.legal-document ul, .legal-document ol { margin: 0 0 18px; padding-left: 24px; }
.legal-document li { margin: 4px 0; font-size: 15px; }
.legal-version { color: #666; }

@media (max-width: 560px) {
  .member-price-panel { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .member-price-panel .current-price-copy { justify-content: space-between; }
  .tier-prices { justify-content: flex-start; gap: 10px 18px; }
  .payment-method-field { padding: 16px 14px; border-radius: 18px; }
  .payment-choice-grid > div > div { flex: 1 1 100%; }
  .payment-choice-grid label { width: 100%; min-height: 54px; }
  .payment-page { padding: 0 0 50px; }
  .payment-shell { border-radius: 0 0 16px 16px; }
  .payment-head { padding: 25px 20px 22px; }
  .payment-head h1 { font-size: 25px; }
  .payment-head dl div { grid-template-columns: 76px minmax(0,1fr); font-size: 12px; }
  .payment-alert, .payment-result, .payment-steps, .payment-amount-card, .payment-submit-card, .payment-contact-card { margin-right: 14px; margin-left: 14px; }
  .payment-alert strong { font-size: 16px; }
  .payment-amount { gap: 7px; }
  .payment-amount button { font-size: 38px; }
  .payment-qr-row { flex-direction: column; gap: 12px; }
  .binance-transfer-options { grid-template-columns: 1fr; gap: 18px; }
  .binance-transfer-options figure img { max-width: min(280px,75vw); }
  .binance-id-option { padding: 18px 0 0; border-top: 1px solid #dce5ea; border-left: 0; }
  .payment-qr-row img { width: min(280px,75vw); height: min(280px,75vw); }
  .payment-timer { width: 100%; }
  .payment-contact-actions, .payment-footer { flex-direction: column; }
  .payment-footer { align-items: center; text-align: center; }
}
