﻿/* Direction N · Le Cabinet des Cloches (Editorial 3D scene + ultra-readable humanist sans drawers & Plain view). */
@font-face { font-family: "Bodoni Moda"; src: url("./assets/fonts/bodoni.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("./assets/fonts/bodoni-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("./assets/fonts/HankenGrotesk-VF.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Besley"; src: url("./assets/fonts/besley.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("./assets/fonts/martian.woff2") format("woff2"); font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; }

:root {
  --night: #141a33;
  --ivory: #f5efe3;
  --mist: #d0cbe0;
  --dawn: #ff9b6a;
  --dawn-ink: #241005;
  --paper: #f6f2e8;
  --card: #ffffff;
  --ink: #151c36;
  --ink-2: #4b5470;
  --rule: rgba(21, 28, 54, 0.14);
  --alert: #b83b20;
  --warn: #a36510;
  --good: #186b4c;
  --brass: #d4a657;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --drawer-w: min(41rem, 48vw);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: radial-gradient(115% 85% at 24% 16%, #28346a 0%, var(--night) 55%, #0c1022 100%);
  color: var(--ivory);
  font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2px solid var(--dawn); outline-offset: 3px; }
a { color: inherit; text-underline-offset: 0.2em; }
#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 600ms var(--ease); touch-action: none; cursor: grab; }
#scene.is-dragging { cursor: grabbing; }
.scene-on #scene { opacity: 1; }

/* ===== DISCREET STUDIO CONTROLS & FEEDBACK TOAST ===== */
.studio-hud {
  position: fixed; z-index: 2; right: clamp(1.2rem, 3.2vw, 2.8rem); bottom: clamp(1rem, 2.6vh, 1.8rem);
  display: flex; align-items: center; gap: 0.45rem;
  transition: right 320ms var(--ease), opacity 200ms var(--ease);
}
.is-open .studio-hud { right: calc(var(--drawer-w) + 1.25rem); }
.js:not(.scene-on):not(.diorama-mode) .studio-hud, .plain-mode .studio-hud, .no-webgl .studio-hud, html:not(.js) .studio-hud { display: none; }
.hud-btn {
  min-height: 2.05rem; padding: 0 0.85rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(245, 239, 227, 0.28); background: rgba(16, 22, 44, 0.72);
  color: var(--ivory); font: 500 0.76rem/1 "Martian Mono", monospace; letter-spacing: 0.04em;
  backdrop-filter: blur(8px); transition: background-color 160ms var(--ease), border-color 160ms var(--ease);
}
.hud-btn:hover { background: rgba(245, 239, 227, 0.16); border-color: rgba(255, 190, 153, 0.65); }
.hud-btn[aria-pressed="false"] { color: var(--mist); border-color: rgba(245, 239, 227, 0.18); }
.hud-btn[hidden] { display: none; }

.studio-toast {
  position: fixed; z-index: 2; left: clamp(1.4rem, 3.8vw, 3.4rem); bottom: clamp(1rem, 2.6vh, 1.8rem);
  padding: 0.48rem 0.9rem; border-radius: 999px;
  background: rgba(16, 22, 44, 0.84); border: 1px solid rgba(255, 190, 153, 0.45);
  color: var(--ivory); font: 500 0.78rem/1.2 "Martian Mono", monospace; letter-spacing: 0.03em;
  backdrop-filter: blur(8px); pointer-events: none;
  opacity: 0; transform: translateY(6px); transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}
.studio-toast.is-shown { opacity: 1; transform: translateY(0); }
.studio-toast[hidden] { display: none; }

/* ===== HEADER OVERLAY ===== */
.plate {
  position: fixed; z-index: 2;
  top: clamp(1.25rem, 3vh, 2.4rem); left: clamp(1.6rem, 4.4vw, 4.4rem); right: clamp(1.6rem, 4.4vw, 4.4rem);
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0.4rem 2.2rem;
  transition: opacity 220ms var(--ease), visibility 0s;
}
.is-open .plate { opacity: 0; visibility: hidden; transition: opacity 200ms var(--ease), visibility 0s 200ms; }
.kicker { grid-column: 1 / -1; margin: 0 0 0.12rem; font: 500 0.75rem/1.2 "Martian Mono", monospace; letter-spacing: 0.14em; text-transform: uppercase; color: #ffbe99; }
.name { margin: 0; font: 500 clamp(2.8rem, 4.9vw, 4.7rem)/0.94 "Bodoni Moda", Georgia, serif; letter-spacing: -0.02em; }
.name em { font-style: italic; font-weight: 400; color: var(--dawn); }
.line { grid-column: 1; margin: 0.45rem 0 0; font-size: clamp(1.06rem, 1.35vw, 1.24rem); font-weight: 500; line-height: 1.35; color: var(--ivory); max-width: 48ch; }
.sub { grid-column: 1; margin: 0.22rem 0 0; font-size: 0.92rem; color: var(--mist); max-width: 58ch; }
.actions { grid-column: 2; grid-row: 2 / span 3; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0.55rem; }
.btn {
  display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1.15rem;
  border: 1px solid rgba(245, 239, 227, 0.48); border-radius: 999px;
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  transition: background-color 160ms var(--ease);
}
.btn:hover { background: rgba(245, 239, 227, 0.12); }
.btn-main { background: var(--dawn); color: var(--dawn-ink); border-color: var(--dawn); }
.btn-main:hover { background: #ffb08a; }
.plain-toggle {
  padding: 0.35rem 0.2rem 0.35rem 0.5rem; border: 0; background: none; color: var(--mist);
  font: 500 0.9rem/1 "Hanken Grotesk", sans-serif; text-decoration: underline; text-underline-offset: 0.24em; cursor: pointer;
}
.plain-toggle:hover { color: var(--ivory); }

/* ===== FLOATING MUSEUM CARTELS ===== */
.tags { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.js:not(.scene-on):not(.diorama-mode) .tags { display: none; }
.tag {
  position: absolute; left: 0; top: 0; pointer-events: auto;
  width: 14.5rem; padding: 0.62rem 0.85rem 0.68rem;
  background: var(--paper); color: var(--ink);
  border: 0; border-top: 3px solid var(--dawn); border-radius: 3px; text-align: left; cursor: pointer;
  box-shadow: 0 10px 26px -10px rgba(5, 8, 22, 0.82);
  transition: box-shadow 160ms var(--ease);
  will-change: transform;
}
.tag::before { content: ""; position: absolute; left: 50%; top: -1rem; width: 1px; height: 1rem; background: var(--brass); }
.tag:hover, .tag.is-hot { box-shadow: 0 14px 32px -10px rgba(5, 8, 22, 0.92), 0 0 0 2px var(--dawn); }
.tag-no { display: block; font: 500 0.68rem/1.2 "Martian Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.tag-title { display: block; margin-top: 0.16rem; font-size: 0.96rem; font-weight: 700; line-height: 1.22; color: var(--ink); }
.tag-status { display: block; margin-top: 0.2rem; font-size: 0.8rem; font-weight: 500; line-height: 1.25; color: var(--ink-2); }
.is-open .tags { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 200ms var(--ease), visibility 0s 200ms; }

/* ===== HIGH-READABILITY EDITORIAL DRAWER ===== */
.drawer {
  position: fixed; z-index: 3; top: 0; right: 0; bottom: 0; width: var(--drawer-w);
  background: var(--paper); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
  padding: 2.2rem 2.4rem 3.4rem;
  box-shadow: -28px 0 64px -26px rgba(5, 8, 22, 0.85);
  transform: translateX(0); transition: transform 320ms var(--ease);
}
.drawer[hidden] { display: block; transform: translateX(105%); visibility: hidden; transition: transform 320ms var(--ease), visibility 0s 320ms; }
.drawer-close {
  position: sticky; top: 0; float: right; margin: -0.35rem -0.35rem 0 1rem; z-index: 2;
  min-height: 2.35rem; padding: 0 1rem; border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--paper); color: var(--ink); font: 600 0.86rem/1 "Hanken Grotesk", sans-serif; cursor: pointer;
}
.drawer-close:hover { background: var(--ink); color: var(--paper); }
.drawer .no { margin: 0; font: 500 0.72rem/1.2 "Martian Mono", monospace; letter-spacing: 0.13em; text-transform: uppercase; color: var(--alert); }
.drawer h2 { margin: 0.25rem 0 0.55rem; font: 500 2rem/1.08 "Bodoni Moda", Georgia, serif; letter-spacing: -0.015em; color: var(--ink); }
.drawer h2:focus { outline: none; }
.status { display: inline-block; margin: 0 0 0.85rem; padding: 0.24rem 0.7rem; background: rgba(21, 28, 54, 0.07); border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.drawer-lead { margin: 0 0 1.4rem; font-size: 0.98rem; line-height: 1.58; color: var(--ink-2); max-width: 56ch; }

/* Scannable Study Cards inside Drawer & Plain View */
.study-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 10px -6px rgba(21, 28, 54, 0.12);
}
.study-card.is-primary { border-top: 3px solid var(--ink); }
.study-top {
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.study-top h3 {
  margin: 0; font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink);
  text-transform: none;
}
.ext-link {
  flex-shrink: 0; font: 500 0.78rem/1 "Martian Mono", monospace; text-decoration: none;
  color: var(--ink); padding: 0.34rem 0.62rem; border: 1px solid var(--rule); border-radius: 5px;
  background: #faf8f3;
}
.ext-link:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.kpi-row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.kpi {
  background: #f8f6f0; border: 1px solid rgba(21, 28, 54, 0.09); border-radius: 6px;
  padding: 0.65rem 0.8rem;
}
.kpi-val {
  display: block; font: 600 1.08rem/1.2 "Martian Mono", monospace; font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.kpi-val.is-alert { color: var(--alert); }
.kpi-val.is-warn { color: var(--warn); }
.kpi-lbl { display: block; margin-top: 0.22rem; font-size: 0.78rem; line-height: 1.3; color: var(--ink-2); }

.summary { margin: 0 0 0.75rem; font-size: 0.95rem; line-height: 1.6; color: #202740; }
.caveat-line { margin: 0 0 0.75rem; font-size: 0.86rem; line-height: 1.5; color: var(--ink-2); padding-left: 0.75rem; border-left: 2.5px solid var(--warn); }
.study-card code { font: 500 0.82rem/1 "Martian Mono", monospace; background: #f1ede4; padding: 0.1rem 0.35rem; border-radius: 3px; color: var(--ink); }

.chip-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.65rem 0 0.25rem; }
.chip-links a {
  font: 500 0.78rem/1.2 "Martian Mono", monospace; text-decoration: none;
  color: var(--ink); background: #f3efe6; padding: 0.34rem 0.62rem; border-radius: 5px;
  border: 1px solid rgba(21, 28, 54, 0.14);
}
.chip-links a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Collapsible Protocol & Limits Drawer */
details.proto {
  margin-top: 0.85rem; padding-top: 0.75rem; border-top: 1px solid var(--rule);
}
details.proto summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 0.45rem;
  font-size: 0.86rem; font-weight: 600; color: var(--ink);
  user-select: none;
}
details.proto summary::-webkit-details-marker { display: none; }
details.proto summary::before { content: "▸"; font-size: 0.82rem; color: var(--alert); transition: transform 150ms ease; }
details.proto[open] summary::before { transform: rotate(90deg); }
details.proto ul { margin: 0.7rem 0 0; padding-left: 1.15rem; }
details.proto li { margin-bottom: 0.45rem; font-size: 0.88rem; line-height: 1.55; color: #2b334d; }
details.proto li:last-child { margin-bottom: 0; }
.mono-list { margin: 0.65rem 0 0; font-size: 0.84rem; line-height: 1.7; color: var(--ink); }

/* Interactive 4-Arm Lab */
.lab { margin: 0.9rem 0 0.3rem; padding: 0.95rem 1rem; background: #faf7f0; border: 1px solid rgba(21, 28, 54, 0.16); border-radius: 6px; }
.lab-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.85rem; }
.lab-tab {
  min-height: 2rem; padding: 0 0.75rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(21, 28, 54, 0.35); background: #fff; color: var(--ink);
  font: 600 0.78rem/1 "Hanken Grotesk", sans-serif;
}
.lab-tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.bar-row { display: grid; grid-template-columns: 9.0rem 1fr 6.0rem; gap: 0.55rem; align-items: center; margin-bottom: 0.46rem; font: 500 0.75rem/1.2 "Martian Mono", monospace; }
.bar-track { display: block; height: 10px; background: rgba(21, 28, 54, 0.1); border-radius: 3px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--good); border-radius: 3px; transition: width 260ms var(--ease); }
.bar-fill.bad { background: var(--alert); }
.bar-fill.mid { background: #c97d1a; }
.lab-note { margin: 0.7rem 0 0; font-size: 0.84rem; line-height: 1.5; color: var(--ink-2); }

/* AZERTY Keycap Legend Strip */
.key-legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.55rem; margin: 0.9rem 0; }
.kl-item {
  background: #f8f5ee; border: 1px solid var(--rule); border-radius: 6px;
  padding: 0.55rem 0.4rem; text-align: center; cursor: pointer;
  transition: border-color 140ms var(--ease), transform 120ms var(--ease), background-color 140ms var(--ease);
}
.kl-item:hover { border-color: var(--ink); background: #fff; }
.kl-item:active { transform: translateY(2px); }
.kl-item kbd { display: block; font: 600 1.25rem/1.1 "Besley", Georgia, serif; color: var(--ink); }
.kl-item span { display: block; margin-top: 0.25rem; font: 500 0.68rem/1.2 "Martian Mono", monospace; color: var(--ink-2); }

/* ===== PLAIN VIEW / NO-JS / NO-WEBGL (SAME CLEAN CARDS) ===== */
.plain { display: none; position: fixed; inset: 0; z-index: 4; overflow-y: auto; padding: 2.5rem clamp(1.25rem, 6vw, 6rem) 4.5rem; background: var(--paper); color: var(--ink); }
html:not(.js) .plain, .plain-mode .plain, .no-webgl .plain { display: block; }
html:not(.js) body, .no-webgl body { overflow: auto; }
html:not(.js) .plain { position: static; }
html:not(.js) .plate, html:not(.js) #scene, html:not(.js) .tags,
.no-webgl .plate, .no-webgl #scene, .no-webgl .tags { display: none; }
.plain-mode .plate, .plain-mode .tags { visibility: hidden; pointer-events: none; }
.plain-inner { max-width: 52rem; margin: 0 auto; }
.plain-title { margin: 0 0 0.4rem; font: 500 clamp(2rem, 4vw, 2.8rem)/1.06 "Bodoni Moda", Georgia, serif; color: var(--ink); }
.plain-note { margin: 0 0 2rem; color: var(--ink-2); font-size: 0.95rem; }
.plain-note a { color: var(--ink); font-weight: 600; }
.plain-sec { margin-bottom: 2.6rem; }
.plain-sec-head { margin: 0 0 1rem; font: 500 1.45rem/1.15 "Bodoni Moda", Georgia, serif; color: var(--ink); padding-bottom: 0.45rem; border-bottom: 1.5px solid var(--ink); }
.plain-back {
  position: sticky; top: 0; float: right; min-height: 2.4rem; padding: 0 1rem;
  border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink);
  font: 600 0.86rem/1 "Hanken Grotesk", sans-serif; cursor: pointer;
}
.plain-back:hover { background: var(--ink); color: var(--paper); }
.no-webgl .plain-back, html:not(.js) .plain-back { display: none; }

@media (max-width: 900px) {
  :root { --drawer-w: 100vw; }
  .plate { grid-template-columns: 1fr; top: 0.85rem; left: 1.1rem; right: 1.1rem; }
  .name { font-size: 2.25rem; }
  .line { font-size: 0.96rem; margin-top: 0.25rem; }
  .sub { display: none; }
  .actions { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 0.5rem; gap: 0.45rem; }
  .btn { min-height: 2.25rem; padding: 0 0.9rem; font-size: 0.84rem; }
  .tags {
    top: auto; bottom: max(0.85rem, env(safe-area-inset-bottom));
    left: 0.8rem; right: 0.8rem; height: auto;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45rem;
    pointer-events: auto;
  }
  .tag { position: static; width: auto; transform: none !important; padding: 0.5rem 0.55rem; }
  .tag::before { display: none; }
  .tag-no { font-size: 0.62rem; }
  .tag-title { font-size: 0.8rem; margin-top: 0.12rem; }
  .tag-status { font-size: 0.7rem; margin-top: 0.15rem; }
  .tag.is-mobile-active { box-shadow: 0 0 0 2px var(--dawn), 0 8px 20px -8px rgba(5, 8, 22, 0.85); }
  .drawer { top: auto; height: 74vh; height: 74dvh; width: 100%; border-radius: 16px 16px 0 0; padding: 1.5rem 1.25rem 2.6rem; }
  .drawer[hidden] { transform: translateY(105%); }
  .kpi-row { grid-template-columns: 1fr; }
  .key-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-hud { right: 0.85rem; bottom: calc(max(0.85rem, env(safe-area-inset-bottom)) + 6.4rem); top: auto; }
  .is-open .studio-hud { opacity: 0; pointer-events: none; }
  .studio-toast { left: 0.85rem; bottom: calc(max(0.85rem, env(safe-area-inset-bottom)) + 6.4rem); top: auto; }
}

/* 2.5D Mobile Diorama (loaded when Three.js is deferred) */
.diorama { display: none; position: fixed; inset: 0; z-index: 0; overflow: hidden; background: radial-gradient(circle at 24% 26%, rgba(255, 166, 114, 0.22), transparent 54%), linear-gradient(175deg, #1b2449 0%, #141a33 55%, #0c1022 100%); }
.diorama-mode #scene { display: none; }
.diorama-mode .diorama { display: block; }
.diorama-mode.plain-mode .diorama { display: none; }
.diorama-mode .studio-hud .hud-btn:not([hidden]) { display: inline-flex; }
.dio-window {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 180, 125, 0.14) 0%, rgba(255, 180, 125, 0.04) 36%, transparent 62%);
  mask-image: repeating-linear-gradient(125deg, #000 0 92px, transparent 92px 104px);
}
.dio-stage {
  position: absolute; left: 0; right: 0;
  bottom: calc(max(0.85rem, env(safe-area-inset-bottom)) + 9.2rem);
  height: 15.5rem; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
}
.dio-bells {
  position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: center;
  gap: clamp(0.65rem, 3.8vw, 1.4rem); padding: 0 1rem; margin-bottom: -2px;
}
.dio-bell {
  display: flex; flex-direction: column; align-items: center; padding: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.dio-dome {
  position: relative; width: clamp(5.2rem, 24vw, 6.4rem); height: clamp(6.6rem, 30vw, 8.1rem);
  border-radius: 50% 50% 6px 6px / 38% 38% 6px 6px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(210, 224, 255, 0.05) 45%, rgba(16, 22, 46, 0.25) 100%);
  border: 1.5px solid rgba(255, 238, 212, 0.34);
  box-shadow: inset 0 8px 18px rgba(255, 232, 200, 0.16), 0 10px 24px rgba(5, 8, 22, 0.55);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 0.45rem;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
}
.dio-bell.is-lifted .dio-dome, .dio-bell:focus-visible .dio-dome {
  transform: translateY(-16px);
  box-shadow: inset 0 10px 22px rgba(255, 232, 200, 0.26), 0 18px 30px rgba(5, 8, 22, 0.72), 0 0 0 1.5px var(--dawn);
}
.dio-knob {
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe6b3, #b58438);
}
.dio-shine {
  position: absolute; top: 14%; left: 14%; width: 16%; height: 52%; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.dio-rim {
  position: absolute; left: -2px; right: -2px; bottom: -2px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #8b6324, #eac47e, #8b6324);
}
.dio-spec { width: 72%; height: auto; pointer-events: none; }
.dio-pedestal {
  width: clamp(5.6rem, 25.5vw, 6.8rem); height: 0.9rem; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #3c2117, #22110b);
  border-top: 2px solid #cfa050; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}
.dio-pedestal-math { height: 1.55rem; }
.dio-lamp {
  position: absolute; right: 2%; bottom: 1.35rem; z-index: 1; width: 3.4rem; padding: 0;
  border: 0; background: none; cursor: pointer; opacity: 0.92;
}
.dio-lamp-svg { width: 100%; height: auto; display: block; }
.dio-lamp-glow {
  position: absolute; right: 0.4rem; top: 1.5rem; width: 8rem; height: 7rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 203, 133, 0.34), transparent 70%);
  pointer-events: none; transition: opacity 240ms var(--ease);
}
.is-lamp-off .dio-lamp-glow { opacity: 0; }
.is-lamp-off .dio-bulb { fill: #3f465e; }
.dio-velvet {
  width: 88%; max-width: 24rem; height: 0.45rem; border-radius: 3px 3px 0 0;
  background: #141c3c; border-top: 1.5px solid #c9994a;
}
.dio-credenza {
  width: 96%; max-width: 27rem; height: 2.2rem; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #381e15 0%, #23110b 65%, #160a06 100%);
  border-top: 2px solid #593324; box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.55);
}
@media (min-width: 901px) {
  .diorama { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; }
}
.shot *, .shot *::before, .shot *::after { transition: none !important; }

