.avvl-player-card { margin: 0 0 28px; padding: clamp(16px,3vw,28px); border: 1px solid rgba(104,82,255,.22); border-radius: 24px; background: linear-gradient(135deg,#fff 0%,#f7f3ff 55%,#fff2f7 100%); box-shadow: 0 16px 42px rgba(42,30,90,.09); }
.avvl-player-card h2 { margin: 0 0 16px; }
.avvl-player-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.avvl-player-card .avvl-player-heading h2 { margin: 0!important; line-height: 1.1; }
.avvl-ratings { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.avvl-rating { display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 8px; padding: 8px 13px; border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(42,30,90,.1); }
.avvl-rating span { display: grid; width: 32px; height: 32px; grid-row: 1/3; place-items: center; border-radius: 10px; background: linear-gradient(135deg,#ff7a00,#ffb800); color: #fff; font-size: .78rem; font-weight: 900; }
.avvl-rating strong { font-size: 1.15rem; line-height: 1; }
.avvl-rating small { color: #746c84; font-size: .7rem; }
.avvl-rating-imdb span { background: #f5c518; color: #111; font-size: .65rem; }
.avvl-player { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 18px; background: #161324; }
.avvl-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.avvl-player-loading { position: absolute; inset: 0; z-index: 2; display: flex; visibility: hidden; align-items: center; justify-content: center; gap: 12px; padding: 20px; background: rgba(15,12,27,.78); color: #fff; opacity: 0; pointer-events: none; transition: opacity .18s ease,visibility .18s ease; }
.avvl-player.is-switching .avvl-player-loading { visibility: visible; opacity: 1; }
.avvl-player-spinner { width: 23px; height: 23px; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: avvl-spin .7s linear infinite; }
.avvl-fullscreen-button { position: absolute; right: 8px; bottom: 8px; z-index: 4; display: inline-flex; width: 44px; min-height: 40px; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; background: rgba(18,15,31,.72); color: #fff; cursor: pointer; font-size: 1.2rem; font-weight: 800; opacity: .88; backdrop-filter: blur(7px); transition: opacity .15s ease,background .15s ease; }
.avvl-fullscreen-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.avvl-fullscreen-button:hover,.avvl-fullscreen-button:focus-visible { background: rgba(18,15,31,.92); opacity: 1; }
.avvl-player:fullscreen { width: 100vw; height: 100vh; aspect-ratio: auto; border-radius: 0; background: #000; }
.avvl-player:fullscreen .avvl-fullscreen-button { right: 12px; bottom: 12px; }
@keyframes avvl-spin { to { transform: rotate(360deg); } }
.avvl-series-browser { margin-top: 18px; }
.avvl-playback-controls { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 9px; margin-bottom: 14px; }
.avvl-playback-toggle { display: inline-flex; width: 100%; min-width: 0; min-height: 48px; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid #d9d1ef; border-radius: 13px; background: rgba(255,255,255,.82); color: #2b2441; cursor: pointer; font-weight: 750; line-height: 1.25; }
.avvl-playback-toggle input { width: 19px; height: 19px; margin: 0; accent-color: #6c4cff; }
.avvl-playback-toggle:has(input:checked) { border-color: #9b89ee; background: #f3efff; box-shadow: 0 6px 18px rgba(76,54,170,.1); }
.avvl-playback-settings { grid-column: 1/-1; width: 100%; border: 1px solid #e2dbf1; border-radius: 13px; background: rgba(255,255,255,.7); }
.avvl-playback-settings summary { padding: 11px 14px; color: #4930c6; cursor: pointer; font-weight: 800; }
.avvl-playback-settings-fields { display: grid; grid-template-columns: repeat(2,minmax(180px,260px)); gap: 11px 14px; padding: 2px 14px 14px; }
.avvl-playback-settings-fields > label { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #4e465f; font-size: .9rem; font-weight: 700; }
.avvl-number-field { display: inline-flex; align-items: center; gap: 6px; }
.avvl-number-field input { width: 76px; min-height: 38px; padding: 6px 8px; border: 1px solid #d9d1ef; border-radius: 9px; background: #fff; color: #2b2441; }
.avvl-number-field small { color: #746c84; }
.avvl-playback-settings-fields p { grid-column: 1/-1; margin: 0; color: #82798f; font-size: .78rem; }
.avvl-season-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.avvl-season-tabs button,.avvl-episode-list button { border: 1px solid #d9d1ef; background: #fff; color: #2b2441; cursor: pointer; transition: .18s ease; }
.avvl-season-tabs button { min-height: 42px; padding: 8px 15px; border-radius: 999px; font-weight: 800; }
.avvl-season-tabs button.is-active { border-color: transparent; background: linear-gradient(135deg,#6c4cff,#ff4f98); color: #fff; }
.avvl-episode-list { display: none; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); gap: 9px; }
.avvl-episode-list.is-active { display: grid; }
.avvl-episode-empty { grid-column: 1/-1; margin: 0; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.7); color: #746c84; }
.avvl-episode-list button { display: flex; min-height: 58px; padding: 10px 12px; flex-direction: column; align-items: flex-start; border-radius: 12px; text-align: left; }
.avvl-episode-list button:hover,.avvl-episode-list button.is-active { border-color: #6c4cff; background: #f3efff; box-shadow: 0 6px 18px rgba(76,54,170,.12); }
.avvl-episode-list button span { display: block; margin-top: 3px; color: #716985; font-size: .8rem; line-height: 1.3; overflow-wrap: anywhere; max-width: 100%; }
.avvl-source-link { margin: -14px 0 26px; }
.avvl-source-link a { display: inline-flex; padding: 10px 16px; border-radius: 999px; background: #f2edff; color: #4930c6; font-weight: 700; text-decoration: none; }
[aria-label="Language"],.language-switcher,.pll-parent-menu-item { display: none!important; }
.avvl-catalogue-tabs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; margin: 0 0 20px; }
.avvl-catalogue-tabs a { display: flex; min-height: 84px; padding: 16px; flex-direction: column; justify-content: center; border: 1px solid #ddd5f2; border-radius: 18px; background: #fff; color: #2b2441; text-decoration: none; transition: transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.avvl-catalogue-tabs a:hover { transform: translateY(-2px); border-color: #b7a9ee; box-shadow: 0 10px 26px rgba(42,30,90,.09); }
.avvl-catalogue-tabs a span { font-weight: 800; line-height: 1.2; }
.avvl-catalogue-tabs a small { margin-top: 5px; color: #7b728d; font-size: .78rem; }
.avvl-catalogue-tabs a.is-active { color: #fff; border-color: transparent; background: linear-gradient(135deg,#6c4cff,#ff4f98); box-shadow: 0 12px 28px rgba(108,76,255,.22); }
.avvl-catalogue-tabs a.is-active small { color: rgba(255,255,255,.82); }
.avvl-catalogue-tools { display: grid; grid-template-columns: minmax(220px,1fr) minmax(190px,auto) auto auto; gap: 12px; align-items: end; margin-bottom: 14px; padding: 16px; border: 1px solid #e7e0f4; border-radius: 18px; background: rgba(255,255,255,.84); }
.avvl-catalogue-tools input,.avvl-catalogue-tools select { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid #d9d1ef; border-radius: 12px; background: #fff; color: #2b2441; }
.avvl-catalogue-tools label span { display: block; margin-bottom: 5px; color: #706881; font-size: .78rem; font-weight: 700; }
.avvl-catalogue-tools button { min-height: 46px; padding: 10px 20px; border: 0; border-radius: 12px; background: #5f4bea; color: #fff; font-weight: 800; cursor: pointer; }
.avvl-catalogue-tools > a { min-height: 46px; display: inline-flex; align-items: center; color: #5f4bea; font-weight: 750; }
.avvl-catalogue-summary { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 18px; color: #706881; }
.avvl-catalogue-summary strong { color: #2b2441; }
.avvl-catalogue-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: clamp(16px,2.5vw,28px); }
.avvl-catalogue-card { overflow: hidden; border: 1px solid #e7e0f4; border-radius: 22px; background: #fff; box-shadow: 0 12px 34px rgba(42,30,90,.08); transition: transform .2s ease,box-shadow .2s ease; }
.avvl-catalogue-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(42,30,90,.14); }
.avvl-catalogue-poster { display: block; aspect-ratio: 2/3; overflow: hidden; background: linear-gradient(145deg,#7862ff,#ff78ad); }
.avvl-catalogue-poster img { width: 100%; height: 100%; object-fit: cover; }
.avvl-catalogue-poster span { display: grid; height: 100%; place-items: center; color: #fff; font-size: 42px; font-weight: 900; }
.avvl-catalogue-body { padding: 16px; }
.avvl-catalogue-body h2 { margin: 5px 0 8px; font-size: 1.12rem; line-height: 1.25; }
.avvl-catalogue-body h2 a { color: inherit; text-decoration: none; }
.avvl-catalogue-body p { margin: 0; color: #706881; font-size: .9rem; }
.avvl-catalogue-kind { color: #6b4cf5!important; font-weight: 750; }
.avvl-empty { padding: 28px; border-radius: 18px; background: #f7f3ff; text-align: center; }
.avvl-pagination { margin-top: 28px; }
.avvl-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.avvl-pagination a,.avvl-pagination span { display: grid; min-width: 42px; min-height: 42px; padding: 6px; place-items: center; border: 1px solid #ddd5f2; border-radius: 11px; background: #fff; }
.avvl-pagination .current { border-color: transparent; background: #5f4bea; color: #fff; font-weight: 800; }
@media (max-width: 920px) { .avvl-catalogue-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); } .avvl-catalogue-tabs a:first-child { grid-column: 1 / -1; min-height: 64px; } .avvl-catalogue-tools { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .avvl-catalogue-tabs,.avvl-catalogue-tools { grid-template-columns: 1fr; } .avvl-catalogue-tabs a:first-child { grid-column: auto; } .avvl-catalogue-tabs a { min-height: 68px; } }
@media (max-width: 680px) { .avvl-playback-controls { grid-template-columns: 1fr; } .avvl-playback-settings { grid-column: auto; } .avvl-playback-settings-fields { grid-template-columns: 1fr; } }
