/**
 * HB88 Custom Mobile Header - Stylesheet
 * Redesigned to match Chinese Short-Drama (柠檬短剧 NM.VIP) App UI
 * Scoped and fully responsive for WordPress & GeneratePress
 */

.hb88-header-wrapper {
  --hb88-bg-dark: #0d0d11;
  --hb88-bg-header: #121216;
  --hb88-bg-card: #18181e;
  --hb88-bg-pill: #222228;
  --hb88-bg-pill-hover: #2c2c34;
  --hb88-bg-pill-active: #3a3a46;
  --hb88-border: rgba(255, 255, 255, 0.08);
  --hb88-border-pill: rgba(255, 255, 255, 0.06);
  --hb88-gold-primary: #f5c518;
  --hb88-gold-bright: #fed836;
  --hb88-gold-glow: rgba(245, 197, 24, 0.35);
  --hb88-text-white: #ffffff;
  --hb88-text-light: #e5e5ec;
  --hb88-text-muted: #9595a2;
  --hb88-text-sub: #787884;

  width: 100%;
  max-width: var(--hb88-max-width, 440px) !important;
  margin: 0 auto !important;
  background-color: var(--hb88-bg-header);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
  position: relative;
  z-index: 999;
  user-select: none;
  -webkit-user-select: none;
}

.hb88-header-wrapper * {
  box-sizing: border-box;
}

/* ==========================================================================
   GLOBAL MOBILE TAP HIGHLIGHT & SKY-BLUE FOCUS RESET
   ========================================================================== */
*,
*::before,
*::after {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

:root {
  -webkit-tap-highlight-color: transparent !important;
}

a,
button,
input,
select,
textarea,
label,
summary,
[role="button"],
[role="tab"],
[tabindex],
.hb88-btn,
.hb88-action-btn,
.hb88-country-btn,
.country-tab-btn,
.hb88-type-btn,
.type-filter-btn,
.hb88-bottom-nav a,
.hb88-nav-item,
.hb88-header-top a,
.hb88-app-banner a,
.hb88-app-btn,
.hb88-float-badge a,
.hb88-badge-close,
.hb88-modal-close,
.video-card,
.arena-card {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  -webkit-touch-callout: none !important;
  outline: none !important;
  outline: 0 !important;
  -webkit-focus-ring-color: transparent !important;
}

a:focus,
a:active,
a:focus-visible,
a:visited:focus,
button:focus,
button:active,
button:focus-visible,
[role="button"]:focus,
[role="button"]:active,
[role="button"]:focus-visible,
[role="tab"]:focus,
[role="tab"]:active,
[role="tab"]:focus-visible,
[tabindex]:focus,
[tabindex]:active,
[tabindex]:focus-visible,
input[type="button"]:focus,
input[type="submit"]:focus,
input[type="button"]:active,
input[type="submit"]:active,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible {
  outline: none !important;
  outline: 0 !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  -webkit-focus-ring-color: transparent !important;
}

/* ==========================================================================
   1. TOP BAR: Logo + Pill Search Bar + 2 Action Buttons
   ========================================================================== */
.hb88-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: var(--hb88-bg-header);
}

/* Brand Logo (Lemon Icon + Titles) */
.hb88-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
}

.hb88-lemon-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hb88-lemon-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hb88-logo-img {
  height: var(--hb88-logo-height, 32px);
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
}

.hb88-brand-titles {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.hb88-brand-main {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.hb88-brand-sub {
  font-size: 8px;
  font-weight: 700;
  color: var(--hb88-gold-bright);
  letter-spacing: 0.8px;
  white-space: nowrap;
  margin-top: 1px;
}

/* Center Search Pill Bar (Figma Frame: Rounded Capsule, Left Search Icon, Right Mic Icon) */
.hb88-search-bar {
  flex: 1 1 auto;
  min-width: 0 !important;
  height: 40px;
  background: #232327 !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
  box-sizing: border-box;
}

.hb88-search-icon-left {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8e8e93;
  flex-shrink: 0;
}

.hb88-search-icon-left svg {
  width: 18px;
  height: 18px;
  display: block;
}

.hb88-header-wrapper .hb88-search-input,
.hb88-search-bar input.hb88-search-input,
input.hb88-search-input[type="text"],
input.hb88-search-input {
  flex: 1;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  padding: 0 !important;
  margin: 0 !important;
  font-family: inherit !important;
}

.hb88-header-wrapper .hb88-search-input::placeholder,
.hb88-search-bar input.hb88-search-input::placeholder {
  color: #8e8e93 !important;
  font-size: 13.5px !important;
  opacity: 1 !important;
}

.hb88-search-mic-btn {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8e8e93;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.hb88-search-mic-btn:hover {
  color: #ffffff;
}

.hb88-search-mic-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Action Buttons (Figma Frame: Bell with Red Dot & Yellow User Profile Avatar) */
.hb88-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hb88-top-action-circle {
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  border: none;
  padding: 0;
  box-sizing: border-box;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.hb88-top-action-circle:hover {
  transform: scale(1.05);
}

.hb88-btn-bell {
  background: #24252a !important;
  color: #ffffff !important;
}

.hb88-btn-bell svg {
  width: 20px;
  height: 20px;
  display: block;
}

.hb88-bell-badge {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 7px;
  height: 7px;
  background: #ff3b30;
  border-radius: 50%;
  border: 1px solid #111114;
}

.hb88-btn-user {
  background: #ffd764 !important;
  color: #000000 !important;
  box-shadow: 0 0 12px rgba(255, 215, 100, 0.35);
}

.hb88-btn-user svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke: #000000;
}

/* ==========================================================================
   2. HORIZONTAL SCROLLABLE CATEGORY NAVIGATION MENU (Original Icons)
   ========================================================================== */
.hb88-header-nav,
.hb88-header-pills {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 12px 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  touch-action: pan-x pan-y;
  background: var(--hb88-bg-header);
}

.hb88-header-nav::-webkit-scrollbar,
.hb88-header-pills::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.hb88-header-nav:active,
.hb88-header-pills:active {
  cursor: grabbing;
}

/* Authentic Icon Box Navigation Item */
.hb88-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 58px;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.hb88-nav-item:hover {
  transform: translateY(-2px);
}

.hb88-item-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #18181c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c7c7d0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

.hb88-item-icon-box svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
  display: block;
}

.hb88-item-label {
  font-size: 11.5px;
  font-weight: 500;
  color: #8c8c99;
  white-space: nowrap;
  transition: color 0.2s ease;
}

/* Active State (Gold Gradient) */
.hb88-nav-item.active .hb88-item-icon-box {
  background: linear-gradient(135deg, #ffd764 0%, #e5b026 100%);
  color: #121214;
  border: none;
  box-shadow: 0 4px 14px rgba(229, 176, 38, 0.35);
}

.hb88-nav-item.active .hb88-item-icon-box svg {
  fill: #121214;
}

.hb88-nav-item.active .hb88-item-label {
  color: #fed836;
  font-weight: 700;
}

/* Figma Frame Category Pill Navigation Buttons */
.hb88-pill-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px !important;
  border-radius: 9999px !important;
  background: #232327 !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  color: #99999f !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hb88-pill-item:hover {
  background: #2b2b32 !important;
  color: #ffffff !important;
}

.hb88-pill-item.active {
  background: #ffd764 !important;
  color: #000000 !important;
  border-color: #ffd764 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 16px rgba(255, 215, 100, 0.35) !important;
}

/* ==========================================================================
   3. FLOATING ACTION WIDGETS (Right Side: Promo Badge & Support Button)
   ========================================================================== */
/* Container: Keeps floating badges and buttons strictly constrained within mobile width (440px) */
.hb88-floating-actions-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: var(--hb88-max-width, 440px);
  height: 0;
  pointer-events: none;
  z-index: 9998;
}

.hb88-floating-support-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: var(--hb88-max-width, 440px);
  height: 0;
  pointer-events: none;
  z-index: 9998 !important;
}

.hb88-floating-actions-container .hb88-float-badge,
.hb88-floating-actions-container .hb88-float-service,
.hb88-floating-support-container .hb88-float-service {
  position: absolute !important;
  right: 12px !important;
  pointer-events: auto !important;
}

.hb88-floating-actions-container .hb88-float-service,
.hb88-floating-support-container .hb88-float-service {
  bottom: 126px !important;
  z-index: 9998 !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), bottom 0.28s cubic-bezier(0.16, 1, 0.3, 1), right 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* When Support Menu Popup (#hb88ModalSupportMenu) or Report Issue Popup (#hb88ModalReportIssue) is open: keep Support button visible on its bottom-right corner */
body:has(#hb88ModalSupportMenu.show, #hb88ModalReportIssue.show) .hb88-floating-support-container {
  z-index: 2147483000 !important;
}

body:has(#hb88ModalSupportMenu.show, #hb88ModalReportIssue.show) .hb88-floating-support-container .hb88-float-service {
  bottom: 52px !important;
  right: 6px !important;
  z-index: 2147483000 !important;
}

#hb88ModalSupportMenu,
#hb88ModalReportIssue {
  bottom: 92px !important;
}

.hb88-floating-actions-container .hb88-float-badge {
  bottom: 188px !important;
}

body:has(#hb88AppBanner.dismissed) .hb88-floating-actions-container .hb88-float-service,
body:has(#hb88AppBanner[style*="display: none"]) .hb88-floating-actions-container .hb88-float-service,
body:has(#hb88AppBanner.dismissed) .hb88-floating-support-container .hb88-float-service,
body:has(#hb88AppBanner[style*="display: none"]) .hb88-floating-support-container .hb88-float-service {
  bottom: 74px !important;
}

body:has(#hb88AppBanner.dismissed) .hb88-floating-actions-container .hb88-float-badge,
body:has(#hb88AppBanner[style*="display: none"]) .hb88-floating-actions-container .hb88-float-badge {
  bottom: 136px !important;
}

/* Floating Promo Activity Badge (九宫格 更多活动) */
.hb88-float-badge {
  position: fixed;
  right: 12px;
  bottom: 146px;
  z-index: 9997;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: hb88FloatBounce 3s ease-in-out infinite;
}

/* Desktop Fallback: keeps fixed floating elements inside the 440px centered layout */
@media (min-width: 441px) {
  .hb88-float-badge:not(.hb88-floating-actions-container *),
  .hb88-float-service:not(.hb88-floating-actions-container *):not(.hb88-floating-support-container *) {
    right: calc(50% - (var(--hb88-max-width, 440px) / 2) + 12px) !important;
  }
}

@keyframes hb88FloatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hb88-badge-close {
  position: absolute;
  top: -7px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: transparent !important;
  border: none !important;
  color: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  padding: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.hb88-badge-close:hover {
  transform: scale(1.12);
}

.hb88-badge-close img,
.hb88-badge-close svg {
  width: 20px;
  height: 20px;
  display: block;
  pointer-events: none;
}

.hb88-gift-box-img {
  width: 72px;
  height: 84px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hb88-gift-box-img:hover {
  transform: scale(1.05);
}

.hb88-badge-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hb88-badge-card {
  width: 64px;
  background: linear-gradient(180deg, #168a35 0%, #0d5f22 100%);
  border: 2px solid #fed836;
  border-radius: 12px;
  padding: 6px 4px 4px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  position: relative;
}

.hb88-badge-crown {
  font-size: 14px;
  line-height: 1;
  margin-bottom: 2px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.hb88-badge-grid {
  display: grid;
  grid-template-columns: repeat(3, 8px);
  grid-gap: 2px;
  margin-bottom: 3px;
}

.hb88-badge-grid span {
  width: 8px;
  height: 8px;
  background: #39e365;
  border-radius: 1px;
}

.hb88-badge-title {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.hb88-badge-cta {
  background: #ffcc00;
  color: #111111;
  font-size: 8px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 9999px;
  margin-top: 3px;
  white-space: nowrap;
}

/* Floating Customer Support Button (Golden Headset Icon - Figma Support Button) */
.hb88-float-service {
  position: fixed;
  right: 12px;
  bottom: 84px;
  z-index: 9998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  animation: hb88PulseAnim 2.4s infinite ease-in-out;
}

.hb88-float-service:hover {
  transform: scale(1.08);
}

.hb88-float-service:active {
  transform: scale(0.95);
}

.hb88-float-service .hb88-support-icon-img,
.hb88-floating-support-btn .hb88-support-icon-img {
  width: 48px !important;
  height: 48px !important;
  display: block !important;
  filter: drop-shadow(0 6px 14px rgba(255, 215, 100, 0.55)) !important;
  border-radius: 50% !important;
}

/* ==========================================================================
   4. APP DOWNLOAD FLOATING PROMO BANNER (Exact Figma Match: Floating Rounded Card)
   ========================================================================== */
.hb88-bottom-app-banner {
  position: fixed !important;
  bottom: 64px !important;
  left: 12px !important;
  right: 12px !important;
  margin: 0 auto !important;
  width: calc(100% - 24px) !important;
  max-width: calc(var(--hb88-max-width, 440px) - 24px) !important;
  height: 52px !important;
  min-height: 52px !important;
  z-index: 9999 !important;
  background: #232227 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 14px !important;
  padding: 6px 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5) !important;
  box-sizing: border-box !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
}

.hb88-bottom-app-banner.dismissed {
  transform: translateY(120%) scale(0.95) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  display: none !important;
}

.hb88-app-banner-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.hb88-banner-close {
  position: absolute !important;
  top: -6px !important;
  left: -5px !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: #1e1e24 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #d1d1d6 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  z-index: 10 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5) !important;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease !important;
}

.hb88-banner-close:hover {
  transform: scale(1.15) !important;
  background: #2a2a34 !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.hb88-banner-close:active {
  transform: scale(0.9) !important;
}

.hb88-banner-close svg {
  width: 9px !important;
  height: 9px !important;
  display: block !important;
  stroke: currentColor !important;
  pointer-events: none !important;
}

.hb88-app-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.hb88-app-banner-logo,
.hb88-app-icon img {
  height: 22px !important;
  width: auto !important;
  max-width: 68px !important;
  object-fit: contain !important;
  display: block !important;
}

.hb88-app-banner-text {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  letter-spacing: -0.2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.hb88-app-download-btn {
  background: linear-gradient(180deg, #FDEE00 0%, #E08F00 100%) !important;
  color: #000000 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.15s ease, filter 0.15s ease !important;
}

.hb88-app-download-btn:hover {
  transform: scale(1.03) !important;
  filter: brightness(1.06) !important;
}

.hb88-app-download-btn:active {
  transform: scale(0.97) !important;
}

/* ==========================================================================
   5. FIXED BOTTOM NAVIGATION BAR (Exact Figma Match)
   ========================================================================== */
.hb88-bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: var(--hb88-max-width, 440px) !important;
  height: 56px !important;
  z-index: 9995 !important;
  background: #111014 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-around !important;
  padding: 0 4px !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6) !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.hb88-bottom-nav-item {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  text-decoration: none !important;
  color: #8c8c99 !important;
  cursor: pointer !important;
  padding: 4px 0 !important;
  transition: color 0.15s ease, transform 0.15s ease !important;
}

.hb88-bottom-nav-item:hover {
  color: #cccccc !important;
}

.hb88-bottom-nav-item svg {
  width: 24px !important;
  height: 24px !important;
  fill: currentColor !important;
  stroke: none !important;
  display: block !important;
  transition: fill 0.15s ease, color 0.15s ease, stroke 0.15s ease !important;
}

.hb88-bottom-nav-item span {
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1px !important;
  line-height: 1.1 !important;
}

/* Active Bottom Nav Item (Figma Gold #FFD764) */
.hb88-bottom-nav-item.active {
  color: #FFD764 !important;
}

.hb88-bottom-nav-item.active svg {
  fill: #FFD764 !important;
  color: #FFD764 !important;
}

.hb88-bottom-nav-item[data-nav="football"] svg,
.hb88-bottom-nav-item[data-nav="soccer"] svg,
.hb88-bottom-nav-item.active[data-nav="football"] svg,
.hb88-bottom-nav-item.active[data-nav="soccer"] svg {
  fill: none !important;
  stroke: currentColor !important;
}

.hb88-bottom-nav-item.active span {
  font-weight: 700 !important;
  color: #FFD764 !important;
}

/* Center Special Tab (Live / Trực Tiếp - Yellow only when active) */
.hb88-nav-center .hb88-center-icon-wrap {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hb88-nav-center circle,
.hb88-nav-center .hb88-live-circle {
  fill: #8c8c99;
  transition: fill 0.2s ease, filter 0.2s ease;
}

.hb88-nav-center polygon,
.hb88-nav-center .hb88-live-poly,
.hb88-bottom-nav-item .hb88-live-poly {
  fill: #121216 !important;
}

.hb88-nav-center circle,
.hb88-bottom-nav-item .hb88-live-circle {
  fill: #8c8c99;
  transition: fill 0.2s ease, filter 0.2s ease;
}

.hb88-nav-center:hover:not(.active) circle,
.hb88-bottom-nav-item:hover:not(.active) .hb88-live-circle {
  fill: #cccccc;
}

.hb88-nav-center.active circle,
.hb88-nav-center.active .hb88-live-circle,
.hb88-bottom-nav-item.active .hb88-live-circle {
  fill: var(--hb88-gold-bright, #fed836) !important;
  filter: drop-shadow(0 0 6px rgba(254, 216, 54, 0.45));
}

.hb88-nav-center.active polygon,
.hb88-nav-center.active .hb88-live-poly,
.hb88-bottom-nav-item.active .hb88-live-poly {
  fill: #121216 !important;
}

/* Safety Spacing for pages with Bottom Nav */
body.hb88-has-bottom-nav,
.hb88-page-container {
  padding-bottom: 42px !important;
}

/* ==========================================================================
   FEATURED LIVE STREAM SLIDER (Matching Image 1 Short-Drama Card Carousel)
   ========================================================================== */
.hb88-stream-slider-section {
  padding: 0 14px 14px 14px;
  position: relative;
  overflow: hidden;
}

.hb88-slider-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid transparent !important;
  background: 
    linear-gradient(#141411, #141411) padding-box,
    linear-gradient(to bottom left, #99999F 0%, #FFD764 50%, #99999F 100%) border-box !important;
  box-shadow: 0 0 20px rgba(255, 215, 100, 0.15), 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

.hb88-slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.hb88-slider-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
}

.hb88-slider-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 14px;
  gap: 12px;
  cursor: pointer;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.2s ease;
}

.hb88-slider-card:hover {
  background: #1a1a15;
}

.hb88-slide-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hb88-slide-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.hb88-slide-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
  flex-wrap: wrap;
}

.hb88-slide-badge-green {
  background: #173815;
  color: #4ade80;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2.5px 7px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.hb88-slide-badge-dark {
  background: #252528;
  color: #a1a1aa;
  font-size: 10.5px;
  font-weight: 500;
  padding: 2.5px 7px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.hb88-slide-desc {
  font-size: 11.5px;
  color: #92929c;
  line-height: 1.45;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hb88-slide-cta {
  align-self: flex-start;
  background: #fed836;
  color: #121214;
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  border: none;
  box-shadow: 0 3px 10px rgba(254, 216, 54, 0.35);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.hb88-slide-cta:hover,
.hb88-slide-cta:active {
  background: #ffe266;
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(254, 216, 54, 0.5);
}

.hb88-slide-right {
  width: 105px;
  min-width: 105px;
  max-width: 110px;
  display: flex;
}

.hb88-slide-poster {
  width: 100%;
  aspect-ratio: 3 / 4;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.hb88-slide-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.hb88-slider-card:hover .hb88-slide-poster img {
  transform: scale(1.05);
}

.hb88-poster-badge-red {
  position: absolute;
  top: 0;
  left: 0;
  background: #e53935;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-bottom-right-radius: 6px;
  z-index: 2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hb88-poster-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  padding: 16px 6px 5px 6px;
  font-size: 10px;
  color: #ffffff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
  white-space: nowrap;
}

/* Dots indicator */
.hb88-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 6px 0;
}

.hb88-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3e3e46;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.hb88-slider-dot.active {
  width: 20px;
  height: 6px;
  border-radius: 3px;
  background: #fed836;
  box-shadow: 0 0 8px rgba(254, 216, 54, 0.5);
}

/* ==========================================================================
   Country Filter Tabs (.hb88-countries & .country-tabs-scroll)
   Single scrollable horizontal row on mobile & desktop - NO WRAPPING!
   ========================================================================== */
.hb88-countries,
.country-tabs-scroll {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 8px 10px 12px 10px !important;
  margin: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  scroll-behavior: smooth !important;
  cursor: grab !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  box-sizing: border-box !important;
  touch-action: pan-x pan-y !important;
  overscroll-behavior-x: contain !important;
}

.hb88-countries::-webkit-scrollbar,
.country-tabs-scroll::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.hb88-countries:active,
.country-tabs-scroll:active {
  cursor: grabbing !important;
}

.hb88-country-btn,
.country-tab-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 6px 10px !important;
  border-radius: 9999px !important;
  background: #18181c !important;
  border: 1px solid #272730 !important;
  color: #d1d1dc !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  flex: 0 0 auto !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  -webkit-tap-highlight-color: transparent !important;
  touch-action: manipulation !important;
  transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1) !important;
  box-sizing: border-box !important;
  outline: none !important;
}

.hb88-country-btn:active,
.country-tab-btn:active {
  transform: scale(0.96) !important;
}

.hb88-country-btn.active,
.country-tab-btn.active {
  background: #18181c !important;
  color: #ffd764 !important;
  border: 1.5px solid #ffd764 !important;
  box-shadow: 0 0 12px rgba(229, 176, 38, 0.35) !important;
  font-weight: 700 !important;
}

.hb88-country-btn.active .hb88-country-name,
.country-tab-btn.active span {
  color: #ffd764 !important;
  font-weight: 700 !important;
}

.hb88-country-btn .hb88-flag-svg,
.country-tab-btn .flag-svg {
  width: 18px !important;
  height: 12px !important;
  border-radius: 2px !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5) !important;
  overflow: hidden !important;
  vertical-align: middle !important;
}

/* ==========================================================================
   2-Column Arena Grid (Short-Drama / Video App Card Layout)
   ========================================================================== */
.hb88-arena-2col-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  padding: 10px 16px 18px 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.hb88-quick-arenas {
  padding-bottom: 18px !important;
}

/* ==========================================================================
   COCKFIGHT SEO CONTENT SECTION (Exact Figma Match: Gold Border & FAQ)
   ========================================================================== */
.hb88-seo-section {
  width: 100% !important;
  padding: 2px 16px 128px 16px !important;
  box-sizing: border-box !important;
}

.hb88-gutenberg-block-editor-wrap .hb88-seo-section,
.hb88-seo-section--standalone {
  padding: 6px 16px 24px 16px !important;
}

.hb88-seo-card {
  background: #141417 !important;
  border: 1.5px solid #ffd700 !important;
  border-radius: 16px !important;
  padding: 18px 16px !important;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.14), 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  box-sizing: border-box !important;
}

.hb88-seo-pill {
  display: inline-block !important;
  background: #ffd700 !important;
  color: #111114 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  padding: 4px 11px !important;
  border-radius: 9999px !important;
  line-height: 1.2 !important;
  margin-bottom: 10px !important;
}

h1.hb88-seo-title,
.hb88-seo-title,
.editor-styles-wrapper h1.hb88-seo-title {
  color: #ffd700 !important;
  font-size: 18.5px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin: 0 0 10px 0 !important;
  letter-spacing: -0.2px !important;
}

.hb88-seo-desc {
  color: #d1d5db !important;
  font-size: 12.8px !important;
  line-height: 1.55 !important;
  margin: 0 0 14px 0 !important;
}

h2.hb88-seo-subtitle,
.hb88-seo-subtitle,
.editor-styles-wrapper h2.hb88-seo-subtitle {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin: 14px 0 8px 0 !important;
}

.hb88-seo-subtitle::before {
  content: "" !important;
  display: inline-block !important;
  width: 4px !important;
  height: 16px !important;
  background: #ffd700 !important;
  border-radius: 2px !important;
  flex-shrink: 0 !important;
}

.hb88-seo-text {
  color: #c9cbd4 !important;
  font-size: 12.6px !important;
  line-height: 1.55 !important;
  margin: 0 0 8px 0 !important;
}

.hb88-seo-text strong {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.hb88-seo-faq-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
  margin-top: 8px !important;
}

.hb88-seo-faq-item {
  margin: 0 !important;
  padding: 0 !important;
}

.hb88-seo-faq-q {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  cursor: pointer !important;
  list-style: none !important;
  color: #e5e7eb !important;
  font-size: 12.8px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  user-select: none !important;
}

.hb88-seo-faq-q::-webkit-details-marker {
  display: none !important;
}

.hb88-seo-faq-icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  border-radius: 50% !important;
  background: #ffd700 !important;
  color: #111114 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.hb88-seo-faq-a {
  margin: 6px 0 2px 29px !important;
  color: #a1a1aa !important;
  font-size: 12.2px !important;
  line-height: 1.5 !important;
}

.hb88-card-2col {
  display: flex !important;
  flex-direction: column !important;
  cursor: pointer !important;
  background: transparent !important;
  border-radius: 12px !important;
  overflow: visible !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.hb88-card-2col:active,
.hb88-card-2col:hover {
  transform: translateY(-2px);
}

.hb88-card-2col .hb88-poster-wrap {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #191920 !important;
  border: 2.5px solid transparent !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

/* Yellow Border & Glow on HOVER & ACTIVE/PLAYING */
.hb88-card-2col:hover .hb88-poster-wrap {
  border-color: #ffd700 !important;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.45) !important;
}

/* Explicit Active / Selected / Playing State on Rooster Arena Cards */
.hb88-card-2col.active,
.hb88-card-2col.playing,
.hb88-quick-card.active,
.hb88-arena-item.active {
  transform: translateY(-2px) !important;
}

.hb88-card-2col.active .hb88-poster-wrap,
.hb88-card-2col.playing .hb88-poster-wrap,
.hb88-quick-card.active .hb88-poster-wrap,
.hb88-arena-item.active .hb88-poster-wrap {
  border: 2.5px solid #ffd700 !important;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.65), inset 0 0 10px rgba(255, 215, 0, 0.25) !important;
}

.hb88-card-2col.active .hb88-poster-wrap img,
.hb88-card-2col.playing .hb88-poster-wrap img {
  transform: scale(1.02) !important;
}

.hb88-card-2col.active .hb88-badge-unlock,
.hb88-card-2col.playing .hb88-badge-unlock,
.hb88-quick-card.active .hb88-badge-unlock,
.hb88-arena-item.active .hb88-badge-unlock {
  background: #e53935 !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(229, 57, 53, 0.8) !important;
  font-weight: 800 !important;
}

.hb88-card-2col.active .hb88-poster-ep,
.hb88-card-2col.playing .hb88-poster-ep,
.hb88-quick-card.active .hb88-poster-ep,
.hb88-arena-item.active .hb88-poster-ep {
  background: linear-gradient(135deg, #ffd700 0%, #f5a623 100%) !important;
  color: #111114 !important;
  font-weight: 800 !important;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6) !important;
}

.hb88-card-2col.active .hb88-card-title,
.hb88-card-2col.playing .hb88-card-title,
.hb88-quick-card.active .hb88-card-title,
.hb88-arena-item.active .hb88-card-title {
  color: #ffd700 !important;
  font-weight: 800 !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4) !important;
}

.hb88-card-2col .hb88-poster-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

.hb88-card-2col:hover .hb88-poster-wrap img {
  transform: scale(1.03);
}

/* Yellow Badge Top-Left (Exact like Reference Image) */
.hb88-badge-unlock {
  position: absolute !important;
  top: 7px !important;
  left: 7px !important;
  background: #ffd700 !important;
  color: #111114 !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  padding: 2.5px 7px !important;
  border-radius: 4px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4) !important;
  z-index: 2 !important;
}

/* Bottom Overlay Bar with Gradient */
.hb88-poster-bottom-bar {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 52% !important;
  background: linear-gradient(to top, rgba(10, 10, 14, 0.95) 0%, rgba(10, 10, 14, 0.6) 50%, transparent 100%) !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  padding: 6px 8px !important;
  box-sizing: border-box !important;
  z-index: 2 !important;
}

.hb88-poster-views {
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-size: 10.5px !important;
  color: #f0f0f5 !important;
  font-weight: 600 !important;
}

.hb88-poster-views svg {
  fill: #ffd700 !important;
  flex-shrink: 0 !important;
}

.hb88-poster-ep {
  font-size: 10px !important;
  color: #ffd764 !important;
  font-weight: 700 !important;
  background: rgba(0, 0, 0, 0.65) !important;
  padding: 1.5px 5px !important;
  border-radius: 3px !important;
}

/* Title & Tags Below Poster */
.hb88-card-content {
  padding: 6px 2px 2px 2px !important;
  text-align: left !important;
}

.hb88-card-title {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.hb88-card-2col:hover .hb88-card-title,
.hb88-card-2col.active .hb88-card-title {
  color: #ffd700 !important;
}

.hb88-card-tags {
  display: flex !important;
  gap: 4px !important;
  margin-top: 5px !important;
  flex-wrap: wrap !important;
}

.hb88-pill-tag {
  background: #1e1e24 !important;
  color: #92929e !important;
  font-size: 10.5px !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  font-weight: 500 !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  line-height: 1.2 !important;
}

/* ==========================================================================
   Dedicated In-Page Live Stream Preview Player (Under Header, NOT a popup)
   Header always stays visible at the top!
   ========================================================================== */
.hb88-inpage-player-section {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  margin-bottom: 12px !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  transition: all 0.3s ease !important;
}

.hb88-inpage-player-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 10px 12px !important;
  background: #111115 !important;
  border-top-left-radius: 14px !important;
  border-top-right-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: none !important;
  box-sizing: border-box !important;
}

.hb88-inpage-player-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.hb88-inpage-player-badge {
  background: #e53935 !important;
  color: #ffffff !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  padding: 4px 8px !important;
  border-radius: 5px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  flex-shrink: 0 !important;
  letter-spacing: 0.4px !important;
}

.hb88-inpage-player-badge svg {
  display: inline-block !important;
  flex-shrink: 0 !important;
}

.hb88-inpage-player-title {
  font-size: 15.5px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.hb88-inpage-player-close-btn {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #a1a1aa !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  padding: 6px 11px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.hb88-inpage-player-close-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

.hb88-inpage-screen {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  background: #000000 !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7) !important;
  box-sizing: border-box !important;
}

.hb88-inpage-player-header + .hb88-inpage-screen {
  border-radius: 0 0 14px 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: none !important;
}

@media (max-width: 380px) {
  .hb88-inpage-player-header {
    padding: 8px 10px !important;
  }
  .hb88-inpage-player-title {
    font-size: 14px !important;
  }
  .hb88-inpage-player-close-btn {
    font-size: 11.5px !important;
    padding: 5px 9px !important;
  }
}

/* Fullscreen mode for In-Page Cockfighting Player & Football Player */
.hb88-inpage-screen:fullscreen,
.hb88-inpage-screen:-webkit-full-screen,
.hb88-inpage-screen:-moz-full-screen,
.hb88-inpage-screen:-ms-fullscreen,
.hb88-fb-player-screen:fullscreen,
.hb88-fb-player-screen:-webkit-full-screen,
.hb88-fb-player-screen:-moz-full-screen,
.hb88-fb-player-screen:-ms-fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  aspect-ratio: auto !important;
  background: #000000 !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hb88-inpage-screen:fullscreen > canvas#hb88InPageCanvas,
.hb88-inpage-screen:-webkit-full-screen > canvas#hb88InPageCanvas,
.hb88-inpage-screen:-moz-full-screen > canvas#hb88InPageCanvas,
.hb88-inpage-screen:-ms-fullscreen > canvas#hb88InPageCanvas,
.hb88-inpage-screen:fullscreen > img#hb88InPageScreenImg,
.hb88-inpage-screen:-webkit-full-screen > img#hb88InPageScreenImg,
.hb88-fb-player-screen:fullscreen video,
.hb88-fb-player-screen:-webkit-full-screen video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.hb88-inpage-screen:fullscreen .hb88-inpage-controls-bar,
.hb88-inpage-screen:-webkit-full-screen .hb88-inpage-controls-bar,
.hb88-fb-player-screen:fullscreen .hb88-inpage-controls-bar,
.hb88-fb-player-screen:-webkit-full-screen .hb88-inpage-controls-bar {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 2147483647 !important;
}

.hb88-inpage-screen > img#hb88InPageScreenImg,
.hb88-inpage-screen > canvas#hb88InPageCanvas,
.hb88-inpage-screen > .hb88-inpage-canvas,
.hb88-inpage-screen > img:not(.hb88-video-watermark):not([id*="Wm"]) {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: opacity 0.2s ease !important;
}

/* Top-Left Floating Promo Pill (Exact Figma Design: Gift Icon + Text + Close X) */
.hb88-player-promo-pill {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 15 !important;
  background: linear-gradient(135deg, #f7c336 0%, #ebb026 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 9999px !important;
  padding: 3px 14px 3px 4px !important;
  display: flex;
  align-items: center !important;
  gap: 7px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45) !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.hb88-player-promo-pill.is-hidden,
.hb88-player-promo-pill[style*="display: none"] {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.hb88-promo-icon-circle {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
}

.hb88-promo-pill-text {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  white-space: nowrap !important;
  letter-spacing: -0.2px !important;
}

.hb88-promo-pill-close {
  position: absolute !important;
  top: -4px !important;
  right: -6px !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: #111114 !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  z-index: 20 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5) !important;
  transition: transform 0.15s ease, background 0.15s ease !important;
}

.hb88-promo-pill-close:hover {
  transform: scale(1.15) !important;
  background: #222228 !important;
}

.hb88-promo-pill-close svg {
  width: 9px !important;
  height: 9px !important;
  stroke: #ffffff !important;
  stroke-width: 2.6 !important;
  display: block !important;
  pointer-events: none !important;
}

/* Right-Side Vertical Action Toolbar (Exact Figma Design: 5 Circular Buttons) */
.hb88-player-action-sidebar {
  position: absolute !important;
  right: 10px !important;
  bottom: 44px !important;
  top: auto !important;
  transform: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3px !important;
  z-index: 15 !important;
  pointer-events: auto !important;
}

.hb88-player-action-sidebar .hb88-action-btn {
  width: 29px !important;
  height: 29px !important;
  min-width: 29px !important;
  min-height: 29px !important;
  border-radius: 50% !important;
  background: rgba(18, 18, 22, 0.72) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  transition: transform 0.18s ease, background 0.18s ease !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45) !important;
}

.hb88-player-action-sidebar .hb88-action-btn:hover {
  transform: scale(1.1) !important;
  background: rgba(35, 35, 42, 0.85) !important;
}

.hb88-player-action-sidebar .hb88-act-icon {
  width: 14px !important;
  height: 14px !important;
  stroke: #ffffff !important;
  stroke-width: 2 !important;
  fill: none !important;
}

.hb88-player-action-sidebar .hb88-act-btn-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hb88-player-action-sidebar .hb88-act-count,
.hb88-player-action-sidebar .hb88-like-count,
.hb88-player-action-sidebar .hb88-comment-count {
  display: block !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-align: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95) !important;
  letter-spacing: 0.2px !important;
  pointer-events: none !important;
}

.hb88-player-action-sidebar .hb88-act-like.liked + .hb88-like-count,
.hb88-player-action-sidebar .hb88-like-btn.liked + .hb88-like-count {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Figma Yellow Full-Width Timeline Scrubber Bar */
.hb88-inpage-timeline {
  position: absolute !important;
  bottom: 34px !important;
  left: 10px !important;
  right: 10px !important;
  height: 3px !important;
  background: rgba(255, 255, 255, 0.28) !important;
  border-radius: 2px !important;
  cursor: pointer !important;
  z-index: 14 !important;
  display: block !important;
}

.hb88-inpage-progress {
  height: 100% !important;
  background: #ffd700 !important;
  border-radius: 2px !important;
  width: 35% !important;
  transition: width 0.1s linear !important;
}

/* Video Controls Bar (Exact Figma: Play/Pause, Mute, Timestamp, Red LIVE capsule, FIGHT, CAM, Gear, Fullscreen) */
.hb88-inpage-controls-bar {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.4) 65%, transparent 100%) !important;
  padding: 6px 10px 8px 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  z-index: 12 !important;
  pointer-events: auto !important;
}

.hb88-ctrl-group-left {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.hb88-ctrl-timestamp {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  font-variant-numeric: tabular-nums !important;
  margin-left: 2px !important;
}

.hb88-ctrl-group-center {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.hb88-ctrl-live-pill {
  background: #dc2626 !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  padding: 3px 8px !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.hb88-ctrl-fight-tag,
.hb88-ctrl-cam-tag {
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  letter-spacing: 0.3px !important;
  white-space: nowrap !important;
}

.hb88-ctrl-group-right {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.hb88-inpage-ctrl-btn {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.15s ease, opacity 0.15s ease !important;
}

.hb88-inpage-ctrl-btn:hover {
  opacity: 0.85 !important;
  transform: scale(1.1) !important;
}

.hb88-inpage-ctrl-btn svg {
  width: 15px !important;
  height: 15px !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
  pointer-events: none !important;
}

/* Play/Pause state handling */
.hb88-inpage-ctrl-btn .hb88-ctrl-icon-play {
  display: block !important;
}
.hb88-inpage-ctrl-btn .hb88-ctrl-icon-pause {
  display: none !important;
}
.hb88-inpage-ctrl-btn.is-playing .hb88-ctrl-icon-play,
.hb88-inpage-ctrl-btn[data-state="playing"] .hb88-ctrl-icon-play {
  display: none !important;
}
.hb88-inpage-ctrl-btn.is-playing .hb88-ctrl-icon-pause,
.hb88-inpage-ctrl-btn[data-state="playing"] .hb88-ctrl-icon-pause {
  display: block !important;
}

/* Sound/Mute state handling */
.hb88-inpage-ctrl-btn .hb88-ctrl-icon-sound {
  display: block !important;
}
.hb88-inpage-ctrl-btn .hb88-ctrl-icon-muted {
  display: none !important;
}
.hb88-inpage-ctrl-btn.is-muted .hb88-ctrl-icon-sound,
.hb88-inpage-ctrl-btn[data-state="muted"] .hb88-ctrl-icon-sound {
  display: none !important;
}
.hb88-inpage-ctrl-btn.is-muted .hb88-ctrl-icon-muted,
.hb88-inpage-ctrl-btn[data-state="muted"] .hb88-ctrl-icon-muted {
  display: block !important;
}

.hb88-fb-unmute-badge {
  display: none !important;
}

.hb88-inpage-meta-bar {
  display: none !important;
}

/* ==========================================================================
   HB88 REELS & TIKTOK SHORTS VERTICAL FEED
   ========================================================================== */
.hb88-reels-page-wrapper {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  background: #0a0a0c !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.hb88-reels-page-container {
  width: 100% !important;
  max-width: 440px !important;
  background: #0a0a0c !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  margin: 0 auto !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.hb88-reels-feed-container {
  position: relative !important;
  width: 100% !important;
  max-width: 440px !important;
  height: var(--hb88-reels-height, var(--hb88-reels-calculated-height, calc(100dvh - 208px))) !important;
  max-height: var(--hb88-reels-height, var(--hb88-reels-calculated-height, calc(100dvh - 208px))) !important;
  min-height: 320px !important;
  margin: 0 auto !important;
  background: #0a0a0c !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85) !important;
  border: none !important;
  box-sizing: border-box !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* Top Navigation Bar */
.hb88-reels-top-nav {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 50 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 14px !important;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.88) 0%, rgba(10, 10, 12, 0.35) 60%, transparent 100%) !important;
  pointer-events: auto !important;
}

.hb88-reels-live-badge {
  background: #db0000 !important;
  border: 3.5px solid rgba(255, 255, 255, 0.14) !important;
  background-clip: padding-box !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  padding: 6px 13px 6px 10px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.hb88-pulse-dot {
  width: 6px !important;
  height: 6px !important;
  margin-left: 2px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(255, 45, 110, 0.45) !important;
  animation: hb88Pulse 1.6s infinite !important;
  flex-shrink: 0 !important;
}

.hb88-reels-tabs {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
}

.hb88-reels-tab {
  background: transparent !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.94) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  padding: 5px 0 !important;
  position: relative !important;
  white-space: nowrap !important;
  transition: color 0.2s, transform 0.15s !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85) !important;
}

.hb88-reels-tab:hover {
  color: #ffffff !important;
}

.hb88-reels-tab.active {
  color: #ffd764 !important;
  font-weight: 700 !important;
}

.hb88-reels-tab.active::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  transform: none !important;
  width: 100% !important;
  height: 1.5px !important;
  background: #ffd764 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
}

@media (max-width: 380px) {
  .hb88-reels-top-nav {
    padding: 10px 8px !important;
  }
  .hb88-reels-live-badge {
    font-size: 10px !important;
    padding: 5px 10px 5px 8px !important;
    gap: 6px !important;
  }
  .hb88-reels-tabs {
    gap: 12px !important;
  }
  .hb88-reels-tab {
    font-size: 13px !important;
  }
}

.hb88-reels-top-action .hb88-reels-global-mute-btn {
  background: rgba(18, 18, 24, 0.72) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 50% !important;
  width: 38px !important;
  height: 38px !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
  padding: 0 !important;
}

.hb88-reels-top-action .hb88-reels-global-mute-btn:hover {
  background: rgba(30, 30, 42, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  transform: scale(1.08) !important;
}

.hb88-reels-top-action .hb88-reels-global-mute-btn:active {
  transform: scale(0.92) !important;
}

.hb88-reels-top-action .hb88-reels-global-mute-btn.unmuted {
  border-color: #ffd700 !important;
  color: #ffd700 !important;
  background: rgba(255, 215, 0, 0.2) !important;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.5) !important;
}

.hb88-mute-icon,
.hb88-action-sound-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  position: relative !important;
}

/* Default Muted State: Only show muted SVG, Hide sound waves SVG */
.hb88-mute-icon .hb88-svg-muted,
.hb88-action-sound-icon .hb88-svg-muted {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
}

.hb88-mute-icon .hb88-svg-sound,
.hb88-action-sound-icon .hb88-svg-sound {
  display: none !important;
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
}

/* Active Unmuted State: Hide muted SVG, Show sound waves SVG */
.hb88-reels-global-mute-btn.unmuted .hb88-mute-icon .hb88-svg-muted,
.hb88-reel-mute-toggle.unmuted .hb88-action-sound-icon .hb88-svg-muted {
  display: none !important;
}

.hb88-reels-global-mute-btn.unmuted .hb88-mute-icon .hb88-svg-sound,
.hb88-reel-mute-toggle.unmuted .hb88-action-sound-icon .hb88-svg-sound {
  display: block !important;
}

/* Desktop Navigation Controls (Up / Down) */
.hb88-reels-desktop-nav {
  position: absolute !important;
  right: -58px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  z-index: 50 !important;
}

@media (max-width: 600px) {
  .hb88-reels-desktop-nav {
    display: none !important;
  }
}

.hb88-reels-nav-btn {
  background: #181820 !important;
  border: 1px solid #2e2e38 !important;
  color: #ffd700 !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6) !important;
}

.hb88-reels-nav-btn:hover {
  background: #ffd700 !important;
  color: #000 !important;
  transform: scale(1.1) !important;
}

/* Slider Track */
.hb88-reels-slider-track {
  width: 100% !important;
  height: 100% !important;
  overflow-y: scroll !important;
  scroll-snap-type: y mandatory !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.hb88-reels-slider-track::-webkit-scrollbar {
  display: none !important;
}

/* Each Reel Card */
.hb88-reel-item {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  scroll-snap-align: start !important;
  scroll-snap-stop: always !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #111114 !important;
  overflow: hidden !important;
}

/* Video Wrapper */
.hb88-reel-video-wrap {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  cursor: pointer !important;
  overflow: hidden !important;
  background: #0a0a0c !important;
}

.hb88-reel-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  background: #000 !important;
}

.hb88-reel-yt-holder,
.hb88-reel-tiktok-holder {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #000 !important;
  pointer-events: none !important;
}

.hb88-reel-yt-iframe {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100% !important;
  height: 178% !important;
  min-width: 100% !important;
  border: none !important;
  pointer-events: none !important;
}

.hb88-reel-tiktok-iframe {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100% !important;
  height: 178% !important;
  min-width: 100% !important;
  border: none !important;
  pointer-events: none !important;
}

/* Play/Pause Pulse Flash */
.hb88-reel-play-indicator {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(0.6) !important;
  width: 68px !important;
  height: 68px !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  border: 2px solid rgba(255, 215, 0, 0.7) !important;
  color: #ffd700 !important;
  font-size: 26px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.2s, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  z-index: 20 !important;
}

.hb88-reel-play-indicator.flash {
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1) !important;
}

/* Double-tap Heart Burst */
.hb88-reel-heart-burst-container {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 25 !important;
  overflow: hidden !important;
}

.hb88-heart-pop {
  position: absolute !important;
  width: 70px !important;
  height: 70px !important;
  pointer-events: none !important;
  transform: translate(-50%, -50%) !important;
  animation: hb88HeartPop 0.85s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

@keyframes hb88HeartPop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3) rotate(-10deg);
  }
  35% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.25) rotate(12deg);
  }
  70% {
    opacity: 0.9;
    transform: translate(-50%, -85px) scale(1) rotate(-8deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -130px) scale(0.7) rotate(15deg);
  }
}

/* On Shorts / Reels Page: Hide app banner and gift box, but keep Customer Support button visible and properly positioned */
body.page-id-53 .hb88-bottom-app-banner,
body.page-slug-short .hb88-bottom-app-banner,
body:has(.hb88-reels-feed-container) .hb88-bottom-app-banner,
.hb88-reels-page-wrapper ~ .hb88-bottom-app-banner,
body.page-id-53 .hb88-floating-actions-container .hb88-float-badge,
body.page-slug-short .hb88-floating-actions-container .hb88-float-badge,
body:has(.hb88-reels-feed-container) .hb88-floating-actions-container .hb88-float-badge,
.hb88-reels-page-wrapper ~ .hb88-floating-actions-container .hb88-float-badge {
  display: none !important;
}

body.page-id-53 .hb88-floating-actions-container,
body.page-slug-short .hb88-floating-actions-container,
body:has(.hb88-reels-feed-container) .hb88-floating-actions-container,
.hb88-reels-page-wrapper ~ .hb88-floating-actions-container,
body.page-id-53 .hb88-floating-support-container,
body.page-slug-short .hb88-floating-support-container,
body:has(.hb88-reels-feed-container) .hb88-floating-support-container,
.hb88-reels-page-wrapper ~ .hb88-floating-support-container {
  display: block !important;
}

body.page-id-53 .hb88-floating-actions-container .hb88-float-service,
body.page-slug-short .hb88-floating-actions-container .hb88-float-service,
body:has(.hb88-reels-feed-container) .hb88-floating-actions-container .hb88-float-service,
.hb88-reels-page-wrapper ~ .hb88-floating-actions-container .hb88-float-service,
body.page-id-53 .hb88-floating-support-container .hb88-float-service,
body.page-slug-short .hb88-floating-support-container .hb88-float-service,
body:has(.hb88-reels-feed-container) .hb88-floating-support-container .hb88-float-service,
.hb88-reels-page-wrapper ~ .hb88-floating-support-container .hb88-float-service {
  display: flex !important;
  bottom: 68px !important;
  right: 7px !important;
  z-index: 9998 !important;
}

body.page-id-53:has(#hb88ModalSupportMenu.show, #hb88ModalReportIssue.show) .hb88-floating-support-container .hb88-float-service,
body.page-slug-short:has(#hb88ModalSupportMenu.show, #hb88ModalReportIssue.show) .hb88-floating-support-container .hb88-float-service,
body:has(.hb88-reels-feed-container):has(#hb88ModalSupportMenu.show, #hb88ModalReportIssue.show) .hb88-floating-support-container .hb88-float-service {
  bottom: 52px !important;
  right: 6px !important;
  z-index: 2147483000 !important;
}

/* Right Action Sidebar (Exact Figma Match: Same as Cockfight Live Player) */
.hb88-reel-actions {
  position: absolute !important;
  right: 12px !important;
  bottom: 72px !important;
  z-index: 30 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 11px !important;
  pointer-events: auto !important;
}

.hb88-action-avatar-wrap {
  position: relative !important;
  width: 38px !important;
  height: 38px !important;
  margin-bottom: 2px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hb88-action-avatar {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6) !important;
}

.hb88-action-follow-btn {
  position: absolute !important;
  bottom: -4px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  border-radius: 50% !important;
  background: #ef4444 !important; /* Exact Red Circle Badge in Figma */
  border: 2px solid #111114 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  line-height: 1 !important;
  padding: 0 !important;
  transition: transform 0.18s ease, background 0.18s ease !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5) !important;
  z-index: 2 !important;
}

.hb88-action-follow-btn:hover {
  transform: translateX(-50%) scale(1.15) !important;
  background: #dc2626 !important;
}

.hb88-action-follow-btn.followed {
  background: #22c55e !important;
  color: #fff !important;
  transform: translateX(-50%) scale(0.9) !important;
}

.hb88-reel-actions .hb88-action-btn-wrap,
.hb88-player-action-sidebar .hb88-act-btn-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  width: auto !important;
}

.hb88-reel-actions .hb88-action-btn {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 50% !important;
  background: rgba(18, 18, 22, 0.65) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35) !important;
}

.hb88-reel-actions .hb88-action-btn:hover {
  transform: scale(1.1) !important;
  background: rgba(35, 35, 42, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.hb88-reel-actions .hb88-action-btn:active {
  transform: scale(0.94) !important;
}

.hb88-reel-actions .hb88-act-icon,
.hb88-reel-actions .hb88-action-icon {
  width: 17px !important;
  height: 17px !important;
  stroke: #ffffff !important;
  stroke-width: 2 !important;
  fill: none !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  transition: stroke 0.2s, fill 0.2s, transform 0.2s !important;
}

/* Liked state (Heart filled white, border and background remain same as unliked) */
.hb88-reel-actions .hb88-action-btn.liked .hb88-act-icon,
.hb88-reel-actions .hb88-action-btn.liked .hb88-action-icon,
.hb88-reel-actions .hb88-like-btn.liked svg,
.hb88-reel-actions .hb88-action-btn.liked svg {
  fill: #ffffff !important;
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.hb88-reel-actions .hb88-action-btn.liked {
  border-color: rgba(255, 255, 255, 0.15) !important;
  background: rgba(18, 18, 22, 0.65) !important;
  animation: hb88LikePop 0.35s ease !important;
}

/* Bookmarked state (Bookmark turns gold) */
.hb88-reel-actions .hb88-action-btn.bookmarked .hb88-act-icon,
.hb88-reel-actions .hb88-action-btn.bookmarked svg {
  fill: #ffd700 !important;
  stroke: #ffd700 !important;
  color: #ffd700 !important;
}

.hb88-reel-actions .hb88-action-btn.bookmarked {
  border-color: rgba(255, 215, 0, 0.45) !important;
  background: rgba(255, 215, 0, 0.18) !important;
}

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

/* Action counters styling (Like & Comment) */
.hb88-reel-actions .hb88-like-count,
.hb88-reel-actions .hb88-comment-count {
  display: block !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-align: center !important;
  line-height: 1.1 !important;
  margin-top: 1px !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
  letter-spacing: 0.2px !important;
  pointer-events: none !important;
  user-select: none !important;
}

.hb88-reel-actions .hb88-action-btn.liked + .hb88-like-count,
.hb88-reel-actions .hb88-like-btn.liked + .hb88-like-count {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Hide unused spinning vinyl disc and mute toggle in sidebar to match Figma */
.hb88-reel-actions .hb88-reel-mute-toggle,
.hb88-reel-actions .hb88-spinning-disc-wrap {
  display: none !important;
}

@keyframes hb88SpinDisc {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hb88-disc-thumb {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

.hb88-music-note {
  position: absolute !important;
  font-size: 13px !important;
  color: #ffd700 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.hb88-music-note.n1 {
  animation: hb88FloatNote 2.4s ease-in-out infinite !important;
}

.hb88-music-note.n2 {
  animation: hb88FloatNote 2.4s 1.2s ease-in-out infinite !important;
}

@keyframes hb88FloatNote {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.6);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-45px) translateX(18px) scale(1.1);
  }
}

/* Bottom Reel Information Overlay */
.hb88-reel-info {
  position: absolute !important;
  left: 14px !important;
  bottom: 18px !important;
  right: 65px !important;
  z-index: 25 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  color: #fff !important;
  pointer-events: auto !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
}

.hb88-reel-author {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.hb88-author-name {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #fff !important;
}

.hb88-verified-badge {
  background: #ffd700 !important;
  color: #000 !important;
  border-radius: 50% !important;
  width: 15px !important;
  height: 15px !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.hb88-reel-title {
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: #f3f3f8 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.hb88-reel-music {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  font-size: 13px !important;
  line-height: 20px !important;
  color: #FFD764 !important;
}

.hb88-music-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #f41b35 !important;
  flex-shrink: 0 !important;
}

.hb88-music-marquee {
  flex: 1 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  color: #FFD764 !important;
}

.hb88-music-marquee span {
  display: inline-block !important;
  color: #FFD764 !important;
  font-size: 13px !important;
  animation: hb88Marquee 10s linear infinite !important;
}

@keyframes hb88Marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CTA Button */
.hb88-reel-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: fit-content !important;
  padding: 7px 15px !important;
  border-radius: 9999px !important;
  background: #f5c518 !important;
  background: linear-gradient(135deg, #ffd700 0%, #e5b026 100%) !important;
  color: #000000 !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35) !important;
  text-shadow: none !important;
  filter: none !important;
  animation: none !important;
  transition: opacity 0.15s ease !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.hb88-reel-cta-btn,
.hb88-reel-cta-btn *,
.hb88-reel-cta-btn span,
.hb88-reel-cta-btn svg {
  text-shadow: none !important;
  filter: none !important;
  animation: none !important;
  color: #000000 !important;
  fill: #000000 !important;
}

.hb88-reel-cta-btn:hover,
.hb88-reel-cta-btn:focus,
.hb88-reel-cta-btn:active {
  color: #000000 !important;
  text-shadow: none !important;
  animation: none !important;
  transform: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

/* Progress Bar */
.hb88-reel-progress-wrap {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  z-index: 35 !important;
}

.hb88-reel-progress-bar {
  height: 100% !important;
  width: 0% !important;
  background: #ffd700 !important;
  transition: width 0.1s linear !important;
}

/* Toast Message */
.hb88-reels-toast {
  position: absolute !important;
  top: 75px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(-20px) !important;
  background: rgba(20, 20, 26, 0.92) !important;
  border: 1px solid #ffd700 !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 9999px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(10px) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.25s, transform 0.25s !important;
  z-index: 100 !important;
}

.hb88-reels-toast.show {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
}

/* Mobile full width override */
@media (max-width: 480px) {
  .hb88-reels-feed-container {
    max-width: 100% !important;
    border-radius: 0 !important;
    margin: 0 !important;
    border: none !important;
    height: 100vh !important;
  }
}

/* ==========================================================================
   HB88 Football Live Stream Component (.hb88-football-wrapper & .hb88-fb-card)
   Adheres strictly to Đá Gà dark/gold design standard, 440px container, and SVG icons
   ========================================================================== */
.hb88-football-wrapper {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  background: #0a0a0c !important;
  padding: 0 !important;
  min-height: 100vh !important;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: #ffffff !important;
  box-sizing: border-box !important;
}

.hb88-football-container {
  width: 100% !important;
  max-width: 440px !important;
  background: #111114 !important;
  border-radius: 0 !important;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8) !important;
  padding-bottom: 42px !important;
  box-sizing: border-box !important;
  position: relative !important;
}

/* In-Page Football Player Section */
.hb88-fb-player-section {
  margin: 0 12px 14px 12px !important;
  background: #18181c !important;
  border: 1px solid #272730 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6) !important;
}

.hb88-fb-player-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 9px 12px !important;
  background: #1a1a20 !important;
  border-bottom: 1px solid #272730 !important;
  gap: 8px !important;
}

.hb88-fb-player-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.hb88-fb-player-title {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.hb88-fb-player-reload-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #d1d1dc !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  transition: all 0.15s ease !important;
  flex-shrink: 0 !important;
}

.hb88-fb-player-reload-btn:hover {
  background: rgba(255, 215, 100, 0.2) !important;
  color: #ffd764 !important;
  border-color: #ffd764 !important;
}

.hb88-fb-player-screen {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  background: #000000 !important;
  overflow: hidden !important;
}

.hb88-fb-player-screen video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  background: #000000 !important;
}

/* Match Cards List */
.hb88-fb-card {
  background: #18181c !important;
  border: 1px solid #272730 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  margin: 0 12px 10px 12px !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1) !important;
  display: block !important;
  position: relative !important;
  text-decoration: none !important;
  color: #ffffff !important;
  box-sizing: border-box !important;
}

.hb88-fb-card:hover {
  border-color: rgba(255, 215, 100, 0.5) !important;
  background: #1c1c22 !important;
  transform: translateY(-1px) !important;
}

.hb88-fb-card.active {
  border: 1.5px solid #ffd764 !important;
  box-shadow: 0 0 16px rgba(255, 215, 100, 0.25) !important;
  background: #1d1d24 !important;
}

.hb88-fb-card-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 10px !important;
  font-size: 11px !important;
  gap: 8px !important;
}

.hb88-fb-tour-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #d1d1dc !important;
  font-weight: 600 !important;
  max-width: 65% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.hb88-fb-tour-icon {
  width: 16px !important;
  height: 16px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
}

.hb88-fb-badge-live {
  background: #e53935 !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  letter-spacing: 0.3px !important;
  flex-shrink: 0 !important;
}

.hb88-fb-badge-sched {
  background: #23232a !important;
  color: #ffd764 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  border: 1px solid #333340 !important;
  flex-shrink: 0 !important;
}

/* Matchup row */
.hb88-fb-matchup {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-bottom: 10px !important;
}

.hb88-fb-team {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.hb88-fb-team-home {
  justify-content: flex-start !important;
  text-align: left !important;
}

.hb88-fb-team-away {
  justify-content: flex-end !important;
  text-align: right !important;
}

.hb88-fb-team-logo {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 50% !important;
  background: #222228 !important;
  border: 1px solid #353540 !important;
  object-fit: contain !important;
  padding: 2px !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.hb88-fb-team-name {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.hb88-fb-center-score {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 68px !important;
  padding: 0 4px !important;
  flex-shrink: 0 !important;
}

.hb88-fb-score-pill {
  background: #23232a !important;
  border: 1px solid #383845 !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #ffd764 !important;
  letter-spacing: 1px !important;
  white-space: nowrap !important;
}

.hb88-fb-score-sub {
  font-size: 10px !important;
  color: #e53935 !important;
  font-weight: 700 !important;
  margin-top: 2px !important;
}

.hb88-fb-vs-pill {
  background: #23232a !important;
  border: 1px solid #383845 !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #9595a2 !important;
  white-space: nowrap !important;
}

.hb88-fb-vs-sub {
  font-size: 10px !important;
  color: #ffd764 !important;
  font-weight: 600 !important;
  margin-top: 2px !important;
}

/* Card bottom row */
.hb88-fb-card-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 8px !important;
  border-top: 1px solid #23232a !important;
  font-size: 11px !important;
}

.hb88-fb-blv-box {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #a0a0b0 !important;
  font-weight: 500 !important;
  min-width: 0 !important;
}

.hb88-fb-blv-avatar {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1px solid #ffd764 !important;
  flex-shrink: 0 !important;
}

.hb88-fb-blv-name {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.hb88-fb-cta-btn {
  background: linear-gradient(135deg, #ffd764 0%, #e5a93b 100%) !important;
  color: #0a0a0c !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  flex-shrink: 0 !important;
  transition: filter 0.15s ease, transform 0.15s ease !important;
}

.hb88-fb-card:hover .hb88-fb-cta-btn {
  filter: brightness(1.1) !important;
}

/* Standby Overlay for Football Player */
.hb88-fb-standby-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: radial-gradient(circle at 50% 40%, #1c1c24 0%, #0a0a0d 100%) !important;
  display: flex;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 14px !important;
  z-index: 12 !important;
  box-sizing: border-box !important;
  transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

.hb88-fb-standby-overlay.is-hidden {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Big Center Play Button Overlay for Live Video */
.hb88-fb-big-play-btn {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 6 !important;
  cursor: pointer !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.hb88-fb-big-play-btn.is-visible {
  display: flex !important;
}

.hb88-fb-big-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08) !important;
}

.hb88-fb-big-play-circle {
  width: 58px !important;
  height: 58px !important;
  background: linear-gradient(135deg, #ffd764, #f5a623) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 0 6px rgba(255, 215, 100, 0.25), 0 8px 24px rgba(0, 0, 0, 0.6) !important;
  padding-left: 4px !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

/* Floating Unmute Badge */
.hb88-fb-unmute-badge {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 7 !important;
  background: rgba(255, 215, 100, 0.95) !important;
  color: #111114 !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 5px 12px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  display: none !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.2s ease !important;
}

.hb88-fb-unmute-badge.is-visible {
  display: inline-flex !important;
}

.hb88-fb-unmute-badge:hover {
  background: #ffffff !important;
  transform: scale(1.04) !important;
}

/* Failsafe: Never show big play button or unmute badge when standby overlay is visible */
.hb88-fb-player-screen:has(#hb88FbStandbyOverlay:not(.is-hidden)) #hb88FbBigPlayBtn,
.hb88-fb-player-screen:has(#hb88FbStandbyOverlay:not(.is-hidden)) #hb88FbUnmuteBadge {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.hb88-fb-standby-tour {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  color: #ffd764 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 6px !important;
  background: rgba(255, 215, 100, 0.1) !important;
  border: 1px solid rgba(255, 215, 100, 0.25) !important;
  padding: 2px 10px !important;
  border-radius: 12px !important;
  line-height: 1.2 !important;
}

.hb88-fb-standby-teams {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 360px !important;
  margin-bottom: 6px !important;
}

.hb88-fb-standby-team {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 4px !important;
  min-width: 0 !important;
}

.hb88-fb-standby-logo {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)) !important;
}

.hb88-fb-standby-name {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}

.hb88-fb-standby-mid {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3px !important;
  flex-shrink: 0 !important;
}

.hb88-fb-standby-vs {
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #ffd764 !important;
  letter-spacing: 1px !important;
  line-height: 1 !important;
}

.hb88-fb-standby-time-badge {
  background: #252530 !important;
  border: 1px solid #3d3d4e !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
  white-space: nowrap !important;
}

.hb88-fb-standby-notice {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 5px 10px !important;
  border-radius: 20px !important;
  font-size: 10.5px !important;
  color: #c0c0d0 !important;
  text-align: center !important;
}

/* Live Kickoff Countdown Timer */
.hb88-fb-countdown-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  margin-top: 4px !important;
  margin-bottom: 0 !important;
}

.hb88-fb-cd-title {
  font-size: 9.5px !important;
  font-weight: 700 !important;
  color: #ffd764 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  opacity: 0.95 !important;
  line-height: 1 !important;
}

.hb88-fb-cd-digits {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
}

.hb88-fb-cd-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px !important;
  padding: 3px 5px !important;
  background: linear-gradient(180deg, #252532 0%, #16161f 100%) !important;
  border: 1px solid rgba(255, 215, 100, 0.35) !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

.hb88-fb-cd-val {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #ffd764 !important;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums !important;
  text-shadow: 0 0 8px rgba(255, 215, 100, 0.25) !important;
}

.hb88-fb-cd-lbl {
  font-size: 7.5px !important;
  font-weight: 700 !important;
  color: #9c9cb0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-top: 2px !important;
}

.hb88-fb-cd-colon {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #ffd764 !important;
  line-height: 1 !important;
  margin-bottom: 4px !important;
  opacity: 0.8 !important;
}

.hb88-fb-standby-msg {
  font-size: 9px !important;
  color: #9c9cb0 !important;
  text-align: center !important;
  margin-top: 2px !important;
  line-height: 1.2 !important;
}

/* ==========================================================================
   HB88 Idol Live / Streamer Category Layout (.hb88-idol-wrapper)
   ========================================================================== */
.hb88-idol-wrapper {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  background: #0a0a0c !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 100vh !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
  color: #ffffff !important;
  box-sizing: border-box !important;
}

.hb88-idol-container {
  width: 100% !important;
  max-width: 440px !important;
  margin: 0 auto !important;
  background: #111114 !important;
  border-left: 1px solid #222228 !important;
  border-right: 1px solid #222228 !important;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8) !important;
  min-height: 100vh !important;
  box-sizing: border-box !important;
  position: relative !important;
  padding-bottom: 70px !important;
}

/* Ensure GeneratePress theme containers are 100% dark #0a0a0c on all HB88 pages */
.separate-containers .inside-article:has(.hb88-idol-wrapper),
.separate-containers .inside-article:has(#hb88-idol-app),
.separate-containers .inside-article:has(.hb88-football-wrapper),
.separate-containers .inside-article:has(.hb88-page-wrapper),
.separate-containers .site-content:has(.hb88-idol-wrapper),
.separate-containers .site-content:has(#hb88-idol-app),
.separate-containers .content-area:has(.hb88-idol-wrapper),
.separate-containers .content-area:has(#hb88-idol-app) {
  background-color: #0a0a0c !important;
  padding: 0 !important;
  margin: 0 !important;
}


/* Idol Player Header */
.hb88-idol-player-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 14px !important;
  background: #1a1a20 !important;
  border-bottom: 1px solid #272730 !important;
}

.hb88-idol-streamer-meta {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  overflow: hidden !important;
}

.hb88-idol-header-avatar {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid #ffd764 !important;
  flex-shrink: 0 !important;
}

.hb88-idol-header-info {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.hb88-idol-header-name {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #ffd764 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.hb88-idol-header-title {
  font-size: 11px !important;
  color: #a0a0b5 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.hb88-idol-viewers-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: rgba(229, 57, 53, 0.2) !important;
  border: 1px solid rgba(229, 57, 53, 0.4) !important;
  color: #ff5252 !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 12px !important;
  white-space: nowrap !important;
}

/* Idol Screen & Overlay */
.hb88-idol-player-screen {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  background: #000000 !important;
  overflow: hidden !important;
}

.hb88-idol-player-screen video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Floating Gifts Animation Overlay */
.hb88-idol-floating-gifts {
  position: absolute !important;
  right: 12px !important;
  bottom: 45px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  pointer-events: none !important;
  z-index: 5 !important;
}

.hb88-idol-gift-bubble {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(4px) !important;
  border: 1px solid rgba(255, 215, 100, 0.4) !important;
  padding: 3px 8px !important;
  border-radius: 16px !important;
  font-size: 11px !important;
  color: #ffd764 !important;
  font-weight: 700 !important;
  animation: hb88FloatGift 3s infinite ease-in-out !important;
}

@keyframes hb88FloatGift {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(-6px); opacity: 1; }
}

/* Live Chat Ticker Simulation */
.hb88-idol-chat-ticker {
  position: absolute !important;
  left: 12px !important;
  bottom: 45px !important;
  max-width: 60% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  pointer-events: none !important;
  z-index: 5 !important;
}

.hb88-idol-chat-msg {
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(4px) !important;
  padding: 3px 8px !important;
  border-radius: 8px !important;
  font-size: 10px !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.hb88-idol-chat-user {
  color: #ffd764 !important;
  font-weight: 700 !important;
  margin-right: 4px !important;
}

/* Interactive Action Bar */
.hb88-idol-action-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 12px !important;
  background: #18181c !important;
  border-top: 1px solid #272730 !important;
  font-size: 12px !important;
}

.hb88-idol-like-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: #252530 !important;
  border: 1px solid #353545 !important;
  color: #ff5252 !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  padding: 5px 10px !important;
  border-radius: 20px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.hb88-idol-like-btn:hover {
  transform: scale(1.05) !important;
  border-color: #ff5252 !important;
}

.hb88-idol-gift-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%) !important;
  color: #000000 !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  padding: 5px 12px !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3) !important;
  cursor: pointer !important;
}

/* 2-Column Idol Rooms Grid */
.hb88-idol-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px !important;
  padding: 10px 12px 20px 12px !important;
  box-sizing: border-box !important;
}

.hb88-idol-card {
  background: #18181c !important;
  border: 1px solid #272730 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1) !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

.hb88-idol-card:hover {
  border-color: rgba(255, 215, 100, 0.5) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5) !important;
}

.hb88-idol-card.active {
  border: 1.5px solid #ffd764 !important;
  box-shadow: 0 0 16px rgba(255, 215, 100, 0.3) !important;
}

.hb88-idol-card-thumb-wrap {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
  background: #111114 !important;
}

.hb88-idol-card-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

.hb88-idol-card:hover .hb88-idol-card-thumb {
  transform: scale(1.04) !important;
}

.hb88-idol-card-gradient {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 60% !important;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 17, 20, 0.95) 100%) !important;
  pointer-events: none !important;
}

.hb88-idol-card-top-badges {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  right: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  z-index: 2 !important;
}

.hb88-idol-badge-live {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: #e53935 !important;
  color: #ffffff !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  letter-spacing: 0.5px !important;
}

.hb88-idol-badge-viewers {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(4px) !important;
  color: #d1d1dc !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

.hb88-idol-card-body {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 8px 10px !important;
  z-index: 3 !important;
}

.hb88-idol-card-name {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-bottom: 2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.hb88-idol-card-title {
  font-size: 10.5px !important;
  color: #ffd764 !important;
  margin-bottom: 6px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.hb88-idol-card-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  width: 100% !important;
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%) !important;
  color: #000000 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 5px 0 !important;
  border-radius: 6px !important;
  text-align: center !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

/* Idol Live Category Filter Tabs */
.hb88-idol-tabs-bar {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 12px !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  border-bottom: 1px solid #222228 !important;
  background: #141418 !important;
}

.hb88-idol-tabs-bar::-webkit-scrollbar {
  display: none !important;
}

.hb88-idol-tab-btn {
  background: #1e1e24 !important;
  border: 1px solid #2e2e38 !important;
  color: #a0a0b5 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  padding: 5px 12px !important;
  border-radius: 20px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: all 0.2s ease !important;
}

.hb88-idol-tab-btn:hover {
  color: #ffd764 !important;
  border-color: rgba(255, 215, 100, 0.4) !important;
}

.hb88-idol-tab-btn.active {
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%) !important;
  color: #000000 !important;
  border-color: #ffd764 !important;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3) !important;
}

.hb88-idol-heart-float {
  position: absolute !important;
  bottom: 50px !important;
  right: 20px !important;
  pointer-events: none !important;
  font-size: 26px !important;
  animation: hb88HeartFloat 1.2s ease-out forwards !important;
  z-index: 10 !important;
}

@keyframes hb88HeartFloat {
  0% { transform: translateY(0) scale(0.6); opacity: 1; }
  50% { transform: translateY(-30px) scale(1.2); opacity: 0.9; }
  100% { transform: translateY(-70px) scale(1); opacity: 0; }
}

/* ==========================================================================
   HB88 Xổ Số (Lottery & Lô Đề 3 Miền) Component (.hb88-xoso-wrapper)
   ========================================================================== */
.hb88-xoso-wrapper {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  background: #0a0a0c !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 100vh !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
  color: #ffffff !important;
  box-sizing: border-box !important;
}

.hb88-xoso-container {
  width: 100% !important;
  max-width: 440px !important;
  margin: 0 auto !important;
  background: #111114 !important;
  border-left: 1px solid #222228 !important;
  border-right: 1px solid #222228 !important;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8) !important;
  min-height: 100vh !important;
  box-sizing: border-box !important;
  position: relative !important;
  padding-bottom: 70px !important;
}

/* Ensure GeneratePress theme containers are dark for xoso */
.separate-containers .inside-article:has(.hb88-xoso-wrapper),
.separate-containers .inside-article:has(#hb88-xoso-app),
.separate-containers .site-content:has(.hb88-xoso-wrapper),
.separate-containers .site-content:has(#hb88-xoso-app),
.separate-containers .content-area:has(.hb88-xoso-wrapper),
.separate-containers .content-area:has(#hb88-xoso-app) {
  background-color: #0a0a0c !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Xo So Top Bar */
.hb88-xoso-top-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 14px !important;
  background: #18181c !important;
  border-bottom: 1px solid #272730 !important;
}

.hb88-xoso-brand-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #ffd764 !important;
  letter-spacing: 0.3px !important;
}

.hb88-xoso-rate-pill {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4) !important;
}

/* Region Tabs Bar */
.hb88-xoso-tabs-bar {
  display: flex !important;
  gap: 8px !important;
  padding: 10px 12px !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  scrollbar-width: none !important;
  background: #141418 !important;
  border-bottom: 1px solid #222228 !important;
  -webkit-overflow-scrolling: touch !important;
}

.hb88-xoso-tabs-bar::-webkit-scrollbar {
  display: none !important;
}

.hb88-xoso-tab-btn {
  background: #1e1e24 !important;
  border: 1px solid #2e2e38 !important;
  color: #a0a0b5 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  padding: 5px 12px !important;
  border-radius: 20px !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.hb88-xoso-tab-btn:hover {
  color: #ffd764 !important;
  border-color: rgba(255, 215, 100, 0.4) !important;
}

.hb88-xoso-tab-btn.active {
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%) !important;
  color: #000000 !important;
  border-color: #ffd764 !important;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.35) !important;
}

/* Live Draw Arena Card */
.hb88-xoso-draw-card {
  margin: 12px !important;
  background: radial-gradient(circle at 50% 20%, #1e1e26 0%, #141418 100%) !important;
  border: 1px solid rgba(255, 215, 100, 0.3) !important;
  border-radius: 14px !important;
  padding: 14px !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4) !important;
}

.hb88-xoso-draw-card::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, #ffd700, #ff5252, #ffd700) !important;
}

.hb88-xoso-draw-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 10px !important;
}

.hb88-xoso-station-title {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.hb88-xoso-status-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: rgba(239, 68, 68, 0.2) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  color: #ef4444 !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  padding: 2px 7px !important;
  border-radius: 10px !important;
}

.hb88-xoso-cd-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: rgba(0, 0, 0, 0.45) !important;
  padding: 7px 12px !important;
  border-radius: 8px !important;
  margin-bottom: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.hb88-xoso-cd-label {
  font-size: 11px !important;
  color: #a0a0b5 !important;
}

.hb88-xoso-cd-digits {
  font-family: monospace, monospace !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #ffd764 !important;
  letter-spacing: 1px !important;
}

/* 3D Metallic Golden Balls */
.hb88-xoso-balls-wrap {
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 10px 0 !important;
}

.hb88-xoso-gold-ball {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 35% 30%, #fff6a5 0%, #f5c026 40%, #b8860b 80%, #5a4004 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #1a1503 !important;
  box-shadow: 0 4px 12px rgba(245, 192, 38, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.8) !important;
  border: 1px solid #ffd700 !important;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5) !important;
}

.hb88-xoso-btn-bet {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 100% !important;
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%) !important;
  color: #000000 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  padding: 8px 0 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3) !important;
  cursor: pointer !important;
  margin-top: 10px !important;
}

/* Section Headings */
.hb88-xoso-section-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 12px !important;
  margin: 16px 0 8px !important;
}

.hb88-xoso-section-title {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* Results Table */
.hb88-xoso-table {
  width: calc(100% - 24px) !important;
  margin: 0 12px !important;
  border-collapse: collapse !important;
  background: #18181c !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid #272730 !important;
  font-size: 12px !important;
}

.hb88-xoso-table tr {
  border-bottom: 1px solid #272730 !important;
}

.hb88-xoso-table tr:last-child {
  border-bottom: none !important;
}

.hb88-xoso-table td {
  padding: 7px 10px !important;
  vertical-align: middle !important;
}

.hb88-xoso-prize-name {
  width: 85px !important;
  font-weight: 700 !important;
  color: #a0a0b5 !important;
  background: #141418 !important;
  border-right: 1px solid #272730 !important;
  text-align: center !important;
}

.hb88-xoso-prize-numbers {
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: 0.8px !important;
  word-break: break-all !important;
}

.hb88-xoso-row-db td {
  background: rgba(255, 215, 100, 0.08) !important;
}

.hb88-xoso-row-db .hb88-xoso-prize-numbers {
  color: #ff5252 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

/* Prediction Cards */
.hb88-xoso-pred-card {
  margin: 12px !important;
  background: #18181c !important;
  border: 1px solid #272730 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.hb88-xoso-pred-header {
  padding: 10px 12px !important;
  background: #202028 !important;
  border-bottom: 1px solid #272730 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #ffd764 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.hb88-xoso-pred-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 12px !important;
  border-bottom: 1px solid #23232c !important;
  font-size: 11.5px !important;
}

.hb88-xoso-pred-row:last-child {
  border-bottom: none !important;
}

.hb88-xoso-pred-val {
  font-weight: 800 !important;
  color: #ffd764 !important;
  letter-spacing: 0.5px !important;
}

/* Betting Types 2-Column Grid */
.hb88-xoso-bet-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px !important;
  padding: 0 12px !important;
}

.hb88-xoso-bet-card {
  background: #18181c !important;
  border: 1px solid #272730 !important;
  border-radius: 10px !important;
  padding: 10px !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.hb88-xoso-bet-card:hover {
  border-color: rgba(255, 215, 100, 0.4) !important;
  transform: translateY(-2px) !important;
}

.hb88-xoso-bet-title {
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-bottom: 3px !important;
}

.hb88-xoso-bet-rate {
  font-size: 11px !important;
  color: #ffd764 !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
}

.hb88-xoso-bet-btn {
  display: block !important;
  text-align: center !important;
  background: #252530 !important;
  border: 1px solid #353545 !important;
  color: #ffd764 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 5px 0 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.hb88-xoso-bet-btn:hover {
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%) !important;
  color: #000000 !important;
}

/* Tab Panes */
.hb88-xoso-pane {
  display: none !important;
}

.hb88-xoso-pane.active {
  display: block !important;
  animation: hb88FadeIn 0.25s ease-out !important;
}

/* Multi-Province Table (XSMT / XSMN) */
.hb88-xoso-multi-col-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 11.5px !important;
  background: #141418 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.hb88-xoso-multi-col-table th {
  background: #202028 !important;
  color: #ffd764 !important;
  padding: 8px 6px !important;
  font-weight: 800 !important;
  text-align: center !important;
  border-bottom: 1px solid #2a2a35 !important;
}

.hb88-xoso-multi-col-table td {
  padding: 6px 4px !important;
  border-bottom: 1px solid #1f1f26 !important;
  text-align: center !important;
  color: #d8d8e5 !important;
}

.hb88-xoso-multi-col-table tr:hover td {
  background: rgba(255, 215, 100, 0.04) !important;
}

.hb88-xoso-multi-col-table .col-prize-name {
  width: 44px !important;
  font-weight: 800 !important;
  color: #a0a0b5 !important;
  background: #18181f !important;
}

.hb88-xoso-multi-col-table tr.hb88-xoso-row-db td {
  background: rgba(239, 68, 68, 0.12) !important;
  font-weight: 800 !important;
  color: #ff4757 !important;
  font-size: 13px !important;
}

/* Thống Kê Đầu Đuôi Loto Table */
.hb88-xoso-dau-duoi-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 11.5px !important;
  background: #141418 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.hb88-xoso-dau-duoi-table th {
  background: #202028 !important;
  color: #ffd764 !important;
  font-weight: 800 !important;
  padding: 6px !important;
  text-align: center !important;
  border-bottom: 1px solid #2a2a35 !important;
}

.hb88-xoso-dau-duoi-table td {
  padding: 5px 6px !important;
  border-bottom: 1px solid #1d1d24 !important;
  font-size: 11px !important;
}

.hb88-xoso-dau-duoi-table .col-head {
  width: 36px !important;
  text-align: center !important;
  font-weight: 800 !important;
  color: #ffd764 !important;
  background: #181820 !important;
}

.hb88-xoso-dau-duoi-table .col-nums {
  color: #e0e0f0 !important;
  letter-spacing: 0.5px !important;
}

/* Number Chips / Predictions */
.hb88-xoso-chips-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  padding: 4px 0 !important;
}

.hb88-xoso-chip {
  background: #1e1e26 !important;
  border: 1px solid #30303e !important;
  color: #ffd764 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.hb88-xoso-chip:hover,
.hb88-xoso-chip.selected {
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%) !important;
  color: #000000 !important;
  border-color: #ffd764 !important;
}

/* Fast Lottery (Siêu Tốc) Card */
.hb88-xoso-sieutoc-card {
  background: linear-gradient(135deg, #181820 0%, #121217 100%) !important;
  border: 1px solid #2b2b38 !important;
  border-radius: 12px !important;
  padding: 12px !important;
  margin-bottom: 12px !important;
}

/* Anti-Tamper Video Watermark (Wala88 Top Right - Fallback only when Canvas is inactive) */
.hb88-inpage-screen .hb88-video-wm-wrap,
#hb88VideoWmWrap {
  position: absolute !important;
  top: 10px !important;
  right: 50px !important;
  width: 76px !important;
  max-width: 22vw !important;
  height: auto !important;
  z-index: 20 !important;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  line-height: 0 !important;
  display: none !important;
}

.hb88-inpage-screen:has(#hb88InPageCanvas[style*="display: none"]) .hb88-video-wm-wrap,
.hb88-inpage-screen:has(#hb88InPageCanvas[style*="display: none"]) #hb88VideoWmWrap,
.hb88-inpage-screen .hb88-video-wm-wrap.is-fallback {
  display: block !important;
}

.hb88-inpage-screen img.hb88-video-watermark,
.hb88-inpage-screen #hb88VideoWmImg,
.hb88-video-wm-wrap img {
  width: 76px !important;
  max-width: 22vw !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.85)) !important;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

/* Offset Unmute Badge so it stacks cleanly below the logo */
.hb88-inpage-screen .hb88-fb-unmute-badge {
  top: 36px !important;
  right: 10px !important;
}




/* ==========================================================================
   HB88 INTERACTIVE ACTION TOOLBAR & SUPPORT SYSTEM (FIGMA PIXEL-PERFECT)
   ========================================================================== */

/* 1. Right Action Sidebar on Video */
.hb88-player-action-sidebar {
  position: absolute;
  right: 10px;
  bottom: 44px;
  top: auto;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  z-index: 15;
  pointer-events: auto;
}

.hb88-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(18, 18, 23, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #e2e8f0;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  user-select: none;
}

.hb88-action-btn:hover {
  transform: scale(1.08);
  background: rgba(26, 26, 36, 0.92);
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.4);
}

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

.hb88-act-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.hb88-action-btn.active {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.5);
}

.hb88-action-btn.active.hb88-act-bookmark {
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.5);
}

.hb88-act-count {
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
  color: inherit;
}

/* 2. Floating Support Headphone Button */
.hb88-floating-support-btn {
  position: absolute;
  right: 14px;
  bottom: 56px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.55), 0 0 12px rgba(255, 215, 0, 0.4);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 0;
  animation: hb88PulseAnim 2.4s infinite ease-in-out;
}

.hb88-floating-support-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.75), 0 0 16px rgba(255, 215, 0, 0.6);
}

.hb88-floating-support-btn:active {
  transform: scale(0.95);
}

.hb88-support-icon {
  width: 24px;
  height: 24px;
  fill: #0f172a;
}

@keyframes hb88PulseAnim {
  0%, 100% {
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.5), 0 0 8px rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 6px 28px rgba(245, 158, 11, 0.85), 0 0 20px rgba(255, 215, 0, 0.6);
  }
}

/* 3. Backdrop Overlay for Modals */
.hb88-modals-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.hb88-modals-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* 4. Bottom Sheet Base Style (Exact Figma Design: Frames 7, 8, 9, 11) */
/* Figma Exact 1px Linear Gradient Border: #99999F -> #FFD764 -> #99999F on all sides */
.hb88-bottom-sheet {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, calc(100% + 30px));
  width: calc(100% - 24px);
  max-width: 430px;
  border: 1px solid transparent !important;
  background: 
    linear-gradient(#141416, #141416) padding-box,
    linear-gradient(to bottom left, #99999F 0%, #FFD764 50%, #99999F 100%) border-box !important;
  border-radius: 24px !important;
  box-shadow: 0 0 25px rgba(255, 215, 100, 0.15), 0 20px 50px rgba(0, 0, 0, 0.9) !important;
  padding: 22px 20px 24px !important;
  z-index: 99999;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  color: #fff;
}

.hb88-bottom-sheet.show {
  transform: translate(-50%, 0);
}

.hb88-figma-title-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 6px !important;
}

.hb88-figma-icon-gold {
  color: #FFD764 !important;
  stroke: #FFD764 !important;
  flex-shrink: 0 !important;
}

.hb88-sheet-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.hb88-sheet-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  letter-spacing: -0.2px !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.hb88-sheet-subtitle {
  font-size: 13.5px !important;
  color: #8e8e93 !important;
  margin: 0 0 16px 0 !important;
  line-height: 1.4 !important;
}

.hb88-sheet-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: #8e8e93;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.15s ease;
  padding: 4px;
}

.hb88-sheet-close:hover {
  color: #fff;
}

/* 5. Frame 7: Menu Options (Exact Figma Frame 7) */
.hb88-sheet-menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hb88-menu-opt-btn {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  background: #18181c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 16px 18px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-align: left !important;
  color: #fff !important;
  box-sizing: border-box !important;
  gap: 14px !important;
}

.hb88-menu-opt-btn:hover {
  background: #202026 !important;
  border-color: rgba(254, 216, 54, 0.45) !important;
  transform: translateY(-1px);
}

.hb88-menu-opt-icon {
  width: 26px !important;
  height: 26px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.hb88-menu-opt-content {
  flex: 1 !important;
}

.hb88-menu-opt-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin-bottom: 3px !important;
  line-height: 1.3 !important;
}

.hb88-menu-opt-desc {
  font-size: 12.5px !important;
  color: #8e8e93 !important;
  margin: 0 !important;
  line-height: 1.35 !important;
}

.hb88-menu-opt-arrow {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: auto !important;
  color: #8e8e93 !important;
}

/* 6. Frame 9: Video Report Form (Exact Figma Frame 9) */
.hb88-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 18px;
}

.hb88-radio-label {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: #18181c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
}

.hb88-radio-label:hover {
  background: #202026 !important;
  border-color: rgba(254, 216, 54, 0.35) !important;
}

.hb88-radio-label input[type="radio"] {
  display: none;
}

.hb88-custom-radio {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}

.hb88-radio-label input[type="radio"]:checked + .hb88-custom-radio {
  border-color: #fed836 !important;
  background: #fed836 !important;
  box-shadow: inset 0 0 0 3px #18181c !important;
}

.hb88-radio-text {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #ffffff !important;
}

.hb88-radio-label input[type="radio"]:checked ~ .hb88-radio-text {
  color: #fed836 !important;
  font-weight: 600 !important;
}

/* Golden Action Button (Shared by Report & Success - Exact Figma Frame 8 & 9) */
.hb88-golden-btn {
  width: 100% !important;
  padding: 13px 20px !important;
  border-radius: 28px !important;
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%) !important;
  color: #111114 !important;
  border: none !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35) !important;
  transition: all 0.2s ease !important;
  display: block !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.hb88-golden-btn:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.55) !important;
}

.hb88-golden-btn:active {
  transform: scale(0.98) !important;
}

/* 7. Frame 8: Success Modal (Center Dialog - Exact Figma Frame 8) */
.hb88-center-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: calc(100% - 32px);
  max-width: 380px;
  border: 1px solid transparent !important;
  background: 
    linear-gradient(#141416, #141416) padding-box,
    linear-gradient(to bottom left, #99999F 0%, #FFD764 50%, #99999F 100%) border-box !important;
  border-radius: 24px !important;
  box-shadow: 0 0 25px rgba(255, 215, 100, 0.15), 0 20px 50px rgba(0, 0, 0, 0.9) !important;
  padding: 32px 24px 26px !important;
  text-align: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.hb88-center-modal.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.hb88-success-icon-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hb88-success-icon-wrap svg {
  width: 48px;
  height: 48px;
  display: block;
}

.hb88-success-title {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #fff !important;
  margin: 0 0 10px !important;
  line-height: 1.3 !important;
}

.hb88-success-desc {
  font-size: 13px !important;
  color: #8e8e93 !important;
  line-height: 1.45 !important;
  margin: 0 0 24px !important;
}

/* 8. Frame 11: Live Chat Drawer (Exact Figma Frame 11) */
.hb88-chat-drawer {
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.hb88-chat-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 280px;
  max-height: 420px;
}

.hb88-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hb88-chat-bot-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.hb88-bot-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #18181c;
  border: 1px solid rgba(254, 216, 54, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hb88-bot-avatar svg {
  width: 18px;
  height: 18px;
}

.hb88-bot-msg-content {
  background: #18181c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  border-top-left-radius: 4px;
  padding: 10px 14px;
  max-width: 82%;
}

.hb88-bot-name {
  font-size: 11px;
  font-weight: 700;
  color: #fed836;
  margin-bottom: 2px;
}

.hb88-bot-bubble {
  font-size: 12.5px;
  color: #e2e8f0;
  line-height: 1.45;
}

.hb88-chat-user-msg {
  align-self: flex-end;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border-radius: 14px;
  border-top-right-radius: 4px;
  padding: 9px 14px;
  font-size: 12.5px;
  max-width: 80%;
  word-break: break-word;
}

.hb88-chat-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-left: 42px;
}

.hb88-chip-btn {
  background: #1c1c24;
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: #ffd700;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hb88-chip-btn:hover {
  background: #ffd700;
  color: #0f172a;
}

.hb88-chat-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.hb88-chat-input {
  flex: 1;
  background: #1c1c24;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 10px 16px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease;
}

.hb88-chat-input:focus {
  border-color: #ffd700;
}

.hb88-chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700, #f59e0b);
  border: none;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.hb88-chat-send-btn:hover {
  transform: scale(1.08);
}

.hb88-chat-send-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Toast Notification (e.g. for Link Copied) */
.hb88-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: #ffd700;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hb88-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive Overrides */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

.hb88-football-wrapper,
.hb88-app-root {
  overflow-x: hidden !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.hb88-football-container {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: var(--hb88-max-width, 440px) !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

.hb88-header-wrapper {
  overflow-x: hidden !important;
  max-width: var(--hb88-max-width, 440px) !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

@media (min-width: 769px) {
  .hb88-player-action-sidebar {
    right: 12px !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    gap: 6px !important;
  }
  .hb88-player-action-sidebar .hb88-action-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }
  .hb88-player-action-sidebar .hb88-act-icon {
    width: 16px !important;
    height: 16px !important;
  }
}

@media (max-width: 768px) {
  .hb88-player-action-sidebar {
    right: 6px !important;
    bottom: 36px !important;
    top: auto !important;
    transform: none !important;
    gap: 2.5px !important;
  }
  .hb88-player-action-sidebar .hb88-action-btn {
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
    min-height: 27px !important;
  }
  .hb88-player-action-sidebar .hb88-act-icon {
    width: 13.5px !important;
    height: 13.5px !important;
  }
  .hb88-player-action-sidebar .hb88-act-count,
  .hb88-player-action-sidebar .hb88-like-count,
  .hb88-player-action-sidebar .hb88-comment-count {
    font-size: 9px !important;
    line-height: 1 !important;
    margin: 0 !important;
  }
  .hb88-inpage-screen .hb88-video-wm-wrap,
  #hb88VideoWmWrap {
    top: 8px !important;
    right: 44px !important;
    width: 64px !important;
    max-width: 20vw !important;
  }
}

/* Tablets / Large Mobile (< 480px) */
@media (max-width: 480px) {
  .hb88-header-top {
    padding: 8px 10px !important;
    gap: 7px !important;
  }
  .hb88-logo-img {
    max-width: 95px !important;
    height: 30px !important;
  }
  .hb88-search-bar {
    height: 38px !important;
    padding: 0 10px !important;
    gap: 6px !important;
  }
  .hb88-top-action-circle {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
  }
  .hb88-top-action-circle svg {
    width: 18px !important;
    height: 18px !important;
  }
  .hb88-player-action-sidebar {
    right: 6px !important;
    bottom: 34px !important;
    gap: 2px !important;
  }
  .hb88-player-action-sidebar .hb88-action-btn {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
  }
  .hb88-player-action-sidebar .hb88-act-icon {
    width: 13px !important;
    height: 13px !important;
  }
  .hb88-player-action-sidebar .hb88-act-count,
  .hb88-player-action-sidebar .hb88-like-count,
  .hb88-player-action-sidebar .hb88-comment-count {
    font-size: 8.5px !important;
  }
  .hb88-inpage-screen .hb88-video-wm-wrap,
  #hb88VideoWmWrap {
    top: 6px !important;
    right: 40px !important;
    width: 58px !important;
    max-width: 18vw !important;
  }
  .hb88-floating-support-btn {
    right: 10px !important;
    bottom: 50px !important;
    width: 42px !important;
    height: 42px !important;
  }
  .hb88-support-icon {
    width: 20px !important;
    height: 20px !important;
  }
  .hb88-inpage-controls-bar {
    padding: 5px 8px 6px 8px !important;
    gap: 5px !important;
  }
}

/* Standard Mobile (< 390px - iPhone 12/13/14 mini, small Androids) */
@media (max-width: 390px) {
  .hb88-header-top {
    padding: 7px 8px !important;
    gap: 6px !important;
  }
  .hb88-logo-img {
    max-width: 85px !important;
    height: 28px !important;
  }
  .hb88-search-bar {
    height: 36px !important;
    padding: 0 8px !important;
    gap: 5px !important;
  }
  .hb88-header-wrapper .hb88-search-input,
  .hb88-search-bar input.hb88-search-input {
    font-size: 12.5px !important;
  }
  .hb88-search-icon-left svg,
  .hb88-search-mic-btn svg {
    width: 16px !important;
    height: 16px !important;
  }
  .hb88-top-actions {
    gap: 5px !important;
  }
  .hb88-top-action-circle {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }
  .hb88-top-action-circle svg {
    width: 17px !important;
    height: 17px !important;
  }
  .hb88-inpage-controls-bar {
    padding: 4px 6px 6px 6px !important;
    gap: 4px !important;
  }
  .hb88-ctrl-group-left {
    gap: 3px !important;
  }
  .hb88-ctrl-group-center {
    gap: 4px !important;
  }
  .hb88-ctrl-group-right {
    gap: 3px !important;
  }
  .hb88-inpage-ctrl-btn {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
  }
  .hb88-inpage-ctrl-btn svg {
    width: 13px !important;
    height: 13px !important;
  }
  .hb88-ctrl-timestamp {
    font-size: 10px !important;
  }
  .hb88-ctrl-live-pill {
    padding: 2px 5px !important;
    font-size: 9px !important;
    border-radius: 4px !important;
  }
  .hb88-ctrl-fight-tag,
  .hb88-ctrl-cam-tag {
    font-size: 10px !important;
  }
  .hb88-inpage-status-tag {
    font-size: 8.5px !important;
    padding: 2px 5px !important;
  }
  .hb88-floating-actions-container .hb88-float-service,
  .hb88-floating-support-container .hb88-float-service {
    bottom: 114px !important;
    right: 8px !important;
  }
  .hb88-floating-actions-container .hb88-float-service .hb88-support-icon-img,
  .hb88-floating-support-container .hb88-float-service .hb88-support-icon-img,
  .hb88-floating-support-btn .hb88-support-icon-img {
    width: 42px !important;
    height: 42px !important;
  }
  .hb88-floating-actions-container .hb88-float-badge {
    bottom: 164px !important;
    right: 8px !important;
    transform: scale(0.85);
    transform-origin: bottom right;
  }
  .hb88-bottom-app-banner {
    left: 8px !important;
    right: 8px !important;
    height: 46px !important;
  }
}

/* Small Mobile (< 350px - iPhone SE 1st gen, Galaxy Fold closed, 320px) */
@media (max-width: 350px) {
  .hb88-header-top {
    padding: 6px 5px !important;
    gap: 4px !important;
  }
  .hb88-logo-img {
    max-width: 74px !important;
    height: 24px !important;
  }
  .hb88-search-bar {
    height: 32px !important;
    padding: 0 6px !important;
    gap: 4px !important;
  }
  .hb88-header-wrapper .hb88-search-input,
  .hb88-search-bar input.hb88-search-input {
    font-size: 11.5px !important;
  }
  .hb88-search-icon-left svg,
  .hb88-search-mic-btn svg {
    width: 14px !important;
    height: 14px !important;
  }
  .hb88-top-actions {
    gap: 4px !important;
  }
  .hb88-top-action-circle {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
  }
  .hb88-top-action-circle svg {
    width: 15px !important;
    height: 15px !important;
  }
  .hb88-inpage-controls-bar {
    padding: 3px 4px 5px 4px !important;
    gap: 2px !important;
  }
  .hb88-ctrl-group-center {
    gap: 2px !important;
  }
  .hb88-inpage-ctrl-btn {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
  }
  .hb88-inpage-ctrl-btn svg {
    width: 11px !important;
    height: 11px !important;
  }
  .hb88-ctrl-timestamp {
    font-size: 8.5px !important;
  }
  .hb88-ctrl-live-pill {
    padding: 1px 3px !important;
    font-size: 8px !important;
  }
  .hb88-ctrl-fight-tag {
    font-size: 8.5px !important;
  }
  .hb88-ctrl-cam-tag {
    display: none !important;
  }
  .hb88-player-action-sidebar {
    right: 4px !important;
    bottom: 30px !important;
    gap: 1.5px !important;
  }
  .hb88-player-action-sidebar .hb88-action-btn {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
  }
  .hb88-player-action-sidebar .hb88-act-icon {
    width: 11px !important;
    height: 11px !important;
  }
  .hb88-player-action-sidebar .hb88-act-count,
  .hb88-player-action-sidebar .hb88-like-count,
  .hb88-player-action-sidebar .hb88-comment-count {
    font-size: 7.5px !important;
  }
  .hb88-inpage-screen .hb88-video-wm-wrap,
  #hb88VideoWmWrap {
    top: 5px !important;
    right: 34px !important;
    width: 50px !important;
    max-width: 16vw !important;
  }
  .hb88-floating-actions-container .hb88-float-service,
  .hb88-floating-support-container .hb88-float-service {
    bottom: 108px !important;
    right: 6px !important;
  }
  .hb88-floating-actions-container .hb88-float-service .hb88-support-icon-img,
  .hb88-floating-support-container .hb88-float-service .hb88-support-icon-img,
  .hb88-floating-support-btn .hb88-support-icon-img {
    width: 38px !important;
    height: 38px !important;
  }
  .hb88-floating-actions-container .hb88-float-badge {
    bottom: 152px !important;
    right: 6px !important;
    transform: scale(0.75);
    transform-origin: bottom right;
  }
}


/* ==========================================================================
   HB88 AUTHENTICATION MODAL (LOGIN & SIGNUP POPUP) - EXACT FIGMA LUXURY THEME
   ========================================================================== */
.hb88-auth-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10000005 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.hb88-auth-modal.show {
  opacity: 1 !important;
  visibility: visible !important;
}

.hb88-auth-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.hb88-auth-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 390px;
  background: 
    linear-gradient(#141418, #111115) padding-box,
    linear-gradient(135deg, #FFD764 0%, rgba(255, 215, 100, 0.3) 50%, #99999F 100%) border-box;
  border: 1.5px solid transparent !important;
  border-radius: 24px;
  box-shadow: 0 0 35px rgba(255, 215, 100, 0.18), 0 25px 60px rgba(0, 0, 0, 0.9);
  padding: 24px 20px 22px 20px;
  box-sizing: border-box;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hb88-auth-modal.show .hb88-auth-dialog {
  transform: scale(1) translateY(0);
}

.hb88-auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.hb88-auth-close:hover,
.hb88-auth-close:active {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ef4444;
}

.hb88-auth-header {
  text-align: center;
  margin-bottom: 18px;
  padding-top: 4px;
}

.hb88-auth-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.35);
  margin-bottom: 10px;
  overflow: hidden;
  background: #000;
}

.hb88-auth-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hb88-auth-title {
  margin: 0 0 6px 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hb88-auth-reason {
  margin: 0;
  font-size: 13px;
  color: #ffd764;
  line-height: 1.4;
  font-weight: 500;
}

.hb88-auth-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px;
  border-radius: 14px;
  margin-bottom: 18px;
  gap: 4px;
}

.hb88-auth-tab {
  flex: 1;
  padding: 9px 0;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #9ca3af;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hb88-auth-tab.active {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  color: #111114;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.hb88-auth-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.hb88-input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hb88-input-label {
  font-size: 12px;
  font-weight: 600;
  color: #d1d5db;
}

/* Search Bar-matched pill input style */
.hb88-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  height: 42px !important;
  background: #232327 !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  padding: 0 14px !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.hb88-input-wrap:focus-within {
  border-color: #ffd764 !important;
  background: #2a2a30 !important;
  box-shadow: 0 0 0 2px rgba(255, 215, 100, 0.25) !important;
}

.hb88-input-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #8e8e93 !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
}

.hb88-input-icon svg {
  width: 17px !important;
  height: 17px !important;
  stroke: #8e8e93 !important;
  display: block !important;
}

.hb88-auth-dialog input.hb88-auth-input,
.hb88-auth-dialog input.hb88-auth-input[type="text"],
.hb88-auth-dialog input.hb88-auth-input[type="password"],
.hb88-auth-dialog input.hb88-auth-input[type="tel"],
input.hb88-auth-input {
  flex: 1 !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  padding: 0 4px !important;
  margin: 0 !important;
  font-family: inherit !important;
  line-height: normal !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.hb88-auth-dialog input.hb88-auth-input::placeholder,
input.hb88-auth-input::placeholder {
  color: #8e8e93 !important;
  font-size: 13.5px !important;
  opacity: 1 !important;
}

.hb88-pwd-toggle {
  background: transparent !important;
  border: none !important;
  color: #8e8e93 !important;
  padding: 0 4px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: color 0.15s ease !important;
}

.hb88-pwd-toggle:hover {
  color: #ffd764 !important;
}

.hb88-form-row-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 2px;
}

.hb88-auth-checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.hb88-auth-checkbox-label input[type="checkbox"] {
  accent-color: #f59e0b;
  width: 14px;
  height: 14px;
  margin: 0;
}

.hb88-auth-forgot {
  color: #ffd764;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.hb88-auth-forgot:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.hb88-auth-submit-btn {
  width: 100%;
  padding: 13px;
  margin-top: 4px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  color: #111114;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hb88-auth-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.hb88-auth-submit-btn:active {
  transform: translateY(1px);
}

.hb88-auth-footer-switch {
  text-align: center;
  font-size: 12.5px;
  color: #9ca3af;
  margin-top: 6px;
}

.hb88-link-btn {
  background: transparent;
  border: none;
  color: #ffd764;
  font-weight: 700;
  cursor: pointer;
  padding: 0 4px;
  text-decoration: underline;
}

.hb88-profile-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.hb88-user-card-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 100, 0.2);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: left;
}

.hb88-user-avatar-gold {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hb88-user-meta {
  flex: 1;
}

.hb88-user-logged-name {
  margin: 0 0 3px 0;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.hb88-vip-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #000;
  background: #ffd700;
  padding: 2px 8px;
  border-radius: 999px;
}



/* Liked Heart Button: Solid White Fill, same border & background */
.hb88-action-btn.hb88-act-like.liked,
.hb88-action-btn.liked {
  border-color: rgba(255, 255, 255, 0.15) !important;
  background: rgba(18, 18, 22, 0.65) !important;
}

.hb88-action-btn.hb88-act-like.liked svg,
.hb88-action-btn.hb88-act-like.liked .hb88-act-icon,
.hb88-action-btn.liked svg,
.hb88-action-btn.liked .hb88-act-icon {
  fill: #ffffff !important;
  stroke: #ffffff !important;
  color: #ffffff !important;
  filter: none !important;
}

.hb88-action-btn.hb88-act-like:not(.liked) svg,
.hb88-action-btn:not(.liked) svg {
  fill: none !important;
  stroke: #ffffff !important;
}

@keyframes hb88HeartBeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.35); }
  50% { transform: scale(0.92); }
  75% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* User Account Profile: Liked Videos Section */
.hb88-auth-dialog {
  max-height: 90vh !important;
  overflow-y: auto !important;
}

.hb88-profile-section.hb88-liked-section {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  text-align: left;
  margin-top: 4px;
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
}

.hb88-liked-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hb88-liked-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffd764;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hb88-liked-heart-icon {
  font-size: 14px;
}

.hb88-liked-count-badge {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.35);
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  min-width: 20px;
  text-align: center;
}

.hb88-liked-videos-list {
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-right: 2px;
}

.hb88-liked-videos-list::-webkit-scrollbar {
  width: 4px;
}

.hb88-liked-videos-list::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 100, 0.3);
  border-radius: 4px;
}

.hb88-liked-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.hb88-liked-item:hover {
  background: rgba(255, 215, 100, 0.08);
  border-color: rgba(255, 215, 100, 0.25);
}

.hb88-liked-item-thumb-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hb88-liked-item-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hb88-liked-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0.85;
}

.hb88-liked-item-info {
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.hb88-liked-item-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.hb88-liked-item-sub {
  font-size: 10.5px;
  color: #8e8e93;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hb88-liked-remove-btn {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #8e8e93;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.hb88-liked-remove-btn:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
  transform: scale(1.1);
}

.hb88-liked-empty {
  text-align: center;
  padding: 16px 10px;
  color: #8e8e93;
}

.hb88-liked-empty-icon {
  font-size: 24px;
  display: block;
  margin-bottom: 4px;
  opacity: 0.7;
}

.hb88-liked-empty p {
  margin: 0 0 3px 0;
  font-size: 12px;
  color: #ccc;
}

.hb88-liked-empty small {
  font-size: 10.5px;
  color: #777;
}

/* ==========================================================================
   TikTok / YouTube Shorts Style Comment Drawer (Bottom Sheet)
   ========================================================================== */
.hb88-comments-drawer-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.28s ease, visibility 0.28s ease !important;
}

.hb88-comments-drawer-overlay.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.hb88-comments-drawer {
  width: 100% !important;
  max-width: 480px !important;
  height: 68vh !important;
  max-height: 580px !important;
  min-height: 380px !important;
  background: #141419 !important;
  border-radius: 20px 20px 0 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-bottom: none !important;
  box-shadow: 0 -12px 45px rgba(0, 0, 0, 0.85) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transform: translateY(100%) !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  box-sizing: border-box !important;
}

.hb88-comments-drawer-overlay.is-open .hb88-comments-drawer {
  transform: translateY(0) !important;
}

.hb88-comments-grabber {
  width: 44px !important;
  height: 5px !important;
  background: rgba(255, 255, 255, 0.35) !important;
  border-radius: 4px !important;
  margin: 10px auto 4px auto !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  position: relative !important;
  touch-action: none !important;
  transition: background 0.2s, transform 0.2s !important;
}

.hb88-comments-grabber::before {
  content: "" !important;
  position: absolute !important;
  top: -14px !important;
  bottom: -14px !important;
  left: -40px !important;
  right: -40px !important;
  cursor: pointer !important;
}

.hb88-comments-grabber:hover,
.hb88-comments-grabber:active {
  background: rgba(255, 255, 255, 0.7) !important;
  transform: scaleX(1.12) !important;
}

.hb88-comments-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 18px 12px 18px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  flex-shrink: 0 !important;
}

.hb88-comments-title {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.3px !important;
}

.hb88-comments-title span {
  color: #f59e0b !important;
}

.hb88-comments-close-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
}

.hb88-comments-close-btn:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  transform: rotate(90deg) !important;
}

.hb88-comments-list {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 14px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  box-sizing: border-box !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent !important;
}

.hb88-comments-list::-webkit-scrollbar {
  width: 4px !important;
}
.hb88-comments-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 4px !important;
}

/* Individual Comment Card */
.hb88-comment-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  animation: hb88CommentFadeIn 0.3s ease-out !important;
}

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

.hb88-comment-avatar {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  border: 1.5px solid rgba(245, 158, 11, 0.5) !important;
  background: #1e1e24 !important;
}

.hb88-comment-avatar-fallback {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #f59e0b, #b45309) !important;
  color: #111116 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  border: 1.5px solid rgba(245, 158, 11, 0.6) !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25) !important;
  user-select: none !important;
}

.hb88-comment-content {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.hb88-comment-meta {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.hb88-comment-author {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #f3f4f6 !important;
}

.hb88-comment-item.is-me .hb88-comment-author {
  color: #fbbf24 !important;
}

.hb88-comment-badge {
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #000 !important;
  letter-spacing: 0.2px !important;
}

.hb88-comment-time {
  font-size: 11px !important;
  color: #9ca3af !important;
}

.hb88-comment-text {
  font-size: 13.5px !important;
  color: #e5e7eb !important;
  line-height: 1.4 !important;
  word-break: break-word !important;
  margin: 0 !important;
}

.hb88-comment-actions {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-top: 4px !important;
}

.hb88-comment-reply-btn {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #9ca3af !important;
  cursor: pointer !important;
}
.hb88-comment-reply-btn:hover {
  color: #fbbf24 !important;
}

.hb88-comment-like-btn {
  margin-left: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  background: none !important;
  border: none !important;
  color: #9ca3af !important;
  cursor: pointer !important;
  padding: 2px !important;
  gap: 2px !important;
  font-size: 10px !important;
  transition: transform 0.15s ease !important;
}

.hb88-comment-like-btn svg {
  width: 14px !important;
  height: 14px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
}

.hb88-comment-like-btn.liked {
  color: #ffffff !important;
}

.hb88-comment-like-btn.liked svg {
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

/* Comments Form / Input Bar matching dark search input style */
.hb88-comments-form {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 16px 14px 16px !important;
  background: #111116 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

.hb88-comment-user-avatar {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  display: block !important;
  background: #1e1e24 !important;
  border: 1.5px solid rgba(245, 158, 11, 0.4) !important;
}

.hb88-comment-user-avatar img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  border: none !important;
}

.hb88-comment-input-wrap {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
}

.hb88-comment-input {
  width: 100% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 22px !important;
  color: #ffffff !important;
  padding: 9px 44px 9px 14px !important;
  font-size: 13.5px !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
}

.hb88-comment-input:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.6) !important;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.18) !important;
}

.hb88-comment-input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 13px !important;
}

.hb88-comment-submit-btn {
  position: absolute !important;
  right: 6px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  border: none !important;
  color: #111116 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: transform 0.15s ease, opacity 0.15s ease !important;
}

.hb88-comment-submit-btn:hover {
  transform: translateY(-50%) scale(1.08) !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5) !important;
}

.hb88-comment-submit-btn:active {
  transform: translateY(-50%) scale(0.95) !important;
}

.hb88-comment-empty-notice {
  text-align: center !important;
  color: #9ca3af !important;
  font-size: 13px !important;
  padding: 30px 10px !important;
}

/* Bookmark button removed from Cockfight & Shorts sidebars */
.hb88-act-bookmark,
.hb88-action-btn.hb88-act-bookmark,
button.hb88-act-bookmark {
  display: none !important;
}

/* ==========================================================================
   TikTok / Shorts Style Share Drawer
   ========================================================================== */
.hb88-share-drawer-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.65) !important;
  z-index: 999999 !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.28s ease !important;
}

.hb88-share-drawer-overlay.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.hb88-share-drawer {
  width: 100% !important;
  max-width: 480px !important;
  background: #17171e !important;
  border-radius: 20px 20px 0 0 !important;
  padding: 12px 18px 24px !important;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.75) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  transform: translateY(100%) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
}

.hb88-share-drawer-overlay.is-open .hb88-share-drawer {
  transform: translateY(0) !important;
}

.hb88-share-grabber {
  width: 44px !important;
  height: 5px !important;
  background: rgba(255, 255, 255, 0.35) !important;
  border-radius: 4px !important;
  margin: 0 auto 12px !important;
  cursor: pointer !important;
  position: relative !important;
  touch-action: none !important;
  transition: background 0.2s, transform 0.2s !important;
}

.hb88-share-grabber::before {
  content: "" !important;
  position: absolute !important;
  top: -14px !important;
  bottom: -14px !important;
  left: -40px !important;
  right: -40px !important;
  cursor: pointer !important;
}

.hb88-share-grabber:hover,
.hb88-share-grabber:active {
  background: rgba(255, 255, 255, 0.7) !important;
  transform: scaleX(1.12) !important;
}

.hb88-share-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 14px !important;
  position: relative !important;
}

.hb88-share-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
  text-align: center !important;
  flex: 1 !important;
  letter-spacing: 0.2px !important;
}

.hb88-share-close-btn {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: none !important;
  border: none !important;
  color: #9ca3af !important;
  cursor: pointer !important;
  padding: 4px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color 0.15s, background 0.15s !important;
}

.hb88-share-close-btn:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.hb88-share-grid {
  display: flex !important;
  gap: 14px !important;
  overflow-x: auto !important;
  padding: 8px 4px 18px !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}

.hb88-share-grid::-webkit-scrollbar {
  display: none !important;
}

.hb88-share-item {
  flex: 0 0 64px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 7px !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 !important;
  color: #e5e7eb !important;
  transition: transform 0.15s ease !important;
}

.hb88-share-item:hover {
  transform: translateY(-3px) scale(1.05) !important;
}

.hb88-share-item:active {
  transform: scale(0.95) !important;
}

.hb88-share-icon-wrap {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
}

.hb88-share-copy {
  background: linear-gradient(135deg, #374151, #1f2937) !important;
  color: #f59e0b !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
}

.hb88-share-fb {
  background: #1877F2 !important;
  color: #ffffff !important;
}

.hb88-share-zalo {
  background: #0068FF !important;
  color: #ffffff !important;
}

.hb88-zalo-txt {
  font-weight: 800 !important;
  font-size: 13px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  letter-spacing: -0.3px !important;
}

.hb88-share-tg {
  background: #2AABEE !important;
  color: #ffffff !important;
}

.hb88-share-wa {
  background: #25D366 !important;
  color: #ffffff !important;
}

.hb88-share-msg {
  background: linear-gradient(135deg, #0084FF, #A033FF, #FF5280) !important;
  color: #ffffff !important;
}

.hb88-share-more {
  background: #374151 !important;
  color: #ffffff !important;
}

.hb88-share-label {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #9ca3af !important;
  text-align: center !important;
  white-space: nowrap !important;
  max-width: 64px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.hb88-share-link-box {
  display: flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 4px 6px 4px 14px !important;
  gap: 10px !important;
  margin-top: 4px !important;
}

.hb88-share-link-input {
  flex: 1 !important;
  background: none !important;
  border: none !important;
  color: #9ca3af !important;
  font-size: 12px !important;
  outline: none !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.hb88-share-copy-btn {
  background: #f59e0b !important;
  color: #000000 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  border: none !important;
  padding: 7px 16px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: transform 0.15s, background 0.15s !important;
}

.hb88-share-copy-btn:hover {
  background: #fbbf24 !important;
  transform: scale(1.03) !important;
}

.hb88-share-copy-btn:active {
  transform: scale(0.96) !important;
}

/* ==========================================================================
   HB88 Notification Center Styles (Modal & Mobile Bottom Sheet)
   ========================================================================== */
.hb88-notification-sheet {
  max-width: 440px !important;
  width: calc(100% - 24px) !important;
  box-sizing: border-box !important;
  padding: 18px 16px 20px !important;
  background: linear-gradient(180deg, #18181c 0%, #121215 100%) padding-box,
              linear-gradient(to bottom, #99999F 0%, #FFD764 50%, #99999F 100%) border-box !important;
  border: 1px solid transparent !important;
  border-radius: 20px !important;
  box-shadow: 0 0 25px rgba(255, 215, 100, 0.15), 0 20px 50px rgba(0, 0, 0, 0.95) !important;
}

@media (max-width: 480px) {
  .hb88-notification-sheet {
    max-width: 100% !important;
    width: 100% !important;
    left: 50% !important;
    bottom: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 16px 14px 24px !important;
    transform: translate(-50%, calc(100% + 30px)) !important;
  }
  .hb88-notification-sheet.show {
    transform: translate(-50%, 0) !important;
  }
}

.hb88-notif-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin-bottom: 10px !important;
}

.hb88-notif-title-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.hb88-notif-bell-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: rgba(255, 215, 100, 0.12) !important;
  border: 1px solid rgba(255, 215, 100, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.hb88-notif-heading {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffd764 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  text-shadow: 0 0 8px rgba(255, 215, 100, 0.3) !important;
}

.hb88-notif-subline {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 3px !important;
}

.hb88-notif-badge-unread {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  background: #ef4444 !important;
  color: #ffffff !important;
  padding: 1px 6px !important;
  border-radius: 10px !important;
  line-height: 1.3 !important;
  transition: opacity 0.2s !important;
}

.hb88-notif-badge-unread.all-read {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #9ca3af !important;
}

.hb88-notif-badge-target {
  font-size: 10.5px !important;
  color: #9ca3af !important;
}

.hb88-notif-top-btns {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.hb88-notif-mark-read-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: rgba(255, 215, 100, 0.08) !important;
  border: 1px solid rgba(255, 215, 100, 0.3) !important;
  color: #ffd764 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.hb88-notif-mark-read-btn:hover {
  background: rgba(255, 215, 100, 0.2) !important;
  transform: translateY(-1px) !important;
}

.hb88-notif-mark-read-btn:active {
  transform: translateY(0) !important;
}

.hb88-notif-close-btn {
  position: static !important;
  top: auto !important;
  right: auto !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 50% !important;
  color: #9ca3af !important;
  font-size: 13px !important;
  width: 26px !important;
  height: 26px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  line-height: 1 !important;
  transition: all 0.15s !important;
  flex-shrink: 0 !important;
}

.hb88-notif-close-btn:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Category Filter Tabs */
.hb88-notif-tabs {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  overflow-x: auto !important;
  padding-bottom: 8px !important;
  margin-bottom: 8px !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}

.hb88-notif-tabs::-webkit-scrollbar {
  display: none !important;
}

.hb88-notif-tab-btn {
  white-space: nowrap !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  padding: 5px 11px !important;
  border-radius: 16px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.hb88-notif-tab-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

.hb88-notif-tab-btn.active {
  background: #ffd764 !important;
  border-color: #ffd764 !important;
  color: #111114 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 10px rgba(255, 215, 100, 0.35) !important;
}

/* Feed List */
.hb88-notif-feed {
  max-height: min(420px, 52vh) !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding-right: 2px !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255, 215, 100, 0.3) rgba(255, 255, 255, 0.04) !important;
}

.hb88-notif-feed::-webkit-scrollbar {
  width: 4px !important;
}

.hb88-notif-feed::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04) !important;
  border-radius: 4px !important;
}

.hb88-notif-feed::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 100, 0.3) !important;
  border-radius: 4px !important;
}

/* Notification Card */
.hb88-notif-card {
  background: linear-gradient(180deg, #202026 0%, #19191e 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  cursor: pointer !important;
  transition: border-color 0.18s, transform 0.18s, opacity 0.2s !important;
  position: relative !important;
  text-align: left !important;
}

.hb88-notif-card:hover {
  border-color: rgba(255, 215, 100, 0.4) !important;
  transform: translateY(-1px) !important;
}

.hb88-notif-card.is-read {
  opacity: 0.7 !important;
  background: #18181c !important;
}

.hb88-notif-card.is-read:hover {
  opacity: 0.95 !important;
}

.hb88-notif-card-top {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-bottom: 5px !important;
}

.hb88-notif-pill {
  font-size: 9.5px !important;
  font-weight: 700 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  letter-spacing: 0.3px !important;
  line-height: 1.2 !important;
}

.hb88-notif-pill.pill-live {
  background: rgba(239, 68, 68, 0.22) !important;
  color: #ef4444 !important;
  border: 1px solid rgba(239, 68, 68, 0.45) !important;
}

.hb88-notif-pill.pill-gold {
  background: rgba(255, 215, 100, 0.2) !important;
  color: #ffd764 !important;
  border: 1px solid rgba(255, 215, 100, 0.45) !important;
}

.hb88-notif-pill.pill-blue {
  background: rgba(59, 130, 246, 0.22) !important;
  color: #60a5fa !important;
  border: 1px solid rgba(59, 130, 246, 0.45) !important;
}

.hb88-notif-pill.pill-green {
  background: rgba(16, 185, 129, 0.22) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
}

.hb88-notif-pill.pill-purple {
  background: rgba(168, 85, 247, 0.22) !important;
  color: #c084fc !important;
  border: 1px solid rgba(168, 85, 247, 0.45) !important;
}

.hb88-notif-time {
  font-size: 10.5px !important;
  color: #94a3b8 !important;
  margin-left: auto !important;
}

.hb88-notif-unread-dot {
  width: 6px !important;
  height: 6px !important;
  background: #ef4444 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 6px #ef4444 !important;
  flex-shrink: 0 !important;
}

.hb88-notif-card-title {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #f8fafc !important;
  margin: 0 0 3px !important;
  line-height: 1.35 !important;
}

.hb88-notif-card-desc {
  font-size: 11px !important;
  color: #94a3b8 !important;
  margin: 0 0 6px !important;
  line-height: 1.4 !important;
}

.hb88-notif-card-foot {
  text-align: right !important;
}

.hb88-notif-cta {
  font-size: 10.5px !important;
  font-weight: 600 !important;
  color: #ffd764 !important;
  display: inline-block !important;
}

/* Empty State */
.hb88-notif-empty {
  text-align: center !important;
  padding: 30px 16px !important;
  color: #64748b !important;
}

.hb88-notif-empty-icon {
  font-size: 28px !important;
  margin-bottom: 6px !important;
  opacity: 0.7 !important;
}

.hb88-notif-empty-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #cbd5e1 !important;
  margin-bottom: 3px !important;
}

.hb88-notif-empty-desc {
  font-size: 11px !important;
  color: #64748b !important;
}



