/*
 * HEXODRAMA / Short Drama UI
 * Mobile-first browsing inspired by common short-drama interaction patterns.
 * Original layout and SVG system; no third-party app artwork or copied markup.
 */

:root {
    --hd-bg: #09090d;
    --hd-surface: #15151b;
    --hd-surface-raised: #1d1d25;
    --hd-text: #f8f8fa;
    --hd-muted: #a1a2ad;
    --hd-line: rgba(255, 255, 255, 0.11);
    --hd-accent: var(--gold, #ff4668);
    --hd-radius: 13px;
    --hd-content: 1320px;
}

html { scroll-padding-top: 76px; }
body.hd-app,
body.hd-auth-page {
    color: var(--hd-text);
    background: var(--hd-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
.hd-app button,
.hd-auth-page button { cursor: pointer; }
.hd-app a:hover { color: inherit; }
.hd-app a:focus-visible,
.hd-auth-page a:focus-visible,
.hd-app input:focus-visible,
.hd-app button:focus-visible,
.hd-auth-page input:focus-visible,
.hd-auth-page button:focus-visible { outline: 2px solid var(--hd-accent); outline-offset: 3px; }
.hd-app .hx-icon,
.hd-auth-page .hx-icon { vertical-align: middle; flex: none; }

/* Header and navigation -------------------------------------------------- */
.hd-topbar {
    height: 72px;
    border-bottom: 1px solid var(--hd-line);
    background: rgba(9, 9, 13, .96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 90;
}
.hd-topbar-inner {
    height: 100%;
    max-width: var(--hd-content);
    margin-inline: auto;
    padding-inline: 28px;
    display: flex;
    align-items: center;
    gap: 34px;
}
.hd-brand,
.hd-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    font-weight: 900;
    font-size: 1.16rem;
    letter-spacing: -.065em;
}
.hd-brand-picture { display: flex; align-items: center; }
.hd-brand-picture img { max-width: 195px; max-height: 49px; height: auto; width: auto; object-fit: contain; }
.hd-mark {
    display: inline-grid;
    width: 33px;
    height: 33px;
    place-items: center;
    border-radius: 10px;
    background: var(--hd-accent);
    color: white;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .09);
}
.hd-mark .hx-icon { margin-left: 2px; }
.hd-wordmark { white-space: nowrap; }
.hd-desktop-links { display: flex; align-items: center; gap: 29px; }
.hd-desktop-links a { color: #babac5; font-weight: 700; font-size: .88rem; transition: color .18s; }
.hd-desktop-links a[aria-current="page"],
.hd-desktop-links a:hover { color: #fff; }
.hd-top-search {
    margin-left: auto;
    height: 43px;
    min-width: 240px;
    width: min(365px, 100%);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, .09);
    background: #1b1b23;
    border-radius: 12px;
    padding-left: 14px;
    color: #9899a7;
}
.hd-top-search input,
.hd-home-search input,
.hd-browse-search input {
    border: 0;
    background: transparent;
    outline: 0;
    color: white;
    width: 100%;
    min-width: 0;
    font-weight: 500;
}
.hd-top-search input::placeholder,
.hd-home-search input::placeholder,
.hd-browse-search input::placeholder { color: #888993; }
.hd-top-search button,
.hd-home-search button,
.hd-browse-search button {
    border: 0;
    background: transparent;
    color: #f4f4f7;
    display: grid;
    place-items: center;
    padding: 0 13px;
    height: 100%;
}
.hd-top-actions { display: flex; align-items: center; gap: 12px; }
.hd-icon-link { display: none; }
.hd-profile-link {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.13);
    color: #f4f4f6;
    background: #1b1b22;
}
.hd-main { max-width: var(--hd-content); min-height: 65vh; margin: 0 auto; padding: 25px 28px 80px; }
.hd-flash { margin: 9px 0 22px; }

/* Homepage ---------------------------------------------------------------- */
.hd-discover-heading { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 19px; }
.hd-discover-heading h1 { margin: 6px 0 0; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 850; letter-spacing: -.055em; line-height: 1.1; }
.hd-heading-dot { color: var(--hd-accent); }
.hd-eyebrow,
.hd-feed-overline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hd-accent);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .065em;
}
.hd-mini-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border-radius: 50px;
    border: 1px solid color-mix(in srgb, var(--hd-accent) 45%, transparent);
    background: color-mix(in srgb, var(--hd-accent) 10%, #17151c);
    color: #f9d3da;
    font-size: .75rem;
    font-weight: 800;
}
.hd-home-search { display: none; }
.hd-category-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
    padding: 4px 0 16px;
    scroll-snap-type: x proximity;
}
.hd-category-scroll::-webkit-scrollbar,
.hd-posters-scroll::-webkit-scrollbar { display: none; }
.hd-category-scroll a {
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1b1b23;
    border: 1px solid rgba(255,255,255,.085);
    border-radius: 999px;
    min-height: 38px;
    padding: 8px 16px;
    font-size: .79rem;
    font-weight: 720;
    color: #b8b8c3;
}
.hd-category-scroll a.is-selected { background: var(--hd-accent); color: white; border-color: var(--hd-accent); }
.hd-feature {
    display: flex;
    align-items: flex-end;
    position: relative;
    height: clamp(360px, 33vw, 450px);
    border-radius: 18px;
    overflow: hidden;
    isolation: isolate;
    background: #20212a;
}
.hd-feature-art,
.hd-feature-tint { position: absolute; inset: 0; }
.hd-feature-art { left: 41%; }
.hd-feature-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; display: block; }
.hd-feature-placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; height: 100%; gap: 9px; color: #696b77; letter-spacing: .16em; font-size: .75rem; }
.hd-feature-tint {
    z-index: 1;
    background: linear-gradient(90deg, #101018 1%, #101018 27%, rgba(16,16,24,.9) 42%, rgba(16,16,24,.45) 70%, rgba(16,16,24,.08));
}
.hd-feature-content { position: relative; z-index: 2; padding: 39px 43px; max-width: 690px; width: 78%; }
.hd-feature-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(0,0,0,.26);
    border-radius: 5px;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: #f0f0f4;
}
.hd-feature h2 { font-size: clamp(2rem, 3.8vw, 3.8rem); margin: 14px 0 10px; font-weight: 850; letter-spacing: -.055em; line-height: 1.08; max-width: 620px; }
.hd-feature p { max-width: 490px; color: #c4c4cd; font-size: .9rem; line-height: 1.65; margin: 13px 0 22px; }
.hd-feature-facts { display: flex; align-items: center; gap: 9px; color: #d6d7de; font-size: .79rem; font-weight: 630; }
.hd-fact-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.hd-feature-buttons { display: flex; align-items: center; gap: 9px; }
.hd-watch-btn,
.hd-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    min-height: 47px;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: .87rem;
    font-weight: 820;
    letter-spacing: -.01em;
    white-space: nowrap;
}
.hd-watch-btn { background: var(--hd-accent); color: white; }
.hd-watch-btn:hover { color: white; filter: brightness(1.07); }
.hd-outline-btn { background: rgba(255,255,255,.1); color: white; border-color: rgba(255,255,255,.17); }
.hd-outline-btn:hover { color: white; background: rgba(255,255,255,.17); }
.hd-internal-promo { margin-top: 24px; }
.hd-internal-promo > span { display: block; color: #858792; font-size: .68rem; margin-bottom: 6px; }
.hd-internal-promo a { display: block; overflow: hidden; border-radius: 12px; }
.hd-internal-promo img { width: 100%; height: auto; display: block; }

/* Mobile-friendly drama shelves ------------------------------------------ */
.hd-feed-section { margin-top: 37px; }
.hd-feed-heading { display: flex; justify-content: space-between; align-items: end; gap: 9px; margin-bottom: 16px; }
.hd-feed-heading h2 { font-weight: 840; font-size: 1.43rem; letter-spacing: -.04em; margin: 3px 0 0; }
.hd-more { color: #b7b8c2; display: inline-flex; align-items: center; gap: 3px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.hd-posters-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 15px) / 6); gap: 15px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 1px 7px; }
.hd-poster-card { display: block; min-width: 0; scroll-snap-align: start; }
.hd-poster-cover { aspect-ratio: 2 / 3; background: #23232b; overflow: hidden; border-radius: 10px; position: relative; }
.hd-poster-cover img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .2s ease-out; }
.hd-poster-card:hover .hd-poster-cover img { transform: scale(1.035); }
.hd-cover-ep { position: absolute; right: 7px; bottom: 7px; background: rgba(9,9,12,.84); padding: 4px 7px; font-size: .66rem; font-weight: 800; color: white; border-radius: 5px; }
.hd-cover-play { position: absolute; inset: 0; display: grid; place-items: center; color: white; background: rgba(0,0,0,.18); opacity: 0; transition: opacity .2s; }
.hd-poster-card:hover .hd-cover-play { opacity: 1; }
.hd-cover-play .hx-icon { width: 45px; height: 45px; padding: 12px; background: rgba(0,0,0,.65); border: 1px solid #ffffff70; border-radius: 50%; }
.hd-poster-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .85rem; line-height: 1.35; font-weight: 750; margin-top: 9px; min-height: 2.7em; color: #f4f4f6; }
.hd-poster-source { display: block; color: #999aa6; margin-top: 4px; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-premium-band { display: flex; gap: 18px; align-items: center; padding: 22px; margin: 42px 0 14px; background: #1b1720; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; }
.hd-premium-band .hd-premium-symbol { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 12px; background: rgba(255,255,255,.09); color: #ffb8c5; flex: none; }
.hd-premium-band > div:nth-child(2) { flex: 1; min-width: 0; }
.hd-premium-band span { font-size: .62rem; color: #ef839a; letter-spacing: .07em; font-weight: 800; }
.hd-premium-band h2 { font-size: 1.14rem; margin: 2px 0; letter-spacing: -.025em; }
.hd-premium-band p { color: #aaa7b1; font-size: .79rem; margin: 0; }
.hd-premium-band > a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.075); }
.hd-status-empty { display: flex; align-items: start; gap: 13px; margin: 23px 0; background: #191920; border: 1px solid var(--hd-line); border-radius: 13px; padding: 18px; color: #dedee4; }
.hd-status-empty > .hx-icon { color: var(--hd-accent); }
.hd-status-empty strong { display: block; margin-bottom: 3px; }
.hd-status-empty p { margin: 0; color: #a6a6b1; font-size: .82rem; }

/* Browse / details -------------------------------------------------------- */
.hd-browse-wrap,
.hd-detail-wrap,
.hd-player-page { padding-bottom: 20px; }
.hd-page-heading { padding: 20px 0; }
.hd-page-heading h1 { font-size: clamp(1.8rem, 3vw, 2.65rem); font-weight: 830; letter-spacing: -.05em; margin: 8px 0; }
.hd-page-heading p { margin: 0; color: #aaaab4; font-size: .88rem; }
.hd-browse-search { display: flex; align-items: center; gap: 10px; border-radius: 12px; border: 1px solid var(--hd-line); background: #1c1c24; height: 49px; padding-left: 15px; max-width: 620px; color: #aaaab4; }
.hd-browse-meta { display: flex; gap: 8px; align-items: center; color: #b7b7c2; font-size: .8rem; padding: 22px 0 14px; }
.hd-browse-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 15px; }
.hd-pagination { margin-top: 26px; }
.hd-pagination nav { display: flex; flex-wrap: wrap; gap: 8px; }
.hd-pagination nav span,
.hd-pagination nav a { border-radius: 7px; }
.hd-detail-hero { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 42px; padding-top: 23px; }
.hd-detail-art { position: relative; border-radius: 14px; overflow: hidden; align-self: start; }
.hd-detail-art > img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; }
.hd-detail-copy { padding-top: 2px; }
.hd-detail-back { display: inline-flex; gap: 7px; align-items: center; font-size: .78rem; color: #c0c0cb; font-weight: 730; margin-bottom: 25px; }
.hd-detail-provider { display: inline-flex; gap: 8px; align-items: center; font-size: .77rem; color: #bbbcc7; font-weight: 700; }
.hd-detail-copy h1 { font-weight: 860; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.09; margin: 14px 0; letter-spacing: -.05em; }
.hd-detail-metadata { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; color: #b6b6c0; font-size: .79rem; }
.hd-detail-metadata span { display: inline-flex; align-items: center; gap: 5px; }
.hd-detail-genres { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 19px; }
.hd-detail-genres a { background: #22222b; border: 1px solid rgba(255,255,255,.09); font-size: .76rem; color: #d4d4dd; padding: 7px 11px; border-radius: 7px; }
.hd-detail-synopsis { margin: 21px 0 25px; max-width: 710px; color: #c6c6cf; line-height: 1.73; font-size: .9rem; white-space: pre-line; }
.hd-detail-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hd-fav-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 47px; padding: 10px 16px; border: 1px solid var(--hd-line); border-radius: 10px; background: #202028; color: white; font-size: .83rem; font-weight: 740; }
.hd-disabled { opacity: .6; cursor: not-allowed; background: #3b3b43; }
.hd-episode-section { margin: 42px 0; }
.hd-episode-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 15px; gap: 12px; }
.hd-episode-heading h2 { font-size: 1.45rem; letter-spacing: -.04em; margin: 2px 0; }
.hd-episode-heading > span { color: #a6a6b1; font-size: .75rem; }
.hd-episode-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hd-episode-item { display: flex; align-items: center; gap: 13px; padding: 12px; min-width: 0; border: 1px solid var(--hd-line); background: #1a1a21; border-radius: 12px; }
.hd-episode-number { width: 49px; height: 49px; border-radius: 9px; background: #2c2b34; display: grid; place-items: center; font-size: .93rem; font-weight: 850; color: white; flex: none; }
.hd-episode-description { flex: 1; min-width: 0; }
.hd-episode-description strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .83rem; }
.hd-episode-description small { display: block; font-size: .73rem; margin-top: 3px; color: #9e9da8; }
.hd-episode-play,
.hd-episode-lock { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; flex: none; }
.hd-episode-play { background: var(--hd-accent); color: white; }
.hd-episode-play .hx-icon { margin-left: 2px; }
.hd-episode-lock { color: #878791; }
.hd-episode-locked { opacity: .63; }
.hd-player-heading h1 { font-size: 1.8rem; margin: 5px 0; }
.hd-player-heading p { color: #b0afb9; margin: 0 0 19px; }
.hd-video-shell { max-width: min(560px, 100%); width: 100%; aspect-ratio: 9 / 16; margin: 0 auto; border-radius: 13px; border: 1px solid rgba(255,255,255,.1); }
.hd-player-info { display: flex; gap: 7px; align-items: start; font-size: .8rem; color: #aaaab4; margin: 16px 0; }

/* Member sign-in ---------------------------------------------------------- */
body.hd-auth-page { min-height: 100vh; }
.hd-auth-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.hd-auth-feature { position: relative; padding: 45px clamp(24px,5vw,80px); background: linear-gradient(142deg, #261722, #101015 65%); display: flex; flex-direction: column; justify-content: space-between; }
.hd-auth-brand { color: white; }
.hd-auth-feature-copy { max-width: 580px; margin-bottom: 20%; }
.hd-auth-feature-copy > span { color: #ff9ab0; display: flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 820; }
.hd-auth-feature-copy h1 { font-size: clamp(2.8rem, 5vw, 5.4rem); line-height: 1.07; font-weight: 850; letter-spacing: -.06em; margin: 20px 0; }
.hd-auth-feature-copy p { color: #bcb0b9; font-size: .97rem; max-width: 420px; }
.hd-auth-feature-copy div { color: #e1d3dc; display: flex; gap: 12px; align-items: center; font-size: .78rem; margin-top: 35px; }
.hd-auth-feature-copy div .hx-icon { color: #ff6688; }
.hd-auth-content { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 36px; }
.hd-auth-card { width: min(100%, 435px); }
.hd-auth-heading > span { display: inline-flex; align-items: center; gap: 6px; color: #ff9aaf; font-size: .68rem; letter-spacing: .055em; font-weight: 850; }
.hd-auth-heading h1 { font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.16; letter-spacing: -.055em; margin: 12px 0 8px; }
.hd-auth-heading p { color: #a7a6b0; font-size: .9rem; }
.hd-auth-form { display: flex; flex-direction: column; margin-top: 29px; }
.hd-auth-form label { font-size: .8rem; color: #e3e1e8; margin-bottom: 7px; margin-top: 16px; font-weight: 710; }
.hd-auth-form label small { font-weight: 550; color: #90909b; }
.hd-auth-form input { min-height: 49px; padding: 12px 14px; border: 1px solid #3b3a44; border-radius: 9px; background: #1b1b23; color: white; width: 100%; }
.hd-auth-form input:focus { border-color: #ff6484; }
.hd-auth-form button { width: 100%; margin-top: 27px; }
.hd-auth-switch { color: #a7a5b0; font-size: .82rem; margin: 19px 0 0; }
.hd-auth-switch a { color: #ff8fa9; font-weight: 830; }
.hd-auth-back { margin-top: 30px; color: #a5a4b0; font-size: .78rem; display: inline-flex; align-items: center; gap: 7px; }
.hd-auth-mobile-logo { display: none; }

/* Footer, dock ------------------------------------------------------------ */
.hd-footer { border-top: 1px solid var(--hd-line); background: #0e0e14; }
.hd-footer-inner { max-width: var(--hd-content); margin: auto; padding: 32px 28px; }
.hd-footer strong { font-size: 1.16rem; font-weight: 890; letter-spacing: -.04em; }
.hd-footer img { max-height: 50px; object-fit: contain; }
.hd-footer p { color: #9b9aa7; font-size: .81rem; margin: 9px 0 17px; }
.hd-footer nav { display: flex; gap: 19px; flex-wrap: wrap; font-size: .8rem; color: #c9c8d1; }
.hd-footer small { display: block; color: #777780; font-size: .72rem; margin-top: 22px; }
.hd-bottom-nav { display: none; }

@media (max-width: 1100px) {
    .hd-topbar-inner { gap: 19px; }
    .hd-posters-scroll { grid-auto-columns: calc((100% - 4 * 13px) / 5); gap: 13px; }
    .hd-browse-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
    .hd-episode-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
    .hd-desktop-links { display: none; }
    .hd-topbar-inner { padding-inline: 18px; }
    .hd-top-search { width: min(300px,100%); }
    .hd-posters-scroll { grid-auto-columns: calc((100% - 3 * 13px) / 4); }
    .hd-browse-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .hd-auth-layout { grid-template-columns: 1fr; }
    .hd-auth-feature { display: none; }
    .hd-auth-mobile-logo { display: block; margin-bottom: 32px; width: min(100%, 435px); }
    .hd-auth-mobile-logo a { display: inline-flex; align-items: center; gap: 9px; font-weight: 880; letter-spacing: -.04em; }
    .hd-auth-content { justify-content: flex-start; padding-top: 48px; }
}
@media (max-width: 767px) {
    html { scroll-padding-top: 62px; }
    .hd-topbar { height: 59px; }
    .hd-topbar-inner { padding-inline: 15px; gap: 11px; justify-content: space-between; }
    .hd-brand { font-size: 1.13rem; }
    .hd-mark { width: 30px; height: 30px; border-radius: 9px; }
    .hd-brand-picture img { max-height: 40px; max-width: 156px; }
    .hd-top-search { display: none; }
    .hd-icon-link { display: grid; place-items: center; width: 35px; height: 42px; color: #f3f3f5; }
    .hd-profile-link { width: 34px; height: 34px; background: #23232b; }
    .hd-main { padding: 16px 0 calc(105px + env(safe-area-inset-bottom)); }
    .hd-flash { margin: 0 15px 15px; }
    .hd-discover-heading { padding-inline: 16px; margin: 0 0 14px; align-items: center; }
    .hd-discover-heading h1 { font-size: clamp(1.5rem, 5vw, 1.85rem); }
    .hd-eyebrow { font-size: .6rem; }
    .hd-mini-pill { padding: 7px 10px; font-size: .7rem; }
    .hd-home-search { display: flex; align-items: center; gap: 10px; background: #202028; border-radius: 10px; min-height: 45px; margin: 0 15px 12px; padding-left: 13px; color: #92929c; }
    .hd-home-search input { height: 45px; font-size: .83rem; }
    .hd-category-scroll { gap: 7px; padding: 0 15px 14px; }
    .hd-category-scroll a { padding: 7px 13px; min-height: 35px; font-size: .73rem; }
    .hd-feature { height: clamp(415px, 118vw, 580px); border-radius: 0; }
    .hd-feature-art { left: 0; right: 0; }
    .hd-feature-art img { object-position: center 24%; }
    .hd-feature-tint { background: linear-gradient(0deg, #09090d 0%, rgba(9,9,13,.98) 4%, rgba(9,9,13,.79) 26%, rgba(9,9,13,.1) 74%, rgba(9,9,13,.15) 100%); }
    .hd-feature-content { width: 100%; padding: 15px 18px 26px; }
    .hd-feature-label { font-size: .58rem; padding: 5px 8px; }
    .hd-feature h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); margin: 10px 0 7px; line-height: 1.09; max-width: 90%; }
    .hd-feature-facts { font-size: .72rem; gap: 8px; }
    .hd-feature p { margin: 9px 0 14px; color: #e2dfe4; font-size: .79rem; line-height: 1.48; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .hd-feature-buttons { gap: 9px; }
    .hd-watch-btn, .hd-outline-btn { font-size: .8rem; min-height: 43px; padding: 9px 15px; border-radius: 9px; }
    .hd-watch-btn { min-width: 153px; }
    .hd-feed-section { margin-top: 24px; }
    .hd-feed-heading { margin-bottom: 12px; padding-inline: 15px; }
    .hd-feed-overline { font-size: .58rem; }
    .hd-feed-heading h2 { font-size: 1.13rem; margin-top: 1px; }
    .hd-more { font-size: .71rem; }
    .hd-posters-scroll { padding: 0 15px 8px; gap: 10px; grid-auto-columns: minmax(128px, 38vw); scroll-padding-inline: 15px; }
    .hd-poster-cover { border-radius: 8px; }
    .hd-poster-name { font-size: .78rem; margin-top: 7px; }
    .hd-poster-source { font-size: .67rem; margin-top: 2px; }
    .hd-cover-ep { font-size: .61rem; padding: 4px 6px; }
    .hd-premium-band { margin: 29px 15px 0; padding: 15px 12px; gap: 11px; }
    .hd-premium-band .hd-premium-symbol { width: 40px; height: 40px; }
    .hd-premium-band h2 { font-size: 1rem; }
    .hd-premium-band p { font-size: .72rem; }
    .hd-premium-band > a { width: 32px; height: 32px; }
    .hd-status-empty { margin: 19px 15px; }
    .hd-internal-promo { margin: 17px 15px; }
    .hd-footer { display: none; }
    .hd-bottom-nav {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        position: fixed;
        z-index: 100;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 8px 5px calc(7px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(255,255,255,.12);
        background: rgba(17, 17, 23, .96);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }
    .hd-bottom-nav a { min-height: 49px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: .64rem; color: #9899a4; font-weight: 700; }
    .hd-bottom-nav a[aria-current="page"] { color: white; }
    .hd-bottom-nav a[aria-current="page"] .hx-icon { color: var(--hd-accent); stroke-width: 2.25; }
    .hd-browse-wrap,
    .hd-detail-wrap,
    .hd-player-page { padding: 0 15px; }
    .hd-page-heading { padding-top: 11px; padding-bottom: 17px; }
    .hd-page-heading h1 { font-size: 1.77rem; }
    .hd-browse-search { width: 100%; height: 45px; }
    .hd-browse-meta { padding-top: 18px; }
    .hd-browse-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px 9px; }
    .hd-browse-grid .hd-poster-name { font-size: .72rem; }
    .hd-browse-grid .hd-poster-source { font-size: .63rem; }
    .hd-detail-wrap { padding: 0; }
    .hd-detail-hero { display: block; padding-top: 0; }
    .hd-detail-art { border-radius: 0; height: clamp(375px, 110vw, 560px); }
    .hd-detail-art > img { height: 100%; width: 100%; aspect-ratio: auto; object-fit: cover; object-position: center 25%; }
    .hd-detail-art::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, #09090d 95%); pointer-events: none; }
    .hd-detail-copy { position: relative; padding: 0 17px; margin-top: -53px; }
    .hd-detail-back { position: absolute; top: calc(-1 * clamp(330px, 105vw, 500px)); left: 14px; padding: 8px 10px; background: rgba(9,9,13,.72); border-radius: 40px; color: white; font-size: .72rem; }
    .hd-detail-provider { font-size: .7rem; }
    .hd-detail-copy h1 { font-size: clamp(1.65rem,6.2vw,2.35rem); margin: 8px 0 10px; }
    .hd-detail-metadata { font-size: .71rem; gap: 12px; }
    .hd-detail-genres { margin-top: 13px; gap: 6px; }
    .hd-detail-genres a { font-size: .7rem; padding: 6px 10px; }
    .hd-detail-synopsis { font-size: .81rem; margin: 14px 0 16px; line-height: 1.6; }
    .hd-detail-actions .hd-watch-btn { flex: 1; }
    .hd-fav-action { min-height: 43px; }
    .hd-episode-section { margin: 30px 15px 15px; }
    .hd-episode-heading h2 { font-size: 1.22rem; }
    .hd-episode-list { grid-template-columns: 1fr; gap: 7px; }
    .hd-episode-number { width: 43px; height: 43px; }
    .hd-episode-item { padding: 9px 10px; }
    .hd-episode-description strong { font-size: .79rem; }
    .hd-video-shell { border-radius: 0; margin-inline: -15px; max-width: calc(100% + 30px); width: calc(100% + 30px); }
    .hd-player-heading h1 { font-size: 1.38rem; }
    .hd-player-heading p { font-size: .79rem; }
    .hd-player-info { font-size: .76rem; }
    .hd-player-page > .hd-outline-btn { margin-bottom: 20px; }
    .hd-auth-content { padding: 28px 20px; }
    .hd-auth-heading h1 { font-size: 2.2rem; }
}
@media (max-width: 360px) {
    .hd-brand { font-size: 1rem; }
    .hd-wordmark { letter-spacing: -.08em; }
    .hd-posters-scroll { grid-auto-columns: minmax(124px, 42vw); }
    .hd-browse-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .hd-feature { height: 420px; }
    .hd-detail-actions { align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
    .hd-app *, .hd-auth-page * { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
