:root{color-scheme:dark;--background:#000;--foreground:oklch(.97 .005 60);--card:oklch(.21 .01 20);--card-raised:oklch(.235 .012 20);--primary:oklch(.62 .22 18);--primary-hover:oklch(.67 .22 18);--secondary:oklch(.27 .015 20);--muted-foreground:oklch(.68 .01 40);--accent:oklch(.82 .15 80);--border:#ffffff1a;--input:#ffffff1f;--focus:oklch(.76 .18 18);--radius:12px;--radius-card:16px;--radius-dialog:24px;--shadow-dialog:0 24px 80px #0009;--font-sans:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*,:before,:after{box-sizing:border-box}html{min-width:320px;background:var(--background);font-family:var(--font-sans);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}body{margin:0;min-width:320px;min-height:100dvh;color:var(--foreground)}button,input,textarea,select{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{border:0;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,video:focus-visible{outline:2px solid var(--focus);outline-offset:4px}button:active,a.primary-button:active{transform:translateY(1px)}::selection{background:#b42a44;color:#fff}.ph{display:inline-block;flex:0 0 auto;line-height:1;vertical-align:middle}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-70px;left:16px;z-index:200;padding:12px 20px;background:var(--primary);border-radius:8px}.skip-link:focus{top:12px}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:999px;padding:12px 24px;background:var(--primary);color:white;font-size:14px;font-weight:750;white-space:nowrap;transition:background .16s}.primary-button:hover{background:var(--primary-hover)}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;border-radius:50%;background:var(--secondary);color:var(--foreground)}.icon-button:hover{background:#353032}.text-button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 0;color:var(--primary);background:transparent;font-size:12px;font-weight:700}.brand{display:inline-flex;align-items:center;min-width:0}.brand img{flex-shrink:0;width:40px;height:40px;border-radius:12px;filter:drop-shadow(0 4px 7px #e85d5233)}.brand span{margin-left:10px;font-size:20px;font-weight:850;line-height:1}.client-shell{min-height:100dvh;background:#000}.side-nav{display:none;position:sticky;top:0;width:240px;height:100dvh;flex:0 0 240px;flex-direction:column;border-right:1px solid var(--border);padding:24px 16px;background:color-mix(in oklch,var(--card) 40%,transparent)}.side-nav>.brand{padding:0 12px}.side-search{display:flex;align-items:center;gap:8px;margin-top:24px;min-height:40px;border:1px solid var(--border);border-radius:999px;padding:0 16px;background:#0009;color:var(--muted-foreground);font-size:14px}.side-search:hover{border-color:#ffffff40;color:#fff}.side-nav nav{display:flex;flex-direction:column;gap:4px;margin-top:24px}.side-item{display:flex;align-items:center;gap:12px;min-height:40px;border-radius:12px;padding:0 12px;color:var(--muted-foreground);font-size:14px;font-weight:700;transition:background .16s,color .16s}.side-item:hover{background:var(--secondary);color:var(--foreground)}.side-item.active{background:color-mix(in oklch,var(--primary) 10%,transparent);color:var(--primary)}.shell-column{display:flex;width:100%;min-width:0;max-width:448px;margin:0 auto;flex-direction:column}.shell-main{min-width:0;padding-bottom:112px}.shell-main.flush{padding-bottom:0}.content{width:100%;min-width:0}.bottom-nav{position:fixed;z-index:40;right:16px;bottom:max(16px,env(safe-area-inset-bottom));left:16px;display:flex;max-width:384px;min-height:60px;margin:0 auto;align-items:stretch;justify-content:space-around;border:1px solid var(--border);border-radius:999px;padding:6px 12px;background:color-mix(in oklch,var(--card) 85%,transparent);box-shadow:0 8px 32px #0006;backdrop-filter:blur(20px)}.bottom-item{display:flex;min-width:0;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:4px;border-radius:8px;color:var(--muted-foreground);font-size:11px;font-weight:600}.bottom-item.active{color:var(--primary)}.mobile-header{position:sticky;z-index:30;top:0;display:flex;min-height:60px;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#000c;backdrop-filter:blur(12px)}.mobile-header .brand img{width:32px;height:32px}.mobile-header .brand span{font-size:18px}.mobile-header>div{display:flex;gap:8px}.mobile-header .icon-button{border:1px solid var(--border);background:var(--card)}.home-header{display:none}.hero-carousel{padding:4px 16px 0}.hero-stage{position:relative;width:100%;aspect-ratio:16/10;overflow:hidden;border-radius:16px;background:var(--secondary)}.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .7s ease}.hero-slide.selected{opacity:1;z-index:1}.hero-slide>picture{display:block;width:100%;height:100%}.hero-slide>img,.hero-slide>picture>img{width:100%;height:100%;object-fit:cover;object-position:top}.hero-shade{position:absolute;inset:0;background:linear-gradient(to top,#000e,#0005,transparent)}.hero-copy{position:absolute;inset:auto 0 0;display:flex;align-items:flex-start;flex-direction:column;padding:16px}.hero-badge{border-radius:999px;padding:3px 10px;background:color-mix(in oklch,var(--primary) 90%,transparent);font-size:11px;font-weight:800;text-transform:uppercase}.hero-copy strong{max-width:576px;margin-top:8px;color:white;font-size:20px;font-weight:800;line-height:1.25;text-wrap:balance;text-shadow:0 1px 3px #0009}.hero-play{display:inline-flex;align-items:center;gap:8px;margin-top:12px;border-radius:999px;padding:8px 16px;background:#fff;color:#000;font-size:14px;font-weight:800}.hero-dots{display:flex;justify-content:center;gap:0;margin-top:4px}.hero-dots button{position:relative;width:44px;height:44px;border-radius:999px;padding:0;background:transparent}.hero-dots button:after{position:absolute;top:50%;left:50%;width:6px;height:6px;border-radius:999px;background:var(--primary);content:"";opacity:.45;transform:translate(-50%,-50%);transition:width .16s,opacity .16s}.hero-dots button.selected:after{width:20px;opacity:1}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-grid{padding:24px 16px 0}.padded-grid{padding:20px 16px 0}.drama-card{min-width:0}.drama-card>a{display:block}.poster{position:relative;aspect-ratio:2/3;overflow:hidden;border-radius:12px;background:var(--secondary)}.poster>img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.poster:after{position:absolute;inset:48% 0 0;content:"";background:linear-gradient(to top,#0009,transparent);pointer-events:none}.poster-count{position:absolute;z-index:2;bottom:8px;right:8px;padding:3px 6px;background:#0009;border-radius:4px;color:#fff;font-size:10px;line-height:14px;font-weight:650}.poster-play{position:absolute;z-index:3;left:50%;top:50%;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:1px solid #ffffff55;border-radius:50%;background:#0007;backdrop-filter:blur(5px);opacity:0;transform:translate(-50%,-50%) scale(.9);transition:opacity .2s,transform .2s}.drama-card a:hover img{transform:scale(1.035)}.drama-card a:hover .poster-play,.drama-card a:focus-visible .poster-play{opacity:1;transform:translate(-50%,-50%) scale(1)}.drama-card h2{overflow:hidden;margin-top:8px;font-size:14px;font-weight:650;line-height:20px;text-overflow:ellipsis;white-space:nowrap}.card-meta{margin-top:3px;color:var(--muted-foreground);font-size:12px}.home-footer{display:grid;gap:12px;margin:40px 16px 0;border-top:1px solid var(--border);padding:24px 0 0;color:var(--muted-foreground);font-size:12px;line-height:1.5}.page-header{display:flex;min-height:76px;align-items:center;justify-content:space-between;gap:12px;padding:20px 16px}.page-header h1{font-size:18px;font-weight:800;line-height:1.2}.genre-filter{display:flex;gap:8px;overflow:auto;padding:0 16px;scrollbar-width:none}.genre-pill{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 20px;border-radius:999px;background:var(--secondary);color:var(--muted-foreground);font-size:14px;font-weight:650;white-space:nowrap}.genre-pill.active{background:var(--primary);color:white}.collection-count{padding:0 16px;color:var(--muted-foreground);font-size:13px}.empty-state{display:flex;min-height:360px;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:48px 24px;text-align:center}.empty-icon{display:flex;align-items:center;justify-content:center;width:80px;height:80px;margin-bottom:8px;background:var(--card);border:1px solid var(--border);border-radius:24px;color:var(--muted-foreground)}.empty-state h1,.empty-state h2{font-size:20px;font-weight:750}.empty-state p{max-width:340px;color:var(--muted-foreground);font-size:14px;line-height:1.6}.empty-state .primary-button{margin-top:12px}.search-header{position:relative;display:flex;align-items:center;gap:12px;padding:16px}.search-header>.icon-button{background:transparent}.search-header form{display:flex;min-width:0;min-height:48px;flex:1;align-items:center;gap:10px;border:1px solid var(--border);border-radius:999px;padding:0 8px 0 16px;background:var(--card)}.search-header form>.ph{color:var(--muted-foreground)}.search-header input{min-width:0;width:100%;padding:12px 0;border:none;outline:none;background:transparent;font-size:14px}.search-header input::-webkit-search-cancel-button{display:none}.search-header input::placeholder{color:var(--muted-foreground)}.clear-search{display:flex;align-items:center;justify-content:center;min-width:28px;height:32px;background:transparent;color:var(--muted-foreground)}.search-submit{min-height:34px;border-radius:999px;padding:8px 14px;background:var(--primary);color:#fff;font-size:12px;font-weight:750}.search-results{padding:16px}.search-results>h1{margin-bottom:20px;font-size:16px;font-weight:700}.search-results>h1 span{margin-left:8px;color:var(--muted-foreground);font-size:12px;font-weight:500}.search-suggestions{margin:0 16px 16px;padding:16px;border:1px solid var(--border);border-radius:16px;background:var(--card)}.search-suggestions h2{margin-bottom:8px;font-size:13px;color:var(--muted-foreground)}.search-suggestions button{display:flex;width:100%;align-items:center;gap:12px;border-radius:10px;padding:8px;background:transparent;text-align:left}.search-suggestions button:hover,.search-suggestions button[aria-selected=true]{background:var(--secondary)}.search-suggestions button img{width:36px;height:54px;object-fit:cover;border-radius:5px}.search-suggestions button span{flex:1;min-width:0}.search-suggestions strong{display:block;overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.search-suggestions small{display:block;margin-top:6px;color:var(--muted-foreground);font-size:11px}.search-suggestions p{padding:20px;color:var(--muted-foreground);font-size:13px}.popular-searches{padding:0 8px}.popular-searches h2{font-size:14px}.popular-searches>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.popular-searches a{display:flex;align-items:center;gap:6px;border:1px solid var(--border);padding:10px 14px;border-radius:999px;color:var(--muted-foreground);font-size:12px}.detail-page{position:relative;width:100%;max-width:1024px;min-height:100dvh;margin:0 auto;padding-bottom:64px;background:#000}.detail-backdrop{position:relative;width:100%;height:288px;overflow:hidden}.detail-backdrop>img,.detail-backdrop-shade{position:absolute;inset:0;width:100%;height:100%}.detail-backdrop>img{object-fit:cover;object-position:top}.detail-backdrop-shade{background:linear-gradient(to top,#000,#0008,#0002)}.detail-backdrop-actions{position:absolute;z-index:2;inset:0 0 auto;display:flex;padding:16px}.detail-backdrop-actions>button{background:#0006;backdrop-filter:blur(12px)}.detail-layout{position:relative;z-index:2;margin-top:-64px;padding-inline:16px}.detail-poster{display:none}.detail-info h1{font-size:24px;font-weight:850;line-height:1.2;text-wrap:balance}.detail-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;color:var(--muted-foreground);font-size:12px}.library-badge{display:inline-flex;border:1px solid #bca16f55;background:#bca16f15;border-radius:999px;padding:4px 8px;color:var(--accent);font-weight:650}.detail-genres{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.detail-genres span{border-radius:999px;padding:4px 10px;background:var(--secondary);font-size:12px}.detail-actions{display:flex;align-items:center;gap:12px;margin-top:20px}.detail-actions .primary-button{flex:1}.favorite-button{display:inline-flex;min-height:44px;flex-shrink:0;align-items:center;gap:6px;border:1px solid var(--border);border-radius:999px;padding:10px 16px;background:var(--secondary);font-size:13px;font-weight:700}.favorite-button.active{border-color:color-mix(in oklch,var(--primary) 45%,transparent);color:var(--primary)}.detail-actions>.icon-button{display:none}.detail-section{margin-top:24px}.detail-section h2{margin-bottom:12px;font-size:14px;font-weight:750}.detail-section p{color:var(--muted-foreground);font-size:14px;line-height:1.6}.description.collapsed{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:12px}.section-heading h2{margin:0;font-size:16px}.section-heading h2 span{margin-left:4px;color:var(--muted-foreground);font-size:12px;font-weight:500}.free-label{color:var(--muted-foreground);font-size:11px}.episode-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.episode-tile{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;border:1px solid var(--border);border-radius:8px;background:var(--card);font-size:13px;font-weight:650;transition:background .16s,border-color .16s}.episode-tile .ph-lock-key{position:absolute;right:5px;top:5px;color:var(--accent);font-size:10px!important}.episode-tile:hover{border-color:var(--primary);color:var(--primary)}.episode-tile.active{background:var(--primary);border-color:var(--primary);color:#fff}.watch-progress{position:absolute;z-index:4;bottom:0;left:0;width:100%;height:3px;background:#ffffff30}.watch-progress span{display:block;height:100%;background:var(--primary)}.watch-page{min-height:100dvh;padding:0 16px 40px}.watch-header{display:flex;align-items:center;gap:12px;padding:20px 0}.watch-header>div{flex:1;min-width:0}.watch-header h1{overflow:hidden;font-size:16px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.watch-header span{display:block;margin-top:5px;color:var(--muted-foreground);font-size:12px}.watch-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}.video-stage{position:relative;width:min(100%,400px);aspect-ratio:9/16;margin:0 auto;overflow:hidden;border:1px solid var(--border);border-radius:20px;background:#151213}.video-stage video{width:100%;height:100%;object-fit:contain}.video-poster{width:100%;height:100%;object-fit:cover;filter:blur(7px);opacity:.55}.video-scrim{position:absolute;inset:0;background:#0008}.video-message{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;padding:32px;text-align:center}.video-message>.ph{color:#ffffff80}.video-message h2{font-size:20px}.video-message p{color:#d0c9ca;font-size:13px;line-height:1.65}.video-back{display:flex;align-items:center;gap:8px;margin-top:6px;font-size:13px;font-weight:700}.player-controls{display:flex;justify-content:space-between;gap:12px;margin:16px auto 0;max-width:400px}.control-button{display:inline-flex;min-height:40px;align-items:center;gap:8px;font-size:12px;color:var(--muted-foreground)}.control-button:hover{color:white}.disabled{opacity:.3;pointer-events:none}.source-note{margin-top:20px;color:var(--muted-foreground);font-size:11px;line-height:1.5}#toast{position:fixed;z-index:200;left:50%;bottom:100px;max-width:calc(100% - 32px);padding:12px 20px;border:1px solid #ffffff25;border-radius:999px;background:#292324;color:#fff;font-size:13px;box-shadow:0 8px 40px #0008;transform:translate(-50%,20px);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.boot-loader{display:grid;max-width:900px;grid-template-columns:repeat(4,1fr);gap:16px;margin:100px auto;padding:24px}.boot-loader div{aspect-ratio:2/3;border-radius:12px;background:linear-gradient(100deg,#1b1718,#292324,#1b1718);background-size:200% 100%;animation:shimmer 1.5s infinite}@keyframes shimmer{to{background-position:-200% 0}}
.page-title{font-size:24px;font-weight:800;line-height:1.2}body.account-modal-open{overflow:hidden}
.browse-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 16px 0;color:var(--muted-foreground);font-size:12px}.browse-sort{display:flex;align-items:center;gap:8px;flex-shrink:0}.browse-sort select{max-width:150px;border:1px solid var(--border);border-radius:8px;padding:8px 10px;background:var(--card);color:var(--foreground);font-size:12px}.category-results{padding:20px 16px 0}.category-description{margin:16px 16px 0;color:var(--muted-foreground);font-size:13px;line-height:1.6}.catalog-loading>div{aspect-ratio:2/3;background:var(--card);border-radius:12px;animation:catalog-pulse 1.3s ease-in-out infinite alternate}.search-inline-error{margin:0 16px 12px;color:var(--primary);font-size:12px}@keyframes catalog-pulse{to{opacity:.5}}
@media(min-width:1024px){.browse-toolbar{margin-inline:0}.category-results{padding-inline:0}.category-description{margin-inline:0}}
@media(max-width:1023px){.page-title{font-size:18px}}
@media(min-width:640px){.hero-stage{aspect-ratio:16/7}.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:768px){.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1024px){.client-shell{display:flex}.side-nav{display:flex}.shell-column{max-width:none;margin:0;flex:1}.shell-main{padding-bottom:40px}.content{max-width:1152px;margin:0 auto;padding-inline:32px}.bottom-nav,.mobile-header{display:none}.home-header{display:flex;align-items:center;min-height:69px;padding:20px 0}.home-header h1{font-size:24px;font-weight:800;line-height:1.2}.hero-carousel{padding-inline:0}.hero-stage{aspect-ratio:16/6;border-radius:24px}.hero-shade{background:linear-gradient(to right,#000e,#0006,transparent)}.hero-copy{max-width:512px;padding:40px}.hero-copy strong{margin-top:12px;font-size:36px}.hero-play{margin-top:20px;padding:10px 24px;font-size:16px}.hero-dots button{width:20px;height:20px}.catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.home-grid{padding-inline:0}.home-footer{margin-inline:0}.page-header{padding:28px 0;min-height:85px}.page-header h1{font-size:24px}.padded-grid{padding-inline:0}.genre-filter{padding:0;flex-wrap:wrap}.collection-count{padding-inline:0}.search-header{padding:24px 0}.search-results{padding:16px 0}.search-suggestions{margin-inline:0}.empty-state{min-height:440px}.detail-page{padding-bottom:64px}.detail-backdrop{height:400px;border-radius:0 0 24px 24px}.detail-backdrop-shade{background:linear-gradient(to top,#000,#000b,#0002)}.detail-backdrop-actions{padding:24px}.detail-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:40px;margin-top:-176px;padding-inline:32px}.detail-poster{display:block;align-self:start;aspect-ratio:2/3;overflow:hidden;border:1px solid var(--border);border-radius:22px;box-shadow:0 20px 48px #0008}.detail-poster img{width:100%;height:100%;object-fit:cover}.detail-info h1{font-size:36px}.detail-actions .primary-button{flex:0 0 auto;padding-inline:36px}.detail-section h2{font-size:16px}.watch-page{padding-inline:0}.watch-layout{grid-template-columns:minmax(0,1fr) minmax(270px,.85fr)}#toast{bottom:32px}}
@media(min-width:1280px){.catalog-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:380px){.detail-actions{gap:8px}.detail-actions .primary-button{padding-inline:16px}.favorite-button{padding-inline:12px}.favorite-button span{max-width:100px;overflow:hidden;text-overflow:ellipsis}.search-header{gap:4px}.search-submit{padding-inline:10px}.video-message{padding:24px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
