/* 视频通话卡片（与门户外壳同族） */
.call-card { padding: 14px; }

.call-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }

.room-input {
  flex: 0 1 120px;
  min-width: 96px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 2px;
  text-align: center;
}

.room-input:focus { outline: none; border-color: var(--gold); }

.call-row .btn { padding: 8px 14px; font-size: 13px; }

.tone-ok { color: var(--green) !important; }
.tone-bad { color: var(--red) !important; }

.videos { position: static; }

.video-float {
  position: fixed;
  z-index: 60;
  display: flex;
  flex-direction: column;
  width: 280px;
  height: 220px;
  min-width: 160px;
  min-height: 128px;
  background: #1c1a17;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .38);
  touch-action: none;
  user-select: none;
}

.vf-bar {
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 0 10px;
  background: #2b2723;
  color: #f6f1e6;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: grab;
}

.vf-bar:active { cursor: grabbing; }

.vf-title { flex: 0 0 auto; }

.vf-vol {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: default;
  letter-spacing: 0;
}

.vf-vol input[type="range"] {
  width: 84px;
  height: 18px;
  margin: 0;
  accent-color: var(--gold);
  cursor: pointer;
  touch-action: auto;
}

.video-box {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background: #1f1d1a;
}

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #1f1d1a;
}

.video-box.mirror video { transform: scaleX(-1); }

.vf-resize {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22px;
  height: 22px;
  cursor: nwse-resize;
  z-index: 2;
  touch-action: none;
}

.vf-resize::before {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(255, 255, 255, .8);
  border-bottom: 2px solid rgba(255, 255, 255, .8);
}

.table-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 440px;
  overflow: auto;
}

.table-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.table-row.live { border-color: var(--gold); }

.table-name { font-size: 13px; font-weight: 650; letter-spacing: 1px; }

.table-seats { display: flex; flex-direction: column; gap: 4px; }

.seat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 28px;
  font-size: 13px;
}

.seat.mine { color: var(--red); font-weight: 650; }

.seat button { padding: 3px 8px; font-size: 12px; }

.tables-card .call-row { margin-top: 10px; }

.call-hint { margin: 10px 0 0; font-size: 12px; color: var(--ink-soft); line-height: 1.8; }
