/* My Room: Movies and Actors (fr-movies.js), "pick your 4" stations (fr-four.js does the layout). The poster's own look:
   its frame of marquee lights, the year, the painting, the lettered title, the sheen. The room's own two wall posters keep
   the round-1 mv- rules at the end of this file. */
/* ---- each place on the wall: a poster in its own frame of chasing marquee lights (fr-four.js lays the places out) ---- */
.mv2-frm{position:absolute;inset:3px;border:2px solid #7a4d12;border-radius:5px;background:#1b0f07;box-shadow:0 0 14px rgba(255,190,80,.35),0 8px 12px rgba(0,0,0,.55)}
.mv2-cell.gold .mv2-frm{border-color:#ffd25a;box-shadow:0 0 0 2px rgba(255,210,90,.5),0 0 26px rgba(255,210,90,.95),0 8px 12px rgba(0,0,0,.55)}
/* the bulbs: two sets that take turns; every poster has its own slow rhythm */
.mv2-bl{position:absolute;inset:2px;pointer-events:none;--b:radial-gradient(circle,#fffbe0 0 2.4px,#ffcf66 3.1px,rgba(255,170,60,0) 5px)}
.mv2-bl::before,.mv2-bl::after{content:"";position:absolute;inset:0;
  background:var(--b) 0 0/14px 12px repeat-x,var(--b) 0 100%/14px 12px repeat-x,var(--b) 0 0/12px 14px repeat-y,var(--b) 100% 0/12px 14px repeat-y;
  animation:mv2bA var(--bp,1.5s) steps(1) infinite;animation-delay:var(--bd,0s)}
.mv2-bl::after{background-position:7px 0,7px 100%,0 7px,100% 7px;animation-name:mv2bC}
@keyframes mv2bA{0%{opacity:1}50%{opacity:.3}}
@keyframes mv2bC{0%{opacity:.3}50%{opacity:1}}
.mv2-cell.gold .mv2-bl::before,.mv2-cell.gold .mv2-bl::after{filter:saturate(1.4) brightness(1.15)}
/* while choosing, the lit empty frame waits with its lights dimmed */
.mv2-cell.land .mv2-frm{border-style:dashed;border-color:rgba(216,178,92,.75);background:rgba(10,20,36,.55)}
.mv2-cell.land .mv2-bl{opacity:.45}

/* the poster: portrait, a dark ground tinted by the genre, year small on top, the painting whole, the title big at the bottom */
.mv2-pz{position:relative;display:block;width:var(--pw);aspect-ratio:1 / 1.7;container-type:inline-size;border-radius:3px;overflow:hidden;
  background:radial-gradient(ellipse 90% 45% at 50% 42%,color-mix(in srgb,var(--t,#223a5c) 70%,#fff 8%),transparent 80%),linear-gradient(180deg,var(--t,#223a5c) 0%,color-mix(in srgb,var(--t,#223a5c) 35%,#04060b) 55%,#04060b 100%);
  border:1px solid rgba(255,230,160,.55);box-shadow:0 8px 14px rgba(0,0,0,.6),inset 0 0 18px rgba(0,0,0,.55)}
/* the sheen: soft, one poster at a time and seldom: one slow sweep every 24 seconds per poster, seconds apart (Marc, round 20) */
.mv2-pz::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(115deg,transparent 44%,rgba(255,240,200,.1) 50%,transparent 56%) -150% 0/250% 100% no-repeat;
  animation:mv2sheen 24s ease-in-out infinite;animation-delay:var(--gd,0s)}
@keyframes mv2sheen{0%,91%{background-position:-150% 0}100%{background-position:150% 0}}
.mv2-yr{position:absolute;left:0;right:0;top:3.2%;text-align:center;font:600 max(12px,4.6cqw) var(--display);letter-spacing:.14em;text-indent:.14em;white-space:nowrap;text-transform:uppercase;color:rgba(255,236,190,.85)}
/* every title starts at the same height (its first line), the painting's box ends the same distance above it; fr-movies.js
   settle() moves each painting down by its own empty margin, so the painted part itself ends on that line (rounds 15-16) */
/* (written .mv2-pz .k-pic.mv2-art so it wins over the chooser's ".kb-card .k-pic" fill rule, which loads later) */
.mv2-pz .k-pic.mv2-art{position:absolute;left:2%;right:2%;top:8%;height:62%;width:auto;background:var(--bg,none);overflow:visible;border-radius:0}
/* (overflow visible: settle() moves a painting down by its own EMPTY margin, which may then hang below the box; only clear
   pixels do, and the poster itself still clips at its edge) */
.mv2-art:has(.k-img.fav-on){background:none}
.mv2-art .k-img{inset:0;width:100%;height:100%;object-position:50% 100%;filter:drop-shadow(0 4px 6px rgba(0,0,0,.65))}
.mv2-tt{position:absolute;left:3%;right:3%;top:76%;bottom:2%;display:flex;align-items:flex-start;justify-content:center;text-align:center;
  font-family:var(--display);font-weight:700;line-height:1;letter-spacing:.03em;text-transform:uppercase;text-wrap:balance;overflow-wrap:break-word;color:#fff3cf;
  background:linear-gradient(180deg,#fffbe8,#ffd36a 48%,#d9942c 52%,#ffe49a);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  filter:drop-shadow(0 2px 0 rgba(60,24,0,.85)) drop-shadow(0 3px 6px rgba(0,0,0,.9))}
/* a long title at 12 px takes three lines: the painting gives it a little room */
/* one long word (BEETLEJUICE) in a narrow poster: the small-capital letters, a touch tighter, and never cut */
.mv2-tt.tight{text-transform:none;letter-spacing:-.01em;overflow-wrap:anywhere}
.mv2-tt.long{top:71.5%;line-height:.95;letter-spacing:0}
.mv2-pz:has(.mv2-tt.long) .k-pic.mv2-art{top:7%;height:58.5%}
/* on a small poster a word of 13 letters or more (SCHWARZENEGGER) is the plain sans, so no letter is ever alone on a line; a
   name of five lines (the first Narnia) gets a taller band */
@container (max-width:125px){ .mv2-tt.xword{font-family:var(--sans);letter-spacing:-.03em;text-transform:none} }
.mv2-tt.vlong{top:66%}
.mv2-pz:has(.mv2-tt.vlong) .k-pic.mv2-art{height:53%}
@container (max-width:125px){ .mv2-tt.vlong{top:61%;font-family:var(--sans);letter-spacing:-.02em;line-height:1;text-transform:none} .mv2-pz:has(.mv2-tt.vlong) .k-pic.mv2-art{height:49%} }
/* an actor with no portrait yet: a monogram in the spotlight */
.mv2-mono{position:absolute;left:0;right:0;top:20%;height:40%;display:grid;place-items:center;font:700 max(12px,34cqw) var(--display);font-style:normal;color:rgba(255,236,190,.4);text-shadow:0 2px 12px rgba(0,0,0,.6)}
.mv2-pz:has(.k-img.fav-on) .mv2-mono{display:none}

/* ---- the connections page and the big view: the same poster look ---- */
.mv2-dp{container-type:inline-size}
/* the pick's page: the painting fills a square frame, no lettering on it (the name is right below) */
.k-dbig:has(.mv2-dp){--dar:1}
.mv2-dp .k-img{inset:3%;width:94%;height:94%}
.mv2-dp .k-ttl{display:none!important}


/* ================= the room's own part: the two painted posters on the wall (build 4 R11) ================= */
.mv-spot{position:absolute;pointer-events:none;overflow:hidden;border-radius:1px;background:#0b0705}
.mv-l{position:absolute;inset:0;transition:opacity .9s ease;opacity:1}
.mv-l.fresh{opacity:0}
/* the genre's ground fills the poster, the painting stands on the title's strip, real blacks and a slight warm grade */
.mv-pst{display:block;overflow:hidden;container-type:inline-size}
.mv-fit{position:absolute;left:0;right:0;top:0;bottom:var(--st,21%);overflow:hidden;filter:sepia(.07) saturate(1.06) contrast(1.05)}
.mv-mono{position:absolute;left:0;right:0;top:0;bottom:var(--st,21%);display:grid;place-items:center;font:700 46cqw/1 var(--display);font-style:normal;color:rgba(255,236,190,.45)}
.mv-pst.has .mv-mono{display:none}
/* the painting darkens into the poster's bottom, and its name is lettered there in gold, as a film poster's is */
.mv-fade{position:absolute;left:0;right:0;bottom:0;height:calc(var(--lh,24%)*1.75);background:linear-gradient(rgba(10,6,4,0),rgba(10,6,4,.72) 46%,#0a0604 82%)}
.mv-t{position:absolute;left:0;right:0;bottom:2.2%}
.mv-let{display:block;width:100%;height:auto;overflow:visible}
.mv-let text{font-family:Cinzel,'Cormorant Garamond',Georgia,serif;font-weight:700;fill:url(#mvGold);stroke:rgba(20,8,0,.85);stroke-width:1.6px;paint-order:stroke;stroke-linejoin:round}

/* the room's marquee (round 3, Marc): its lit cream field says MOVIES, in red marquee letters */
.mv-marq{position:absolute;display:flex;align-items:center;justify-content:center;pointer-events:none;container-type:size}
.mv-marq b{font:900 67cqh/1 var(--display);letter-spacing:.12em;text-indent:.12em;text-transform:uppercase;color:#8a1a14;text-shadow:0 0 2px rgba(255,236,190,.9),0 0 6px rgba(255,190,90,.55)}

/* build 4: the pick's page when there is no painting: the genre's painting (a movie), the monogram (an actor) */
.mv2-blank{position:absolute;inset:0;background:center/cover no-repeat}
.mv2-bigmono{font:700 110px/1 var(--display);color:rgba(255,236,190,.45);text-shadow:0 2px 12px rgba(0,0,0,.6)}
