/* Biblioteca Viva · Carátulas V0.8 · ONLY the poster, never the video/iframe.
   Background fills its frame; live typography adapts to portrait, wide and audio.
   The same artwork family changes color by release. No generated controls in art. */
#biblioteca-viva .bv-poster,
.bv-player-shell .bv-poster{
 --cover-ink:#314c75;--cover-soft:#496487;--cover-tint-a:#b7adf2;--cover-tint-b:#b8e7ff;
 --cover-wash:#edf0ff;--cover-hue:0deg;--cover-saturation:1.12;
 container-type:size;
 display:block;isolation:isolate;
 background:linear-gradient(145deg,#f6f4ff,#d2d5f7 32%,#a6d9f4 68%,#f7deef);
}
#biblioteca-viva .bv-poster[data-palette=rosa],
.bv-player-shell .bv-poster[data-palette=rosa]{
 --cover-ink:#674763;--cover-soft:#77576e;--cover-tint-a:#f7bfe1;--cover-tint-b:#ffdfb8;
 --cover-wash:#fff1f8;--cover-hue:58deg;--cover-saturation:1.07;
 background:linear-gradient(145deg,#fff1f8,#eecfe8 32%,#efbdcb 68%,#ffebca);
}
#biblioteca-viva .bv-poster[data-palette=agua],
.bv-player-shell .bv-poster[data-palette=agua]{
 --cover-ink:#285b6e;--cover-soft:#437489;--cover-tint-a:#b9f1e5;--cover-tint-b:#aed9fd;
 --cover-wash:#ecfcfa;--cover-hue:319deg;--cover-saturation:1.05;
 background:linear-gradient(145deg,#f2fcff,#c5ebf2 32%,#a4e4da 68%,#e3d8ff);
}
/* No contain: the artwork is a backdrop. Actual media stays contain in v008.css. */
#biblioteca-viva .bv-poster>img,
.bv-player-shell .bv-poster>img{
 display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;
 object-fit:cover;object-position:50% 64%;
 opacity:1;filter:hue-rotate(var(--cover-hue)) saturate(var(--cover-saturation));
 pointer-events:none;z-index:0;
}
#biblioteca-viva .bv-poster::before,
.bv-player-shell .bv-poster::before{
 content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
 background:
  radial-gradient(ellipse at 12% 0%,var(--cover-tint-a),transparent 59%),
  radial-gradient(ellipse at 94% 40%,var(--cover-tint-b),transparent 64%),
  linear-gradient(180deg,var(--cover-wash) 0%,#ffffffc9 23%,#ffffff35 52%,#ffffff00 75%);
 opacity:.88;
}
#biblioteca-viva .bv-poster::after,
.bv-player-shell .bv-poster::after{
 content:attr(data-month);position:absolute;left:0;right:0;top:26%;z-index:1;
 pointer-events:none;text-align:center;font:300 clamp(100px,56cqw,280px)/1 Arial,sans-serif;
 letter-spacing:-.07em;color:#ffffff21;text-shadow:0 1px 0 #c9b7ef14;
}
#biblioteca-viva .bv-cover-message,
.bv-player-shell .bv-cover-message{
 display:flex;flex-direction:column;justify-content:flex-start;align-items:center;
 position:absolute;inset:0;z-index:2;gap:13px;
 padding:13% 8% 90px;background:none;pointer-events:none;text-align:center;
}
#biblioteca-viva .bv-cover-type,
.bv-player-shell .bv-cover-type{
 display:inline-block;max-width:100%;font-size:9px;font-weight:650;line-height:1.5;
 letter-spacing:.12em;padding:6px 12px;white-space:normal;
 color:var(--cover-ink);background:#ffffff8a;border:1px solid #ffffffc9;
 border-radius:999px;box-shadow:inset 0 1px 2px #ffffffbb,0 5px 14px #899bb516;
}
#biblioteca-viva .bv-cover-number,
.bv-player-shell .bv-cover-number{
 font-size:14px;letter-spacing:.1em;line-height:1.35;font-weight:500;
 color:var(--cover-soft);font-variant-numeric:tabular-nums;
}
#biblioteca-viva .bv-cover-message strong,
.bv-player-shell .bv-cover-message strong{
 display:block;font-family:'Satoshi',Arial,sans-serif;
 font-size:clamp(26px,10.2cqw,45px);line-height:1.08;letter-spacing:-.04em;
 font-weight:500;max-width:100%;margin:3px 0 0;
 color:var(--cover-ink);text-shadow:0 2px 16px #ffffffa3;
 overflow-wrap:break-word;text-wrap:balance;
}
#biblioteca-viva .bv-poster-format,
.bv-player-shell .bv-poster-format{
 font-size:11px;line-height:1.45;letter-spacing:.025em;color:var(--cover-soft);
}
#biblioteca-viva .bv-video-launch,
.bv-player-shell .bv-video-launch{
 position:absolute;inset:auto 8% 5%;z-index:3;margin:0 auto;
 width:84%;min-height:46px;max-width:300px;padding:10px 15px;
 display:flex;align-items:center;justify-content:center;gap:8px;
 border:1px solid #fffffff0;border-radius:999px;
 color:var(--cover-ink);background:linear-gradient(110deg,#ffffffec,#fff9);
 box-shadow:inset 0 1px 2px #fff,0 7px 22px #4b76ac2b;
 backdrop-filter:blur(12px);font-size:12px;line-height:1.35;font-weight:650;
 touch-action:manipulation;
}
/* Wider screens: keep an editorial reading column and visible scenery beside it. */
#bv-player-shell[data-kind=horizontal] .bv-cover-message{
 align-items:flex-start;justify-content:center;text-align:left;
 padding:6% 8% 64px;gap:7px;max-width:74%;
}
#bv-player-shell[data-kind=horizontal] .bv-cover-message strong{font-size:clamp(23px,6.3cqw,43px)}
#bv-player-shell[data-kind=horizontal] .bv-cover-type{font-size:9px;padding:4px 10px}
#bv-player-shell[data-kind=horizontal] .bv-video-launch{inset:auto auto 5% 8%;width:auto;min-width:160px;max-width:84%;min-height:40px;padding:8px 15px}
#bv-player-shell[data-kind=horizontal] .bv-poster::after{top:12%;left:52%;right:3%;font-size:clamp(100px,29cqw,230px)}
#bv-player-shell[data-kind=horizontal] .bv-poster>img{object-position:50% 72%}
/* Compact audio cover, not a scaled-down tall poster. No text is baked in. */
#bv-player-shell[data-kind=audio] .bv-cover-message{
 padding:18px 7% 66px;justify-content:center;gap:6px;align-items:flex-start;
 text-align:left;max-width:80%;
}
#bv-player-shell[data-kind=audio] .bv-cover-message strong{font-size:clamp(22px,4.9cqw,32px);line-height:1.12;margin:0}
#bv-player-shell[data-kind=audio] .bv-cover-type{display:none}
#bv-player-shell[data-kind=audio] .bv-cover-number{font-size:12px}
#bv-player-shell[data-kind=audio] .bv-poster-format{font-size:11px}
#bv-player-shell[data-kind=audio] .bv-video-launch{inset:auto auto 6% 7%;width:auto;min-width:155px;max-width:86%;min-height:40px;padding:7px 14px}
#bv-player-shell[data-kind=audio] .bv-poster>img{object-position:center 73%}
#bv-player-shell[data-kind=audio] .bv-poster::after{top:7%;left:57%;font-size:clamp(100px,23cqw,210px)}
/* Square previews inherit the same family without clipping the title. */
#bv-player-shell[data-kind=cuadrado] .bv-cover-message{padding:8% 8% 75px;gap:8px}
#bv-player-shell[data-kind=cuadrado] .bv-cover-message strong{font-size:clamp(24px,8cqw,43px)}
#biblioteca-viva .bv-poster[hidden],.bv-player-shell .bv-poster[hidden]{display:none!important}
@media(max-width:400px){
 #biblioteca-viva .bv-cover-message{gap:11px}
 #biblioteca-viva .bv-cover-type{font-size:8px;padding:5px 9px}
 #biblioteca-viva .bv-cover-message strong{font-size:clamp(25px,10cqw,35px)}
 #bv-player-shell[data-kind=audio] .bv-cover-message{max-width:100%;gap:6px;padding-top:14px}
 #bv-player-shell[data-kind=audio] .bv-cover-message strong{font-size:24px}
 #bv-player-shell[data-kind=horizontal] .bv-cover-message{max-width:100%;gap:5px;padding-top:12px}
 #bv-player-shell[data-kind=horizontal] .bv-cover-type{display:none}
 #bv-player-shell[data-kind=horizontal] .bv-cover-message strong{font-size:24px}
}
@supports not (font-size:1cqw){
 #biblioteca-viva .bv-cover-message strong{font-size:clamp(25px,4.5vw,38px)}
 #bv-player-shell[data-kind=audio] .bv-cover-message strong{font-size:25px}
}
@media(prefers-reduced-motion:reduce){
 .bv-poster,.bv-poster *{animation:none!important;transition:none!important}
}
