/* ═══════════════════════════════════════════════════════
   TINDER WEB — CSS de Integración de Escritorio
   Diseño adaptado al sistema de variables de NitroChat
   ====================================================== */

#tinder-view {
  flex: 1;
  height: 100%;
  position: relative;
  background: var(--bg-0);
  display: flex;
  font-family: var(--font-primary), sans-serif;
  overflow: hidden;
  transition: background 0.3s ease;
}
#tinder-view.hidden { display: none !important; }

/* ─── Left Sidebar Panel ─────────────────────────────── */
.t-sidebar {
  width: 320px;
  background: var(--bg-1);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 100%;
  z-index: 10;
  backdrop-filter: blur(20px);
}
.t-sidebar-hdr {
  height: 64px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-2);
}
.t-my-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.t-my-profile-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent);
}
.t-my-profile-av-fb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 14px;
}
.t-my-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--t1);
}
.t-hdr-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.t-hdr-btn {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--t3);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.t-hdr-btn:hover {
  background: var(--ch-hover);
  border-color: var(--accent);
  color: var(--t1);
}
.t-hdr-btn.exit {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
  color: #f87171;
}
.t-hdr-btn.exit:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}

/* Sidebar Navigation Tabs */
.t-sidebar-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.t-tab {
  flex: 1;
  padding: 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  text-align: center;
  border: none;
  background: transparent;
  color: var(--t3);
  border-bottom: 2px solid transparent;
  transition: all 0.18s;
  font-family: inherit;
}
.t-tab:hover {
  color: var(--t1);
}
.t-tab.active {
  color: var(--t1);
  border-bottom-color: var(--accent);
}

/* Sidebar scrollable contents */
.t-sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: var(--bg-1);
}
.t-sidebar-content::-webkit-scrollbar { width: 3px; }
.t-sidebar-content::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* Grid of matches */
.t-matches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.t-match-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-align: center;
}
.t-match-bubble-img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.t-match-bubble:hover .t-match-bubble-img {
  transform: scale(1.08);
  box-shadow: 0 0 14px var(--neon-glow);
}
.t-match-bubble-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--t2);
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Chat Messages List */
.t-chats-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.t-chat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.15s;
}
.t-chat-item:hover {
  background: var(--bg-2);
  border-color: var(--border);
}
.t-chat-item-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border);
}
.t-chat-item-details {
  flex: 1;
  min-width: 0;
}
.t-chat-item-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--t1);
  margin-bottom: 3px;
}
.t-chat-item-text {
  font-size: 11px;
  color: var(--t3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Right Main Deck ────────────────────────────────── */
.t-main {
  flex: 1;
  background: radial-gradient(circle at 50% -10%, var(--bg-2) 0%, var(--bg-0) 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Deck Container */
.t-card-deck-wrap {
  width: 400px;
  height: 620px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 10;
}

.tinder-deck {
  flex: 1;
  position: relative;
}

/* Card item */
.tinder-card {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-1);
  border: 1px solid var(--border);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
  user-select: none;
  cursor: grab;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15), opacity 0.2s;
  transform-origin: center bottom;
  perspective: 1000px;
}
.tinder-card:active { cursor: grabbing; }

/* Segment indicator list */
.tinder-card-segments {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 5px;
  z-index: 10;
}
.tinder-segment {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
}
.tinder-segment.active {
  background: #fff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.tinder-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.tinder-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.3) 30%, transparent 60%);
  pointer-events: none;
}

/* Details overlay */
.tinder-card-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  color: #fff;
  z-index: 5;
  pointer-events: auto;
  text-align: left;
}
.tinder-card-tag {
  display: inline-block;
  background: rgba(0, 242, 254, 0.12);
  color: var(--neon);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0, 242, 254, 0.25);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tinder-card-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.tinder-card-name {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.tinder-card-age {
  font-size: 26px;
  font-weight: 400;
  opacity: 0.9;
}
.tinder-verified {
  color: #3b82f6;
  font-size: 20px;
  background: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(59,130,246,0.3);
}
.tinder-expand-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  cursor: pointer;
  color: #fff;
  transition: background 0.15s;
}
.tinder-expand-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.tinder-card-dist {
  font-size: 13px;
  color: #d1d5db;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* Swipe action text labels overlay */
.tinder-swipe-label {
  position: absolute;
  top: 40px;
  padding: 8px 16px;
  border: 4px solid;
  border-radius: 8px;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0;
  transform: rotate(-15deg);
  transition: opacity 0.15s;
  z-index: 10;
}
.tinder-swipe-label.like { left: 20px; border-color: #22c55e; color: #22c55e; }
.tinder-swipe-label.nope { right: 20px; border-color: #ef4444; color: #ef4444; transform: rotate(15deg); }
.tinder-swipe-label.super {
  top: auto;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%) rotate(-5deg);
  border-color: var(--accent);
  color: var(--accent);
}

/* Drag animations flyaways */
.tinder-card.swiping-left { transform: translate(-180%, 10%) rotate(-35deg) !important; opacity: 0; }
.tinder-card.swiping-right { transform: translate(180%, 10%) rotate(35deg) !important; opacity: 0; }
.tinder-card.swiping-super { transform: translate(0, -180%) rotate(0deg) !important; opacity: 0; }

/* ─── Control Buttons Row ────────────────────────────── */
.tinder-actions {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.tinder-btn {
  border: none;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.tinder-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
}
.tinder-btn:active { transform: scale(0.95); }

.tinder-btn-small { width: 48px; height: 48px; font-size: 20px; }
.tinder-btn-large { width: 62px; height: 62px; font-size: 24px; }

.tinder-btn-rewind { color: #f59e0b; border-color: rgba(245, 158, 11, 0.25); }
.tinder-btn-rewind:hover { background: #f59e0b; color: #fff; box-shadow: 0 0 18px rgba(245, 158, 11, 0.55); border-color: #f59e0b; }

.tinder-btn-nope { color: #ef4444; border-color: rgba(239, 68, 68, 0.25); }
.tinder-btn-nope:hover { background: #ef4444; color: #fff; box-shadow: 0 0 20px rgba(239, 68, 68, 0.6); border-color: #ef4444; }

.tinder-btn-super { color: var(--accent); border-color: var(--border-neon); }
.tinder-btn-super:hover { background: var(--accent); color: #fff; box-shadow: 0 0 18px var(--neon-glow); border-color: var(--accent); }

.tinder-btn-like { color: #10b981; border-color: rgba(16, 185, 129, 0.25); }
.tinder-btn-like:hover { background: #10b981; color: #fff; box-shadow: 0 0 20px rgba(16, 185, 129, 0.6); border-color: #10b981; }

.tinder-btn-boost { color: var(--neon2); border-color: var(--border); }
.tinder-btn-boost:hover { background: var(--neon2); color: #fff; box-shadow: 0 0 18px var(--neon2-glow); border-color: var(--neon2); }

/* ─── Match Overlay Modal ────────────────────────────── */
.tinder-match-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.88);
  backdrop-filter: blur(16px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tinder-match-overlay.hidden { display: none !important; }

.t-match-modal {
  background: var(--bg-1);
  border: 1.5px solid var(--border-neon);
  border-radius: 20px;
  width: 360px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  animation: t-match-zoom 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
@keyframes t-match-zoom { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.tinder-match-title {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--neon2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  text-align: center;
}
.tinder-match-avatars {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 24px;
}
.tinder-match-av {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid var(--t1);
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.tinder-match-desc {
  font-size: 14px;
  color: var(--t2);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.5;
}
.tinder-match-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.tinder-match-inp {
  background: var(--bg-0);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--t1);
  font-size: 13px;
  outline: none;
  font-family: inherit;
  text-align: center;
  transition: border-color 0.2s;
}
.tinder-match-inp:focus { border-color: var(--accent); }

/* ─── Profile details modal fallback ────────────────── */
#tinder-view .gob-modal-wrap {
  z-index: 1000;
}

/* ─── Sidebar Server Icon ────────────────────────────── */
.srv-icon.tinder-srv-icon {
  background: linear-gradient(135deg, #fd297b, #ff5864) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
}
.srv-icon.tinder-srv-icon:hover,
.srv-icon.tinder-srv-icon.active {
  border-color: #fff !important;
  box-shadow: 0 0 16px rgba(253, 41, 123, 0.45) !important;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 820px) {
  #tinder-view { flex-direction: column; }
  .t-sidebar { width: 100%; height: 280px; border-right: none; border-bottom: 1px solid var(--border); }
  .t-card-deck-wrap { height: 560px; }
}
@media (max-width: 580px) {
  .t-sidebar { height: 180px; }
  .t-card-deck-wrap { width: 90vw; height: 500px; }
  .tinder-card-name { font-size: 24px; }
  .tinder-card-age { font-size: 20px; }
}

/* --- Integrated Chat Pane in Tinder --- */
.t-chat-pane {
  position: absolute;
  inset: 0;
  background: var(--bg-1);
  display: flex;
  flex-direction: column;
  z-index: 20;
  animation: t-chat-slide-in 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

@keyframes t-chat-slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.t-chat-pane-hdr {
  height: 64px;
  padding: 0 20px;
  background: var(--bg-2);
  border-bottom: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.t-chat-pane-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-chat-pane-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent);
}

.t-chat-pane-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--t1);
}

.t-chat-pane-close {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--t3);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.t-chat-pane-close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.t-chat-pane-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.t-chat-pane-messages::-webkit-scrollbar { width: 4px; }
.t-chat-pane-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.t-msg-bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.4;
  word-break: break-word;
  text-align: left;
}

.t-msg-bubble.me {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 10px var(--neon-glow);
}

.t-msg-bubble.stranger {
  background: var(--bg-2);
  color: var(--t2);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border);
}

.t-msg-bubble.system {
  background: rgba(254, 60, 114, 0.08);
  color: #fda4af;
  align-self: center;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(254, 60, 114, 0.15);
  border-radius: 12px;
  padding: 6px 14px;
}

.t-chat-pane-input-bar {
  padding: 16px 20px;
  background: var(--bg-2);
  border-top: 1.5px solid var(--border);
  display: flex;
  gap: 12px;
}

.t-chat-pane-input {
  flex: 1;
  background: var(--bg-0);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  color: var(--t1);
  font-size: 13px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.t-chat-pane-input:focus {
  border-color: var(--accent);
}

.t-chat-pane-send {
  background: var(--accent);
  border: none;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 0 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.15s;
  box-shadow: 0 4px 10px var(--neon-glow);
}

.t-chat-pane-send:hover {
  opacity: 0.9;
}

.t-chat-pane-typing {
  font-size: 11px;
  color: var(--accent);
  margin-left: 8px;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Confetti Match Canvas Overlay */
#tinder-match-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 998;
}

.tinder-card-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--tx, 50%) var(--ty, 50%), rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tinder-card:hover .tinder-card-glare {
  opacity: 1;
}

/* Tinder Gold styling */
.t-my-profile-av.gold-active {
  border-color: #d4af37 !important;
  box-shadow: 0 0 10px rgba(212,175,55,0.4);
}

/* ═══════════════════════════════════════════════════════
   TIKTOK REELS MODE STYLES
   ====================================================== */

.t-mode-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px auto 16px auto;
  background: rgba(11, 14, 20, 0.7);
  backdrop-filter: blur(14px);
  padding: 5px 8px;
  border-radius: 30px;
  border: 1px solid rgba(254, 60, 114, 0.2);
  width: fit-content;
  z-index: 20;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.t-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  color: var(--t3);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.t-mode-btn:hover {
  color: var(--t1);
  background: rgba(255, 255, 255, 0.06);
}

.t-mode-btn.active {
  background: linear-gradient(135deg, #fe3c72 0%, #ff655b 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(254, 60, 114, 0.45);
}

/* TikTok Wrap & Container */
.t-tiktok-wrap {
  flex: 1;
  width: 100%;
  max-width: 440px;
  height: calc(100% - 70px);
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding-bottom: 10px;
}

.t-tiktok-card-container {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12);
  background: #090a0f;
}

.t-tiktok-card {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  user-select: none;
  overflow: hidden;
}

.t-tiktok-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.4s ease;
}

.t-tiktok-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 2;
  pointer-events: none;
}

/* TikTok Live Badge Top */
.t-tiktok-top-pill {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.t-tiktok-live-dot {
  width: 6px;
  height: 6px;
  background: #fe3c72;
  border-radius: 50%;
  box-shadow: 0 0 8px #fe3c72;
  animation: pulse 1.2s infinite;
}

/* TikTok Right Action Bar */
.t-tiktok-action-bar {
  position: absolute;
  right: 14px;
  bottom: 60px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.t-tiktok-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.t-tiktok-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.t-tiktok-action-item:hover .t-tiktok-btn {
  transform: scale(1.18) translateY(-2px);
}

.t-tiktok-btn.like:hover {
  background: #fe3c72;
  border-color: #fe3c72;
  box-shadow: 0 0 22px rgba(254, 60, 114, 0.7);
}

.t-tiktok-btn.nope:hover {
  background: #ef4444;
  border-color: #ef4444;
  box-shadow: 0 0 22px rgba(239, 68, 68, 0.7);
}

.t-tiktok-btn.super:hover {
  background: #3b82f6;
  border-color: #3b82f6;
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.7);
}

.t-tiktok-btn.comment:hover {
  background: #10b981;
  border-color: #10b981;
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.7);
}

.t-tiktok-btn.boost:hover {
  background: #f59e0b;
  border-color: #f59e0b;
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.7);
}

.t-tiktok-count {
  font-size: 10.5px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

/* Avatar Bubble in TikTok bar */
.t-tiktok-avatar-bubble {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #fe3c72;
  box-shadow: 0 0 14px rgba(254, 60, 114, 0.6);
  cursor: pointer;
  transition: transform 0.2s;
}

.t-tiktok-avatar-bubble:hover {
  transform: scale(1.1);
}

.t-tiktok-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.t-tiktok-avatar-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: #fe3c72;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #000;
}

/* Vinyl Spinning Disc */
.t-tiktok-disc-spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, #252830 30%, #0d0e12 70%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: t-spin 3.5s linear infinite;
  position: relative;
  margin-top: 4px;
}

.t-tiktok-disc-inner {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fe3c72;
}

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

.t-tiktok-music-note {
  position: absolute;
  font-size: 12px;
  pointer-events: none;
  animation: t-float-note 2s infinite ease-out;
}
.t-tiktok-music-note.n1 { right: -6px; top: -10px; animation-delay: 0s; }
.t-tiktok-music-note.n2 { right: -14px; top: 10px; animation-delay: 0.8s; }

@keyframes t-float-note {
  0% { transform: translateY(0) scale(0.7); opacity: 1; }
  100% { transform: translateY(-40px) scale(1.3); opacity: 0; }
}

/* TikTok Bottom Left Info */
.t-tiktok-info {
  position: absolute;
  left: 18px;
  bottom: 20px;
  right: 74px;
  z-index: 12;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.t-tiktok-username {
  font-weight: 800;
  font-size: 17px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.t-tiktok-verified {
  color: #38bdf8;
  font-size: 13px;
}

.t-tiktok-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.t-tiktok-tag {
  background: rgba(254, 60, 114, 0.25);
  border: 1px solid rgba(254, 60, 114, 0.4);
  color: #ff8ca3;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10.5px;
  font-weight: 800;
}

.t-tiktok-dist-pill {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.t-tiktok-bio {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.t-tiktok-music-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  padding: 3px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: fit-content;
  max-width: 90%;
  overflow: hidden;
}

.t-tiktok-note-icon {
  font-size: 11px;
}

.t-tiktok-music-ticker {
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

/* Nav Arrows */
.t-tiktok-nav-arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  width: 32px;
  height: 24px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.t-tiktok-nav-arrow.up { top: 12px; }
.t-tiktok-nav-arrow.down { bottom: 12px; }
.t-tiktok-nav-arrow:hover { background: rgba(254, 60, 114, 0.6); color: #fff; transform: translateX(-50%) scale(1.15); }
