/* ==========================================================================
   NEBULA PANEL SKIN  v2.0  ·  LIGHT
   PerfectPanel (Bootstrap 3) 覆盖式主题 —— 白底 + 藏蓝
   放置位置：主题目录 /CSS/style.css（或整段贴进后台 Custom CSS）
   深色版保留在 /CSS/style-dark.css 备用
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

/* ---------------------------------------------------------------- 0. Token */
:root{
  --pp-bg:#EEF4FB;
  --pp-surface:#FFFFFF;
  --pp-surface-2:#F8FBFE;
  --pp-line:#E4EDF7;
  --pp-line-2:#D2E1F0;
  --pp-ink:#0F2740;
  --pp-dim:#516E8A;
  --pp-mute:#7B93AB;
  --pp-brand:#6D4AFF;
  --pp-brand-2:#22D3EE;
  --pp-brand-soft:#F1EEFF;
  --pp-ok:#1B9E6F;
  --pp-warn:#C08318;
  --pp-danger:#CF4A3F;
  --pp-r:16px;
  --pp-r-sm:11px;
  --pp-shadow:0 1px 2px rgba(15,39,64,.05),0 20px 44px -34px rgba(15,39,64,.45);
  --pp-ring:0 0 0 3px rgba(109,74,255,.12);
}

/* ------------------------------------------------------------- 1. Base / UI */
html{ -webkit-text-size-adjust:100%; color-scheme:light; }
body{
  margin:0;
  background:
    radial-gradient(1000px 520px at 6% -10%, rgba(124,92,255,.10), transparent 62%),
    radial-gradient(820px 460px at 100% -6%, rgba(109,74,255,.06), transparent 58%),
    var(--pp-bg);
  background-attachment:fixed;
  color:var(--pp-ink);
  font-family:Inter,"Segoe UI",system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:14px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
a{ color:#6D4AFF; text-decoration:none; transition:color .16s ease; }
a:hover,a:focus{ color:#4A2FD6; text-decoration:none; }
h1,h2,h3,h4,h5,h6{ color:var(--pp-ink); font-weight:600; letter-spacing:-.015em; }
hr{ border-color:var(--pp-line); }
::selection{ background:rgba(124,92,255,.20); color:#0F2740; }

*{ scrollbar-width:thin; scrollbar-color:rgba(15,39,64,.20) transparent; }
*::-webkit-scrollbar{ width:9px; height:9px; }
*::-webkit-scrollbar-track{ background:transparent; }
*::-webkit-scrollbar-thumb{ background:rgba(15,39,64,.18); border-radius:99px; border:2px solid transparent; background-clip:content-box; }
*::-webkit-scrollbar-thumb:hover{ background:rgba(15,39,64,.30); background-clip:content-box; }

/* 浏览器自动填充：浅色底 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill{
  -webkit-text-fill-color:#0F2740;
  -webkit-box-shadow:0 0 0 1000px #F7FAFE inset;
  box-shadow:0 0 0 1000px #F7FAFE inset;
  caret-color:#0F2740;
  transition:background-color 9999s ease-in-out 0s;
}

/* --------------------------------------------------------- 2. Shell 布局 */
body.pp-shell{ display:grid; grid-template-columns:264px minmax(0,1fr); min-height:100vh; }
body.pp-auth{ display:flex; flex-direction:column; min-height:100vh; }
.pp-nav-toggle{ position:absolute; opacity:0; pointer-events:none; }

/* 侧边栏 */
.pp-sidebar{
  position:sticky; top:0; height:100vh; z-index:30;
  display:flex; flex-direction:column; gap:4px;
  padding:18px 12px 14px;
  border-right:1px solid var(--pp-line);
  background:linear-gradient(180deg,#FFFFFF,#FCFBFF);
}
.pp-brand{
  display:flex; align-items:center; gap:10px;
  padding:6px 10px 16px; margin-bottom:8px;
  border-bottom:1px solid var(--pp-line);
  color:var(--pp-ink); font-weight:700; letter-spacing:.14em; font-size:13px;
}
.pp-brand:hover{ opacity:.85; }
.pp-brand img{ max-height:28px; max-width:192px; width:auto; }
.pp-brand .pp-logo-fallback{
  width:34px; height:34px; border-radius:10px; flex:none;
  display:grid; place-items:center; font-size:14px; letter-spacing:-.03em; color:#fff;
  background:linear-gradient(140deg,#8B6BFF,#6D4AFF);
  box-shadow:0 8px 18px -10px rgba(109,74,255,.8);
}
.pp-nav{ display:flex; flex-direction:column; gap:2px; overflow-y:auto; margin:0 -4px; padding:2px 4px 4px; }
.pp-nav-item{
  position:relative; display:flex; align-items:center; gap:11px;
  height:40px; padding:0 11px; border-radius:10px;
  color:#3F3956; font-size:13.5px; font-weight:500;
  transition:background .15s ease,color .15s ease;
}
.pp-nav-item i.pp-nav-ico{ font-size:14px; width:18px; text-align:center; color:#9A93AE; transition:color .15s; }
.pp-nav-item svg{ width:17px; height:17px; flex:none; color:#9A93AE; }
.pp-nav-item:hover{ background:#F6F4FE; color:#171331; }
.pp-nav-item:hover i.pp-nav-ico,.pp-nav-item:hover svg{ color:#6D4AFF; }
.pp-nav-item.is-active{
  color:#5A3BE0; font-weight:600;
  background:linear-gradient(90deg,#F1EEFF,#FAF9FF);
  box-shadow:inset 0 0 0 1px #E4DDFF;
}
.pp-nav-item.is-active i.pp-nav-ico,.pp-nav-item.is-active svg{ color:#6D4AFF; }
.pp-nav .label,.pp-nav .badge{
  margin-left:auto; padding:2px 7px; border-radius:99px;
  font-size:10px; font-weight:600; line-height:1.5;
  background:#EEE9FF; color:#5A3BE0; box-shadow:none; border:0;
}
.pp-side-foot{
  margin-top:auto; display:flex; flex-direction:column; gap:2px;
  padding:12px 0 0; border-top:1px solid var(--pp-line);
}
.pp-side-foot .pp-side-link{
  display:flex; align-items:center; gap:9px; height:34px;
  padding:0 11px; border-radius:9px; font-size:12.5px; color:#6E6788;
}
.pp-side-foot .pp-side-link:hover{ color:#4A2FD6; background:#F6F4FE; }
.pp-user{
  display:flex; align-items:center; gap:10px; margin-top:8px; padding:8px;
  border:1px solid var(--pp-line); border-radius:12px; background:#FBFAFF;
}
.pp-avatar{
  width:32px; height:32px; border-radius:50%; flex:none;
  display:grid; place-items:center; font-size:11.5px; font-weight:700; color:#fff;
  background:linear-gradient(140deg,#7C5CFF,#4A2FD6); text-transform:uppercase;
}
.pp-user div{ min-width:0; }
.pp-user strong{ display:block; font-size:12.5px; font-weight:600; color:var(--pp-ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pp-user span{ display:block; font-size:10.5px; color:var(--pp-mute); }

/* 主区 + 顶栏 */
.pp-main{ position:relative; z-index:1; min-width:0; display:flex; flex-direction:column; }
.pp-topbar{
  position:sticky; top:0; z-index:20;
  display:flex; align-items:center; gap:14px;
  height:64px; padding:0 26px;
  border-bottom:1px solid var(--pp-line);
  background:#FFFFFF;
}
.pp-crumb{
  font-size:15px; font-weight:600; color:var(--pp-ink); letter-spacing:-.01em;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.pp-top-actions{ margin-left:auto; display:flex; align-items:center; gap:9px; }
.pp-balance{
  display:inline-flex; align-items:center; gap:8px; height:34px; padding:0 13px;
  border-radius:9px; border:1px solid #CBEBDD; background:#EFFAF5;
  font-size:12.5px; font-weight:600; color:#12795A; font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.pp-balance:hover,.pp-balance:focus{ color:#0C5E45; background:#E5F7EF; }
.pp-balance i{ width:6px; height:6px; border-radius:50%; background:var(--pp-ok); box-shadow:0 0 0 3px rgba(27,158,111,.14); }
.pp-balance .badge{ padding:0; background:none; color:inherit; font-size:12.5px; font-weight:600; }
.pp-top-link{
  display:inline-flex; align-items:center; gap:7px; height:34px; padding:0 12px; border-radius:9px;
  border:1px solid var(--pp-line); background:#FFFFFF;
  font-size:12.5px; color:#33536F; white-space:nowrap;
}
.pp-top-link:hover{ background:#F5FAFE; color:#4A2FD6; border-color:var(--pp-line-2); }
.pp-burger{
  display:none; width:36px; height:36px; margin:0; border-radius:9px; cursor:pointer;
  border:1px solid var(--pp-line); background:#fff; color:#33536F;
  font-size:15px; line-height:1; place-items:center;
}

.pp-content{
  padding:24px 32px 56px;
  width:100%; max-width:none; margin:0;
}
.pp-content .container,
.pp-content .container-fluid{ width:auto; max-width:none; padding:0; margin:0; }
.pp-content .row{ margin-left:0; margin-right:0; }
.pp-content [class*="col-"]{ padding-left:0; padding-right:0; }
.pp-content .col-md-8.col-md-offset-2,
.pp-content .col-md-10.col-md-offset-1{ width:100%; max-width:880px; margin-left:auto; margin-right:auto; float:none; }

/* 游客 / 登录注册 */
body.pp-auth .pp-topbar{ position:static; height:auto; min-height:76px; padding:0 26px; background:transparent; border-bottom:0; -webkit-backdrop-filter:none; backdrop-filter:none; }
body.pp-auth .pp-topbar .pp-nav-item{ font-size:13px; color:var(--pp-dim); padding:8px 11px; }
body.pp-auth .pp-content{ position:relative; z-index:1; flex:1; display:flex; flex-direction:column; justify-content:center; padding:20px 22px 70px; }
body.pp-auth .pp-content .col-md-8,
body.pp-auth .pp-content .col-md-8.col-md-offset-2{ width:100%; max-width:460px; margin:0 auto; float:none; }
body.pp-auth .pp-content .container,
body.pp-auth .pp-content .row{ width:100%; }

/* --------------------------------------------------------- 3. 旧导航兜底 */
.navbar.navbar-default{
  border:0; border-bottom:1px solid var(--pp-line); border-radius:0;
  background:#FFFFFF; margin-bottom:0; min-height:62px;
}
.navbar-default .navbar-brand{ color:var(--pp-ink); height:62px; line-height:32px; font-weight:700; letter-spacing:.12em; font-size:13px; }
.navbar-default .navbar-brand img{ max-height:28px; width:auto; }
.navbar-default .navbar-nav > li > a{ color:#486581; font-size:13px; padding:21px 12px; }
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus{ color:var(--pp-brand); background:transparent; }
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus{ color:var(--pp-brand); background:transparent; box-shadow:inset 0 -2px 0 var(--pp-brand); }
.navbar-default .navbar-toggle{ border-color:var(--pp-line-2); border-radius:9px; }
.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{ background:#F3F8FD; }
.navbar-default .navbar-toggle .icon-bar{ background:#486581; }
.navbar-default .navbar-collapse{ border-color:var(--pp-line); }

/* ------------------------------------------------------------ 4. 卡片 well */
.well{
  position:relative;
  margin:0 0 18px;
  padding:24px;
  border:1px solid #E1EBF6;
  border-radius:var(--pp-r);
  background:var(--pp-surface);
  box-shadow:0 1px 2px rgba(15,39,64,.05),0 18px 40px -34px rgba(15,39,64,.38);
  color:var(--pp-ink);
  min-height:0;
}
.well-float{ float:none; width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.well > :last-child{ margin-bottom:0; }

.panel{
  border:1px solid var(--pp-line); border-radius:var(--pp-r); overflow:hidden;
  background:var(--pp-surface); box-shadow:none; margin-bottom:18px;
}
.panel-default > .panel-heading{
  background:#F8FBFE; border-bottom:1px solid var(--pp-line);
  color:var(--pp-ink); padding:14px 20px; font-weight:600; font-size:13.5px;
}
.panel-body{ padding:20px; }
.panel-body.border-solid{ border:1px solid var(--pp-line); border-radius:var(--pp-r-sm); background:#F8FBFE; }
.border-rounded{ background:#F8FBFE !important; }
.border-solid{ border-color:var(--pp-line); }

.well h1{ font-size:22px; margin:0 0 16px; }
.well h2{ font-size:19px; margin:0 0 14px; }
.well h3{ font-size:16px; margin:0 0 12px; }
.well h4{ font-size:14px; margin:0 0 10px; }
.well p{ color:var(--pp-dim); line-height:1.7; }

/* --------------------------------------------------------- 5. 表单控件 */
.form-group{ margin-bottom:18px; }
.control-label,label.control-label{
  display:block; margin:0 0 8px; padding:0;
  font-size:10.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  color:var(--pp-mute);
}
label.control-label.terms{
  display:flex; align-items:flex-start; gap:9px;
  font-size:12.5px; letter-spacing:0; text-transform:none; color:var(--pp-dim); font-weight:400;
}
label.control-label.terms a{ font-weight:500; }

.form-control{
  display:block; width:100%; height:44px; padding:0 13px;
  font-family:inherit; font-size:13px; color:var(--pp-ink);
  background:#F7FAFE;
  border:1px solid #DCE7F3; border-radius:var(--pp-r-sm);
  box-shadow:none; outline:none;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
textarea.form-control{ height:auto; min-height:90px; padding:11px 13px; line-height:1.6; resize:vertical; }
.form-control::placeholder{ color:#9CB0C4; opacity:1; }
.form-control:hover{ border-color:#C9DAEB; }
.form-control:focus{
  border-color:rgba(109,74,255,.55);
  background:#FFFFFF;
  box-shadow:var(--pp-ring);
}
.form-control[readonly],.form-control[disabled]{ background:#F2F6FB; color:#5C7893; cursor:default; }
select.form-control{
  -webkit-appearance:none; -moz-appearance:none; appearance:none;
  padding-right:38px; cursor:pointer;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237B93AB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat:no-repeat; background-position:right 13px center; background-size:15px;
}
select.form-control option{ background:#fff; color:var(--pp-ink); }
.help-block{ font-size:11.5px; color:var(--pp-mute); margin:7px 0 0; }
.has-error .form-control{ border-color:rgba(207,74,63,.6); box-shadow:0 0 0 3px rgba(207,74,63,.10); }
.has-error .help-block{ color:#B23A31; }

.input-group{ display:grid; grid-template-columns:1fr auto; align-items:stretch; width:100%; }
.input-group .form-control{ width:100%; min-width:0; border-radius:var(--pp-r-sm) 0 0 var(--pp-r-sm); }
.input-group-btn{ display:flex; flex:none; }
.input-group-btn .btn{ height:44px; border-radius:0 var(--pp-r-sm) var(--pp-r-sm) 0; border-left:0; margin-left:0; }

input[type="checkbox"],input[type="radio"]{ width:16px; height:16px; margin:1px 0 0; accent-color:var(--pp-brand); cursor:pointer; }
.terms input[type="checkbox"],
.pp-auth-card input[type="checkbox"],
.checkbox input[type="checkbox"]{
  -webkit-appearance:none; appearance:none;
  width:17px; height:17px; flex:none; margin:1px 0 0;
  border:1px solid #C6D7E8; border-radius:5px;
  background:#FFFFFF; cursor:pointer;
  display:inline-grid; place-content:center;
  transition:background .15s ease,border-color .15s ease;
}
.terms input[type="checkbox"]:hover,
.pp-auth-card input[type="checkbox"]:hover,
.checkbox input[type="checkbox"]:hover{ border-color:#9FBAD3; }
.terms input[type="checkbox"]:checked,
.pp-auth-card input[type="checkbox"]:checked,
.checkbox input[type="checkbox"]:checked{
  background:linear-gradient(180deg,#7C5CFF,#6D4AFF); border-color:transparent;
}
.terms input[type="checkbox"]:checked::after,
.pp-auth-card input[type="checkbox"]:checked::after,
.checkbox input[type="checkbox"]:checked::after{
  content:""; width:9px; height:5px; margin-top:-2px;
  border-left:2px solid #fff; border-bottom:2px solid #fff;
  transform:rotate(-45deg);
}
.checkbox label,.radio label{ font-size:13px; color:var(--pp-dim); padding-left:24px; }
.checkbox input[type="checkbox"],.radio input[type="radio"]{ margin-left:-24px; margin-top:3px; }

/* --------------------------------------------------------------- 6. 按钮 */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:40px; padding:0 17px;
  font-family:inherit; font-size:13px; font-weight:600; line-height:1;
  border:1px solid transparent; border-radius:10px; box-shadow:none;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease,border-color .15s ease,color .15s ease;
  white-space:nowrap;
}
.btn:focus,.btn:active:focus,.btn.active:focus{ outline:none; box-shadow:var(--pp-ring); }
.btn:hover,.btn:focus{ text-decoration:none; }
.btn:active{ transform:translateY(1px); }

.btn-primary{
  color:#fff; border-color:rgba(15,39,64,.06);
  background:linear-gradient(180deg,#7C5CFF,#5A3BE0);
  box-shadow:0 10px 22px -14px rgba(109,74,255,.75),inset 0 1px 0 rgba(255,255,255,.14);
}
.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,
.open > .dropdown-toggle.btn-primary{
  color:#fff; background:linear-gradient(180deg,#8A6DFF,#6847F0);
  box-shadow:0 14px 26px -12px rgba(109,74,255,.8);
}
.btn-primary.disabled,.btn-primary[disabled]{ background:#CFC4F5; color:#fff; box-shadow:none; }

.btn-default{ color:#33536F; border-color:#DCE7F3; background:#FFFFFF; }
.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,
.open > .dropdown-toggle.btn-default{ color:#4A2FD6; background:#F5FAFE; border-color:#C9DAEB; }
.btn-default.disabled,.btn-default[disabled]{ color:#9CB0C4; background:#F7FAFE; }

.btn-success{ color:#fff; border-color:transparent; background:linear-gradient(180deg,#2BB183,#18855E); }
.btn-success:hover,.btn-success:focus{ color:#fff; background:linear-gradient(180deg,#31C08F,#1B9368); }
.btn-danger{ color:#fff; border-color:transparent; background:linear-gradient(180deg,#DC5A4F,#BF4038); }
.btn-danger:hover,.btn-danger:focus{ color:#fff; background:linear-gradient(180deg,#E56A5F,#C9483F); }
.btn-warning{ color:#fff; border-color:transparent; background:linear-gradient(180deg,#D79A2B,#B87F14); }
.btn-info{ color:#fff; border-color:transparent; background:linear-gradient(180deg,#4C93CE,#2F74AC); }
.btn-link{ color:#6D4AFF; padding:0 4px; height:auto; background:none; border:0; }
.btn-link:hover{ color:#4A2FD6; background:none; }

.btn-xs{ height:27px; padding:0 10px; font-size:11px; border-radius:7px; gap:5px; }
.btn-sm{ height:34px; padding:0 13px; font-size:12px; border-radius:9px; }
.btn-lg{ height:48px; padding:0 22px; font-size:14px; border-radius:12px; }
.btn-block{ display:flex; width:100%; }
.btn-group > .btn{ border-radius:0 !important; }
.btn-group > .btn:first-child{ border-radius:10px 0 0 10px !important; }
.btn-group > .btn:last-child{ border-radius:0 10px 10px 0 !important; }

#order-form .btn-primary{ width:100%; height:48px; font-size:14px; border-radius:12px; margin-top:4px; }
#order-form #charge{
  height:52px; font-size:20px; font-weight:700; letter-spacing:-.01em;
  font-variant-numeric:tabular-nums; color:#4A2FD6;
  background:linear-gradient(120deg,#EAF3FC,#F3F9FE);
  border-color:#CFE2F4;
}

/* ------------------------------------------------------------- 7. 表格 */
.table{ width:100%; max-width:100%; margin-bottom:0; border-collapse:separate; border-spacing:0; background:transparent; }
.table > thead > tr > th{
  padding:0 14px 12px; text-align:left; vertical-align:bottom;
  font-size:10px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  color:var(--pp-mute); border:0; border-bottom:1px solid var(--pp-line);
  white-space:nowrap; background:transparent;
}
.table > tbody > tr > td,
.table > tfoot > tr > td{
  padding:13px 14px; vertical-align:middle;
  font-size:12.5px; color:#28455F;
  border:0; border-bottom:1px solid #EEF4FA;
  background:transparent;
}
.table > tbody > tr:last-child > td{ border-bottom:0; }
.table > tbody > tr:hover > td{ background:#F8FBFE; }
.table > tbody > tr > td:first-child{ color:var(--pp-mute); font-variant-numeric:tabular-nums; }
.table > tbody > tr > td{ white-space:nowrap; }
.table td.width-40,
.table .width-40{
  width:24% !important; min-width:190px; max-width:none;
  white-space:normal; word-break:break-word; color:#516E8A;
}
.table td.service-name{ white-space:normal; }
.table td.nowrap{ white-space:nowrap; }
.table a{ color:#6D4AFF; }
.table a:hover{ color:#4A2FD6; }
.table-responsive{ border:0; overflow-x:auto; }
.table-condensed > tbody > tr > td{ padding:8px 10px; }

/* 服务列表：分类行 */
#service-table tr[data-filter-table-category-id] > td[colspan]{
  padding:16px 14px 10px; background:#F8FBFE;
  border-top:1px solid var(--pp-line); border-bottom:1px solid var(--pp-line);
  font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:#28455F;
}
#service-table tr[data-filter-table-category-id] > td[colspan] strong{ font-weight:600; letter-spacing:.08em; }
#service-table .service-name{ color:var(--pp-ink); font-weight:500; }
#service-table .favorite-active,.favorite-active{ color:#D79A2B; }

/* 订单状态胶囊 */
.pp-pill{
  display:inline-flex; align-items:center; gap:6px;
  padding:4px 10px; border-radius:99px;
  font-size:11px; font-weight:600; letter-spacing:.01em; white-space:nowrap;
}
.pp-pill::before{ content:""; width:5px; height:5px; border-radius:50%; background:currentColor; }
.pp-st-completed{ color:#12795A; background:#E7F6EF; box-shadow:inset 0 0 0 1px #CBEBDD; }
.pp-st-pending{ color:#8A5F0E; background:#FDF4E3; box-shadow:inset 0 0 0 1px #F2E2C2; }
.pp-st-inprogress,.pp-st-processing{ color:#1B5A93; background:#E9F2FB; box-shadow:inset 0 0 0 1px #CFE2F4; }
.pp-st-partial{ color:#7B3FA0; background:#F6EDFB; box-shadow:inset 0 0 0 1px #E7D6F2; }
.pp-st-canceled,.pp-st-cancelled{ color:#A63A32; background:#FCEDEB; box-shadow:inset 0 0 0 1px #F4D6D2; }
.pp-st-refunded{ color:#5B4BA8; background:#EFEDFB; box-shadow:inset 0 0 0 1px #DCD8F3; }
.pp-st-fail,.pp-st-error{ color:#A63A32; background:#FCEDEB; }

/* ------------------------------------------------------ 8. 导航 / 标签页 */
.nav{ padding-left:0; margin-bottom:0; list-style:none; }
.nav > li{ position:relative; display:block; }
.nav > li > a{ position:relative; display:block; padding:9px 14px; border-radius:9px; color:#486581; font-size:12.5px; font-weight:500; }
.nav > li > a:hover,.nav > li > a:focus{ background:#F3F8FD; color:var(--pp-brand); }

.nav-pills{
  display:flex; align-items:center; gap:6px; flex-wrap:wrap;
  margin:0 0 18px; padding:6px;
  border:1px solid var(--pp-line); border-radius:14px;
  background:#FFFFFF;
  list-style:none;
}
.nav-pills > li{ float:none !important; }
.nav-pills > li > a{ padding:8px 14px; border-radius:9px; font-size:12.5px; color:#516E8A; }
.nav-pills > li > a:hover{ background:#F3F8FD; color:var(--pp-brand); }
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus{
  color:#fff; background:linear-gradient(180deg,#7C5CFF,#5A3BE0);
  box-shadow:0 8px 18px -12px rgba(109,74,255,.9);
}
.nav-pills > li.pull-right{ margin-left:auto; float:none !important; }
.nav-pills > li.search{ width:250px; max-width:100%; flex:0 0 auto; }
.nav-pills > li.search form{ margin:0; width:100%; }
.nav-pills > li.search .input-group{ width:100%; }
.nav-pills > li.search .btn{ height:38px; padding:0 13px; }
.nav-pills > li.search .form-control{ height:38px; font-size:12.5px; }
.nav-pills .dropdown-toggle.btn{ height:37px; }

.nav-tabs{ border-bottom:1px solid var(--pp-line); margin-bottom:18px; display:flex; flex-wrap:wrap; gap:4px; }
.nav-tabs > li > a{ border:0; border-radius:9px 9px 0 0; color:#516E8A; padding:10px 16px; }
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus{ background:#EDF4FC; color:var(--pp-brand); border:0; box-shadow:inset 0 -2px 0 var(--pp-brand); }

/* ------------------------------------------------------- 9. 提示 / 徽标 */
.alert{
  position:relative; padding:14px 44px 14px 16px; margin-bottom:18px;
  border:1px solid var(--pp-line); border-radius:12px;
  font-size:13px; line-height:1.6; color:#28455F;
  background:#F8FBFE;
}
.alert h4{ margin:0 0 6px; font-size:13.5px; font-weight:600; }
.alert .close{
  position:absolute; right:12px; top:10px; margin:0; padding:0;
  width:24px; height:24px; line-height:22px; text-align:center; border-radius:7px;
  color:inherit; opacity:.5; font-size:18px; font-weight:400; text-shadow:none;
}
.alert .close:hover{ opacity:1; background:rgba(15,39,64,.06); }
.alert-success{ background:#EFFAF5; border-color:#CBEBDD; color:#12795A; }
.alert-danger{ background:#FDEDEC; border-color:#F4D6D2; color:#A63A32; }
.alert-warning{ background:#FDF6E8; border-color:#F2E2C2; color:#8A5F0E; }
.alert-info{ background:#EAF2FB; border-color:#CFE2F4; color:#1B5A93; }

.badge{ display:inline-flex; align-items:center; padding:3px 8px; border-radius:7px; font-size:11px; font-weight:600; background:#E9F2FC; color:#6D4AFF; }
.label{ display:inline-block; padding:3px 7px; border-radius:6px; font-size:10.5px; font-weight:600; }
.label-success{ background:#E7F6EF; color:#12795A; }
.label-danger{ background:#FCEDEB; color:#A63A32; }
.label-warning{ background:#FDF4E3; color:#8A5F0E; }
.label-info{ background:#E9F2FB; color:#1B5A93; }
.label-default{ background:#EEF4FA; color:#516E8A; }

.progress{ height:6px; border-radius:99px; overflow:hidden; background:#EAF1F8; box-shadow:none; margin-bottom:14px; }
.progress-bar{ background:linear-gradient(90deg,#8B6BFF,#6D4AFF); box-shadow:none; }

/* -------------------------------------------------- 10. 下拉 / 模态 / 分页 */
.dropdown-menu{
  min-width:190px; padding:6px; margin-top:8px;
  border:1px solid var(--pp-line-2); border-radius:12px;
  background:#FFFFFF; box-shadow:0 24px 48px -24px rgba(15,39,64,.35);
  font-size:13px;
}
.dropdown-menu > li > a,
.dropdown-menu .dropdown-item{
  display:flex; align-items:center; gap:9px;
  padding:9px 11px; border-radius:8px; color:#33536F; font-size:12.5px; white-space:nowrap;
}
.dropdown-menu > li > a:hover,.dropdown-menu > li > a:focus,
.dropdown-menu .dropdown-item:hover{ background:#F3F8FD; color:var(--pp-brand); }
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus{ background:#E9F2FC; color:var(--pp-brand); }
.dropdown-menu .divider{ background:var(--pp-line); margin:6px 0; }
.dropdown-toggle .caret{ border-top-color:currentColor; opacity:.6; margin-left:6px; }
.dropdown-max-height{ max-height:320px; overflow-y:auto; }
.pp-top-actions .dropdown-menu{ left:auto; right:0; }
.pp-top-actions .dropdown-toggle{ cursor:pointer; }

.modal-backdrop{ background:#0F2740; }
.modal-backdrop.in{ opacity:.32; }
.modal-content{
  border:1px solid var(--pp-line); border-radius:18px; background:#FFFFFF;
  box-shadow:0 40px 80px -40px rgba(15,39,64,.45); color:var(--pp-ink);
}
.modal-header{ padding:18px 22px; border-bottom:1px solid var(--pp-line); }
.modal-title{ font-size:14.5px; font-weight:600; }
.modal-header .close{ color:#7B93AB; opacity:.8; text-shadow:none; font-size:22px; font-weight:300; margin-top:-2px; }
.modal-header .close:hover{ opacity:1; color:var(--pp-ink); }
.modal-body{ padding:22px; }
.modal-footer{ padding:16px 22px; border-top:1px solid var(--pp-line); }
.modal-footer .btn + .btn{ margin-left:8px; }

.pagination{ display:flex; flex-wrap:wrap; gap:6px; padding:0; margin:18px 0 0; }
.pagination > li{ display:block; }
.pagination > li > a,
.pagination > li > span{
  display:grid; place-items:center; min-width:36px; height:36px; padding:0 10px;
  border:1px solid var(--pp-line); border-radius:9px !important;
  background:#FFFFFF; color:#516E8A; font-size:12.5px;
}
.pagination > li > a:hover,.pagination > li > span:hover{ background:#F3F8FD; color:var(--pp-brand); border-color:var(--pp-line-2); }
.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > span{ background:linear-gradient(180deg,#7C5CFF,#5A3BE0); border-color:transparent; color:#fff; }

.tooltip{ font-size:11.5px; }
.tooltip-inner{ max-width:260px; padding:7px 10px; border-radius:8px; background:#102A44; color:#fff; box-shadow:0 12px 30px -14px rgba(15,39,64,.5); }
.tooltip.top .tooltip-arrow{ border-top-color:#102A44; }
.tooltip.bottom .tooltip-arrow{ border-bottom-color:#102A44; }
.tooltip.left .tooltip-arrow{ border-left-color:#102A44; }
.tooltip.right .tooltip-arrow{ border-right-color:#102A44; }

/* --------------------------------------------------- 11. 其他常见片段 */
.page-header{ border-bottom:1px solid var(--pp-line); margin:0 0 20px; padding-bottom:14px; }
.list-group-item{ background:#FFFFFF; border-color:var(--pp-line); color:var(--pp-ink); }
.list-group-item:first-child{ border-top-left-radius:12px; border-top-right-radius:12px; }
.list-group-item:last-child{ border-bottom-left-radius:12px; border-bottom-right-radius:12px; }
.list-group-item:hover{ background:#F8FBFE; }
.nowrap{ white-space:nowrap; }
.text-muted{ color:var(--pp-mute) !important; }
.text-danger{ color:#A63A32 !important; }
.text-success{ color:#12795A !important; }
.text-warning{ color:#8A5F0E !important; }
.hidden{ display:none !important; }

#notify-wrapper{
  position:fixed; right:22px; bottom:22px; z-index:1080; max-width:360px;
  padding:14px 40px 14px 16px; border-radius:12px; border:1px solid var(--pp-line-2);
  background:#FFFFFF; color:var(--pp-ink); box-shadow:0 30px 60px -30px rgba(15,39,64,.5); font-size:13px;
}

/* 工单对话 */
.titcket-title{
  font-size:16px; font-weight:600; letter-spacing:-.01em;
  padding-bottom:15px; margin-bottom:20px; border-bottom:1px solid var(--pp-line);
}
.ticket-message-block{ margin-bottom:16px; }
.ticket-message{
  padding:14px 16px; border-radius:14px;
  border:1px solid var(--pp-line); background:#F8FBFE;
  font-size:13px; line-height:1.7; color:#28455F;
  overflow-wrap:anywhere;
}
.ticket-message .message{ white-space:pre-wrap; }
.ticket-message-right .ticket-message{
  background:linear-gradient(180deg,#EDF5FD,#E7F1FC);
  border-color:#D5E6F7;
}
.ticket-message-block .info{ margin-top:7px; font-size:11px; color:var(--pp-mute); }
.ticket-message-block .info strong{ color:#33536F; font-weight:600; margin-right:6px; }
.panel-border-top{ border-top:1px solid var(--pp-line); padding-top:18px; margin-top:22px; }
.tickets-uploader{ min-height:36px; }
.tickets-uploader .btn{ height:34px; font-size:12px; }

/* API 文档 */
.center-big-content-block{ max-width:920px; margin:0 auto; }
.api h2,.api h4{ color:var(--pp-ink); }
.api pre{
  background:#F5F9FD; border:1px solid var(--pp-line); border-radius:12px;
  color:#28455F; padding:14px 16px; font-size:12px; line-height:1.7; overflow:auto;
}
.api code{ color:#A63A32; background:#F3F8FD; border-radius:5px; padding:1px 5px; }
.table-bordered{ border:1px solid var(--pp-line); }
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > tfoot > tr > td{ border:1px solid var(--pp-line) !important; }
.table-bordered > thead > tr > th{ background:#F8FBFE; }
.form-control.input-sm{ height:36px; font-size:12.5px; padding:0 12px; }

/* 邮箱确认 / 提示块 */
.confirm-email h3{ font-size:19px; margin:0 0 10px; }
.confirm-email__description{ color:var(--pp-dim); font-size:13px; line-height:1.75; margin-bottom:20px; }
.confirm-email__action{ display:flex; gap:10px; justify-content:center; align-items:center; flex-wrap:wrap; }
.low-balance-limit{
  padding:13px 16px; margin-bottom:18px; border-radius:12px;
  border:1px solid #F2E2C2; background:#FDF6E8; color:#8A5F0E; font-size:12.5px;
}

.m-t{ margin-top:15px !important; }
.m-t-md{ margin-top:20px !important; }
.m-b-md{ margin-bottom:20px !important; }
.text-center{ text-align:center; }
.text-right{ text-align:right; }

.well-float > .table{ min-width:720px; }

/* ------------------------------------------------------- 12. 页面微调 */
body.pp-auth .well{ padding:28px; overflow:hidden; }
.form-group__password{ position:relative; }
.forgot-password{
  position:static; display:block; float:none; text-align:right;
  margin:2px 0 14px; font-size:11.5px; color:var(--pp-mute); line-height:1.6;
}
.forgot-password:hover{ color:var(--pp-brand); }
.pull-right-middle{ display:inline-block; line-height:1.5; font-size:12px; color:var(--pp-mute); }
.text-md-right{ text-align:right; }

body.pp-auth .pp-page-head{ text-align:center; margin:0 auto 20px; max-width:460px; }
body.pp-auth .pp-page-title{ margin:0; font-size:23px; font-weight:600; letter-spacing:-.02em; color:var(--pp-ink); }

/* ---------------------------------------------------------- 13. 响应式 */
@media (max-width:1180px){
  body.pp-shell{ grid-template-columns:236px minmax(0,1fr); }
  .pp-content{ padding:22px 20px 56px; }
}
@media (max-width:980px){
  body.pp-shell{ display:block; }
  .pp-sidebar{
    position:fixed; left:0; top:0; width:272px; height:100vh;
    transform:translateX(-104%); transition:transform .24s cubic-bezier(.32,.72,0,1);
    background:#FFFFFF; box-shadow:24px 0 60px -30px rgba(15,39,64,.35);
  }
  .pp-nav-toggle:checked ~ .pp-sidebar{ transform:translateX(0); }
  .pp-nav-toggle:checked ~ .pp-main::before{
    content:""; position:fixed; inset:0; z-index:25; background:rgba(15,39,64,.28);
    -webkit-backdrop-filter:blur(2px); backdrop-filter:blur(2px);
  }
  .pp-burger{ display:grid; position:relative; z-index:26; }
  .pp-topbar{ padding:0 16px; }
  .pp-content{ padding:18px 16px 52px; }
  .nav-pills > li.pull-right{ margin-left:0; width:100%; }
  .nav-pills > li.search .input-group{ width:100%; }
  .pp-crumb{ max-width:38vw; }
}
@media (max-width:640px){
  .well{ padding:18px; border-radius:14px; }
  .pp-top-link span{ display:none; }
  .pp-balance{ padding:0 10px; font-size:12px; }
  .table > thead > tr > th{ font-size:9.5px; }
  .well-float > .table{ min-width:620px; }
}

@media print{
  body{ background:#fff; color:#000; }
  .pp-sidebar,.pp-topbar{ display:none; }
  .well{ box-shadow:none; border-color:#ddd; }
}

/* ============================================================
   14. 分屏登录 / 注册（.pp-auth-page）
   ============================================================ */
body.pp-auth:has(.pp-auth-page) .pp-topbar,
body.pp-auth:has(.pp-auth-page) .pp-page-head{ display:none; }
body.pp-auth:has(.pp-auth-page) .pp-content{
  padding:0; max-width:none; display:block; justify-content:flex-start;
}
body.pp-auth:has(.pp-auth-page) .pp-content .container,
body.pp-auth:has(.pp-auth-page) .pp-content .row,
body.pp-auth:has(.pp-auth-page) .pp-content .col-md-8,
body.pp-auth:has(.pp-auth-page) .pp-content .col-md-8.col-md-offset-2{
  width:100%; max-width:none; margin:0;
}

.pp-auth-page{
  position:relative; z-index:1;
  display:grid; grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);
  min-height:100vh; background:#F7FAFE;
}

/* 左侧品牌区 */
.pp-auth-hero{
  position:relative; overflow:hidden; padding:60px 64px;
  display:flex; align-items:center;
  border-right:1px solid var(--pp-line);
  background:
    radial-gradient(720px 520px at 6% 4%, rgba(124,92,255,.16), transparent 62%),
    radial-gradient(640px 460px at 96% 96%, rgba(109,74,255,.10), transparent 60%),
    linear-gradient(165deg,#EDF4FC 0%,#F7FAFE 58%,#FFFFFF 100%);
}
.pp-auth-hero::before{
  content:""; position:absolute; right:-180px; bottom:-300px;
  width:640px; height:640px; border-radius:50%;
  border:1px solid rgba(109,74,255,.10);
  background:radial-gradient(circle at 50% 45%, rgba(124,92,255,.10), rgba(124,92,255,.03) 46%, transparent 72%);
  pointer-events:none;
}
.pp-auth-hero::after{ content:none; }
.pp-hero-inner{ position:relative; z-index:2; max-width:530px; display:flex; flex-direction:column; gap:18px; }
.pp-hero-brand{
  display:inline-flex; align-items:center; gap:11px; margin-bottom:8px;
  color:var(--pp-ink); font-size:13px; font-weight:700; letter-spacing:.16em;
}
.pp-hero-brand img{ max-height:34px; width:auto; }
.pp-hero-brand .pp-logo-fallback{
  width:36px; height:36px; border-radius:11px; display:grid; place-items:center;
  font-size:15px; color:#fff; background:linear-gradient(140deg,#8B6BFF,#6D4AFF);
  box-shadow:0 10px 22px -12px rgba(109,74,255,.8);
}
.pp-hero-badge{
  display:inline-flex; align-items:center; gap:8px; width:fit-content;
  padding:7px 13px; border-radius:99px;
  border:1px solid #DCE7F3; background:#FFFFFF; box-shadow:0 6px 16px -12px rgba(15,39,64,.35);
  font-size:10.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:#516E8A;
}
.pp-hero-badge i{ width:6px; height:6px; border-radius:50%; background:var(--pp-ok); box-shadow:0 0 0 3px rgba(27,158,111,.14); }
.pp-hero-title{
  margin:4px 0 0; font-size:46px; line-height:1.06; letter-spacing:-.035em; font-weight:650; color:var(--pp-ink);
}
.pp-hero-title em{
  font-style:normal;
  background:linear-gradient(100deg,#6D4AFF 10%,#8B6BFF 90%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.pp-hero-sub{ margin:0; max-width:46ch; font-size:14px; line-height:1.75; color:#516E8A; }
.pp-hero-list{ list-style:none; margin:8px 0 0; padding:0; display:flex; flex-direction:column; gap:13px; }
.pp-hero-list li{ display:flex; align-items:center; gap:12px; font-size:13px; color:#33536F; }
.pp-hero-list i{
  width:27px; height:27px; flex:none; border-radius:8px; display:grid; place-items:center;
  background:#E9F2FC; border:1px solid #D5E6F7; color:#6D4AFF;
}
.pp-hero-list svg{ width:14px; height:14px; }
.pp-hero-stats{
  display:flex; gap:38px; margin-top:24px; padding-top:22px;
  border-top:1px solid #E1EAF5;
}
.pp-hero-stats b{ display:block; font-size:22px; font-weight:650; letter-spacing:-.02em; color:var(--pp-ink); font-variant-numeric:tabular-nums; }
.pp-hero-stats span{ display:block; margin-top:4px; font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--pp-mute); }
.pp-hero-note{ margin:2px 0 0; font-size:11.5px; color:var(--pp-mute); }

/* 卖点胶囊 */
.pp-hero-chips{ display:flex; gap:8px; flex-wrap:wrap; }
.pp-chip{
  display:inline-flex; align-items:center; gap:7px; height:32px; padding:0 12px;
  border-radius:99px; border:1px solid #DCE7F3; background:#FFFFFF;
  font-size:11.5px; font-weight:500; color:#33536F;
  box-shadow:0 4px 12px -10px rgba(15,39,64,.5);
}
.pp-chip svg{ width:13px; height:13px; color:var(--pp-brand); }

/* 产品预览插画 */
.pp-hero-visual{ position:relative; margin:28px 0 74px; max-width:432px; }
.pv-card{ background:#FFFFFF; border:1px solid #E1EBF6; border-radius:16px; }
.pv-main{ padding:15px 16px 13px; box-shadow:0 30px 60px -42px rgba(15,39,64,.55); }
.pv-head{ display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.pv-mark{ width:26px; height:26px; border-radius:8px; display:grid; place-items:center; background:#E9F2FC; color:var(--pp-brand); flex:none; }
.pv-mark svg{ width:13px; height:13px; }
.pv-head-txt b{ display:block; font-size:8px; letter-spacing:.16em; color:var(--pp-mute); font-weight:600; }
.pv-head-txt span{ display:block; font-size:12px; font-weight:600; color:var(--pp-ink); letter-spacing:-.01em; }
.pv-badge{ margin-left:auto; font-size:10px; font-weight:600; color:#12795A; background:#E7F6EF; border-radius:99px; padding:3px 8px; }
.pv-chart{ margin:2px -6px 4px; }
.pv-chart svg{ display:block; width:100%; height:92px; }
.pv-metrics{ display:flex; gap:26px; border-top:1px solid #EEF4FA; padding-top:10px; }
.pv-metrics b{ display:block; font-size:14px; font-weight:650; color:var(--pp-ink); font-variant-numeric:tabular-nums; letter-spacing:-.02em; }
.pv-metrics span{ display:block; font-size:9px; letter-spacing:.13em; text-transform:uppercase; color:var(--pp-mute); }

.pv-float{
  position:absolute; right:-24px; bottom:-62px; width:200px; padding:12px 13px;
  box-shadow:0 26px 52px -30px rgba(15,39,64,.6);
}
.pv-float-head{ font-size:11px; font-weight:600; color:var(--pp-ink); margin-bottom:6px; }
.pv-item{ display:flex; align-items:center; gap:9px; padding:7px 0; }
.pv-item + .pv-item{ border-top:1px solid #F1F6FB; }
.pv-ico{ width:24px; height:24px; border-radius:7px; display:grid; place-items:center; background:#F3F8FD; color:var(--pp-brand); flex:none; }
.pv-ico svg{ width:13px; height:13px; }
.pv-item b{ display:block; font-size:10.5px; font-weight:600; color:var(--pp-ink); }
.pv-item span{ display:block; font-size:9px; color:#8FA5B9; }
.pv-ok{ width:14px; height:14px; border-radius:50%; background:#E7F6EF; flex:none; margin-left:auto; position:relative; }
.pv-ok::after{
  content:""; position:absolute; left:4px; top:5px; width:6px; height:3px;
  border-left:1.6px solid #12795A; border-bottom:1.6px solid #12795A; transform:rotate(-45deg);
}

/* 屏幕太矮时收起插画，避免出现滚动条 */
@media (max-height:830px){
  .pp-hero-visual{ display:none; }
}

/* 右侧表单区 */
.pp-auth-panel{
  position:relative; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:18px;
  padding:56px 32px; background:#FFFFFF;
}
.pp-auth-lang{ position:absolute; top:22px; right:26px; }
.pp-auth-lang .dropdown-menu{ left:auto; right:0; }
.pp-auth-card{
  width:100%; max-width:406px; padding:34px; border-radius:22px;
  border:1px solid var(--pp-line);
  background:#FFFFFF;
  box-shadow:0 1px 2px rgba(15,39,64,.04),0 34px 70px -46px rgba(15,39,64,.45);
}
.pp-auth-eyebrow{ font-size:10px; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:#8B6BFF; }
.pp-auth-title{ margin:11px 0 7px; font-size:26px; font-weight:650; letter-spacing:-.025em; color:var(--pp-ink); }
.pp-auth-sub{ margin:0 0 26px; font-size:12.5px; line-height:1.65; color:var(--pp-mute); }
.pp-auth-card .form-group{ margin-bottom:16px; }
.pp-auth-card .form-control{ height:46px; }
.pp-auth-card .btn-primary{ height:48px; font-size:14px; border-radius:12px; margin-top:6px; }
.pp-label-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; }
.pp-label-row .control-label{ margin:0; }
.pp-label-row a{ font-size:11.5px; color:var(--pp-mute); }
.pp-label-row a:hover{ color:var(--pp-brand); }
.pp-pass-wrap{ position:relative; }
.pp-pass-wrap .form-control{ padding-right:48px; }
.pp-pass-toggle{
  position:absolute; right:6px; top:50%; transform:translateY(-50%);
  width:34px; height:34px; display:grid; place-items:center;
  border:0; background:none; border-radius:8px; cursor:pointer; color:#7B93AB;
}
.pp-pass-toggle:hover{ color:var(--pp-brand); background:#F2F7FC; }
.pp-pass-toggle svg{ width:17px; height:17px; }
.pp-auth-divider{
  display:flex; align-items:center; gap:12px; margin:20px 0;
  font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:#9CB0C4;
}
.pp-auth-divider::before,.pp-auth-divider::after{ content:""; height:1px; flex:1; background:var(--pp-line); }
.pp-auth-alt{ margin-top:18px; text-align:center; font-size:12.5px; color:var(--pp-mute); }
.pp-auth-alt a{ color:#6D4AFF; font-weight:600; }
.pp-auth-secure{ display:flex; align-items:center; justify-content:center; gap:7px; margin:16px 0 0; font-size:11px; color:#9CB0C4; }
.pp-auth-secure svg{ width:12px; height:12px; }
.pp-auth-fine{ margin:0; font-size:11px; color:#9CB0C4; text-align:center; }
.pp-auth-links{ display:flex; gap:18px; justify-content:center; margin:0; font-size:11px; }
.pp-auth-links a{ color:#7B93AB; }
.pp-auth-links a:hover{ color:var(--pp-brand); }
.pp-auth-card .alert{ margin-bottom:16px; font-size:12.5px; }
.pp-auth-card .terms,.pp-auth-card .checkbox label{ font-size:12px; color:var(--pp-dim); }

@media (max-width:1024px){
  .pp-auth-page{ grid-template-columns:1fr; min-height:100vh; }
  .pp-auth-hero{
    padding:30px 24px 24px; align-items:flex-start;
    border-right:0; border-bottom:1px solid var(--pp-line);
  }
  .pp-hero-title{ font-size:29px; }
  .pp-hero-sub{ font-size:12.5px; margin-top:2px; }
  .pp-hero-list,.pp-hero-stats,.pp-hero-note,.pp-hero-badge,.pp-hero-visual{ display:none; }
  .pp-hero-brand{ margin-bottom:2px; }
  .pp-auth-hero::before{ display:none; }
  .pp-auth-panel{ padding:18px 18px 44px; justify-content:flex-start; }
  .pp-auth-lang{ position:static; align-self:flex-end; margin:0 2px -2px; }
  .pp-auth-card{ max-width:440px; padding:24px; border-radius:18px; }
}
@media (max-width:420px){
  .pp-auth-card{ padding:20px; }
  .pp-hero-title{ font-size:25px; }
}

/* ============================================================
   15. 站点（.pp-live）· 浅色 + 红强调
   signin / signup 共用
   ============================================================ */
body.pp-auth:has(.pp-live) .pp-topbar,
body.pp-auth:has(.pp-live) .pp-page-head{ display:none; }
body.pp-auth:has(.pp-live) .pp-content{
  padding:0; max-width:none; display:block; justify-content:flex-start;
}
body.pp-auth:has(.pp-live){ background:#FFFFFF; }
body.pp-auth:has(.pp-live) .pp-content .container,
body.pp-auth:has(.pp-live) .pp-content .row,
body.pp-auth:has(.pp-live) .pp-content .col-md-8,
body.pp-auth:has(.pp-live) .pp-content .col-md-8.col-md-offset-2{
  width:100%; max-width:none; margin:0;
}

.pp-live{
  --paper:#FFFFFF;
  --bg:#F7F6FC;
  --ink:#171331;
  --dim:#5B5470;
  --mute:#8B85A3;
  --line:#E7E3F4;
  --line-2:#F2F0FA;
  --brand:#6D4AFF;
  --brand-2:#22D3EE;
  --brand-soft:#F1EEFF;
  --dark:#0E1116;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --display:Poppins,"Segoe UI",system-ui,sans-serif;
  position:relative;
  background:var(--paper);
  color:var(--ink);
  font-family:Inter,"Segoe UI",system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:15px; line-height:1.6;
}
.pp-live a{ color:inherit; text-decoration:none; }
.pp-live img{ max-width:100%; display:block; }
.lv-wrap{ max-width:1180px; margin:0 auto; padding:0 28px; }
.lv-mono{ font-family:var(--mono); font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--mute); }

/* ---------- 导航 ---------- */
.lv-nav{ background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:50; }
.lv-nav-in{ display:flex; align-items:center; gap:28px; height:72px; }
.lv-brand{ display:inline-flex; align-items:center; gap:10px; font-family:var(--display); font-weight:700; font-size:17px; letter-spacing:-.02em; }
.lv-brand img{ height:26px; width:auto; }
.lv-brand .lv-mark{
  width:28px;height:28px;border-radius:8px;display:grid;place-items:center;
  background:var(--brand); color:#fff; font-family:var(--display); font-size:14px; font-weight:700;
}
.lv-nav-links{ margin-left:auto; display:flex; align-items:center; gap:8px; }
.lv-nav-links a, .lv-nav-links summary{
  font-size:13px; font-weight:500; color:#3A404C; padding:9px 12px; border-radius:8px;
  cursor:pointer; list-style:none; white-space:nowrap;
}
.lv-nav-links summary::-webkit-details-marker{ display:none; }
.lv-nav-links a:hover, .lv-nav-links summary:hover{ background:var(--bg); color:var(--ink); }
.lv-lang{ position:relative; }
.lv-lang-btn{
  display:inline-flex; align-items:center; gap:8px; height:38px; padding:0 12px;
  border:1px solid var(--line); border-radius:10px; background:#fff;
  font-size:13px; font-weight:500; color:#3A404C; cursor:pointer; list-style:none;
  transition:.16s;
}
.lv-lang-btn::-webkit-details-marker{ display:none; }
.lv-lang-btn:hover{ border-color:#CFC8E8; background:#FBFAFF; }
.lv-lang-btn > span{ max-width:120px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lv-chev{ transition:transform .18s ease; color:var(--mute); }
.lv-lang[open] .lv-lang-btn{ border-color:var(--brand); box-shadow:0 0 0 3px rgba(109,74,255,.10); }
.lv-lang[open] .lv-chev{ transform:rotate(180deg); color:var(--brand); }

.lv-lang-menu{
  position:absolute; right:0; top:calc(100% + 8px); z-index:60;
  width:238px; max-height:340px; overflow:auto;
  background:#fff; border:1px solid var(--line); border-radius:14px;
  box-shadow:0 24px 48px -24px rgba(23,19,49,.35); padding:6px;
}
.lv-lang-title{
  display:block; padding:8px 10px 6px; font-family:var(--mono); font-size:9.5px;
  letter-spacing:.16em; text-transform:uppercase; color:var(--mute);
}
.lv-lang-menu a{
  display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:8px;
  font-size:13px; color:#3A404C;
}
.lv-lang-menu a:hover{ background:#F5F3FF; color:var(--ink); }
.lv-lang-menu a.is-active{ background:#F1EEFF; color:var(--brand); font-weight:600; }
.lv-lang-menu a.is-active:hover{ background:#EAE5FF; }
.lv-tick{ margin-left:auto; color:var(--brand); }

.lv-live-dot{ display:none; }

.lv-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:42px; padding:0 20px; border:1px solid var(--line); border-radius:10px;
  background:#fff; color:var(--ink); font-family:inherit; font-size:13.5px; font-weight:600;
  cursor:pointer; white-space:nowrap; transition:.16s;
}
.lv-btn:hover{ background:var(--bg); border-color:#D8DAE2; }
.lv-btn-primary{ background:linear-gradient(135deg,#7C5CFF,#5A3BE0); border-color:transparent; color:#fff; box-shadow:0 12px 24px -14px rgba(109,74,255,.85); }
.lv-btn-primary:hover{ background:linear-gradient(135deg,#8A6DFF,#6847F0); border-color:transparent; color:#fff; }
.lv-btn-sm{ height:38px; padding:0 16px; font-size:13px; }
.pp-live .lv-btn-primary, .pp-live .lv-btn-primary:hover{ color:#fff; }

/* ---------- HERO ---------- */
.lv-hero{
  padding:64px 0 56px;
  background:
    radial-gradient(780px 400px at 88% -10%, rgba(124,92,255,.10), transparent 62%),
    radial-gradient(520px 300px at 2% 8%, rgba(34,211,238,.08), transparent 60%),
    radial-gradient(600px 320px at 6% 0%, rgba(17,19,24,.04), transparent 60%),
    #FBFBFC;
  border-bottom:1px solid var(--line-2);
}
.lv-hero-grid{ display:grid; grid-template-columns:1.02fr .98fr; gap:56px; align-items:start; }
.lv-kicker{ display:inline-flex; align-items:center; gap:10px; margin-bottom:18px; }
.lv-kicker b{ font-family:var(--mono); font-size:10px; font-weight:500; letter-spacing:.16em; color:var(--brand); }
.lv-kicker span{ font-family:var(--mono); font-size:10px; letter-spacing:.16em; color:var(--mute); text-transform:uppercase; }
.pp-live h1.lv-h1{
  font-family:var(--display); margin:0; font-size:clamp(36px,4.4vw,56px); font-weight:600;
  line-height:1.05; letter-spacing:-.045em; color:var(--ink);
}
.pp-live h1.lv-h1 em{
  font-style:normal;
  background:linear-gradient(100deg,#7C5CFF 6%,#8B6BFF 42%,#22D3EE 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.lv-sub{ margin:22px 0 0; max-width:46ch; font-size:15.5px; line-height:1.7; color:var(--dim); }
.lv-bullets{ list-style:none; margin:26px 0 0; padding:0; display:flex; flex-direction:column; gap:12px; }
.lv-bullets li{ display:flex; align-items:center; gap:10px; font-size:13.5px; color:#3A404C; }
.lv-bullets li::before{
  content:""; width:16px; height:16px; flex:none; border-radius:50%;
  background:var(--brand-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D4AFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/9px no-repeat;
}
.lv-cta{ display:flex; gap:10px; margin-top:28px; flex-wrap:wrap; }
.lv-facts{ display:flex; gap:36px; margin:34px 0 0; padding-top:22px; border-top:1px solid var(--line); }
.lv-facts b{ display:block; font-family:var(--display); font-size:15px; font-weight:700; color:var(--ink); }
.lv-facts span{ display:block; margin-top:4px; font-size:11.5px; color:var(--mute); }

/* ---------- 登录卡 ---------- */
.lv-auth{
  background:#fff; border:1px solid var(--line); border-radius:18px;
  box-shadow:0 30px 60px -40px rgba(17,19,24,.35);
  display:flex; flex-direction:column; overflow:hidden;
}
.lv-auth-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 20px; border-bottom:1px solid var(--line-2); }
.lv-auth-head .lv-mono{ color:var(--brand); font-weight:500; }
.lv-auth-head .lv-secure{ font-family:var(--mono); font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--mute); display:inline-flex; align-items:center; gap:6px; }
.lv-auth-head .lv-secure::before{ content:""; width:6px;height:6px;border-radius:50%;background:#1B9E6F; }
.lv-auth-title{ padding:20px 20px 0; }
.pp-live .lv-auth-title b{ display:block; font-family:var(--display); font-size:19px; font-weight:700; letter-spacing:-.02em; }
.pp-live .lv-auth-title span{ display:block; margin-top:5px; font-size:12.5px; color:var(--mute); }
.lv-auth .lv-form{ border:0; background:transparent; padding:18px 20px 20px; gap:12px; }
.lv-form{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.lv-form--stack{ grid-template-columns:1fr; }
.lv-field{ position:relative; }
.lv-field label{
  display:block; margin-bottom:7px; font-size:11.5px; font-weight:600; letter-spacing:.06em;
  text-transform:uppercase; color:#6B7280;
}
.lv-field input{
  width:100%; height:46px; padding:0 14px; background:#fff; color:var(--ink);
  border:1px solid #DDE0E7; border-radius:10px; outline:none; font-family:inherit; font-size:14px;
  transition:.16s;
}
.lv-field input::placeholder{ color:#A9AFB9; }
.lv-field input:focus{ border-color:var(--brand); box-shadow:0 0 0 3px rgba(225,29,46,.10); }
.lv-field input:-webkit-autofill,
.lv-field input:-webkit-autofill:hover,
.lv-field input:-webkit-autofill:focus{
  -webkit-text-fill-color:#111318;
  -webkit-box-shadow:0 0 0 1000px #fff inset;
  box-shadow:0 0 0 1000px #fff inset;
  caret-color:#111318;
  transition:background-color 9999s ease-in-out 0s;
}
.lv-form .lv-btn{ grid-column:1/-1; height:46px; margin-top:2px; }
.lv-meta{
  grid-column:1/-1; display:flex; align-items:center; gap:16px; flex-wrap:wrap;
  font-size:12.5px; color:var(--dim); padding-top:2px;
}
.lv-meta label{ display:inline-flex; align-items:center; gap:7px; cursor:pointer; }
.lv-meta input[type=checkbox]{ width:15px;height:15px;accent-color:var(--brand); margin:0; }
.lv-meta a:hover{ color:var(--brand); text-decoration:underline; }
.lv-meta .sp{ margin-left:auto; }
.lv-auth-alt{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 20px; border-top:1px solid var(--line-2); background:#FCFCFD; }
.lv-auth-alt .lv-mono{ font-size:11px; letter-spacing:.06em; text-transform:none; color:var(--mute); }
.lv-auth-alt a{ color:var(--brand); font-weight:600; font-size:12.5px; }
.lv-auth-alt a:hover{ text-decoration:underline; }
.lv-auth-body{ padding:20px; }
.lv-auth-sub{ margin:0 0 16px; font-size:13px; line-height:1.7; color:var(--dim); }
.lv-auth-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.lv-auth-foot{ display:flex; justify-content:space-between; gap:12px; margin-top:18px; padding-top:14px; border-top:1px solid var(--line-2); }

/* ---------- 通栏小条 ---------- */
.lv-strip{ border-bottom:1px solid var(--line-2); background:#fff; }
.lv-strip-in{ display:grid; grid-template-columns:repeat(4,1fr); }
.lv-strip-in > div{ display:flex; align-items:center; gap:14px; padding:20px 24px; }
.lv-strip-in > div + div{ border-left:1px solid var(--line-2); }
.lv-strip-in > div > div{ min-width:0; }
.lv-strip-in b{ display:block; font-size:13px; font-weight:600; }
.lv-strip-in span{ display:block; margin-top:3px; font-size:11.5px; line-height:1.5; color:var(--mute); }
.lv-strip-in i{ width:34px;height:34px;border-radius:10px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;flex:none; }
.lv-strip-in svg{ width:16px; height:16px; }

/* ---------- 区块 ---------- */
.lv-sec{ padding:76px 0; }
.lv-sec-alt{ background:var(--bg); border-top:1px solid var(--line-2); border-bottom:1px solid var(--line-2); }
.lv-sec-head{ text-align:center; max-width:620px; margin:0 auto 44px; }
.lv-sec-head .num{ display:block; font-family:var(--mono); font-size:10px; letter-spacing:.2em; color:var(--brand); margin-bottom:12px; text-transform:uppercase; }
.pp-live h2.lv-h2{ font-family:var(--display); margin:0; font-size:clamp(25px,2.9vw,35px); font-weight:600; letter-spacing:-.035em; color:var(--ink); }
.lv-sec-head p{ margin:14px 0 0; font-size:14.5px; line-height:1.7; color:var(--dim); }
.lv-sec-head .meta{ display:none; }

/* ---------- 四列特性 ---------- */
.lv-feat{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.lv-feat > div{ padding:26px 22px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.lv-feat i{ width:38px;height:38px;border-radius:11px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;margin-bottom:18px; }
.lv-feat svg{ width:18px; height:18px; }
.lv-feat b{ display:block; font-family:var(--display); font-size:15px; font-weight:700; letter-spacing:-.01em; }
.lv-feat p{ margin:8px 0 0; font-size:12.5px; line-height:1.7; color:var(--dim); }

/* ---------- 深色展示块 ---------- */
.lv-dark{
  margin:0 auto; border-radius:24px; padding:52px 44px; color:#fff; text-align:center;
  background:
    radial-gradient(620px 320px at 50% -20%, rgba(124,92,255,.42), transparent 62%),
    radial-gradient(520px 260px at 88% 110%, rgba(34,211,238,.18), transparent 60%),
    linear-gradient(160deg,#171B22,#0E1116 60%,#0A0D11);
}
.lv-dark .num{ display:block; font-family:var(--mono); font-size:10px; letter-spacing:.2em; color:#B9A6FF; margin-bottom:14px; text-transform:uppercase; }
.pp-live .lv-dark h3{ margin:0; font-family:var(--display); font-size:clamp(23px,2.5vw,31px); font-weight:600; letter-spacing:-.03em; color:#fff; }
.lv-dark p{ margin:14px auto 0; max-width:52ch; font-size:13.5px; line-height:1.8; color:rgba(255,255,255,.62); }
.lv-chips{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:30px; }
.lv-chips span{
  display:inline-flex; align-items:center; gap:8px; height:38px; padding:0 15px; border-radius:999px;
  border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.05);
  font-size:12.5px; color:rgba(255,255,255,.86);
}
.lv-chips svg{ width:14px;height:14px; }
.lv-dark-foot{ margin-top:34px; padding-top:22px; border-top:1px solid rgba(255,255,255,.10); display:flex; justify-content:center; gap:34px; flex-wrap:wrap; }
.lv-dark-foot span{ font-family:var(--mono); font-size:10.5px; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.45); }

/* ---------- 服务三卡（注册页复用） ---------- */
.lv-supply{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.lv-supply > div{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:26px 24px; }
.lv-supply b{ display:block; margin-top:12px; font-family:var(--display); font-size:17px; font-weight:700; letter-spacing:-.02em; }
.lv-supply p{ margin:10px 0 0; font-size:12.5px; line-height:1.75; color:var(--dim); }

/* ---------- 步骤 ---------- */
.lv-flow{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.lv-flow > div{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:26px 24px; }
.lv-flow .n{ display:inline-grid; place-items:center; width:28px;height:28px;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-family:var(--mono);font-size:11px;font-weight:600; }
.lv-flow b{ display:block; margin-top:16px; font-family:var(--display); font-size:15.5px; font-weight:700; }
.lv-flow p{ margin:8px 0 0; font-size:12.5px; line-height:1.7; color:var(--dim); }

/* ---------- FAQ ---------- */
.lv-faq{ display:grid; grid-template-columns:1fr 1fr; gap:10px 14px; align-items:start; }
.lv-faq details{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:0 18px; }
.lv-faq summary{
  display:flex; align-items:center; gap:12px; padding:17px 0; cursor:pointer; list-style:none;
  font-size:13.5px; font-weight:600; color:var(--ink);
}
.lv-faq summary::-webkit-details-marker{ display:none; }
.lv-faq summary .pm{ margin-left:auto; color:var(--brand); font-size:18px; line-height:1; }
.lv-faq details[open] summary .pm{ transform:rotate(45deg); }
.lv-faq p{ margin:0; padding:0 0 18px; font-size:12.5px; line-height:1.75; color:var(--dim); }

/* ---------- 页脚 ---------- */
.lv-foot{ border-top:1px solid var(--line); padding:44px 0 34px; background:#fff; }
.lv-foot-in{ display:flex; gap:32px; flex-wrap:wrap; align-items:flex-start; }
.lv-foot .copy{ font-size:12px; color:var(--mute); }
.lv-foot-links{ margin-left:auto; display:flex; gap:24px; flex-wrap:wrap; }
.lv-foot-links a{ font-size:12.5px; color:var(--dim); }
.lv-foot-links a:hover{ color:var(--brand); }

@media (max-width:980px){
  .lv-hero-grid{ grid-template-columns:1fr; gap:34px; }
  .lv-feat{ grid-template-columns:repeat(2,1fr); }
  .lv-supply{ grid-template-columns:1fr; }
  .lv-flow{ grid-template-columns:1fr; }
  .lv-faq{ grid-template-columns:1fr; }
  .lv-strip-in{ grid-template-columns:1fr 1fr; }
  .lv-strip div:nth-child(3){ border-left:0; }
  .lv-strip div:nth-child(n+3){ border-top:1px solid var(--line-2); }
  .lv-dark{ padding:40px 26px; border-radius:18px; }
}
@media (max-width:640px){
  .lv-wrap{ padding:0 18px; }
  .lv-nav-in{ height:60px; gap:10px; }
  .lv-nav-links a.lv-hide{ display:none; }
  .lv-hero{ padding:40px 0 34px; }
  .lv-sec{ padding:52px 0; }
  .lv-feat{ grid-template-columns:1fr; }
  .lv-strip-in{ grid-template-columns:1fr; }
  .lv-strip-in > div + div{ border-left:0; border-top:1px solid var(--line-2); }
  .lv-form{ grid-template-columns:1fr; }
  .lv-facts{ gap:22px; flex-wrap:wrap; }
}

/* ============================================================
   16. 服务列表（services.twig）
   ============================================================ */
.svc-head{ display:flex; align-items:flex-end; gap:24px; flex-wrap:wrap; margin:2px 0 18px; }
.svc-kicker{ display:block; font-size:10px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:#8B85A3; margin-bottom:8px; }
.pp-shell h2.svc-title{ margin:0; font-size:24px; font-weight:650; letter-spacing:-.025em; color:#171331; }
.svc-sub{ margin:6px 0 0; font-size:12.5px; color:#7B7392; }
.svc-tools{ margin-left:auto; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }

.svc-filter-btn{
  display:inline-flex; align-items:center; gap:9px; height:42px; padding:0 14px;
  background:#fff; border:1px solid #E4E0F2; border-radius:11px;
  font-family:inherit; font-size:13px; font-weight:500; color:#3A3352; cursor:pointer; transition:.16s;
}
.svc-filter-btn:hover{ border-color:#CFC8E8; background:#FCFBFF; }
.svc-filter-btn > svg:first-child{ color:#6D4AFF; }
.svc-chev{ color:#8B85A3; }
.svc-filter-btn span[data-filter-active-category]:empty::before{ content:"All services"; }
.svc-filter-menu{
  border:1px solid #E4E0F2; border-radius:12px; padding:6px; margin-top:8px;
  min-width:260px; max-height:360px; overflow:auto;
  box-shadow:0 24px 48px -24px rgba(23,19,49,.35);
}
.svc-filter-menu a{ display:flex; align-items:center; gap:9px; padding:9px 10px; border-radius:8px; font-size:13px; color:#3A3352; }
.svc-filter-menu a:hover{ background:#F5F3FF; color:#171331; }
.svc-filter-menu li.active a{ background:#F1EEFF; color:#6D4AFF; font-weight:600; }

.svc-search{ position:relative; display:flex; align-items:center; height:42px; width:290px; padding:0 8px 0 38px; background:#fff; border:1px solid #E4E0F2; border-radius:11px; transition:.16s; }
.svc-search:focus-within{ border-color:#6D4AFF; box-shadow:0 0 0 3px rgba(109,74,255,.10); }
.svc-search-ico{ position:absolute; left:13px; color:#9A93AE; }
.svc-search .form-control{ border:0; background:transparent; height:40px; padding:0; box-shadow:none; font-size:13px; }
.svc-search .form-control:focus{ background:transparent; box-shadow:none; }
.svc-search-btn{ width:30px; height:30px; border:0; border-radius:8px; background:#F4F2FC; color:#6D4AFF; display:grid; place-items:center; cursor:pointer; flex:none; }
.svc-search-btn:hover{ background:#EAE5FF; }

.svc-card{ padding:6px 8px 2px; border-radius:18px; border-color:#E8E5F4; background:#fff; }
.svc-table{ border-collapse:separate; border-spacing:0; min-width:860px; margin:0; }
.svc-table > thead > tr > th{
  padding:13px 14px; font-size:9.5px; letter-spacing:.16em; color:#8B85A3;
  border:0; border-bottom:1px solid #EEECF7; background:#fff; position:sticky; top:0; z-index:2;
}
.svc-table > tbody > tr > td{ padding:14px; border:0; border-bottom:1px solid #F3F1FA; vertical-align:middle; }
.svc-table > tbody > tr:last-child > td{ border-bottom:0; }
.svc-row:hover > td{ background:#FBFAFF; }
.svc-th-fav{ width:36px; }
.svc-th-id{ width:80px; }
.svc-th-rate,.svc-th-num{ width:104px; text-align:right; }
.svc-th-eta{ width:132px; }
.svc-th-act{ width:112px; }
.svc-rate,.svc-num{ text-align:right; }
.svc-fav{ width:36px; text-align:center; color:#D8D2EA; }
.svc-fav .favorite-active{ color:#F5B544; }
.svc-id{ font-size:11.5px; color:#9A93AE; font-variant-numeric:tabular-nums; }
.svc-name{ font-size:13.5px; font-weight:500; color:#171331; white-space:normal; min-width:300px; }
.svc-rate{ font-size:14px; font-weight:700; color:#6D4AFF; white-space:nowrap; font-variant-numeric:tabular-nums; }
.svc-num{ font-size:12.5px; color:#5B5470; white-space:nowrap; font-variant-numeric:tabular-nums; }
.svc-eta .svc-pill{ display:inline-flex; align-items:center; height:24px; padding:0 10px; border-radius:99px; background:#F4F2FC; color:#5B5470; font-size:11px; white-space:nowrap; }
.svc-act{ text-align:right; }
.svc-act .btn{ height:28px; padding:0 11px; font-size:11px; }

.svc-cat > td{ background:#F7F5FD !important; border-top:1px solid #EEECF7; border-bottom:1px solid #EEECF7; padding:11px 14px !important; }
.svc-cat-name{ display:inline-flex; align-items:center; gap:8px; font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:#4A2FD6; }
.svc-cat-count{ float:right; font-size:11px; color:#8B85A3; font-variant-numeric:tabular-nums; }

@media (max-width:980px){
  .svc-tools{ width:100%; margin-left:0; }
  .svc-search{ width:100%; }
  .svc-filter{ flex:1 1 auto; }
  .svc-filter-btn{ width:100%; justify-content:space-between; }
}

/* ============================================================
   17. 顶栏余额（.pp-wallet）
   ============================================================ */
.pp-wallet{
  display:inline-flex; align-items:center; gap:4px;
  height:44px; padding:3px 5px 3px 3px; max-width:100%;
  background:#fff; border:1px solid #E4E0F2; border-radius:13px;
}
.pp-wallet-toggle{
  display:inline-flex; align-items:center; gap:9px;
  padding:0 5px 0 2px; height:100%; border-radius:8px; color:inherit; min-width:0;
}
.pp-wallet-toggle:hover{ background:#FBFAFF; }
.pp-wallet-ico{
  width:32px; height:32px; border-radius:9px; flex:none;
  display:grid; place-items:center;
  background:linear-gradient(140deg,#F1EEFF,#E7E1FF); color:#6D4AFF;
}
.pp-wallet-txt{ display:block; min-width:0; }
.pp-wallet-txt small{
  display:block; font-size:9px; font-weight:600; letter-spacing:.14em;
  text-transform:uppercase; color:#8B85A3; line-height:1;
}
.pp-wallet-txt b{
  display:block; margin-top:3px; font-size:13px; font-weight:700; line-height:1; max-width:160px; overflow:hidden; text-overflow:ellipsis;
  color:#171331; font-variant-numeric:tabular-nums; white-space:nowrap;
}
.pp-wallet .badge{
  background:none; padding:0; color:inherit; font-size:inherit; font-weight:inherit; line-height:1;
}
.pp-wallet-add{
  width:28px; height:28px; flex:none; border-radius:8px;
  display:grid; place-items:center;
  background:linear-gradient(135deg,#7C5CFF,#5A3BE0); color:#fff;
  box-shadow:0 8px 16px -10px rgba(109,74,255,.9);
  transition:.16s;
}
.pp-wallet-add:hover{ transform:translateY(-1px); box-shadow:0 12px 20px -10px rgba(109,74,255,1); color:#fff; }
.pp-wallet .caret{ display:none; }

/* 货币下拉默认隐藏，避免空菜单在顶栏留下一个浅色块 */
.pp-wallet .dropdown-menu{ display:none; }
.pp-wallet.open .dropdown-menu{ display:block; }
.pp-wallet .pp-wallet-toggle{ background:transparent; }
.pp-wallet .pp-wallet-toggle:hover{ background:#FAF8FF; }


@media (max-width:640px){
  .pp-wallet{ height:42px; border-radius:11px; }
  .pp-wallet-ico{ width:32px; height:32px; }
  .pp-wallet-txt small{ display:none; }
  .pp-wallet-txt b{ margin-top:0; font-size:13px; }
}

/* ============================================================
   18. 顶栏账号区（Account / Logout / 用户）
   ============================================================ */
.pp-account{
  display:flex; align-items:center; gap:2px;
  margin-left:8px; padding-left:0;
}
.pp-account a{
  padding:7px 9px; border-radius:8px; font-size:12.5px; font-weight:500; color:#5B5470;
  white-space:nowrap;
}
.pp-account a:hover{ background:#F6F4FE; color:#4A2FD6; }

.pp-user.pp-user--top{
  display:inline-flex; align-items:center; gap:9px;
  height:40px; padding:0 12px 0 5px; margin:0 0 0 4px;
  background:#fff; border:1px solid var(--pp-line); border-radius:99px;
  box-shadow:0 6px 16px -14px rgba(23,19,49,.5);
  transition:.16s;
}
.pp-user.pp-user--top:hover{ border-color:#DCD5F2; background:#FCFBFF; }
.pp-user.pp-user--top .pp-avatar{
  display:grid; place-items:center; width:30px; height:30px;
  font-size:11px; font-weight:700; color:#fff; letter-spacing:0;
}
.pp-user.pp-user--top strong{
  font-size:12.5px; font-weight:600; color:#171331;
  max-width:120px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
@media (max-width:1180px){
  .pp-account{ display:none; }
  .pp-user.pp-user--top strong{ display:none; }
  .pp-user.pp-user--top{ padding:0 5px; }
}

/* ============================================================
   19. 新订单（neworder.twig）· 左右分栏
   ============================================================ */
.ord-tabs{
  display:flex; gap:4px; margin:0 0 18px;
  border-bottom:1px solid #EAE7F5;
}
.ord-tabs a{
  padding:12px 14px; font-size:13.5px; font-weight:500; color:#6E6788;
  border-bottom:2px solid transparent; margin-bottom:-1px; white-space:nowrap;
}
.ord-tabs a:hover{ color:#4A2FD6; }
.ord-tabs a.on{ color:#4A2FD6; font-weight:600; border-bottom-color:#6D4AFF; }

.ord-grid{ display:grid; grid-template-columns:minmax(0,1fr) 372px; gap:18px; align-items:start; }
.ord-card{
  background:#fff; border:1px solid #E8E5F4; border-radius:18px; padding:22px 24px 24px;
  box-shadow:0 1px 2px rgba(23,19,49,.04);
}
.ord-search{ margin-bottom:16px; }
.ord-search-ico{
  position:absolute; left:14px; top:50%; transform:translateY(-50%);
  width:18px; height:18px; display:grid; place-items:center; line-height:1;
  border:0; background:none; padding:0; color:#9A93AE; z-index:2; cursor:pointer; font-size:12px;
}
.ord-search #template-input{ padding-left:46px; height:46px; }
.ord-fields{ margin-top:4px; }

/* 分类 / 服务下拉：加高 */
.ord-card > .form-group select.form-control,
#order-form #orderform-category,
#order-form #orderform-service{
  height:54px; padding:0 44px 0 16px; font-size:13.5px;
  background-position:right 16px center;
  background-size:16px;
}
.ord-card > .form-group .control-label{ margin-bottom:9px; }

/* Select2 下拉（面板 JS 生成）—— 与新订单页控件对齐 */
.pp-content .select2-container{ display:block; width:100% !important; }
.pp-content .select2-container .select2-selection--single{
  height:54px; padding:0 44px 0 16px;
  border:1px solid #DCE7F3; border-radius:11px; background:#F7FAFE;
  display:flex; align-items:center; transition:.16s;
}
.pp-content .select2-container--focus .select2-selection--single,
.pp-content .select2-container--open .select2-selection--single{
  border-color:#6D4AFF; background:#fff; box-shadow:0 0 0 3px rgba(109,74,255,.10);
}
.pp-content .select2-selection--single .select2-selection__rendered{
  display:flex; align-items:center; gap:8px; padding:0; line-height:52px;
  font-size:13.5px; color:#171331; overflow:hidden;
}
.pp-content .select2-selection--single .select2-selection__rendered .select2-selection__text{
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.pp-content .select2-selection--single .select2-selection__icon img{ max-width:18px; max-height:18px; }
.pp-content .select2-selection--single .select2-selection__arrow{
  height:52px; width:34px; right:10px;
}
.pp-content .select2-selection--single .select2-selection__arrow b{
  border-color:#8B85A3 transparent transparent transparent;
  border-width:5px 4px 0 4px; margin-left:-4px; margin-top:-2px;
}

/* 下拉面板 */
.select2-container--default .select2-dropdown{
  border:1px solid #E4E0F2; border-radius:12px; overflow:hidden;
  box-shadow:0 24px 48px -24px rgba(23,19,49,.35); background:#fff; margin-top:6px;
}
.select2-container--default .select2-results__option{
  padding:10px 14px; font-size:13px; color:#3A3352;
}
.select2-container--default .select2-results__option--highlighted[aria-selected]{
  background:#F1EEFF; color:#4A2FD6;
}
.select2-container--default .select2-results__option[aria-selected=true]{
  background:#F6F4FE; color:#4A2FD6; font-weight:600;
}
.select2-container--default .select2-search--dropdown .select2-search__field{
  border:1px solid #E4E0F2; border-radius:8px; padding:8px 10px; font-size:13px; outline:none;
}
.select2-container--default .select2-search--dropdown{ padding:8px; }



.ord-terms{ margin:14px 0 0; }

.ord-actions{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
  margin-top:20px; padding-top:18px; border-top:1px solid #F1EEF9;
}
.ord-charge{
  display:flex; align-items:center; gap:10px; flex:none;
  padding:5px 14px; background:#FAF9FF; border:1px solid #E8E5F4; border-radius:12px;
}
.ord-charge-label{
  font-size:10px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:#8B85A3;
}
#order-form #charge{
  width:132px; height:40px; border:0; background:transparent; padding:0; box-shadow:none;
  font-size:20px; font-weight:700; color:#4A2FD6; text-align:right; font-variant-numeric:tabular-nums;
}
#order-form #charge:focus{ box-shadow:none; background:transparent; }
#order-form .ord-actions .btn-primary{ flex:1 1 180px; height:50px; font-size:14px; border-radius:12px; }

/* 右栏 */
.ord-side{ position:sticky; top:84px; display:flex; flex-direction:column; gap:12px; }
.ord-panel{ background:#fff; border:1px solid #E8E5F4; border-radius:18px; padding:14px 16px 18px; }
.ord-tabin{ display:none; }
.ord-tabbar{ display:flex; gap:2px; border-bottom:1px solid #EEEBF8; margin-bottom:16px; }
.ord-tabbar label{
  padding:10px 12px; font-size:12.5px; font-weight:500; color:#7B7392; cursor:pointer;
  border-bottom:2px solid transparent; margin-bottom:-1px;
}
.ord-tabbar label:hover{ color:#4A2FD6; }
#ordtab-1:checked ~ .ord-tabbar label[for="ordtab-1"],
#ordtab-2:checked ~ .ord-tabbar label[for="ordtab-2"],
#ordtab-3:checked ~ .ord-tabbar label[for="ordtab-3"]{ color:#4A2FD6; font-weight:600; border-bottom-color:#6D4AFF; }
.ord-pane{ display:none; }
#ordtab-1:checked ~ .ord-pane-1,
#ordtab-2:checked ~ .ord-pane-2,
#ordtab-3:checked ~ .ord-pane-3{ display:block; }

.ord-desc{ max-height:430px; overflow:auto; font-size:12.5px; line-height:1.85; color:#5B5470; }
.ord-desc p{ margin:0 0 10px; }
.ord-desc p:last-child{ margin-bottom:0; }
.ord-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.ord-list li{ position:relative; padding-left:14px; font-size:12.5px; line-height:1.7; color:#5B5470; }
.ord-list li::before{ content:""; position:absolute; left:0; top:9px; width:5px; height:5px; border-radius:50%; background:#6D4AFF; }
.ord-list b{ color:#171331; font-weight:600; }
.ord-help{ margin:0 0 12px; font-size:12.5px; line-height:1.8; color:#5B5470; }
.ord-help-link{ font-size:12.5px; font-weight:600; color:#6D4AFF; }

.ord-note{ padding:14px 16px; border-radius:14px; background:#FFFAF3; border:1px solid #FBE7CF; }
.ord-note b{ display:block; margin-bottom:5px; font-size:10.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:#A9711F; }
.ord-note span{ font-size:12px; line-height:1.7; color:#8A6A3F; }

@media (max-width:1100px){
  .ord-grid{ grid-template-columns:1fr; }
  .ord-side{ position:static; }
  .ord-desc{ max-height:none; }
}
@media (max-width:640px){
  .ord-card{ padding:18px 16px; border-radius:16px; }
  .ord-actions{ flex-direction:column; align-items:stretch; }
  .ord-charge{ justify-content:space-between; }
  #order-form #charge{ width:auto; flex:1; text-align:right; }
  .ord-tabs{ overflow:auto; }
}

/* ============================================================
   20. 工单（tickets.twig）· 左右分栏
   ============================================================ */
.tk-grid{ display:grid; grid-template-columns:minmax(0,1fr) 400px; gap:18px; align-items:stretch; }
.tk-main{ display:flex; }
.tk-side{ position:relative; }
.tk-main > .tk-card, .tk-side > .tk-card{ width:100%; }

.tk-card{
  background:#fff; border:1px solid #E8E5F4; border-radius:18px; padding:22px 24px 24px;
  box-shadow:0 1px 2px rgba(23,19,49,.04);
}
.tk-head{ margin-bottom:20px; }
.tk-kicker{ display:block; font-size:10px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:#8B85A3; margin-bottom:8px; }
.pp-shell h2.tk-title{ margin:0; font-size:24px; font-weight:650; letter-spacing:-.025em; color:#171331; }
.tk-sub{ margin:6px 0 0; font-size:12.5px; color:#7B7392; }

#ticketsend textarea.form-control{ min-height:180px; resize:vertical; }
#ticketsend .btn-primary{ width:100%; height:50px; font-size:14px; border-radius:12px; margin-top:4px; }
.tk-upload{ margin-bottom:16px; }

/* 分类 Tab（替代下拉） */
.tk-tabs{ display:flex; flex-wrap:wrap; gap:6px; margin:0 0 18px; }
.tk-tab{
  padding:10px 15px; border:1px solid #E8E5F4; border-radius:10px; background:#FAF9FF;
  font-family:inherit; font-size:12.5px; font-weight:500; color:#5B5470; cursor:pointer; transition:.16s;
}
.tk-tab:hover{ border-color:#CFC8E8; background:#F4F1FF; color:#171331; }
.tk-tab.on{
  background:linear-gradient(135deg,#7C5CFF,#5A3BE0); border-color:transparent; color:#fff;
  box-shadow:0 10px 20px -14px rgba(109,74,255,.9);
}
.tk-cat-native{ display:none; }

/* 左右等高时，左栏表单填满卡片 */
.tk-main .tk-card{ display:flex; flex-direction:column; }
.tk-main #ticketsend{ display:flex; flex-direction:column; flex:1 1 auto; }
#ticketsend .form-group.tk-grow{ flex:0 0 auto; }
#ticketsend #message{ resize:vertical; }
#ticketsend .btn-primary{ margin-top:auto; }



/* 右侧列表 */
.tk-side > .tk-card{
  position:absolute; inset:0;
  display:flex; flex-direction:column;
  padding:18px 16px 16px;
}
.tk-list-head{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.pp-shell h3.tk-list-title{ margin:0; font-size:13px; font-weight:650; color:#171331; white-space:nowrap; }
.tk-search{ position:relative; display:flex; align-items:center; flex:1; }
.tk-search .form-control{ height:38px; padding:0 38px 0 12px; font-size:12.5px; }
.tk-search-btn{
  position:absolute; right:5px; width:28px; height:28px; border:0; border-radius:8px;
  background:#F4F2FC; color:#6D4AFF; display:grid; place-items:center; cursor:pointer; font-size:12px;
}
.tk-search-btn:hover{ background:#EAE5FF; }

.tk-items{
  list-style:none; margin:0; padding:0;
  display:flex; flex-direction:column; gap:8px;
  flex:1 1 auto; min-height:0; overflow-y:auto;
}
.tk-items::-webkit-scrollbar{ width:6px; }
.tk-items::-webkit-scrollbar-thumb{ background:#E3DDF5; border-radius:99px; }
.tk-item a{
  display:block; padding:12px 14px; border:1px solid #EDEAF7; border-radius:12px;
  background:#fff; transition:.16s;
}
.tk-item a:hover{ border-color:#DCD5F2; background:#FCFBFF; }
.tk-item.is-new a{ background:#FAF8FF; border-color:#E2DBFA; }
.tk-item-top{ display:flex; align-items:center; gap:8px; justify-content:space-between; }
.tk-item-name{ font-size:12.5px; font-weight:500; color:#171331; line-height:1.4; }
.tk-item.is-new .tk-item-name{ font-weight:650; }
.tk-badge{
  flex:none; padding:2px 8px; border-radius:99px;
  font-size:10px; font-weight:600; letter-spacing:.02em;
  background:#F1EEFF; color:#5A3BE0; white-space:nowrap;
}
.tk-item-meta{
  display:flex; justify-content:space-between; gap:10px; margin-top:9px;
  font-size:11px; color:#9A93AE; font-variant-numeric:tabular-nums;
}
.tk-empty{ margin:6px 2px; font-size:12.5px; color:#8B85A3; }

.tk-list .pagination{ flex:none; margin:auto 0 0; padding-top:14px; display:flex; flex-wrap:wrap; gap:4px; }

@media (max-width:1100px){
  .tk-grid{ grid-template-columns:1fr; align-items:start; }
  .tk-side{ position:static; }
  .tk-side > .tk-card{ position:static; }
  .tk-items{ overflow:visible; min-height:120px; }
}
@media (max-width:640px){
  .tk-card{ padding:18px 16px 20px; border-radius:16px; }
  .tk-list-head{ flex-wrap:wrap; }
  .tk-search{ flex:1 1 100%; }
}

/* 客户端分页器（服务端不分页时兜底） */
.tk-pager{
  flex:none; display:flex; align-items:center; justify-content:center; gap:10px;
  margin-top:auto; padding-top:14px; border-top:1px solid #F1EEF9;
}
.tk-pg{
  width:30px; height:30px; border:1px solid #E8E5F4; border-radius:8px;
  background:#fff; color:#4A2FD6; font-size:15px; line-height:1; cursor:pointer;
  display:grid; place-items:center; transition:.15s;
}
.tk-pg:hover:not(:disabled){ border-color:#CFC8E8; background:#FAF8FF; }
.tk-pg:disabled{ opacity:.35; cursor:default; }
.tk-pg-info{ font-size:12px; color:#7B7392; font-variant-numeric:tabular-nums; min-width:56px; text-align:center; }

/* ============================================================
   21. 工单详情（viewticket.twig）
   ============================================================ */
.vt-topbar{ display:flex; align-items:center; gap:12px; margin:2px 0 16px; }
.vt-back{
  width:38px; height:38px; flex:none; border-radius:11px;
  display:grid; place-items:center;
  background:#fff; border:1px solid #E8E5F4; color:#4A2FD6;
  box-shadow:0 1px 2px rgba(23,19,49,.04); transition:.16s;
}
.vt-back:hover{ border-color:#CFC8E8; background:#FAF8FF; color:#5A3BE0; }
.vt-crumb{ display:flex; align-items:center; gap:8px; font-size:13px; min-width:0; }
.vt-crumb a{ color:#7B7392; }
.vt-crumb a:hover{ color:#4A2FD6; }
.vt-sep{ color:#C9C3DC; }
.vt-current{ color:#4A2FD6; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.vt-card{
  background:#fff; border:1px solid #E8E5F4; border-radius:18px; overflow:hidden;
  box-shadow:0 1px 2px rgba(23,19,49,.04);
}
.vt-head{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:15px 22px; background:#FAF9FF; border-bottom:1px solid #EFEBFA;
}
.vt-head-title{ display:flex; align-items:center; gap:9px; font-size:13.5px; font-weight:650; color:#171331; }
.vt-head-title svg{ color:#6D4AFF; }
.vt-id{ font-size:11.5px; color:#8B85A3; font-variant-numeric:tabular-nums; white-space:nowrap; }

.vt-thread{ display:flex; flex-direction:column; gap:16px; padding:22px; }

.vt-msg{ display:flex; }
.vt-msg.is-me{ justify-content:flex-end; }
.vt-bubble{
  max-width:76%; padding:14px 16px; border-radius:14px;
  border:1px solid #EDEAF7; background:#fff;
}
.vt-msg.is-me .vt-bubble{ background:#F7F4FF; border-color:#E4DCFB; }
.vt-bubble-head{ display:flex; align-items:baseline; gap:10px; margin-bottom:8px; }
.vt-author{ font-size:12px; font-weight:650; color:#171331; }
.vt-msg.is-me .vt-author{ color:#5A3BE0; }
.vt-time{ font-size:11px; color:#9A93AE; font-variant-numeric:tabular-nums; }
.vt-text{ font-size:13px; line-height:1.8; color:#3F3956; white-space:pre-line; word-break:break-word; }
.vt-files{ display:flex; flex-direction:column; gap:6px; margin-top:12px; padding-top:10px; border-top:1px dashed #E9E4F7; }
.vt-files a{ display:inline-flex; align-items:center; gap:6px; font-size:12px; color:#6D4AFF; }
.vt-files a:hover{ text-decoration:underline; }

.vt-reply{ padding:18px 22px 22px; border-top:1px solid #EFEBFA; background:#FCFBFF; }
.vt-reply #message{ min-height:104px; resize:vertical; background:#fff; }
.vt-reply-bar{ display:flex; align-items:center; gap:12px; margin-top:12px; }
.vt-reply-bar .btn-primary{ margin-left:auto; height:42px; padding:0 22px; border-radius:11px; font-size:13px; }

@media (max-width:640px){
  .vt-bubble{ max-width:100%; }
  .vt-thread{ padding:16px; gap:14px; }
  .vt-head{ padding:12px 16px; flex-wrap:wrap; gap:6px; }
  .vt-reply{ padding:14px 16px 16px; }
  .vt-reply-bar{ flex-wrap:wrap; }
}

/* ============================================================
   22. 面板页脚（layout.twig）
   ============================================================ */
.pp-main{ display:flex; flex-direction:column; min-height:100vh; }
.pp-main > .pp-content{ flex:1 1 auto; }

.pp-footer{
  display:flex; align-items:center; gap:20px; flex-wrap:wrap;
  margin:0 32px 22px; padding:14px 22px;
  background:#fff; border:1px solid var(--pp-line); border-radius:14px;
  box-shadow:0 1px 2px rgba(23,19,49,.03);
}
.pp-footer-brand{ display:inline-flex; align-items:center; flex:none; }
.pp-footer-brand img{ height:26px; width:auto; max-width:180px; }
.pp-footer-brand span{ font-size:14px; font-weight:650; letter-spacing:-.01em; color:var(--pp-ink); }

.pp-footer-links{ display:flex; align-items:center; gap:22px; margin-left:auto; margin-right:auto; }
.pp-footer-links a{ font-size:12.5px; color:#7B7392; }
.pp-footer-links a:hover{ color:#4A2FD6; }

.pp-footer-meta{ font-size:12px; color:#9A93AE; white-space:nowrap; }

@media (max-width:900px){
  .pp-footer{ margin:0 16px 16px; gap:12px; }
  .pp-footer-links{ width:100%; margin:0; justify-content:center; }
  .pp-footer-meta{ width:100%; text-align:center; }
}

/* ============================================================
   23. 充值（addfunds.twig）
   ============================================================ */
.af-tabs{ display:flex; gap:4px; margin:0 0 18px; border-bottom:1px solid #EAE7F5; }
.af-tabs a{
  padding:12px 14px; font-size:13.5px; font-weight:500; color:#6E6788;
  border-bottom:2px solid transparent; margin-bottom:-1px; white-space:nowrap;
}
.af-tabs a:hover{ color:#4A2FD6; }
.af-tabs a.on{ color:#4A2FD6; font-weight:600; border-bottom-color:#6D4AFF; }

.af-grid{ display:grid; grid-template-columns:minmax(0,1fr) 380px; gap:18px; align-items:start; margin-bottom:18px; }

.af-card{
  background:#fff; border:1px solid #E8E5F4; border-radius:18px; padding:22px 24px 24px;
  box-shadow:0 1px 2px rgba(23,19,49,.04);
}
.af-card + .af-card{ margin-top:18px; }
.af-h{ margin:0 0 14px; font-size:13px; font-weight:650; letter-spacing:.02em; color:#171331; }

.af-quick{ display:grid; grid-template-columns:repeat(4, 1fr); gap:8px; margin:-4px 0 18px; }
.af-quick button{
  height:38px; border:1px solid #E8E5F4; border-radius:10px; background:#FAF9FF;
  font-family:inherit; font-size:12.5px; font-weight:500; color:#5B5470; cursor:pointer; transition:.15s;
}
.af-quick button:hover{ border-color:#CFC8E8; background:#F4F1FF; color:#171331; }
.af-quick button.on{ background:#F1EEFF; border-color:#C8BBFF; color:#4A2FD6; font-weight:600; }

.af-total{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  margin:4px 0 18px; padding:14px 18px;
  background:linear-gradient(120deg,#F5F2FF,#FBFAFF);
  border:1px solid #E9E3FB; border-radius:14px;
}
.af-total-label{ font-size:10.5px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:#8B85A3; }
.af-total b{ font-size:18px; font-weight:700; color:#4A2FD6; font-variant-numeric:tabular-nums; }

#addfunds .btn-primary, .af-card .btn-primary{ width:100%; height:50px; font-size:14px; border-radius:12px; }

.af-info .af-list{ list-style:none; margin:0 0 14px; padding:0; display:flex; flex-direction:column; gap:11px; }
.af-info .af-list li{ position:relative; padding-left:14px; font-size:12.5px; line-height:1.7; color:#5B5470; }
.af-info .af-list li::before{ content:""; position:absolute; left:0; top:9px; width:5px; height:5px; border-radius:50%; background:#6D4AFF; }
.af-info .af-list b{ color:#171331; font-weight:600; }
.af-help{ font-size:12.5px; font-weight:600; color:#6D4AFF; }

.af-table{ margin:0; }
.af-table > thead > tr > th{
  padding:10px 12px; border:0; border-bottom:1px solid #EEECF7;
  font-size:9.5px; letter-spacing:.16em; text-transform:uppercase; color:#8B85A3;
}
.af-table > tbody > tr > td{ padding:12px; border:0; border-bottom:1px solid #F3F1FA; font-size:12.5px; color:#3F3956; }
.af-table > tbody > tr:last-child > td{ border-bottom:0; }
.af-id{ color:#9A93AE; font-variant-numeric:tabular-nums; }
.af-amount{ font-weight:600; color:#171331; font-variant-numeric:tabular-nums; }

.af-note{ font-size:12.5px; line-height:1.8; color:#5B5470; }
.af-note a{ color:#6D4AFF; }

#history{ scroll-margin-top:80px; }

@media (max-width:1100px){
  .af-grid{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .af-card{ padding:18px 16px 20px; border-radius:16px; }
  .af-quick{ grid-template-columns:repeat(2, 1fr); }
  .af-tabs{ overflow:auto; }
}

/* ---------- 充值页补充：Tab 面板 / 合计 / 历史 ---------- */
.af-tab{
  background:none; border:0; border-bottom:2px solid transparent;
  padding:12px 14px; margin-bottom:-1px;
  font-family:inherit; font-size:13.5px; font-weight:500; color:#6E6788;
  cursor:pointer; white-space:nowrap; transition:.15s;
}
.af-tab:hover{ color:#4A2FD6; }
.af-tab.on{ color:#4A2FD6; font-weight:600; border-bottom-color:#6D4AFF; }

.af-pane{ display:none; }
.af-pane.is-on{ display:block; }

.af-total-hint{ display:block; margin-top:4px; font-size:11.5px; color:#8B85A3; }
#af-total{ font-size:18px; font-weight:700; color:#4A2FD6; font-variant-numeric:tabular-nums; }

.af-table-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:14px; }
.af-table-head .af-h{ margin:0; }
.af-count{ font-size:11.5px; color:#8B85A3; }
.af-method{ color:#3F3956; }
.af-empty{ font-size:12.5px; color:#8B85A3; }

.af-pager{
  display:flex; align-items:center; justify-content:center; gap:10px;
  margin-top:14px; padding-top:14px; border-top:1px solid #F1EEF9;
}
.af-pg{
  width:30px; height:30px; border:1px solid #E8E5F4; border-radius:8px;
  background:#fff; color:#4A2FD6; font-size:15px; line-height:1; cursor:pointer;
  display:grid; place-items:center; transition:.15s;
}
.af-pg:hover:not(:disabled){ border-color:#CFC8E8; background:#FAF8FF; }
.af-pg:disabled{ opacity:.35; cursor:default; }
.af-pg-info{ font-size:12px; color:#7B7392; font-variant-numeric:tabular-nums; min-width:56px; text-align:center; }

.af-table > thead > tr > th.text-right,
.af-table td.af-amount{ text-align:right; }

/* ---------- 订单页 Tab 面板 + 批量下单 ---------- */
.ord-tab{
  background:none; border:0; border-bottom:2px solid transparent;
  padding:12px 14px; margin-bottom:-1px;
  font-family:inherit; font-size:13.5px; font-weight:500; color:#6E6788;
  cursor:pointer; white-space:nowrap; transition:.15s;
}
.ord-tab:hover{ color:#4A2FD6; }
.ord-tab.on{ color:#4A2FD6; font-weight:600; border-bottom-color:#6D4AFF; }
.ord-tabs a.ord-tab{ border-bottom:2px solid transparent; }

.ord-pane{ display:none; }
.ord-pane.is-on{ display:block; }

.ord-mass-input{
  min-height:300px; resize:vertical; background:#fff;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:12.5px; line-height:1.9;
}
.ord-mass-meta{ display:flex; justify-content:flex-start; margin:-6px 0 0; }
#mass-count{ font-size:11.5px; color:#8B85A3; font-variant-numeric:tabular-nums; }
.ord-mass-submit{ width:100%; height:50px; font-size:14px; border-radius:12px; margin-top:16px; }
.ord-mass-help p{ margin:0 0 12px; }
.ord-mass-help p:last-child{ margin-bottom:0; }
.ord-mass-help b{ color:#171331; }
.ord-panel .ord-tabbar label.on{ color:#4A2FD6; font-weight:600; border-bottom-color:#6D4AFF; }

/* ---------- 批量下单生成器 ---------- */
.ord-gen{
  background:#FAF9FF; border:1px solid #EDE9F9; border-radius:14px;
  padding:16px 16px 14px; margin-bottom:20px;
}
.ord-gen-head{ display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; margin-bottom:12px; }
.ord-gen-title{ font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#4A2FD6; }
.ord-gen-hint{ font-size:11.5px; color:#8B85A3; }
.ord-gen-grid{ display:grid; grid-template-columns:minmax(0,1fr) 110px 110px; gap:12px; }
.ord-gen-grid .form-group{ margin-bottom:12px; }
.ord-gen .ord-gen-links{ min-height:110px; resize:vertical; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:12px; background:#fff; }
.ord-gen-actions{ display:flex; gap:10px; }
.ord-gen-actions .btn{ height:38px; padding:0 18px; border-radius:10px; font-size:12.5px; }

@media (max-width:640px){
  .ord-gen-grid{ grid-template-columns:1fr 1fr; }
  .ord-gen-grid .form-group:first-child{ grid-column:1 / -1; }
}

.ord-gen-name{
  display:block; margin-top:6px; font-size:11.5px; color:#8B85A3;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.ord-gen-name:empty{ display:none; }

/* ---------- 退款列表（refunds.twig，也可被充值页内嵌） ---------- */
.af-refund{ }
.rf-alert{
  padding:12px 16px; margin-bottom:16px;
  background:#FFF8F0; border:1px solid #FBE6CE; border-radius:12px;
  font-size:12.5px; line-height:1.7; color:#8A6A3F;
}
.rf-toolbar{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.rf-filters{ display:flex; gap:6px; flex-wrap:wrap; }
.rf-chip{
  padding:8px 14px; border:1px solid #E8E5F4; border-radius:999px; background:#fff;
  font-size:12.5px; font-weight:500; color:#5B5470; transition:.15s;
}
.rf-chip:hover{ border-color:#CFC8E8; color:#171331; }
.rf-chip.on{ background:#F1EEFF; border-color:#C8BBFF; color:#4A2FD6; font-weight:600; }

.rf-search{ position:relative; display:flex; align-items:center; margin-left:auto; width:260px; }
.rf-search .form-control{ height:38px; padding:0 38px 0 12px; font-size:12.5px; }
.rf-search-btn{
  position:absolute; right:5px; width:28px; height:28px; border:0; border-radius:8px;
  background:#F4F2FC; color:#6D4AFF; display:grid; place-items:center; cursor:pointer; font-size:12px;
}
.rf-search-btn:hover{ background:#EAE5FF; }

.rf-card{ background:#fff; border:1px solid #E8E5F4; border-radius:16px; padding:6px 16px 14px; }
.rf-table{ margin:0; }
.rf-table > tbody > tr > td{ font-size:12.5px; }
.rf-badge{
  display:inline-flex; align-items:center; padding:2px 9px; border-radius:99px;
  background:#F1EEFF; color:#5A3BE0; font-size:10.5px; font-weight:600; white-space:nowrap;
}
.rf-empty{ text-align:center; color:#8B85A3; font-size:12.5px; padding:24px 0 !important; }
.af-refund-host{ padding:0; border:0; background:transparent; box-shadow:none; }

@media (max-width:640px){
  .rf-search{ width:100%; margin-left:0; }
}

/* ---------- 服务页：去掉标题后的工具条 ---------- */
.svc-bar{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:2px 0 16px; }
.svc-bar .svc-tools{ margin-left:0; }

/* ---------- 服务列表：行图标 / 操作按钮 ---------- */
.svc-th-ico{ width:52px; }
.svc-ico{ width:52px; padding-right:0 !important; }
.svc-ico img{ width:22px; height:22px; border-radius:6px; object-fit:cover; display:block; }
.svc-ico > span{
  width:22px; height:22px; border-radius:6px; display:grid; place-items:center;
  background:#F1EEFF; font-size:12px; line-height:1;
}
.svc-ico .svc-ico-ph{
  background:linear-gradient(140deg,#7C5CFF,#4A2FD6); color:#fff;
  font-size:10.5px; font-weight:700; letter-spacing:0;
}
.svc-ico i{ font-size:14px; color:#6D4AFF; }

.svc-act{ text-align:right; white-space:nowrap; }
.svc-buy, .svc-view{
  display:inline-grid; place-items:center; width:32px; height:32px;
  border-radius:9px; border:1px solid #E8E5F4; background:#fff; color:#6D4AFF;
  cursor:pointer; transition:.15s; vertical-align:middle;
}
.svc-buy{ margin-right:6px; }
.svc-buy:hover{ background:linear-gradient(135deg,#7C5CFF,#5A3BE0); border-color:transparent; color:#fff; }
.svc-view:hover{ background:#F6F4FE; border-color:#CFC8E8; }
.svc-act .btn{ display:none; }

/* ---------- 支付方式列表（带图标） ---------- */
.af-methods{
  display:flex; flex-direction:column; gap:6px;
  max-height:280px; overflow-y:auto; padding:6px;
  background:#FAF9FF; border:1px solid #EDE9F9; border-radius:14px;
}
.af-methods::-webkit-scrollbar{ width:6px; }
.af-methods::-webkit-scrollbar-thumb{ background:#E3DDF5; border-radius:99px; }

.af-method{
  display:flex; align-items:center; gap:12px; width:100%;
  padding:11px 12px; border:1px solid transparent; border-radius:10px;
  background:#fff; font-family:inherit; font-size:12.5px; color:#3F3956;
  text-align:left; cursor:pointer; transition:.15s;
}
.af-method:hover{ border-color:#DBD4F0; background:#FDFCFF; }
.af-method.on{ border-color:#C8BBFF; background:#F6F3FF; box-shadow:0 0 0 3px rgba(109,74,255,.08); }

.af-method-ico{
  width:26px; height:26px; flex:none; border-radius:7px;
  display:grid; place-items:center; overflow:hidden;
  background:#F1EEFF; color:#4A2FD6; font-size:11px; font-weight:700;
}
.af-method-ico img{ width:100%; height:100%; object-fit:contain; }
.af-method-ico.is-letter{ background:linear-gradient(140deg,#7C5CFF,#4A2FD6); color:#fff; }

.af-method-name{ flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.af-method-check{
  width:16px; height:16px; flex:none; border-radius:50%; border:1.5px solid #D8D2EA;
}
.af-method.on .af-method-check{
  border-color:#6D4AFF;
  background:#6D4AFF url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/9px no-repeat;
}
.af-method-native{ display:none; }

/* ---------- 侧边栏：Telegram 客服 ---------- */
.pp-side-support{
  margin-top:auto; padding-top:12px; border-top:1px solid var(--pp-line);
}
.pp-side-support a{
  display:flex; align-items:center; gap:10px;
  padding:10px 11px; border-radius:12px;
  border:1px solid #E8E5F4; background:#FBFAFF;
  transition:.16s;
}
.pp-side-support a:hover{ border-color:#C9DCF3; background:#F3F8FF; }
.pp-tg-ico{
  width:32px; height:32px; flex:none; border-radius:10px;
  display:grid; place-items:center;
  background:linear-gradient(140deg,#3FA9F5,#1D8BD8); color:#fff;
}
.pp-tg-txt{ min-width:0; }
.pp-tg-txt b{ display:block; font-size:12.5px; font-weight:600; color:var(--pp-ink); }
.pp-tg-txt small{ display:block; font-size:10.5px; color:var(--pp-mute); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* ============================================================
   24. 法律条款页（terms.twig）
   ============================================================ */
.legal-hero{ margin:4px 0 20px; }
.legal-kicker{ display:block; font-size:10px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:#8B85A3; margin-bottom:10px; }
.pp-shell h1.legal-title{ margin:0; font-size:30px; font-weight:650; letter-spacing:-.03em; color:#171331; }
.pp-shell h1.legal-title span{ color:#6D4AFF; }
.legal-sub{ margin:8px 0 0; font-size:13px; color:#7B7392; }

.legal-tabs{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 18px; }
.legal-tab{
  background:#fff; border:1px solid #E5E2F1; border-radius:10px;
  padding:10px 16px; font-family:inherit; font-size:12.5px; font-weight:500;
  color:#4A4560; cursor:pointer; white-space:nowrap; transition:.15s;
}
.legal-tab:hover{ border-color:#C9C0E8; color:#171331; }
.legal-tab.on{
  background:#171331; border-color:#171331; color:#fff; font-weight:600;
}

.legal-pane{ display:none; }
.legal-pane.is-on{ display:block; }

.legal-body{
  width:100%; max-width:none; background:#fff; border:1px solid #E8E5F4; border-radius:18px;
  padding:30px 38px 34px; box-shadow:0 1px 2px rgba(23,19,49,.04);
}
.legal-body h2{ margin:0 0 16px; font-size:20px; font-weight:650; letter-spacing:-.02em; color:#171331; }
.legal-body h3{
  margin:26px 0 8px; font-size:12px; font-weight:700; letter-spacing:.1em;
  text-transform:uppercase; color:#4A2FD6;
}
.legal-body p{ margin:0 0 12px; font-size:13.5px; line-height:1.85; color:#3F3956; }
.legal-body a{ color:#6D4AFF; text-decoration:underline; text-underline-offset:2px; }
.legal-body a:hover{ color:#4A2FD6; }
.legal-body strong{ color:#171331; }
.legal-body ul{ margin:0 0 12px; padding-left:18px; }
.legal-body li{ font-size:13.5px; line-height:1.85; color:#3F3956; margin-bottom:6px; }
.legal-admin-content{ font-size:13.5px; line-height:1.85; color:#3F3956; }
.legal-admin-content h1,.legal-admin-content h2,.legal-admin-content h3{ color:#171331; }

@media (max-width:640px){
  .legal-body{ padding:20px 18px 24px; border-radius:16px; }
  .pp-shell h1.legal-title{ font-size:24px; }
}