.lx-ad-slot[hidden], .lx-ad[hidden] { display: none !important; }
.lx-ad-slot { min-width: 0; margin: 12px 0; }
.lx-ad { position: relative; border: 0; background: none; color: #ddd; }
.lx-ad-tools { display: flex; justify-content: flex-end; align-items: center; gap: 4px; height: 24px; margin-bottom: 3px; background: none; }
.lx-ad-tools button { display: inline-block; flex: 0 0 auto; padding: 0; border: 0; border-radius: 0; background: none; color: #c6c9d0; text-shadow: 0 1px 3px rgba(0,0,0,.6); font: 11px/20px -apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif; cursor: pointer; white-space: nowrap; }
.lx-ad-tools .lx-ad-close { display: grid; place-items: center; width: 20px; height: 24px; font: 20px/1 Arial,sans-serif; }
.lx-ad-tools button:hover { color: #fff; text-decoration: underline; }
.lx-ad-tools button:focus-visible, .lx-ad-link:focus-visible { outline: 2px solid #b4ff00; outline-offset: -2px; }
.lx-ad-media, .lx-ad-link { display: block; width: 100%; line-height: 0; }
.lx-ad-media { height: auto; object-fit: contain; border-radius: 8px; }
.lx-ad-floating { position: fixed; z-index: 96; top: 50%; right: max(14px, env(safe-area-inset-right)); transform: translateY(-50%); width: clamp(220px, 18vw, 280px); max-width: calc((100dvh - 100px) * .5625); margin: 0; }
.lx-ad-mobile { display: none; }
.sg-player-side-scroll > .lx-ad-slot { margin: 12px 16px; flex-shrink: 0; }
@media (max-width: 760px) {
  .lx-ad-floating, .lx-ad-desktop { display: none !important; }
  .lx-ad-mobile:not([hidden]) { display: block; }
  .lx-ad-slot { width: 100%; }
  .sg-player-side-scroll > .lx-ad-slot { width: auto; margin: 10px 14px; }
  #detailSheet > .lx-ad-slot { margin: 18px 0; }
}
