/* Manzoom: cinema journal, shared proportions and a single responsive grid. */
:root {
    --mz-green: #087f62;
    --mz-green-light: #eaf2eb;
    --mz-ink: #22372d;
    --mz-muted: #69746c;
    --mz-line: #d9dfd5;
    --mz-paper: #f6f5ee;
    --mz-surface: #fffefa;
    --mz-gutter: clamp(20px, 4vw, 60px);
}
.manzoom-modern { background: #fff; color: var(--mz-ink); padding-top: 126px; }
.manzoom-modern a { color: inherit; }
.manzoom-modern p { line-height: 1.9; }
.manzoom-modern .green, .manzoom-modern .bg-green { background: var(--mz-green); }
.manzoom-modern .text-green { color: var(--mz-green); }
.manzoom-modern .gray { color: var(--mz-muted); }
.manzoom-modern :focus-visible { outline: 2px solid var(--mz-green); outline-offset: 4px; }
.skip-link { position: fixed; top: -80px; right: 24px; z-index: 2100; padding: 12px 20px; background: var(--mz-surface); }
.skip-link:focus { top: 12px; }
/* Masthead */
#header { border-top: 3px solid var(--mz-green); border-bottom: 1px solid var(--mz-line); padding: 15px var(--mz-gutter); box-shadow: none; background: var(--mz-surface); overflow: visible; }
#header .brand-heading { margin: 0; font-size: inherit; line-height: 0; }
#header .logo img { width: 124px; margin: 0 0 0 26px; }
#header .auth-header-box { display: flex; align-items: center; gap: 12px; overflow: visible; }
#header .login { display: flex !important; align-items: center; justify-content: center; gap: 6px; width: 84px; height: 36px; margin: 0; padding: 0; border-radius: 3px; background: var(--mz-green); color: white; border: 0; cursor: pointer; font-size: 13px; }
#header .login .login-logo { float: none; margin: 0; }
#header .login > * { float: none; }
#header .signup { height: 36px; margin: 0; padding: 0 12px; border: 0; background: transparent; color: var(--mz-green); cursor: pointer; }
#header .user-info img { border-radius: 50%; }
#header .user-items-box { border: 1px solid var(--mz-line); border-radius: 3px; box-shadow: 0 8px 24px #22372d12; }
#menu-box-items .top-item > a { border-radius: 0; }
#menu-box-items .top-item:hover > a { color: var(--mz-green); background: var(--mz-green-light); }
#menu-box-items .top-item .sub-items-box { border-color: var(--mz-line); border-radius: 0; box-shadow: 0 12px 24px #22372d12; padding: 24px; }
#search-box { position: relative; width: 100%; margin: 12px 0 0; }
#search { display: flex; align-items: center; width: 100%; height: 42px; background: var(--mz-paper); border: 1px solid var(--mz-line); border-radius: 3px; box-sizing: border-box; }
#search:focus-within { border-color: var(--mz-green); }
#search input { flex: 1; min-width: 0; width: auto; height: 40px; background: transparent; font-size: 13px !important; padding: 0 14px; }
#search .select-container { order: 1; float: none; height: 40px; background: transparent; border-right: 1px solid var(--mz-line); }
#search select { height: 40px; margin: 0; padding: 0 12px; color: var(--mz-muted); }
#search .arrow-icon { left: 56px; top: 15px; }
#search-icon { order: 2; display: flex; justify-content: center; align-items: center; flex: 0 0 44px; width: 44px; height: 40px; padding: 0; border: 0; background: transparent; color: var(--mz-green); cursor: pointer; }
#search-icon:hover { background: var(--mz-green-light); color: var(--mz-green); }
#search-box .search-auto-list { right: 0; top: 46px; width: 100%; margin: 0; box-sizing: border-box; border: 1px solid var(--mz-line); border-radius: 3px; box-shadow: 0 10px 30px #22372d18; }
/* The original cinema poster remains the entrance to Manzoom. */
.manzoom-home #main-header { display: flex; align-items: center; position: relative; isolation: isolate; width: 100%; max-width: none; min-height: 540px; height: calc(100vh - 126px); height: calc(100svh - 126px); margin: 0; padding: 64px max(var(--mz-gutter), calc((100vw - 1360px) / 2)); border: 0; border-radius: 0; background-size: cover; background-position: center; box-sizing: border-box; }
#main-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(8,16,18,.28), rgba(8,16,18,.08) 56%, transparent); }
#main-header .items { position: static; padding: 0; width: 815px; max-width: 100%; }
#main-header .items .text { font-family: 'sans_bold', tahoma, sans-serif; font-size: clamp(36px, 4.2vw, 64px); line-height: 1.7; font-weight: normal; color: white; text-shadow: 0 2px 20px #0006; margin: 0 0 20px; }
.hero-description { margin: 0 0 32px; color: #ffffffe0; font-size: 16px; }
.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 360px; }
.manzoom-modern .hero-button { display: flex; align-items: center; justify-content: center; min-height: 50px; margin: 0; padding: 12px; border-radius: 12px; font-size: 14px; line-height: 1.6; box-sizing: border-box; cursor: pointer; }
.manzoom-modern .hero-primary { background: var(--mz-green); color: white; border: 1px solid var(--mz-green); box-shadow: 0 6px 24px #0002; }
.manzoom-modern .hero-secondary { background: #ffffff14; color: white; border: 1px solid #ffffff80; backdrop-filter: blur(8px); }
.manzoom-modern .hero-primary:hover { background: #076a52; }
.manzoom-modern .hero-secondary:hover { background: #ffffff26; }
.hero-signature { margin-top: 28px; color: #ffffffb0; font-size: 12px; }
.discovery-nav { display: grid; grid-template-columns: 1.1fr repeat(5, 1fr); gap: 8px; max-width: 1360px; margin: 24px var(--mz-gutter) 0; padding: 8px; background: #f5f8f6; border: 1px solid #e9eeeb; border-radius: 16px; scroll-margin-top: 140px; }
.discovery-label, .discovery-nav a { display: flex; align-items: center; justify-content: center; min-height: 46px; box-sizing: border-box; font-size: 12px; border-radius: 10px; }
.discovery-label { color: var(--mz-muted); }
.discovery-nav a:hover { background: white; color: var(--mz-green); box-shadow: 0 3px 12px #22372d0a; }
/* Content aligns to the same cover margins. */
#main { max-width: 1480px; width: 100%; margin: 0 auto; padding: 32px var(--mz-gutter) 56px; }
.manzoom-home #main { display: grid; grid-template-columns: minmax(0, 3.5fr) minmax(0, 1fr); gap: 24px; }
.manzoom-home #main::after { display: none; }
.manzoom-home #main > .right-part, .manzoom-home #main > .left-part { width: auto; min-width: 0; float: none; margin: 0 !important; }
.manzoom-home .main-box .head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; border-bottom: 1px solid var(--mz-line); }
.manzoom-home .main-box .head::after { display: none; }
.manzoom-home .main-box .head > * { float: none; min-width: 0; margin: 0; }
.manzoom-home .main-box .head .more { flex-shrink: 0; font-size: 11px; color: var(--mz-green); font-weight: normal; }
.manzoom-home #main .right-part .header { background: var(--mz-green); color: white; text-align: center; font-size: 18px; padding: 14px 20px; border-radius: 14px; margin-bottom: 18px; box-sizing: border-box; }
.manzoom-home #top { border: 0; margin-bottom: 28px; }
.manzoom-home #top .box-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; padding: 0; }
.manzoom-home #top .main-box { width: auto !important; margin: 0 !important; float: none; }
.manzoom-home #top .main-box .head { border-top: 0; font-size: 13px; }
.manzoom-home #top .main-box .main { border-left: 0; }
.manzoom-home #top .main-box .main ul { margin: 0; }
.manzoom-home #top .main-box .main .item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 47px; margin: 0; padding: 8px 0; border-bottom: 1px solid #e8ebe2; box-sizing: border-box; }
.manzoom-home #top .main-box .main li:last-child .item { border-bottom: 0; }
.manzoom-home #top .main-box .main .item .rate { flex: 0 0 32px; float: none; padding: 0; }
.manzoom-home #top .main-box .main .item .rate .num { float: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0; padding: 0; font-size: 13px; border-radius: 50%; }
.manzoom-home #top .main-box .main .item .text { flex: 1; float: none; width: auto; min-width: 0; margin: 0; padding: 0; height: auto; font-size: 14px; line-height: 1.8; }
.manzoom-home #top .item:hover .text { color: var(--mz-green); }
.manzoom-home #hint-box { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.manzoom-home #hint-box .main-box { width: 100% !important; margin: 0 !important; float: none; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; text-align: right; color: var(--mz-ink); cursor: pointer; }
.participation-title { display: block; margin: 0; font-size: 14px; font-family: 'sans_medium', tahoma, sans-serif; }
.participation-copy { display: block; line-height: 1.9; margin: 0; font-size: 12px; color: var(--mz-muted); }
.home-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-media-grid > a { display: block; min-width: 0; }
.home-media-grid img { display: block; width: 100%; height: 180px; object-fit: cover; border-radius: 12px; }
.home-media-grid .text { padding-top: 12px; line-height: 1.8; }
.manzoom-home .editorial .img, .manzoom-home .video .img { border-radius: 12px; }
.cards-item .card { border: 1px solid var(--mz-line); border-radius: 3px; background: var(--mz-surface); box-shadow: none; overflow: hidden; }
.cards-item .card:hover { box-shadow: 0 6px 18px #22372d12; }
/* Footer uses the same markup at every size. No floats, duplicate device branches or icon sprites. */
#footer.mz-footer { display: block; width: 100%; height: auto; padding: 40px var(--mz-gutter) 24px; box-sizing: border-box; border-top: 2px solid var(--mz-green); border-bottom: 0; background: #e9ede4; color: var(--mz-ink); }
.footer-content { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 40px; max-width: 1360px; margin: 0 auto 28px; }
.footer-brand { display: inline-block; }
.footer-brand img { display: block; height: auto; width: 124px; }
.footer-description { max-width: 260px; margin: 18px 0; font-size: 12px; line-height: 1.9; font-weight: normal; color: var(--mz-muted); }
.manzoom-modern .footer-app { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1px solid #a8b8a9; border-radius: 3px; font-size: 12px; color: var(--mz-green); }
.footer-content h2 { margin: 0 0 16px; font-size: 13px; font-family: 'sans_medium', tahoma, sans-serif; }
.footer-link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.footer-link-grid a, .footer-selections > a { display: flex; align-items: center; min-height: 38px; font-size: 12px; }
.footer-content a:hover, .footer-social-row a:hover { color: var(--mz-green); text-decoration: underline !important; text-underline-offset: 5px; }
.footer-social-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1360px; margin: 0 auto; padding: 18px 0; border-top: 1px solid #ced6c8; border-bottom: 1px solid #ced6c8; }
.footer-social-row > span { font-size: 12px; color: var(--mz-muted); }
.footer-social-row nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-social-row a { min-height: 32px; display: flex; align-items: center; font-size: 12px; }
.footer-legal { max-width: 1360px; margin: 18px auto 0; color: var(--mz-muted); font-size: 10px; }
.footer-legal p { margin: 6px 0; }
/* Account dialogs: labelled fields, stable button sizing, and errors in the flow. */
.account-section.auth-dialog { z-index: 2000; inset: 0; width: 100%; height: 100%; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box; padding: 24px; background: #122c25a8; backdrop-filter: blur(5px); }
.auth-dialog .pop-box.auth-card { display: block; position: relative; width: 420px; max-width: 100%; margin: max(12px, 6vh) auto; padding: 28px 32px; box-sizing: border-box; border-radius: 6px; border: 1px solid #d9dfd5; border-top: 4px solid var(--mz-green); background: var(--mz-surface); box-shadow: 0 24px 80px #10291f38; overflow: visible; text-align: right; }
.auth-brand-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.auth-brand-row img { width: 100px; height: auto; }
.auth-card button { cursor: pointer; }
.auth-card .auth-close { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; font-family: tahoma, sans-serif; font-size: 27px; font-weight: normal; line-height: 1; color: var(--mz-muted); background: transparent; border: 1px solid var(--mz-line); border-radius: 3px; }
.auth-card .auth-close:hover { background: var(--mz-paper); color: var(--mz-ink); }
.auth-heading { margin: 0 0 8px; font-family: 'sans_bold', tahoma, sans-serif; font-size: 25px; line-height: 1.6; }
.auth-intro { margin: 0 0 24px; font-size: 12px; color: var(--mz-muted); }
.auth-field { position: relative; margin-bottom: 18px; }
.auth-field label { display: block; margin-bottom: 8px; font-size: 12px; color: var(--mz-ink); }
.auth-dialog .auth-card .input { display: block; box-sizing: border-box; width: 100%; height: 48px; margin: 0; padding: 0 12px; border: 1px solid #becabd; border-radius: 3px; background: var(--mz-surface); box-shadow: none; color: var(--mz-ink); font-size: 14px; text-align: right; outline: none; }
.auth-dialog .auth-card .input[dir="ltr"] { text-align: left; }
.auth-dialog .auth-card .input:focus { border-color: var(--mz-green); box-shadow: 0 0 0 2px #087f6214; }
.auth-dialog .auth-card .input::placeholder { color: #8a958d; font-size: 12px; }
.auth-dialog .auth-card .input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px var(--mz-surface) inset; -webkit-text-fill-color: var(--mz-ink); }
.auth-dialog .password-field .input { padding-right: 72px; }
.password-visibility { position: absolute; right: 8px; top: 32px; min-height: 36px; padding: 0 8px; border: 0; border-left: 1px solid var(--mz-line); background: transparent; font-size: 11px; color: var(--mz-muted); }
.auth-dialog .message.error, .auth-dialog .signup.error { position: static; width: auto; margin: 8px 0 0; text-align: right; font-size: 11px; line-height: 1.8; color: #b13a32; }
.auth-dialog .message.error { margin: 0 0 16px; padding: 10px 12px; background: #fff0eb; border-right: 2px solid #b13a32; }
.auth-dialog .message.error:empty, .auth-dialog .signup.error:empty, .auth-dialog .message.success:empty, .auth-dialog .captcha:empty { display: none; }
.auth-dialog .message.success { padding: 12px; margin: 0 0 20px; font-size: 12px; background: var(--mz-green-light); color: var(--mz-green); line-height: 1.9; }
.auth-dialog .auth-card .submit, .auth-dialog .auth-card .submit:active { display: block; width: 100%; height: 48px; margin: 22px 0 0; padding: 0 14px; border: 1px solid var(--mz-green); border-radius: 3px; background: var(--mz-green); color: white; font-size: 14px; font-weight: normal; cursor: pointer; }
.auth-dialog .auth-card .submit:hover { background: #076a52; }
.auth-card .auth-text-button, .auth-card .auth-switch button, .auth-card .auth-code-actions button { border: 0; background: none; padding: 6px 0; min-height: 32px; color: var(--mz-green); font-size: 12px; font-weight: normal; margin: 0; }
.auth-card .auth-text-button { display: block; margin-top: -6px; }
.auth-switch { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--mz-line); color: var(--mz-muted); font-size: 12px; }
.auth-code-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-code-actions .timer { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--mz-muted); direction: ltr; }
.auth-open { overflow: hidden; }
@media (min-width: 801px) {
    #header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
    #header .logo, #menu-box-items, #header .auth-header-box { float: none; }
    #header #menu-box-items { display: flex; flex-wrap: wrap; align-items: center; }
    #header .auth-header-box { justify-self: end; }
    #header #search-box { grid-column: 1 / -1; }
    #header #menu-overlay { display: none; }
    #menu-box-items .top-item:focus-within > a { color: var(--mz-green); background: var(--mz-green-light); }
    #menu-box-items .top-item:focus-within .sub-items-box, #header .auth-header-box:focus-within .user-items-box { visibility: visible; opacity: 1; transform: scaleY(1); }
}
@media (min-width: 801px) and (max-width: 1385px) {
    #header .signup { display: none; }
}
@media (min-width: 801px) and (max-width: 1100px) {
    #header .logo img { width: 100px; margin-left: 10px; }
    #menu-box-items .top-item > a { padding-inline: 7px; }
    .manzoom-home #main { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 16px; }
    .manzoom-home #hint-box { grid-template-columns: 1fr; }
    .footer-content { gap: 24px; }
}
@media (min-width: 1480px) {
    .discovery-nav { margin-inline: auto; }
}
@media (max-width: 800px) {
    :root { --mz-gutter: 20px; }
    .manzoom-modern { background: #fff !important; padding-top: 110px; }
    #header { height: 110px !important; padding: 10px 20px; border-top: 0; border-bottom: 1px solid var(--mz-line); }
    #header .logo { margin-right: 34px; }
    #header .logo img { width: 94px; margin: 5px 0 0; }
    #header .login { width: 72px; height: 34px; }
    #mobile-icons .menu-icon { top: 8px; right: 10px; width: 40px; height: 40px; padding: 7px; border: 0; border-radius: 2px; background: transparent; color: var(--mz-ink); cursor: pointer; font-size: 23px; }
    #header .user-info { width: auto; }
    #mobile-icons .user-name { max-width: 80px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    #search-box { margin-top: 12px; height: 42px; }
    #search input { width: auto; font-size: 11px !important; }
    #search-box .search-auto-list { top: 46px; width: 100%; margin: 0; }
    #menu-box-items { width: 270px; max-width: calc(100vw - 48px); margin-right: -270px; background: var(--mz-surface); padding: 14px 0; box-sizing: border-box; visibility: hidden; }
    body.menu-open { height: auto; }
    body.menu-open #menu-box-items { visibility: visible; }
    #menu-box-items .top-item .sub-items-box { padding: 16px; box-shadow: none; }
    .manzoom-home #main-header { width: 100%; margin: 0; padding: 48px 24px; min-height: 540px; height: calc(100vh - 110px); height: calc(100svh - 110px); background-position: 65% center; }
    #main-header::before { background: linear-gradient(270deg, #08101270, #08101225); }
    #main-header .items .text { font-size: 32px; }
    .hero-description { font-size: 14px; margin-bottom: 26px; }
    .manzoom-modern .hero-button { min-height: 48px; font-size: 13px; }
    .hero-signature { margin-top: 24px; font-size: 11px; }
    .discovery-nav { margin: 20px 20px 0; grid-template-columns: repeat(3, 1fr); scroll-margin-top: 128px; }
    .discovery-label, .discovery-nav a { min-height: 44px; font-size: 11px; }
    #main { width: 100%; margin: 0; padding: 28px 20px 40px !important; }
    .manzoom-home #main { grid-template-columns: 1fr; gap: 24px; }
    .manzoom-home #main .right-part .header { font-size: 16px; line-height: 1.9; padding-bottom: 16px; }
    .manzoom-home #top .box-container { gap: 12px; }
    .manzoom-home #top .main-box .head { display: flex; flex-direction: row; align-items: center; justify-content: space-between; min-height: 64px; gap: 8px; font-size: 12px; }
    .manzoom-home #top .main-box .main .item { gap: 8px; }
    .manzoom-home #top .main-box .main .item .text { font-size: 13px; }
    .manzoom-home #hint-box { grid-template-columns: 1fr; gap: 12px; }
    .home-media-grid { gap: 16px; }
    .home-media-grid img { height: 120px; }
    #footer.mz-footer { padding: 28px 20px 20px; }
    .footer-content { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
    .footer-identity { padding-bottom: 24px; border-bottom: 1px solid #ced6c8; }
    .footer-description { max-width: none; margin: 14px 0; }
    .footer-app { width: 100%; box-sizing: border-box; }
    .footer-content h2 { margin-bottom: 10px; }
    .footer-link-grid { gap: 0 20px; }
    .footer-link-grid a, .footer-selections > a { min-height: 44px; }
    .footer-social-row { display: block; padding: 18px 0; }
    .footer-social-row nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 12px; }
    .footer-social-row a { justify-content: center; min-height: 44px; font-size: 11px; border-left: 1px solid #ced6c8; }
    .footer-social-row a:last-child { border-left: 0; }
    .footer-legal { font-size: 10px; }
    .account-section.auth-dialog { padding: 16px; }
    .auth-dialog .pop-box.auth-card { margin: 12px auto; padding: 24px; }
    .auth-brand-row { margin-bottom: 22px; }
    .auth-heading { font-size: 23px; }
}
@media (max-width: 360px) {
    :root { --mz-gutter: 16px; }
    #mobile-icons .user-name { display: none; }
    .discovery-nav { margin-inline: 16px; }
    #main { padding-inline: 16px !important; }
    .manzoom-home #top .box-container { grid-template-columns: 1fr; }
    .manzoom-home #top .main-box .head { flex-direction: row; align-items: center; justify-content: space-between; min-height: 64px; }
    .auth-dialog .pop-box.auth-card { padding: 20px; }
    .hero-actions { gap: 8px; }
    .manzoom-modern .hero-button { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .manzoom-modern *, .manzoom-modern *::before, .manzoom-modern *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.manzoom-home .home-community-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.manzoom-home .home-community-grid > .td-4 { width: auto !important; margin: 0 !important; float: none; min-width: 0; }
.manzoom-home .home-community-grid .list-image-container { float: none; width: 100% !important; margin: 0; border-radius: 12px; }
.manzoom-home .home-community-grid .list-image-container + .text { padding-top: 12px; }
.manzoom-home .left-menu-item > .footer { display: flex; justify-content: flex-end; align-items: center; padding: 12px; box-sizing: border-box; font-size: 11px !important; border-radius: 0; }
@media (max-width: 800px) {
    .manzoom-home .home-community-grid { grid-template-columns: 1fr; }
}
.manzoom-modern #main .left-menu-item .main { min-height: 0; }
.manzoom-modern #main .trending-movies .item { display: grid !important; grid-template-columns: 14px minmax(0, 1fr) 32px 12px; align-items: center; gap: 6px; padding: 10px 0; margin: 0; border-bottom: 1px solid var(--mz-line); }
.manzoom-modern #main .trending-movies .item:last-child, .manzoom-modern #main .top-actors .item:last-child { border-bottom: 0; }
.manzoom-modern #main .trending-movies .item > *, .manzoom-modern #main .top-actors .item > * { float: none; margin: 0; }
.manzoom-modern #main .trending-movies .item .text { max-width: none; height: auto; padding: 0; }
.manzoom-modern #main .trending-movies .item .num { grid-column: 1; grid-row: 1 / span 2; }
.manzoom-modern #main .trending-movies .item .fav-name { grid-column: 2; grid-row: 1; }
.manzoom-modern #main .trending-movies .item .get-star { display: block; grid-column: 2; grid-row: 2; font-size: 11px; color: var(--mz-green); }
.manzoom-modern #main .trending-movies .item .circle { grid-column: 3; grid-row: 1 / span 2; }
.manzoom-modern #main .trending-movies .item > .icon { grid-column: 4; grid-row: 1 / span 2; }
.manzoom-modern #main .trending-movies .item .circle { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0; padding: 0; font-family: sans_medium, tahoma, sans-serif; font-size: 15px; line-height: 1; border-radius: 50%; }
.manzoom-modern #main .trending-movies .item .icon, .manzoom-modern #main .top-actors .item .icon { font-size: 10px; margin: 0; }
.manzoom-modern #main .left-menu-item .top-actors .item { display: grid !important; grid-template-columns: 14px 44px minmax(0, 1fr) 12px; align-items: center; gap: 8px; padding: 10px 0; margin: 0; min-height: 64px; border-bottom: 1px solid var(--mz-line); }
.manzoom-modern #main .left-menu-item .top-actors .item .num { padding: 0; grid-column: 1; grid-row: 1 / span 2; }
.manzoom-modern #main .left-menu-item .top-actors .item .actors-img { width: 44px; height: 44px; grid-column: 2; grid-row: 1 / span 2; }
.manzoom-modern #main .top-actors .actors-img img { width: 44px; height: 44px; object-fit: cover; border-radius: 2px; }
.manzoom-modern #main .left-menu-item .top-actors .item .text { max-width: none; height: auto; padding: 0; }
.manzoom-modern #main .left-menu-item .top-actors .item .text.right { grid-column: 3; grid-row: 1; }
.manzoom-modern #main .left-menu-item .top-actors .item .text.left { display: block; grid-column: 3; grid-row: 2; font-size: 11px; color: var(--mz-green); }
.manzoom-modern #main .left-menu-item .top-actors .item > .icon { grid-column: 4; grid-row: 1 / span 2; }

.manzoom-modern #main .main-box { background: white; border: 1px solid #e8eeeb; border-radius: 16px; box-shadow: 0 5px 24px #22372d08; overflow: hidden; }
.manzoom-modern #main .main-box .head { background: #f5f9f6; border-bottom-color: #e8eeeb; }
.manzoom-home #top .main-box .head { background: #edf6f0; }
.manzoom-modern #main .cards-item .card,
.manzoom-modern #main .movie-cards .movie-item,
.manzoom-modern #main .movie-cards .grid-movie-item { background: white; border: 1px solid #e8eeeb; border-radius: 14px; box-shadow: 0 4px 16px #22372d08; }
.manzoom-modern #main .movie-cards .list-item { display: grid; grid-template-columns: 18px 97px minmax(0, 1fr); gap: 14px; align-items: start; box-sizing: border-box; padding: var(--mz-box-inset); margin: 0 0 16px; border: 1px solid #e8eeeb; border-radius: 16px; background: white; box-shadow: 0 4px 18px #22372d08; }
.manzoom-modern #main .movie-cards > hr { display: none; }
.manzoom-modern #main .movie-cards .list-item > a > img { border-radius: 10px; object-fit: cover; }
.manzoom-modern #main .profile-head { background: #f5f9f6; border-color: #e8eeeb; }
.manzoom-modern #main #breadcrumbs { background: #f5f9f6; border-radius: 12px; }
@media (max-width: 800px) {
    .manzoom-modern #main .movie-cards .list-item > a > img { width: 76px; height: 110px; }
}
.manzoom-modern #main .movie-cards .list-item > .item-number { float: none; margin: 58px 0 0; text-align: center; }
.manzoom-modern #main .movie-cards .list-item > a > img { float: none; display: block; margin: 0; }
.manzoom-modern #main .movie-cards .list-item .info { float: none; width: auto; min-width: 0; }
@media (max-width: 800px) {
    .manzoom-modern #main .movie-cards .list-item { grid-template-columns: 12px 76px minmax(0, 1fr); gap: 12px; }
    .manzoom-modern #main .movie-cards .list-item > .item-number { grid-column: 1; grid-row: 1; margin: 45px 0 0; }
    .manzoom-modern #main .movie-cards .list-item > a { grid-column: 2; grid-row: 1; }
    .manzoom-modern #main .movie-cards .list-item .info { display: contents; }
    .manzoom-modern #main .movie-cards .list-item .info > :first-child { grid-column: 3; grid-row: 1; width: 100%; }
    .manzoom-modern #main .movie-cards .list-item .info > :not(:first-child) { grid-column: 1 / -1; width: 100%; margin: 0; }
    .manzoom-modern #main .movie-cards .list-item .rating-box .rate-text { float: none; display: block; margin-bottom: 8px; }
    .manzoom-modern #main .movie-cards .list-item .rating-box .star-box { margin-right: 0; }
    .manzoom-modern #main .movie-cards .list-item .rating-box .rate-star-text { float: left; }
}
.manzoom-home #main { scroll-margin-top: 140px; }
@media (min-width: 1200px) {
    .manzoom-home #top .box-container { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .manzoom-home #top .main-box .head { gap: 8px; padding-inline: 14px; }
}
/* Shared content spacing. Keep navigation, the cover and account dialogs independent. */
.manzoom-modern #main {
    --mz-box-inset: 20px;
    --mz-box-block: 16px;
    --mz-card-inset: 14px;
}
/* Full-column cards share the breadcrumb edges instead of legacy percentage gutters. */
.manzoom-modern #main > .right-part > .row > .main-box.td-1,
.manzoom-modern #main > .right-part > .main-box.td-1 {
    width: 100%;
    margin-inline: 0;
    box-sizing: border-box;
}
.manzoom-modern #main .main-box.padded { padding: var(--mz-box-inset); }
.manzoom-modern #main .main-box > .head,
.manzoom-modern #main .main-box > h1,
.manzoom-modern #main .main-box > h2 {
    box-sizing: border-box;
    margin: 0;
    padding: var(--mz-box-block) var(--mz-box-inset);
    line-height: 1.8;
}
.manzoom-modern #main .main-box > .head > h1,
.manzoom-modern #main .main-box > .head > h2 { margin: 0; line-height: 1.8; }
.manzoom-modern #main .main-box:not(.padded) > :where(.main, .page-load-content, .list-item-container, .review-list, .m-t-3, .box-body) {
    box-sizing: border-box;
    padding: var(--mz-box-inset);
}
.manzoom-modern #main .main-box:not(.padded) > .main-text-box {
    margin: 0;
    padding: var(--mz-box-inset);
}
.manzoom-modern #main .main-box > .profile-head {
    padding: 12px var(--mz-box-inset);
    border-bottom-width: 1px;
}
.manzoom-modern #main .profile-head .tab-item { margin-top: 0; margin-bottom: 0; padding-block: 8px; line-height: 1.8; }
.manzoom-modern #main .main-box.padded > :where(.head, h1, h2, .profile-head) { padding-inline: 0; }
.manzoom-modern #main .main-box.padded > .head { padding-top: 0; margin-bottom: var(--mz-box-block); background: transparent; }
.manzoom-modern #main .main-box > .footer { box-sizing: border-box; padding: 12px var(--mz-box-inset); }
.manzoom-modern #main .main-box > .box-body { box-sizing: border-box; }
.manzoom-modern #main .main-box > .main > .list-item-container { padding: 0; }
.manzoom-modern #main .main-box > .main .list-item:first-child { margin-top: 0; }
.manzoom-modern #main .main-box > .main .list-item:last-child { margin-bottom: 0; }
.manzoom-modern #main .movie-cards .list-item:last-of-type { margin-bottom: 0; }
.manzoom-modern #main .movie-cards .movie-item > :where(.text, .center),
.manzoom-modern #main .movie-cards .grid-movie-item > :where(.text, .genres) { padding: 10px var(--mz-card-inset); margin-inline: 0; box-sizing: border-box; }
.manzoom-modern #main .cards-item .card .text { padding: 12px var(--mz-card-inset); box-sizing: content-box; }
.manzoom-modern #main .home-media-grid { padding: var(--mz-box-inset); }
.manzoom-modern #main #hint-box .main-box { padding: var(--mz-box-inset); }
.manzoom-modern #main #breadcrumbs { box-sizing: border-box; padding: 12px var(--mz-box-inset); line-height: 1.9; }
.manzoom-modern #main .left-part .main-box > .m-t-3 { margin-top: 0; }
.manzoom-modern #main .left-part .main-box > .m-t-3 .flex-row { gap: 12px; }
.manzoom-modern #main #left-born-box > .item { display: block; box-sizing: border-box; width: 100%; margin: 0; padding: 12px var(--mz-box-inset); }
.manzoom-modern #main .comments-container { box-sizing: border-box; padding: var(--mz-box-inset); }
.manzoom-modern #main .comments-container textarea { box-sizing: border-box; padding: 12px var(--mz-card-inset); line-height: 1.8; }
.manzoom-modern #main .main-text-box .text > :first-child { margin-top: 0; }
.manzoom-modern #main .main-text-box .text > :last-child { margin-bottom: 0; }
@media (max-width: 800px) {
    .manzoom-modern #main { --mz-box-inset: 16px; --mz-box-block: 14px; --mz-card-inset: 12px; }
    .manzoom-modern #main .movie-cards .list-item { padding: 12px; }
    .manzoom-modern #main #top .main-box > .head { padding: 14px 12px; }
    .manzoom-modern #main #top .main-box > .main { padding: 8px 12px 12px; }
}

/* Keep the first sidebar card level with the content column. */
.manzoom-modern #main > .left-part > .main-box:first-child { margin-top: 0 !important; }
@media (min-width: 801px) {
    .manzoom-modern #main > .left-part { padding-top: var(--mz-sidebar-offset, 15px); }
    .manzoom-home #main > .left-part { --mz-sidebar-offset: 76px; }
    .manzoom-home #main .right-part .header { line-height: 30px; }
    .manzoom-modern #main:has(> .fix-menu) { padding-right: max(var(--mz-gutter), 87px); }
}

.manzoom-modern #main .movie-circle-rate,
.manzoom-modern #main .list-item-container .item-rate {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; min-height: 40px; padding: 0; border-radius: 50%; font-size: 20px;
}
.participation-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.participation-icon { display: block; flex: 0 0 36px; width: 36px; height: 36px; background-image: url('../images/base.png'); background-size: 480px 81.6px; }
.participation-icon.star { background-position: -12px -37.92px; }
.participation-icon.comment { background-position: -59.52px -37.92px; }
.participation-icon.data { background-position: -107.04px -37.92px; }

/* Profile cards wrap their poster and details together, unlike numbered archive rows. */
.manzoom-modern #main .movie-cards .list-item.profile-movie-item { display: block; }
.manzoom-modern #main .profile-movie-item > .table {
    display: grid; grid-template-columns: 97px minmax(0, 1fr); gap: 18px; align-items: start;
}
.manzoom-modern #main .profile-movie-item > .table > a > img { float: none; display: block; margin: 0; border-radius: 10px; }
.manzoom-modern #main .profile-movie-item > .table > .info { display: block; float: none; width: auto; min-width: 0; }
.manzoom-modern #main .profile-movie-item .info > .table:first-child { display: flex; align-items: center; gap: 12px; }
.manzoom-modern #main .profile-movie-item .info > .table:first-child > * { float: none; margin: 0; }
.manzoom-modern #main .profile-movie-item .info > .table:first-child > a { min-width: 0; }
@media (max-width: 800px) {
    .manzoom-modern #main .profile-movie-item > .table { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
    .manzoom-modern #main .profile-movie-item > .table > a > img { width: 76px; height: 110px; }
    .manzoom-modern #main .profile-movie-item .info > .table:first-child { flex-wrap: wrap; }
}
