/* site.css — 智简官网应用页共享样式（用户中心 / 简历管理 / 求职主页）
   设计语言与 landing.html 一致：蓝紫主题、浅色卡片、圆角 */

* { box-sizing: border-box; margin: 0; padding: 0; font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
:root {
  --blue: #4f6ef7; --blue2: #3d55d6; --ink: #1f2430; --sub: #5a6478; --line: #e5e8f0;
  --ok: #16a34a; --warn: #d97706; --bad: #dc2626; --bg: #f7f9fd;
}
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); line-height: 1.65; min-height: 100vh; display: flex; flex-direction: column; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background:
  radial-gradient(560px 300px at 12% -4%, rgba(47,125,246,.12), transparent 60%),
  radial-gradient(520px 320px at 88% 2%, rgba(124,77,216,.10), transparent 60%); }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue2); }

/* ---- 顶部导航 ---- */
.nav { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50; }
.nav-in { max-width: 1060px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 8px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16.5px; color: var(--ink); margin-right: 10px; }
.logo { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), #7c4dd8);
  color: #fff; display: grid; place-items: center; font-size: 15px; }
.logo svg { display: block; }
.ver-badge { font-size: 11.5px; font-weight: 600; color: var(--sub); background: rgba(120,140,180,.12);
  padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.ver-badge:empty { display: none; }
.nav a.nl { color: var(--sub); font-size: 14px; padding: 7px 13px; border-radius: 999px; transition: background .15s, color .15s; }
.nav a.nl:hover { background: #eef2ff; color: var(--blue); }
.nav a.nl.on { background: #eef2ff; color: var(--blue); font-weight: 700; }
.nav .sp { flex: 1; }
.nav .u { font-size: 13px; color: var(--sub); }

/* ---- 主体 ---- */
.wrap { max-width: 1060px; margin: 0 auto; padding: 26px 20px 40px; width: 100%; flex: 1; }
.page-t { font-size: 24px; font-weight: 700; }
.page-s { color: var(--sub); font-size: 13.5px; margin: 4px 0 22px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin-bottom: 16px; }
.card h3 { font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card h3 .n { margin-left: auto; font-size: 12px; color: #9aa4b8; font-weight: 400; }
.muted { color: var(--sub); font-size: 13px; }
.tiny { color: #9aa4b8; font-size: 12px; }

/* ---- 表单 ---- */
.fld { margin-bottom: 12px; }
.fld label { display: block; font-size: 12.5px; color: var(--sub); font-weight: 600; margin-bottom: 5px; }
.inp { width: 100%; border: 1px solid #d5dced; border-radius: 10px; background: #fff; color: var(--ink);
  font-size: 14.5px; padding: 10px 13px; outline: none; transition: border-color .15s, box-shadow .15s; }
.inp:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79,110,247,.14); }
textarea.inp { min-height: 90px; resize: vertical; line-height: 1.6; }
.row2 { display: flex; gap: 10px; flex-wrap: wrap; }
.row2 > * { flex: 1; min-width: 180px; }

/* ---- 按钮 ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: none; cursor: pointer;
  border-radius: 10px; padding: 10px 18px; font-size: 14px; font-weight: 700; min-height: 42px;
  background: #eef2ff; color: var(--blue); transition: transform .12s, opacity .15s, box-shadow .15s; }
.btn:hover { opacity: .92; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.pri { background: linear-gradient(135deg, var(--blue), #2b5fd9); color: #fff; box-shadow: 0 6px 18px rgba(47,110,247,.28); }
.btn.ghost { background: #fff; border: 1px solid #d5dced; color: var(--sub); }
.btn.dgr { background: #fee2e2; color: var(--bad); }
.btn.sm { padding: 7px 13px; min-height: 36px; font-size: 13px; border-radius: 9px; }
.btn.blk { width: 100%; }

/* ---- 徽章 ---- */
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 700; }
.badge.vip { background: #fef3c7; color: #b45309; }
.badge.free { background: #eef2f7; color: #64748b; }
.badge.ok { background: #dcfce7; color: var(--ok); }
.badge.info { background: #e0f2fe; color: #0369a1; }

/* ---- 提示条 ---- */
.tipbar { border-radius: 12px; padding: 11px 15px; font-size: 13px; margin-bottom: 14px; line-height: 1.7; }
.tipbar.info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.tipbar.warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.tipbar.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---- Toast ---- */
.toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 99;
  background: rgba(23,32,52,.94); color: #fff; font-size: 13.5px; font-weight: 600; padding: 11px 20px;
  border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.25); display: none; max-width: 86vw; text-align: center; }
.toast.show { display: block; animation: tIn .18s ease; }
.toast.err { background: rgba(153,27,27,.95); }
@keyframes tIn { from { transform: translateX(-50%) translateY(12px); opacity: 0; } to { transform: translateX(-50%) translateY(0); opacity: 1; } }

/* ---- 进度条 ---- */
.pbar { height: 9px; border-radius: 999px; background: #edf1f8; overflow: hidden; }
.pbar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), #7c4dd8); transition: width .3s; }

/* ---- 字段编辑（简历管理） ---- */
.sect { margin-bottom: 14px; }
.sect > summary { font-weight: 700; font-size: 14.5px; cursor: pointer; padding: 9px 2px; display: flex; align-items: center; gap: 8px; }
.sect > summary .n { color: #9aa4b8; font-size: 12px; font-weight: 400; margin-left: auto; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 14px; padding: 4px 2px 10px; }
.fitem label { display: block; font-size: 12px; color: var(--sub); margin-bottom: 4px; font-weight: 600; }
.fitem label em { color: #9aa4b8; font-style: normal; font-weight: 400; }
.fwide { grid-column: 1 / -1; }
.fhint { font-size: 11.5px; color: #b45309; margin-top: 3px; }
.req-star { color: var(--bad); }

/* 经历卡片 */
.litem { background: #f9fbff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; margin-bottom: 10px; }
.litem .lh { display: flex; align-items: center; margin-bottom: 9px; font-weight: 700; font-size: 13.5px; color: var(--sub); }
.litem .lh .btn { margin-left: auto; }
.litem .fgrid { padding: 0; }

/* ---- 列表行（通用） ---- */
.lrow { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px dashed var(--line); }
.lrow:last-child { border-bottom: none; }
.lrow .info { flex: 1; min-width: 0; }
.lrow .t1 { font-size: 14px; font-weight: 700; }
.lrow .t2 { font-size: 12px; color: var(--sub); margin-top: 1px; }

/* ---- 功能预告 ---- */
.soon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.soon { background: #fff; border: 1px dashed #c7d2f5; border-radius: 14px; padding: 16px; position: relative; }
.soon .tag { position: absolute; top: -10px; right: 14px; background: #eef2ff; color: var(--blue);
  font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 10px; }
.soon b { font-size: 14px; display: block; margin-bottom: 5px; }
.soon p { font-size: 12.5px; color: var(--sub); }

/* ---- CSDN 式页脚 ---- */
footer { background: #fafbfd; border-top: 1px solid var(--line); margin-top: auto; }
.foot-in { max-width: 1060px; margin: 0 auto; padding: 26px 20px 20px; text-align: center; }
.foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 6px; margin-bottom: 10px; }
.foot-links a, .foot-links span.fn { color: #7c8698; font-size: 13px; padding: 4px 10px; border-radius: 6px; }
.foot-links a:hover { color: var(--blue); background: #f0f4ff; }
.foot-meta { color: #9aa4b8; font-size: 12px; line-height: 2; }
.foot-meta a { color: inherit; }
.foot-meta a:hover { color: var(--blue); }

/* ---- 登录门槛 ---- */
.gate { max-width: 420px; margin: 8vh auto 0; text-align: center; }
.gate .big { font-size: 44px; margin-bottom: 10px; }
.gate h2 { font-size: 19px; margin-bottom: 8px; }
.gate p { color: var(--sub); font-size: 13.5px; margin-bottom: 20px; }

/* ---- 响应式 ---- */
@media (max-width: 640px) {
  .nav-in { flex-wrap: wrap; }
  .nav a.nl { padding: 6px 9px; font-size: 13px; }
  .page-t { font-size: 20px; }
  .card { padding: 16px; }
}

/* ===== 自制下拉（网页版简历管理 · 与插件端同款，2026-10-09） ===== */
@keyframes panelIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.selbox { position: relative; }
.selbox .sel-cur { border: 1px solid var(--line); border-radius: 10px; padding: 9px 26px 9px 12px;
  font-size: 13.5px; background: #fbfdff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%234f6ef7' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 9px center;
  background-size: 10px; color: var(--ink); text-align: center; cursor: pointer; user-select: none;
  transition: border-color .15s, box-shadow .15s, background-color .15s; }
.selbox.empty .sel-cur { color: #a8b6cc; }
.selbox:hover .sel-cur, .selbox.open .sel-cur { border-color: var(--blue); background-color: #fff; }
.selbox.open .sel-cur { box-shadow: 0 0 0 3px rgba(79, 110, 247, .12); }
.selbox:focus-visible .sel-cur { outline: none; border-color: var(--blue); }
.sel-panel { position: absolute; top: calc(100% + 5px); left: 0; right: 0; z-index: 1200;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 5px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .14); max-height: 246px; overflow-y: auto; animation: panelIn .16s ease; }
.sel-opt { position: relative; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: #33445f;
  text-align: center; cursor: pointer; transition: background .12s, color .12s, box-shadow .12s; }
.sel-opt.hl { background: linear-gradient(135deg, var(--blue), #7c4dd8); color: #fff; box-shadow: 0 3px 10px rgba(79, 110, 247, .3); }
.sel-opt.on { background: linear-gradient(135deg, var(--blue), #7c4dd8); color: #fff; }
.sel-opt.on.hl { filter: brightness(1.08); }

/* ===== 会员高档主题（网页版简历管理，2026-10-09） ===== */
body.vip { background: linear-gradient(160deg, #f4f0ff 0%, #ece4ff 45%, #f7f3ea 100%); }
body.vip .card { border: 1px solid rgba(124,77,216,.16); box-shadow: 0 6px 22px rgba(76,47,143,.10); }
body.vip .card h3 { color: #4c2f8f; }
body.vip .card h3::before { content: "✦ "; color: #b8860b; }
body.vip .btn.pri { background: linear-gradient(135deg, #7c4dd8, #4c2f8f); }
body.vip .pbar i { background: linear-gradient(90deg, #f7c948, #b8860b); }
body.vip .badge.ok { background: linear-gradient(135deg, #f7c948, #f59e0b); color: #3b2a68; }


/* ===== 求职主页：求职进度 + 校招雷达（2026-10-11 移植自扩展端旧版 home）===== */
.tk-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.tk-stat { border-radius: 12px; padding: 12px 10px; text-align: center; border: 1px solid var(--line); background: #fbfcff; }
.tk-stat .n { font-size: 22px; font-weight: 800; }
.tk-stat .l { font-size: 12px; color: var(--sub); margin-top: 2px; }
.tk-stat.s-applied .n { color: #4f6ef7; } .tk-stat.s-written .n { color: #d97706; }
.tk-stat.s-interview .n { color: #7c4dd8; } .tk-stat.s-offer .n { color: #16a34a; }
.tk-form { display: grid; grid-template-columns: 1.4fr 1.2fr .8fr 1fr auto; gap: 8px; margin-bottom: 12px; }
.tk-form input, .tk-form select { border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; font-size: 13px;
  background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.tk-form input:focus, .tk-form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79,110,247,.12); }
.tk-list { display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow-y: auto; }
.tk-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; transition: background .15s; }
.tk-row:hover { background: #f8faff; }
.tk-row.passed { opacity: .5; }
.tk-row .tk-main { flex: 1; min-width: 0; }
.tk-row .tk-main b { font-size: 13.5px; margin-right: 8px; }
.tk-row .tk-main span { font-size: 12px; color: var(--sub); }
.tk-pill { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tk-pill.s-applied { background: #eef2ff; color: #4f6ef7; }
.tk-pill.s-written { background: #fef3e2; color: #d97706; }
.tk-pill.s-interview { background: #f3effe; color: #7c4dd8; }
.tk-pill.s-offer { background: #e8f7ee; color: #16a34a; }
.tk-pill.s-done { background: #f0f2f6; color: #5a6478; }
.tk-del { border: none; background: none; color: #b6c0d2; cursor: pointer; font-size: 13px; padding: 4px 6px; border-radius: 6px; }
.tk-del:hover { color: var(--bad); background: #fdeeee; }
.tk-empty { font-size: 13px; color: var(--sub); text-align: center; padding: 18px 0; }
.rd-bar { display: grid; grid-template-columns: 1fr 1fr 1fr 1.6fr; gap: 8px; margin-bottom: 10px; }
.rd-bar select, .rd-bar input { border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; font-size: 13px;
  background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.rd-bar select:focus, .rd-bar input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79,110,247,.12); }
.rd-count { font-size: 12px; color: var(--sub); margin-bottom: 10px; }
.rd-note { font-size: 12px; color: var(--sub); line-height: 1.7; background: rgba(47, 125, 246, .05);
  border: 1px dashed #c7d2f5; border-radius: 10px; padding: 9px 13px; margin-bottom: 12px; }
.rd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.rd-co { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fff; display: flex;
  flex-direction: column; gap: 8px; transition: box-shadow .18s, transform .18s; }
.rd-co:hover { box-shadow: 0 8px 24px rgba(79,110,247,.12); transform: translateY(-2px); }
.rd-head { display: flex; align-items: center; gap: 10px; }
.rd-ava { width: 38px; height: 38px; border-radius: 10px; flex: 0 0 auto; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 16px; background: linear-gradient(135deg, var(--blue), #7c4dd8); }
.rd-head b { font-size: 14.5px; display: block; }
.rd-head .ddl { font-size: 11.5px; color: var(--warn); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag-x { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: #eef2ff; color: #4f6ef7; }
.tag-x.t2 { background: #f3effe; color: #7c4dd8; }
.tag-x.t3 { background: #e8f7ee; color: #16a34a; }
.rd-row { font-size: 12.5px; color: var(--ink); display: flex; gap: 6px; line-height: 1.6; }
.rd-row > span { color: var(--sub); flex: 0 0 auto; }
.rd-row .hot i { display: inline-block; width: 14px; height: 6px; border-radius: 3px; background: #e5e8f0; margin-right: 3px; }
.rd-row .hot i.on { background: linear-gradient(90deg, #f97316, #f59e0b); }
.rd-go { font-size: 12.5px; font-weight: 600; margin-top: 2px; }
@media (max-width: 760px) {
  .tk-stats { grid-template-columns: repeat(2, 1fr); }
  .tk-form { grid-template-columns: 1fr 1fr; }
  .rd-bar { grid-template-columns: 1fr 1fr; }
  .cp-hero { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hm-tabs { gap: 4px; }
  .hm-tab { padding: 8px 12px; font-size: 13px; }
}

/* ===== 求职主页子导航（2026-10-10）：完成度 / 校招雷达 / 求职进度 / 功能预告 ===== */
.hm-tabs { display: flex; gap: 8px; margin-bottom: 16px; border-bottom: 1px solid var(--line); padding-bottom: 0; flex-wrap: wrap; }
.hm-tab { border: none; background: none; cursor: pointer; font: 600 14px/1 inherit; color: var(--sub);
  padding: 11px 16px; position: relative; transition: color .15s; }
.hm-tab::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2.5px;
  border-radius: 999px; background: var(--blue); transform: scaleX(0); transition: transform .2s cubic-bezier(.4,0,.2,1); }
.hm-tab:hover { color: var(--ink); }
.hm-tab.on { color: var(--blue); }
.hm-tab.on::after { transform: scaleX(1); }

/* 完成度主视图：大数字 + 通栏条（不再右侧悬浮徽章） */
.cp-hero { display: flex; align-items: center; gap: 22px; padding: 6px 0 16px; }
.cp-num { font-size: 44px; font-weight: 800; line-height: 1; color: var(--blue); letter-spacing: -1px;
  font-variant-numeric: tabular-nums; min-width: 108px; text-align: right; }
.cp-num.good { color: var(--ok); }
.cp-num i { font-style: normal; font-size: 20px; font-weight: 700; margin-left: 2px; }
.cp-side { flex: 1; min-width: 0; }
.cp-bar { height: 12px; }
.cp-cap { font-size: 12.5px; color: var(--sub); margin-top: 7px; }
.cp-secs .cp-badge { flex: 0 0 auto; min-width: 58px; justify-content: center; font-variant-numeric: tabular-nums; }

/* 专业版锁定提示（免费用户看日历不能录入） */
.tk-lock { display: flex; align-items: center; gap: 12px; background: #fbfcff; border: 1px dashed #c7d2f5;
  border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; flex-wrap: wrap; }
.tk-lock > div { flex: 1; min-width: 200px; }
.tk-lock b { display: block; font-size: 13.5px; }
.tk-lock span { font-size: 12px; color: var(--sub); }

/* 求职日历 */
.cal-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cal-head b { font-size: 15px; flex: 1; text-align: center; }
.cal-nav { border: 1px solid var(--line); background: #fff; color: var(--sub); width: 32px; height: 32px;
  border-radius: 9px; cursor: pointer; font-size: 16px; line-height: 1; transition: border-color .15s, color .15s; }
.cal-nav:hover { border-color: var(--blue); color: var(--blue); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-wd { font-size: 11.5px; color: #9aa4b8; text-align: center; padding: 4px 0; font-weight: 600; }
.cal-day { min-height: 62px; border: 1px solid var(--line); border-radius: 9px; padding: 5px 6px;
  background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; overflow: hidden; }
.cal-day.dim { background: #fafbfd; cursor: default; opacity: .55; }
.cal-day:not(.dim):hover { border-color: var(--blue); }
.cal-day.today { background: #eef4ff; border-color: #b9c9ff; }
.cal-day.sel { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(79,110,247,.18); }
.cal-day .d { font-size: 12px; font-weight: 600; color: var(--ink); }
.cal-day.today .d { color: var(--blue); }
.cal-day .evs { display: flex; flex-direction: column; gap: 2px; margin-top: 3px; }
.cal-day .ev { font-size: 10.5px; padding: 1px 5px; border-radius: 5px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; font-weight: 600; }
.cal-day .ev.p { opacity: .45; text-decoration: line-through; }
.cal-day .ev.s-applied { background: #eef2ff; color: #4f6ef7; }
.cal-day .ev.s-written { background: #fef3e2; color: #d97706; }
.cal-day .ev.s-interview { background: #f3effe; color: #7c4dd8; }
.cal-day .ev.s-offer { background: #e8f7ee; color: #16a34a; }
.cal-day .ev.s-done { background: #f0f2f6; color: #5a6478; }
.cal-day .ev.more { background: #f0f2f6; color: var(--sub); }
.cal-sum { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: var(--ink); }
.sum-item { display: inline-flex; align-items: center; gap: 6px; }
.sum-item b { font-variant-numeric: tabular-nums; }
.sum-item .lg { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.sum-item .lg.applied { background: #4f6ef7; } .sum-item .lg.written { background: #d97706; }
.sum-item .lg.interview { background: #7c4dd8; } .sum-item .lg.offer { background: #16a34a; }
.sum-item.dim { color: #9aa4b8; }
@media (max-width: 640px) {
  .cal-day { min-height: 48px; padding: 3px 4px; }
  .cal-day .ev { font-size: 9.5px; }
}

/* ===== 求职进度：严格套用插件端旧版 home.css 调好的样式（2026-10-10） ===== */
/* 配色取自插件端 --blue #2f7df6 / --violet #6366f1 / --green #0c9f6e */
.tk-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 14px; }
.tk-stat { border: 1px solid #e4eafb; border-radius: 13px; padding: 13px 6px; text-align: center; background: #fff; transition: .15s; }
.tk-stat:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(67,84,168,.1); }
.tk-stat .n { font-size: 22px; font-weight: 800; }
.tk-stat .l { font-size: 11.5px; color: var(--sub); margin-top: 2px; }
.tk-stat.s-applied .n { color: #2f7df6; } .tk-stat.s-written .n { color: #b45309; }
.tk-stat.s-interview .n { color: #7c3aed; } .tk-stat.s-offer .n { color: #0c9f6e; }
.tk-add { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.tk-add input, .tk-add select { border: 1px solid #d3ddf2; border-radius: 10px; padding: 9px 12px; font-size: 13px;
  background: #fbfdff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.tk-add input:focus, .tk-add select:focus { outline: none; border-color: #2f7df6; box-shadow: 0 0 0 3px rgba(47,125,246,.12); background: #fff; }
.tk-list { display: flex; flex-direction: column; gap: 8px; }
.tk-item { border: 1px solid #e4eafb; border-radius: 13px; padding: 11px 14px; background: #fff; display: flex;
  align-items: center; gap: 10px; flex-wrap: wrap; transition: .15s; }
.tk-item:hover { border-color: #c9d9ff; box-shadow: 0 5px 14px rgba(67,84,168,.08); }
.tk-item.passed { opacity: .62; background: #f8fafd; }
.passed-tag { font-size: 10.5px; background: #e2e8f0; color: #64748b; border-radius: 5px; padding: 2px 7px; font-weight: 700; }
.tk-item .st { font-size: 11px; border-radius: 999px; padding: 3px 11px; color: #fff; font-weight: 700; flex: none; }
.st.applied { background: #2f7df6; } .st.written { background: #d97706; } .st.interview { background: #7c3aed; }
.st.offer { background: #059669; } .st.done { background: #94a3b8; }
.tk-item b { font-size: 13.5px; }
.tk-item .role { font-size: 12px; color: var(--sub); }
.tk-item .dt { font-size: 11.5px; color: var(--sub); margin-left: auto; }
.tk-item .ops { display: flex; gap: 6px; flex-wrap: wrap; }
.tk-item .ops button { border: 1.5px solid #d3ddf2; background: #fff; border-radius: 8px; padding: 4px 10px;
  font-size: 11.5px; color: #2f7df6; cursor: pointer; font-weight: 600; transition: .12s; }
.tk-item .ops button:hover { border-color: #2f7df6; transform: translateY(-1px); }
.tk-empty { text-align: center; color: var(--sub); font-size: 13px; padding: 18px 0; }
/* 日历（插件端同款：今天渐变底色 + "今"徽标，选中紫色锁定，悬停轻放大） */
.cal-grid { gap: 5px; }
.cal-day { min-height: 54px; border: 1.5px solid #e4eafb; border-radius: 9px; background: #fff; padding: 4px 6px;
  font-size: 11px; cursor: pointer; transition: .12s; position: relative; }
.cal-day:hover { border-color: #a8c3f5; background: #f7faff; transform: scale(1.03); }
.cal-day.today { background: linear-gradient(160deg, #e8f1ff, #f0ecff); border-color: #2f7df6; }
.cal-day.today .d::after { content: "今"; font-size: 9px; background: #2f7df6; color: #fff; border-radius: 4px;
  padding: 0 3px; margin-left: 3px; font-weight: 700; }
.cal-day.sel { border-color: #6366f1; background: linear-gradient(160deg, #f3ecff, #fdf2ff); box-shadow: 0 0 0 3px rgba(139,92,246,.25); }
.cal-day.dim { opacity: .35; }
.cal-day .d { font-weight: 700; font-size: 11.5px; }
.cal-day .ev { color: #fff; }
.cal-day .ev.more { background: #cbd5e1; color: #475569; }
/* 图例色点 + 本月汇总（插件端同款：渐变底虚线框） */
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; }
.lg.applied { background: #2f7df6; } .lg.written { background: #d97706; }
.lg.interview { background: #7c3aed; } .lg.offer { background: #059669; } .lg.done { background: #94a3b8; }
.month-sum { margin-top: 12px; background: linear-gradient(135deg, #f0f5ff, #fdf4ff); border: 1px dashed #c9d4f5;
  border-radius: 12px; padding: 12px 15px; }
.sum-title { font-size: 12.5px; font-weight: 800; color: #43507a; margin-bottom: 8px; }
.sum-body { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; align-items: center; }
.sum-item { display: inline-flex; align-items: center; font-weight: 600; color: #43507a; }
.sum-item b { font-size: 18px; margin-right: 4px; color: #1d2740; font-variant-numeric: tabular-nums; }
.sum-item.dim { color: #97a3c2; font-weight: 500; }
@media (max-width: 640px) {
  .cal-day:hover { transform: none; }
  .tk-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 会员条幅（插件端用户中心同款：免费蓝渐变 / 会员紫夜空+金描边+皇冠） ===== */
.hero-band { display: flex; align-items: center; gap: 16px; background: linear-gradient(120deg, #2f7df6, #6366f1);
  border-radius: 16px; padding: 20px 24px; color: #fff; box-shadow: 0 10px 30px rgba(47,125,246,.3);
  margin-bottom: 16px; transition: background .4s ease, box-shadow .4s ease; }
.hb-avatar { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.7); display: grid; place-items: center;
  font-size: 22px; font-weight: 800; flex: none; }
.hero-band .who b { font-size: 16px; display: block; }
.hero-band .who p { font-size: 12px; opacity: .85; margin-top: 2px; }
.hero-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.hero-band .plan { text-align: right; }
.hero-band .plan .badge { display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px; padding: 3px 14px; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #fff; }
.hero-band .plan p { font-size: 11.5px; opacity: .85; margin-top: 4px; }
.acct-sep { width: 1px; height: 34px; background: rgba(255,255,255,.35); flex: none; }
.btn-light { display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 999px; padding: 8px 18px;
  font-size: 13px; font-weight: 700; cursor: pointer; transition: .15s; text-decoration: none; white-space: nowrap; }
.btn-light:hover { background: rgba(255,255,255,.28); color: #fff; }
.btn-light.hot { background: rgba(255,255,255,.3); }
.vip-crown { flex: none; display: inline-flex; }
/* 专业版：紫夜空 + 金徽章 + 皇冠悬浮 */
.hero-band.vip-hero { background: linear-gradient(120deg, #2a1a54 0%, #4c2f8f 55%, #7c4dd8 100%);
  box-shadow: 0 10px 34px rgba(124,77,216,.45), inset 0 0 0 1.5px rgba(247,201,72,.55); }
.hero-band.vip-hero .plan .badge { background: linear-gradient(135deg, #f7c948, #f59e0b); color: #3b2a68;
  border-color: rgba(255,235,170,.9); box-shadow: 0 0 16px rgba(247,201,72,.85); letter-spacing: 2px; }
.hero-band.vip-hero .plan p { color: #ffe9b3; opacity: 1; }
.hero-band.vip-hero .vip-crown { color: #f7c948; filter: drop-shadow(0 0 8px rgba(247,201,72,.95));
  animation: crownFloat 2.6s ease-in-out infinite; }
@keyframes crownFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (max-width: 640px) {
  .hero-band { flex-wrap: wrap; padding: 16px; gap: 12px; }
  .hero-right { margin-left: 0; width: 100%; justify-content: space-between; }
  .acct-sep { display: none; }
}

/* ===== 滑动下拉 + 自定义日期选择器（插件端同款） ===== */
.ptag-drop { position: relative; display: inline-block; vertical-align: middle; }
.ptag-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer;
  border: 1px solid #d3ddf2; border-radius: 10px; padding: 8px 12px;
  font: 600 13px/1.3 inherit; color: var(--ink); background: #fbfdff; min-width: 132px;
  transition: border-color .15s, box-shadow .15s; }
.ptag-btn:hover, .ptag-drop.open .ptag-btn { border-color: #2f7df6; }
.ptag-drop.open .ptag-btn { box-shadow: 0 0 0 3px rgba(47, 125, 246, .14); }
.ptag-arrow { display: inline-flex; color: #2f7df6; transition: transform .2s ease; font-size: 15px; }
.ptag-drop.open .ptag-arrow { transform: rotate(90deg); }
.ptag-list { position: absolute; left: 0; right: 0; top: calc(100% + 5px); z-index: 60;
  background: #fff; border: 1px solid #e4eafb; border-radius: 10px;
  box-shadow: 0 10px 26px rgba(36, 51, 74, .16); padding: 3px; animation: panelIn .16s ease; }
.ptag-pill { position: absolute; left: 3px; height: 30px; width: 0; border-radius: 8px;
  background: #eaf2ff; pointer-events: none; transition: top .18s ease, width .18s ease; }
.ptag-item { position: relative; z-index: 1; display: block; width: 100%; border: none; background: none;
  cursor: pointer; padding: 7px 9px; border-radius: 8px; text-align: left;
  font: 600 12.5px/1.3 inherit; color: var(--ink); transition: color .15s; }
.ptag-item.hot, .ptag-item.on { color: #2f7df6; }
.datepick { position: relative; display: inline-block; vertical-align: middle; }
.dp-show { border: 1px solid #d3ddf2; border-radius: 10px; background: #fbfdff;
  color: var(--ink); font-size: 12.5px; padding: 8px 30px 8px 12px; cursor: pointer;
  transition: border-color .15s, box-shadow .15s; position: relative; min-width: 108px; box-sizing: border-box; }
.dp-show::after { content: ""; position: absolute; right: 11px; top: 50%; margin-top: -3px;
  width: 8px; height: 6px; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%232f7df6' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center/contain; }
.dp-show:hover { border-color: #2f7df6; background: #fff; }
.dp-show.empty { color: #a8b6cc; }
.dp-panel { position: absolute; top: calc(100% + 6px); left: 0; width: 252px;
  background: #fff; border: 1px solid #dde4f0; border-radius: 12px;
  padding: 10px; z-index: 1000; box-shadow: 0 12px 32px rgba(67,84,168,.16); animation: panelIn .18s ease; }
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: 1px; margin-bottom: 8px; }
.dp-nav { border: none; background: none; color: #2f7df6; font-size: 14px; line-height: 1;
  padding: 4px 7px; cursor: pointer; border-radius: 7px; transition: .15s; }
.dp-nav:hover { background: #e8f1ff; }
.dp-head b { color: #1d6fd4; font-weight: 600; font-size: 13px; cursor: pointer; padding: 2px 4px; border-radius: 6px; transition: .15s; }
.dp-head b:hover { background: #e8f1ff; }
.dp-head b.on, .dp-head b.dp-d { color: #6366f1; cursor: default; }
.dp-range { color: #1d6fd4; font-weight: 600; font-size: 13px; }
.dp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.dp-grid.d7 { grid-template-columns: repeat(7, 1fr); }
.dp-week { color: #8a93ad; font-size: 11px; text-align: center; padding: 3px 0; }
.dp-cell { border: none; background: none; color: #232f4e; font-size: 12.5px; padding: 6px 4px;
  border-radius: 7px; cursor: pointer; text-align: center; transition: .12s; font-family: inherit; }
.dp-cell:hover { background: #e8f1ff; }
.dp-cell.on { background: linear-gradient(135deg, #2f7df6, #6366f1); color: #fff; font-weight: 700;
  box-shadow: 0 2px 8px rgba(47, 125, 246, .35); }
.tk-add .ptag-btn, .tk-add .dp-show { height: 38px; }

/* ===== 功能预告：三列大卡（介绍更充分） ===== */
.soon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.soon { background: #fff; border: 1px dashed #c7d2f5; border-radius: 14px; padding: 22px 20px 20px; position: relative; }
.soon .tag { position: absolute; top: -10px; right: 16px; background: #eef2ff; color: var(--blue);
  font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 11px; }
.soon b { font-size: 15px; display: block; margin-bottom: 8px; }
.soon p { font-size: 12.5px; color: var(--sub); line-height: 1.75; }
@media (max-width: 860px) { .soon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .soon-grid { grid-template-columns: 1fr; } }

/* ===== 右上角用户区（头像 + 用户名，点击跳用户中心） ===== */
.nav .u .nav-user { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 5px;
  border-radius: 999px; color: var(--ink); font-size: 13px; font-weight: 600; transition: background .15s; }
.nav .u .nav-user:hover { background: #eef2ff; }
.nav-ava { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: block;
  border: 1.5px solid #d9e2f5; background: #fff; }

/* ===== 用户中心 · 账户概览（头像 + 用户名为主体的两行结构） ===== */
.acct-hero { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.acct-hero .ah-ava { width: 62px; height: 62px; border-radius: 50%; overflow: hidden; flex: none;
  cursor: pointer; position: relative; border: 2px solid #d9e2f5; background: #fff; display: block; }
.acct-hero .ah-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acct-hero .ah-ava::after { content: "换"; position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(23,32,52,.62); color: #fff; font-size: 10.5px; text-align: center;
  padding: 2px 0; opacity: 0; transition: opacity .15s; }
.acct-hero .ah-ava:hover::after { opacity: 1; }
.acct-hero .ah-who b { font-size: 19px; font-weight: 800; display: block; }
.acct-hero .ah-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 5px; }
.acct-hero .ah-mail { font-size: 12.5px; color: var(--sub); }
.acct-hero .ah-ops { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
@media (max-width: 640px) { .acct-hero .ah-ops { margin-left: 0; width: 100%; } }

/* 条幅头像（求职主页 hero-band 用真实头像） */
.hb-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }

/* ===== 会员条幅装饰：菱格暗花（缓移）+ 空心四角星错落闪烁（插件端原版方案） ===== */
.hero-band { position: relative; overflow: hidden; isolation: isolate; }
.hero-band::before { content: none; position: absolute; inset: -60px; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'><g fill='none' stroke='white' stroke-width='1'><path d='M36 2 L70 36 L36 70 L2 36 Z' opacity='.55'/><path d='M36 14 L58 36 L36 58 L14 36 Z' opacity='.3'/><circle cx='36' cy='36' r='2.6' fill='white' stroke='none' opacity='.45'/></g></svg>");
  background-size: 72px 72px; opacity: .1; animation: bandDrift 26s linear infinite; }
@keyframes bandDrift { from { transform: translate3d(0,0,0); } to { transform: translate3d(72px, 36px, 0); } }
/* 星星层：白色空心四角星，错落散布 + 闪烁辉光（插件端 starTwinkle 同款） */
.hero-band::after { content: none; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='340' height='92' viewBox='0 0 340 92'><g fill='none' stroke='white' stroke-width='1.5' stroke-linejoin='round'><path d='M30 18 L34 30 L46 34 L34 38 L30 50 L26 38 L14 34 L26 30 Z'/><path d='M120 56 L123.4 66 L133 69.4 L123.4 72.8 L120 82.8 L116.6 72.8 L107 69.4 L116.6 66 Z' opacity='.8'/><path d='M210 14 L212.6 22 L220 24.6 L212.6 27.2 L210 35.2 L207.4 27.2 L200 24.6 L207.4 22 Z' opacity='.65'/><path d='M292 48 L296.4 61 L309 65.4 L296.4 69.8 L292 82.8 L287.6 69.8 L275 65.4 L287.6 61 Z' opacity='.9'/><path d='M250 70 L251.8 75 L256.6 76.8 L251.8 78.6 L250 83.6 L248.2 78.6 L243.4 76.8 L248.2 75 Z' opacity='.5'/></g></svg>");
  background-repeat: no-repeat; background-size: 340px 92px; background-position: right 6% center;
  opacity: .85; animation: starTwinkle 3.6s ease-in-out infinite alternate; }
@keyframes starTwinkle { from { opacity: .45; } to { opacity: 1; filter: drop-shadow(0 0 6px rgba(255,255,255,.85)); } }
/* VIP：暗花金色 + 星星金白更亮、闪得更快（免费版条幅不渲染任何装饰） */
.hero-band.vip-hero::before { content: ""; position: absolute; inset: -60px; z-index: -1; pointer-events: none;
  background-size: 72px 72px; opacity: .16; animation: bandDrift 26s linear infinite;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'><g fill='none' stroke='%23ffd98a' stroke-width='1'><path d='M36 2 L70 36 L36 70 L2 36 Z' opacity='.55'/><path d='M36 14 L58 36 L36 58 L14 36 Z' opacity='.3'/><circle cx='36' cy='36' r='2.6' fill='%23ffd98a' stroke='none' opacity='.45'/></g></svg>"); }
.hero-band.vip-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-repeat: no-repeat; background-size: 340px 92px; background-position: right 6% center;
  opacity: .9; animation: starTwinkle 2.6s ease-in-out infinite alternate;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='340' height='92' viewBox='0 0 340 92'><g fill='none' stroke='%23ffe9b3' stroke-width='1.5' stroke-linejoin='round'><path d='M30 18 L34 30 L46 34 L34 38 L30 50 L26 38 L14 34 L26 30 Z'/><path d='M120 56 L123.4 66 L133 69.4 L123.4 72.8 L120 82.8 L116.6 72.8 L107 69.4 L116.6 66 Z' opacity='.85'/><path d='M210 14 L212.6 22 L220 24.6 L212.6 27.2 L210 35.2 L207.4 27.2 L200 24.6 L207.4 22 Z' opacity='.7'/><path d='M292 48 L296.4 61 L309 65.4 L296.4 69.8 L292 82.8 L287.6 69.8 L275 65.4 L287.6 61 Z'/><path d='M250 70 L251.8 75 L256.6 76.8 L251.8 78.6 L250 83.6 L248.2 78.6 L243.4 76.8 L248.2 75 Z' opacity='.55'/><path d='M70 66 L72.2 72 L78 74.2 L72.2 76.4 L70 82.4 L67.8 76.4 L62 74.2 L67.8 72 Z' opacity='.6'/></g></svg>"); }

/* 用户中心账户概览条幅化（复用 hero-band 配色；本地配色覆盖） */
.acct-hero .ah-ava { border-color: rgba(255,255,255,.75); }
.acct-hero .ah-who b { color: #fff; }
.acct-hero .ah-mail { color: rgba(255,255,255,.88); }
.hero-band .ah-meta .badge { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.5);
  color: #fff; }
.hero-band .ah-meta .badge.vip { background: linear-gradient(135deg, #f7c948, #f59e0b); color: #3b2a68;
  border-color: rgba(255,235,170,.9); box-shadow: 0 0 16px rgba(247,201,72,.85); letter-spacing: 1px; }
.hero-band .btn-light.dgr, .hero-band #btnLogout { background: rgba(255,255,255,.16); border: 1px solid rgba(255,180,180,.55); color: #ffd9d9; }
.hero-band #btnLogout:hover { background: rgba(220,38,38,.35); color: #fff; }

/* ===== 用户中心 · 会员权益双卡（插件端原版 plan-card 口径） ===== */
.site-line { font-size: 12.5px; color: var(--sub); margin: -6px 0 12px; }
.plans { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 12px; align-items: start; }
.plan-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fbfdff; }
.plan-card.free { padding: 13px 14px; }
.plan-card h4 { font-size: 14px; margin-bottom: 4px; }
.plan-card .price { font-size: 22px; font-weight: 800; color: #17233b; }
.plan-card .price small { font-size: 12px; color: var(--sub); font-weight: 600; }
.plan-card ul { list-style: none; margin: 10px 0 12px; display: flex; flex-direction: column; gap: 5px; padding: 0; }
.plan-card li { font-size: 12.5px; color: #44536e; padding-left: 20px; position: relative; }
.plan-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--ok); font-weight: 800; }
.plan-card li.no { color: #a8b6cc; }
.plan-card li.no::before { content: "—"; color: #c8d4e4; }
.plan-card.free ul { margin: 8px 0 10px; gap: 4px; }
.plan-card.free li { font-size: 11.5px; }
.free-quota { font-size: 12.5px; color: #4a5b74; background: #f6faff; border: 1px dashed #c9d9f2;
  border-radius: 9px; padding: 7px 10px; margin: 8px 0 10px; text-align: center; }
.plan-card.vip { position: relative; border: 1.5px solid #f2ce7b; background: linear-gradient(180deg, #fffdf5, #fffaf0); }
.plan-card.vip::after { content: "推荐"; position: absolute; top: -10px; right: 14px;
  background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; font-size: 11px; font-weight: 800;
  border-radius: 999px; padding: 3px 12px; box-shadow: 0 3px 10px rgba(245,158,11,.4); }
.btn.gold { background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; width: 100%; }
.btn.gold:hover { filter: brightness(1.05); opacity: 1; }
.dur-row { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 12px; }
.dur { position: relative; display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 11px;
  background: #fff; padding: 9px 12px; cursor: pointer; transition: .15s; gap: 8px; width: 100%; text-align: left; }
.dur b { font-size: 12.5px; color: #44536e; flex: 0 0 auto; }
.dur span { font-size: 16px; font-weight: 800; color: #17233b; margin-left: auto; white-space: nowrap; }
.dur span small { font-size: 10.5px; color: var(--sub); font-weight: 600; }
.dur em { font-style: normal; font-size: 10.5px; color: var(--sub); flex: 0 0 auto; text-align: right; }
.dur:hover { border-color: #f2ce7b; }
.dur.on { border-color: #f59e0b; background: #fffaf0; box-shadow: 0 3px 12px rgba(245,158,11,.22); }
.dur.on b { color: #9a6a06; }
.dur.on::before { content: ""; position: absolute; left: -1.5px; top: 8px; bottom: 8px; width: 3px;
  border-radius: 3px; background: linear-gradient(180deg, #f59e0b, #f97316); }
.buy-tip { font-size: 11.5px; color: var(--sub); text-align: center; margin-top: 8px; line-height: 1.6; }
.act-row { display: flex; gap: 8px; margin-top: 12px; }
.act-row input { flex: 1; border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; font-size: 13px; min-width: 0; }
.act-row input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79,110,247,.12); }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }

/* ===== 购买付款弹窗（收款码 + 客服码并排，插件端原版） ===== */
.dlg { position: fixed; inset: 0; background: rgba(36, 51, 74, .45); display: grid; place-items: center; z-index: 99; }
.dlg[hidden] { display: none !important; }
.dlg-box { background: #fff; border-radius: 16px; padding: 18px; width: min(420px, 92vw); max-height: 88vh;
  overflow: auto; box-shadow: 0 18px 50px rgba(23,32,52,.3); animation: panelIn .18s ease; }
.dlg-box.qr-box { width: min(620px, 94vw); }
.dlg-head { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.dlg-head b { flex: 1; font-size: 15px; color: #17233b; }
.dlg-head .x { border: none; background: #f0f3fa; color: var(--sub); width: 28px; height: 28px;
  border-radius: 8px; cursor: pointer; font-size: 13px; transition: .15s; }
.dlg-head .x:hover { background: #fee2e2; color: var(--bad); }
.hic { display: inline-flex; }
.gold-ic { color: #f59e0b; }
.pay-grid { display: flex; justify-content: center; align-items: stretch; gap: 16px; flex-wrap: wrap; }
.pay-col { background: #f8fbff; border: 1px solid var(--line); border-radius: 12px; padding: 10px;
  width: 240px; display: flex; flex-direction: column; }
.pay-col .qr-img { width: 100%; display: block; border: none; background: #fff; flex: 1;
  object-fit: contain; aspect-ratio: 1; border-radius: 8px; }
.pay-cap { display: flex; flex-direction: column; gap: 2px; margin-top: 7px; font-size: 12px; }
.pay-cap b { color: #17233b; }
.pay-cap span { color: #b8860b; font-weight: 700; }
.pay-note { margin: 12px 0 0; font-size: 12.5px; color: #9a6a06; background: #fff8ec;
  border: 1px solid #fde9c8; border-radius: 10px; padding: 9px 12px; line-height: 1.7; }
.pay-note b { color: #9a6a06; }
.pay-steps { text-align: left; font-size: 12.5px; line-height: 1.9; color: #4a5b74;
  background: #f8fbff; border-radius: 10px; padding: 10px 14px 10px 30px; margin: 10px 0 12px; }
.pay-steps b { color: var(--blue2); }

/* ===== 用户中心 · 卡片标题线性图标（简洁描边风，与全站图标体系一致） ===== */
.h3-ic { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border-radius: 8px; background: #e8efff; color: #2f5be0; margin-right: 9px; flex: 0 0 auto; }
.h3-ic.gold { background: #fdf3e0; color: #b8860b; }
.h3-ic.green { background: #e5f7ec; color: #0e9f5d; }
/* 客服微信弹窗：二维码限宽居中，防止图片原尺寸撑出横向滚动条 */
#wxDlg .qr-img { display: block; width: min(250px, 100%); height: auto; margin: 0 auto; }
#manualDlg .qr-img { display: block; width: min(250px, 100%); height: auto; margin: 0 auto; }
.card h3 { display: flex; align-items: center; }
.card h3 .n { margin-left: auto; align-self: center; }

/* ===== 使用手册弹窗（details 折叠教程） ===== */
.dlg-box.help-box { width: min(680px, 94vw); max-height: 86vh; overflow-y: auto; }
.help-body { display: flex; flex-direction: column; gap: 8px; }
.help-body details { border: 1px solid var(--line); border-radius: 11px; background: #fbfdff; overflow: hidden; }
.help-body details[open] { background: #fff; }
.help-body summary { list-style: none; cursor: pointer; padding: 11px 14px; font-size: 13.5px; font-weight: 700;
  color: #243352; display: flex; align-items: center; user-select: none; }
.help-body summary::-webkit-details-marker { display: none; }
.help-body summary::before { content: ""; width: 6px; height: 6px; border-right: 1.8px solid #8fa0bd;
  border-bottom: 1.8px solid #8fa0bd; transform: rotate(-45deg); margin-right: 10px;
  transition: transform .18s ease; flex: 0 0 auto; }
.help-body details[open] summary::before { transform: rotate(45deg); }
.help-body .hc { padding: 2px 15px 13px 30px; font-size: 12.5px; line-height: 1.85; color: #44536e; }
.help-body .hc p { margin: 0 0 7px; }
.help-body .hc b { color: #243352; }
.help-body .hc code { background: #f0f4fb; border-radius: 5px; padding: 1px 6px; font-size: 11.5px; color: #3b5bdb; }
