:root{--bg:#0b0d10;--panel:#13161b;--panel2:#1b1f26;--text:#f5f0e6;--muted:#9ca2ad;--gold:#e2b449;--gold2:#f1cf77;--line:#2a2f38;--max:1240px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}
.site-header{position:sticky;top:0;z-index:20;height:72px;padding:0 max(24px,calc((100vw - var(--max))/2));display:flex;align-items:center;justify-content:space-between;background:rgba(11,13,16,.88);border-bottom:1px solid rgba(255,255,255,.08);backdrop-filter:blur(18px)}
.brand{display:flex;align-items:center;gap:10px;font-size:22px;letter-spacing:.06em}.brand-mark{width:28px;height:28px;border-radius:50%;display:inline-block;background:conic-gradient(#2168c9 0 25%,#d72432 0 50%,#54a935 0 75%,#e7bd2e 0);box-shadow:0 0 0 3px #111 inset}
.desktop-nav{display:flex;gap:28px;color:#c9cbd0;font-size:14px}.desktop-nav a:hover{color:var(--gold2)}.header-actions{display:flex;gap:10px;align-items:center}.icon-button,.view-toggle button{background:transparent;color:white;border:1px solid var(--line);border-radius:10px;padding:8px 11px;cursor:pointer}
.primary,.secondary{border:0;border-radius:11px;padding:13px 18px;display:inline-flex;align-items:center;justify-content:center;font-weight:700;cursor:pointer}.primary{background:linear-gradient(135deg,var(--gold2),var(--gold));color:#211908;box-shadow:0 10px 30px rgba(226,180,73,.18)}.primary.small{padding:9px 13px;font-size:13px}.secondary{background:rgba(255,255,255,.08);color:white;border:1px solid rgba(255,255,255,.18)}
.hero{min-height:680px;position:relative;display:flex;align-items:flex-end;background:linear-gradient(90deg,rgba(5,7,10,.96),rgba(5,7,10,.58) 48%,rgba(5,7,10,.18)),url('assets/hero.jpg') center/cover no-repeat;overflow:hidden}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 70% 36%,rgba(226,180,73,.18),transparent 35%)}
.hero-content{position:relative;z-index:2;width:var(--max);margin:auto;padding:110px 24px 140px}.eyebrow{color:var(--gold2);font-size:12px;font-weight:800;letter-spacing:.16em}.hero h1{font-family:Georgia,serif;font-size:clamp(46px,7vw,92px);line-height:.98;margin:18px 0 20px;max-width:900px}.hero p{max-width:650px;color:#d4d6da;font-size:19px;line-height:1.6}.hero-buttons{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}
.hero-stats{position:absolute;bottom:0;left:0;right:0;z-index:3;border-top:1px solid rgba(255,255,255,.12);background:rgba(4,6,8,.58);backdrop-filter:blur(14px);display:flex;justify-content:center;gap:100px;padding:22px}.hero-stats div{display:flex;flex-direction:column}.hero-stats strong{font-size:22px;color:var(--gold2)}.hero-stats span{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.1em}
.search-section,.formats,.decades{max-width:var(--max);margin:auto;padding:90px 24px}.section-heading{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:30px}.section-heading h2,.decades h2,.editorial h2{font-family:Georgia,serif;font-size:clamp(34px,4vw,58px);margin:8px 0}.section-heading p{color:var(--muted)}
.search-box{height:64px;background:var(--panel);border:1px solid var(--line);border-radius:16px;display:flex;align-items:center;padding:0 18px;gap:14px;box-shadow:0 18px 60px rgba(0,0,0,.25)}.search-box input{flex:1;background:transparent;border:0;outline:0;color:white;font-size:18px}.search-box button{background:transparent;color:#aaa;border:0;font-size:26px;cursor:pointer}
.filter-row{display:flex;gap:10px;margin:16px 0 28px;flex-wrap:wrap}.filter-row select{background:var(--panel);color:white;border:1px solid var(--line);padding:11px 14px;border-radius:10px}.text-button{background:none;border:0;color:var(--gold2);cursor:pointer}.results-meta{display:flex;justify-content:space-between;align-items:center;color:var(--muted);margin-bottom:16px}.view-toggle button.active{color:var(--gold2);border-color:var(--gold)}
.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.movie-card{background:var(--panel);border:1px solid var(--line);border-radius:15px;overflow:hidden;transition:.25s transform,.25s border-color;cursor:pointer;position:relative}.movie-card:hover{transform:translateY(-7px);border-color:rgba(226,180,73,.55)}.poster-wrap{position:relative;aspect-ratio:2/3;overflow:hidden;background:#111}.poster-wrap img{width:100%;height:100%;object-fit:cover;transition:.35s transform}.movie-card:hover .poster-wrap img{transform:scale(1.035)}.card-badge{position:absolute;top:12px;left:12px;background:rgba(7,8,10,.78);padding:7px 9px;border-radius:8px;color:var(--gold2);font-size:11px;font-weight:800}.play-float{position:absolute;right:13px;bottom:13px;width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:#171006;box-shadow:0 8px 25px rgba(0,0,0,.35)}.card-body{padding:16px}.card-body h3{margin:0 0 7px;font-size:18px}.card-meta{color:var(--muted);font-size:13px}
.catalog-grid.list-view{display:flex;flex-direction:column}.catalog-grid.list-view .movie-card{display:grid;grid-template-columns:110px 1fr}.catalog-grid.list-view .poster-wrap{aspect-ratio:auto;height:150px}.empty-state{text-align:center;padding:80px;background:var(--panel);border-radius:14px}.hidden{display:none}
.decade-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:25px}.decade-button{min-height:110px;background:linear-gradient(135deg,#171a20,#222833);border:1px solid var(--line);border-radius:14px;color:white;text-align:left;padding:18px;cursor:pointer;transition:.2s}.decade-button:hover{border-color:var(--gold);transform:translateY(-3px)}.decade-button strong{display:block;font-size:22px;color:var(--gold2)}
.editorial{max-width:var(--max);margin:40px auto 100px;padding:55px;border-radius:24px;background:linear-gradient(135deg,#261f13,#15171b);display:grid;grid-template-columns:1fr 1fr;gap:60px;border:1px solid #443821}.editorial-copy{color:#d6d0c4;line-height:1.75}footer{border-top:1px solid var(--line);padding:45px max(24px,calc((100vw - var(--max))/2));display:grid;gap:10px;color:var(--muted)}.footer-brand{color:white}
.movie-modal{width:min(950px,94vw);padding:0;background:#11151b;color:white;border:1px solid var(--line);border-radius:18px;overflow:hidden}.movie-modal::backdrop{background:rgba(0,0,0,.78);backdrop-filter:blur(7px)}.modal-close{position:absolute;z-index:2;right:14px;top:14px;width:40px;height:40px;border-radius:50%;border:0;background:rgba(0,0,0,.6);color:white;font-size:25px;cursor:pointer}.modal-layout{display:grid;grid-template-columns:330px 1fr}.modal-poster{width:100%;height:100%;min-height:540px;object-fit:cover}.modal-copy{padding:44px}.modal-copy h2{font-family:Georgia,serif;font-size:45px;margin:10px 0}.modal-copy p{color:#c6c8cc;line-height:1.7}.modal-tags{display:flex;gap:8px;flex-wrap:wrap}.modal-tags span{background:#252a32;padding:7px 10px;border-radius:20px;font-size:12px}.modal-actions{display:flex;gap:10px;margin-top:25px}.disabled{opacity:.55;pointer-events:none}
@media(max-width:900px){.desktop-nav{display:none}.catalog-grid{grid-template-columns:repeat(2,1fr)}.hero{min-height:620px}.hero-stats{gap:30px}.editorial{grid-template-columns:1fr}.modal-layout{grid-template-columns:1fr}.modal-poster{height:380px;min-height:0}.decade-strip{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.site-header{height:64px}.header-actions .primary{display:none}.hero-content{padding:90px 20px 145px}.hero h1{font-size:47px}.hero p{font-size:16px}.hero-stats{justify-content:flex-start;overflow:auto;padding-left:20px}.search-section,.decades{padding:65px 18px}.section-heading{display:block}.catalog-grid{grid-template-columns:1fr 1fr;gap:12px}.card-body{padding:12px}.card-body h3{font-size:15px}.editorial{margin:20px 16px 70px;padding:30px}.modal-copy{padding:26px}.modal-copy h2{font-size:34px}}
.video-frame{position:relative;aspect-ratio:16/9;background:#050608;border-bottom:1px solid var(--line)}
.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.video-frame-gated{display:grid;place-items:center;background:radial-gradient(circle at 50% 40%,#1a1f27 0,#090b0f 62%,#050608 100%)}
.movie-play-trigger{display:flex;align-items:center;gap:12px;padding:13px 20px;border:1px solid rgba(226,180,73,.72);border-radius:999px;background:rgba(10,12,16,.88);color:#fff;cursor:pointer;box-shadow:0 8px 30px rgba(0,0,0,.32);transition:transform .2s,border-color .2s,background .2s}
.movie-play-trigger:hover{transform:scale(1.03);border-color:var(--gold);background:#171b21}
.movie-play-trigger span{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--gold);color:#111;font-size:13px;padding-left:2px}
.movie-play-trigger strong{font-size:15px;letter-spacing:.01em}
/* v48: controles ELCOplay fuera del iframe de YouTube. Evita tapar CC/configuración. */
.movie-media-shell{position:relative;background:#050608;border-bottom:1px solid var(--line)}
.movie-media-shell>.video-frame{border-bottom:0}
.elco-player-toolbar{position:relative;z-index:20;min-height:52px;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:6px 12px;background:linear-gradient(180deg,#090b0f,#050608);border-top:1px solid rgba(255,255,255,.07)}
.elco-player-tool{position:static;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;border:1px solid rgba(255,255,255,.2);border-radius:50%;display:inline-grid;place-items:center;background:rgba(18,21,27,.9);color:#fff;cursor:pointer;box-shadow:0 5px 18px rgba(0,0,0,.24);transition:transform .18s ease,background .18s ease,border-color .18s ease}
.elco-player-tool:hover,.elco-player-tool:focus-visible{transform:translateY(-1px);background:#1a1f27;border-color:rgba(226,180,73,.88);outline:none}
.elco-player-tool svg{width:21px;height:21px;display:block}
.elco-player-fullscreen svg{width:22px;height:22px}
.elco-player-fullscreen .fullscreen-exit-icon{display:none}
.elco-player-fullscreen.is-fullscreen .fullscreen-enter-icon{display:none}
.elco-player-fullscreen.is-fullscreen .fullscreen-exit-icon{display:block}
.elco-cast-status{position:absolute;z-index:30;right:12px;bottom:calc(100% + 9px);max-width:min(330px,calc(100% - 24px));padding:9px 12px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(8,10,14,.96);color:#fff;font-size:12px;line-height:1.4;box-shadow:0 10px 30px rgba(0,0,0,.36);opacity:0;transform:translateY(4px);pointer-events:none;transition:opacity .18s ease,transform .18s ease}
.elco-cast-status.visible{opacity:1;transform:translateY(0)}

/* Pantalla completa propia: el iframe y la barra Cast permanecen juntos. */
.movie-media-shell:fullscreen,.movie-media-shell.elco-pseudo-fullscreen{width:100vw;height:100vh;background:#000;display:flex;flex-direction:column;border:0}
.movie-media-shell:fullscreen>.video-frame,.movie-media-shell.elco-pseudo-fullscreen>.video-frame{flex:1 1 auto;min-height:0;aspect-ratio:auto;border:0}
.movie-media-shell:fullscreen>.elco-player-toolbar,.movie-media-shell.elco-pseudo-fullscreen>.elco-player-toolbar{flex:0 0 auto;min-height:52px;padding:max(6px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));background:rgba(5,6,8,.98)}
.movie-media-shell.elco-pseudo-fullscreen{position:fixed;inset:0;z-index:2147483000}
html.elco-player-fullscreen-open,html.elco-player-fullscreen-open body{overflow:hidden!important}
@supports selector(:-webkit-full-screen){
  .movie-media-shell:-webkit-full-screen{width:100vw;height:100vh;background:#000;display:flex;flex-direction:column;border:0}
  .movie-media-shell:-webkit-full-screen>.video-frame{flex:1 1 auto;min-height:0;aspect-ratio:auto;border:0}
}

.modal-layout.with-player{grid-template-columns:220px 1fr}
.modal-layout.with-player .modal-poster{min-height:360px}
.embed-note{font-size:12px!important;color:var(--muted)!important;margin-top:18px}
@media(max-width:700px){.modal-layout.with-player{grid-template-columns:1fr}.modal-layout.with-player .modal-poster{display:none}}

/* Formatos por duración */
.formats{padding-top:25px}
.format-heading{margin-bottom:24px}
.format-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.format-card{min-height:225px;position:relative;overflow:hidden;text-align:left;padding:26px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(145deg,#151922,#202631);color:white;cursor:pointer;transition:transform .25s,border-color .25s,box-shadow .25s}
.format-card:before{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-75px;top:-80px;background:radial-gradient(circle,rgba(226,180,73,.22),transparent 70%)}
.format-card:hover{transform:translateY(-6px);border-color:var(--gold);box-shadow:0 18px 45px rgba(0,0,0,.28)}
.format-card strong{display:block;font-family:Georgia,serif;font-size:29px;margin:20px 0 10px;color:var(--text)}
.format-card>span:not(.format-icon){display:block;color:#c6c9cf;line-height:1.55;max-width:290px}
.format-card small{display:block;margin-top:20px;color:var(--gold2);font-weight:700}
.format-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:rgba(226,180,73,.12);border:1px solid rgba(226,180,73,.45);color:var(--gold2);font-size:24px}
@media(max-width:900px){.format-strip{grid-template-columns:1fr}.format-card{min-height:180px}}
@media(max-width:560px){.search-section,.formats,.decades{padding:65px 18px}}


/* Pestañas del catálogo */
.catalog-tabs{display:flex;gap:8px;margin:0 0 18px;padding:5px;width:max-content;max-width:100%;background:var(--panel);border:1px solid var(--line);border-radius:13px}
.catalog-tab{display:flex;align-items:center;gap:9px;border:0;border-radius:9px;padding:11px 15px;background:transparent;color:#c4c7cd;font-weight:750;cursor:pointer;transition:background .2s,color .2s,box-shadow .2s}
.catalog-tab:hover{color:white;background:rgba(255,255,255,.05)}
.catalog-tab.active{color:#211908;background:linear-gradient(135deg,var(--gold2),var(--gold));box-shadow:0 6px 18px rgba(226,180,73,.16)}
.tab-count{display:inline-grid;place-items:center;min-width:25px;height:23px;padding:0 7px;border-radius:999px;background:rgba(0,0,0,.24);font-size:12px;font-weight:850}
.catalog-tab:not(.active) .tab-count{background:#272c34;color:var(--gold2)}
@media(max-width:560px){.catalog-tabs{width:100%}.catalog-tab{flex:1;justify-content:center;padding:10px 8px;font-size:13px}}

/* Postulación pública de películas */
.submission-page{background:radial-gradient(circle at 15% 0,rgba(226,180,73,.09),transparent 28%),var(--bg)}
.submission-shell{max-width:1040px;margin:auto;padding:72px 24px 100px}
.submission-intro{max-width:820px;margin-bottom:34px}
.submission-intro h1,.success-card h1{font-family:Georgia,serif;font-size:clamp(44px,7vw,78px);line-height:1.02;margin:14px 0 20px}
.submission-intro>p{max-width:760px;color:#c9ccd2;font-size:18px;line-height:1.7}
.submission-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:30px}
.submission-steps div{display:flex;align-items:center;gap:12px;padding:16px;background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:13px;color:#d7d9de}
.submission-steps strong{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:rgba(226,180,73,.15);color:var(--gold2);border:1px solid rgba(226,180,73,.35)}
.submission-card{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:clamp(22px,4vw,42px);box-shadow:0 30px 80px rgba(0,0,0,.28)}
.submission-card-head{display:flex;justify-content:space-between;gap:24px;align-items:end;padding-bottom:24px;border-bottom:1px solid var(--line)}
.submission-card-head h2{font-family:Georgia,serif;font-size:clamp(32px,4vw,48px);margin:8px 0 0}
.submission-card-head p{max-width:300px;margin:0;color:var(--muted);font-size:14px;text-align:right}
.submission-form{display:grid;gap:28px;margin-top:30px}
.submission-form fieldset{border:0;margin:0;padding:0;display:grid;gap:18px}
.submission-form legend{width:100%;padding:0 0 12px;margin-bottom:4px;border-bottom:1px solid var(--line);font-family:Georgia,serif;font-weight:700;font-size:24px;color:var(--text)}
.submission-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.submission-grid label{display:grid;gap:8px;color:#d5d7dc;font-size:14px;font-weight:650}
.submission-grid input,.submission-grid select,.submission-grid textarea{width:100%;background:#0e1116;color:white;border:1px solid var(--line);border-radius:10px;padding:12px 13px;outline:none;transition:border-color .2s,box-shadow .2s}
.submission-grid input:focus,.submission-grid select:focus,.submission-grid textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(226,180,73,.1)}
.submission-grid textarea{resize:vertical;line-height:1.5}
.submission-grid input[type="file"]{padding:10px;background:#11151b}
.submission-grid small{color:var(--muted);font-weight:400;line-height:1.45}
.submission-form .span-2{grid-column:1/-1}
.consent-list{display:grid;gap:12px}
.consent-option{display:flex;gap:12px;align-items:flex-start;padding:15px;background:#0e1116;border:1px solid var(--line);border-radius:11px;color:#d5d7dc;line-height:1.5;cursor:pointer}
.consent-option input{width:18px;height:18px;min-width:18px;margin:3px 0 0;accent-color:var(--gold)}
.submission-note{padding:14px 16px;border-left:3px solid var(--gold);background:rgba(226,180,73,.08);color:#d9d5ca;border-radius:0 10px 10px 0;line-height:1.55}
.submission-submit{width:100%;min-height:54px;font-size:16px}
.hidden-field{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}
.success-shell{min-height:calc(100vh - 72px);display:grid;place-items:center;padding:60px 24px}
.success-card{max-width:760px;text-align:center;background:var(--panel);border:1px solid var(--line);border-radius:22px;padding:clamp(32px,6vw,70px);box-shadow:0 30px 90px rgba(0,0,0,.32)}
.success-card h1{font-size:clamp(38px,6vw,66px)}
.success-card>p{color:#c9ccd2;line-height:1.7;font-size:17px}
.success-card .submission-note{text-align:left;margin:24px 0}
.success-icon{display:grid;place-items:center;width:70px;height:70px;margin:0 auto 22px;border-radius:50%;background:rgba(226,180,73,.14);border:1px solid rgba(226,180,73,.42);color:var(--gold2);font-size:34px;font-weight:800}
@media(max-width:760px){.submission-steps{grid-template-columns:1fr}.submission-card-head{align-items:flex-start;flex-direction:column}.submission-card-head p{text-align:left}.submission-grid{grid-template-columns:1fr}.submission-form .span-2{grid-column:auto}.submission-shell{padding:52px 18px 80px}}

.submission-email-note {
  margin: 14px 0 0;
  color: var(--muted, #aab3c0);
  font-size: .92rem;
  line-height: 1.55;
  text-align: center;
}

/* Identidad ELCOplay y portada animada */
.brand-logo{display:block;width:154px;max-height:52px;object-fit:contain;object-position:left center}
.footer-logo{width:190px}
.admin-header-actions{display:flex;align-items:center;gap:10px}
.hero{align-items:stretch}
.hero-inner{position:relative;z-index:2;width:min(var(--max),100%);margin:auto;padding:96px 24px 132px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.72fr);gap:50px;align-items:center}
.hero-content{width:auto;margin:0;padding:0}
.hero-video-card{position:relative;overflow:hidden;border-radius:22px;background:#fff;border:1px solid rgba(255,255,255,.18);box-shadow:0 30px 80px rgba(0,0,0,.42)}
.hero-video-card video{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:#fff}
.hero-video-label{position:absolute;z-index:2;left:14px;top:14px;padding:8px 10px;border-radius:999px;background:rgba(8,10,13,.76);backdrop-filter:blur(8px);font-size:10px;font-weight:850;letter-spacing:.12em;color:#fff}
.hero-video-label span{color:var(--gold2)}
.hero-sound-toggle{position:absolute;z-index:2;right:14px;bottom:14px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(8,10,13,.78);color:#fff;padding:9px 12px;font-size:12px;font-weight:750;cursor:pointer;backdrop-filter:blur(8px)}
.hero-sound-toggle:hover{border-color:var(--gold);color:var(--gold2)}
.hero-expand-toggle{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.28);
  border-radius:50%;
  background:rgba(5,7,10,.72);
  color:#fff;
  font-size:20px;
  line-height:1;
  cursor:pointer;
  backdrop-filter:blur(12px);
  transition:border-color .2s,color .2s,transform .2s,background .2s;
}
.hero-expand-toggle:hover{border-color:var(--gold);color:var(--gold2);transform:scale(1.04);background:rgba(5,7,10,.86)}
.hero-expand-toggle:focus-visible,.hero-sound-toggle:focus-visible{outline:3px solid rgba(241,207,119,.45);outline-offset:3px}
.hero-video-dialog{
  width:min(94vw,1320px);
  max-width:none;
  padding:0;
  border:0;
  border-radius:18px;
  overflow:visible;
  background:transparent;
}
.hero-video-dialog::backdrop{background:rgba(0,0,0,.88);backdrop-filter:blur(8px)}
.hero-video-dialog-shell{position:relative;background:#000;border-radius:18px;box-shadow:0 30px 100px rgba(0,0,0,.72);overflow:hidden}
.hero-expanded-video{display:block;width:100%;max-height:84vh;aspect-ratio:16/9;object-fit:contain;background:#000}
.hero-video-dialog-close{
  position:absolute;
  z-index:3;
  top:12px;
  right:12px;
  width:40px;
  height:40px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:50%;
  background:rgba(5,7,10,.78);
  color:#fff;
  font-size:27px;
  line-height:1;
  cursor:pointer;
  backdrop-filter:blur(10px);
}
.hero-video-dialog-close:hover{color:var(--gold2);border-color:var(--gold)}
.mobile-nav{display:none}
@media(max-width:980px){
  .brand-logo{width:138px}
  .hero-inner{grid-template-columns:1fr;padding-top:76px;gap:32px}
  .hero-video-card{max-width:680px}
  .hero h1{max-width:760px}
}
@media(max-width:700px){
  body{padding-bottom:68px}
  .site-header{padding:0 16px}
  .brand-logo{width:128px}
  .hero{min-height:auto}
  .hero-inner{padding:62px 18px 116px}
  .hero-content{padding:0}
  .hero-video-card{border-radius:16px}
  .hero-video-label{left:10px;top:10px;font-size:9px}
  .hero-sound-toggle{right:10px;bottom:10px}
  .hero-stats{gap:34px;justify-content:flex-start;padding:17px 18px;overflow-x:auto}
  .hero-stats div{min-width:105px}
  .mobile-nav{position:fixed;z-index:30;left:0;right:0;bottom:0;height:68px;display:grid;grid-template-columns:repeat(4,1fr);background:rgba(9,11,14,.96);border-top:1px solid rgba(255,255,255,.12);backdrop-filter:blur(18px);padding-bottom:env(safe-area-inset-bottom)}
  .mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#c6c9cf;font-size:10px;font-weight:700}
  .mobile-nav a span{font-size:20px;line-height:1;color:var(--gold2)}
  .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:390px){
  .catalog-grid{grid-template-columns:1fr}
  .card-body h3{font-size:18px}
}
/* Herramienta local de previsualización */
.preview-page{min-height:100vh;background:#080a0d;color:#f5f0e6;padding:24px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif}
.preview-toolbar{max-width:1000px;margin:0 auto 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.preview-toolbar h1{font-size:22px;margin:0}.preview-toolbar p{color:#9ca2ad;margin:5px 0 0}
.preview-controls{display:flex;gap:8px;flex-wrap:wrap}
.preview-controls button,.preview-controls a{border:1px solid #343a45;background:#171b22;color:#fff;border-radius:9px;padding:9px 12px;cursor:pointer}
.phone-stage{min-height:calc(100vh - 130px);display:grid;place-items:center}
.phone-frame{width:390px;height:844px;max-width:calc(100vw - 36px);max-height:calc(100vh - 150px);padding:13px;border:5px solid #343943;border-radius:42px;background:#020304;box-shadow:0 30px 100px rgba(0,0,0,.55);transition:.25s}
.phone-screen{width:100%;height:100%;border:0;border-radius:27px;background:#fff}
@media(max-width:620px){.preview-toolbar{align-items:flex-start;flex-direction:column}.preview-page{padding:16px}.phone-frame{max-height:calc(100vh - 205px)}}


/* =========================================================
   REDISEÑO DE PORTADA Y EXPERIENCIA MÓVIL — JULIO 2026
   ========================================================= */

/* Portada cinematográfica: el video ocupa todo el fondo. */
.hero{
  min-height:720px;
  position:relative;
  display:block;
  overflow:hidden;
  isolation:isolate;
  background:#05070a;
}
.hero:before{content:none}
.hero-background-video{
  position:absolute;
  inset:0;
  z-index:-3;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  background:#000;
  opacity:1;
  transition:opacity .14s ease;
}
.hero-background-video.is-loading-current{opacity:0}
.hero-overlay{
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(90deg,rgba(4,6,9,.76) 0%,rgba(4,6,9,.56) 39%,rgba(4,6,9,.20) 67%,rgba(4,6,9,.05) 100%),
    linear-gradient(0deg,rgba(4,6,9,.70) 0%,transparent 45%),
    radial-gradient(circle at 72% 40%,rgba(226,180,73,.08),transparent 44%);
}
.hero-inner{
  position:relative;
  z-index:2;
  width:min(var(--max),100%);
  min-height:650px;
  margin:auto;
  padding:108px 24px 150px;
  display:flex;
  align-items:center;
}
.hero-content{
  width:auto;
  max-width:760px;
  margin:0;
  padding:0;
}
.hero .eyebrow{opacity:.74}
.hero h1{
  max-width:760px;
  margin:18px 0 22px;
  color:rgba(248,246,238,.78);
  font-size:clamp(52px,6.8vw,94px);
  text-wrap:balance;
  text-shadow:0 5px 34px rgba(0,0,0,.78);
}
.hero p{
  max-width:670px;
  color:rgba(225,227,231,.78);
  font-size:19px;
  line-height:1.62;
  text-shadow:0 2px 20px rgba(0,0,0,.72);
}
.hero-video-controls{
  position:absolute;
  right:24px;
  bottom:104px;
  z-index:4;
  display:flex;
  align-items:center;
  gap:8px;
}
.hero-sound-toggle{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  padding:10px 14px;
  background:rgba(5,7,10,.72);
  color:#fff;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
  backdrop-filter:blur(12px);
}
.sound-symbol{
  display:grid;
  place-items:center;
  width:23px;
  height:23px;
  border-radius:50%;
  background:rgba(226,180,73,.18);
  color:var(--gold2);
}
.hero-stats{
  background:rgba(4,6,8,.70);
  border-top:1px solid rgba(255,255,255,.14);
}
.hero-stats strong{font-size:24px}

/* El botón de filtros solo se necesita en pantallas pequeñas. */
.filter-toggle{display:none}

/* Mejoras suaves de lectura. */
.search-section{scroll-margin-top:76px}
.catalog-tab,.search-box,.filter-row select,.movie-card{transition:border-color .2s,background .2s,transform .2s}
.movie-card:focus-visible{outline:3px solid rgba(241,207,119,.55);outline-offset:3px}

/* Teléfonos y tabletas pequeñas. */
@media(max-width:760px){
  body{padding-bottom:66px}
  .site-header{
    height:62px;
    padding:0 14px;
  }
  .brand-logo{width:122px;max-height:42px}
  .desktop-nav{display:none}
  .header-actions{gap:7px}
  .header-actions .primary{display:none}
  .icon-button{min-width:42px;min-height:42px;border-radius:12px;font-size:20px}

  /* En móvil el video se ve completo arriba y se funde con el texto.
     Evita el recorte agresivo de un video horizontal dentro de una pantalla vertical. */
  .hero{
    min-height:650px;
    background:#05070a;
  }
  .hero-background-video{
    height:245px;
    object-fit:contain;
    object-position:center top;
    background:#000;
  }
  .hero-overlay{
    background:
      linear-gradient(180deg,rgba(5,7,10,0) 0 170px,rgba(5,7,10,.34) 220px,rgba(5,7,10,.98) 330px,rgba(5,7,10,1) 100%),
      linear-gradient(0deg,rgba(5,7,10,.9),transparent 55%);
  }
  .hero-inner{
    min-height:580px;
    padding:286px 18px 112px;
    align-items:flex-start;
  }
  .hero-content{max-width:100%;text-align:left}
  .hero .eyebrow{font-size:10px}
  .hero h1{
    margin:12px 0 15px;
    font-size:clamp(39px,11vw,48px);
    line-height:1.01;
  }
  .hero p{
    margin:0;
    font-size:15.5px;
    line-height:1.55;
    color:rgba(212,215,220,.84);
  }
  .hero-buttons{margin-top:22px}
  .hero-buttons .primary{
    width:100%;
    min-height:50px;
  }
  .hero-buttons .secondary{display:none}
  .hero-video-controls{
    top:198px;
    right:14px;
    bottom:auto;
    gap:7px;
  }
  .hero-sound-toggle{
    padding:8px 11px;
    background:rgba(5,7,10,.82);
  }
  .hero-expand-toggle{
    width:39px;
    height:39px;
    font-size:18px;
    background:rgba(5,7,10,.82);
  }
  .sound-label{font-size:11px}
  .hero-video-dialog{width:96vw;border-radius:12px}
  .hero-video-dialog-shell{border-radius:12px}
  .hero-expanded-video{max-height:78vh}
  .hero-video-dialog-close{top:8px;right:8px;width:36px;height:36px;font-size:24px}

  .hero-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:0;
    padding:14px 8px;
    overflow:visible;
  }
  .hero-stats div{
    min-width:0;
    align-items:center;
    text-align:center;
    padding:0 5px;
    border-right:1px solid rgba(255,255,255,.09);
  }
  .hero-stats div:last-child{border-right:0}
  .hero-stats strong{font-size:18px}
  .hero-stats span{font-size:8.5px;letter-spacing:.07em}

  .search-section,.formats,.decades{
    padding:48px 16px;
  }
  .section-heading{
    display:block;
    margin-bottom:20px;
  }
  .section-heading h2,.decades h2{
    margin-top:6px;
    font-size:34px;
  }
  .section-heading>p,.format-heading>p{display:none}

  .catalog-tabs{
    width:100%;
    margin-bottom:14px;
    padding:4px;
    border:1px solid var(--line);
    border-radius:13px;
    background:#101319;
  }
  .catalog-tab{
    flex:1;
    justify-content:center;
    min-height:43px;
    padding:8px 7px;
    border:0;
    font-size:12px;
  }
  .tab-count{min-width:22px;height:20px;font-size:10px}

  .search-box{
    height:54px;
    padding:0 14px;
    border-radius:13px;
    box-shadow:none;
  }
  .search-box input{font-size:16px;min-width:0}
  .search-box input::placeholder{font-size:14px}

  .filter-toggle{
    width:100%;
    min-height:46px;
    margin:10px 0 0;
    padding:0 14px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    border:1px solid var(--line);
    border-radius:12px;
    background:var(--panel);
    color:#e5e7eb;
    font-weight:750;
    cursor:pointer;
  }
  .filter-toggle>span:first-child{margin-right:auto}
  .filter-count{
    display:grid;
    place-items:center;
    min-width:23px;
    height:23px;
    border-radius:999px;
    padding:0 6px;
    background:var(--gold);
    color:#211908;
    font-size:11px;
  }
  .filter-count[hidden]{display:none}
  .filter-chevron{font-size:19px;transition:transform .2s}
  .filter-toggle[aria-expanded="true"] .filter-chevron{transform:rotate(180deg)}

  .filter-row{
    display:none;
    margin:10px 0 20px;
    padding:12px;
    gap:9px;
    border:1px solid var(--line);
    border-radius:13px;
    background:#101319;
  }
  .filter-row.is-open{display:grid}
  .filter-row select{
    width:100%;
    min-height:45px;
    border-radius:10px;
  }
  .filter-row .text-button{
    min-height:42px;
    border:1px solid rgba(226,180,73,.3);
    border-radius:10px;
  }

  .results-meta{
    margin:17px 2px 12px;
    font-size:13px;
  }
  .view-toggle{display:none}

  /* Una obra por fila, con afiche compacto y datos fáciles de leer. */
  .catalog-grid,
  .catalog-grid.list-view{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
  }
  .movie-card,
  .catalog-grid.list-view .movie-card{
    min-height:166px;
    display:grid;
    grid-template-columns:110px minmax(0,1fr);
    border-radius:14px;
    background:#12161c;
  }
  .movie-card:hover{transform:none}
  .poster-wrap,
  .catalog-grid.list-view .poster-wrap{
    width:110px;
    height:166px;
    aspect-ratio:auto;
  }
  .card-body{
    min-width:0;
    padding:20px 16px;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  .card-body h3{
    margin:0 0 9px;
    font-size:18px;
    line-height:1.25;
  }
  .card-meta{
    font-size:12px;
    line-height:1.45;
  }
  .card-badge{
    top:8px;
    left:7px;
    max-width:96px;
    padding:5px 6px;
    font-size:8px;
    line-height:1.2;
  }
  .play-float{
    right:8px;
    bottom:8px;
    width:34px;
    height:34px;
    font-size:12px;
  }

  .formats{padding-top:24px}
  .format-strip{
    display:flex;
    gap:12px;
    overflow-x:auto;
    padding:2px 1px 12px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  .format-strip::-webkit-scrollbar{display:none}
  .format-card{
    min-width:250px;
    min-height:160px;
    padding:20px;
    scroll-snap-align:start;
  }
  .format-card strong{margin:14px 0 7px;font-size:24px}
  .format-card>span:not(.format-icon){font-size:13px;line-height:1.45}
  .format-card small{margin-top:14px}
  .format-icon{width:39px;height:39px;font-size:19px}

  .decade-strip{
    display:flex;
    gap:10px;
    overflow-x:auto;
    margin-top:18px;
    padding:2px 1px 10px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  .decade-strip::-webkit-scrollbar{display:none}
  .decade-button{
    min-width:154px;
    min-height:88px;
    padding:14px;
    scroll-snap-align:start;
  }
  .decade-button strong{font-size:19px}

  .editorial{
    margin:12px 16px 48px;
    padding:25px 22px;
    gap:12px;
    border-radius:18px;
  }
  .editorial h2{font-size:34px}
  .editorial-copy{font-size:14px;line-height:1.6}
  .editorial-copy p:nth-of-type(2){display:none}
  .editorial-copy .secondary{width:100%;margin-top:4px}
  footer{
    padding:30px 18px 88px;
    font-size:13px;
  }

  /* Ficha de película como hoja cómoda, no como ventana apretada. */
  .movie-modal{
    width:100vw;
    max-width:100vw;
    max-height:92dvh;
    margin:auto 0 0;
    border-radius:20px 20px 0 0;
  }
  .modal-layout,
  .modal-layout.with-player{grid-template-columns:1fr}
  .modal-poster{
    height:230px;
    min-height:0;
    object-position:center 28%;
  }
  .modal-layout.with-player .modal-poster{display:none}
  .modal-copy{padding:24px 20px 30px}
  .modal-copy h2{font-size:34px}
  .modal-copy p{font-size:14px;line-height:1.6}
  .modal-actions{display:grid}
  .modal-actions .primary,.modal-actions .secondary{width:100%}
  .video-frame{border-radius:20px 20px 0 0;overflow:hidden}

  .mobile-nav{
    position:fixed;
    z-index:40;
    left:0;
    right:0;
    bottom:0;
    height:66px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    background:rgba(9,11,14,.97);
    border-top:1px solid rgba(255,255,255,.1);
    backdrop-filter:blur(18px);
    padding-bottom:env(safe-area-inset-bottom);
  }
  .mobile-nav a{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    color:#c7cad0;
    font-size:10px;
    font-weight:700;
  }
  .mobile-nav a span{
    font-size:19px;
    line-height:1;
    color:var(--gold2);
  }

  /* Formulario público más respirable. */
  .submission-shell{padding:42px 16px 82px}
  .submission-intro{margin-bottom:24px}
  .submission-intro h1{font-size:43px}
  .submission-intro>p{font-size:15px;line-height:1.6}
  .submission-steps{
    grid-template-columns:repeat(3,1fr);
    gap:7px;
    margin-top:20px;
  }
  .submission-steps div{
    min-width:0;
    padding:10px 6px;
    flex-direction:column;
    text-align:center;
    gap:6px;
    font-size:10px;
  }
  .submission-steps strong{width:27px;height:27px}
  .submission-card{padding:21px 16px;border-radius:16px}
  .submission-card-head h2{font-size:32px}
  .submission-form{gap:24px}
}

@media(max-width:360px){
  .hero h1{font-size:38px}
  .movie-card,
  .catalog-grid.list-view .movie-card{grid-template-columns:96px minmax(0,1fr);min-height:148px}
  .poster-wrap,
  .catalog-grid.list-view .poster-wrap{width:96px;height:148px}
  .card-body{padding:16px 13px}
  .card-body h3{font-size:17px}
}

/* =========================================================
   AJUSTE FINAL DEL CATÁLOGO MÓVIL
   No modifica el diseño de escritorio.
   ========================================================= */

/* Teléfono vertical: cuadrícula de dos afiches completos por fila. */
@media (max-width:760px) {
  .results-meta{
    gap:12px;
  }

  .view-toggle{
    display:flex;
    flex:0 0 auto;
    gap:5px;
    padding:4px;
    border:1px solid var(--line);
    border-radius:11px;
    background:#101319;
  }

  .view-toggle button{
    width:38px;
    height:35px;
    display:grid;
    place-items:center;
    padding:0;
    border:0;
    border-radius:8px;
    font-size:17px;
    color:#aeb3bc;
  }

  .view-toggle button.active{
    color:#201807;
    border-color:transparent;
    background:var(--gold);
  }

  /* Cuadrícula predeterminada. */
  .catalog-grid:not(.list-view){
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }

  .catalog-grid:not(.list-view) .movie-card{
    min-width:0;
    min-height:0;
    display:flex;
    flex-direction:column;
    border-radius:14px;
    overflow:hidden;
    background:#12161c;
  }

  .catalog-grid:not(.list-view) .poster-wrap{
    width:100%;
    height:auto;
    aspect-ratio:2/3;
    display:grid;
    place-items:center;
    overflow:hidden;
    background:#080a0e;
  }

  .catalog-grid:not(.list-view) .poster-wrap img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
    background:#080a0e;
  }

  .catalog-grid:not(.list-view) .card-body{
    min-width:0;
    min-height:94px;
    padding:12px 11px 13px;
    display:block;
  }

  .catalog-grid:not(.list-view) .card-body h3{
    margin:0 0 7px;
    min-height:2.45em;
    display:-webkit-box;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    font-size:15px;
    line-height:1.22;
  }

  .catalog-grid:not(.list-view) .card-meta{
    display:-webkit-box;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    font-size:10.5px;
    line-height:1.35;
  }

  .catalog-grid:not(.list-view) .card-badge{
    top:7px;
    left:7px;
    max-width:calc(100% - 14px);
    padding:5px 6px;
    font-size:7.5px;
  }

  .catalog-grid:not(.list-view) .play-float{
    right:8px;
    bottom:8px;
    width:34px;
    height:34px;
  }

  /* Vista de lista elegida por el usuario. */
  .catalog-grid.list-view{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
  }

  .catalog-grid.list-view .movie-card{
    min-height:154px;
    display:grid;
    grid-template-columns:104px minmax(0,1fr);
    border-radius:14px;
    overflow:hidden;
  }

  .catalog-grid.list-view .poster-wrap{
    width:104px;
    height:154px;
    aspect-ratio:auto;
    display:grid;
    place-items:center;
    background:#080a0e;
  }

  .catalog-grid.list-view .poster-wrap img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
    background:#080a0e;
  }

  .catalog-grid.list-view .card-body{
    min-width:0;
    min-height:0;
    padding:18px 14px;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }

  .catalog-grid.list-view .card-body h3{
    min-height:0;
    margin:0 0 8px;
    font-size:17px;
    line-height:1.25;
  }

  .catalog-grid.list-view .card-meta{
    font-size:11.5px;
    line-height:1.45;
  }
}

/* Teléfonos muy estrechos: se conservan dos columnas, pero con tipografía compacta. */
@media (max-width:350px) {
  .catalog-grid:not(.list-view){
    gap:9px;
  }

  .catalog-grid:not(.list-view) .card-body{
    min-height:86px;
    padding:10px 9px 11px;
  }

  .catalog-grid:not(.list-view) .card-body h3{
    font-size:13.5px;
  }

  .catalog-grid:not(.list-view) .card-meta{
    font-size:9.5px;
  }
}

/* Teléfono girado: tres afiches completos por fila.
   Se basa en la altura para que también funcione dentro del simulador local. */
@media (orientation:landscape) and (max-height:600px) and (max-width:950px) {
  .view-toggle{
    display:flex;
    gap:5px;
    padding:4px;
    border:1px solid var(--line);
    border-radius:11px;
    background:#101319;
  }

  .view-toggle button{
    width:38px;
    height:35px;
    display:grid;
    place-items:center;
    padding:0;
    border:0;
    border-radius:8px;
    font-size:17px;
    color:#aeb3bc;
  }

  .view-toggle button.active{
    color:#201807;
    background:var(--gold);
  }

  .catalog-grid:not(.list-view){
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
  }

  .catalog-grid:not(.list-view) .movie-card{
    min-width:0;
    min-height:0;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border-radius:14px;
    background:#12161c;
  }

  .catalog-grid:not(.list-view) .poster-wrap{
    width:100%;
    height:auto;
    aspect-ratio:2/3;
    display:grid;
    place-items:center;
    overflow:hidden;
    background:#080a0e;
  }

  .catalog-grid:not(.list-view) .poster-wrap img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
    background:#080a0e;
  }

  .catalog-grid:not(.list-view) .card-body{
    min-width:0;
    min-height:82px;
    padding:11px;
    display:block;
  }

  .catalog-grid:not(.list-view) .card-body h3{
    min-height:0;
    margin:0 0 6px;
    display:-webkit-box;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    font-size:14px;
    line-height:1.22;
  }

  .catalog-grid:not(.list-view) .card-meta{
    display:-webkit-box;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    font-size:10px;
    line-height:1.35;
  }

  .catalog-grid.list-view{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
  }

  .catalog-grid.list-view .movie-card{
    min-height:150px;
    display:grid;
    grid-template-columns:104px minmax(0,1fr);
  }

  .catalog-grid.list-view .poster-wrap{
    width:104px;
    height:150px;
    aspect-ratio:auto;
    display:grid;
    place-items:center;
    background:#080a0e;
  }

  .catalog-grid.list-view .poster-wrap img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
    background:#080a0e;
  }
}

/* =========================================================
   FICHA DE PELÍCULA SIN INFORMACIÓN REDUNDANTE
   Sinopsis completa + ficha técnica compacta.
   ========================================================= */

.movie-modal{
  max-height:92vh;
  overflow:hidden;
}

#modalContent{
  max-height:92vh;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  -webkit-overflow-scrolling:touch;
}

#modalContent::-webkit-scrollbar{
  width:10px;
}

#modalContent::-webkit-scrollbar-track{
  background:#0b0e13;
}

#modalContent::-webkit-scrollbar-thumb{
  background:#343a44;
  border:2px solid #0b0e13;
  border-radius:999px;
}

#modalContent::-webkit-scrollbar-thumb:hover{
  background:#4b535f;
}

.modal-close{
  z-index:10;
}

.modal-copy{
  min-width:0;
}

.modal-kickers{
  display:flex;
  align-items:center;
  gap:9px;
  flex-wrap:wrap;
  margin-bottom:8px;
}

.modal-featured{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:5px 9px;
  border:1px solid rgba(232,185,67,.45);
  border-radius:999px;
  background:rgba(232,185,67,.12);
  color:var(--gold2);
  font-size:10px;
  font-weight:850;
  letter-spacing:.08em;
}

.modal-copy h2{
  overflow-wrap:anywhere;
}

.modal-section{
  margin-top:24px;
}

.modal-section h3{
  margin:0 0 11px;
  color:#f3f0e8;
  font-size:12px;
  font-weight:850;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.synopsis-section{
  margin-top:18px;
}

.modal-synopsis{
  display:block !important;
  max-height:none !important;
  margin:0;
  overflow:visible !important;
  color:#c6c8cc;
  font-size:14px;
  line-height:1.7;
  white-space:pre-line;
  -webkit-line-clamp:unset !important;
  -webkit-box-orient:initial !important;
}

.technical-section{
  padding-top:2px;
}

.movie-facts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:30px;
  margin:0;
  border-top:1px solid rgba(255,255,255,.10);
}

.movie-fact{
  min-width:0;
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  gap:12px;
  align-items:baseline;
  margin:0;
  padding:11px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.movie-fact.wide{
  grid-column:1/-1;
  grid-template-columns:92px minmax(0,1fr);
}

.movie-fact dt{
  margin:0;
  color:#8f96a2;
  font-size:9px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.movie-fact dd{
  min-width:0;
  margin:0;
  overflow-wrap:anywhere;
  color:#f3f4f6;
  font-size:12.5px;
  font-weight:700;
  line-height:1.42;
}

.modal-layout.with-player .modal-poster{
  object-fit:contain;
  object-position:center;
  background:#080a0e;
}

@media (min-width:701px){
  .modal-copy{
    padding:32px 36px 38px;
  }

  .modal-copy h2{
    margin:0;
    font-size:40px;
    line-height:1.06;
  }

  .modal-actions{
    margin-top:24px;
  }
}

@media (max-width:900px){
  .movie-facts{
    grid-template-columns:1fr;
  }

  .movie-fact,
  .movie-fact.wide{
    grid-column:auto;
  }
}

@media (max-width:700px){
  .movie-modal{
    max-height:94dvh;
  }

  #modalContent{
    max-height:94dvh;
  }

  .modal-copy{
    padding:22px 18px 30px;
  }

  .modal-copy h2{
    margin:0;
    font-size:30px;
    line-height:1.08;
  }

  .modal-section{
    margin-top:20px;
  }

  .synopsis-section{
    margin-top:16px;
  }

  .modal-section h3{
    font-size:10.5px;
  }

  .modal-synopsis{
    font-size:13px;
    line-height:1.64;
  }

  .movie-facts{
    grid-template-columns:1fr;
    column-gap:0;
  }

  .movie-fact,
  .movie-fact.wide{
    grid-template-columns:82px minmax(0,1fr);
    gap:10px;
    padding:10px 0;
  }

  .movie-fact dt{
    font-size:8px;
  }

  .movie-fact dd{
    font-size:11.5px;
  }

  .modal-actions{
    position:relative;
    display:grid;
    grid-template-columns:1fr;
    gap:9px;
    margin-top:21px;
  }

  .embed-note{
    font-size:11px !important;
    line-height:1.5 !important;
  }
}

@media (max-width:360px){
  .movie-fact,
  .movie-fact.wide{
    grid-template-columns:1fr;
    gap:4px;
  }
}
/* PÁGINA EL PROYECTO */
.project-page-body{background:#090b0e}.desktop-nav a.active{color:#fff;position:relative}.desktop-nav a.active:after{content:"";position:absolute;left:0;right:0;bottom:-12px;height:2px;border-radius:999px;background:var(--gold)}
.project-hero{position:relative;min-height:410px;display:flex;align-items:center;overflow:hidden;background:linear-gradient(90deg,rgba(7,9,12,.97) 0%,rgba(7,9,12,.84) 48%,rgba(7,9,12,.42) 100%),url("assets/videos/elcoplay-presentacion-poster.jpg") center/cover no-repeat}.project-hero-content{width:min(1180px,100%);margin:auto;padding:90px 24px 72px;position:relative}.project-hero h1{margin:7px 0 22px;max-width:700px;font-size:clamp(50px,7vw,86px);line-height:.96}.project-hero p{max-width:690px;margin:0 0 13px;color:#d5d7db;font-size:17px;line-height:1.65}
.project-principles{width:min(1180px,calc(100% - 48px));margin:-58px auto 0;position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:16px}.project-principle{display:grid;grid-template-columns:80px 1fr;gap:20px;align-items:center;padding:25px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#12161c,#0d1015);box-shadow:0 20px 55px rgba(0,0,0,.28)}.principle-icon{width:64px;height:64px;display:grid;place-items:center;border-right:1px solid var(--line);color:var(--gold);font-size:38px;font-weight:800}.project-principle span{color:var(--gold2);font-weight:850}.project-principle p{margin:8px 0 0;color:#d2d5d9;line-height:1.55}
.project-team{width:min(1180px,calc(100% - 48px));margin:72px auto}.project-section-heading{text-align:center;margin-bottom:26px}.project-section-heading h2{margin:7px 0 0;font-size:clamp(32px,4vw,46px)}.team-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.team-card{display:grid;grid-template-columns:190px 1fr;gap:22px;padding:14px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,#12161c,#0d1015);overflow:hidden}.team-card img{width:190px;height:100%;min-height:300px;object-fit:cover;object-position:center top;border-radius:12px;background:#0a0d11}.team-copy{padding:12px 12px 12px 0}.team-copy h3{margin:0 0 6px;font-size:30px}.team-role{margin:0 0 16px!important;color:var(--gold2)!important;font-weight:780;line-height:1.35!important}.team-copy p{margin:0;color:#c8cbd0;line-height:1.58}.team-email{display:inline-block;margin-top:16px;color:#f5d06f;font-weight:750}.team-socials{display:flex;gap:9px;margin-top:18px}.team-socials span{width:36px;height:36px;display:grid;place-items:center;border:1px solid #39414c;border-radius:50%;color:#fff;opacity:.72}
.project-contact{width:min(1180px,calc(100% - 48px));margin:0 auto 70px;display:flex;justify-content:space-between;align-items:center;gap:30px;padding:30px;border:1px solid var(--line);border-radius:16px;background:#11151b}.project-contact h2{margin:7px 0 8px}.project-contact p{max-width:760px;margin:0;color:#bfc3ca}
@media(max-width:900px){.project-principles,.team-grid{grid-template-columns:1fr}.project-principles{margin-top:-40px}}
@media(max-width:700px){.project-hero{min-height:470px;align-items:flex-end;background:linear-gradient(180deg,rgba(7,9,12,.25),rgba(7,9,12,.97) 70%),url("assets/videos/elcoplay-presentacion-poster.jpg") center top/cover no-repeat}.project-hero-content{padding:145px 18px 82px}.project-hero h1{font-size:52px}.project-hero p{font-size:15px}.project-principles,.project-team,.project-contact{width:calc(100% - 32px)}.project-principle{grid-template-columns:1fr}.principle-icon{width:52px;height:52px;border-right:0}.project-team{margin:52px auto}.team-card{grid-template-columns:1fr;gap:15px;padding:12px}.team-card img{width:100%;height:auto;min-height:0;aspect-ratio:4/3;object-position:center 24%}.team-copy{padding:8px 7px 12px}.team-copy h3{font-size:27px}.project-contact{margin-bottom:92px;flex-direction:column;align-items:flex-start}}


.project-contact-placeholder{
  cursor:default;
  opacity:.72;
  pointer-events:none;
}

/* =========================================================
   EL PROYECTO EN MÓVIL
   ========================================================= */
@media (max-width:700px){
  .project-page-body{
    padding-bottom:76px;
  }

  .project-page-body .mobile-nav,
  body:not(.project-page-body) .mobile-nav{
    grid-template-columns:repeat(4,1fr);
  }

  .project-page-body .mobile-nav a.active{
    color:#fff;
    background:rgba(232,185,67,.08);
  }

  .project-page-body .mobile-nav a.active span{
    color:var(--gold);
  }

  .project-page-body .project-hero{
    min-height:auto;
  }

  .project-page-body .project-hero-content{
    padding:118px 18px 72px;
  }

  .project-page-body .project-hero h1{
    font-size:46px;
  }

  .project-page-body .project-principles{
    margin-top:-30px;
  }

  .project-page-body .team-grid{
    grid-template-columns:1fr;
    gap:16px;
  }

  .project-page-body .team-card{
    grid-template-columns:108px minmax(0,1fr);
    gap:14px;
    align-items:start;
  }

  .project-page-body .team-card img{
    width:108px;
    height:152px;
    min-height:0;
    aspect-ratio:auto;
    object-fit:cover;
    object-position:center top;
    border-radius:10px;
  }

  .project-page-body .team-copy{
    padding:4px 2px 10px 0;
  }

  .project-page-body .team-copy h3{
    font-size:23px;
  }

  .project-page-body .team-role,
  .project-page-body .team-copy p,
  .project-page-body .team-email{
    font-size:13px;
  }

  .project-page-body .team-copy p{
    line-height:1.55;
  }

  .project-page-body .team-email{
    overflow-wrap:anywhere;
  }

  .project-page-body .project-contact{
    margin-bottom:92px;
  }
}

@media (max-width:420px){
  .project-page-body .team-card{
    grid-template-columns:1fr;
  }

  .project-page-body .team-card img{
    width:100%;
    height:auto;
    aspect-ratio:4/5;
    object-fit:contain;
    background:#090c11;
  }
}

/* =========================================================
   TELÉFONO HORIZONTAL: OCULTAR CABECERA PARA GANAR ESPACIO
   ========================================================= */
@media (orientation:landscape) and (max-height:600px) and (max-width:950px){
  .site-header{
    display:none !important;
  }

  body{
    padding-top:0 !important;
  }

  .hero,
  .project-hero,
  main{
    margin-top:0 !important;
  }

  .hero-inner,
  .project-hero-content{
    padding-top:22px !important;
  }

  .catalog-section{
    padding-top:18px !important;
  }

  .mobile-nav{
    height:54px;
  }

  .mobile-nav a{
    font-size:9px;
  }

  .mobile-nav a span{
    font-size:17px;
  }
}



/* =========================================================
   MÚSICA AMBIENTAL ELCOplay
   ========================================================= */
.music-control{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:120;
  display:flex;
  align-items:center;
  gap:8px;
  min-height:46px;
  padding:5px 12px 5px 5px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:999px;
  background:rgba(7,10,15,.86);
  box-shadow:0 10px 35px rgba(0,0,0,.28);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  transition:transform .2s ease, background .2s ease, border-color .2s ease,
             width .25s ease, height .25s ease, padding .25s ease;
}

.music-control:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.42);
  background:rgba(16,22,31,.95);
}

.music-toggle{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:36px;
  padding:5px 8px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:#fff;
  font:inherit;
  font-size:13px;
  font-weight:700;
  letter-spacing:.02em;
  cursor:pointer;
}

.music-toggle:focus-visible,
.music-volume:focus-visible{
  outline:2px solid #fff;
  outline-offset:3px;
}

.music-icon{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  font-size:16px;
}

.music-toggle.is-playing .music-icon{
  animation:elcoMusicPulse 1.8s ease-in-out infinite;
}

.music-volume-wrap{
  display:flex;
  align-items:center;
  gap:6px;
  color:rgba(255,255,255,.78);
}

.volume-symbol{font-size:15px;line-height:1}

.music-volume{
  width:88px;
  height:4px;
  margin:0;
  accent-color:#fff;
  cursor:pointer;
}

@keyframes elcoMusicPulse{
  0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(255,255,255,.22)}
  50%{transform:scale(1.08);box-shadow:0 0 0 7px rgba(255,255,255,0)}
}

/* En móviles el control descansa como un solo icono. Al tocarlo se abre
   hacia arriba y muestra el volumen en vertical durante unos segundos. */
@media (max-width:760px), (orientation:landscape) and (max-height:600px) and (max-width:950px){
  .music-control{
    right:10px;
    bottom:calc(76px + env(safe-area-inset-bottom));
    width:48px;
    height:48px;
    min-height:48px;
    max-width:none;
    padding:3px;
    gap:4px;
    flex-direction:column-reverse;
    justify-content:flex-start;
    overflow:hidden;
    border-radius:999px;
    touch-action:manipulation;
  }

  .music-control:hover{
    transform:none;
  }

  .music-control.is-expanded{
    width:52px;
    height:178px;
    padding:6px 3px 5px;
    border-radius:26px;
    background:rgba(7,10,15,.94);
  }

  .music-toggle{
    flex:0 0 40px;
    width:40px;
    min-width:40px;
    min-height:40px;
    padding:0;
    justify-content:center;
    touch-action:manipulation;
  }

  .music-icon{
    width:36px;
    height:36px;
    font-size:18px;
  }

  .music-toggle .music-text{
    display:none;
  }

  .music-volume-wrap{
    display:flex;
    flex:1 1 auto;
    width:42px;
    min-height:0;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(8px);
    transition:opacity .18s ease, transform .22s ease, visibility 0s linear .22s;
  }

  .music-control.is-expanded .music-volume-wrap{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0);
    transition-delay:0s;
  }

  .volume-symbol{
    font-size:13px;
  }

  .music-volume{
    width:96px;
    height:24px;
    margin:0;
    transform:rotate(-90deg);
    transform-origin:center;
    touch-action:pan-y;
  }
}

@media (orientation:landscape) and (max-height:600px) and (max-width:950px){
  .music-control{
    right:10px;
    bottom:64px;
  }

  .music-control.is-expanded{
    height:158px;
  }

  .music-volume{
    width:78px;
  }
}

@media (prefers-reduced-motion:reduce){
  .music-control,
  .music-volume-wrap,
  .music-toggle,
  .music-toggle.is-playing .music-icon{
    transition:none;
    animation:none;
  }
}


/* Comunidad: votos y comentarios */
.movie-reviews{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
.review-heading{display:flex;justify-content:space-between;gap:18px;align-items:end}.review-heading h3{margin:4px 0 0}.review-heading>strong{color:var(--gold);white-space:nowrap}
.star-rating{display:flex;gap:6px;margin:16px 0 8px}.star-rating button{border:0;background:transparent;color:#515762;font-size:32px;line-height:1;padding:0 2px;cursor:pointer;transition:transform .15s,color .15s}.star-rating button:hover,.star-rating button.selected{color:var(--gold);transform:translateY(-1px)}
.review-status,.comment-form small,.review-empty{color:var(--muted)}.comment-form{display:grid;gap:12px;margin:22px 0}.comment-form label{display:grid;gap:7px;font-size:13px;font-weight:700}.comment-form input,.comment-form textarea{width:100%;background:#0e1116;color:var(--text);border:1px solid var(--line);border-radius:10px;padding:11px}.comment-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.comment-actions span{font-size:13px;color:var(--gold)}
.comments-list{display:grid;gap:10px;margin-top:18px}.review-comment{padding:14px;border:1px solid var(--line);border-radius:12px;background:#0e1116}.review-comment>div{display:flex;justify-content:space-between;gap:12px}.review-comment time{color:var(--muted);font-size:12px}.review-comment p{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:640px){.review-heading{align-items:flex-start;flex-direction:column}.star-rating button{font-size:29px}}

.review-stat-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.review-reset-button{padding:8px 10px;font-size:12px;white-space:nowrap}@media(max-width:680px){.review-stat-row{align-items:flex-start}.review-stat-actions{width:100%;justify-content:space-between;margin-top:8px}}

.review-admin-details{margin-top:22px}.review-admin-details .admin-list{max-height:430px;overflow:auto}.review-admin-details .pending-comment p{margin:8px 0 12px}


/* =========================================================
   PERFIL DESPLEGABLE DEL DIRECTOR
   ========================================================= */
.director-profile-details{
  margin-top:16px;
  border:1px solid rgba(232,185,67,.34);
  border-radius:14px;
  background:linear-gradient(135deg,rgba(232,185,67,.10),rgba(18,22,29,.92));
  overflow:hidden;
}
.director-profile-details>summary{
  min-height:72px;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  gap:13px;
  align-items:center;
  padding:11px 14px;
  cursor:pointer;
  list-style:none;
  user-select:none;
}
.director-profile-details>summary::-webkit-details-marker{display:none}
.director-summary-avatar,.director-profile-portrait{
  display:grid;
  place-items:center;
  overflow:hidden;
  background:#171c24;
  border:1px solid rgba(255,255,255,.12);
}
.director-summary-avatar{width:48px;height:48px;border-radius:50%}
.director-summary-avatar img,.director-profile-portrait img{width:100%;height:100%;object-fit:cover}
.director-avatar-fallback{
  width:100%;height:100%;display:grid;place-items:center;
  background:linear-gradient(145deg,#27303d,#141820);
  color:var(--gold2);font-weight:900;letter-spacing:.05em;
}
.director-summary-copy{display:grid;gap:3px;min-width:0}
.director-summary-copy small{color:var(--gold2);font-size:9px;font-weight:900;letter-spacing:.10em}
.director-summary-copy strong{color:#fff;font-size:14px;overflow-wrap:anywhere}
.director-summary-icon{color:var(--gold2);font-size:24px;transition:transform .2s}
.director-profile-details[open] .director-summary-icon{transform:rotate(180deg)}
.director-profile-body{
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  gap:22px;
  padding:20px;
  border-top:1px solid rgba(255,255,255,.09);
  background:rgba(7,9,13,.35);
}
.director-profile-portrait{width:150px;height:180px;border-radius:12px}
.director-profile-copy{min-width:0}
.director-profile-copy h3{margin:0 0 5px!important;font-size:20px!important;letter-spacing:0!important;text-transform:none!important}
.director-profile-copy p{margin:8px 0 0;color:#c9cbd0;line-height:1.65;white-space:pre-line}
.director-profile-copy .director-location{margin-top:0;color:var(--gold2);font-size:12px;font-weight:800}
.director-profile-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.director-profile-links a{
  display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;
  border:1px solid rgba(232,185,67,.35);border-radius:999px;
  color:var(--gold2);font-size:11px;font-weight:800;text-decoration:none;
}
.director-profile-links a:hover{background:rgba(232,185,67,.12)}
.director-fact-button{
  display:inline-flex;align-items:center;gap:9px;flex-wrap:wrap;
  padding:0;border:0;background:transparent;color:#f3f4f6;
  font:inherit;font-weight:800;text-align:left;cursor:pointer;
}
.director-fact-button small{
  display:inline-flex;padding:4px 7px;border-radius:999px;
  background:rgba(232,185,67,.12);color:var(--gold2);
  font-size:9px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;
}
.director-fact-button:hover{color:var(--gold2)}
@media(max-width:700px){
  .director-profile-body{grid-template-columns:1fr;padding:16px}
  .director-profile-portrait{width:112px;height:132px}
  .director-profile-details>summary{grid-template-columns:42px minmax(0,1fr) auto;padding:10px 12px}
  .director-summary-avatar{width:42px;height:42px}
}


/* =========================================================
   CENTRO DE CONTENIDO ADICIONAL: DIRECTOR, MAKING OF Y GUION
   ========================================================= */
.movie-extra-hub{
  margin-top:16px;
  border:1px solid rgba(232,185,67,.34);
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(135deg,rgba(232,185,67,.08),rgba(18,22,29,.94));
}
.movie-extra-tabs{
  display:flex;
  gap:6px;
  padding:8px;
  overflow-x:auto;
  border-bottom:1px solid rgba(255,255,255,.09);
  background:rgba(7,9,13,.5);
  scrollbar-width:thin;
}
.movie-extra-tabs button{
  flex:1 0 auto;
  min-height:39px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:8px 12px;
  border:1px solid transparent;
  border-radius:9px;
  background:transparent;
  color:#b9bec7;
  font-size:11px;
  font-weight:900;
  letter-spacing:.045em;
  text-transform:uppercase;
  cursor:pointer;
}
.movie-extra-tabs button:hover{background:#171c24;color:#fff}
.movie-extra-tabs button.active{
  border-color:rgba(232,185,67,.4);
  background:rgba(232,185,67,.14);
  color:var(--gold2);
}
.movie-extra-tabs button small{
  padding:3px 5px;
  border-radius:999px;
  background:#3a2b0b;
  color:#ffd978;
  font-size:7px;
  letter-spacing:.04em;
}
.movie-extra-panels{min-height:116px}
.movie-extra-panel[hidden]{display:none!important}
.movie-extra-panel .director-profile-body{
  border-top:0;
  background:transparent;
}
.extra-panel-eyebrow{
  display:block;
  margin-bottom:4px;
  color:var(--gold2);
  font-size:9px;
  font-weight:900;
  letter-spacing:.11em;
}
.making-of-content,.script-extra-content,.premium-extra-lock{
  display:grid;
  gap:15px;
  padding:18px;
}
.making-of-content h3,.script-extra-content h3,.premium-extra-lock h3{
  margin:0!important;
  font-size:18px!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.making-of-content p,.script-extra-content p,.premium-extra-lock p{
  margin:5px 0 0;
  color:#c9cbd0;
  font-size:13px;
  line-height:1.55;
}
.extra-video-frame{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.1);
  border-radius:11px;
  background:#050608;
  aspect-ratio:16/9;
}
.extra-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.extra-resource-action{
  width:max-content;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:39px;
  padding:9px 13px;
  border:1px solid rgba(232,185,67,.45);
  border-radius:9px;
  background:var(--gold);
  color:#1e1707;
  font-size:11px;
  font-weight:900;
  text-decoration:none;
}
.extra-resource-action:hover{filter:brightness(1.07)}
.script-extra-content{
  grid-template-columns:58px minmax(0,1fr) auto;
  align-items:center;
}
.script-extra-icon,.premium-lock-icon{
  width:58px;
  height:68px;
  display:grid;
  place-items:center;
  border:1px solid rgba(232,185,67,.35);
  border-radius:10px;
  background:#171c24;
  color:var(--gold2);
  font-size:13px;
  font-weight:950;
}
.premium-extra-lock{
  grid-template-columns:58px minmax(0,1fr) auto;
  align-items:center;
  background:linear-gradient(135deg,rgba(232,185,67,.07),rgba(8,10,14,.2));
}
.premium-extra-lock button{
  min-height:38px;
  padding:8px 12px;
  border:1px solid rgba(232,185,67,.25);
  border-radius:9px;
  background:#171c24;
  color:#8f96a2;
  font-size:10px;
  font-weight:850;
}
@media(min-width:701px){
  .modal-copy>h2{max-width:100%}
}
@media(max-width:700px){
  .movie-extra-tabs button{flex:0 0 auto;padding:8px 11px}
  .script-extra-content,.premium-extra-lock{grid-template-columns:50px minmax(0,1fr)}
  .script-extra-icon,.premium-lock-icon{width:50px;height:58px}
  .script-extra-content .extra-resource-action,.premium-extra-lock button{grid-column:1/-1;width:100%}
  .making-of-content,.script-extra-content,.premium-extra-lock{padding:15px}
}


/* =========================================================
   CONTENIDO ADICIONAL EN VENTANA INDEPENDIENTE
   ========================================================= */
.movie-extra-launcher{
  display:grid;
  grid-template-columns:minmax(150px,.8fr) minmax(0,1.7fr);
  align-items:center;
  gap:14px;
  padding:10px;
  overflow:hidden;
  background:linear-gradient(135deg,rgba(232,185,67,.07),rgba(18,22,29,.88));
}
.movie-extra-launcher-copy{padding:4px 7px}
.movie-extra-launcher-copy p{
  margin:3px 0 0!important;
  color:#9da4af!important;
  font-size:11px!important;
  line-height:1.35!important;
}
.movie-extra-launch-buttons{
  width:100%;
  min-width:0;
  max-width:100%;
  padding:0 0 4px;
  border:0;
  background:transparent;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:thin;
  overscroll-behavior-x:contain;
  scroll-snap-type:x proximity;
}
.movie-extra-launch-buttons button{
  flex:0 0 auto;
  min-width:112px;
  max-width:160px;
  min-height:46px;
  scroll-snap-align:start;
  border-color:rgba(255,255,255,.08);
  background:#11161e;
  color:#d8dbe0;
}
.movie-extra-launch-buttons button:hover{
  border-color:rgba(232,185,67,.4);
  background:rgba(232,185,67,.12);
  color:var(--gold2);
  transform:translateY(-1px);
}
.movie-extra-launch-buttons::-webkit-scrollbar{height:5px}
.movie-extra-launch-buttons::-webkit-scrollbar-track{background:transparent}
.movie-extra-launch-buttons::-webkit-scrollbar-thumb{background:rgba(232,185,67,.28);border-radius:999px}
.extra-launch-icon{
  min-width:27px;
  height:27px;
  display:inline-grid;
  place-items:center;
  border:1px solid rgba(232,185,67,.35);
  border-radius:7px;
  color:var(--gold2);
  font-size:9px;
  line-height:1;
}

.extra-content-modal{
  width:min(720px,92vw);
  max-height:min(82vh,760px);
  padding:0;
  overflow:visible;
  border:1px solid rgba(232,185,67,.42);
  border-radius:18px;
  background:#12171f;
  color:#fff;
  box-shadow:0 28px 90px rgba(0,0,0,.72),0 0 0 1px rgba(255,255,255,.025) inset;
}
.extra-content-modal::backdrop{
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(8px);
}
.extra-content-modal-close{
  position:absolute;
  z-index:5;
  top:12px;
  right:12px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.12);
  border-radius:50%;
  background:#080b10;
  color:#fff;
  font-size:25px;
  line-height:1;
  cursor:pointer;
}
.extra-content-modal-close:hover{background:#251f10;color:var(--gold2)}
.extra-content-modal-inner{
  max-height:min(82vh,760px);
  overflow:auto;
  border-radius:18px;
  scrollbar-width:thin;
  scrollbar-color:rgba(232,185,67,.55) transparent;
}
.extra-content-modal-inner::-webkit-scrollbar{width:8px}
.extra-content-modal-inner::-webkit-scrollbar-thumb{background:rgba(232,185,67,.45);border-radius:999px}
.extra-modal-article{padding:32px}
.extra-modal-header{
  padding:0 48px 19px 0;
  border-bottom:1px solid rgba(255,255,255,.09);
}
.extra-modal-header h2,.extra-modal-premium h2{
  margin:5px 0 0!important;
  font-family:Georgia,serif;
  font-size:31px!important;
  line-height:1.08;
  letter-spacing:0!important;
  text-transform:none!important;
}
.extra-modal-subtitle{
  margin:8px 0 0!important;
  color:#aeb4bd!important;
  font-size:13px!important;
}
.extra-modal-director-body{
  grid-template-columns:170px minmax(0,1fr);
  gap:24px;
  padding:24px 0 0;
  border:0;
  background:transparent;
}
.extra-modal-director-body .director-profile-portrait{
  width:170px;
  height:215px;
}
.extra-modal-director-body .director-profile-copy p{
  margin-top:0;
  font-size:15px;
  line-height:1.72;
}
.extra-modal-making-of{
  padding:22px 0 0;
}
.extra-modal-making-of .extra-resource-action{margin-top:2px}
.soundtrack-extra-content{
  display:grid;
  gap:14px;
  padding:22px 0 0;
}
.movie-soundtrack-player{
  width:100%;
  min-height:46px;
  accent-color:var(--gold);
}
.soundtrack-video-frame{
  margin-bottom:2px;
}
.soundtrack-credit{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:7px 10px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:11px;
  background:#0d1117;
}
.soundtrack-credit span{
  color:#8f96a2;
  font-size:10px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.soundtrack-credit strong{
  color:#f5f6f8;
  font-size:14px;
}
.extra-modal-script{
  margin-top:22px;
  padding:18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:13px;
  background:#0d1117;
}
.extra-modal-script h3{margin:0 0 5px!important;font-size:17px!important}
.extra-modal-script p{margin:0!important}
.extra-modal-premium{
  margin:0;
  padding:32px;
  min-height:250px;
  border-radius:18px;
}

@media(max-width:760px){
  .movie-extra-launcher{grid-template-columns:1fr;gap:8px}
  .movie-extra-launch-buttons{overflow-x:auto}
  .movie-extra-launch-buttons button{flex:0 0 auto;min-width:118px;max-width:158px}
  .extra-content-modal{
    width:calc(100vw - 22px);
    max-height:calc(100dvh - 24px);
    border-radius:15px;
  }
  .extra-content-modal-inner{max-height:calc(100dvh - 24px);border-radius:15px}
  .extra-modal-article{padding:24px 18px}
  .extra-modal-header{padding-right:42px}
  .extra-modal-header h2,.extra-modal-premium h2{font-size:26px!important}
  .extra-modal-director-body{grid-template-columns:1fr;gap:17px;padding-top:18px}
  .extra-modal-director-body .director-profile-portrait{width:118px;height:145px}
  .extra-modal-script{grid-template-columns:48px minmax(0,1fr)}
  .extra-modal-script .extra-resource-action{grid-column:1/-1;width:100%}
  .extra-modal-premium{grid-template-columns:50px minmax(0,1fr);padding:24px 18px}
  .extra-modal-premium button{grid-column:1/-1;width:100%}
}


/* =========================================================
   Perfiles múltiples de dirección
   ========================================================= */
.director-profiles-admin {
  display: grid;
  gap: 1rem;
  padding: 1rem 0 0;
}

.director-profiles-editor-list {
  display: grid;
  gap: 1rem;
}

.director-profile-editor-card {
  border: 1px solid rgba(214, 170, 57, .34);
  border-radius: 14px;
  background: rgba(12, 16, 23, .72);
  padding: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.director-profile-editor-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.director-profile-editor-card-header > div {
  display: grid;
  gap: .15rem;
}

.director-profile-editor-card-header small {
  color: var(--gold, #e2b94e);
  font-size: .66rem;
  letter-spacing: .12em;
}

.director-profile-editor-card-header strong {
  font-size: 1.05rem;
  color: #fff;
}

.director-profile-remove {
  width: auto;
  min-height: 34px;
  padding: .45rem .7rem;
  font-size: .74rem;
}

.director-profile-name {
  grid-column: 1 / -1;
}

.add-director-profile-button {
  justify-self: start;
  width: auto;
  padding-inline: 1rem;
}

.director-profiles-help {
  color: #9da4b1;
  line-height: 1.5;
}

.director-profiles-modal-list {
  display: grid;
  gap: 1.15rem;
}

.director-modal-profile-card {
  border: 1px solid rgba(214, 170, 57, .34);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(22, 28, 39, .92), rgba(12, 16, 23, .92));
  overflow: hidden;
}

.director-modal-profile-header {
  padding: 1rem 1rem .8rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.director-modal-profile-header small {
  display: block;
  color: var(--gold, #e2b94e);
  font-weight: 800;
  font-size: .67rem;
  letter-spacing: .12em;
  margin-bottom: .3rem;
}

.director-modal-profile-header h3 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.08;
}

.director-modal-profile-header p {
  margin: .35rem 0 0;
  color: #d6ae48;
  font-weight: 700;
  font-size: .83rem;
}

.director-modal-profile-card .extra-modal-director-body {
  padding: 1rem;
}

@media (min-width: 900px) {
  .director-profiles-modal-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .director-profiles-modal-list > :only-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .director-profile-editor-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .director-profile-remove {
    align-self: flex-end;
  }

  .director-modal-profile-card .extra-modal-director-body {
    grid-template-columns: 92px minmax(0, 1fr);
  }
}


/* =========================================================
   Ventana horizontal para múltiples directores
   ========================================================= */

/* Making of y Guion conservan el tamaño normal.
   Solo la ventana de Director aprovecha el ancho de pantalla. */
dialog.extra-content-modal.director-modal-wide {
  width: min(1480px, calc(100vw - 64px));
  max-width: none;
  max-height: min(88vh, 900px);
}

dialog.extra-content-modal.director-modal-wide .extra-content-modal-inner {
  max-height: min(88vh, 900px);
}

dialog.extra-content-modal.director-modal-wide .director-extra-modal {
  padding: 28px;
}

dialog.extra-content-modal.director-modal-wide .extra-modal-header {
  padding-right: 48px;
  margin-bottom: 20px;
}

dialog.extra-content-modal.director-modal-wide .director-profiles-modal-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  align-items: stretch;
  gap: 18px;
}

dialog.extra-content-modal.director-modal-wide .director-modal-profile-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

dialog.extra-content-modal.director-modal-wide .director-modal-profile-header {
  min-height: 104px;
  padding: 16px 18px 14px;
}

dialog.extra-content-modal.director-modal-wide .director-modal-profile-header h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

dialog.extra-content-modal.director-modal-wide .director-modal-profile-card .extra-modal-director-body {
  flex: 1;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 16px 18px 18px;
}

dialog.extra-content-modal.director-modal-wide .director-profile-portrait {
  width: 112px;
  height: 148px;
  min-width: 112px;
}

dialog.extra-content-modal.director-modal-wide .director-profile-copy {
  min-width: 0;
}

dialog.extra-content-modal.director-modal-wide .director-profile-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.58;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

dialog.extra-content-modal.director-modal-wide .director-profile-links {
  margin-top: 14px;
  gap: 8px;
}

/* Dos perfiles: se reparten cómodamente en dos columnas. */
@media (min-width: 900px) {
  dialog.extra-content-modal.director-modal-wide
  .director-profiles-modal-list:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Pantallas medianas: dos columnas amplias. */
@media (max-width: 1120px) {
  dialog.extra-content-modal.director-modal-wide {
    width: calc(100vw - 36px);
  }

  dialog.extra-content-modal.director-modal-wide .director-profiles-modal-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Móvil: una tarjeta por fila, sin columnas de texto estrechas. */
@media (max-width: 720px) {
  dialog.extra-content-modal.director-modal-wide {
    width: calc(100vw - 18px);
    max-height: calc(100dvh - 20px);
  }

  dialog.extra-content-modal.director-modal-wide .extra-content-modal-inner {
    max-height: calc(100dvh - 20px);
  }

  dialog.extra-content-modal.director-modal-wide .director-extra-modal {
    padding: 22px 16px;
  }

  dialog.extra-content-modal.director-modal-wide .director-profiles-modal-list {
    grid-template-columns: 1fr;
  }

  dialog.extra-content-modal.director-modal-wide
  .director-modal-profile-card .extra-modal-director-body {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 13px;
    padding: 14px;
  }

  dialog.extra-content-modal.director-modal-wide .director-profile-portrait {
    width: 92px;
    height: 122px;
    min-width: 92px;
  }

  dialog.extra-content-modal.director-modal-wide .director-profile-copy p {
    font-size: 13.5px;
    line-height: 1.52;
  }
}


/* =========================================================
   Ajuste móvil de perfiles de directores
   Foto en cabecera y biografía a ancho completo
   ========================================================= */
@media (max-width: 720px) {
  dialog.extra-content-modal.director-modal-wide
  .director-modal-profile-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    grid-template-rows: auto auto;
    align-items: start;
    overflow: hidden;
  }

  dialog.extra-content-modal.director-modal-wide
  .director-modal-profile-header {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    padding: 14px 10px 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  dialog.extra-content-modal.director-modal-wide
  .director-modal-profile-header h3 {
    font-size: 1.18rem;
    line-height: 1.08;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  dialog.extra-content-modal.director-modal-wide
  .director-modal-profile-header p {
    font-size: .75rem;
    line-height: 1.3;
  }

  dialog.extra-content-modal.director-modal-wide
  .director-modal-profile-card .extra-modal-director-body {
    display: contents;
  }

  dialog.extra-content-modal.director-modal-wide
  .director-profile-portrait {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    width: 62px;
    height: 82px;
    min-width: 62px;
    margin: 10px 10px 10px 0;
    border-radius: 9px;
  }

  dialog.extra-content-modal.director-modal-wide
  .director-profile-copy {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, .06);
  }

  dialog.extra-content-modal.director-modal-wide
  .director-profile-copy p {
    width: 100%;
    margin: 0;
    font-size: 13.5px;
    line-height: 1.58;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  dialog.extra-content-modal.director-modal-wide
  .director-profile-links {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }
}

/* Teléfonos muy estrechos */
@media (max-width: 390px) {
  dialog.extra-content-modal.director-modal-wide
  .director-modal-profile-card {
    grid-template-columns: minmax(0, 1fr) 68px;
  }

  dialog.extra-content-modal.director-modal-wide
  .director-profile-portrait {
    width: 56px;
    height: 74px;
    min-width: 56px;
    margin-right: 8px;
  }

  dialog.extra-content-modal.director-modal-wide
  .director-modal-profile-header {
    padding-left: 12px;
  }

  dialog.extra-content-modal.director-modal-wide
  .director-profile-copy {
    padding: 12px;
  }
}


/* =========================================================
   AFICHE DE LA FICHA TÉCNICA — COMPONENTE ÚNICO
   El catálogo principal mantiene sus propias imágenes.
   ========================================================= */

@media (min-width: 701px) {
  .modal-layout.detail-poster-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
  }

  .detail-poster-column {
    min-width: 0;
    align-self: stretch;
    padding: 0;
  }

  .detail-poster-button {
    position: sticky;
    top: 18px;
    width: 240px;
    height: 360px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #080a0e;
    cursor: zoom-in;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  }

  .detail-poster-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    background: #080a0e;
  }

  .detail-poster-zoom-hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 7px 9px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(4,6,9,.78);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    opacity: 0;
    transform: translateY(4px);
    transition: .18s ease;
  }

  .detail-poster-button:hover .detail-poster-zoom-hint,
  .detail-poster-button:focus-visible .detail-poster-zoom-hint {
    opacity: 1;
    transform: translateY(0);
  }

  .detail-poster-button:hover .detail-poster-image {
    filter: brightness(.92);
  }
}

@media (max-width: 700px) {
  .modal-layout.detail-poster-layout {
    grid-template-columns: 1fr;
  }

  .detail-poster-column {
    display: none;
  }
}


.detail-poster-static{width:240px;height:360px;display:grid;place-items:center;margin:0;padding:0;overflow:hidden;border:0;background:#080a0e;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}

/* Visor ampliado uniforme. El 100% significa “ajustado completo”. */
.detail-poster-viewer {
  width: min(1120px, calc(100vw - 28px));
  height: min(94dvh, 980px);
  max-width: none;
  max-height: none;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(232,185,67,.38);
  border-radius: 16px;
  background: rgba(7,9,12,.98);
  color: #fff;
  box-shadow: 0 30px 100px rgba(0,0,0,.78);
}

.detail-poster-viewer[open] {
  display: grid;
  grid-template-rows: 42px minmax(0, 1fr) 28px;
  gap: 8px;
}

.detail-poster-viewer::backdrop {
  background: rgba(0,0,0,.9);
  backdrop-filter: blur(9px);
}

.detail-poster-viewer-close {
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(0,0,0,.76);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.detail-poster-viewer-toolbar {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 50px;
}

.detail-poster-viewer-toolbar button {
  height: 34px;
  min-width: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.detail-poster-viewer-toolbar button:hover:not(:disabled) {
  border-color: rgba(232,185,67,.55);
  background: rgba(232,185,67,.14);
  color: var(--gold2);
}

.detail-poster-viewer-toolbar button:disabled {
  opacity: .32;
  cursor: default;
}

.detail-poster-viewer-toolbar [data-detail-fit] {
  min-width: 82px;
}

.detail-poster-viewer-toolbar strong {
  min-width: 54px;
  text-align: center;
  font-size: 12px;
}

.detail-poster-viewer-stage {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: block;
  overflow: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at center, rgba(255,255,255,.035), transparent 58%),
    #080a0e;
  scrollbar-color: rgba(255,255,255,.38) rgba(255,255,255,.05);
}

.detail-poster-viewer-canvas {
  min-width: 100%;
  min-height: 100%;
  display: grid;
  place-items: center;
}

.detail-poster-viewer-stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  box-shadow: 0 18px 60px rgba(0,0,0,.46);
}

.detail-poster-viewer-title {
  min-width: 0;
  margin: 0 48px;
  overflow: hidden;
  align-self: center;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #e6e8eb;
  font-size: 13px;
  font-weight: 750;
}

@media (max-width: 700px) {
  .detail-poster-viewer {
    width: calc(100vw - 12px);
    height: calc(100dvh - 14px);
    padding: 10px;
    border-radius: 12px;
  }

  .detail-poster-viewer[open] {
    grid-template-rows: 40px minmax(0, 1fr) 26px;
    gap: 6px;
  }

  .detail-poster-viewer-toolbar {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 46px 0 0;
  }

  .detail-poster-viewer-toolbar button {
    flex: none;
  }
}


/* =========================================================
   Corrección móvil horizontal:
   los botones permanecen dentro de “Contenido de la película”
   ========================================================= */
@media (orientation: landscape) and (max-height: 620px) and (max-width: 1000px) {
  .movie-extra-hub.movie-extra-launcher {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .movie-extra-launcher-copy {
    min-width: 0;
    padding: 3px 6px 0;
  }

  .movie-extra-launch-buttons {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: flex;
    gap: 6px;
    padding: 0 0 4px;
    overflow-x: auto;
    overflow-y: hidden;
    box-sizing: border-box;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
  }

  .movie-extra-launch-buttons button {
    flex: 0 0 auto;
    min-width: 112px;
    max-width: 148px;
    min-height: 42px;
    padding: 7px 10px;
    scroll-snap-align: start;
  }
}


/* =========================================================
   EL PROYECTO DINÁMICO: ENCUADRE EDITABLE DE FOTOGRAFÍAS
   ========================================================= */
.team-photo-frame{
  width:190px;
  height:300px;
  min-height:300px;
  align-self:start;
  position:relative;
  overflow:hidden;
  border-radius:12px;
  background:#0a0d11;
}
.team-card .team-photo{
  width:100%;
  height:100%;
  min-height:0;
  display:block;
  object-fit:cover;
  object-position:var(--team-photo-x,50%) var(--team-photo-y,50%);
  transform:
    translate3d(var(--team-photo-pan-x,0%),var(--team-photo-pan-y,0%),0)
    scale(var(--team-photo-zoom,1));
  transform-origin:center;
  will-change:transform;
  border-radius:0;
  background:#0a0d11;
}
.team-socials a{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid #39414c;
  border-radius:50%;
  color:#fff;
  opacity:.78;
  text-decoration:none;
}
.team-socials a:hover{border-color:var(--gold);color:var(--gold2);opacity:1}

.team-organization{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  width:100%;
  min-width:0;
  overflow:visible;
  background:transparent;
}
.team-organization-logo-link{
  width:100%;
  min-width:0;
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  overflow:visible;
  background:transparent;
  text-decoration:none;
}
/* El logo de organización NO hereda las reglas de la fotografía del integrante. */
.team-card .team-organization-logo{
  display:block;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  max-width:min(100%,calc(260px * var(--team-organization-scale,1)));
  max-height:calc(92px * var(--team-organization-scale,1));
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:left center!important;
  border-radius:0!important;
  background:transparent!important;
}
.team-organization span{
  color:#9fa6b0;
  font-size:12px;
  line-height:1.3;
}


@media(max-width:700px){
  .project-page-body .team-photo-frame{
    width:108px;
    height:152px;
    min-height:0;
    border-radius:10px;
  }
  .project-page-body .team-card .team-photo{
    width:100%;
    height:100%;
    aspect-ratio:auto;
  }
  .project-page-body .team-organization{
    margin-top:15px;
    padding-top:12px;
  }
  .project-page-body .team-organization-logo-link{
    min-height:62px;
  }
  .project-page-body .team-card .team-organization-logo{
    max-width:min(100%,calc(220px * var(--team-organization-scale,1)));
    max-height:calc(76px * var(--team-organization-scale,1));
  }
}
@media(max-width:420px){
  .project-page-body .team-photo-frame{
    width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:4/5;
  }
}

/* =========================================================
   CATÁLOGO EN FILAS HORIZONTALES / REELS
   Portada principal del catálogo. La cuadrícula tradicional
   se conserva para búsquedas, filtros y Selección ELCO.
   ========================================================= */
.catalog-rows{
  display:grid;
  gap:38px;
  margin-top:10px;
}

.catalog-rows.hidden,
.catalog-grid.hidden{
  display:none!important;
}

.view-toggle[hidden]{
  display:none!important;
}

.catalog-reel{
  min-width:0;
}

.catalog-reel-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
}

.catalog-reel-heading h3{
  margin:0;
  font-family:Georgia,serif;
  font-size:clamp(24px,2.3vw,34px);
  line-height:1.05;
  color:var(--text);
}

.catalog-reel-body{
  position:relative;
  min-width:0;
}

.catalog-reel-edge{
  position:absolute;
  top:50%;
  z-index:6;
  width:46px;
  height:58px;
  display:grid;
  place-items:center;
  border:1px solid rgba(226,180,73,.62);
  border-radius:999px;
  background:rgba(9,11,15,.9);
  color:#fff;
  font-size:34px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(0,0,0,.34);
  backdrop-filter:blur(8px);
  transform:translateY(-50%);
  transition:border-color .2s,background .2s,opacity .2s,transform .2s;
}

.catalog-reel-edge-left{left:8px}
.catalog-reel-edge-right{right:8px}

.catalog-reel-edge:hover:not(:disabled){
  border-color:var(--gold);
  background:rgba(24,28,35,.97);
  transform:translateY(-50%) scale(1.04);
}

.catalog-reel-edge:disabled{
  opacity:.22;
  cursor:default;
}

.catalog-reel-edge.is-hidden{
  opacity:0;
  pointer-events:none;
}

.catalog-reel-track{
  display:flex;
  gap:16px;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  padding:3px 3px 14px;
  scroll-snap-type:x proximity;
  scroll-behavior:smooth;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  scrollbar-color:rgba(226,180,73,.42) transparent;
}

.catalog-reel-track::-webkit-scrollbar{
  height:7px;
}

.catalog-reel-track::-webkit-scrollbar-track{
  background:transparent;
}

.catalog-reel-track::-webkit-scrollbar-thumb{
  background:rgba(226,180,73,.38);
  border-radius:999px;
}

.catalog-reel .movie-card{
  flex:0 0 clamp(155px,15vw,205px);
  width:clamp(155px,15vw,205px);
  min-width:0;
  scroll-snap-align:start;
  display:flex;
  flex-direction:column;
  border-radius:14px;
  background:#12161c;
}

.catalog-reel .poster-wrap{
  width:100%;
  height:auto;
  aspect-ratio:2/3;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:#080a0e;
}

.catalog-reel .poster-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.catalog-reel .card-body{
  min-width:0;
  min-height:88px;
  padding:12px 12px 13px;
}

.catalog-reel .card-body h3{
  min-height:2.4em;
  margin:0 0 7px;
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  font-size:15px;
  line-height:1.2;
}

.catalog-reel .card-meta{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  font-size:10.5px;
  line-height:1.35;
}

.catalog-reel .card-badge{
  top:8px;
  left:8px;
  max-width:calc(100% - 16px);
  padding:5px 7px;
  font-size:8px;
}

.catalog-reel .play-float{
  right:9px;
  bottom:9px;
  width:35px;
  height:35px;
  font-size:12px;
}

.catalog-row-empty{
  flex:1 0 100%;
  min-height:130px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  border:1px dashed var(--line);
  border-radius:14px;
  background:rgba(17,21,27,.56);
  color:var(--muted);
  text-align:center;
}

@media(max-width:760px){
  .catalog-rows{
    gap:31px;
  }

  .catalog-reel-heading{
    margin-bottom:11px;
  }

  .catalog-reel-heading h3{
    font-size:25px;
  }

  .catalog-reel-edge{
    width:38px;
    height:50px;
    font-size:29px;
    background:rgba(9,11,15,.86);
  }

  .catalog-reel-edge-left{left:4px}
  .catalog-reel-edge-right{right:4px}

  .catalog-reel-track{
    gap:11px;
    margin-right:-18px;
    padding-right:18px;
    padding-bottom:10px;
    scrollbar-width:none;
  }

  .catalog-reel-track::-webkit-scrollbar{
    display:none;
  }

  .catalog-reel .movie-card{
    flex-basis:min(42vw,165px);
    width:min(42vw,165px);
  }

  .catalog-reel .card-body{
    min-height:83px;
    padding:11px 10px 12px;
  }

  .catalog-reel .card-body h3{
    font-size:14px;
  }
}

@media(max-width:380px){
  .catalog-reel .movie-card{
    flex-basis:44vw;
    width:44vw;
  }
}


/* =========================================================
   PATROCINANTES Y ALIADOS
   Logos con contenedores uniformes; la imagen conserva
   siempre su relación de aspecto y admite ajuste visual.
   ========================================================= */
.sponsor-showcase{
  max-width:var(--max);
  margin:54px auto;
  padding:0 24px;
}
.sponsor-showcase-principal{
  margin-top:54px;
  margin-bottom:18px;
}
.sponsor-showcase-allies{
  margin-top:0;
  margin-bottom:90px;
}

.sponsor-showcase-platforms{
  margin-top:18px;
  margin-bottom:20px;
}
.sponsor-showcase-platforms .sponsor-showcase-heading{
  align-items:center;
  margin-bottom:2px;
}
.sponsor-showcase-platforms .sponsor-showcase-heading h2{
  margin-top:2px;
  font-family:inherit;
  font-size:18px;
  font-weight:800;
  letter-spacing:.01em;
}
.sponsor-showcase-platforms .sponsor-track{
  gap:22px;
  padding-top:10px;
  padding-bottom:12px;
}
.sponsor-showcase-platforms .sponsor-logo-card{
  flex-basis:150px;
  width:150px;
  height:100px;
  padding:10px 14px;
}
.sponsor-showcase[hidden]{display:none!important}
.sponsor-showcase-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:18px;
}
.sponsor-showcase-heading h2,
.sponsor-showcase-heading h3{
  margin:5px 0 0;
  font-family:Georgia,serif;
  font-size:clamp(25px,2.7vw,38px);
  line-height:1.05;
}
.sponsor-showcase-heading p{
  max-width:520px;
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
  text-align:right;
}
.sponsor-carousel-body{position:relative;min-width:0}
.sponsor-track{
  display:flex;
  align-items:center;
  gap:24px;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  padding:22px 10px 24px;
  scroll-snap-type:x proximity;
  scroll-behavior:smooth;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  scrollbar-color:rgba(226,180,73,.38) transparent;
}
.sponsor-track::-webkit-scrollbar{height:6px}
.sponsor-track::-webkit-scrollbar-track{background:transparent}
.sponsor-track::-webkit-scrollbar-thumb{background:rgba(226,180,73,.34);border-radius:999px}
.sponsor-logo-card{
  --logo-scale:1;
  --logo-x:0%;
  --logo-y:0%;
  flex:0 0 190px;
  width:190px;
  height:96px;
  display:grid;
  place-items:center;
  overflow:hidden;
  padding:8px;
  border:0;
  border-radius:0;
  background:transparent;
  scroll-snap-align:start;
  text-decoration:none;
  transition:transform .2s,opacity .2s;
}
a.sponsor-logo-card:hover{
  transform:translateY(-2px);
  opacity:.9;
}
.sponsor-logo-card img{
  display:block;
  /* Reserva margen interno para que incluso al escalar hasta 130%
     el logo completo siga dentro de su lienzo y nunca se recorte. */
  max-width:76%;
  max-height:76%;
  width:auto;
  height:auto;
  object-fit:contain;
  object-position:center;
  transform:translate(calc(var(--logo-x) + var(--logo-auto-x,0%)),calc(var(--logo-y) + var(--logo-auto-y,0%))) scale(var(--logo-scale));
  transform-origin:center;
  will-change:transform;
}
/* v76: la misma regla de encaje se aplica a patrocinadores principales,
   patrocinantes, aliados y plataformas, en PC, tablet y móvil. */
.sponsor-showcase-principal .sponsor-logo-card{
  flex-basis:250px;
  width:250px;
  height:124px;
  padding:18px;
}
.sponsor-showcase-allies .sponsor-logo-card{
  flex-basis:170px;
  width:170px;
  height:96px;
  padding:12px;
}
.sponsor-showcase-inline{
  max-width:none;
  margin:8px 0 2px;
  padding:22px 0 4px;
  border-top:1px solid rgba(255,255,255,.07);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.sponsor-showcase-inline .sponsor-showcase-heading{margin-bottom:14px}
.sponsor-showcase-inline .sponsor-showcase-heading h3{font-size:clamp(22px,2.2vw,31px)}
.sponsor-carousel-edge{
  position:absolute;
  top:50%;
  z-index:6;
  width:42px;
  height:52px;
  display:grid;
  place-items:center;
  border:1px solid rgba(226,180,73,.55);
  border-radius:999px;
  background:rgba(9,11,15,.91);
  color:#fff;
  font-size:30px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(0,0,0,.32);
  transform:translateY(-50%);
  transition:opacity .2s,transform .2s,border-color .2s;
}
.sponsor-carousel-edge-left{left:6px}
.sponsor-carousel-edge-right{right:6px}
.sponsor-carousel-edge:hover:not(:disabled){transform:translateY(-50%) scale(1.04);border-color:var(--gold)}
.sponsor-carousel-edge:disabled{opacity:.2;cursor:default}
.sponsor-carousel-edge.is-hidden{opacity:0;pointer-events:none}
@media(max-width:760px){
  .sponsor-showcase{margin:38px auto;padding:0 18px}
  .sponsor-showcase-principal{margin-top:38px;margin-bottom:10px}
  .sponsor-showcase-allies{margin-bottom:70px}
  .sponsor-showcase-heading{display:grid;gap:7px;margin-bottom:14px}
  .sponsor-showcase-heading p{text-align:left;font-size:12px}
  .sponsor-logo-card{flex-basis:155px;width:155px;height:92px;padding:10px}
  .sponsor-showcase-principal .sponsor-logo-card{flex-basis:195px;width:195px;height:112px}
  .sponsor-showcase-allies .sponsor-logo-card{flex-basis:145px;width:145px;height:84px}
  .sponsor-showcase-platforms{margin-top:20px;margin-bottom:18px}
  .sponsor-showcase-platforms .sponsor-showcase-heading{margin-bottom:0}
  .sponsor-showcase-platforms .sponsor-showcase-heading h2{font-size:17px}
  .sponsor-showcase-platforms .sponsor-logo-card{flex-basis:132px;width:132px;height:86px;padding:8px 10px}
  .sponsor-track{gap:14px;margin-right:-18px;padding:18px 18px 20px 4px;scrollbar-width:none}
  .sponsor-track::-webkit-scrollbar{display:none}
  .sponsor-carousel-edge{width:36px;height:46px;font-size:27px}
  .sponsor-carousel-edge-left{left:3px}.sponsor-carousel-edge-right{right:3px}
  .sponsor-showcase-inline{padding-top:18px}
}

/* Portada 37: identidad tenue por defecto y realce al pasar el mouse. */
.hero .eyebrow,
.hero h1,
.hero p{
  transition:color .32s ease,opacity .32s ease,text-shadow .32s ease,filter .32s ease;
}
.hero .eyebrow{opacity:.52}
.hero h1{color:rgba(248,246,238,.56);text-shadow:0 5px 30px rgba(0,0,0,.72)}
.hero p{color:rgba(225,227,231,.60);text-shadow:0 2px 18px rgba(0,0,0,.66)}

@media (hover:hover) and (pointer:fine){
  .hero-content:hover .eyebrow{
    opacity:1;
    color:#f1cf77;
    text-shadow:0 0 18px rgba(241,207,119,.36);
  }
  .hero-content:hover h1{
    color:rgba(255,253,247,.98);
    text-shadow:0 5px 34px rgba(0,0,0,.78),0 0 26px rgba(255,247,221,.18);
  }
  .hero-content:hover p{
    color:rgba(242,244,247,.96);
    text-shadow:0 2px 20px rgba(0,0,0,.72),0 0 18px rgba(255,255,255,.08);
  }
}

/* El control de ampliar queda solo como icono, pero con presencia suficiente. */
.hero-expand-toggle{
  width:52px;
  height:52px;
  font-size:26px;
  border-width:1.5px;
  box-shadow:0 8px 24px rgba(0,0,0,.28);
}

@media (hover:none), (pointer:coarse){
  /* En móvil y tablet no hay hover: la identidad permanece traslúcida. */
  .hero .eyebrow{opacity:.54}
  .hero h1{color:rgba(248,246,238,.62);text-shadow:0 5px 30px rgba(0,0,0,.72)}
  .hero p{color:rgba(225,227,231,.64);text-shadow:0 2px 18px rgba(0,0,0,.66)}
  /* El botón de ampliar sigue disponible también en pantallas táctiles. */
  .hero-expand-toggle{display:grid!important}
}

@media(max-width:760px){
  .hero-expand-toggle{
    display:grid!important;
    width:46px;
    height:46px;
    font-size:23px;
  }
}

/* Portada 38: controles separados sin alterar su funcionamiento. */
.hero-video-controls{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}
.hero-video-controls .hero-sound-toggle,
.hero-video-controls .hero-expand-toggle{
  position:static;
  inset:auto;
  flex:0 0 auto;
}
.hero-video-controls .hero-sound-toggle{order:1;white-space:nowrap}
.hero-video-controls .hero-expand-toggle{order:2}

/* Un punto más de transparencia, conservando el realce al pasar el mouse. */
.hero .eyebrow{opacity:.48}
.hero h1{color:rgba(248,246,238,.52)}
.hero p{color:rgba(225,227,231,.56)}

@media (hover:none), (pointer:coarse){
  .hero .eyebrow{opacity:.50}
  .hero h1{color:rgba(248,246,238,.58)}
  .hero p{color:rgba(225,227,231,.60)}
}

@media(max-width:760px){
  .hero-video-controls{
    gap:9px;
    max-width:calc(100vw - 28px);
  }
  .hero-video-controls .hero-sound-toggle,
  .hero-video-controls .hero-expand-toggle{
    position:static;
  }
}

/* Vista ampliada: evita mostrar el poster anterior mientras carga el video actual. */
.hero-expanded-video{transition:opacity .14s ease}
.hero-expanded-video.is-loading{opacity:0}
.hero-video-dialog-shell{background:#000}

@media(max-width:560px){
  .elco-player-toolbar{justify-content:flex-end;gap:7px;padding:6px 9px}
  .elco-player-tool{width:38px;height:38px;min-width:38px;min-height:38px}
  .elco-player-tool svg{width:20px;height:20px}
  .elco-player-fullscreen svg{width:21px;height:21px}
  .elco-cast-status{left:9px;right:9px;bottom:calc(100% + 7px);max-width:none;font-size:11.5px}
}
@media (min-width:561px) and (max-width:900px){
  .elco-player-toolbar{padding-right:14px}
}

/* v53 · Películas disponibles en varias plataformas */
.movie-availability{display:grid;gap:9px;margin:10px 0 20px;padding:12px 13px;border:1px solid rgba(232,185,67,.24);border-radius:12px;background:rgba(232,185,67,.045)}
.movie-availability-label{color:var(--gold2);font-size:10px;font-weight:900;letter-spacing:.12em}
.movie-platform-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.movie-platform-link{display:inline-flex;align-items:center;min-height:38px;padding:7px 10px;border:1px solid var(--line);border-radius:10px;background:#0b0e13;color:#f4f5f7;text-decoration:none;transition:transform .15s ease,border-color .15s ease,background .15s ease}
.movie-platform-link:hover,.movie-platform-link:focus-visible{transform:translateY(-1px);border-color:rgba(232,185,67,.58);background:#121720;outline:none}
.movie-platform-link.is-primary{border-color:rgba(232,185,67,.52);box-shadow:inset 0 0 0 1px rgba(232,185,67,.08)}
.platform-logo{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.platform-logo-mark{min-width:24px;height:22px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:950;letter-spacing:-.05em;line-height:1}
.platform-logo-mark svg{display:block;width:24px;height:18px}
.platform-logo-mark-image{width:28px;min-width:28px;height:24px;overflow:hidden;border-radius:4px;background:rgba(255,255,255,.94);padding:2px}
.platform-logo-mark-image img{display:block;width:100%;height:100%;object-fit:contain}
.platform-logo-registered .platform-logo-name{font-weight:850}
.platform-logo-name{font-size:11px;font-weight:850;letter-spacing:.01em}
.platform-youtube .platform-logo-mark{color:#ff0033}
.platform-vimeo .platform-logo-mark{color:#58b8e8;font-size:22px;font-style:italic;font-family:Georgia,serif}
.platform-prime-video .platform-logo-mark{color:#62b8ff;font-size:10px;letter-spacing:-.08em}
.platform-apple-tv .platform-logo-mark{border:1px solid #5f6570;border-radius:6px;padding:0 5px;min-width:30px;color:#fff;font-size:10px;letter-spacing:-.08em}
.platform-netflix .platform-logo-mark{color:#e50914;font-size:19px;font-family:Arial Black,Arial,sans-serif}
.platform-tubi .platform-logo-mark{color:#a970ff;font-size:10px}
.platform-mubi .platform-logo-mark{color:#fff;letter-spacing:-.12em}
.platform-plex .platform-logo-mark{color:#e5a900;font-size:27px;font-family:Arial,sans-serif}
.platform-max .platform-logo-mark{color:#7c8cff;font-size:10px}
.platform-hulu .platform-logo-mark{color:#1ce783;font-size:10px}
.platform-disney-plus .platform-logo-mark{color:#79a8ff;font-size:11px}
.platform-paramount-plus .platform-logo-mark{color:#7ab7ff;font-size:11px}
.platform-pluto-tv .platform-logo-mark{color:#ffd000;font-size:9px}
.platform-the-roku-channel .platform-logo-mark{color:#a56cff;font-size:9px}
.platform-vix .platform-logo-mark{color:#ff7a1a;font-size:11px}
.platform-kanopy .platform-logo-mark{color:#ff6a38;font-size:17px}
.platform-google-tv .platform-logo-mark{color:#5aa9ff;font-size:15px}
.platform-otra .platform-logo-mark{color:var(--gold2);font-size:17px}
@media(max-width:560px){.movie-availability{margin:8px 0 16px;padding:10px}.movie-platform-links{gap:6px}.movie-platform-link{min-height:36px;padding:6px 8px}.platform-logo-name{font-size:10px}}


/* v55: indicador de subtítulos en cada miniatura del catálogo. */
.card-subtitle-badge{
  position:absolute;
  top:12px;
  right:12px;
  z-index:3;
  max-width:calc(100% - 92px);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  padding:6px 9px;
  border:1px solid rgba(241,207,119,.72);
  border-radius:8px;
  background:rgba(7,8,10,.88);
  color:#f1cf77;
  box-shadow:0 6px 18px rgba(0,0,0,.28);
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.035em;
}
@media(max-width:700px){
  .card-subtitle-badge{top:9px;right:9px;padding:5px 7px;font-size:9px;max-width:calc(100% - 72px)}
}
.catalog-reel .card-subtitle-badge{top:10px;right:10px;padding:5px 7px;font-size:9px;max-width:calc(100% - 68px)}

/* Disponibilidad de enlaces */
.movie-card.is-unavailable{border-color:rgba(190,67,67,.34)}
.movie-card.is-unavailable .poster-wrap img{filter:grayscale(.35) brightness(.72)}
.movie-card.is-unavailable .card-badge{background:rgba(86,20,20,.88);color:#ffb1b1}
.movie-card.is-unavailable .play-float{background:#3a2020;color:#ffb1b1;box-shadow:none}
.movie-unavailable-notice{border-color:rgba(190,67,67,.34);background:rgba(190,67,67,.075)}
.movie-unavailable-notice .movie-availability-label{color:#ff9b9b}
.movie-unavailable-notice p{margin:0;color:#c8cbd1;font-size:13px;line-height:1.5}

/* =========================================================
   PREVIEW AUTOMÁTICO DEL TRAILER EN LA FICHA
   ========================================================= */
.video-frame.has-trailer-preview{
  overflow:hidden;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.video-frame.has-trailer-preview::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(3,5,8,.12) 0%,rgba(3,5,8,.24) 54%,rgba(3,5,8,.62) 100%);
}
.trailer-auto-preview{
  position:absolute;
  inset:-2%;
  width:104%;
  height:104%;
  border:0;
  pointer-events:none;
  opacity:0;
  filter:brightness(.72) saturate(.9);
  transform:scale(1.025);
  transition:opacity .55s ease;
  z-index:0;
}
.trailer-auto-preview.is-visible{opacity:.72}
.trailer-auto-preview.is-ending{opacity:0}
.video-frame.has-trailer-preview .movie-play-trigger{
  position:relative;
  z-index:3;
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}
.video-frame.has-trailer-preview.preview-finished{
  background-position:center;
  background-size:cover;
}

/* =========================================================
   v73 — FILTROS COMPACTOS Y ALINEADOS
   Escritorio: todos los desplegables + Restablecer en una fila.
   Tablet: distribución compacta en dos filas equilibradas.
   Móvil: conserva el panel desplegable existente.
   ========================================================= */
@media (min-width:1100px){
  .filter-row{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr)) auto;
    align-items:center;
    gap:8px;
    flex-wrap:nowrap;
  }
  .filter-row select{
    width:100%;
    min-width:0;
    padding:10px 8px;
    font-size:13px;
  }
  .filter-row .text-button{
    white-space:nowrap;
    padding:0 7px;
    min-width:max-content;
  }
}

@media (min-width:761px) and (max-width:1099px){
  .filter-row{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    align-items:center;
    gap:8px;
  }
  .filter-row select{
    width:100%;
    min-width:0;
    padding:10px 9px;
    font-size:13px;
  }
  .filter-row .text-button{
    justify-self:start;
    white-space:nowrap;
    min-height:40px;
    padding:0 8px;
  }
}

/* =========================================================
   v74 — FILTROS EN UNA SOLA FILA AL GIRAR MÓVIL/TABLET
   PC y orientación horizontal: una fila compacta.
   Orientación vertical móvil/tablet: conserva el panel desplegable.
   ========================================================= */
@media (orientation:landscape) and (min-width:600px) and (max-width:1099px){
  .filter-toggle{
    display:none !important;
  }
  .filter-row,
  .filter-row.is-open{
    display:grid !important;
    grid-template-columns:repeat(6,minmax(0,1fr)) auto;
    align-items:center;
    gap:6px;
    margin:12px 0 24px;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
  }
  .filter-row select{
    width:100%;
    min-width:0;
    min-height:38px;
    padding:8px 5px;
    border-radius:9px;
    font-size:11px;
  }
  .filter-row .text-button{
    justify-self:start;
    min-width:max-content;
    min-height:38px;
    padding:0 5px;
    border:0;
    white-space:nowrap;
    font-size:11px;
  }
}


/* v81 — Disponibilidad por países: bloque informativo compacto */
.movie-regional-availability{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  column-gap:7px;
  row-gap:3px;
  margin:-8px 0 13px;
  padding:7px 10px 8px;
  border:1px solid rgba(232,185,67,.14);
  border-radius:9px;
  background:rgba(255,255,255,.018);
}
.movie-regional-availability-label{
  color:var(--gold2);
  font-size:9px;
  font-weight:850;
  letter-spacing:.10em;
  white-space:nowrap;
}
.movie-regional-availability strong{
  color:rgba(255,255,255,.82);
  font-size:11px;
  font-weight:650;
  line-height:1.35;
}
.movie-regional-availability small{
  flex:0 0 100%;
  color:rgba(255,255,255,.48);
  font-size:9px;
  line-height:1.35;
}
@media(max-width:760px){
  .movie-regional-availability{
    column-gap:6px;
    row-gap:3px;
    margin:-5px 0 11px;
    padding:7px 9px;
  }
  .movie-regional-availability-label{font-size:8.5px}
  .movie-regional-availability strong{font-size:10.5px}
  .movie-regional-availability small{font-size:8.5px}
}

/* =========================================================
   v82 — TRAILER/PREVIEW SIN TRANSPARENCIA
   Mientras el trailer está reproduciéndose, se muestra a
   brillo y opacidad normales y se retira el velo oscuro.
   El afiche inicial se conserva hasta que el video comienza
   para evitar destellos negros.
   ========================================================= */
.video-frame.has-trailer-preview::after{
  opacity:1;
  transition:opacity .22s ease;
}
.video-frame.has-trailer-preview.preview-playing::after{
  opacity:0;
}
.trailer-auto-preview.is-visible{
  opacity:1;
  filter:none;
}


/* =========================================================
   v88 — Contenido de la película: flechas sutiles sin barra
   ========================================================= */
.movie-extra-launch-scroll{
  position:relative;
  width:100%;
  min-width:0;
  max-width:100%;
  overflow:hidden;
}

.movie-extra-launch-buttons{
  padding:0 30px 2px;
  scrollbar-width:none!important;
  -ms-overflow-style:none;
}
.movie-extra-launch-buttons::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
}

.movie-extra-scroll-arrow{
  position:absolute;
  z-index:3;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:36px;
  padding:0;
  display:grid;
  place-items:center;
  border:1px solid rgba(232,185,67,.28);
  border-radius:999px;
  background:rgba(9,12,17,.84);
  color:rgba(241,198,83,.86);
  font-size:22px;
  font-weight:400;
  line-height:1;
  cursor:pointer;
  opacity:.78;
  transition:opacity .18s ease,border-color .18s ease,background .18s ease;
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}
.movie-extra-scroll-arrow:hover{
  opacity:1;
  border-color:rgba(232,185,67,.52);
  background:rgba(20,22,25,.94);
}
.movie-extra-scroll-arrow:focus-visible{
  outline:2px solid rgba(241,198,83,.7);
  outline-offset:2px;
}
.movie-extra-scroll-left{left:1px}
.movie-extra-scroll-right{right:1px}
.movie-extra-scroll-arrow.is-hidden{
  opacity:0;
  pointer-events:none;
}

/* v91 — detección por capacidad real de puntero.
   Una laptop táctil con touchpad/mouse conserva las flechas.
   Un móvil/tablet táctil sin puntero fino usa solo el gesto. */
.movie-extra-launch-scroll.is-touch-only .movie-extra-scroll-arrow{
  display:none!important;
}
.movie-extra-launch-scroll.is-touch-only .movie-extra-launch-buttons{
  padding-left:0!important;
  padding-right:0!important;
}

/* v94 — Biblioteca: navegación móvil de cinco accesos solo en páginas que la habilitan */
@media(max-width:800px){
  body.library-nav-enabled .mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))}
  body.library-nav-enabled .mobile-nav a{min-width:0}
}

/* v99 — La navegación móvil principal incorpora Cartelera sin afectar otras páginas */
@media(max-width:800px){
  body.cartelera-nav-enabled .mobile-nav{grid-template-columns:repeat(6,minmax(0,1fr))}
  body.cartelera-nav-enabled .mobile-nav a{min-width:0;font-size:10px}
}

/* ELCOplay NAV CLEANUP v1 */
@media (min-width: 901px) {
  .site-header .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 1.55vw, 28px);
  }

  .site-header .desktop-nav > a {
    white-space: nowrap;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .site-header .desktop-nav {
    gap: 16px;
  }
}
/* FIN ELCOplay NAV CLEANUP v1 */
