/* The reference in the monitor's demo film, played from YouTube (crt-reference.js).
   Everything inside a stage is laid out in the film's own units, 1600 by 1272, and the stage is scaled to the picture. The
   numbers below are the production's own (hero-demo/src/hero.css and src/adaptation.css); change them only with the film. */

/* The film's title words were Arial Bold made bolder still by the browser. Naming the bold face as an ordinary one lets
   the browser do the same here; where that face is missing the words fall back to plain Arial Bold. */
@font-face{font-family:'Replicut Reference Heavy';font-weight:400;src:local('Arial Bold'),local('Arial-BoldMT')}

.rf-mirror{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.rf-mirror[hidden]{display:none}
.rf-stage{position:absolute;left:50%;top:50%;width:1600px;height:1272px;margin:-636px 0 0 -800px;transform:scale(var(--rf-k,.42));transform-origin:50% 50%;pointer-events:none}
.rf-stage,.rf-stage *{box-sizing:border-box}
.rf-top{z-index:3}
.rf-card{position:absolute;left:190px;top:236px;width:522px;height:928px;border-radius:26px;overflow:hidden;background:#0b0908}
/* (Its own layer: the players inside are stacked by number while one takes over from the other, and those numbers must not
   lift them over the cursors.) */
.rf-video{position:absolute;inset:0;z-index:0}
.rf-still{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;display:block}
/* The still stays under a player that is fading in, and is gone once it is in. */
.rf-card.is-live .rf-still{opacity:0;transition:opacity 0s .2s}
.rf-live{position:absolute;left:-190px;top:-236px;z-index:1;width:1600px;height:1272px;color:#f7efe6;font-family:'Replicut Interface',Arial,sans-serif}
.rf-link{position:absolute;left:190px;top:236px;width:522px;height:928px;border-radius:26px;pointer-events:auto;cursor:pointer}
.rf-link:focus-visible{outline:6px solid #f3cfa1;outline-offset:-14px}
/* Since 20 Nov 2026: YouTube's player kept behind the film's card, never seen (crt-reference.js, attachReferenceLink). */
.rf-behind{visibility:hidden}
.rf-behind-player{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}

.rf-sel{position:absolute;border:3px solid #f7efe6;opacity:0}
.rf-sel i,.rf-ghost i{position:absolute;width:15px;height:15px;background:#14100f;border:3px solid #f7efe6}
.rf-sel i:nth-child(1),.rf-ghost i:nth-child(1){left:-9px;top:-9px}
.rf-sel i:nth-child(2),.rf-ghost i:nth-child(2){right:-9px;top:-9px}
.rf-sel i:nth-child(3),.rf-ghost i:nth-child(3){left:-9px;bottom:-9px}
.rf-sel i:nth-child(4),.rf-ghost i:nth-child(4){right:-9px;bottom:-9px}
.rf-pieces{position:absolute;left:888px;top:236px;width:522px;height:928px}
.rf-layer{position:absolute;inset:0;transform-origin:50% 50%}
.rf-plate{position:absolute;left:54px;top:82px;width:414px;height:204px;border-radius:24px;background:#fff;opacity:0}
.rf-comp{position:absolute;left:0;top:0;width:720px;height:1280px;transform-origin:0 0;transform:scale(.725);color:#111}
.rf-scene{position:absolute;inset:0;overflow:hidden}
.rf-stack{position:absolute;left:205px;top:600px;width:490px;font:700 105px/.8 'Replicut Reference Heavy',Arial,Helvetica,sans-serif;letter-spacing:-6px;color:#fff}
.rf-stack>span{display:block;position:relative;z-index:1}
.rf-stack>span:nth-child(2){margin-left:54px}
.rf-stack>span:nth-child(3){margin-left:25px;font-size:130px;line-height:.76}
.rf-stack>span:nth-child(4){margin-left:68px;font-size:96px;line-height:.82;letter-spacing:-5px}
.rf-tile{position:absolute;left:-143px;top:97px;width:145px;height:215px;display:flex;align-items:center;justify-content:center;background:#e9e9dc;color:#506066;font:400 230px/.8 'Times New Roman',Times,serif;transform:rotate(-8deg);z-index:0}
.rf-hook{position:absolute;left:65px;top:600px;width:590px;text-align:center;color:#eca127;display:flex;align-items:center;flex-direction:column}
.rf-the{font:700 57px/.84 Arial,Helvetica,sans-serif;color:#fff;display:block;margin-left:-155px;z-index:2}
.rf-big{font:400 192px/.68 'Times New Roman',Times,serif;letter-spacing:-12px;display:block;position:relative;z-index:1}
.rf-rest{font:700 51px/.94 Arial,Helvetica,sans-serif;letter-spacing:-2px;color:#fff;display:block;align-self:center;text-align:center;margin:4px 0 0 115px;z-index:2}
.rf-insert{top:142px;left:65px;width:590px;color:#904a10}
.rf-insert .rf-the,.rf-insert .rf-rest{color:#111}
.rf-ghost{position:absolute;left:295px;top:507px;width:312px;height:526px;border-radius:30px;border:3px solid #f7efe6;background:rgba(247,239,230,.16);opacity:0;transform-origin:225px 429px}
.rf-chip{position:absolute;left:0;top:0;width:132px;height:132px;border-radius:20px;overflow:hidden;opacity:0;transform-origin:50% 50%;box-shadow:0 0 0 3px #f7efe6}
.rf-burn{background:#1c1512}
.rf-burn::before{content:"";position:absolute;inset:-30%;background:radial-gradient(ellipse at 62% 46%,#fff 0 9%,#fffde2 15%,#ffe262 27%,#f6a525 41%,#c85012 56%,#1c1512 78%)}
.rf-white{background:#fff;box-shadow:0 0 0 3px #14100f,0 0 0 6px #f7efe6}
.rf-shade{background:radial-gradient(ellipse at 50% 30%,#9a8f86 0 10%,#4a413b 42%,#0b0908 80%)}
.rf-cursor{position:absolute;left:0;top:0;opacity:0;transform-origin:0 0}
.rf-cursor svg{position:absolute;left:-5px;top:-4px;width:50px;height:60px;overflow:visible}
.rf-cursor span{position:absolute;left:34px;top:48px;white-space:nowrap;font:700 34px/1 'Replicut Interface',Arial,sans-serif;letter-spacing:-.8px;padding:11px 18px 12px;border-radius:12px;color:#1b1412}

/* The same film in the stacked layout, where the video shows its own controls. */
.linear-demo-film{position:relative;overflow:hidden;border:1px solid #ede5db33}
.linear-demo .linear-demo-film video{border:0}
