/* ==========================================================================
   TeeMee H5 Luxury UI & Interactive Upgrade v3 (Refined .tm-vpro Aesthetic)
   1. Unified VIP & VIP Pro Center (/pages/vip/index)
   2. Luxury 3D Coin Recharge Page (/pages/coin/index)
   3. Dual-Chamber Luxury Profile Wallet Card (/pages/profile/index)
   4. Harmonious Matte-Satin Button System & Micro-Lift Hover Feedback
   5. Interactive Live Video Preview on Hover (PC) & Touch (Mobile) for Drama Covers
   6. Smart Customer Support Modal (在线客服)
   ========================================================================== */

/* ---------- 0. Suppress legacy disconnected top .tm-vpro injection ---------- */
uni-page-body > .tm-vpro {
  display: none !important;
}

/* ---------- 4. Harmonious Hover Micro-Lift & Cursor Feedback ---------- */
.coin-pay,
.vip-pay,
.tm-unified-pay button,
.tm-vpro-pay button,
.profile-wallet-cta,
.profile-wallet-item,
.coin-plan,
.vip-plan,
.tm-uplan,
.coin-detail,
.coin-mode-tab,
.coin-records,
.back-button,
[data-top-action="coin"],
[data-top-action="vip"],
.episode-paywall__actions button,
.episode-paywall__actions uni-button,
.tm-cs-quick-btn,
.tm-cs-submit-btn,
.watch,
.drama-watch,
.rank-watch,
.up-content-watch,
.tm-glass-btn,
.primary,
.profile-primary,
.wish-gold,
.up-follow,
.up-content-follow,
.profile-recruit-cta {
  cursor: pointer !important;
  transition:
    transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.2s ease,
    filter 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease !important;
}

.coin-pay:hover,
.vip-pay:hover,
.tm-unified-pay button:hover,
.tm-vpro-pay button:hover,
.profile-wallet-cta:hover,
[data-top-action="coin"]:hover,
[data-top-action="vip"]:hover,
.episode-paywall__actions button:hover,
.episode-paywall__actions uni-button:hover,
.tm-cs-submit-btn:hover,
.watch:hover,
.feature:hover .watch,
.drama-watch:hover,
.rank-watch:hover,
.up-content-watch:hover,
.tm-glass-btn:hover,
.primary:hover,
.profile-primary:hover,
.wish-gold:hover,
.up-follow:hover,
.up-content-follow:hover,
.profile-recruit-cta:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.04) !important;
  box-shadow: 0 6px 18px rgba(255, 77, 148, 0.32), 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}

.tm-unified-pay .tm-btn-alipay:hover,
.profile-wallet-item[data-route="coin"] .profile-wallet-cta:hover,
.profile-wallet-item:first-child .profile-wallet-cta:hover,
.wish-gold:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.04) !important;
  box-shadow: 0 6px 18px rgba(245, 185, 66, 0.32), 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}

.coin-pay:active,
.vip-pay:active,
.tm-unified-pay button:active,
.tm-vpro-pay button:active,
.profile-wallet-cta:active,
[data-top-action="coin"]:active,
[data-top-action="vip"]:active,
.tm-uplan:active,
.coin-plan:active,
.profile-wallet-item:active,
.watch:active,
.drama-watch:active,
.rank-watch:active,
.up-content-watch:active,
.tm-glass-btn:active,
.primary:active,
.profile-primary:active {
  transform: translateY(0.5px) scale(0.99) !important;
  filter: brightness(0.98) !important;
}

.coin-plan:hover,
.tm-uplan:hover,
.profile-wallet-item:hover,
.tm-cs-quick-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 12px rgba(255, 200, 60, 0.22) !important;
  filter: brightness(1.03) !important;
}

/* ---------- Shared Top Header (.coin-header) on Coin & VIP pages ---------- */
.coin-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 40 !important;
  background: rgba(18, 14, 24, 0.92) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 200, 90, 0.14) !important;
}

.coin-mode-tabs {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 200, 90, 0.2) !important;
  border-radius: 999px !important;
  padding: 3px 6px !important;
}

.coin-mode-tab.active {
  color: #FFE7A3 !important;
}

/* ==========================================================================
   1. UNIFIED VIP & VIP PRO PAGE (/pages/vip/index) — Exact .tm-vpro Aesthetic
   ========================================================================== */
.vip-page,
.vip-page .route-scroll {
  background: #110d16 !important;
}

.vip-body {
  padding: 10px 12px 36px !important;
}

/* VIP Hero Banner (.vip-wallet) — Protect Right 32% 3D Crown & Wings Artwork */
.vip-wallet {
  height: 142px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 200, 90, 0.45) !important;
  background:
    linear-gradient(90deg, rgba(16, 10, 20, 0.88) 0%, rgba(22, 13, 28, 0.58) 52%, rgba(22, 13, 28, 0.0) 74%),
    url("/static/assets/banners/teemee_vip_hero_banner.jpg?v=1027v") right center / cover no-repeat !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 18px rgba(255, 180, 60, 0.12) !important;
  overflow: hidden !important;
  position: relative !important;
}

.vip-wallet::before,
.vip-wallet::after {
  display: none !important;
  content: none !important;
}

.vip-account {
  position: absolute !important;
  left: 16px !important;
  top: 14px !important;
  max-width: 63% !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  z-index: 2 !important;
}

.vip-account > uni-image {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(255, 200, 90, 0.75) !important;
}

.vip-account .source-strong {
  font-size: 15.5px !important;
  font-weight: 800 !important;
  color: #FFF3D1 !important;
}

.vip-account .source-small {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-top: 3px !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  background: linear-gradient(90deg, #FFE7A3, #E8A200) !important;
  color: #231805 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
}

.vip-status {
  position: absolute !important;
  left: 16px !important;
  top: 66px !important;
  right: auto !important;
  width: 63% !important;
  max-width: 63% !important;
  z-index: 2 !important;
  font-size: 17.5px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  background: linear-gradient(90deg, #FFF1B8, #FFC83D, #FF8FC0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.vip-status .source-p {
  margin: 5px 0 0 !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  color: #d9c6a0 !important;
  -webkit-text-fill-color: #d9c6a0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Unified VIP & VIP Pro Center Container (.tm-vip-unified) — Exact .tm-vpro match */
.tm-vip-unified {
  margin-top: 12px;
  padding: 16px;
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 100% 0, rgba(255, 95, 162, 0.25), transparent 60%),
    linear-gradient(160deg, #2b1a10, #140c16 55%, #1a0f1f);
  border: 1px solid rgba(255, 200, 90, 0.55);
  box-shadow: 0 0 22px rgba(255, 180, 60, 0.18);
  color: #fff;
}

.tm-vip-unified .tm-vpro-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tm-vip-unified .tm-vpro-head svg {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.tm-vip-unified .tm-vpro-t {
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(90deg, #FFF1B8, #FFC83D, #FF8FC0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tm-vip-unified .tm-vpro-s {
  font-size: 12px;
  color: #d9c6a0;
  margin-top: 2px;
}

.tm-vip-unified .tm-vpro-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
  background: linear-gradient(90deg, #FFE7A3, #E8A200);
  color: #4a2600;
}

/* 3 Flagship Privilege Highlights Row — Exact .tm-vpro-privs match */
.tm-u-privs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
}

.tm-u-priv-item {
  text-align: center;
  padding: 10px 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 200, 90, 0.2);
}

.tm-u-priv-item b {
  display: block;
  font-size: 20px;
  font-weight: 900;
  color: #FFC83D;
  line-height: 1.2;
}

.tm-u-priv-item span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #eee;
}

/* Row 1: 3 Flagship VIP Pro Cards */
.tm-u-grid-pro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

/* Row 2: 4 Standard VIP Cards */
.tm-u-grid-std {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

/* Plan Card — Exact .tm-vpro-plan match */
.tm-uplan {
  position: relative;
  padding: 14px 6px 26px;
  border-radius: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  overflow: visible;
  user-select: none;
}

.tm-uplan.active {
  border-color: #FFC83D !important;
  background: linear-gradient(180deg, rgba(255, 200, 60, 0.18), rgba(255, 95, 162, 0.12)) !important;
  box-shadow: 0 0 14px rgba(255, 200, 60, 0.35) !important;
}

.tm-uplan-ribbon {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 7px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  background: linear-gradient(90deg, #FF5FA2, #FF8A3D);
  color: #fff;
  z-index: 2;
}

.tm-uplan.std-tier .tm-uplan-ribbon {
  font-size: 9.5px;
  padding: 1.5px 6px;
}

.tm-uplan-name {
  font-size: 12px;
  font-weight: 700;
  color: #f3e2bd;
  line-height: 1.25;
}

.tm-uplan.std-tier .tm-uplan-name {
  font-size: 11.5px;
}

.tm-uplan-price {
  margin: 4px 0 2px;
  font-size: 24px;
  font-weight: 900;
  color: #FFC83D;
  line-height: 1.15;
}

.tm-uplan.std-tier .tm-uplan-price {
  font-size: 20px;
}

.tm-uplan-price small {
  font-size: 13px;
  font-weight: 700;
  margin-right: 1px;
}

.tm-uplan-old {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: line-through;
}

.tm-uplan-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  font-size: 10px;
  color: #bbb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 3px;
}

.tm-uplan.active .tm-uplan-foot {
  color: #f3e2bd;
}

/* Selected Plan Summary + Dual Matte-Satin Payment Buttons (.tm-vpro-pay exact match) */
.tm-u-summary {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 200, 90, 0.18);
  font-size: 12px;
  color: #d9c6a0;
}

.tm-u-summary b {
  color: #FFC83D;
  font-weight: 800;
}

.tm-unified-pay {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.tm-unified-pay button {
  flex: 1;
  height: 42px;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.tm-unified-pay .tm-btn-alipay {
  background: linear-gradient(90deg, #ffe08a 0%, #f5b942 100%) !important;
  color: #231805 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.tm-unified-pay .tm-btn-wechat {
  background: linear-gradient(90deg, #ff7eb3 0%, #ff4d94 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(255, 77, 148, 0.25) !important;
}

.tm-vip-unified .tm-vpro-note {
  font-size: 11px;
  color: #a99;
  margin-top: 10px;
  line-height: 1.6;
}

/* Hide legacy duplicate horizontal .vip-plans, .vip-note, .vip-pay */
.vip-body .vip-plans,
.vip-body .vip-note,
.vip-page .vip-pay {
  display: none !important;
}

/* Upgrade .vip-privileges & .vip-expanded below unified plans */
.vip-privileges {
  margin-top: 14px !important;
  padding: 14px 10px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 200, 90, 0.2) !important;
}

.privilege-icon {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 200, 90, 0.28) !important;
  color: #FFC83D !important;
}

.vip-privilege .source-strong {
  color: #f3e2bd !important;
  font-weight: 700 !important;
}

.vip-expanded {
  margin-top: 12px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 200, 90, 0.2) !important;
  border-radius: 16px !important;
}

/* ==========================================================================
   2. LUXURY 3D COIN RECHARGE PAGE (/pages/coin/index) — .tm-vpro Aesthetic
   ========================================================================== */
.coin-page,
.coin-page .route-scroll {
  background: #110d16 !important;
}

/* Coin Wallet Hero Banner (.coin-wallet) — Protect Right 32% 3D Chest & Gems */
.coin-wallet {
  height: 132px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 200, 90, 0.45) !important;
  background:
    linear-gradient(90deg, rgba(16, 10, 20, 0.88) 0%, rgba(22, 13, 28, 0.58) 52%, rgba(22, 13, 28, 0.0) 74%),
    url("/static/assets/banners/teemee_recharge_coins_banner.jpg?v=1027v") right center / cover no-repeat !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 18px rgba(255, 180, 60, 0.12) !important;
  position: relative !important;
  overflow: hidden !important;
}

.coin-wallet::before,
.coin-wallet::after {
  display: none !important;
  content: none !important;
}

.coin-account {
  left: 16px !important;
  top: 14px !important;
  max-width: 62% !important;
  z-index: 2 !important;
}

.coin-account uni-image {
  border: 1.5px solid rgba(255, 200, 90, 0.75) !important;
}

.coin-account .source-strong {
  color: #FFF3D1 !important;
  font-weight: 800 !important;
}

.coin-balance {
  left: 16px !important;
  top: 60px !important;
  font-size: 23px !important;
  font-weight: 900 !important;
  color: #FFC83D !important;
  z-index: 2 !important;
}

/* Move 查看明细 pill to left-center next to balance so right-side 3D chest is 100% uncovered */
.coin-detail {
  left: 142px !important;
  top: 58px !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  padding: 0 12px !important;
  height: 26px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 200, 90, 0.4) !important;
  color: #FFE7A3 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 3 !important;
}

.coin-description {
  left: 16px !important;
  top: 95px !important;
  max-width: 62% !important;
  color: #d9c6a0 !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  z-index: 2 !important;
}

/* 8 Coin Package Cards (.coin-plans / .coin-plan) — Exact .tm-vpro-plan match */
.coin-plans {
  margin: 16px 4px 0 !important;
  gap: 10px !important;
}

.coin-plan {
  height: 144px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.coin-plan::before {
  display: none !important;
}

.coin-plan.active {
  border-color: #FFC83D !important;
  background: linear-gradient(180deg, rgba(255, 200, 60, 0.18), rgba(255, 95, 162, 0.12)) !important;
  box-shadow: 0 0 14px rgba(255, 200, 60, 0.35) !important;
}

.coin-plan .plan-coins {
  top: 22px !important;
  color: #f3e2bd !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
}

.coin-plan .plan-price {
  top: 52px !important;
  color: #FFC83D !important;
  font-weight: 900 !important;
}

.coin-plan .plan-bonus {
  top: auto !important;
  bottom: 0 !important;
  height: 28px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-top: 1px solid rgba(255, 200, 90, 0.18) !important;
  color: #d9c6a0 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.coin-plan.active .plan-bonus {
  background: linear-gradient(90deg, rgba(255, 200, 60, 0.25), rgba(255, 95, 162, 0.25)) !important;
  color: #FFE7A3 !important;
}

.tm-coin-tag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 2px 7px;
  border-radius: 0 12px 0 8px;
  font-size: 9.5px;
  font-weight: 800;
  background: linear-gradient(90deg, #FF5FA2, #FF8A3D);
  color: #fff;
  z-index: 2;
}

/* Coin Footer Payment Button (.coin-pay) — Matte-Satin Pill */
.coin-footer {
  background: rgba(17, 13, 22, 0.95) !important;
  border-top: 1px solid rgba(255, 200, 90, 0.16) !important;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom)) !important;
}

.coin-pay {
  height: 46px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #ff7eb3 0%, #ff4d94 100%) !important;
  color: #FFFFFF !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  border: 0 !important;
  box-shadow: 0 4px 14px rgba(255, 77, 148, 0.25) !important;
}

/* ==========================================================================
   3. PROFILE PAGE DUAL-CHAMBER WALLET CARD (/pages/profile/index) — .tm-vpro Match
   ========================================================================== */
.profile-wallet {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 10px !important;
  height: auto !important;
  min-height: 112px !important;
  margin: 14px 12px 6px !important;
  padding: 10px !important;
  border-radius: 18px !important;
  background:
    radial-gradient(120% 80% at 100% 0, rgba(255, 95, 162, 0.22), transparent 60%),
    linear-gradient(160deg, #2b1a10, #140c16 55%, #1a0f1f) !important;
  border: 1px solid rgba(255, 200, 90, 0.5) !important;
  box-shadow: 0 0 22px rgba(255, 180, 60, 0.15) !important;
}

.profile-wallet-divider {
  display: none !important;
}

.profile-wallet-item {
  position: relative !important;
  border-radius: 12px !important;
  padding: 12px 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 200, 90, 0.22) !important;
}

.profile-wallet-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #f3e2bd !important;
  white-space: nowrap !important;
}

.profile-wallet-balance {
  margin-top: 4px !important;
  font-size: 26px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  color: #FFC83D !important;
}

.profile-wallet-note {
  margin-top: 4px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #d9c6a0 !important;
  white-space: nowrap !important;
}

/* Profile CTA Buttons: Left = Gold (#FFE08A -> #FFB03D), Right = Pink (#FF8FC0 -> #FF4D94) */
.profile-wallet-cta {
  padding: 0 12px !important;
  height: 30px !important;
  line-height: 30px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  background: linear-gradient(90deg, #ffe08a 0%, #f5b942 100%) !important;
  color: #231805 !important;
  border: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  flex-shrink: 0 !important;
}

.profile-wallet-item[data-route="vip"] .profile-wallet-cta,
.profile-wallet-item:last-child .profile-wallet-cta {
  background: linear-gradient(90deg, #ff7eb3 0%, #ff4d94 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(255, 77, 148, 0.25) !important;
}

/* ==========================================================================
   5. INTERACTIVE LIVE VIDEO PREVIEW ON DRAMA COVERS (HOME & BROWSE)
   ========================================================================== */
uni-button.card[data-detail],
.card[data-detail] {
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.24s ease !important;
}

uni-button.card[data-detail].tm-card-previewing,
.card[data-detail].tm-card-previewing {
  transform: translateY(-3px) scale(1.02) !important;
  z-index: 15 !important;
}

uni-button.card[data-detail].tm-card-previewing .poster,
.card[data-detail].tm-card-previewing .poster {
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.55),
    0 0 0 1.5px #FF8FC0,
    0 0 14px rgba(255, 77, 148, 0.35) !important;
}

.tm-video-preview-wrap {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 4 !important;
  border-radius: inherit !important;
  overflow: hidden !important;
  pointer-events: none !important;
  background: rgba(12, 8, 20, 0.25);
  animation: tmPreviewFadeIn 0.2s ease-out;
}

.tm-preview-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.tm-preview-badge {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  z-index: 6 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 3px 9px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #ff7eb3 0%, #ff4d94 100%) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4) !important;
  pointer-events: none !important;
}

.tm-preview-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFE7A3;
  animation: tmPulseDot 1s infinite alternate;
}

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

@keyframes tmPulseDot {
  from { opacity: 0.45; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1.15); }
}

/* ==========================================================================
   6. SMART CUSTOMER SUPPORT MODAL (在线客服 · 智能工单与实时处理中心)
   ========================================================================== */
.tm-cs-overlay {
  position: fixed;
  inset: 0;
  z-index: 99995;
  background: rgba(8, 5, 14, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: tmPreviewFadeIn 0.2s ease-out;
}

.tm-cs-modal {
  width: min(410px, 94vw);
  max-height: 86vh;
  overflow-y: auto;
  border-radius: 18px;
  padding: 18px;
  background:
    radial-gradient(120% 80% at 100% 0, rgba(255, 95, 162, 0.25), transparent 60%),
    linear-gradient(160deg, #2b1a10, #140c16 55%, #1a0f1f);
  border: 1px solid rgba(255, 200, 90, 0.55);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65), 0 0 22px rgba(255, 180, 60, 0.18);
  color: #fff;
}

.tm-cs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tm-cs-title {
  font-size: 17px;
  font-weight: 900;
  background: linear-gradient(90deg, #FFF1B8, #FFC83D, #FF8FC0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tm-cs-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

.tm-cs-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 10px 0 14px;
}

.tm-cs-quick-btn {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 200, 90, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #f3e2bd;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.tm-cs-chat-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  min-height: 90px;
  max-height: 180px;
  overflow-y: auto;
  font-size: 12.5px;
  line-height: 1.55;
  color: #eee;
  margin-bottom: 12px;
}

.tm-cs-input-row {
  display: flex;
  gap: 8px;
}

.tm-cs-input {
  flex: 1;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 200, 90, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0 14px;
  font-size: 13px;
  outline: none;
}

.tm-cs-submit-btn {
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0 !important;
  background: linear-gradient(90deg, #ff7eb3 0%, #ff4d94 100%) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(255, 77, 148, 0.25) !important;
}

/* ==========================================================================
   7. REFINED MATTE-SATIN PLATFORM BUTTONS ([t1114u] & [t1115u])
      Matches exact .tm-vpro button feel — NO ::before glossy bar, NO loud neon!
   ========================================================================== */

/* Remove any ::before glossy specular lens across all buttons */
.watch::before,
.rank-watch::before,
.drama-watch::before,
.up-content-watch::before,
.tm-glass-cta-watch::before,
.tm-glass-btn::before,
.primary::before,
.profile-primary::before,
.wish-gold::before,
.up-follow::before,
.up-content-follow::before,
.profile-recruit-cta::before,
.coin-pay::before,
.vip-pay::before,
.tm-unified-pay button::before,
.profile-wallet-cta::before {
  display: none !important;
  content: none !important;
}

/* Home Featured Card (.feature) — Subtle warm dark card matching .tm-vpro */
uni-button.feature,
.feature {
  height: auto !important;
  min-height: 198px !important;
  padding: 14px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 200, 90, 0.22) !important;
  background:
    radial-gradient(120% 80% at 100% 0, rgba(255, 95, 162, 0.14), transparent 60%),
    linear-gradient(160deg, #221619, #140f18 60%, #18111d) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
}

.feature-copy .source-p {
  -webkit-line-clamp: 3 !important;
  margin: 6px 0 10px !important;
}

/* "立即看 ▶" (.watch) — Well-proportioned, matte-satin pink pill */
.watch,
.feature .watch,
.feature-copy .watch,
uni-button.feature .watch,
.rank-watch,
.browse-page .rank-watch,
.tm-glass-cta-watch {
  min-width: 126px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 18px !important;
  margin-top: auto !important;
  border-radius: 999px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  line-height: 36px !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: linear-gradient(90deg, #ff7eb3 0%, #ff4d94 100%) !important;
  border: 0 !important;
  box-shadow: 0 4px 14px rgba(255, 77, 148, 0.25) !important;
  text-shadow: none !important;
}

.watch .feature-play-icon,
.watch svg.tm-play-svg {
  width: 15px !important;
  height: 15px !important;
}

/* Full-width watch & primary action buttons */
.drama-watch,
.up-content-watch,
.tm-glass-btn,
.primary,
.profile-primary,
.up-follow,
.up-content-follow,
.profile-recruit-cta,
.payment-submit,
.promotion-cta,
.promotion-main-action {
  border-radius: 999px !important;
  border: 0 !important;
  background: linear-gradient(90deg, #ff7eb3 0%, #ff4d94 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(255, 77, 148, 0.25) !important;
  text-shadow: none !important;
}

.wish-gold,
.tm-glass-btn.gold-variant {
  border-radius: 999px !important;
  border: 0 !important;
  background: linear-gradient(90deg, #ffe08a 0%, #f5b942 100%) !important;
  color: #231805 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

/* High-specificity overrides after .tm-glass-btn so gold & subtle pills stay exact */
.profile-wallet .profile-wallet-item:first-child .profile-wallet-cta,
.profile-wallet .profile-wallet-item[data-route="coin"] .profile-wallet-cta {
  background: linear-gradient(90deg, #ffe08a 0%, #f5b942 100%) !important;
  color: #231805 !important;
  border: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.coin-wallet .coin-detail,
.coin-detail.tm-glass-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 200, 90, 0.42) !important;
  color: #FFE7A3 !important;
  box-shadow: none !important;
}

/* Prevent any note truncation inside .profile-wallet-item */
.profile-wallet .profile-wallet-item {
  padding: 11px 9px !important;
  gap: 4px !important;
}
.profile-wallet .profile-wallet-note {
  font-size: 10.5px !important;
  letter-spacing: -0.2px !important;
}
.profile-wallet .profile-wallet-cta {
  padding: 0 9px !important;
  height: 27px !important;
  line-height: 27px !important;
  font-size: 11px !important;
}

/* ==========================================================================
   8. V4 UPGRADES: LARGER LOGO & PLAY ICON, BINGE HEART ICON, LIVE DANMAKU
      ([t1118u], [t1119u], [t1120u], [t1121u])
   ========================================================================== */

/* --- 8A. Enlarge Top-Left TeeMee Logo & White Play Triangle ([t1118u]) --- */
.header .topbar .logo.tm-logo-rect {
  padding: 2px 4px 2px 0 !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.header .topbar .logo.tm-logo-rect .tm-rect-logo {
  height: 32px !important;
  width: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 8px rgba(255, 77, 148, 0.35)) brightness(1.06) !important;
}

@media (max-width: 460px) {
  .header .topbar {
    gap: 4px !important;
  }
  .header .topbar .logo.tm-logo-rect {
    padding: 2px 2px 2px 0 !important;
    height: 30px !important;
  }
  .header .topbar .logo.tm-logo-rect .tm-rect-logo {
    height: 25px !important;
  }
  .header .topbar .tm-pill,
  .header .topbar uni-button.tm-pill {
    padding: 0 7px !important;
    gap: 3.5px !important;
    font-size: 11px !important;
    height: 29px !important;
  }
  .header .topbar .tm-pill .coin-label,
  .header .topbar .tm-pill .tm-pill-label {
    font-size: 11px !important;
    gap: 3.5px !important;
  }
  .header .topbar .tm-pill .tm-ico,
  .header .topbar .tm-pill svg {
    width: 13.5px !important;
    height: 13.5px !important;
    flex: 0 0 13.5px !important;
  }
  .header .topbar .search,
  .header .topbar [class*="search"] {
    flex: 0 0 28px !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
  }
}

/* Larger bold white play triangle inside 立即看 ▶ */
.watch,
.feature .watch,
.feature-copy .watch,
uni-button.feature .watch {
  min-width: 134px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 20px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  gap: 7px !important;
}

.watch .feature-play-icon,
.feature-play-icon,
.watch svg.tm-play-svg,
.feature-play-icon .tm-play-svg {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* --- 8B. Binge / Player Right-Side Like Button Heart Icon Fix ([t1121u]) --- */
[data-player-action="like"] uni-image,
[data-player-action="like"] img:not(.tm-keep-img) {
  display: none !important;
}

[data-player-action="like"] .tm-heart-svg-wrap {
  width: 30px !important;
  height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 2px !important;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

[data-player-action="like"]:hover .tm-heart-svg-wrap {
  transform: scale(1.12) !important;
}

[data-player-action="like"]:active .tm-heart-svg-wrap {
  transform: scale(0.92) !important;
}

[data-player-action="like"] .tm-heart-svg-wrap svg {
  width: 28px !important;
  height: 28px !important;
  display: block !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

[data-player-action="like"][aria-pressed="true"] .tm-heart-svg-wrap svg {
  filter: drop-shadow(0 2px 8px rgba(255, 77, 148, 0.55));
}

/* --- 8C. Live Floating Danmaku Stage & Human Usage Traces ([t1119u], [t1120u]) --- */
.tm-dm-live-stage {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 116px;
  overflow: hidden;
  pointer-events: none;
  z-index: 16;
}

body.tm-dm-off .tm-dm-live-stage {
  display: none !important;
}

.tm-dm-bullet {
  position: absolute;
  left: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(14, 10, 20, 0.66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.25;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.38);
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  will-change: transform;
  animation: tmDanmakuFly linear forwards;
}

.tm-dm-bullet:hover {
  animation-play-state: paused;
  border-color: #FFC83D;
  background: rgba(24, 15, 32, 0.88);
  z-index: 30;
}

.tm-dm-bullet.is-hot {
  border-color: rgba(255, 200, 90, 0.55);
  background: linear-gradient(90deg, rgba(43, 26, 16, 0.82), rgba(26, 15, 31, 0.82));
  color: #FFF1B8;
}

.tm-dm-bullet.is-mine {
  border: 1.5px solid #FFC83D;
  background: linear-gradient(90deg, rgba(255, 126, 179, 0.32), rgba(245, 185, 66, 0.28));
  color: #FFE7A3;
  box-shadow: 0 0 12px rgba(255, 200, 60, 0.35);
}

.tm-dm-time {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFE7A3;
}

.tm-dm-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 77, 148, 0.22);
  color: #ff9ec6;
  transition: transform 0.15s ease, background 0.15s ease;
}

.tm-dm-bullet.liked .tm-dm-like-btn {
  background: linear-gradient(90deg, #ff7eb3 0%, #ff4d94 100%);
  color: #ffffff;
}

@keyframes tmDanmakuFly {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-920px, 0, 0);
  }
}

/* Interactive Danmaku Control Bar & Human Traces Panel (.tm-dm-dock) */
.tm-dm-dock {
  margin: 10px 12px;
  padding: 11px 12px;
  border-radius: 16px;
  background:
    radial-gradient(120% 80% at 100% 0, rgba(255, 95, 162, 0.18), transparent 60%),
    linear-gradient(160deg, #24161b, #140c16 60%, #19101f);
  border: 1px solid rgba(255, 200, 90, 0.42);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  color: #fff;
  position: relative;
  z-index: 20;
}

.clips-page .tm-dm-dock {
  position: absolute;
  left: 12px;
  right: 68px;
  bottom: 10px;
  margin: 0;
  padding: 8px 10px;
  background: rgba(18, 12, 24, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 200, 90, 0.35);
  z-index: 18;
}

.clips-page .player-description {
  margin-bottom: 82px !important;
}

.tm-dm-dock-top {
  display: flex;
  align-items: center;
  gap: 7px;
}

.tm-dm-toggle {
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 200, 90, 0.45);
  background: rgba(255, 200, 60, 0.16);
  color: #FFE7A3;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

body.tm-dm-off .tm-dm-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #999;
}

.tm-dm-input {
  flex: 1;
  min-width: 0;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  padding: 0 12px;
  font-size: 12px;
  outline: none;
}

.tm-dm-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.tm-dm-send {
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0 !important;
  background: linear-gradient(90deg, #ff7eb3 0%, #ff4d94 100%) !important;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(255, 77, 148, 0.25) !important;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.tm-dm-traces {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.tm-dm-traces::-webkit-scrollbar {
  display: none;
}

.tm-dm-trace-label {
  font-size: 11px;
  font-weight: 800;
  color: #FFC83D;
  white-space: nowrap;
  flex-shrink: 0;
}

.tm-dm-trace-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 200, 90, 0.22);
  color: #f3e2bd;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.tm-dm-trace-pill:hover {
  transform: translateY(-1px);
  border-color: #FFC83D;
}

.tm-dm-trace-pill.liked {
  border-color: #ff7eb3;
  background: rgba(255, 77, 148, 0.18);
  color: #fff;
}

.tm-dm-trace-pill b {
  color: #FFE7A3;
  font-weight: 800;
}

.tm-dm-trace-pill i {
  font-style: normal;
  color: #ff8fc0;
  font-weight: 800;
}


/* === 2026-10-27 Wishlist & Ranking Rank Number Spacing Polish === */
.wish-row .wish-ordinal,
.wish-ordinal {
  left: 10px !important;
  width: 38px !important;
  min-width: 38px !important;
  margin-right: 18px !important;
  text-align: center !important;
  flex-shrink: 0 !important;
  font-size: 22px !important;
  line-height: 28px !important;
}
.wish-row .wish-row-poster,
.wish-row-poster {
  left: 66px !important;
}
.wish-row .wish-row-copy,
.wish-row-copy,
.wish-row .wish-tags,
.wish-tags {
  left: calc(66px + var(--wish-poster-width, 46px) + 14px) !important;
}
.wish-weekly .source-em {
  min-width: 24px !important;
  width: 24px !important;
  height: 18px !important;
  line-height: 18px !important;
  margin-right: 8px !important;
  text-align: center !important;
  flex-shrink: 0 !important;
  border-radius: 4px !important;
}
