/* ============================================================
 * 罚单 / 封禁状态功能样式（纯注入，不改系统原有样式）
 * 后台：用户列表「更多」菜单项 + 操作弹窗
 * 用户端：账户安全中心【整页】 + 业务受限【官方文书风】全屏页
 * ============================================================ */

/* ---------- 通用遮罩 / 弹层（后台） ---------- */
.pen-overlay {
  position: fixed; inset: 0; z-index: 2147483200;
  background: rgba(16, 24, 40, .46);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: penFade .2s ease-out;
}
@keyframes penFade { from { opacity: 0; } to { opacity: 1; } }

.pen-dialog {
  width: 100%; max-width: 420px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 24px 70px rgba(16, 24, 40, .28);
  overflow: hidden;
  animation: penRise .26s cubic-bezier(.22, .8, .28, 1);
}
@keyframes penRise { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
html.dark .pen-dialog { background: #1f2226; color: #e6e8eb; }

.pen-dialog__hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid #eef0f2;
}
html.dark .pen-dialog__hd { border-color: #33373c; }
.pen-dialog__hd h3 { margin: 0; font-size: 16px; font-weight: 600; }
.pen-dialog__x {
  border: 0; background: transparent; cursor: pointer;
  font-size: 22px; line-height: 1; color: #98a0a8; padding: 0 2px;
}
.pen-dialog__bd { padding: 18px 20px 6px; }
.pen-dialog__ft {
  display: flex; gap: 10px; justify-content: flex-end;
  padding: 14px 20px 20px;
}

/* 表单 */
.pen-field { margin-bottom: 15px; }
.pen-field label {
  display: block; font-size: 13px; color: #5b636b; margin-bottom: 7px; font-weight: 500;
}
html.dark .pen-field label { color: #a8b0b8; }
.pen-field input, .pen-field textarea {
  width: 100%; padding: 10px 12px; font-size: 14px;
  border: 1px solid #dcdfe6; border-radius: 9px;
  background: #fff; color: #303133; outline: none;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
html.dark .pen-field input, html.dark .pen-field textarea { background: #262a2f; border-color: #3c4148; color: #e6e8eb; }
.pen-field input:focus, .pen-field textarea:focus {
  border-color: #3d7bf8; box-shadow: 0 0 0 3px rgba(61, 123, 248, .14);
}
.pen-field textarea { resize: vertical; min-height: 70px; }
.pen-hint { font-size: 12px; color: #98a0a8; margin: -4px 0 14px; line-height: 1.6; }

/* 状态摘要 */
.pen-state {
  background: #f6f8fb; border: 1px solid #eceff3; border-radius: 10px;
  padding: 12px 14px; margin-bottom: 16px; font-size: 13px; line-height: 1.9;
}
html.dark .pen-state { background: #262a2f; border-color: #3c4148; }
.pen-state b { font-weight: 600; }
.pen-state .ok { color: #07a854; }
.pen-state .bad { color: #e34d59; }
.pen-state .row { display: flex; justify-content: space-between; gap: 10px; }

/* 按钮 */
.pen-btn {
  border: 1px solid transparent; border-radius: 10px;
  padding: 11px 18px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: transform .16s, box-shadow .16s, filter .16s;
  font-family: inherit;
}
.pen-btn:active { transform: translateY(1px); }
.pen-btn--ghost { background: #fff; border-color: #dcdfe6; color: #606266; }
html.dark .pen-btn--ghost { background: #262a2f; border-color: #3c4148; color: #c8ccd2; }
.pen-btn--primary {
  background: linear-gradient(120deg, #16c46f, #07a854); color: #fff;
  box-shadow: 0 6px 18px rgba(7, 168, 84, .22);
}
.pen-btn--primary:hover { filter: brightness(1.05); box-shadow: 0 8px 22px rgba(7, 168, 84, .3); }
.pen-btn--danger { background: linear-gradient(120deg, #ff6b6b, #e34d59); color: #fff; }
.pen-btn--warn { background: #fff4e5; border-color: #ffd8a8; color: #c26a00; }
.pen-btn--block { width: 100%; }
.pen-btn[disabled] { opacity: .55; cursor: not-allowed; }

/* 后台「更多」菜单项 */
.pen-menu-item.el-dropdown-menu__item {
  color: #e34d59 !important; font-weight: 500;
  border-top: 1px solid #f0f1f2;
}
.pen-menu-item.el-dropdown-menu__item:first-of-type { border-top: none; }

/* 轻提示 */
.pen-toast {
  position: fixed; left: 50%; top: 22px; transform: translateX(-50%);
  z-index: 2147483640; max-width: 84vw;
  background: #303640; color: #fff; font-size: 13.5px;
  padding: 10px 18px; border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
  animation: penFade .2s ease-out;
}

/* ---------- 用户端：账户安全中心（整页，非半屏弹层） ---------- */
.pen-page {
  position: fixed; inset: 0; z-index: 2147483600;
  background: #f5f6f8;
  display: flex; flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1f2329;
  animation: penPageIn .28s cubic-bezier(.22, .8, .28, 1);
  overflow: hidden;
}
@keyframes penPageIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.pen-page__bar {
  height: 54px; flex: none; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-bottom: 1px solid #eceef1;
}
.pen-page__bar h2 { margin: 0; font-size: 16px; font-weight: 600; }
.pen-page__back {
  position: absolute; left: 16px; top: 0; height: 54px;
  display: flex; align-items: center; font-size: 26px; line-height: 1;
  color: #4a5058; cursor: pointer; padding-right: 12px;
}
.pen-page__refresh {
  position: absolute; right: 17px; font-size: 12.5px;
  color: #07a854; cursor: pointer;
}
.pen-page__bd {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 16px 16px 8px; width: 100%; max-width: 560px; margin: 0 auto;
}
.pen-page__ft {
  flex: none; background: #fff; border-top: 1px solid #eceef1;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 18px rgba(16, 24, 40, .05);
}
.pen-page__ft > * { max-width: 528px; margin-left: auto; margin-right: auto; }

/* 整页状态头 */
.penp-hero {
  border-radius: 16px; padding: 20px 20px 22px; color: #fff;
  position: relative; overflow: hidden; margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(16, 40, 28, .12);
}
.penp-hero::after {
  content: ""; position: absolute; width: 200px; height: 200px;
  right: -70px; top: -110px; border-radius: 50%;
  background: rgba(255, 255, 255, .10); pointer-events: none;
}
.penp-hero.is-ok { background: linear-gradient(140deg, #22c96d 0%, #0fbe64 50%, #06a352 100%); }
.penp-hero.is-bad {
  background: linear-gradient(140deg, #f2606a 0%, #e04551 50%, #cf3542 100%);
  box-shadow: 0 8px 24px rgba(180, 40, 52, .16);
}
.penp-hero__label { font-size: 12px; opacity: .88; letter-spacing: 1px; position: relative; z-index: 1; }
.penp-hero__state {
  font-size: 30px; font-weight: 600; letter-spacing: 2px;
  margin: 6px 0 4px; position: relative; z-index: 1;
}
.penp-hero__sub { font-size: 12.5px; opacity: .92; position: relative; z-index: 1; }

/* 提示 / 卡片 */
.penp-alert {
  background: linear-gradient(120deg, #fff1f2, #ffe9ec);
  border: 1px solid #f7c9cf; border-radius: 12px;
  padding: 13px 15px; margin-bottom: 14px;
  display: flex; gap: 10px; align-items: flex-start;
}
.penp-alert .ico {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #e34d59; color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.penp-alert .tx { font-size: 12.5px; color: #a3323c; line-height: 1.7; }
.penp-alert .tx b { display: block; font-size: 13.5px; margin-bottom: 2px; color: #8f2630; }

.penp-card {
  background: #fff; border-radius: 13px; padding: 15px 16px;
  margin-bottom: 14px; box-shadow: 0 2px 12px rgba(16, 24, 40, .045);
}
.penp-card h4 { margin: 0 0 9px; font-size: 13.5px; font-weight: 600; color: #1f2329; }
.penp-card p { margin: 0; font-size: 12.8px; line-height: 1.9; color: #5b636b; }

.penp-status .line {
  display: flex; justify-content: space-between; font-size: 13.5px; padding: 6px 0;
}
.penp-status .line + .line { border-top: 1px solid #f2f3f5; }
.penp-status .line span:first-child { color: #8a9199; }
.penp-status .v-ok { color: #07a854; font-weight: 600; }
.penp-status .v-bad { color: #e34d59; font-weight: 600; }

.penp-notice p { color: #6a7178; }

.penp-pending {
  background: linear-gradient(120deg, #fffaf0, #fff5e2);
  border: 1px solid #ffe2b0;
}
.penp-pending h4 { color: #b46a00; }
.penp-pending p { color: #a97a35; font-size: 12.5px; line-height: 1.75; }
.penp-pending p + p { margin-top: 5px; }

.penp-fine { padding: 2px 16px; }
.penp-fine .item { padding: 13px 0; border-bottom: 1px solid #f0f1f2; }
.penp-fine .item:last-child { border-bottom: none; }
.penp-fine .item .top { display: flex; justify-content: space-between; align-items: center; }
.penp-fine .item .amt { font-size: 19px; font-weight: 600; color: #e34d59; }
.penp-fine .item .amt.amt-ok { color: #07a854; }
.penp-fine .item .tag-bad, .penp-fine .item .tag-ok { font-size: 12px; }
.penp-fine .item .tag-bad { color: #e34d59; }
.penp-fine .item .tag-ok { color: #07a854; }
.penp-fine .item .rsn { font-size: 12.5px; color: #6a7178; margin-top: 5px; line-height: 1.6; }
.penp-fine .item .tm { font-size: 11.5px; color: #a2a8af; margin-top: 4px; }

.penp-total {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; border-radius: 13px; padding: 15px 16px; margin-bottom: 14px;
  font-size: 14px; box-shadow: 0 2px 12px rgba(16, 24, 40, .045);
}
.penp-total .n { font-size: 22px; font-weight: 700; color: #e34d59; }

/* 余额抵扣信息条 */
.penp-bal {
  background: #f4f8f5; border: 1px solid #d9ecdf; border-radius: 11px;
  padding: 9px 14px; margin-bottom: 10px;
}
.penp-bal.is-low { background: #fff8f4; border-color: #f6dcc9; }
.penp-bal .row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.8px; color: #6a7178; padding: 3px 0;
}
.penp-bal .row b { color: #1f2329; font-size: 14px; font-weight: 600; }
.penp-bal.is-low .row:last-child b { color: #e34d59; }
.penp-gap { margin-top: 9px; }

.penp-security {
  font-size: 11.5px; color: #9aa0a6; line-height: 1.7;
  text-align: center; padding: 2px 10px 12px;
}
.penp-ft-hint {
  text-align: center; font-size: 11.5px; color: #a2a8af;
  line-height: 1.6; margin-top: 9px;
}
.penp-ft-row { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.pen-link {
  border: 0; background: transparent; color: #8a9199;
  font-size: 12px; cursor: pointer; padding: 4px 6px; font-family: inherit;
}
.pen-link:hover { color: #07a854; }

/* ---------- 用户端：业务受限全屏页（官方文书风） ---------- */
.pen-blocked {
  position: fixed; inset: 0; z-index: 2147483500;
  background: #e9ecf0;
  display: flex; flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1f2329;
  animation: penFade .28s ease-out;
  overflow: hidden;
}
.pen-doc__bar {
  height: 52px; flex: none; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: #16233a; color: #fff;
  border-bottom: 1px solid #0e1a2d;
}
.pen-doc__bar .bk {
  position: absolute; left: 14px; font-size: 26px; line-height: 1;
  color: #cfd8e6; cursor: pointer; padding-right: 10px;
}
.pen-doc__bar .ttl {
  font-size: 14.5px; font-weight: 600; letter-spacing: .5px;
  display: flex; align-items: center; gap: 8px;
}
.pen-doc__bar .crest {
  width: 21px; height: 21px; border-radius: 4px;
  background: #c9a05a; color: #16233a; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "STSong", "SimSun", serif;
}
.pen-doc__bar .docno {
  position: absolute; right: 14px; font-size: 10.5px; color: #93a3bb;
  font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .3px;
}
.pen-doc__scroll {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 18px 14px 8px;
}
.pen-doc__paper {
  width: 100%; max-width: 620px; margin: 0 auto;
  background: #fffdf9; color: #2c3038;
  padding: 26px 24px 30px;
  border: 1px solid #e4ded1; border-radius: 3px;
  box-shadow: 0 12px 34px rgba(22, 35, 58, .12);
  position: relative;
}
.pen-doc__paper::before {
  content: ""; position: absolute; inset: 7px;
  border: 1px solid rgba(160, 140, 105, .18); pointer-events: none;
}
.pen-doc__masthead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pen-doc__issuer { display: flex; align-items: center; gap: 10px; }
.pen-doc__logo {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  background: #16233a; display: flex; align-items: center; justify-content: center;
}
.pen-doc__logo svg {
  width: 24px; height: 24px; fill: none; stroke: #d8b579;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.pen-doc__issuer b { display: block; font-size: 14px; color: #16233a; letter-spacing: .5px; }
.pen-doc__issuer small { display: block; margin-top: 3px; font-size: 9.5px; color: #9a8f7c; letter-spacing: .8px; }
.pen-doc__serial {
  text-align: right; font-size: 10px; color: #9a8f7c; line-height: 1.7;
  font-family: ui-monospace, Menlo, Consolas, monospace; flex: none;
}
.pen-doc__serial span { color: #5b5142; font-size: 10.5px; }
.pen-doc__rule {
  height: 2px; margin: 16px 0 20px;
  background: linear-gradient(90deg, #16233a 0%, #16233a 62%, #c9a05a 62%, #c9a05a 100%);
}
.pen-doc__title {
  text-align: center; font-size: 23px; font-weight: 700; letter-spacing: 4px;
  color: #16233a; font-family: "STSong", "SimSun", "Songti SC", serif;
}
.pen-doc__en {
  text-align: center; font-size: 9.5px; letter-spacing: 2.4px;
  color: #a9a094; margin-top: 6px;
}
.pen-doc__meta {
  margin: 20px 0 18px; border-top: 1px solid #ece5d8; border-bottom: 1px solid #ece5d8;
  padding: 10px 0; display: flex; flex-wrap: wrap; gap: 8px 18px;
}
.pen-doc__meta > div { flex: 1 1 140px; font-size: 11.5px; line-height: 1.7; }
.pen-doc__meta span { display: block; color: #9a8f7c; }
.pen-doc__meta b { color: #2c3038; font-weight: 600; }
.pen-doc__meta b i { font-style: normal; font-family: ui-monospace, Menlo, Consolas, monospace; }
.pen-doc__meta .eff { color: #b8342f; }
.pen-doc__salute { font-size: 13.5px; font-weight: 600; color: #2c3038; margin-bottom: 8px; }
.pen-doc__para {
  font-size: 12.8px; line-height: 2.05; color: #4b5058;
  margin: 0 0 12px; text-indent: 2em; text-align: justify;
}
.pen-doc__sec { margin-top: 18px; }
.pen-doc__sec h4 {
  margin: 0 0 10px; font-size: 13.5px; color: #16233a; font-weight: 700;
  padding-left: 10px; border-left: 3px solid #c9a05a;
  font-family: "STSong", "SimSun", "Songti SC", serif;
}
.pen-doc__scope {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px;
}
.pen-doc__scope li {
  font-size: 12.5px; color: #4b5058; background: #f7f4ed;
  border: 1px solid #ece5d8; border-radius: 3px; padding: 8px 10px;
  display: flex; align-items: center; gap: 8px;
}
.pen-doc__scope li span { color: #b8342f; font-weight: 700; font-size: 12px; }
.pen-doc__kv {
  display: flex; justify-content: space-between; gap: 14px;
  font-size: 12.5px; padding: 9px 2px; border-bottom: 1px dashed #e8e1d4;
}
.pen-doc__kv:last-child { border-bottom: none; }
.pen-doc__kv span { color: #9a8f7c; flex: none; }
.pen-doc__kv b { color: #2c3038; font-weight: 600; text-align: right; }
.pen-doc__stamp { display: flex; justify-content: flex-end; margin: 22px 6px 6px; }
.pen-doc__stamp .ring {
  width: 92px; height: 92px; border-radius: 50%;
  border: 3px double rgba(184, 52, 47, .62); color: rgba(184, 52, 47, .78);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: 1px;
  transform: rotate(-12deg); font-family: "STSong", "SimSun", serif;
}
.pen-doc__sign { text-align: right; margin-top: 6px; }
.pen-doc__sign > div { font-size: 13px; font-weight: 600; color: #16233a; }
.pen-doc__sign small { display: block; margin-top: 4px; font-size: 10.5px; color: #a9a094; }
.pen-doc__foot {
  flex: none; background: #fff; border-top: 1px solid #dfe3e9;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  text-align: center;
}
.pen-doc__foot > * { max-width: 528px; margin-left: auto; margin-right: auto; }
.pen-doc__foot p { margin: 9px 0 0; font-size: 11px; color: #a8aeb5; }

/* 深色模式：文书始终保持纸张白，仅外壳适配 */
html.dark .pen-blocked { background: #14161a; }
html.dark .pen-doc__bar { background: #0f1828; border-color: #0b1220; }
html.dark .pen-doc__foot { background: #1d2025; border-color: #30343a; }
html.dark .pen-doc__paper { background: #fffdf9; border-color: #e4ded1; }

/* ---------- 深色模式（账户安全中心） ---------- */
html.dark .pen-page { background: #14161a; }
html.dark .pen-page__bar, html.dark .pen-page__ft { background: #1d2025; border-color: #30343a; }
html.dark .pen-page__bar h2, html.dark .penp-card h4 { color: #e6e8eb; }
html.dark .pen-page__back { color: #b8bec5; }
html.dark .penp-card, html.dark .penp-total { background: #1d2025; }
html.dark .penp-card p { color: #9aa0a6; }
html.dark .penp-fine .item, html.dark .penp-status .line + .line { border-color: #30343a; }
html.dark .penp-alert { background: #332225; border-color: #5a3036; }
html.dark .penp-pending { background: #332a1c; border-color: #5a4726; }
html.dark .pen-toast { background: #4a5058; }
html.dark .penp-bal { background: #1d2a22; border-color: #2f4a37; }
html.dark .penp-bal.is-low { background: #2e241d; border-color: #5a3f26; }
html.dark .penp-bal .row b { color: #e6e8eb; }

@media (max-width: 480px) {
  .pen-overlay { padding: 14px; align-items: flex-end; }
  .pen-dialog { max-width: 100%; border-radius: 16px 16px 0 0; }
  .pen-page__bd { padding-left: 14px; padding-right: 14px; }
  .pen-doc__scroll { padding: 12px 10px 6px; }
  .pen-doc__paper { padding: 20px 16px 24px; }
  .pen-doc__title { font-size: 20px; letter-spacing: 2px; }
  .pen-doc__bar .docno { display: none; }
}

/* ============================================================
 * 本轮升级：账户安全中心 / 业务受限页「官方化高级视觉」
 * 仅作用于自建节点（.pen-page / .pen-blocked / .pen-btn--home），
 * 以层叠覆盖方式增强，原有规则与全部功能保持不变。
 * ============================================================ */

/* ---------- 顶栏：品牌徽标 + 中英双行标题 ---------- */
.pen-page__bar {
  height: 60px;
  background: #fff;
  border-bottom: 1px solid #e8ebef;
  box-shadow: 0 1px 10px rgba(20, 34, 56, .04);
}
html.dark .pen-page__bar { background: #171b21; border-color: #2b3037; }
.pen-page__bar h2 {
  margin: 0; font-size: 15.5px; font-weight: 600; letter-spacing: 1px;
  line-height: 1.2; color: #1c2530;
}
html.dark .pen-page__bar h2 { color: #eef1f5; }
.pen-page__tit { display: flex; align-items: center; gap: 9px; }
.pen-page__crest {
  width: 30px; height: 30px; flex: none; border-radius: 8px;
  background: linear-gradient(140deg, #1c3c5e, #0d7a58);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(16, 60, 80, .22);
}
.pen-page__crest svg {
  width: 18px; height: 18px; fill: none; stroke: #eaf6f0;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.pen-page__tit-tx { text-align: left; }
.pen-page__tit-tx > span {
  display: block; margin-top: 2px; font-size: 8.5px;
  letter-spacing: 1.5px; color: #a2abb5; font-weight: 500;
}
.pen-page__back { height: 60px; font-size: 27px; color: #5a6572; }
.pen-page__refresh {
  right: 15px; font-size: 11.5px; font-weight: 500;
  color: #0e8f62; border: 1px solid #cfeade; background: #f2fbf6;
  padding: 4px 10px; border-radius: 999px;
}
html.dark .pen-page__refresh { background: #173028; border-color: #2c5240; color: #4fd39a; }

/* ---------- 状态卡：沉稳墨蓝 / 暗红，官方安全中心质感 ---------- */
.penp-hero {
  padding: 18px 20px 16px;
  border-radius: 15px;
  box-shadow: 0 10px 28px rgba(16, 42, 60, .16);
}
.penp-hero.is-ok {
  background: linear-gradient(135deg, #163a5c 0%, #16645f 52%, #0d9160 100%);
}
.penp-hero.is-bad {
  background: linear-gradient(135deg, #431d29 0%, #8c2f3d 55%, #b8404c 100%);
  box-shadow: 0 10px 28px rgba(120, 32, 44, .2);
}
.penp-hero::after { display: none; }   /* 用更细腻的光晕替代大圆 */
.penp-hero__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(120deg, transparent 55%, rgba(255, 255, 255, .06) 55%, rgba(255, 255, 255, .06) 56%, transparent 56%),
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, .16), transparent 46%);
}
.penp-hero__top,
.penp-hero__main,
.penp-hero__foot { position: relative; z-index: 1; }
.penp-hero__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.penp-hero__label {
  font-size: 10.5px; letter-spacing: 1.4px; opacity: .84; font-weight: 500;
}
.penp-hero__badge {
  flex: none; font-size: 10.5px; font-weight: 600; letter-spacing: .5px;
  color: #fff; background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .34);
  padding: 3px 10px; border-radius: 999px;
}
.penp-hero__main { display: flex; align-items: center; gap: 15px; margin: 14px 0 13px; }
.penp-hero__shield {
  width: 52px; height: 52px; flex: none; border-radius: 14px;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .22);
  display: flex; align-items: center; justify-content: center;
}
.penp-hero__shield svg {
  width: 30px; height: 30px; fill: none; stroke: #fff;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.penp-hero__state { font-size: 28px; font-weight: 600; letter-spacing: 3px; margin: 0 0 3px; }
.penp-hero__sub { font-size: 12px; opacity: .9; }
.penp-hero__foot {
  display: flex; align-items: center; gap: 7px;
  padding-top: 11px; border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: 10.5px; letter-spacing: .3px; opacity: .86;
}
.penp-hero__foot .live {
  width: 6px; height: 6px; border-radius: 50%; background: #b6f5d3;
  box-shadow: 0 0 0 3px rgba(182, 245, 211, .2); flex: none;
}
.penp-hero__foot i { font-style: normal; opacity: .6; }

/* ---------- 卡片：更精致的边框与层次 ---------- */
.penp-card {
  border: 1px solid #edf0f3;
  box-shadow: 0 3px 14px rgba(20, 40, 60, .05);
  border-radius: 14px;
}
html.dark .penp-card { border-color: #2b3037; }
.penp-card h4 {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; letter-spacing: .3px;
}
.penp-card h4::before {
  content: ""; width: 3px; height: 13px; border-radius: 2px;
  background: linear-gradient(#12a06a, #0e7f58); flex: none;
}
.penp-total { border: 1px solid #edf0f3; }
html.dark .penp-total { border-color: #2b3037; }
html.dark .penp-card h4 { color: #e6e8eb; }
.penp-alert { border-radius: 13px; }
.penp-fine .item .amt { font-variant-numeric: tabular-nums; }

/* ---------- 「返回首页」统一出口 + 文书页重检链接 ---------- */
.pen-btn--home {
  background: #fff;
  border: 1px solid #d7dee6;
  color: #25405c; font-weight: 600; letter-spacing: .3px;
  box-shadow: 0 2px 8px rgba(20, 40, 60, .04);
}
.pen-btn--home:hover { border-color: #9fc4b3; background: #f7fcf9; }
html.dark .pen-btn--home { background: #1d2530; border-color: #3a4552; color: #cfe0ef; }
html.dark .pen-btn--home:hover { background: #202b38; }
.pen-home-ico {
  display: inline-block; margin-right: 7px;
  font-size: 17px; line-height: 1; vertical-align: -1px;
  font-weight: 400; color: #0e8f62;
}
.pen-doc__recheck {
  display: block; margin: 9px auto 0; border: 0; background: transparent;
  color: #8b96a2; font-size: 11.5px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; font-family: inherit;
}
.pen-doc__recheck:hover { color: #25405c; }
.pen-doc__foot { background: #fbfcfd; }
html.dark .pen-doc__foot { background: #1a1e24; }

/* ---------- 文书页：纸张质感 / 深蓝台头 / 印章精修 ---------- */
.pen-doc__paper {
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(160, 140, 105, .035) 27px 28px),
    #fffdf9;
}
.pen-doc__bar {
  background: linear-gradient(100deg, #101d31, #1a3150);
  border-bottom: 1px solid #0b1626;
}
html.dark .pen-doc__bar { background: linear-gradient(100deg, #0b1422, #122238); }
.pen-doc__bar .ttl { letter-spacing: 1px; }
.pen-doc__stamp .ring {
  border-color: rgba(184, 52, 47, .55);
  box-shadow: inset 0 0 0 4px rgba(184, 52, 47, .1);
}
.pen-doc__paper::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, #16233a 0 62%, #c9a05a 62% 100%);
  opacity: .8; pointer-events: none;
}

/* ---------- 底部操作区 ---------- */
.pen-page__ft, .pen-doc__foot { box-shadow: 0 -4px 20px rgba(20, 40, 60, .06); }
.pen-btn--primary { background: linear-gradient(120deg, #14a86c, #0c7f56); }
.pen-link { color: #8a9199; font-size: 12.5px; }
.pen-link:hover { color: #0e8f62; }

@media (max-width: 480px) {
  .pen-page__bar { height: 56px; }
  .pen-page__back { height: 56px; }
  .pen-page__crest { width: 27px; height: 27px; }
  .pen-page__crest svg { width: 16px; height: 16px; }
  .pen-page__bar h2 { font-size: 14.5px; }
  .pen-page__tit-tx > span { font-size: 8px; }
  .penp-hero__state { font-size: 25px; }
  .penp-hero__shield { width: 46px; height: 46px; }
}
