:root {
    --mh-bg: #08080a;
    --mh-panel: #0a0a0c;
    --mh-panel2: #111113;
    --mh-panel3: #161618;
    --mh-border: rgba(255, 255, 255, 0.06);
    --mh-border2: rgba(255, 255, 255, 0.12);
    --mh-red: #e50914;
    --mh-red-dark: #c8000f;
    --mh-yellow: #eab308;
    --mh-text: #ffffff;
    --mh-muted: #9ca3af;
    --mh-muted2: #6b7280;
    --mh-header-h: 56px;
    --mh-sidebar-w: 240px;
}

@media (min-width: 768px) {
    :root { --mh-header-h: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0; padding: 0;
    background: var(--mh-bg);
    color: var(--mh-text);
    font-family: 'Outfit', Arial, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Header */
.mh-header {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--mh-header-h);
    background: #0a0a0c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    z-index: 60;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    padding: 0 12px;
}

@media (min-width: 768px) {
    .mh-header { padding: 0 20px; gap: 20px; }
}

.mh-header-left { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.mh-toggle-btn {
    width: 38px; height: 38px; border-radius: 10px;
    background: #141418; border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db; display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.mh-toggle-btn:hover { background: #1c1c22; border-color: rgba(229, 9, 20, .55); color: #fff; }

.mh-logo {
    font-size: 19px; font-weight: 900; letter-spacing: -0.02em; white-space: nowrap;
    display: inline-flex; align-items: baseline;
}
@media (min-width: 768px) { .mh-logo { font-size: 23px; } }
.mh-logo .red { color: var(--mh-red); }
.mh-logo .white { color: #ffffff; }
.mh-logo .com { font-size: 11px; color: var(--mh-red); font-weight: 800; margin-left: 1px; vertical-align: super; }

/* Search */
.mh-search-wrap {
    flex: 1; max-width: 600px; position: relative; min-width: 0;
}
.mh-search-box {
    display: flex; align-items: center;
    background: #111114;
    border: 1px solid rgba(229, 9, 20, 0.72);
    border-radius: 10px;
    overflow: hidden;
    height: 40px;
    transition: border-color .15s, box-shadow .15s;
}
.mh-search-box:focus-within {
    border-color: var(--mh-red);
    box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.22);
}
@media (min-width: 768px) { .mh-search-box { height: 42px; } }

.mh-search-icon {
    padding: 0 10px 0 14px; color: var(--mh-red); display: flex; align-items: center;
    background: none; border: none; cursor: pointer; flex-shrink: 0;
}
.mh-search-input {
    flex: 1; min-width: 0; background: transparent; border: none; color: #f3f4f6;
    font-family: inherit; font-size: 13.5px; font-weight: 400; padding: 0 10px 0 2px;
}
.mh-search-input::placeholder { color: #6b7280; }
.mh-search-input:focus { outline: none; }
.mh-search-btn {
    background: var(--mh-red); color: #fff; border: none; height: 100%;
    padding: 0 16px; font-family: inherit; font-size: 12px; font-weight: 800;
    letter-spacing: .05em; cursor: pointer; flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 6px;
    transition: background .15s;
}
.mh-search-btn:hover { background: var(--mh-red-dark); }
@media (max-width: 480px) {
    .mh-header { padding: 0 8px; gap: 6px; }
    .mh-header-left { gap: 6px; }
    .mh-toggle-btn { width: 34px; height: 34px; border-radius: 8px; }
    .mh-logo { font-size: 16px; }
    .mh-search-box { height: 36px; }
    .mh-search-btn { padding: 0 10px; }
    .mh-search-btn .mh-sbtn-ico { display: inline-block; }
    .mh-search-btn span { display: none; }
    .mh-search-icon { display: none; }
    .mh-search-input { padding: 0 8px 0 12px; font-size: 12.5px; }
}

.mh-suggest-box {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    background: var(--mh-panel2); border: 1px solid var(--mh-border2);
    border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.8);
    display: none; z-index: 80;
}
.mh-suggest-item {
    display: flex; align-items: center; gap: 10px; padding: 9px 12px;
    border-bottom: 1px solid var(--mh-border); transition: background .15s;
}
.mh-suggest-item:hover { background: rgba(229, 9, 20, 0.14); }
.mh-suggest-item img { width: 34px; height: 48px; object-fit: cover; border-radius: 4px; background: #1f2937; }

.mh-livetv-btn {
    background: var(--mh-red); color: #fff; border-radius: 10px;
    padding: 8px 14px; font-size: 13px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex-shrink: 0;
    transition: background .15s;
}
.mh-livetv-btn:hover { background: var(--mh-red-dark); }
@media (max-width: 639px) {
    .mh-livetv-btn span.txt { display: none; }
    .mh-livetv-btn { padding: 8px 10px; }
}

/* Sidebar */
.mh-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.68);
    z-index: 48; backdrop-filter: blur(2px);
}
.mh-overlay.open { display: block; }

.mh-sidebar {
    position: fixed; top: var(--mh-header-h); bottom: 0; left: 0;
    width: var(--mh-sidebar-w);
    background: var(--mh-panel);
    border-right: 1px solid var(--mh-border);
    z-index: 50;
    display: flex; flex-direction: column;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .25s ease;
}
@media (min-width: 1280px) {
    .mh-sidebar { transform: translateX(0); }
    body.mh-sidebar-collapsed .mh-sidebar { transform: translateX(-100%); }
}
.mh-sidebar.open { transform: translateX(0); }

.mh-side-inner { padding: 14px 12px; flex: 1; }

.mh-genres-btn {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; border-radius: 99px;
    background: #141418; border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f3f4f6; font-family: inherit; font-size: 12px; font-weight: 700;
    letter-spacing: .06em; cursor: pointer; margin-bottom: 16px;
    transition: border-color .15s, background .15s;
}
.mh-genres-btn:hover { border-color: rgba(255,255,255,0.28); background: #19191f; }
.mh-genres-btn-left { display: inline-flex; align-items: center; gap: 9px; }

.mh-genres-panel {
    display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px;
    padding: 0 2px 14px;
}
.mh-genres-panel.open { display: grid; }
.mh-genre-chip {
    font-size: 12px; color: var(--mh-muted); padding: 6px 9px;
    border-radius: 6px; background: var(--mh-panel2); border: 1px solid var(--mh-border);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mh-genre-chip:hover { color: #fff; border-color: rgba(229,9,20,0.5); }

.mh-nav-link {
    display: flex; align-items: center; gap: 13px;
    padding: 10px 14px; border-radius: 8px;
    color: #9ca3af; font-size: 13.5px; font-weight: 500;
    margin-bottom: 3px; position: relative; transition: background .15s, color .15s;
}
.mh-nav-link svg { width: 17px; height: 17px; flex-shrink: 0; color: #9ca3af; transition: color .15s; }
.mh-nav-link:hover { background: rgba(255,255,255,0.04); color: #ffffff; }
.mh-nav-link:hover svg { color: #ffffff; }
.mh-nav-link.active {
    background: linear-gradient(90deg, rgba(229,9,20,0.16) 0%, rgba(229,9,20,0.03) 75%, transparent 100%);
    color: #ffffff; font-weight: 600;
}
.mh-nav-link.active svg { color: #ffffff; }
.mh-nav-link.active::before {
    content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px;
    background: var(--mh-red); border-radius: 99px;
}

.mh-side-findus {
    margin-top: 18px; padding: 0 14px; font-size: 11px; color: #9ca3af;
}
.mh-side-findus strong { color: var(--mh-red); font-weight: 700; }

.mh-side-footer {
    padding: 12px 12px 14px; border-top: 1px solid var(--mh-border);
}
.mh-side-livetv {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; background: var(--mh-red); color: #fff;
    padding: 11px 14px; border-radius: 10px;
    font-size: 13.5px; font-weight: 700; transition: background .15s;
}
.mh-side-livetv:hover { background: var(--mh-red-dark); }
.mh-side-livetv-left { display: inline-flex; align-items: center; gap: 9px; }

/* Main Content Area */
.mh-main {
    margin-top: var(--mh-header-h);
    min-height: calc(100vh - var(--mh-header-h));
    transition: margin-left .25s ease;
    display: flex; flex-direction: column;
}
@media (min-width: 1280px) {
    .mh-main { margin-left: var(--mh-sidebar-w); }
    body.mh-sidebar-collapsed .mh-main { margin-left: 0; }
}

/* Top Notice Stack */
.mh-notices { padding: 12px 14px 0; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 768px) { .mh-notices { padding: 14px 22px 0; } }

.mh-telegram-bar {
    background: linear-gradient(90deg, #0088cc, #0284c7);
    color: #fff; text-align: center; padding: 10px 16px; border-radius: 10px;
    font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.mh-telegram-bar:hover { filter: brightness(1.08); }

.mh-marquee-bar {
    background: #facc15; color: #09090b; border-radius: 8px;
    padding: 7px 12px; font-size: 13px; font-weight: 700; overflow: hidden;
}
.mh-marquee-track {
    display: inline-block; white-space: nowrap;
    animation: mhMarquee 26s linear infinite;
}
.mh-marquee-bar:hover .mh-marquee-track { animation-play-state: paused; }
@keyframes mhMarquee {
    0% { transform: translateX(40%); }
    100% { transform: translateX(-100%); }
}

.mh-container {
    width: 100%; max-width: 1920px; margin: 0 auto;
    padding: 16px 14px 36px; flex: 1;
}
@media (min-width: 768px) { .mh-container { padding: 20px 22px 44px; } }

/* Hero Slider */
.mh-hero {
    position: relative; border-radius: 16px; overflow: hidden;
    background: var(--mh-panel2); border: 1px solid var(--mh-border2);
    aspect-ratio: 16 / 9; margin-bottom: 26px;
}
@media (min-width: 768px) { .mh-hero { aspect-ratio: auto; height: 64vh; min-height: 400px; max-height: 620px; } }

.mh-hero-slide {
    position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .5s ease;
}
.mh-hero-slide.active { opacity: 1; pointer-events: auto; }
.mh-hero-bg { width: 100%; height: 100%; object-fit: cover; }
.mh-hero-grad {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8,8,10,.96) 8%, rgba(8,8,10,.55) 55%, rgba(8,8,10,.25) 100%);
}
@media (min-width: 768px) {
    .mh-hero-grad {
        background: linear-gradient(to right, rgba(8,8,10,.95) 12%, rgba(8,8,10,.62) 50%, rgba(8,8,10,.15) 100%),
                    linear-gradient(to top, rgba(8,8,10,.9) 0%, transparent 45%);
    }
}
.mh-hero-content {
    position: absolute; bottom: 26px; left: 18px; right: 18px; max-width: 640px; z-index: 2;
}
@media (min-width: 768px) { .mh-hero-content { bottom: 48px; left: 42px; } }

.mh-hero-title { margin: 0 0 8px; font-size: 22px; font-weight: 900; line-height: 1.15; }
@media (min-width: 768px) { .mh-hero-title { font-size: 40px; } }

.mh-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 10px; color: #e5e7eb; }
.mh-hero-desc {
    margin: 0 0 16px; color: #d1d5db; font-size: 13px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 639px) { .mh-hero-desc { display: none; } }

.mh-btn-red {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--mh-red); color: #fff; border: none; border-radius: 10px;
    padding: 10px 20px; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
    transition: background .15s, transform .15s;
}
.mh-btn-red:hover { background: var(--mh-red-dark); transform: translateY(-1px); }

.mh-btn-dark {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--mh-panel3); color: #fff; border: 1px solid var(--mh-border2);
    border-radius: 10px; padding: 10px 18px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.mh-btn-dark:hover { border-color: rgba(229,9,20,0.6); }

.mh-hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.2);
    color: #fff; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.mh-hero-arrow.prev { left: 12px; }
.mh-hero-arrow.next { right: 12px; }
.mh-hero-dots {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px; z-index: 4;
}
.mh-hero-dot {
    width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,0.35);
    border: none; padding: 0; cursor: pointer; transition: all .2s;
}
.mh-hero-dot.active { width: 24px; background: var(--mh-red); }

/* Section Headers */
.mh-sec-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: 26px 0 14px;
}
.mh-sec-title {
    margin: 0; font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 9px;
}
.mh-sec-title::before {
    content: ""; width: 4px; height: 20px; border-radius: 99px; background: var(--mh-red);
}
.mh-view-all { font-size: 13px; font-weight: 700; color: var(--mh-red); white-space: nowrap; }
.mh-view-all:hover { text-decoration: underline; }

/* Horizontal Trending Row */
.mh-row-wrap { position: relative; }
.mh-row {
    display: grid; grid-auto-flow: column;
    grid-auto-columns: calc(43% - 6px); gap: 12px;
    overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 6px;
}
.mh-row::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .mh-row { grid-auto-columns: calc(31% - 8px); } }
@media (min-width: 768px) { .mh-row { grid-auto-columns: calc(24% - 10px); } }
@media (min-width: 1024px) { .mh-row { grid-auto-columns: calc(19.5% - 12px); } }
@media (min-width: 1280px) { .mh-row { grid-auto-columns: calc(16.666% - 14px); gap: 16px; } }

/* Responsive Grid: 2 -> 3 -> 4 -> 5 -> 6 cols */
.mh-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
@media (min-width: 640px) { .mh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 768px) { .mh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .mh-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .mh-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Movie / Series Card */
.mh-card {
    display: flex; flex-direction: column;
    transition: transform .22s ease;
}
@media (min-width: 768px) {
    .mh-card:hover { transform: translateY(-4px); }
}
.mh-card-poster {
    position: relative; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden;
    background: var(--mh-panel); border: 1px solid #1f2937; transition: border-color .22s ease;
}
.mh-card:hover .mh-card-poster { border-color: rgba(229, 9, 20, 0.55); }
.mh-card-poster img {
    width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease;
}
.mh-card:hover .mh-card-poster img { transform: scale(1.05); }
.mh-card-grad {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8,8,10,.92) 0%, rgba(8,8,10,.15) 45%, transparent 100%);
    pointer-events: none;
}

.mh-badge-trend {
    position: absolute; top: 0; left: 0; z-index: 2;
    background: linear-gradient(135deg, #e50914, #991b1b);
    color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .05em;
    padding: 4px 12px 4px 7px;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}
.mh-badge-quality {
    position: absolute; top: 8px; right: 8px; z-index: 2;
    background: rgba(229, 9, 20, 0.92); color: #fff;
    font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 5px;
}
.mh-badge-rating {
    position: absolute; bottom: 8px; left: 8px; z-index: 2;
    background: rgba(0, 0, 0, 0.72); color: #fff;
    font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 5px;
    display: inline-flex; align-items: center; gap: 3px;
}
.mh-badge-rating .star { color: var(--mh-yellow); }
.mh-badge-tag {
    position: absolute; bottom: 8px; right: 8px; z-index: 2; max-width: 62%;
    background: rgba(17, 17, 19, 0.85); border: 1px solid rgba(255,255,255,0.12);
    color: #e5e7eb; font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.mh-card-body { padding-top: 8px; }
.mh-card-title {
    margin: 0; font-size: 14px; font-weight: 700; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.mh-card:hover .mh-card-title { color: #ff4b55; }
.mh-card-meta {
    margin-top: 3px; font-size: 12px; color: var(--mh-muted);
    display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
}
.mh-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--mh-muted2); display: inline-block; }

/* Detail Page: Breadcrumb & Player Box */
.mh-crumb {
    display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px;
    background: rgba(22, 22, 24, 0.88); border: 1px solid var(--mh-border2);
    border-radius: 99px; padding: 7px 16px; font-size: 12px; color: var(--mh-muted);
    margin-bottom: 16px; max-width: 100%;
}
.mh-crumb a:hover { color: #fff; }
.mh-crumb .current { color: #fff; font-weight: 600; }

.mh-player-shell {
    background: #000; border: 1px solid var(--mh-border2);
    border-radius: 16px; overflow: hidden; margin-bottom: 16px;
}
@media (min-width: 768px) { .mh-player-shell { border-radius: 22px; } }

.mh-player-box {
    position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000;
}
.mh-player-box iframe, .mh-player-box video {
    width: 100%; height: 100%; border: 0; display: block;
}
.mh-player-cover {
    position: absolute; inset: 0; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #050507; text-align: center; padding: 20px;
}
.mh-player-cover img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.48;
}
.mh-play-circle {
    position: relative; z-index: 2;
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(229, 9, 20, 0.94); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; box-shadow: 0 0 36px rgba(229,9,20,0.65);
    transition: transform .2s ease;
}
.mh-player-cover:hover .mh-play-circle { transform: scale(1.08); }

.mh-sources-bar {
    background: var(--mh-panel2); border: 1px solid var(--mh-border2);
    border-radius: 14px; padding: 14px 16px; margin-bottom: 22px;
}
.mh-sources-top {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-bottom: 10px; flex-wrap: wrap;
}
.mh-server-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.mh-server-btn {
    background: var(--mh-panel3); color: #e5e7eb;
    border: 1px solid var(--mh-border2); border-radius: 8px;
    padding: 8px 14px; font-family: inherit; font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all .15s; display: inline-flex; align-items: center; gap: 6px;
}
.mh-server-btn:hover { border-color: var(--mh-red); color: #fff; }
.mh-server-btn.active { background: var(--mh-red); border-color: var(--mh-red); color: #fff; }

/* Info Card */
.mh-info-card {
    background: var(--mh-panel2); border: 1px solid var(--mh-border2);
    border-radius: 16px; padding: 18px; margin-bottom: 22px;
    display: grid; grid-template-columns: 1fr; gap: 18px;
}
@media (min-width: 768px) {
    .mh-info-card { grid-template-columns: 220px 1fr; padding: 24px; gap: 24px; }
}
.mh-info-poster {
    width: 170px; margin: 0 auto; aspect-ratio: 2 / 3; border-radius: 10px;
    object-fit: cover; border: 1px solid #1f2937;
}
@media (min-width: 768px) { .mh-info-poster { width: 100%; } }

.mh-pill-link {
    display: inline-block; padding: 4px 11px; border-radius: 99px;
    background: var(--mh-panel3); border: 1px solid var(--mh-border2);
    font-size: 12px; color: #d1d5db; transition: border-color .15s, color .15s;
}
.mh-pill-link:hover { border-color: var(--mh-red); color: #fff; }

.mh-meta-table {
    display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 14px;
    padding-top: 14px; border-top: 1px solid var(--mh-border); font-size: 13px;
}
@media (min-width: 640px) { .mh-meta-table { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mh-meta-label { color: var(--mh-muted); font-weight: 600; margin-right: 6px; }

/* Screenshots & Downloads */
.mh-box {
    background: var(--mh-panel2); border: 1px solid var(--mh-border2);
    border-radius: 16px; padding: 18px; margin-bottom: 22px;
}
.mh-shots-row {
    display: grid; grid-auto-flow: column; grid-auto-columns: 240px; gap: 12px;
    overflow-x: auto; padding-bottom: 4px;
}
.mh-shots-row img {
    width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px;
    border: 1px solid var(--mh-border2); cursor: pointer;
}

.mh-dl-grid {
    display: grid; grid-template-columns: 1fr; gap: 12px;
}
@media (min-width: 768px) { .mh-dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.mh-dl-card {
    background: var(--mh-panel3); border: 1px solid var(--mh-border2);
    border-radius: 12px; padding: 14px 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.mh-dl-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Season & Episode Rows */
.mh-ep-list { display: flex; flex-direction: column; gap: 10px; }
.mh-ep-row {
    display: flex; align-items: center; gap: 12px; padding: 10px;
    background: var(--mh-panel3); border: 1px solid var(--mh-border);
    border-radius: 10px; cursor: pointer; transition: border-color .15s;
}
.mh-ep-row:hover, .mh-ep-row.active { border-color: var(--mh-red); }
.mh-ep-thumb { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: #111; }
.mh-numerando {
    background: var(--mh-red); color: #fff; font-size: 11px; font-weight: 800;
    padding: 3px 8px; border-radius: 5px; flex-shrink: 0;
}

/* Footer */
.mh-footer {
    background: var(--mh-panel); border-top: 1px solid var(--mh-border2);
    padding: 36px 22px 24px; margin-top: auto;
}
.mh-footer-grid {
    max-width: 1920px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 640px) { .mh-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mh-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.mh-footer h4 { margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: #fff; }
.mh-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--mh-muted); }
.mh-footer ul a:hover { color: var(--mh-red); }
.mh-footer-bottom {
    max-width: 1920px; margin: 26px auto 0; padding-top: 18px;
    border-top: 1px solid var(--mh-border); font-size: 12px; color: var(--mh-muted2);
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
}

/* Pagination */
.mh-pagination nav { display: flex; justify-content: center; margin-top: 26px; }
.mh-pagination svg { width: 16px; height: 16px; }

/* Modal */
.mh-modal {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,.82);
    z-index: 90; align-items: center; justify-content: center; padding: 16px;
}
.mh-modal.open { display: flex; }
.mh-modal-card {
    background: var(--mh-panel2); border: 1px solid var(--mh-border2);
    border-radius: 16px; width: 100%; max-width: 620px; padding: 20px; position: relative;
}
