/* ════════════════════════════════════════════════════════
   公司档案 · company-profile.css
   ────────────────────────────────────────────────────────
   resume.html（工作经历徽章 + 抽屉）与 index.html（SEC.04 徽章）共用。
   视觉语言沿用站点：纸底 / 3px 粗边框 / 硬阴影 / mono 数字 / pill 标签。
   颜色只用 CSS 变量（--paper/--card/--ink/--ink-soft/--orange/--blue/--green），
   blueprint / newsprint / noir 主题切换自动生效。
   ════════════════════════════════════════════════════════ */

/* ══ 1. 徽章（公司名左侧「档」字贴纸） ═════════════════ */
.cp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 7px;
  vertical-align: -3px;
  border: 2px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: transform .12s ease, background .12s ease, color .12s ease, box-shadow .12s ease;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .18);
}
.cp-badge:hover,
.cp-badge:focus-visible {
  transform: translate(-1px, -1px);
  background: var(--orange);
  color: #fff;
  box-shadow: 3px 3px 0 var(--ink);
  outline: none;
}
.cp-badge:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }

/* 简历页：item-head 里徽章贴在公司名前 */
.item-title .cp-badge { margin-right: 8px; }
/* 首页：exp-company 标题行内 */
.exp-company .cp-badge { margin-right: 9px; width: 19px; height: 19px; }

/* ══ 2. 速览行（徽章下方一行 mono 数据点） ═════════════ */
.cp-quick {
  margin: 3px 0 2px;
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink-soft);
}
.cp-quick::before {
  content: '▸ 档案速览';
  margin-right: 8px;
  color: var(--blue);
}

/* 打印版档案链接（仅打印可见） */
.cp-print-link { display: none; }

/* ══ 3. 抽屉骨架 ═════════════════════════════════════ */
.cp-drawer { position: fixed; inset: 0; z-index: 320; }
.cp-drawer[hidden] { display: none; }
.cp-backdrop {
  position: absolute; inset: 0;
  background: rgba(16, 14, 26, .55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  animation: cp-fade .2s ease both;
}
@keyframes cp-fade { from { opacity: 0; } to { opacity: 1; } }

.cp-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(720px, 92vw);
  display: flex; flex-direction: column;
  background: var(--card);
  border-left: 3px solid var(--ink);
  box-shadow: -8px 0 0 rgba(0, 0, 0, .12);
  animation: cp-slide .28s cubic-bezier(.22, .9, .3, 1) both;
}
@keyframes cp-slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }

.cp-panel-scroll { overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; }

.cp-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 36px; height: 36px;
  border: 2.5px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  font-size: 17px; font-weight: 700; line-height: 1;
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .2);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.cp-close:hover, .cp-close:focus-visible {
  transform: rotate(90deg);
  background: var(--orange); color: #fff;
  outline: none;
}

body.cp-lock { overflow: hidden; }

/* ══ 4. 抽屉头部 ═════════════════════════════════════ */
.cp-head {
  position: sticky; top: 0; z-index: 2;
  padding: 24px 28px 18px;
  background: var(--card);
  border-bottom: 3px solid var(--ink);
}
.cp-head-top { display: flex; align-items: flex-start; gap: 14px; padding-right: 44px; }
.cp-stamp {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-mono, monospace);
  font-size: 17px; font-weight: 700; letter-spacing: .04em;
  transform: rotate(-3deg);
}
/* 有公司 logo 时沿用同一枚印章方框，只把中间的字母缩写换成图片 */
.cp-stamp.has-logo { padding: 0; overflow: hidden; }
.cp-stamp-logo {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 5px;
}
.cp-title {
  font-family: var(--font-display, sans-serif);
  font-size: clamp(18px, 2.6vw, 23px);
  font-weight: 900;
  line-height: 1.3;
  margin: 1px 0 4px;
}
.cp-sub {
  font-size: 12.5px;
  color: var(--ink-soft);
  display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center;
}
.cp-site {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  font-weight: 700;
  transition: border-color .15s ease;
}
.cp-site:hover, .cp-site:focus-visible { border-bottom-color: var(--blue); }
.cp-founded { font-family: var(--font-mono, monospace); font-size: 11.5px; }
.cp-entity { margin-top: 3px; font-size: 11px; color: var(--ink-soft); opacity: .85; }
.cp-oneline {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  border-left: 4px solid var(--orange);
  padding: 8px 12px;
}
.cp-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.cp-pill {
  font-family: var(--font-mono, monospace);
  font-size: 11px; font-weight: 700;
  border: 1.5px solid var(--ink);
  padding: 3px 10px;
  background: var(--card);
  color: var(--ink);
}
.cp-pill:first-child { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ══ 5. 各内容区 ═════════════════════════════════════ */
.cp-sec { padding: 20px 28px 4px; }
.cp-sec-first { padding-top: 18px; }
.cp-sec-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.cp-sec-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--ink) 0 6px, transparent 6px 12px);
  opacity: .4;
}

/* KPI 四格 */
.cp-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.cp-kpi {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 10px 10px 8px;
  min-width: 0;
}
.cp-kpi strong {
  display: block;
  font-family: var(--font-mono, monospace);
  font-size: clamp(13px, 1.8vw, 16px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}
.cp-kpi span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 700;
}
.cp-kpi em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 10px;
  color: var(--ink-soft);
  opacity: .8;
  line-height: 1.4;
}

/* 业务档案三行 */
.cp-row { display: flex; gap: 12px; margin-bottom: 11px; }
.cp-row-label {
  flex: 0 0 64px;
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue);
  font-family: var(--font-mono, monospace);
  letter-spacing: .04em;
  line-height: 1.6;
}
.cp-row-text { flex: 1; margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--ink); }

/* 图表 */
.cp-chart {
  margin: 0 28px 6px;
  border: 2.5px solid var(--ink);
  background: var(--paper);
  padding: 16px 14px 10px;
}
.cp-chart-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  margin-bottom: 6px;
}
.cp-chart-head h4 { font-size: 12.5px; font-weight: 900; letter-spacing: .06em; }
.cp-chart-tabs { display: flex; gap: 0; }
.cp-tab {
  border: 2px solid var(--ink);
  background: var(--card);
  color: var(--ink-soft);
  font-family: var(--font-mono, monospace);
  font-size: 11.5px; font-weight: 700;
  padding: 4px 12px;
  cursor: pointer;
  margin-left: -2px;
}
.cp-tab:first-child { margin-left: 0; }
.cp-tab[aria-selected="true"] { background: var(--ink); color: var(--card); position: relative; z-index: 1; }
.cp-tab:hover { color: var(--ink); }
.cp-tab[aria-selected="true"]:hover { color: var(--card); }

.cp-chart-svg { width: 100%; height: auto; display: block; }
.cp-grid { stroke: var(--ink-soft); stroke-width: 1; opacity: .22; }
.cp-grid.cp-axis { opacity: .65; }
.cp-tick { fill: var(--ink-soft); font-family: var(--font-mono, monospace); font-size: 10.5px; }
.cp-bar { fill: var(--blue); stroke: var(--ink); stroke-width: 1.6; }
.cp-bar-g.is-latest .cp-bar { fill: var(--orange); }
.cp-bar-g:hover .cp-bar { fill: var(--green); }
.cp-bar-g.is-latest:hover .cp-bar { fill: var(--orange); }
.cp-bar-val { fill: var(--ink-soft); font-family: var(--font-mono, monospace); font-size: 11px; font-weight: 700; }
.cp-bar-val.is-latest-text { fill: var(--orange); }
.cp-chart-panel[hidden] { display: none; }
.cp-chart-latest {
  display: flex; align-items: center; gap: 8px;
  margin: 6px 2px 0;
  font-size: 12px;
  color: var(--ink);
  line-height: 1.5;
}
.cp-latest-dot {
  flex-shrink: 0;
  width: 7px; height: 7px;
  background: var(--orange);
  border: 1.5px solid var(--ink);
  animation: cp-blink 1.6s steps(2, jump-none) infinite;
}
@keyframes cp-blink { 50% { opacity: .25; } }

/* 融资时间线 */
.cp-funding { margin: 0 28px 6px; }
.cp-funding h4 { font-size: 13px; font-weight: 900; letter-spacing: .14em; margin-bottom: 8px; }
.cp-note { font-size: 11.5px; color: var(--ink-soft); margin-bottom: 12px; }
.cp-rounds { list-style: none; margin: 0; padding: 0; position: relative; }
.cp-rounds::before {
  content: '';
  position: absolute; left: 5px; top: 8px; bottom: 8px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--ink) 0 5px, transparent 5px 10px);
  opacity: .5;
}
.cp-round {
  position: relative;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 7px 0 12px 22px;
}
.cp-round-dot {
  position: absolute; left: 0; top: 11px;
  width: 12px; height: 12px;
  border: 2.5px solid var(--ink);
  background: var(--card);
}
.cp-round.is-latest-round .cp-round-dot { background: var(--orange); }
.cp-round.is-latest-round .cp-round-dot { box-shadow: 2px 2px 0 var(--ink); }
.cp-round-main { flex: 1; min-width: 0; }
.cp-round-title { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cp-round-title b { font-size: 13px; font-weight: 900; }
.cp-round-amount {
  font-family: var(--font-mono, monospace);
  font-size: 12px; font-weight: 700;
  color: var(--green);
  border: 1.5px solid var(--green);
  padding: 1px 8px;
}
.cp-round.is-latest-round .cp-round-amount { color: var(--orange); border-color: var(--orange); }
.cp-round-meta { margin: 2px 0 0; font-size: 12px; color: var(--ink-soft); }
.cp-round-date {
  flex-shrink: 0;
  font-family: var(--font-mono, monospace);
  font-size: 11px; font-weight: 700;
  color: var(--ink-soft);
}

/* 知名度与客户 */
.cp-recog { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cp-recog li {
  display: flex; gap: 12px; align-items: baseline;
  border-left: 3px solid var(--blue);
  background: var(--paper);
  padding: 8px 12px;
}
.cp-recog-t { flex: 0 0 52px; margin: 0; font-size: 12px; font-weight: 900; }
.cp-recog-d { flex: 1; margin: 0; font-size: 12.5px; line-height: 1.65; color: var(--ink-soft); }

/* 发展前景 */
.cp-outlook { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cp-outlook-h { margin: 0 0 7px; font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.cp-outlook-h.is-op { color: var(--green); }
.cp-outlook-h.is-risk { color: var(--orange); }
.cp-outlook-list { list-style: none; margin: 0; padding: 0; }
.cp-outlook-list li {
  position: relative;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  padding-left: 16px;
  margin-bottom: 7px;
}
.cp-outlook-list li::before { content: '▪'; position: absolute; left: 0; color: var(--ink); opacity: .5; }
/* 产品橱窗：封面（真实截图或字标色块） + 一句话提炼 + 官网外链 */
.cp-showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 2px 0 6px; }
.cp-showcase-note {
  font-family: var(--font-mono, monospace); font-size: 10.5px;
  color: var(--ink-soft); letter-spacing: .04em; margin: 0 0 11px;
}
.cp-product {
  display: block; color: inherit; text-decoration: none;
  border: 2px solid var(--ink); background: var(--paper);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.cp-product:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--orange); border-color: var(--orange); }
.cp-product:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.cp-product-cover {
  height: auto; aspect-ratio: 16 / 7; padding: 10px 13px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
  border-bottom: 2px solid var(--ink); background: #E6F1FB;
}
/* 截图封面：真实官网首屏，顶部对齐裁剪；域名/徽章叠图展示加浅底保证可读 */
.cp-product-cover.has-img { position: relative; padding: 0; background: rgba(26, 22, 12, .05); }
.cp-product-cover.has-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
}
.cp-product-cover.has-img .cp-product-cover-meta {
  position: absolute; right: 7px; bottom: 7px;
  flex-direction: row; align-items: center; gap: 6px;
  padding: 3px 8px; background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(26, 22, 12, .18);
}
.cp-product-mark { font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: .02em; }
.cp-product-cover-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 0; }
.cp-product-domain {
  font-family: var(--font-mono, monospace); font-size: 10px;
  overflow-wrap: anywhere; text-align: right;
}
.cp-product-mine {
  font-size: 10px; padding: 2px 8px; border: 1.5px solid var(--ink);
  border-radius: 99px; background: var(--paper); color: var(--ink); white-space: nowrap;
}
.cp-product-body { padding: 11px 13px 12px; }
.cp-product-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* 截图卡的「本人参与」徽章从封面移到标题行：名称 → 徽章 聚左，分类靠右 */
.cp-product-kind { margin-left: auto; }
.cp-product-name { font-size: 14.5px; font-weight: 700; }
.cp-product-kind { font-size: 10.5px; color: var(--ink-soft); }
.cp-product-tagline { margin: 6px 0 9px; font-size: 12.5px; line-height: 1.65; }
.cp-product-subs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 9px; }
.cp-product-sub { font-size: 10.5px; padding: 2px 8px; border: 1px solid var(--ink-soft); border-radius: 99px; color: var(--ink-soft); }
.cp-product-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding-top: 8px; border-top: 1px dashed var(--ink-soft);
  font-family: var(--font-mono, monospace); font-size: 10px; color: var(--ink-soft);
}
.cp-product-go { color: var(--orange); white-space: nowrap; }
.tone-blue   { background: #E6F1FB; } .tone-blue   .cp-product-mark, .tone-blue   .cp-product-domain { color: #0C447C; }
.tone-amber  { background: #FAEEDA; } .tone-amber  .cp-product-mark, .tone-amber  .cp-product-domain { color: #633806; }
.tone-teal   { background: #E1F5EE; } .tone-teal   .cp-product-mark, .tone-teal   .cp-product-domain { color: #085041; }
.tone-green  { background: #EAF3DE; } .tone-green  .cp-product-mark, .tone-green  .cp-product-domain { color: #27500A; }
.tone-purple { background: #EEEDFE; } .tone-purple .cp-product-mark, .tone-purple .cp-product-domain { color: #3C3489; }
.tone-coral  { background: #FAECE7; } .tone-coral  .cp-product-mark, .tone-coral  .cp-product-domain { color: #712B13; }
.tone-gray   { background: #F1EFE8; } .tone-gray   .cp-product-mark, .tone-gray   .cp-product-domain { color: #444441; }

/* 办公环境 */
.cp-office { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cp-office-img { margin: 0; border: 2px solid var(--ink); background: var(--paper); }
.cp-office-img img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  display: block; cursor: zoom-in;
  transition: transform .15s ease;
}
.cp-office-img img:hover { transform: scale(1.02); }
.cp-office-img figcaption,
.cp-office-img.is-ph figcaption {
  padding: 5px 8px;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  color: var(--ink-soft);
  border-top: 2px solid var(--ink);
  line-height: 1.45;
}
/* 占位卡：图纸网格风，等地实照片 */
.cp-ph {
  position: relative;
  aspect-ratio: 4/3;
  border-bottom: 2px solid var(--ink);
  background:
    linear-gradient(var(--ink-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-soft) 1px, transparent 1px),
    var(--paper);
  background-size: 14px 14px, 14px 14px, auto;
  background-position: -1px -1px, -1px -1px, 0 0;
  opacity: .9;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.cp-ph-code { font-family: var(--font-mono, monospace); font-size: 20px; font-weight: 700; color: var(--ink-soft); }
.cp-ph-tag {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px; font-weight: 700;
  color: var(--ink-soft);
  border: 1.5px dashed var(--ink-soft);
  padding: 2px 7px;
}

/* 来源与免责 */
.cp-sources {
  margin-top: 18px;
  padding: 18px 28px 26px;
  border-top: 3px solid var(--ink);
  background: var(--paper);
}
.cp-src-title {
  margin: 0 0 9px;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--ink-soft);
}
.cp-sources ol { margin: 0; padding: 0; list-style: none; columns: 1; }
.cp-sources li { font-size: 11.5px; line-height: 1.9; color: var(--ink-soft); }
.cp-src-no { font-family: var(--font-mono, monospace); font-weight: 700; margin-right: 5px; color: var(--ink); }
.cp-sources a { color: var(--blue); text-decoration: none; border-bottom: 1px solid transparent; }
.cp-sources a:hover { border-bottom-color: var(--blue); }
.cp-disclaimer {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1.5px dashed var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  opacity: .85;
}
.cp-ref { font-family: var(--font-mono, monospace); font-size: .62em; vertical-align: super; color: var(--blue); margin-left: 1px; font-weight: 700; }

/* 灯箱 */
.cp-lightbox {
  position: fixed; inset: 0; z-index: 340;
  background: rgba(16, 14, 26, .82);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.cp-lightbox[hidden] { display: none; }
.cp-lightbox img {
  max-width: 92vw; max-height: 88vh;
  border: 3px solid #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
}
.cp-lightbox-close {
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px;
  border: 2.5px solid #fff;
  background: transparent; color: #fff;
  font-size: 18px; cursor: pointer;
  transition: background .12s ease, color .12s ease;
}
.cp-lightbox-close:hover { background: #fff; color: #111; }

/* ══ 5.5 360° 全景：图片库卡片标记 + 查看器 ═════════════
   全景图是 2.1:1 等距柱状投影，卡片用 4:3 封面 + 圆形 360 徽章，
   点开后由 js/cp-panorama.js 用 WebGL 贴到球面，拖拽环视。 */
.cp-office-img.is-pano { position: relative; }
.cp-office-img.is-pano img { cursor: grab; }
.cp-office-img.is-pano img:active { cursor: grabbing; }
.cp-pano-badge {
  position: absolute; top: 8px; left: 8px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px 4px 7px;
  border: 2px solid #fff; border-radius: 999px;
  background: rgba(16, 14, 26, .78); color: #fff;
  font-family: var(--font-mono, monospace);
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  line-height: 1; white-space: nowrap; pointer-events: none;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .4);
}
.cp-pano-badge svg { width: 14px; height: 14px; display: block; }

body.cp-pano-open { overflow: hidden; }
.cp-pano {
  position: fixed; inset: 0; z-index: 380;
  background: #100e1a; color: #fff; overflow: hidden;
  font-family: var(--font-cn, sans-serif);
}
.cp-pano[hidden] { display: none; }
.cp-pano-canvas {
  display: block; width: 100%; height: 100%;
  cursor: grab; touch-action: none; outline: none;
}
.cp-pano-canvas:active { cursor: grabbing; }
.cp-pano-canvas[hidden] { display: none; }
.cp-pano-fallback {
  position: absolute; inset: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  cursor: grab; touch-action: none;
}
.cp-pano-fallback[hidden] { display: none; }
.cp-pano-fallback img {
  height: 100%; width: auto; max-width: none;
  user-select: none; -webkit-user-drag: none;
  transform-origin: center center;
}
.cp-pano-head {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 16px 18px 34px;
  background: linear-gradient(rgba(12, 10, 20, .72), transparent);
  pointer-events: none;
}
.cp-pano-head > * { pointer-events: auto; }
.cp-pano-meta { display: flex; flex-direction: column; gap: 4px; max-width: 78%; }
.cp-pano-title { font-size: 16px; font-weight: 800; letter-spacing: .02em; }
.cp-pano-sub {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px; color: rgba(255, 255, 255, .78); line-height: 1.5;
}
.cp-pano-close {
  flex: none; width: 38px; height: 38px;
  border: 2px solid #fff; border-radius: 0;
  background: rgba(16, 14, 26, .45); color: #fff;
  font-size: 17px; line-height: 1; cursor: pointer;
  transition: background .12s ease, color .12s ease;
}
.cp-pano-close:hover, .cp-pano-close:focus-visible { background: #fff; color: #111; outline: none; }
.cp-pano-hint {
  position: absolute; top: 74px; left: 50%; transform: translateX(-50%);
  padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .4);
  background: rgba(16, 14, 26, .5); color: rgba(255, 255, 255, .9);
  font-family: var(--font-mono, monospace); font-size: 10px;
  letter-spacing: .04em; white-space: nowrap; pointer-events: none;
  animation: cp-pano-hint-fade .5s ease 4s both;
}
@keyframes cp-pano-hint-fade { to { opacity: 0; visibility: hidden; } }
/* 大图加载期间先用模糊封面占位，避免纯黑屏 */
.cp-pano-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; filter: blur(4px) brightness(.58);
  transform: scale(1.05); pointer-events: none;
}
.cp-pano-poster[hidden] { display: none; }
.cp-pano-loading {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: transparent; color: #fff; font-size: 13px;
  font-family: var(--font-mono, monospace); pointer-events: none;
}
.cp-pano-loading span {
  padding: 9px 18px; background: rgba(16, 14, 26, .78);
  border: 1px solid rgba(255, 255, 255, .35); letter-spacing: .04em;
}
.cp-pano-loading[hidden] { display: none; }
.cp-pano-foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
  padding: 40px 18px 18px;
  background: linear-gradient(transparent, rgba(12, 10, 20, .76));
  pointer-events: none;
}
.cp-pano-foot > * { pointer-events: auto; }
.cp-pano-scenes { display: flex; flex-wrap: wrap; gap: 6px; }
.cp-pano-ctl { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.cp-pano-ctl button, .cp-pano-scenes button {
  min-width: 34px; padding: 6px 11px;
  border: 1.5px solid rgba(255, 255, 255, .65); border-radius: 0;
  background: rgba(16, 14, 26, .55); color: #fff;
  font-family: var(--font-mono, monospace); font-size: 11px; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.cp-pano-ctl button:hover, .cp-pano-ctl button:focus-visible,
.cp-pano-scenes button:hover, .cp-pano-scenes button:focus-visible {
  background: #fff; color: #111; border-color: #fff; outline: none;
}
.cp-pano-ctl button.is-on, .cp-pano-scenes button.is-active {
  background: var(--orange, #FF5A1E); border-color: var(--orange, #FF5A1E); color: #fff;
}
@media (max-width: 720px) {
  .cp-pano-head { padding: 12px 12px 28px; }
  .cp-pano-title { font-size: 14px; }
  .cp-pano-sub { font-size: 9.5px; }
  .cp-pano-hint { top: 66px; font-size: 9px; }
  .cp-pano-foot { flex-direction: column; align-items: stretch; padding: 36px 12px 12px; }
  .cp-pano-ctl { justify-content: center; }
  .cp-pano-ctl button, .cp-pano-scenes button { padding: 7px 9px; font-size: 10px; }
}

.cp-empty { padding: 60px 30px; text-align: center; color: var(--ink-soft); }

/* ══ 6. 移动端 ═══════════════════════════════════════ */
@media (max-width: 720px) {
  .cp-panel {
    top: auto; left: 0; right: 0; bottom: 0;
    width: 100%;
    max-height: 88vh;
    border-left: none;
    border-top: 3px solid var(--ink);
    box-shadow: 0 -8px 0 rgba(0, 0, 0, .12);
    animation: cp-sheet .28s cubic-bezier(.22, .9, .3, 1) both;
    border-radius: 0;
  }
  @keyframes cp-sheet { from { transform: translateY(48px); opacity: 0; } to { transform: none; opacity: 1; } }
  .cp-head { padding: 16px 16px 14px; }
  .cp-head-top { gap: 10px; }
  .cp-stamp { width: 42px; height: 42px; font-size: 14px; }
  .cp-sec, .cp-sec-first { padding: 16px 16px 2px; }
  .cp-chart, .cp-funding { margin: 0 16px 6px; }
  .cp-kpis { grid-template-columns: 1fr 1fr; }
  .cp-row { flex-direction: column; gap: 2px; }
  .cp-office { grid-template-columns: 1fr 1fr; }
  .cp-showcase { grid-template-columns: 1fr; }
  .cp-outlook { grid-template-columns: 1fr; }
  .cp-sources { padding: 16px 16px 22px; }
  .cp-quick { font-size: 10px; }
}

@media (max-width: 380px) {
  .cp-office { grid-template-columns: 1fr; }
  .cp-chart-tabs { width: 100%; }
  .cp-tab { flex: 1; padding: 4px 6px; }
}

/* ══ 7. 打印：抽屉与徽章整体退场，只留档案链接 ═══════ */
/* 办公图相册：多于 3 张默认折叠，「展开全部 / 收起相册」按钮切换 */
.cp-office.is-folded .cp-office-img.is-extra { display: none; }
.cp-album-toggle {
  margin-top: 10px; padding: 4px 12px;
  font-family: var(--font-cn, sans-serif); font-size: 11px; font-weight: 500;
  color: var(--ink-soft, #4A463F); background: transparent;
  border: 1.5px dashed var(--ink-soft, #4A463F); cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.cp-album-toggle:hover { color: var(--orange, #FF5A1E); border-color: currentColor; }
.cp-album-toggle:focus-visible { outline: 2px solid var(--orange, #FF5A1E); outline-offset: 2px; }

/* 公司名即档案入口：屏幕上 hover 变橙 + 虚线提示可点 */
a.cp-name-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px dashed transparent;
  transition: color .15s ease, border-color .15s ease;
}
a.cp-name-link:hover { color: var(--orange, #FF5A1E); border-bottom-color: currentColor; }
a.cp-name-link:focus-visible { outline: 2px solid var(--orange, #FF5A1E); outline-offset: 2px; }

/* ══ 7.5 前身与沿革 / 访谈视频 ═══════════════════════ */
.cp-predecessor { border: 1.5px solid var(--ink-soft, #4A463F); padding: 14px 16px 6px; }
.cp-pred-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.cp-pred-tag {
  font-size: 10px; font-weight: 900; letter-spacing: .08em;
  padding: 2px 8px; background: var(--blue, #2D6CDF); color: #fff; border-radius: 2px;
}
.cp-pred-name { font-size: 15px; font-weight: 800; }
.cp-pred-founded { font-size: 11px; color: var(--ink-soft, #4A463F); margin-left: auto; }
[data-theme="noir"] .cp-pred-tag { color: #0b0a14; }

.cp-interview { border: 1.5px solid var(--ink); margin-bottom: 14px; background: var(--card); }
.cp-video-wrap { background: #000; aspect-ratio: 16 / 9; line-height: 0; }
.cp-video { width: 100%; height: 100%; display: block; object-fit: contain; }
.cp-interview-body { padding: 12px 14px 14px; }
.cp-interview-title { font-size: 14.5px; font-weight: 800; margin: 0 0 6px; line-height: 1.5; }
.cp-interview-meta { font-size: 11px; color: var(--ink-soft, #4A463F); margin: 0 0 8px; line-height: 1.6; }
.cp-interview-desc { font-size: 12.5px; line-height: 1.7; margin: 0 0 10px; }
.cp-video-chapters { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.cp-interview-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cp-video-link {
  font-size: 11.5px; font-weight: 700; color: var(--blue, #2D6CDF);
  text-decoration: none; border-bottom: 1px dashed currentColor;
}
.cp-video-link:hover { color: var(--orange, #FF5A1E); }
.cp-video-archive { font-size: 10.5px; color: var(--ink-soft, #4A463F); line-height: 1.6; flex: 1 1 220px; }

/* ══ 7.6 竞品分析 ═══════════════════════════════════ */
.cp-cmp-landscape {
  font-size: 12.5px; line-height: 1.8; margin: 0 0 14px;
  padding: 12px 14px; background: var(--card, #fff);
  border-left: 3px solid var(--blue, #2D6CDF);
}
.cp-cmp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cp-cmp-card {
  border: 1px solid var(--line, #E6E2DA); background: var(--card, #fff);
  display: flex; flex-direction: column; min-width: 0;
}
.cp-cmp-card-head { display: flex; align-items: center; gap: 9px; padding: 11px 12px 9px; border-bottom: 1px solid var(--line, #E6E2DA); }
.cp-cmp-mark {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 3px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; line-height: 1;
}
.cp-cmp-ident { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.cp-cmp-name { font-size: 13.5px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.cp-cmp-vendor { font-size: 10.5px; color: var(--ink-soft, #4A463F); line-height: 1.4; }
.cp-cmp-kind {
  flex: 0 0 auto; font-size: 10px; font-weight: 800; letter-spacing: .03em;
  padding: 3px 7px; border-radius: 2px; white-space: nowrap;
  background: var(--line, #E6E2DA); color: var(--ink-soft, #4A463F);
}
.cp-cmp-kind.is-direct   { background: #FAECE7; color: #712B13; }
.cp-cmp-kind.is-adjacent { background: #E6F1FB; color: #0C447C; }
.cp-cmp-kind.is-indirect { background: #F1EFE8; color: #444441; }
.cp-cmp-kind.is-offset   { background: #EEEDFE; color: #3C3489; }
.cp-cmp-kind.is-point    { background: #EAF3DE; color: #27500A; }
.cp-cmp-kind.is-emerging { background: #FAEEDA; color: #633806; }
.cp-cmp-kind.is-platform { background: #E1F5EE; color: #085041; }
.cp-cmp-kind.is-diff     { background: #EEEDFE; color: #3C3489; }
.cp-cmp-rows { padding: 9px 12px; flex: 1 1 auto; }
.cp-cmp-row { display: flex; gap: 8px; font-size: 11.5px; line-height: 1.6; margin-bottom: 6px; }
.cp-cmp-row:last-child { margin-bottom: 0; }
.cp-cmp-k { flex: 0 0 52px; color: var(--ink-soft, #4A463F); font-weight: 700; }
.cp-cmp-v { flex: 1 1 auto; overflow-wrap: anywhere; }
.cp-cmp-foot { padding: 8px 12px 10px; border-top: 1px solid var(--line, #E6E2DA); }
.cp-cmp-link { font-size: 11px; font-weight: 700; color: var(--blue, #2D6CDF); text-decoration: none; border-bottom: 1px dashed currentColor; }
.cp-cmp-link:hover { color: var(--orange, #FF5A1E); }
.cp-cmp-src { font-size: 10.5px; color: var(--ink-soft, #4A463F); }
[data-theme="noir"] .cp-cmp-kind { color: #0b0a14; }
@media (max-width: 680px) {
  .cp-cmp-grid { grid-template-columns: 1fr; }
}

@media print {
  /* 打印时不输出视频播放器（纸面无意义） */
  .cp-video-wrap { display: none !important; }
  .cp-interview, .cp-cmp-card { break-inside: avoid; }
  /* 打印 / 存 PDF：公司名保留为真实超链接（Chrome 会写入 PDF），
     用细虚线下划线提示可点，不再输出显式的档案链接行 */
  /* 仅隐藏纯屏幕交互层；档案速览行在纸面/PDF 中保留（用户要求） */
  .cp-drawer, .cp-lightbox, .cp-pano { display: none !important; }
  /* 速览行：缩小字号、避免跨页断开，标签与数据一起打印 */
  .cp-quick {
    display: block !important;
    font-size: 9.5px;
    line-height: 1.3;
    margin: 2px 0 3px;
    break-inside: avoid;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .cp-quick::before { margin-right: 6px; }
  /* 全景卡在纸面上退化为普通封面图，去掉 360 徽章 */
  .cp-pano-badge { display: none; }
  /* 独立档案页存 PDF：橱窗退成「产品名 + 域名 + 一句话」，整卡仍是可点链接 */
  .cp-showcase { display: block; }
  .cp-product { border-width: 1px; margin-bottom: 6px; break-inside: avoid; box-shadow: none; }
  .cp-product:hover { transform: none; box-shadow: none; }
  .cp-product-cover { height: auto; aspect-ratio: auto; padding: 3px 8px; border-bottom: 1px solid #000; background: #fff !important; }
  .cp-product-mark, .cp-product-mine, .cp-product-subs, .cp-product-foot { display: none; }
  /* 截图封面卡在打印时同样退化：隐藏截图与叠层徽章，只留域名行 */
  .cp-product-cover.has-img img { display: none; }
  .cp-product-cover.has-img .cp-product-cover-meta { position: static; flex-direction: row; padding: 0; background: none; border: 0; }
  .cp-product-domain { color: #000 !important; text-align: left; }
  .cp-product-body { padding: 4px 8px 6px; }
  .cp-product-tagline { margin: 2px 0 0; font-size: 11px; }
  a.cp-name-link {
    color: inherit !important;
    text-decoration: none;
    border-bottom: 1px dotted rgba(0, 0, 0, .4);
  }
}

/* ══ 8. 动效偏好降级 ════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .cp-backdrop, .cp-panel, .cp-lightbox { animation: none; }
  .cp-latest-dot { animation: none; }
  .cp-pano-hint { animation: none; opacity: 0; visibility: hidden; }
}

/* ══ 9. 暗色主题（noir）下的微调 ════════════════════ */
[data-theme="noir"] .cp-badge { box-shadow: 2px 2px 0 rgba(255, 255, 255, .14); }
[data-theme="noir"] .cp-pill:first-child { color: #0b0a14; }
[data-theme="noir"] .cp-tab[aria-selected="true"] { color: #0b0a14; }
[data-theme="noir"] .cp-lightbox img { border-color: var(--ink); }
