.media-choice{font:inherit;font-weight:700;color:var(--accent,#145bc7);background:#fff;border:1px solid #d4dfed;border-radius:6px;min-height:38px;padding:6px 32px 6px 10px;max-width:100%;letter-spacing:0}
.media-choice:focus-visible{outline:3px solid #357de6;outline-offset:2px}
.tv-library-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.cinema-panel[hidden]{display:none!important}
.cinema-panel{position:relative;min-height:420px;background:#11151b}
.cinema-panel iframe{display:block;width:100%;height:100%;min-width:0;border:0;background:#11151b}
.cinema-loading{position:absolute;inset:0;display:grid;place-items:center;color:#c7d3df;pointer-events:none}
#tvOnlineModal[data-media-mode="cinema"]{width:100vw;right:auto}
#tvOnlineModal[data-media-mode="cinema"] .tv-online-dialog{width:min(1280px,100%);min-width:0;max-width:100%;height:calc(100dvh - 36px);max-height:calc(100dvh - 36px);display:flex;flex-direction:column;padding:0;overflow:hidden}
#tvOnlineModal[data-media-mode="cinema"] .tv-online-head{position:relative;top:0;flex:none;margin:0;border-radius:8px 8px 0 0;padding:10px 46px 10px 16px}
#tvOnlineModal[data-media-mode="cinema"] .tv-online-dialog>:not(.tv-online-head):not(.cinema-panel){display:none!important}
#tvOnlineModal[data-media-mode="cinema"] .cinema-panel{flex:1;min-height:0;min-width:0}
.mrphan-cinema-embedded .search{min-width:0;width:100%}
.mrphan-cinema-embedded .search button{flex-shrink:0}
.mrphan-cinema-embedded :is(.brand,h1){letter-spacing:0}
.mrphan-cinema-embedded .movie-card{border-radius:6px}
.mrphan-cinema-remote{--cinema-favorite-columns:8}
.cinema-app-shell{margin:0;height:100vh;height:100dvh;overflow:hidden;background:#151719 url('/hh3d/public/assets/mrphan-catalog-bg.webp') center/cover no-repeat;color:#eff5f2;font-family:Arial,sans-serif;letter-spacing:0}
.mrphan-cinema-remote body{background:#151719 url('/hh3d/public/assets/mrphan-catalog-bg.webp') center/cover fixed no-repeat}
.mrphan-cinema-remote .catalog,.mrphan-cinema-remote .cinema-episodes{background:#151719bb}
.cinema-opening .player-stage:before{content:'';position:absolute;inset:0;background:#101413 url('/hh3d/public/assets/mrphan-player-bg.webp') center/cover no-repeat;z-index:2;pointer-events:none}
.cinema-opening .online-loading{background:#10141330}
.cinema-app-head{position:relative;height:64px;box-sizing:border-box;display:flex;align-items:center;gap:16px;padding:8px 32px;border-bottom:1px solid #3d4549;background:#151719}
.cinema-app-tools{display:flex;align-items:center;gap:16px;min-width:0;flex:1;max-width:calc(50% - 72px)}
.cinema-app-tools .cinema-mode-link{display:flex;align-items:center;gap:8px;flex:none;text-align:left;line-height:1.15;font-size:19px}
.cinema-brand-icon{display:grid;place-items:center;width:30px;height:32px;border-radius:6px;background:#36ddbd;color:#152a27;font-size:16px}
.cinema-brand-sub{display:block;margin-top:2px;font-size:9px;color:#9daea4}
.cinema-app-search{display:flex;align-items:center;gap:4px;min-width:0;flex:1;padding:3px;border:1px solid #46514b;border-radius:6px;background:#202725}
.cinema-app-search input{width:100%;min-width:0;flex:1;padding:7px 6px;border:0;background:transparent;color:#edf5f0;font:14px Arial,sans-serif}
.cinema-app-search button{min-height:36px;flex:none;padding:6px 10px;border:0;border-radius:4px;background:#36ddbd;color:#112b25;font:700 13px Arial,sans-serif;cursor:pointer}
.cinema-app-search :focus-visible{outline:2px solid #73e9c3;outline-offset:2px}
.cinema-app-head .media-choice{color:#eff5f2;background:#252c30;border-color:#4d5a60;min-height:46px;font-size:20px}
.cinema-app-total{font-size:13px;color:#b8c6c0}
.cinema-app-version{flex:none;white-space:nowrap;font-size:13px;color:#9ea9a4}
.cinema-app-head .cinema-app-total{margin-left:auto;max-width:25%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.cinema-app-clock{position:absolute;left:50%;transform:translateX(-50%);font-size:17px;color:#d5dfd9;white-space:nowrap;font-variant-numeric:tabular-nums}
.cinema-mode-link{font:700 20px Arial,sans-serif;color:#eff5f2;border:0;border-bottom:2px solid transparent;background:transparent;border-radius:0;padding:8px 0;min-height:46px;cursor:pointer}
.cinema-mode-link:focus-visible{outline:0;border-bottom-color:#73e9c3}
.cinema-app-shell .cinema-panel{height:calc(100% - 64px);min-height:0}
.mrphan-cinema-remote :is(a,button,select,input):focus{outline:3px solid #73e9c3!important;outline-offset:3px;box-shadow:0 0 0 5px #10191e!important;scroll-margin:90px 24px}
.mrphan-cinema-remote .movie-card{border-radius:6px}
.mrphan-cinema-remote .movie-card:focus-within .poster{outline:3px solid #73e9c3;outline-offset:-3px}
.mrphan-cinema-remote .movie-card:focus-within .card-title{color:#73e9c3}
.mrphan-cinema-remote .favorite-toggle{opacity:1!important}
.mrphan-cinema-remote .favorite-toggle{width:30px;height:30px;right:7px;bottom:34px;font-size:24px}
.mrphan-cinema-remote .format-badge{height:24px;line-height:20px;padding:2px 6px;bottom:8px;max-width:calc(100% - 46px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mrphan-cinema-remote .site-header{display:none}
.mrphan-cinema-remote .header-inner{min-height:60px;padding:8px 24px;gap:20px}
.mrphan-cinema-remote .brand{font-size:20px;gap:9px}
.mrphan-cinema-remote .brand-icon{width:30px;height:32px;border-radius:6px;font-size:16px;box-shadow:none}
.mrphan-cinema-remote .brand-sub{font-size:9px;margin-top:-2px}
.mrphan-cinema-remote .search{max-width:590px;padding:3px 4px 3px 10px;gap:8px}
.mrphan-cinema-remote .search input{padding:5px 0}
.mrphan-cinema-remote .search button{padding:7px 13px}
.mrphan-cinema-remote .catalog{padding:12px 24px 24px}
.mrphan-cinema-remote .filters{gap:6px;margin-bottom:10px}
.mrphan-cinema-remote .filter{padding:5px 12px}
.mrphan-cinema-remote .movie-card .card-title{height:29px;box-sizing:border-box;font-size:12px;line-height:1.2;padding:7px}
.mrphan-cinema-remote .cinema-title-text{display:inline-block;width:max-content;max-width:none;vertical-align:top;white-space:nowrap}
.mrphan-cinema-remote .movie-card:focus-within .cinema-title-overflow{text-overflow:clip}
.mrphan-cinema-remote .movie-card:focus-within .cinema-title-overflow .cinema-title-text{animation:cinema-title-marquee var(--cinema-title-duration) linear infinite}
@keyframes cinema-title-marquee{0%,12%{transform:translateX(0)}75%,88%{transform:translateX(var(--cinema-title-shift))}100%{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.mrphan-cinema-remote .cinema-title-text{animation:none!important;transform:none!important}}
.mrphan-cinema-remote .filters :is(a,button),.mrphan-cinema-remote .pagination a{min-height:42px;display:inline-flex;align-items:center;justify-content:center}
.mrphan-cinema-remote .player-toolbar .icon-btn{min-width:44px;min-height:44px}
.mrphan-cinema-remote .player-track select{min-height:44px}
.mrphan-cinema-remote #player-seek{accent-color:#73e9c3}
.mrphan-cinema-remote #player-seek.cinema-seek-editing{accent-color:#ffcf67;outline-color:#ffcf67!important;background:#ffcf671f}
.mrphan-cinema-remote .movie-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px 10px}
.mrphan-cinema-remote .favorites{margin-bottom:2px}
.mrphan-cinema-remote .favorites-head{margin-bottom:8px}
.mrphan-cinema-remote .favorites-head button{display:none}
.mrphan-cinema-remote .favorites-track{gap:10px}
.mrphan-cinema-remote .favorites-track .movie-card{flex-basis:calc((100% - (var(--cinema-favorite-columns) - 1) * 10px) / var(--cinema-favorite-columns))}
.mrphan-cinema-embedded .favorites-track :is(.favorite-toggle,.format-badge){display:none}
.mrphan-cinema-embedded .favorites-track .episode-badge{top:auto;bottom:8px;left:50%;right:auto;transform:translateX(-50%);max-width:calc(100% - 16px);height:24px;line-height:20px;padding:2px 6px;box-sizing:border-box;text-align:center;font-size:10px}
.cinema-choosing>.site-header,.cinema-choosing>.catalog,.cinema-choosing>#player{display:none!important}
html[data-mrphan-film] .cinema-playing #player{inset:0;max-width:none;width:100%;height:100%;margin:0;border-radius:0;box-sizing:border-box}
.cinema-episodes{padding:24px 32px;max-width:1500px;margin:auto}
.cinema-episode-head{display:flex;align-items:center;gap:20px;margin-bottom:24px}
.cinema-episode-back{flex:none;width:44px;height:44px;background:transparent;color:#cce9de;border:1px solid #495b54;border-radius:6px;font-size:26px;cursor:pointer}
.cinema-episode-poster{width:84px;aspect-ratio:360/485;object-fit:cover;border-radius:6px;flex:none}
.cinema-episode-info{min-width:0}.cinema-episode-info h1{font-size:24px;line-height:1.35;overflow-wrap:anywhere;letter-spacing:0;margin:0 0 8px}
.cinema-episode-meta{font-size:14px;color:#a8b8b0;margin:0}
.cinema-film-details{margin:0 0 8px;font-size:13px;line-height:1.55}
.cinema-film-detail{display:flex;align-items:baseline;gap:8px;margin:3px 0}
.cinema-film-detail dt{flex:0 0 auto;color:#d8e4df;font-weight:650}
.cinema-film-detail dd{margin:0;min-width:0;overflow-wrap:anywhere;color:#b8c9c0}
.cinema-film-detail dd[data-metadata="genres"]{display:flex;flex-wrap:wrap;gap:4px}
.cinema-genre{display:inline-block;padding:1px 7px;border:1px solid #516259;border-radius:5px;color:#d1e6db;font-size:12px;line-height:1.5}
.cinema-genre[href]{cursor:pointer}
.cinema-genre[href]:hover,.cinema-genre[href]:focus-visible{color:#93f2d3;border-color:#73e9c3;background:#253c32}
.cinema-genre-return{margin:0 0 14px}
.cinema-genre-back{min-height:36px;padding:6px 12px;border:1px solid #516259;border-radius:5px;background:#202c27;color:#d1e6db;font:inherit;cursor:pointer}
.cinema-genre-back:hover{border-color:#73e9c3;color:#93f2d3}
.cinema-episode-status{font-size:15px;color:#acbdb5;min-height:22px;margin:0 0 16px}.cinema-episode-status:empty{display:none}
.cinema-episode-variants{display:flex;gap:8px;margin-bottom:12px}
.cinema-episode-variants button,.cinema-episode-retry{font:600 16px Arial,sans-serif;min-height:44px;padding:8px 18px;border:1px solid #4e6257;border-radius:6px;background:#252d2a;color:#e7eeea;cursor:pointer}
.cinema-episode-variants button[aria-pressed="true"]{background:#73e9c3;color:#102b20;border-color:#73e9c3}
.cinema-episode-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px}
.mrphan-cinema-embedded .cinema-episode-grid{grid-template-columns:repeat(8,minmax(0,1fr))}
.cinema-episode{min-height:56px;min-width:0;padding:10px 8px;font:600 16px Arial,sans-serif;overflow-wrap:anywhere;background:#242b29;color:#edf5f0;border:1px solid #47534d;border-radius:6px;cursor:pointer}
.cinema-episode:hover{border-color:#73e9c3}
.cinema-related{margin-top:28px;padding-top:20px;border-top:1px solid #36443e}
.cinema-related h2{font-size:18px;color:#73e9c3;line-height:1.4;margin:0 0 14px;letter-spacing:0}
.cinema-related-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px 10px}
.cinema-related-card{min-width:0;overflow:hidden;background:#242b29;border:1px solid #47534d;border-radius:6px}
.cinema-related-link{display:block;min-width:0;color:#edf5f0;text-decoration:none}
.cinema-related-poster{aspect-ratio:360/500;background:#303b3a}
.cinema-related-poster img{display:block;width:100%;height:100%;object-fit:cover}
.cinema-related-card .card-title{padding:8px;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cinema-related-link[aria-current]{color:#8ff0ce}
.cinema-related-card[data-current],.cinema-related-card:focus-within,.cinema-related-card:hover{border-color:#73e9c3}
@media(max-width:640px){.mrphan-cinema-remote .player-toolbar .icon-btn{grid-row:3}}
@media(max-width:600px){.cinema-episodes{padding:20px 16px}.cinema-episode-head{gap:12px}.cinema-episode-poster{width:60px}.cinema-episode-info h1{font-size:20px}.cinema-episode-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cinema-episode{font-size:14px}}
@media(min-width:1600px){.mrphan-cinema-remote{--cinema-favorite-columns:10}}
@media(max-width:900px){.mrphan-cinema-remote{--cinema-favorite-columns:6}}
@media(max-width:600px){.mrphan-cinema-remote{--cinema-favorite-columns:3}.mrphan-cinema-remote .header-inner{padding-inline:16px}.mrphan-cinema-remote .catalog{padding-inline:16px}.cinema-app-head{padding-inline:16px}.cinema-app-head .media-choice{font-size:17px}#tvOnlineModal[data-media-mode="cinema"]{padding:8px}#tvOnlineModal[data-media-mode="cinema"] .tv-online-dialog{height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}}
@media(max-width:900px){.cinema-app-head{height:104px;align-items:flex-start;padding-top:8px;padding-bottom:40px}.cinema-app-tools{max-width:none}.cinema-app-head .cinema-app-total{position:absolute;right:32px;bottom:12px;margin-left:0}.cinema-app-clock{bottom:10px}.cinema-app-version{align-self:flex-start;padding-top:14px}.cinema-app-shell .cinema-panel{height:calc(100% - 104px)}}
@media(max-width:420px){.mrphan-cinema-remote{--cinema-favorite-columns:2}.cinema-app-head{gap:8px;height:104px;padding-bottom:40px}.cinema-app-tools{gap:8px}.cinema-app-tools .cinema-mode-link{font-size:16px;gap:6px}.cinema-brand-icon{width:24px;height:28px}.cinema-brand-sub{font-size:8px}.cinema-app-head .cinema-app-total{display:none}.cinema-app-search button{padding-inline:6px}.cinema-app-version{position:absolute;right:16px;bottom:12px;padding:0}.cinema-app-shell .cinema-panel{height:calc(100% - 104px)}}
@media(max-width:600px){.mrphan-cinema-embedded:not(.mrphan-cinema-remote) .cinema-episode-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cinema-related-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.mrphan-cinema-remote .movie-grid .format-badge{display:none}}
@media(max-width:600px){.mrphan-cinema-remote .cinema-episode-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
