/* 症缘阁 · 命体和谐循证馆 — 3D症状采集与无人化辨证堂 (Rule XXXV / gate_0367 ≤300行)
   第二轮架构实装: 左侧8大科室侧栏 · 轻盈微浮手感 · 去武侠黑话体检席 · 正向HUD */
:root {
  --kraft-bg: #F6EFE2;
  --ink-dark: #2C1810;
  --gold: #C29B38;
  --vermilion: #B91C1C;
  --viewport-scale: 1;
  --viewport-scale-rotated: 1;
  --user-zoom: 1;
  --pan-x: 0px;
  --pan-y: 0px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
html, body {
  position: fixed; width: 100vw; height: 100%; height: 100dvh; overflow: hidden;
  background: #0B131F; color: #F8FAFC; font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'STKaiti', 'KaiTi', sans-serif;
  touch-action: pan-x pan-y pinch-zoom; -webkit-touch-callout: none;
}
.app-root-wrapper {
  position: relative; width: 100%; height: 100%; height: 100dvh; display: flex; justify-content: center; align-items: center;
  background: radial-gradient(circle at center, #1E293B 0%, #0B131F 100%);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  overflow: hidden;
}

/* 16:9 主视口 (Uniform Scale + 手势双指放大/平移矩阵) */
.screen-viewport {
  position: relative; width: 1120px; height: 630px; background: #111D2D; border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6); border: 1.5px solid #334155; display: flex; flex-direction: column;
  overflow: hidden; transform-origin: center center;
  transform: translate(var(--pan-x, 0px), var(--pan-y, 0px)) scale(calc(var(--viewport-scale, 1) * var(--user-zoom, 1)));
  will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.screen-viewport.rotated-90 {
  transform: translate(var(--pan-x, 0px), var(--pan-y, 0px)) rotate(90deg) scale(calc(var(--viewport-scale-rotated, 1) * var(--user-zoom, 1)));
}


/* 顶部极简 Header */
.top-nav { height: 50px; background: #1E293B; border-bottom: 1.5px solid #334155; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; z-index: 20; }
.brand-zone { display: flex; align-items: center; gap: 8px; }
.brand-pill { background: #FEF3C7; color: #92400E; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 4px; border: 1px solid #FDE68A; white-space: nowrap; }
.brand-title { font-size: 14px; font-weight: 800; color: #F8FAFC; white-space: nowrap; }
.active-dept-pill { background: rgba(194, 155, 56, 0.2); color: #FDE68A; border: 1px solid var(--gold); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.action-bar { display: flex; align-items: center; gap: 8px; }
.ctl-btn { background: #334155; color: #E2E8F0; border: 1px solid #475569; padding: 5px 12px; border-radius: 6px; font-size: 11px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ctl-btn.accent { background: #92400E; color: #FEF3C7; border-color: #B45309; }
.ctl-btn.primary { background: #15803D; color: #FFF; border-color: #16A34A; }

/* 工作区布局：左侧 1/6 竖排科室 + 案台主区域 */
.table-workspace { flex: 1; display: flex; overflow: hidden; }

/* 左侧 1/6 科室侧边栏 (股东核心反馈) */
.dept-vertical-sidebar { width: 140px; background: rgba(15, 23, 42, 0.75); border-right: 1.5px solid #334155; display: flex; flex-direction: column; padding: 8px 6px; z-index: 15; }
.sidebar-header { margin-bottom: 6px; padding-left: 4px; }
.sidebar-title { font-size: 11px; font-weight: 800; color: var(--gold); letter-spacing: 1px; }
.dept-list { flex: 1; display: flex; flex-direction: column; gap: 5px; overflow-y: auto; }
.dept-nav-item { background: #1E293B; border: 1px solid #334155; border-radius: 6px; color: #CBD5E1; padding: 6px 8px; display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; cursor: pointer; transition: all 0.18s; }
.dept-nav-item:hover { background: #334155; border-color: #64748B; color: #FFF; }
.dept-nav-item.active { background: linear-gradient(135deg, rgba(194, 155, 56, 0.25) 0%, rgba(146, 64, 14, 0.3) 100%); border: 1.5px solid var(--gold); color: #FDE68A; font-weight: 800; box-shadow: inset 0 0 8px rgba(194, 155, 56, 0.3); }
.dept-icon { font-size: 13px; }
.dept-name { white-space: nowrap; }

/* 案台主区域 */
.table-felt { position: relative; flex: 1; background: radial-gradient(circle at center, #1B3A5A 0%, #0D2138 70%, #091726 100%); display: flex; overflow: hidden; padding: 10px; gap: 10px; }

/* 老中医引导栏 */
.doctor-presence-bar {
  position: absolute; top: 8px; left: 185px; right: 155px; height: 36px; background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--gold); border-radius: 18px;
  display: flex; align-items: center; padding: 0 12px; gap: 8px; z-index: 10; box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.doctor-avatar { font-size: 18px; }
.doctor-speech { flex: 1; font-size: 11.5px; color: #FEF3C7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.speech-prefix { font-weight: 800; color: #FDE68A; }
.seal-mark { background: var(--vermilion); color: #FFF; font-size: 10px; font-weight: 900; padding: 2px 6px; border-radius: 3px; letter-spacing: 1px; }

/* 牌堆区 */
.deck-area { width: 160px; background: rgba(15, 23, 42, 0.65); border: 1px solid #334155; border-radius: 12px; display: flex; flex-direction: column; padding: 8px; z-index: 5; }
.area-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.area-tag { font-size: 11px; font-weight: 700; color: var(--gold); }
.deck-hint { font-size: 10px; color: #94A3B8; }
.deck-stack { position: relative; flex: 1; display: flex; justify-content: center; align-items: center; }
.deck-layer { position: absolute; width: 125px; height: 185px; border-radius: 12px; background: #D5C7AA; border: 1px solid #A17A1E; }
.layer-3 { transform: translate(4px, 4px); opacity: 0.4; }
.layer-2 { transform: translate(2px, 2px); opacity: 0.7; }
.layer-1 { transform: translate(0, 0); opacity: 1; }
.deck-top-card {
  position: absolute; width: 125px; height: 185px; border-radius: 12px;
  background: linear-gradient(135deg, #F6EFE2 0%, #E8DCBE 100%); border: 2px solid var(--gold);
  cursor: grab; box-shadow: 0 16px 32px rgba(44, 24, 16, 0.22); display: flex; flex-direction: column;
  justify-content: space-between; padding: 8px; z-index: 10; touch-action: none;
}
.card-back-pattern { flex: 1; border: 1px dashed #A17A1E; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.taiji-icon { font-size: 24px; color: var(--ink-dark); }
.card-title-zh { font-size: 13px; font-weight: 900; color: var(--ink-dark); letter-spacing: 2px; }
.card-subtitle-zh { font-size: 9.5px; font-weight: 700; color: #8C6A4F; }
.back-cloud-deco { font-size: 8px; color: var(--gold); }
.drag-handle-hint { text-align: center; padding-top: 4px; }
.pulse-arrow { font-size: 10px; font-weight: 800; color: #92400E; animation: pulseMove 1.5s infinite; }
@keyframes pulseMove { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

/* 现代健康体检席位 (全面废除君主官职黑话) */
.viscera-board { flex: 1; background: rgba(15, 23, 42, 0.45); border: 1px solid rgba(194, 155, 56, 0.4); border-radius: 12px; display: flex; flex-direction: column; padding: 8px; margin-top: 38px; }
.board-header { text-align: center; margin-bottom: 6px; }
.board-title { font-size: 12px; font-weight: 800; color: #FDE68A; letter-spacing: 1px; }
.viscera-grid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 12px 8px; }
.zone-box { background: rgba(255, 255, 255, 0.04); border: 1.5px dashed rgba(255, 255, 255, 0.35); border-radius: 8px; display: flex; flex-direction: column; padding: 4px 6px; position: relative; transition: all 0.15s; }
.zone-box.drag-hover { background: rgba(194, 155, 56, 0.18); border-color: #FDE68A; box-shadow: inset 0 0 14px rgba(253, 230, 138, 0.45); }
.zone-label { font-size: 10.5px; font-weight: 800; color: #E2E8F0; display: flex; align-items: center; gap: 4px; }
.zone-label .badge { background: #334155; color: #FDE68A; font-size: 9px; padding: 1px 4px; border-radius: 3px; }
.zone-slot { flex: 1; position: relative; }

/* 右侧：症状判定药笺区 (去赌场筹码感) */
.chips-area { width: 130px; background: rgba(15, 23, 42, 0.65); border: 1px solid #334155; border-radius: 12px; display: flex; flex-direction: column; padding: 8px; z-index: 5; }
.chips-box { flex: 1; display: flex; flex-direction: column; justify-content: space-around; align-items: center; }
.chip-item { width: 48px; height: 48px; border-radius: 50%; border: 2px dashed #FFF; display: flex; justify-content: center; align-items: center; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.4); transition: transform 0.18s; }
.chip-item:hover { transform: scale(1.1); }
.chip-inner { width: 34px; height: 34px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 10px; font-weight: 900; color: #FFF; }
.chip-red { background: #991B1B; } .chip-red .chip-inner { background: #DC2626; }
.chip-green { background: #166534; } .chip-green .chip-inner { background: #16A34A; }
.chip-blue { background: #1E40AF; } .chip-blue .chip-inner { background: #2563EB; }
.chips-help { font-size: 9px; color: #94A3B8; text-align: center; margin-top: 4px; }

/* 游玩层与 6 层手札卡牌 (轻盈手感 + 抓起微浮深阴影) */
.card-play-layer { position: absolute; inset: 0; pointer-events: none; z-index: 50; }
.tcm-3d-card {
  position: absolute; width: 135px; height: 200px; pointer-events: auto; cursor: grab;
  transform-style: preserve-3d; will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  transition: width 0.25s, height 0.25s, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s;
}
/* 核心手感: 抓起时微浮 + 深阴影 */
.tcm-3d-card.is-grabbed {
  cursor: grabbing; z-index: 1000;
  transform: translateY(-8px) scale(1.06) !important;
  box-shadow: 0 24px 48px rgba(44, 24, 16, 0.42) !important;
}
/* 吸附入席归卷态 (自适应紧凑微缩，彻底根除遮挡下排席位标题缺陷) */
.tcm-3d-card.is-docked { width: 108px; height: 138px; box-shadow: 0 4px 14px rgba(0,0,0,0.3); }
.tcm-3d-card.is-docked .card-corner-symbol { font-size: 11px; }
.tcm-3d-card.is-docked .card-folk-name { font-size: 10.5px; line-height: 1.2; margin-top: 1px; }
.tcm-3d-card.is-docked .card-vernacular-desc { display: none; }
.tcm-3d-card.is-docked .seal-stamp { width: 30px; height: 30px; font-size: 8px; margin: 2px auto; }
.tcm-3d-card.is-docked .card-organ-target { font-size: 8.5px; padding: 1px 4px; }
.tcm-3d-card.is-docked .back-content-core { gap: 2px; }
.tcm-3d-card.is-docked .taiji-icon { font-size: 18px; }
.tcm-3d-card.is-docked .card-title-zh { font-size: 11px; }
.tcm-3d-card.is-docked .drag-handle-hint { display: none; }
.tcm-card-inner {
  position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1); will-change: transform;
}
.tcm-3d-card.flipped .tcm-card-inner { transform: rotateY(180deg); }

.card-face { position: absolute; inset: 0; border-radius: 12px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 16px 32px rgba(44, 24, 16, 0.22); }
.card-face-back { background: linear-gradient(135deg, #F6EFE2 0%, #E8DCBE 100%); border: 2px solid var(--gold); padding: 8px; }
.card-face-front { transform: rotateY(180deg); background: linear-gradient(135deg, #FBF7EC 0%, #F6EFE2 50%, #EFE5D2 100%); border: 2px solid var(--gold); padding: 6px; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink-dark); overflow: hidden; }
.card-inner-border { position: absolute; inset: 4px; border: 1px dashed rgba(194, 155, 56, 0.6); border-radius: 8px; pointer-events: none; }

/* 6层信息结构 + 治愈微插画 */
.card-corner-index { position: absolute; top: 6px; left: 8px; display: flex; flex-direction: column; align-items: center; line-height: 1; font-family: 'Georgia', serif; font-weight: 900; font-size: 13px; color: var(--ink-dark); }
.card-corner-index.bottom-right { top: auto; left: auto; bottom: 6px; right: 8px; transform: rotate(180deg); }
.card-corner-index.suit-red { color: var(--vermilion); }
.card-brand-tag { font-size: 7.5px; font-weight: 800; color: #8C6221; text-align: center; letter-spacing: 0.5px; margin-top: 1px; }
.card-dept-tag { font-size: 8.5px; font-weight: 900; color: #422517; text-align: center; background: #EFE2CA; border: 0.5px solid var(--gold); border-radius: 6px; padding: 1px 4px; margin: 1px 18px; }
.card-cat-tag { font-size: 8px; font-weight: 800; color: #8C4A27; text-align: center; letter-spacing: 1px; }
.card-symptom-hero { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 1px 2px; }
.hero-symptom-name { font-size: 14px; font-weight: 900; color: var(--ink-dark); letter-spacing: 0.5px; font-family: 'STKaiti', 'KaiTi', serif; line-height: 1.15; margin-bottom: 2px; }
.hero-symptom-illu { max-width: 90px; max-height: 44px; object-fit: contain; margin: 1px 0; border-radius: 4px; pointer-events: none; }
.hero-symptom-desc { font-size: 7.5px; color: #5A3825; margin-top: 2px; background: #E8D7BE; padding: 1px 4px; border-radius: 4px; max-width: 95%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-seal-stamp { position: absolute; right: 16px; top: 100px; width: 20px; height: 20px; background: var(--vermilion); color: #FFF; font-size: 6px; font-weight: 900; display: flex; justify-content: center; align-items: center; border-radius: 2px; transform: rotate(-10deg); opacity: 0.85; }
.card-pattern-footer { background: #26160F; border: 1px solid #A17A1E; border-radius: 6px; padding: 2px 4px; text-align: center; color: #FFF; margin: 0 4px 2px 4px; }
.pattern-title { font-size: 6.5px; color: #EBDCB9; letter-spacing: 0.5px; }
.pattern-name { font-size: 9px; font-weight: 900; color: #FDE68A; }
.corner-chip-badge { position: absolute; bottom: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #FFF; display: flex; justify-content: center; align-items: center; font-size: 7.5px; font-weight: 900; color: #FFF; box-shadow: 0 2px 6px rgba(0,0,0,0.5); z-index: 20; }

/* 弹窗与 Toast */
.result-modal-backdrop { position: absolute; inset: 0; background: rgba(11, 19, 31, 0.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; justify-content: center; align-items: center; z-index: 200; }
.result-modal-content { width: 820px; max-height: 520px; background: #1E293B; border: 2px solid var(--gold); border-radius: 14px; display: flex; flex-direction: column; box-shadow: 0 25px 50px rgba(0,0,0,0.7); overflow: hidden; }
.modal-header { padding: 12px 18px; background: #0F172A; border-bottom: 1px solid #334155; display: flex; justify-content: space-between; align-items: center; }
.modal-badge { font-size: 11px; color: #FDE68A; font-weight: 800; }
.modal-header h2 { font-size: 14px; color: #F8FAFC; }
.modal-close-btn { background: none; border: none; font-size: 20px; color: #94A3B8; cursor: pointer; }
.modal-body { padding: 16px; overflow-y: auto; flex: 1; }
.modal-footer { padding: 10px 16px; background: #0F172A; border-top: 1px solid #334155; display: flex; justify-content: flex-end; }
.btn-primary { background: var(--gold); color: #FFF; border: none; padding: 8px 18px; border-radius: 6px; font-weight: 700; cursor: pointer; }
.toast-bar { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); background: rgba(15, 23, 42, 0.9); color: #FEF3C7; border: 1px solid var(--gold); padding: 6px 16px; border-radius: 20px; font-size: 11.5px; font-weight: 600; pointer-events: none; opacity: 0; transition: opacity 0.3s; z-index: 300; }
.toast-bar.show { opacity: 1; }

/* 移动端竖屏原生自适应流式案台 (Skill 155 三段式物理硬隔离 & 4x2 等高脏腑受纳盘) */
@media (max-width: 900px) and (orientation: portrait) {
  .app-root-wrapper { padding: 0; }
  .screen-viewport { width: 100vw; height: 100%; height: 100dvh; border-radius: 0; border: none; box-shadow: none; transform: none !important; }
  .top-nav { height: 42px; padding: 0 10px; }
  .brand-title { font-size: 12px; }
  .brand-pill, .active-dept-pill { display: none; }
  .table-workspace { flex-direction: column; overflow: hidden; }
  .dept-vertical-sidebar { width: 100%; height: 42px; border-right: none; border-bottom: 1px solid #334155; padding: 4px 8px; flex-shrink: 0; }
  .sidebar-header { display: none; }
  .dept-list { display: flex; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 0; }
  .dept-nav-item { padding: 4px 12px; border-radius: 14px; white-space: nowrap; flex-shrink: 0; font-size: 11px; background: rgba(30,41,59,0.8); border: 1px solid #475569; }
  .dept-nav-item.active { background: linear-gradient(135deg, #B45309 0%, #78350F 100%); border-color: var(--gold); color: #FEF3C7; }
  .table-felt { flex: 1; display: flex; flex-direction: column; padding: 6px 8px; gap: 6px; overflow: hidden; position: relative; }
  .doctor-presence-bar { position: relative; top: auto; left: auto; right: auto; height: 32px; width: 100%; margin-bottom: 2px; padding: 0 8px; }
  .table-felt-center { flex: 0 0 auto; height: 160px; display: flex; flex-direction: row; justify-content: center; align-items: center; position: relative; margin: 0; }
  .deck-area { width: 100%; height: 160px; background: rgba(15, 23, 42, 0.4); border: 1px solid rgba(194, 155, 56, 0.25); border-radius: 10px; padding: 4px 8px; display: flex; flex-direction: row; align-items: center; justify-content: space-around; }
  .area-header, .chips-area { display: none; }
  .deck-stack { width: 105px; height: 148px; flex: none; position: relative; }
  .deck-layer, .deck-top-card { width: 105px; height: 148px; border-radius: 10px; padding: 6px; }
  .taiji-icon { font-size: 18px; }
  .card-title-zh { font-size: 11.5px; letter-spacing: 1px; }
  .card-subtitle-zh { font-size: 8.5px; }
  .viscera-board { flex: 1; min-height: 0; margin-top: 0; padding: 4px 6px; background: rgba(15, 23, 42, 0.55); border-radius: 10px; display: flex; flex-direction: column; }
  .board-header { margin-bottom: 4px; }
  .board-title { font-size: 11px; }
  .viscera-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 1fr); gap: 6px; }
  .zone-box { position: relative !important; top: auto !important; left: auto !important; width: 100% !important; height: 100% !important; padding: 2px 6px; border-radius: 6px; }
  .zone-label { font-size: 9.5px; }
  .zone-label .badge { font-size: 8px; padding: 0 2px; }
  .tcm-3d-card { width: 105px; height: 150px; }
  .tcm-3d-card.is-docked { width: 88px; height: 56px; }
}

/* Chrome 风格 Release Notes 胶囊与模态抽屉 */
.version-capsule { display: flex; align-items: center; gap: 6px; background: rgba(30, 41, 59, 0.85); border: 1px solid #C29B38; color: #FEF3C7; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 14px; cursor: pointer; transition: all 0.2s; box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.version-capsule:hover { background: #92400E; border-color: #FDE68A; transform: scale(1.04); }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #34A853; box-shadow: 0 0 6px #34A853; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 1; transform: scale(1.2); } 100% { opacity: 0.6; } }

.release-modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; justify-content: center; align-items: center; z-index: 1000; }
.chrome-release-drawer { width: 720px; max-width: 94vw; max-height: 85vh; background: #FFFFFF; border-radius: 14px; border: 1px solid #E8EAED; display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(0,0,0,0.35); overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, PingFang SC, sans-serif; transition: all 0.25s; }
.chrome-release-drawer.drawer-mode { position: fixed; right: 0; top: 0; bottom: 0; max-height: 100vh; width: 560px; border-radius: 0; }

/* 头部 1:1 对标美宿云截图 */
.drawer-header { padding: 14px 20px 10px 20px; background: #FFFFFF; display: flex; justify-content: space-between; align-items: flex-start; }
.drawer-brand { display: flex; gap: 12px; align-items: flex-start; }
.drawer-brand-logo { width: 36px; height: 36px; border-radius: 50%; background: #F1F3F4; display: flex; justify-content: center; align-items: center; margin-top: 2px; }
.drawer-title-main { font-size: 15px; font-weight: 800; color: #202124; display: flex; align-items: center; gap: 8px; }
.badge-tag-info { background: #F1F3F4; color: #3C4043; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.drawer-subtitle { font-size: 11.5px; color: #5F6368; margin-top: 4px; }
.drawer-header-actions { display: flex; align-items: center; gap: 8px; }
.drawer-tool-btn { background: #FFFFFF; border: 1px solid #DADCE0; border-radius: 6px; padding: 4px 10px; font-size: 11px; color: #3C4043; font-weight: 600; cursor: pointer; transition: background 0.15s; }
.drawer-tool-btn:hover { background: #F8F9FA; }
.drawer-close-btn { background: none; border: none; font-size: 16px; color: #5F6368; cursor: pointer; padding: 4px 8px; border-radius: 4px; }
.drawer-close-btn:hover { background: #F1F3F4; color: #202124; }

/* 三大 Tab 导航 (截图 1:1 蓝色下划指示线) */
.drawer-tabs { display: flex; border-bottom: 1px solid #E8EAED; padding: 0 16px; background: #FFFFFF; }
.drawer-tab-btn { background: none; border: none; padding: 10px 16px; font-size: 12.5px; font-weight: 600; color: #5F6368; cursor: pointer; display: flex; align-items: center; gap: 6px; border-bottom: 2px solid transparent; transition: all 0.15s; }
.drawer-tab-btn:hover { color: #202124; }
.drawer-tab-btn.active { color: #1A73E8; font-weight: 800; border-bottom: 2px solid #1A73E8; }

/* 抽屉内容与各大 Tab 样式 */
.drawer-body { padding: 16px 20px; overflow-y: auto; flex: 1; background: #F8F9FA; display: flex; flex-direction: column; gap: 14px; font-size: 12px; }
.about-status-banner { background: #ECFDF5; border: 1px solid #A7F3D0; border-radius: 8px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; }
.pulse-dot-live { width: 8px; height: 8px; border-radius: 50%; background: #10B981; box-shadow: 0 0 6px #10B981; animation: pulse 2s infinite; }
.about-status-text { font-size: 12.5px; font-weight: 800; color: #065F46; }
.chrome-about-card { background: #FFFFFF; border: 1px solid #E8EAED; border-radius: 8px; padding: 14px 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.about-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 8px; }
.info-item { background: #F8F9FA; border: 1px solid #E8EAED; border-radius: 6px; padding: 8px 10px; }
.info-label { font-size: 10.5px; color: #5F6368; font-weight: 600; }
.info-value { font-size: 12px; color: #202124; font-weight: 800; margin-top: 2px; }

.checklist-card { background: #FFFFFF; border: 1px solid #E8EAED; border-radius: 8px; padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; }
.checklist-status-badge { background: #DEF7EC; color: #03543F; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 4px; white-space: nowrap; margin-top: 1px; }
.checklist-title { font-size: 12.5px; font-weight: 800; color: #1E293B; }
.checklist-desc { font-size: 11.5px; color: #64748B; margin-top: 3px; }
.checklist-expected { font-size: 11px; color: #B45309; margin-top: 3px; font-weight: 600; }

.drawer-footer { padding: 10px 20px; background: #FFFFFF; border-top: 1px solid #E8EAED; display: flex; justify-content: space-between; align-items: center; }
.footer-env-hint { font-size: 11px; color: #5F6368; }
.footer-copy-btn { background: #1A73E8; color: #FFF; border: none; padding: 6px 14px; border-radius: 6px; font-size: 11px; font-weight: 700; cursor: pointer; transition: background 0.15s; }
.footer-copy-btn:hover { background: #1557B0; }
