@import url('/assets/fontawesome/all.min.css');

/* ============================================================
   plus8.vip — GETGPT Pro 风格样式
   ============================================================ */
:root {
  --brand: #4F46E5;
  --brand-2: #7C3AED;
  --brand-soft: #eef2ff;
  --brand-grad: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  --ink: #0f172a;
  --ink-2: #475569;
  --muted: #94a3b8;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --green: #10b981;
  --green-bg: #ecfdf5;
  --amber: #d97706;
  --amber-bg: #fef3c7;
  --red: #dc2626;
  --red-bg: #fef2f2;
  --footer: #0B0F19;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 1px 3px rgba(15, 23, 42, .04);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, .08);
  --shadow-brand: 0 12px 28px -12px rgba(79, 70, 229, .5);
  --maxw: 1280px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #f5f3ff;
  line-height: 1.6;
  font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
h1,h2,h3,h4 { line-height: 1.3; margin: 0; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.page.user-center-page { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------------- Announcement bar ---------------- */
.announce {
  background: #ecfdf5;
  border-bottom: 1px solid #d1fae5;
  color: #064e3b;
  font-size: 14px;
  line-height: 20px;
  padding: 10px 16px;
}
.announce-inner {
  max-width: 1280px;
  min-height: 24px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.announce-copy { display: flex; align-items: center; gap: 4px; min-width: 0; font-weight: 500; }
.announce-message { color: #064e3b; }
.announce .check {
  display: inline-flex; flex: 0 0 20px; align-items: center; justify-content: center;
  width: 20px; height: 20px; border: 1px solid #6ee7b7; border-radius: 50%;
  background: #d1fae5; color: #059669; font-size: 10px;
}
.announce a {
  color: #047857; font-weight: 500; white-space: nowrap;
  text-decoration: none; border-bottom: 1px dashed currentColor;
  transition: color .15s;
}
.announce a:hover { color: #065f46; }
.announce a span { margin-left: 2px; }
@media (max-width: 700px) {
  .announce { padding: 9px 12px; }
  .announce-inner { align-items: flex-start; gap: 8px; }
  .announce-copy { display: block; text-align: center; }
  .announce-copy a { margin-left: 4px; }
}

/* ---------------- Header ---------------- */
.header {
  background: #fff;
  position: sticky; top: 0; z-index: 50;
  box-shadow: inset 0 -1px 0 var(--line);
}
.header .inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.site-mark { display: block; width: 54px; height: 54px; flex: 0 0 54px; }
.brand-copy { display: flex; flex-direction: column; justify-content: center; gap: 2px; line-height: 1.1; white-space: nowrap; }
.brand-copy strong { color: #111827; font-size: 20px; font-weight: 800; letter-spacing: .1px; }
.brand-copy small { color: #64748b; font-size: 12px; font-weight: 600; }
@media (max-width: 560px) { .site-mark { width: 46px; height: 46px; flex-basis: 46px; } .brand-copy strong { font-size: 17px; } .brand-copy small { font-size: 12px; } .brand-lockup { gap: 8px; } }
.brand .logo {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand-grad);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 22px;
  box-shadow: 0 6px 16px rgba(124,58,237,.35);
}
.brand .name { font-size: 20px; font-weight: 800; letter-spacing: .2px; }
.brand .sub { font-size: 12px; color: var(--muted); }

.header-menu { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; justify-content: flex-end; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-left: auto; flex: 0 0 42px;
  border: 1px solid var(--line); border-radius: 11px; background: #fff;
  color: var(--ink-2); padding: 0;
}
.nav-toggle:hover { border-color: var(--brand); color: var(--brand); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.header.nav-open .nav-toggle-bars { background: transparent; }
.header.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.header.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a, .nav .nav-item {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 13px; border-radius: 10px; color: var(--ink-2);
  font-size: 15px; font-weight: 500; transition: .15s;
  cursor: pointer;
}
.nav a:hover, .nav .nav-item:hover { color: var(--brand); background: var(--brand-soft); }
.nav .nav-item { text-decoration: none; }
.nav .fa, .nav .nav-item .fa, .nav .menu .fa { font-size: 16px; color: #94a3b8; }
.nav a:hover .fa, .nav .nav-item:hover .fa { color: currentColor; }
.nav > a .fa { margin-right: 1px; }
.support-icon .fa { font-size: 13px; }
.nav .dropdown { position: relative; }
.nav .dropdown::after {
  content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 8px;
}
.nav .dropdown .menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 60;
}
.nav .dropdown:hover .menu, .nav .dropdown.open .menu { display: block; }
.nav .menu a {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  gap: 1px; padding: 11px 12px; border-radius: 10px;
}
.nav .menu a:hover { background: var(--brand-soft); }
.nav .menu a .t { font-size: 14px; font-weight: 600; color: var(--ink); }
.nav .menu a .d { font-size: 12px; color: var(--muted); }
.caret { transition: .2s; font-size: 11px; }
.nav .dropdown:hover .caret { transform: rotate(180deg); }
.pricing-nav .menu { min-width: 286px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid transparent; border-radius: 11px; font-weight: 600;
  padding: 10px 18px; font-size: 14.5px; transition: .15s; white-space: nowrap;
}
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: 0 6px 16px rgba(124,58,237,.3); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-soft { background: var(--brand-soft); color: var(--brand); }
.btn-soft:hover { background: #e9defb; }
.btn-danger { background: var(--red-bg); color: var(--red); border-color: #fecaca; }
.btn-danger:hover { background: #fee2e2; border-color: #fca5a5; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { filter: brightness(1.05); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-lg { padding: 13px 26px; font-size: 16px; }
.auth-forgot { margin: 12px 0 0; }
.auth-page { display: flex; justify-content: center; }
.auth-panel { width: 100%; max-width: 524px; }
.auth-brand-wrap { margin-bottom: 8px; }
.reset-panel { margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.reset-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.reset-head h3 { font-size: 20px; }
.reset-back { border: 0; padding: 0; background: transparent; color: var(--brand); font-size: 14px; cursor: pointer; }
.code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.code-row .btn { min-width: 112px; padding-left: 12px; padding-right: 12px; }
@media (max-width: 480px) { .code-row { grid-template-columns: 1fr; } .code-row .btn { width: 100%; } }

.header .auth { display: flex; align-items: center; gap: 10px; margin-left: 12px; min-width: 0; }
.user-chip { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: var(--brand-soft); }
.user-menu-trigger { max-width: min(100%, 280px); }
.user-email { display: block; min-width: 0; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip .avatar {
  width: 26px; height: 26px; border-radius: 50%; background: var(--brand-grad);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.user-menu { position: relative; }
.user-menu-trigger { border: 0; cursor: pointer; font: inherit; color: var(--ink); }
.user-menu-trigger:hover { background: #e0e7ff; }
.user-menu-caret { color: var(--brand); font-size: 12px; margin-left: 2px; transition: transform .15s; }
.user-menu.open .user-menu-caret { transform: rotate(180deg); }
.user-menu-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px; padding: 7px; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-lg); display: none; z-index: 80; }
.user-menu.open .user-menu-panel { display: block; }
.user-menu-panel a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.user-menu-panel a:hover { color: var(--brand); background: var(--brand-soft); }
.user-menu-item { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; padding: 10px 12px; border-radius: 9px; background: transparent; color: var(--ink-2); font: inherit; font-size: 14px; text-align: left; cursor: pointer; white-space: nowrap; }
.user-menu-icon { width: 16px; color: #64748b; font-size: 14px; text-align: center; }
.user-menu-panel a:hover .user-menu-icon, .user-menu-item:hover .user-menu-icon { color: currentColor; }
.user-menu-item:hover { color: var(--brand); background: var(--brand-soft); }
.user-menu-logout { border-top: 1px solid #eef2f7; border-radius: 0 0 9px 9px; margin-top: 4px; padding-top: 11px; color: var(--red); }
.user-menu-logout:hover { color: #b91c1c; background: var(--red-bg); }
@media (max-width: 560px) {
  .header .inner { gap: 12px; }
  .header .auth { margin-left: 0; }
  .user-menu-trigger { max-width: 180px; }
  .user-email { max-width: 120px; }
}

/* Collapse the header into a drawer before the inline nav runs out of room. */
@media (max-width: 1280px) { .user-email { max-width: 140px; } }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .header .inner { gap: 12px; position: relative; }
  .header-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 4px; padding: 10px 16px 16px;
    max-height: calc(100dvh - 68px); overflow-y: auto;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(15, 23, 42, .12);
  }
  .header.nav-open .header-menu { display: flex; }
  .nav { flex-direction: column; align-items: stretch; gap: 2px; margin-left: 0; }
  .nav > a, .nav .nav-item { padding: 12px 12px; font-size: 15.5px; }
  .nav .dropdown { position: static; }
  .nav .dropdown::after { content: none; }
  .nav .dropdown .nav-item { display: flex; justify-content: flex-start; padding: 12px 12px; font-size: 15.5px; }
  .nav .dropdown .nav-item .caret { margin-left: auto; font-size: 13px; }
  .nav .menu a { padding: 10px 12px; }
  .nav .dropdown:hover .caret { transform: none; }
  .nav .dropdown.open .caret { transform: rotate(180deg); }
  .nav .dropdown .menu, .nav .dropdown:hover .menu {
    position: static; display: none; min-width: 0;
    margin: 2px 0 6px 14px; padding: 0 0 0 8px;
    border: 0; border-left: 2px solid var(--line); border-radius: 0;
    box-shadow: none;
  }
  .nav .dropdown.open .menu { display: block; }
  .header .auth { margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
  .header .auth .btn { flex: 1 1 0; padding: 11px 14px; font-size: 15px; }
  .header .auth .user-menu { width: 100%; }
  .user-menu-trigger { width: 100%; max-width: none; text-align: left; }
  .user-email { max-width: none; flex: 1 1 auto; }
  .user-menu-panel, .user-menu.open .user-menu-panel {
    position: static; display: block; min-width: 0;
    margin-top: 6px; padding: 4px 0 0;
    border: 0; border-radius: 0; box-shadow: none;
  }
  .user-menu-caret { display: none; }
  body.nav-drawer-open { overflow: hidden; }
}

/* ---------------- Support widget ---------------- */
.support-fab { position: fixed; right: 22px; bottom: 22px; z-index: 120; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 16px 11px 11px; background: var(--brand-grad); color: #fff; box-shadow: 0 12px 28px rgba(79,70,229,.3); cursor: pointer; }
.support-fab span { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.2); font-weight: 800; }
.support-fab b { font-size: 13px; }
.back-to-top { position: fixed; right: 24px; bottom: 80px; z-index: 119; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(79,70,229,.16); border-radius: 50%; background: rgba(255,255,255,.94); color: var(--brand); box-shadow: 0 8px 22px rgba(30,41,59,.14); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background .2s ease, color .2s ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.back-to-top:focus-visible { outline: 3px solid rgba(99,102,241,.32); outline-offset: 3px; }
.support-mask { position: fixed; inset: 0; z-index: 180; display: flex; justify-content: flex-end; align-items: flex-end; padding: 22px; background: rgba(15,23,42,.48); }
.support-mask[hidden] { display: none; }
.support-dialog { position: relative; width: min(100%, 430px); max-height: calc(100vh - 44px); overflow: auto; padding: 28px 24px 24px; border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgba(15,23,42,.25); }
.support-dialog h2 { font-size: 22px; font-weight: 800; }
.support-lead { color: var(--muted); margin: 4px 0 16px; }
.support-close { position: absolute; top: 14px; right: 16px; border: 0; background: transparent; color: var(--muted); font-size: 30px; line-height: 1; cursor: pointer; }
.support-list { display: grid; gap: 8px; }
.support-list a { display: grid; grid-template-columns: 25px 1fr 18px; align-items: center; gap: 9px; min-height: 42px; padding: 8px 10px; border-radius: 10px; background: #f8fafc; color: var(--ink-2); font-size: 14px; }
.support-list a:hover { background: var(--brand-soft); color: var(--brand); }
.support-list a b { color: var(--muted); font-size: 22px; font-weight: 400; text-align: right; }
.support-icon { width: 23px; height: 23px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 800; }
.support-icon.red { color: #ef4444; background: #fee2e2; }.support-icon.green { color: #10b981; background: #d1fae5; }.support-icon.amber { color: #f59e0b; background: #fef3c7; }.support-icon.cyan { color: #0891b2; background: #cffafe; }.support-icon.violet { color: #6366f1; background: #e0e7ff; }.support-icon.purple { color: #8b5cf6; background: #ede9fe; }
.support-note { margin-top: 14px; padding: 12px; border: 1px solid #e0e7ff; border-radius: 11px; background: #f5f3ff; color: #5b21b6; font-size: 13px; line-height: 1.6; }
.support-divider { display: flex; align-items: center; gap: 10px; margin: 20px 0 10px; color: var(--muted); font-size: 13px; }.support-divider::before,.support-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.support-contact { margin: 8px 0; color: var(--ink-2); font-size: 14px; }.support-contact a { color: var(--brand); font-weight: 700; }
.support-hours { margin-top: 14px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink-2); font-size: 13px; line-height: 1.7; }.support-hours b { color: var(--ink); }.support-hours span { color: var(--muted); }
.support-qr { display: flex; justify-content: center; margin-top: 14px; }.support-qr img { width: 150px; height: 150px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; padding: 6px; }
@media (max-width: 560px) { .support-fab { right: 14px; bottom: 14px; }.back-to-top { right: 16px; bottom: 70px; width: 40px; height: 40px; }.support-mask { padding: 12px; }.support-dialog { padding: 24px 16px 18px; border-radius: 16px; } }

/* ---------------- Welcome notice ---------------- */
.welcome-mask { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15,16,25,.58); backdrop-filter: blur(4px); animation: welcome-fade-in .2s ease-out; }
.welcome-dialog { position: relative; width: min(100%, 620px); max-height: calc(100vh - 40px); overflow: auto; padding: 30px 34px 26px; border: 1px solid rgba(124,58,237,.2); border-radius: 22px; background: var(--surface, #fff); box-shadow: 0 24px 80px rgba(15,23,42,.28); animation: welcome-slide-up .25s ease-out; }
.welcome-close { position: absolute; top: 14px; right: 17px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 27px; line-height: 1; cursor: pointer; }.welcome-close:hover { background: var(--brand-soft); color: var(--brand); }
.welcome-brand { display: flex; justify-content: center; margin: 0 auto 15px; }.welcome-brand img { width: 188px; height: 43px; object-fit: contain; }
.welcome-dialog h2 { margin: 0; color: var(--ink); font-size: 27px; font-weight: 850; text-align: center; }.welcome-subtitle { margin: 7px 0 21px; color: var(--muted); font-size: 16px; font-weight: 650; text-align: center; }
.welcome-notice { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 13px; padding: 15px 17px; border: 1px solid; border-radius: 14px; color: var(--ink-2); font-size: 15px; line-height: 1.8; }.welcome-notice-info { border-color: rgba(79,70,229,.2); background: var(--brand-soft); }.welcome-notice-warn { border-color: rgba(245,158,11,.25); background: rgba(255,251,235,.78); color: #9a5410; }.welcome-notice-icon { flex: 0 0 23px; margin-top: 2px; color: var(--brand); font-size: 19px; }.welcome-notice-warn .welcome-notice-icon { color: #f59e0b; }.welcome-notice b { font-weight: 750; }.welcome-notice a, .welcome-contact a { color: var(--brand); font-weight: 800; text-decoration: none; }.welcome-notice a:hover, .welcome-contact a:hover { text-decoration: underline; }.welcome-note-line { display: inline-block; margin-top: 2px; color: var(--muted); font-size: 13px; }.welcome-note-line i { margin-right: 5px; color: var(--brand); }
.welcome-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin: 21px 0 17px; }.welcome-links a { display: grid; grid-template-columns: 23px 1fr 14px; align-items: center; gap: 9px; min-height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-2); background: rgba(255,255,255,.6); font-weight: 720; text-decoration: none; transition: .18s ease; }.welcome-links a > i:first-child { color: var(--brand); font-size: 16px; }.welcome-links a > i:last-child { color: var(--muted); font-size: 11px; }.welcome-links a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); transform: translateY(-1px); }
.welcome-confirm { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 53px; border-radius: 13px; background: var(--brand-grad); color: #fff; box-shadow: 0 9px 20px rgba(79,70,229,.25); font-size: 17px; font-weight: 800; text-decoration: none; }.welcome-confirm:hover { filter: brightness(1.06); }.welcome-contact { margin: 15px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
@keyframes welcome-fade-in { from { opacity: 0; } to { opacity: 1; } } @keyframes welcome-slide-up { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .welcome-dialog { padding: 26px 16px 20px; border-radius: 17px; }.welcome-dialog h2 { font-size: 23px; }.welcome-notice { padding: 12px 13px; font-size: 14px; }.welcome-links { gap: 8px; }.welcome-links a { grid-template-columns: 20px 1fr; padding: 0 10px; font-size: 13px; }.welcome-links a > i:last-child { display: none; }.welcome-confirm { font-size: 16px; } }

/* ---------------- Admin workspace ---------------- */
.page.admin-page { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 14px 20px 60px; box-sizing: border-box; }
.admin-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 28px 0 24px; }
.admin-heading h1 { font-size: 32px; font-weight: 800; margin-top: 5px; }
.admin-heading p, .admin-section-head p { color: var(--ink-2); margin: 7px 0 0; font-size: 14px; }
.eyebrow { color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.admin-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.dashboard-welcome { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin: 24px 0 18px; }
.dashboard-welcome > div:first-child > .eyebrow, .publish-head > div:first-child > .eyebrow { display:none; }
.dashboard-welcome h1 { margin: 5px 0 0; font-size: 30px; }
.dashboard-welcome p { margin: 7px 0 0; color: var(--ink-2); font-size: 14px; }
.dashboard-date { display:flex; align-items:center; gap:8px; padding:9px 12px; border:1px solid var(--line); border-radius:9px; color:var(--ink-2); background:#fff; font-size:13px; white-space:nowrap; }
.dashboard-date-picker { position:relative; }.dashboard-date { cursor:pointer; font:inherit; }.dashboard-date:hover { border-color:#c7d2fe; color:var(--brand); }.dashboard-date > i:last-child { margin-left:3px; font-size:10px; }
.dashboard-date-menu { position:absolute; z-index:20; top:calc(100% + 8px); right:0; min-width:220px; padding:7px; border:1px solid var(--line); border-radius:10px; background:#fff; box-shadow:0 12px 30px rgba(15,23,42,.14); }.dashboard-date-menu > button { display:block; width:100%; padding:9px 11px; border:0; border-radius:7px; color:var(--ink-2); background:transparent; text-align:left; font:inherit; cursor:pointer; }.dashboard-date-menu > button:hover { color:var(--brand); background:var(--brand-soft); }.overview-custom-date { display:grid; gap:8px; margin-top:5px; padding:9px 4px 3px; border-top:1px solid #eef2f7; }.overview-custom-date label { display:flex; align-items:center; justify-content:space-between; gap:8px; color:var(--muted); font-size:12px; }.overview-custom-date input { width:132px; height:30px; padding:0 6px; border:1px solid var(--line); border-radius:6px; color:var(--ink-2); font:inherit; }.overview-custom-date > button { height:30px; border:0; border-radius:6px; color:#fff; background:var(--brand); font:inherit; cursor:pointer; }.overview-custom-date > button:hover { filter:brightness(1.06); }
.admin-tabs { display: flex; gap: 4px; margin: 0 0 18px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.82); width: fit-content; box-shadow: 0 5px 16px rgba(15,23,42,.04); }
.card-import-toolbar { display:flex; gap:10px; align-items:center; margin:18px 0 12px; }.card-import-toolbar select,.card-import-toolbar input { height:40px; min-width:190px; padding:0 11px; border:1px solid var(--line); border-radius:9px; background:#fff; color:var(--ink-2); font:inherit; }.card-import-content { display:block; width:100%; min-height:150px; box-sizing:border-box; padding:13px; border:1px dashed #c7d2fe; border-radius:10px; resize:vertical; font:13px ui-monospace,SFMono-Regular,Consolas,monospace; }.card-stats { margin:14px 0; color:var(--ink-2); font-size:13px; }
@media (max-width:700px) { .card-import-toolbar { align-items:stretch; flex-wrap:wrap; }.card-import-toolbar select,.card-import-toolbar input { min-width:0; flex:1 1 180px; }.card-import-toolbar .btn { flex:1 0 100%; } }
.order-card-keys { display:grid; gap:8px; margin-top:12px; }.order-card-keys > div { display:flex; align-items:center; gap:12px; padding:12px; border:1px solid var(--line); border-radius:8px; background:#f8fafc; }.order-card-keys span { color:var(--muted); font-size:13px; }.order-card-keys code { flex:1; overflow-wrap:anywhere; color:var(--ink); }
.admin-tab { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 8px; padding: 10px 16px; color: var(--ink-2); background: transparent; font: inherit; cursor: pointer; white-space: nowrap; }
.admin-tab i { color: #94a3b8; font-size: 13px; }
.admin-tab.active i { color: rgba(255,255,255,.9); }
.admin-tab:hover { color: var(--brand); background: var(--brand-soft); }
.admin-tab.active { color: #fff; background: var(--brand); box-shadow: 0 4px 10px rgba(79,70,229,.2); }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-quick { margin-top: 0; }
.admin-status { display: inline-flex; padding: 4px 9px; border-radius: 999px; color: #047857; background: var(--green-bg); font-size: 12px; font-weight: 700; }
.admin-link { color: var(--brand); font-weight: 700; }
.admin-link:hover { text-decoration: underline; }
.admin-cell-note { display: block; max-width: 360px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.admin-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid #eef2f7; color: var(--muted); font-size: 13px; }
.admin-pagination button { min-width: 34px; height: 32px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2); background: #fff; cursor: pointer; }
.admin-pagination button:hover:not(:disabled), .admin-pagination button.active { border-color: var(--brand); color: #fff; background: var(--brand); }
.admin-pagination button:disabled { cursor: not-allowed; opacity: .45; }
.admin-pagination select { height: 32px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2); background: #fff; }
.admin-stat { position: relative; min-height: 126px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.admin-stat-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 13px; border-radius: 9px; font-size: 14px; }
.admin-stat-icon.violet { color: #6366f1; background: #eef2ff; }
.admin-stat-icon.blue { color: #2563eb; background: #eff6ff; }
.admin-stat-icon.amber { color: #d97706; background: #fffbeb; }
.admin-stat-icon.green { color: #059669; background: #ecfdf5; }
.admin-stat .label { color: var(--ink-2); font-size: 13px; }
.admin-stat .value { color: var(--ink); font-size: 26px; line-height: 1.2; font-weight: 800; margin-top: 3px; }
.admin-stat .stat-note { margin-top:8px; color:var(--muted); font-size:12px; }
.dashboard-grid { display:grid; grid-template-columns:minmax(0, 1.55fr) minmax(300px, .9fr); gap:18px; }
.dashboard-lower { margin-top:18px; grid-template-columns:1fr 1fr; }
.dashboard-grid .admin-section { margin-top:0; }
.trend-legend { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:12px; }
.trend-legend i { width:8px; height:8px; border-radius:50%; display:inline-block; margin-left:5px; }.trend-legend .legend-user { background:#6366f1; }.trend-legend .legend-order { background:#38bdf8; }
.trend-chart { display:flex; align-items:stretch; gap:12px; height:180px; padding:12px 4px 0; overflow-x:auto; border-bottom:1px solid #eef2f7; }
.trend-column { display:flex; flex:1; flex-direction:column; align-items:center; justify-content:flex-end; gap:7px; min-width:30px; color:var(--muted); font-size:11px; }.trend-column b { font-weight:600; }.trend-column small { color:var(--ink-2); font-size:10px; }.trend-bars { display:flex; align-items:flex-end; justify-content:center; gap:4px; width:100%; height:128px; }.trend-bar { display:block; width:10px; min-height:4px; border-radius:4px 4px 0 0; transition:height .3s; }.trend-bar.user { background:#6366f1; }.trend-bar.order { background:#38bdf8; }
.todo-list { display:grid; gap:9px; }.todo-item { display:grid; grid-template-columns:30px 1fr 14px; align-items:center; gap:10px; width:100%; padding:11px 10px; border:1px solid #eef2f7; border-radius:10px; background:#fff; color:var(--ink); text-align:left; cursor:pointer; }.todo-item:hover { border-color:#c7d2fe; background:#fafaff; }.todo-item b,.todo-item small { display:block; }.todo-item b { font-size:13px; }.todo-item small { margin-top:3px; color:var(--muted); font-size:11px; }.todo-item > i { color:#94a3b8; font-size:11px; }.todo-icon { display:flex; align-items:center; justify-content:center; width:28px; height:28px; border-radius:8px; color:#d97706; background:#fffbeb; font-size:12px; }.todo-item.blue .todo-icon { color:#2563eb; background:#eff6ff; }.todo-item.red .todo-icon { color:#dc2626; background:#fef2f2; }.todo-item.green .todo-icon { color:#059669; background:#ecfdf5; }
.dashboard-orders,.dashboard-products { display:grid; gap:2px; }.dashboard-row { display:flex; align-items:center; gap:10px; min-height:54px; padding:7px 0; border-bottom:1px solid #f1f5f9; }.dashboard-row:last-child { border-bottom:0; }.dashboard-row strong { margin-left:auto; color:var(--ink); font-size:13px; white-space:nowrap; }.dashboard-row strong small { color:var(--muted); font-size:11px; font-weight:400; }.row-icon { display:flex; align-items:center; justify-content:center; flex:none; width:30px; height:30px; border-radius:8px; color:#2563eb; background:#eff6ff; font-size:12px; }.row-main { min-width:0; flex:1; }.row-main b,.row-main small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.row-main b { font-size:13px; }.row-main small { margin-top:3px; color:var(--muted); font-size:11px; }.rank { width:30px; color:var(--brand); font-size:13px; font-weight:800; }.dashboard-empty { padding:28px 0; color:var(--muted); text-align:center; font-size:13px; }
.admin-section { margin-top: 18px; padding: 22px 24px; }
.admin-section-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.admin-search { display:flex; align-items:center; gap:9px; width:min(420px, 100%); min-height:40px; box-sizing:border-box; margin:-4px 0 18px; padding:0 12px; border:1px solid var(--line); border-radius:9px; background:#fff; color:var(--muted); }
.admin-search input { width:100%; border:0; outline:0; color:var(--ink); font:inherit; background:transparent; }
.admin-section h2 { font-size: 19px; margin: 0; }
.admin-section-title { display: flex; align-items: center; gap: 11px; }
.admin-section-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; color: #d97706; background: #fffbeb; }
.admin-product-form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: center; }
.admin-product-form input, .admin-product-form textarea, .admin-product input, .admin-product select { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--ink); background: #fafafc; font-size: 14px; }
.admin-product-form input:focus, .admin-product-form textarea:focus, .admin-product input:focus, .admin-product select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(79,70,229,.12); }
.admin-product-form textarea { min-height: 76px; grid-column: span 2; resize: vertical; }
.admin-check { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: 14px; }
.admin-check input { width: 16px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 13.5px; }
.admin-table th { text-align: left; color: var(--ink-2); font-size: 12.5px; font-weight: 700; background: #f8fafc; }
.admin-table th, .admin-table td { padding: 12px 10px; border-bottom: 1px solid #eef2f7; white-space: nowrap; }
.admin-table td { color: var(--ink); }
.delivery-cards { display:grid; gap:10px; margin:18px 0; text-align:left; }
.delivery-card { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; border:1px solid #dbeafe; border-radius:8px; background:#eff6ff; }
.delivery-card code { color:#1e3a8a; font-size:14px; overflow-wrap:anywhere; }
.upstream-captcha { display:flex; flex-direction:column; gap:8px; min-width:220px; white-space:normal; }
.upstream-captcha img { display:block; width:150px; height:48px; object-fit:contain; border:1px solid #e2e8f0; background:#fff; }
.upstream-captcha > div { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.upstream-captcha-input { width:110px; min-height:34px; padding:7px 9px; border:1px solid #cbd5e1; border-radius:6px; }
@media (max-width: 600px) { .upstream-captcha { min-width:190px; } .upstream-captcha > div { align-items:stretch; } .upstream-captcha-input { width:100%; } }
.posts-table-wrap { overflow-x: auto; }
.admin-posts-table { min-width: 0; table-layout: fixed; }
.admin-posts-table th, .admin-posts-table td { white-space: nowrap; }
.admin-posts-table th:nth-child(1), .admin-posts-table td:nth-child(1) { width: 48px; }
.admin-posts-table th:nth-child(2) { width: auto; }
.admin-posts-table th:nth-child(3), .admin-posts-table td:nth-child(3) { width: 92px; }
.admin-posts-table th:nth-child(4), .admin-posts-table td:nth-child(4) { width: 92px; }
.admin-posts-table th:nth-child(5), .admin-posts-table td:nth-child(5) { width: 62px; }
.admin-posts-table th:nth-child(6), .admin-posts-table td:nth-child(6) { width: 158px; }
.admin-posts-table th:nth-child(7), .admin-posts-table td:nth-child(7) { width: 190px; min-width: 190px; }
.admin-posts-table td:nth-child(2) { white-space: normal; overflow: hidden; text-overflow: ellipsis; overflow-wrap: anywhere; word-break: break-word; line-height: 1.5; }
.admin-posts-table td:nth-child(2) .admin-link { display: block; }
.admin-posts-table td:nth-child(2) .admin-link { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.admin-posts-table td:nth-child(7) { white-space: nowrap; }
.admin-posts-table td:nth-child(7) .btn { flex: 0 0 auto; }
.admin-users-table { min-width: 1120px; }
.admin-users-table code { color: var(--ink-2); font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; }
.admin-order-count { border: 0; padding: 5px 9px; border-radius: 8px; color: var(--brand); background: var(--brand-soft); font: inherit; font-size: 13px; cursor: pointer; }
.admin-order-count:hover { color: #fff; background: var(--brand); }
.admin-filter-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 9px 7px 11px; border: 1px solid #c7d2fe; border-radius: 9px; color: #4338ca; background: #eef2ff; font-size: 13px; }
.admin-filter-chip[hidden] { display: none !important; }
.admin-filter-chip span { display: inline-flex; align-items: center; gap: 6px; }
.admin-filter-chip button { width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; color: #4338ca; background: transparent; font-size: 18px; line-height: 1; cursor: pointer; }
.admin-filter-chip button:hover { background: #c7d2fe; }
.admin-cell-note { display:block; margin-top:4px; color:#94a3b8; font-size:11px; white-space:normal; }
.order-actions { display:flex; gap:6px; }
.order-table-wrap { overflow: visible; }
.order-table { min-width: 0; table-layout: fixed; }
.order-table th, .order-table td { white-space: normal; vertical-align: top; overflow-wrap: anywhere; word-break: break-word; }
.order-table th:nth-child(1), .order-table td:nth-child(1) { width: 24%; }
.order-table th:nth-child(2), .order-table td:nth-child(2) { width: 18%; }
.order-table th:nth-child(3), .order-table td:nth-child(3) { width: 7%; }
.order-table th:nth-child(4), .order-table td:nth-child(4) { width: 9%; }
.order-table th:nth-child(5), .order-table td:nth-child(5) { width: 16%; }
.order-table th:nth-child(6), .order-table td:nth-child(6) { width: 8%; }
.order-table th:nth-child(7), .order-table td:nth-child(7) { width: 9%; }
.order-table .order-status { max-width: 100%; }
.order-meta { display:grid; gap:7px; }
.order-meta div { min-width:0; }
.order-meta span { display:block; margin-bottom:2px; color:#94a3b8; font-size:11px; }
.order-meta b { display:block; color:#0f172a; font-size:12px; line-height:1.45; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.order-filter-bar { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:0 0 16px; padding:10px 12px; border:1px solid #e2e8f0; border-radius:10px; background:#f8fafc; }
.order-query-controls { display:flex; align-items:center; gap:8px; flex-wrap:wrap; width:100%; padding-bottom:8px; margin-bottom:2px; border-bottom:1px solid #e2e8f0; }
.order-email-filter { display:flex; align-items:center; min-width:240px; height:34px; border:1px solid #dbe3ef; border-radius:8px; background:#fff; color:#94a3b8; overflow:hidden; }
.order-email-filter > i { margin-left:10px; }
.order-email-filter input { width:190px; border:0; outline:0; padding:0 8px; color:#334155; background:transparent; font:inherit; font-size:13px; }
.order-email-filter button { width:34px; height:34px; border:0; border-left:1px solid #e2e8f0; color:#4f46e5; background:#fff; cursor:pointer; }
.order-date-filter { display:flex; align-items:center; gap:5px; color:#64748b; font-size:13px; }
.order-date-filter input { height:34px; border:1px solid #dbe3ef; border-radius:8px; padding:0 8px; color:#475569; background:#fff; font:inherit; font-size:13px; }
.order-filter-clear { height:34px; border:1px solid #dbe3ef; border-radius:8px; padding:0 12px; color:#64748b; background:#fff; font:inherit; font-size:13px; cursor:pointer; }
.order-filter-clear:hover { border-color:#a5b4fc; color:#4338ca; }
.order-filter-label { display:none; }
.order-filter { border:1px solid #dbe3ef; border-radius:8px; padding:7px 12px; color:#475569; background:#fff; font:inherit; font-size:13px; cursor:pointer; }
.order-filter:hover { border-color:#a5b4fc; color:#4338ca; }
.order-filter.active { border-color:#4f46e5; color:#fff; background:#4f46e5; }
.order-status-tag { display:inline-flex; align-items:center; justify-content:center; padding:4px 9px; border-radius:999px; font-size:12px; font-weight:700; white-space:nowrap; }
.order-detail-field .order-status-tag { display:inline-flex; width:max-content; max-width:100%; }
.order-status-tag.pending { color:#b45309; background:#fef3c7; }
.order-status-tag.processing { color:#1d4ed8; background:#dbeafe; }
.order-status-tag.completed { color:#047857; background:#d1fae5; }
.order-status-tag.cancelled { color:#64748b; background:#e2e8f0; }
.order-status-tag.refunded { color:#be123c; background:#ffe4e6; }
.order-detail-status { width:100%; border:1px solid #c7d2fe; border-radius:7px; padding:6px 8px; color:#3730a3; background:#eef2ff; font:inherit; font-size:13px; }
@media (max-width: 900px) {
  .order-table { font-size: 12px; }
  .order-table th, .order-table td { padding: 10px 6px; }
  .order-actions { flex-direction: column; }
  .order-actions .btn { width: 100%; padding-left: 6px; padding-right: 6px; }
}
.order-detail-modal { max-width:1280px; width:min(1280px, calc(100vw - 48px)); max-height:90vh; overflow:auto; }
#orderDetailModal > .modal.order-detail-modal {
  position: relative;
  inset: auto;
  z-index: auto;
  display: block;
  width: min(1180px, calc(100vw - 48px));
  max-width: 1180px;
  max-height: 90vh;
  overflow: auto;
  padding: 26px;
}
#orderDetailModal .modal-head { min-width: 0; }
#orderDetailModal .order-detail-toolbar { display:flex; align-items:center; gap:12px; padding:0 0 16px; }
#orderDetailModal .order-detail-toolbar strong { font-size:14px; }
#orderDetailModal .order-detail-toolbar span { color:var(--muted); font-size:12px; margin-right:auto; }
#orderDetailModal .order-detail-toolbar .btn { flex:0 0 auto; }
@media (max-width:700px){#orderDetailModal .order-detail-toolbar{align-items:flex-start; flex-wrap:wrap;}#orderDetailModal .order-detail-toolbar span{width:100%; order:3;}#orderDetailModal .order-detail-toolbar .btn{margin-left:auto;}}
#orderDetailModal #orderDetailTitle {
  min-width: 0;
  writing-mode: horizontal-tb;
  white-space: normal;
  overflow-wrap: anywhere;
}
.modal-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.modal-close { border:0; background:transparent; color:#64748b; font-size:28px; line-height:1; cursor:pointer; }
.order-detail-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; background:#e2e8f0; border:1px solid #e2e8f0; }
.order-detail-field { background:#fff; padding:12px 14px; min-width:0; }
.order-detail-field span,.order-detail-block>span { display:block; color:#64748b; font-size:12px; margin-bottom:5px; }
.order-detail-field b { display:block; color:#0f172a; overflow-wrap:anywhere; font-size:13px; }
.order-detail-block { margin-top:14px; padding:14px; background:#f8fafc; border:1px solid #e2e8f0; }
.order-detail-block pre { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; color:#334155; }
.delivered-card-list { margin:0; padding:0; list-style:none; display:grid; gap:6px; }
.delivered-card-list li { display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:8px 10px; background:#fff; border:1px solid #e2e8f0; border-radius:8px; }
.delivered-card-list code { font-size:13px; color:#0f172a; overflow-wrap:anywhere; }
.delivered-card-list span,.delivered-card-list em { color:#64748b; font-size:12px; font-style:normal; }
.delivered-card-list em { margin-left:auto; }
.manual-deliver-panel { background:#eef2ff; border-color:#c7d2fe; }
.manual-deliver-hint { margin:0 0 10px; color:#3730a3; font-size:12px; }
.manual-deliver-panel textarea,.manual-deliver-panel input[type=text],.manual-deliver-panel #manualDeliverRemark { width:100%; border:1px solid #c7d2fe; border-radius:8px; padding:10px; font:inherit; font-size:13px; color:#0f172a; background:#fff; }
.manual-deliver-panel textarea { resize:vertical; min-height:96px; }
.manual-deliver-panel #manualDeliverRemark { margin-top:8px; }
.manual-deliver-panel .admin-check { display:flex; align-items:center; gap:8px; margin-top:10px; color:#3730a3; font-size:12px; }
.manual-deliver-actions { display:flex; gap:10px; margin-top:12px; }
@media (max-width:1100px){.order-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){.order-detail-grid{grid-template-columns:1fr}.order-actions{flex-direction:column}}
@media (max-width:700px){#orderDetailModal > .modal.order-detail-modal{width:calc(100vw - 24px); max-width:none; padding:18px;}}
.admin-product { padding: 16px 0; border-bottom: 1px solid #eef2f7; }
.admin-product:last-child { border-bottom: 0; }
.admin-product-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr auto auto; gap: 10px; align-items: center; }
.publish-section { padding: 30px; background: #f8fafc; }
.publish-head { display:flex; justify-content:space-between; align-items:flex-start; gap:24px; padding:4px 2px 26px; }
.publish-head h2 { font-size:30px; margin-top:6px; }
.publish-head p { margin:8px 0 0; color:var(--ink-2); }
.publish-actions { display:flex; gap:10px; }
.publish-form { display:grid; gap:16px; }
.publish-card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:24px; box-shadow:var(--shadow); }
.publish-card-title { display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.publish-card-title h3 { font-size:18px; }
.publish-card-title p { margin:3px 0 0; color:var(--muted); font-size:13px; }
.publish-icon { width:34px; height:34px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; color:var(--brand); background:var(--brand-soft); font-weight:800; font-size:12px; }
.field-grid { display:grid; gap:14px; }
.field-grid-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.field-grid-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.field-wide { grid-column:span 2; }
.field { display:flex; flex-direction:column; gap:7px; }
.field > span { font-size:13px; color:var(--ink-2); font-weight:700; }
.field > span i { color:var(--red); font-style:normal; }
.field-help { color:var(--muted); font-size:12px; line-height:1.5; }
.field input,.field textarea { width:100%; border:1px solid var(--line); border-radius:9px; padding:11px 12px; color:var(--ink); background:#fcfcfe; font-size:14px; }
.field select { width:100%; border:1px solid var(--line); border-radius:9px; padding:11px 12px; color:var(--ink); background:#fcfcfe; font-size:14px; }
.field textarea { min-height:120px; resize:vertical; line-height:1.65; }
.rich-source { display:none !important; }
.quill-editor { position:relative; z-index:1; border:1px solid var(--line); border-radius:10px; overflow:visible; background:#fff; }
.quill-editor:focus-within { z-index:20; }
.quill-editor .ql-toolbar.ql-snow { position:relative; z-index:5; border:0; border-bottom:1px solid var(--line); border-radius:10px 10px 0 0; background:#f8fafc; }
.quill-editor .ql-container.ql-snow { border:0; font-family:inherit; font-size:15px; }
.quill-editor .ql-editor { min-height:210px; max-height:none; overflow:auto; line-height:1.75; }
.quill-editor .ql-editor.ql-blank::before { color:#94a3b8; font-style:normal; }
.quill-editor .ql-snow .ql-picker { color:var(--ink-2); }
.quill-editor .ql-snow .ql-picker-options { z-index:50; box-shadow:0 8px 22px rgba(15,23,42,.16); }
.quill-editor .ql-snow .ql-color-picker .ql-picker-options,
.quill-editor .ql-snow .ql-background .ql-picker-options { width:152px; padding:4px; }
.rich-editor { border:1px solid var(--line); border-radius:10px; overflow:hidden; background:#fcfcfe; }
.rich-toolbar { display:flex; align-items:center; gap:5px; padding:7px 9px; border-bottom:1px solid var(--line); background:#f8fafc; }
.rich-toolbar button,.rich-toolbar label { display:inline-flex; align-items:center; justify-content:center; min-width:31px; height:29px; padding:0 8px; border:1px solid #e2e8f0; border-radius:6px; color:var(--ink-2); background:#fff; font-size:12px; cursor:pointer; }
.rich-toolbar button:hover,.rich-toolbar label:hover { color:var(--brand); border-color:#a5b4fc; background:var(--brand-soft); }
.rich-toolbar input[type=color] { width:0; height:0; padding:0; border:0; opacity:0; position:absolute; }
.rich-content { min-height:190px; max-height:320px; overflow:auto; padding:13px 14px; color:var(--ink); font-size:15px; line-height:1.75; outline:0; background:#fff; }
.rich-content:focus { box-shadow:inset 0 0 0 2px rgba(79,70,229,.14); }
.content-fields .field:nth-child(n+3) .rich-content { min-height:160px; }
.field input:focus,.field select:focus,.field textarea:focus { outline:none; border-color:var(--brand); background:#fff; box-shadow:0 0 0 3px rgba(79,70,229,.1); }
.image-upload { display:flex; align-items:center; gap:14px; min-height:76px; padding:10px; border:1px dashed #cbd5e1; border-radius:10px; background:#fafbff; }
.image-preview { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; width:88px; height:66px; overflow:hidden; border-radius:8px; color:var(--muted); background:#eef2ff; font-size:11px; flex:0 0 88px; }
.image-preview i { font-size:20px; color:#a5b4fc; }.image-preview img { width:100%; height:100%; object-fit:cover; }.image-preview img + span { display:none; }
.image-upload-controls { display:flex; flex-direction:column; gap:5px; min-width:0; }.image-upload-controls input[type=file] { width:auto; padding:5px; border:0; background:transparent; font-size:13px; }.image-upload-controls small { color:var(--muted); font-size:12px; }
.content-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.publish-options { display:flex; gap:30px; margin-top:20px; padding-top:18px; border-top:1px solid #f1f5f9; }
.toggle { display:flex; gap:10px; align-items:flex-start; cursor:pointer; }
.toggle input { accent-color:var(--brand); margin-top:3px; }
.toggle b,.toggle small { display:block; }
.toggle b { font-size:14px; }
.toggle small { color:var(--muted); font-size:12px; margin-top:2px; }
.publish-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:4px 2px; }
.publish-hint { color:var(--muted); font-size:13px; }
.product-toolbar { display:flex; align-items:center; gap:10px; margin:4px 0 18px; padding:12px; border:1px solid #eef2f7; border-radius:12px; background:#f8fafc; }
.product-search { display:flex; align-items:center; gap:9px; flex:1; min-width:220px; padding:0 12px; height:40px; border:1px solid var(--line); border-radius:9px; background:#fff; color:var(--muted); }
.product-search input { width:100%; border:0; outline:0; color:var(--ink); font:inherit; background:transparent; }
.product-toolbar select { height:40px; min-width:120px; padding:0 10px; border:1px solid var(--line); border-radius:9px; color:var(--ink-2); background:#fff; font:inherit; }
.product-list { display:grid; gap:10px; }
.product-row { display:grid; grid-template-columns:54px minmax(240px,1.8fr) 120px 130px 80px auto; gap:16px; align-items:center; padding:16px 12px; border:1px solid #eef2f7; border-radius:12px; background:#fff; transition:.15s; }
.product-row:hover { border-color:#c7d2fe; box-shadow:0 6px 18px rgba(79,70,229,.07); }
.product-thumb { width:54px; height:54px; border-radius:12px; overflow:hidden; display:flex; align-items:center; justify-content:center; background:var(--brand-soft); }
.product-thumb img { width:100%; height:100%; object-fit:cover; }
.product-title-line { display:flex; align-items:center; gap:8px; min-width:0; }
.product-title-line h3 { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:15px; }
.product-title-line p,.product-main p { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin:4px 0; color:var(--ink-2); font-size:13px; }
.product-main small { color:var(--muted); font-size:12px; }
.product-badge { flex:none; padding:2px 7px; border-radius:5px; color:#b45309; background:#fffbeb; font-size:11px; }
.product-price b { font-size:17px; }
.product-price span { color:var(--muted); font-size:12px; }
.product-stock { display:flex; flex-direction:column; gap:2px; font-size:12px; }
.product-stock b { font-size:13px; color:#059669; }
.product-stock.warning b { color:#d97706; }.product-stock.danger b { color:#dc2626; }.product-stock span { color:var(--muted); }
.product-state { display:flex; align-items:center; gap:6px; color:var(--ink-2); font-size:13px; white-space:nowrap; }
.state-dot { width:7px; height:7px; border-radius:50%; background:#cbd5e1; }.state-dot.on { background:#10b981; box-shadow:0 0 0 3px #d1fae5; }.state-dot.off { background:#94a3b8; }
.product-actions { display:flex; gap:7px; justify-content:flex-end; }
.product-empty { display:flex; flex-direction:column; align-items:center; gap:6px; padding:52px 20px; border:1px dashed #cbd5e1; border-radius:12px; color:var(--muted); }.product-empty i { font-size:28px; color:#c7d2fe; }.product-empty b { color:var(--ink-2); }
@media (max-width:1000px) { .product-row { grid-template-columns:54px minmax(200px,1fr) 110px 100px auto; }.product-state { display:none; } }
@media (max-width:700px) { .product-toolbar { flex-wrap:wrap; }.product-search { flex-basis:100%; }.product-row { grid-template-columns:46px minmax(0,1fr) auto; gap:10px; }.product-thumb { width:46px; height:46px; }.product-price,.product-stock { display:none; }.product-actions { grid-column:2 / -1; justify-content:flex-start; }.product-main p { max-width:220px; } }
@media (max-width:900px) { .publish-head { flex-direction:column; } .field-grid-4 { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px) { .publish-section { padding:18px; } .publish-card { padding:18px; } .field-grid-2,.field-grid-4,.content-fields { grid-template-columns:1fr; } .field-wide { grid-column:auto; } .publish-actions { width:100%; } .publish-actions .btn { flex:1; } .publish-options,.publish-footer { flex-direction:column; align-items:flex-start; } }
.admin-product small { display: block; margin-top: 7px; color: var(--muted); }
@media (max-width: 900px) { .admin-overview { grid-template-columns: repeat(2, 1fr); } .admin-product-form { grid-template-columns: repeat(2, 1fr); } .admin-product-form textarea { grid-column: span 2; } .admin-heading { align-items: flex-start; } }
@media (max-width: 760px) { .dashboard-grid,.dashboard-lower { grid-template-columns:1fr; }.dashboard-welcome { align-items:flex-start; flex-direction:column; margin-top:14px; }.dashboard-welcome h1 { font-size:26px; }.dashboard-date { align-self:stretch; justify-content:center; } }
@media (max-width: 560px) { .admin-page { padding-top: 10px; } .admin-overview { grid-template-columns: 1fr 1fr; gap: 10px; } .admin-stat { min-height: 112px; padding: 14px; } .admin-stat .value { font-size: 22px; } .admin-heading { flex-direction: column; } .admin-tabs { width: 100%; overflow-x: auto; } .admin-tab { flex: 0 0 auto; padding: 10px 13px; white-space: nowrap; } .admin-product-form { grid-template-columns: 1fr; } .admin-product-form textarea { grid-column: auto; } .admin-section { padding: 18px; } }

/* ---------------- Hero ---------------- */
.hero { padding: 44px 0 8px; }
.hero h1 { font-size: 34px; font-weight: 800; }
.hero h1 .grad { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--ink-2); font-size: 16px; margin: 12px 0 0; max-width: 720px; }
.hero .stats { display: flex; gap: 36px; margin-top: 22px; }
.hero .stats b { font-size: 24px; font-weight: 800; }
.hero .stats span { display: block; font-size: 13px; color: var(--muted); }

/* ---------------- Category tabs ---------------- */
.cats { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 22px; }
.cat {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: .15s;
}
.cat:hover { border-color: var(--brand); color: var(--brand); }
.cat.active { background: var(--brand-grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(124,58,237,.3); }
.cat .dot { width: 26px; height: 26px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex: 0 0 26px; overflow: hidden; }
.cat .dot > i { font-size: 15px; }
.category-logo { display: block; width: 26px; height: 26px; padding: 4px; box-sizing: border-box; }
.category-logo-chatgpt { background: #10a37f; }
.category-logo-claude { background: #c46a3c; }
.category-logo-grok { background: #050505; }
.category-logo-gemini { background: #f4f7ff; }
.cat.active .dot { background: rgba(255,255,255,.25); }

/* ---------------- Product grid ---------------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card .thumb { position: relative; aspect-ratio: 1/1; background: #f1eefc; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-link { cursor: pointer; }
.card .thumb.product-link:hover img { opacity: .92; transform: scale(1.02); transition: transform .2s ease, opacity .2s ease; }
.card .title.product-link:hover { color: var(--brand); }
.card .badge {
  position: absolute; top: 10px; left: 10px; background: var(--brand-grad); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.card .body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tag {
  font-size: 11.5px; color: var(--brand); background: var(--brand-soft);
  padding: 3px 9px; border-radius: 999px; font-weight: 600;
}
.card .title { font-size: 15px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .sub { font-size: 12.5px; color: var(--muted); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .foot { margin-top: auto; padding-top: 14px; }
.card .price-row { display: flex; align-items: baseline; gap: 6px; }
.card .price { font-size: 22px; font-weight: 800; color: var(--brand); }
.card .price .cur { font-size: 14px; }
.card .orig { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12.5px; }
.stock { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.stock .i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.stock.ok { color: var(--green); } .stock.ok .i { background: var(--green); }
.stock.low { color: var(--amber); } .stock.low .i { background: var(--amber); }
.stock.soldout { color: var(--red); } .stock.soldout .i { background: var(--red); }
.sales { color: var(--muted); }
.card .actions { display: flex; gap: 10px; margin-top: 14px; }
.card .actions .btn { flex: 1; }
.card .actions .btn-outline { flex: 0 0 auto; padding-left: 14px; padding-right: 14px; }

/* ---------------- Section title ---------------- */
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 40px 0 18px; }
.section-title h2 { font-size: 22px; font-weight: 800; }
.section-title a { color: var(--brand); font-size: 14px; font-weight: 600; }

/* ---------------- Trust / steps ---------------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 40px 0; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.feature .ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 12px;
}
.feature h3 { font-size: 16px; font-weight: 700; }
.feature p { font-size: 13.5px; color: var(--ink-2); margin: 6px 0 0; }

/* ---------------- Panels / pages ---------------- */
.page { padding: 34px 0 60px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.panel h2 { font-size: 22px; margin-bottom: 6px; }
.panel .lead { color: var(--ink-2); margin: 0 0 20px; }
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--brand); }

/* ---------------- Forms ---------------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px;
  font-size: 15px; color: var(--ink); background: #fafafc; transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(124,58,237,.12);
}
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.form-error { color: var(--red); font-size: 13.5px; margin: 8px 0; min-height: 18px; }
.captcha-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 10px; align-items: stretch; }
.captcha-image { width: 150px; min-height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: #f8fafc; cursor: pointer; overflow: hidden; }
.captcha-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.captcha-image:focus-visible { outline: 3px solid rgba(79,70,229,.18); outline-offset: 1px; }
@media (max-width: 420px) { .captcha-row { grid-template-columns: minmax(0, 1fr) 128px; gap: 8px; } .captcha-image { width: 128px; } }
.form-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 16px; }
.form-note a { color: var(--brand); font-weight: 600; }
.alert { border-radius: 11px; padding: 13px 16px; font-size: 14px; margin: 12px 0; }
.alert-ok { background: var(--green-bg); color: var(--green); }
.alert-warn { background: var(--amber-bg); color: var(--amber); }
.alert-err { background: var(--red-bg); color: var(--red); }

/* ---------------- Pay method ---------------- */
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .pay-methods { grid-template-columns: 1fr; } }
.pay {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 12px;
  border: 1.5px solid var(--line); border-radius: 13px; cursor: pointer; transition: .15s;
  background: #fff; font-weight: 600; font-size: 14.5px; color: var(--ink-2);
}
.pay .pm-ic { font-size: 26px; }
.pay:hover { border-color: var(--brand); }
.pay.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); box-shadow: 0 0 0 3px rgba(124,58,237,.1); }

/* ---------------- Order / steps ---------------- */
.order-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .order-layout { grid-template-columns: 1fr; } }
.summary-box { position: sticky; top: 90px; }
.summary-box .row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--ink-2); }
.summary-box .row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; color: var(--ink); font-weight: 700; }
.summary-box .total b { color: var(--brand); font-size: 24px; font-weight: 800; }

/* ---------------- Order list ---------------- */
.order-item { border: 1px solid var(--line); border-radius: 13px; padding: 16px; margin-bottom: 14px; background: #fff; }
.order-item .top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.order-item .mid { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 12px; }
.order-item .title { font-weight: 700; font-size: 15px; }
.order-item .amount { color: var(--brand); font-weight: 800; font-size: 18px; }
.status-pill { display:inline-flex; align-items:center; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space:nowrap; }
.status-pill.status-pending { background: var(--amber-bg); color: var(--amber); }
.status-pill.status-processing { background: #dbeafe; color: #1d4ed8; }
.status-pill.status-completed { background: var(--green-bg); color: var(--green); }
.status-pill.status-cancelled { background: #e2e8f0; color: #64748b; }
.status-pill.status-refunded { background: var(--red-bg); color: var(--red); }
.status-pill.status-unknown { background: #f1f5f9; color: var(--muted); }

/* ---------------- FAQ accordion ---------------- */
.faq-item { border: 1px solid var(--line); border-radius: 13px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-item summary { list-style: none; padding: 17px 20px; font-weight: 600; font-size: 15px; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-ic { color: var(--brand); }
.faq-item summary .arrow { margin-left: auto; color: var(--muted); transition: .2s; }
.faq-item[open] summary .arrow { transform: rotate(180deg); }
.faq-item .ans { padding: 0 20px 18px; color: var(--ink-2); font-size: 14.5px; }

/* ---------------- Blog ---------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card .cover { aspect-ratio: 16/9; background: var(--brand-grad); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 18px; }
.blog-card .body { padding: 18px; }
.blog-card .tag { display: inline-block; margin-bottom: 8px; }
.blog-card h3 { font-size: 16px; }
.blog-card p { font-size: 13.5px; color: var(--ink-2); margin: 8px 0 0; }
.blog-card .date { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.article { min-width: 0; }
.article-panel { border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; box-shadow: 0 4px 16px rgba(15,23,42,.04); overflow: hidden; }
.article-panel-head { padding: 28px 30px 0; }
.article-panel-head h1 { font-size: 30px; line-height: 1.35; margin: 0 0 10px; color: var(--ink); }
.article-panel-head .meta { font-size: 13px; color: var(--muted); margin: 0; }
.article-panel-head .word-count { color: #94a3b8; font-size: 12px; }
.article .content { margin-top: 0; padding: 16px 30px 34px; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.article .content > :first-child { margin-top: 0; }
.article .content h1 { font-size: 28px; line-height: 1.35; color: var(--ink); margin: 30px 0 14px; }
.article .content h2 { font-size: 21px; line-height: 1.45; color: var(--ink); margin: 28px 0 11px; padding-bottom: 5px; border-bottom: 1px solid #eef2f7; }
.article .content h3 { font-size: 18px; line-height: 1.5; color: var(--ink); margin: 22px 0 8px; }
.article .content p { margin: 14px 0; }
.article .content strong { color: var(--ink); font-weight: 800; }
.article .content em { color: #334155; }
.article .content ul, .article .content ol { padding-left: 24px; margin: 14px 0; }
.article .content li { margin: 6px 0; padding-left: 3px; }
.article .content blockquote { margin: 18px 0; padding: 13px 16px; border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; background: #eef2ff; color: #4338ca; }
.article .content code { padding: 2px 6px; border-radius: 5px; background: #f1f5f9; color: #7c3aed; font-size: .9em; }
.article .content a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.article-table-wrap { overflow-x: auto; margin: 18px 0; }
.article .content table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.article .content th, .article .content td { padding: 10px 12px; border: 1px solid #e2e8f0; text-align: left; }
.article .content th { background: #f8fafc; color: var(--ink); font-weight: 750; }
.post-sidebar { position: sticky; top: 90px; padding: 24px; }
.post-sidebar h2 { font-size: 20px; margin-bottom: 14px; }
.hot-posts { display: flex; flex-direction: column; }
.hot-post { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid #f1f5f9; }
.hot-post:first-child { border-top: 0; padding-top: 0; }
.hot-post-index { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 7px; background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.hot-post-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hot-post-info strong { color: var(--ink); font-size: 14px; line-height: 1.45; }
.hot-post-info small { color: var(--muted); font-size: 12px; }
@media (max-width: 860px) {
  .article-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}

/* ---------------- Footer ---------------- */
.footer { background: #10121a; color: #c8ccd8; padding: 50px 0 26px; margin-top: 60px; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 900px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .cols { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer a { display: block; color: #c8ccd8; font-size: 13.5px; padding: 5px 0; }
.footer a:hover { color: #fff; }
.footer .brand .name { color: #fff; }
.footer .about { font-size: 13.5px; color: #9aa1af; margin-top: 10px; max-width: 320px; }
.footer .bottom { border-top: 1px solid #24262f; margin-top: 30px; padding-top: 20px; font-size: 12.5px; color: #8a8f9c; text-align: center; }

/* ---------------- Empty state / toast ---------------- */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .big { font-size: 46px; margin-bottom: 12px; }
.toast {
  /* 桌面端顶部提示：130px 让它连同入场位移都落在公告条(45px)+吸顶头部(68px)下方，不遮挡导航 */
  position: fixed; left: 50%; top: calc(130px + env(safe-area-inset-top, 0px) + var(--toast-offset, 0px)); transform: translateX(-50%) translateY(-16px);
  background: #1f2430; color: #fff; padding: 12px 22px; border-radius: 12px; font-size: 14px;
  max-width: calc(100vw - 32px); text-align: center; line-height: 1.5;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .25s; z-index: 300;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: var(--red); }
.toast.ok { background: var(--green); }
@media (max-width: 700px) {
  .toast {
    top: calc(14px + env(safe-area-inset-top, 0px) + var(--toast-offset, 0px));
    padding: 11px 18px; font-size: 13.5px; border-radius: 11px;
  }
}

/* ---------------- Modal ---------------- */
.modal-mask { position: fixed; inset: 0; background: rgba(15,16,25,.5); display: none; align-items: center; justify-content: center; z-index: 150; padding: 20px; }
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: 16px; width: 100%; max-width: 460px; padding: 26px; box-shadow: var(--shadow-lg); }
.modal h3 { font-size: 18px; margin-bottom: 12px; }
.modal .card-code { background: var(--brand-soft); color: var(--brand); font-family: monospace; font-size: 20px; font-weight: 800; padding: 14px; border-radius: 10px; text-align: center; letter-spacing: 1px; margin: 10px 0; }
.modal .modal-actions { display: flex; gap: 10px; margin-top: 18px; }
.admin-confirm-modal { max-width: 440px; padding: 30px; text-align: center; }
.admin-confirm-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); font-size: 19px; }
.admin-confirm-modal h3 { margin-bottom: 8px; font-size: 20px; }
.admin-confirm-modal p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.admin-confirm-modal .modal-actions { justify-content: flex-end; margin-top: 24px; }
.admin-confirm-modal .modal-actions .btn { min-width: 88px; }
@media (max-width: 560px) { .admin-confirm-modal { padding: 24px 20px 20px; } .admin-confirm-modal .modal-actions { gap: 8px; } .admin-confirm-modal .modal-actions .btn { flex: 1; } }
.modal.order-detail-modal { width: min(1280px, calc(100vw - 48px)); max-width: 1280px; }
.modal.post-edit-modal { width: min(980px, calc(100vw - 48px)); max-width: 980px; max-height: calc(100vh - 40px); overflow:auto; }
.modal-subtitle { margin: -8px 0 0; color: var(--muted); font-size: 13px; }
.post-edit-form { display:grid; gap:14px; }
.post-edit-form .field-grid { margin-top: 0; }
.post-quill-editor .ql-editor { min-height: 520px; max-height: 62vh; overflow-y: auto; }
.post-quill-editor .ql-editor {
  padding: 16px 30px 34px;
  font-size: 16px;
  line-height: 1.9 !important;
  color: var(--ink-2);
}
.post-quill-editor .ql-editor > :first-child { margin-top: 0; }
.post-quill-editor .ql-editor h1 { font-size: 28px; line-height: 1.35; color: var(--ink); margin: 30px 0 14px; }
.post-quill-editor .ql-editor h2 { font-size: 21px; line-height: 1.45; color: var(--ink); margin: 28px 0 11px; padding-bottom: 5px; border-bottom: 1px solid #eef2f7; }
.post-quill-editor .ql-editor h3 { font-size: 18px; line-height: 1.5; color: var(--ink); margin: 22px 0 8px; }
.post-quill-editor .ql-editor p { margin: 14px 0; }
.post-quill-editor .ql-editor strong { color: var(--ink); font-weight: 800; }
.post-quill-editor .ql-editor em { color: #334155; }
.post-quill-editor .ql-editor ul, .post-quill-editor .ql-editor ol { padding-left: 24px; margin: 14px 0; }
.post-quill-editor .ql-editor li { margin: 6px 0; padding-left: 3px; }
.post-quill-editor .ql-editor blockquote { margin: 18px 0; padding: 13px 16px; border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; background: #eef2ff; color: #4338ca; }
.post-quill-editor .ql-editor code { padding: 2px 6px; border-radius: 5px; background: #f1f5f9; color: #7c3aed; font-size: .9em; }
.post-quill-editor .ql-editor a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.post-quill-editor .ql-editor table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.post-quill-editor .ql-editor th, .post-quill-editor .ql-editor td { padding: 10px 12px; border: 1px solid #e2e8f0; text-align: left; }
.post-quill-editor .ql-editor th { background: #f8fafc; color: var(--ink); font-weight: 750; }
@media (max-width: 700px) {
  .post-quill-editor .ql-editor { padding: 16px 18px 28px; }
}
@media (max-width: 700px) {
  .modal.order-detail-modal { width: calc(100vw - 24px); }
  .modal.post-edit-modal { width: calc(100vw - 24px); padding: 18px; }
}

/* ---------------- Misc ---------------- */
.center { text-align: center; }
.mt-20 { margin-top: 20px; }
.muted { color: var(--muted); }
.divider { height: 1px; background: var(--line); margin: 20px 0; }
.account-layout { display:grid; grid-template-columns:minmax(240px,.72fr) minmax(0,1.5fr); gap:18px; align-items:start; }
.account-profile { text-align:center; padding:26px 22px; }
.account-avatar { width:78px; height:78px; margin:0 auto 14px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:var(--brand-grad); color:#fff; font-size:32px; font-weight:800; box-shadow:0 8px 20px rgba(124,58,237,.25); }
.account-profile h2 { margin:0; overflow-wrap:anywhere; font-size:17px; }
.account-profile .muted { margin:6px 0 22px; font-size:13px; }
.account-meta { display:flex; justify-content:space-between; gap:12px; padding:13px 0; border-top:1px solid #eef2f7; color:var(--ink-2); font-size:13px; text-align:left; }
.account-meta b { color:var(--ink); font-weight:700; }
.account-balance { color:var(--brand)!important; font-size:18px; }
.account-profile .btn { margin-top:16px; }
.account-content { display:grid; gap:18px; }
.account-section { padding:24px 26px; }
.account-section-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:18px; }
.account-section h2 { margin:0; font-size:18px; }
.account-section-head p { margin:5px 0 0; color:var(--muted); font-size:13px; }
.status-pill,.session-current { display:inline-flex; align-items:center; padding:5px 9px; border-radius:999px; color:#047857; background:var(--green-bg); font-size:12px; font-weight:700; white-space:nowrap; }
.account-info-row { display:flex; align-items:center; gap:12px; padding:14px; border:1px solid #e8eaf3; border-radius:11px; background:#fafaff; }
.account-info-icon { width:32px; height:32px; display:flex; align-items:center; justify-content:center; border-radius:9px; color:var(--brand); background:var(--brand-soft); }
.account-info-row div { display:grid; gap:3px; min-width:0; }
.account-info-row small { color:var(--muted); font-size:12px; }.account-info-row strong { overflow-wrap:anywhere; font-size:14px; }.account-readonly { margin-left:auto; color:var(--muted); font-size:12px; }
.account-form .field { margin-bottom:14px; }.account-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }.account-form-actions { display:flex; align-items:center; justify-content:flex-end; gap:12px; margin-top:4px; }
.sessions-list { display:grid; gap:9px; }.session-row { display:flex; align-items:center; gap:11px; padding:12px 13px; border:1px solid #edf0f5; border-radius:10px; }.session-row > div { display:grid; gap:3px; min-width:0; flex:1; }.session-row strong { font-size:13px; }.session-row small { color:var(--muted); font-size:12px; overflow-wrap:anywhere; }.session-dot { width:9px; height:9px; flex:0 0 9px; border-radius:50%; background:#cbd5e1; }.session-dot.current { background:#10b981; box-shadow:0 0 0 4px #d1fae5; }.account-loading { padding:4px 0; font-size:13px; }
.account-text-link { display:inline-flex; align-items:center; gap:5px; color:var(--brand); font-size:13px; font-weight:700; }.account-stats { display:grid; grid-template-columns:repeat(5,1fr); gap:10px; }.account-stats > div { padding:14px 10px; border:1px solid #edf0f5; border-radius:10px; text-align:center; }.account-stats b { display:block; color:var(--ink); font-size:21px; }.account-stats b.amber { color:#d97706; }.account-stats b.blue { color:#2563eb; }.account-stats b.green { color:#059669; }.account-stats b.purple { color:var(--brand); font-size:17px; }.account-stats span { display:block; margin-top:4px; color:var(--muted); font-size:12px; }
@media (max-width:820px) { .account-layout { grid-template-columns:1fr; }.account-profile { text-align:left; }.account-avatar { margin:0 0 14px; }.account-profile .btn { max-width:260px; } }
@media (max-width:560px) { .account-section { padding:20px 17px; }.account-form-grid,.account-stats { grid-template-columns:1fr 1fr; }.account-stats > div:last-child { grid-column:span 2; }.account-form-actions { align-items:flex-start; flex-direction:column; }.account-form-actions .btn { width:100%; }.account-section-head { gap:10px; }.account-section-head .btn { flex-shrink:0; } }
.steps { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.steps .on { color: var(--brand); font-weight: 700; }

/* ---------------- Contact / price responsive ---------------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 22px; align-items: start; }
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
@media (max-width: 520px) { .contact-actions { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .contact-wrap { grid-template-columns: 1fr; } }
table { border-collapse: collapse; }
table thead th { font-weight: 600; }


/* ============================================================
   getgpt.pro 风格设计系统 (indigo/violet + slate)
   ============================================================ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.animate-fade-in-up { animation: fadeInUp .7s ease both; }
@keyframes marqLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.animate-marquee-left { animation: marqLeft 45s linear infinite; }
.animate-marquee-right { animation: marqRight 45s linear infinite; }

.gradient-text { background: linear-gradient(90deg, #4F46E5, #7C3AED); -webkit-background-clip: text; background-clip: text; color: transparent; }
.block { display: block; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  border-radius: 999px; background: #eef2ff; border: 1px solid #e0e7ff;
  font-size: 12px; font-weight: 700; color: #4f46e5; letter-spacing: .06em; text-transform: uppercase;
}
.eyebrow .pulse { position: relative; width: 8px; height: 8px; }
.eyebrow .pulse::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #6366f1; animation: ping 1.4s ease-out infinite; }
.eyebrow .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #6366f1; }
@keyframes ping { 0% { opacity: .7; transform: scale(1); } 80%,100% { opacity: 0; transform: scale(2.2); } }

.section { position: relative; padding: 80px 0; }
.home-main > .section-white { background: #fff; }
.home-main > .section-purple { background: #f5f0ff; }
.section.slate { background: linear-gradient(180deg, #fff, #f8fafc 45%, #fff); }
.home-blog-section { padding-bottom: 80px; }
.home-footer { margin-top: 0; padding: 0; }
.home-footer .footer2 { margin-top: 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: 32px; font-weight: 800; color: #0f172a; letter-spacing: -.02em; margin: 16px 0 0; }
.section-head p { color: #64748b; max-width: 560px; margin: 14px auto 0; font-size: 16px; }
.testimonial-summary { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; color: #94a3b8; font-size: 15px; }
.testimonial-summary strong { color: #0f172a; font-size: 16px; }
.summary-stars { color: #f59e0b; letter-spacing: 3px; font-size: 18px; }
.summary-divider { width: 1px; height: 20px; background: #e2e8f0; }
.testimonial-summary a { color: #4f46e5; font-weight: 600; }
.container-xl { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container-2xl { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Hero */
.hero-v2 { position: relative; isolation: isolate; width: 100%; min-height: 620px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
  text-align: left; padding: 12px clamp(48px, 6vw, 96px) 20px;
  border: 0; border-radius: 0;
  background: radial-gradient(circle at 18% 28%, rgba(255,255,255,.98) 0 20%, transparent 48%),
    linear-gradient(135deg, #fff 0%, #faf8ff 48%, #f2eaff 100%);
  box-shadow: 0 24px 70px rgba(79, 70, 229, .13); }
.hero-v2::before { content: ""; position: absolute; z-index: -1; left: -5%; right: -5%; bottom: -38%; height: 55%;
  opacity: .52; background: repeating-linear-gradient(90deg, rgba(124,58,237,.12) 0 1px, transparent 1px 52px),
    repeating-linear-gradient(0deg, rgba(124,58,237,.1) 0 1px, transparent 1px 28px);
  transform: perspective(360px) rotateX(58deg); transform-origin: top; mask-image: linear-gradient(to bottom, #000, transparent 82%); }
.hero-v2::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 240px; right: 16%; bottom: -120px;
    background: rgba(232, 121, 249, .24); filter: blur(55px); border-radius: 50%; }
.hero-layout { width: min(1160px, 100%); display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr); gap: clamp(48px, 5vw, 72px); align-items: center; }
.hero-copy, .hero-details { min-width: 0; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 7px 13px; border: 1px solid rgba(99,102,241,.18); border-radius: 999px; background: rgba(255,255,255,.62); color: #4f46e5; font-size: 12px; font-weight: 750; letter-spacing: .04em; }
.hero-kicker .ping { position: relative; width: 7px; height: 7px; }
.hero-kicker .ping::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #34d399; animation: ping 1.4s ease-out infinite; }
.hero-kicker .ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #10b981; }
.hero-v2 h1 { font-size: 64px; font-weight: 850; letter-spacing: 0; line-height: 1.04; color: #111329; margin-bottom: 24px; }
.hero-v2 h1 .block:first-child { white-space: nowrap; }
.hero-v2 .tagline { min-height: 52px; overflow: visible; margin-bottom: 14px; display: flex; align-items: flex-start; }
.hero-v2 .tagline span { font-size: 36px; font-weight: 750; line-height: 1.25; }
.hero-v2 .sub { font-size: 17px; color: #64748b; max-width: 620px; margin: 0 0 32px; line-height: 1.75; }
.hero-v2 .actions { display: flex; flex-direction: row; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-hero { display: inline-flex; align-items: center; gap: 10px; border-radius: 18px; font-size: 17px; font-weight: 700;
  background: linear-gradient(90deg, #4F46E5, #7C3AED); color: #fff; padding: 18px 44px;
  box-shadow: 0 14px 30px -10px rgba(79,70,229,.55); transition: .3s; }
.btn-hero:hover { filter: brightness(1.08); box-shadow: 0 18px 40px -8px rgba(79,70,229,.7); }
.hero-pro { display: inline-flex; align-items: center; gap: 8px; color: #475569; font-size: 14px; font-weight: 650; padding: 10px 0; }
.hero-pro:hover { color: #4f46e5; }
.hero-pro .chip { background: #ede9fe; color: #7C3AED; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.hero-details { width: 100%; max-width: 480px; justify-self: end; padding: 24px 36px 20px; border: 1px solid rgba(124, 58, 237, .13); border-radius: 24px; background: rgba(255,255,255,.58); box-shadow: 0 18px 45px rgba(79,70,229,.08); backdrop-filter: blur(12px); }
.hero-details-label { display: inline-block; margin-bottom: 7px; color: #6366f1; font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.hero-details-head h2 { color: #111827; font-size: 27px; font-weight: 800; letter-spacing: 0; }
.hero-details-head p { margin: 5px 0 0; color: #64748b; font-size: 14px; line-height: 1.55; }
.hero-platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.hero-platforms span { padding: 6px 10px; border: 1px solid rgba(99,102,241,.14); border-radius: 8px; background: rgba(238,242,255,.72); color: #4f46e5; font-size: 12px; font-weight: 650; }
.hero-users { display: flex; align-items: center; gap: 10px; margin-top: 0; font-size: 15px; color: #475569; }
.hero-users .avs { display: flex; }
.hero-users .avs img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; background: #e2e8f0; object-fit: cover; }
.hero-users .avs img:first-child { margin-left: 0; }
.hero-users b { color: #0f172a; }
.hero-online { margin-top: 8px; font-size: 14px; color: #64748b; display: flex; align-items: center; gap: 8px; }
.hero-online .dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; }
.hero-online .ping { position: relative; width: 8px; height: 8px; }
.hero-online .ping::before { content:""; position:absolute; inset:0; border-radius:50%; background:#34d399; animation: ping 1.4s ease-out infinite; }
.hero-online .ping::after { content:""; position:absolute; inset:0; border-radius:50%; background:#10b981; }

/* Stats */
.stats-row { display: grid; grid-template-columns: 1fr; gap: 4px; max-width: none; margin: 17px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(124, 58, 237, .14); }
@media (max-width: 700px){ .stats-row { grid-template-columns: 1fr; gap: 14px; } }
.stat-item { display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 7px 12px; border-radius: 14px; transition: background .2s, transform .2s; }
.stat-item:hover { background: rgba(255,255,255,.72); transform: translateX(4px); }
.stat-item .ic { padding: 7px; background: #eef2ff; border-radius: 10px; color: #4f46e5; flex-shrink: 0; }
.stat-item .t { font-size: 15px; font-weight: 700; color: #0f172a; }
.stat-item .d { font-size: 12px; color: #64748b; margin-top: 2px; }
.hero-disclaimer { display: flex; align-items: center; gap: 7px; margin: 11px 0 0; color: #94a3b8; font-size: 11px; line-height: 1.4; }
@media (max-width: 800px){
  .hero-v2 { width: 100%; min-height: auto; margin-top: 0; justify-content: flex-start; text-align: center; padding: 38px 22px 34px; border-radius: 0; }
  .hero-layout { grid-template-columns: 1fr; gap: 44px; }
  .hero-v2 h1 { font-size: 38px; }
  .hero-v2 .tagline span { font-size: 28px; }
  .hero-v2 .tagline, .hero-v2 .actions { align-items: center; justify-content: center; }
  .hero-kicker { margin-left: auto; margin-right: auto; }
  .hero-v2 .sub { margin-left: auto; margin-right: auto; }
  .hero-details { width: min(560px, 100%); max-width: 560px; justify-self: center; margin: 0 auto; padding: 24px 18px; }
  .hero-users, .hero-online { justify-content: center; }
  .hero-v2 > .btn-outline { align-self: center; }
}

/* Feature cards (核心优势) */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px){ .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .features-grid { grid-template-columns: 1fr; } }
.feature-card { position: relative; border-radius: 18px; background: #fff; border: 1px solid #e2e8f0; padding: 26px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04); transition: .3s; }
.feature-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,.08); transform: translateY(-4px); }
.feature-card .ic { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 24px; }
.feature-card h3 { font-size: 17px; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: #64748b; line-height: 1.6; }
.ic-emerald { background: #ecfdf5; color: #10b981; }
.ic-indigo { background: #eef2ff; color: #4f46e5; }
.ic-violet { background: #f5f3ff; color: #7c3aed; }
.ic-sky { background: #f0f9ff; color: #0ea5e9; }

/* Flow steps */
.flow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px){ .flow-grid { grid-template-columns: 1fr; } }
.flow-grid > div:first-child { display: flex; flex-direction: column; gap: 14px; }
.flow-step { width: 100%; display: flex; align-items: flex-start; gap: 16px; padding: 18px; border-radius: 16px; border: 1px solid transparent; background: transparent; text-align: left; color: inherit; transition: .3s; }
.flow-step:hover { background: #f8fafc; }
.flow-step.active { border-color: #c7d2fe; background: #eef2ff; box-shadow: 0 8px 20px -8px rgba(79,70,229,.4); }
.flow-step .num { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #e2e8f0; color: #94a3b8; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.flow-step.active .num { border-color: transparent; background: linear-gradient(90deg, #4F46E5, #7C3AED); color: #fff; }
.flow-step h4 { font-size: 20px; font-weight: 700; color: #0f172a; }
.flow-step p { font-size: 15px; color: #64748b; margin-top: 2px; }
.flow-visual { position: relative; height: 450px; overflow: hidden; border-radius: 12px;
  background: radial-gradient(circle at 15% 0%, #eef2ff, transparent 45%), radial-gradient(circle at 100% 100%, #f5f3ff, transparent 42%), linear-gradient(135deg,#f8fafc,#fff); }
.browser-card { width: 100%; max-width: 420px; margin: 20px auto; overflow: hidden; border-radius: 14px; background: #fff;
  border: 1px solid #e2e8f0; box-shadow: 0 24px 60px -24px rgba(15,23,42,.35); }
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #f8fafc; border-bottom: 1px solid #f1f5f9; }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.browser-bar .url { flex: 1; background: #fff; border-radius: 8px; padding: 6px 12px; font-size: 11px; color: #94a3b8; box-shadow: inset 0 0 0 1px #f1f5f9; }
.browser-body { padding: 24px; text-align: center; }
.browser-body .ok { width: 52px; height: 52px; border-radius: 50%; background: #10b981; color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 24px; box-shadow: 0 8px 20px -6px rgba(16,185,129,.6); }
.flow-ok-0 { background: linear-gradient(135deg,#4f46e5,#7c3aed) !important; box-shadow: 0 8px 20px -6px rgba(79,70,229,.55) !important; }
.flow-ok-1 { background: #0ea5e9 !important; box-shadow: 0 8px 20px -6px rgba(14,165,233,.55) !important; }
.browser-body h4 { font-size: 16px; color: #0f172a; }
.browser-body .sub { font-size: 12px; color: #64748b; margin-top: 4px; }
.card-box { margin-top: 16px; border-radius: 12px; border: 1px solid #e2e8f0; background: #f8fafc; padding: 16px; }
.card-box .label { font-size: 11px; font-weight: 700; color: #94a3b8; letter-spacing: .08em; text-transform: uppercase; }
.card-box .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; }
.card-box .code { font-family: ui-monospace, monospace; font-size: 14px; font-weight: 700; color: #334155; letter-spacing: .12em; }
.card-box .code .hid { color: #94a3b8; }
.btn-copy { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #e2e8f0; background: #fff; border-radius: 8px; padding: 6px 10px; font-size: 11px; color: #64748b; }
.btn-activate { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; width: 100%; border-radius: 12px; background: linear-gradient(90deg,#10b981,#059669); color: #fff; font-weight: 700; font-size: 15px; padding: 14px; box-shadow: 0 10px 24px -10px rgba(16,185,129,.7); }

/* Testimonials */
.marquee { display: flex; overflow: hidden; }
.marquee .track { display: flex; gap: 20px; flex-shrink: 0; width: max-content; min-width: 100%; }
.marquee .track:hover { animation-play-state: paused; }
.t-card { width: 380px; flex-shrink: 0; border-radius: 16px; background: #fff; border: 1px solid #e2e8f0; padding: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.04); position: relative; }
.testimonials-section .section-head { margin-bottom: 54px; }
.testimonials-section .marquee-mask { margin-left: 0; margin-right: 0; }
.t-card { height: 240px; display: flex; flex-direction: column; }
.t-card blockquote { min-height: 96px; }
.t-card .q { position: absolute; top: 18px; right: 20px; font-size: 44px; font-family: Georgia, serif; color: #6366f1; opacity: .12; line-height: 1; }
.t-card blockquote { color: #475569; font-size: 15px; line-height: 1.65; }
.t-card blockquote mark { background: #eef2ff; color: #4338ca; border-radius: 4px; padding: 0 4px; font-weight: 600; }
.t-card .stars { display: flex; gap: 3px; color: #f59e0b; margin-top: 4px; }
.t-card .foot { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding-top: 10px; border-top: 1px solid #f1f5f9; }
.t-card .avatar { width: 38px; height: 38px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.t-card .nm { font-weight: 700; font-size: 14px; color: #0f172a; }
.t-card .role { font-size: 12px; color: #94a3b8; }
.t-card .tag { margin-left: auto; font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #f8fafc; border: 1px solid #e2e8f0; color: #475569; white-space: nowrap; }
.marquee-mask { position: relative; overflow: hidden; margin-bottom: 20px; }
.marquee-mask::before, .marquee-mask::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 5; pointer-events: none; }
.marquee-mask::before { left: 0; background: linear-gradient(90deg, #f8fafc, transparent); }
.marquee-mask::after { right: 0; background: linear-gradient(-90deg, #f8fafc, transparent); }
@media (max-width: 720px) {
  .testimonial-summary { gap: 9px; font-size: 13px; flex-wrap: wrap; }
  .summary-divider { display: none; }
  .t-card { width: 320px; height: 232px; padding: 16px; }
}

/* FAQ accordion */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-search { position: relative; margin-bottom: 22px; }
.faq-search input { width: 100%; padding: 16px 48px; border-radius: 16px; border: 1px solid #e2e8f0; background: #fff; font-size: 15px; color: #0f172a; box-shadow: 0 10px 24px -16px rgba(15,23,42,.2); }
.faq-search input:focus { outline: none; border-color: #818cf8; box-shadow: 0 0 0 3px rgba(79,70,229,.12); }
.faq-search .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.faq-cat { padding: 9px 18px; border-radius: 999px; border: 1px solid #e2e8f0; background: #fff; color: #475569; font-size: 14px; font-weight: 500; cursor: pointer; transition: .15s; }
.faq-cat.active { background: #4f46e5; color: #fff; border-color: transparent; }

/* ---------------- Orders center ---------------- */
.orders-main { padding-top: 0; padding-bottom: 72px; }
body.modal-open { overflow:hidden; }
.orders-main > .breadcrumb { padding-top: 28px; margin-bottom: 16px; }
.orders-hero { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; padding:34px 38px; border:1px solid rgba(99,102,241,.12); border-radius:22px; background:linear-gradient(110deg,#fff 0%,#fff 52%,#f1efff 100%); box-shadow:var(--shadow-lg); }
.orders-hero h1 { margin-top:5px; font-size:38px; font-weight:850; letter-spacing:-.02em; }
.orders-hero p { margin:8px 0 0; color:var(--muted); font-size:15px; }
.orders-search { display:flex; align-items:center; gap:12px; width:min(100%,560px); padding:8px 9px 8px 17px; border:1px solid #e2e8f0; border-radius:999px; background:rgba(255,255,255,.8); }
.orders-search i { color:#64748b; }.orders-search input { min-width:0; flex:1; border:0; outline:0; background:transparent; color:var(--ink); font-size:15px; }.orders-search .btn { border-radius:999px; padding:10px 22px; }
.order-stats { display:grid; grid-template-columns:repeat(3,1fr); margin-top:22px; overflow:hidden; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:var(--shadow); }.order-stats div { padding:19px 22px; border-right:1px solid var(--line); }.order-stats div:last-child { border-right:0; }.order-stats span { display:block; color:var(--ink-2); font-size:13px; }.order-stats strong { display:block; margin-top:3px; color:var(--ink); font:800 28px/1.25 Arial,sans-serif; }
.orders-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:24px 0 15px; }.orders-tabs { display:flex; gap:4px; padding:4px; border:1px solid var(--line); border-radius:999px; background:#fff; }.orders-tab { min-width:82px; padding:9px 17px; border:0; border-radius:999px; background:transparent; color:var(--ink-2); font-size:14px; font-weight:650; }.orders-tab.active { background:var(--brand); color:#fff; box-shadow:0 5px 12px rgba(79,70,229,.22); }.orders-count { color:var(--ink-2); font-size:14px; font-weight:650; }
.orders-list { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }.order-card { display:flex; align-items:center; justify-content:space-between; gap:22px; min-width:0; padding:19px 24px; border:1px solid var(--line); border-radius:17px; background:#fff; box-shadow:var(--shadow); }.order-product { display:flex; align-items:center; gap:14px; min-width:0; }.order-product-icon { display:flex; align-items:center; justify-content:center; flex:none; width:48px; height:48px; border-radius:13px; color:#fff; background:linear-gradient(135deg,#10b981,#059669); font-size:19px; }.order-product-copy { min-width:0; }.order-product-copy h3 { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:16px; }.order-product-copy p { margin:3px 0 0; color:var(--muted); font-size:12.5px; }.order-product-copy p span { margin:0 6px; color:#cbd5e1; }.order-card-meta { display:flex; align-items:center; justify-content:flex-end; gap:14px; flex:none; }.order-card-meta > strong { color:var(--ink); font:800 18px Arial,sans-serif; }.order-detail-link { border:0; background:transparent; color:var(--ink-2); font:600 13px inherit; cursor:pointer; }.order-detail-link:hover { color:var(--brand); }.order-detail-link i { margin-left:3px; font-size:11px; }.orders-empty { display:flex; flex-direction:column; align-items:center; gap:5px; padding:72px 20px; color:var(--muted); text-align:center; }.orders-empty[hidden] { display:none; }.orders-empty i { margin-bottom:7px; color:#c4b5fd; font-size:42px; }.orders-empty strong { color:var(--ink-2); font-size:16px; }
.orders-pagination { display:flex; justify-content:center; align-items:center; gap:8px; flex-wrap:wrap; margin:24px 0 4px; }
.orders-pagination:empty { display:none; }
@media (max-width:760px) { .order-product { width:100%; }.orders-hero { align-items:stretch; flex-direction:column; padding:25px 21px; }.orders-hero h1 { font-size:31px; }.orders-search { width:100%; }.order-stats strong { font-size:22px; }.order-stats div { padding:16px 14px; }.orders-toolbar { align-items:flex-start; flex-direction:column; }.orders-tabs { max-width:100%; overflow:auto; }.orders-tab { min-width:auto; padding:8px 13px; }.order-card { align-items:flex-start; flex-direction:column; gap:15px; padding:17px; }.order-card-meta { width:100%; justify-content:flex-start; flex-wrap:wrap; }.order-card-meta > strong { margin-right:auto; } }

/* Merge order summary and statistics into one overview card. */
.orders-overview { overflow:hidden; border:1px solid rgba(99,102,241,.12); border-radius:22px; background:linear-gradient(110deg,#fff 0%,#fff 52%,#f1efff 100%); box-shadow:var(--shadow-lg); }
.orders-overview .orders-hero { border:0; border-radius:0; background:transparent; box-shadow:none; }
.orders-overview .order-stats { margin-top:0; border:0; border-top:1px solid rgba(99,102,241,.12); border-radius:0; background:rgba(255,255,255,.68); box-shadow:none; }
@media (max-width:760px) { .orders-overview .orders-hero { padding:25px 21px; }.orders-overview .order-stats div { padding:16px 14px; } }
.faq-acc { border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; overflow: hidden; margin-bottom: 12px; transition: .2s; }
.faq-acc:hover { border-color: #cbd5e1; }
.faq-acc summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; font-size: 15px; color: #0f172a; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-acc summary::-webkit-details-marker { display: none; }
.faq-acc summary .chev { color: #94a3b8; transition: .2s; }
.faq-acc[open] summary .chev { transform: rotate(180deg); }
.faq-acc .ans { padding: 0 20px 20px; color: #475569; font-size: 14.5px; line-height: 1.7; }

/* Blog card */
.blog-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 720px){ .blog-grid2 { grid-template-columns: 1fr; } }
.blog-card2 { position: relative; min-height: 210px; border-radius: 16px; border: 1px solid rgba(226,232,240,.85); background: linear-gradient(135deg,#dbeafe 0%,#eee7ff 48%,#ffe4ef 100%); overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.04); transition: .25s; isolation: isolate; }
.blog-card2::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 78% 16%, rgba(255,255,255,.7), transparent 30%), radial-gradient(circle at 15% 82%, rgba(255,255,255,.42), transparent 28%); }
.blog-card2::after { content: ''; position: absolute; inset: 20% 0 0; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.9) 24%, rgba(255,255,255,.98) 100%); }
.blog-card2:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(79,70,229,.16); }
.blog-card2 .cover { position: absolute; inset: 0; z-index: -1; background: transparent; }
.blog-card2 .body { position: absolute; inset: auto 0 0; padding: 18px 26px 20px; }
.blog-card2 .meta { font-size: 12.5px; color: #7183a0; margin-bottom: 9px; }
.blog-card2 h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 21px; line-height: 1.35; font-weight: 800; color: #111827; }
.blog-card2 p { font-size: 14.5px; line-height: 1.65; color: #7183a0; margin: 9px 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card2 .tag-pill { background: rgba(238,242,255,.94); border: 1px solid rgba(199,210,254,.75); }
.blog-card2 .tag-pill-read { background: rgba(255,255,255,.76); border-color: rgba(203,213,225,.8); color: #475569; }
.tag-pill { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #eef2ff; color: #4f46e5; font-size: 12px; font-weight: 600; }
.blog-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin: 28px 0 8px; }
.page-btn { min-width: 38px; height: 36px; padding: 0 12px; border: 1px solid #e2e8f0; border-radius: 9px; background: #fff; color: #475569; font-size: 13px; cursor: pointer; transition: .15s; }
.page-btn:hover { border-color: #818cf8; color: #4f46e5; background: #eef2ff; }
.page-btn.active { border-color: #4f46e5; background: #4f46e5; color: #fff; }
.page-btn:disabled { cursor: not-allowed; opacity: .45; }
@media (max-width: 700px) {
  .article-panel-head { padding: 22px 18px 0; }
  .article-panel-head h1 { font-size: 27px; }
  .article .content { padding: 14px 18px 28px; }
}
.page-dots { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 36px; color: #94a3b8; font-size: 16px; }

/* Dark footer */
.footer2 { background: #0B0F19; color: #94a3b8; border-top: 1px solid #1f2937; margin-top: 60px; }
.footer2 .inner { max-width: var(--maxw); margin: 0 auto; padding: 64px 20px 32px; }
.footer2 .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px){ .footer2 .cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .footer2 .cols { grid-template-columns: 1fr; } }
.footer2 .brand { display: flex; align-items: center; gap: 10px; }
.footer2 .brand .logo { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg,#4F46E5,#7C3AED); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; }
.footer2 .brand .nm { color: #fff; font-weight: 800; font-size: 18px; }
.footer2 .footer-brand { gap: 10px; }
.footer2 .footer-brand .site-mark { width: 54px; height: 54px; }
.footer2 .footer-brand .brand-copy strong { color: #fff; }
.footer2 .footer-brand .brand-copy small { color: #94a3b8; }
.footer2 .footer-brand > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.footer2 .footer-brand small { color: #94a3b8; font-size: 12px; }
.footer2 .about { font-size: 14px; line-height: 1.7; color: #94a3b8; margin-top: 14px; max-width: 320px; }
.footer2 h4 { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.footer2 .cols a { display: block; color: #94a3b8; font-size: 14px; padding: 5px 0; }
.footer2 .cols a:hover { color: #fff; }
.footer2 .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid #1f2937;
  margin-top: 40px;
  padding-top: 24px;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.8;
}
.footer2 .bottom-copy { min-width: 0; }
.footer2 .bottom-copy p { margin: 0; }
.footer2 .bottom-copy p + p { margin-top: 4px; }
.footer2 .bottom-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex: 0 0 auto;
  white-space: nowrap;
}
.footer2 .bottom-links a { color: #94a3b8; }
.footer2 .bottom-links a:hover { color: #fff; }
@media (max-width: 700px) {
  .footer2 .bottom { align-items: flex-start; flex-direction: column; gap: 14px; }
  .footer2 .bottom-links { justify-content: flex-start; flex-wrap: wrap; gap: 10px 20px; white-space: normal; }
}

/* Browser highlight mark */
mark.hl { background: #eef2ff; color: #4338ca; border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* FAQ / Help page layout */
.help-page-head { width: 100%; margin: 0 auto 40px; }
.help-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
@media (max-width: 980px){ .help-layout { grid-template-columns: 1fr; } }
.ov-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0; }
@media (max-width: 640px){ .ov-grid { grid-template-columns: 1fr; } }
/* Grid items default to min-width:auto, so a long URL widens the whole track. */
.help-layout > * { min-width: 0; }
.help-layout a, .help-layout code { overflow-wrap: anywhere; }
.help-article { padding: 32px; }
@media (max-width: 560px){ .help-article { padding: 20px 16px; } }
.help-side { position: sticky; top: 88px; }
.help-side .side-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px; }
.help-side h4 { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.help-side a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; font-size: 14px; color: #475569; }
.help-side a:hover { background: #f8fafc; color: #0f172a; }
.help-side a.active { background: #eef2ff; color: #4f46e5; font-weight: 600; }
.help-side a .wi { width: 22px; height: 22px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.help-side .no-answer { margin-top: 16px; padding: 16px; border-radius: 14px; background: linear-gradient(135deg,#eef2ff,#f5f3ff); border: 1px solid #e0e7ff; font-size: 13px; color: #475569; }
.faq-group { margin-bottom: 30px; }
.faq-group .ghead { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.faq-group .ghead .gi { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }
.faq-group .ghead h2 { font-size: 19px; font-weight: 800; color: #0f172a; }
.faq-group .ghead span { font-size: 12.5px; color: #94a3b8; }
.chip-tag { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; margin-bottom: 6px; }
.chip-red { background: #fee2e2; color: #dc2626; }
.chip-blue { background: #dbeafe; color: #2563eb; }
.chip-amber { background: #fef3c7; color: #b45309; }
.question-box { border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; overflow: hidden; margin-bottom: 10px; }
.question-box summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 600; font-size: 14.5px; color: #0f172a; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.question-box summary::-webkit-details-marker { display: none; }
.question-box summary:hover { background: #f8fafc; }
.question-box .chev { color: #94a3b8; transition: .2s; }
.question-box[open] summary .chev { transform: rotate(180deg); }
.question-box .ans { padding: 0 18px 18px; color: #475569; font-size: 14px; line-height: 1.7; }
.help-layout > article a:not(.btn-hero) { color: #2563eb; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; transition: color .15s ease; }
.help-layout > article a:not(.btn-hero):hover { color: #1d4ed8; }
.attn-banner { display: flex; gap: 12px; align-items: center; border-radius: 14px; padding: 15px 18px; margin-bottom: 22px; font-size: 14px; }

/* Pricing plan cards */
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 900px; margin: 0 auto; }
@media (max-width: 760px){ .plan-grid { grid-template-columns: 1fr; } }
.plan-card { position: relative; display: flex; flex-direction: column; border-radius: 24px; background: #fff; border: 1px solid #e2e8f0; padding: 30px; box-shadow: 0 8px 30px -14px rgba(15,23,42,.12); }
.plan-card.featured { background: linear-gradient(180deg, #4f46e5, #4f46e5 4px, #fff 4px); border-color: transparent; box-shadow: 0 20px 50px -16px rgba(79,70,229,.35); }
.plan-card .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg,#4f46e5,#7c3aed); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(79,70,229,.5); white-space: nowrap; }
.plan-card h3 { font-size: 24px; font-weight: 800; color: #0f172a; }
.plan-card .p-tag { margin-top: 10px; align-self: flex-start; border-radius: 999px; background: #eef2ff; color: #4f46e5; padding: 5px 12px; font-size: 12px; font-weight: 600; }
.plan-card .price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 20px; }
.plan-card .price { font-size: 44px; font-weight: 800; color: #0f172a; letter-spacing: -.02em; }
.plan-card .unit { color: #94a3b8; font-size: 14px; }
.plan-card .orig { color: #cbd5e1; text-decoration: line-through; font-size: 14px; }
.plan-card .save { border-radius: 999px; background: #ecfdf5; color: #059669; font-size: 12px; font-weight: 700; padding: 3px 9px; }
.plan-card .p-desc { color: #64748b; font-size: 14px; margin-top: 12px; }
.plan-card .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.plan-card .tile { border: 1px solid #e0e7ff; background: #eef2ff; border-radius: 14px; padding: 12px; }
.plan-card .tile b { display: block; font-size: 13px; color: #0f172a; }
.plan-card .tile span { font-size: 11px; color: #94a3b8; }
.plan-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.plan-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #475569; padding: 6px 0; }
.plan-card li .ck { width: 20px; height: 20px; border-radius: 50%; background: #eef2ff; color: #4f46e5; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.plan-card .cta { margin-top: auto; padding-top: 22px; }
.plan-card .btn-primary { width: 100%; }
.plan-card .sub-link { display: block; text-align: center; margin-top: 12px; font-size: 12px; color: #94a3b8; }
.go-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; max-width: 900px; margin: 26px auto 0; border: 1px solid #e2e8f0; background: #f8fafc; border-radius: 18px; padding: 22px 26px; }
@media (max-width: 640px){ .go-row { grid-template-columns: 1fr; } }
.go-row .ic { width: 48px; height: 48px; border-radius: 14px; border: 1px solid #e2e8f0; background: #fff; display: flex; align-items: center; justify-content: center; }
.go-row .title { font-weight: 700; color: #0f172a; }
.go-row .subtitle { font-size: 13px; color: #64748b; margin-top: 2px; }
.go-row .gr { display: flex; align-items: center; gap: 14px; }
.go-row .p { font-size: 24px; font-weight: 800; color: #0f172a; }
.go-row .p .u { font-size: 12px; color: #94a3b8; font-weight: 400; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 44px auto 0; border: 1px solid #e2e8f0; border-radius: 22px; background: #fff; padding: 26px; }
@media (max-width: 640px){ .trust-strip { grid-template-columns: 1fr; } }
.trust-strip .tr { display: flex; align-items: center; justify-content: center; gap: 10px; }
.trust-strip .tr b { font-size: 14px; color: #1e293b; }
.trust-strip .tr span { display: block; font-size: 12px; color: #94a3b8; }

/* Pay tabs (cashier) */
.pay-tabs { display: flex; gap: 8px; }
.ptab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border-radius: 12px; border: 1.5px solid #e2e8f0; background: #fff; color: #64748b; font-weight: 600; font-size: 14px; transition: .15s; }
.ptab:hover { border-color: #c7d2fe; }
.ptab.active { border-color: #4f46e5; background: #eef2ff; color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,.1); }

/* ===== Payment page (matches getgpt.pro /pay screenshot) ===== */
.paymask { align-items: flex-start; overflow: auto; padding: 24px; }
.paypage { width: 100%; max-width: 1020px; background: #fff; border-radius: 20px; box-shadow: 0 20px 60px -20px rgba(15,23,42,.25); overflow: hidden; }
.pay-inner { display: grid; grid-template-columns: 340px 1fr; }
@media (max-width: 880px){ .pay-inner { grid-template-columns: 1fr; } }

/* Left: 订单信息 */
.pay-left { background: #fff; border-right: 1px solid #f1f5f9; padding: 28px 26px; }
.pay-left h3 { font-size: 18px; font-weight: 800; color: #0f172a; }
.pl-product { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.pl-product .logo { width: 52px; height: 52px; border-radius: 14px; background: #10b981; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.pl-product b { font-size: 16px; color: #0f172a; }
.pl-product .sub { font-size: 12.5px; color: #94a3b8; margin-top: 2px; }
.pl-field { background: #f8fafc; border: 1px solid #eef2f7; border-radius: 12px; padding: 12px 14px; margin: 14px 0; }
.pl-field .label { font-size: 12.5px; color: #94a3b8; }
.pl-field .val { font-size: 15px; color: #0f172a; font-weight: 600; margin-top: 3px; }
.pl-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14px; color: #64748b; }
.pl-row b { color: #0f172a; }
.pl-row.total b { font-size: 22px; font-weight: 800; color: #0f172a; }
.pl-trust { display: flex; gap: 10px; margin-top: 20px; }
.pl-trust .tr { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; padding: 12px 6px; border: 1px solid #eef2f7; border-radius: 12px; font-size: 11.5px; color: #64748b; text-align: center; background: #fff; }
.pl-trust .tr .ic { width: 26px; height: 26px; border-radius: 50%; background: #f1f5f9; display: flex; align-items: center; justify-content: center; color: #475569; }
.pl-trust .tr svg, .pl-trust .tr span { display: block; }
.pl-trust .tr b { font-size: 12px; color: #334155; font-weight: 600; }

/* Right: payment */
.pay-right { background: #fff; padding: 28px 32px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.count-pill { display: inline-flex; align-items: center; gap: 6px; background: #fff7ed; border: 1px solid #fed7aa; color: #b45309; font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 999px; }
.pay-right h2 { font-size: 22px; font-weight: 800; color: #0f172a; margin: 16px 0 4px; }
.pay-right .lead { font-size: 14px; color: #64748b; margin-bottom: 20px; }
.qr-frame { position: relative; width: 340px; border-radius: 20px; padding: 20px 20px 14px; }
.qr-frame.alipay { background: linear-gradient(180deg, #3b6ef5, #2563eb); box-shadow: 0 20px 40px -18px rgba(37,99,235,.5); }
.qr-frame.wechat { background: linear-gradient(180deg, #22c55e, #16a34a); box-shadow: 0 20px 40px -18px rgba(22,163,74,.5); }
.qr-chip { display: inline-flex; align-items: center; gap: 5px; background: #fff; color: #0f172a; font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-bottom: 12px; }
.qr-white { position: relative; background: #fff; border-radius: 12px; padding: 10px; }
.qr-white img { display: block; width: 100%; height: auto; }
.qr-white::before, .qr-white::after, .qr-white .c3::before, .qr-white .c3::after { content: ""; position: absolute; width: 26px; height: 26px; border: 3px solid transparent; }
.qr-white::after { top: 8px; left: 8px; border-left-color: #2563eb; border-top-color: #2563eb; }
.qr-white::before { bottom: 8px; right: 8px; border-right-color: #2563eb; border-bottom-color: #2563eb; }
.qr-white .c3::after { top: 8px; right: 8px; border-right-color: #2563eb; border-top-color: #2563eb; }
.qr-white .c3::before { bottom: 8px; left: 8px; border-left-color: #2563eb; border-bottom-color: #2563eb; }
.qr-amount { color: #fff; text-align: center; margin-top: 10px; font-size: 13px; }
.qr-amount b { display: block; font-size: 22px; font-weight: 800; }
.blue-info { display: flex; align-items: center; gap: 6px; background: #eef4ff; border: 1px solid #dbe7ff; color: #1d4ed8; border-radius: 12px; padding: 11px 16px; font-size: 13px; margin: 18px 0 6px; }
.swap-btn { background: #fff; border: 1px solid #e2e8f0; color: #64748b; border-radius: 999px; padding: 8px 18px; font-size: 13px; font-weight: 600; cursor: pointer; transition: .15s; }
.swap-btn:hover { border-color: #c7d2fe; color: #4f46e5; }
.waiting { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #94a3b8; font-size: 13.5px; margin: 18px 0; }
.waiting .spin { width: 18px; height: 18px; border: 2px solid #e2e8f0; border-top-color: #4f46e5; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-done { width: 100%; max-width: 420px; background: linear-gradient(90deg, #2563eb, #3b6ef5); color: #fff; font-size: 16px; font-weight: 700; padding: 16px; border-radius: 14px; border: none; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(37,99,235,.6); transition: .2s; }
.btn-done:hover { filter: brightness(1.05); }
.pay-help { margin-top: 16px; font-size: 12.5px; color: #94a3b8; }
.pay-help a { color: #4f46e5; }

/* ===== Purchase wizard page (matches getgpt.pro /purchase screenshot) ===== */
.purchase-main { padding: 8px 0 56px; }
.payment-methods { display:flex; gap:8px; margin:14px 0; flex-wrap:wrap; }
.payment-method { display:flex; align-items:center; justify-content:center; gap:8px; width:126px; min-height:48px; padding:0 14px; border:1px solid var(--line); border-radius:8px; cursor:pointer; color:var(--ink-2); font-size:13px; white-space:nowrap; box-sizing:border-box; }
.payment-method.selected { border-color:var(--brand); color:var(--brand); background:#eef2ff; }
.payment-method input[type=radio] { flex:0 0 auto; width:16px; height:16px; min-height:0; margin:0; padding:0; border:0; border-radius:50%; box-shadow:none; accent-color:var(--brand); }
.payment-method input[type=radio]:focus { outline:none; box-shadow:none; }
.payment-method input[type=radio]:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
.payment-method-icon { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; font-size:21px; font-style:normal; }
.payment-method span { white-space:nowrap; }
.payment-method-icon.alipay::before { content:"\f642"; font-family:"Font Awesome 6 Brands"; color:#1677ff; }
.payment-method-icon.wechat::before { content:"\f1d7"; font-family:"Font Awesome 6 Brands"; color:#07c160; }
.payment-method-empty { color:#94a3b8; font-size:13px; }
@media (max-width: 560px) {
  .payment-methods { gap:10px; }
  .payment-method { width:100%; flex:1 1 100%; justify-content:flex-start; min-height:52px; font-size:14px; }
}
.purchase-main > .wizard-steps,
.purchase-main > .step-view {
  width: 100%;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.wizard-steps { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 26px; margin-bottom: 30px; font-size: 13.5px; color: #94a3b8; flex-wrap: wrap; }
.wizard-steps .ws { display: inline-flex; align-items: center; gap: 7px; }
.wizard-steps .ws .n { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; border: 1px solid #e2e8f0; color: #94a3b8; flex-shrink: 0; }
.wizard-steps .ws.on { color: #4f46e5; font-weight: 700; }
.wizard-steps .ws.on .n { background: linear-gradient(90deg,#4f46e5,#7c3aed); color: #fff; border-color: transparent; }
.wizard-steps .sep { width: 26px; height: 1px; background: #e2e8f0; }
.wizard-steps .sep.on { background: linear-gradient(90deg,#4f46e5,#7c3aed); }
@media (max-width: 640px) {
  .wizard-steps {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 2px;
    margin-top: 18px;
    margin-bottom: 22px;
    font-size: 11px;
  }
  .wizard-steps .ws {
    flex: 0 1 auto;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    line-height: 1.25;
  }
  .wizard-steps .ws .n { width: 20px; height: 20px; font-size: 11px; }
  .wizard-steps .sep {
    flex: 1 1 auto;
    width: auto;
    min-width: 6px;
    margin-top: 10px;
  }
}
@media (max-width: 360px) {
  .wizard-steps { gap: 1px; font-size: 10px; }
  .wizard-steps .ws .n { width: 18px; height: 18px; font-size: 10px; }
  .wizard-steps .sep { min-width: 4px; margin-top: 9px; }
}

.purchase-wrap { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: 28px; align-items: start; }
.purchase-left { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.purchase-right { position: sticky; top: 92px; align-self: start; min-width: 0; }
.pbox { border-radius: 18px; border: 1px solid #eef2f7; background: #fff; padding: 24px; }
@media (max-width: 900px){
  .purchase-wrap { grid-template-columns: 1fr; }
  /* 单列时把「订单详情」提到商品说明之前，移动端无需长距离滚动才能下单 */
  .purchase-left { display: contents; }
  .purchase-left > .pbox { order: 1; }
  .purchase-right { order: 2; position: static; }
  .purchase-left > .purchase-info-box { order: 3; }
  .purchase-left > .purchase-faq-box { order: 4; }
}

/* Left product */
.plink { display: inline-flex; align-items: center; gap: 6px; color: #64748b; font-size: 13.5px; margin-bottom: 18px; }
.plink:hover { color: #4f46e5; }
.product-summary { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; align-items: start; }
.product-summary-copy { min-width: 0; }
.ptitle { font-size: 26px; font-weight: 800; color: #0f172a; letter-spacing: -.01em; }
.ptags { display: flex; gap: 8px; margin: 12px 0 1px; flex-wrap: wrap; }
.ptags-trust .tag { background: #ecfdf5; color: #059669; }
.ppimg { width: 190px; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg,#7c3aed,#a855f7); display: flex; align-items: center; justify-content: center; aspect-ratio: 1; flex-shrink: 0; }
.ppimg img { width: 100%; height: 100%; object-fit: cover; }
.pprice { display: flex; align-items: baseline; gap: 8px; }
.pprice .v { font-family: Arial, "Helvetica Neue", sans-serif; font-size: 38px; font-weight: 800; color: #0f172a; line-height: 1; font-variant-numeric: tabular-nums; }
.pprice .u { color: #64748b; font-size: 15px; }
.pprice .o { align-self: baseline; color: #cbd5e1; text-decoration: line-through; font-family: Arial, "Helvetica Neue", sans-serif; font-size: 16px; line-height: 1; font-variant-numeric: tabular-nums; }
.pprice .save { align-self: baseline; border-radius: 999px; background: #ecfdf5; color: #059669; font-size: 12px; font-weight: 700; padding: 3px 10px; }
.pline { display: flex; gap: 14px; font-size: 15px; color: #4f46e5; margin-top: 12px; flex-wrap: wrap; align-items: center; }
.pline-fast { display: inline-flex; align-items: center; gap: 4px; }
.pline-fast .fa { font-size: 15px; }
.pusers { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15px; color: #64748b; }
.pusers-avatars { display: inline-flex; align-items: center; padding-left: 4px; }
.pusers-avatars img { width: 31px; height: 31px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; margin-left: -5px; box-shadow: 0 1px 3px rgba(15,23,42,.16); }
.pusers-avatars img:first-child { margin-left: 0; }
.pusers .avs { display: flex; }
.pusers .avs span { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; background: #e2e8f0; background-size: cover; }
.pusers .avs span:first-child { margin-left: 0; }
.pusers b { color: #0f172a; }
.left-divider { height: 1px; background: #eef2f7; margin: 24px 0 20px; }
.benefits3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 20px 0; }
.benefits4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefits3 .b { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border: 1px solid #eef2f7; border-radius: 12px; }
.benefits3 .b .ic { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #eef2ff; color: #4f46e5; flex-shrink: 0; font-size: 17px; }
.benefits3 .b b { font-size: 14px; color: #0f172a; display: block; }
.benefits3 .b span { font-size: 11.5px; color: #94a3b8; }
.purchase-info-box { border-radius: 18px; border: 1px solid #e2e8f0; background: #fff; padding: 18px; box-shadow: 0 1px 3px rgba(15,23,42,.04); }
.purchase-info-card { border: 1px solid #cbd5e1; border-left-width: 7px; border-radius: 10px; padding: 24px 28px 26px 34px; margin-bottom: 18px; background: #fff; }
.purchase-info-card:last-child { margin-bottom: 0; }
.purchase-info-card h2 { display: flex; align-items: center; gap: 22px; margin: 0 0 20px; color: #111827; font-size: 28px; font-weight: 800; }
.info-icon { width: 30px; color: #10b981; font-size: 31px; line-height: 1; text-align: center; }
.info-copy { color: #4b5563; font-size: 18px; line-height: 1.85; }
.info-copy p { margin: 0 0 12px; }.info-copy p:last-child { margin-bottom: 0; }.info-copy ul,.info-copy ol { margin: 8px 0 12px; padding-left: 1.5em; }.info-copy li { margin: 3px 0; }
.info-product { border-left-color: #10b981; }
.info-product .info-icon { color: #10b981; }
.info-product strong { color: #dc2626; }
.info-reminder { border-left-color: #f59e0b; }
.info-reminder .info-icon { color: #f59e0b; }
.info-risk { border-left-color: #ef4444; }
.info-risk .info-icon { color: #ef4444; }
.info-faq { border-left-color: #4f46e5; }
.info-faq .info-icon { color: #3b82f6; }
.purchase-faq-box { border-radius: 18px; border: 1px solid #e2e8f0; background: #fff; padding: 28px 30px 20px; box-shadow: 0 1px 3px rgba(15,23,42,.04); }
.purchase-faq-title { margin: 0 0 18px; color: #0f172a; font-size: 22px; font-weight: 800; }
.purchase-faq-list .qbox { border: 0; border-bottom: 1px solid #e5e7eb; border-radius: 0; margin: 0; }
.purchase-faq-list .qbox:last-child { border-bottom: 0; }
.purchase-faq-list .qbox summary { padding: 15px 2px; font-size: 15px; font-weight: 700; color: #17365d; }
.purchase-faq-list .qbox .ans { padding: 0 2px 15px; font-size: 14px; color: #64748b; }

/* Right order form */
.od-head { font-weight: 800; color: #0f172a; font-size: 20px; margin-bottom: 12px; }
.od-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 15px; color: #0f172a; }
.od-head + .od-item { border-top: 1px solid #eef2f7; border-bottom: 1px solid #eef2f7; padding: 14px 0; }
.od-item .n { color: #0f172a; }
.od-quantity { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 4px; color: #64748b; font-size: 14px; }
.quantity-control { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.quantity-control:hover { border-color: #cbd5e1; }
.quantity-control:focus-within { border-color: #4f46e5; background: #fff; box-shadow: 0 0 0 3px rgba(79,70,229,.12); }
.quantity-control button { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #4f46e5; font-size: 17px; font-weight: 600; line-height: 1; cursor: pointer; transition: background .15s ease, color .15s ease, transform .12s ease; }
.quantity-control button:hover:not(:disabled) { background: #fff; color: #4338ca; box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.quantity-control button:active:not(:disabled) { transform: scale(.92); }
.quantity-control button:disabled { color: #cbd5e1; cursor: not-allowed; }
.quantity-control input[type=number] { width: 38px; height: 28px; box-sizing: border-box; margin: 0; padding: 0; border: 0; border-radius: 6px; outline: none; background: transparent; text-align: center; font-family: Arial, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 700; color: #0f172a; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.quantity-control input[type=number]:focus { background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.06); }
.quantity-control input::-webkit-outer-spin-button, .quantity-control input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.od-item .p, .od-sub .p { font-family: Arial, "Helvetica Neue", sans-serif; color: #0f172a; font-weight: 600; font-variant-numeric: tabular-nums; }
.od-item.tot { border-top: 1px dashed #cbd5e1; margin-top: 10px; padding: 18px 0 10px; font-size: 17px; font-weight: 700; }
.od-item.tot .p { font-family: Arial, "Helvetica Neue", sans-serif; font-size: 40px; font-weight: 800; color: #4f46e5; line-height: 1; font-variant-numeric: tabular-nums; }
.od-sub { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; color: #64748b; font-size: 14.5px; }
.od-sub#odDiscountRow { color: #4f46e5; }
.od-sub#odDiscountRow .p { color: #4f46e5; }
.od-cut { color: #4f46e5; }
.pform .flabel { font-size: 14px; font-weight: 700; color: #0f172a; margin: 14px 0 8px; display: block; }
.pform input { width: 100%; padding: 14px 16px; border: 1px solid #e2e8f0; border-radius: 12px; font-size: 15px; color: #0f172a; }
.pform input:focus { outline: none; border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,.12); }
.pinfo { display: flex; gap: 8px; align-items: flex-start; background: #eef2ff; border: 1px solid #e0e7ff; color: #4338ca; border-radius: 12px; padding: 11px 14px; font-size: 13px; margin: 12px 0; line-height: 1.5; }
.contact-info { gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500; }
.contact-info strong { font-weight: 800; }
.contact-info-icon { flex: 0 0 auto; line-height: 1.5; }
.coupon-row { display: flex; justify-content: space-between; align-items: center; border: 1px solid #eef2f7; background: #f8fafc; border-radius: 12px; padding: 10px 14px; font-size: 14px; color: #64748b; margin: 10px 0; }
.coupon-row b { color: #059669; }
.terms-check { display: block; font-size: 12px; color: #475569; margin: 8px 0 16px; line-height: 1.6; cursor: pointer; }
.terms-check input { width: 13px; height: 13px; vertical-align: -2px; margin-right: 6px; cursor: pointer; }
.terms-check span { display: inline; }
.terms-check a { color: #4f46e5; }
.btn-buy { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(90deg,#4f46e5,#7c3aed); color: #fff; font-size: 16px; font-weight: 700; padding: 16px; border-radius: 14px; border: none; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(79,70,229,.6); transition: .2s; }
.btn-buy:hover { filter: brightness(1.05); }
.buy-note { font-size: 12.5px; color: #94a3b8; margin-top: 10px; }
.buy-tip { display: flex; gap: 8px; align-items: flex-start; color: #64748b; font-size: 12.5px; margin-top: 14px; line-height: 1.75; }
.buy-tip-icon { flex: 0 0 auto; line-height: 1.75; }
.buy-tip strong { color: #64748b; font-weight: 500; }
.purchase-trust { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 16px; padding: 0 4px; color: #64748b; }
.purchase-trust-main { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; white-space: nowrap; }
.trust-avatars { display: flex; align-items: center; padding-left: 5px; }
.trust-avatars img { width: 30px; height: 30px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; margin-left: -5px; box-shadow: 0 1px 3px rgba(15,23,42,.18); }
.trust-avatars img:first-child { margin-left: 0; }
.trust-check { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#7c3aed,#4f46e5); color: #fff; font-size: 17px; font-weight: 800; box-shadow: 0 3px 8px rgba(79,70,229,.25); }
.trust-count { color: #64748b; font-size: 15px; }
.trust-count strong { color: #0f172a; font-weight: 800; }
.purchase-trust-sub { color: #8ba0bf; font-size: 13px; }
.purchase-trust-sub span { margin: 0 8px; color: #cbd5e1; }

/* In-page wizard step views */
.step-view { animation: fadeInUp .35s ease both; }
.step-center { padding: 32px 0 12px; }
.paypage { margin: 0 auto; box-shadow: 0 10px 40px -18px rgba(15,23,42,.18); }
.step-view[hidden] { display: none !important; }
@media (max-width: 600px) {
  .purchase-right { position: static; }
  .quantity-control button { width: 32px; height: 32px; font-size: 18px; }
  .quantity-control input[type=number] { width: 42px; height: 32px; font-size: 16px; }
  .product-summary { grid-template-columns: 1fr; gap: 14px; }
  .ppimg { width: min(132px, 40%); }
  .ptitle { font-size: 22px; }
  .pprice .v { font-size: 32px; }
  .pline { margin-top: 10px; font-size: 14px; }
  .pusers { margin-top: 10px; font-size: 13.5px; }
  .pusers-avatars img { width: 26px; height: 26px; }
  .left-divider { margin: 18px 0 16px; }
  .benefits3, .benefits4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; }
  .benefits3 .b { gap: 8px; padding: 8px 10px; }
  .benefits3 .b .ic { width: 32px; height: 32px; font-size: 15px; }
  .benefits3 .b span { font-size: 11px; }
  .purchase-info-box { padding: 12px; }
  .purchase-info-card { padding: 20px 18px 22px 22px; }
  .purchase-info-card h2 { gap: 12px; font-size: 24px; }
  .info-copy { font-size: 15px; }
  .purchase-trust-main { white-space: normal; flex-wrap: wrap; }
  .trust-count { font-size: 14px; }
  .purchase-faq-box { padding: 22px 18px 14px; }
  .purchase-faq-title { font-size: 20px; }
}

/* ---------------- 订单详情独立页 /user/orders/<订单号> ---------------- */
.od-main { padding-top: 28px; padding-bottom: 72px; display: grid; gap: 16px; align-content: start; }
.od-back { display: inline-flex; align-items: center; gap: 7px; width: max-content; color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.od-back:hover { color: var(--brand); }
.od-back i { font-size: 11px; }
#odBody { display: grid; gap: 16px; }

.od-hero { padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.od-hero-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.od-hero-note { color: var(--muted); font-size: 13px; }
.od-hero h1 { margin: 14px 0 0; font-size: 26px; overflow-wrap: anywhere; }
.od-orderno { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding: 9px 10px 9px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.od-orderno span { color: var(--muted); font-size: 12.5px; }
.od-orderno b { font: 600 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }

.od-copy { flex: none; padding: 5px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-2); font: 600 12.5px inherit; transition: border-color .18s, color .18s; }
.od-copy:hover { border-color: var(--brand); color: var(--brand); }
.od-copy.od-copied { border-color: var(--green); color: var(--green); }

.od-panel { padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.od-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.od-panel-head h2 { font-size: 17px; }
.od-panel-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* 交付内容是用户进来的第一目的，用品牌色描边和淡紫底把它抬到视觉首位。 */
.od-delivery { border-color: #c7d2fe; background: linear-gradient(180deg, #faf9ff, #fff 120px); box-shadow: var(--shadow-brand); }
.od-redeem { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid #e9e5ff; border-radius: var(--radius-sm); background: #fff; }
.od-redeem span { display: block; color: var(--muted); font-size: 12.5px; }
.od-redeem a { display: inline-block; margin-top: 4px; color: var(--brand); font: 600 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.od-redeem a:hover { text-decoration: underline; }
.od-keys-head { display: flex; align-items: center; gap: 6px; margin: 18px 0 9px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.od-keys-head b { color: var(--brand); }
/* 一排彩色下箭头，把视线从「卡密」标签引到下面的卡密框。 */
.od-arrows { display: inline-flex; align-items: center; gap: 13px; margin-left: 8px; line-height: 0; }
/* 每个箭头带一圈自己颜色的柔光，参照页是深底发光，浅底上压低透明度才不脏。 */
.od-arrows svg { width: 22px; height: 22px; filter: drop-shadow(0 0 4px var(--od-glow)); animation: od-arrow-bob 1.6s ease-in-out infinite; }
.od-arrows svg:nth-child(1) { color: #f59e0b; --od-glow: rgba(245,158,11,.62); animation-delay: 0s; }
.od-arrows svg:nth-child(2) { color: #a78bfa; --od-glow: rgba(167,139,250,.62); animation-delay: .12s; }
.od-arrows svg:nth-child(3) { color: #34d399; --od-glow: rgba(52,211,153,.62); animation-delay: .24s; }
.od-arrows svg:nth-child(4) { color: #60a5fa; --od-glow: rgba(96,165,250,.62); animation-delay: .36s; }
.od-arrows svg:nth-child(5) { color: #f87171; --od-glow: rgba(248,113,113,.62); animation-delay: .48s; }
@keyframes od-arrow-bob { 0%, 100% { transform: translateY(-2px) scale(.88); } 50% { transform: translateY(3px) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .od-arrows svg { animation: none; transform: none; } }
.od-keys { display: grid; gap: 8px; }
.od-key { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border: 1px solid #e9e5ff; border-radius: var(--radius-sm); background: #fff; }
.od-key-no { flex: none; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; border-radius: 7px; background: var(--brand-soft); color: var(--brand); font: 700 11px/1 Arial, sans-serif; }
.od-key code { flex: 1; min-width: 0; font: 600 14px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .01em; overflow-wrap: anywhere; }
.od-warn { display: flex; align-items: center; gap: 7px; margin: 16px 0 0; color: var(--red); font-size: 12.5px; }
.od-delivery-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 34px 20px; color: var(--muted); text-align: center; }
.od-delivery-empty i { margin-bottom: 6px; color: #c4b5fd; font-size: 30px; }
.od-delivery-empty strong { color: var(--ink-2); font-size: 15px; }
.od-delivery-empty span { font-size: 13px; }

.od-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.od-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid #f1f5f9; }
.od-row:last-child { border-bottom: 0; padding-bottom: 0; }
.od-row span { flex: none; color: var(--muted); font-size: 13px; }
.od-row strong { min-width: 0; text-align: right; font-size: 13.5px; overflow-wrap: anywhere; }
.od-row .od-amount { color: var(--brand); font: 800 22px/1.2 Arial, sans-serif; }
.od-row-payno { border-bottom: 0; }
.od-payno { padding: 0; border: 0; background: transparent; color: var(--ink-2); font: 600 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.od-payno:hover { color: var(--brand); }
.od-payno i { margin-left: 4px; font-size: 10px; }

.od-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 0 4px; }
.od-foot p { margin: 0; color: var(--muted); font-size: 13px; }
.od-missing { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 64px 20px; color: var(--ink-2); text-align: center; }
.od-missing i { color: #c4b5fd; font-size: 34px; }

@media (max-width: 900px) { .od-columns { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .od-main { padding-bottom: 48px; }
  .od-hero, .od-panel { padding: 20px 18px; }
  .od-hero h1 { font-size: 21px; }
  .od-orderno { display: flex; width: 100%; }
  .od-orderno b { flex: 1; min-width: 0; }
  .od-panel-actions { width: 100%; }
  .od-panel-actions .btn { flex: 1; }
  .od-redeem { align-items: stretch; flex-direction: column; }
  .od-redeem .od-copy { width: 100%; height: 36px; }
  .od-key { align-items: flex-start; flex-wrap: wrap; }
  .od-key code { flex-basis: calc(100% - 34px); font-size: 13px; }
  .od-key .od-copy { margin-left: auto; }
  .od-foot { align-items: stretch; flex-direction: column; }
}
