/* =====================================================================
   Glass Printer — a real 3D still life.
   World units = table-plane px. Printer footprint 300 x 200, origin at
   its back-left corner, placed at world (-150,-100). Camera tilts the
   table by --tilt (52deg) and yaws by --yaw. Key light: upper-left-back.
   ===================================================================== */

:root {
  --ivory: #efebe2;
  --ink: #23262b;
  --ink-soft: #6a6e75;
  --dark: #1b1d21;
  --paper: #faf8f2;
  --led-off: #7c8188;
  --led-ok: #3ecf5e;
  --led-busy: #ffa521;
  --sans: "Futura", "Avenir Next", "Jost", "Helvetica Neue", "PingFang SC", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --zoom: 1.55;
}

* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: hidden; }
body {
  min-height: 100vh; font-family: var(--sans); color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
}
body::before { /* paper grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: 0.08; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- copy: one quiet line ---------- */
.scene { position: relative; min-height: 100vh; }
.caption {
  position: absolute; top: 26px; left: 30px; z-index: 5; display: flex; align-items: center; gap: 12px;
  font: 500 11px/1 var(--sans); color: var(--ink-soft);
}
.caption-title { letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.caption-sep { width: 1px; height: 10px; background: rgba(0,0,0,.18); }

/* ---------- camera ---------- */
.stage { position: relative; height: 100vh; min-height: 760px; perspective: 1100px; perspective-origin: 50% 34%; }
.world {
  position: absolute; left: 50%; top: 42%; width: 0; height: 0; transform-style: preserve-3d;
  transform: scale3d(var(--zoom), var(--zoom), var(--zoom)) rotateX(var(--tilt)) rotateZ(var(--yaw));
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.world *, .world { transform-style: preserve-3d; }

/* table plane, lit from upper left */
.table {
  position: absolute; left: -1000px; top: -800px; width: 2000px; height: 1600px;
  background:
    radial-gradient(60% 50% at 38% 36%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%),
    radial-gradient(80% 70% at 50% 50%, var(--ivory) 40%, #e6e1d6 100%);
}
.ground-shadow {
  position: absolute; left: -118px; top: -76px; width: 310px; height: 210px; border-radius: 16px;
  background: rgba(60, 48, 32, 0.55); filter: blur(22px); transform: translateZ(0.3px);
}
.contact-shadow {
  position: absolute; left: -146px; top: -96px; width: 292px; height: 194px; border-radius: 10px;
  background: rgba(30, 24, 16, 0.55); filter: blur(5px); transform: translateZ(0.4px);
}

/* ---------- cuboid primitive ---------- */
.printer { position: absolute; left: -150px; top: -100px; width: 300px; height: 200px; }
.box {
  position: absolute; left: calc(var(--x) * 1px); top: calc(var(--y) * 1px);
  width: calc(var(--w) * 1px); height: calc(var(--d) * 1px);
  transform: translateZ(calc(var(--z) * 1px));
}
.f { position: absolute; }
.f.top   { inset: 0; transform: translateZ(calc(var(--h) * 1px)); }
.f.front { left: 0; bottom: 0; width: 100%; height: calc(var(--h) * 1px); transform-origin: 50% 100%; transform: rotateX(-90deg); }
.f.back  { left: 0; top: 0; width: 100%; height: calc(var(--h) * 1px); transform-origin: 50% 0; transform: rotateX(90deg); }
.f.left  { left: 0; top: 0; width: calc(var(--h) * 1px); height: 100%; transform-origin: 0 50%; transform: rotateY(-90deg); }
.f.right { right: 0; top: 0; width: calc(var(--h) * 1px); height: 100%; transform-origin: 100% 50%; transform: rotateY(90deg); }

/* ---------- materials ---------- */
/* matte plastic plinth */
.base .f.top   { background: linear-gradient(135deg, #ece8df, #dfdad0); border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.base .f.front { background: linear-gradient(180deg, #d9d4ca, #c4beb2); border-radius: 0 0 4px 4px; }
.base .f.left  { background: linear-gradient(90deg, #cdc7bb, #dcd7cd); }
.base .f.right { background: linear-gradient(90deg, #c7c1b5, #b9b3a7); }

/* frosted acrylic */
.body .f.top {
  background: linear-gradient(135deg, rgba(255,255,255,.84), rgba(246,244,238,.74) 60%, rgba(240,237,230,.80));
  border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.85), inset 0 0 18px rgba(255,255,255,.5);
}
.body .f.front { background: linear-gradient(180deg, rgba(253,252,248,.90), rgba(238,235,227,.92) 70%, rgba(222,218,208,.94)); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.body .f.left  { background: linear-gradient(90deg, rgba(236,233,225,.92), rgba(252,251,247,.92)); }
.body .f.right { background: linear-gradient(90deg, rgba(236,233,225,.92), rgba(214,210,200,.94)); }
.panel .f.top  { background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(240,238,231,.88)); border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.9); }
.panel .f.front{ background: linear-gradient(180deg, rgba(250,249,245,.92), rgba(226,222,213,.94)); }
.panel .f.left { background: rgba(250,249,245,.92); }
.panel .f.right{ background: rgba(222,218,208,.94); }

/* interior under the acrylic: slightly blurred, sits at z 30-60 inside the body */
.interior { position: absolute; left: 8px; top: 8px; width: 284px; height: 184px; transform: translateZ(46px); filter: blur(1.2px); opacity: 0.95; pointer-events: none; }
.interior > span { position: absolute; display: block; }
.pcb { left: 40px; top: 60px; width: 200px; height: 100px; background: #3d5a4c; border-radius: 3px; }
.chip { background: #14161a; border-radius: 2px; }
.c1 { left: 70px; top: 90px; width: 26px; height: 26px; }
.c2 { left: 130px; top: 120px; width: 44px; height: 14px; }
.wire { left: 200px; top: 30px; width: 3px; height: 80px; border-radius: 2px; background: #c9362a; transform: rotate(18deg); }
.sticker { border-radius: 1px; }
.sticker.y { left: 24px; top: 26px; width: 20px; height: 12px; background: #f2c230; transform: rotate(-8deg); }
.sticker.b { left: 250px; top: 130px; width: 12px; height: 20px; background: #2b58d6; transform: rotate(8deg); }
.sticker.r { left: 30px; top: 150px; width: 14px; height: 9px; background: #d9392b; }
.sticker.g { left: 236px; top: 40px; width: 10px; height: 16px; background: #3aa66b; transform: rotate(-12deg); }

/* clear glass lid */
.lid { cursor: pointer; outline: none; }
.lid .f {
  background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.18) 40%, rgba(236,239,243,.12) 70%, rgba(255,255,255,.42));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), inset 0 0 0 4px rgba(255,255,255,.28);
}
.lid .f.top { border-radius: 6px; }
.lid .f.front { background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.16) 60%, rgba(255,255,255,.5)); }
.lid .f.back  { background: rgba(255,255,255,.22); }
.lid .f.left  { background: linear-gradient(90deg, rgba(255,255,255,.45), rgba(255,255,255,.22)); }
.lid .f.right { background: linear-gradient(90deg, rgba(255,255,255,.14), rgba(220,224,230,.28)); }
.spec { position: absolute; left: 10px; top: 8px; width: 56px; height: 34px; border-radius: 50%; background: linear-gradient(120deg, rgba(255,255,255,.9), rgba(255,255,255,0) 70%); transform: rotate(-18deg); pointer-events: none; }
.lid:hover .f.top, .lid:focus-visible .f.top { box-shadow: inset 0 0 0 1px rgba(255,255,255,1), inset 0 0 0 4px rgba(255,255,255,.4), inset 0 0 24px rgba(255,255,255,.6); }
.lid.drag .f.top { box-shadow: inset 0 0 0 2px rgba(60,120,255,.6), inset 0 0 0 5px rgba(255,255,255,.4); }
.printer[data-state="printing"] .lid, .printer[data-state="feeding"] .lid { cursor: default; }
.feed-slot { position: absolute; left: 14px; right: 14px; top: 8px; height: 4px; border-radius: 2px; background: var(--dark); box-shadow: inset 0 1px 1px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.6); }

/* paper roll seen through the glass */
.roll .f.top {
  border-radius: 14px / 50%;
  background: linear-gradient(180deg, #a9a59b 0%, #e9e6df 28%, #ffffff 46%, #ebe8e1 62%, #b3afa5 100%);
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.roll .f.front { background: linear-gradient(180deg, #d5d1c8, #a19d93); border-radius: 0 0 8px 8px; }

/* screws (chrome) */
.screw {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: linear-gradient(#5c6168,#5c6168) center/3px 1px no-repeat, conic-gradient(from 210deg, #fff, #9da2aa 30%, #f4f4f4 50%, #8b9099 75%, #fff);
  box-shadow: inset 0 0 0 0.5px rgba(0,0,0,.3), 0 1px 1px rgba(0,0,0,.25);
}
.lid .s1 { left: 5px; top: 16px; } .lid .s2 { right: 5px; top: 16px; } .lid .s3 { left: 5px; bottom: 6px; } .lid .s4 { right: 5px; bottom: 6px; }
.panel .s1 { left: 5px; top: 5px; } .panel .s2 { right: 5px; bottom: 5px; }

/* ---------- on the body top ---------- */
.lid-shadow { position: absolute; left: 32px; top: 20px; width: 150px; height: 118px; border-radius: 8px; background: rgba(50,40,28,.30); filter: blur(7px); pointer-events: none; }
.panel-shadow { position: absolute; left: 204px; top: 22px; width: 72px; height: 66px; border-radius: 6px; background: rgba(50,40,28,.22); filter: blur(5px); pointer-events: none; }

/* chrome cutter along the front edge, serrated toward the camera */
.cutter {
  position: absolute; left: 22px; right: 22px; bottom: 4px; height: 9px;
  background:
    linear-gradient(180deg, #ffffff 0%, #c8cbd1 30%, #7a7f87 55%, #dfe1e5 72%, #8e939b 100%) top / 100% 6px no-repeat,
    conic-gradient(from -45deg at 50% 100%, #8e939b 90deg, transparent 0) bottom / 6px 3px repeat-x;
  box-shadow: 0 1px 2px rgba(0,0,0,.35);
}

/* slide switch */
.switch { position: absolute; left: 30px; top: 142px; width: 78px; height: 24px; }
.switch .glyph { position: absolute; top: 7px; width: 9px; height: 9px; color: #7c8087; filter: drop-shadow(0 1px 0 rgba(255,255,255,.9)); }
.glyph-a { left: 0; } .glyph-px { right: 0; }
.track {
  position: absolute; left: 16px; top: 6px; width: 46px; height: 12px; border-radius: 3px;
  background: linear-gradient(180deg, #b9bcc2, #d9dbdf); box-shadow: inset 0 1px 3px rgba(0,0,0,.45), 0 1px 0 rgba(255,255,255,.8);
}
.knob {
  position: absolute; left: calc(18px + var(--kx)); top: 5px; width: 16px; height: 14px; border-radius: 2px; cursor: grab; touch-action: none; outline: none;
  background: linear-gradient(180deg, #fafafa, #cfd2d7 60%, #b4b8be);
  box-shadow: inset 0 1px 0 #fff, 0 1px 1px rgba(0,0,0,.35), 0 2px 3px rgba(0,0,0,.2);
  transform: translateZ(3px);
  transition: left 0.28s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.knob::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 6px; transform: translate(-50%, -50%); background: repeating-linear-gradient(90deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px); }
.knob:active { cursor: grabbing; }
.knob:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #2b58d6; }
.switch.dragging .knob { transition: none; }
.hit { position: absolute; top: -8px; width: 34px; height: 40px; border: 0; background: transparent; padding: 0; cursor: pointer; }
.hit-a { left: -12px; } .hit-px { right: -12px; }

/* recessed print button */
.well {
  position: absolute; left: 212px; top: 118px; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #c9c5bb, #ddd9d0 70%);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.35), inset 0 -1px 0 rgba(255,255,255,.7);
}
.print-btn {
  position: absolute; left: 5px; top: 5px; width: 36px; height: 36px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: radial-gradient(circle at 42% 34%, #ffffff, #e9e6df 55%, #d2cec4 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 4px rgba(0,0,0,.10), 0 2px 3px rgba(0,0,0,.35), 0 5px 8px -3px rgba(0,0,0,.3);
  color: #6b6f76; display: grid; place-items: center;
  transform: translateZ(4px);
  transition: transform 0.08s ease, box-shadow 0.1s ease, color 0.3s;
}
.print-btn svg { width: 13px; height: 13px; }
.print-btn:disabled { cursor: not-allowed; color: #a9adb3; }
.print-btn:not(:disabled):active, .print-btn.pressed {
  transform: translateZ(0.5px);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 2px rgba(0,0,0,.1), 0 0 1px rgba(0,0,0,.35);
}
.printer[data-state="loaded"] .print-btn { color: var(--ink); }
.led {
  position: absolute; left: 266px; top: 138px; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff 0 18%, var(--led-off) 40%); box-shadow: inset 0 0 1px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.7);
  transition: background 0.3s, box-shadow 0.3s;
}
.printer[data-state="loaded"] .led, .printer[data-state="done"] .led { background: radial-gradient(circle at 40% 35%, #fff 0 15%, var(--led-ok) 45%); box-shadow: 0 0 6px 1px var(--led-ok); }
.printer[data-state="feeding"] .led { background: radial-gradient(circle at 40% 35%, #fff 0 15%, var(--led-busy) 45%); box-shadow: 0 0 5px var(--led-busy); }
.printer[data-state="printing"] .led { background: radial-gradient(circle at 40% 35%, #fff 0 15%, var(--led-busy) 45%); box-shadow: 0 0 6px 1px var(--led-busy); animation: blink 0.5s steps(2, end) infinite; }
@keyframes blink { to { opacity: 0.3; } }

/* front slit where paper exits */
.slit { position: absolute; left: 54px; right: 54px; bottom: 9px; height: 5px; border-radius: 2px; background: var(--dark); box-shadow: inset 0 1px 2px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.5); }

/* INK dial: knurled matte */
.dial {
  position: absolute; left: 22px; top: 18px; width: 28px; height: 28px; border-radius: 50%; cursor: grab; touch-action: none; outline: none;
  background:
    radial-gradient(circle, #dfe1e4 0 58%, transparent 60%),
    repeating-conic-gradient(#cfd2d7 0 7deg, #a3a7ae 7deg 14deg);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 1px 1px rgba(0,0,0,.35), 0 3px 5px -2px rgba(0,0,0,.3);
  transform: translateZ(4px) rotate(var(--rot));
}
.dial.settle { transition: transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1); }
.dial:active { cursor: grabbing; }
.dial:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #2b58d6; }
.dial-dot { position: absolute; left: 50%; top: 4px; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: var(--dark); }
.ink-mark { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #8a8e95; }
.ink-min { left: 18px; top: 48px; } .ink-max { left: 52px; top: 48px; }

/* subtle hum while the motor runs */
.printer[data-state="printing"] .body, .printer[data-state="printing"] .lid, .printer[data-state="printing"] .panel { animation: hum 0.12s linear infinite; }
@keyframes hum { 0%, 100% { translate: 0 0; } 50% { translate: 0.4px 0.2px; } }

/* ---------- photo being fed (stands upright, then sinks) ---------- */
.thumb {
  position: absolute; left: 65px; top: -58px; width: 80px; height: 88px; padding: 4px 4px 8px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
  transform-origin: 50% 100%; transform: translateZ(var(--tz, 200px)) rotateX(-90deg);
  pointer-events: none;
}
.thumb img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---------- the receipt on the table ---------- */
.paper {
  position: absolute; left: -88px; top: 78px; width: 176px; height: 0; overflow: hidden;
  background: linear-gradient(90deg, rgba(0,0,0,.045), rgba(0,0,0,0) 6%, rgba(0,0,0,0) 94%, rgba(0,0,0,.045)), var(--paper);
  box-shadow: 3px 4px 4px rgba(50,40,28,.30), 1px 1px 0 rgba(0,0,0,.10);
  transform: translateZ(0.6px);
  -webkit-mask: linear-gradient(#000 0 0) bottom / 100% calc(100% - 5px) no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, transparent 0) top / 10px 5px repeat-x;
  mask: linear-gradient(#000 0 0) bottom / 100% calc(100% - 5px) no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, transparent 0) top / 10px 5px repeat-x;
}
.paper.tear { transition: transform 0.6s cubic-bezier(0.4, 0, 0.8, 0.6), opacity 0.5s ease 0.1s; transform: translate3d(6px, 60px, 0.6px) rotate(3deg); opacity: 0; }
.paper.collapse { transition: height 0.5s ease-in; }
.paper-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 8px 14px; }
.paper-content canvas { display: block; width: 160px; height: auto; }
.head-heat { display: none; }

/* the short curl between the slit and the table */
.bridge {
  position: absolute; left: -88px; top: 81px; width: 176px; height: 25px; display: none;
  transform-origin: 50% 100%; transform: rotateX(-50deg);
  background: linear-gradient(180deg, #cfcabf 0%, #efece5 45%, var(--paper) 100%);
}
.bridge.on { display: block; }
.bridge::before { /* thermal head glow while printing */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px; opacity: 0; transition: opacity 0.4s;
  background: linear-gradient(180deg, rgba(140,70,20,.35), rgba(140,70,20,0));
}
.printer[data-state="printing"] ~ .bridge::before { opacity: 1; }

/* ---------- instruction: one friendly line under the printer ---------- */
.hint {
  position: absolute; left: 50%; bottom: 40px; translate: -50% 0; z-index: 45; margin: 0;
  max-width: min(520px, calc(100vw - 48px)); padding: 12px 18px; border-radius: 999px; text-align: center;
  font: 500 13px/1.5 var(--sans); letter-spacing: 0.01em; color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(240,236,226,.92)); border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 1px 1px rgba(0,0,0,.12), 6px 12px 22px -12px rgba(60,50,35,.5);
  transition: opacity 0.35s, translate 0.35s;
}
.hint-spark { color: var(--led-busy); margin-right: 4px; animation: spark 1.6s ease-in-out infinite; display: inline-block; }
@keyframes spark { 0%, 100% { transform: scale(1) rotate(0deg); opacity: .85; } 50% { transform: scale(1.35) rotate(20deg); opacity: 1; } }
.hint.hide { opacity: 0; translate: -50% 8px; pointer-events: none; }

/* ---------- flat UI ---------- */
.actions {
  position: absolute; right: 30px; bottom: 34px; display: flex; gap: 10px; z-index: 6;
  opacity: 0; translate: 0 6px; pointer-events: none; transition: opacity 0.3s, translate 0.3s;
}
.actions.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.pill {
  border-radius: 999px; padding: 11px 18px; min-height: 44px; cursor: pointer;
  font: 500 12px/1 var(--sans); letter-spacing: 0.04em; color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #ebe8e1); border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 1px 1px rgba(0,0,0,.15), 6px 10px 16px -10px rgba(60,50,35,.5);
  transition: transform 0.1s, box-shadow 0.15s;
}
.pill:active { transform: translateY(1px); box-shadow: inset 0 1px 2px rgba(0,0,0,.15); }

/* ---------- depth of field ---------- */
.dof { position: fixed; left: 0; right: 0; pointer-events: none; z-index: 40; }
.dof i { position: absolute; inset: 0; display: block; }
.dof.far { top: 0; height: 24vh; }
.dof.far i:nth-child(1) { -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); -webkit-mask: linear-gradient(#000 40%, transparent); mask: linear-gradient(#000 40%, transparent); }
.dof.far i:nth-child(2) { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); -webkit-mask: linear-gradient(#000 15%, transparent 65%); mask: linear-gradient(#000 15%, transparent 65%); }
.dof.far i:nth-child(3) { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); -webkit-mask: linear-gradient(#000, transparent 35%); mask: linear-gradient(#000, transparent 35%); }
.dof.near { bottom: 0; height: 26vh; }
.dof.near i:nth-child(1) { -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); -webkit-mask: linear-gradient(transparent, #000 60%); mask: linear-gradient(transparent, #000 60%); }
.dof.near i:nth-child(2) { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); -webkit-mask: linear-gradient(transparent 35%, #000 85%); mask: linear-gradient(transparent 35%, #000 85%); }
.dof.near i:nth-child(3) { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); -webkit-mask: linear-gradient(transparent 65%, #000); mask: linear-gradient(transparent 65%, #000); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hint-spark { animation: none; }
  .world, .knob, .dial.settle, .paper.tear, .paper.collapse, .actions, .head-heat { transition: none; }
  .printer[data-state="printing"] .body, .printer[data-state="printing"] .lid, .printer[data-state="printing"] .panel, .printer[data-state="printing"] .led { animation: none; }
}
