Refine camera component styles and animations for improved visual consistency

This commit is contained in:
Matt Batchelder
2026-02-21 10:20:39 -05:00
parent a9697dd714
commit accdfa9d70

View File

@@ -3352,12 +3352,14 @@ p:last-child { margin-bottom: 0; }
background: none !important; background: none !important;
border: none !important; border: none !important;
border-radius: 0; border-radius: 0;
aspect-ratio: unset;
padding: 0; padding: 0;
overflow: visible; overflow: visible;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: inherit; font-size: inherit;
min-height: 220px;
} }
.cam-stage { .cam-stage {
@@ -3365,25 +3367,25 @@ p:last-child { margin-bottom: 0; }
flex-direction: row; flex-direction: row;
align-items: flex-end; align-items: flex-end;
justify-content: center; justify-content: center;
gap: 10px; gap: 12px;
padding-bottom: 4px; padding-bottom: 4px;
} }
/* ── Product scene (between the two cameras) ── */ /* ── Product scene (between the two cameras) ── */
.cam-scene { .cam-scene {
width: 150px; width: 140px;
height: 140px; height: 130px;
background: var(--color-bg-alt, #1a1a1a); background: var(--color-bg-alt);
border: 1px solid var(--color-border, #333); border: 1px solid var(--color-border);
border-radius: 4px; border-radius: 4px;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
flex-shrink: 0; flex-shrink: 0;
align-self: center; align-self: center;
background-image: background-image:
linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
background-size: 20px 20px; background-size: 18px 18px;
} }
/* ── Shared subject shapes ── */ /* ── Shared subject shapes ── */
@@ -3402,25 +3404,25 @@ p:last-child { margin-bottom: 0; }
} }
.cam-subject--1 { animation: cam-subject-1 9s ease-in-out infinite; } .cam-subject--1 { animation: cam-subject-1 9s ease-in-out infinite; }
.cam-subject--1::before { .cam-subject--1::before {
width: 42px; height: 62px; width: 40px; height: 58px;
background: linear-gradient(135deg, #064e3b 0%, #4ade80 100%); background: linear-gradient(135deg, #064e3b 0%, #4ade80 100%);
box-shadow: 0 0 18px rgba(74,222,128,.3); box-shadow: 0 0 18px rgba(74,222,128,.4);
} }
.cam-subject--2 { animation: cam-subject-2 9s ease-in-out infinite; } .cam-subject--2 { animation: cam-subject-2 9s ease-in-out infinite; }
.cam-subject--2::before { .cam-subject--2::before {
width: 34px; height: 72px; width: 32px; height: 68px;
background: linear-gradient(160deg, #78350f 0%, #fbbf24 100%); background: linear-gradient(160deg, #78350f 0%, #fbbf24 100%);
border-radius: 6px 6px 12px 12px; border-radius: 6px 6px 12px 12px;
box-shadow: 0 0 18px rgba(251,191,36,.25); box-shadow: 0 0 18px rgba(251,191,36,.35);
} }
.cam-subject--3 { animation: cam-subject-3 9s ease-in-out infinite; } .cam-subject--3 { animation: cam-subject-3 9s ease-in-out infinite; }
.cam-subject--3::before { .cam-subject--3::before {
width: 78px; height: 54px; width: 74px; height: 50px;
background: linear-gradient(135deg, #1e1b4b 0%, #818cf8 100%); background: linear-gradient(135deg, #1e1b4b 0%, #818cf8 100%);
box-shadow: 0 0 18px rgba(129,140,248,.25); box-shadow: 0 0 18px rgba(129,140,248,.35);
} }
/* Flash overlay (triggered by photo camera) */ /* Flash overlay */
.cam-flash-overlay { .cam-flash-overlay {
position: absolute; position: absolute;
inset: 0; inset: 0;
@@ -3429,111 +3431,114 @@ p:last-child { margin-bottom: 0; }
pointer-events: none; pointer-events: none;
animation: cam-flash-pulse 9s linear infinite; animation: cam-flash-pulse 9s linear infinite;
} }
/* CRT-style scanlines (video cam effect) */ /* CRT scanlines from the video cam */
.cam-vid-overlay { .cam-vid-overlay {
position: absolute; position: absolute;
inset: 0; inset: 0;
background: repeating-linear-gradient( background: repeating-linear-gradient(
to bottom, to bottom,
transparent 0px, transparent 3px, transparent 0px, transparent 3px,
rgba(0,0,0,.07) 3px, rgba(0,0,0,.07) 4px rgba(0,0,0,.08) 3px, rgba(0,0,0,.08) 4px
); );
pointer-events: none; pointer-events: none;
border-radius: inherit;
} }
/* ══════════════════════════════════════════ /* ══════════════════════════════════════════
PHOTO CAMERA (compact / point-and-shoot) PHOTO CAMERA (compact point-and-shoot)
══════════════════════════════════════════ */ ══════════════════════════════════════════ */
.pc-wrap { .pc-wrap {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: flex-start;
flex-shrink: 0; flex-shrink: 0;
filter: drop-shadow(0 8px 22px rgba(0,0,0,.75));
} }
.pc-body { .pc-body {
width: 94px; width: 90px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
position: relative; position: relative;
filter: drop-shadow(0 6px 18px rgba(0,0,0,.8));
} }
/* Hot-shoe flash unit on top */ /* Hot-shoe flash on top */
.pc-flash-unit { .pc-flash-unit {
width: 32px; width: 30px;
height: 9px; height: 10px;
background: #252525; background: var(--color-bg-alt);
border: 1px solid #444; border: 1px solid var(--color-border);
border-bottom: none; border-bottom: none;
border-radius: 2px 2px 0 0; border-radius: 3px 3px 0 0;
margin-left: 8px; margin-left: 10px;
position: relative; position: relative;
box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
} }
.pc-flash-unit::after { .pc-flash-unit::after {
content: ''; content: '';
position: absolute; position: absolute;
top: 2px; left: 4px; right: 4px; bottom: 2px; top: 2px; left: 4px; right: 4px; bottom: 2px;
background: #ddddb8; background: #c8c870;
border-radius: 1px; border-radius: 1px;
animation: pc-flash-glow 9s linear infinite; animation: pc-flash-glow 9s linear infinite;
} }
/* Top strip */ /* Top strip */
.pc-top { .pc-top {
width: 100%; width: 100%;
height: 17px; height: 18px;
background: #252525; background: var(--color-bg-alt);
border-radius: 3px 3px 0 0; border: 1px solid var(--color-border);
border: 1px solid #3e3e3e;
border-bottom: none; border-bottom: none;
border-radius: 3px 3px 0 0;
display: flex; display: flex;
align-items: center; align-items: center;
padding: 0 8px; padding: 0 8px;
position: relative; position: relative;
box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
} }
.pc-shutter-btn { .pc-shutter-btn {
position: absolute; position: absolute;
top: -7px; right: 12px; top: -8px; right: 10px;
width: 13px; height: 13px; width: 14px; height: 14px;
background: #303030; background: var(--color-border);
border-radius: 50%; border-radius: 50%;
border: 1px solid #555; border: 2px solid var(--color-border);
box-shadow: 0 0 0 1px rgba(255,255,255,.15), inset 0 1px 0 rgba(255,255,255,.1);
animation: pc-shutter 9s linear infinite; animation: pc-shutter 9s linear infinite;
transform-origin: center; transform-origin: center;
} }
.pc-viewfinder { .pc-viewfinder {
width: 11px; height: 7px; width: 11px; height: 7px;
background: #111; background: rgba(0,0,0,.6);
border: 1px solid #555; border: 1px solid rgba(255,255,255,.18);
border-radius: 1px; border-radius: 1px;
margin-left: auto; margin-left: auto;
} }
/* Front face */ /* Front face */
.pc-front { .pc-front {
width: 100%; width: 100%;
height: 54px; height: 52px;
background: #1e1e1e; background: var(--color-bg-alt);
border: 1px solid #3e3e3e; border: 1px solid var(--color-border);
border-top-color: #555; border-top: 1px solid rgba(255,255,255,.1);
border-radius: 0 0 4px 4px; border-radius: 0 0 4px 4px;
display: flex; display: flex;
align-items: center; align-items: center;
padding: 0 10px; padding: 0 8px;
gap: 10px; gap: 8px;
box-shadow: inset 0 -1px 0 rgba(0,0,0,.3);
} }
/* Lens */ /* Lens */
.pc-lens-ring { .pc-lens-ring {
width: 40px; height: 40px; width: 38px; height: 38px;
border-radius: 50%; border-radius: 50%;
background: #111; background: #0a0a0a;
border: 3px solid #383838; border: 3px solid var(--color-border);
box-shadow: 0 0 0 2px #181818, inset 0 0 8px rgba(0,0,0,1); box-shadow: 0 0 0 1px rgba(255,255,255,.1), inset 0 0 8px rgba(0,0,0,1);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
flex-shrink: 0; flex-shrink: 0;
} }
.pc-lens-glass { .pc-lens-glass {
width: 28px; height: 28px; width: 26px; height: 26px;
border-radius: 50%; border-radius: 50%;
background: radial-gradient(circle at 30% 30%, #1a6ad6 0%, #0a1844 50%, #000b1a 100%); background: radial-gradient(circle at 30% 30%, #1a6ad6 0%, #0a1844 50%, #000b1a 100%);
position: relative; position: relative;
@@ -3542,112 +3547,116 @@ p:last-child { margin-bottom: 0; }
.pc-lens-reflex { .pc-lens-reflex {
position: absolute; position: absolute;
top: 3px; left: 3px; top: 3px; left: 3px;
width: 8px; height: 6px; width: 8px; height: 5px;
background: rgba(255,255,255,.22); background: rgba(255,255,255,.25);
border-radius: 50%; border-radius: 50%;
transform: rotate(-20deg); transform: rotate(-20deg);
} }
/* Right side grip */ /* Grip ridges */
.pc-grip { .pc-grip {
flex: 1; flex: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 4px; gap: 5px;
align-items: flex-end; align-items: stretch;
} }
.pc-grip::before, .pc-grip::after { .pc-grip::before, .pc-grip::after {
content: ''; content: '';
display: block; display: block;
height: 4px; height: 4px;
width: 100%; background: rgba(255,255,255,.06);
background: #292929; border: 1px solid var(--color-border);
border: 1px solid #3a3a3a;
border-radius: 1px; border-radius: 1px;
} }
/* Polaroid prints */ /* Polaroid prints */
.pc-prints { .pc-prints {
position: relative; position: relative;
width: 94px; width: 90px;
height: 58px; height: 52px;
flex-shrink: 0; flex-shrink: 0;
} }
.pc-print { .pc-print {
position: absolute; position: absolute;
width: 56px; height: 62px; width: 54px; height: 60px;
background: #f3eedd; background: #f0e8d0;
border-radius: 2px; border-radius: 2px;
box-shadow: 0 5px 14px rgba(0,0,0,.6); box-shadow: 0 4px 14px rgba(0,0,0,.7);
opacity: 0; opacity: 0;
} }
.pc-print__img { .pc-print__img {
position: absolute; position: absolute;
top: 6px; left: 6px; right: 6px; top: 6px; left: 6px; right: 6px;
height: 40px; height: 38px;
border-radius: 1px; border-radius: 1px;
} }
.pc-print--1 { left: 2px; top: 0; transform-origin: bottom center; animation: pc-print-1 9s linear infinite; } .pc-print--1 { left: 0; top: 0; transform-origin: bottom center; animation: pc-print-1 9s linear infinite; }
.pc-print--2 { left: 19px; top: 0; transform-origin: bottom center; animation: pc-print-2 9s linear infinite; } .pc-print--2 { left: 18px; top: 0; transform-origin: bottom center; animation: pc-print-2 9s linear infinite; }
.pc-print--3 { left: 36px; top: 0; transform-origin: bottom center; animation: pc-print-3 9s linear infinite; } .pc-print--3 { left: 36px; top: 0; transform-origin: bottom center; animation: pc-print-3 9s linear infinite; }
.pc-print--1 .pc-print__img { background: linear-gradient(135deg, #064e3b, #4ade80); } .pc-print--1 .pc-print__img { background: linear-gradient(135deg, #064e3b, #4ade80); }
.pc-print--2 .pc-print__img { background: linear-gradient(160deg, #78350f, #fbbf24); } .pc-print--2 .pc-print__img { background: linear-gradient(160deg, #78350f, #fbbf24); }
.pc-print--3 .pc-print__img { background: linear-gradient(135deg, #1e1b4b, #818cf8); } .pc-print--3 .pc-print__img { background: linear-gradient(135deg, #1e1b4b, #818cf8); }
/* ══════════════════════════════════════════ /* ══════════════════════════════════════════
VIDEO CAMERA ON TRIPOD (retro VHS era) VIDEO CAMERA ON TRIPOD (retro VHS-era)
Lens barrel faces LEFT (toward the scene) Lens barrel faces LEFT toward the scene
══════════════════════════════════════════ */ ══════════════════════════════════════════ */
.vc-wrap { .vc-wrap {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
flex-shrink: 0; flex-shrink: 0;
filter: drop-shadow(0 8px 22px rgba(0,0,0,.75));
} }
.vc-camera { .vc-camera {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
filter: drop-shadow(0 6px 18px rgba(0,0,0,.8));
} }
/* Top carry handle */ /* Top carry handle */
.vc-handle { .vc-handle {
width: 60px; width: 58px;
height: 13px; height: 13px;
background: #242424; background: var(--color-bg-alt);
border: 1px solid #3e3e3e; border: 1px solid var(--color-border);
border-radius: 8px 8px 0 0; border-radius: 8px 8px 0 0;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
} }
.vc-handle::after { .vc-handle::after {
content: ''; content: '';
position: absolute; position: absolute;
left: 8px; top: 3px; right: 8px; bottom: 3px; left: 8px; top: 3px; right: 8px; bottom: 3px;
background: repeating-linear-gradient(90deg, #2c2c2c 0, #2c2c2c 3px, #333 3px, #333 6px); background: repeating-linear-gradient(90deg,
border-radius: 3px; rgba(255,255,255,.04) 0, rgba(255,255,255,.04) 3px,
transparent 3px, transparent 6px);
border-radius: 2px;
} }
/* Main body */ /* Main body */
.vc-body { .vc-body {
width: 100px; width: 98px;
height: 55px; height: 54px;
background: #1e1e1e; background: var(--color-bg-alt);
border: 1px solid #3e3e3e; border: 1px solid var(--color-border);
border-top-color: #555; border-top: 1px solid rgba(255,255,255,.12);
border-radius: 0 4px 4px 0; border-radius: 0 4px 4px 0;
position: relative; position: relative;
display: flex; display: flex;
align-items: center; align-items: center;
overflow: visible;
box-shadow: inset 0 -1px 0 rgba(0,0,0,.3);
} }
/* Lens barrel — extends LEFT toward the scene */ /* Lens barrel — extends LEFT toward the scene */
.vc-lens-barrel { .vc-lens-barrel {
position: absolute; position: absolute;
left: -32px; left: -34px;
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
width: 38px; height: 38px; width: 38px; height: 38px;
border-radius: 50%; border-radius: 50%;
background: #181818; background: #0c0c0c;
border: 2px solid #363636; border: 2px solid var(--color-border);
box-shadow: 0 0 0 2px #131313, inset 0 0 8px rgba(0,0,0,.9); box-shadow: 0 0 0 1px rgba(255,255,255,.1), inset 0 0 8px rgba(0,0,0,1);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -3656,8 +3665,8 @@ p:last-child { margin-bottom: 0; }
.vc-lens-tip { .vc-lens-tip {
width: 26px; height: 26px; width: 26px; height: 26px;
border-radius: 50%; border-radius: 50%;
background: #101018; background: #0a0a18;
border: 1px solid #2a3a6a; border: 1px solid rgba(100,140,255,.3);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -3673,39 +3682,40 @@ p:last-child { margin-bottom: 0; }
position: absolute; position: absolute;
top: 2px; left: 2px; top: 2px; left: 2px;
width: 6px; height: 4px; width: 6px; height: 4px;
background: rgba(255,255,255,.22); background: rgba(255,255,255,.25);
border-radius: 50%; border-radius: 50%;
transform: rotate(-20deg); transform: rotate(-20deg);
} }
/* Top rail detail */ /* Top rail */
.vc-top-rail { .vc-top-rail {
position: absolute; position: absolute;
top: 0; left: 8px; right: 8px; top: 0; left: 6px; right: 6px;
height: 4px; height: 4px;
background: #282828; background: rgba(255,255,255,.04);
border: 1px solid #3e3e3e; border: 1px solid var(--color-border);
border-top: none; border-top: none;
border-radius: 0 0 2px 2px; border-radius: 0 0 2px 2px;
} }
/* REC indicator */ /* REC indicator */
.vc-rec-light { .vc-rec-light {
position: absolute; position: absolute;
top: 7px; left: 18px; top: 8px; left: 16px;
width: 7px; height: 7px; width: 7px; height: 7px;
border-radius: 50%; border-radius: 50%;
background: #ef4444; background: #ef4444;
box-shadow: 0 0 7px #ef4444; box-shadow: 0 0 8px #ef4444, 0 0 16px rgba(239,68,68,.4);
animation: vc-rec-blink 1.4s ease-in-out infinite; animation: vc-rec-blink 1.4s ease-in-out infinite;
} }
/* Eyepiece — extends RIGHT */ /* Eyepiece — extends RIGHT */
.vc-eyepiece { .vc-eyepiece {
position: absolute; position: absolute;
right: -15px; right: -14px;
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
width: 15px; height: 18px; width: 14px; height: 18px;
background: #1a1a1a; background: var(--color-bg-alt);
border: 1px solid #3c3c3c; border: 1px solid var(--color-border);
border-left: none;
border-radius: 0 4px 4px 0; border-radius: 0 4px 4px 0;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -3714,18 +3724,18 @@ p:last-child { margin-bottom: 0; }
.vc-eyepiece::after { .vc-eyepiece::after {
content: ''; content: '';
width: 8px; height: 8px; width: 8px; height: 8px;
background: #08080e; background: rgba(0,0,0,.8);
border-radius: 50%; border-radius: 50%;
border: 1px solid #333; border: 1px solid rgba(255,255,255,.15);
} }
/* Cassette door side detail */ /* Cassette door */
.vc-body::after { .vc-body::after {
content: ''; content: '';
position: absolute; position: absolute;
right: 6px; top: 8px; right: 6px; top: 7px;
width: 30px; height: 36px; width: 28px; height: 34px;
background: #191919; background: rgba(0,0,0,.2);
border: 1px solid #363636; border: 1px solid var(--color-border);
border-radius: 2px; border-radius: 2px;
} }
/* ── Tripod ── */ /* ── Tripod ── */
@@ -3733,12 +3743,13 @@ p:last-child { margin-bottom: 0; }
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
width: 100px; width: 98px;
filter: drop-shadow(0 4px 10px rgba(0,0,0,.6));
} }
.vc-stem { .vc-stem {
width: 6px; width: 5px;
height: 42px; height: 40px;
background: linear-gradient(to right, #282828, #383838, #282828); background: linear-gradient(to right, var(--color-bg-alt), var(--color-border), var(--color-bg-alt));
border-radius: 2px; border-radius: 2px;
margin-bottom: -2px; margin-bottom: -2px;
} }
@@ -3746,30 +3757,30 @@ p:last-child { margin-bottom: 0; }
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: flex-end; align-items: flex-end;
width: 84px; width: 82px;
position: relative; position: relative;
height: 30px; height: 30px;
} }
.vc-leg { .vc-leg {
width: 4px; height: 30px; width: 3px; height: 30px;
background: linear-gradient(to right, #252525, #373737); background: linear-gradient(to right, var(--color-bg-alt), var(--color-border));
border-radius: 0 0 2px 2px; border-radius: 0 0 2px 2px;
transform-origin: top center; transform-origin: top center;
} }
.vc-leg--l { transform: rotate(-20deg); } .vc-leg--l { transform: rotate(-22deg); }
.vc-leg--c { height: 22px; } .vc-leg--c { height: 20px; }
.vc-leg--r { transform: rotate(20deg); } .vc-leg--r { transform: rotate(22deg); }
/* Leg cross-brace */
.vc-legs::after { .vc-legs::after {
content: ''; content: '';
position: absolute; position: absolute;
top: 10px; left: 10px; right: 10px; top: 9px; left: 9px; right: 9px;
height: 2px; height: 2px;
background: #2e2e2e; background: var(--color-border);
border-radius: 1px; border-radius: 1px;
opacity: .7;
} }
/* ══ Keyframes (9 s, 3 captures at 0 %, 33 %, 66 %) ══════════════ */ /* ══ Keyframes ══ */
@keyframes cam-subject-1 { @keyframes cam-subject-1 {
0%, 30% { opacity: 1; } 0%, 30% { opacity: 1; }
33%, 100% { opacity: 0; } 33%, 100% { opacity: 0; }
@@ -3789,63 +3800,58 @@ p:last-child { margin-bottom: 0; }
66% { opacity: 0; } 66.5% { opacity: 0.9; } 68.5% { opacity: 0; } 66% { opacity: 0; } 66.5% { opacity: 0.9; } 68.5% { opacity: 0; }
100% { opacity: 0; } 100% { opacity: 0; }
} }
/* Flash tube glows on capture */
@keyframes pc-flash-glow { @keyframes pc-flash-glow {
0% { background: #ddddb8; filter: brightness(1); } 0% { background: #c8c870; filter: brightness(1); }
0.5% { background: #fff; filter: brightness(5); } 0.5% { background: #ffffa0; filter: brightness(4); }
2.5% { background: #ddddb8; filter: brightness(1); } 2.5% { background: #c8c870; filter: brightness(1); }
33% { background: #ddddb8; filter: brightness(1); } 33% { background: #c8c870; filter: brightness(1); }
33.5% { background: #fff; filter: brightness(5); } 33.5% { background: #ffffa0; filter: brightness(4); }
35.5% { background: #ddddb8; filter: brightness(1); } 35.5% { background: #c8c870; filter: brightness(1); }
66% { background: #ddddb8; filter: brightness(1); } 66% { background: #c8c870; filter: brightness(1); }
66.5% { background: #fff; filter: brightness(5); } 66.5% { background: #ffffa0; filter: brightness(4); }
68.5% { background: #ddddb8; filter: brightness(1); } 68.5% { background: #c8c870; filter: brightness(1); }
100% { background: #ddddb8; filter: brightness(1); } 100% { background: #c8c870; filter: brightness(1); }
} }
/* Shutter button press */
@keyframes pc-shutter { @keyframes pc-shutter {
0% { transform: scaleY(1); } 0% { transform: scaleY(1); }
0.4% { transform: scaleY(0.72) translateY(1px); } 0.4% { transform: scaleY(0.7) translateY(1px); }
2% { transform: scaleY(1); } 2% { transform: scaleY(1); }
33% { transform: scaleY(1); } 33% { transform: scaleY(1); }
33.4% { transform: scaleY(0.72) translateY(1px); } 33.4% { transform: scaleY(0.7) translateY(1px); }
35% { transform: scaleY(1); } 35% { transform: scaleY(1); }
66% { transform: scaleY(1); } 66% { transform: scaleY(1); }
66.4% { transform: scaleY(0.72) translateY(1px); } 66.4% { transform: scaleY(0.7) translateY(1px); }
68% { transform: scaleY(1); } 68% { transform: scaleY(1); }
100% { transform: scaleY(1); } 100% { transform: scaleY(1); }
} }
/* Polaroid ejects */
@keyframes pc-print-1 { @keyframes pc-print-1 {
0% { opacity: 0; transform: rotate(-12deg) translateY(-18px); } 0% { opacity: 0; transform: rotate(-12deg) translateY(-16px); }
1.5% { opacity: 1; } 1.5% { opacity: 1; }
4% { opacity: 1; transform: rotate(-12deg) translateY(0); } 4% { opacity: 1; transform: rotate(-12deg) translateY(0); }
95% { opacity: 1; transform: rotate(-12deg) translateY(0); } 95% { opacity: 1; transform: rotate(-12deg) translateY(0); }
99% { opacity: 0; } 100% { opacity: 0; transform: rotate(-12deg) translateY(-18px); } 99% { opacity: 0; } 100% { opacity: 0; transform: rotate(-12deg) translateY(-16px); }
} }
@keyframes pc-print-2 { @keyframes pc-print-2 {
0%, 33% { opacity: 0; transform: rotate(-2deg) translateY(-18px); } 0%, 33% { opacity: 0; transform: rotate(-2deg) translateY(-16px); }
34.5% { opacity: 1; } 34.5% { opacity: 1; }
37% { opacity: 1; transform: rotate(-2deg) translateY(0); } 37% { opacity: 1; transform: rotate(-2deg) translateY(0); }
95% { opacity: 1; transform: rotate(-2deg) translateY(0); } 95% { opacity: 1; transform: rotate(-2deg) translateY(0); }
99% { opacity: 0; } 100% { opacity: 0; transform: rotate(-2deg) translateY(-18px); } 99% { opacity: 0; } 100% { opacity: 0; transform: rotate(-2deg) translateY(-16px); }
} }
@keyframes pc-print-3 { @keyframes pc-print-3 {
0%, 66% { opacity: 0; transform: rotate(10deg) translateY(-18px); } 0%, 66% { opacity: 0; transform: rotate(10deg) translateY(-16px); }
67.5% { opacity: 1; } 67.5% { opacity: 1; }
70% { opacity: 1; transform: rotate(10deg) translateY(0); } 70% { opacity: 1; transform: rotate(10deg) translateY(0); }
95% { opacity: 1; transform: rotate(10deg) translateY(0); } 95% { opacity: 1; transform: rotate(10deg) translateY(0); }
99% { opacity: 0; } 100% { opacity: 0; transform: rotate(10deg) translateY(-18px); } 99% { opacity: 0; } 100% { opacity: 0; transform: rotate(10deg) translateY(-16px); }
} }
/* VHS REC blink */
@keyframes vc-rec-blink { @keyframes vc-rec-blink {
0%, 45% { opacity: 1; } 0%, 45% { opacity: 1; }
55%, 100% { opacity: 0.1; } 55%, 100% { opacity: 0.15; }
} }
/* VHS lens zoom breathe */
@keyframes vc-lens-zoom { @keyframes vc-lens-zoom {
0%, 100% { transform: translateY(-50%) scale(1); } 0%, 100% { transform: translateY(-50%) scale(1); }
50% { transform: translateY(-50%) scale(1.07); } 50% { transform: translateY(-50%) scale(1.08); }
} }
/* ── Reduced-motion ── */ /* ── Reduced-motion ── */
@@ -3862,9 +3868,3 @@ p:last-child { margin-bottom: 0; }
transform: rotate(-12deg) translateY(0) !important; transform: rotate(-12deg) translateY(0) !important;
} }
} }
/* ── Dark-mode border tokens ── */
[data-theme="dark"] .cam-scene {
background-color: var(--color-bg-alt);
border-color: var(--color-border);
}