/* 10果 · Cinema iOS 1.0 — presentation only, original routes / APIs / player retained. */
html.cine-ui{--cine-bg:#0d0e12;--cine-surface:#17191f;--cine-raised:#232630;--cine-text:#f4f4f7;--cine-muted:#a6a8b3;--cine-accent:#f26392;--cine-edge:rgba(255,255,255,.075);--cine-font:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Noto Sans CJK SC",sans-serif;background:var(--cine-bg);color-scheme:dark;scroll-padding-top:100px;-webkit-text-size-adjust:100%}
html.cine-ui body,html.cine-ui uni-page-body,html.cine-ui .sg-player-root{background:var(--cine-bg)!important;color:var(--cine-text);font-family:var(--cine-font)}
html.cine-ui button,html.cine-ui input{font-family:var(--cine-font)}
html.cine-ui button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
html.cine-ui button:focus-visible,html.cine-ui a:focus-visible{outline:2px solid var(--cine-accent);outline-offset:3px}
html.cine-ui button:disabled{cursor:default}
html.cine-ui #sg-home,html.cine-ui #sg-player{width:100%;max-width:100%;zoom:1;font-family:var(--cine-font);background:var(--cine-bg);color:var(--cine-text);font-size:14px;line-height:1.5;overflow-x:clip}
html.cine-ui #sg-home *,html.cine-ui #sg-player *{box-sizing:border-box}
html.cine-ui #sg-home button,html.cine-ui #sg-player button{transition:background-color .16s,color .16s,opacity .16s;touch-action:manipulation}
html.cine-ui #sg-home button:not(:disabled):active,html.cine-ui #sg-player button:not(:disabled):active{opacity:.72}
html.cine-ui #sg-home .sg-container,html.cine-ui #sg-player .sp-content,html.cine-ui #sg-player .sp-header-inner{width:100%;max-width:1440px;margin:0 auto;padding-left:32px;padding-right:32px}
/* A single safe-area owner per header. No hardcoded notch height. */
html.cine-ui #sg-home .sg-header,html.cine-ui #sg-player .sp-header{position:sticky;top:0;left:auto;right:auto;width:100%;height:auto;z-index:50;background:rgba(13,14,18,.98);border-bottom:1px solid transparent;padding-top:env(safe-area-inset-top,0px);backdrop-filter:none;-webkit-backdrop-filter:none}
html.cine-ui.cine-scrolled #sg-home .sg-header,html.cine-ui.cine-scrolled #sg-player .sp-header{border-bottom-color:var(--cine-edge)}
html.cine-ui #sg-home .sg-header-inner{height:auto;min-height:72px;display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center}
html.cine-ui #sg-home .sg-brand{gap:9px;flex:none;min-height:44px;font-size:18px;letter-spacing:-.3px}
html.cine-ui #sg-home .sg-logo-title,html.cine-ui #sg-player .sp-logo-title{display:block;font-size:17px;font-weight:650;letter-spacing:-.3px;white-space:nowrap}
html.cine-ui #sg-home .sg-logo-image,html.cine-ui #sg-player .sp-logo-image{width:30px;height:30px;border-radius:8px;object-fit:contain}
html.cine-ui #sg-home .sg-logo-mark,html.cine-ui #sg-player .sp-logo-symbol{width:30px;height:30px;background:var(--cine-accent);color:#190c13;border-radius:9px;font-size:18px;font-weight:800;display:grid;place-items:center}
html.cine-ui #sg-home .sg-nav{display:flex;position:static;width:auto;height:52px;align-items:center;gap:22px;overflow-x:auto;white-space:nowrap;scrollbar-width:none;flex:1;justify-content:center}
html.cine-ui #sg-home .sg-nav::-webkit-scrollbar,html.cine-ui #sg-player .sp-nav::-webkit-scrollbar{display:none}
html.cine-ui #sg-home .sg-nav button{min-height:44px;flex:none;color:var(--cine-muted);font-size:15px;position:relative}
html.cine-ui #sg-home .sg-nav button.is-active{color:var(--cine-text);font-weight:650}
html.cine-ui #sg-home .sg-nav button.is-active:after{content:'';position:absolute;bottom:1px;height:3px;left:calc(50% - 9px);width:18px;border-radius:3px;background:var(--cine-accent)}
html.cine-ui #sg-home .sg-nav button:before{display:none}
html.cine-ui .cine-header-tools{display:flex;gap:10px;align-items:center;margin-left:auto}
html.cine-ui #sg-home .cine-icon-button,html.cine-ui #sg-player .cine-icon-button,html.cine-ui #sg-player .cine-back{display:flex;align-items:center;justify-content:center;min-width:44px;height:44px;border-radius:50%;background:var(--cine-surface);padding:10px;flex:none}
html.cine-ui #sg-home .cine-icon-button svg{width:22px;height:22px}
html.cine-ui #sg-home .tg-official-link{margin:0!important;min-height:36px!important;height:auto!important;border:1px solid var(--cine-edge)!important;background:var(--cine-surface)!important;border-radius:99px!important;box-shadow:none!important;color:var(--cine-muted)!important;padding:8px 12px!important;font-size:11px!important;line-height:16px!important;gap:4px!important}
html.cine-ui #sg-home .tg-official-link:before{display:none!important}
html.cine-ui #sg-home .tg-official-link strong{color:var(--cine-text)!important;font-size:12px!important}
html.cine-ui #sg-home main{padding-top:0}
/* Editorial hero: artwork preserves its natural composition, text has its own area. */
html.cine-ui #sg-home .sg-hero{position:relative;min-height:0;height:auto;margin:12px auto 40px;padding:0 32px;width:100%;max-width:1440px;background:none;overflow:visible;aspect-ratio:auto}
html.cine-ui #sg-home .sg-hero:before,html.cine-ui #sg-home .sg-hero:after{display:none}
html.cine-ui #sg-home .sg-hero-slide{display:grid;position:relative;inset:auto;min-height:0;height:auto;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:center;border-radius:20px;background:var(--cine-surface);overflow:hidden;opacity:1;transform:none}
html.cine-ui #sg-home .cine-hero-art{position:relative;display:block;width:100%;padding:0;aspect-ratio:16/9;border-radius:0;overflow:hidden;background:#1b1e27;line-height:0;touch-action:pan-y}
html.cine-ui #sg-home .cine-hero-image{display:block;width:100%;height:100%;object-fit:contain;position:absolute;inset:0}
html.cine-ui #sg-home .cine-hero-scrim{position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.48));pointer-events:none}
html.cine-ui #sg-home .cine-hero-kicker{position:absolute;bottom:18px;left:20px;color:#fff;font-size:11px;font-weight:650;letter-spacing:2px;line-height:18px;text-shadow:0 1px 6px #000}
html.cine-ui #sg-home .sg-hero-content{display:flex;flex-direction:column;justify-content:center;position:relative;inset:auto;transform:none;width:100%;max-width:none;margin:0;padding:32px;gap:16px;z-index:1;background:none}
html.cine-ui #sg-home .cine-hero-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--cine-muted);font-size:11px;letter-spacing:1px}
html.cine-ui #sg-home .cine-hero-label{color:var(--cine-accent);font-weight:600}
html.cine-ui #sg-home .cine-hero-counter{font-variant-numeric:tabular-nums}
html.cine-ui #sg-home .sg-hero h1{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:30px;line-height:1.3;font-weight:700;letter-spacing:-.6px;margin:0;color:var(--cine-text);text-shadow:none;overflow-wrap:anywhere}
html.cine-ui #sg-home .sg-hero .sg-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--cine-muted);font-size:13px;line-height:1.65;margin:0}
html.cine-ui #sg-home .cine-hero-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
html.cine-ui #sg-home .sg-watch{display:inline-flex;min-height:48px;border-radius:12px;padding:0 22px;background:var(--cine-text);color:#14151b;font-size:14px;font-weight:650;gap:8px;box-shadow:none;white-space:nowrap}
html.cine-ui #sg-home .sg-watch .sg-icon{width:18px;height:18px}
html.cine-ui #sg-home .sg-dots{position:static;display:flex;align-items:center;gap:0;transform:none;margin:0;width:auto}
html.cine-ui #sg-home .sg-dots button{display:grid;place-items:center;min-width:22px;width:22px;height:44px;border-radius:0;background:none;padding:0;opacity:1}
html.cine-ui #sg-home .sg-dots button:after{content:'';width:4px;height:4px;border-radius:3px;background:#626675}
html.cine-ui #sg-home .sg-dots button.is-active:after{width:14px;background:var(--cine-accent)}
html.cine-ui #sg-home .sg-hero-placeholder{display:flex;flex-direction:column;gap:16px;align-items:center;justify-content:center;min-height:300px;border-radius:18px;background:var(--cine-surface);color:var(--cine-muted)}
html.cine-ui #sg-home .sg-hero-placeholder h1{font-size:24px}
/* Content rhythm: one horizontal rail, then a compact browsing grid. */
html.cine-ui #sg-home .sg-section{margin:0;padding:0 0 38px;border:0;background:none}
html.cine-ui #sg-home .sg-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin:0 0 12px}
html.cine-ui #sg-home .sg-section-head h2,html.cine-ui #sg-home .sg-section-head h1{font-size:21px;line-height:1.4;font-weight:650;letter-spacing:-.4px;color:var(--cine-text);margin:0}
html.cine-ui #sg-home .sg-section-head h2:before{display:none}
html.cine-ui #sg-home .sg-more{min-height:44px;padding:0 0 0 8px;font-size:12px;color:var(--cine-muted);display:flex;align-items:center;gap:2px;white-space:nowrap}
html.cine-ui #sg-home .sg-more .sg-icon{width:14px;height:14px}
html.cine-ui #sg-home .sg-rail,html.cine-ui #sg-home .sg-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;gap:24px 16px;width:100%;padding:0;margin:0;overflow:visible}
html.cine-ui #sg-home .sg-card{display:block;min-width:0;width:auto;flex:none;margin:0}
html.cine-ui #sg-home .sg-card-link{display:block;touch-action:manipulation}
html.cine-ui #sg-home .sg-cover{position:relative;aspect-ratio:3/4;width:100%;height:auto;border-radius:11px;overflow:hidden;background:#20232b;border:0;box-shadow:none}
html.cine-ui #sg-home .sg-cover-img{width:100%;height:100%;object-fit:cover;display:block;transform:none}
html.cine-ui #sg-home .sg-card-link:active{opacity:.75}
html.cine-ui #sg-home .sg-card h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;font-size:14px;font-weight:550;line-height:1.5;margin:9px 0 3px;min-height:21px;color:var(--cine-text);word-break:break-word}
html.cine-ui #sg-home .sg-badge{position:absolute;right:7px;left:auto;bottom:8px;top:auto;max-width:90%;font-size:10px;padding:3px 6px;border-radius:5px;background:rgba(10,11,16,.75);color:#ececf1;line-height:1.4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
html.cine-ui #sg-home .sg-meta{display:flex;justify-content:space-between;gap:6px;font-size:11px;line-height:1.5;color:var(--cine-muted);margin:0;flex-wrap:wrap}
html.cine-ui #sg-home .sg-meta button{min-height:24px;color:var(--cine-muted);font-size:11px}
html.cine-ui #sg-home .sg-card-play{background:rgba(20,21,28,.65);box-shadow:none}
html.cine-ui #sg-home .sg-skeletons{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
html.cine-ui #sg-home .sg-skeleton{height:auto;aspect-ratio:3/4;border-radius:11px;background:#1b1e26;animation:cine-breathe 1.8s ease-in-out infinite}
html.cine-ui #sg-home .sg-empty,html.cine-ui #sg-player .sp-empty{background:var(--cine-surface);border-radius:14px;min-height:150px;color:var(--cine-muted);padding:28px 20px}
html.cine-ui #sg-home .sg-browse{padding-top:16px;padding-bottom:24px}
html.cine-ui #sg-home .sg-filters{background:var(--cine-surface);border-radius:14px;padding:14px 16px;margin:0 0 24px}
html.cine-ui #sg-home .sg-filter-line{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;padding:0;margin:0 0 6px}
html.cine-ui #sg-home .sg-filter-line button{min-height:44px;min-width:44px;padding:8px 12px;border-radius:9px;color:var(--cine-muted);font-size:13px}
html.cine-ui #sg-home .sg-filter-line button.is-active{color:var(--cine-accent);background:#f2639214}
html.cine-ui #sg-home .sg-outline,html.cine-ui #sg-home .sg-pill{min-height:44px;border:1px solid var(--cine-edge);background:var(--cine-surface);border-radius:12px;padding:10px 20px;color:var(--cine-text)}
html.cine-ui #sg-home .sg-notices{padding-top:0;padding-bottom:20px;color:var(--cine-muted)}
html.cine-ui #sg-home .sg-notices button{min-height:44px;font-size:13px}
html.cine-ui #sg-home .sg-albums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
html.cine-ui #sg-home .sg-albums button{min-width:0;border-radius:12px;overflow:hidden;background:var(--cine-surface)}
html.cine-ui #sg-home .sg-albums img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
html.cine-ui #sg-home .sg-albums h3{padding:12px;font-size:14px;white-space:normal}
html.cine-ui #sg-home .sg-download{background:var(--cine-surface);margin-bottom:32px;border:0}
/* Player: same video element, aspect ratio from decoded media metadata. */
html.cine-ui #sg-player .sp-header-inner{height:auto;min-height:64px;display:flex;gap:12px;flex-wrap:wrap;align-items:center}
html.cine-ui #sg-player .sp-logo{min-height:44px;gap:9px;flex:1}
html.cine-ui #sg-player .sp-nav{display:flex;gap:24px;flex:0 0 100%;height:44px;justify-content:flex-start;overflow-x:auto;white-space:nowrap;align-items:center;scrollbar-width:none}
html.cine-ui #sg-player .sp-nav button{min-height:44px;font-size:13px;flex:none;color:var(--cine-muted)}
html.cine-ui #sg-player .sp-nav .is-current{color:var(--cine-accent)}
html.cine-ui #sg-player .sp-nav .is-current:before{display:none}
html.cine-ui #sg-player .sp-main{padding:16px 0 32px}
html.cine-ui #sg-player .sp-content{display:flex;gap:24px;max-width:1100px}
html.cine-ui #sg-player .tg-player-shell{border:0;border-radius:16px;width:100%;max-width:100%;margin:0 auto;background:#000;box-shadow:none}
html.cine-ui #sg-player .tg-player-shell.cine-portrait{max-width:480px}
html.cine-ui #sg-player .sp-player{aspect-ratio:var(--cine-video-ratio,1.77777778);height:auto;border-radius:0;position:relative;background:#000}
html.cine-ui #sg-player .sp-player video{width:100%!important;height:100%!important;object-fit:contain!important}
@supports not (aspect-ratio:1){html.cine-ui #sg-player .sp-player:before{content:'';display:block;padding-top:calc(100% / var(--cine-video-ratio,1.77777778))}}
html.cine-ui #sg-player .sp-center-play{border:1px solid #ffffff24;border-radius:50%;width:80px;height:80px;padding:0;background:#17191fdb;backdrop-filter:none;gap:0}
html.cine-ui #sg-player .sp-center-play>span{position:absolute;top:92px;font-size:12px;text-shadow:0 1px 6px #000}
html.cine-ui #sg-player .sp-center-play .sp-icon{width:32px;height:32px;flex-basis:32px}
html.cine-ui #sg-player .sp-loading{background:#101217;font-size:13px;gap:12px}
html.cine-ui #sg-player .sp-loading:before,html.cine-ui .cine-loading-dot{content:'';width:18px;height:18px;display:inline-block;border-radius:50%;border:2px solid #ffffff20;border-top-color:var(--cine-accent);animation:cine-spin .85s linear infinite}
html.cine-ui #sg-player .tg-seek-controls{padding:0 12px 8px;background:var(--cine-surface);font-family:var(--cine-font)}
html.cine-ui #sg-player .tg-seek-actions{gap:6px;flex-wrap:wrap}
html.cine-ui #sg-player .tg-seek-actions button{height:44px;min-width:44px;padding:0 8px;border-radius:10px;background:var(--cine-raised);font-size:12px}
html.cine-ui #sg-player .tg-seek-actions .tg-seek-play{background:var(--cine-accent);color:#210d15;font-size:16px}
html.cine-ui #sg-player .tg-seek-time{font-size:11px;color:var(--cine-muted);margin:0 2px}
html.cine-ui #sg-player .tg-seek-track-bg{height:4px;top:20px;background:#454955}
html.cine-ui #sg-player .tg-seek-played{background:var(--cine-accent)}
html.cine-ui #sg-player .tg-seek-range::-webkit-slider-thumb{width:18px;height:18px;margin-top:-6px;border:0;box-shadow:none;background:var(--cine-text)}
html.cine-ui #sg-player .tg-seek-range::-moz-range-thumb{width:18px;height:18px;border:0;box-shadow:none;background:var(--cine-text)}
html.cine-ui #sg-player .cine-play-message{display:flex;gap:12px;align-items:center;justify-content:space-between;color:var(--cine-muted);font-size:12px;padding:12px 16px;background:var(--cine-surface);border-radius:12px;margin-top:-12px}
html.cine-ui #sg-player .sp-secondary{min-height:44px;border-radius:10px;border-color:var(--cine-edge)}
html.cine-ui #sg-player .sp-details{gap:12px}
html.cine-ui #sg-player .sp-details h1{font-size:26px;line-height:1.35;font-weight:700;letter-spacing:-.5px}
html.cine-ui #sg-player .sp-metadata{font-size:12px;line-height:1.6;color:var(--cine-muted)}
html.cine-ui #sg-player .sp-tags{gap:6px}
html.cine-ui #sg-player .sp-tag{border:0;background:var(--cine-surface);color:var(--cine-muted);padding:5px 9px;font-size:11px;border-radius:6px}
html.cine-ui #sg-player .sp-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:var(--cine-muted);font-size:13px;line-height:1.75;white-space:pre-line;overflow-wrap:anywhere}
html.cine-ui #sg-player .sp-description.is-expanded{display:block;-webkit-line-clamp:unset}
html.cine-ui #sg-player .cine-text-button{min-height:44px;color:var(--cine-accent);font-size:12px}
html.cine-ui #sg-player .sp-actions{gap:8px;margin-top:0}
html.cine-ui #sg-player .sp-action{min-height:44px;padding:8px 14px;border:1px solid var(--cine-edge);border-radius:12px;color:var(--cine-muted);font-size:13px;background:var(--cine-surface)}
html.cine-ui #sg-player .sp-action.is-active{color:var(--cine-accent);border-color:#f2639240}
html.cine-ui #sg-player .sp-heading{font-size:20px;font-weight:650;line-height:1.4;margin-bottom:16px;letter-spacing:-.3px}
html.cine-ui #sg-player .sp-heading:before{display:none}
html.cine-ui #sg-player .sp-episodes{margin-top:22px;padding-top:24px;border-top:1px solid var(--cine-edge)}
html.cine-ui #sg-player .sp-episodes-head{margin-bottom:16px;justify-content:space-between}
html.cine-ui #sg-player .sp-episode-count{color:var(--cine-muted);font-size:12px}
html.cine-ui #sg-player .sp-line-buttons,html.cine-ui #sg-player .cine-episode-pages{display:flex;gap:8px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:12px;scrollbar-width:thin}
html.cine-ui #sg-player .sp-line-buttons button,html.cine-ui #sg-player .cine-episode-pages button{min-width:64px;min-height:44px;height:auto;padding:8px 12px;border:1px solid var(--cine-edge);border-radius:10px;background:var(--cine-surface);color:var(--cine-muted);font-size:12px;flex:none}
html.cine-ui #sg-player .sp-line-buttons .is-current,html.cine-ui #sg-player .cine-episode-pages .is-current{color:var(--cine-accent);border-color:#f2639238;background:#f2639212}
html.cine-ui #sg-player .sp-episode-buttons{grid-template-columns:repeat(10,minmax(0,1fr));gap:8px}
html.cine-ui #sg-player .sp-episode-buttons button{height:auto;min-height:46px;min-width:0;padding:10px 6px;border:1px solid var(--cine-edge);border-radius:10px;background:var(--cine-surface);color:#c3c6cf;font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
html.cine-ui #sg-player .sp-episode-buttons button.is-current{color:var(--cine-accent);background:#f263921a;border-color:#f2639266;font-weight:600}
html.cine-ui #sg-player .sp-related{margin-top:12px}
html.cine-ui #sg-player .sp-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 16px}
html.cine-ui #sg-player .sp-cover{border-radius:11px}
html.cine-ui #sg-player .sp-card h3{font-size:14px;line-height:1.5;font-weight:550;margin-top:9px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html.cine-ui #sg-player .sp-card-tags,html.cine-ui #sg-player .sp-card-views{color:var(--cine-muted);font-size:11px}
html.cine-ui #sg-player .sp-footer{background:transparent;border-top:1px solid var(--cine-edge);padding:28px 16px;color:var(--cine-muted);font-size:12px}
html.cine-ui #sg-player .sp-footer button{min-height:44px;color:var(--cine-accent)}
/* Fullscreen remains owned by the existing seek/player implementation. */
html.cine-ui #sg-player .tg-player-shell:fullscreen{max-width:none;width:100%;height:100%;border-radius:0;position:relative}
html.cine-ui #sg-player .tg-player-shell:-webkit-full-screen{max-width:none;width:100%;height:100%;border-radius:0;position:relative}
html.cine-ui #sg-player .tg-player-shell:fullscreen .sp-player,html.cine-ui #sg-player .tg-player-shell:-webkit-full-screen .sp-player{aspect-ratio:auto;height:100%;flex:1}
html.cine-ui #sg-player .tg-player-shell:fullscreen .sp-player:before,html.cine-ui #sg-player .tg-player-shell:-webkit-full-screen .sp-player:before{display:none}
html.cine-ui #sg-player .tg-player-shell:fullscreen .tg-seek-controls,html.cine-ui #sg-player .tg-player-shell:-webkit-full-screen .tg-seek-controls{position:absolute;left:0;right:0;bottom:0;padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));padding-bottom:max(8px,env(safe-area-inset-bottom));background:rgba(17,19,25,.91);transition:opacity .18s}
html.cine-ui #sg-player .tg-player-shell:fullscreen.cine-controls-idle .tg-seek-controls,html.cine-ui #sg-player .tg-player-shell:-webkit-full-screen.cine-controls-idle .tg-seek-controls{opacity:0;pointer-events:none}
/* The existing navigation handlers and disabled buttons are unchanged. */
html.cine-ui.tg-bottom-active #tg-bottom-nav{left:0!important;right:0!important;max-width:none!important;width:100%;height:calc(56px + env(safe-area-inset-bottom,0px))!important;min-height:56px!important;padding:0 max(8px,env(safe-area-inset-right)) env(safe-area-inset-bottom,0px) max(8px,env(safe-area-inset-left))!important;background:rgba(20,22,29,.98)!important;color:#858a99!important;border-top:1px solid var(--cine-edge)!important;box-shadow:none!important;font-family:var(--cine-font)}
html.cine-ui.tg-bottom-active #tg-bottom-nav button{height:56px!important;min-height:56px;padding:6px 0!important;gap:4px;justify-content:center!important;background:none!important;font-size:10px!important;border-radius:0}
html.cine-ui.tg-bottom-active #tg-bottom-nav button.is-active{color:var(--cine-accent)!important}
html.cine-ui.tg-bottom-active #tg-bottom-nav button:disabled{opacity:.4!important}
html.cine-ui.tg-bottom-active #tg-bottom-nav svg{width:22px;height:22px;stroke-width:1.7}
html.cine-ui.tg-bottom-active #tg-bottom-nav .tg-bottom-vip{color:inherit!important;font-size:19px}
html.cine-ui.tg-bottom-active uni-page-body,html.cine-ui.tg-profile-dark.tg-bottom-active uni-page-body{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))!important}
html.cine-ui.tg-bottom-active{scroll-padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))!important}
/* Member page retains every existing button handler and native disabled attribute. */
html.cine-ui .tg-profile-page{max-width:680px;background:var(--cine-bg);font-family:var(--cine-font);padding:calc(28px + env(safe-area-inset-top,0px)) 20px 24px;min-height:calc(100vh - 72px)}
html.cine-ui .tg-profile-heading{margin-bottom:24px}
html.cine-ui .tg-profile-heading h1{font-size:32px;font-weight:750;letter-spacing:-.8px}
html.cine-ui .tg-profile-settings{width:44px;height:44px;padding:11px;background:var(--cine-surface);border:0}
html.cine-ui .tg-profile-account{padding:22px 20px;gap:16px;border-radius:18px;background:var(--cine-surface);border:1px solid var(--cine-edge)}
html.cine-ui .tg-profile-menu{border:1px solid var(--cine-edge);border-radius:16px;background:var(--cine-surface)}
html.cine-ui .tg-profile-row{min-height:64px;padding:17px 18px}
html.cine-ui .tg-profile-section-title{color:var(--cine-muted);font-size:12px;letter-spacing:.5px;margin:0 0 11px 5px}
html.cine-ui .tg-profile-row-label{font-size:15px!important}
html.cine-ui .tg-profile-row:disabled{color:#8b8e9b!important}
html.cine-ui .tg-profile-row:disabled .tg-profile-icon{opacity:.45}
html.cine-ui .tg-profile-row:disabled .tg-profile-chevron{opacity:.3}
html.cine-ui .tg-profile-stats{padding-top:24px;margin-bottom:30px}
html.cine-ui .tg-profile-stat-value{font-size:23px!important}
html.cine-ui .tg-profile-stat-label{color:var(--cine-muted)}
/* Search is themed in place: the original inputs, requests and click handlers remain. */
html.cine-ui.cine-search .content{background:var(--cine-bg)!important;min-height:100vh;color:var(--cine-text)}
html.cine-ui.cine-search .head-content{background:var(--cine-bg)!important;color:var(--cine-text);border-color:var(--cine-edge);padding-top:env(safe-area-inset-top,0px)}
html.cine-ui.cine-search .head-input{background:var(--cine-raised)!important;border-radius:12px;color:var(--cine-text)!important;min-height:40px}
html.cine-ui.cine-search .head-placeholder{color:var(--cine-muted)!important}
html.cine-ui.cine-search .head-right{color:var(--cine-accent)!important;min-width:44px;min-height:44px}
html.cine-ui.cine-search .search-log,html.cine-ui.cine-search .search-hot-content{background:var(--cine-bg)!important;color:var(--cine-text)}
html.cine-ui.cine-search .search-log-list{background:var(--cine-surface)!important;color:var(--cine-muted)!important;border-radius:10px;min-height:36px}
html.cine-ui.cine-search .search-hot-list,html.cine-ui.cine-search .video-list{border-color:var(--cine-edge)!important;color:var(--cine-text);background:transparent!important}
html.cine-ui.cine-search .video-info,html.cine-ui.cine-search .search-hot-title{color:var(--cine-text)!important}
html.cine-ui.cine-search .video-desc,html.cine-ui.cine-search .search-hot-time{color:var(--cine-muted)!important}
html.cine-ui.cine-search .colorRed{color:var(--cine-accent)!important}
/* Avoid retheming payment routes or changing their access conditions. */
@keyframes cine-spin{to{transform:rotate(360deg)}}
@keyframes cine-breathe{50%{opacity:.55}}
@media(min-width:768px) and (max-width:1100px){html.cine-ui #sg-home .sg-rail,html.cine-ui #sg-home .sg-grid,html.cine-ui #sg-player .sp-grid{grid-template-columns:repeat(4,minmax(0,1fr))}html.cine-ui #sg-home .sg-header-inner{gap:8px 16px}html.cine-ui #sg-home .sg-nav{order:3;flex-basis:100%;justify-content:flex-start}html.cine-ui #sg-home .sg-hero-content{padding:24px}html.cine-ui #sg-home .sg-hero h1{font-size:24px}}
@media(max-width:767px){
html.cine-ui #sg-home .sg-container,html.cine-ui #sg-player .sp-content,html.cine-ui #sg-player .sp-header-inner{padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}
html.cine-ui #sg-home .sg-header-inner{min-height:56px;gap:0 8px;padding-top:5px}
html.cine-ui #sg-home .sg-nav{order:3;width:100%;flex:0 0 100%;height:46px;gap:24px;justify-content:flex-start;margin:0;overflow-y:hidden}
html.cine-ui #sg-home .sg-nav button{font-size:14px}
html.cine-ui #sg-home .sg-logo-title{font-size:16px}
html.cine-ui #sg-home .sg-logo-image,html.cine-ui #sg-home .sg-logo-mark{width:28px;height:28px}
html.cine-ui #sg-home .tg-official-link{padding:6px 9px!important;min-height:32px!important}
html.cine-ui #sg-home .tg-official-label{display:none!important}
html.cine-ui #sg-home .tg-official-link strong{font-size:10px!important}
html.cine-ui .cine-header-tools{gap:6px}
html.cine-ui #sg-home .cine-icon-button{background:none}
html.cine-ui #sg-home .sg-hero{padding:0 12px;margin:12px 0 28px;max-width:none}
html.cine-ui #sg-home .sg-hero-slide{display:block;border-radius:18px}
html.cine-ui #sg-home .cine-hero-art{aspect-ratio:16/9}
html.cine-ui #sg-home .sg-hero-content{padding:18px 18px 20px;gap:10px}
html.cine-ui #sg-home .cine-hero-kicker{bottom:14px;left:18px;font-size:10px}
html.cine-ui #sg-home .sg-hero h1{font-size:25px;line-height:1.35;letter-spacing:-.5px}
html.cine-ui #sg-home .sg-hero .sg-description{font-size:12px;-webkit-line-clamp:1;line-height:1.6}
html.cine-ui #sg-home .cine-hero-actions{margin-top:5px;gap:4px}
html.cine-ui #sg-home .sg-watch{min-height:46px;padding:0 17px;border-radius:11px;font-size:13px}
html.cine-ui #sg-home .sg-dots button{width:18px;min-width:18px}
html.cine-ui #sg-home .sg-section{padding-bottom:30px}
html.cine-ui #sg-home .sg-section-head{margin-bottom:10px}
html.cine-ui #sg-home .sg-section-head h2,html.cine-ui #sg-home .sg-section-head h1{font-size:20px}
html.cine-ui #sg-home .sg-rail,html.cine-ui #sg-home .sg-grid,html.cine-ui #sg-player .sp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
html.cine-ui #sg-home .sg-rail>.sg-card:nth-child(n+7){display:none}
html.cine-ui #sg-home .cine-featured-row .sg-rail{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:136px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;gap:12px;padding-bottom:8px;scrollbar-width:none}
html.cine-ui #sg-home .cine-featured-row .sg-rail::-webkit-scrollbar{display:none}
html.cine-ui #sg-home .cine-featured-row .sg-card{scroll-snap-align:start}
html.cine-ui #sg-home .sg-rail-arrows{display:none}
html.cine-ui #sg-home .sg-skeletons{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html.cine-ui #sg-home .sg-skeleton:nth-child(n+3){display:none}
html.cine-ui #sg-home .sg-albums{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html.cine-ui #sg-home .sg-download{display:none}
html.cine-ui #sg-player .sp-header-inner{padding-top:5px;gap:5px 9px;min-height:56px}
html.cine-ui #sg-player .sp-logo-title{font-size:16px}
html.cine-ui #sg-player .sp-logo-image,html.cine-ui #sg-player .sp-logo-symbol{width:26px;height:26px}
html.cine-ui #sg-player .sp-nav{gap:22px}
html.cine-ui #sg-player .sp-main{padding-top:8px}
html.cine-ui #sg-player .sp-content{gap:22px}
html.cine-ui #sg-player .tg-player-shell{border-radius:12px}
html.cine-ui #sg-player .tg-player-shell.cine-portrait{max-width:100%}
html.cine-ui #sg-player .sp-details h1{font-size:24px}
html.cine-ui #sg-player .sp-episode-buttons{grid-template-columns:repeat(4,minmax(0,1fr))}
html.cine-ui #sg-player .sp-episodes{margin-top:16px;padding-top:22px}
html.cine-ui #sg-player .tg-seek-controls{padding-left:8px;padding-right:8px}
html.cine-ui #sg-player .tg-seek-actions{gap:4px}
html.cine-ui #sg-player .tg-seek-actions button{padding:0 6px}
html.cine-ui #sg-player .sp-comments{padding-top:16px;border-color:var(--cine-edge)}
}
@media(min-width:540px) and (max-width:767px){html.cine-ui #sg-home .sg-rail,html.cine-ui #sg-home .sg-grid,html.cine-ui #sg-player .sp-grid{grid-template-columns:repeat(3,minmax(0,1fr))}html.cine-ui #sg-home .cine-featured-row .sg-rail{grid-template-columns:none;grid-auto-columns:160px}}
@media(max-width:359px){html.cine-ui #sg-home .sg-container,html.cine-ui #sg-player .sp-content,html.cine-ui #sg-player .sp-header-inner{padding-left:14px;padding-right:14px}html.cine-ui #sg-home .sg-brand{gap:6px}html.cine-ui #sg-home .sg-logo-title{font-size:14px}html.cine-ui #sg-home .cine-header-tools{gap:0}html.cine-ui #sg-home .sg-hero-content{padding:16px 14px}html.cine-ui #sg-home .sg-dots button{width:16px;min-width:16px}html.cine-ui #sg-home .sg-watch{padding:0 12px}html.cine-ui #sg-player .tg-seek-time{flex:1;order:5;text-align:right;min-height:24px}html.cine-ui #sg-player .tg-seek-actions .tg-seek-full{margin-left:auto}html.cine-ui .tg-profile-page{padding-left:14px;padding-right:14px}}
@media(prefers-reduced-motion:reduce){html.cine-ui *,html.cine-ui *:before,html.cine-ui *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Explicit resets for legacy mobile-only selectors. */
html.cine-ui #sg-home .sg-hero-content{align-items:stretch}
html.cine-ui #sg-home .sg-nav{padding-top:0;padding-bottom:0}
html.cine-ui #sg-home .sg-dots button:after{display:block}
html.cine-ui #sg-home .sg-dots button:before{display:none}
html.cine-ui #sg-home .sg-rail-arrows{display:none}
html.cine-ui #sg-home .sg-rail-wrap{margin-top:0}
html.cine-ui #sg-home .sg-more{background:none;border:0;border-radius:0}
html.cine-ui #sg-home .sg-card-play{backdrop-filter:none;width:36px;height:36px;opacity:0;transition:opacity .15s}
html.cine-ui #sg-home .sg-card-link:focus-visible .sg-card-play{opacity:1}
@media(hover:hover){html.cine-ui #sg-home .sg-card-link:hover .sg-card-play{opacity:1}}
html.cine-ui.cine-library .bg,html.cine-ui.cine-library .watch-content{background:var(--cine-bg)!important;color:var(--cine-text)}
html.cine-ui.cine-library .content-head,html.cine-ui.cine-library .watch-head{background:var(--cine-bg)!important;color:var(--cine-text);border-color:var(--cine-edge)!important}
html.cine-ui.cine-library .watch-list{background:var(--cine-surface)!important;border-radius:12px;border-color:var(--cine-edge)!important}
html.cine-ui.cine-library .video-title{color:var(--cine-text)!important}
html.cine-ui.cine-library .video-info,html.cine-ui.cine-library .video-time,html.cine-ui.cine-library .video-class{color:var(--cine-muted)!important}

/* TG_NAV_PILLS_V1: translucent category capsules, presentation only. */
html.cine-ui body #sg-home .sg-nav,html.cine-ui body #sg-player .sp-nav{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-width:0;min-height:54px;height:54px;padding:5px 0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none;scroll-padding-inline:8px}
html.cine-ui body #sg-home .sg-nav::-webkit-scrollbar,html.cine-ui body #sg-player .sp-nav::-webkit-scrollbar{display:none}
html.cine-ui body #sg-home .sg-nav button,html.cine-ui body #sg-player .sp-nav button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;min-height:44px;height:44px;margin:0;padding:0 16px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.065);color:#c6c7cf;font:600 15px/1.3 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;letter-spacing:.2px;white-space:nowrap;box-sizing:border-box;box-shadow:inset 0 1px 0 rgba(255,255,255,.025);transition:color .16s ease,background-color .16s ease,border-color .16s ease,opacity .16s ease;-webkit-tap-highlight-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
html.cine-ui body #sg-home .sg-nav button:before,html.cine-ui body #sg-player .sp-nav button:before{display:none}
html.cine-ui body #sg-home .sg-nav button:after,html.cine-ui body #sg-player .sp-nav button:after{display:none}
html.cine-ui body #sg-home .sg-nav button.is-active,html.cine-ui body #sg-player .sp-nav button.is-current{background:rgba(242,99,146,.18);color:#ffd9e6;font-weight:700;border-color:rgba(242,99,146,.48)}
html.cine-ui body #sg-home .sg-nav button.is-active:after,html.cine-ui body #sg-player .sp-nav button.is-current:after{display:none}
html.cine-ui body #sg-home .sg-nav button.tg-nav-original,html.cine-ui body #sg-player .sp-nav button.tg-nav-original{color:#ecd3a1;background:rgba(214,184,119,.12);border-color:rgba(214,184,119,.32);font-weight:700;letter-spacing:.5px}
html.cine-ui body #sg-home .sg-nav button.tg-nav-original:before,html.cine-ui body #sg-player .sp-nav button.tg-nav-original:before{content:'';display:block;position:static;flex:none;width:12px;height:14px;margin:0;background:currentColor;clip-path:polygon(50% 0,62% 34%,100% 50%,62% 64%,50% 100%,38% 64%,0 50%,38% 34%);transform:none;border:0;border-radius:0}
html.cine-ui body #sg-home .sg-nav button.tg-nav-original.is-active,html.cine-ui body #sg-player .sp-nav button.tg-nav-original.is-current{color:#ffedc7;background:rgba(214,184,119,.23);border-color:rgba(232,199,134,.62)}
html.cine-ui body #sg-home .sg-nav button:focus-visible,html.cine-ui body #sg-player .sp-nav button:focus-visible{outline:2px solid #f26392;outline-offset:-3px}
html.cine-ui body #sg-home .sg-nav button.tg-nav-original:focus-visible,html.cine-ui body #sg-player .sp-nav button.tg-nav-original:focus-visible{outline-color:#e8c786}
html.cine-ui body #sg-home .sg-nav button:active,html.cine-ui body #sg-player .sp-nav button:active{opacity:.76}
@media(hover:hover){html.cine-ui body #sg-home .sg-nav button:not(.is-active):not(.tg-nav-original):hover,html.cine-ui body #sg-player .sp-nav button:not(.is-current):not(.tg-nav-original):hover{color:#fff;background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.22)}}
@media(max-width:767px){html.cine-ui body #sg-home .sg-nav,html.cine-ui body #sg-player .sp-nav{gap:8px}html.cine-ui body #sg-home .sg-nav button,html.cine-ui body #sg-player .sp-nav button{font-size:14px;padding-left:14px;padding-right:14px}}
@media(prefers-reduced-motion:reduce){html.cine-ui body #sg-home .sg-nav button,html.cine-ui body #sg-player .sp-nav button{transition:none}}


/* Share page only: Vue scope 7106fcba. Bottom navigation retains ownership of its safe area. */
html body .bg[data-v-7106fcba]{position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:var(--tg-share-nav-height,calc(56px + env(safe-area-inset-bottom,0px)))!important;width:100%!important;height:auto!important;max-width:none!important;margin:0!important;padding:0!important;overflow-x:hidden!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch;background:#0d0e12!important;box-sizing:border-box}
html body .bg[data-v-7106fcba] .poster-bg[data-v-7106fcba]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(150px,1fr) 50px;align-items:stretch;gap:14px;height:100%!important;min-height:calc(250px + env(safe-area-inset-top,0px));width:100%;padding:calc(12px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) 16px max(16px,env(safe-area-inset-left,0px));margin:0;background:#0d0e12;box-sizing:border-box}
html body .bg[data-v-7106fcba] .poster[data-v-7106fcba]{position:relative!important;inset:auto!important;grid-column:1/-1;grid-row:1;width:100%!important;height:100%!important;min-height:0;min-width:0;padding:0!important;margin:0!important;display:block;align-self:stretch;overflow:hidden;border-radius:14px;background:#101116;box-sizing:border-box}
html body .bg[data-v-7106fcba] .poster[data-v-7106fcba]>div{background-size:contain!important;background-position:center center!important;background-repeat:no-repeat!important}
html body .bg[data-v-7106fcba] .poster[data-v-7106fcba]>img{object-fit:contain!important;object-position:center!important;max-width:100%;max-height:100%}
html body .bg[data-v-7106fcba] .poster-save[data-v-7106fcba]{position:relative!important;inset:auto!important;grid-row:2;width:100%!important;height:50px!important;min-height:44px;min-width:0;display:flex;align-items:center;justify-content:center;margin:0!important;padding:0 8px!important;box-sizing:border-box;border-radius:12px;border:1px solid #ffffff12;background:#232630;color:#f4f4f7;box-shadow:none;font:600 15px/1.3 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;white-space:nowrap;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
html body .bg[data-v-7106fcba] .poster-save.p-left[data-v-7106fcba]{grid-column:1;background:#f26392;color:#240e17;border-color:transparent}
html body .bg[data-v-7106fcba] .poster-save.p-right[data-v-7106fcba]{grid-column:2}
html body .bg[data-v-7106fcba] .poster-save[data-v-7106fcba]:active{opacity:.75}
html body .bg[data-v-7106fcba] .content-head[data-v-7106fcba]{position:absolute!important;top:calc(20px + env(safe-area-inset-top,0px))!important;left:max(24px,env(safe-area-inset-left,0px))!important;width:44px;height:44px;line-height:44px;display:flex;align-items:center;justify-content:center;background:#12141dcc;border:1px solid #ffffff24;border-radius:50%;z-index:3;box-sizing:border-box;touch-action:manipulation}
html body .bg[data-v-7106fcba] .content-head[data-v-7106fcba] uni-image{margin:0!important}
html body .bg[data-v-7106fcba] .explain[data-v-7106fcba],html body .bg[data-v-7106fcba] .explain-tig[data-v-7106fcba]{display:none!important;pointer-events:none!important}
@media(max-width:350px){html body .bg[data-v-7106fcba] .poster-bg[data-v-7106fcba]{gap:10px;padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px))}html body .bg[data-v-7106fcba] .poster-save[data-v-7106fcba]{font-size:14px}}
