/**
 * Promotion Widget Styles
 * AI Link Platform - 홍보 노출 위젯
 * 버전: 1.0
 */

/* ========================================
   홍보 위젯 리스트
   ======================================== */

.promo-widget-list {
  margin: 24px 0;
}

.promo-widget-list-title {
  font-size: 1rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.promo-widget-list-title::before {
  content: '📢';
}

.promo-widget-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.promo-widget-items.horizontal {
  flex-direction: row;
  overflow-x: auto;
  padding-bottom: 8px;
}

.promo-widget-items.horizontal .promo-widget-card {
  min-width: 280px;
  flex-shrink: 0;
}

/* ========================================
   홍보 카드 (기본)
   ======================================== */

.promo-widget-card {
  background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
  border: 1px solid #fde047;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.promo-widget-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(253, 224, 71, 0.3);
  border-color: #facc15;
}

.promo-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.promo-widget-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-widget-type {
  font-size: 0.75rem;
  color: #92400e;
}

.promo-widget-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 6px;
  line-height: 1.4;
}

.promo-widget-desc {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-widget-product {
  font-size: 0.8rem;
  color: #78716c;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.promo-widget-cta {
  width: 100%;
  background: white;
  border-color: #d97706;
  color: #d97706;
}

.promo-widget-cta:hover {
  background: #fffbeb;
}

/* ========================================
   홍보 카드 (컴팩트)
   ======================================== */

.promo-widget-card.compact {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.promo-widget-card.compact .promo-widget-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.6rem;
  padding: 2px 6px;
}

.promo-widget-card.compact .promo-widget-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.promo-widget-card.compact .promo-widget-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.promo-widget-card.compact .promo-widget-text {
  flex: 1;
  min-width: 0;
}

.promo-widget-card.compact .promo-widget-title {
  font-size: 0.9rem;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-widget-card.compact .promo-widget-desc {
  font-size: 0.8rem;
  margin-bottom: 0;
  -webkit-line-clamp: 1;
}

/* ========================================
   사이드바용 스타일
   ======================================== */

.sidebar .promo-widget-list {
  margin: 16px;
  padding: 0;
}

.sidebar .promo-widget-card {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 10px;
  padding: 12px;
}

.sidebar .promo-widget-title {
  font-size: 0.85rem;
}

.sidebar .promo-widget-desc {
  font-size: 0.75rem;
  -webkit-line-clamp: 2;
}

/* ========================================
   검색 결과 내 홍보
   ======================================== */

.search-results .promo-widget-card {
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-color: #fdba74;
}

.search-results .promo-widget-badge {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

/* ========================================
   다크 테마 (옵션)
   ======================================== */

.dark-theme .promo-widget-card {
  background: linear-gradient(135deg, #422006 0%, #451a03 100%);
  border-color: #92400e;
}

.dark-theme .promo-widget-title {
  color: #fef3c7;
}

.dark-theme .promo-widget-desc {
  color: #fcd34d;
}

/* ========================================
   반응형
   ======================================== */

@media (max-width: 640px) {
  .promo-widget-items.horizontal {
    gap: 8px;
  }
  
  .promo-widget-items.horizontal .promo-widget-card {
    min-width: 240px;
  }
  
  .promo-widget-card {
    padding: 12px;
  }
  
  .promo-widget-title {
    font-size: 0.95rem;
  }
}

/* ========================================
   🔥 v2.0 - 메인 배너 (제품 목록 상단)
   ======================================== */

.promo-banner {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
}

.promo-banner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.promo-banner-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.promo-banner-more {
  font-size: 0.85rem;
  color: #6366f1;
  text-decoration: none;
  font-weight: 500;
}

.promo-banner-more:hover {
  text-decoration: underline;
}

/* 슬라이드 트랙 */
.promo-banner-track {
  overflow: hidden;
  border-radius: 12px;
  padding: 8px 0;
  margin: -8px 0;
}

.promo-banner-slides {
  display: flex;
  transition: transform 0.4s ease;
}

/* 배너 카드 */
.promo-banner-card {
  flex: 0 0 calc(33.333% - 12px);
  margin-right: 16px;
  background: white;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.promo-banner-card:hover {
  border-color: var(--type-color, #6366f1);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
  transform: translateY(-4px);
}

.promo-banner-card.urgent {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: #fecaca;
}

.promo-banner-card.urgent:hover {
  border-color: #ef4444;
}

/* 긴급 배지 */
.promo-urgent-badge {
  position: absolute;
  top: -8px;
  right: 12px;
  background: #ef4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  animation: promoPulse 2s infinite;
}

@keyframes promoPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.02); }
}

/* 타입 표시 */
.promo-banner-card-type {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.promo-type-icon {
  font-size: 1.25rem;
}

.promo-type-label {
  font-size: 0.75rem;
  color: var(--type-color, #6366f1);
  font-weight: 500;
  background: #eef2ff;
  padding: 3px 8px;
  border-radius: 10px;
}

/* 제목 & 설명 */
.promo-banner-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-banner-card-desc {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 작성자 */
.promo-banner-card-author {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}

.promo-author-avatar {
  font-size: 1rem;
}

.promo-author-name {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* 네비게이션 */
.promo-banner-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.promo-banner-prev,
.promo-banner-next {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: white;
  color: #64748b;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-banner-prev:hover,
.promo-banner-next:hover {
  background: #6366f1;
  color: white;
  border-color: #6366f1;
}

.promo-banner-dots {
  display: flex;
  gap: 8px;
}

.promo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.2s;
}

.promo-dot.active {
  background: #6366f1;
  width: 24px;
  border-radius: 4px;
}

/* 로딩 */
.promo-banner-loading {
  display: flex;
  justify-content: center;
  padding: 40px;
}

.promo-banner-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e2e8f0;
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: promoSpin 1s linear infinite;
}

@keyframes promoSpin {
  to { transform: rotate(360deg); }
}

/* ========================================
   🏷️ 컴팩트 위젯 (사이드바)
   ======================================== */

.promo-compact {
  background: white;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.promo-compact-header {
  padding: 14px 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
}

.promo-compact-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
}

.promo-compact-list {
  padding: 8px;
}

.promo-compact-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}

.promo-compact-card:hover {
  background: #f8fafc;
}

.promo-compact-card + .promo-compact-card {
  border-top: 1px dashed #e2e8f0;
}

.promo-compact-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.promo-compact-content {
  flex: 1;
  min-width: 0;
}

.promo-compact-card-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-compact-card-desc {
  font-size: 0.75rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-compact-urgent {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.85rem;
}

/* ========================================
   👤 영업대표 카드 배지
   ======================================== */

.rep-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 12px;
  background: #eef2ff;
  color: #6366f1;
  font-weight: 500;
}

.rep-promo-badge.urgent {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #dc2626;
  animation: promoPulse 2s infinite;
}

/* ========================================
   📱 배너 반응형
   ======================================== */

@media (max-width: 1024px) {
  .promo-banner-card {
    flex: 0 0 calc(50% - 8px);
  }
}

@media (max-width: 768px) {
  .promo-banner {
    padding: 16px;
    margin: 0 -16px 16px;
    border-radius: 0;
  }

  .promo-banner-card {
    flex: 0 0 calc(100% - 16px);
    padding: 16px;
  }

  .promo-banner-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .promo-banner-nav {
    margin-top: 16px;
  }
}

/* ========================================
   🔍 v2.1 - 홍보 상세 모달
   ======================================== */

.pw-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pw-modal-overlay.active {
  opacity: 1;
}

.pw-modal-content {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}

.pw-modal-overlay.active .pw-modal-content {
  transform: translateY(0) scale(1);
}

/* 헤더 */
.pw-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.pw-modal-type {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pw-modal-type-icon {
  font-size: 1.5rem;
}

.pw-modal-type-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pw-color, #6366f1);
  background: #eef2ff;
  padding: 4px 12px;
  border-radius: 20px;
}

.pw-modal-urgent {
  background: #fef2f2;
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  animation: promoPulse 2s infinite;
}

.pw-modal-important {
  background: #fffbeb;
  color: #d97706;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}

.pw-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pw-modal-close:hover {
  background: #e2e8f0;
  color: #1e293b;
}

/* 본문 */
.pw-modal-body {
  padding: 24px;
}

.pw-modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

/* 상세 콘텐츠 */
.pw-detail-section {
  margin-bottom: 20px;
}

.pw-detail-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 16px 0;
  word-break: keep-all;
}

.pw-detail-content {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.8;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid #10b981;
  margin-bottom: 16px;
}

.pw-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.pw-detail-row:last-child {
  border-bottom: none;
}

.pw-detail-label {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}

.pw-detail-value {
  font-size: 0.9rem;
  color: #1e293b;
  font-weight: 500;
}

.pw-detail-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 10px;
  margin-bottom: 12px;
}

.pw-detail-tags {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
}

.pw-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pw-tag {
  font-size: 0.8rem;
  padding: 4px 10px;
  background: #eef2ff;
  color: #6366f1;
  border-radius: 12px;
  font-weight: 500;
}

.pw-urgency-badge {
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 600;
}

.pw-urgency-badge.urgent {
  background: #fef2f2;
  color: #dc2626;
}

.pw-urgency-badge.important {
  background: #fffbeb;
  color: #d97706;
}

.pw-urgency-badge.normal {
  background: #f0fdf4;
  color: #16a34a;
}

/* 메타 정보 */
.pw-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.pw-meta-item {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* 작성자 */
.pw-modal-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.pw-modal-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pw-modal-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa 0%, #818cf8 100%);
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pw-modal-author-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
}

.pw-modal-author-sub {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 2px;
}

.pw-modal-author-actions {
  display: flex;
  gap: 8px;
}

/* 하단 */
.pw-modal-footer {
  display: flex;
  gap: 8px;
  padding: 16px 24px;
  border-top: 1px solid #f1f5f9;
  justify-content: flex-end;
}

/* 버튼 */
.pw-btn {
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.pw-btn-primary {
  background: #6366f1;
  color: white;
}

.pw-btn-primary:hover {
  background: #4f46e5;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.pw-btn-secondary {
  background: #f1f5f9;
  color: #475569;
}

.pw-btn-secondary:hover {
  background: #e2e8f0;
}

.pw-btn-ghost {
  background: transparent;
  color: #94a3b8;
}

.pw-btn-ghost:hover {
  background: #f1f5f9;
  color: #64748b;
}

.pw-btn-full {
  flex: 1;
  justify-content: center;
}

/* 📱 모달 반응형 */
@media (max-width: 768px) {
  .pw-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .pw-modal-content {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }

  .pw-modal-overlay.active .pw-modal-content {
    transform: translateY(0);
  }

  .pw-modal-author {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .pw-modal-author-actions {
    width: 100%;
  }

  .pw-modal-author-actions .pw-btn {
    flex: 1;
    justify-content: center;
  }

  .pw-modal-footer {
    flex-direction: column;
  }

  .pw-modal-footer .pw-btn {
    justify-content: center;
  }
}

/* ========================================
   💬 v2.1 - 문의하기 모달
   ======================================== */

.pw-inquiry-target {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
  margin-bottom: 20px;
}

.pw-inquiry-section {
  margin-bottom: 20px;
}

.pw-inquiry-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
}

.pw-inquiry-types {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pw-inquiry-type {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1.5px solid #e2e8f0;
  background: white;
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.pw-inquiry-type:hover {
  border-color: #a5b4fc;
  color: #6366f1;
}

.pw-inquiry-type.active {
  background: #eef2ff;
  border-color: #6366f1;
  color: #6366f1;
  font-weight: 600;
}

.pw-inquiry-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #1e293b;
  resize: vertical;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.pw-inquiry-textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.pw-inquiry-textarea::placeholder {
  color: #94a3b8;
}

.pw-inquiry-char {
  text-align: right;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 4px;
}

/* ========================================
   ❤️ 모달 북마크 버튼
   ======================================== */

.pw-modal-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.pw-modal-title-row .pw-modal-title {
  flex: 1;
  margin: 0;
}

.pw-bookmark-modal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  background: white;
  font-size: 0.78rem;
  font-weight: 500;
  color: #9ca3af;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
}

.pw-bookmark-modal:hover {
  border-color: #f87171;
  color: #ef4444;
  background: #fef2f2;
}

.pw-bookmark-modal.bookmarked {
  border-color: #fca5a5;
  color: #ef4444;
  background: #fef2f2;
}

.pw-bookmark-modal i {
  font-size: 0.85rem;
}

/* ========================================
   🔗 연관 추천 섹션
   ======================================== */

.pw-related-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1.5px solid #f3f4f6;
}

.pw-related-header {
  font-size: 0.82rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 10px;
}

.pw-related-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 4px;
}

.pw-related-card:hover {
  background: #f9fafb;
}

.pw-related-type {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.pw-related-info {
  flex: 1;
  min-width: 0;
}

.pw-related-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pw-related-meta {
  font-size: 0.7rem;
  color: #9ca3af;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .pw-modal-title-row {
    flex-direction: column;
    gap: 8px;
  }
  
  .pw-bookmark-modal {
    align-self: flex-start;
  }
}