/* 患者电子知情同意书签署系统 · 公共样式（A风格医疗绿 #16a06a / #0a4d34） */
:root {
  --green: #16a06a;
  --green-dark: #0a4d34;
  --green-mid: #0d7a50;
  --green-bg: #e8f6f0;
  --teal: #0d9488;
  --teal-bg: #ecfdf9;
  --bg: #f3f7f5;
  --card: #ffffff;
  --ink: #1c2b24;
  --ink-2: #5b6b63;
  --line: #dfe8e3;
  --danger: #dc2626;
  --warn: #d97706;
  --radius: 12px;
  --shadow-1: 0 1px 3px rgba(10, 77, 52, .08);
  --shadow-2: 0 4px 14px rgba(10, 77, 52, .12);
  --shadow-3: 0 12px 40px rgba(10, 77, 52, .18);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { font-size: 16px; overscroll-behavior: none; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  background: var(--bg); color: var(--ink); min-height: 100vh;
}
button { font-family: inherit; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
input, select, textarea { font-family: inherit; font-size: 16px; color: var(--ink); touch-action: manipulation; }
a { color: var(--green-mid); text-decoration: none; }

/* 通用组件 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: 10px; padding: 10px 18px; font-size: 16px; font-weight: 600;
  background: var(--green); color: #fff; min-height: 44px; transition: .15s;
}
.btn:hover { background: var(--green-mid); }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: #fff; color: var(--green-mid); border: 1.5px solid var(--green); }
.btn.ghost:hover { background: var(--green-bg); }
.btn.dark { background: var(--green-dark); }
.btn.warn { background: var(--warn); }
.btn.danger { background: var(--danger); }
.btn.sm { min-height: 34px; padding: 5px 12px; font-size: 14px; border-radius: 8px; }
.btn.lg { min-height: 52px; font-size: 18px; border-radius: 12px; }
.btn.block { width: 100%; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px;
  background: #fff; outline: none; transition: border .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(22, 160, 106, .12); }
.field .err { color: var(--danger); font-size: 13px; margin-top: 4px; display: none; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.tag.green { background: var(--green-bg); color: var(--green-mid); }
.tag.teal { background: var(--teal-bg); color: var(--teal); }
.tag.gray { background: #eef1ef; color: var(--ink-2); }
.tag.red { background: #fdecec; color: var(--danger); }
.tag.amber { background: #fef3e2; color: var(--warn); }

/* 顶部导航 */
.topbar {
  background: linear-gradient(135deg, var(--green-dark), #0e6b45);
  color: #fff; padding: 0 20px; height: 58px; display: flex; align-items: center; gap: 14px;
  position: sticky; top: 0; z-index: 50;
}
.topbar .logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.topbar .logo .mark {
  width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.topbar .spacer { flex: 1; }
.topbar .userbox { display: flex; align-items: center; gap: 10px; font-size: 14px; opacity: .95; }
.topbar .linkbtn { background: rgba(255,255,255,.12); border: none; color: #fff; border-radius: 8px; padding: 6px 12px; font-size: 14px; }
.topbar .linkbtn:hover { background: rgba(255,255,255,.22); }

.tabs { display: flex; gap: 4px; background: var(--card); border-bottom: 1px solid var(--line); padding: 0 16px; position: sticky; top: 58px; z-index: 40; overflow-x: auto; }
.tabs button {
  border: none; background: none; padding: 13px 18px; font-size: 15.5px; color: var(--ink-2);
  font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap;
}
.tabs button.on { color: var(--green-mid); border-bottom-color: var(--green); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 20px 16px 60px; }
.page { display: none; }
.page.on { display: block; }

/* 表格 */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); font-size: 14.5px; }
.tbl th { background: var(--green-bg); color: var(--green-dark); text-align: left; padding: 10px 12px; font-size: 13.5px; white-space: nowrap; }
.tbl td { padding: 10px 12px; border-top: 1px solid #eef3f0; vertical-align: middle; }
.tbl tr:hover td { background: #fafcfb; }
.tbl .ops { white-space: nowrap; display: flex; gap: 6px; flex-wrap: wrap; }

/* 弹层 */
.modal-mask { position: fixed; inset: 0; background: rgba(12, 30, 22, .45); z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 30px 14px; overflow: auto; }
.modal-mask.on { display: flex; }
.modal { background: #fff; border-radius: 16px; box-shadow: var(--shadow-3); width: 100%; max-width: 760px; animation: pop .18s ease; }
.modal.sm { max-width: 480px; }
.modal .mhead { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.modal .mhead h3 { font-size: 17px; color: var(--green-dark); }
.modal .mclose { border: none; background: none; font-size: 22px; color: var(--ink-2); line-height: 1; }
.modal .mbody { padding: 20px; }
.modal .mfoot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%); background: var(--green-dark); color: #fff; padding: 11px 22px; border-radius: 10px; font-size: 15px; z-index: 300; box-shadow: var(--shadow-2); display: none; max-width: 90vw; }
.toast.err { background: var(--danger); }

/* 统计卡片 */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 16px; }
.stat-card .k { font-size: 13px; color: var(--ink-2); }
.stat-card .v { font-size: 30px; font-weight: 800; color: var(--green-dark); margin-top: 4px; }
.stat-card .v small { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.bar-row { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.bar-row .bl { width: 64px; font-size: 13.5px; color: var(--ink-2); text-align: right; flex: none; }
.bar-row .bt { flex: 1; background: #eef3f0; border-radius: 6px; height: 22px; overflow: hidden; }
.bar-row .bf { height: 100%; background: linear-gradient(90deg, var(--green), var(--teal)); border-radius: 6px; min-width: 2px; }
.bar-row .bn { width: 44px; font-size: 13px; font-weight: 700; color: var(--green-dark); }
.chart-bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding: 8px 0; }
.chart-bars .cb { flex: 1; background: linear-gradient(180deg, var(--green), var(--teal)); border-radius: 3px 3px 0 0; min-height: 2px; position: relative; }
.chart-bars .cb:hover::after { content: attr(data-v); position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 11px; background: var(--green-dark); color: #fff; padding: 1px 6px; border-radius: 4px; white-space: nowrap; }

.qr-box { text-align: center; padding: 10px 0; }
.qr-box img { width: 230px; height: 230px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; }
.qr-box .url { word-break: break-all; font-size: 13px; color: var(--ink-2); background: var(--bg); border-radius: 8px; padding: 8px 10px; margin-top: 8px; }

.pager { display: flex; align-items: center; gap: 10px; justify-content: center; padding: 16px 0 4px; font-size: 14px; color: var(--ink-2); }

@media (max-width: 760px) {
  .topbar { height: 52px; padding: 0 12px; }
  .tabs { top: 52px; }
  .tbl { font-size: 13px; }
  .tbl th, .tbl td { padding: 8px; }
  .hide-m { display: none !important; }
}

/* ================= V1.3.0 响应式与交互组件 ================= */
/* 顶栏标题窄屏省略 */
.topbar .logo { min-width: 0; }
.topbar .logo .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 筛选条：窄屏输入控件自动两列弹性换行 */
.filter-bar input, .filter-bar select { min-width: 0; }
@media (max-width: 720px) {
  .filter-bar input, .filter-bar select { flex: 1 1 44% !important; width: auto !important; }
  .filter-bar .btn { flex: 0 0 auto; }
  .wrap { padding: 14px 12px 40px; }
}

/* 表格 → 卡片（需 td 携带 data-l 字段标签； opting .responsive） */
@media (max-width: 720px) {
  .tbl.responsive thead { display: none; }
  .tbl.responsive, .tbl.responsive tbody, .tbl.responsive tr, .tbl.responsive td { display: block; width: 100%; }
  .tbl.responsive { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .tbl.responsive tr { background: #fff; border-radius: 12px; box-shadow: var(--shadow-1); margin: 10px 0; padding: 4px 0; overflow: hidden; }
  .tbl.responsive td { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: none; padding: 9px 14px; text-align: right; }
  .tbl.responsive td + td { border-top: 1px dashed #eef3f0; }
  .tbl.responsive td::before { content: attr(data-l); color: var(--ink-2); font-size: 13px; font-weight: 600; flex: none; text-align: left; }
  .tbl.responsive td.no-l::before { display: none; }
  .tbl.responsive td.no-l { text-align: left; }
  .tbl.responsive tr:hover td { background: transparent; }
  .tbl.responsive .ops { justify-content: flex-end; }
}

/* 未接入卡片模式的表格：窄屏横向滚动兜底（管理后台等） */
@media (max-width: 720px) {
  .tbl:not(.responsive) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tbl:not(.responsive) th { white-space: nowrap; }
}

/* 骨架屏加载 */
.skl-row { height: 58px; border-radius: 12px; margin: 10px 0; background: linear-gradient(90deg, #edf2ef 25%, #f7faf8 37%, #edf2ef 63%); background-size: 400% 100%; animation: skl 1.2s ease infinite; }
.skl-row.skl-sm { height: 40px; }
@keyframes skl { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .skl-row { animation: none; } .modal { animation: none; } }

/* 弹窗：窄屏全屏化 */
@media (max-width: 640px) {
  .modal-mask { padding: 0; align-items: stretch; }
  .modal, .modal.sm { max-width: none; border-radius: 0; min-height: 100%; }
  .modal .mbody { padding: 16px; }
}

/* 趋势图窄屏横向滚动 */
.chart-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.chart-scroll .chart-bars { min-width: 620px; }
.chart-scroll .chart-bars .cb:hover::after { display: none; }
.chart-scroll .chart-bars .cb::after { content: attr(data-v); position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 11px; background: var(--green-dark); color: #fff; padding: 1px 6px; border-radius: 4px; white-space: nowrap; opacity: 0; transition: opacity .15s; }
.chart-scroll .chart-bars .cb:active::after { opacity: 1; }

/* ================= 登录页病区自定义下拉（V1.2.2 参考截图样式） ================= */
.field .req { color: #f56c6c; margin-left: 2px; font-weight: 700; }

.ward-select { position: relative; }
.ws-control {
  display: flex; align-items: center; gap: 9px;
  height: 48px; padding: 0 13px;
  background: #fff; border: 1.5px solid #dcdfe6; border-radius: 9px;
  cursor: pointer; user-select: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ws-control:hover { border-color: #b7d9c8; }
.ward-select.open .ws-control {
  border-color: #c0c4cc;
}
.ws-icon { display: flex; align-items: center; }
.ws-text { flex: 1; font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-text.ws-placeholder { color: #a8abb2; }
.ws-arrow { display: flex; align-items: center; transition: transform .2s ease; }
.ward-select.open .ws-arrow { transform: rotate(180deg); }

.ws-menu {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border: 1px solid #e4e7ed; border-radius: 9px;
  box-shadow: 0 10px 28px rgba(31, 45, 61, .14);
  overflow: hidden; z-index: 60;
  animation: wsDrop .16s ease;
  max-height: 320px; overflow-y: auto;
}
.ward-select.open .ws-menu { display: block; }
@keyframes wsDrop { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.ws-item {
  height: 40px; line-height: 40px; padding: 0 40px 0 40px;
  font-size: 14px; color: var(--ink); cursor: pointer;
  transition: background .1s ease, color .1s ease;
}
.ws-item.ws-muted { color: #a8abb2; }
.ws-item:hover { background: var(--green-bg); color: var(--green-mid); font-weight: 600; }
.ws-item.ws-muted:hover { background: #f5f7fa; color: #a8abb2; font-weight: 400; }
.ws-divider { height: 1px; background: #ebeef5; margin: 4px 0; }
.ws-item.ws-admin { color: #5b6b63; }
.login-foot { text-align: center; margin-top: 16px; }
.login-foot span { color: #8a9a91; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; transition: color .15s; }
.login-foot span:hover { color: var(--green); }

/* ================= V1.3.1 登录主页 · 左右分栏高大上布局 ================= */
.lg-page {
  position: relative; min-height: 100vh; display: flex; align-items: stretch;
  background: linear-gradient(148deg, #052a1c 0%, #0a4d34 46%, #0d7a50 100%);
  overflow: hidden; color: #fff;
}
/* 背景装饰：网格纹理 */
.lg-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 30% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 30% 40%, #000 30%, transparent 75%);
}
/* 背景装饰：呼吸光晕 */
.lg-glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(70px); }
.lg-glow.g1 { width: 560px; height: 560px; left: -140px; top: -160px; background: radial-gradient(circle, rgba(22,160,106,.55), transparent 65%); animation: lgBreath 7s ease-in-out infinite; }
.lg-glow.g2 { width: 480px; height: 480px; left: 34%; bottom: -220px; background: radial-gradient(circle, rgba(13,148,136,.45), transparent 65%); animation: lgBreath 9s ease-in-out 1.2s infinite; }
.lg-glow.g3 { width: 380px; height: 380px; right: -120px; top: 30%; background: radial-gradient(circle, rgba(74,222,128,.28), transparent 65%); animation: lgBreath 8s ease-in-out .6s infinite; }
@keyframes lgBreath { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
/* 背景装饰：底部曲线 */
.lg-curve { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; pointer-events: none; display: block; }

/* 左侧品牌墙 */
.lg-brand {
  flex: 1.15; position: relative; z-index: 2; display: flex; flex-direction: column;
  padding: 44px 52px; min-width: 0;
}
.lg-brand .top { display: flex; align-items: center; gap: 13px; animation: lgSlideDown .6s ease both; }
.lg-brand .top .mark {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: linear-gradient(135deg, #34d399, #16a06a 55%, #0d7a50);
  box-shadow: 0 10px 26px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
}
.lg-brand .top .hosp { font-size: 21px; font-weight: 800; letter-spacing: 2px; }
.lg-brand .top .hosp small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 3.5px; opacity: .62; margin-top: 2px; }
.lg-brand .hero { margin-top: auto; margin-bottom: auto; padding: 30px 0; animation: lgSlideUp .7s ease .1s both; }
.lg-brand .hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 2px;
  color: #8ee8c3; border: 1px solid rgba(142,232,195,.35); background: rgba(142,232,195,.08);
  border-radius: 999px; padding: 6px 16px; margin-bottom: 22px;
}
.lg-brand .hero .eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
.lg-brand .hero h1 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; line-height: 1.28; letter-spacing: 1px; }
.lg-brand .hero h1 em { font-style: normal; background: linear-gradient(90deg, #6ee7b7, #34d399); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-brand .hero p { margin-top: 16px; font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.78); max-width: 480px; }
/* 特色玻璃卡 */
.lg-feats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; max-width: 560px; }
.lg-feat {
  flex: 1; min-width: 150px; padding: 16px 16px 14px; border-radius: 16px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: lgSlideUp .7s ease both;
}
.lg-feat:nth-child(1) { animation-delay: .25s; }
.lg-feat:nth-child(2) { animation-delay: .35s; }
.lg-feat:nth-child(3) { animation-delay: .45s; }
.lg-feat .fi { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: rgba(52,211,153,.18); border: 1px solid rgba(52,211,153,.3); margin-bottom: 10px; }
.lg-feat .ft { font-size: 15.5px; font-weight: 700; }
.lg-feat .fd { font-size: 12.5px; color: rgba(255,255,255,.6); margin-top: 4px; line-height: 1.6; }
.lg-brand .bottom { font-size: 12.5px; color: rgba(255,255,255,.4); letter-spacing: 1px; display: flex; gap: 8px; align-items: center; }

/* 右侧登录面板 */
.lg-panel { flex: 1; position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 40px 48px; min-width: 0; }
.lg-card {
  width: 100%; max-width: 420px; background: #fff; border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08);
  padding: 38px 36px 30px; color: var(--ink);
  animation: lgCardIn .7s cubic-bezier(.22,1,.36,1) .15s both; position: relative;
}
.lg-card::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 4px; border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, #16a06a, #0d9488, #34d399);
}
.lg-card .c-head { text-align: center; margin-bottom: 24px; }
.lg-card .c-mark {
  width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 17px;
  background: linear-gradient(135deg, #16a06a, #0a4d34); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(22,160,106,.38);
}
.lg-card h2 { font-size: 22px; color: var(--green-dark); letter-spacing: 1px; }
.lg-card .c-sub { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
/* 登录卡内控件适配 */
.lg-card .field input { border-radius: 11px; padding: 11px 14px; min-height: 48px; }
.lg-card .field input:focus { box-shadow: 0 0 0 4px rgba(22,160,106,.13); }
.lg-card .ws-control { border-radius: 11px; padding: 0 14px; }
.lg-card .ws-control:hover { border-color: #9fd8c5; }
.lg-card .ward-select.open .ws-control { border-color: var(--green); box-shadow: 0 0 0 4px rgba(22,160,106,.13); }
.lg-card .ws-text { font-size: 15px; }
.lg-card .ws-item { height: 42px; line-height: 42px; font-size: 14.5px; }
.lg-card .ws-menu { border-radius: 12px; top: calc(100% + 7px); }
/* 渐变登录按钮 */
.lg-btn {
  width: 100%; min-height: 52px; border: none; border-radius: 13px; margin-top: 6px;
  font-size: 17.5px; font-weight: 700; letter-spacing: 8px; text-indent: 8px; color: #fff;
  background: linear-gradient(135deg, #16a06a, #0d7a50); position: relative; overflow: hidden;
  box-shadow: 0 10px 24px rgba(22,160,106,.35);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.lg-btn:hover { filter: brightness(1.07); box-shadow: 0 12px 30px rgba(22,160,106,.45); transform: translateY(-1px); }
.lg-btn:active:not(:disabled) { transform: translateY(0) scale(.98); }
.lg-btn:disabled { opacity: .55; cursor: not-allowed; }
.lg-btn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.25), transparent);
  animation: lgShine 3.2s ease-in-out infinite;
}
.lg-tip { text-align: center; font-size: 13px; color: var(--ink-2); margin-top: 16px; }
.lg-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: 12px; color: #9aa8a0; }
.lg-secure svg { flex: none; }
/* 动画 */
@keyframes lgSlideUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lgSlideDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lgCardIn { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes lgShine { 0%, 60% { left: -80%; } 100% { left: 130%; } }

/* 响应式：窄屏品牌墙转顶部横幅 */
@media (max-width: 960px) {
  .lg-page { flex-direction: column; }
  .lg-brand { padding: 28px 24px 10px; }
  .lg-brand .hero { padding: 22px 0 10px; }
  .lg-brand .hero h1 { font-size: 26px; }
  .lg-brand .hero p { font-size: 14px; margin-top: 10px; }
  .lg-feats { display: none; }
  .lg-brand .bottom { display: none; }
  .lg-panel { padding: 10px 20px 36px; }
  .lg-card { padding: 28px 24px 24px; }
}
/* 矮屏（横置平板）压缩 */
@media (max-height: 720px) and (min-width: 961px) {
  .lg-brand { padding: 28px 40px; }
  .lg-brand .hero { padding: 16px 0; }
  .lg-brand .hero h1 { font-size: 30px; }
  .lg-brand .hero p { margin-top: 10px; font-size: 14.5px; }
  .lg-feats { margin-top: 18px; }
  .lg-card { padding: 26px 30px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .lg-glow, .lg-btn::after, .lg-feat, .lg-brand .top, .lg-brand .hero, .lg-card { animation: none !important; }
}
