/* WEEGY Cinema redesign — progressive visual layer; legacy PHP/AJAX hooks remain in place. */
:root {
    --wc-bg: #090b10;
    --wc-panel: #111722;
    --wc-panel-2: #182130;
    --wc-accent: #7857ff;
    --wc-accent-2: #16c6d8;
    --wc-gold: #f5b84b;
    --wc-text: #f4f6fa;
    --wc-muted: #9aa5b5;
    --wc-line: rgba(255,255,255,.08);
    --wc-radius: 18px;
    --wc-content: 1480px;
}

html { scroll-behavior: smooth; background: var(--wc-bg); }
body {
    direction: rtl;
    color: var(--wc-text);
    background: radial-gradient(circle at 12% 0%, rgba(120,87,255,.10), transparent 28rem), var(--wc-bg);
    font-family: 'Tajawal', 'IBM Plex Sans Arabic', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden !important;
}
body, input, button, textarea, select { font-family: 'Tajawal', 'IBM Plex Sans Arabic', Arial, sans-serif; }
body * { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; }
root, rootinside { display: block; min-height: 100vh; overflow: visible; }
rootinside { padding-top: 78px; }
.wc-main { display: block; min-height: 60vh; margin: 0 304px 0 0; padding: 24px clamp(14px, 2vw, 30px) 45px; }
.screen-reader-text { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }

/* Header */
header.wc-site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 10020;
    height: auto;
    min-height: 76px;
    margin: 0;
    padding: 0 16px;
    color: var(--wc-text);
    background: rgba(9,11,16,.88);
    border-bottom: 1px solid var(--wc-line);
    box-shadow: 0 12px 34px rgba(0,0,0,.20);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}
.wc-header-shell {
    width: min(100%, var(--wc-content));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.6vw, 26px);
}
.wc-brand-wrap, header.wc-site-header .RightSideFlex {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    padding: 0;
    z-index: 1;
}
.wc-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.wc-brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    color: #fff;
    font-size: 18px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--wc-accent), #4c36bf);
    box-shadow: 0 8px 22px rgba(120,87,255,.28);
}
header.wc-site-header .HeaderLogo {
    display: block;
    padding: 0;
    color: var(--wc-text);
    font-family: 'Tajawal', Arial, sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
}
header.wc-site-header .HeaderLogo logotext { display: block; margin-top: 2px; color: var(--wc-muted); font: 500 12px/1.2 'Tajawal', Arial, sans-serif; text-align: right; }
header.wc-site-header middle--header { display: block; flex: 1 1 auto; min-width: 0; margin: 0; white-space: normal; z-index: 1; }
header.wc-site-header .NavigationMenu { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 0; padding: 0; white-space: normal; }
header.wc-site-header .NavigationMenu > li { display: block; margin: 0; }
header.wc-site-header .NavigationMenu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 12px;
    color: #c4ccda;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}
header.wc-site-header .NavigationMenu > li > a:hover,
header.wc-site-header .NavigationMenu > li.current-menu-item > a,
header.wc-site-header .NavigationMenu > li.current_page_item > a { color: #fff; background: rgba(120,87,255,.16); }
header.wc-site-header .NavigationMenu > li > a i { font-size: 15px; color: var(--wc-accent-2); }
header.wc-site-header .NavigationMenu ul { position: absolute; top: 100%; right: 0; min-width: 190px; padding: 8px; background: #111722; border: 1px solid var(--wc-line); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.38); }
header.wc-site-header .NavigationMenu ul li a { display:block; padding: 9px 12px; border-radius: 9px; color: var(--wc-muted); }
header.wc-site-header .NavigationMenu ul li a:hover { color:#fff; background:rgba(120,87,255,.14); }
.wc-header-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 1 290px;
    min-width: 190px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--wc-line);
    border-radius: 14px;
    background: rgba(255,255,255,.045);
}
.wc-header-search > i { color: var(--wc-muted); font-size: 14px; }
.wc-header-search input { width: 100%; min-width: 0; height: 42px; padding: 0 10px; color: var(--wc-text); background: transparent; border: 0; outline: 0; font-size: 13px; }
.wc-header-search input::placeholder { color: #788497; }
.wc-header-search button { flex: 0 0 auto; padding: 6px 11px; border: 0; border-radius: 9px; color: #fff; background: var(--wc-accent); cursor: pointer; font-size: 12px; font-weight: 700; }
.wc-account-wrap, header.wc-site-header .LeftSideFlex { display:flex; align-items:center; flex:0 0 auto; position:static; width:auto; height:auto; margin:0; }
header.wc-site-header .LoginButton, header.wc-site-header .wc-account-link { display:inline-flex; align-items:center; gap:8px; max-width:none; padding:10px 14px; color:#fff; background:rgba(255,255,255,.07); border:1px solid var(--wc-line); border-radius:12px; white-space:nowrap; }
.wc-menu-toggle { display:none; width:42px; height:42px; padding:10px; border:1px solid var(--wc-line); border-radius:12px; color:#fff; background:rgba(255,255,255,.05); cursor:pointer; }
.wc-menu-toggle span { display:block; width:18px; height:2px; margin:4px auto; border-radius:2px; background:#fff; transition:transform .18s ease, opacity .18s ease; }

/* Homepage hero and sections */
.wc-home { width: min(100%, var(--wc-content)); margin: 0 auto; }
.wc-hero {
    position: relative;
    min-height: clamp(390px, 39vw, 550px);
    margin: 0 0 26px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 26px;
    background: linear-gradient(135deg, #171d29, #0b0e15 70%);
    box-shadow: 0 24px 70px rgba(0,0,0,.30);
}
.wc-hero-backdrop { position:absolute; inset:-8%; z-index:-3; background-size:cover; background-position:center 28%; filter:blur(2px) saturate(.8); transform:scale(1.04); opacity:.65; }
.wc-hero-scrim { position:absolute; inset:0; z-index:-2; background:linear-gradient(270deg, rgba(9,11,16,.98) 0%, rgba(9,11,16,.88) 34%, rgba(9,11,16,.35) 75%, rgba(9,11,16,.45) 100%), linear-gradient(0deg, rgba(9,11,16,.88), transparent 55%); }
.wc-hero-content { min-height:inherit; display:flex; align-items:center; justify-content:space-between; gap:30px; padding:clamp(26px,4vw,58px); }
.wc-hero-copy { max-width:650px; flex:1 1 auto; }
.wc-eyebrow, .wc-section-kicker { display:inline-flex; align-items:center; gap:8px; color:#bcaeff; font-size:13px; font-weight:800; letter-spacing:.2px; }
.wc-eyebrow { padding:7px 12px; margin-bottom:16px; border:1px solid rgba(120,87,255,.28); border-radius:999px; background:rgba(120,87,255,.12); }
.wc-hero h2 { max-width:650px; margin:0 0 14px; color:#fff; font-size:clamp(30px,4.2vw,54px); font-weight:800; line-height:1.2; text-wrap:balance; }
.wc-hero-copy p { max-width:620px; margin:0 0 18px; color:#c4ccda; font-size:16px; line-height:1.9; }
.wc-hero-meta { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 22px; }
.wc-hero-meta span { display:inline-flex; align-items:center; gap:6px; padding:5px 11px; border:1px solid rgba(255,255,255,.10); border-radius:999px; color:#d5dbe6; background:rgba(255,255,255,.065); font-size:12px; }
.wc-hero-meta .wc-rating { color:var(--wc-gold); }
.wc-hero-actions { display:flex; flex-wrap:wrap; gap:10px; }
.wc-button, .wc-action { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:46px; padding:10px 18px; border:1px solid transparent; border-radius:13px; font-size:14px; font-weight:800; transition:transform .18s ease, filter .18s ease, background .18s ease; cursor:pointer; }
.wc-button:hover, .wc-action:hover { transform:translateY(-2px); filter:brightness(1.08); }
.wc-button-primary, .wc-action-primary { color:#fff; background:var(--theme-primary); box-shadow:0 9px 24px rgba(0,0,0,.22); }
.wc-button-secondary, .wc-action-ghost { color:#eef0f6; border-color:var(--wc-line); background:rgba(255,255,255,.07); }
.wc-hero-poster { display:block; flex:0 0 clamp(150px,18vw,238px); max-width:238px; overflow:hidden; border:1px solid rgba(255,255,255,.20); border-radius:19px; box-shadow:0 22px 45px rgba(0,0,0,.38); transform:rotate(-2deg); }
.wc-hero-poster img { display:block; width:100%; aspect-ratio:2/3; object-fit:cover; }
.wc-hero-rail { position:absolute; left:24px; bottom:18px; display:flex; gap:8px; max-width:calc(100% - 48px); overflow:auto; scrollbar-width:none; }
.wc-hero-rail a { flex:0 0 auto; max-width:180px; padding:8px 12px; overflow:hidden; color:#dce2ed; background:rgba(11,14,21,.72); border:1px solid rgba(255,255,255,.12); border-radius:10px; font-size:11px; white-space:nowrap; text-overflow:ellipsis; }
.wc-home-tabs { display:flex; align-items:center; gap:8px; margin:0 0 30px; padding:8px; overflow-x:auto; border:1px solid var(--wc-line); border-radius:16px; background:rgba(255,255,255,.025); scrollbar-width:none; }
.wc-home-tabs a { display:inline-flex; align-items:center; gap:8px; flex:0 0 auto; padding:10px 16px; color:var(--wc-muted); border-radius:11px; font-size:13px; font-weight:700; transition:all .18s ease; }
.wc-home-tabs a:hover, .wc-home-tabs a.active { color:#fff; background:rgba(120,87,255,.17); }
.wc-home-tabs a i { color:var(--wc-accent-2); }
.wc-section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin:0 0 18px; }
.wc-section-heading h2 { margin:4px 0 2px; color:var(--wc-text); font-size:25px; font-weight:800; }
.wc-section-heading p { margin:0; color:var(--wc-muted); font-size:13px; }
.wc-section-heading > a { display:inline-flex; align-items:center; gap:8px; padding:9px 13px; border:1px solid var(--wc-line); border-radius:11px; color:var(--theme-primary); font-size:12px; font-weight:700; white-space:nowrap; }

/* Poster cards, shared by home/archive/search/custom pages */
.Grid--WecimaPosts, .wc-post-grid { display:grid !important; grid-template-columns:repeat(auto-fill, minmax(154px, 1fr)); gap:22px 16px; align-items:start; padding:0 !important; margin:0 !important; }
.GridItem.wc-movie-card, .Grid--WecimaPosts > .GridItem { display:block; width:auto !important; min-width:0 !important; max-width:none !important; flex:initial !important; padding:0 !important; margin:0 !important; overflow:visible; background:transparent; border:0; }
.wc-movie-card .Thumb--GridItem { display:block; overflow:visible; padding:0; margin:0; background:transparent; border-radius:0; }
.wc-movie-card .Thumb--GridItem > a { display:block; overflow:visible; }
.wc-movie-card .BG--GridItem, .GridItem span.BG--GridItem {
    display:block;
    position:relative;
    width:100%;
    aspect-ratio:2/3;
    padding:0 !important;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.075);
    border-radius:15px;
    background-color:#151d2a;
    background-size:cover;
    background-position:center;
    box-shadow:0 8px 22px rgba(0,0,0,.18);
    transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.wc-movie-card:hover .BG--GridItem { transform:translateY(-4px); border-color:var(--theme-primary); box-shadow:0 18px 36px rgba(0,0,0,.32); }
.wc-card-badges { position:absolute; inset:10px 10px auto 10px; z-index:2; display:flex; align-items:flex-start; justify-content:space-between; gap:6px; pointer-events:none; }
.wc-card-badge { max-width:85%; padding:4px 8px; overflow:hidden; color:#fff; border:1px solid rgba(255,255,255,.12); border-radius:7px; background:rgba(9,11,16,.78); font-size:10px; font-weight:800; line-height:1.4; text-overflow:ellipsis; white-space:nowrap; }
.wc-episode-badge { background:var(--theme-primary-dark); color:#061318; border-color:transparent; }
.wc-ribbon-badge { background:var(--theme-primary-dark); }
.wc-card-overlay { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; background:linear-gradient(0deg,rgba(9,11,16,.86),rgba(9,11,16,.12)); opacity:0; transition:opacity .2s ease; }
.wc-movie-card:hover .wc-card-overlay { opacity:1; }
.wc-card-play { display:flex; align-items:center; justify-content:center; width:49px; height:49px; color:#fff; border:1px solid rgba(255,255,255,.55); border-radius:50%; background:var(--theme-primary); box-shadow:0 7px 22px rgba(0,0,0,.32); }
.wc-card-details { color:#fff; font-size:12px; font-weight:700; }
.wc-movie-card .Thumb--GridItem > a > strong { display:-webkit-box; position:static; width:100%; min-height:42px; margin:9px 0 3px; padding:0; overflow:hidden; color:#eef1f7; border:0; background:none; font-size:14px; font-weight:700; line-height:1.5; text-align:right; text-overflow:ellipsis; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.wc-movie-card:hover .Thumb--GridItem > a > strong { var(--theme-primary) }
.wc-card-submeta { display:flex; flex-wrap:wrap; align-items:center; gap:6px; color:var(--wc-muted); font-size:10px; }
.wc-card-submeta > span { padding:2px 7px; border-radius:6px; background:rgba(255,255,255,.045); }
.wc-card-submeta .wc-card-rating { color:var(--wc-gold); }
.wc-movie-card ul.PostItemStats { display:none !important; }
.wc-empty-state { grid-column:1/-1; padding:30px; color:var(--wc-muted); border:1px dashed var(--wc-line); border-radius:16px; text-align:center; }
.pagination { margin:28px 0 0; }
.pagination a, .pagination span { border-radius:10px !important; }

/* Right sidebar / filters */
.RightUI { z-index:10010; width:280px; padding:94px 18px 25px; color:var(--wc-text); background:#0e131c; border-left:1px solid var(--wc-line); box-shadow:12px 0 40px rgba(0,0,0,.16); }
.RightUI .search--userarea--rightbar > input { height:48px; color:#fff; background:rgba(255,255,255,.055); border:1px solid var(--wc-line); border-radius:12px; }
.RightUI .search--userarea--rightbar > button { width:40px; font-size:20px; }
.RightUI .menu-userarea--rightbar > li > a { padding:6px 10px; font-size:14px; }
.RightUI wecima--filter, .RightUI wecima--filter * { color:inherit; }
.RightUI wecima--filter { margin-top:12px; padding:14px; background:rgba(255,255,255,.025); border:1px solid var(--wc-line); border-radius:16px; }
.RightUI wecima--filter > title--wecima--filter { color:#fff; font-size:15px; font-weight:800; }
.RightUI wecima--filter > divider { background:var(--wc-line); }
.RightUI wecima--filter item { border-radius:8px; }

/* Archive and search wrappers */
wecima, .MasterArchiveSection, .MasterArchiveSection > *, .wc-home-latest { color:var(--wc-text); }
wecima { display:block; margin:0 !important; background:transparent !important; }
wecimaslider { display:block; }
.MasterArchiveSection { width:100% !important; max-width:var(--wc-content); margin:0 auto; padding:0 !important; }
.MasterArchiveSection h1, .MasterArchiveSection h2 { color:#fff; font-weight:800; }
.list--Tabsui { margin:0 0 20px; padding:8px; border:1px solid var(--wc-line); border-radius:14px; background:rgba(255,255,255,.025); }
.list--Tabsui a { display:inline-flex; padding:9px 14px; border-radius:9px; color:var(--wc-muted); }
.list--Tabsui a.active, .list--Tabsui a:hover { color:#fff; background:rgba(120,87,255,.16); }

/* Single item details */
singlecontainer { display:block; width:100%; min-height:0; margin:0 !important; padding:0; }
singlecontainerright { display:block; float:none; width:calc(100% - 330px) !important; min-height:0; padding:0; color:var(--wc-text); background:transparent; }
singlecontainer > singlecontainerleft { display:block; float:left; width:300px; padding:22px; margin:18px 0; color:var(--wc-muted); background:var(--wc-panel); border:1px solid var(--wc-line); border-radius:18px; }
wecima.separated--top { padding-top:0; }
singlecontainer > singlecontainerright wecima { max-width:none; margin:0; }
.Single-begin { display:flex; align-items:center; gap:clamp(20px,3vw,42px); min-height:420px; padding:clamp(24px,4vw,55px); text-align:right; }
.BG--Single-begin { height:100%; background-size:cover; background-position:center 25%; background-attachment:scroll; opacity:.9; }
.BG--Single-begin::before { background:linear-gradient(270deg,rgba(9,11,16,.98) 2%,rgba(9,11,16,.88) 40%,rgba(9,11,16,.48) 100%),linear-gradient(0deg,var(--wc-bg),transparent 65%); }
.BG--Single-begin::after { backdrop-filter:blur(9px); }
.Poster--Single-begin { flex:0 0 clamp(170px,19vw,248px); width:clamp(170px,19vw,248px); max-width:248px; margin:0; overflow:hidden; border:1px solid rgba(255,255,255,.17); border-radius:18px; box-shadow:0 22px 45px rgba(0,0,0,.4); }
.Poster--Single-begin > a.Img--Poster--Single-begin { aspect-ratio:2/3; padding:0; background-size:cover; }
.Content--Single-begin { display:block; flex:1 1 auto; max-width:none; min-width:0; margin:0; text-align:right; }
.Title--Content--Single-begin { padding:0 0 16px; margin:0 0 16px; border-bottom:1px solid var(--wc-line); }
.Title--Content--Single-begin h1 { margin:0 0 16px; color:#fff; font-size:clamp(26px,3.3vw,42px); font-weight:800; line-height:1.25; }
.wc-single-actions { display:flex; flex-wrap:wrap; gap:9px; }
.wc-single-actions .wc-action { min-height:40px; padding:8px 13px; font-size:12px; }
.Terms--Content--Single-begin { display:flex; flex-wrap:wrap; gap:9px; margin:0; padding:0; }
.Terms--Content--Single-begin > li { display:flex; align-items:center; gap:7px; width:auto; min-height:38px; padding:7px 10px; border:1px solid var(--wc-line); border-radius:10px; background:rgba(255,255,255,.055); }
.Terms--Content--Single-begin > li > span { width:auto; color:var(--wc-muted); font-size:11px; }
.Terms--Content--Single-begin > li > p { max-width:none; margin:0; color:#e5e9f1; font-size:12px; }
.Terms--Content--Single-begin > li > p a { margin:0 3px; color:#c4b8ff; font-size:12px; }
.Terms--Content--Single-begin > li > i { color:var(--wc-gold); }
.TrillerOpenBtn { display:none; }
.Poster--Single-begin .TrillerOpenBtn { position:absolute; right:10px; bottom:10px; display:flex; align-items:center; gap:7px; padding:8px 12px; border:1px solid rgba(255,255,255,.2); border-radius:10px; color:#fff; background:rgba(9,11,16,.82); cursor:pointer; font-size:11px; }
.Poster--Single-begin .TrillerOpenBtn span { color:#fff; }
.AsideContext { padding:25px clamp(18px,3vw,38px); margin:0; background:var(--wc-panel); border-top:1px solid var(--wc-line); box-shadow:none; }
.AsideContext > h2 { margin:0 0 10px; color:#fff; font-size:21px; font-weight:800; }
.AsideContext > h2 > i { color:var(--wc-accent-2); }
.AsideContext > .StoryMovieContent { color:#b8c2d2; font-size:15px; line-height:2; }
.WecimaonSocialnetwork { padding:22px; background:var(--wc-panel); }
.WecimaonSocialnetwork > h2 { color:#fff; font-size:17px; font-weight:700; }

/* Watch player and server switcher */
singlesections { display:block; margin:18px 0 0; border:0; }
singlesections > singlesection { display:block; padding:clamp(16px,2vw,28px); margin:0 0 14px; background:var(--wc-panel); border:1px solid var(--wc-line); border-radius:20px; }
.WatchArea.active { display:flex; align-items:flex-start; flex-wrap:wrap; gap:18px; }
.WatchServers { order:2; display:block; flex:0 0 245px; width:245px; margin:0; text-align:right; }
.WatchServers > ul { margin:0; }
.WatchServers > ul li { display:flex; align-items:center; gap:9px; padding:10px 12px; margin:0 0 7px; color:#c8d0de; border:1px solid var(--wc-line); border-radius:11px; background:rgba(255,255,255,.035); cursor:pointer; font-size:13px; transition:all .18s ease; }
.WatchServers > ul li:hover { color:#fff; background:rgba(120,87,255,.12); }
.WatchServers > ul li i { display:inline-flex; align-items:center; justify-content:center; flex:0 0 28px; width:28px; height:28px; margin:0; color:#fff; border-radius:8px; background:var(--wc-accent); font-size:11px; line-height:1; }
.WatchServers > ul li.ISActive { color:#fff; border-color:rgba(120,87,255,.5); background:rgba(120,87,255,.17); }
.WatchServers > ul li.ISActive i { background:var(--wc-accent-2) !important; color:#071419; }
.WatchServersEmbed { order:1; display:block; flex:1 1 540px; width:auto; max-width:none; min-width:0; margin:0; }
.WatchServersEmbed .Inner--WatchServersEmbed { width:100%; aspect-ratio:16/9; padding:0; overflow:hidden; background:#030509; border:1px solid rgba(255,255,255,.1); border-radius:16px; box-shadow:0 18px 40px rgba(0,0,0,.25); }
.WatchServersEmbed iframe { display:block; position:absolute; inset:0; width:100%; height:100%; border:0; border-radius:inherit; }
.EpisodeNavigation { display:flex; justify-content:space-between; flex-wrap:wrap; gap:9px; width:100%; padding-top:6px; }
.EpisodeNavigation > a { display:inline-flex; align-items:center; gap:6px; height:auto; min-height:42px; padding:8px 13px; color:#fff; border-radius:11px; background:rgba(255,255,255,.07); font-size:13px; line-height:1.3; }
.EpisodeNavigation > a.NextEpisode { float:none; background:var(--theme-primary) !important; }
.EpisodeNavigation > a > em { font-size:14px; }
.Download--Wecima--Single { display:block; width:100%; max-width:none; margin:22px 0 0; }
titleshape { display:block; margin:0 0 13px; color:#fff; font-size:18px; font-weight:800; }
.List--Download--Wecima--Single { display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:9px; margin:0; }
ul.List--Download--Wecima--Single > li { display:block; min-width:0; margin:0; }
ul.List--Download--Wecima--Single > li > a { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:65px; padding:12px 14px; color:#fff; background:linear-gradient(135deg,#176d55,#124b42); border:1px solid rgba(22,198,216,.18); border-radius:12px; }
ul.List--Download--Wecima--Single > li > a > quality { display:block; margin:0; font-size:13px; font-weight:800; }
ul.List--Download--Wecima--Single > li > a > resolution { display:block; margin-right:auto; color:#c9e9df; font-size:11px; }
ul.List--Download--Wecima--Single > li > a > i { position:static; flex:0 0 auto; width:auto; font-size:19px; }
.Series--Section h2, singlerelated .titleArea > span { color:#fff; font-weight:800; }
.Seasons--Episodes { display:flex; flex-wrap:wrap; gap:14px; padding:14px; border:1px solid var(--wc-line); border-radius:15px; background:rgba(255,255,255,.025); }
.SeasonsList { flex:0 0 190px; width:190px; margin:0; padding:0; background:transparent; }
.SeasonsList > ul { display:flex; flex-direction:column; gap:7px; }
.SeasonsList > ul > li { margin:0; border:1px solid var(--wc-line); border-radius:9px; background:rgba(255,255,255,.035); }
.SeasonsList > ul > li.active { background:rgba(120,87,255,.18); border-color:rgba(120,87,255,.4); }
.SeasonsList > ul > li > a { display:block; padding:9px 12px; color:#dfe4ed; }
.EpisodesList { flex:1 1 400px; max-width:none; padding:0; }
.EpisodesList > a { display:inline-flex; align-items:center; min-width:105px; margin:4px; padding:10px 12px; color:#dce3ee; border:1px solid var(--wc-line); border-radius:10px; background:rgba(255,255,255,.04); }
.EpisodesList > a.active { color:#fff; border-color:rgba(120,87,255,.5); background:rgba(120,87,255,.16); }
singlerelated { display:block; padding:20px 0; }
singlerelated > .titleArea { margin-bottom:14px; color:#fff; }
singlerelated .Grid--WecimaPosts { grid-template-columns:repeat(auto-fill,minmax(145px,1fr)); }

/* Content panel beside the movie page */
singlecontainer > singlecontainerleft .PostHead { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
singlecontainer > singlecontainerleft .PostHeadInfo p { color:#fff; }
singlecontainer > singlecontainerleft .PostItemContent { color:#b6c0d0; font-size:13px; line-height:1.9; }
singlecontainer > singlecontainerleft .PostItemStats { display:none; }

/* Footer */
footer.wc-site-footer { display:block; width:auto; margin:28px 304px 0 0; padding:0; color:var(--wc-muted); border-top:1px solid var(--wc-line); border-radius:0; background:#080a0f; text-align:right; }
.wc-footer-inner { width:min(100%,var(--wc-content)); display:grid; grid-template-columns:minmax(220px,1.5fr) minmax(150px,1fr) minmax(140px,.8fr); gap:26px; margin:0 auto; padding:30px clamp(14px,2vw,30px); }
.wc-footer-brand .wc-brand strong { color:#fff; font-size:18px; }
.wc-footer-brand p { max-width:440px; margin:12px 0 0; color:var(--wc-muted); font-size:12px; line-height:1.8; }
.wc-footer-links > strong, .wc-footer-social > strong { display:block; margin-bottom:10px; color:#fff; font-size:14px; font-weight:800; }
.wc-footer-links > .wc-footer-secondary-heading { margin-top:16px; }
.wc-footer-links ul { display:flex; flex-wrap:wrap; gap:8px 14px; }
.wc-footer-links li a { color:var(--wc-muted); font-size:12px; }
.wc-footer-links li a:hover { color:#c5b9ff; }
.wc-footer-social { display:flex; flex-wrap:wrap; align-content:flex-start; gap:8px; }
.wc-footer-social > strong { flex:0 0 100%; }
.wc-footer-social a { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; color:#d9dff0; border:1px solid var(--wc-line); border-radius:11px; background:rgba(255,255,255,.045); }
.wc-footer-social a:hover { color:#fff; background:var(--wc-accent); }
.wc-footer-bottom { display:block; padding:14px 18px; color:#7f899b; border-top:1px solid var(--wc-line); background:rgba(255,255,255,.02); text-align:center; font-size:11px; }
.GotoTop { z-index:10030; border-radius:12px 12px 0 0; background:var(--wc-accent); }

/* Modal and common utility surfaces */
.TrilerOverlay { z-index:10050; }
.TrilerOverlay .opendTriller { width:min(92vw,1000px); }
.TrilerOverlay iframe { width:100%; aspect-ratio:16/9; border:0; border-radius:14px; }
.pagination ul { display:flex; justify-content:center; flex-wrap:wrap; gap:7px; }
.pagination li a, .pagination li span { display:inline-flex; align-items:center; justify-content:center; min-width:38px; min-height:38px; padding:5px 10px; color:#cbd3e0; background:var(--wc-panel); border:1px solid var(--wc-line); }
.pagination li span.current, .pagination li a:hover { color:#fff; background:var(--theme-primary); border-color:var(--theme-primary); }

/* Responsive layouts */
@media (max-width: 1280px) {
    .wc-main { margin-right:0; padding-top:22px; }
    .RightUI { display:none !important; }
    footer.wc-site-footer { margin-right:0; }
    .Single-begin { min-height:380px; }
}
@media (max-width: 1024px) {
    .wc-header-shell { gap:10px; }
    header.wc-site-header middle--header { position:absolute; top:calc(100% + 8px); right:12px; left:12px; display:none; padding:10px; background:#101722; border:1px solid var(--wc-line); border-radius:16px; box-shadow:0 18px 38px rgba(0,0,0,.38); }
    header.wc-site-header.wc-menu-open middle--header { display:block; }
    header.wc-site-header .NavigationMenu { display:flex; align-items:stretch; flex-direction:column; gap:4px; }
    header.wc-site-header .NavigationMenu > li > a { display:flex; justify-content:flex-start; width:100%; }
    header.wc-site-header .NavigationMenu ul { position:static; display:block; min-width:0; margin:4px 12px; box-shadow:none; }
    .wc-menu-toggle { display:block; order:0; flex:0 0 42px; }
    .wc-brand-wrap { order:1; }
    .wc-header-search { order:2; flex:1 1 auto; min-width:120px; }
    .wc-account-wrap { order:3; }
    .wc-header-search button { display:none; }
    .wc-single-actions { gap:7px; }
    singlecontainerright { width:100% !important; }
    singlecontainer > singlecontainerleft { display:none; }
}
@media (max-width: 720px) {
    rootinside { padding-top:68px; }
    header.wc-site-header { min-height:66px; padding:0 10px; }
    .wc-header-shell { min-height:66px; gap:8px; }
    .wc-brand-mark { width:36px; height:36px; flex-basis:36px; border-radius:11px; font-size:15px; }
    header.wc-site-header .HeaderLogo { font-size:18px; }
    header.wc-site-header .HeaderLogo logotext { font-size:10px; }
    .wc-header-search { height:38px; min-width:0; padding:0 9px; border-radius:11px; }
    .wc-header-search input { height:36px; padding:0 7px; font-size:11px; }
    .wc-menu-toggle { width:38px; height:38px; flex-basis:38px; padding:8px; }
    .wc-account-wrap { display:none !important; }
    .wc-main { padding:16px 12px 28px; }
    .wc-hero { min-height:0; margin-bottom:18px; border-radius:19px; }
    .wc-hero-content { min-height:365px; padding:24px 18px 78px; }
    .wc-hero-poster { flex-basis:112px; max-width:112px; align-self:flex-start; margin-top:18px; border-radius:12px; }
    .wc-hero h2 { font-size:25px; }
    .wc-hero-copy p { font-size:12px; line-height:1.75; }
    .wc-eyebrow { margin-bottom:10px; font-size:10px; }
    .wc-hero-meta { gap:5px; margin-bottom:14px; }
    .wc-hero-meta span { padding:4px 7px; font-size:10px; }
    .wc-button { min-height:40px; padding:8px 12px; font-size:11px; }
    .wc-hero-rail { right:14px; left:14px; bottom:12px; max-width:calc(100% - 28px); }
    .wc-hero-rail a { max-width:145px; }
    .wc-home-tabs { margin-bottom:22px; }
    .wc-home-tabs a { padding:9px 12px; font-size:11px; }
    .wc-section-heading { align-items:flex-start; }
    .wc-section-heading h2 { font-size:20px; }
    .wc-section-heading p { max-width:270px; font-size:11px; }
    .wc-section-heading > a { display:none; }
    .Grid--WecimaPosts, .wc-post-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px 9px; }
    .wc-movie-card .BG--GridItem, .GridItem span.BG--GridItem { border-radius:11px; }
    .wc-movie-card .Thumb--GridItem > a > strong { margin-top:7px; min-height:35px; font-size:11px; line-height:1.45; }
    .wc-card-submeta { gap:4px; font-size:9px; }
    .wc-card-submeta > span { padding:1px 5px; }
    .wc-card-badges { inset:6px 6px auto; }
    .wc-card-badge { max-width:100%; padding:3px 5px; font-size:8px; }
    .wc-card-overlay { display:none; }
    .Single-begin { display:flex; align-items:flex-start; gap:15px; min-height:0; padding:22px 8px; }
    .Poster--Single-begin { flex:0 0 118px; width:118px; max-width:118px; border-radius:12px; }
    .Content--Single-begin { flex:1; }
    .Title--Content--Single-begin { padding-bottom:10px; margin-bottom:10px; }
    .Title--Content--Single-begin h1 { margin-bottom:10px; font-size:22px; }
    .wc-single-actions .wc-action { min-height:36px; padding:7px 9px; font-size:10px; }
    .Terms--Content--Single-begin { gap:5px; }
    .Terms--Content--Single-begin > li { min-height:30px; padding:4px 7px; }
    .Terms--Content--Single-begin > li > span { font-size:9px; }
    .Terms--Content--Single-begin > li > p, .Terms--Content--Single-begin > li > p a { font-size:10px; }
    .WatchArea.active { display:flex; flex-direction:column; gap:13px; }
    .WatchServersEmbed { order:1; width:100%; flex:auto; }
    .WatchServers { order:2; flex:0 0 auto; width:100%; }
    .WatchServers > ul { display:flex; flex-wrap:wrap; gap:6px; }
    .WatchServers > ul li { width:auto; margin:0; padding:7px 9px; font-size:11px; }
    .WatchServers > ul li i { width:24px; height:24px; flex-basis:24px; font-size:9px; }
    singlesections > singlesection { padding:13px; border-radius:15px; }
    .List--Download--Wecima--Single { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
    ul.List--Download--Wecima--Single > li > a { min-height:58px; padding:9px; gap:6px; }
    ul.List--Download--Wecima--Single > li > a > quality { font-size:11px; }
    ul.List--Download--Wecima--Single > li > a > resolution { font-size:9px; }
    .EpisodeNavigation > a { font-size:11px; }
    .Seasons--Episodes { padding:9px; }
    .SeasonsList { flex:1 1 100%; width:100%; }
    .SeasonsList > ul { flex-direction:row; flex-wrap:wrap; }
    .SeasonsList > ul > li { flex:0 0 auto; }
    .EpisodesList { flex:1 1 100%; }
    .wc-footer-inner { grid-template-columns:1fr 1fr; gap:18px; padding:24px 16px; }
    .wc-footer-brand { grid-column:1/-1; }
    footer.wc-site-footer { margin-top:18px; }
}
@media (max-width: 420px) {
    .wc-brand { gap:6px; }
    .wc-brand-mark { display:none; }
    header.wc-site-header .HeaderLogo { font-size:16px; }
    .wc-header-search { flex:1 1 125px; }
    .wc-hero-content { min-height:340px; padding:20px 14px 78px; gap:10px; }
    .wc-hero-poster { flex-basis:94px; max-width:94px; }
    .wc-hero h2 { font-size:21px; }
    .wc-hero-copy p { font-size:11px; }
    .wc-hero-actions { gap:6px; }
    .wc-button { padding:7px 9px; }
    .Grid--WecimaPosts, .wc-post-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 10px; }
    .wc-movie-card .Thumb--GridItem > a > strong { font-size:12px; }
    .wc-card-submeta { font-size:9px; }
    .Single-begin { gap:11px; }
    .Poster--Single-begin { flex-basis:100px; width:100px; }
    .Title--Content--Single-begin h1 { font-size:18px; }
    .Terms--Content--Single-begin > li > span { display:none; }
    .wc-footer-inner { grid-template-columns:1fr; }
    .wc-footer-brand { grid-column:auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

/* Favorites page (uses the theme's existing userFevoritePosts user-meta list). */
.wc-page{width:min(100% - 36px,1440px);margin:42px auto 70px;min-height:52vh}
.wc-page-heading{margin-bottom:26px}
.wc-page-heading h1{margin:7px 0 8px;color:var(--wc-text);font-size:clamp(25px,3vw,38px);font-weight:800}
.wc-page-heading p{margin:0;color:var(--wc-muted)}
.wc-empty-state{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:32px;border:1px solid var(--wc-line);border-radius:20px;background:var(--wc-panel);color:var(--wc-muted);text-align:center}
.wc-empty-state>i{font-size:34px;color:var(--wc-accent)}
.wc-empty-state p{margin:0}
.wc-empty-state .wc-button{margin-top:5px}
@media(max-width:520px){.wc-page{width:calc(100% - 24px);margin:26px auto 48px}}
