/* =============================================================
   端末間の同期（QR で送る・受け取る）
   ============================================================= */
.sync-dialog {
  max-width: 440px;
  text-align: center;
}

.sync-status {
  margin: 4px 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* QR はテーマに関係なく白地に黒（読み取りやすさ優先） */
.sync-qr,
.sync-camera {
  width: min(76vw, 380px);
  aspect-ratio: 1;
  margin: 0 auto 10px;
  border-radius: 8px;
  overflow: hidden;
}
.sync-qr {
  background: #fff;
}
.sync-qr svg {
  display: block;
  width: 100%;
  height: 100%;
}
.sync-camera {
  background: #000;
}
.sync-camera video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sync-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}

.sync-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.sync-link {
  margin-top: 12px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 12px;
  color: var(--text-tertiary);
  text-decoration: underline;
  cursor: pointer;
}
