/* ===== CLIP 뷰어 탭 ===== */
.clip-viewer-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.clip-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.clip-btn,
.clip-file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #3a3a3a;
  border: 1px solid #555;
  color: #fff;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
}
.clip-btn svg,
.clip-file-btn svg {
  width: 20px;
  height: 20px;
}
.clip-btn:hover,
.clip-file-btn:hover {
  background: #4a4a4a;
  transform: scale(1.02);
}
.clip-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.clip-file-btn input {
  display: none;
}
.clip-viewer {
  width: 690px;
  max-width: 100vw;
  line-height: 0;
  background: #111;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}
.clip-page {
  width: 690px;
  max-width: 100vw;
  height: auto;
  display: block;
  margin: 0 auto;
  background: #222;
}
.clip-message {
  width: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #888;
  line-height: 1.6;
  background: linear-gradient(145deg, #1b1b1b, #151515);
  border: 1px dashed #555;
  border-radius: 12px;
  padding: 28px;
}
.clip-message.drag-over,
.clip-viewer.drag-over {
  border-color: #e5e5e5;
  background: linear-gradient(145deg, #252525, #171717);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.35);
}
.clip-empty-title {
  color: #f4f4f4;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.clip-empty-body {
  max-width: 360px;
  color: #a9a9a9;
  font-size: 0.9rem;
}
.clip-status {
  font-size: 0.78rem;
  color: #bbb;
  line-height: 1.45;
  text-align: center;
  white-space: pre-wrap;
}
@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
  #clipviewer-section.section-card {
    width: 100%;
    max-width: none;
    padding: 12px 0;
    border-radius: 0;
  }
  #clipviewer-section .clip-toolbar,
  #clipviewer-section .clip-status,
  #clipviewer-section .clip-message {
    width: calc(100% - 24px);
  }
  #clipviewer-section .clip-viewer {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
  }
  #clipviewer-section .clip-page {
    width: 100%;
    max-width: 100%;
  }
}
