/* Final website layout. The Android App keeps its independent frame. */
body.tv-final{background:#110f15;color:#f5f1f6;--accent:#ef4b9d;--surface:#1d1722;--edge:#ffffff12;min-width:320px}
.tv-final .site-header{max-width:1840px;min-height:84px;gap:28px;padding:16px 32px;flex-wrap:nowrap}.tv-final .brand{gap:10px;white-space:nowrap;font-size:21px;font-weight:750;letter-spacing:-.6px}.tv-final .brand img{width:38px;height:42px}.tv-final .site-header nav{gap:24px;flex-shrink:0}.tv-final .home-link{gap:8px}.tv-final .home-link svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6}.tv-final .site-header nav [aria-current]{color:#ff85bd}.tv-final .account{gap:18px;margin-left:auto}.tv-final .pricing-link{min-height:40px;padding:8px 17px;background:#ef4b9d;border-radius:20px;color:white}.tv-final .language-picker summary{border:0;background:transparent;padding:8px 0}.tv-header-search{flex:1;max-width:440px;min-width:120px;margin-left:auto}.tv-header-search label{display:flex;align-items:center;gap:10px;border:1px solid #ffffff16;border-radius:24px;padding:0 16px;background:#241e29}.tv-header-search svg,.tv-mobile-search svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6}.tv-header-search input{background:transparent;color:#fff;border:0;outline:0;min-height:42px;width:100%;font-size:14px}.tv-mobile-search,.tv-bottom-tabs{display:none}.tv-final .user-popover{min-width:220px}
.tv-final .my-drama-v1{max-width:1840px;padding:24px 32px 32px}.tv-discovery-hero{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:stretch;border:1px solid var(--edge);border-radius:15px;overflow:hidden;background:linear-gradient(110deg,#59213f50,#201924 45%);margin-bottom:24px;min-height:168px}.tv-final .tv-discovery-hero .my-drama-seo__heading{padding:24px 28px;margin:0;display:flex;flex-direction:column;justify-content:center}.tv-final .tv-discovery-hero h1{font-size:clamp(27px,2.6vw,44px);line-height:1.13;letter-spacing:-1.3px;margin:0 0 12px;max-width:590px}.tv-final .tv-discovery-hero .my-drama-seo__heading p{font-size:15px;line-height:1.5;margin:0;color:#bfb3c7;max-width:580px}.tv-final .tv-discovery-resume{display:block;min-width:0;background:#1b1621;border-left:1px solid var(--edge);border-radius:0;margin:0;padding:18px 20px;overflow:hidden}.tv-final .tv-discovery-resume h2{font-size:16px;margin:0 0 12px;max-width:none}.tv-resume-track{display:flex;gap:12px;overflow:auto;scrollbar-width:none}.tv-resume-card{position:relative;flex:1;min-width:0;max-width:50%}.tv-final .tv-resume-card a{display:block;position:relative;max-width:none;width:100%;height:100px;border-radius:10px;overflow:hidden;border:1px solid #ffffff20}.tv-final .tv-resume-card img{width:100%;height:100%;object-fit:cover;object-position:center 32%;border-radius:0;filter:brightness(.7)}.tv-resume-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:34px;height:34px;display:grid;place-items:center;border:1px solid #ffffff90;background:#0007;border-radius:50%;font-size:14px}.tv-final .tv-resume-card small{position:absolute;bottom:18px;right:10px;color:#fff;font-size:11px}.tv-resume-card progress{position:absolute;bottom:8px;left:10px;width:calc(100% - 20px);height:4px;accent-color:var(--accent);border:0;border-radius:5px}.tv-resume-card progress::-webkit-progress-bar{background:#ffffff40}.tv-resume-card progress::-webkit-progress-value{background:var(--accent)}.tv-resume-remove{position:absolute;right:2px;top:2px;z-index:1;padding:0;background:#0008;border-radius:50%;width:32px;height:32px;font-size:24px;line-height:1}.tv-discovery-hero:has(.tv-discovery-resume[hidden]){grid-template-columns:1fr;min-height:0}.tv-discovery-hero:has(.tv-discovery-resume[hidden]) .my-drama-seo__heading{padding:22px 28px}
.tv-final .my-drama-v1__grid.is-rails{display:block}.tv-discovery-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.tv-final .tv-discovery-shelf,.tv-final .tv-discovery-explore{min-width:0;margin:0 0 24px;padding:18px;border:1px solid var(--edge);border-radius:14px;background:linear-gradient(130deg,#241a29b0,#1b1620a0)}.tv-final .category-heading{gap:16px;margin:0 0 14px;align-items:center}.tv-final .category-heading h2{font-size:23px;line-height:1.2;letter-spacing:-.5px;margin:0}.tv-final .category-heading h2:before{content:'';display:inline-block;background:var(--accent);width:4px;height:21px;border-radius:4px;vertical-align:-2px;margin-right:10px}.tv-final .tv-carousel-controls{display:flex;gap:8px;margin-left:auto}.tv-final .tv-carousel-controls button{display:grid;place-items:center;width:34px;height:34px;padding:0;color:#d8c9df;background:#ffffff05;border:1px solid #ffffff26;font-size:26px;border-radius:50%;line-height:1}.tv-final .tv-carousel-controls button:hover{background:#ef4b9d25;color:white;border-color:#ef4b9d}.tv-final .category-rail{gap:12px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scroll-padding:1px;position:relative;padding:0 1px 2px}.tv-final .category-rail::-webkit-scrollbar{display:none}.tv-final .tv-discovery-shelf .category-rail>.my-drama-v1__card{flex:0 0 calc((100% - 36px)/3.15);scroll-snap-align:start}.tv-final .my-drama-v1__cover{border-radius:9px;border:1px solid #ffffff10;overflow:hidden;transition:border-color .2s,filter .2s}.tv-final .my-drama-v1__card:hover .my-drama-v1__cover{border-color:#ef4b9d99;filter:brightness(1.06)}.tv-final .my-drama-v1__name{position:absolute;width:1px;height:1px;padding:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.tv-final .my-drama-v1__count{font-size:10px;bottom:8px;right:8px;padding:4px 6px;background:#000a;max-width:calc(100% - 16px)}.tv-final .my-drama-badge-free{background:#ef4b9d;color:#fff;border:0;box-shadow:none;padding:4px 7px;font-size:11px;border-radius:6px}.tv-final .my-drama-free-clock{display:none}.tv-final .tv-discovery-ranked{flex:0 0 calc((100% - 60px)/6.15);position:relative;padding-left:28px;align-items:stretch}.tv-final .tv-discovery-rank{position:absolute;bottom:0;left:0;margin:0;z-index:2;font-size:clamp(56px,6.5vw,108px);font-style:normal;line-height:.85;color:#17121c;-webkit-text-stroke:1.5px #ee67aa;text-shadow:none;pointer-events:none}.tv-final .tv-discovery-ranked .my-drama-v1__card{width:100%}.tv-final .tv-discovery-results{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.tv-final .tv-discovery-filter{display:flex;align-items:center;gap:8px;margin:0;flex-wrap:wrap}.tv-final .tv-discovery-filter>a,.tv-final .tv-discovery-filter>button{min-height:36px;padding:7px 20px;font-size:13px}.tv-final .tv-discovery-explore>.category-heading{display:flex;justify-content:flex-start;flex-wrap:wrap}.tv-discovery-sentinel{display:flex;justify-content:center;align-items:center;gap:12px;padding:26px 0 4px;font-size:13px;color:#baaec4}.tv-loading-ring{width:22px;height:22px;border:2px solid #ef4b9d30;border-top-color:var(--accent);border-radius:50%;animation:tv-ring 1s linear infinite}@keyframes tv-ring{to{transform:rotate(360deg)}}.tv-category-more{display:block;margin:24px auto}.tv-final .tv-discovery-seo-links{margin:8px 0 20px;font-size:12px;gap:20px}.tv-final .my-drama-browse-guide{margin-top:22px;padding-top:24px;border-top:1px solid var(--edge)}
.tv-final .tv-site-footer{max-width:1776px;margin:0 auto;padding:28px 0;display:flex;justify-content:space-between;align-items:center;gap:28px;border-top:1px solid #ffffff18}.tv-site-footer>div{display:flex;flex-direction:column;gap:10px}.tv-final .tv-site-footer .brand{font-size:19px}.tv-site-footer small{font-size:11px;color:#9e90ac}.tv-site-footer nav{display:flex;gap:18px;flex-wrap:wrap;align-items:center}.tv-site-footer>span{font-size:12px;white-space:nowrap}
.tv-final .tv-user{max-width:1080px;margin:32px auto;padding:0 24px;min-height:65vh}.tv-me-heading{display:flex;align-items:center;gap:18px;margin-bottom:24px}.tv-me-heading h1{font-size:26px;margin:0;overflow-wrap:anywhere}.tv-me-heading p{font-size:14px;color:#b7a8c3;margin:5px 0}.tv-me-avatar{display:grid;place-items:center;width:64px;height:64px;flex-shrink:0;border-radius:50%;background:#6c3158;font-size:28px}.tv-studio-entry{display:flex;align-items:center;gap:14px;padding:18px;background:#251c2d;border:1px solid var(--edge);border-radius:12px;margin-bottom:24px;font-weight:650}.tv-studio-entry svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5}.tv-studio-entry>span:last-child{margin-left:auto}.tv-user[data-library-tab=recent] .drama-library__section:has([data-library-favorites]),.tv-user[data-library-tab=favorites] .drama-library__section:has([data-library-recent]){display:none}.tv-user .drama-library__section>h2{display:none}.tv-final .tv-user .drama-library__row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.tv-final .tv-user .drama-library__card{min-width:0;position:relative;border:1px solid var(--edge);border-radius:10px;background:#211a28;padding:10px}.tv-final .tv-user .drama-library__card>a{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px 12px;min-width:0}.tv-final .tv-user .drama-library__card img{width:72px;height:90px;grid-row:1/4;object-fit:cover;border-radius:6px}.tv-final .tv-user .drama-library__card strong{display:none}.tv-final .tv-user .drama-library__card small{font-size:12px;align-self:end}.tv-final .tv-user .drama-library__progress{width:100%;height:4px;margin:0}.tv-history-remove{position:absolute;right:4px;top:4px;background:#0007;font-size:22px;padding:0;width:30px;height:30px;border-radius:50%}.tv-me-settings{display:grid;gap:1px;border:1px solid var(--edge);border-radius:12px;overflow:hidden;margin:26px 0}.tv-me-settings>a,.tv-me-settings>button{display:flex;justify-content:space-between;gap:12px;min-height:52px;padding:14px 16px;background:#201925;border-radius:0;color:#eee1f4;text-align:left}.tv-me-settings span{color:#b7a8c3}.tv-creator-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 22px}.tv-creator-stats article{padding:20px;background:#251c2d;border:1px solid var(--edge);border-radius:12px}.tv-creator-stats strong{display:block;font-size:30px;margin-top:8px}.tv-creator-stats small{color:#bcaec7}.tv-final .reels-mine [data-reels-mine-grid]{grid-template-columns:repeat(3,minmax(0,1fr))}.tv-final .reels-upload-card{position:relative}.tv-final .reels-upload-card h2{font-size:16px}.tv-final .reels-upload-card p{font-size:13px}.tv-final .tv-reels[data-reels-view=mine]{max-width:1200px}
@media(min-width:761px) and (max-width:1200px){.tv-final .site-header{gap:18px;padding:14px 22px}.tv-final .site-header nav{gap:16px}.tv-final .account{gap:12px}.tv-final .account .language-picker summary>span{display:none}.tv-final .my-drama-v1{padding:20px 22px}.tv-final .category-heading h2{font-size:20px}.tv-final .tv-site-footer{margin:0 22px}.tv-final .tv-discovery-results{grid-template-columns:repeat(5,minmax(0,1fr))}.tv-final .tv-discovery-ranked{flex-basis:20%}.tv-final .tv-user .drama-library__row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body.tv-final{padding-bottom:calc(70px + env(safe-area-inset-bottom));background:#141017}.tv-final .site-header{min-height:68px;padding:12px 16px;gap:12px;position:relative;flex-wrap:wrap}.tv-final .site-header .brand{font-size:20px;gap:9px}.tv-final .site-header .brand img{width:28px;height:34px}.tv-final .site-header>nav,.tv-final .site-header>.account .pricing-link,.tv-final .site-header>.account .language-picker,.tv-final .site-header>.account [data-login],.tv-final .site-header>.account .user-menu{display:none}.tv-final .account{margin-left:auto;gap:0}.tv-mobile-search{display:grid;place-items:center;width:42px;height:42px;padding:8px;background:transparent}.tv-header-search{display:none;order:5;flex:0 0 100%;max-width:none}.tv-search-open .tv-header-search{display:block}.tv-final .my-drama-v1{padding:16px 14px 24px}.tv-discovery-hero{display:block;min-height:0;background:transparent;border:0;margin:0 0 20px;overflow:visible}.tv-final .tv-discovery-hero .my-drama-seo__heading,.tv-discovery-hero:has(.tv-discovery-resume[hidden]) .my-drama-seo__heading{padding:0 0 18px}.tv-final .tv-discovery-hero h1{font-size:26px;letter-spacing:-.7px;margin-bottom:8px;max-width:100%}.tv-final .tv-discovery-hero .my-drama-seo__heading p{font-size:13px}.tv-final .tv-discovery-resume{padding:0;border:0;background:transparent;overflow:visible}.tv-final .tv-discovery-resume h2{font-size:17px;margin:0 0 10px}.tv-resume-track{margin-right:-14px;padding-right:14px}.tv-resume-card{flex:0 0 82%;max-width:none}.tv-final .tv-resume-card a{height:90px}.tv-discovery-pair{display:block}.tv-final .tv-discovery-shelf,.tv-final .tv-discovery-explore{padding:0;background:transparent;border:0;margin:0 0 24px;overflow:visible}.tv-final .category-heading{margin-bottom:12px;gap:10px}.tv-final .category-heading h2{font-size:19px}.tv-final .category-heading h2:before{display:none}.tv-final .tv-carousel-controls{display:none}.tv-final .tv-discovery-shelf .category-rail{margin-right:-14px;padding-right:14px;gap:10px}.tv-final .tv-discovery-shelf .category-rail>.my-drama-v1__card{flex-basis:38%}.tv-final .tv-discovery-ranked{flex:0 0 43%;padding-left:20px}.tv-final .tv-discovery-rank{font-size:80px}.tv-final .tv-discovery-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tv-final .tv-discovery-filter{gap:6px;flex-wrap:nowrap}.tv-final .tv-discovery-filter>a,.tv-final .tv-discovery-filter>button{font-size:12px;min-height:34px;padding:7px 13px}.tv-final .tv-discovery-explore>.category-heading{flex-wrap:nowrap;justify-content:space-between}.tv-final .tv-discovery-seo-links{gap:8px 14px}.tv-bottom-tabs{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-around;padding:7px 16px calc(7px + env(safe-area-inset-bottom));height:calc(68px + env(safe-area-inset-bottom));z-index:60;background:#19131ff2;border-top:1px solid #ffffff16;backdrop-filter:blur(16px)}.tv-bottom-tabs a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:74px;min-height:48px;color:#b8acbf;font-size:11px}.tv-bottom-tabs svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6}.tv-bottom-tabs [aria-current]{color:#ff61ae}.tv-final .tv-site-footer{padding:22px 16px;margin:0 14px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.tv-site-footer>div{gap:5px}.tv-final .tv-site-footer .brand{font-size:17px}.tv-final .tv-site-footer nav{gap:0 16px}.tv-final .tv-site-footer a{font-size:12px;min-height:36px}.tv-final .tv-user{margin:20px auto;padding:0 16px}.tv-final .tv-user .drama-library__row{grid-template-columns:1fr}.tv-final .tv-user .drama-library__card>a{grid-template-columns:88px minmax(0,1fr);padding-right:24px}.tv-final .tv-user .drama-library__card img{width:88px;height:66px;object-position:center 30%}.tv-final .tv-user .drama-library__card{padding:8px}.tv-user-tabs{display:flex;gap:8px}.tv-user-tabs button{min-height:42px;font-size:13px;padding:8px 14px}.tv-final .tv-user .language-picker{display:block}.tv-final .site-header>.account .language-picker[open]{display:block;position:fixed;right:16px;top:76px;z-index:200}.tv-final .site-header>.account .language-picker[open] summary{background:#251b2e;padding:8px 12px}.tv-final .site-header>.account .language-picker[open] .language-menu{max-height:65dvh;overflow:auto}.tv-final .reels-upload-fab{bottom:calc(84px + env(safe-area-inset-bottom));right:14px}.tv-final .reels-mine [data-reels-mine-grid]{grid-template-columns:repeat(2,minmax(0,1fr))}.tv-final .reels-upload-card h2{font-size:14px}.tv-final .reels-upload-card p{font-size:12px}.tv-final.tv-explore-page .tv-site-footer{display:none}.tv-final.tv-explore-page .reels-feed{height:calc(100dvh - 154px - env(safe-area-inset-bottom));min-height:260px}.tv-final.tv-watch-page,.tv-final:has(.is-modal-open){padding-bottom:0}.tv-watch-page>.site-header,.tv-watch-page>.tv-bottom-tabs,.tv-final:has(.is-modal-open)>.tv-bottom-tabs{display:none}.tv-watch-page>.tv-site-footer{display:none}.tv-final.tv-watch-page .my-drama-v1{padding-top:0}.tv-final .drama-player__bottom button{min-width:38px;padding-left:6px;padding-right:6px}.tv-final #toast{bottom:calc(82px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.tv-final *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Keep discovery's grid and filter primitives in its single website stylesheet. */
.tv-final .tv-discovery-results{display:grid}.tv-final .category-rail{display:flex}.tv-final .tv-discovery-ranked{display:flex;min-width:0;scroll-snap-align:start}.tv-final .tv-discovery-rank{font-weight:900}.tv-final .tv-discovery-filter>a,.tv-final .tv-discovery-filter>button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #ffffff26;background:#251e2b;border-radius:22px;color:#d2c4dc}.tv-final .tv-discovery-filter>[aria-current]{background:var(--accent);color:white;border-color:var(--accent)}
.tv-final .tv-discovery-ranked>.my-drama-v1__card{flex:1 1 0%;min-width:0;width:100%}.tv-final .tv-discovery-hero .my-drama-seo__heading{align-items:flex-start;text-align:left;gap:0}.tv-final .tv-discovery-hero h1{display:block}.tv-final .tv-discovery-hero h1::before,.tv-final .tv-discovery-hero h1::after{display:none}.tv-final .my-drama-v1__cover{aspect-ratio:2/3}
/* Creation is managed as compact work rows, with titles beside thumbnails. */
.tv-final .reels-mine [data-reels-mine-grid]{grid-template-columns:minmax(0,1fr)}.tv-final .reels-upload-card{display:grid;grid-template-columns:100px minmax(0,1fr);gap:5px 16px;padding:14px}.tv-final .reels-upload-card .reels-upload-cover{grid-row:1/span 6;width:100px;height:140px;margin:0}.tv-final .reels-upload-cover>img{width:100%;height:100%;object-fit:cover}.tv-final .reels-upload-card h2,.tv-final .reels-upload-card>p,.tv-final .reels-upload-card>.reels-check,.tv-final .reels-upload-card>button{grid-column:2;margin:0;overflow-wrap:anywhere}.tv-final .reels-upload-card>p:empty{display:none}.tv-final .reels-upload-card .reels-check{align-self:end}
@media(max-width:760px){.tv-final .reels-upload-card{grid-template-columns:78px minmax(0,1fr);gap:4px 12px;padding:10px}.tv-final .reels-upload-card .reels-upload-cover{width:78px;height:110px}.tv-final .reels-upload-card h2{font-size:14px}.tv-final .reels-upload-card>.reels-check{font-size:11px}}
/* Approved refinement: compact ranks, portrait resume cards and one responsive library. */
.tv-final .tv-discovery-hero{grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);min-height:0;background:linear-gradient(100deg,#2b1929,#1d1723);padding:24px;gap:24px;border-color:#3a2c40}
.tv-final .tv-discovery-hero .my-drama-seo__heading{padding:0}.tv-final .tv-discovery-hero h1{font-size:34px;line-height:1.18;letter-spacing:-1px}.tv-final .tv-discovery-hero .my-drama-seo__heading p{font-size:14px;line-height:1.6}
.tv-final .tv-discovery-resume{background:none;border:0;padding:0}.tv-final .tv-discovery-resume h2{font-size:20px;margin:0 0 14px}.tv-final .tv-resume-track{gap:12px;scroll-snap-type:x mandatory}.tv-final .tv-resume-card{flex:0 0 calc((100% - 12px)/2);max-width:none;min-width:0;border:1px solid #ffffff14;border-radius:12px;background:#29212f;scroll-snap-align:start}
.tv-final .tv-resume-card a{display:flex;align-items:stretch;gap:12px;padding:10px;height:auto;min-height:126px;border:0;background:none;overflow:visible}.tv-final .tv-resume-card img{flex:none;width:74px;height:106px;aspect-ratio:2/3;object-fit:cover;object-position:center;border-radius:8px;filter:none}.tv-resume-info{display:flex;flex:1;min-width:0;flex-direction:column;justify-content:space-between;padding:2px 20px 0 0}.tv-resume-info strong{font-size:13px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tv-final .tv-resume-card small{position:static;font-size:11px;color:#b9adbf}.tv-final .tv-resume-card progress{position:static;width:100%;height:3px;margin:8px 0}.tv-final .tv-resume-play{position:static;transform:none;width:auto;height:auto;display:block;background:none;border:0;border-radius:0;font-size:12px;color:#ff8bc2}
.tv-final .tv-discovery-ranked{padding-left:0;flex:0 0 calc((100% - 80px)/6);display:block}.tv-final .tv-discovery-rank{top:8px;left:8px;bottom:auto;min-width:36px;height:38px;padding:0 7px;display:grid;place-items:center;line-height:1;font-size:24px;font-style:normal;border:1px solid #ef6dac60;border-radius:8px;background:#1b1224e8;color:#ffabd3;-webkit-text-stroke:0;font-weight:700}.tv-final .tv-discovery-ranking{gap:16px}
.tv-final .tv-user{width:100%;max-width:1840px;margin:24px auto;padding:0 32px}.tv-final .tv-me-heading{gap:14px;margin-bottom:18px}.tv-final .tv-me-heading h1{font-size:21px;margin:0}.tv-final .tv-me-heading p{font-size:12px;margin:5px 0 0}.tv-final .tv-me-avatar{width:48px;height:48px;font-size:22px}.tv-final .tv-studio-entry{gap:12px;padding:16px;margin:0;background:#261d2e;border-color:#44344e;border-radius:10px;font-size:14px}.tv-final .tv-studio-entry svg{width:20px;height:20px}
.tv-final .tv-user-tabs{height:62px;gap:28px;padding:0;border-bottom:1px solid #3a303f}.tv-final .tv-user-tabs button{display:flex;align-items:center;min-height:0;height:62px;padding:0;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:#b5a6bf;font-size:14px;font-weight:400}.tv-final .tv-user-tabs button[aria-pressed=true]{background:none;border-bottom-color:#ed54a0;color:#ff82bd;font-weight:700}.tv-final .tv-user .drama-library{padding:18px 0 0}.tv-final .tv-user .drama-library__row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;overflow:visible;padding:0}.tv-final .tv-user .drama-library__card{width:auto;min-width:0;padding:0;border:0;border-radius:0;background:none}.tv-final .tv-user .drama-library__card>a{display:flex;flex-direction:column;gap:0;padding:0;min-width:0}.tv-final .tv-user .drama-library__card img{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;object-position:center;border-radius:8px}.tv-final .tv-user .drama-library__card strong{display:block;font-size:13px;line-height:1.35;margin-top:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tv-final .tv-user .drama-library__card small{font-size:11px;margin-top:5px;line-height:1.5;align-self:stretch;color:#b9adbf;opacity:1}.tv-final .tv-user .drama-library__progress{height:3px;margin:8px 0 0;width:100%}.tv-final .tv-user .drama-library__empty{grid-column:1/-1}
.tv-final .tv-me-settings{display:none}.tv-final .reels-upload-card{padding-right:48px}.tv-final .reels-upload-cover{position:static}
/* Icon size is independent of the touch target; every cross uses the same geometry. */
.tv-final :is(.tv-history-remove,.tv-resume-remove,.tv-liked-remove,.reels-delete-trigger){position:absolute;right:7px;top:7px;z-index:3;display:grid;place-items:center;width:28px;height:28px;min-width:28px;min-height:28px;max-width:28px;max-height:28px;margin:0;padding:0;border:1px solid #ffffff30;border-radius:50%;background:#17121ddd;color:#fff;line-height:1;box-sizing:border-box}
.tv-final :is(.tv-history-remove,.tv-resume-remove,.tv-liked-remove,.reels-delete-trigger) svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.tv-final .tv-liked-remove svg{fill:#ef4b9d;stroke:#ef4b9d}.tv-final .tv-liked-remove span{display:none}
.tv-final :is(.dialog-close,.reels-delete-close,[data-reels-upload-close],[data-comment-close],[data-reply-cancel],.my-drama-v1__modal-close,.drama-player__close,.drama-player__panel-close){display:grid;place-items:center;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border:1px solid #ffffff30;border-radius:50%;background:#17121ddd;color:#fff;line-height:1;box-sizing:border-box}
.tv-final :is(.dialog-close,.reels-delete-close,[data-reels-upload-close],[data-comment-close],[data-reply-cancel],.my-drama-v1__modal-close,.drama-player__close,.drama-player__panel-close) svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.tv-final button:is(.tv-history-remove,.tv-resume-remove,.dialog-close):focus-visible{outline:2px solid #ffabd3;outline-offset:2px}
@media(min-width:761px) and (max-width:1200px){.tv-final .tv-user{padding:0 22px}.tv-final .tv-user .drama-library__row{grid-template-columns:repeat(5,minmax(0,1fr))}.tv-final .tv-discovery-ranked{flex-basis:20%}.tv-final .tv-discovery-hero{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:18px;padding:20px}.tv-final .tv-discovery-hero h1{font-size:28px}.tv-final .tv-resume-card{flex-basis:90%}}
@media(max-width:760px){.tv-final .tv-discovery-hero{display:block;padding:0;background:none;border:0}.tv-final .tv-discovery-hero .my-drama-seo__heading{padding:0 0 22px}.tv-final .tv-discovery-hero h1{font-size:26px;line-height:1.2;letter-spacing:-.7px}.tv-final .tv-discovery-hero .my-drama-seo__heading p{font-size:13px}.tv-final .tv-discovery-resume h2{font-size:18px;margin-bottom:12px}.tv-final .tv-resume-card{flex:0 0 94%}.tv-final .tv-resume-card a{min-height:122px}.tv-final .tv-resume-card img{width:70px;height:100px}.tv-final .tv-resume-info strong{font-size:14px}.tv-final .tv-resume-card small{font-size:12px}.tv-final .tv-resume-play{font-size:13px}.tv-final .tv-discovery-ranked{flex:0 0 calc((100% - 12px)/2);padding:0}.tv-final .tv-discovery-ranking{gap:12px}.tv-final .tv-discovery-rank{min-width:30px;height:32px;font-size:20px}.tv-final .tv-user{margin:20px auto;padding:0 16px}.tv-final .tv-user .drama-library__row{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.tv-final .tv-me-settings{display:grid;margin:24px 0;border-color:#44344e;border-radius:12px}.tv-final .tv-me-settings>button{min-height:54px;font-family:inherit;font-size:15px;font-weight:400;padding:17px 16px;background:#241c2b;color:#f8f4fa;align-items:center;line-height:1.4}.tv-final .tv-me-settings span{font-size:15px;color:#b9adbf}.tv-final :is(.tv-history-remove,.tv-resume-remove,.tv-liked-remove,.reels-delete-trigger,.dialog-close,.reels-delete-close,[data-reels-upload-close],[data-comment-close],[data-reply-cancel],.my-drama-v1__modal-close,.drama-player__close,.drama-player__panel-close)::after{content:'';position:absolute;width:44px;height:44px;left:50%;top:50%;transform:translate(-50%,-50%)}.tv-final .reels-upload-card{padding-right:44px}}
@media(min-width:600px) and (max-width:760px){.tv-final .tv-user .drama-library__row{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Match the approved typography and the unboxed ranking shelf. */
body.tv-final{font-family:Arial,"Noto Sans CJK SC",sans-serif}.tv-final .category-heading h2{font-size:20px}.tv-final [data-discovery-shelf=top]{padding:0;border:0;background:none}.tv-final [data-discovery-shelf=top] h2:before{display:none}
@media(max-width:760px){.tv-final .category-heading h2{font-size:18px}}
.tv-final .drama-library__progress{appearance:none;border:0;border-radius:3px;overflow:hidden;background:#ffffff25}.tv-final .drama-library__progress::-webkit-progress-bar{background:#ffffff25}.tv-final .drama-library__progress::-webkit-progress-value{background:#ed54a0}.tv-final .drama-library__progress::-moz-progress-bar{background:#ed54a0}
