/* Final player layout: controls stay inside the video; secondary actions stay below it. */
.vp:has(.vp-loading:not([hidden])) .vp-center{visibility:hidden;pointer-events:none}
.vp-loading{z-index:3}.vp-loading>span{flex:none}.vp-loading p{margin:0;padding:0 12px;text-align:center}
.vp:has(.vp-loading:not([hidden])) .vp-controls{opacity:.45}
.vp:has(.vp-loading:not([hidden])):has(.vp-seek:disabled) .vp-controls{visibility:hidden;pointer-events:none}
.vp-top{min-width:0}.vp-top .vp-title{min-width:0;flex:1}.vp-top .vp-episode{flex:none}
.watch-studio,.watch-tools,.source-alternatives,.vp-background{min-width:0;max-width:100%}
.watch-studio button,.vp button,.vp-background button{-webkit-appearance:none;appearance:none;line-height:1.3;box-sizing:border-box;font-family:inherit}
.watch-studio .button,.vp-background button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;white-space:normal;text-align:center}
.watch-tools{align-items:center;gap:10px}.watch-tools .watch-status{flex:1 1 200px;min-width:0;overflow-wrap:anywhere}
.source-alternatives{display:flex;flex-wrap:wrap;gap:8px;flex-basis:100%}
.source-alternatives .button{flex:1 1 180px;margin:0}
.vp-background{position:relative;display:flex;align-items:center;gap:10px;padding:12px 0 0;margin:0 0 2px}
.vp-background button{min-height:44px;padding:10px 15px;border-radius:11px;background:var(--surface,#211b2a);color:var(--ink,#eee8f8);border:1px solid var(--line-strong,#ffffff24);font-size:12px;touch-action:manipulation}
.vp-background p{font-size:12px;color:var(--muted,#b6a7c7);margin:0;line-height:1.7}
.vp-resume>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,320px);gap:10px}
.vp-resume button,.vp-error button{display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:10px 14px;line-height:1.3;font-size:13px;border-radius:10px}
.vp-resume strong,.vp-error strong{line-height:1.3;overflow-wrap:anywhere}
.vp-settings{z-index:7}.vp-settings-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 13px}
.vp-settings-head strong{font-size:12px;font-weight:600}.vp-settings-head>button{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid #ffffff20;border-radius:9px;background:#ffffff0b;color:inherit;font-size:24px;padding:0}
.vp:has(.vp-resume:not([hidden])) .vp-controls,.vp:has(.vp-error:not([hidden])) .vp-controls{visibility:hidden;pointer-events:none}
.vp:has(.vp-resume:not([hidden])) .vp-center,.vp:has(.vp-resume:not([hidden])) .vp-top,.vp:has(.vp-resume:not([hidden])) .vp-next-prompt,.vp:has(.vp-error:not([hidden])) .vp-center,.vp:has(.vp-error:not([hidden])) .vp-top,.vp:has(.vp-error:not([hidden])) .vp-next-prompt{visibility:hidden;pointer-events:none}
.voice-picker,.voice-fields,.voice-picker label{min-width:0}.voice-picker select{max-width:100%}
.voice-picker{display:grid;grid-template-columns:1fr;gap:13px;align-items:stretch}
.voice-picker .voice-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;width:100%;gap:12px}
.voice-picker .voice-fields label,.voice-picker .voice-advanced label{display:flex;flex-direction:column;align-items:stretch;gap:8px;letter-spacing:0;font-size:11px}
.voice-picker .voice-fields select,.voice-picker .voice-advanced select{width:100%;min-width:0;min-height:46px}
.voice-picker .voice-advanced{width:100%;max-width:none}.voice-picker p{max-width:none;margin:0;font-size:11px;line-height:1.65}
.voice-picker .voice-advanced[hidden]{display:none}
.episode-grid .episode-option{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:64px;padding:10px 6px;overflow:hidden}
.episode-option .ep-number{display:block;font-size:18px;line-height:1.1}.episode-option small{display:block;max-width:100%;font-size:9px;line-height:1.2;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:600px){
 .watch-studio .playback-nav{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:9px;align-items:center}
 .playback-nav .button{width:100%;min-width:0;min-height:44px;padding:10px 8px;font-size:12px}
 #episode-counter{font-size:11px;white-space:nowrap}
 .watch-tools .button{flex:1 1 140px;margin:0!important;min-height:44px;font-size:12px}
 .watch-tools .watch-status{flex-basis:100%;font-size:12px;line-height:1.65}
 .vp{border-radius:10px}.vp-top{padding:10px 12px 22px;gap:8px}.vp-title{font-size:11px;min-width:0}.vp-episode{font-size:9px;flex:none;padding:5px 7px}
 .vp-center{width:44px;height:44px;top:30%}.vp-center svg{width:22px;height:22px}
 .vp-controls{padding:22px 8px 6px}.vp-timeline{padding:9px 3px}
 .vp-row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;align-items:center;margin:0}
 .vp-row>button{display:grid!important;width:100%;min-width:0;height:36px;min-height:36px;padding:7px;border-radius:8px;grid-row:2;margin:0}
 .vp-row>.vp-toggle{grid-column:1}.vp-row>.vp-previous{grid-column:2}.vp-row>.vp-next{grid-column:3}.vp-row>.vp-mute{grid-column:4}.vp-row>.vp-settings-button{grid-column:5}.vp-row>.vp-pip{grid-column:6}.vp-row>.vp-full{grid-column:7}
 .vp-row>.vp-pip[hidden]{display:none!important}.vp-row>.vp-pip:not([hidden]){display:grid!important}
 .vp-row svg{width:19px;height:19px}.vp-volume{display:none}.vp-time{grid-row:1;grid-column:1/-1;padding:0 5px 4px;margin:0;font-size:10px;line-height:1.2;letter-spacing:.1px}
 .vp-settings{inset:7px;width:auto;max-width:none;max-height:calc(100% - 14px);padding:11px 13px;border-radius:10px;background:#17121ff7}
 .vp-settings label{font-size:11px;gap:12px;margin-bottom:10px}.vp-settings select{min-height:36px;font-size:16px;width:55%;max-width:170px;padding:6px 9px}
 .vp-settings-head{margin-bottom:10px}.vp-settings-head>button{width:36px;height:36px}.vp-settings .vp-autonext{min-width:18px;width:18px;height:18px}
 .vp:has(.vp-settings:not([hidden])) .vp-controls,.vp:has(.vp-settings:not([hidden])) .vp-top,.vp:has(.vp-settings:not([hidden])) .vp-center,.vp:has(.vp-settings:not([hidden])) .vp-next-prompt{visibility:hidden;pointer-events:none}
 .vp-resume,.vp-error{padding:13px 15px}.vp-resume strong,.vp-error strong{font-size:18px;letter-spacing:-.4px}.vp-resume p,.vp-error p{font-size:11px;line-height:1.5;margin:8px 0 12px;max-width:300px}
 .vp-resume>div{gap:8px}.vp-resume button,.vp-error button{font-size:12px;min-height:42px;padding:9px 10px}
 .vp-next-prompt{top:9px;right:9px;bottom:auto;width:155px;max-width:50%;padding:8px;border-radius:9px}.vp-next-prompt>span{font-size:9px;margin-bottom:6px}.vp-next-prompt button{min-height:32px;padding:7px 10px;font-size:11px}
 .vp:has(.vp-next-prompt:not([hidden])) .vp-top,.vp:has(.vp-next-prompt:not([hidden])) .vp-center{visibility:hidden}
 .vp-feedback{max-width:calc(100% - 24px);width:max-content;font-size:11px;line-height:1.5;padding:9px 12px;text-align:center}
 .voice-picker .voice-fields select,.voice-advanced select{font-size:16px;min-height:46px;line-height:1.3}
 .episode-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
 .vp-background button{width:100%;font-size:13px;min-height:46px}.vp-background p{font-size:11px}
}
@media(max-width:359px){.vp-row>button{padding:6px}.vp-row svg{width:18px;height:18px}.vp-error strong,.vp-resume strong{font-size:16px}.vp-error p,.vp-resume p{font-size:10px;margin:6px 0 9px}.vp-resume button,.vp-error button{min-height:38px;font-size:11px}.voice-picker .voice-fields{grid-template-columns:1fr}}

/* Readability floor (2026-10-23): no user-facing text below 11-12px and no tap target below 44px on phones. Kept last so it wins over older files. */
.close-button,.theme-button,.filter-close,.icon-button{min-width:44px;min-height:44px}
html[data-theme] .tabs button,.catalog-scope button,.filters .genres button,.filter-footer #reset-filters{min-height:44px}
.vp-row>button,.vp-settings-head>button,.vp-settings select,.vp-next-prompt button{min-height:44px}
.vp-row>button{height:44px}
.bottom-nav button{font-size:12px}
.watch-label{font-size:11px}
.card-meta,.card-availability,.card-availability small{font-size:12px}
.filters .genres button,.catalog-scope button,.filter-footer #reset-filters{font-size:13px}
.filter-kicker,.theme-options small,.season-tile-copy small,.season-scroll-hint,.episode-option small{font-size:11px}
.vp-title,.vp-episode,.vp-time,.vp-next-prompt>span,.vp-next-prompt button,.vp-error p,.vp-resume p,.vp-loading p,.vp-embed-note{font-size:12px}
@media(max-width:359px){.bottom-nav button{font-size:11px}.watch-label{font-size:10px}}

/* Title page: trailer embed and collapsible description. */
.trailer-area{position:relative;aspect-ratio:16/9;margin:14px 0;border-radius:14px;overflow:hidden;background:#060609}
.trailer-area iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.synopsis.collapsed{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
.synopsis-more{min-height:44px;padding:0;border:0;background:transparent;color:var(--accent,#c9acec);font:inherit;font-weight:600;cursor:pointer}

/* Polish (2026-10-23): quiet feedback link, compact catalog header, description control, empty states. */
.watch-tools .button.report-playback{flex:0 0 auto;min-width:0;padding:0 4px;background:transparent;border:0;box-shadow:none;color:var(--muted,#9b8fae);font-size:12px;font-weight:500;text-decoration:underline;text-underline-offset:3px}
.watch-tools .button.report-playback:hover,.watch-tools .button.report-playback:focus-visible{color:var(--ink,#f4effa);background:transparent}
.catalog-scope{display:none}
.synopsis-more{font-size:14px;margin-top:6px}
.empty{display:grid;justify-items:center;gap:16px;text-align:center}
.empty[hidden]{display:none}
.empty p{margin:0;max-width:420px}
.empty .button{min-height:48px;padding:0 22px}
.episode-option small:empty{display:none}

/* Season and studio (2026-10-23). */
.detail-studios{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.studio-chip{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 14px;border:1px solid var(--line-strong,#4a3f5c);border-radius:999px;background:var(--surface,#1b1724);color:var(--ink,#f4effa);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.studio-chip span{font-size:11px;font-weight:500;color:var(--muted,#9b8fae);text-transform:uppercase;letter-spacing:.6px}
.studio-chip:hover,.studio-chip:focus-visible{border-color:var(--accent,#c9acec)}
.studio-filter-chip{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin:0 0 14px;padding:6px 10px 6px 16px;border:1px solid var(--accent,#c9acec);border-radius:999px;background:transparent;color:var(--ink,#f4effa);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.studio-filter-chip b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--accent,#c9acec);color:#251a33;font-weight:700}

/* Telegram channel: header pill and the card above the footer (2026-10-23). */
header .channel-button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px 0 12px;margin-left:auto;border-radius:999px;background:linear-gradient(135deg,#34b3f0,#1f8fd0);color:#fff;font-size:13px;font-weight:600;text-decoration:none;box-shadow:0 6px 18px #2aabee3d;transition:transform .15s,box-shadow .15s}
header .channel-button svg{width:18px;height:18px;fill:currentColor;flex:none}
header .channel-button:hover,header .channel-button:focus-visible{transform:translateY(-1px);box-shadow:0 10px 24px #2aabee59}
header #web-login{margin-left:8px}
.channel-card{display:flex;align-items:center;gap:16px;margin:26px 0 8px;padding:18px 20px;border-radius:18px;background:linear-gradient(135deg,#1c2a3d,#151a2a 60%,#1a1725);border:1px solid #2aabee33;color:var(--ink,#f2f0f8);text-decoration:none;box-shadow:0 14px 40px #0000004a;transition:border-color .15s,transform .15s}
.channel-card:hover,.channel-card:focus-visible{border-color:#2aabee88;transform:translateY(-1px)}
.channel-card-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#34b3f0,#1f8fd0);box-shadow:0 6px 18px #2aabee4d}
.channel-card-icon svg{width:24px;height:24px;fill:#fff}
.channel-card-text{display:grid;gap:4px;min-width:0;flex:1}
.channel-card-text strong{font-size:16px;letter-spacing:-.2px}
.channel-card-text small{font-size:12px;color:var(--muted,#9b98aa);line-height:1.5}
.channel-card-action{flex:none;min-height:40px;display:inline-flex;align-items:center;padding:0 18px;border-radius:999px;background:#2aabee;color:#fff;font-size:13px;font-weight:600}
html[data-theme=light] .channel-card{background:linear-gradient(135deg,#eaf4fb,#f4f2f8);border-color:#2aabee55;box-shadow:0 10px 30px #2aabee22}
@media(max-width:600px){
 header .channel-button{padding:0 11px;min-width:40px;justify-content:center}
 header .channel-button span{display:none}
 .channel-card{gap:12px;padding:14px 14px;border-radius:16px}
 .channel-card-icon{width:42px;height:42px}
 .channel-card-text strong{font-size:14px}
 .channel-card-text small{font-size:11px}
 .channel-card-action{display:none}
}

/* Channel avatar in the pill and the card: a round photo with a soft ring and a small Telegram badge. */
header .channel-button{padding:0 16px 0 7px;gap:9px}
header .channel-button img{width:26px;height:26px;border-radius:50%;object-fit:cover;border:2px solid #ffffffcc;box-shadow:0 2px 8px #0003;flex:none}
.channel-card-icon{position:relative;width:56px;height:56px;background:none;box-shadow:none;border-radius:50%;padding:2px;background:linear-gradient(135deg,#34b3f0,#c8b6ff)}
.channel-card-icon img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;border:2px solid var(--surface,#1a1b23);background:#fff}
.channel-card-badge{position:absolute;right:-3px;bottom:-3px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,#34b3f0,#1f8fd0);border:2px solid var(--surface,#1a1b23);box-shadow:0 3px 8px #0004}
.channel-card-badge svg{width:11px;height:11px;fill:#fff}
@media(max-width:600px){header .channel-button{padding:0 5px;min-width:40px}header .channel-button img{width:28px;height:28px}.channel-card-icon{width:48px;height:48px}}
