:root{--surface:#211a24;--ink:#f2e6ef;--muted:#ae9bab;--accent:#e47b8b;--line:#ffffff17}
.bottom-nav.app-tabbar{height:calc(70px + env(safe-area-inset-bottom))!important;padding:5px 0 calc(5px + env(safe-area-inset-bottom))!important;align-items:start;overflow-y:hidden!important}
:root{--app-tabbar-height:calc(70px + env(safe-area-inset-bottom))}
.bottom-nav.app-tabbar .nav-item{height:59px!important;min-height:59px;gap:3px!important;padding:5px 0!important;overflow:visible}
.bottom-nav.app-tabbar .nav-label{display:block!important;line-height:18px!important;min-height:18px;flex-shrink:0;transform:none!important;margin:0!important}
html.has-app-download{--app-download-height:74px}
.app-download-bar{height:74px;padding:9px 14px;background:linear-gradient(115deg,#30212e,#211c25);border:1px solid #e7aac127;border-radius:16px 16px 0 0;box-shadow:0 -8px 24px #0002;gap:11px}
.app-download-logo{width:44px;height:44px;border-radius:13px;background:linear-gradient(140deg,#efb7ca,#b76586);box-shadow:0 4px 12px #0002;font-size:21px}
.app-download-logo img{width:100%;height:100%;object-fit:contain;border-radius:13px}
.app-download-copy strong{font-size:14px;letter-spacing:.4px;line-height:22px}
.app-download-copy span{font-size:11px;line-height:18px}
.app-download-bar .app-download-action{min-height:38px;padding:0 16px;border-radius:20px;background:linear-gradient(120deg,#f1c9a4,#edabc4);color:#372026;font-size:12px;box-shadow:0 3px 12px #0002}
.site-tools{position:fixed;right:max(14px,calc((100vw - var(--site-content-width,800px))/2 + 14px));bottom:calc(var(--app-tabbar-height) + var(--app-download-height) + 18px);display:flex;flex-direction:column;gap:9px;z-index:110}
.site-tools button{width:42px;height:42px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--ink);box-shadow:0 4px 16px #0003;font-size:22px;cursor:pointer}
.site-tools [hidden]{display:none}
.category-tabs .tab-item.active,.category-tabs .tab-item[aria-selected=true]{background:#eb748b!important;color:#211019!important;border:1px solid #ffb3c1!important;box-shadow:0 3px 12px #ed6c8b40!important;font-weight:700}
.member-overlay{position:fixed;inset:0;z-index:1100;background:#0009;display:grid;place-items:center;padding:20px;backdrop-filter:blur(5px)}
.member-dialog{position:relative;width:min(100%,360px);padding:32px 25px 25px;border:1px solid var(--line);border-radius:22px;background:var(--surface);color:var(--ink);text-align:center;box-shadow:0 20px 70px #0005}
.member-close{position:absolute;right:12px;top:10px;border:0;background:none;color:var(--muted);font-size:26px;cursor:pointer}
.member-crown{display:grid;place-items:center;margin:0 auto 15px;width:62px;height:62px;border-radius:20px;background:#d6ad7330;color:#dfb77c;font-size:38px}
.member-dialog h2{font-size:21px;margin:0 0 12px}.member-dialog p{font-size:13px;line-height:1.8;color:var(--muted)}
.member-message{min-height:24px;margin:10px 0}.member-claim{border:0;border-radius:12px;padding:14px 18px;background:linear-gradient(120deg,#f0c99c,#edabc4);color:#372026;font-weight:700;width:100%;cursor:pointer}
.member-claim:disabled{opacity:.6}.vip-play-lock{width:100%;aspect-ratio:16/9;display:grid;place-content:center;gap:12px;border:0;background:var(--surface);color:var(--ink);cursor:pointer;text-align:center;padding:24px}.vip-play-lock strong{font-size:18px}.vip-play-lock span{font-size:13px;color:var(--muted)}
.entry-locked{overflow:hidden}.entry-calculator{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:#10131c;color:#f5f7ff;padding:20px;overflow:auto;font-family:system-ui,sans-serif}
.entry-calculator section{width:min(100%,360px);padding:24px;border:1px solid #ffffff12;border-radius:26px;background:#191e2b;box-shadow:0 20px 80px #0005}.calc-top{display:flex;align-items:center;justify-content:space-between;color:#b5bdcf;font-size:10px;letter-spacing:1px}.entry-calculator h1{font-size:22px;margin:26px 0 8px}.entry-calculator p{font-size:12px;color:#9ca8bd;line-height:1.6}.entry-calculator output{display:block;margin:24px 0 18px;padding:18px 12px;border-radius:14px;background:#0f1420;text-align:right;font-size:32px;min-height:76px;box-sizing:border-box;overflow-wrap:anywhere}.calc-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.calc-keys button{height:56px;border:0;border-radius:15px;background:#293143;color:#eef3ff;font-size:23px;cursor:pointer}.calc-keys button:hover{background:#35415a}.calc-keys .calc-clear{grid-column:span 2;color:#f2b2bf}.calc-keys .calc-enter{grid-column:span 2;background:#9db9f5;color:#172644}.calc-status{min-height:22px;margin:12px 0 0}
html[data-theme=light]{color-scheme:light;--surface:#fff;--ink:#252337;--muted:#777386;--accent:#cb3d66;--line:#28213f1c;--evening-bg:#f7f8fc;--evening-border:#28213f14;--evening-accent:#cb3d66;background:#f7f8fc}
html[data-theme=light] body,html[data-theme=light] .drama-page,html[data-theme=light] .account-page,html[data-theme=light] .cms-watch,html[data-theme=light] .rankings-page,html[data-theme=light] .custom-page{background:#f7f8fc!important;color:#252337!important}
html[data-theme=light] .brand-header,html[data-theme=light] .category-tabs,html[data-theme=light] .bottom-nav.app-tabbar{background:#fffffff5!important;border-color:#dddde8!important;color:#252337!important}
html[data-theme=light] .brand-wordmark strong,html[data-theme=light] .diy-heading,html[data-theme=light] .movie-title,html[data-theme=light] .cms-watch-info h1,html[data-theme=light] .ranking-info h3{color:#252337!important}
html[data-theme=light] .brand-wordmark span,html[data-theme=light] .search-input,html[data-theme=light] .nav-item,html[data-theme=light] .diy-empty,html[data-theme=light] .movie-meta{color:#777386!important}
html[data-theme=light] .search-box,html[data-theme=light] .ac-panel,html[data-theme=light] .ac-row,html[data-theme=light] .ac-quick,html[data-theme=light] .cms-episodes button{background:#fff!important;color:#49435c!important;border-color:#e1dfeb!important}
html[data-theme=light] .tab-item{color:#716b80!important}html[data-theme=light] .category-tabs .tab-item.active{background:#ce456e!important;color:#fff!important;border-color:#b72c55!important}
html[data-theme=light] .bottom-nav .nav-item.active{color:#c92f61!important}
html[data-theme=light] .app-download-bar{background:linear-gradient(110deg,#fff2ec,#f9ecf4);border-color:#e9cedc;color:#3b2c3b}
html[data-theme=light] .app-download-copy span{color:#8a6a80}
html[data-theme=light] .diy-ad-text a{background:#fff9ee;border-color:#e4cf9b;color:#7e5816}
html[data-theme=light] .diy-ad-title,html[data-theme=light] .diy-ad a{color:#50405b}
html[data-theme=light] .checkin-modal{background:#fff;color:#252337}html[data-theme=light] .checkin-title,html[data-theme=light] .reward-text{color:#252337}
html[data-theme=light] .checkin-subtitle,html[data-theme=light] .reward-desc,html[data-theme=light] .ad-text{color:#777386}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

html[data-theme=light] .ac-overview,html[data-theme=light] .ac-quick a,html[data-theme=light] .ac-plan,html[data-theme=light] .ac-input,html[data-theme=light] .ac-form input,html[data-theme=light] .ac-form textarea{background:#fff!important;border-color:#e1dfeb!important;color:#454057!important}
html[data-theme=light] .ac-balance{background:linear-gradient(130deg,#fff0f6,#fffcff)!important;color:#4c3043}
html[data-theme=light] .ac-vip-card,html[data-theme=light] .ac-vip-status{background:linear-gradient(130deg,#fff2dc,#fffbf3)!important;color:#775426!important}
html[data-theme=light] .ac-balance>span,html[data-theme=light] .ac-balance>div a,html[data-theme=light] .ac-services a,html[data-theme=light] .ac-services svg,html[data-theme=light] .ac-overview span{color:#796178!important}
html[data-theme=light] .search-header,html[data-theme=light] .hot-words-section,html[data-theme=light] .search-history-section,html[data-theme=light] .search-results,html[data-theme=light] .rank-section{background:#fff!important;color:#252337!important}

.short-play-error button{pointer-events:auto;border:1px solid #efd1b8;border-radius:24px;background:linear-gradient(120deg,#f0c99c,#edabc4);color:#372026;padding:14px 20px;font-size:13px;cursor:pointer}

.member-ad-overlay{z-index:1400}.member-success-overlay{z-index:1500}
.member-ad-overlay .member-dialog{width:min(100%,460px);padding:28px 20px 20px}
.checkin-ad-video{display:block;width:100%;max-height:55dvh;aspect-ratio:16/9;object-fit:contain;background:#000;border-radius:12px;margin:18px 0 12px}
.checkin-ad-status{min-height:30px!important;margin-bottom:12px}
.member-success-icon{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;margin:4px auto 22px;background:linear-gradient(140deg,#eed7a3,#f4b5c9);color:#563a32;font-size:42px;font-weight:700;box-shadow:0 8px 32px #eab6c92b}
.member-success-reward{font-size:16px!important;color:var(--ink)!important;margin:12px 0 24px;line-height:1.7}
