/* TikTok-Style Music Feed Styles
 * AddictPlay Music - Full-screen vertical feed
 * Created: 2026-04-10
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --tiktok-bg: #090b10;
  --tiktok-bg-soft: #11151d;
  --tiktok-surface: rgba(11, 15, 22, 0.9);
  --tiktok-line: rgba(255, 255, 255, 0.1);
  --tiktok-text: #f3f4f6;
  --tiktok-muted: #9aa4b2;
  --tiktok-gold: #f2c14e;
  --tiktok-emerald: #31c48d;
  --tiktok-red: #fb7185;
  --tiktok-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body.tiktok-body {
  background: var(--tiktok-bg);
  color: var(--tiktok-text);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Main Feed Container */
.tiktok-feed-container {
  height: 100dvh;
  width: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.tiktok-feed-container::-webkit-scrollbar {
  display: none;
}

.tiktok-feed-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Video Card - Full Screen */
.tiktok-video-card {
  position: relative;
  height: 100dvh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  background: #000;
  z-index: 1;
}

.tiktok-video-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a2e;
  z-index: 1;
}

.tiktok-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  z-index: 2;
  position: relative;
}

/* Video Overlay - Gradient from bottom */
.tiktok-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.3) 30%,
    rgba(0, 0, 0, 0.1) 60%,
    rgba(0, 0, 0, 0.2) 100%
  );
  pointer-events: none;
  z-index: 5;
}

/* Top Navigation Bar - Pill Style */
.tiktok-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 16px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 100%);
}

.tiktok-topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 480px;
  margin: 0 auto;
}

.tiktok-feed-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.tiktok-feed-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.tiktok-tabs {
  display: flex;
  align-items: center;
  background: rgba(8, 14, 24, 0.76);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  border-radius: 24px;
  padding: 4px;
  gap: 4px;
}

.tiktok-tab {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 8px 18px;
  border-radius: 20px;
  border: none;
  background: transparent;
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.tiktok-tab:hover {
  color: var(--tiktok-text);
}

.tiktok-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, #ff2d55 0%, #ff5e7d 100%);
  box-shadow: 0 4px 15px rgba(255, 45, 85, 0.4);
}

.tiktok-search-btn,
.tiktok-profile-btn,
.tiktok-mute-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: none;
  color: var(--tiktok-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 18px;
}

.tiktok-search-btn:hover,
.tiktok-profile-btn:hover,
.tiktok-mute-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.tiktok-profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--tiktok-gold);
}

/* Right Side Actions - Positioned lower like screenshot */
.tiktok-actions {
  position: absolute;
  right: 12px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
  align-items: center;
}

.tiktok-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--tiktok-text);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.tiktok-action-btn:hover {
  transform: scale(1.1);
}

.tiktok-action-btn:active {
  transform: scale(0.95);
}

/* Simple icon style like screenshot - no background circles */
.tiktok-action-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: all 0.2s ease;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.tiktok-action-btn:hover .tiktok-action-icon {
  transform: scale(1.15);
}

.tiktok-action-btn.is-active .tiktok-action-icon {
  background: rgba(251, 113, 133, 0.3);
  border-color: rgba(251, 113, 133, 0.4);
  color: var(--tiktok-red);
}

.tiktok-action-btn.is-liked .tiktok-action-icon {
  background: rgba(251, 113, 133, 0.3);
  border-color: rgba(251, 113, 133, 0.4);
  color: var(--tiktok-red);
  animation: heartPulse 0.4s ease;
}

@keyframes heartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.tiktok-action-count {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.tiktok-action-label {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.tiktok-entry-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  width: fit-content;
}


/* Bottom Info Section */
.tiktok-info {
  position: absolute;
  left: 16px;
  right: 80px;
  bottom: 90px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tiktok-user-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tiktok-username {
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  color: #fff;
}

.tiktok-verified {
  color: var(--tiktok-gold);
  font-size: 14px;
}

.tiktok-caption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--tiktok-text);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  box-orient: vertical;
  overflow: hidden;
}

.tiktok-caption.is-expanded {
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.tiktok-more-btn {
  font-size: 14px;
  font-weight: 600;
  color: var(--tiktok-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: 4px;
}

/* Sound Info */
.tiktok-sound {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--tiktok-text);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  cursor: pointer;
  transition: color 0.2s ease;
}

.tiktok-sound:hover {
  color: var(--tiktok-gold);
}

.tiktok-sound i {
  animation: spin 4s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.tiktok-sound-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

/* Beat Session Countdown - Live time badge below beat name */
.tiktok-sound-countdown-wrapper {
  display: flex;
  align-items: center;
  margin-top: -2px;
  margin-left: 18px;
}

.tiktok-sound-countdown {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.9) 0%, rgba(220, 38, 38, 0.9) 100%);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  font-family: 'Syne', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
  animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { 
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
    opacity: 1;
  }
  50% { 
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.7);
    opacity: 0.9;
  }
}

.tiktok-sound-countdown::before {
  content: '●';
  font-size: 8px;
  color: #fff;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.tiktok-sound-countdown.ended {
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.8) 0%, rgba(75, 85, 99, 0.8) 100%);
  animation: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.tiktok-sound-countdown.ended::before {
  content: '✕';
  animation: none;
}

/* Rating Badge */
.tiktok-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(242, 193, 78, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tiktok-gold);
}

/* Progress Bar */
.tiktok-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 20;
}

.tiktok-progress-bar {
  height: 100%;
  background: var(--tiktok-gold);
  width: 0%;
  transition: width 0.1s linear;
}

/* Play/Pause Indicator */
.tiktok-play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 15;
}

.tiktok-play-indicator.is-visible {
  opacity: 1;
}

/* Loading Skeleton */
.tiktok-skeleton {
  height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(90deg, #1a1a2e 25%, #16213e 50%, #1a1a2e 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Comment Drawer */
.tiktok-comment-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70vh;
  background: var(--tiktok-surface);
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  z-index: 200;
  display: flex;
  flex-direction: column;
}

.tiktok-comment-drawer.is-open {
  transform: translateY(0);
}

.tiktok-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--tiktok-line);
}

.tiktok-drawer-title {
  font-size: 16px;
  font-weight: 700;
}

.tiktok-drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--tiktok-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.tiktok-comment {
  display: flex;
  gap: 12px;
}

.tiktok-comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tiktok-comment-content {
  flex: 1;
}

.tiktok-comment-username {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.tiktok-comment-text {
  font-size: 14px;
  color: var(--tiktok-text);
  line-height: 1.4;
}

.tiktok-comment-time {
  font-size: 12px;
  color: var(--tiktok-muted);
  margin-top: 4px;
}

.tiktok-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--tiktok-line);
  display: flex;
  gap: 12px;
  align-items: center;
}

.tiktok-comment-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--tiktok-line);
  border-radius: 24px;
  padding: 12px 16px;
  color: var(--tiktok-text);
  font-size: 14px;
  outline: none;
}

.tiktok-comment-input::placeholder {
  color: var(--tiktok-muted);
}

.tiktok-comment-submit {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tiktok-gold);
  border: none;
  color: #000;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.tiktok-comment-submit:hover {
  transform: scale(1.05);
}

/* Rating Modal */
.tiktok-rating-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.tiktok-rating-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.tiktok-rating-content {
  background: var(--tiktok-surface);
  border: 1px solid var(--tiktok-line);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  max-width: 320px;
  width: 90%;
}

.tiktok-rating-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tiktok-rating-subtitle {
  font-size: 14px;
  color: var(--tiktok-muted);
  margin-bottom: 20px;
}

.tiktok-rating-stars {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.tiktok-rating-star {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--tiktok-line);
  color: var(--tiktok-muted);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tiktok-rating-star:hover,
.tiktok-rating-star.is-selected {
  background: rgba(242, 193, 78, 0.2);
  border-color: var(--tiktok-gold);
  color: var(--tiktok-gold);
}

.tiktok-rating-current {
  font-size: 14px;
  color: var(--tiktok-muted);
}

/* Empty State */
.tiktok-empty {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.tiktok-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--tiktok-gold);
  margin-bottom: 20px;
}

.tiktok-empty-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tiktok-empty-text {
  font-size: 14px;
  color: var(--tiktok-muted);
  max-width: 280px;
}

/* Loading Spinner */
.tiktok-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 500;
}

.tiktok-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(242, 193, 78, 0.3);
  border-top-color: var(--tiktok-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Desktop Responsive */
@media (min-width: 768px) {
  .tiktok-feed-container {
    max-width: 480px;
    margin: 0 auto;
    border-left: 1px solid var(--tiktok-line);
    border-right: 1px solid var(--tiktok-line);
  }
  
  .tiktok-topbar {
    max-width: 480px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
  }
  
  .tiktok-bottom-nav {
    max-width: 480px;
  }
  
  .tiktok-video-card {
    border-radius: 0;
  }
  
  .tiktok-actions {
    right: 16px;
    gap: 18px;
  }
  
  .tiktok-info {
    right: 100px;
  }
}

/* Animation Classes */
.tiktok-fade-in {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.tiktok-slide-up {
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Hide original music styles when in TikTok mode */
body.tiktok-body .music-topbar,
body.tiktok-body .music-shell,
body.tiktok-body .music-hero,
body.tiktok-body .music-feed-wrap {
  display: none !important;
}

/* Ensure video controls don't show */
.tiktok-video::-webkit-media-controls {
  display: none !important;
}

.tiktok-video::-webkit-media-controls-enclosure {
  display: none !important;
}

/* Beat Session Countdown */
.tiktok-session-countdown {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(242, 193, 78, 0.2) 0%, rgba(242, 193, 78, 0.1) 100%);
  border: 1px solid rgba(242, 193, 78, 0.3);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tiktok-gold);
  font-family: 'Syne', sans-serif;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.tiktok-session-countdown i {
  font-size: 12px;
  animation: pulse 1.5s ease-in-out infinite;
}

.tiktok-session-countdown.ended {
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.2) 0%, rgba(251, 113, 133, 0.1) 100%);
  border-color: rgba(251, 113, 133, 0.3);
  color: var(--tiktok-red);
}

.tiktok-session-countdown.ended i {
  animation: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.9); }
}

/* Bottom Navigation Bar */
.tiktok-bottom-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
  padding: 8px 24px;
  background: rgba(17, 21, 29, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tiktok-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tiktok-muted);
  font-size: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Create Button Wrapper */
.tiktok-create-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Big Create Button */
.tiktok-create-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--tiktok-gold) 0%, #e6b03c 100%);
  color: var(--tiktok-bg);
  font-size: 28px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.tiktok-create-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.5);
}

.tiktok-create-btn:active {
  transform: scale(0.95);
}

/* Create Popup Menu */
.tiktok-create-popup {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  transform-origin: bottom center;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: rgba(17, 21, 29, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-width: 180px;
  z-index: 200;
}

.tiktok-create-popup.active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.tiktok-create-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--tiktok-text);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tiktok-create-option:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--tiktok-gold);
}

/* Button variant of create-option */
button.tiktok-create-option {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.tiktok-create-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.tiktok-create-icon.video {
  background: linear-gradient(135deg, rgba(49, 196, 141, 0.2) 0%, rgba(49, 196, 141, 0.1) 100%);
  color: var(--tiktok-emerald);
}

.tiktok-create-icon.beat {
  background: linear-gradient(135deg, rgba(242, 193, 78, 0.2) 0%, rgba(242, 193, 78, 0.1) 100%);
  color: var(--tiktok-gold);
}

.tiktok-create-icon.contest {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22) 0%, rgba(56, 189, 248, 0.12) 100%);
  color: #a5b4fc;
}

.tiktok-nav-btn:hover {
  color: var(--tiktok-gold);
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.tiktok-nav-btn.is-active {
  color: var(--tiktok-gold);
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

/* Mute/Unmute Button - Part of action buttons */
.tiktok-action-btn.is-mute {
  margin-bottom: 8px;
}

.tiktok-action-btn.is-mute .tiktok-action-icon {
  background: rgba(0, 0, 0, 0.5);
}

/* User Main Layout - Avatar on left like screenshot */
.tiktok-user-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.tiktok-avatar-link {
  flex-shrink: 0;
  text-decoration: none;
}

.tiktok-avatar-large {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.tiktok-avatar-link:hover .tiktok-avatar-large {
  transform: scale(1.05);
}

.tiktok-user-details {
  flex: 1;
  min-width: 0;
}

.tiktok-username-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.tiktok-username-text {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.tiktok-follow-btn-small {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tiktok-follow-btn-small:hover {
  background: rgba(255, 45, 85, 0.5);
  border-color: rgba(255, 45, 85, 0.6);
}

.tiktok-follow-btn-small.is-following {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* See more link */
.tiktok-see-more {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.tiktok-see-more:hover {
  color: #fff;
}
