/* Shared site frame: original component rules scoped away from page/player content. */
.javfin-common-frame { display: contents; font: 400 16px/1.5 'Prompt', 'Inter', sans-serif; color: #f8fafc;
  color-scheme: dark;
  --bg-base: #07060f;
  --bg-surface: rgba(14, 13, 26, 0.78);
  --bg-elevated: rgba(22, 20, 38, 0.88);
  --bg-glass: rgba(10, 9, 20, 0.84);
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(168, 85, 247, 0.25);
  --border-accent: rgba(244, 63, 94, 0.55);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #e11d48;
  --accent-bright: #f43f5e;
  --neon-purple: #a855f7;
  --neon-gradient: linear-gradient(135deg, #f43f5e 0%, #a855f7 100%);
  --accent-soft: rgba(244, 63, 94, 0.15);
  --accent-glow: rgba(168, 85, 247, 0.32);
  --emerald: #10b981;
  --amber: #f59e0b;
  --font-sans: 'Prompt', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}
:where(.javfin-common-frame) *, :where(.javfin-common-frame) *::before, :where(.javfin-common-frame) *::after {box-sizing:border-box;margin:0;padding:0;}
:where(.javfin-common-frame) .topbar {
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-hairline);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
:where(.javfin-common-frame) .topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
:where(.javfin-common-frame) .brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
:where(.javfin-common-frame) .brand-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
:where(.javfin-common-frame) .mobile-brand-logo {
  display: none;
  flex-shrink: 0;
}
:where(.javfin-common-frame) .top-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
:where(.javfin-common-frame) .top-nav .nav-item {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}
:where(.javfin-common-frame) .top-nav .nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}
:where(.javfin-common-frame) .top-nav .nav-item.active {
  color: #ffffff;
  background: var(--neon-gradient);
  border-color: transparent;
  box-shadow: 0 4px 16px var(--accent-glow);
}
:where(.javfin-common-frame) .search-box {
  flex: 1 1 360px;
  max-width: 680px;
  min-width: 240px;
  position: relative;
  display: flex;
  align-items: center;
}
:where(.javfin-common-frame) .search-icon {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}
:where(.javfin-common-frame) #searchInput {
  width: 100%;
  height: 44px;
  background: rgba(18, 16, 32, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 0 20px 0 46px;
  color: #f8fafc;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 14px rgba(0, 0, 0, 0.32);
}
:where(.javfin-common-frame) #searchInput::placeholder {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
  font-weight: 400;
  transition: color 0.18s ease;
}
:where(.javfin-common-frame) #searchInput:hover {
  border-color: rgba(237, 60, 136, 0.38);
  background: rgba(22, 19, 38, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 6px 18px rgba(0, 0, 0, 0.42);
}
:where(.javfin-common-frame) #searchInput:focus {
  outline: none;
  border-color: rgba(244, 63, 126, 0.65);
  background: rgba(20, 17, 36, 0.94);
  box-shadow: 0 0 0 3px rgba(244, 63, 126, 0.18), 0 0 20px rgba(244, 63, 126, 0.14), 0 8px 24px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
:where(.javfin-common-frame) .search-box:focus-within .search-icon {
  color: #f43f7e;
  filter: drop-shadow(0 0 6px rgba(244, 63, 126, 0.65));
  transform: scale(1.08);
}
:where(.javfin-common-frame) .kbd-hint { display: none !important; }
:where(.javfin-common-frame) .topbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
:where(.javfin-common-frame) .btn-surface,
:where(.javfin-common-frame) .btn-accent {
  font-family: var(--font-sans);
  font-size: 0.83rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.16s ease;
}
:where(.javfin-common-frame) .btn-surface {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-hairline);
}
:where(.javfin-common-frame) .btn-surface:hover,
:where(.javfin-common-frame) .btn-surface.active {
  border-color: var(--neon-purple);
  background: rgba(168, 85, 247, 0.16);
}
:where(.javfin-common-frame) .btn-accent {
  background: var(--neon-gradient);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 18px var(--accent-glow);
}
:where(.javfin-common-frame) .btn-accent:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}
:where(.javfin-common-frame) .counter-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
  padding: 1px 6px;
  border-radius: 99px;
}
:where(.javfin-common-frame) .mobile-cat-strip {
  display: none;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px;
  background: rgba(10, 9, 20, 0.9);
  border-bottom: 1px solid var(--border-hairline);
  scrollbar-width: none;
  -ms-overflow-style: none;
  user-select: none;
}
:where(.javfin-common-frame) .mobile-cat-strip::-webkit-scrollbar {
  display: none;
}
:where(.javfin-common-frame) .m-chip {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-hairline);
  padding: 6px 13px;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
:where(.javfin-common-frame) .m-chip.active {
  background: var(--neon-gradient);
  color: #fff;
  border-color: transparent;
}
:where(.javfin-common-frame) .mobile-bottom-nav {
  display: none;
}
:where(.javfin-common-frame) .modern-select {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  padding: 6px 11px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
}
:where(.javfin-common-frame) .modern-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-hairline);
  background: rgba(7, 5, 14, 0.96);
  backdrop-filter: blur(20px);
  padding: 22px 24px 18px;
}
:where(.javfin-common-frame) .footer-container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
:where(.javfin-common-frame) .footer-brand-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-hairline);
}
:where(.javfin-common-frame) .footer-brand-logo {
  display: inline-flex;
  align-items: center;
}
:where(.javfin-common-frame) .footer-brand-tagline {
  font-size: 0.76rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 220px;
}
:where(.javfin-common-frame) .footer-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
:where(.javfin-common-frame) .footer-badge-item {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.6px;
}
:where(.javfin-common-frame) .badge-18 {
  background: rgba(225, 29, 72, 0.15);
  color: #fb7185;
  border: 1px solid rgba(225, 29, 72, 0.35);
}
:where(.javfin-common-frame) .badge-rta {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}
:where(.javfin-common-frame) .badge-ssl {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}
:where(.javfin-common-frame) .footer-nav-compact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
:where(.javfin-common-frame) .footer-group-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
:where(.javfin-common-frame) .footer-group-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  min-width: 60px;
}
:where(.javfin-common-frame) .footer-pills-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
:where(.javfin-common-frame) .footer-pill-btn {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hairline);
  padding: 3px 9px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
  user-select: none;
}
:where(.javfin-common-frame) .footer-pill-btn:hover {
  color: var(--accent-bright);
  border-color: var(--border-accent);
  background: rgba(255, 46, 99, 0.08);
}
:where(.javfin-common-frame) .footer-legal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 2px;
}
:where(.javfin-common-frame) .footer-legal-link {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
:where(.javfin-common-frame) .footer-legal-link:hover {
  color: var(--text-primary);
  text-decoration: underline;
}
:where(.javfin-common-frame) .footer-legal-dot {
  color: var(--border-strong);
  font-size: 0.65rem;
}
:where(.javfin-common-frame) .footer-disclaimer-compact {
  font-size: 0.68rem;
  line-height: 1.5;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
  padding: 8px 12px;
}
:where(.javfin-common-frame) .footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-hairline);
  padding-top: 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
  gap: 12px;
  flex-wrap: wrap;
}
:where(.javfin-common-frame) .footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
:where(.javfin-common-frame) .server-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 8px;
  border-radius: 999px;
}
:where(.javfin-common-frame) .status-dot {
  width: 6px;
  height: 6px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34d399;
}
body[data-view="mobile"] :where(.javfin-common-frame) .mobile-brand-logo {
  display: block;
}
body[data-view="mobile"] :where(.javfin-common-frame) .brand-logo-img {
  height: 28px;
}
body[data-view="mobile"] :where(.javfin-common-frame) .top-nav {
  display: none;
}
body[data-view="mobile"] :where(.javfin-common-frame) .topbar {
  height: auto;
  padding: 10px 12px 12px;
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
  column-gap: 12px;
  align-items: center;
}
body[data-view="mobile"] :where(.javfin-common-frame) .topbar-left {
  order: 1;
  flex: 0 0 auto;
}
body[data-view="mobile"] :where(.javfin-common-frame) .topbar-actions {
  order: 2;
  flex: 0 0 auto;
  margin-left: auto;
}
body[data-view="mobile"] :where(.javfin-common-frame) .search-box {
  order: 3;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 1 1 100%;
  margin-top: 2px;
}
body[data-view="mobile"] :where(.javfin-common-frame) #searchInput {
  width: 100%;
  box-sizing: border-box;
  padding: 0 16px 0 38px;
  font-size: 0.85rem;
  border-radius: 9999px;
  height: 40px;
}
body[data-view="mobile"] :where(.javfin-common-frame) .search-icon {
  left: 13px;
  width: 16px;
  height: 16px;
}
body[data-view="mobile"] :where(.javfin-common-frame) .hide-on-mobile,
body[data-view="mobile"] :where(.javfin-common-frame) .kbd-hint {
  display: none;
}
body[data-view="mobile"] :where(.javfin-common-frame) .mobile-cat-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body[data-view="mobile"] :where(.javfin-common-frame) .m-chip {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  text-align: center;
  padding: 7px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 99px;
  box-sizing: border-box;
  white-space: nowrap;
}
body[data-view="mobile"] :where(.javfin-common-frame) .mobile-bottom-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 404px;
  z-index: 999;
  background: rgba(9, 8, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-strong);
  padding: 8px 4px 10px;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7);
}
body[data-view="mobile"] :where(.javfin-common-frame) .modern-footer {
  margin-bottom: 64px;
  padding: 16px 14px 18px;
}
body[data-view="mobile"] :where(.javfin-common-frame) .footer-brand-strip {
  gap: 8px;
}
body[data-view="mobile"] :where(.javfin-common-frame) .footer-group-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
body[data-view="mobile"] :where(.javfin-common-frame) .footer-bottom-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
:where(.javfin-common-frame) .m-nav-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 0;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
:where(.javfin-common-frame) .m-nav-btn.active {
  color: var(--accent-bright);
}
:where(.javfin-common-frame) .m-nav-btn.active svg {
  filter: drop-shadow(0 0 6px rgba(255, 46, 99, 0.6));
}
@media (max-width: 1024px) {
:where(.javfin-common-frame) .top-nav {
    display: none;
  }
:where(.javfin-common-frame) .mobile-cat-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
:where(.javfin-common-frame) .m-chip {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    text-align: center;
    padding: 7px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 99px;
    box-sizing: border-box;
    white-space: nowrap;
  }
}
@media (max-width: 820px) {
:where(.javfin-common-frame) .brand-logo-img {
    height: 28px;
  }
:where(.javfin-common-frame) .topbar {
    height: auto;
    padding: 10px 12px 12px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 12px;
    align-items: center;
    max-width: 100vw;
    box-sizing: border-box;
  }
:where(.javfin-common-frame) .topbar-left {
    order: 1;
    flex: 0 0 auto;
    gap: 8px;
  }
:where(.javfin-common-frame) .topbar-actions {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
  }
:where(.javfin-common-frame) .search-box {
    order: 3;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 100%;
    margin-top: 2px;
  }
:where(.javfin-common-frame) #searchInput {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px 9px 36px;
    font-size: 0.84rem;
    border-radius: 10px;
    height: 40px;
  }
:where(.javfin-common-frame) .search-icon {
    left: 11px;
    width: 16px;
    height: 16px;
  }
:where(.javfin-common-frame) .hide-on-mobile,
:where(.javfin-common-frame) .kbd-hint {
    display: none !important;
  }
:where(.javfin-common-frame) .mobile-cat-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
:where(.javfin-common-frame) .m-chip {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    text-align: center;
    padding: 7px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 99px;
    box-sizing: border-box;
    white-space: nowrap;
  }
:where(.javfin-common-frame) .footer-brand-strip {
    gap: 8px;
  }
:where(.javfin-common-frame) .footer-group-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
:where(.javfin-common-frame) .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
:where(.javfin-common-frame) .modern-footer {
    margin-bottom: 68px;
    padding: 16px 14px 18px;
  }
:where(.javfin-common-frame) .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    border-radius: 0;
    z-index: 999;
    background: rgba(9, 8, 18, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-strong);
    padding: 6px 2px max(8px, env(safe-area-inset-bottom));
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
  }
:where(.javfin-common-frame) .m-nav-btn {
    min-width: 0;
    width: 100%;
    padding: 3px 0;
  }
:where(.javfin-common-frame) .m-nav-btn span {
    font-size: 0.65rem;
    white-space: nowrap;
  }
}
:where(.javfin-common-frame) .javfin-appearance-control {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: .82rem;
}
:where(.javfin-common-frame) .javfin-appearance-control select { min-height: 40px; max-width: 100%; }
:where(.javfin-common-frame) .javfin-appearance-control select:focus-visible {
  outline: 2px solid var(--neon-purple);
  outline-offset: 3px;
}
/* Match the same frame in both PHP/WordPress and legacy catalog routes. */
.javfin-common-frame .topbar { width:100%; }
.javfin-common-frame svg[width="16"] { width:16px; height:16px; }
.javfin-common-frame .mobile-bottom-nav { left:0; right:0; grid-template-columns:repeat(5,minmax(0,1fr)); }
html[data-javfin-appearance="classic"] body,
html[data-javfin-appearance="classic"] body.gac-cinema,
body[data-view] {
 --cin-bg:#07060f; --cin-surface:#0d0b18; --cin-raised:rgba(22,20,38,.88);
 --cin-line:rgba(255,255,255,.08); --cin-ink:#f8fafc; --cin-muted:#94a3b8;
 --cin-accent:#f43f7e; --cin-mint:#d8b4fe; --cin-button:#e11d73;
 --cin-font:'Prompt','Inter','IBM Plex Sans Thai',Tahoma,sans-serif;
 background-color:#07060f;
 background-image:linear-gradient(180deg,rgba(7,6,15,.78),rgba(7,6,15,.93)),url('https://images.unsplash.com/photo-1503899036084-c55cdd92da26?auto=format&fit=crop&w=1800&q=80');
 background-position:center; background-size:cover; background-attachment:fixed;
}
@media(max-width:820px) {
 .javfin-common-frame .modern-footer { padding-bottom:90px; }
 .javfin-common-frame .mobile-cat-strip { display:flex; }
}


/* Mobile Quick Category Strip - Removed in mobile mode per user request */
.mobile-cat-strip,
#mobileCatStrip,
:where(.javfin-common-frame) .mobile-cat-strip,
.javfin-common-frame .mobile-cat-strip,
body[data-view="mobile"] .mobile-cat-strip,
body[data-view="mobile"] :where(.javfin-common-frame) .mobile-cat-strip,
body[data-view="mobile"] #mobileCatStrip {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Unified Player Button Row: Same line, same height, perfect alignment */
.avpi-btns {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 10px 0 !important;
  padding: 0 !important;
}

/* Keep disabled/hidden server buttons completely hidden */
.avpi-btns .avpi-off,
.avpi-btns .avpi-s.avpi-off,
.avpi-btns [hidden],
.avpi-btns [disabled],
.avpi-btns [style*="display:none"],
.avpi-btns [style*="display: none"] {
  display: none !important;
}

.avpi-btns .avpi-s:not(.avpi-off):not([hidden]):not([disabled]),
.avpi-btns button.avpi-s:not(.avpi-off):not([hidden]):not([disabled]),
.avpi-btns .avpi-fav-btn,
.avpi-btns button#playerFavBtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  border-radius: 8px !important;
  font-family: inherit !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.18s ease !important;
}

.avpi-btns .avpi-fav-btn,
.avpi-btns #playerFavBtn {
  order: 99 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(22, 20, 38, 0.95) !important;
  color: #f8fafc !important;
}

.avpi-btns .avpi-fav-btn svg,
.avpi-btns #playerFavBtn svg {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  vertical-align: middle !important;
  stroke: currentColor !important;
}

.avpi-btns .avpi-fav-btn:hover,
.avpi-btns #playerFavBtn:hover {
  border-color: #f43f7e !important;
  background: rgba(244, 63, 126, 0.15) !important;
  color: #fff !important;
}

.avpi-btns .avpi-fav-btn.active,
.avpi-btns .avpi-fav-btn.saved,
.avpi-btns #playerFavBtn.active,
.avpi-btns #playerFavBtn.saved {
  background: linear-gradient(135deg, #f43f7e, #a855f7) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(244, 63, 126, 0.4) !important;
}

.avpi-btns .avpi-fav-btn.active svg,
.avpi-btns .avpi-fav-btn.saved svg,
.avpi-btns #playerFavBtn.active svg,
.avpi-btns #playerFavBtn.saved svg {
  fill: currentColor !important;
}


/* Sponsor Banner Global Frame Styles */
.sponsor-banner-section,
.catalog-sponsor-banner {
  width: 100%;
  margin: 14px 0 22px 0;
  display: block;
}

.watch-sponsor-banner {
  width: 100%;
  max-width: 900px;
  margin: 16px auto 24px auto;
  display: block;
}

.sponsor-banner-wrap {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #090814;
  border: 1px solid rgba(255, 215, 0, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 16px rgba(245, 158, 11, 0.15);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.sponsor-banner-wrap:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 0, 0.75);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.65), 0 0 25px rgba(245, 158, 11, 0.3);
}

.sponsor-banner-link {
  display: block;
  width: 100%;
  text-decoration: none;
  line-height: 0;
  cursor: pointer;
  background: transparent;
}

.sponsor-banner-media {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1648 / 544;
  object-fit: cover;
  border-radius: 11px;
}

@media (max-width: 768px) {
  .sponsor-banner-section,
  .catalog-sponsor-banner {
    margin: 10px 0 16px 0;
  }
  .watch-sponsor-banner {
    margin: 12px auto 18px auto;
  }
  .sponsor-banner-wrap {
    border-radius: 8px;
  }
  .sponsor-banner-media {
    border-radius: 7px;
  }
}
