/* ============================================================
   海娱私人定制 · 视觉体系
   主色: 朱红 #B03A2E / 深红 #8C2F23 | 点缀: 鎏金 #C9A227
   底色: 米白 #FAF6EF | 文字: 墨黑 #2B2320
   ============================================================ */
:root {
  --red: #B03A2E;
  --red-deep: #8C2F23;
  --red-dark: #5E1F17;
  --gold: #C9A227;
  --gold-light: #E8CE7A;
  --gold-pale: #F6ECD1;
  --cream: #FAF6EF;
  --white: #FFFFFF;
  --ink: #2B2320;
  --ink-soft: #6E625B;
  --line: #E9DFCF;
  --shadow-sm: 0 2px 8px rgba(94, 31, 23, 0.08);
  --shadow-md: 0 8px 24px rgba(94, 31, 23, 0.12);
  --shadow-lg: 0 16px 48px rgba(94, 31, 23, 0.16);
  --radius: 14px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .brand-logo { height: 44px; width: auto; display: block; }
.brand .name { font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: 2px; color: var(--red-dark); }
.brand .sub { font-size: 11px; color: var(--ink-soft); letter-spacing: 3px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav-links a { position: relative; padding: 6px 0; color: var(--ink); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 20%; right: 20%; bottom: -2px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 3px;
}
.user-chip { display: flex; align-items: center; gap: 10px; }
/* 纯文字「我的订单」链接: 无图标无背景 */
.my-orders-link { font-size: 15px; color: var(--red-dark); font-weight: 600; letter-spacing: 1px; padding: 6px 0; transition: color .2s; }
.my-orders-link:hover { color: var(--red); }
.user-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  color: var(--gold-light); font-family: var(--serif); font-size: 16px; font-weight: 700;
  display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(232, 206, 122, .5);
  transition: all .2s;
}
.user-avatar:hover { transform: scale(1.08); box-shadow: 0 4px 12px rgba(176, 58, 46, .35), inset 0 0 0 1.5px rgba(232, 206, 122, .7); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: 999px; border: none; cursor: pointer;
  font-size: 15px; font-family: var(--sans); transition: all .2s; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  color: #fff; box-shadow: 0 4px 14px rgba(176, 58, 46, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(176, 58, 46, 0.45); }
.btn-gold {
  background: linear-gradient(145deg, var(--gold), #B8912A);
  color: #fff; box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1.5px solid var(--red); color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.28); }
.btn-lg { padding: 14px 34px; font-size: 17px; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(201,162,39,.28), transparent 60%),
    radial-gradient(900px 420px at 10% 110%, rgba(232,206,122,.22), transparent 55%),
    linear-gradient(150deg, #7E2A1F 0%, #9C3226 45%, #B03A2E 100%);
  color: #fff;
}
.hero::before { /* 灯笼纹样点缀 */
  content: "❋";
  position: absolute; right: 4%; top: 12%;
  font-size: 260px; color: rgba(232, 206, 122, 0.10); line-height: 1;
  transform: rotate(12deg); pointer-events: none;
}
.hero .inner { padding: 84px 0 96px; position: relative; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; letter-spacing: 2px; color: var(--gold-light);
  border: 1px solid rgba(232,206,122,.45); border-radius: 999px; padding: 6px 18px;
  margin-bottom: 26px;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(30px, 5vw, 52px);
  font-weight: 800; letter-spacing: 3px; line-height: 1.35; max-width: 720px;
  text-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.hero h1 .gold { color: var(--gold-light); }
.hero p.sub { margin: 22px 0 38px; font-size: 17px; color: rgba(255,255,255,.88); max-width: 640px; letter-spacing: 1px; }
.hero .cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .stats { display: flex; gap: 44px; margin-top: 56px; }
.hero .stat b { font-family: var(--serif); font-size: 26px; color: var(--gold-light); display: block; }
.hero .stat span { font-size: 13px; color: rgba(255,255,255,.75); letter-spacing: 1px; }

/* 公告条 */
.notice-bar {
  background: var(--gold-pale); border-bottom: 1px solid var(--line);
  color: #7A5B13; font-size: 14px;
}
.notice-bar .inner { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.notice-bar .horn { flex: none; }

/* ---------- 分类导航 ---------- */
.sec-title { text-align: center; margin: 64px 0 8px; }
.sec-title h2 { font-family: var(--serif); font-size: 30px; letter-spacing: 3px; color: var(--red-dark); }
.sec-title .deco {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; color: var(--gold); font-size: 13px; letter-spacing: 2px;
}
.sec-title .deco::before, .sec-title .deco::after {
  content: ""; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold));
}
.sec-title .deco::after { background: linear-gradient(90deg, var(--gold), transparent); }
.sec-desc { text-align: center; color: var(--ink-soft); font-size: 14px; margin-bottom: 34px; }

.type-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.type-card {
  position: relative; border-radius: 18px; overflow: hidden; cursor: pointer;
  background: linear-gradient(180deg, #fff, #FFFDF6);
  border: 1px solid #EFE3CB;
  padding: 30px 26px 22px; transition: all .28s ease; box-shadow: var(--shadow-sm);
}
.type-card:hover { transform: translateY(-7px); border-color: var(--gold-light); box-shadow: 0 18px 44px rgba(176, 58, 46, 0.16); }
/* 右上: 金晕 + 双弧线水印 */
.type-card .tc-corner {
  position: absolute; top: 0; right: 0; width: 130px; height: 130px; pointer-events: none;
  background: radial-gradient(circle at 100% 0, rgba(232, 206, 122, 0.32), transparent 68%);
}
.type-card .tc-corner::before, .type-card .tc-corner::after {
  content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(201, 162, 39, .28);
}
.type-card .tc-corner::before { top: -46px; right: -46px; width: 118px; height: 118px; }
.type-card .tc-corner::after  { top: -28px; right: -28px; width: 82px; height: 82px; border-color: rgba(201, 162, 39, .16); }
/* 右下: 大数字水印 */
.type-card .tc-num {
  position: absolute; right: 16px; bottom: 6px; pointer-events: none;
  font-family: var(--serif); font-size: 64px; font-weight: 800; line-height: 1;
  color: rgba(176, 58, 46, .07); transition: color .3s;
}
.type-card:hover .tc-num { color: rgba(201, 162, 39, .22); }
/* 图标: 金环圆形徽章 */
.type-card .icon {
  width: 66px; height: 66px; border-radius: 50%; margin-bottom: 18px;
  background: linear-gradient(145deg, #FBEED2, #FFF8E9);
  box-shadow: inset 0 0 0 1.5px rgba(201, 162, 39, .38), inset 0 0 0 5px #fff, 0 8px 18px rgba(201, 162, 39, .18);
  display: grid; place-items: center;
}
.type-card .icon span {
  font-size: 30px; line-height: 1; transition: transform .3s ease;
  filter: drop-shadow(0 2px 4px rgba(140, 47, 35, .18));
}
.type-card:hover .icon span { transform: scale(1.12) rotate(-5deg); }
.type-card h3 {
  font-family: var(--serif); font-size: 21px; color: var(--red-dark);
  letter-spacing: 3px; position: relative; display: inline-block;
}
.type-card h3::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 26px; height: 2.5px;
  background: linear-gradient(90deg, var(--gold), transparent); border-radius: 2px; transition: width .3s;
}
.type-card:hover h3::after { width: 100%; }
.type-card p { font-size: 13px; color: var(--ink-soft); margin-top: 12px; line-height: 1.8; }
/* 底部行动条: hover 滑出 */
.type-card .tc-go {
  display: flex; align-items: center; gap: 8px; overflow: hidden;
  max-height: 0; opacity: 0; margin-top: 0; transition: all .3s ease;
  color: var(--red); font-size: 13.5px; font-weight: 700; letter-spacing: 2px;
}
.type-card .tc-go::before { content: "✦"; color: var(--gold); font-size: 12px; }
.type-card:hover .tc-go { max-height: 36px; opacity: 1; margin-top: 14px; }

/* ---------- 筛选 & 样片卡片 ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin: 26px 0 30px;
}
.filter-bar .label { font-size: 14px; color: var(--ink-soft); margin-right: 2px; }
.chip {
  padding: 7px 18px; border-radius: 999px; font-size: 14px; cursor: pointer;
  background: #fff; border: 1px solid var(--line); color: var(--ink); transition: all .2s;
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.active { background: linear-gradient(145deg, var(--red), var(--red-deep)); color: #fff; border-color: transparent; }

.sample-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 24px; }
.sample-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: all .25s; cursor: pointer; display: flex; flex-direction: column;
}
.sample-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sample-card .cover {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: linear-gradient(140deg, var(--red-dark), var(--red) 55%, #C05A42);
  display: grid; place-items: center;
}
.sample-card .cover img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.sample-card .cover .ph { font-family: var(--serif); font-size: 44px; color: rgba(232,206,122,.5); letter-spacing: 6px; }
.sample-card .cover .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.22); border: 2px solid rgba(255,255,255,.85);
  display: grid; place-items: center; color: #fff; font-size: 18px;
  backdrop-filter: blur(2px); transition: all .2s;
}
.sample-card:hover .cover .play { background: var(--gold); border-color: var(--gold); }
.sample-card .tags { position: absolute; right: 10px; top: 10px; display: flex; gap: 6px; z-index: 2; }
.sample-card .sales-badge {
  position: absolute; left: 10px; top: 10px; z-index: 3;
  background: rgba(43,35,32,.62); color: #F6ECD1; font-size: 12px; line-height: 1;
  padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(3px);
  font-weight: 600; pointer-events: none; white-space: nowrap;
}
.tag {
  font-size: 11px; padding: 3px 10px; border-radius: 999px;
  background: rgba(43,35,32,.55); color: #F6ECD1; backdrop-filter: blur(3px);
}
.sample-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sample-card .title { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.sample-card .desc { font-size: 12.5px; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sample-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 10px; }
.price { font-family: var(--serif); color: var(--red); font-size: 20px; font-weight: 800; }
.price small { font-size: 12px; font-weight: 400; }

/* ---------- 详情页 ---------- */
.detail-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; margin: 40px 0 72px; align-items: start; }
.detail-media { background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.detail-media video { width: 100%; aspect-ratio: 16/9; display: block; background: #000; }
.detail-side {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); position: sticky; top: 88px;
}
.detail-side h1 { font-family: var(--serif); font-size: 24px; color: var(--red-dark); letter-spacing: 1px; line-height: 1.4; }
.detail-side .tags-row { display: flex; gap: 8px; margin: 12px 0 16px; }
.badge { font-size: 12px; padding: 4px 12px; border-radius: 999px; background: var(--gold-pale); color: #8A6A10; }
.price-block { display: flex; align-items: baseline; gap: 8px; margin: 14px 0; }
.price-block .now { font-family: var(--serif); font-size: 36px; font-weight: 800; color: var(--red); }
.price-block .unit { color: var(--red); font-size: 15px; }
.price-note { font-size: 12px; color: var(--ink-soft); }
.detail-side .sales-line {
  display: inline-flex; align-items: center; gap: 4px; margin: 2px 0 14px;
  font-size: 14px; font-weight: 700; color: #E8590C;
  background: #FFF3E6; border: 1px solid #FFD8B0; border-radius: 999px;
  padding: 4px 12px;
}
.materials {
  background: var(--cream); border: 1px dashed var(--gold); border-radius: 10px;
  padding: 16px 18px; margin: 18px 0 22px;
}
.materials h4 { font-family: var(--serif); color: var(--red-dark); font-size: 15px; letter-spacing: 2px; margin-bottom: 8px; }
.materials pre { font-family: var(--sans); font-size: 13.5px; color: var(--ink-soft); white-space: pre-wrap; line-height: 1.8; }
.detail-desc { margin-top: 36px; }

/* ---------- 表单 / 登录注册 ---------- */
.auth-card {
  max-width: 420px; margin: 56px auto 80px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 40px 38px;
}
.auth-card h2 { font-family: var(--serif); text-align: center; color: var(--red-dark); letter-spacing: 3px; font-size: 24px; }
.auth-card .hint { text-align: center; font-size: 13px; color: var(--ink-soft); margin: 8px 0 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 6px; letter-spacing: 1px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border-radius: 10px; font-size: 15px;
  border: 1px solid var(--line); background: var(--cream); font-family: var(--sans);
  transition: all .2s; outline: none; color: var(--ink);
}
.field input:focus, .field textarea:focus { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(201,162,39,.15); }
.form-err { color: var(--red); font-size: 13px; min-height: 20px; margin-bottom: 8px; }
.auth-alt { text-align: center; font-size: 13.5px; color: var(--ink-soft); margin-top: 18px; }
.auth-alt a { color: var(--red); font-weight: 600; }

/* ---------- 个人中心 ---------- */
.page-head { margin: 44px 0 10px; }
.page-head h1 { font-family: var(--serif); font-size: 30px; color: var(--red-dark); letter-spacing: 2px; }
.page-head p { color: var(--ink-soft); font-size: 14px; margin-top: 6px; }
.account-grid { display: grid; grid-template-columns: 320px 1fr; gap: 28px; margin: 32px 0 72px; align-items: start; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.panel h3 { font-family: var(--serif); font-size: 18px; color: var(--red-dark); letter-spacing: 2px; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.panel h3::before { content: ""; width: 4px; height: 18px; background: linear-gradient(180deg, var(--gold), var(--red)); border-radius: 2px; }
.balance-box {
  background: linear-gradient(145deg, var(--red-deep), var(--red));
  color: #fff; border-radius: 12px; padding: 22px 24px; margin-bottom: 20px; position: relative; overflow: hidden;
}
.balance-box::after { content: "福"; position: absolute; right: -6px; bottom: -22px; font-family: var(--serif); font-size: 100px; color: rgba(232,206,122,.16); }
.balance-box span { font-size: 13px; opacity: .85; }
.balance-box b { display: block; font-family: var(--serif); font-size: 34px; color: var(--gold-light); margin-top: 4px; }

/* 表格 */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; color: var(--ink-soft); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 12px; border-bottom: 1px solid #F3EBDD; }
.table tr:hover td { background: var(--cream); }
.status-pill { font-size: 12px; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.st-pending { background: #FFF3D6; color: #9A6F11; }
.st-making { background: #E3EDFF; color: #2C5FC1; }
.st-done { background: #E2F5E6; color: #2E8B47; }
.st-cancelled { background: #F1EDE9; color: #8A7F77; }

/* ---------- 悬浮客服区 ---------- */
.service-fab { position: fixed; right: 22px; bottom: 26px; display: flex; flex-direction: column; gap: 12px; z-index: 300; }
.fab {
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  display: grid; place-items: center; font-size: 24px; color: #fff;
  box-shadow: var(--shadow-md); transition: all .2s; position: relative;
}
.fab:hover { transform: scale(1.08); }
.fab-chat { background: linear-gradient(145deg, var(--red), var(--red-deep)); }
.fab-contact { background: linear-gradient(145deg, var(--gold), #A88420); }
.fab .dot {
  position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: #E74C3C; color: #fff; font-size: 12px; line-height: 20px; text-align: center; display: none;
}
.fab .tip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
  background: rgba(43,35,32,.85); color: #fff; font-size: 12.5px; padding: 6px 12px;
  border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.fab:hover .tip { opacity: 1; }

/* 弹层通用 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(43,35,32,.5); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; z-index: 400;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  width: min(420px, 92vw); max-height: 86vh; overflow: auto; animation: pop .25s ease;
}
@keyframes pop { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal .m-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 17px; color: var(--red-dark); letter-spacing: 2px;
}
.modal .m-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--ink-soft); }
.modal .m-body { padding: 22px; }
.contact-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 14.5px; }
.contact-row .k { color: var(--ink-soft); width: 74px; flex: none; }
.contact-qr { width: 180px; height: 180px; margin: 0 auto 16px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; background: var(--cream); overflow: hidden; }
.contact-qr img { width: 100%; height: 100%; object-fit: contain; }

/* 顶部动作胶囊组: VIP权益(鎏金) / 充值(朱红) / 下载APP(墨线) */
.nav-actions { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; }
.nav-links a.nav-pill {
  display: inline-flex; align-items: center; gap: 5px;
  height: 30px; padding: 0 13px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .5px; white-space: nowrap;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
}
.nav-pill .np-ico { width: 15px; height: 15px; flex: none; }
.nav-links a.nav-pill:hover { transform: translateY(-1px); }
.nav-links a.nav-pill:active { transform: translateY(0); }
.nav-links a.np-gold {
  background: linear-gradient(145deg, #F0D67E, var(--gold)); color: #4A3510;
  box-shadow: 0 2px 8px rgba(201, 162, 39, .32), inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.nav-links a.np-gold:hover { color: #4A3510; box-shadow: 0 5px 14px rgba(201, 162, 39, .45), inset 0 0 0 1px rgba(255, 255, 255, .45); }
.nav-links a.np-red {
  background: linear-gradient(145deg, var(--red), var(--red-deep)); color: #fff;
  box-shadow: 0 2px 8px rgba(176, 58, 46, .3), inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.nav-links a.np-red:hover { color: #fff; box-shadow: 0 5px 14px rgba(176, 58, 46, .42), inset 0 0 0 1px rgba(255, 255, 255, .22); }
.nav-links a.np-line { background: rgba(255, 255, 255, .55); color: var(--red-dark); border: 1.5px solid var(--red); }
.nav-links a.np-line:hover { background: var(--red); color: #fff; }
/* 退出登录: 中性描边, 不抢品牌色 */
.nav-links a.np-logout { background: transparent; color: var(--ink-soft); border: 1.5px solid rgba(110, 98, 91, .4); }
.nav-links a.np-logout:hover { color: var(--ink); border-color: var(--ink-soft); }
@media (max-width: 768px) {
  .mobile-menu a.np-m { display: flex; align-items: center; gap: 9px; color: var(--red); font-weight: 600; }
  .mobile-menu a.np-m .np-ico { width: 17px; height: 17px; flex: none; }
}

/* ---------- 样片水印(后台可配置: 位置/动画/深浅/大小) ---------- */
.wm-layer {
  position: absolute; z-index: 1; pointer-events: none;
  color: #fff; font-weight: 600; letter-spacing: 1px; white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35); line-height: 1.2;
}
.wm-layer .wm-in { display: inline-block; }
.wm-anim-float { animation: wmFloat 2.6s ease-in-out infinite; }
.wm-anim-sway { animation: wmSway 2.6s ease-in-out infinite; }
.wm-anim-pulse { animation: wmPulse 2.2s ease-in-out infinite; }
@keyframes wmFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes wmSway { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }
@keyframes wmPulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* ---------- 样片保护: 禁右键保存/禁拖拽/禁选择 ---------- */
.sample-card .cover, .detail-media, .sp-cover { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.sample-card .cover img, .detail-media img, .detail-media video, .sp-cover img, .sp-cover video { -webkit-user-drag: none; user-drag: none; }

/* 下载APP 弹窗 */
.dl-tip { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 16px; line-height: 1.6; }
.dl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.dl-os-note { margin-top: 10px; font-size: 11.5px; color: var(--ink-soft); opacity: .85; }
.dl-card {
  border: 1.5px solid var(--line); border-radius: 14px; padding: 20px 16px;
  text-align: center; background: var(--cream);
}
.dl-card.hl { border-color: var(--red); box-shadow: 0 0 0 3px rgba(176,58,46,.12); }
.dl-ico { font-size: 40px; margin-bottom: 8px; line-height: 1; }
.dl-card h4 { font-family: var(--serif); color: var(--red-dark); margin: 0 0 8px; font-size: 17px; letter-spacing: 1px; }
.dl-card p { font-size: 13px; color: var(--ink-soft); margin: 0 0 16px; line-height: 1.55; }
.dl-card .btn { width: 100%; }
.dl-note { font-size: 12.5px; color: var(--ink-soft); margin: 16px 0 0; line-height: 1.6; }
.contact-qr .empty { color: var(--ink-soft); font-size: 12px; text-align: center; padding: 10px; }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 72px; background: linear-gradient(170deg, #4A1811, var(--red-dark));
  color: rgba(255,255,255,.75); font-size: 13.5px;
}
.site-footer .inner { padding: 44px 0 26px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h5 { font-family: var(--serif); color: var(--gold-light); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer .bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 20px;
  text-align: center; font-size: 12.5px; color: rgba(255,255,255,.5); letter-spacing: 1px;
}

/* ---------- 其他 ---------- */
.empty-state { text-align: center; padding: 60px 0; color: var(--ink-soft); }
.empty-state .icon { font-size: 42px; margin-bottom: 12px; color: var(--gold); }
.toast-box { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 999; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  background: rgba(43,35,32,.9); color: #fff; padding: 11px 24px; border-radius: 999px;
  font-size: 14px; box-shadow: var(--shadow-md); animation: fadein .3s;
}
.toast.err { background: rgba(176,58,46,.95); }
@keyframes fadein { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; } }
.skeleton { background: linear-gradient(90deg, #F1E9DA 25%, #F8F2E6 50%, #F1E9DA 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 10px; }
@keyframes sk { to { background-position: -200% 0; } }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 14px; margin: 26px 0 0; }
.back-link:hover { color: var(--red); }

/* ---------- 下单页 ---------- */
.create-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; margin: 32px 0 72px; align-items: start; }
.create-form .panel { margin-bottom: 22px; }
.pay-summary .row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.pay-summary .row .k { color: var(--ink-soft); }
.pay-summary .row.total .now { font-family: var(--serif); font-size: 26px; font-weight: 800; color: var(--red); }
.pay-side { position: sticky; top: 88px; }
.upload-drop {
  border: 1.5px dashed var(--gold); border-radius: 12px; background: var(--cream);
  padding: 22px; text-align: center; cursor: pointer; transition: all .2s; color: var(--ink-soft); font-size: 14px;
}
.upload-drop:hover { border-color: var(--red); color: var(--red); }
.upload-drop .done { color: #2E8B47; font-weight: 600; }

/* ---------- 付款确认弹窗 ---------- */
.pay-modal .modal { width: min(400px, 92vw); }
.pay-modal .m-body { padding: 26px; }
.pay-modal .amount-big { text-align: center; margin: 6px 0 18px; }
.pay-modal .amount-big b { font-family: var(--serif); font-size: 42px; color: var(--red); font-weight: 800; }
.pay-modal .amount-big span { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.pay-modal .balance-line {
  display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-soft);
  background: var(--cream); border-radius: 10px; padding: 12px 16px; margin-bottom: 20px;
}
.pay-modal .balance-line b { color: var(--ink); }
.pay-modal .actions { display: flex; gap: 12px; }
.pay-modal .actions .btn { flex: 1; }

/* ---------- 支付成功动画 ---------- */
.pay-success-overlay {
  position: fixed; inset: 0; z-index: 600; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(1200px 800px at 50% 40%, rgba(140,47,35,.96), rgba(70,20,13,.98));
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.pay-success-overlay.show { opacity: 1; pointer-events: auto; }
.pay-success-card { text-align: center; color: #fff; transform: scale(.8); opacity: 0; }
.pay-success-overlay.show .pay-success-card { animation: cardIn .5s .1s ease forwards; }
@keyframes cardIn { to { transform: scale(1); opacity: 1; } }
.pay-success-card .ring-wrap { position: relative; width: 130px; height: 130px; margin: 0 auto 26px; }
.pay-success-card svg.ring { width: 130px; height: 130px; transform: rotate(-90deg); }
.pay-success-card circle.ring-bg { fill: none; stroke: rgba(232,206,122,.25); stroke-width: 5; }
.pay-success-card circle.ring-fg {
  fill: none; stroke: var(--gold-light); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 377; stroke-dashoffset: 377;
}
.pay-success-overlay.show circle.ring-fg { animation: ringDraw 1s .25s ease forwards; }
@keyframes ringDraw { to { stroke-dashoffset: 0; } }
.pay-success-card .check {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.pay-success-card svg.tick { width: 60px; height: 60px; }
.pay-success-card svg.tick path {
  fill: none; stroke: var(--gold-light); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
}
.pay-success-overlay.show svg.tick path { animation: tickDraw .55s .95s ease forwards; }
@keyframes tickDraw { to { stroke-dashoffset: 0; } }
.pay-success-card h2 { font-family: var(--serif); font-size: 30px; letter-spacing: 6px; opacity: 0; }
.pay-success-overlay.show h2 { animation: fadeUp .6s 1.35s ease forwards; }
.pay-success-card .paysub { font-size: 14px; color: rgba(255,255,255,.8); margin-top: 12px; opacity: 0; }
.pay-success-overlay.show .paysub { animation: fadeUp .6s 1.55s ease forwards; }
.pay-success-card .paysub b { color: var(--gold-light); font-weight: 600; }
.pay-success-card .go { margin-top: 30px; opacity: 0; }
.pay-success-overlay.show .go { animation: fadeUp .6s 1.8s ease forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* 金粉粒子 */
.confetti { position: absolute; top: 42%; left: 50%; width: 0; height: 0; }
.confetti i {
  position: absolute; width: 7px; height: 7px; border-radius: 2px; opacity: 0;
  background: var(--gold-light);
}
.pay-success-overlay.show .confetti i { animation: burst 1.5s ease-out forwards; }
@keyframes burst {
  0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(1); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(-140px) scale(.4); }
}

/* ---------- 分类主题贴图(scene-art) ---------- */
.page-head-row { display: flex; gap: 20px; align-items: center; }
.page-head-row .page-head { flex: 1; }
.scene-art {
  flex: none; display: flex; align-items: center; gap: 14px;
  width: min(430px, 44%); height: 210px;
}
.scene-art .art-svg { flex: 1.55; min-width: 0; height: 100%; filter: drop-shadow(0 10px 24px rgba(176,58,46,.12)); }
.scene-art .art-svg svg { width: 100%; height: 100%; display: block; }
.scene-art.swap .art-svg { animation: artIn .55s ease; }
@keyframes artIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
/* 竖排书法文案 + 印章 */
.art-quote { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; height: 100%; padding-right: 6px; }
.art-chars { display: flex; flex-direction: column; align-items: center; }
.art-chars i {
  font-style: normal; font-family: var(--serif); font-weight: 800;
  font-size: 24px; line-height: 1.5; opacity: 0;
  background: linear-gradient(165deg, #8C5A10 5%, #C9A227 50%, #E8CE7A 70%, #8C5A10 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #B08A1E;
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
  transform: translateY(16px) scale(.7);
  animation: charIn .5s cubic-bezier(.22,.68,.3,1.25) forwards;
}
.art-chars i.dot { font-size: 15px; line-height: 1.1; }
@keyframes charIn { to { opacity: 1; transform: none; } }
.art-seal {
  writing-mode: vertical-rl; font-family: var(--serif); font-weight: 700;
  font-size: 13px; letter-spacing: 3px; color: var(--gold-light);
  background: linear-gradient(150deg, var(--red), var(--red-deep));
  padding: 7px 3px; border-radius: 5px; align-self: flex-end; margin-bottom: 26px;
  box-shadow: inset 0 0 0 1.5px rgba(232,206,122,.5), 0 4px 10px rgba(176,58,46,.3);
  opacity: 0; animation: charIn .5s 1.15s cubic-bezier(.22,.68,.3,1.25) forwards;
}
/* SVG 变换以自身包围盒为参照 */
.scene-art [class^="anim-"] { transform-box: fill-box; }
.anim-swing  { transform-origin: 50% 0;   animation: swing 3.6s ease-in-out infinite; }
.anim-float  { animation: floaty 3s ease-in-out infinite; }
.anim-rise   { animation: rise 2.6s linear infinite; }
.anim-twinkle{ transform-origin: center;  animation: twinkle 1.8s ease-in-out infinite; }
.anim-pop    { transform-origin: center;  animation: pop 2s ease-in-out infinite; }
.anim-spin   { transform-origin: center;  animation: spin 16s linear infinite; }
.anim-flicker{ transform-origin: 50% 100%; animation: flicker 1.1s ease-in-out infinite; }
.anim-drift  { animation: drift 5.5s ease-in-out infinite; }
.anim-dash   { animation: dashmove 3s linear infinite; }
.anim-clap   { transform-origin: 0% 100%; animation: clap 2.4s ease-in-out infinite; }
.d1 { animation-delay: .4s; } .d2 { animation-delay: .8s; } .d3 { animation-delay: 1.25s; }
@keyframes swing   { 0%,100% { transform: rotate(4deg); } 50% { transform: rotate(-4deg); } }
@keyframes floaty  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes rise    { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-46px); opacity: 0; } }
@keyframes twinkle { 0%,100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes pop     { 0%,100% { transform: translateY(0) scale(1); } 30% { transform: translateY(-6px) scale(1.12); } 60% { transform: translateY(-2px) scale(.97); } }
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes flicker { 0%,100% { transform: scaleY(1); } 30% { transform: scaleY(.82) rotate(3deg); } 60% { transform: scaleY(1.12) rotate(-3deg); } }
@keyframes drift   { 0%,100% { transform: translateX(0); } 50% { transform: translateX(16px); } }
@keyframes dashmove{ to { stroke-dashoffset: -64; } }
@keyframes clap    { 0%,55%,100% { transform: rotate(0); } 25% { transform: rotate(-16deg); } }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .type-cards { grid-template-columns: 1fr; }
  .detail-wrap { grid-template-columns: 1fr; }
  .create-grid { grid-template-columns: 1fr; }
  .pay-side { position: static; }
  .detail-side { position: static; }
  .account-grid { grid-template-columns: 1fr; }
  .scene-art { display: none; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 24px; }
  .hero .stats { gap: 24px; }
}

/* ---------- 汉堡导航（≤768px） ---------- */
@media (min-width: 769px) {
  .nav-toggle, .mobile-menu { display: none !important; }
}
@media (max-width: 768px) {
  .site-header .inner { height: 58px; }
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    background: none; border: none; padding: 10px 6px; cursor: pointer;
  }
  .nav-toggle span {
    display: block; width: 22px; height: 2px; border-radius: 2px;
    background: var(--red-dark); transition: all .25s ease;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    display: none; flex-direction: column;
    background: rgba(250, 246, 239, 0.98); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    padding: 6px 18px 12px;
    box-shadow: 0 14px 30px rgba(94, 31, 23, 0.12);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    padding: 14px 6px; font-size: 15.5px; color: var(--ink);
    border-bottom: 1px solid #F3EBDD; letter-spacing: 1px;
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu a.active { color: var(--red); font-weight: 700; }
  .mobile-menu a.my-orders-link { color: var(--red-dark); font-weight: 600; }
}

/* ---------- 手机端全面适配（≤640px） ---------- */
@media (max-width: 640px) {
  body { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
  .brand .sub { display: none; }
  .hero .inner { padding: 42px 0 50px; }
  .hero h1 { font-size: 27px; letter-spacing: 2px; line-height: 1.45; }
  .hero p.sub { font-size: 15px; margin: 16px 0 26px; letter-spacing: .5px; }
  .hero .eyebrow { font-size: 12px; padding: 5px 14px; margin-bottom: 18px; letter-spacing: 1px; }
  .hero::before { font-size: 150px; top: 6%; }
  .hero .cta { flex-direction: column; gap: 12px; }
  .hero .cta .btn { width: 100%; }
  .hero .stats { margin-top: 32px; gap: 16px 22px; flex-wrap: wrap; }
  .hero .stat b { font-size: 21px; }
  .hero .stat span { font-size: 12px; }

  .sec-title { margin: 40px 0 6px; }
  .sec-title h2 { font-size: 23px; letter-spacing: 2px; }
  .sec-title .deco::before, .sec-title .deco::after { width: 34px; }
  .sec-desc { margin-bottom: 24px; }

  .type-card { padding: 22px 20px 18px; }
  .type-card .icon { width: 54px; height: 54px; margin-bottom: 12px; }
  .type-card .icon span { font-size: 26px; }
  .type-card h3 { font-size: 18px; }
  .type-card .tc-num { font-size: 48px; }
  /* 手机上常显行动条（无 hover） */
  .type-card .tc-go { max-height: 36px; opacity: 1; margin-top: 12px; }

  .filter-bar { gap: 8px; margin: 18px 0 22px; }
  .filter-bar .label { width: 100%; margin: 0 0 4px; }
  .chip { padding: 7px 15px; font-size: 13.5px; }

  .sample-grid { gap: 16px; }
  .sample-grid .skeleton { height: 240px !important; }
  .sample-card .body { padding: 14px 16px 16px; }
  .sample-card .title { font-size: 16px; }
  .price { font-size: 18px; }

  .page-head { margin: 30px 0 8px; }
  .page-head h1 { font-size: 24px; }
  .back-link { margin-top: 18px; }

  .detail-side { padding: 20px; }
  .detail-side h1 { font-size: 20px; }
  .price-block .now { font-size: 30px; }
  .detail-desc { margin-top: 26px; }

  .auth-card { margin: 30px auto 56px; padding: 30px 22px; }
  .auth-card h2 { font-size: 21px; }

  .panel { padding: 20px; }
  .balance-box b { font-size: 30px; }
  /* 表格横向滚动，不撑破布局 */
  .table { display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }

  .notice-bar .inner { flex-wrap: wrap; padding: 8px 0; }
  .notice-bar .msg { display: inline; line-height: 1.6; }

  .toast-box { top: 70px; width: 92vw; }
  .toast { font-size: 13px; padding: 10px 18px; }
  .service-fab { right: 14px; bottom: 18px; gap: 10px; }
  .fab { width: 50px; height: 50px; font-size: 21px; }
  .fab .tip { display: none; }

  .modal .m-body { padding: 18px; }
  .pay-modal .amount-big b { font-size: 34px; }
  .pay-modal .actions { flex-direction: column; }

  .site-footer { margin-top: 48px; }
  .site-footer .inner { padding: 34px 0 22px; }
  .site-footer .bottom { margin-top: 24px; padding-top: 16px; }
}

/* ============================================================
   VIP 权益 / 充值中心 (2026-10-24)
   ============================================================ */

/* ---- 账户页快捷入口 ---- */
.acct-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 0; }
.acct-quick a {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: linear-gradient(145deg, #fff, var(--gold-pale));
  border: 1px solid var(--gold-light); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: .2s; overflow: hidden; position: relative;
}
.acct-quick a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.acct-quick .ic {
  width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--red), var(--red-deep)); color: var(--gold-light);
  font-size: 22px; box-shadow: inset 0 0 0 1.5px rgba(232,206,122,.5);
}
.acct-quick .tx b { display: block; font-family: var(--serif); font-size: 16.5px; color: var(--red-dark); letter-spacing: 1px; }
.acct-quick .tx span { font-size: 12.5px; color: var(--ink-soft); }
.acct-quick .go { margin-left: auto; color: var(--gold); font-size: 20px; flex: none; }

/* ---- VIP 我的等级卡 ---- */
.vip-me {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: linear-gradient(145deg, var(--red-dark), var(--red-deep) 60%, var(--red));
  border-radius: var(--radius); padding: 26px 28px; color: #fff;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.vip-me::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px;
  border-radius: 50%; background: radial-gradient(circle, rgba(232,206,122,.22), transparent 70%);
}
.vip-me .badge {
  width: 76px; height: 76px; flex: none; border-radius: 20px; display: grid; place-items: center;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(232,206,122,.55); font-size: 36px;
}
.vip-me .info { flex: 1; min-width: 220px; }
.vip-me .lv { font-family: var(--serif); font-size: 22px; letter-spacing: 2px; color: var(--gold-light); }
.vip-me .ds { font-size: 13px; opacity: .85; margin-top: 2px; }
.vip-me .nums { display: flex; gap: 26px; margin-top: 12px; flex-wrap: wrap; }
.vip-me .nums .it b { display: block; font-size: 19px; font-family: var(--serif); }
.vip-me .nums .it span { font-size: 12px; opacity: .75; }
.vip-me .prog-wrap { margin-top: 14px; }
.vip-me .prog {
  height: 26px; border-radius: 99px; background: rgba(255,255,255,.16);
  overflow: hidden; position: relative; display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px; box-shadow: inset 0 1px 3px rgba(0,0,0,.18);
}
.vip-me .prog i { position: absolute; left: 0; top: 0; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transition: width .6s; }
.vip-me .prog-lab { position: relative; z-index: 1; font-size: 12.5px; font-weight: 700; letter-spacing: .5px; white-space: nowrap; text-shadow: 0 1px 2px rgba(0,0,0,.22); }
.vip-me .prog-tx { font-size: 12px; opacity: .85; margin-top: 6px; }
.vip-me .cta { flex: none; }
.vip-me .cta .btn { background: linear-gradient(145deg, var(--gold), #B8901F); color: #3a2a05; border: none; font-weight: 700; }

/* ---- VIP 等级梯度 ---- */
.vip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 18px; }
.vip-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow-sm); position: relative;
  display: flex; flex-direction: column; transition: .2s;
}
.vip-card .bd {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 26px;
  background: var(--cream); border: 1px solid var(--line); margin-bottom: 12px;
}
.vip-card h4 { font-family: var(--serif); font-size: 18px; color: var(--red-dark); letter-spacing: 1px; }
.vip-card .gate { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.vip-card .disc {
  margin: 12px 0; font-family: var(--serif); font-size: 26px; color: var(--red); font-weight: 800;
}
.vip-card .disc small { font-size: 12px; color: var(--ink-soft); font-family: var(--sans); font-weight: 400; margin-left: 4px; }
.vip-card ul { list-style: none; font-size: 13px; color: var(--ink); line-height: 1.9; }
.vip-card ul li { padding-left: 18px; position: relative; }
.vip-card ul li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: 11px; top: 2px; }
.vip-card.cur { border: 1.5px solid var(--gold); background: linear-gradient(170deg, #fff, var(--gold-pale)); box-shadow: var(--shadow-md); }
.vip-card.cur::after {
  content: "当前等级"; position: absolute; top: 14px; right: -1px;
  background: linear-gradient(145deg, var(--gold), #B8901F); color: #3a2a05;
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 8px 0 0 8px; letter-spacing: 1px;
}
.vip-card.lock { opacity: .62; }
.vip-card.lock .disc { color: var(--ink-soft); }

/* ---- 规则说明 ---- */
.vip-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.vip-rules .r {
  background: #fff; border: 1px dashed var(--gold-light); border-radius: var(--radius);
  padding: 18px; display: flex; gap: 12px; align-items: flex-start;
}
.vip-rules .n {
  width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--red), var(--red-deep)); color: var(--gold-light);
  font-family: var(--serif); font-weight: 700; font-size: 15px;
}
.vip-rules b { display: block; font-size: 14.5px; color: var(--red-dark); margin-bottom: 2px; }
.vip-rules p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.7; }

/* ---- 充值档位 ---- */
.rc-balance {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow-sm); margin-top: 20px;
}
.rc-balance .bb b { font-family: var(--serif); font-size: 26px; color: var(--red); }
.rc-balance .bb span { font-size: 12.5px; color: var(--ink-soft); display: block; }
.rc-balance .lv-tag {
  margin-left: auto; background: var(--gold-pale); border: 1px solid var(--gold-light);
  color: #7A5B13; font-size: 13px; padding: 6px 14px; border-radius: 999px;
}
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 16px; }
.tier-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 20px 16px 16px; text-align: center; cursor: pointer; position: relative;
  transition: .18s; box-shadow: var(--shadow-sm);
}
.tier-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.tier-card.sel { border-color: var(--red); background: linear-gradient(170deg, #fff, #FDF3EC); box-shadow: var(--shadow-md); }
.tier-card.sel::before {
  content: "✓"; position: absolute; top: 10px; right: 10px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--red); color: #fff; font-size: 13px;
  display: grid; place-items: center;
}
.tier-card .tg {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: linear-gradient(145deg, var(--gold), #B8901F); color: #3a2a05;
  font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; letter-spacing: 1px;
}
.tier-card .amt { font-family: var(--serif); font-size: 30px; color: var(--ink); font-weight: 800; }
.tier-card .amt small { font-size: 14px; font-weight: 400; }
.tier-card .gift { font-size: 12.5px; color: var(--red); margin-top: 4px; min-height: 20px; }
.tier-card .got { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.tier-card .got b { color: var(--red-deep); }

/* ---- 充值摘要 / 结果 ---- */
.rc-sum {
  display: none; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--cream); border: 1px solid var(--gold-light); border-radius: var(--radius);
  padding: 16px 20px; margin-top: 16px;
}
.rc-sum.show { display: flex; }
.rc-sum .rows { flex: 1; min-width: 220px; font-size: 13.5px; line-height: 2; }
.rc-sum .rows .k { color: var(--ink-soft); display: inline-block; min-width: 76px; }
.rc-sum .rows b { color: var(--red-deep); }
.rc-order {
  display: none; margin-top: 16px; border: 1px solid var(--gold); border-radius: var(--radius);
  background: linear-gradient(170deg, #fff, var(--gold-pale)); padding: 20px 22px;
}
.rc-order.show { display: block; }
.rc-order h4 { font-family: var(--serif); color: var(--red-dark); letter-spacing: 2px; font-size: 17px; margin-bottom: 8px; }
.rc-order .ono { font-size: 13px; color: var(--ink-soft); }
.rc-order .ono b { color: var(--ink); font-size: 15px; letter-spacing: 1px; }
.rc-order .st { display: inline-block; margin-left: 8px; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: #FDF0D5; color: #B45309; border: 1px solid #F5D488; }
.rc-order .st.paid { background: #E8F7EE; color: #1E7A3C; border-color: #A9DFC0; }
.rc-order .tip { font-size: 13px; color: var(--ink-soft); margin-top: 10px; line-height: 1.8; }

/* ---- 底部联系客服充值 CTA ---- */
.rc-kefu {
  margin-top: 34px; text-align: center; padding: 30px 20px 34px;
  background: linear-gradient(160deg, #4A1811, var(--red-dark));
  border-radius: 18px; color: rgba(255,255,255,.82); position: relative; overflow: hidden;
}
.rc-kefu::after {
  content: ""; position: absolute; left: 50%; bottom: -70px; transform: translateX(-50%);
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,.25), transparent 70%);
}
.rc-kefu h3 { font-family: var(--serif); color: var(--gold-light); font-size: 20px; letter-spacing: 3px; }
.rc-kefu p { font-size: 13px; margin: 8px 0 18px; }
.rc-kefu .btn-kefu {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(145deg, var(--gold), #B8901F); color: #3a2a05;
  border: none; border-radius: 999px; padding: 13px 34px; font-size: 16px; font-weight: 700;
  cursor: pointer; letter-spacing: 2px; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: .2s;
  font-family: var(--sans); position: relative; z-index: 1;
}
.rc-kefu .btn-kefu:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.rc-kefu .btn-kefu svg { width: 22px; height: 22px; }

@media (max-width: 768px) {
  .acct-quick { grid-template-columns: 1fr; }
  .vip-rules { grid-template-columns: 1fr; }
  .vip-me { padding: 20px; }
  .vip-me .badge { width: 60px; height: 60px; font-size: 28px; }
}

/* ---- 自定义金额档位卡(无赠送) ---- */
.tier-card.tier-custom { border-style: dashed; }
.tier-card .cg {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: linear-gradient(145deg, #8C2F23, var(--red-deep)); color: #fff;
  font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 999px;
  white-space: nowrap; letter-spacing: 1px;
}
.tier-card .camt { display: flex; align-items: center; justify-content: center; gap: 2px; }
.tier-card .camt input {
  width: 92px; border: none; border-bottom: 1.5px solid var(--line); background: transparent;
  font-family: var(--serif); font-size: 26px; font-weight: 800; color: var(--ink);
  text-align: center; outline: none; padding: 0 2px; min-width: 0;
}
.tier-card .camt input:focus { border-bottom-color: var(--red); }
.tier-card .camt input::placeholder { color: #D8C9B6; font-weight: 400; }
