* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --vice-pink: #ff2a85;
  --vice-cyan: #00f0ff;
  --bg-dark: #0b0b0f;
  --card-dark: #161621;
  --dark-glass: rgba(15, 15, 22, 0.78);
}

body {
  background-color: var(--bg-dark);
  color: #ffffff;
  overflow: hidden;
  height: 100dvh;
  width: 100vw;
  user-select: none;
}

.hidden {
  display: none !important;
}

/* TOP HEADER */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(0,0,0,0.92) 45%, transparent);
  padding-top: 8px;
  padding-bottom: 10px;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 8px 14px;
}

.logo {
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 1px;
  text-shadow: 0 0 8px var(--vice-pink);
  cursor: pointer;
}

.logo span {
  color: var(--vice-cyan);
}

.top-feed-switch {
  display: flex;
  gap: 14px;
}

.top-switch-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  padding-bottom: 4px;
}

.top-switch-btn.active {
  color: #fff;
  border-bottom: 2px solid #fff;
}

.top-right-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-top-btn {
  background: var(--dark-glass);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.user-pill {
  background: var(--dark-glass);
  border: 1px solid var(--vice-cyan);
  color: var(--vice-cyan);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.active-search-banner {
  margin: 0 14px 6px 14px;
  background: rgba(255, 42, 133, 0.9);
  color: #fff;
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.active-search-banner button {
  background: none;
  border: none;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

/* KATEGORIE LEISTE */
.category-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 14px;
  scrollbar-width: none;
}
.category-bar::-webkit-scrollbar { display: none; }

.tab {
  flex: 0 0 auto;
  background: rgba(20, 20, 30, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 5px 11px;
  border-radius: 18px;
  cursor: pointer;
  white-space: nowrap;
}

.tab.active {
  background: linear-gradient(90deg, var(--vice-pink), #ff5e00);
  color: #fff;
  border-color: transparent;
}

/* VIDEO FEED */
.feed-container {
  height: 100dvh;
  width: 100vw;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}
.feed-container::-webkit-scrollbar { display: none; }

.video-card {
  position: relative;
  height: 100dvh;
  width: 100vw;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #12121a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-info {
  position: absolute;
  bottom: 104px;
  left: 14px;
  right: 80px;
  z-index: 12;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
  pointer-events: auto;
}

.category-badge {
  display: inline-block;
  background: rgba(255, 42, 133, 0.9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.video-author {
  display: inline-block;
  font-weight: 800;
  font-size: 1.08rem;
  color: #fff;
  margin-bottom: 5px;
  cursor: pointer;
  padding: 2px 6px 2px 0;
  border-radius: 6px;
}

.video-author:active {
  color: var(--vice-cyan);
  transform: scale(0.97);
}

.video-caption {
  font-size: 0.9rem;
  line-height: 1.38;
  color: #f0f0f0;
}

.hashtag-link {
  color: var(--vice-cyan);
  font-weight: 700;
  cursor: pointer;
  margin-right: 3px;
}

.hashtag-link:active {
  text-decoration: underline;
}

.tiktok-bottom-search-bar {
  position: absolute;
  bottom: 64px;
  left: 12px;
  right: 12px;
  height: 32px;
  background: rgba(20, 20, 28, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #e0e0e0;
  z-index: 12;
  cursor: pointer;
}

.tiktok-bottom-search-bar span strong {
  color: #fff;
}

/* TIKTOK ACTION SIDEBAR */
.action-sidebar {
  position: absolute;
  bottom: 105px;
  right: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 15;
}

.creator-follow-box {
  position: relative;
  margin-bottom: 6px;
}

.creator-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vice-cyan), var(--vice-pink));
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: #000;
  cursor: pointer;
}

.follow-plus-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--vice-pink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
  cursor: pointer;
}

.follow-plus-badge.following {
  background: #00d66c;
}

.action-btn {
  background: none;
  border: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
}

.action-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--dark-glass);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 1px solid rgba(255,255,255,0.15);
}

.action-btn.liked .action-circle {
  color: var(--vice-pink);
  border-color: var(--vice-pink);
}

/* SEITEN-ANSICHTEN */
.page-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: calc(100dvh - 58px);
  background: var(--bg-dark);
  z-index: 22;
  overflow-y: auto;
  padding-bottom: 30px;
}

.search-view {
  z-index: 32;
}

.search-header-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  background: var(--bg-dark);
  z-index: 5;
}

.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1a1a26;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 7px 12px;
}

.search-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
}

.clear-input-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 0.9rem;
  cursor: pointer;
}

.search-go-btn {
  background: none;
  border: none;
  color: var(--vice-pink);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.search-body {
  padding: 12px 14px;
}

.hashtag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.hashtag-chip {
  background: #1a1a28;
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--vice-cyan);
  padding: 7px 13px;
  border-radius: 18px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.hashtag-chip span {
  color: #888;
  font-weight: 400;
  font-size: 0.75rem;
  margin-left: 4px;
}

.page-header {
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

/* POSTEINGANG */
.inbox-content {
  padding: 12px 16px;
}

.inbox-section-title {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  margin: 14px 0 8px 0;
  font-weight: 700;
}

.inbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inbox-item {
  background: var(--card-dark);
  padding: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.inbox-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.inbox-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vice-cyan), var(--vice-pink));
  color: #000;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.inbox-text h4 {
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.inbox-text p {
  font-size: 0.8rem;
  color: #aaa;
}

/* PROFIL & CREATOR-PROFIL */
.profile-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.profile-top-title {
  font-weight: 800;
  font-size: 1.05rem;
}

.icon-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}

.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
}

.profile-avatar-wrap {
  position: relative;
  margin-bottom: 10px;
  cursor: pointer;
}

.profile-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vice-pink), var(--vice-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: #000;
}

.avatar-plus {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--vice-cyan);
  color: #000;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark);
}

.profile-handle {
  color: #999;
  font-size: 0.88rem;
  margin-top: 2px;
  margin-bottom: 16px;
}

.profile-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 16px;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-box strong {
  font-size: 1.1rem;
}

.stat-box span {
  font-size: 0.78rem;
  color: #999;
}

.bio-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #ddd;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  cursor: pointer;
}

.creator-bio-text {
  font-size: 0.86rem;
  color: #ccc;
  margin-bottom: 14px;
  text-align: center;
}

.creator-action-row {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 280px;
}

.creator-action-row button {
  flex: 1;
}

.profile-tabs {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.p-tab {
  flex: 1;
  background: none;
  border: none;
  color: #888;
  font-size: 1.1rem;
  padding: 10px 0;
  cursor: pointer;
}

.p-tab.active {
  color: #fff;
  border-bottom: 2px solid #fff;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 2px;
}

.grid-video-thumb {
  aspect-ratio: 9 / 13;
  background: #1a1a26;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.grid-video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-likes {
  position: absolute;
  bottom: 6px;
  left: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-shadow: 0 1px 3px #000;
}

/* EINSTELLUNGEN */
.settings-view {
  z-index: 35;
  height: 100dvh;
}

.settings-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  background: var(--bg-dark);
}

.back-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.settings-scroll {
  padding: 12px 16px 40px 16px;
}

.settings-group-label {
  font-size: 0.8rem;
  color: #8c8c9e;
  font-weight: 600;
  margin: 18px 0 8px 6px;
}

.settings-card {
  background: var(--card-dark);
  border-radius: 12px;
  overflow: hidden;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.92rem;
  cursor: pointer;
}

.settings-row:last-child {
  border-bottom: none;
}

.row-right {
  color: #8c8c9e;
  font-size: 0.85rem;
}

.highlight-val {
  color: var(--vice-cyan);
  font-weight: 700;
}

.danger-row {
  color: #ff4d4d;
  font-weight: 600;
}

.version-footer {
  text-align: center;
  color: #666;
  font-size: 0.78rem;
  margin-top: 24px;
}

/* BOTTOM NAVIGATION */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 58px;
  background: rgba(10, 10, 15, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 25;
}

.nav-item {
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.68rem;
  gap: 2px;
  cursor: pointer;
}

.nav-item .icon {
  font-size: 1.2rem;
}

.nav-item.active {
  color: #fff;
}

.heart-only-nav .heart-nav-icon {
  font-size: 1.55rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.heart-only-nav.active .heart-nav-icon {
  transform: scale(1.18);
  filter: drop-shadow(0 0 8px var(--vice-pink));
}

.icon-badge-wrap {
  position: relative;
}

.nav-badge {
  position: absolute;
  top: -4px;
  right: -10px;
  background: var(--vice-pink);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 10px;
}

.upload-btn {
  width: 46px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--vice-cyan), var(--vice-pink));
  color: #000 !important;
  font-size: 1.45rem !important;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* KOMMENTAR DRAWER & MODALS */
.drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 58dvh;
  background: #161622;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -6px 25px rgba(0,0,0,0.7);
}

.drawer-header {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comment-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment-item {
  background: rgba(255,255,255,0.05);
  padding: 10px 12px;
  border-radius: 10px;
}

.comment-user {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--vice-cyan);
  margin-bottom: 2px;
  cursor: pointer;
  display: inline-block;
}

.clickable-user {
  cursor: pointer;
}

.comment-text {
  font-size: 0.9rem;
}

.comment-input-area {
  display: flex;
  padding: 10px 14px;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: #101018;
}

.comment-input-area input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  background: #1c1c28;
  color: #fff;
}

.comment-input-area button {
  background: var(--vice-pink);
  border: none;
  color: #fff;
  padding: 0 16px;
  border-radius: 20px;
  font-weight: 700;
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(5px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-content {
  background: #181824;
  border: 1px solid rgba(255, 42, 133, 0.4);
  border-radius: 16px;
  width: 100%;
  max-width: 390px;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-modal-content {
  height: 70dvh;
  padding: 0;
  overflow: hidden;
}

.legal-modal-content {
  max-height: 82dvh;
}

.legal-scroll-body {
  overflow-y: auto;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #ccc;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
}

.legal-scroll-body h4 {
  color: var(--vice-cyan);
  margin-top: 6px;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-content input,
.modal-content select {
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: #0f0f17;
  color: #fff;
}

.primary-btn {
  background: linear-gradient(90deg, var(--vice-pink), #ff6b00);
  border: none;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.secondary-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.small-note {
  font-size: 0.8rem;
  color: #aaa;
}

.upload-feedback {
  background: rgba(255, 77, 77, 0.16);
  border: 1px solid #ff4d4d;
  color: #ff9e9e;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.35;
}

/* ===================================================== */
/* CLOUD / FIREBASE ERGÄNZUNGEN                          */
/* ===================================================== */
.auth-btn-row {
  display: flex;
  gap: 8px;
}
.auth-btn-row button {
  flex: 1;
}

.link-btn {
  background: none;
  border: none;
  color: var(--vice-cyan);
  font-size: 0.8rem;
  cursor: pointer;
  align-self: center;
  padding: 4px;
}

.upload-feedback.info {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--vice-cyan);
  color: #bff9ff;
}

.upload-progress {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  overflow: hidden;
}
#upload-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--vice-cyan), var(--vice-pink));
  transition: width 0.2s ease;
}

.primary-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.empty-note {
  color: #888;
  font-size: 0.85rem;
  padding: 10px 4px;
}

.chat-clip-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--vice-pink);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.inbox-item.unread .inbox-text h4::after {
  content: " •";
  color: var(--vice-pink);
}

/* ===================================================== */
/* CLIP TEILEN – EIGENES VICECLIPS-DESIGN                */
/* ===================================================== */
.share-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 44;
}

.vc-share-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  max-height: 82dvh;
  overflow-y: auto;
  color: #fff;
  background: linear-gradient(180deg, #1c1b2b 0%, #111119 100%);
  border-top: 1px solid rgba(255, 42, 133, 0.45);
  border-radius: 22px 22px 0 0;
  padding: 8px 16px calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 40px rgba(255, 42, 133, 0.18);
  animation: vcSheetUp 0.22s ease-out;
}

@keyframes vcSheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.vc-sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  margin: 2px auto 10px;
}

.vc-share-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.vc-share-header h3 {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(255, 42, 133, 0.6);
}

.vc-share-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

.vc-share-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--vice-cyan);
  margin-bottom: 8px;
}

.vc-share-search-btn {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

.share-friend-search-wrap {
  margin-bottom: 8px;
}

.share-friend-search-wrap input {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  background: #0f0f17;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
}

.vc-friends-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: none;
}
.vc-friends-row::-webkit-scrollbar { display: none; }

.vc-friend {
  flex: 0 0 62px;
  background: none;
  border: none;
  color: #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 0.7rem;
}

.vc-friend span {
  max-width: 62px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vc-friend-avatar {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: #000;
  background: linear-gradient(135deg, var(--vice-cyan), var(--vice-pink));
  border: 2px solid transparent;
  transition: transform 0.15s ease;
}

.vc-friend.selected .vc-friend-avatar {
  border-color: #fff;
  transform: scale(0.92);
  box-shadow: 0 0 12px var(--vice-pink);
}

.vc-friend-check {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--vice-pink);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid #1c1b2b;
}

.vc-friend.selected .vc-friend-check {
  display: flex;
}

.vc-share-empty {
  color: #8c8c9e;
  font-size: 0.8rem;
  padding: 4px 0 12px;
  line-height: 1.4;
}

.vc-send-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.vc-send-bar input {
  flex: 1;
  background: #0f0f17;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 10px 12px;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
}

.vc-send-btn {
  background: linear-gradient(90deg, var(--vice-pink), #ff6b00);
  border: none;
  color: #fff;
  font-weight: 800;
  border-radius: 12px;
  padding: 0 16px;
  cursor: pointer;
}

.vc-action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.vc-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #e8e8f0;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.vc-action-icon {
  font-size: 1.25rem;
}

.vc-action:active {
  background: rgba(255, 42, 133, 0.15);
  border-color: rgba(255, 42, 133, 0.4);
}

.vc-action.danger {
  color: #ff6b6b;
}

/* ===================================================== */
/* ALTERSPRÜFUNG 18+                                      */
/* ===================================================== */
.age-gate {
  z-index: 100;
  background: rgba(5, 5, 10, 0.97);
}

.age-gate-content {
  text-align: center;
  align-items: stretch;
}

.age-badge {
  align-self: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--vice-pink);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(255, 42, 133, 0.6);
}

.age-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: #aaa;
}

/* ===================================================== */
/* BLOCKIEREN, AGB, KONTO LÖSCHEN                         */
/* ===================================================== */
#legal-modal {
  z-index: 60; /* über dem Login-Fenster */
}

.creator-action-row .block-btn {
  flex: 0 0 48px;
}

.block-btn.blocked {
  border-color: #ff4d4d;
  color: #ff4d4d;
}

.terms-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: #bbb;
  line-height: 1.35;
}

.terms-label input {
  margin-top: 2px;
  padding: 0;
}

.terms-label a {
  color: var(--vice-cyan);
  text-decoration: underline;
  cursor: pointer;
}

.blocked-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.05);
  padding: 10px 12px;
  border-radius: 10px;
}

.blocked-row button {
  background: none;
  border: 1px solid var(--vice-cyan);
  color: var(--vice-cyan);
  border-radius: 8px;
  padding: 5px 10px;
  cursor: pointer;
}

/* ===================================================== */
/* LADEKREIS IM FEED                                      */
/* ===================================================== */
.video-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--vice-pink);
  border-right-color: var(--vice-cyan);
  animation: vcSpin 0.8s linear infinite;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 5;
}

.video-card.loading .video-loader {
  opacity: 1;
}

@keyframes vcSpin {
  to { transform: rotate(360deg); }
}

.age-label select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #fff;
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
}

.grid-video-thumb { position: relative; }
.clip-processing-badge {
  position: absolute;
  left: 6px;
  top: 6px;
  padding: 3px 7px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.7rem;
  pointer-events: none;
}

/* Follower / Gefolgt Liste */
.stat-box.clickable { cursor: pointer; }
.stat-box.clickable:active { opacity: 0.6; }
#follow-list-modal { z-index: 62; }
.follow-list-content { max-height: 75vh; display: flex; flex-direction: column; }
.follow-list-body { overflow-y: auto; margin-top: 12px; -webkit-overflow-scrolling: touch; }
.follow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.follow-row:active { background: rgba(255, 255, 255, 0.05); }
.follow-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2d95, #00e5ff);
  color: #111;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.follow-name { flex: 1; font-weight: 600; color: #fff; }
.follow-chevron { color: #888; font-size: 1.4rem; }

/* Moderation */
#mod-modal { z-index: 62; }
.mod-row { display: flex; gap: 12px; padding: 12px 2px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mod-thumb { width: 64px; height: 96px; border-radius: 8px; background: #222; flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.mod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mod-info { flex: 1; min-width: 0; }
.mod-title { font-weight: 700; color: #fff; }
.mod-count { color: #ff5c5c; }
.mod-caption { color: #bbb; font-size: 0.85rem; margin: 4px 0 8px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mod-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.mod-actions button { padding: 6px 10px; border-radius: 8px; border: 1px solid #444; background: #1e1e2a; color: #fff; font-size: 0.8rem; }
.mod-actions button.danger { border-color: #ff3b5c; color: #ff6b81; }
