.btn-download-action[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.recommended-download { border: 2px solid #ffd43b !important; }
.gate-overlay { overflow-y: auto; }
.gate-card { max-height: calc(100dvh - 40px); overflow-y: auto; }
.tv-mode { font-size: 19px; scroll-behavior: auto; }
.tv-mode body { padding: 0 4vw; }
.tv-mode :focus-visible { outline: 4px solid #ffd43b !important; outline-offset: 5px; box-shadow: 0 0 0 7px #101827; }
.tv-mode button, .tv-mode input, .tv-mode select, .tv-mode a.btn-download-action { min-height: 48px; }
.tv-mode .modal-dialog { width: min(1100px, 90vw); max-height: 86vh; }
.tv-mode .movie-card { scroll-margin: 90px; }
.tv-mode .coverflow-card, .tv-mode .movie-card, .tv-mode .modal-dialog { backdrop-filter: none !important; }
.tv-mode .bottom-tab-bar { padding-bottom: 10px; }
.tv-mode *, .tv-mode *::before, .tv-mode *::after {
  scroll-behavior: auto !important;
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .01ms !important;
}
.tv-mode .movie-card,
.tv-mode .coverflow-card,
.tv-mode .player-controls,
.tv-mode .player-top-bar { box-shadow: none !important; filter: none !important; }
.tv-mode #playerModal { padding: 0; }
.tv-mode .cinema-player-wrapper.inactive .player-controls { opacity: 1; pointer-events: auto; }
.tv-mode .download-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tv-mode .download-dialog { max-width: 1100px; }
.tv-mode .download-sub, .tv-mode .download-card p, .tv-mode .card-meta, .tv-mode .gate-desc { font-size: 18px; line-height: 1.5; }
@media (min-width: 1000px) {
  .download-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .log-line { content-visibility: auto; contain-intrinsic-size: auto 100px; }
}
