/* Отдельная выставочная оболочка. Вся анимация скульптуры — Rust/WGSL. */
.holobox {
  position: fixed; inset: 0; isolation: isolate; overflow: hidden;
  background: #030509; color: #eeeae2; font-family: var(--font);
  --holo-gold: #dbc698; --holo-muted: #7d8590;
}
.holobox__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.holobox__header { position: absolute; inset: 36px 44px auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; z-index: 3; }
.holobox__brand { display: flex; align-items: center; gap: 15px; color: #eee5d1; font-size: 18px; letter-spacing: .2em; font-weight: 400; text-decoration: none !important; }
.holobox__brand small { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .055em; color: #84848a; font-weight: 400; }
.holobox__logo { position: relative; width: 31px; height: 31px; border: 1px solid #cfb78488; border-radius: 50%; box-shadow: inset 0 0 13px #bba06c15; }
.holobox__logo::before, .holobox__logo::after { content: ''; position: absolute; inset: 5px -5px; border: 1px solid #cfb78466; border-radius: 50%; transform: rotate(-40deg); }
.holobox__logo::after { inset: 9px; border: 0; background: #dbc698; box-shadow: 0 0 16px #cfb78488; }
.holobox__top-actions { display: flex; align-items: center; gap: 22px; }
.holobox .locale-switch { border-color: #ffffff12; background: #05080c88; }
.holobox .locale-switch__option { font-size: 10px; }
.holobox__fullscreen { display: grid; place-items: center; border: 1px solid #ffffff16; background: #07090e; border-radius: 50%; width: 38px; height: 38px; color: #b6b6b9; cursor: pointer; }
.holobox__fullscreen svg, .holobox__play svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.4; }
.holobox__edition { position: absolute; right: 47px; top: 136px; font-size: 9px; letter-spacing: .19em; color: #747b85; display: flex; align-items: center; gap: 10px; writing-mode: vertical-rl; }
.holobox__edition > span { width: 1px; height: 34px; background: linear-gradient(transparent, #9e8a62); }
.holobox__caption { position: absolute; left: 4.2%; bottom: 24%; width: min(29vw, 395px); pointer-events: none; }
.holobox__eyebrow { color: var(--holo-gold); font-size: 9px; letter-spacing: .22em; margin-bottom: 22px; }
.holobox__caption h1 { font-size: clamp(27px, 3.05vw, 48px); line-height: 1.13; letter-spacing: -.035em; font-weight: 300; text-wrap: balance; }
.holobox__description { margin-top: 22px; color: #90939c; font-size: clamp(11px, .88vw, 14px); line-height: 1.85; max-width: 310px; white-space: pre-line; text-wrap: pretty; }
.holobox__caption-line { display: block; width: 43px; height: 1px; background: #c6ae7855; margin-top: 30px; }
.holobox__footer { position: absolute; bottom: 30px; left: 44px; right: 44px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.holobox__back { font-size: 11px; color: #9b9ca2; display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.holobox__back span { color: var(--holo-gold); font-size: 17px; }
.holobox__controls { display: flex; align-items: center; border: 1px solid #ffffff15; border-radius: 100px; background: #090d14e8; padding: 5px 10px; gap: 8px; box-shadow: 0 12px 44px #0006; }
.holobox__controls button { border: 0; background: transparent; cursor: pointer; color: #a1a5b0; padding: 0; }
.holobox__play { display: grid; place-items: center; width: 42px; height: 42px; }
.holobox__scene-buttons { display: flex; gap: 5px; border-left: 1px solid #ffffff10; border-right: 1px solid #ffffff10; padding: 0 10px; }
.holobox__scene { display: grid; place-content: center; gap: 5px; width: 40px; height: 40px; font-size: 10px; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.holobox__scene i { display: block; justify-self: center; width: 3px; height: 3px; border-radius: 50%; background: #535762; }
.holobox__scene[aria-pressed="true"] { color: #e6d2a8; }
.holobox__scene[aria-pressed="true"] i { background: #e6d2a8; box-shadow: 0 0 9px #d2b77aaa; }
.holobox__controls .holobox__auto { display: flex; align-items: center; gap: 7px; padding: 10px; font-size: 9px; letter-spacing: .07em; }
.holobox__auto > span { width: 4px; height: 4px; border-radius: 50%; background: #616875; }
.holobox__auto[aria-pressed="true"] > span { background: #8bc3ae; box-shadow: 0 0 7px #8bc3ae66; }
.holobox__controls button:disabled { cursor: default; opacity: .45; }
.holobox__controls button[aria-pressed="true"]:disabled { opacity: .8; }
.holobox__footnote { color: #656d78; font-size: 10px; text-align: right; letter-spacing: .05em; }
.holobox__notice { position: absolute; top: 47%; left: 50%; transform: translate(-50%,-50%); width: min(420px,86vw); text-align: center; padding: 30px; background: #030509e8; border-radius: 20px; }
.holobox__notice h2 { font-size: 22px; font-weight: 400; color: #e0d5bf; }
.holobox__notice p { font-size: 13px; color: #92939e; margin: 15px 0 0; line-height: 1.7; }
.holobox__notice button { margin-top: 20px; border-radius: 30px; padding: 10px 22px; border: 1px solid #d5bb8055; background: #d5bb8010; cursor: pointer; }
.holobox__notice-orbit { display: block; width: 62px; height: 62px; border: 1px solid #d5bb8055; border-radius: 50%; margin: 0 auto 25px; box-shadow: inset 0 0 25px #d5bb8010, 0 0 45px #9880df10; }
@media (max-width: 1050px) {
  .holobox__caption { bottom: 23%; width: 27vw; left: 4%; }
  .holobox__caption h1 { font-size: 30px; }
  .holobox__eyebrow { font-size: 8px; letter-spacing: .13em; }
  .holobox__footnote { display: none; }
  .holobox__footer { grid-template-columns: 1fr auto; }
}
@media (max-width: 680px), (max-aspect-ratio: 4/5) {
  .holobox__header { inset: 22px 20px auto; }
  .holobox__brand { font-size: 13px; gap: 10px; letter-spacing: .16em; }
  .holobox__brand small { font-size: 8px; }
  .holobox__logo { width: 25px; height: 25px; }
  .holobox__top-actions { gap: 9px; }
  .holobox__fullscreen { width: 31px; height: 31px; }
  .holobox__edition { right: 19px; top: 103px; font-size: 7px; }
  .holobox__caption { left: 22px; bottom: 110px; width: calc(100% - 44px); }
  .holobox__eyebrow { margin-bottom: 7px; font-size: 7px; }
  .holobox__caption h1 { font-size: 26px; }
  .holobox__description { margin-top: 8px; font-size: 11px; line-height: 1.6; max-width: 100%; }
  .holobox__caption-line { display: none; }
  .holobox__footer { bottom: 28px; left: 15px; right: 15px; display: flex; justify-content: center; }
  .holobox__back { display: none; }
  .holobox__canvas { height: 84%; mask-image: linear-gradient(#000 87%, transparent); }
}
@media (max-width: 380px) {
  .holobox__controls { gap: 4px; padding-inline: 6px; }
  .holobox__scene { width: 32px; }
  .holobox__scene-buttons { padding-inline: 6px; }
  .holobox__controls .holobox__auto { padding-inline: 7px; }
}
@media (max-height: 560px) and (min-aspect-ratio: 4/5) {
  .holobox__header { top: 16px; left: 24px; right: 24px; }
  .holobox__footer { bottom: 16px; left: 24px; right: 24px; }
  .holobox__caption h1 { font-size: 25px; }
  .holobox__caption { bottom: 24%; }
  .holobox__description { margin-top: 10px; font-size: 10px; }
  .holobox__caption-line { display: none; }
}
