.smhp-wrapper{--smhp-bg:#07070a;--smhp-card:#11121a;--smhp-text:#fff;--smhp-muted:#a7aab7;--smhp-accent:#e50914;--smhp-border:rgba(255,255,255,.1);box-sizing:border-box;color:var(--smhp-text);background:var(--smhp-bg);padding:24px;border-radius:22px;overflow:hidden}.smhp-wrapper *{box-sizing:border-box}.smhp-mode-theme{--smhp-bg:transparent;--smhp-card:rgba(0,0,0,.04);--smhp-text:inherit;--smhp-muted:inherit;--smhp-border:rgba(0,0,0,.1)}.smhp-mode-cinematic{border-radius:0;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding-left:max(24px,calc((100vw - 1180px)/2));padding-right:max(24px,calc((100vw - 1180px)/2))}.smhp-wrapper a{text-decoration:none}.smhp-hero{min-height:460px;background-size:cover;background-position:center;border-radius:24px;display:flex;align-items:end;padding:42px;margin-bottom:28px}.smhp-hero>div{max-width:680px}.smhp-hero h1{font-size:clamp(32px,5vw,64px);line-height:1;margin:12px 0;color:#fff}.smhp-hero p{font-size:17px;color:#e5e7eb;max-width:620px}.smhp-badge{display:inline-flex;background:var(--smhp-accent);color:#fff;border-radius:999px;padding:6px 12px;font-weight:700}.smhp-btn{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:999px;background:var(--smhp-accent);color:#fff!important;padding:12px 18px;font-weight:800;cursor:pointer}.smhp-btn small{opacity:.78;font-weight:600}.smhp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:18px;margin:16px 0 28px}.smhp-card{background:var(--smhp-card);border:1px solid var(--smhp-border);border-radius:18px;overflow:hidden;transition:.2s transform,.2s box-shadow}.smhp-card:hover{transform:translateY(-5px);box-shadow:0 18px 45px rgba(0,0,0,.28)}.smhp-card a{display:block;color:var(--smhp-text)!important}.smhp-poster{aspect-ratio:2/3;background:#1f2937;display:flex;align-items:center;justify-content:center;color:var(--smhp-muted);overflow:hidden}.smhp-poster img{width:100%;height:100%;object-fit:cover;display:block}.smhp-card-body{padding:12px}.smhp-card h3{font-size:15px;line-height:1.25;margin:0 0 8px;color:var(--smhp-text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.smhp-card p,.smhp-muted{color:var(--smhp-muted);margin:0}.smhp-section-head{display:flex;justify-content:space-between;align-items:center;margin-top:22px}.smhp-section-head h2{color:var(--smhp-text);margin:0;font-size:24px}.smhp-live-search{position:relative;margin:16px 0}.smhp-live-search input{width:100%;border:1px solid var(--smhp-border);background:rgba(255,255,255,.08);color:var(--smhp-text);padding:15px 18px;border-radius:999px;font-size:16px}.smhp-search-results{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:50;background:#11121a;border:1px solid var(--smhp-border);border-radius:16px;overflow:hidden;box-shadow:0 25px 50px rgba(0,0,0,.3)}.smhp-search-results a{display:block;padding:12px 16px;color:#fff!important;border-bottom:1px solid var(--smhp-border)}.smhp-category-grid{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0 28px}.smhp-category-pill{display:inline-flex;border:1px solid var(--smhp-border);background:rgba(255,255,255,.08);color:var(--smhp-text)!important;padding:10px 16px;border-radius:999px}.smhp-download-card,.smhp-series{border:1px solid var(--smhp-border);border-radius:18px;padding:18px;margin:18px 0;background:var(--smhp-card)}.smhp-buttons,.smhp-episode{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.smhp-episode{border-bottom:1px solid var(--smhp-border);padding:12px 0}.smhp-season{display:none}.smhp-season:first-of-type{display:block}.smhp-season-select{padding:10px 12px;margin-bottom:15px;border-radius:10px}.smhp-cast-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:14px}.smhp-cast-card{background:var(--smhp-card);border:1px solid var(--smhp-border);border-radius:16px;overflow:hidden;padding-bottom:12px}.smhp-cast-card img{width:100%;aspect-ratio:2/3;object-fit:cover;display:block}.smhp-cast-card strong,.smhp-cast-card small{display:block;padding:8px 10px 0}.smhp-cast-card small{color:var(--smhp-muted)}.smhp-modal{position:fixed;inset:0;background:rgba(0,0,0,.86);z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px}.smhp-modal[hidden]{display:none}.smhp-modal>div{position:relative;width:min(960px,96vw)}.smhp-modal iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:18px;background:#000}.smhp-modal-close{position:absolute;right:-12px;top:-44px;background:#fff;color:#111;border:0;border-radius:999px;width:34px;height:34px;font-size:24px;cursor:pointer}.smhp-ad-slot{margin:18px 0;display:flex;justify-content:center;align-items:center;overflow:visible}.smhp-ad-slot iframe,.smhp-ad-slot img,.smhp-ad-slot ins{max-width:100%}.smhp-ad-full>*{width:100%!important}.smhp-ad-responsive iframe,.smhp-ad-responsive img{width:100%;height:auto}.smhp-page{min-height:320px}.smh-download-card,.smh-series{border:1px solid #e5e7eb;border-radius:14px;padding:18px;margin:18px 0;background:#fff;box-shadow:0 8px 25px rgba(0,0,0,.06)}
@media(max-width:640px){.smhp-wrapper{padding:16px;border-radius:16px}.smhp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.smhp-hero{min-height:380px;padding:24px}.smhp-card h3{font-size:14px}}
.smhp-ad-sticky_ads,.smhp-ad-sticky{position:fixed;left:50%;bottom:12px;transform:translateX(-50%);z-index:9998;background:rgba(0,0,0,.65);padding:8px;border-radius:14px;max-width:96vw}.smhp-ad-popup_ads{position:fixed;inset:auto 20px 20px auto;z-index:9997;background:rgba(0,0,0,.7);padding:10px;border-radius:14px;max-width:min(360px,92vw)}.smh-big-number{font-size:42px;font-weight:800;margin:8px 0}.smhp-carousel{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,190px);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:12px}.smhp-carousel .smhp-card{scroll-snap-align:start}.smhp-home-section{margin:30px 0}.smhp-download-card .smhp-help{color:var(--smhp-muted);font-size:13px}.smhp-chip-row{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.smhp-chip{border:1px solid var(--smhp-border);border-radius:999px;padding:6px 10px;color:var(--smhp-muted);background:rgba(255,255,255,.06)}
.smhp-ad-zone-sticky_ads{position:fixed;left:50%;bottom:12px;transform:translateX(-50%);z-index:9998;background:rgba(0,0,0,.65);padding:8px;border-radius:14px;max-width:96vw}.smhp-ad-zone-popup_ads{position:fixed;right:20px;bottom:20px;z-index:9997;background:rgba(0,0,0,.7);padding:10px;border-radius:14px;max-width:min(360px,92vw)}
/* Manual link version: TMDB hero and direct rows */
.smhp-tmdb-hero{display:grid;grid-template-columns:minmax(120px,190px) 1fr;gap:24px;align-items:end;min-height:360px;background-size:cover;background-position:center;border-radius:24px;padding:26px;margin-bottom:22px;border:1px solid var(--smhp-border)}
.smhp-tmdb-poster img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:16px;box-shadow:0 18px 45px rgba(0,0,0,.45);display:block}.smhp-tmdb-info h2{font-size:clamp(30px,5vw,58px);line-height:1;margin:0 0 10px;color:#fff}.smhp-tmdb-meta-line{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 12px}.smhp-tmdb-meta-line span,.smhp-genre-chips span{display:inline-flex;border:1px solid var(--smhp-border);background:rgba(255,255,255,.08);border-radius:999px;padding:6px 10px;color:#fff;font-size:13px}.smhp-genre-chips{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.smhp-overview{max-width:820px;color:#e5e7eb;font-size:16px;line-height:1.6}.smhp-download-card h3,.smhp-series h3{margin-top:0;color:var(--smhp-text)}.smhp-download-card .smhp-buttons{gap:10px}.smhp-episode span{color:var(--smhp-muted);margin-right:auto}.smhp-episode strong{min-width:88px}.smhp-season-select{background:#fff;color:#111;border:0}.smhp-wrapper .smhp-muted{color:var(--smhp-muted)}
@media(max-width:700px){.smhp-tmdb-hero{grid-template-columns:1fr;min-height:auto}.smhp-tmdb-poster{max-width:180px}.smhp-overview{font-size:14px}}

/* SEO + content upgrade sections */
.smhp-content-section,.smhp-info-section{background:rgba(255,255,255,.045);border:1px solid var(--smhp-border);border-radius:20px;padding:22px;margin:22px 0;color:var(--smhp-text)}
.smhp-content-section h2,.smhp-info-section h3{margin:0 0 14px;color:var(--smhp-text);line-height:1.2}.smhp-content-section p{color:#e6e7ee;line-height:1.75;margin:0 0 16px}.smhp-info-table{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--smhp-border);border-radius:14px;overflow:hidden}.smhp-info-table div{display:flex;justify-content:space-between;gap:14px;padding:12px 14px;background:rgba(0,0,0,.22)}.smhp-info-table strong{color:#fff}.smhp-info-table span{color:#d6d8e4;text-align:right}.smhp-cast-scroll{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:14px}.smhp-screenshot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}.smhp-screenshot-grid img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:14px;display:block;border:1px solid var(--smhp-border)}.smhp-related-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(130px,170px);gap:14px;overflow-x:auto;padding-bottom:10px}.smhp-related-card{background:var(--smhp-card);border:1px solid var(--smhp-border);border-radius:16px;overflow:hidden}.smhp-related-card img{width:100%;aspect-ratio:2/3;object-fit:cover;display:block}.smhp-related-card strong,.smhp-related-card small{display:block;padding:8px 10px 0;color:#fff}.smhp-related-card small{padding-bottom:10px;color:var(--smhp-muted)}.smhp-faq details{background:rgba(0,0,0,.22);border:1px solid var(--smhp-border);border-radius:14px;padding:12px 14px;margin:10px 0}.smhp-faq summary{cursor:pointer;font-weight:800;color:#fff}.smhp-faq p{color:#dfe2ec;margin:10px 0 0;line-height:1.65}
@media(max-width:700px){.smhp-info-table{grid-template-columns:1fr}.smhp-info-table div{display:block}.smhp-info-table span{display:block;text-align:left;margin-top:4px}.smhp-screenshot-grid{grid-template-columns:1fr}.smhp-content-section,.smhp-info-section{padding:16px}}


/* Phase 1.1: clearer frontend download/episode headings and readable rows */
.smhp-wrapper .smhp-download-card h3,
.smhp-wrapper .smhp-series h3,
.smhp-wrapper .smhp-content-section h2,
.smhp-wrapper .smhp-info-section h3{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.4);}
.smhp-wrapper .smhp-download-card,
.smhp-wrapper .smhp-series{background:rgba(17,18,26,.96)!important;border-color:rgba(255,255,255,.16)!important;color:#fff!important;}
.smhp-wrapper .smhp-episode strong{color:#fff!important;}
.smhp-wrapper .smhp-episode span{color:#d7d9e5!important;}
.smhp-wrapper .smhp-season-select{background:#fff!important;color:#111!important;border:1px solid rgba(255,255,255,.2)!important;}
