
/* 嵌入式 V3 会议室：融入演示站，避免跳转外链 */
.view[data-view="room"].is-immersive,
.view[data-view="room"] {
  animation: vvFadeIn 0.35s ease;
}
@keyframes vvFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
body.is-in-meeting .app-nav,
body.is-in-meeting .sidebar,
body.is-in-meeting .phone__chrome {
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
body.is-in-meeting .view[data-view="room"] {
  position: relative;
  z-index: 5;
}
.room--v3-embed {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: radial-gradient(900px 420px at 18% -10%, #152238 0%, #070b14 55%);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  min-height: 520px;
}
.room--v3-embed .vv-shell {
  min-height: 520px;
  display: flex;
  flex-direction: column;
}
.room--v3-embed .vv-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(12, 16, 28, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #e8eef7;
}
.room--v3-embed .vv-brand {
  font-weight: 700;
  letter-spacing: 0.04em;
}
.room--v3-embed .vv-brand span { color: #4a90d9; }
.room--v3-embed .meeting-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(74,144,217,0.12);
  border: 1px solid rgba(74,144,217,0.28);
  font-size: 12px;
}
.room--v3-embed .meeting-badge .label { color: rgba(255,255,255,0.45); }
.room--v3-embed .meeting-badge .code { color: #fff; font-weight: 600; }
.room--v3-embed .vv-navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}
.room--v3-embed .vv-timer {
  font-variant-numeric: tabular-nums;
  background: rgba(255,255,255,0.06);
  padding: 4px 10px;
  border-radius: 8px;
  color: #fff;
}
.room--v3-embed .vv-main {
  flex: 1;
  display: flex;
  gap: 14px;
  padding: 14px;
  min-height: 0;
}
.room--v3-embed .vv-video-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.room--v3-embed .vv-video-stage {
  flex: 1;
  min-height: 280px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(8,12,22,0.92);
  position: relative;
  overflow: hidden;
}
.room--v3-embed .stage__main {
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  background:
    linear-gradient(135deg, rgba(74,144,217,0.12), transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.05), transparent 45%);
}
.room--v3-embed .pip-row {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 8px;
}
.room--v3-embed .pip {
  width: 96px;
  height: 64px;
  border-radius: 10px;
  background: rgba(20,28,44,0.92);
  border: 1px solid rgba(255,255,255,0.1);
  color: #cbd5e1;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.room--v3-embed .vv-subtitle {
  background: rgba(12,16,28,0.72);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 10px 12px;
  color: #e2e8f0;
  max-height: 110px;
  overflow: auto;
}
.room--v3-embed .vv-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: rgba(12,16,28,0.72);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 12px;
  color: #e2e8f0;
}
.room--v3-embed .vv-v3__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}
.room--v3-embed .ctrl-dock {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px 16px;
  background: rgba(8,12,22,0.65);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.room--v3-embed .ctrl-btn {
  min-width: 64px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: #e2e8f0;
  font-size: 11px;
  cursor: pointer;
}
.room--v3-embed .ctrl-btn:hover { background: rgba(74,144,217,0.18); }
.room--v3-embed .ctrl-btn.is-danger {
  background: rgba(220,38,38,0.2);
  border-color: rgba(220,38,38,0.35);
  color: #fecaca;
}
.vv-enter-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(74,144,217,0.25), rgba(7,11,20,0.92));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 8;
}
.vv-enter-veil.is-on { opacity: 1; pointer-events: auto; }
/* 对标参考/视频会议V3.html：1200 / 992 / 768 / 480 */
@media (max-width: 1200px) {
  .room--v3-embed .vv-sidebar { width: 220px; }
}
@media (max-width: 992px) {
  .room--v3-embed .vv-sidebar { width: 180px; }
  .room--v3-embed .vv-meet-info,
  .room--v3-embed .vv-meeting-info { display: none; }
}
@media (max-width: 960px) {
  .room--v3-embed .vv-main { flex-direction: column; }
  .room--v3-embed .vv-sidebar { width: 100%; max-height: 180px; }
}

/* ===== V3 底栏图标控件（对标 参考/视频会议V3.html） ===== */
.vv-global-controls {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding: 8px 10px 12px;
}
.vv-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 8px 12px;
  background: rgba(12, 16, 28, 0.85);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 100%;
}
.vv-ctrl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 40px;
  padding: 5px 8px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #a0aec0;
  font-size: 9px;
  cursor: pointer;
  position: relative;
  font-family: inherit;
}
.vv-ctrl-ico { font-size: 15px; line-height: 1.2; }
.vv-ctrl:hover { background: rgba(255,255,255,0.05); color: #fff; }
.vv-ctrl.active { color: #4A90D9; background: rgba(74,144,217,0.12); }
.vv-ctrl.danger, .vv-ctrl.active.danger { color: #FC8181; background: rgba(239,68,68,0.12); }
.vv-ctrl.success.active { color: #48BB78; background: rgba(72,187,120,0.12); }
.vv-ctrl-divider { width: 1px; height: 24px; background: rgba(255,255,255,0.06); margin: 0 2px; }
.vv-ctrl-end {
  background: rgba(239,68,68,0.12) !important;
  color: #FC8181 !important;
  border: 1px solid rgba(239,68,68,0.12) !important;
}
.vv-biz-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 0 8px;
  justify-content: center;
}
@media (max-width: 768px) {
  .vv-ctrl { min-width: 28px; padding: 3px 4px; font-size: 7px; }
  .vv-ctrl-ico { font-size: 12px; }
}


/* ===== 视频格 / 布局（对标 V3 video-grid） ===== */
.vv-video-stage { position: relative; }
.vv-video-grid {
  display: grid;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 280px;
  padding: 8px;
  box-sizing: border-box;
}
.vv-video-grid[data-layout="quad"],
.vv-video-grid[data-layout="grid"] {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.vv-video-grid[data-layout="single"] {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
.vv-video-grid[data-layout="single"] .vv-tile:not(.is-speaker) { display: none; }
.vv-video-grid[data-layout="pip"] {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  position: relative;
}
.vv-video-grid[data-layout="pip"] .vv-tile.is-speaker,
.vv-video-grid[data-layout="pip"] .vv-tile[data-tile="0"] {
  grid-column: 1;
  grid-row: 1;
}
.vv-video-grid[data-layout="pip"] .vv-tile:not(.is-speaker):not([data-tile="0"]) {
  position: absolute;
  width: 104px;
  height: 74px;
  right: 12px;
  z-index: 2;
  border-radius: 10px;
}
.vv-video-grid[data-layout="pip"] .vv-tile[data-tile="1"] { bottom: 12px; }
.vv-video-grid[data-layout="pip"] .vv-tile[data-tile="2"] { bottom: 94px; }
.vv-video-grid[data-layout="pip"] .vv-tile[data-tile="3"] { bottom: 176px; }

.vv-tile {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background:
    linear-gradient(145deg, rgba(74,144,217,0.18), transparent 42%),
    rgba(10,14,24,0.95);
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 100px;
  overflow: hidden;
}
.vv-tile.is-speaker { box-shadow: inset 0 0 0 2px rgba(74,144,217,0.55); }
.vv-tile__name { font-size: 13px; font-weight: 600; }
.vv-tile__role { font-size: 11px; color: rgba(255,255,255,0.45); }
.vv-tile__me {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(74,144,217,0.35);
}

/* party embed nested stage grid */
.vv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 8px;
  min-height: 160px;
}
.vv-grid .vv-tile,
.room--party-embed .vv-grid > div {
  min-height: 64px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(12,18,30,0.9);
  color: #cbd5e1;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vv-video-stage[data-layout="grid"] .stage__main,
.vv-video-stage[data-layout="grid"] .pip-row { display: none; }
.vv-video-stage[data-layout="grid"] .vv-grid { display: grid; }
.vv-video-stage[data-layout="pip"] .vv-grid,
.vv-video-stage[data-layout="single"] .vv-grid { display: none !important; }
.vv-video-stage[data-layout="single"] .pip-row { display: none; }

.vv-member-list {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #cbd5e1;
}
.vv-member-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}
.vv-member-list .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
  flex-shrink: 0;
}
.vv-member-list .dot.on { background: #48BB78; box-shadow: 0 0 0 3px rgba(72,187,120,0.18); }
.vv-meet-info {
  margin-top: 0.55rem;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  line-height: 1.55;
}
.vv-subtitle-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
}
.vv-subtitle-badge {
  color: #9ec5f0;
  font-weight: 600;
}
.vv-subtitle.is-off { display: none; }

/* 进会沉浸：弱化外壳，会议室占满主区 */
body.is-in-meeting .topbar,
body.is-in-meeting .demo-banner { opacity: 0.4; }
body.is-in-meeting .view[data-view="room"] .panel__head,
body.is-in-meeting .view[data-view="room"] .field-row,
body.is-in-meeting .view[data-view="room"] .side-tools {
  display: none;
}
body.is-in-meeting .room--v3-embed {
  min-height: calc(100vh - 48px);
  border-radius: 0;
  border: 0;
}
body.is-in-meeting .room--v3-embed .vv-shell { min-height: calc(100vh - 48px); }

body.is-in-meeting.party-body .party-switch,
body.is-in-meeting.party-body .demo-banner,
body.is-in-meeting.party-body .phone__status,
body.is-in-meeting.party-body .flow-progress {
  display: none !important;
  opacity: 1;
}
/* 会议中仍可用悬浮钮展开三端切换 */
body.is-in-meeting .demo-banner.is-switch-open,
body.is-in-meeting.party-body .party-switch.is-switch-open,
body.is-in-meeting.party-body .demo-banner.is-switch-open {
  display: flex !important;
  opacity: 1;
  position: relative;
  z-index: 1400;
}
body.is-in-meeting.party-body .phone__body {
  padding: 0;
}
body.is-in-meeting.party-body .view[data-view="room"] .party-card,
body.is-in-meeting.party-body .view[data-view="room"] .party-actions,
body.is-in-meeting.party-body .view[data-view="room"] .cast-banner:not([hidden]) {
  margin: 0.5rem 0.75rem;
}

.room--party-embed {
  min-height: min(58dvh, 480px);
  border-radius: 0;
}
.room--party-embed .vv-shell { min-height: min(58dvh, 480px); }
.room--party-embed .vv-sidebar { width: 100%; max-height: 120px; }
.phone .room--party-embed .vv-main { gap: 8px; padding: 8px; }
body.is-in-meeting .room--party-embed,
body.is-in-meeting .room--party-embed .vv-shell {
  min-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 148px);
  border-radius: 0;
}


/* ===== V3 video-grid / speaker-mode / members ===== */
.room--party-embed {
  min-height: min(58dvh, 480px);
}
.room--party-embed .vv-shell { min-height: min(58dvh, 480px); }
.vv-video-grid {
  display: grid;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 220px;
  padding: 8px;
  box-sizing: border-box;
}
.vv-video-grid[data-layout="pip"] {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
.vv-video-grid[data-layout="pip"] .vv-tile:not(.is-speaker):not([hidden]) {
  position: absolute;
  width: 96px;
  height: 72px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
}
.vv-video-grid[data-layout="pip"] .vv-tile.is-speaker {
  grid-column: 1;
  grid-row: 1;
}
.vv-video-grid[data-layout="single"] {
  grid-template-columns: 1fr;
}
.vv-video-grid[data-layout="single"] .vv-tile:not(.is-speaker) { display: none; }
.vv-video-grid[data-layout="quad"],
.vv-video-grid[data-layout="grid"] {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.vv-video-grid.speaker-mode {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
.vv-video-grid.speaker-mode .vv-tile:not(.is-speaker) {
  position: absolute;
  width: 88px;
  height: 66px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  opacity: 0.92;
}
.vv-video-stage { position: relative; }
.vv-tile {
  position: relative;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(74,144,217,0.18), transparent 50%),
    rgba(16, 24, 40, 0.95);
  border: 1px solid rgba(255,255,255,0.1);
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  min-height: 72px;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.vv-tile:hover { border-color: rgba(74,144,217,0.45); }
.vv-tile.is-speaker {
  box-shadow: 0 0 0 2px rgba(74,144,217,0.65), 0 8px 24px rgba(0,0,0,0.35);
}
.vv-tile__name { font-size: 12px; font-weight: 600; }
.vv-tile__role { font-size: 10px; color: rgba(255,255,255,0.45); }
.vv-tile__me {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(74,144,217,0.35);
}
.vv-member-list {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  font-size: 0.8rem;
}
.vv-member-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #cbd5e1;
}
.vv-member-list .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #64748b;
  display: inline-block;
}
.vv-member-list .dot.on { background: #48BB78; box-shadow: 0 0 6px rgba(72,187,120,0.5); }
.vv-subtitle.is-off { display: none; }
.vv-subtitle-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}
.vv-subtitle-badge {
  color: #48BB78;
  font-weight: 600;
}
@media (max-width: 768px) {
  .room--v3-embed .vv-main { flex-direction: column; padding: 10px; gap: 10px; }
  .room--v3-embed .vv-sidebar { width: 100%; max-height: 160px; }
  .room--v3-embed { min-height: 0; }
  .room--v3-embed .vv-shell { min-height: 0; }
  .vv-video-grid { min-height: 180px; }
}
@media (max-width: 480px) {
  .vv-controls { gap: 2px; padding: 6px 8px; border-radius: 14px; }
  .vv-ctrl span:not(.vv-ctrl-ico) { display: none; }
  .vv-ctrl { min-width: 36px; }
  .vv-navbar { flex-wrap: wrap; gap: 6px; }
  .room--party-embed .vv-sidebar { max-height: 120px; }
}


/* 磁贴状态徽章 / 主讲标签（对标 SDK VideoGrid） */
.vv-tile-badges {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: flex;
  gap: 4px;
}
.vv-tile-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.vv-tile-badge svg { width: 12px; height: 12px; display: block; }
.vv-tile-badge.muted,
.vv-tile-badge.video-off { background: rgba(239, 68, 68, 0.45); }
.vv-tile-speaker-tag {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(74, 144, 217, 0.35);
  color: #a0c4ff;
  border: 1px solid rgba(74, 144, 217, 0.35);
}
.vv-ctrl-ico svg {
  width: 16px;
  height: 16px;
  display: block;
}
.vv-video-grid.speaker-mode {
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.vv-video-grid.speaker-mode .vv-tile.is-speaker,
.vv-video-grid.speaker-mode .vv-tile:first-child {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}

/* ===== 民警 PC 宽屏：铺满视口，按路数灵活排布 ===== */
body.officer-pc .app-shell {
  min-height: 100vh;
  width: 100%;
  grid-template-columns: 220px minmax(0, 1fr);
}
body.officer-pc .main,
body.officer-pc .content,
body.officer-pc .view.is-active {
  min-width: 0;
  width: 100%;
}
body.officer-pc .view[data-view="room"].is-active .panel {
  max-width: none;
}
body.officer-pc.is-in-meeting,
body.officer-pc.is-in-meeting html {
  background: #070b14;
}
body.officer-pc.is-in-meeting .app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
}
body.officer-pc.is-in-meeting .sidebar,
body.officer-pc.is-in-meeting .topbar {
  display: none !important;
}
body.officer-pc.is-in-meeting .main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
body.officer-pc.is-in-meeting .content {
  flex: 1;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
body.officer-pc.is-in-meeting .view[data-view="room"].is-active {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
body.officer-pc.is-in-meeting .view[data-view="room"] > .panel {
  flex: 1;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
}
body.officer-pc.is-in-meeting .room--v3-embed,
body.officer-pc.is-in-meeting .room--v3-embed .vv-shell {
  flex: 1;
  min-height: 0;
  height: 100%;
  border-radius: 0;
}

body.officer-pc .vv-tile[hidden] {
  display: none !important;
}
body.officer-pc .vv-video-stage {
  flex: 1;
  min-height: 0;
  height: auto;
}
body.officer-pc .vv-video-grid {
  min-height: 0;
  height: 100%;
  width: 100%;
  align-content: stretch;
}
body.officer-pc .vv-tile {
  min-height: 0;
  height: 100%;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 10px 12px;
}
body.officer-pc .vv-tile__fill {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(74,144,217,0.28), transparent 50%),
    linear-gradient(160deg, #1a2744, #0c1220);
  z-index: 0;
}
body.officer-pc .vv-tile__fill--cast {
  background:
    repeating-linear-gradient(-18deg, rgba(15,143,138,0.14) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #12343a, #0c1220);
  color: #9ef0ea;
  font-size: 13px;
  font-weight: 600;
}
body.officer-pc .vv-tile__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #4A90D9, #7C5CFC);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}
body.officer-pc .vv-tile__name,
body.officer-pc .vv-tile__role {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.55);
}
body.officer-pc .vv-tile.is-speaker .vv-tile__avatar {
  width: 88px;
  height: 88px;
  font-size: 28px;
}

/* 自动：按可见路数填满，避免右下黑空格 */
body.officer-pc .vv-video-grid[data-layout="auto"][data-count="1"] {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
body.officer-pc .vv-video-grid[data-layout="auto"][data-count="2"] {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}
body.officer-pc .vv-video-grid[data-layout="auto"][data-count="3"] {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
}
body.officer-pc .vv-video-grid[data-layout="auto"][data-count="3"] .vv-tile:not([hidden]):first-child {
  grid-row: 1 / 3;
}
body.officer-pc .vv-video-grid[data-layout="auto"][data-count="4"],
body.officer-pc .vv-video-grid[data-layout="equal"] {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  grid-auto-rows: 1fr;
}
body.officer-pc .vv-video-grid[data-layout="equal"] {
  grid-template-rows: none;
}
body.officer-pc .vv-layout-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  justify-content: center;
  padding: 2px 0 0;
}
body.officer-pc .vv-layout-bar__lab {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-left: 8px;
}
body.officer-pc .vv-layout-bar .btn--ghost {
  border-color: rgba(255,255,255,0.16);
  color: #dbe7f5;
}
body.officer-pc.is-in-meeting .vv-layout-bar {
  display: flex;
}

.ev-float {
  position: fixed;
  right: 24px;
  top: 72px;
  z-index: 1600;
  width: min(420px, calc(100vw - 32px));
  border-radius: 14px;
  overflow: hidden;
  background: #0f1728;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 48px rgba(0,0,0,0.4);
  color: #e8eef6;
}
.ev-float__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: linear-gradient(90deg, #16365c, #0f8f8a);
  cursor: grab;
  user-select: none;
}
.ev-float__bar strong { font-size: 13px; }
.ev-float__bar .muted { color: rgba(255,255,255,0.7); margin-right: auto; }
.ev-float__body {
  display: grid;
  grid-template-rows: 1fr 120px;
  min-height: 280px;
}
.ev-float__doc {
  padding: 16px;
  background: linear-gradient(180deg, #f4f7fb, #d9e4f0);
  color: #0c1524;
}
.ev-float__cast {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #12343a;
  color: #9ef0ea;
  font-size: 13px;
  line-height: 1.5;
}
