.soso-room-tabs {
  display: flex;
  gap: 8px;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0 8px;
}

.soso-room-tabs::-webkit-scrollbar {
  display: none;
}

.soso-room-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid var(--color-border-light);
  border-radius: 999px;
  padding: 0 13px;
  background: var(--color-surface);
  color: var(--color-text-secondary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
}

.soso-room-tab.active {
  border-color: transparent;
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 68, 34, .20);
}

.soso-room-tab small {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.20);
  font-size: 10px;
  font-weight: 900;
}

.soso-room-head {
  margin: 0 0 4px;
  border: 1px solid var(--color-border-light);
  border-radius: 22px;
  padding: 15px 16px;
  background:
    linear-gradient(135deg, rgba(255, 107, 74, .09), rgba(124, 60, 255, .06)),
    var(--color-surface);
}

.soso-room-head__label {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 1000;
}

.soso-room-head__title {
  margin-top: 4px;
  color: var(--color-text-primary);
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -.055em;
  font-weight: 1000;
}

.soso-room-head__desc {
  margin-top: 5px;
  color: var(--color-text-secondary);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
  word-break: keep-all;
}

.soso-room-head__action {
  margin-top: 12px;
}

.soso-feed-swipe-shell {
  position: relative;
  width: 100%;
}

.soso-feed-swipe-list {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 4px 12px;
}

.soso-feed-swipe-list::-webkit-scrollbar {
  display: none;
}

.soso-feed-swipe-list > .feed-card,
.soso-feed-swipe-list > .card.feed-card {
  flex: 0 0 min(560px, calc(100vw - 360px));
  max-width: 560px;
  min-width: 360px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  align-self: stretch;
}

.soso-feed-swipe-list > .skeleton-card {
  flex: 0 0 min(560px, calc(100vw - 360px));
  max-width: 560px;
  min-width: 360px;
}

.soso-feed-swipe-list.is-empty {
  display: block !important;
  overflow: visible !important;
  padding: 0;
}

.soso-feed-slide-btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text-primary);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .16);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.soso-feed-slide-btn--prev {
  left: -16px;
}

.soso-feed-slide-btn--next {
  right: -16px;
}

.soso-feed-slide-btn:disabled {
  opacity: .22;
  cursor: default;
  pointer-events: none;
}

.soso-feed-swipe-hint {
  display: none;
  margin: -2px 0 8px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 1023px) {
  .soso-feed-swipe-list > .feed-card,
  .soso-feed-swipe-list > .card.feed-card,
  .soso-feed-swipe-list > .skeleton-card {
    flex-basis: calc(100vw - 56px);
    min-width: calc(100vw - 56px);
    max-width: calc(100vw - 56px);
  }

  .soso-feed-slide-btn {
    display: none;
  }

  .soso-feed-swipe-hint {
    display: block;
  }
}

@media (max-width: 767px) {
  .soso-room-tabs {
    margin-left: -2px;
    padding-bottom: 6px;
  }

  .soso-room-tab {
    min-height: 36px;
    padding: 0 11px;
    font-size: 12px;
  }

  .soso-room-head {
    border-radius: 18px;
    padding: 13px 14px;
  }

  .soso-room-head__title {
    font-size: 20px;
  }

  .soso-feed-swipe-list {
    gap: 12px !important;
    margin-left: -4px;
    margin-right: -4px;
    padding: 3px 4px 10px;
  }

  .soso-feed-swipe-list > .feed-card,
  .soso-feed-swipe-list > .card.feed-card,
  .soso-feed-swipe-list > .skeleton-card {
    flex-basis: calc(100vw - 36px);
    min-width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }
}

/* ── 모음방 유튜브/그림 토글 ── */
.collect-kind-toggle {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.collect-kind-btn {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--color-border-light);
  background: var(--color-surface);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: background 130ms ease, border-color 130ms ease, color 130ms ease;
  -webkit-tap-highlight-color: transparent;
}

.collect-kind-btn:hover {
  background: var(--color-primary-bg);
  border-color: var(--color-primary-border);
  color: var(--color-primary);
}

.collect-kind-btn.active {
  background: var(--color-primary-bg);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

[data-theme="dark"] .collect-kind-btn {
  border-color: rgba(255,255,255,0.08);
  background: var(--color-surface-2);
}

[data-theme="dark"] .collect-kind-btn.active {
  background: rgba(255,75,43,0.12);
  border-color: rgba(255,75,43,0.40);
}
