/* MoviesVibe 34: compact editorial cinema, no permanent sidebar.
 * The existing player, Studio, database, TMDB and account design systems are unchanged.
 */
:root{--sidebar:0px;--mv34-blue:#78b7ff;--mv34-purple:#a68eff;--mv34-rose:#ff95c5}
.mv-layout34{display:block!important;min-height:100dvh}
.mv-layout34>.app-column{width:100%;max-width:none;min-height:100dvh}
.mv-layout34>.sidebar{display:none!important}
.mv-layout34 .topbar.mv-topbar34{
  min-height:68px!important;height:68px;padding:10px clamp(14px,3.0vw,48px)!important;
  gap:clamp(12px,2vw,25px);justify-content:flex-start!important;
  background:linear-gradient(105deg,rgba(8,16,31,.97),rgba(9,18,39,.96))!important;
  border-bottom:1px solid rgba(144,180,240,.13)!important;
  box-shadow:0 4px 25px #02071222;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)
}
.mv-topbar34 .mv-menu-trigger34{
  display:inline-flex!important;align-items:center;justify-content:center;flex:none;
  height:41px;gap:8px;border:0!important;border-radius:12px;padding:0 11px!important;margin:0!important;
  color:#e6f4ff;background:#ffffff0e!important;transition:background .2s ease,transform .2s ease
}
.mv-topbar34 .mv-menu-trigger34:hover{transform:none;background:#8e9eff28!important}
.mv-topbar34 .mv-menu-trigger34>span{font-size:12px;font-weight:760}
.mv-topbar34 .mv-header-logo34{display:flex!important;align-items:center;flex:none;min-width:0}
.mv-header-logo34>button{display:flex;align-items:center;gap:8px;border:0;background:transparent;color:inherit;cursor:pointer;padding:2px 0}
.mv-header-logo34 .brand-emblem img{height:34px;width:34px;object-fit:contain}
.mv-header-logo34 .brand-name{font-size:clamp(15px,1.45vw,20px);letter-spacing:-.05em;white-space:nowrap;font-weight:950}
.mv-topbar34 .mv-desktop-search34{max-width:min(520px,43vw)!important;flex:1;margin:0 auto;min-width:140px;z-index:38}
.mv-topbar34 .top-search{height:42px;border-radius:999px;background:#ffffff0a;border-color:#ffffff23;padding:0 15px;box-shadow:none}
.mv-topbar34 .top-search:focus-within{background:#1e2e45;border-color:#8db9ff8f}
.mv-topbar34 .mv-header-actions34{flex:none;gap:10px;margin-left:auto}
.mv-mobile-search-trigger34{display:none;align-items:center;justify-content:center;background:transparent;color:var(--white,#fff);border:0;border-radius:50%;height:39px;width:39px}
.mv-mobile-search-trigger34:hover{background:#ffffff1b}
.mv-header-actions34 .avatar-btn{padding:0;border:0;background:transparent;max-width:210px}
.mv-header-actions34 .avatar-btn>span:first-child{border-radius:50%;width:35px;height:35px;background:linear-gradient(135deg,#4a8cff,#955bec)}
.mv-layout34 .content{width:100%;max-width:1880px;margin:0 auto;padding:14px clamp(13px,2.55vw,46px) 44px!important}
.mv-layout34 .footer{min-height:50px;padding:12px clamp(13px,2.55vw,46px)!important;justify-content:center;border-color:#ffffff0a}
.mv-layout34 .footer>span:first-child{font-size:10px;letter-spacing:.08em;color:var(--faded,#8b97b1)}
/* Airy but efficient section cadence, with no decorative boxes or rails. */
#content .shelf{margin-top:22px!important}
#content .shelf-head{gap:10px;margin-bottom:11px;align-items:center}
#content .shelf-head h2{font-size:clamp(17px,1.8vw,23px);letter-spacing:-.03em;line-height:1.2;margin:0}
#content .shelf-head p{margin:0;font-size:11px;line-height:1.35}
#content .page-heading{margin-top:8px;margin-bottom:15px}
#content .page-heading h1{font-size:clamp(25px,3vw,38px)}
#content .mv-home-edit32{margin-top:27px;margin-bottom:28px}
#content .mv-home-edit-head32{margin-bottom:12px}
#content .mv-home-edit-head32 h2{font-size:clamp(19px,2.15vw,28px);margin:0}
#content .mv-chapter32{gap:16px!important;padding-bottom:20px!important}
#content .mv-mosaic32{gap:20px!important}
#content .mv-regional-mix32{gap:18px!important}
#content .regional-home30{gap:25px!important;margin-top:20px!important}
#content .regional-shelf30 .shelf-head{margin-bottom:11px}
#content .mv-section-head32{margin-bottom:9px}
#content .mv-section-head32 .mv-kicker32{font-size:9px;opacity:.75}
#content .mv-section-head32 h2{font-size:clamp(16px,1.8vw,22px)}
#content .mv-scroll-track32{gap:11px;padding-bottom:6px!important;scrollbar-width:none!important}
#content .mv-scroll-track32::-webkit-scrollbar{display:none}
#content .mv-card-grid32{column-gap:12px;row-gap:14px}
#content .platform-cards12{margin:16px 0 19px;gap:12px;max-width:none}
#content .platform-tile12{min-height:140px;border:0;border-radius:14px;box-shadow:none}
#content .platform-tile12 strong{font-size:clamp(17px,2vw,25px)}
#content .browse-shortcuts{margin-top:22px!important;margin-bottom:16px!important}
#content .shortcuts-intro{margin-bottom:12px!important}
#content .shortcuts-intro h2{font-size:clamp(19px,2vw,25px);margin:0}
/* Continue watching: 12 cards in a true scroll-snap slider. */
#content .mv-resume-section34{margin:19px 0 12px!important;min-width:0}
#content .mv-resume-header34{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:9px!important}
#content .mv-resume-header34 h2{font-size:clamp(18px,2vw,24px);margin:0}
.mv-resume-actions34{display:flex;align-items:center;gap:6px}
.mv-resume-actions34>.text-link{white-space:nowrap;border:0;background:transparent;font-size:12px;font-weight:800;padding:6px 9px}
.mv-rail-arrow34,.mv-category-arrows34 button{width:32px;height:32px;border:0;display:grid;place-items:center;border-radius:50%;background:#ffffff14;color:var(--white,#fff);transition:background .2s,transform .2s}
.mv-rail-arrow34:hover,.mv-category-arrows34 button:hover{background:#829eff44;transform:translateY(-1px)}
.mv-resume-track34{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(164px,18.5%,276px);gap:11px;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-snap-type:x mandatory;scroll-padding:2px;overscroll-behavior-x:contain;padding:2px 2px 8px}
.mv-resume-track34::-webkit-scrollbar{display:none}
.mv-resume-item34{scroll-snap-align:start;width:100%;border:0!important;border-radius:13px!important;background:transparent!important;padding:0!important;box-shadow:none!important;overflow:visible}
.mv-resume-item34 .movie-cover{border-radius:11px!important;border:0!important;box-shadow:none!important;aspect-ratio:16/10!important;max-height:none!important}
.mv-resume-item34 .movie-copy{padding:7px 1px 0!important}
.mv-resume-item34 .movie-title{font-size:12px!important;font-weight:760;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mv-resume-item34 .movie-meta{display:none!important}
.mv-resume-item34 .progress-track13{margin:6px 1px 0;height:3px;background:#44536b75}
.mv-resume-item34 .progress-track13>span{background:linear-gradient(90deg,#52acff,#ad88ff)}
/* Eight category tiles are now swipeable rather than a large 4x2 grid. */
#content .genre-showcase27 .genre-featured27,#content .genre-showcase27 .genre-tile-badge27,#content .genre-showcase27 .genre-tile-label26 small{display:none!important}
#content .genre-showcase27{margin:19px 0 20px!important;min-width:0}
#content .genre-showcase27 .genre-title27{display:flex;align-items:center;margin:0 0 11px!important;gap:8px}
#content .genre-showcase27 .genre-heading27 h2{font-size:clamp(19px,2.2vw,29px);margin:0;background:none;color:var(--white,#fff);-webkit-text-fill-color:currentColor}
.mv-category-arrows34{display:flex;gap:6px;margin-left:auto;flex:none}
#content .genre-showcase27 .genre-tiles-grid26{
 display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:clamp(192px,23.5%,340px)!important;
 overflow-x:auto!important;overflow-y:hidden!important;gap:11px!important;scroll-snap-type:x mandatory;scroll-padding:2px;
 scrollbar-width:none!important;overscroll-behavior-x:contain;padding:2px 2px 8px!important
}
#content .genre-showcase27 .genre-tiles-grid26::-webkit-scrollbar{display:none}
#content .genre-showcase27 .genre-tile27{width:100%!important;min-height:174px!important;max-height:210px;padding:12px!important;border:0!important;border-radius:13px!important;scroll-snap-align:start;box-shadow:none!important}
#content .genre-showcase27 .genre-tile27>.genre-tile-cover27{filter:brightness(1.08) saturate(1.13)!important;opacity:1!important;image-rendering:auto!important}
#content .genre-showcase27 .genre-tile27.has-cover27>.genre-tile-cover27{opacity:1!important}
#content .genre-showcase27 .genre-tile27:hover{transform:translateY(-2px) scale(1.008);border:0!important;box-shadow:none!important}
#content .genre-showcase27 .genre-tile-label26 b{font-size:clamp(18px,1.7vw,22px)}
#content .genre-showcase27 .genre-tile-label26 small{font-size:10px}
#content .genre-showcase27 .genre-tile-badge27{font-size:8px;padding:5px 8px}
/* The art remains fully opaque and sharp: only captions need a slight readable shade. */
#content .movie-cover,#content .mv-card-grid32 .movie-cover,#content .mv-wide-card32 .movie-cover,#content .mv-spot-card32,
#content .hero,#content .genre-tile26{border:0!important;box-shadow:none!important}
#content .movie-cover:after{box-shadow:none!important}
#content .art>img,#content .movie-cover .art>img,#content .mv-card-grid32 .movie-cover img,
#content .mv-spot-art32>img{opacity:1!important;filter:brightness(1.06) saturate(1.08) contrast(1.03)!important;image-rendering:auto!important;backdrop-filter:none!important}
#content .movie-cover .art-grain,#content .movie-cover .art-ray{opacity:0!important}
#content .hero-art .art>img{opacity:1!important;filter:brightness(1.02) saturate(1.09)!important}
#content .mv-spot-card32{border-radius:14px!important;transform:none}
#content .mv-spot-card32:hover{transform:translateY(-2px)}
#content .mv-spot-copy32{gap:7px}
#content .mv-spot-desc32{display:none}
#content .mv-spot-shade32{background:linear-gradient(90deg,#0a1022cf 0%,#0c143c89 34%,#0a142c09 88%),linear-gradient(0deg,#080e1b80,transparent 65%)}
#content .mv-spot-card32 .mv-spot-copy32>strong{font-size:clamp(23px,3.4vw,43px)}
/* Compact desktop flyout menu; mobile retains the full-screen menu. */
@media(min-width:761px){
 .menu-overlay12{
  position:fixed;inset:72px auto auto clamp(15px,2.5vw,45px)!important;width:min(745px,calc(100vw - 42px));max-height:calc(100dvh - 88px);
  overflow:hidden;z-index:9000;padding:0;background:linear-gradient(155deg,#15223c,#0b172d 65%,#181d3b)!important;
  border:1px solid #97bdf53a;border-radius:20px;box-shadow:0 24px 85px #02050bbc;
  animation:mv34fly .18s ease-out
 }
 .menu-overlay12 .menu-header12{min-height:57px;padding:11px 18px;background:#ffffff08;border-color:#ffffff16}
 .menu-overlay12 .menu-header12 .brand-name{font-size:16px}
 .menu-overlay12 .menu-header12 .brand-emblem img{width:29px;height:29px}
 .menu-overlay12 .menu-header12>button{height:33px;width:33px}
 .menu-overlay12 .menu-scroll12{display:grid;grid-template-columns:1fr 1fr;align-content:start;max-width:100%;padding:15px;gap:13px;overflow:auto;max-height:calc(100dvh - 153px)}
 .mv-menu-extras34{grid-column:1/-1}
 .mv-menu-section34 h2{font-size:11px;color:#9db7da;margin:0 0 7px;letter-spacing:.1em;text-transform:uppercase}
 .mv-menu-links34{display:grid;grid-template-columns:1fr 1fr;gap:6px}
 .mv-menu-extras34 .mv-menu-links34{grid-template-columns:repeat(2,minmax(0,1fr))}
 .menu-overlay12 .menu-link12{min-height:39px;padding:8px 10px;gap:9px;border:0!important;border-radius:10px;background:#ffffff09!important;font-size:12px;transform:none!important}
 .menu-overlay12 .menu-link12 svg:first-child{width:17px;height:17px}
 .menu-overlay12 .menu-link12 svg:last-child{display:none}
 .menu-overlay12 .menu-link12:hover,.menu-overlay12 .menu-link12.active{background:#688ee33c!important;color:#fff}
 body.menu-open12{overflow:auto!important}
 @keyframes mv34fly{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
}
/* In-page Search layout (mobile screen has its own keyboard-friendly search input). */
.mv-search-heading34{display:none}
.mv-search-entry34{display:none}
.mv-search-query34{display:flex;gap:8px;align-items:baseline;margin:4px 0 12px;font-size:13px;color:var(--soft,#bcc5da)}
.mv-search-query34 strong{color:var(--white,#fff);font-size:15px;min-width:0;overflow-wrap:anywhere}
.mv-search-page34 .mv-search-trending34[hidden],.mv-search-page34 #catalog-grid[hidden],.mv-search-query34[hidden],.mv-search-page34 .search-type12[hidden]{display:none!important}
.mv-search-trending34{margin:13px 0}
.mv-search-trending-track34{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(158px,21%,235px);overflow:auto hidden;scrollbar-width:none;scroll-snap-type:x mandatory;gap:11px;padding:3px 0 10px}
.mv-search-trending-track34::-webkit-scrollbar{display:none}
.mv-search-trending-track34>.movie-card{scroll-snap-align:start;min-width:0;width:100%}
.mv-search-trending-track34 .movie-cover{aspect-ratio:3/4!important}
.mv-search-trending-track34 .movie-copy{padding:8px 2px 0}
.mv-search-trending-track34 .movie-title{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mv-search-trending-track34 .movie-meta{display:none}
@media(max-width:760px){
 .mv-layout34 .topbar.mv-topbar34{height:58px;min-height:58px!important;padding:8px 12px!important;gap:7px!important}
 .mv-topbar34 .mv-menu-trigger34{width:36px;height:38px;flex:none;padding:0!important;border-radius:10px}
 .mv-menu-trigger34>span{display:none!important}
 .mv-topbar34 .mv-header-logo34{display:flex!important;flex:0 1 auto!important;min-width:0!important}
 .mv-header-logo34>button{gap:5px;min-width:0}
 .mv-header-logo34 .brand-emblem img{width:28px!important;height:28px!important}
 .mv-header-logo34 .brand-name{font-size:clamp(12.5px,3.3vw,17px)!important;letter-spacing:-.07em;white-space:nowrap}
 .mv-topbar34 .mv-desktop-search34{display:none!important}
 .mv-mobile-search-trigger34{display:flex!important;width:35px;height:36px;border-radius:11px}
 .mv-header-actions34{margin-left:auto!important;gap:3px!important}
 .mv-header-actions34 .avatar-btn>span:first-child{width:34px;height:34px;border-radius:50%;font-size:14px}
 .mv-header-actions34 .avatar-name{display:none!important}
 .mv-layout34 .content{padding:10px 12px 91px!important}
 .mv-layout34 .footer{display:none}
 .menu-overlay12 .menu-header12{min-height:62px;padding:11px 14px}
 .menu-overlay12 .menu-header12 .brand-name{font-size:16px}
 .menu-overlay12 .menu-header12 .brand-emblem img{width:28px;height:28px}
 .menu-overlay12 .menu-scroll12{display:block;padding:12px 13px;max-width:520px}
 .mv-menu-section34{margin:0 0 16px}
 .mv-menu-section34 h2{font-size:10px;color:#a6bbe1;letter-spacing:.14em;margin:0 0 9px;text-transform:uppercase}
 .mv-menu-links34{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .menu-overlay12 .menu-link12{min-height:49px;padding:10px 9px;gap:8px;border-radius:12px;font-size:12px}
 .menu-overlay12 .menu-link12>span{min-width:0;flex:1}
 .menu-overlay12 .menu-link12>svg:last-child{display:none}
 .mv-resume-track34{grid-auto-columns:clamp(162px,55%,220px);gap:9px}
 .mv-rail-arrow34{display:none}
 .mv-category-arrows34{display:none}
 #content .genre-showcase27 .genre-tiles-grid26{grid-auto-columns:clamp(170px,65%,235px)!important;gap:9px!important}
 #content .genre-showcase27 .genre-tile27{min-height:162px!important;max-height:185px;border-radius:12px!important}
 #content .genre-showcase27 .genre-tile-label26 b{font-size:17px}
 #content .mv-chapter32{gap:15px!important;padding-bottom:16px!important}
 #content .mv-mosaic32{gap:15px!important}
 #content .regional-home30{gap:20px!important;margin-top:16px!important}
 #content .mv-card-grid32{gap:11px 9px}
 #content .mv-scroll-track32{gap:9px}
 #content .platform-cards12{gap:9px;margin:13px 0 16px}
 #content .platform-tile12{min-height:112px;padding:13px;border-radius:11px}
 #content .platform-tile12 strong{font-size:clamp(13px,3.8vw,20px);letter-spacing:.01em}
 #content .mv-home-edit32{margin-top:22px}
 #content .mv-home-edit-head32{margin-bottom:10px}
 #content .mv-home-edit-head32 h2{font-size:22px}
 #content .mv-resume-header34 h2{font-size:18px}
 /* The mobile search icon opens this dedicated page. Keyboard stays visible while suggestions and results appear below. */
 .mv-search-heading34{display:block!important;margin:2px 0 12px!important}
 .mv-search-heading34 h1{font-size:25px!important;margin:0}
 .mv-search-entry34{display:block!important;position:relative;z-index:13}
 .mv-search-form34{height:49px;display:flex;align-items:center;gap:9px;border:1px solid #a4bdf93d;border-radius:13px;background:#ffffff0e;padding:0 7px 0 13px;color:#aabbe1;transition:border-color .18s,background .18s}
 .mv-search-form34:focus-within{border-color:#94b9ff;background:#ffffff15}
 .mv-search-form34>input{flex:1;min-width:0;height:100%;background:transparent;color:#f5f8ff;font-size:15px;border:0;outline:none!important;box-shadow:none!important}
 .mv-search-form34>input::placeholder{color:#a6b1c8}
 .mv-search-form34>input::-webkit-search-cancel-button{-webkit-appearance:auto;appearance:auto}
 .mv-search-form34>button{border:0;display:grid;place-items:center;height:36px;width:36px;background:linear-gradient(135deg,#5f96fc,#9985f8);color:white;border-radius:10px;flex:none}
 .mv-mobile-suggestions34{position:relative;z-index:14;display:flex;flex-direction:column;background:#16223c;border:1px solid #86a6e966;border-radius:13px;box-shadow:0 15px 28px #0007;margin-top:6px;overflow:hidden;max-height:320px;overflow-y:auto}
 .mv-mobile-suggestions34[hidden]{display:none!important}
 .mv-mobile-suggestions34 button{display:flex;align-items:center;gap:10px;padding:9px 10px;color:#f1f5ff;background:transparent;border:0;border-bottom:1px solid #ffffff13;text-align:left;width:100%;font-size:12px}
 .mv-mobile-suggestions34 button:hover{background:#ffffff12}
 .mv-mobile-suggestions34 button>img{width:39px;height:47px;object-fit:cover;border-radius:5px;flex:none}
 .mv-mobile-suggestions34 button>span{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;font-weight:760}
 .mv-mobile-suggestions34 button small{font-size:10px;color:#adbad3}
 .mv-search-query34{margin-top:14px;font-size:12px;flex-wrap:wrap}
 .mv-search-query34 strong{font-size:15px}
 .mv-search-page34 .search-type12{margin:10px 0 13px}
 .mv-search-trending34{margin:19px 0 10px}
 .mv-search-trending-track34{grid-auto-columns:clamp(146px,44%,198px);gap:10px}
}
@media(max-width:350px){.mv-layout34 .topbar.mv-topbar34{padding:7px 9px!important;gap:4px!important}.mv-header-logo34 .brand-emblem img{width:25px!important;height:25px!important}.mv-header-logo34 .brand-name{font-size:12px!important}.mv-mobile-search-trigger34{width:31px}.mv-header-actions34 .avatar-btn>span:first-child{width:31px;height:31px}}
@media(prefers-reduced-motion:reduce){.mv-resume-track34,.genre-tiles-grid26,.mv-search-trending-track34{scroll-behavior:auto!important}.mv-rail-arrow34,.mv-category-arrows34 button{transition:none!important}}

/* Smooth native touch rails on iOS; never force scrollbars on cards. */
.mv-resume-track34,.mv-search-trending-track34,#content .genre-showcase27 .genre-tiles-grid26{-webkit-overflow-scrolling:touch}
