/* Desktop composition: persistent tools, discovery cards, and a watch workspace. */
#md-desktop-bar,.md-discovery,.md-desktop-card-meta,.md-discovery-section-title,.md-watch-next,.md-player-toolbar{display:none}
.md-feed-workspace{display:contents}
.md-lead-player{display:none}.md-lead-mobile{display:block;width:100%;padding:0;border:0;background:none;color:inherit;text-align:left;font:inherit;cursor:pointer}
@media(min-width:768px){
 :root{--md-topbar:72px}
 #md-desktop-bar{position:fixed;z-index:10020;left:var(--md-sidebar);top:0;right:0;height:var(--md-topbar);display:flex;align-items:center;gap:24px;padding:0 28px;background:#101114f5;border-bottom:1px solid #ffffff08;color:#ddd;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft JhengHei",sans-serif}
 #md-desktop-bar[hidden]{display:none!important}#md-desktop-bar *{box-sizing:border-box}#md-desktop-bar button{font:inherit;cursor:pointer}
 .md-top-context{font-size:13px;color:#e7e7eb;white-space:nowrap;min-width:115px}.md-top-context span{color:#747782;margin-left:6px}
 .md-desktop-search{height:40px;display:flex;align-items:center;width:min(470px,45%);margin:0 auto;background:#25262d;border:1px solid #ffffff14;border-radius:10px;overflow:hidden}
 .md-desktop-search:focus-within{border-color:#9bdedb70}.md-desktop-search input{flex:1;min-width:0;width:0;border:0;background:none;color:#fff;outline:none;font:13px sans-serif;padding:0 16px}.md-desktop-search input::placeholder{color:#81848f}.md-desktop-search button{background:none;border:0;border-left:1px solid #ffffff18;color:#e6e6eb;padding:0 16px;font-size:16px!important;white-space:nowrap}.md-desktop-search button span{font-size:12px}
 .md-top-actions{display:flex;align-items:center;gap:22px;white-space:nowrap}.md-top-actions a,.md-top-actions>button{display:flex;align-items:center;gap:6px;color:#a4a7b1;border:0;background:none;text-decoration:none;font-size:18px}.md-top-actions span{font-size:11px}.md-top-actions>button.md-top-login{border-radius:8px;background:#bbebe4;color:#142425;padding:9px 16px;font-size:13px;max-width:140px;overflow:hidden;text-overflow:ellipsis;display:block}
 #md-shell{top:var(--md-topbar);padding:24px 28px 40px}#md-shell[data-view=series]{display:flex;flex-direction:column}#md-shell[data-view=series]>*{flex-shrink:0}
 #md-shell .md-header,#md-shell .md-carousel,#md-shell .md-dots{display:none}
 #md-nav{padding-top:17px;background:#131418}#md-nav .md-desktop-brand{padding-bottom:20px}#md-nav .md-nav-label{padding-top:22px;padding-bottom:15px}#md-nav>button{padding-block:13px;margin-bottom:3px}
 #md-nav>button[aria-current=page]{background:#272930;color:white;box-shadow:none}#md-nav>button[aria-current=page] img{filter:brightness(1.5)}
 .md-categories{position:sticky;top:-24px;z-index:4;order:-1;flex-shrink:0;background:#101114f5;padding:5px 0 17px;margin:0 0 22px;border-bottom:1px solid #ffffff0a;gap:27px}
 .md-category{border-radius:0;padding:6px 1px 10px;background:transparent;color:#9699a3;font-weight:500;font-size:14px!important;border-bottom:2px solid transparent}
 .md-category.active{color:#f5f5f7;background:none;border-bottom-color:#a5e5da}.md-category:hover{color:#fff}
 .md-discovery{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:18px;height:335px;margin-bottom:30px}
 .md-discovery button{cursor:pointer;border:0;text-align:left;color:#fff;overflow:hidden;font:inherit}
 .md-discovery-lead{position:relative;border-radius:12px;background:#1d2527;padding:0;isolation:isolate;min-height:0;height:100%}
 .md-discovery-lead>img{position:absolute;right:0;top:0;width:67%;height:100%;object-fit:cover;object-position:50% 24%;z-index:-2;transition:transform .4s}
 .md-discovery-lead:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#162326 8%,#162326ef 29%,#16232615 85%),linear-gradient(0deg,#0006,transparent 50%)}
 .md-discovery-lead:hover>img{transform:scale(1.04)}.md-discovery-copy{padding:34px;width:70%;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
 .md-discovery-label{font-size:10px;letter-spacing:2px;color:#a6d9d0;border:1px solid #a6d9d030;border-radius:4px;padding:5px 8px;background:#101e2180}
 .md-discovery-copy h1{font-size:clamp(22px,2.4vw,36px);line-height:1.35;font-weight:650;max-width:380px;margin:18px 0 12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 2px 16px #0005}
 .md-discovery-copy p{font-size:12px;color:#b5bfc2;margin:0 0 24px}.md-watch{padding:10px 17px;background:#c1ebe2;color:#142c2b;border-radius:7px;font-size:12px;font-weight:600}
 .md-discovery-note{position:absolute;right:16px;bottom:14px;color:#ffffffa0;font-size:10px}
 .md-discovery-side{display:grid;grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:16px;min-width:0;min-height:0}.md-discovery-side button{padding:0;background:#1b1c22;border-radius:10px;display:grid;grid-template-columns:42% minmax(0,1fr);min-height:0}
 .md-discovery-side img{height:100%;width:100%;object-fit:cover;object-position:center 25%;min-height:0}.md-discovery-side button>div{padding:18px;display:flex;flex-direction:column;justify-content:center;min-width:0}
 .md-discovery-side small{color:#787d89;font-size:9px;letter-spacing:1px}.md-discovery-side h2{font-size:15px;font-weight:500;line-height:1.5;margin:9px 0 7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.md-discovery-side p{font-size:11px;color:#898d98;margin:0}.md-discovery-side span{font-size:10px;color:#afd9cf;margin-top:13px}
 .md-discovery-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.md-discovery-section-title h2{font-size:19px;font-weight:600;margin:0}.md-discovery-section-title>span{color:#777d88;font-size:11px}
 .md-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 18px}.md-card-image{aspect-ratio:16/10;border-radius:9px}.md-card-image>img{object-position:center 27%}.md-card-title{font-weight:500;font-size:14px;margin:11px 0 7px}.md-desktop-card-meta{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#787c88;gap:8px;white-space:nowrap}.md-desktop-card-meta>span{color:#8e949b;font-size:9px}.md-badge{font-size:10px;padding:3px 7px}.md-views{font-size:10px}
 #md-shell[data-feature=creators]{padding:0 24px 20px}.md-feed-heading{padding:18px 0 0;position:absolute;right:26px;top:0;z-index:3}.md-feed-heading>div{display:none}.md-feed-heading>button{width:29px;height:29px;font-size:19px!important}
 #md-shell[data-feature=creators]>.md-feature-tabs{height:63px;align-items:center;padding:0;gap:30px}#md-shell[data-feature=creators]>.md-feature-tabs button{font-size:14px;padding:10px 0}
 .md-feed-workspace{display:flex;flex:1;gap:22px;min-height:0;min-width:0}.md-feed-stage{flex:1;min-width:0;border-radius:11px;background:#08090b}.md-feed-video{object-fit:contain}
 #md-feed-controls{bottom:54px;background:linear-gradient(transparent 60%,#0009)}.md-feed-caption{left:24px;right:95px;bottom:10px}.md-feed-caption h2{font-size:14px;max-width:650px;margin:10px 0 5px}.md-feed-author strong{font-size:14px}.md-feed-author img{width:32px;height:32px}.md-feed-caption p{font-size:10px}
 .md-feed-actions{right:18px;bottom:22px;gap:19px}.md-feed-actions svg{width:25px;height:25px}.md-feed-actions span{font-size:10px}.md-feed-hint{top:18px;left:24px;font-size:10px}.md-feed-arrows{right:19px;top:18px;gap:7px}.md-feed-arrows button{height:32px;width:32px;font-size:17px!important}
 .md-player-toolbar{position:absolute;display:flex;align-items:center;gap:12px;left:0;bottom:0;right:0;height:54px;padding:0 18px;background:#0d0e12e8;border-top:1px solid #ffffff0c;z-index:3}
 .md-player-toolbar button{border:0;background:none;color:#ccc;font-size:12px!important;padding:7px 0;white-space:nowrap}.md-player-toolbar button:hover{color:#b5e7dd}.md-player-time{font-size:10px;color:#9b9da7;white-space:nowrap;font-variant-numeric:tabular-nums}.md-player-seek{flex:1;min-width:20px;height:3px;accent-color:#b6e6db;cursor:pointer}.md-player-rate{border:0;background:#202127;color:#c7c9d0;border-radius:5px;font-size:11px;padding:5px;cursor:pointer}.md-player-rate option{background:#202127}
 .md-watch-next{display:flex;flex-direction:column;flex:0 0 245px;min-height:0;padding:0 0 4px}.md-watch-next-heading{display:flex;align-items:center;justify-content:space-between;margin:3px 0 8px}.md-watch-next h2{font-size:16px;font-weight:500;margin:0}.md-watch-next-heading>span{font-size:10px;color:#7c818c}.md-watch-next>p{font-size:11px;color:#717783;margin:0 0 20px}
 .md-watch-next-list{overflow-y:auto;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#30333c transparent}.md-watch-next-list>button{display:flex;gap:12px;width:100%;background:none;border:1px solid transparent;border-radius:8px;padding:8px;margin-bottom:7px;color:#d6d8df;text-align:left;min-height:100px}.md-watch-next-list>button:hover{background:#ffffff06}.md-watch-next-list>button[aria-current]{background:#a1e2d909;border-color:#a1e2d92b}
 .md-queue-image{position:relative;flex:none;width:66px;height:86px;border-radius:5px;overflow:hidden;background:#222}.md-queue-image img{width:100%;height:100%;object-fit:cover}.md-queue-image>span{position:absolute;left:0;right:0;bottom:0;font-size:9px;color:#fff;background:#0008;text-align:center;padding:4px}
 .md-watch-next-list>button>div:last-child{display:flex;flex-direction:column;gap:9px;min-width:0;padding-top:5px}.md-watch-next strong{font-size:13px;line-height:1.5;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.md-watch-next-list>button>div>span:not(.md-queue-image>span){font-size:11px;color:#9297a1}.md-watch-next small{font-size:10px;color:#787e89}
 .md-watch-next footer{border-top:1px solid #ffffff0b;margin-top:15px;padding-top:15px;font-size:9px;color:#727987;white-space:nowrap}.md-watch-next kbd{display:inline-block;font:10px sans-serif;background:#23252d;border:1px solid #ffffff0a;border-radius:3px;padding:3px 5px;margin-right:4px}
 .md-feed-stage:fullscreen{border:0;border-radius:0}.md-feed-stage:fullscreen .md-feed-caption{max-width:700px}
 body.md-app-ui:not(.md-shell-active) uni-page-wrapper{margin-top:var(--md-topbar)!important;height:calc(100dvh - var(--md-topbar))!important;min-height:0!important}
 #md-shell[data-feature=rewards]{display:grid;grid-template-columns:330px minmax(0,1fr);grid-template-rows:auto auto auto 1fr;gap:20px 30px;align-content:start}
 #md-shell[data-feature=rewards]>.md-feature-header{grid-column:1/-1;padding:5px 0 0}#md-shell[data-feature=rewards]>.md-login-strip{grid-column:1/-1;max-width:none;margin:0}
 #md-shell[data-feature=rewards]>.md-reward-wallet{grid-column:1;margin:0;max-width:none}#md-shell[data-feature=rewards]>.md-checkin{grid-column:1;grid-row:4;align-self:start;margin:0;padding:20px 14px}#md-shell[data-feature=rewards]>.md-task-group{grid-column:2;grid-row:3/6;max-width:none;margin:0;background:#191a20;border:1px solid #ffffff0a;border-radius:12px;padding:0 24px 20px}
 #md-shell[data-feature=rewards] .md-checkin-days{gap:4px}#md-shell[data-feature=rewards] .md-checkin-days>div{padding:10px 0}#md-shell[data-feature=rewards] .md-checkin-days small{font-size:9px}
 .md-profile{max-width:none;margin:0;min-height:calc(100dvh - 125px);background:#191a20;color:#e9e9ee;border:1px solid #ffffff0b;border-radius:12px}.md-profile-top{height:210px;background-position:center 40%;padding:28px 35px}.md-profile-top>img{height:92px;width:92px;border:3px solid #ffffff20}.md-profile-top>p{font-size:21px}.md-profile-top small{font-size:12px}.md-profile-content{background:#191a20;padding:30px 35px}.md-profile-stats{max-width:650px}.md-profile-stats strong{font-size:22px}.md-tools{max-width:850px;margin:30px 0;gap:14px}.md-tools button{background:#22242b;padding:20px 10px;border-radius:9px;color:#bbb}.md-profile-tabs{justify-content:flex-start;gap:30px;border-color:#ffffff10}.md-profile-tabs button.active{color:#c2e7de;border-color:#c2e7de}.md-profile-empty{padding-top:25px}.md-profile-empty>button{max-width:260px;background:#25272f}.md-edit{background:#292c34;color:#bfc4cf}
}
@media(min-width:1600px){.md-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.md-discovery{height:380px}.md-watch-next{flex-basis:280px}}
@media(min-width:768px) and (max-width:1200px){
 .md-top-context{display:none}.md-top-actions{gap:15px}.md-top-actions span{display:none}.md-desktop-search{width:65%;margin-left:0}.md-watch-next{display:none}.md-discovery{grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr);height:300px}.md-discovery-copy{padding:24px;width:80%}.md-discovery-side button>div{padding:12px}.md-discovery-side h2{font-size:13px}.md-discovery-side span{margin-top:8px}.md-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.md-desktop-card-meta>span{display:none}.md-player-toolbar{gap:8px;padding:0 12px}.md-player-toolbar button span{display:none}
 #md-shell[data-feature=rewards]{display:block}#md-shell[data-feature=rewards]>*{margin-bottom:24px!important}
}
@media(prefers-reduced-motion:reduce){.md-discovery-lead>img{transition:none}}

/* One mixed feed replaces the fixed promotional banner and repeated posters. */
@media(min-width:768px){
 .md-discovery-section-title{margin:0 0 20px}.md-discovery-section-title>div{display:flex;align-items:center;gap:22px;font-size:11px;color:#828792}
 .md-discovery-section-title [data-mix]{border:0;background:none;color:#c4d9d6;font:inherit;font-size:12px;padding:6px 0;cursor:pointer}.md-discovery-section-title [data-mix]:hover{color:#fff}
 .md-grid.md-mixed-grid{--md-feed-columns:5;--md-tile-height:calc((100vw - var(--md-sidebar) - 128px)/5 * .5625 + 75px);grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:var(--md-tile-height);grid-auto-flow:row dense;gap:24px 18px}
 .md-mixed-grid>.md-card{min-height:0;height:100%;align-self:start;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-start}
 .md-mixed-grid>.md-card:not(.md-card--lead) .md-card-image{height:calc(var(--md-tile-height) - 65px);aspect-ratio:auto;width:100%;flex-shrink:0}
 .md-mixed-grid .md-card-title{font-size:14px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.55;margin:9px 0 5px;min-height:21px;flex-shrink:0}
 .md-mixed-grid .md-desktop-card-meta{width:100%;font-size:10px;flex-shrink:0}.md-mixed-grid .md-desktop-card-meta>span{display:none}
 .md-mixed-grid>.md-card--lead{grid-column:1 / span 3;grid-row:span 2;border-radius:12px;background:#07080a;display:block;position:relative}
 .md-mixed-grid[data-layout=right]>.md-card--lead{grid-column:3 / span 3}.md-mixed-grid[data-layout=compact]>.md-card--lead{grid-column:1 / span 2}
 .md-mixed-grid>.md-card--wide{grid-column:span 2}
 .md-card--lead>.md-lead-mobile{display:none}.md-lead-player{display:block;position:relative;height:100%;width:100%;background:#07080a}
 .md-series-preview{display:block;height:100%;width:100%;object-fit:contain}
 .md-preview-caption{position:absolute;left:20px;right:20px;bottom:61px;pointer-events:none;color:white;text-shadow:0 2px 12px #000;background:linear-gradient(transparent,#0005);border-radius:7px;padding:12px 0 0}
 .md-preview-caption button{max-width:100%;background:none;border:0;color:#fff;font:600 15px/1.5 sans-serif;padding:0;text-align:left;cursor:pointer;pointer-events:auto}.md-preview-caption button span{font-size:11px;font-weight:400;margin-left:15px;color:#b8e3da;white-space:nowrap}
 .md-preview-note{font-size:10px;line-height:1.6;color:#c2c4c9;margin:7px 0 0}
}
@media(min-width:768px) and (max-width:1199px){
 .md-grid.md-mixed-grid{--md-tile-height:calc((100vw - var(--md-sidebar) - 92px)/3 * .5625 + 70px);grid-template-columns:repeat(3,minmax(0,1fr))}
 .md-mixed-grid>.md-card--lead,.md-mixed-grid[data-layout=right]>.md-card--lead,.md-mixed-grid[data-layout=compact]>.md-card--lead{grid-column:1 / span 2}.md-mixed-grid>.md-card--wide{grid-column:span 1}
 .md-preview-caption{left:14px;right:14px}.md-preview-caption button{font-size:13px}.md-preview-caption button span{display:block;margin-left:0;margin-top:5px}
}

/* Quiet account control and a single, uncluttered creator player. */
@media(min-width:768px){
 .md-top-actions>button.md-top-login{background:#292b31;color:#d7d9df;border:1px solid #ffffff12;border-radius:7px;padding:9px 16px}
 .md-top-actions>button.md-top-login:hover{background:#35373e;color:#fff}
 #md-shell[data-feature=creators]{padding:0 20px 16px}
 #md-shell[data-feature=creators]>.md-feature-tabs{height:45px;gap:25px;opacity:.8}
 #md-shell[data-feature=creators]>.md-feature-tabs button{font-size:12px;padding:7px 0;border-bottom-width:1px}
 #md-shell[data-feature=creators] .md-feed-heading{padding-top:9px;right:23px}
 .md-feed-workspace{gap:0}.md-feed-stage{width:100%;border-radius:10px}
 .md-feed-caption{left:24px;bottom:17px;right:130px;max-width:750px}
 .md-feed-caption h2{font-size:15px;margin:10px 0 0;line-height:1.7}.md-feed-caption p{display:none}
 .md-feed-author strong{font-size:17px}.md-feed-author img{height:35px;width:35px}
 .md-feed-author button{background:#ffffff12;border-color:#ffffff28;font-size:11px!important}
 .md-feed-actions{right:24px;bottom:33px;gap:24px}.md-feed-actions svg{width:28px;height:28px}.md-feed-actions span{font-size:11px}
 .md-feed-arrows{right:22px;top:45%;gap:1px;border-radius:23px;background:#ffffff0c;overflow:hidden}
 .md-feed-arrows button{width:37px;height:37px;border:0;border-radius:0;background:none;color:#a3a6ae;font-size:18px!important}.md-feed-arrows button:hover{background:#ffffff12;color:#fff}
 .md-feed-hint{display:none}
 .md-player-toolbar{background:#0b0c0fe8;border-color:#ffffff0a}.md-player-seek{accent-color:#c7c9d0}.md-player-toolbar button:hover{color:#fff}
}

/* Reference composition: a fixed left player, four cards on the right. */
.md-remix{display:none}
@media(min-width:768px){
 :root{--md-sidebar:160px;--md-topbar:56px}
 html,body,#md-shell{background:#151515!important}
 #md-desktop-bar{padding-inline:24px;background:#151515f5;border-bottom:0}
 .md-top-context{display:none}.md-desktop-search{position:absolute;left:calc(50% - var(--md-sidebar)/2);transform:translateX(-50%);margin:0;height:42px;width:min(600px,48%)}.md-top-actions{margin-left:auto}
 #md-shell{padding:0 24px 30px}#md-nav{padding:10px 12px;background:#121212;border-right:0;gap:3px}
 #md-nav .md-desktop-brand{padding:0 5px 18px;gap:7px}#md-nav .md-desktop-brand img{width:30px;height:30px}.md-desktop-brand span{font-size:18px}.md-desktop-brand small{font-size:8px;letter-spacing:0;margin-top:4px}
 #md-nav .md-nav-label{display:none}#md-nav>button{padding:10px 17px;margin:0;gap:13px;border-radius:10px}#md-nav>button img{width:21px;height:21px}#md-nav>button span{font-size:15px}
 .md-categories{top:0;height:52px;padding:8px 0 5px;margin:0;gap:27px;border:0;align-items:center;background:#151515f5}
 .md-category{font-size:15px!important;padding:8px 0}.md-category.active{border-bottom-color:#ddd}
 .md-categories .md-remix{display:block;flex:none;margin-left:auto;color:#a3a3a3;border:0;background:none;padding:6px 2px;font-size:21px!important;cursor:pointer}
 .md-discovery-section-title{display:none}
 #md-shell:has(.md-grid:not(.md-mixed-grid)) .md-discovery-section-title{display:flex;margin:18px 0}
 .md-grid.md-mixed-grid{--md-tile-height:calc((100vw - var(--md-sidebar) - 112px)/5 * .5625 + 88px);grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 16px}
 .md-mixed-grid>.md-card--lead{grid-column:1 / span 3;grid-row:1 / span 2}
 .md-mixed-grid>.md-card:not(.md-card--lead) .md-card-image{height:calc(var(--md-tile-height) - 88px)}
 .md-mixed-grid .md-card-title{font-size:15px;line-height:1.6;margin:10px 0 6px}.md-mixed-grid .md-desktop-card-meta{font-size:11px;color:#8d8d8d}
 #md-shell[data-feature=creators]{padding:0 16px 12px 0}
 #md-shell[data-feature=creators]>.md-feature-tabs{position:absolute;left:20px;top:9px;z-index:5;height:auto;padding:4px 11px;border-radius:7px;background:#0004;gap:20px;opacity:.6}
 #md-shell[data-feature=creators]>.md-feature-tabs:hover,#md-shell[data-feature=creators]>.md-feature-tabs:focus-within{opacity:1}
 #md-shell[data-feature=creators] .md-feed-heading{display:none}
 .md-feed-workspace{position:relative;padding-right:48px}
 .md-feed-workspace>.md-feed-arrows{position:absolute;right:0;top:50%;transform:translateY(-50%);gap:0;z-index:5;width:36px;background:#ffffff0b;border-radius:20px;display:flex}
 .md-feed-workspace>.md-feed-arrows button{width:36px;height:37px}
 .md-feed-stage{border:0;border-radius:10px}.md-feed-caption{left:17px;bottom:15px}
}
@media(min-width:768px) and (max-width:1199px){
 :root{--md-sidebar:148px}
 .md-grid.md-mixed-grid{--md-tile-height:calc((100vw - var(--md-sidebar) - 80px)/3 * .5625 + 88px);grid-template-columns:repeat(3,minmax(0,1fr))}
 .md-mixed-grid>.md-card--lead{grid-column:1 / span 2;grid-row:1 / span 2}
 .md-categories{gap:22px}.md-category{font-size:13px!important}
}

/* Issue sheet: legible identity, uncropped portrait posters and quiet playback. */
#app-download-preview{position:fixed;left:12px;right:12px;bottom:76px;z-index:10000;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:12px;background:#202126ef;color:#eee;font:13px/1.6 sans-serif;box-sizing:border-box}
#app-download-preview[hidden]{display:none!important}
.md-preview-copy{min-width:0}.md-preview-copy strong{display:none}.md-preview-copy span{display:block}
#app-download-preview>a{flex-shrink:0;padding:9px 14px;border-radius:8px;background:#32343b;color:#eee;border:1px solid #ffffff18;text-decoration:none;font-weight:500;white-space:nowrap}
.md-card-image{aspect-ratio:9/16}
@media(min-width:768px){
 #md-nav{padding-inline:10px}
 #md-nav .md-desktop-brand{padding-inline:0;gap:7px;min-width:0;align-items:center}
 #md-nav .md-desktop-brand>img{width:36px;height:42px;flex-shrink:0}
 #md-nav .md-desktop-brand>span{font-size:22px;line-height:1.2;font-weight:650;min-width:0}
 #md-nav .md-desktop-brand small{font-size:10px;line-height:1.4;letter-spacing:0;margin-top:5px;white-space:nowrap}
 .md-grid,.md-grid.md-mixed-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 16px}
 .md-grid.md-mixed-grid{--md-tile-height:calc((100vw - var(--md-sidebar) - 128px)/6 * 16/9 + 68px);grid-auto-rows:var(--md-tile-height)}
 .md-mixed-grid>.md-card--lead{grid-column:1/span 4;grid-row:1/span 1}
 .md-grid .md-card-image,.md-mixed-grid>.md-card:not(.md-card--lead) .md-card-image{height:auto;aspect-ratio:9/16;width:100%}
 .md-grid .md-card-image>img{object-position:center;object-fit:cover}
 .md-lead-player{isolation:isolate;overflow:hidden;background:transparent}
 .md-preview-ambient{position:absolute;inset:-45px;background-position:center;background-size:cover;filter:blur(34px) brightness(.58);transform:scale(1.1);pointer-events:none;z-index:0}
 .md-series-preview{position:relative;z-index:1;background:transparent}
 .md-preview-caption{z-index:2;background:none;border-radius:0;padding:0;text-shadow:0 2px 8px #000,0 0 3px #000}
}

@media(min-width:768px) and (max-width:1199px){
 #md-nav .md-desktop-brand>span{font-size:20px}#md-nav .md-desktop-brand small{font-size:10px}
 .md-grid,.md-grid.md-mixed-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .md-grid.md-mixed-grid{--md-tile-height:calc((100vw - var(--md-sidebar) - 96px)/4 * 16/9 + 68px)}
 .md-mixed-grid>.md-card--lead{grid-column:1/span 2;grid-row:1/span 1}
}
@media(min-width:1200px){
 body.md-native-player #app-download-preview{left:24px!important;right:auto!important;bottom:32px!important;width:230px;max-width:calc((100vw - 520px)/2 - 48px);flex-direction:column;align-items:flex-start;gap:17px;padding:20px;border:1px solid #ffffff0b;background:#1d1f24ed;border-radius:12px}
 body.md-native-player.md-app-ui #app-download-preview{left:calc(var(--md-sidebar) + 24px)!important;max-width:calc((100vw - var(--md-sidebar) - 520px)/2 - 48px)}
 .md-preview-copy strong{display:block;font-size:16px;font-weight:550;margin-bottom:9px;line-height:1.5}
 .md-preview-copy span{font-size:13px;line-height:1.9;color:#aeb1ba}
 #app-download-preview>a{padding:9px 19px}
}

/* October 28 issue sheet: full posters, complete rows and viewport-sized playback. */
.md-grid .md-card-image>img{object-fit:contain;object-position:center;transform:none!important}
.md-card-title{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.md-preview-controls{position:absolute;z-index:3;left:18px;right:18px;bottom:12px;display:flex;align-items:center;gap:12px;color:#fff;text-shadow:0 1px 4px #000}
.md-preview-controls button{border:0;background:transparent;color:inherit;font:18px sans-serif;cursor:pointer;padding:5px}
.md-preview-controls input{flex:1;min-width:25px;accent-color:#d4d6dc;height:4px;cursor:pointer}
.md-preview-controls output{font:12px sans-serif;white-space:nowrap}


.md-profile-library{padding:22px 0}.md-profile-library .md-grid{padding:0}
.md-profile-library .md-card-image{aspect-ratio:9/16}
.md-profile-notice{font-size:12px;line-height:1.8;color:#aaa}.md-profile-notice button{background:#292b31;border:1px solid #ffffff20;color:#ddd;padding:7px 14px;border-radius:7px;margin-left:8px}
#md-feed-controls{background-image:none}
@media(max-width:767px){
 #md-shell[data-feature=creators]>.md-feature-tabs{position:absolute;inset:0 0 auto;z-index:4;background:linear-gradient(#0008,transparent);padding-bottom:22px}
 .md-feed-stage{flex:1;height:100%;min-height:0}.md-feed-video{height:100%}
 .md-feed-caption{bottom:18px}.md-feed-actions{bottom:18px}
 .md-profile-content{padding-bottom:75px}
}
@media(min-width:768px){
 :root{--md-sidebar:190px}
 #md-nav .md-desktop-brand>img{width:44px;height:48px}
 #md-nav .md-desktop-brand>span{font-size:24px;letter-spacing:-.5px}
 #md-nav .md-desktop-brand small{font-size:11px;white-space:normal}
 .md-grid.md-mixed-grid{grid-auto-rows:auto}
 .md-mixed-grid>.md-card{height:auto;overflow:visible;align-self:stretch}
 .md-mixed-grid>.md-card--lead{min-height:380px;overflow:hidden}
 .md-mixed-grid .md-card-title{display:block;-webkit-line-clamp:unset;overflow:visible;min-height:0}
 .md-lead-player{position:absolute;inset:0;height:100%}
 .md-preview-caption{bottom:60px}
 #md-shell[data-feature=rewards]{grid-template-rows:auto auto auto auto;align-items:start}
 #md-shell[data-feature=rewards]>.md-task-group{align-self:start;min-height:max-content;height:auto;overflow:visible;grid-row:3/span 2}
 
 body.md-native-player uni-page-wrapper{height:calc(100dvh - var(--md-topbar,0px))!important;overflow:hidden!important}
 body.md-native-player:not(.md-app-ui) uni-page-wrapper{height:100dvh!important}
 body.md-native-player .video-detail-page,body.md-native-player .swiper-container{width:100%!important;max-width:none!important;height:100%!important;margin:0!important}
 body.md-native-player .video-player{width:100%!important;height:100%!important;max-width:none!important}
 body.md-native-player .video-player iframe{height:100%!important;width:100%!important}
 body.md-native-player .video-footer{width:100%!important;background:none!important}
 body.md-native-player .video-footer .relative.h100,body.md-native-player .progress-bg{max-width:100%}
 body.md-native-player .video-player>.control-box{width:100%!important;height:100%!important}
 #md-native-details{display:none}
}
@media(min-width:1200px){
 body.md-native-player .video-footer>.w-300{display:none}
 #md-native-details{position:fixed;display:block;left:calc(var(--md-sidebar,0px) + 24px);top:calc(var(--md-topbar,0px) + 30px);z-index:10001;width:250px;max-height:calc(100dvh - 370px);overflow:auto;box-sizing:border-box;padding:18px;color:#eee;background:#1d1f24e8;border:1px solid #ffffff15;border-radius:12px;font:14px/1.8 sans-serif}
 body:not(.md-app-ui) #md-native-details{left:24px;top:30px}
 #md-native-details[hidden]{display:none}
 #md-native-details img{width:72px;height:105px;object-fit:contain;float:left;margin:0 12px 12px 0;border-radius:5px}
 #md-native-details h2{font-size:17px;line-height:1.6;margin:0 0 14px;overflow-wrap:anywhere}
 #md-native-details p{clear:both;color:#aeb1ba;font-size:12px;white-space:pre-wrap}
 #md-native-details button{border:1px solid #ffffff20;background:#30323a;color:#eee;border-radius:7px;padding:9px 14px;cursor:pointer}
 body.md-native-player #app-download-preview{max-width:250px}
}

@media(max-width:767px){
 .md-player-toolbar{position:absolute;display:flex;align-items:center;gap:10px;left:12px;right:12px;bottom:5px;height:34px;padding:0;background:none;border:0;z-index:4;color:#eee}
 .md-player-toolbar button{background:none;border:0;color:#eee;padding:5px;font-size:16px}
 .md-player-seek{flex:1;min-width:20px;width:20px;accent-color:#ccc}
 .md-player-time{font-size:10px;white-space:nowrap}.md-player-rate{max-width:48px;background:#2228;color:#ddd;border:0}
 .md-player-toolbar button span{display:none}
 #md-feed-controls{bottom:46px}
 .md-feed-caption{bottom:8px}.md-feed-actions{bottom:8px}
}

@media(min-width:768px){
 body.md-native-player .video-detail-page,body.md-native-player .swiper-container{height:calc(100dvh - var(--md-topbar,0px))!important}
 body.md-native-player:not(.md-app-ui) .video-detail-page,body.md-native-player:not(.md-app-ui) .swiper-container{height:100dvh!important}
}

@media(min-width:768px){
 body.md-native-player uni-page-body{width:100%!important;max-width:none!important;height:100%!important;margin:0!important}
 body.md-native-player .video-footer>.ptb-12 .relative{width:100%!important}
 body.md-native-player .video-footer>.ptb-12 .progress-bg{width:100%!important}
}

@media(min-width:1201px){
 #md-shell[data-feature=rewards]{grid-template-rows:none;grid-auto-rows:max-content}
 #md-shell[data-feature=rewards]>.md-reward-summary{grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:22px;align-self:start}
 #md-shell[data-feature=rewards]:has(>.md-login-strip)>.md-reward-summary{grid-row:3}
 #md-shell[data-feature=rewards]>.md-task-group{grid-column:2;grid-row:2;min-height:max-content}
 #md-shell[data-feature=rewards]:has(>.md-login-strip)>.md-task-group{grid-row:3}
 .md-reward-summary>.md-reward-wallet,.md-reward-summary>.md-checkin{margin:0;max-width:none}
}

@media(max-width:767px){.md-feed-hint{display:none}}

.md-card-image:before{content:"";position:absolute;inset:-15px;background-image:var(--md-poster);background-size:cover;background-position:center;filter:blur(18px) brightness(.65)}
.md-card-image>img{position:relative}
@media(max-width:767px){#md-shell[data-feature=creators] .md-feed-video{object-fit:cover}}

/* H5 issue sheet 2026-10-29: equal poster frames and a readable mobile account. */
@media(max-width:767px){
 .md-grid>.md-card{display:flex;flex-direction:column;justify-content:flex-start;align-self:stretch}
 .md-card--lead>.md-lead-mobile{display:flex;flex-direction:column;justify-content:flex-start}
 .md-card-image{flex-shrink:0;width:100%}
 .md-profile,.md-profile-content{background:#191a20;color:#eee}
 .md-profile-stats strong{color:#eee}.md-profile-tabs{flex-wrap:wrap;border-color:#ffffff18;gap:8px}.md-profile-tabs button{font-size:14px!important}
 .md-profile-tabs button.active{color:#b9ded9;border-color:#b9ded9}
 .md-tools button{color:#ddd;background:#24262c;border-radius:8px;padding:10px 2px;font-size:11px!important}
 .md-edit{background:#2a2d34;color:#eee}
}
.md-feed-video{cursor:pointer}

/* Compact story + download card, matching the H5 review reference. */
@media(min-width:1200px){
 #md-native-details,body:not(.md-app-ui) #md-native-details{top:auto;bottom:62px;left:24px;width:min(600px,calc(100vw - 100px));max-height:50dvh;padding:18px 20px;border-radius:20px;background:linear-gradient(110deg,#101a2bea,#0a0d13df);border:1px solid #b5c6e666;box-shadow:0 8px 28px #0004;backdrop-filter:blur(14px)}
 body.md-app-ui #md-native-details{left:calc(var(--md-sidebar) + 24px);width:min(560px,calc(100vw - var(--md-sidebar) - 90px))}
 .md-native-story{display:grid;grid-template-columns:76px minmax(0,1fr);gap:18px;align-items:center}
 #md-native-details .md-native-story img{float:none;width:76px;height:106px;object-fit:contain;margin:0;border-radius:7px}
 #md-native-details h2{font-size:19px;margin:0 0 12px;line-height:1.6}
 #md-native-details .md-native-story button{font-size:14px;background:#ffffff08;border:1px solid #bed3f344;padding:8px 16px;border-radius:12px}
 body.md-native-player #md-native-details #app-download-preview{position:static!important;width:100%;max-width:none!important;margin:16px 0 0;padding:14px 0 0;border:0;border-top:1px solid #ffffff25;border-radius:0;background:none;box-shadow:none;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center}
 #md-native-details .md-preview-copy strong{font-size:15px;margin:0 0 3px;color:#fff}
 #md-native-details .md-preview-copy span{font-size:12px;line-height:1.7}
 #md-native-details #app-download-preview>a{border:1px solid #46a8f3;border-radius:22px;padding:10px 18px;color:#80ceff;background:#0c1b2a;box-shadow:inset 0 0 12px #3598e322}
}
.md-drama-comment-action{display:flex;flex-direction:column;align-items:center;background:none;border:0;color:#fff;padding:0;margin:20px 0 0;cursor:pointer;gap:6px}
.md-drama-comment-action svg{width:30px;height:30px}.md-drama-comment-action span{font-size:12px}
#md-drama-comments{position:fixed;inset:0;z-index:22000;background:#0008;display:flex;justify-content:flex-end}
#md-drama-comments[hidden]{display:none}
.md-drama-comment-sheet{width:min(420px,100%);height:100dvh;background:#191b20;color:#eee;display:flex;flex-direction:column;padding:22px;box-sizing:border-box;font:14px/1.7 sans-serif}
.md-drama-comment-sheet header{display:flex;justify-content:space-between;align-items:center;gap:15px}
.md-drama-comment-sheet h2{font-size:20px}.md-drama-comment-sheet button{background:#30343d;color:#eee;border:1px solid #ffffff20;border-radius:8px;padding:8px 12px;cursor:pointer}
.md-drama-comment-list{flex:1;min-height:0;overflow-y:auto;color:#bbb;padding-block:10px}
.md-drama-comment{border-bottom:1px solid #ffffff15;padding:14px 0}.md-drama-comment p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.md-drama-comment small{color:#858b98}
.md-drama-comment-sheet form{display:grid;gap:10px;padding-top:15px;border-top:1px solid #ffffff18}
.md-drama-comment-sheet textarea{box-sizing:border-box;width:100%;height:80px;resize:vertical;color:#eee;background:#252830;border:1px solid #505766;border-radius:8px;padding:10px;font:inherit}
.md-drama-comment-sheet [role=alert]{margin:0;font-size:12px;color:#dca5a5}
@media(max-width:767px){.md-drama-comment-sheet{align-self:flex-end;height:70dvh;border-radius:18px 18px 0 0;padding:18px}.md-drama-comment-action{margin-top:18px}.md-drama-comment-action svg{width:25px;height:25px}}

.md-profile-filter{display:flex;gap:10px;margin:18px 0 0}.md-profile-filter button{font:13px sans-serif;padding:8px 14px;border:1px solid #ffffff20;border-radius:20px;background:#24272e;color:#aaa;cursor:pointer}.md-profile-filter button[aria-pressed=true]{background:#b8dcd5;color:#182c28;border-color:transparent}

/* H5 review (13): consistent player actions and a single safe-area aware card. */
#md-shell[data-feature=creators][data-creator-tab=ranking]>.md-feature-tabs{position:relative;inset:auto;flex:none;opacity:1;background:#111217;padding:12px 18px;box-sizing:border-box}
#md-shell[data-feature=creators][data-creator-tab=ranking] .md-creator-ranking{width:100%;max-width:none;box-sizing:border-box;flex:1;min-height:0;padding-bottom:20px}
#md-native-details[hidden],#md-player-exit[hidden]{display:none!important}
#md-native-details{position:fixed;z-index:10001;box-sizing:border-box;color:#fff;font:14px/1.5 sans-serif;top:auto!important;left:12px!important;bottom:calc(105px + env(safe-area-inset-bottom))!important;width:calc(100vw - 96px)!important;max-height:32dvh!important;overflow:auto;padding:10px!important;border:1px solid #afc5e633;border-radius:12px!important;background:linear-gradient(110deg,#101a2bef,#0a0d13e8);backdrop-filter:blur(14px)}
.md-native-story{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center}
#md-native-details .md-native-story img{float:none;width:42px;height:58px;object-fit:contain;margin:0;border-radius:4px}
#md-native-details h2{font-size:13px!important;line-height:1.4!important;margin:0 0 6px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#md-native-details .md-native-story button{padding:5px 8px;font-size:11px;background:#ffffff10;border:1px solid #c4d4ef44;color:#fff;border-radius:8px;cursor:pointer}
body.md-native-player .video-footer>.w-300{display:none!important}
body.md-native-player #md-native-details #app-download-preview{position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;box-sizing:border-box;margin:8px 0 0!important;padding:8px 0 0!important;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;border:0;border-top:1px solid #ffffff20;border-radius:0;background:none!important;box-shadow:none}
#md-native-details .md-preview-copy strong{display:none}
#md-native-details .md-preview-copy span{font-size:10px;line-height:1.5}
#md-native-details #app-download-preview>a{font-size:11px;padding:7px 9px;border-radius:16px;white-space:nowrap;background:#102235;color:#a8d7ff;border:1px solid #569ad0}
#md-player-exit{position:fixed;z-index:10015;top:calc(12px + env(safe-area-inset-top));left:12px;border:1px solid #ffffff44;background:#15171bbd;color:#fff;min-height:40px;padding:8px 13px;border-radius:20px;cursor:pointer;touch-action:manipulation}
body.md-native-player .video-player .right-container{right:8px!important;width:56px!important;max-width:56px!important;padding:0!important;box-sizing:border-box!important;align-items:center!important;gap:16px;bottom:140px!important}
.video-player .right-container>.bg-g5{display:none!important}
.video-player .right-container .right-content,.md-drama-comment-action,.md-native-mute{display:flex!important;flex-direction:column;align-items:center!important;justify-content:center;box-sizing:border-box;width:56px!important;min-width:56px;margin:0!important;padding:0!important;gap:5px;border:0;background:none;color:#fff;cursor:pointer}
.video-player .right-container .right-content{margin-bottom:16px!important}
.video-player .right-container .right-content:last-child{margin-bottom:0!important}
.md-native-mute svg,.md-drama-comment-action svg{width:28px;height:28px;flex-shrink:0}
.md-native-mute span,.md-drama-comment-action span{font:11px/1.5 sans-serif;color:#fff}
.md-tools img{filter:brightness(0) invert(1)}
.md-profile-card{min-width:0;align-self:start}.md-profile-card>.md-card{width:100%;display:block}
.md-profile-card .md-card-title{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;line-height:1.6}
.md-profile-card.is-expanded .md-card-title{-webkit-line-clamp:unset}
.md-card-expand,.md-caption-expand{border:0;background:none;color:#fff;padding:5px 0;cursor:pointer;font:12px/1.5 sans-serif;text-align:left}
.md-feed-caption h2.is-expanded{-webkit-line-clamp:unset;max-height:28dvh;overflow:auto;pointer-events:auto;touch-action:pan-y}
.md-feed-actions .md-feed-author{display:flex;flex-direction:column;gap:5px;align-items:center;max-width:72px}
.md-feed-author .md-author-avatar{padding:0!important;min-width:0!important}
.md-feed-author strong{font-size:10px!important;max-width:68px;overflow:hidden;text-overflow:ellipsis}
.md-feed-author button[data-feature=follow]{font-size:10px!important;padding:4px 6px!important;min-width:0!important;border:1px solid #ffffff60;background:#20212680;border-radius:8px}
.md-feed-actions .md-feed-author img{width:38px;height:38px;display:block}
.md-feed-actions{top:auto;bottom:8px!important;transform:none;gap:14px!important}
@media(max-width:767px){
 #md-shell[data-feature=creators][data-creator-tab=ranking]>.md-feature-tabs{position:relative;inset:auto;background:#111217;padding-top:12px;padding-bottom:12px;flex:none}
 #md-shell[data-feature=creators][data-creator-tab=ranking] .md-creator-ranking{flex:1;min-height:0;padding-bottom:20px}
 .md-feed-caption{right:82px;bottom:8px}
}
@media(min-width:768px){
 #md-native-details{left:24px!important;bottom:70px!important;width:min(440px,calc(100vw - 100px))!important;padding:14px!important}
 body.md-app-ui #md-native-details{left:calc(var(--md-sidebar) + 24px)!important;width:min(440px,calc(100vw - var(--md-sidebar) - 100px))!important}
 .md-native-story{grid-template-columns:54px minmax(0,1fr);gap:12px}
 #md-native-details .md-native-story img{width:54px;height:74px}
 #md-native-details h2{font-size:15px!important}
 #md-native-details .md-preview-copy span{font-size:12px}
 #md-player-exit{top:calc(var(--md-topbar,0px) + 12px)}
 body.md-app-ui #md-player-exit{left:calc(var(--md-sidebar) + 18px)}
 body.md-native-player .video-player .right-container{right:24px!important;bottom:100px!important}
}
@media(max-height:600px){
 .md-feed-actions{gap:7px!important}.md-feed-actions .md-feed-author strong{display:none}.md-feed-actions svg{width:23px;height:23px}
 #md-native-details{max-height:38dvh!important;bottom:90px!important}.md-native-story img{display:none}.md-native-story{grid-template-columns:1fr}
}

/* Desktop discovery keeps the preview and landscape cards on one grid. */
@media (min-width: 768px) {
  :root { --md-sidebar: 160px; }
  #md-nav { padding-inline: 16px; background: #171821; }
  #md-desktop-bar { background: #171821; }
  #md-nav .md-desktop-brand { padding: 4px 14px 11px; gap: 6px; }
  #md-nav .md-desktop-brand small { display: none; }
  #md-nav > button[aria-current=page] { background: #2b2d38; }
  #md-desktop-bar .md-top-actions .md-top-tool img { width: 16px; height: 16px; }
  #md-shell[data-view=series] { background: #171821 !important; }
  #md-shell[data-view=series] .md-categories { background: #171821; gap: 30px; }
  #md-shell[data-view=series] .md-category { font-size: 16px !important; }
  #md-shell[data-view=series] .md-category.active { border-bottom-color: #ff4166; font-weight: 650; }
  #md-nav .md-desktop-brand > img { width: 28px; height: 28px; object-fit: contain; }
  #md-nav .md-desktop-brand > span { font-size: 18px; letter-spacing: 0; }
  #md-nav > button img { width: 18px; height: 18px; }
  #md-nav > button { min-height: 40px; padding: 8px 16px; gap: 14px; }
  #md-shell[data-view=series] .md-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 18px 16px;
    align-items: start;
  }
  #md-shell[data-view=series] .md-mixed-grid > .md-card--lead {
    grid-column: 1 / span 2;
    grid-row: 1;
    align-self: stretch;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  #md-shell[data-view=series] .md-mixed-grid:has(> .md-card:nth-child(3)) > .md-card--lead {
    grid-row: 1 / span 2;
    aspect-ratio: auto;
  }
  #md-shell[data-view=series] .md-grid > .md-card:not(.md-card--lead) .md-card-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  #md-shell[data-view=series] .md-card-image::before { content: ""; }
  #md-shell[data-view=series] .md-card-image > img { object-fit: contain; object-position: center; }
  #md-shell[data-view=series] .md-grid .md-card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 8px 0 4px;
    min-height: 46px;
    font-size: 16px;
    line-height: 23px;
  }
  #md-shell[data-view=series] .md-desktop-card-meta {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    line-height: 18px;
    color: #a3a4ac;
  }
  #md-shell[data-view=series] .md-desktop-card-meta > span { display: none; }
  #md-shell[data-view=series] .md-card-image { border-radius: 12px; background: #242531; }
  #md-shell[data-view=series] .md-views { bottom: 8px; right: 12px; font-size: 13px; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  #md-shell[data-view=series] .md-mixed-grid > .md-card--lead,
  #md-shell[data-view=series] .md-mixed-grid:has(> .md-card:nth-child(3)) > .md-card--lead {
    grid-column: 1 / -1;
    grid-row: 1;
    aspect-ratio: 16 / 9;
    max-height: 440px;
  }
}
@media (min-width: 1200px) {
  #md-shell[data-view=series] { padding-right: 34px; }
  #md-shell[data-view=series] .md-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    row-gap: 24px;
  }
  #md-shell[data-view=series] .md-mixed-grid > .md-card:not(.md-card--lead) { padding-bottom: 14px; }
  #md-shell[data-view=series] .md-mixed-grid > .md-card--lead { grid-column: 1 / span 3; }
  #md-shell[data-view=series] .md-mixed-grid:has(> .md-card:nth-child(3)):not(:has(> .md-card:nth-child(5))) > .md-card--lead {
    grid-row: 1;
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 768px) {
  #md-shell[data-view=series] .md-grid > .md-card:not(.md-card--lead) .md-card-image {
    aspect-ratio: 4 / 3;
  }
  #md-shell[data-view=series] .md-grid .md-card-title {
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-height: 0;
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 20px;
  }
  #md-shell[data-view=series] .md-grid .md-desktop-card-meta {
    display: none;
  }
  #md-shell[data-view=series] .md-mixed-grid > .md-card:not(.md-card--lead) {
    padding-bottom: 0;
  }
}

.md-home-hot, .md-home-picks { display: none; }
@media (min-width: 1200px) {
  #md-shell[data-view=series] .md-mixed-grid:has(.md-home-hot) {
    --md-home-lead-height: clamp(430px, 29vw, 560px);

    grid-template-columns: repeat(24, minmax(0, 1fr));
    grid-template-rows: 28px auto;
    gap: 16px;
  }
  #md-shell[data-view=series] .md-mixed-grid:has(.md-home-hot) > article.md-card.md-card--lead {
    grid-area: 1 / 1 / 3 / 16;
    min-height: var(--md-home-lead-height);
  }
  #md-shell[data-view=series] .md-mixed-grid:has(.md-home-hot) .md-preview-caption button {
    font-size: clamp(20px, 1.8vw, 32px);
  }
  #md-shell[data-view=series] .md-mixed-grid:has(.md-home-hot) .md-preview-caption button span {
    display: table;
    margin: 6px 0 0;
    padding: 6px 14px;
    border-radius: 999px;
    background: #a12d4f;
    color: #fff;
    font-size: 13px;
  }
  .md-home-hot, .md-home-picks {
    display: block;
    margin: 0;
    color: #fff;
    font-size: 20px;
    line-height: 28px;
  }
  .md-home-hot { grid-area: 1 / 16 / 2 / -1; }
  .md-home-picks { grid-area: 3 / 1 / 4 / -1; }
  #md-shell[data-view=series] .md-mixed-grid:has(.md-home-hot) > button.md-card {
    grid-column: span 3;
    min-width: 0;
  }
  #md-shell[data-view=series] .md-mixed-grid:has(.md-home-hot) > button.md-card .md-card-image {
    width: 100%;
    min-width: 0;
    aspect-ratio: 7 / 10;
  }
  #md-shell[data-view=series] .md-mixed-grid:has(.md-home-hot) > button.md-card:nth-child(-n+4) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-self: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    aspect-ratio: auto;
    text-align: left;
  }
  #md-shell[data-view=series] .md-mixed-grid:has(.md-home-hot) > button.md-card:nth-child(-n+4) .md-card-image {
    flex: none;
  }
  #md-shell[data-view=series] .md-mixed-grid:has(.md-home-hot) > button.md-card:nth-child(-n+4) .md-card-title {
    display: -webkit-box;
    white-space: normal;
    margin: 6px 0 0;
    line-height: 20px;
  }
  #md-shell[data-view=series] .md-mixed-grid:has(.md-home-hot) > button.md-card:nth-child(2) { grid-area: 2 / 16 / 3 / 19; }
  #md-shell[data-view=series] .md-mixed-grid:has(.md-home-hot) > button.md-card:nth-child(3) { grid-area: 2 / 19 / 3 / 22; }
  #md-shell[data-view=series] .md-mixed-grid:has(.md-home-hot) > button.md-card:nth-child(4) { grid-area: 2 / 22 / 3 / -1; }
}
