.entry-page{max-width:1140px;padding-top:28px}
.entry-card.entry-reference{padding:0!important;border:1px solid #202a36!important;border-radius:25px;background:#0b1017!important;box-shadow:0 25px 65px #0008!important;overflow:hidden!important}
.reference-main{display:grid;grid-template-columns:35% minmax(0,1fr);align-items:start}
.reference-cover{padding:9px 12px;background:#070c10;align-self:stretch;display:flex;align-items:start}
.reference-cover img{display:block;width:100%;height:auto;max-height:565px;object-fit:contain;border:1px solid #26313d;border-radius:18px;background:#05090c}
.reference-info{min-width:0;border-top:3px solid #286ed1}
.reference-heading{position:relative;padding:25px 52px 18px 27px;border-bottom:1px solid #242d38;background:linear-gradient(115deg,#101720,#142030)}
.reference-kind{font:700 13px/1.4 Inter,sans-serif;letter-spacing:2px;color:#6ba6ff;margin-bottom:7px}
.reference-heading h1{font:650 clamp(21px,2.2vw,28px)/1.28 Inter,sans-serif;letter-spacing:-.7px;color:#f1f4f8;margin:0;text-wrap:balance}
.reference-back{position:absolute;right:14px;top:12px;display:grid;place-items:center;width:35px;height:35px;border:1px solid #23303b;border-radius:11px;background:#080e15;color:#a6b4c0;text-decoration:none;font:300 25px/1 Inter,sans-serif}
.reference-back:hover{color:#fff;border-color:#4e6580}
.reference-content{padding:15px 19px 18px}
.reference-sheet{border:1px solid #27313c;border-radius:17px;background:linear-gradient(115deg,#151c24,#111820);overflow:hidden}
.reference-sheet h2{font:650 13px/1.4 Inter,sans-serif;letter-spacing:1.3px;color:#8e9eb0;padding:12px 15px 10px;border-bottom:1px solid #28313c;margin:0;background:#ffffff02}
.reference-sheet dl{margin:0;padding:0 15px}
.reference-row{display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px;align-items:baseline;padding:13px 0;border-bottom:1px solid #26303a80}
.reference-row:last-child{border:0}
.reference-row dt{font:650 12px/1.5 Inter,sans-serif;color:#7d8fa2;letter-spacing:.6px}
.reference-row dd{display:flex;align-items:baseline;gap:5px;font:400 14px/1.55 Inter,sans-serif;color:#d6dee7;margin:0;min-width:0;overflow-wrap:anywhere}
.reference-language{white-space:normal;font-size:13px;line-height:1.7}
.reference-pipe{color:#7e92a7;margin:0 3px}
.reference-row .entry-edit-languages{padding:0 0 0 5px;font-size:10px}
.reference-cast{min-width:0;width:100%}
.reference-cast summary{cursor:pointer;list-style:none;font:inherit;color:inherit}
.reference-cast summary::-webkit-details-marker{display:none}
.reference-cast summary span{display:inline-block;font-size:11px;color:#9db6d1;margin-left:7px;border:1px solid #344355;border-radius:5px;padding:0 4px}
.reference-cast p{margin:9px 0 0;color:#a8bacd;font-size:13px;line-height:1.8}
.reference-actions{display:flex;gap:10px;margin-top:15px}
.reference-actions button{display:flex;align-items:center;justify-content:center;gap:10px;flex:1;min-width:0;border-radius:11px;min-height:46px;padding:10px 12px;font:650 13px/1.4 Inter,sans-serif;cursor:pointer}
.reference-trailer-button{background:#246cd4;border:1px solid #3480ed;color:#fff;box-shadow:0 8px 20px #174f9e25}
.reference-trailer-button:hover{background:#307be5}
.reference-download{background:#111a25;border:1px solid #2b3b4a;color:#d9e3ec}
.reference-download:hover{background:#1a2a3a;border-color:#4f7089}
.reference-actions i{font-size:10px}
.reference-more{margin-top:14px;border-top:1px solid #27344170;color:#aebecd}
.reference-more>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;padding:12px 0;font:500 12px/1.5 Inter,sans-serif;color:#94aabf}
.reference-more>summary::-webkit-details-marker{display:none}
.reference-more>summary span{font-size:18px;color:#6f96bd}
.reference-more[open]>summary span{transform:rotate(45deg)}
.reference-more p{font-size:14px;line-height:1.8;color:#b5c5d5;margin:4px 0 14px}
.reference-more a{color:#8db9e4;font-size:13px}
.reference-disc{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:15px 0}
.reference-disc dt{font-size:10px;letter-spacing:.5px;color:#7c94a9;margin-bottom:5px}
.reference-disc dd{font-size:13px;color:#cedae5;margin:0}
.reference-footer{padding:0 24px 15px;border-top:1px solid #28344280}
.entry-reference .entry-reaction{margin:21px 0}
.entry-reference .premium-vip-callout{margin:0!important;width:100%;max-width:none}
.reference-footer>.reference-more:last-child{margin-top:15px}
.reference-footer .entry-related{margin-bottom:5px}
.reference-video-dialog{padding:40px 14px 14px;border:1px solid #3c4d61;border-radius:13px;background:#101923;width:min(560px,calc(100vw - 32px));max-width:calc(100vw - 32px);box-sizing:border-box;color:white}
.reference-video-dialog::backdrop{background:#02060ce6;backdrop-filter:blur(7px)}
.reference-video-close{position:absolute;top:5px;right:9px;background:none;border:0;color:#c7d7e5;font-size:26px;cursor:pointer}
.reference-video-dialog .entry-trailer{max-width:520px}
@media(min-width:1250px){.reference-row{grid-template-columns:108px minmax(0,1fr)}.reference-language{font-size:12px;white-space:nowrap}}
@media(max-width:800px){.reference-main{grid-template-columns:30% minmax(0,1fr)}.reference-content{padding:14px}.reference-heading{padding-left:19px}.reference-row{grid-template-columns:80px minmax(0,1fr);gap:9px}.reference-row dt{font-size:11px}.reference-actions button{font-size:12px;padding:10px 7px}.reference-cover{padding:9px 8px}}
@media(max-width:550px){.entry-card.entry-reference{border-radius:16px}.reference-main{grid-template-columns:1fr}.reference-cover{justify-content:center;padding:16px 16px 0;background:#0b1017}.reference-cover img{width:142px;max-height:220px;border-radius:9px}.reference-info{border-top:0}.reference-heading{padding:18px 44px 16px 18px}.reference-heading h1{font-size:22px}.reference-kind{font-size:11px}.reference-row{grid-template-columns:76px minmax(0,1fr);padding:11px 0}.reference-row dd{font-size:13px}.reference-language{font-size:12px}.reference-sheet dl{padding:0 12px}.reference-sheet h2{font-size:12px}.reference-content{padding:12px}.reference-footer{padding:0 12px 12px}.reference-actions{gap:8px}.reference-actions button{font-size:11px}.reference-disc{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Proporciones y presentación comprobadas en la ficha abierta de catbd. */
body.reference-view{background:radial-gradient(ellipse at 50% 50%,#0b152160,transparent 65%),#05080c;min-height:100vh}
.reference-view>.header,.reference-view>.footer,.reference-view>.bm-live-stats{display:none}
.reference-view .entry-breadcrumb{display:none}
.reference-view .entry-page{width:100%;max-width:1120px;min-height:100vh;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:28px 16px;margin:auto}
.reference-view .entry-reference{width:100%;border-radius:25px;box-shadow:0 30px 95px #000a!important}
.reference-main{grid-template-columns:35.5% minmax(0,1fr);align-items:stretch}
.reference-cover{padding:8px 12px;align-items:stretch;justify-content:center;background:radial-gradient(circle at 50% 15%,#2f7df421,transparent 38%),#070b10}
.reference-cover img{height:100%;max-height:570px;min-height:0;width:100%;object-fit:fill;border-radius:17px;border-color:#ffffff17}
.reference-info{display:flex;flex-direction:column;background:radial-gradient(circle at 92% 8%,#2f7df412,transparent 26%),linear-gradient(#101720,#0b1017)}
.reference-heading{padding:26px 52px 18px 27px;background:none;border-bottom:1px solid #ffffff0b}
.reference-kind{font-size:14px;letter-spacing:2px;color:#66a1ff;margin-bottom:7px}
.reference-heading h1{font-size:32px;font-weight:650;letter-spacing:-.9px;line-height:1.16}
.reference-content{padding:15px 20px 19px;flex:1}
.reference-sheet{border-color:#ffffff0e;border-radius:17px;background:#ffffff05}
.reference-sheet h2{font-size:14px;letter-spacing:1.4px;font-weight:650;color:#718195;padding:13px 15px 11px;border-color:#ffffff0b;background:none}
.reference-sheet dl{padding:0 15px}
.reference-row{grid-template-columns:112px minmax(0,1fr);padding:12px 0;gap:12px;border-color:#ffffff0c}
.reference-row dt{font-size:13px;letter-spacing:.7px;color:#64778b}
.reference-row dd{font-size:16px;line-height:1.45;color:#d5dde6}
.reference-language{font-size:14px;line-height:1.65}
.reference-cast summary{font-size:15px}
.reference-actions{gap:10px;margin-top:16px}
.reference-actions button{height:47px;font-size:13px;font-weight:700;text-transform:none;letter-spacing:0;box-shadow:none}
.reference-trailer-button{background:#236fd7;border-color:#2e7be5}
.reference-download{background:#101922;border-color:#ffffff17}
.reference-download:focus:not(:focus-visible){outline:none}
.reference-content>.reference-more{display:none}
.reference-footer{padding:0 20px;border-top:1px solid #ffffff0a}
.reference-complements-toggle{display:flex;justify-content:space-between;align-items:center;list-style:none;cursor:pointer;padding:9px 0;color:#74899f;font:500 11px/1.4 Inter,sans-serif}
.reference-complements-toggle::-webkit-details-marker{display:none}
.reference-complements-toggle span{font-size:14px}
.reference-footer[open]>.reference-complements-toggle span{transform:rotate(45deg)}
.reference-complements{padding:6px 0 17px}
.reference-view .reference-video-dialog{margin:auto}
@media(max-width:1100px) and (min-width:551px){
 .reference-heading{padding:22px 46px 14px 22px}.reference-heading h1{font-size:27px}.reference-kind{font-size:12px}
 .reference-content{padding:12px 16px 16px}.reference-row{grid-template-columns:88px minmax(0,1fr);padding:9px 0}.reference-row dt{font-size:11px}.reference-row dd{font-size:14px}.reference-language{font-size:12px}.reference-cast summary{font-size:13px}.reference-sheet h2{font-size:12px;padding:11px 12px}.reference-sheet dl{padding:0 12px}.reference-actions button{height:38px;min-height:38px;font-size:11px}.reference-cover{padding:6px 10px}
}
@media(max-width:550px){
 .reference-view .entry-page{padding:14px 10px;align-items:flex-start}.reference-main{grid-template-columns:1fr}.reference-cover{padding:14px 14px 0;align-items:start}.reference-cover img{height:auto;width:155px;max-height:none;object-fit:contain;border-radius:9px}.reference-heading{padding:18px 43px 16px 18px}.reference-heading h1{font-size:25px}.reference-kind{font-size:11px}.reference-content{padding:12px}.reference-sheet h2{font-size:12px}.reference-row{grid-template-columns:75px minmax(0,1fr);gap:10px;padding:11px 0}.reference-row dt{font-size:11px}.reference-row dd{font-size:13px}.reference-language{font-size:12px;white-space:normal}.reference-cast summary{font-size:13px}.reference-actions button{font-size:11px;height:auto;min-height:44px}.reference-footer{padding:0 14px}
}

/* Tarjeta proporcionada y reacción integrada en la barra de acciones. */
.reference-view .entry-page{max-width:960px}
.reference-main{grid-template-columns:32% minmax(0,1fr)}
.reference-view .entry-reference{border-radius:20px}
.reference-heading{padding:20px 48px 15px 22px}
.reference-heading h1{font-size:27px}
.reference-kind{font-size:12px;margin-bottom:6px}
.reference-content{padding:13px 16px 16px}
.reference-sheet h2{font-size:12px;padding:11px 13px}
.reference-sheet dl{padding:0 13px}
.reference-row{grid-template-columns:86px minmax(0,1fr);gap:10px;padding:10px 0}
.reference-row dt{font-size:11px}
.reference-row dd{font-size:14px}
.reference-language{font-size:12px;white-space:normal}
.reference-cast summary{font-size:13px}
.reference-cover{padding:7px 9px}
.reference-cover img{max-height:470px;border-radius:14px;object-fit:contain}
.reference-actions{gap:8px;margin-top:13px;align-items:stretch}
.reference-actions button{height:42px;min-height:42px;font-size:12px;padding:8px 10px}
.reference-actions .reference-like{flex:0 0 auto;min-width:42px;width:auto;height:42px;border:1px solid #65404e;border-radius:10px;background:#45202d45;color:#e7a6bb;padding:8px 11px;gap:5px;box-shadow:none}
.reference-actions .reference-like i{font-size:16px;color:#dc7295}
.reference-actions .reference-like[aria-pressed=true]{border-color:#ce4c7b;background:#6b244180;box-shadow:0 0 12px #e24c7c15}
.reference-actions .reference-like[aria-pressed=true] i{color:#ff75a2}
.reference-like-count{font-size:11px;color:#e6b9c9}
.reference-like-count:empty{display:none}
.reference-english-title{font:400 14px/1.45 Inter,sans-serif;color:#94a8bd;margin:7px 0 0;letter-spacing:.1px}
.reference-video-dialog{width:820px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);padding:0;border:1px solid #ffffff17;border-radius:16px;background:#0b111a;box-shadow:0 28px 80px #0009;overflow:hidden}
.reference-video-dialog::backdrop{background:rgba(0,0,0,.9);backdrop-filter:none}
.reference-video-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 20px;min-height:64px;box-sizing:border-box;border-bottom:1px solid #ffffff0a}
.reference-video-title{font:400 20.8px/1.45 'Bebas Neue',sans-serif;letter-spacing:3px;color:#a7c8ff;min-width:0;overflow-wrap:anywhere}
.reference-video-dialog .reference-video-close{position:static;flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;padding:0;background:#0008;border:1px solid #1a2d45;border-radius:50%;color:#e8eef8;font:14.4px Arial,sans-serif;cursor:pointer}
.reference-video-close:hover{border-color:#5d83b4;background:#17293e}
.reference-video-dialog .entry-trailer{width:100%;max-width:none;margin:0;aspect-ratio:16/9;border:0;border-radius:0;box-shadow:none;background:#000}
.reference-video-dialog .entry-trailer iframe{display:block;width:100%;height:100%;border:0}
@media(max-height:580px) and (min-width:600px){.reference-video-dialog{width:min(820px,calc((100dvh - 106px)*16/9))}}
@media(max-width:550px){.reference-video-dialog{max-width:calc(100vw - 24px)}.reference-video-header{padding:12px 14px;min-height:56px}.reference-video-title{font-size:17px;letter-spacing:2px}}
@media(max-width:550px){.reference-main{grid-template-columns:1fr}.reference-heading h1{font-size:24px}.reference-cover img{height:auto;width:145px;max-height:none}.reference-row{grid-template-columns:72px minmax(0,1fr)}.reference-actions button{font-size:11px;padding:8px 7px}.reference-actions .reference-like{padding:8px;min-width:38px}.reference-actions{gap:6px}}

/* Prueba: módulo interior con las medidas de la tarjeta del catálogo de escritorio. */
.reference-main{grid-template-columns:340px minmax(0,1fr)}
.reference-cover{padding:0 10px;align-items:flex-start;justify-content:center;align-self:center;height:fit-content;background:transparent}
.reference-cover .bluray-cover{width:320px;max-width:100%;flex:0 0 auto;border-radius:13px}
.reference-cover .bluray-cover img.reference-poster-image{width:100%;height:auto!important;max-height:none!important;aspect-ratio:4/5!important;object-fit:fill!important}
.reference-cover .bluray-band{height:29px;min-height:29px;flex-basis:29px}
.reference-cover .bluray-cover .bluray-band img.bluray-logo{height:23px!important;max-height:23px!important;max-width:70px!important}
@media(max-width:550px){.reference-main{grid-template-columns:1fr}.reference-cover{padding:14px 14px 0}.reference-cover .bluray-cover{width:320px;max-width:100%}}

/* Ficha más compacta, conservando el tamaño de la portada. */
.reference-sheet .reference-row{padding-top:7px;padding-bottom:7px}
.reference-actions .reference-trailer-button,
.reference-actions .reference-download{height:36px;min-height:36px;font-size:11px;padding:7px 9px}
.reference-actions .reference-like{height:36px;min-height:36px;min-width:36px;padding:7px 9px}
/* Nota TMDB centrada bajo la portada, alineada con las acciones. */
.reference-cover:has(.reference-tmdb-rating){align-self:stretch;height:auto;display:flex;flex-direction:column;align-items:center;padding:10px 10px 16px;gap:13px}
.reference-cover:has(.reference-tmdb-rating) .bluray-cover{margin:auto 0}
.reference-tmdb-rating{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;min-height:36px;color:#f5c451;font:800 13px/1.55 Inter,Arial,sans-serif;white-space:nowrap}
.reference-tmdb-rating.is-high{color:#10b981}.reference-tmdb-rating.is-medium{color:#f59e0b}.reference-tmdb-rating.is-low{color:#ef4444}.reference-tmdb-rating i{margin-right:3px}
.reference-info{display:flex;flex-direction:column;min-width:0}.reference-content{flex:1;display:flex;flex-direction:column}.reference-content .reference-actions{margin-top:auto;padding-top:13px}
@media(max-width:550px){.reference-cover:has(.reference-tmdb-rating){padding:14px 14px 0;gap:5px}}
.reference-cover .reference-poster-image{animation:none!important;transition:none!important;transform:none!important;opacity:1!important;visibility:visible!important}
.reference-edit-original{font-size:10px;margin-left:5px;color:#7d8fa2}.reference-edit-original:hover{color:#8cbdff}.reference-edition-separator{color:#526477;margin:0 5px}.reference-edition-label{font:inherit;color:inherit}

/* Only the three fixed manual banner placements. */
.bm-manual-ad{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%;min-width:0;min-height:116px;margin:22px auto;padding:8px 0;clear:both}
.bm-manual-ad>small{font:10px Inter,sans-serif;color:#8796a5;letter-spacing:.05em}
.bm-manual-ad[hidden]{display:none!important}
.catalog-grid>.bm-manual-ad{grid-column:1/-1}
.entry-reference>.bm-manual-ad{margin:20px auto 10px}
@media(max-width:780px){.bm-manual-ad{display:none!important}}

/* Compact home advertising panels, with their own violet accent. */
.bm-manual-ad.bm-ad-panel{width:758px;max-width:100%;min-height:0;align-items:center;gap:12px;padding:14px;margin:24px auto;border:1px solid rgba(170,118,255,.28);border-top:3px solid #a879ed;border-radius:13px;background:linear-gradient(135deg,rgba(125,68,190,.12),transparent 65%),#0d1119;box-shadow:0 6px 24px rgba(0,0,0,.2)}
.bm-ad-panel>small{align-self:stretch;text-align:left;font:600 10px Inter,sans-serif;line-height:14px;letter-spacing:.12em;text-transform:uppercase;color:#c1a1e8;padding:0 0 10px;border-bottom:1px solid rgba(170,118,255,.13)}
.bm-ad-panel>ins{flex-shrink:0}

.entry-ad-layout{position:relative;width:100%;min-width:0}
.entry-ad-layout .entry-reference{margin-bottom:0!important}
.entry-ad-layout .bm-entry-side{position:absolute;top:50%;transform:translateY(-50%);width:280px;max-width:none;margin:0;display:none}
.entry-ad-layout[data-format=sides] .bm-entry-side{display:flex}
.entry-ad-layout .bm-entry-left{right:calc(100% + 22px)}
.entry-ad-layout .bm-entry-right{left:calc(100% + 22px)}
.entry-page>.bm-entry-horizontal{margin:18px auto 0}
.reference-view .entry-page{flex-direction:column}.entry-ad-layout{flex-shrink:0}.entry-page>.bm-entry-horizontal{flex-shrink:0}
