/* ============================================================
 * pc.css — PPT马上做 · PC 工作台
 * v3：皮肤系统（后台可切换 5 套配色）+ 全站动效高级感
 *   purple 蓝紫渐变(默认) / blue 通用蓝 / green 医疗绿 / orange 淘宝橙 / tcm 中医古风
 * ============================================================ */
:root {
  /* 默认皮肤：皇家靛紫（深靛压底 + 紫罗兰过渡） */
  --brand: #4A3FD9; --brand-bright: #6D5BFF; --brand-deep: #312E81; --brand-soft: #EAE8FB;
  --brand-soft2: #F3F2FD; --brand-line: #C9C3F4; --brand-line2: #AFA6EE; --brand-tint: #C5BEF6;
  --brand-rgb: 74,63,217; --ink-rgb: 24,22,54;
  --brand-grad: linear-gradient(135deg, #4A3FD9, #6D5BFF);
  --bg: #F3F3FA; --card: #FFFFFF; --line: #E6E6F0; --txt: #1D1B35; --txt2: #5A5878; --txt3: #9391AC;
  --accent-soft: rgba(var(--brand-rgb), .10);
  --shadow: 0 4px 20px rgba(var(--ink-rgb), .06); --shadow-hover: 0 10px 30px -12px rgba(var(--ink-rgb), .18);
  --warn-tx: #B7791F; --r-lg: 18px; --r-md: 14px;
}
/* 皮肤：通用蓝（iSlide 商务风） */
html[data-skin="blue"] {
  --brand: #2563EB; --brand-bright: #3B82F6; --brand-deep: #1D4ED8; --brand-soft: #E8F0FE;
  --brand-soft2: #F2F6FE; --brand-line: #C4D8FA; --brand-line2: #A8C4F5; --brand-tint: #BBD3F8;
  --brand-rgb: 37,99,235; --ink-rgb: 26,32,52;
  --brand-grad: linear-gradient(135deg, #3B82F6, #1D4ED8);
  --bg: #F2F5FA; --line: #E5E9F1; --txt: #1E2533; --txt2: #5B6474; --txt3: #9099AB;
}
/* 皮肤：医疗绿（青绿专业感） */
html[data-skin="green"] {
  --brand: #0D9488; --brand-bright: #14B8A6; --brand-deep: #0F766E; --brand-soft: #E0F4F1;
  --brand-soft2: #F0F9F7; --brand-line: #B5E3DC; --brand-line2: #93D8CE; --brand-tint: #ACE0D8;
  --brand-rgb: 13,148,136; --ink-rgb: 18,40,37;
  --brand-grad: linear-gradient(135deg, #14B8A6, #0F766E);
  --bg: #F1F6F5; --line: #E2EAE8; --txt: #1D2B29; --txt2: #5A6B68; --txt3: #91A19E;
}
/* 皮肤：淘宝橙（卖货促单） */
html[data-skin="orange"] {
  --brand: #F55E00; --brand-bright: #FF7E33; --brand-deep: #C74A0A; --brand-soft: #FFEEE2;
  --brand-soft2: #FFF6EF; --brand-line: #FFD2B8; --brand-line2: #FFC09B; --brand-tint: #FFD8BF;
  --brand-rgb: 245,94,0; --ink-rgb: 55,40,25;
  --brand-grad: linear-gradient(135deg, #FF7E33, #F04E00);
  --bg: #F7F4F1; --line: #EFE9E4; --txt: #2B2119; --txt2: #6B5F55; --txt3: #A0938A;
}
/* 皮肤：中医古风（宣纸米 + 赭石红 + 衬线标题） */
html[data-skin="tcm"] {
  --brand: #A4442C; --brand-bright: #C05F3C; --brand-deep: #7C2D12; --brand-soft: #F6EBDD;
  --brand-soft2: #FBF5EA; --brand-line: #E2CDB0; --brand-line2: #D4B98E; --brand-tint: #EAD9BC;
  --brand-rgb: 164,68,44; --ink-rgb: 70,50,30;
  --brand-grad: linear-gradient(135deg, #B45A2E, #8C3A1F);
  --bg: #F6F1E5; --card: #FFFDF8; --line: #E8DFCC; --txt: #33261C; --txt2: #6E5D4F; --txt3: #A5947F;
}
html[data-skin="tcm"] .crumb, html[data-skin="tcm"] .h-title, html[data-skin="tcm"] .logo span {
  font-family: "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif; letter-spacing: 1px; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body { font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--bg); color: var(--txt); font-size: 14px; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
.frame { display: flex; min-height: 100vh; }

/* ---------- 左侧栏 ---------- */
.side { width: 208px; flex: 0 0 208px; background: var(--card); border-right: 1px solid var(--line); padding: 14px 10px 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side::-webkit-scrollbar { width: 0; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; color: var(--brand); padding: 2px 8px 14px; cursor: pointer; border-radius: 10px; transition: background .15s, box-shadow .15s; }
.logo:hover { background: var(--brand-soft); }
.logo:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.logo .dot { width: 28px; height: 28px; border-radius: 9px; background: var(--brand-grad); display: grid; place-items: center; color: #fff; font-size: 15px; }
.menu { display: flex; flex-direction: column; gap: 1px; }
/* 全站统一菜单行样式：顶级项与分类项完全一致 */
.menu .mi { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border-radius: 10px; color: var(--txt2); font-weight: 600; font-size: 16px; line-height: 22px; transition: background .15s, color .15s; cursor: pointer; border: 0; background: none; width: 100%; text-align: left; }
.menu .mi:hover { background: var(--bg); color: var(--txt); }
.menu .mi.on { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.menu .sep { height: 1px; background: var(--line); margin: 8px 6px; }
.menu .lab { font-size: 13px; color: var(--txt3); padding: 6px 12px 3px; font-weight: 700; letter-spacing: .3px; }
.menu .em { width: 20px; text-align: center; font-size: 16px; flex: none; line-height: 1; }
.menu .cn { margin-left: auto; font-size: 11px; color: var(--txt3); background: var(--bg); border-radius: 999px; padding: 0 7px; line-height: 17px; }
.menu .mi.on .cn { background: rgba(255,255,255,.7); color: var(--brand); }

/* ---------- 主区 ---------- */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 18px; padding: 0 24px; height: 58px; }
.topbar .greet { font-weight: 600; white-space: nowrap; font-size: 14.5px; }
.topbar .greet .g-date { font-weight: 500; color: var(--txt3); font-size: 13px; margin-left: 6px; }
.search { flex: 1; max-width: 460px; display: flex; align-items: center; gap: 6px; background: var(--bg); border: 1.5px solid transparent; border-radius: 999px; padding: 4px 5px 4px 16px; transition: border-color .15s; }
.search:focus-within { border-color: var(--brand); background: var(--card); }
.search .s-ico { font-size: 14px; }
.search input { border: 0; outline: 0; background: transparent; flex: 1; font-size: 13.5px; color: var(--txt); min-width: 0; }
.search .s-btn { flex: none; border: 0; cursor: pointer; background: var(--brand-grad); color: #fff; font-size: 12.5px; font-weight: 600; padding: 7px 16px; border-radius: 999px; transition: .15s; }
.search .s-btn:hover { filter: brightness(1.06); }
.tb-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.tb-item { font-size: 12.5px; color: var(--txt2); padding: 7px 9px; border-radius: 10px; white-space: nowrap; cursor: pointer; transition: .15s; }
.tb-item:hover { background: var(--bg); color: var(--txt); }
/* 浏览器支持安装时，高亮「添加桌面」引导用户一键安装 */
.tb-item.can-install { color: var(--brand); font-weight: 700; background: var(--brand-soft); }
.tb-user { display: flex; align-items: center; gap: 7px; border: 0; background: transparent; cursor: pointer; font-size: 13px; color: var(--txt); padding: 5px 8px; border-radius: 999px; transition: .15s; }
.tb-user:hover { background: var(--bg); }
.tb-user .u-ava { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-grad); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.tb-card { border: 0; cursor: pointer; margin-left: 8px; background: var(--brand-grad); color: #fff; font-size: 13px; font-weight: 700; padding: 9px 20px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 16px -8px var(--brand); transition: .15s; }
.tb-card:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 10px 20px -8px var(--brand); }
@media (max-width: 1360px) { .tb-item[data-optional] { display: none; } }

/* ---------- 二级分类胶囊导航（英语蛙句子练习馆同款） ---------- */
.subnav { position: sticky; top: 58px; z-index: 40; background: var(--bg); padding: 12px 34px 4px; }
.subnav-in { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.subnav-in::-webkit-scrollbar { height: 0; }
.pill { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--txt2); transition: .15s; }
.pill i { font-style: normal; font-size: 11px; color: var(--txt3); }
.pill:hover { border-color: var(--brand); color: var(--brand); }
.pill.on { background: var(--brand-grad); border-color: transparent; color: #fff; font-weight: 700; box-shadow: 0 6px 16px -8px var(--brand); }
.pill.on i { color: rgba(255, 255, 255, .85); }

/* ---------- 内容区 ---------- */
.content { padding: 26px 34px 56px; width: 100%; display: flex; flex-direction: column; gap: 18px; }
.loading { text-align: center; color: var(--txt3); padding: 40px 0; }
.empty { text-align: center; color: var(--txt3); padding: 30px 0; font-size: 13px; }

/* 面包屑（列表页头标题） */
.crumb { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 800; letter-spacing: .3px; }
.crumb .sep { color: var(--txt3); font-weight: 500; }
.crumb .cnt { margin-left: auto; font-size: 12.5px; font-weight: 500; color: var(--txt3); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; }

/* ============================================================
 * 卡片栅格：横版 PPT 一行 4 个（16:9）/ 竖版 Word 一行 5 个（3:4）
 * 窄屏自动降列：1100px→3 / 900px→2
 * ============================================================ */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 22px; }
.grid--word { grid-template-columns: repeat(5, 1fr); gap: 20px 16px; }

/* 相框式卡片：白色卡纸留边 + 圆角封面内嵌，细腻柔和 */
.pcard { position: relative; border-radius: 16px; overflow: hidden; background: var(--card); border: 0; padding: 8px 8px 0; box-shadow: 0 1px 2px rgba(var(--ink-rgb), .05), 0 10px 28px -14px rgba(var(--ink-rgb), .12); transition: transform .22s ease, box-shadow .22s ease; cursor: pointer; display: block; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(var(--ink-rgb), .05), 0 22px 48px -16px rgba(var(--ink-rgb), .30); }

/* 封面：严格裁剪 —— PPT 16:9 / Word 3:4，只展示封面（内嵌圆角像相框） */
.pcard .cov { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: linear-gradient(135deg, var(--brand-soft2), var(--brand-soft)); box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .05); }
.pcard--word .cov, .pcard .cov--word { aspect-ratio: 3 / 4; }
/* 主图比例（后台「营销与展示」可配）：img_ratio_grid=1:1/3:4 时全局覆盖默认 16:9（含 Word 卡统一裁剪） */
body.rgrid-11 .pcard .cov { aspect-ratio: 1 / 1; }
body.rgrid-34 .pcard .cov { aspect-ratio: 3 / 4; }
.pcard .cov img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .45s ease; }
.pcard:hover .cov img { transform: scale(1.045); }
.pcard .cov.noimg img { display: none; }
.cov-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; font-size: 13px; font-weight: 600; color: var(--brand-deep); line-height: 1.5; }
/* 图片加载成功时隐藏占位文字；仅当图片缺失/加载失败(.noimg)时才显示 */
.cov img ~ .cov-ph, .d-cov img ~ .cov-ph { display: none; }
.cov.noimg .cov-ph, .d-cov.noimg .cov-ph { display: flex; }

/* 角标浮到封面左上角（悬浮胶囊，高级感） */
.pcard .badge { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 11.5px; padding: 3px 10px; border-radius: 999px; font-weight: 700; box-shadow: 0 2px 10px rgba(0, 0, 0, .14); }

.pcard-b { padding: 11px 8px 12px; }
.pcard-t { font-size: 14px; font-weight: 600; color: var(--txt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .2px; }
.pcard-m { font-size: 12px; color: var(--txt3); margin-top: 8px; display: flex; align-items: baseline; gap: 8px; }
.pcard-m .price { color: var(--brand-deep); font-weight: 800; font-size: 15px; margin-right: auto; }
.pcard-m .price i { font-style: normal; color: var(--warn-tx); font-size: 12.5px; font-weight: 700; }
.pcard-m .dl { margin-left: auto; font-size: 11.5px; }
.pcard:hover .pcard-t { color: var(--brand); }
.badge--free { background: #FFF6E8; color: var(--warn-tx); }
.badge--hot  { background: #FEE2E2; color: #B91C1C; }
.badge--new  { background: #DBEAFE; color: #1D4ED8; }

/* 分页 */
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 0 0; }
.pager button { padding: 8px 18px; border: 1px solid var(--line); background: var(--card); border-radius: 10px; font-size: 13px; color: var(--txt2); transition: .15s; }
.pager button:hover { border-color: var(--brand); color: var(--brand); }
.pager .pinfo { font-size: 12.5px; color: var(--txt3); }

/* ---------- 详情页（左：预览 / 右：信息栏） ---------- */
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--txt2); font-size: 13.5px; margin-bottom: 10px; cursor: pointer; align-self: flex-start; }
.back:hover { color: var(--brand); }
.detail--lr { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 16px; align-items: start; }
.d-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.d-main .sec { margin-top: 0; }

/* 左：预览卡（标题条 + 预览图堆叠） */
.d-view { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 16px 18px 20px; }
.d-viewbar { display: flex; align-items: center; gap: 10px; padding-bottom: 13px; margin-bottom: 15px; border-bottom: 1px solid var(--bg); }
.d-fic { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--brand-soft); display: grid; place-items: center; font-size: 17px; }
.h-title { font-size: 16.5px; font-weight: 700; line-height: 1.4; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-previews { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.d-previews img { width: 100%; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 28px -16px rgba(var(--ink-rgb),.3); }
/* 单独付费素材横幅（主图下方，文案后台可改） */
.d-mustpay { width: 100%; padding: 9px 14px; border-radius: 10px; background: linear-gradient(90deg,#fff3e0,#ffe3d6); border: 1px solid #ffd0b0; color: #c2410c; font-size: 14px; font-weight: 700; text-align: center; letter-spacing: .5px; }

/* 右：信息栏（下载按钮 + 属性行 + 分享） */
.d-buy { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; gap: 13px; }
.d-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.d-rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8.5px 2px; border-bottom: 1px solid var(--bg); font-size: 13px; }
.d-rows li:last-child { border-bottom: 0; }
.d-rows li > span { flex: none; color: var(--txt3); font-size: 12.5px; }
.d-rows li > b { font-weight: 600; color: var(--txt); text-align: right; min-width: 0; }
.d-rows li b del { color: var(--txt3); font-weight: 500; margin-left: 4px; }
.d-rows .rows-free { font-style: normal; color: var(--warn-tx); font-weight: 700; }
.chip-vip { display: inline-block; background: #FFF7E6; color: #B45309; border: 1px solid #FDE68A; padding: 1px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.d-share { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--line); }
.d-share-l { margin-right: auto; font-size: 12.5px; color: var(--txt3); }
.d-share button { padding: 7px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--card); font-size: 12px; color: var(--txt2); cursor: pointer; transition: .15s; }
.d-share button:hover { border-color: var(--brand); color: var(--brand); }
.h-tip { margin: 0; font-size: 12px; color: var(--txt2); line-height: 1.7; padding-top: 11px; border-top: 1px dashed var(--line); }

/* 右：咨询 / 服务 / 保障 */
.d-side { position: sticky; top: 74px; display: flex; flex-direction: column; gap: 12px; }
.d-svc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.d-svc-h { font-size: 12px; font-weight: 700; color: var(--txt3); padding: 9px 12px 3px; letter-spacing: .4px; }
.d-svc-row { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 12px; text-decoration: none; transition: .15s; }
.d-svc-row:hover { background: var(--bg); }
.d-svc-row .em { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 17px; }
.d-svc-row--make .em { background: #FFF7E6; }
.d-svc-row--bty .em { background: #EFF6FF; }
.d-svc-row--cheap .em { background: var(--brand-soft); }
.d-svc-row .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.d-svc-row .tx b { font-size: 13.5px; color: var(--txt); }
.d-svc-row .tx i { font-style: normal; font-size: 11.5px; color: var(--txt3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-svc-row .arr { flex: none; color: var(--txt3); font-size: 14px; transition: .15s; }
.d-svc-row:hover .arr { transform: translateX(3px); color: var(--brand); }
/* 用户评价（淘宝式列表） */
.d-rev-cnt { font-style: normal; font-weight: 400; color: var(--txt3); margin-left: 4px; }
.d-rev-list { padding: 2px 8px 8px; display: flex; flex-direction: column; }
.d-rev-it { display: flex; gap: 9px; padding: 9px 4px; border-bottom: 1px dashed var(--line); }
.d-rev-it:last-child { border-bottom: none; }
.d-rev-ava { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-soft), #DDEBFF); color: var(--brand); font-weight: 700; font-size: 14px; }
.d-rev-bd { flex: 1; min-width: 0; }
.d-rev-meta { display: flex; align-items: center; gap: 7px; }
.d-rev-meta b { font-size: 12.5px; color: var(--txt); }
.rb-stars { font-style: normal; color: #F5A623; letter-spacing: 1px; font-size: 10.5px; }
.d-rev-date { font-size: 10.5px; color: var(--txt3); margin-left: auto; }
.d-rev-bd p { margin: 3px 0 0; font-size: 12px; line-height: 1.65; color: var(--txt); }
.d-rev-empty { padding: 14px 4px; font-size: 12px; color: var(--txt3); text-align: center; }
.d-trust .d-trust-note { font-style: normal; color: var(--txt3); font-size: 11px; }
.d-trust { list-style: none; margin: 0; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.d-trust li { position: relative; padding-left: 20px; font-size: 12.5px; color: var(--txt2); line-height: 1.6; }
.d-trust li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }
.d-trust li b { color: var(--txt); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 26px; border: 0; border-radius: 12px; background: var(--brand-grad); color: #fff; font-size: 14.5px; font-weight: 700; box-shadow: 0 10px 22px -12px var(--brand); transition: transform .14s; }
.btn:active { transform: scale(.97); }
.btn--make { background: var(--card); color: var(--brand); border: 1.5px solid var(--brand); box-shadow: none; }
.btn--sm { padding: 6px 14px; font-size: 12.5px; border-radius: 9px; box-shadow: none; }
.btn.block { width: 100%; margin-top: 10px; }

/* 图片化详情 */
.sec { margin-top: 22px; }
.sec h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.sec h3::before { content: ""; width: 4px; height: 15px; border-radius: 2px; background: var(--brand-grad); }
.img-detail { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.img-detail img { width: 100%; max-width: 100%; border-radius: 10px; }
.img-detail--word img { max-width: 520px; }
.ph-long { width: 100%; max-width: 760px; min-height: 220px; border: 1px dashed var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--txt3); padding: 20px; }

/* ---------- 代做 landing ---------- */
.make-hero { padding: 26px; border-radius: var(--r-lg); background: var(--brand-grad); color: #fff; }
/* PPT美化 landing（#beautify） */
.bty-hero { background: linear-gradient(120deg, var(--brand-bright) 0%, var(--brand) 55%, var(--brand-deep) 100%); box-shadow: 0 18px 40px -18px rgba(var(--brand-rgb),.55); }
.bty-hero .btn--des { background: #fff !important; color: var(--brand-deep) !important; border: none !important; }
.bty-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.bty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.bty-it { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 14px; text-align: center; }
.bty-it span { font-size: 24px; }
.bty-it b { display: block; margin-top: 6px; font-size: 14px; color: var(--txt); }
.bty-it p { margin-top: 5px; font-size: 12px; color: var(--txt3); line-height: 1.6; }
.bty-price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bty-p { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 16px; position: relative; }
.bty-p--hi { border: 2px solid var(--brand); box-shadow: 0 10px 26px -12px rgba(var(--brand-rgb),.4); }
.bty-p-h { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--txt); }
.bty-tag { background: #FCE9B8; color: #92600A; font-size: 10.5px; font-weight: 700; border-radius: 99px; padding: 2px 9px; }
.bty-p-p { margin: 8px 0 10px; font-size: 12.5px; color: var(--txt3); }
.bty-p-p i { font-style: normal; font-size: 24px; font-weight: 800; color: var(--brand); }
.bty-p--hi .bty-p-p i { color: var(--brand); }
.bty-p ul { margin: 0; padding-left: 16px; font-size: 12.5px; color: var(--txt2); line-height: 2; }
.tb-item { position: relative; }
/* ① 微信群 hover 弹出群二维码 */
.tb-wx .wx-pop { display: none; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); z-index: 90;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px -12px rgba(var(--ink-rgb),.25);
  padding: 12px 12px 8px; width: 172px; text-align: center; cursor: default; }
.tb-wx .wx-pop::before { content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.tb-wx.has-qr:hover .wx-pop, .tb-wx.has-qr .wx-pop:hover { display: block; }
.tb-wx .wx-pop img { width: 148px; height: 148px; object-fit: contain; border-radius: 8px; display: block; }
.tb-wx .wx-pop-t { display: block; font-size: 12px; color: var(--txt2); margin-top: 6px; }

/* ⑥ 首页站内公告胶囊（英语蛙同款） */
.notice-pill { flex: none; display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 10px;
  background: #FFF8E6; border: 1px solid #F2DFAE; border-radius: 99px; max-width: 320px; min-width: 0; }
.notice-pill .np-ico { flex: none; font-size: 14px; }
.notice-pill .np-lab { flex: none; font-size: 12.5px; font-weight: 700; color: #9A6B12; }
.notice-pill .np-win { flex: 1; overflow: hidden; min-width: 0; height: 18px; }
.notice-pill .np-track { display: inline-flex; gap: 34px; white-space: nowrap; height: 18px; line-height: 18px;
  animation: npMarquee 18s linear infinite; will-change: transform; }
.notice-pill:hover .np-track { animation-play-state: paused; }
.notice-pill .np-it { font-size: 12.5px; color: #8A6A1F; overflow: hidden; text-overflow: ellipsis; }
.notice-pill em { flex: none; font-style: normal; font-size: 12px; color: #B08420; font-weight: 600; }
@keyframes npMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.np-modal { max-height: 60vh; overflow: auto; display: flex; flex-direction: column; gap: 12px; padding-right: 4px; }
.np-mit { background: var(--brand-soft2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.np-mt { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.np-mt b { font-size: 14px; color: var(--txt); }
.np-mt i { font-style: normal; font-size: 11px; color: #fff; background: var(--brand); border-radius: 99px; padding: 1px 8px; }
.np-mit p { font-size: 13px; color: var(--txt2); line-height: 1.7; margin: 0; }

/* 站内信列表 */
.ib-list { max-height: 60vh; overflow: auto; display: flex; flex-direction: column; gap: 10px; padding-right: 4px; }
.ib-it { background: var(--brand-soft2); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; }
.ib-it--un { background: var(--brand-soft2); border-color: var(--brand-line); }
.ib-it b { font-size: 13.5px; color: var(--txt); display: block; }
.ib-it span { font-size: 11.5px; color: #9AABB8; }
.ib-it p { font-size: 12.8px; color: var(--txt2); line-height: 1.65; margin: 5px 0 0; }

.mkg-hero .mkg-l { min-width: 0; }
.mkg-hero .mkg-l h1 { font-size: 24px; line-height: 1.45; letter-spacing: .5px; margin-bottom: 4px; }
/* 三大卖点：一行三个纵向卡片，深色玻璃底保证白字对比度 */
.mkg-sell { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 0; width: 100%; }
.mkg-sp { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; box-sizing: border-box;
  background: rgba(13,10,40,.28); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px 18px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.mkg-sp:hover { transform: translateY(-4px); background: rgba(13,10,40,.4); box-shadow: 0 14px 28px -12px rgba(0,0,0,.4); }
.mkg-sp b { font-size: 22px; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 8px 14px; line-height: 1; }
.mkg-sp-t strong { display: block; font-size: 15.5px; font-weight: 700; color: #fff; letter-spacing: .3px; }
.mkg-sp-t i { display: block; font-style: normal; font-size: 12.3px; color: rgba(255,255,255,.8); margin-top: 4px; line-height: 1.5; }
.mkg-sp--fast b { background: #FFD75E; color: #5B4A00; }
.mkg-sp--cheap b { background: var(--brand-tint); color: var(--brand-deep); }
.mkg-sp--pro b { background: #fff; color: var(--brand-deep); }
/* 右侧：数据卡，固定宽度对齐 */
.mkg-r { display: flex; flex-direction: column; align-items: stretch; gap: 14px; width: 250px; flex: none; }
/* 立即发起代做 / 免费估价：放在「快·省·好」正下方，整行并排 */
.mkg-hero .mkg-l .bty-cta { margin-top: 24px; }
.mkg-hero .mkg-l .bty-cta .btn { width: auto; min-width: 190px; margin: 0; justify-content: center; text-align: center; }
/* 按钮点击反馈 */
.mkg-hero .btn--make { transition: transform .15s ease; }
.mkg-hero .btn--make:active { transform: scale(.97); }
/* 代做页区块动效：卡片悬浮 + 区块标题渐变竖条 */
.mkg-hero ~ .sec > h3 { display: flex; align-items: center; gap: 8px; }
.mkg-hero ~ .sec > h3::before { content: ''; width: 4px; height: 16px; border-radius: 4px; background: linear-gradient(180deg, var(--brand), var(--brand-deep)); }
.mkg-hero ~ .sec .bty-it { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.mkg-hero ~ .sec .bty-it:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -14px rgba(var(--brand-rgb),.35); border-color: var(--brand-line2); }
.mkg-hero ~ .sec .bty-it span { transition: transform .22s ease; }
.mkg-hero ~ .sec .bty-it:hover span { transform: scale(1.18); }
/* 高端价卡：静态渐变描边 */
.mkg-price .bty-p--hi { box-shadow: 0 0 0 2px rgba(var(--brand-rgb),.35), 0 16px 30px -14px rgba(var(--brand-rgb),.4); }

.bty-note { margin-top: 12px; font-size: 12.5px; color: var(--txt2); background: var(--brand-soft2); border: 1px dashed var(--brand-line); border-radius: 10px; padding: 10px 14px; }
/* PPT代做 landing（#make）· 品牌绿主题 */
.mkg-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--brand-bright) 0%, var(--brand) 45%, var(--brand-deep) 100%); box-shadow: 0 18px 40px -18px rgba(var(--brand-rgb),.55); }
.mkg-hero .btn--des { background: #fff !important; color: var(--brand-deep) !important; border: none !important; }
.mkg-top { position: relative; display: flex; align-items: flex-start; gap: 28px; }
.mkg-top > div:first-child { flex: 1; min-width: 0; }
.mkg-stats { display: flex; flex-direction: column; gap: 10px; background: rgba(13,10,40,.28); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); padding: 14px 18px; min-width: 170px; }
.mkg-stats b { display: block; font-size: 20px; font-weight: 800; color: #fff; }
.mkg-stats span { font-size: 11.5px; opacity: .85; }
.mkg-chips { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); }
.mkg-chips span { font-size: 12px; color: #fff; background: rgba(13,10,40,.3); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 4px 12px; }
.mkg-price .bty-p--hi .bty-p-p i { color: var(--brand); }
.mkg-price .bty-p--hi { border-color: var(--brand); }
.mkg-svc { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .mkg-svc { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .mkg-top { flex-direction: column; gap: 14px; } .mkg-stats { flex-direction: row; min-width: 0; } .mkg-r { width: 100%; } .mkg-hero .mkg-l .bty-cta { flex-direction: column; } .mkg-hero .mkg-l .bty-cta .btn { width: 100%; } .mkg-hero .mkg-l h1 { font-size: 19px; } .mkg-sell { grid-template-columns: 1fr; } }

/* ===== 代做合同/确认单弹窗 ===== */
.mk-contract { max-width: 560px; }
.mkc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px dashed var(--line); margin-bottom: 14px; }
.mkc-badge { width: 46px; height: 46px; flex: none; display: grid; place-items: center; font-size: 24px; background: var(--brand-soft2); border: 1px solid var(--brand-line); border-radius: 12px; }
.mkc-tt { flex: 1; min-width: 0; }
.mkc-tt h3 { margin: 0; font-size: 17px; }
.mkc-tt p { margin: 3px 0 0; font-size: 12px; color: var(--txt3); }
.mkc-st { flex: none; font-size: 12.5px; font-weight: 700; border-radius: 99px; padding: 5px 12px; }
.mkc-st--warn { background: #FFF6E0; color: #9A6B00; }
.mkc-st--run { background: var(--brand-soft); color: var(--brand-deep); animation: mkcBlink 1.6s ease-in-out infinite; }
.mkc-st--ok { background: var(--brand-soft); color: var(--brand-deep); }
.mkc-st--off { background: #F0F2F5; color: #8896A4; }
@keyframes mkcBlink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.mkc-rows .dl-row { border-bottom: 1px dashed var(--line); padding: 8px 0; }
.mkc-rows .dl-row:last-child { border-bottom: none; }
.mkc-paid { font-style: normal; color: var(--brand-deep); font-weight: 700; font-size: 12.5px; }
.mkc-unpaid { font-style: normal; color: #9A6B00; font-size: 12.5px; }
.mkc-wx { font-family: inherit; background: var(--brand-soft2); border: 1px solid var(--brand-line); border-radius: 6px; padding: 2px 8px; font-weight: 700; color: var(--brand-deep); }
.mkc-copy { border: none; background: var(--brand-deep); color: #fff; border-radius: 6px; padding: 2px 10px; font-size: 12px; cursor: pointer; margin: 0 6px; }
.mkc-wxtip { font-size: 11.5px; color: var(--txt3); }
/* 订单卡倒计时 */
.mk-cd { font-size: 12px; color: #9A6B00; background: #FFF6E0; border-radius: 99px; padding: 3px 10px; font-variant-numeric: tabular-nums; }
.mk-cd--over { color: #8896A4; background: #F0F2F5; }
@media (max-width: 1080px) { .bty-grid { grid-template-columns: 1fr 1fr; } .bty-price { grid-template-columns: 1fr; } }
.make-hero h1 { font-size: 22px; margin-bottom: 8px; }
.make-hero p { font-size: 13.5px; opacity: .9; margin-bottom: 14px; }
.make-flow { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.mf { flex: 1; min-width: 150px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; }
.mf i { font-style: normal; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.mf b { display: block; font-size: 14px; }
.mf span { font-size: 12px; color: var(--txt3); }

/* 我的代做订单列表 */
.mk-list { display: flex; flex-direction: column; gap: 10px; }
.mk-item { border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.mk-item > div:first-child { display: flex; align-items: baseline; gap: 10px; }
.mk-no { font-size: 11.5px; color: var(--txt3); font-family: Consolas, monospace; }
.mk-sub { font-size: 12.5px; color: var(--txt2); }
.mk-foot { display: flex; align-items: center; gap: 10px; }
.mk-st { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bg); color: var(--txt2); margin-right: auto; }
.mk-st--1 { background: #DBEAFE; color: #1D4ED8; }
.mk-st--2 { background: #FEF3C7; color: #B45309; }
.mk-st--3 { background: var(--brand-soft); color: var(--brand-deep); }
.mk-st--4 { background: #FEE2E2; color: #B91C1C; }

/* 代做状态步骤条（弹窗内） */
.make-steps { display: flex; align-items: center; gap: 6px; margin: 14px 0; flex-wrap: wrap; }
.mk-step { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--txt3); }
.mk-step i { font-style: normal; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 11px; background: var(--card); }
.mk-step.done { color: var(--brand-deep); }
.mk-step.done i { background: var(--brand); border-color: var(--brand); color: #fff; }
.mk-step.active { color: var(--brand); font-weight: 700; }
.mk-line { flex: 1; min-width: 14px; height: 1.5px; background: var(--line); }

/* ---------- 招商信息 ---------- */
.biz-hero { padding: 26px; border-radius: var(--r-lg); background: var(--brand-grad); color: #fff; margin-bottom: 16px; }
.biz-hero h1 { font-size: 22px; margin-bottom: 8px; }
.biz-hero p { font-size: 13.5px; opacity: .9; }
.biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.biz-ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--txt2); }
.biz-ul li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 8px; }
.biz-contact { font-size: 13px; color: var(--txt2); }

/* ---------- 弹窗 / 轻提示 ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; align-items: center; justify-content: center; z-index: 500; padding: 20px; }
.modal-mask.show { display: flex; }
#modal { position: relative; background: var(--card); border-radius: 16px; max-width: 480px; width: 100%; padding: 22px; max-height: 86vh; overflow-y: auto; }
.modal-close { position: absolute; top: 10px; right: 14px; font-size: 22px; color: var(--txt3); cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--txt); }
.m-h { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.m-p { font-size: 13px; color: var(--txt2); margin: 6px 0; }
.m-tip { font-size: 12px; color: var(--txt3); margin-top: 10px; line-height: 1.7; }
.dl-row { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.dl-row > label { flex: none; width: 72px; font-size: 13px; color: var(--txt2); }
.dl-val { flex: 1; display: flex; gap: 8px; align-items: center; }
.dl-val input, .dl-val textarea { flex: 1; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 13px; font-family: inherit; outline: 0; min-width: 0; }
.dl-val input:focus, .dl-val textarea:focus { border-color: var(--brand); }
.dl-val button { padding: 8px 14px; border: 0; border-radius: 9px; background: var(--bg); color: var(--txt2); font-size: 12.5px; }
.dl-val button:hover { background: var(--brand-soft); color: var(--brand); }
textarea#mkDemand { width: 100%; min-height: 84px; resize: vertical; }
.seg { display: flex; gap: 8px; }
.seg-b { padding: 8px 16px; border: 1.5px solid var(--line); background: var(--card); border-radius: 10px; font-size: 13px; color: var(--txt2); }
.seg-b.on { border-color: var(--brand); color: var(--brand); font-weight: 700; background: var(--brand-soft); }

.toast { position: fixed; left: 50%; top: 72px; transform: translateX(-50%); background: var(--txt); color: var(--card); padding: 9px 18px; border-radius: 12px; font-size: 13px; z-index: 999; opacity: 0; transition: opacity .25s; pointer-events: none; }
.toast.show { opacity: .92; }

/* ---------- 招商卡片 ---------- */
.promo-card { border: 1px solid var(--brand-line2); border-radius: var(--r-md); padding: 16px; background: linear-gradient(160deg, var(--brand-soft2), #fff); }
.promo-card h3 { font-size: 15px; margin-bottom: 6px; }
.promo-card p { font-size: 12.5px; color: var(--txt2); line-height: 1.7; }

/* ============================================================
 * 会员 / 专区
 * ============================================================ */
.badge--vip { background: #FFF7E6; color: #B45309; border: 1px solid #FDE68A; }
.badge--trial { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.badge--ex { background: #F3E8FF; color: #7C3AED; }
.badge--og { background: var(--brand-soft); color: var(--brand-deep); }
.badge--pm { background: #FEF3C7; color: #92400E; }
.vip-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 10px; font-size: 12px; background: #FFF7E6; color: #B45309; border: 1px solid #FDE68A; vertical-align: middle; }
.h-price .was { color: var(--txt3); text-decoration: line-through; font-size: 14px; }
.mem-card { background: linear-gradient(135deg, var(--brand-soft), var(--brand-soft2)); border: 1px solid var(--brand-line2); border-radius: 12px; padding: 16px 18px; margin: 10px 0; }
.mem-card--vip { background: linear-gradient(135deg, #FFFBEB, #FEF3C7); border-color: #FDE68A; }
.mem-card--trial { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); border-color: #BFDBFE; }
.mem-lv { font-size: 18px; font-weight: 700; color: var(--brand-deep); }
.mem-card--vip .mem-lv { color: #92400E; }
.mem-exp { color: var(--txt2); font-size: 13px; margin-top: 4px; }
.mem-acts { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.mem-note { margin-top: 10px; font-size: 13px; color: var(--brand-deep); }
.lv-list { margin: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.lv-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.lv-item b { font-size: 15px; }
.lv-info span { display: block; color: var(--txt2); font-size: 12px; margin-top: 2px; }
.lv-na { color: var(--txt3); font-size: 13px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid--word { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1080px) {
  .side { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid--word { grid-template-columns: repeat(3, 1fr); }
  .detail--lr { grid-template-columns: 1fr; }
  .d-view { padding: 12px 12px 16px; }
  .h-title { white-space: normal; font-size: 15.5px; }
  .d-side { position: static; order: 2; }
  .d-main { order: 1; }
}

/* ============ 详情页：服务按钮 / 客服卡 ============ */
.btn--svc { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; padding: 10px 12px; font-size: 13.5px; border-radius: 11px; }
.btn--svc-make { background: #FFF7E6; color: #B45309; border: 1.5px solid #FDE68A; }
.btn--svc-make:hover { background: #FEF3C7; transform: translateY(-1px); }
.btn--svc-bty { background: #EFF6FF; color: #1D4ED8; border: 1.5px solid #BFDBFE; }
.btn--svc-bty:hover { background: #DBEAFE; transform: translateY(-1px); }

.kf-card { margin-top: 0; display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px dashed var(--line); border-radius: var(--r-lg); padding: 12px 14px; }
.kf-card .kf-ico { font-size: 22px; }
.kf-card .kf-tx { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.kf-card .kf-tx b { font-size: 13px; }
.kf-card .kf-tx span { font-size: 12px; color: var(--txt3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kf-card .kf-btn { flex: none; font-size: 12.5px; font-weight: 600; color: var(--brand); background: var(--card); border: 1px solid var(--brand); border-radius: 999px; padding: 6px 14px; text-decoration: none; transition: .15s; }
.kf-card .kf-btn:hover { background: var(--brand); color: #fff; }

/* ============ AI 客服：悬浮图标 + 面板 ============ */
.ai-fab { position: fixed; right: 26px; bottom: 30px; z-index: 860; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ai-fab-btn { display: flex; flex-direction: row-reverse; align-items: center; gap: 9px; height: 56px; padding: 0 7px; border: 0; border-radius: 999px; background: var(--brand-grad); color: #fff; box-shadow: 0 16px 34px -12px rgba(var(--brand-rgb),.65); cursor: pointer; transition: transform .18s, box-shadow .18s; }
.ai-fab-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(var(--brand-rgb),.7); }
.ai-fab-ico { flex: none; width: 42px; height: 42px; display: grid; place-items: center; font-size: 21px; background: rgba(255,255,255,.2); border-radius: 999px; }
.ai-fab-tx { font-size: 13px; font-weight: 700; padding-right: 8px; max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; transition: max-width .22s, opacity .22s; }
.ai-fab:hover .ai-fab-tx, .ai-fab.open .ai-fab-tx { max-width: 76px; opacity: 1; }

.ai-panel { width: 296px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 26px 56px -22px rgba(var(--ink-rgb),.4); overflow: hidden; animation: aiIn .18s ease-out; }
@keyframes aiIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ai-p-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--brand-grad); color: #fff; }
.ai-p-ava { flex: none; width: 34px; height: 34px; border-radius: 999px; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 18px; }
.ai-p-h b { display: block; font-size: 14px; }
.ai-p-h i { font-style: normal; font-size: 11.5px; opacity: .9; }
.ai-p-x { margin-left: auto; border: 0; background: transparent; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; opacity: .85; padding: 0 2px; }
.ai-p-b { padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.ai-p-tip { margin: 0 0 4px; font-size: 12px; color: var(--txt3); line-height: 1.6; }
.ai-p-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 11px; text-decoration: none; transition: .15s; }
.ai-p-row:hover { background: var(--bg); }
.ai-p-row > span { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); display: grid; place-items: center; font-size: 15px; }
.ai-p-row > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ai-p-row b { font-size: 13px; color: var(--txt); }
.ai-p-row i { font-style: normal; font-size: 11.5px; color: var(--txt3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-p-row em { flex: none; font-style: normal; font-size: 12px; color: var(--txt3); }
@media (max-width: 640px) { .ai-fab { right: 14px; bottom: 18px; } .ai-panel { width: 270px; } }

/* ============ 首页（英语蛙同款结构） ============ */
.home-hero { display: flex; align-items: center; gap: 30px; padding: 34px 38px; border-radius: var(--r-lg); background: var(--brand-grad); color: #fff; box-shadow: 0 20px 44px -20px rgba(var(--brand-rgb),.55); }
.hh-tx { flex: 1; min-width: 0; }
.hh-tx h1 { font-size: 28px; font-weight: 800; letter-spacing: -.3px; margin: 0 0 10px; }
.hh-tx p { margin: 0 0 18px; font-size: 14px; line-height: 1.8; opacity: .92; }
.hh-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.hh-btn { padding: 11px 22px; border-radius: 12px; background: #fff; color: var(--brand-deep); font-weight: 700; font-size: 14px; text-decoration: none; transition: transform .15s; box-shadow: 0 10px 24px -14px rgba(0,0,0,.35); }
.hh-btn:hover { transform: translateY(-2px); }
.hh-btn--ghost { background: rgba(255,255,255,.16); color: #fff; box-shadow: none; border: 1px solid rgba(255,255,255,.45); }
.hh-stats { flex: none; display: flex; gap: 14px; }
.hh-stat { min-width: 118px; text-align: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 14px; padding: 14px 12px; }
.hh-stat b { display: block; font-size: 24px; font-weight: 800; }
.hh-stat span { font-size: 12px; opacity: .88; }
.home-serve { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.hs { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; box-shadow: var(--shadow); }
.hs-em { font-size: 22px; }
.hs b { display: block; font-size: 13.5px; }
.hs i { font-style: normal; font-size: 11.5px; color: var(--txt3); }
.home-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.hcat { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--txt); cursor: pointer; transition: .15s; text-decoration: none; }
.hcat:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.hcat span { font-size: 14px; }
.hcat i { font-style: normal; font-size: 11px; color: var(--txt3); background: var(--bg); border-radius: 999px; padding: 0 7px; line-height: 17px; }
@media (max-width: 1080px) { .home-hero { flex-direction: column; align-items: flex-start; } .hh-stats { width: 100%; } .hh-stat { flex: 1; } .home-serve { grid-template-columns: 1fr 1fr; } }

/* 后台菜单行（admin 内联样式未覆盖时兜底） */
.pcmenu-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid #eee; border-radius: 10px; margin-bottom: 6px; background: #fff; }
.pcmenu-row .pcm-check { display: flex; align-items: center; gap: 5px; font-size: 13px; white-space: nowrap; }
.pcmenu-row .pcm-ico { font-size: 16px; }
.pcmenu-row .pcm-label { padding: 6px 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 13px; width: 150px; }
.pcmenu-row .pcm-id { color: #999; font-size: 11px; }
.pcmenu-row .pcm-name { font-weight: 600; font-size: 13.5px; }
.pcmenu-row .pcm-cnt { color: #999; font-size: 12px; }
.pcmenu-row .pcm-ops { margin-left: auto; display: flex; gap: 6px; }

/* ============ 购买卡：双长按钮 + 双短按钮 + 货号发货 ============ */
.d-btns { display: flex; flex-direction: column; gap: 12px; }
.d-long { width: 100%; padding: 13px 16px; font-size: 15.5px; border-radius: 12px; }
.d-long--vip { background: linear-gradient(135deg, #F59E0B, #F97316); color: #fff; box-shadow: 0 10px 22px -12px rgba(245,158,11,.7); }
.d-long--vip:hover { filter: brightness(1.05); }
.d-subrow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.d-short { display: inline-flex; align-items: center; justify-content: center; padding: 8px 6px; border-radius: 10px; font-size: 12.5px; font-weight: 600; text-decoration: none; transition: .15s; }
.d-short--make { background: #FFF7E6; color: #B45309; border: 1px solid #FDE68A; }
.d-short--make:hover { background: #FEF3C7; transform: translateY(-1px); }
.d-short--bty { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.d-short--bty:hover { background: #DBEAFE; transform: translateY(-1px); }
.d-sn { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--bg); border: 1px dashed var(--line); border-radius: 10px; padding: 9px 12px; }
.d-sn-l { font-size: 13px; color: var(--txt2); min-width: 0; }
.d-sn-l b { color: var(--txt); font-weight: 700; }
.d-sn-copy { flex: none; border: 0; background: var(--brand-grad); color: #fff; font-size: 12px; font-weight: 700; padding: 7px 11px; border-radius: 999px; cursor: pointer; transition: .15s; white-space: nowrap; }
.d-sn-copy:hover { filter: brightness(1.06); transform: translateY(-1px); }
.d-sn-copy.copied { background: linear-gradient(135deg, var(--brand-bright), var(--brand)); }
.d-ship { background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; }
.d-ship b { font-size: 12.5px; color: #92400E; }
.d-ship span { font-size: 12px; color: #A16207; line-height: 1.7; }

/* ============ AI 面板聊天区 ============ */
.ai-panel { width: 340px; }
.ai-chat { height: 240px; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); border-bottom: 1px solid var(--line); }
.ai-chat::-webkit-scrollbar { width: 5px; }
.ai-chat::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.ai-bubble { max-width: 86%; padding: 9px 12px; border-radius: 13px; font-size: 12.8px; line-height: 1.7; word-break: break-word; }
.ai-bubble.ai-ai { align-self: flex-start; background: var(--card); border: 1px solid var(--line); color: var(--txt); border-top-left-radius: 4px; }
.ai-bubble.ai-me { align-self: flex-end; background: var(--brand-grad); color: #fff; border-top-right-radius: 4px; }
.ai-bubble a { color: var(--brand); font-weight: 600; word-break: break-all; }
/* AI 消息右下角「一键复制」按钮（含网盘地址的消息） */
.ai-copy { display: block; margin: 8px 0 0 auto; padding: 4px 12px; font-size: 11.5px; font-weight: 600;
  color: var(--brand); background: #fff; border: 1px solid var(--brand); border-radius: 99px; cursor: pointer;
  transition: background .15s, color .15s; }
.ai-copy:hover { background: var(--brand); color: #fff; }
.ai-bubble.ai-typing { display: flex; gap: 4px; align-items: center; padding: 11px 14px; }
.ai-bubble.ai-typing span { width: 5px; height: 5px; border-radius: 99px; background: var(--txt3); animation: aiBlink 1.2s infinite; }
.ai-bubble.ai-typing span:nth-child(2) { animation-delay: .2s; }
.ai-bubble.ai-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes aiBlink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.ai-inputrow { display: flex; gap: 8px; padding: 10px 12px; background: var(--card); border-bottom: 1px solid var(--line); }
.ai-inputrow input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 13px; outline: none; transition: border-color .15s; }
.ai-inputrow input:focus { border-color: var(--brand); }
.ai-inputrow button { flex: none; border: 0; border-radius: 10px; background: var(--brand-grad); color: #fff; font-size: 13px; font-weight: 700; padding: 0 18px; cursor: pointer; }
.ai-inputrow button:hover { filter: brightness(1.06); }

/* ============ 详情页：AI发货客服 / 模板说明 标签窗口 ============ */
.d-tabs { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.d-tab-h { display: flex; background: var(--bg); border-bottom: 1px solid var(--line); }
.d-tab { flex: 1; border: 0; background: transparent; padding: 10px 6px; font-size: 13px; font-weight: 600; color: var(--txt3); cursor: pointer; transition: .15s; border-bottom: 2px solid transparent; }
.d-tab:hover { color: var(--txt); }
.d-tab.on { color: var(--brand); background: var(--card); border-bottom-color: var(--brand); }
.d-tab-b { display: none; }
.d-tab-b.on { display: block; }
.ai-chat--card { height: 250px; border-bottom: 0; background: var(--card); }
.d-desc-tx { margin: 0; padding: 13px 14px; font-size: 12.8px; line-height: 1.85; color: var(--txt2); }
.d-desc-tx b { color: var(--txt); }
.d-desc-qr { display: flex; align-items: center; gap: 12px; padding: 0 14px 14px; }
.d-desc-qr img { width: 108px; height: 108px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.d-desc-qr span { font-size: 12px; color: var(--txt3); line-height: 1.6; }

/* ============ Logo ============ */
.logo-img { width: 30px; height: 30px; border-radius: 9px; object-fit: contain; background: #fff; box-shadow: 0 4px 10px -6px rgba(var(--brand-rgb),.5); flex: none; }
.logo span:last-child { letter-spacing: -.2px; }

/* ============ 顶栏登录态 ============ */
.tb-user.is-guest { color: var(--brand); background: var(--brand-soft); }
.tb-user.is-guest .u-ava { background: var(--brand); color: #fff; }
.tb-user.is-logged .u-ava { background: var(--brand-grad); color: #fff; }

/* ============ 登录弹窗 ============ */
.lg-mask { position: fixed; inset: 0; z-index: 1200; background: rgba(12,28,23,.5); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lg-card { position: relative; width: 100%; max-width: 420px; background: var(--card); border-radius: 18px; box-shadow: 0 30px 70px -26px rgba(8,26,20,.5); padding: 24px 26px 18px; animation: lgIn .2s ease-out; }
@keyframes lgIn { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: none; } }
.lg-x { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; font-size: 22px; line-height: 1; color: var(--txt3); cursor: pointer; }
.lg-x:hover { color: var(--txt); }
.lg-head { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.lg-head img { width: 42px; height: 42px; border-radius: 12px; object-fit: contain; background: #fff; }
.lg-head b { display: block; font-size: 17px; font-weight: 800; }
.lg-head span { font-size: 12px; color: var(--txt3); }
.lg-tabs { display: flex; gap: 6px; background: var(--bg); border-radius: 12px; padding: 4px; margin-bottom: 16px; }
.lg-tab { flex: 1; border: 0; background: transparent; border-radius: 9px; padding: 9px 6px; font-size: 13.5px; font-weight: 600; color: var(--txt3); cursor: pointer; transition: .15s; }
.lg-tab.on { background: var(--card); color: var(--brand); box-shadow: 0 4px 12px -8px rgba(var(--ink-rgb),.35); }
.lg-pane { display: none; }
.lg-pane.on { display: block; }
.lg-qr-wrap { position: relative; width: 190px; height: 190px; margin: 4px auto 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: grid; place-items: center; }
.lg-qr-box { width: 100%; height: 100%; }
.lg-qr-box svg { width: 100%; height: 100%; display: block; }
.lg-qr-loading { font-size: 12.5px; color: var(--txt3); text-align: center; line-height: 1.7; }
.lg-qr-loading a { color: var(--brand); }
.lg-qr-mask { position: absolute; inset: 0; border-radius: 14px; background: rgba(255,255,255,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--txt2); }
.lg-qr-mask button { border: 0; border-radius: 999px; background: var(--brand-grad); color: #fff; font-size: 12.5px; font-weight: 700; padding: 7px 16px; cursor: pointer; }
.lg-qr-tip { margin: 0; text-align: center; font-size: 13px; color: var(--txt2); line-height: 1.8; }
.lg-qr-tip b { color: var(--brand); }
.lg-qr-sub { margin: 8px 0 4px; text-align: center; font-size: 11.5px; color: var(--txt3); }
.lg-field { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; margin-bottom: 10px; background: var(--card); transition: border-color .15s; }
.lg-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.1); }
.lg-field span { flex: none; width: 34px; font-size: 13px; color: var(--txt3); }
.lg-field input { flex: 1; min-width: 0; border: 0; outline: none; font-size: 14px; background: transparent; color: var(--txt); }
.lg-err { min-height: 18px; margin: 2px 2px 6px; font-size: 12.5px; color: #D14343; }
.lg-submit { width: 100%; border: 0; border-radius: 12px; padding: 13px; background: var(--brand-grad); color: #fff; font-size: 15.5px; font-weight: 700; cursor: pointer; box-shadow: 0 12px 24px -14px rgba(var(--brand-rgb),.75); }
.lg-submit:disabled { opacity: .65; cursor: default; }
.lg-foot { text-align: center; font-size: 12.5px; color: var(--txt3); margin-top: 12px; }
.lg-foot a { color: var(--brand); font-weight: 600; text-decoration: none; margin-left: 3px; }
.lg-agree { margin: 14px 0 0; text-align: center; font-size: 11px; color: var(--txt3); line-height: 1.6; }

/* ============ 我的：账号卡 ============ */
.acct-card { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
.acct-ava { flex: none; width: 44px; height: 44px; border-radius: 999px; background: var(--brand-grad); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 700; }
.acct-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.acct-tx b { font-size: 14.5px; }
.acct-tx span { font-size: 12px; color: var(--txt3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ 语音播报开关 ============ */
.ai-p-voice { flex: none; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.18); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; cursor: pointer; margin-right: 6px; white-space: nowrap; }
.ai-p-voice.off { opacity: .75; }
.ai-voice-bar { display: flex; justify-content: flex-end; padding: 6px 10px 0; background: var(--card); }
.ai-voice-toggle { border: 1px solid var(--line); background: var(--bg); color: var(--txt2); font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; cursor: pointer; transition: .15s; }
.ai-voice-toggle:hover { border-color: var(--brand); color: var(--brand); }
.ai-voice-toggle.off { color: var(--txt3); }

/* 修复：自定义 display 覆盖了 [hidden] 的 UA 样式，导致"隐藏"元素仍然显示 */
[hidden] { display: none !important; }

/* ============ 卡片聊天窗：精致化（头部 + 胶囊 + 气泡） ============ */
.ai-chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep)); }
.ai-chat-head .ai-chat-ava { flex: none; width: 34px; height: 34px; border-radius: 999px; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 18px; }
.ai-chat-head .ai-chat-meta { flex: 1; min-width: 0; }
.ai-chat-head .ai-chat-meta b { display: block; color: #fff; font-size: 13.5px; }
.ai-chat-head .ai-chat-meta i { font-style: normal; font-size: 11px; color: rgba(255,255,255,.92); display: flex; align-items: center; gap: 5px; }
.dot-on { width: 6px; height: 6px; border-radius: 99px; background: var(--brand-bright); box-shadow: 0 0 0 3px rgba(255,255,255,.25); display: inline-block; }
.ai-chat-head .ai-voice-toggle { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.45); color: #fff; font-size: 11px; padding: 4px 9px; }
.ai-chat-head .ai-voice-toggle:hover { background: rgba(255,255,255,.28); border-color: #fff; color: #fff; }
.ai-caps { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--card); border-bottom: 1px solid var(--line); }
.ai-cap { display: inline-flex; align-items: center; gap: 5px; padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600; text-decoration: none; transition: .15s; border: 1px solid transparent; }
.ai-cap--make { background: #FFF7E6; color: #B45309; border-color: #FDE68A; }
.ai-cap--make:hover { background: #FEF3C7; transform: translateY(-1px); }
.ai-cap--bty { background: #EFF6FF; color: #1D4ED8; border-color: #BFDBFE; }
.ai-cap--bty:hover { background: #DBEAFE; transform: translateY(-1px); }
.ai-cap-note { margin-left: auto; font-size: 11px; color: var(--txt3); }
.ai-chat--card { height: 240px; background: linear-gradient(180deg, var(--brand-soft2), #fff); }

/* ============ 卡片聊天窗：头部/胶囊 收口（窄栏防挤压） ============ */
.ai-chat-head { padding: 9px 11px; gap: 9px; }
.ai-chat-head .ai-chat-ava { width: 32px; height: 32px; font-size: 16px; }
.ai-chat-head .ai-chat-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow: hidden; }
.ai-chat-head .ai-chat-meta b { font-size: 13px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-chat-head .ai-chat-meta i { font-size: 10.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; gap: 4px; }
.ai-voice-toggle--icon { flex: none; width: 30px; height: 30px; padding: 0 !important; border-radius: 999px !important; display: inline-grid; place-items: center; font-size: 14px; line-height: 1; }
.ai-voice-toggle--icon.off { filter: grayscale(1); opacity: .8; }
.ai-caps { padding: 8px 11px; gap: 7px; }
.ai-caps .ai-cap { padding: 5px 11px; font-size: 12px; white-space: nowrap; }
.ai-chat--card { height: 248px; }

/* 详情页自带聊天窗：隐藏右下角悬浮客服，避免重复与遮挡 */
body.is-detail #aiFab { display: none !important; }

/* ============ 聊天卡：去头部条，状态/喇叭上移标签栏，胶囊置于输入框上方 ============ */
.d-tab-h { align-items: center; padding-right: 8px; gap: 6px; }
.d-tab-status { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--txt3); white-space: nowrap; }
.d-tab-status .dot-on { background: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.14); width: 6px; height: 6px; }
.d-tab-h .ai-voice-toggle--icon { width: 26px; height: 26px; font-size: 12.5px; border: 0; background: transparent; color: var(--txt2); }
.d-tab-h .ai-voice-toggle--icon:hover { background: var(--brand-soft); color: var(--brand); }
.d-tab-h .ai-voice-toggle--icon.off { color: var(--txt3); filter: grayscale(1); opacity: .55; }
.ai-caps { padding: 7px 11px; gap: 7px; border-bottom: 0; border-top: 1px solid var(--line); background: var(--card); }

/* 胶囊按钮（原链接改按钮）：去掉浏览器默认样式 */
.ai-cap { font-family: inherit; cursor: pointer; }
.ai-cap:active { transform: scale(.97); }

/* ============ 我的推广（邀请链接 + 奖励记录 + 站内信） ============ */
.promo-invite { background: linear-gradient(135deg, var(--brand-soft2), #fff); border: 1px solid var(--brand-line); border-radius: 14px; padding: 14px 16px; }
.pi-tip { margin: 0 0 10px; font-size: 13px; color: var(--txt2); line-height: 1.7; }
.pi-tip b { color: var(--brand); }
.pi-row { display: flex; gap: 8px; }
.pi-row input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: var(--txt2); background: #fff; }
.pi-stats { display: flex; gap: 18px; margin-top: 12px; font-size: 12.5px; color: var(--txt2); }
.pi-stats b { color: var(--brand); font-size: 15px; }
.pi-msg-h { margin: 14px 0 6px; font-size: 12.5px; font-weight: 700; color: var(--txt2); }
.pi-msg { border-top: 1px dashed var(--line); padding: 8px 0; font-size: 12px; color: var(--txt3); }
.pi-msg:first-child { border-top: 0; }
.pi-msg b { display: block; font-size: 12.5px; color: var(--txt); }
.pi-msg b::before { content: '● '; color: var(--line); }
.pi-msg--unread b::before { color: #E11D48; }
.pi-msg span { float: right; }
.pi-msg p { margin: 4px 0 0; line-height: 1.6; }

/* ============ 我的推广中心（自动分佣 + 提现） ============ */
.promo-panel { background: linear-gradient(135deg, var(--brand-soft2), #fff); border: 1px solid var(--brand-line); border-radius: 14px; padding: 16px; }
.pp-bind { font-size: 12.5px; color: var(--txt2); margin-bottom: 10px; }
.pp-bind--in { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pp-bind--in input { width: 150px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 12.5px; }
.pp-bind--in span { font-size: 11.5px; color: var(--txt3); }
.pp-up { font-size: 13px; color: var(--txt2); line-height: 1.8; }
.pp-rate { background: var(--brand-soft2); border-radius: 10px; padding: 8px 12px; font-size: 12px; color: var(--txt2); }
.pp-btns { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.pp-id { font-size: 13.5px; font-weight: 700; margin-bottom: 10px; }
.pp-code { color: var(--brand); letter-spacing: 1px; cursor: pointer; }
.pp-link { display: flex; gap: 8px; margin-bottom: 14px; }
.pp-link input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: var(--txt2); background: #fff; }
.earn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.earn-it { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; text-align: center; }
.earn-it b { display: block; font-size: 15px; color: var(--brand); }
.earn-it span { font-size: 11px; color: var(--txt3); }
.pp-note { font-size: 11.5px; color: var(--txt3); line-height: 1.7; margin-bottom: 10px; }
.pp-list-h { margin: 14px 0 6px; font-size: 12.5px; font-weight: 700; color: var(--txt2); }
.pp-list { display: flex; flex-direction: column; }
.pp-it { display: flex; align-items: center; gap: 10px; border-top: 1px dashed var(--line); padding: 7px 0; font-size: 12px; color: var(--txt3); }
.pp-it:first-child { border-top: 0; }
.pp-k { background: var(--brand-soft2); color: var(--brand); border-radius: 6px; padding: 2px 8px; font-size: 11px; }
.pp-k--0 { background: #FEF3C7; color: #B45309; }
.pp-k--1 { background: var(--brand-soft); color: var(--brand-deep); }
.pp-k--2 { background: #FEE2E2; color: #B91C1C; }
.pp-amt { color: var(--brand); margin-left: auto; }
.pp-it i { font-style: normal; }
.pp-it time { margin-left: auto; font-size: 11px; }
.wd-avail { font-size: 13px; color: var(--txt2); }
.wd-avail b { color: var(--brand); font-size: 17px; }
.wd-form label { display: block; margin: 10px 0 4px; font-size: 12.5px; color: var(--txt2); }
.wd-form input, .wd-form select { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
#ppWithdraw { width: 100%; }

/* ============ PC 会员中心：双栏工作台（仅 PC 端使用） ============ */
.me-wrap { display: grid; grid-template-columns: 292px minmax(0, 1fr); gap: 16px; align-items: start; }
.me-side, .me-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.uc-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 4px 18px rgba(23, 58, 42, .05); }
/* 左栏：身份卡 */
.uc-user { padding: 26px 20px 20px; text-align: center; }
.me-ava-wrap { position: relative; width: 92px; height: 92px; margin: 0 auto; cursor: pointer; }
.me-ava { display: flex; align-items: center; justify-content: center; width: 92px; height: 92px; border-radius: 50%; background: var(--brand-grad); color: #fff; font-size: 38px; font-weight: 800; border: 4px solid var(--brand-soft); box-shadow: 0 6px 18px rgba(var(--brand-rgb),.25); overflow: hidden; }
.me-ava img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.me-ava-cam { position: absolute; right: 0; bottom: 2px; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 13px; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.uc-name-row { margin-top: 14px; }
.me-name { font-size: 19px; font-weight: 800; color: var(--txt); }
.uc-badges { margin-top: 8px; }
.me-badge { display: inline-block; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 14px; font-size: 12px; font-weight: 700; color: var(--txt2); }
.me-badge--vip { background: linear-gradient(120deg, #FCD34D, #F59E0B); border-color: #FCD34D; color: #78350F; box-shadow: 0 3px 10px rgba(245,158,11,.35); }
.me-badge--trial { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand); }
.uc-sub { margin-top: 10px; font-size: 12px; color: var(--txt3); line-height: 1.7; }
.uc-exp { margin-top: 10px; background: #FFF8E6; border: 1px solid #FCE9B8; border-radius: 10px; padding: 7px 10px; font-size: 12px; color: #92600A; }
.uc-exp b { color: #C77700; font-size: 13px; }
.uc-btns { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.uc-btns .btn { width: 100%; }
.uc-quit { background: #fff !important; color: var(--txt3) !important; border: 1px solid var(--line) !important; }
.uc-quit:hover { color: #DC2626 !important; border-color: #FCA5A5 !important; }
/* 左栏：会员卡（信用卡风） */
.uc-vip { position: relative; overflow: hidden; background: linear-gradient(125deg, var(--brand-deep) 0%, var(--brand) 60%, var(--brand-bright) 100%); border: none; color: #fff; padding: 18px 18px 16px; box-shadow: 0 12px 26px -12px rgba(var(--brand-rgb),.55); }
.uc-vip-deco { position: absolute; right: -46px; top: -56px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.09); }
.uc-vip-deco::after { content: ''; position: absolute; right: -22px; bottom: -60px; width: 96px; height: 96px; border-radius: 50%; background: rgba(255,255,255,.07); }
.uc-vip-top { position: relative; display: flex; align-items: center; gap: 12px; }
.uc-crown { font-size: 26px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.2)); }
.uc-vip-top b { display: block; font-size: 16.5px; letter-spacing: .5px; }
.uc-vip-top span { font-size: 11.5px; opacity: .88; }
.uc-vip-btns { position: relative; margin-top: 14px; display: flex; gap: 8px; }
.uc-vip-btn { flex: 1; background: linear-gradient(120deg, #FCD34D, #F59E0B) !important; color: #78350F !important; font-weight: 800; border: none !important; box-shadow: 0 4px 12px rgba(245,158,11,.4); }
.uc-vip-ghost { flex: 1; background: rgba(255,255,255,.14) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.4) !important; }
/* 左栏：快捷导航 */
.uc-nav { padding: 6px 8px; }
.uc-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--txt); cursor: pointer; text-decoration: none; }
.uc-nav a:hover { background: var(--brand-soft2); color: var(--brand); }
.uc-nav a span { font-size: 16px; }
.uc-nav a i { margin-left: auto; font-style: normal; color: var(--txt3); }
/* 右栏：数据总览 */
.uc-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 4px 18px rgba(23,58,42,.05); overflow: hidden; }
.uc-stats > a, .uc-stats > span { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 18px 6px 15px; cursor: pointer; text-decoration: none; }
.uc-stats > a + *, .uc-stats > span + * { border-left: 1px dashed var(--line); }
.uc-stats b { font-size: 22px; font-weight: 800; color: var(--txt); font-variant-numeric: tabular-nums; }
.uc-stats span { font-size: 12px; color: var(--txt3); }
.uc-stats > a:hover b { color: var(--brand); }
/* 右栏：业务卡 */
.uc-sec { padding: 18px 20px 20px; }
.uc-sec-h { display: flex; align-items: baseline; gap: 10px; font-size: 15.5px; font-weight: 800; color: var(--txt); margin-bottom: 14px; }
.uc-sec-h::before { content: ''; width: 4px; height: 15px; border-radius: 2px; background: var(--brand-grad); flex: none; align-self: center; }
.uc-sec-s { font-size: 11.5px; font-weight: 500; color: var(--txt3); }
.uc-sec .empty { padding: 26px 0; }
@media (max-width: 1080px) { .me-wrap { grid-template-columns: 1fr; } .me-side { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; } .uc-user { grid-column: 1 / -1; } }

/* ============================================================
   首页 v2（对照英语蛙：主栏 + 右侧栏）
   ============================================================ */
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.home-main, .home-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (max-width: 1180px) { .home-grid { grid-template-columns: 1fr; } }

/* 顶部品牌横幅 */
.home-hero2 { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--r-lg);
  background: var(--brand-grad); color: #fff; box-shadow: 0 16px 36px -18px rgba(var(--brand-rgb),.55); }
.hh2-logo { width: 46px; height: 46px; border-radius: 12px; background: #fff; padding: 3px; }
.hh2-brand { display: flex; flex-direction: column; line-height: 1.35; white-space: nowrap; }
.hh2-brand b { font-size: 17px; }
.hh2-brand i { font-style: normal; font-size: 11.5px; opacity: .85; }
.hh2-slogan { flex: 1; margin-left: 8px; background: #fff; box-shadow: 0 4px 14px rgba(0,80,50,.22);
  border-radius: 99px; padding: 6px 20px; display: flex; align-items: center; gap: 10px; min-width: 0; }
/* 宣传语幻灯片：三条轮播（淡入上滑），圆点指示 */
.hh2-slides { flex: 1; position: relative; height: 36px; overflow: hidden; min-width: 0; }
.hh2-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 17.5px; font-weight: 800; letter-spacing: 1px; color: var(--brand);
  opacity: 0; transform: translateY(9px); transition: opacity .5s ease, transform .5s ease; pointer-events: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh2-slide.on { opacity: 1; transform: none; }
.hh2-dots { flex: none; display: flex; gap: 4px; }
.hh2-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-line); cursor: pointer; transition: .25s; }
.hh2-dots i.on { background: var(--brand); width: 14px; border-radius: 3px; }
.hh2-right { display: flex; align-items: center; gap: 14px; }
.hh2-mini { display: flex; flex-direction: column; align-items: center; line-height: 1.3; }
.hh2-mini b { font-size: 17px; }
.hh2-mini span { font-size: 10.5px; opacity: .8; }
.hh2-cta { background: #fff; color: var(--brand); font-weight: 700; font-size: 12.5px; padding: 8px 14px; border-radius: 99px; text-decoration: none; }

/* 品类条（代做全品类 + 查看更多） */
.home-chips { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 10px 14px; box-shadow: var(--shadow); }
.chips-lab { flex: none; font-size: 12.5px; font-weight: 700; color: var(--brand); background: var(--brand-soft); border-radius: 99px; padding: 5px 11px; }
.chips-scroll { flex: 1; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chip { flex: none; font-size: 12px; color: var(--txt); background: var(--bg); border-radius: 99px; padding: 5px 11px; text-decoration: none; transition: .15s; }
.chip:hover { background: var(--brand-soft); color: var(--brand); }
.chips-more { flex: none; font-size: 12.5px; font-weight: 600; color: var(--brand); text-decoration: none; white-space: nowrap; }

/* 数据四卡 */
.home-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hstat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 3px; }
.hstat b { font-size: 21px; color: var(--brand); }
.hstat b i { font-style: normal; font-size: 12px; margin-left: 2px; }
.hstat:nth-child(2) b { color: #E8930C; }
.hstat span { font-size: 11.5px; color: var(--txt3); }

/* 功能宫格 */
.home-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.htile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 14px 14px;
  box-shadow: var(--shadow); text-align: center; text-decoration: none; cursor: pointer; transition: .18s;
  display: flex; flex-direction: column; align-items: center; gap: 6px; }
.htile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.18); }
.ht-em { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; }
.t-land .ht-em { background: #E8F1FF; } .t-make .ht-em { background: #FFF3E4; }
.t-bty .ht-em { background: #F3E8FF; } .t-edu .ht-em { background: var(--brand-soft); }
.htile b { font-size: 13.5px; color: var(--txt); }
.htile i { font-style: normal; font-size: 11px; color: var(--txt3); }

/* 右侧栏卡片 */
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 14px; box-shadow: var(--shadow); }
.sc-h { font-size: 13px; font-weight: 700; color: var(--txt); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.fd-list { display: flex; flex-direction: column; padding-top: 6px; max-height: 264px; overflow: hidden; }
.fd-it { display: flex; align-items: center; gap: 7px; padding: 5px 0; font-size: 11.8px; color: var(--txt); animation: fdIn .4s ease; }
@keyframes fdIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.fd-tag { flex: none; font-style: normal; font-size: 10px; font-weight: 700; color: #fff; border-radius: 4px; padding: 1px 4px; }
.fd-tag--刚 { background: var(--brand); } .fd-tag--会 { background: #E8930C; } .fd-tag--藏 { background: #7C5CFC; }
.fd-tag--下 { background: #2B6CB0; } .fd-tag--师 { background: #D6455D; } .fd-tag--伙 { background: #B7791F; }
.fd-tag--收 { background: var(--brand); } .fd-tag--提 { background: #2B6CB0; } .fd-tag--邀 { background: #7C5CFC; }
.fd-it span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 排行榜 */
.rk-tabs { display: flex; gap: 6px; padding: 9px 0 4px; }
.rk-tab { flex: 1; border: 1px solid var(--line); background: var(--bg); border-radius: 99px; font-size: 12px;
  padding: 5px 0; cursor: pointer; color: var(--txt3); }
.rk-tab.on { background: var(--brand-grad); color: #fff; border-color: transparent; font-weight: 700; }
.rk-list { display: flex; flex-direction: column; padding-top: 4px; }
.rk-it { display: flex; align-items: center; gap: 7px; padding: 6px 0; font-size: 12.2px; color: var(--txt); }
.rk-it b { font-weight: 600; }
.rk-it span { margin-left: auto; color: var(--brand); font-weight: 700; font-size: 12px; }
.rk-no { font-style: normal; width: 18px; text-align: center; color: var(--txt3); font-weight: 700; font-size: 12px; }
.rk-badge { font-style: normal; font-size: 9.5px; border-radius: 4px; padding: 1px 4px; font-weight: 700; }
.rk-badge--pt { background: #FFF3E4; color: #B7791F; }
.rk-badge--ds { background: #FDE8EE; color: #D6455D; }
.rk-no--ds { background: #EFF6FF; color: #2563EB; border-radius: 99px; width: 18px; height: 18px; line-height: 18px; font-size: 10.5px; }
.rk-hook { margin: 10px 0 0; padding-top: 9px; border-top: 1px dashed var(--line); font-size: 11.8px; color: var(--txt2); line-height: 1.6; }
.rk-hook a { color: var(--brand); font-weight: 700; text-decoration: none; white-space: nowrap; }

/* 合伙人招募卡 */
.side-card--partner { background: linear-gradient(160deg, #FFF9EC, #FFF3E4); border-color: #F5DFAE; }
.pt-tx { margin: 9px 0 12px; font-size: 12px; line-height: 1.7; color: #6B4E10; }
.pt-tx b { color: #B7791F; }
.pt-btn { display: block; text-align: center; background: linear-gradient(135deg, #F5A623, #E8930C); color: #fff;
  font-weight: 700; font-size: 12.5px; border-radius: 99px; padding: 9px 0; text-decoration: none; }
/* 首页右侧「代做急单通道」转化卡 */
.mk-chan { background: linear-gradient(160deg, var(--brand-soft), var(--brand-soft2)); border-color: var(--brand-line); }
.mk-chan-tx { margin: 9px 0 10px; font-size: 12px; line-height: 1.7; color: var(--brand-deep); }
.mk-chan-tx b { color: var(--brand-deep); }
.mk-chan-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.mk-chan-list li { font-size: 12.5px; line-height: 1.5; color: var(--brand-deep); padding-left: 2px; }
.mk-chan-list b { color: var(--brand-deep); }
.mk-chan-btns { display: flex; gap: 8px; }
.mk-chan-btns .btn { flex: 1; min-width: 0; padding-left: 8px; padding-right: 8px; }
.fd-time { margin-left: auto; flex: none; font-style: normal; font-size: 10px; color: var(--txt3); }

/* 详情页收藏按钮 */
.d-fav { flex: none; margin-left: auto; border: 1px solid var(--line); background: var(--card); color: var(--txt3);
  font-size: 12.5px; border-radius: 99px; padding: 5px 13px; cursor: pointer; transition: .18s; white-space: nowrap; }
.d-fav:hover { border-color: #F5A623; color: #F5A623; }
.d-fav.on { background: #FFF7E8; border-color: #F5C065; color: #E8930C; font-weight: 600; }
/* 个人中心 · 收益与提现卡 */
.earn-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow); }
.earn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.earn-it { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--bg); border-radius: 10px; padding: 12px 6px; }
.earn-it b { font-size: 19px; color: var(--brand); }
.earn-it span { font-size: 11px; color: var(--txt3); }
.earn-note { margin: 12px 0; font-size: 12px; line-height: 1.7; color: var(--txt3); }
.earn-note b { color: #B7791F; }

/* 详情页顶部：返回 + 播报合并成一行，避免留白 */
.d-toprow { display: flex; align-items: center; gap: 14px; margin-bottom: 0; }
.d-toprow .d-broadcast { flex: 1; margin-bottom: 0; max-width: none; }
/* 详情页整体收紧上下留白 */
.content.detail-mode { padding-top: 12px; gap: 12px; }

/* 详情页活动播报条（含返回列表，通栏胶囊） */
.d-broadcast { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 9px 16px;
  background: linear-gradient(90deg, #F2FAF5, #EFF6FF); border: 1px solid var(--brand-line); border-radius: 99px;
  box-shadow: var(--shadow); min-width: 0; }
.dbc-back { margin-bottom: 0; align-self: center; flex: none; font-weight: 600; }
.dbc-div { flex: none; width: 1px; height: 16px; background: var(--brand-line); }
.dbc-ico { flex: none; font-size: 16px; animation: dbcShake 2.4s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes dbcShake { 0%, 78%, 100% { transform: rotate(0); } 82% { transform: rotate(-12deg); } 86% { transform: rotate(10deg); } 90% { transform: rotate(-8deg); } 94% { transform: rotate(6deg); } }
.dbc-win { flex: 1; height: 20px; overflow: hidden; min-width: 0; }
.dbc-track { display: inline-flex; white-space: nowrap; will-change: transform;
  animation: dbcMarquee var(--dbc-dur, 18s) linear infinite; }
.d-broadcast:hover .dbc-track { animation-play-state: paused; }
.dbc-seg { font-size: 12.8px; color: var(--txt); line-height: 20px; padding-right: 0; }
@keyframes dbcMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ 多角色 AI 客服面板（设计师/代做/会员） ============ */
.biz-hero-cta { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.biz-hero-cta span { font-size: 12.5px; opacity: .92; }
.btn--des { background: #fff; color: var(--brand-deep); border: 0; font-weight: 700; padding: 9px 18px; border-radius: 999px; cursor: pointer; box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); transition: .15s; }
.btn--des:hover { transform: translateY(-1px); background: var(--brand-soft); }
.d-short--des { grid-column: 1 / -1; background: var(--brand-soft); color: var(--brand-deep); border: 1px solid var(--brand-line); cursor: pointer; font-family: inherit; }
.d-short--des:hover { background: var(--brand-soft); transform: translateY(-1px); }

.agp { position: fixed; right: 26px; bottom: 98px; z-index: 880; width: 366px; max-height: min(600px, calc(100vh - 130px));
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 70px -26px rgba(var(--ink-rgb),.45); overflow: hidden; animation: agpIn .2s ease-out; }
.agp[hidden] { display: none !important; }
@keyframes agpIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.agp-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--brand-grad); color: #fff; }
.agp-ava { flex: none; width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 19px; }
.agp-hi { flex: 1; min-width: 0; }
.agp-hi b { display: block; font-size: 14.5px; font-weight: 700; }
.agp-hi i { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-style: normal; opacity: .92; margin-top: 2px; }
.agp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-bright); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.28); }
.agp-x { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 16px; cursor: pointer; line-height: 1; }
.agp-x:hover { background: rgba(255,255,255,.3); }
.agp-wx { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--brand-soft2); border-bottom: 1px solid var(--brand-line); }
.agp-wx[hidden] { display: none !important; }
.agp-wx-l { flex: 1; min-width: 0; }
.agp-wx-l b { display: block; font-size: 12.5px; color: var(--brand-deep); }
.agp-wx-l span { display: block; font-size: 12px; color: var(--txt2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.agp-wx-l span:hover { color: var(--brand-deep); text-decoration: underline dotted; }
.agp-wx-cp, .agp-wx-qr { flex: none; border: 1px solid var(--brand-line); background: #fff; color: var(--brand-deep); font-size: 11.5px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.agp-wx-cp:hover, .agp-wx-qr:hover { background: var(--brand-soft); }
.agp-msgs { flex: 1; overflow-y: auto; padding: 14px 14px 6px; background: var(--brand-soft2); min-height: 180px; }
/* 微信式行布局：头像 + 气泡 */
.agp-row { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 12px; }
.agp-row--me { flex-direction: row-reverse; }
.agp-avt { flex: none; width: 32px; height: 32px; border-radius: 8px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 17px; overflow: hidden; user-select: none; }
.agp-avt-img { width: 100%; height: 100%; object-fit: cover; }
.agp-b { position: relative; max-width: 80%; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.65; word-break: break-word; white-space: normal; }
.agp-b--ai { background: #fff; border: 1px solid var(--line); border-top-left-radius: 4px; color: var(--txt); }
.agp-b--me { background: var(--brand-grad); color: #fff; border-top-right-radius: 4px; }
/* 客服面板特殊卡片：微信二维码 / 定金支付 */
.agp-card { background: #fff; border: 1px solid var(--brand-line); box-shadow: 0 2px 10px rgba(var(--brand-rgb),.08); text-align: center; max-width: 260px; }
.ag-qr-wrap { display: grid; place-items: center; padding: 8px 0 2px; }
.ag-qr-wrap--lg { padding: 10px 0 4px; }
.ag-qr-img, .ag-qr-wrap--lg svg { width: 168px; height: 168px; border-radius: 10px; background: #fff; }
.ag-qr-cap { font-size: 11.5px; color: var(--txt3); line-height: 1.6; padding-bottom: 6px; }
.ag-qr-cap b { color: var(--txt1); }
.ag-pay-row { font-size: 12px; color: var(--txt3); margin: 3px 0; }
.ag-pay-btn { margin: 8px 0 4px; font-size: 13px; }
.ag-pay-modal { text-align: center; padding: 6px 4px 2px; }
.ag-pay-modal h3 { margin: 0 0 4px; font-size: 17px; }
.ag-pay-amount { font-size: 30px; font-weight: 800; color: #E6504A; margin: 6px 0 2px; }
.ag-pay-status { margin-top: 10px; font-size: 12px; color: var(--txt3); }
/* 气泡内微信号：高亮可点复制 */
.ag-wx-tap { color: var(--brand-deep); background: var(--brand-soft); border-bottom: 1px dashed var(--brand-line2); padding: 0 3px; border-radius: 4px; cursor: pointer; font-weight: 700; }
.ag-wx-tap:active { background: var(--brand-soft); }
.ag-wx-copy { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 5px 11px; font-size: 12px; font-weight: 700; color: #fff;
  background: var(--brand-grad); border: 0; border-radius: 999px; cursor: pointer; box-shadow: 0 2px 8px rgba(20,120,80,.18); transition: .15s; }
.ag-wx-copy b { font-weight: 800; letter-spacing: .3px; }
.ag-wx-copy:hover { filter: brightness(1.04); transform: translateY(-1px); }
.ag-wx-copy.done { background: var(--brand-soft); color: var(--brand-deep); box-shadow: none; }
.agp-typing .agp-b { display: inline-flex; gap: 4px; align-items: center; padding: 12px 14px; }
.agp-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--txt3); animation: agpBlink 1.1s infinite; }
.agp-typing span:nth-child(2) { animation-delay: .18s; }
.agp-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes agpBlink { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
.agp-chips { display: flex; gap: 6px; padding: 6px 12px 8px; flex-wrap: wrap; background: var(--brand-soft2); border-top: 1px solid var(--line); }
.agp-chip { border: 1px solid var(--line); background: #fff; color: var(--txt2); font-size: 12px; padding: 5px 10px; border-radius: 999px; cursor: pointer; transition: .14s; font-family: inherit; }
.agp-chip:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft2); }
.agp-in { display: flex; gap: 8px; padding: 10px 12px 12px; background: #fff; border-top: 1px solid var(--line); }
.agp-in input { flex: 1; min-width: 0; height: 38px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; font-size: 13px; outline: 0; background: var(--brand-soft2); color: var(--txt); }
.agp-in input:focus { border-color: var(--brand); background: #fff; }
.agp-in button { flex: none; height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--brand-grad); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.agp-qr-big { display: grid; place-items: center; padding: 6px 0 10px; }
.agp-qr-big img { width: 220px; height: 220px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
@media (max-width: 640px) {
  .agp { right: 10px; left: 10px; width: auto; bottom: 84px; max-height: calc(100vh - 110px); }
}

/* ============ 快速代做（一口价） ============ */
.d-long--quick { font-weight: 700; }
.d-subrow--mini { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line); gap: 10px; }
.d-short--mini { padding: 8px 6px; font-size: 12px; font-weight: 600; border-radius: 999px; border: none; letter-spacing: .2px; }
.d-short--mini:first-child { background: #FDF3E3; color: #A16207; }
.d-short--mini:last-child { background: #EAF2FE; color: #2563EB; }
.d-short--mini:hover { transform: translateY(-1px); filter: brightness(.985); }
/* 快速代做表单弹窗（精致版） */
.qm-form { display: flex; flex-direction: column; gap: 12px; margin: 14px 0; }
.qm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qm-f { display: flex; flex-direction: column; gap: 6px; }
.qm-f label { font-size: 12.5px; font-weight: 700; color: var(--txt2); }
.qm-f label i { color: #E11D48; font-style: normal; }
.qm-f input, .qm-f textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 13.5px; font-family: inherit; background: var(--bg); color: var(--txt); line-height: 1.55; transition: border-color .15s, box-shadow .15s, background .15s; }
.qm-f textarea { min-height: 92px; resize: vertical; }
.qm-f input::placeholder, .qm-f textarea::placeholder { color: var(--txt3); }
.qm-f input:focus, .qm-f textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.12); }
.qm-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: linear-gradient(135deg, var(--brand-soft), var(--brand-soft2)); border: 1px solid var(--brand-line); border-radius: 14px; padding: 12px 16px; margin: 2px 0 12px; flex-wrap: wrap; }
.qm-price-l { display: flex; flex-direction: column; gap: 3px; }
.qm-price-top { display: flex; align-items: baseline; gap: 8px; }
.qm-now { font-size: 26px; font-weight: 800; color: var(--brand-deep); letter-spacing: -.5px; }
.qm-old { font-size: 13px; color: var(--txt3); text-decoration: line-through; }
.qm-vip { font-size: 11px; font-weight: 700; background: linear-gradient(135deg, #F59E0B, #F97316); color: #fff; border-radius: 999px; padding: 3px 9px; }
.qm-price-r { font-size: 12px; color: var(--txt2); }
.qm-vip-btn { flex: none; display: flex; flex-direction: column; align-items: center; gap: 1px; border: 0; cursor: pointer; font-family: inherit; background: linear-gradient(135deg, #F59E0B, #F97316); color: #fff; font-size: 13px; font-weight: 800; border-radius: 11px; padding: 9px 16px; box-shadow: 0 8px 18px -8px rgba(245,158,11,.75); transition: .15s; }
.qm-vip-btn i { font-style: normal; font-size: 10.5px; font-weight: 600; opacity: .92; }
.qm-vip-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.qm-wx { font-size: 12.5px; color: var(--txt2); background: var(--bg); border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; }
.qm-wx code { font-weight: 700; color: var(--brand-deep); font-size: 13px; }
.qm-fix { font-size: 12.5px; color: var(--txt2); margin-bottom: 10px; }
.qm-agree { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--txt2); line-height: 1.6; margin-bottom: 12px; cursor: pointer; }
.qm-agree input { margin-top: 3px; flex: none; }
/* ============ 物流式代做进度时间线 ============ */
.mk-trace-wrap { margin-top: 4px; }
.mk-trace-wrap h4 { margin: 12px 0 8px; font-size: 13.5px; color: var(--txt); }
.mk-trace { list-style: none; margin: 0; padding: 0 0 0 4px; }
.mk-tr { position: relative; display: flex; gap: 10px; padding: 0 0 14px 18px; }
.mk-tr::before { content: ''; position: absolute; left: 5px; top: 14px; bottom: -2px; width: 2px; background: var(--line); }
.mk-tr:last-child::before { display: none; }
.mk-tr-dot { position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 999px; background: var(--card); border: 2px solid var(--line); }
.mk-tr.done .mk-tr-dot { background: var(--brand); border-color: var(--brand); }
.mk-tr.cur .mk-tr-dot { box-shadow: 0 0 0 4px rgba(var(--brand-rgb),.18); animation: mkPulse 1.6s ease-in-out infinite; }
@keyframes mkPulse { 0%,100% { box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.15); } 50% { box-shadow: 0 0 0 7px rgba(var(--brand-rgb),.05); } }
.mk-tr-b { display: flex; flex-direction: column; gap: 2px; }
.mk-tr-b b { font-size: 13px; color: var(--txt3); font-weight: 600; }
.mk-tr.done .mk-tr-b b { color: var(--txt); }
.mk-tr.cur .mk-tr-b b { color: var(--brand-deep); font-weight: 800; }
.mk-tr-note { font-size: 12px; color: var(--txt3); line-height: 1.5; }
.mk-tr-at { font-size: 11px; color: var(--txt3); opacity: .8; }
/* 个人中心 · 代做订单迷你进度条 */
.mk-prog { height: 6px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.mk-prog-bar { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-bright), var(--brand-deep)); transition: width .4s; }
.mk-tag-q { font-size: 10.5px; font-weight: 700; color: var(--brand-deep); background: var(--brand-soft); border-radius: 999px; padding: 2px 8px; }
@media (max-width: 560px) { .qm-grid { grid-template-columns: 1fr; } .qm-vip-btn { width: 100%; flex-direction: row; gap: 6px; } }

/* ============ 意见反馈弹窗（复用 qm 表单样式） ============ */
.fb-tip { font-size: 12px; color: var(--txt2); background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: 10px; padding: 8px 12px; margin: 2px 0 12px; line-height: 1.6; }
.fb-tip--warn { background: #FFF7E6; border-color: #FDE68A; color: #92400E; }

/* ============================================================
 * v3 动效与高级感层
 * ============================================================ */
html { scroll-behavior: smooth; }

/* 顶栏底部品牌渐变发丝线（玻璃拟态点睛） */
.topbar::after { content: ''; position: absolute; left: 24px; right: 24px; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand) 30%, var(--brand-bright) 70%, transparent);
  opacity: .30; pointer-events: none; }

/* 左侧菜单激活项：渐变指示条滑入 */
.menu .mi { position: relative; }
.menu .mi.on::before { content: ''; position: absolute; left: 2px; top: 22%; bottom: 22%; width: 3.5px; border-radius: 4px;
  background: var(--brand-grad); animation: miIn .28s cubic-bezier(.34,1.4,.64,1) both; }
@keyframes miIn { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

/* 内容区入场：fade-up 交错 */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.content > * { animation: fadeUp .45s ease both; }
.content > *:nth-child(2) { animation-delay: .05s; }
.content > *:nth-child(3) { animation-delay: .1s; }
.content > *:nth-child(n+4) { animation-delay: .15s; }

/* 卡片交错浮现 */
.grid .pcard { animation: fadeUp .5s ease both; }
.grid .pcard:nth-child(1) { animation-delay: .02s; } .grid .pcard:nth-child(2) { animation-delay: .06s; }
.grid .pcard:nth-child(3) { animation-delay: .1s; }  .grid .pcard:nth-child(4) { animation-delay: .14s; }
.grid .pcard:nth-child(5) { animation-delay: .18s; } .grid .pcard:nth-child(6) { animation-delay: .22s; }
.grid .pcard:nth-child(n+7) { animation-delay: .26s; }

/* 弹窗弹入 + 遮罩淡入 */
.modal-mask { animation: maskIn .22s ease both; }
@keyframes maskIn { from { opacity: 0; } to { opacity: 1; } }
.modal { animation: popIn .3s cubic-bezier(.34,1.45,.64,1) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

/* Toast 弹入 */
.toast.show, .toast[style*="block"], .toast.on { animation: toastIn .3s cubic-bezier(.34,1.45,.64,1) both; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* 加载中呼吸微光 */
.loading { animation: breath 1.4s ease-in-out infinite; }
@keyframes breath { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* Logo 悬浮轻转 */
.logo-img { transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.logo:hover .logo-img { transform: rotate(-7deg) scale(1.08); }

/* AI 悬浮球呼吸光环 */
.ai-fab > .ai-panel, .ai-fab { will-change: transform; }

/* 二级胶囊激活：平滑发光 */
.pill.on { animation: pillGlow .35s ease both; }
@keyframes pillGlow { from { box-shadow: 0 0 0 0 rgba(var(--brand-rgb), .0); } to { box-shadow: 0 6px 16px -8px var(--brand); } }

/* 滚动条统一细样式 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-line); }

/* 无障碍：跟随系统减少动效 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ============================================================
 * v4 推广中心 & 会员中心 重设计（皇家靛紫 · 转化导向）
 * ============================================================ */
/* ---- 未开通：招商 Hero ---- */
.pp-hero { position: relative; overflow: hidden; border-radius: 14px; padding: 20px 22px 18px;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 55%, var(--brand-bright) 100%);
  color: #fff; margin-bottom: 12px; }
.pp-hero-badge { display: inline-block; background: rgba(13,10,40,.3); border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px; padding: 3px 12px; font-size: 11.5px; letter-spacing: .5px; margin-bottom: 10px; }
.pp-hero h3 { font-size: 19px; line-height: 1.5; margin: 0 0 8px; font-weight: 700; }
.pp-hero h3 b { color: #FFD666; font-size: 24px; padding: 0 2px; }
.pp-hero p { font-size: 12.5px; opacity: .85; margin: 0 0 14px; }
.pp-steps { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pp-steps span { display: inline-flex; align-items: center; gap: 7px; background: rgba(13,10,40,.3);
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 5px 13px 5px 6px; font-size: 12.5px; }
.pp-steps span i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: #FFD666;
  color: #4A3FD9; font-weight: 700; font-size: 11.5px; display: inline-flex; align-items: center; justify-content: center; }
.pp-steps em { width: 14px; height: 1.5px; background: rgba(255,255,255,.45); }

/* ---- 未开通：双档位卡片 ---- */
.pp-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.pp-tier { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px;
  background: var(--card); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pp-tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--brand-line2); }
.pp-tier--hot { border: 1.5px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--brand-grad) border-box; }
.pp-tier-flag { position: absolute; top: -10px; right: 12px; font-style: normal; font-size: 11px; font-weight: 700;
  color: #4A3FD9; background: linear-gradient(135deg, #FFD666, #FFB84D); border-radius: 999px; padding: 3px 10px;
  box-shadow: 0 3px 8px -2px rgba(255,170,60,.5); }
.pp-tier-h { display: flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 700; color: var(--txt); }
.pp-tier-price { margin: 8px 0 10px; }
.pp-tier-price b { font-size: 26px; color: var(--brand); font-weight: 700; }
.pp-tier-price small { font-size: 12px; color: var(--txt3); margin-left: 3px; }
.pp-tier ul { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.pp-tier li { font-size: 12.5px; color: var(--txt2); line-height: 1.5; padding-left: 18px; position: relative; }
.pp-tier li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 700; }
.pp-tier li b { color: var(--brand); }
.pp-tier .btn { width: 100%; text-align: center; }
.pp-proof { text-align: center; font-size: 12px; color: var(--txt3); padding: 4px 0 2px; }
.pp-proof b { color: var(--brand); }

/* ---- 已开通：收益 Hero ---- */
.earn-hero { position: relative; overflow: hidden; border-radius: 14px; padding: 16px 20px;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 60%, var(--brand-bright) 100%);
  color: #fff; margin-bottom: 12px; }
.earn-hero-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.earn-hero-tier { background: rgba(13,10,40,.3); border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px; padding: 3px 12px; font-size: 12px; }
.earn-hero-code { font-size: 12px; opacity: .9; }
.earn-hero-code b { color: #FFD666; letter-spacing: 1px; font-size: 13px; cursor: pointer; }
.earn-hero-main { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.earn-hero-main small { font-size: 12px; opacity: .8; }
.earn-hero-main b { font-size: 34px; font-weight: 700; letter-spacing: .5px; text-shadow: 0 2px 10px rgba(0,0,0,.18); }
.earn-hero-avail { display: flex; align-items: center; justify-content: space-between;
  border-top: 1px dashed rgba(255,255,255,.3); padding-top: 11px; font-size: 13px; }
.earn-hero-avail b { color: #FFD666; font-size: 16px; margin-left: 4px; }
.earn-hero-wd { background: #fff !important; color: var(--brand) !important; border: none !important; font-weight: 700; }

/* ---- 会员中心弹窗 ---- */
.mem-hero { position: relative; overflow: hidden; border-radius: 14px; padding: 20px 22px 16px;
  background: linear-gradient(135deg, #1E1B4B 0%, #4A3FD9 55%, #6D5BFF 100%); color: #fff; margin: 10px 0 12px; }
.mem-hero--vip { background: linear-gradient(135deg, #4A2B0A 0%, #B07514 55%, #E8A93C 100%); }
.mem-hero-lv { font-size: 21px; font-weight: 700; margin-bottom: 5px; letter-spacing: .5px; }
.mem-hero-exp { font-size: 12.5px; opacity: .88; margin-bottom: 13px; }
.mem-hero-exp b { color: #FFD666; font-size: 14px; }
.mem-hero-bens { display: flex; gap: 8px; flex-wrap: wrap; }
.mem-hero-bens span { background: rgba(13,10,40,.3); border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px; padding: 4px 12px; font-size: 12px; }
.mem-cta-note { background: var(--brand-soft2); border: 1px dashed var(--brand-line2); color: var(--brand);
  border-radius: 10px; padding: 8px 12px; font-size: 12.5px; margin-bottom: 10px; }
.lv-item--buy { border-color: var(--brand-line); background: linear-gradient(180deg, var(--brand-soft2), transparent); }
.lv-item--top { border: 1.5px solid transparent;
  background: linear-gradient(var(--brand-soft2), var(--brand-soft2)) padding-box, var(--brand-grad) border-box; }

/* 视频课试看按钮 */
.d-long--demo { background: #fff !important; color: var(--brand) !important; border: 1.5px solid var(--brand-line) !important; }

/* ===== 邮寄按钮（打印资料 / 资料U盘） ===== */
.btn--mail { background: var(--card); color: #0e9f6e; border: 1.5px solid #0e9f6e; box-shadow: none; }
.btn--mail:hover { background: rgba(14,159,110,.06); }
