:root {
  --bg: #03070b;
  --ink: #e9f4f8;
  --muted: #8096a3;
  --dim: #526773;
  --line: rgba(132, 196, 216, 0.15);
  --line-strong: rgba(137, 216, 238, 0.28);
  --glass: rgba(7, 13, 20, 0.74);
  --glass-deep: rgba(5, 10, 16, 0.86);
  --cyan: #79e8ff;
  --cyan-soft: #44b9d6;
  --violet: #a78bfa;
  --amber: #ffbb72;
  --green: #78f5b6;
  --danger: #ff7c8d;
  --panel-left: 272px;
  --panel-right: 322px;
  --font-display: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Segoe UI", "Microsoft YaHei", sans-serif;
  --font-body: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(ellipse 55% 70% at 64% 42%, rgba(27, 91, 114, 0.22), transparent 62%),
    radial-gradient(ellipse 42% 55% at 28% 78%, rgba(92, 56, 157, 0.13), transparent 68%),
    radial-gradient(ellipse 80% 90% at 50% 45%, rgba(7, 16, 26, 0.88), #020509 82%),
    #020509;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

body.modal-open {
  overflow: hidden;
}

button {
  padding: 0;
  border: 0;
  color: inherit;
  font: inherit;
  background: none;
  cursor: pointer;
}

button:focus-visible {
  outline: 1px solid var(--cyan);
  outline-offset: 3px;
}

::selection {
  color: #021015;
  background: var(--cyan);
}

[hidden] {
  display: none !important;
}

.noscript {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  padding: 24px;
  color: var(--ink);
  background: #03070b;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  place-items: center;
}

.app {
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
}

#scene {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}

#scene.is-dragging {
  cursor: grabbing;
}

#scene.is-hovering {
  cursor: pointer;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.backdrop__grid {
  position: absolute;
  inset: -20%;
  opacity: 0.4;
  background-image: radial-gradient(rgba(113, 201, 224, 0.13) 0.7px, transparent 0.7px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 51% 48%, #000 8%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 51% 48%, #000 8%, transparent 72%);
  transform: perspective(700px) rotateX(62deg) translateY(14%);
  transform-origin: 50% 95%;
}

.backdrop__scan {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 4px,
    rgba(123, 212, 236, 0.16) 5px,
    transparent 6px
  );
  mix-blend-mode: soft-light;
}

.backdrop__noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.backdrop__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 72% 64% at 52% 48%, transparent 44%, rgba(1, 4, 8, 0.52) 100%),
    linear-gradient(180deg, rgba(2, 5, 9, 0.62) 0%, transparent 20%, transparent 78%, rgba(2, 5, 9, 0.7) 100%);
}

.frame {
  position: fixed;
  inset: 12px;
  z-index: 3;
  pointer-events: none;
}

.frame__corner {
  position: absolute;
  width: 18px;
  height: 18px;
  opacity: 0.42;
}

.frame__corner--tl {
  top: 0;
  left: 0;
  border-top: 1px solid var(--cyan-soft);
  border-left: 1px solid var(--cyan-soft);
}

.frame__corner--tr {
  top: 0;
  right: 0;
  border-top: 1px solid var(--cyan-soft);
  border-right: 1px solid var(--cyan-soft);
}

.frame__corner--bl {
  bottom: 0;
  left: 0;
  border-bottom: 1px solid var(--cyan-soft);
  border-left: 1px solid var(--cyan-soft);
}

.frame__corner--br {
  right: 0;
  bottom: 0;
  border-right: 1px solid var(--cyan-soft);
  border-bottom: 1px solid var(--cyan-soft);
}

.frame__tick {
  position: absolute;
  top: 50%;
  width: 1px;
  height: 44px;
  background: linear-gradient(transparent, rgba(113, 202, 225, 0.28), transparent);
}

.frame__tick--left { left: 0; }
.frame__tick--right { right: 0; }

/* ------------------------------------------------------------------ */
/* Top bar                                                             */
/* ------------------------------------------------------------------ */

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  height: 78px;
  padding: 0 30px;
  border-bottom: 1px solid rgba(133, 201, 221, 0.12);
  background: linear-gradient(180deg, rgba(3, 8, 13, 0.94), rgba(3, 8, 13, 0.47) 68%, transparent);
  pointer-events: none;
}

.topbar::after {
  position: absolute;
  right: 30px;
  bottom: -1px;
  left: 30px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(115, 231, 255, 0.42), transparent 27%, transparent 72%, rgba(167, 139, 250, 0.32));
  opacity: 0.55;
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  min-width: 230px;
  pointer-events: auto;
}

.brand__mark {
  display: grid;
  width: 31px;
  height: 31px;
  color: var(--cyan);
  filter: drop-shadow(0 0 9px rgba(102, 231, 255, 0.28));
  place-items: center;
}

.brand__mark svg {
  width: 100%;
  height: 100%;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__copy strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.19em;
}

.brand__copy small {
  color: var(--dim);
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.25em;
}

.topbar__center {
  position: absolute;
  left: 50%;
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: rgba(183, 209, 218, 0.55);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.2em;
  transform: translateX(-50%);
}

.topbar__model {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.topbar__slash {
  color: var(--cyan-soft);
  opacity: 0.7;
}

.topbar__right {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
  pointer-events: auto;
}

.mode-chip {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(128, 198, 218, 0.16);
  border-radius: 2px;
  background: rgba(7, 16, 24, 0.64);
  box-shadow: inset 0 0 18px rgba(53, 129, 155, 0.05);
}

.mode-chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(120, 245, 182, 0.8);
  animation: statusPulse 2.8s ease-in-out infinite;
}

.mode-chip span {
  color: #c9e5eb;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.mode-chip b {
  max-width: 0;
  overflow: hidden;
  color: var(--dim);
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.16em;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 0.4s ease, opacity 0.4s ease;
}

body.exploded .mode-chip i {
  background: var(--violet);
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.8);
}

body.exploded .mode-chip b {
  max-width: 190px;
  opacity: 1;
}

.icon-button {
  position: relative;
  display: grid;
  width: 31px;
  height: 31px;
  color: #8daab4;
  border: 1px solid rgba(128, 198, 218, 0.2);
  border-radius: 50%;
  background: rgba(7, 16, 24, 0.55);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  place-items: center;
}

.icon-button:hover {
  color: var(--cyan);
  border-color: rgba(121, 232, 255, 0.55);
  background: rgba(17, 43, 53, 0.7);
  box-shadow: 0 0 20px rgba(91, 216, 244, 0.12);
}

/* ------------------------------------------------------------------ */
/* Panels                                                              */
/* ------------------------------------------------------------------ */

.panel {
  position: fixed;
  z-index: 22;
  border: 1px solid rgba(126, 194, 213, 0.14);
  border-radius: 3px;
  background:
    linear-gradient(145deg, rgba(18, 35, 45, 0.34), transparent 32%),
    linear-gradient(180deg, rgba(8, 15, 23, 0.83), rgba(5, 10, 16, 0.71));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(196, 239, 248, 0.04);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  opacity: 0;
  pointer-events: auto;
}

.panel::before,
.panel::after {
  position: absolute;
  z-index: 2;
  width: 13px;
  height: 13px;
  content: "";
  pointer-events: none;
}

.panel::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid rgba(120, 231, 255, 0.55);
  border-left: 1px solid rgba(120, 231, 255, 0.55);
}

.panel::after {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid rgba(150, 132, 250, 0.42);
  border-bottom: 1px solid rgba(150, 132, 250, 0.42);
}

.panel__edge {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: -1px;
  width: 1px;
  background: linear-gradient(transparent, rgba(113, 225, 249, 0.5) 20%, rgba(113, 225, 249, 0.15) 65%, transparent);
  opacity: 0.55;
}

.panel__heading {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #6d8792;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.panel__heading i {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(129, 196, 215, 0.22), transparent);
}

.panel__index {
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.panel__heading--tight {
  margin-bottom: 8px;
}

/* ------------------------------------------------------------------ */
/* Left overview panel                                                 */
/* ------------------------------------------------------------------ */

.overview-panel {
  top: 98px;
  left: 28px;
  width: var(--panel-left);
  max-height: calc(100vh - 126px);
  max-height: calc(100dvh - 126px);
  padding: 19px 19px 17px;
  overflow: hidden;
}

body.ready .overview-panel {
  animation: panelIn 0.9s cubic-bezier(0.22, 0.84, 0.28, 1) 0.15s forwards;
}

.product-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  color: #a3bbc2;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.tag-mini {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  color: var(--cyan);
  border: 1px solid rgba(121, 232, 255, 0.3);
  background: rgba(56, 160, 183, 0.09);
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.hero-title {
  margin: 7px 0 0;
  color: #eaf7fa;
  font-family: var(--font-display);
  font-size: clamp(62px, 6.1vw, 88px);
  font-weight: 800;
  font-style: italic;
  line-height: 0.86;
  letter-spacing: -0.045em;
  background: linear-gradient(112deg, #f7fcff 8%, #b7d0d8 42%, #59808b 65%, #e7f9ff 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(77, 163, 185, 0.12));
}

.hero-title span {
  background: linear-gradient(145deg, #b7f7ff 10%, #65d9f6 50%, #4878b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin: 7px 0 0 3px;
  color: #7e96a0;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.hero-capacity {
  display: flex;
  gap: 6px;
  align-items: baseline;
  margin-top: 19px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(124, 193, 212, 0.12);
}

.hero-capacity strong {
  color: #f2fbff;
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-capacity span {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-capacity em {
  margin-left: auto;
  color: #607781;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 15px;
}

.metric__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #718994;
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.13em;
}

.metric__top b {
  color: #49616a;
  font-weight: 500;
}

.metric__value {
  margin-top: 4px;
  color: #e6f6fa;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.metric__value small {
  margin-left: 3px;
  color: #738b95;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.metric__bar {
  height: 2px;
  margin-top: 8px;
  overflow: hidden;
  background: rgba(111, 182, 200, 0.12);
}

.metric__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(102, 220, 244, 0.5), var(--cyan));
  box-shadow: 0 0 8px rgba(121, 232, 255, 0.4);
  transform-origin: left;
}

body.ready .metric__bar i {
  animation: barGrow 1.3s cubic-bezier(0.22, 0.84, 0.28, 1) 0.6s both;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 16px;
}

.tech-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 0 7px;
  color: #9db3bb;
  border: 1px solid rgba(121, 184, 201, 0.13);
  background: rgba(53, 101, 115, 0.08);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.structure-strip {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid rgba(124, 193, 212, 0.12);
}

.structure-strip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #607a85;
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.structure-strip__head em {
  color: #8ba4ae;
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.04em;
}

.structure-strip__track {
  display: flex;
  gap: 3px;
  height: 4px;
  margin-top: 9px;
}

.structure-strip__track i {
  flex: 1;
  background: rgba(112, 201, 223, 0.14);
}

.structure-strip__track i:nth-child(1) {
  background: linear-gradient(90deg, rgba(121, 232, 255, 0.7), rgba(121, 232, 255, 0.18));
  box-shadow: 0 0 7px rgba(121, 232, 255, 0.18);
}

.structure-strip__track i:nth-child(2),
.structure-strip__track i:nth-child(3) {
  background: rgba(255, 187, 114, 0.45);
}

.structure-strip__track i:nth-child(6),
.structure-strip__track i:nth-child(7) {
  background: rgba(255, 209, 102, 0.33);
}

.structure-strip__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: #435761;
  font-size: 7px;
  letter-spacing: 0.08em;
}

.overview-stats {
  display: flex;
  margin-top: 15px;
  padding: 10px 0;
  border-top: 1px solid rgba(124, 193, 212, 0.1);
  border-bottom: 1px solid rgba(124, 193, 212, 0.1);
}

.overview-stats div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  border-right: 1px solid rgba(124, 193, 212, 0.1);
}

.overview-stats div:last-child {
  border-right: 0;
}

.overview-stats b {
  color: #cfe3e8;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}

.overview-stats span {
  color: #5f757f;
  font-size: 8px;
  letter-spacing: 0.06em;
}

.mini-guide {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  color: #607680;
  font-size: 8px;
  letter-spacing: 0.05em;
}

.mini-guide span {
  display: flex;
  gap: 4px;
  align-items: center;
  white-space: nowrap;
}

.ico {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 12px;
  opacity: 0.7;
}

.ico--drag {
  border: 1px solid #7b98a2;
  border-radius: 4px;
}

.ico--drag::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 1px;
  height: 4px;
  content: "";
  background: #7b98a2;
}

.ico--wheel {
  border: 1px solid #7b98a2;
  border-radius: 5px;
}

.ico--wheel::after {
  position: absolute;
  top: 2px;
  left: 3.5px;
  width: 1px;
  height: 4px;
  content: "";
  background: #7b98a2;
}

.ico--click {
  border: 1px solid #7b98a2;
  border-radius: 4px 4px 6px 6px;
}

.ico--click::before {
  position: absolute;
  top: 0;
  left: 4px;
  width: 1px;
  height: 4px;
  content: "";
  background: #7b98a2;
}

/* ------------------------------------------------------------------ */
/* Stage UI & callouts                                                 */
/* ------------------------------------------------------------------ */

.stage-ui {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.stage-ui__badge {
  position: absolute;
  top: 98px;
  left: 50%;
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(144, 174, 184, 0.6);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.2em;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.6s ease 0.35s;
}

body.ready .stage-ui__badge {
  opacity: 1;
}

.stage-ui__badge-line {
  width: 33px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(131, 205, 223, 0.4));
}

.stage-ui__badge-line:last-child {
  background: linear-gradient(90deg, rgba(131, 205, 223, 0.4), transparent);
}

.stage-ui__axis {
  position: absolute;
  right: calc(var(--panel-right) + 57px);
  bottom: 35px;
  width: 44px;
  height: 44px;
  color: rgba(133, 192, 207, 0.3);
  font-family: var(--font-display);
  font-size: 7px;
  opacity: 0.75;
}

.stage-ui__axis .axis-x,
.stage-ui__axis .axis-y,
.stage-ui__axis .axis-z {
  position: absolute;
  bottom: 13px;
  left: 13px;
  width: 22px;
  height: 1px;
  background: rgba(121, 232, 255, 0.42);
  transform-origin: left center;
}

.stage-ui__axis .axis-y {
  transform: rotate(-90deg);
  background: rgba(255, 188, 116, 0.42);
}

.stage-ui__axis .axis-z {
  width: 15px;
  transform: rotate(-35deg);
  background: rgba(167, 139, 250, 0.45);
}

.stage-ui__axis em {
  position: absolute;
  font-style: normal;
}

.stage-ui__axis em:nth-of-type(1) { right: 0; bottom: 6px; }
.stage-ui__axis em:nth-of-type(2) { top: 3px; left: 11px; }
.stage-ui__axis em:nth-of-type(3) { right: 1px; bottom: 19px; }

.callout-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.leader-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0;
  transition: opacity 0.35s ease;
}

body.exploded .leader-svg {
  opacity: 1;
}

.leader-svg path {
  fill: none;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: 0.48;
}

.leader-svg circle {
  opacity: 0.95;
}

.callout-list {
  position: absolute;
  inset: 0;
}

.callout {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 152px;
  max-width: 216px;
  padding: 7px 9px 7px 11px;
  color: var(--ink);
  border: 1px solid rgba(135, 203, 222, 0.19);
  border-left-color: var(--accent, var(--cyan));
  background: linear-gradient(105deg, rgba(11, 23, 31, 0.9), rgba(5, 11, 17, 0.78));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), inset 0 0 18px color-mix(in srgb, var(--accent, var(--cyan)) 7%, transparent);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.28s ease, border-color 0.2s ease, background 0.2s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.callout::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 8px;
  height: 8px;
  content: "";
  border-top: 1px solid var(--accent, var(--cyan));
  border-left: 1px solid var(--accent, var(--cyan));
}

body.exploded .callout {
  opacity: 1;
  pointer-events: auto;
  transition-delay: calc(0.17s + var(--delay, 0) * 0.045s);
}

.callout:hover,
.callout.is-selected {
  border-color: color-mix(in srgb, var(--accent, var(--cyan)) 62%, transparent);
  background: linear-gradient(105deg, rgba(18, 36, 46, 0.96), rgba(7, 14, 21, 0.88));
}

.callout__dot {
  flex: 0 0 auto;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent, var(--cyan));
  box-shadow: 0 0 8px var(--accent, var(--cyan));
}

.callout__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.callout__copy b {
  overflow: hidden;
  color: #e4f5f8;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.callout__copy em {
  overflow: hidden;
  color: #7e99a2;
  font-family: var(--font-display);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.07em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.callout__index {
  margin-left: auto;
  color: color-mix(in srgb, var(--accent, var(--cyan)) 65%, #32464e);
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.1em;
}

/* ------------------------------------------------------------------ */
/* Right inspector                                                     */
/* ------------------------------------------------------------------ */

.inspector-panel {
  top: 98px;
  right: 28px;
  bottom: 24px;
  display: flex;
  width: var(--panel-right);
  min-height: 0;
  flex-direction: column;
  padding: 17px 17px 12px;
}

body.ready .inspector-panel {
  animation: panelIn 0.9s cubic-bezier(0.22, 0.84, 0.28, 1) 0.27s forwards;
}

.inspector-panel .panel__edge {
  right: -1px;
  left: auto;
  background: linear-gradient(transparent, rgba(150, 132, 250, 0.4) 20%, rgba(150, 132, 250, 0.12) 65%, transparent);
}

.inspector__head {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 9px;
}

.inspector__head .panel__heading {
  margin-bottom: 7px;
}

.inspector__title {
  margin: 0;
  color: #e5f4f7;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
}

.inspector__count {
  color: rgba(121, 232, 255, 0.62);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
}

.part-list {
  display: flex;
  flex: 0 1 auto;
  max-height: 52%;
  min-height: 0;
  flex-direction: column;
  gap: 0;
  padding: 1px 2px 1px 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: rgba(122, 195, 213, 0.3) transparent;
  scrollbar-width: thin;
}

.part-list::-webkit-scrollbar,
.detail-body::-webkit-scrollbar {
  width: 4px;
}

.part-list::-webkit-scrollbar-thumb,
.detail-body::-webkit-scrollbar-thumb {
  background: rgba(122, 195, 213, 0.28);
}

.part-item {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: 24px 1fr auto;
  gap: 7px;
  align-items: center;
  min-height: 28px;
  padding: 2px 8px 2px 7px;
  overflow: hidden;
  border: 1px solid rgba(126, 192, 210, 0.09);
  background: rgba(31, 59, 69, 0.08);
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.part-item::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  content: "";
  background: var(--accent, var(--cyan));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.part-item:hover {
  border-color: rgba(126, 201, 220, 0.26);
  background: rgba(38, 74, 86, 0.18);
  transform: translateX(1px);
}

.part-item.is-hovered {
  border-color: rgba(139, 221, 240, 0.34);
  background: rgba(42, 84, 97, 0.2);
}

.part-item.is-selected {
  border-color: color-mix(in srgb, var(--accent, var(--cyan)) 42%, transparent);
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent, var(--cyan)) 13%, transparent), rgba(35, 66, 77, 0.12));
}

.part-item.is-selected::before {
  opacity: 1;
}

.part-item__num {
  color: #4e6872;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.part-item.is-selected .part-item__num,
.part-item.is-hovered .part-item__num {
  color: var(--accent, var(--cyan));
}

.part-item__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.part-item__copy b {
  overflow: hidden;
  color: #b9d0d6;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.part-item.is-selected .part-item__copy b {
  color: #effcff;
}

.part-item__copy span {
  overflow: hidden;
  color: #526c76;
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.part-item__mark {
  width: 4px;
  height: 4px;
  border: 1px solid rgba(137, 203, 219, 0.28);
  border-radius: 50%;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.part-item.is-selected .part-item__mark {
  border-color: var(--accent, var(--cyan));
  background: var(--accent, var(--cyan));
  box-shadow: 0 0 8px var(--accent, var(--cyan));
}

.detail-shell {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  margin-top: 10px;
  border: 1px solid rgba(126, 192, 210, 0.12);
  background:
    linear-gradient(135deg, rgba(63, 123, 139, 0.08), transparent 48%),
    rgba(4, 10, 15, 0.44);
}

.detail-shell__top {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
  height: 25px;
  padding: 0 11px;
  color: #4e6872;
  border-bottom: 1px solid rgba(126, 192, 210, 0.09);
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.17em;
}

.detail-shell__top i {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(122, 195, 213, 0.14), transparent);
}

.detail-body {
  min-height: 0;
  flex: 1;
  padding: 13px 13px 12px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: rgba(122, 195, 213, 0.3) transparent;
  scrollbar-width: thin;
}

.detail-view {
  animation: detailIn 0.35s cubic-bezier(0.22, 0.84, 0.28, 1) both;
}

.detail-view__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.detail-view__num {
  color: var(--accent, var(--cyan));
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.01em;
  text-shadow: 0 0 20px color-mix(in srgb, var(--accent, var(--cyan)) 34%, transparent);
}

.detail-view__badge {
  display: inline-flex;
  align-items: center;
  height: 17px;
  padding: 0 6px;
  color: var(--accent, var(--cyan));
  border: 1px solid color-mix(in srgb, var(--accent, var(--cyan)) 30%, transparent);
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.detail-view__title {
  margin: 0;
  color: #eaf9fc;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.detail-view__en {
  margin: 3px 0 0;
  color: var(--accent, var(--cyan));
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.1em;
  opacity: 0.82;
}

.detail-view__desc {
  margin: 9px 0 0;
  color: #91a7af;
  font-size: 10.5px;
  line-height: 1.62;
  letter-spacing: 0.01em;
}

.spec-rows {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  border-top: 1px solid rgba(126, 192, 210, 0.1);
}

.spec-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px solid rgba(126, 192, 210, 0.07);
}

.spec-row span {
  color: #617882;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.spec-row b {
  color: #c3d8de;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-align: right;
}

.stat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 9px;
}

.stat-tags span {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  color: color-mix(in srgb, var(--accent, var(--cyan)) 72%, #aabdc5);
  border: 1px solid color-mix(in srgb, var(--accent, var(--cyan)) 18%, transparent);
  background: color-mix(in srgb, var(--accent, var(--cyan)) 5%, transparent);
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.detail-footnote {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin-top: 9px;
  color: #4b616a;
  font-size: 8px;
  line-height: 1.45;
}

.detail-footnote i {
  display: inline-grid;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  color: var(--accent, var(--cyan));
  border: 1px solid color-mix(in srgb, var(--accent, var(--cyan)) 30%, transparent);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 7px;
  font-style: normal;
  place-items: center;
}

.detail-empty {
  animation: detailIn 0.35s cubic-bezier(0.22, 0.84, 0.28, 1) both;
}

.detail-kicker {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.detail-empty h3 {
  margin: 8px 0 0;
  color: #eaf9fc;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.detail-empty p {
  margin: 7px 0 0;
  color: #7f969f;
  font-size: 10px;
  line-height: 1.6;
}

.overview-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 11px;
  background: rgba(124, 193, 212, 0.09);
}

.overview-specs div {
  display: flex;
  min-height: 44px;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
  padding: 7px 8px;
  background: rgba(5, 12, 18, 0.78);
}

.overview-specs span {
  color: #5a7079;
  font-size: 7px;
  letter-spacing: 0.06em;
}

.overview-specs b {
  color: #c2d8dd;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.detail-legend {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 11px;
  color: #536a73;
  font-size: 8px;
  line-height: 1.5;
}

.detail-legend i {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(121, 232, 255, 0.24);
  border-radius: 50%;
}

.detail-legend i::after {
  display: block;
  width: 4px;
  height: 4px;
  margin: 5px;
  content: "";
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.disclaimer {
  flex: 0 0 auto;
  margin: 9px 0 0;
  color: #40545d;
  font-size: 7px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-align: center;
}

/* ------------------------------------------------------------------ */
/* Bottom controls                                                     */
/* ------------------------------------------------------------------ */

.control-cluster {
  position: fixed;
  bottom: 18px;
  left: 50%;
  z-index: 26;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  transform: translateX(-50%);
}

.hint {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 11px;
  padding: 6px 11px;
  color: #7f99a2;
  border: 1px solid rgba(126, 192, 210, 0.12);
  background: rgba(5, 12, 18, 0.45);
  font-size: 9px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: opacity 0.5s ease, transform 0.5s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

body.has-interacted .hint {
  opacity: 0;
  transform: translateY(5px);
}

.hint__pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(121, 232, 255, 0.45);
  animation: hintPulse 2s ease-out infinite;
}

.dock {
  display: flex;
  gap: 2px;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(130, 199, 218, 0.18);
  background: rgba(5, 12, 18, 0.77);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.32), inset 0 0 28px rgba(55, 129, 150, 0.045);
  pointer-events: auto;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.dock__divider {
  width: 1px;
  height: 20px;
  margin: 0 3px;
  background: rgba(125, 194, 212, 0.13);
}

.dock-button {
  position: relative;
  display: flex;
  gap: 7px;
  align-items: center;
  height: 37px;
  padding: 0 12px;
  color: #94aeb6;
  border: 1px solid transparent;
  font-size: 10px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.dock-button:hover {
  color: #e2f8fd;
  background: rgba(51, 111, 127, 0.16);
}

.dock-button__icon {
  display: inline-grid;
  width: 17px;
  height: 17px;
  color: currentColor;
  place-items: center;
}

.dock-button__icon svg {
  width: 100%;
  height: 100%;
}

.dock-button kbd {
  margin-left: 3px;
  padding: 1px 4px;
  color: #5e747d;
  border: 1px solid rgba(125, 194, 212, 0.16);
  font-family: var(--font-display);
  font-size: 7px;
  font-weight: 400;
}

.dock-button--primary {
  color: #d7f8ff;
  border-color: rgba(120, 225, 248, 0.27);
  background:
    linear-gradient(100deg, rgba(34, 123, 145, 0.3), rgba(28, 82, 103, 0.13)),
    rgba(19, 59, 71, 0.3);
}

.dock-button--primary::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 8px;
  height: 8px;
  content: "";
  border-right: 1px solid var(--cyan);
  border-bottom: 1px solid var(--cyan);
  opacity: 0.48;
}

.dock-button--primary:hover {
  color: #effeff;
  border-color: rgba(121, 232, 255, 0.5);
  background: linear-gradient(100deg, rgba(42, 146, 169, 0.38), rgba(38, 105, 130, 0.18));
}

.dock-button[aria-pressed="true"]:not(.dock-button--primary) {
  color: var(--cyan);
  background: rgba(47, 131, 150, 0.12);
}

.dock-button[aria-pressed="false"]:not(.dock-button--primary) {
  color: #5f757d;
}

.dock-button[aria-pressed="false"]:not(.dock-button--primary) .dock-button__icon {
  opacity: 0.55;
}

body.exploded .dock-button--primary {
  color: #d9d4ff;
  border-color: rgba(167, 139, 250, 0.35);
  background: linear-gradient(100deg, rgba(95, 75, 170, 0.32), rgba(54, 41, 101, 0.12));
}

body.exploded .dock-button--primary::after {
  border-color: var(--violet);
}

body.exploded #explodeIcon {
  transform: rotate(180deg);
  transition: transform 0.5s cubic-bezier(0.22, 0.84, 0.28, 1);
}

.fineprint {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 7px;
  color: rgba(112, 145, 155, 0.35);
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.14em;
}

/* ------------------------------------------------------------------ */
/* Cinematic camera mode                                              */
/* ------------------------------------------------------------------ */

.dock-button--cinema {
  color: #d8ccff;
  border-color: rgba(167, 139, 250, 0.22);
  background: linear-gradient(105deg, rgba(93, 72, 170, 0.2), rgba(42, 49, 104, 0.1));
}

.dock-button--cinema:hover {
  color: #f1ebff;
  border-color: rgba(175, 150, 255, 0.5);
  background: linear-gradient(105deg, rgba(114, 88, 198, 0.3), rgba(53, 61, 127, 0.15));
}

.cinema {
  position: fixed;
  inset: 0;
  z-index: 70;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

body.cinema-active .cinema {
  visibility: visible;
  opacity: 1;
}

body.cinema-active .topbar,
body.cinema-active .overview-panel,
body.cinema-active .inspector-panel,
body.cinema-active .stage-ui,
body.cinema-active .control-cluster,
body.cinema-active .frame,
body.cinema-active .cursor-tip {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.cinema-active {
  cursor: none;
}

body.cinema-active .cinema__action {
  cursor: pointer;
}

body.cinema-active #scene {
  cursor: none;
  pointer-events: none;
}

.cinema__letterbox {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 1;
  background: #000;
}

.cinema__letterbox--top {
  top: 0;
  height: 5.5vh;
  min-height: 40px;
  border-bottom: 1px solid rgba(149, 220, 237, 0.07);
}

.cinema__letterbox--bottom {
  bottom: 0;
  height: 13vh;
  min-height: 94px;
  border-top: 1px solid rgba(149, 220, 237, 0.07);
}

.cinema__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 70% 65% at 50% 50%, transparent 42%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 18%, transparent 80%, rgba(0, 0, 0, 0.38));
}

.cinema__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.cinema__hud {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.cinema__top {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  height: 5.5vh;
  min-height: 40px;
  padding: 0 34px;
}

.cinema__rec {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #d7e8ec;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.17em;
}

.cinema__rec i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5d70;
  box-shadow: 0 0 9px rgba(255, 80, 98, 0.8);
  animation: statusPulse 1.6s ease-in-out infinite;
}

.cinema__rec b {
  color: #6e858e;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.cinema__loop-tag {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-left: 5px;
  padding: 2px 5px;
  color: #6b9ba8;
  border: 1px solid rgba(121, 232, 255, 0.18);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.cinema__loop-tag i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 7px rgba(121, 232, 255, 0.7);
  animation: statusPulse 2.4s ease-in-out infinite;
}

.cinema__meta {
  position: absolute;
  left: 50%;
  display: flex;
  gap: 8px;
  align-items: baseline;
  color: #4f6872;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.18em;
  transform: translateX(-50%);
}

.cinema__meta b {
  color: #b9d2d8;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.cinema__actions {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: auto;
  pointer-events: auto;
}

.cinema__action {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  color: #829ba4;
  border: 1px solid rgba(139, 207, 225, 0.18);
  background: rgba(5, 12, 18, 0.58);
  font-size: 8px;
  letter-spacing: 0.08em;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cinema__action svg {
  width: 13px;
  height: 13px;
}

.cinema__action:hover {
  color: #dff9ff;
  border-color: rgba(139, 226, 245, 0.48);
  background: rgba(23, 54, 67, 0.65);
}

.cinema__action kbd {
  padding: 1px 4px;
  color: #647982;
  border: 1px solid rgba(137, 205, 222, 0.14);
  font-family: var(--font-display);
  font-size: 7px;
}

.cinema__action--exit {
  color: #d8d2f9;
  border-color: rgba(167, 139, 250, 0.3);
}

.cinema__action--exit:hover {
  border-color: rgba(178, 155, 255, 0.65);
  background: rgba(75, 57, 133, 0.28);
}

.cinema__action--record {
  color: #ffc9d0;
  border-color: rgba(255, 93, 112, 0.34);
  background: rgba(52, 9, 18, 0.45);
}

.cinema__action--record:hover {
  color: #fff2f4;
  border-color: rgba(255, 117, 133, 0.7);
  background: rgba(110, 18, 34, 0.55);
}

.cinema__action--record svg {
  color: #ff5d70;
  filter: drop-shadow(0 0 5px rgba(255, 76, 97, 0.45));
}

.cinema__action--record.is-recording {
  color: #fff;
  border-color: rgba(255, 115, 131, 0.9);
  background: rgba(143, 18, 38, 0.72);
}

.cinema__action--record.is-recording svg {
  animation: statusPulse 1s ease-in-out infinite;
}

.record-hud {
  position: absolute;
  top: calc(5.5vh + 16px);
  left: 50%;
  z-index: 8;
  display: flex;
  gap: 9px;
  align-items: center;
  max-width: calc(100% - 40px);
  padding: 8px 12px;
  color: #dcecf0;
  border: 1px solid rgba(255, 110, 126, 0.28);
  background: rgba(4, 10, 15, 0.82);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.11em;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -5px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

body.recording .record-hud {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.record-hud__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5d70;
  box-shadow: 0 0 10px rgba(255, 80, 98, 0.9);
  animation: statusPulse 1.1s ease-in-out infinite;
}

.record-hud b {
  color: #ff7d8d;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.record-hud__spec {
  padding-left: 8px;
  color: #6f8a94;
  border-left: 1px solid rgba(134, 198, 214, 0.16);
  font-size: 7px;
}

.record-hud__stop {
  height: 24px;
  padding: 0 9px;
  color: #fff;
  border: 1px solid rgba(255, 130, 145, 0.55);
  background: rgba(125, 20, 37, 0.7);
  font-size: 7px;
  letter-spacing: 0.09em;
  cursor: pointer;
  pointer-events: auto;
}

.record-hud__stop:hover {
  border-color: #ff9aa7;
  background: rgba(164, 30, 50, 0.8);
}

.record-hud__note {
  color: #5d757f;
  font-size: 7px;
  letter-spacing: 0.04em;
}

.record-toast {
  position: fixed;
  bottom: 42px;
  left: 50%;
  z-index: 90;
  max-width: calc(100% - 40px);
  padding: 9px 14px;
  color: #dffaff;
  border: 1px solid rgba(121, 232, 255, 0.32);
  background: rgba(4, 13, 19, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.42);
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.record-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.record-toast.is-error {
  color: #ffd9dd;
  border-color: rgba(255, 93, 112, 0.45);
}

body.recording {
  cursor: default;
}

body.recording .cinema__action:not(.cinema__action--record) {
  opacity: 0.45;
}

.cinema__bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 13vh;
  min-height: 94px;
  padding: 0 34px 22px;
}

.cinema__caption {
  max-width: 520px;
}

.cinema__caption.is-cut {
  animation: captionIn 0.5s cubic-bezier(0.22, 0.84, 0.28, 1) both;
}

.cinema__shot-line {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 7px;
}

.cinema__shot-index {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.cinema__shot-rule {
  width: 32px;
  height: 1px;
  background: rgba(122, 230, 255, 0.34);
}

.cinema__shot-tag {
  color: #5a737c;
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.cinema__caption h3 {
  margin: 0;
  color: #eaf9fc;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.cinema__caption p {
  margin: 5px 0 0;
  color: #76909a;
  font-size: 9px;
  letter-spacing: 0.07em;
}

.cinema__timeline {
  display: flex;
  width: 292px;
  flex-direction: column;
  gap: 8px;
}

.cinema__progress {
  height: 2px;
  overflow: hidden;
  background: rgba(133, 206, 224, 0.16);
}

.cinema__progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(121, 232, 255, 0.45), var(--cyan));
  box-shadow: 0 0 10px rgba(121, 232, 255, 0.45);
  transition: width 0.12s linear;
}

.cinema__time-row {
  display: flex;
  justify-content: space-between;
  color: #50666f;
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.cinema__time-row span:last-child {
  color: #3f555e;
}

.cinema__flash {
  position: absolute;
  inset: 0;
  z-index: 9;
  background: #e5fbff;
  opacity: 0;
  pointer-events: none;
}

.cinema__flash.is-on {
  animation: cinemaFlash 0.36s ease-out both;
}

.cinema__flash.is-warm {
  background: #fff0d8;
}

.cinema__loop-fade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s ease;
}

body.cinema-looping .cinema__loop-fade {
  opacity: 1;
}

@keyframes cinemaFlash {
  0% { opacity: 0; }
  12% { opacity: 0.34; }
  100% { opacity: 0; }
}

@keyframes captionIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------------------------ */
/* Cursor tooltip                                                      */
/* ------------------------------------------------------------------ */

.cursor-tip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 35;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(127, 204, 222, 0.22);
  background: rgba(5, 12, 18, 0.88);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.14s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.cursor-tip.is-visible {
  opacity: 1;
}

.cursor-tip__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 7px var(--cyan);
}

.cursor-tip__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cursor-tip__copy b {
  color: #dceff3;
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
}

.cursor-tip__copy small {
  color: #617982;
  font-size: 7px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Modal                                                               */
/* ------------------------------------------------------------------ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 5, 8, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.modal__card {
  position: relative;
  width: min(590px, 100%);
  max-height: min(720px, calc(100dvh - 48px));
  padding: 23px 24px 20px;
  overflow-y: auto;
  border: 1px solid rgba(132, 201, 219, 0.22);
  border-radius: 3px;
  background:
    linear-gradient(140deg, rgba(40, 80, 94, 0.18), transparent 35%),
    rgba(6, 13, 20, 0.96);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(202, 242, 249, 0.05);
  transform: translateY(12px) scale(0.985);
  transition: transform 0.3s cubic-bezier(0.22, 0.84, 0.28, 1);
}

.modal.is-open .modal__card {
  transform: translateY(0) scale(1);
}

.modal__card::before,
.modal__card::after {
  position: absolute;
  width: 18px;
  height: 18px;
  content: "";
}

.modal__card::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid var(--cyan);
  border-left: 1px solid var(--cyan);
}

.modal__card::after {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid var(--violet);
  border-bottom: 1px solid var(--violet);
}

.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal__head h2 {
  margin: 0;
  color: #ebfaff;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.icon-button--close {
  width: 29px;
  height: 29px;
  font-size: 19px;
  font-weight: 300;
  line-height: 1;
}

.modal__lead {
  margin: 15px 0 0;
  color: #8ea5ad;
  font-size: 11px;
  line-height: 1.7;
}

.manual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 19px;
  background: rgba(125, 194, 212, 0.1);
}

.manual-item {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  padding: 14px;
  background: rgba(5, 12, 18, 0.82);
}

.manual-item__icon {
  display: inline-grid;
  width: 29px;
  height: 29px;
  margin-bottom: 3px;
  color: var(--cyan);
  border: 1px solid rgba(121, 232, 255, 0.2);
  background: rgba(43, 122, 140, 0.09);
  place-items: center;
}

.manual-item__icon svg {
  width: 21px;
  height: 21px;
}

.manual-item b {
  color: #c9dfe4;
  font-size: 11px;
  font-weight: 500;
}

.manual-item > span:last-child {
  color: #607781;
  font-size: 9px;
  line-height: 1.4;
}

.shortcut-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(125, 194, 212, 0.1);
  border-bottom: 1px solid rgba(125, 194, 212, 0.1);
}

.shortcut-row span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: #6b838c;
  font-size: 8px;
}

.shortcut-row kbd {
  display: inline-grid;
  min-width: 20px;
  height: 18px;
  padding: 0 4px;
  color: #abc2c9;
  border: 1px solid rgba(125, 194, 212, 0.18);
  background: rgba(41, 84, 96, 0.12);
  font-family: var(--font-display);
  font-size: 8px;
  place-items: center;
}

.modal__note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 13px;
}

.modal__note-mark {
  display: inline-grid;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: var(--cyan);
  border: 1px solid rgba(121, 232, 255, 0.3);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 9px;
  place-items: center;
}

.modal__note p {
  margin: 0;
  color: #526a73;
  font-size: 8px;
  line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* Loader                                                              */
/* ------------------------------------------------------------------ */

.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 48% 52% at 50% 46%, rgba(23, 77, 96, 0.3), transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(77, 60, 145, 0.12), transparent 72%),
    #020509;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.loader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.loader__grid {
  position: absolute;
  inset: -10%;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(94, 179, 201, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 179, 201, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 68%);
  mask-image: radial-gradient(ellipse at center, #000, transparent 68%);
  transform: perspective(500px) rotateX(58deg) translateY(18%);
}

.loader__mark {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  color: var(--cyan);
  filter: drop-shadow(0 0 20px rgba(112, 234, 255, 0.36));
  animation: markPulse 2.6s ease-in-out infinite;
}

.loader__mark svg {
  width: 100%;
  height: 100%;
}

.loader__brand {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  color: #dff7ff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.38em;
}

.loader__title {
  position: relative;
  z-index: 1;
  margin-top: 37px;
  color: #d3e9ee;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.09em;
}

.loader__sub {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: #4f6872;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.loader__bar {
  position: relative;
  z-index: 1;
  width: min(300px, 62vw);
  height: 2px;
  margin-top: 22px;
  overflow: hidden;
  background: rgba(112, 200, 222, 0.14);
}

.loader__bar i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(121, 232, 255, 0.35), var(--cyan));
  box-shadow: 0 0 14px rgba(121, 232, 255, 0.55);
  transition: width 0.35s ease;
}

.loader__meta {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(300px, 62vw);
  justify-content: space-between;
  margin-top: 9px;
  color: #48616a;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.loader__meta b {
  color: #8fd8e7;
  font-weight: 500;
}

.loader__error {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 360px;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  margin-top: 25px;
  padding: 13px 18px;
  color: #c4d5da;
  border: 1px solid rgba(255, 124, 141, 0.3);
  background: rgba(133, 36, 52, 0.12);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.loader__error b {
  color: #ffb8c1;
  font-size: 12px;
}

.loader__error button {
  height: 28px;
  margin-top: 5px;
  padding: 0 13px;
  color: #ffd8dd;
  border: 1px solid rgba(255, 124, 141, 0.32);
  background: rgba(255, 124, 141, 0.08);
  font-size: 9px;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.loader__error button:hover {
  border-color: rgba(255, 124, 141, 0.6);
  background: rgba(255, 124, 141, 0.16);
}

/* ------------------------------------------------------------------ */
/* Animations                                                          */
/* ------------------------------------------------------------------ */

@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(120, 245, 182, 0.8); }
  50% { opacity: 0.45; box-shadow: 0 0 3px rgba(120, 245, 182, 0.3); }
}

@keyframes hintPulse {
  0% { box-shadow: 0 0 0 0 rgba(121, 232, 255, 0.4); }
  70% { box-shadow: 0 0 0 7px rgba(121, 232, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(121, 232, 255, 0); }
}

@keyframes barGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(13px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes detailIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes markPulse {
  0%, 100% { opacity: 0.85; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.03); }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1240px) {
  :root {
    --panel-left: 248px;
    --panel-right: 300px;
  }

  .overview-panel {
    left: 22px;
  }

  .inspector-panel {
    right: 22px;
  }

  .topbar {
    padding: 0 24px;
  }

  .stage-ui__axis {
    right: calc(var(--panel-right) + 44px);
  }

  .hero-title {
    font-size: clamp(58px, 6.8vw, 78px);
  }
}

@media (max-width: 1100px) {
  .topbar__center {
    display: none;
  }

  .overview-panel {
    width: 238px;
  }

  .mini-guide {
    gap: 7px;
  }

  .mini-guide span {
    font-size: 7px;
  }

  .callout {
    min-width: 134px;
    padding: 6px 8px 6px 9px;
  }

  .callout__copy b {
    font-size: 9px;
  }
}

@media (max-width: 940px) {
  .overview-panel {
    display: none;
  }

  .inspector-panel {
    width: 285px;
  }

  :root {
    --panel-right: 285px;
  }

  .stage-ui__axis {
    display: none;
  }

  .dock-button {
    padding: 0 9px;
  }

  .dock-button kbd {
    display: none;
  }

  .callout {
    min-width: 126px;
    max-width: 170px;
  }

  .callout__copy em {
    display: none;
  }
}

@media (max-width: 1450px) and (max-aspect-ratio: 1.08) {
  .overview-panel {
    display: none;
  }
}

@media (max-width: 1080px) {
  .overview-panel {
    display: none;
  }

  .callout-layer {
    display: none;
  }
}

@media (max-width: 1024px) {
  :root {
    --panel-right: 0px;
    --sheet-h: 38vh;
  }

  .topbar {
    height: 62px;
    padding: 0 15px;
  }

  .brand {
    min-width: 0;
  }

  .brand__mark {
    width: 25px;
    height: 25px;
  }

  .brand__copy strong {
    font-size: 13px;
    letter-spacing: 0.13em;
  }

  .brand__copy small {
    display: none;
  }

  .mode-chip {
    height: 26px;
    padding: 0 8px;
  }

  .mode-chip b {
    display: none;
  }

  .topbar__right {
    gap: 7px;
  }

  .icon-button {
    width: 27px;
    height: 27px;
    font-size: 11px;
  }

  .stage-ui__badge {
    top: 76px;
  }

  .inspector-panel {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    height: var(--sheet-h);
    padding: 12px 12px 8px;
  }

  .inspector__head {
    margin-bottom: 6px;
  }

  .inspector__title {
    font-size: 15px;
  }

  .inspector__count {
    font-size: 19px;
  }

  .inspector__head .panel__heading {
    display: none;
  }

  .part-list {
    display: grid;
    flex: 0 0 45px;
    grid-auto-columns: minmax(142px, 1fr);
    grid-auto-flow: column;
    grid-template-rows: 1fr;
    max-height: 45px;
    gap: 4px;
    padding-bottom: 4px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .part-item {
    grid-template-columns: 20px 1fr;
    min-height: 37px;
    padding: 4px 7px;
  }

  .part-item__mark {
    display: none;
  }

  .part-item__copy span {
    font-size: 6px;
  }

  .detail-shell {
    margin-top: 6px;
  }

  .detail-shell__top {
    display: none;
  }

  .detail-body {
    padding: 9px 10px;
  }

  .detail-view__num,
  .detail-view__badge {
    display: none;
  }

  .detail-view__head {
    margin-bottom: 0;
  }

  .detail-view__title,
  .detail-empty h3 {
    font-size: 15px;
  }

  .detail-view__desc {
    margin-top: 5px;
    font-size: 9px;
    line-height: 1.5;
  }

  .detail-view__en {
    font-size: 7px;
  }

  .spec-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 6px;
  }

  .spec-row {
    display: flex;
    gap: 4px;
    align-items: baseline;
    justify-content: space-between;
    padding: 3px 5px;
  }

  .spec-row:nth-child(odd) {
    border-right: 1px solid rgba(126, 192, 210, 0.07);
  }

  .spec-row span {
    font-size: 7px;
  }

  .spec-row b {
    font-size: 8px;
  }

  .stat-tags,
  .detail-footnote {
    display: none;
  }

  .overview-specs {
    margin-top: 7px;
  }

  .overview-specs div {
    min-height: 34px;
    padding: 4px 6px;
  }

  .detail-legend {
    display: none;
  }

  .disclaimer {
    display: none;
  }

  .control-cluster {
    bottom: calc(var(--sheet-h) + 22px);
    width: calc(100% - 20px);
  }

  .hint {
    display: none;
  }

  .dock {
    width: 100%;
    justify-content: center;
  }

  .dock-button {
    flex: 1;
    justify-content: center;
    height: 35px;
    padding: 0 7px;
    font-size: 9px;
  }

  .dock-button--primary {
    flex: 1.15;
  }

  .fineprint {
    display: none;
  }

  .callout-layer {
    display: none;
  }

  .stage-ui__badge {
    font-size: 7px;
    letter-spacing: 0.12em;
  }

  .stage-ui__badge-line {
    width: 18px;
  }

  .modal {
    padding: 13px;
  }

  .modal__card {
    padding: 17px 16px 15px;
  }

  .manual-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .manual-item {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    padding: 10px;
  }

  .manual-item__icon {
    flex: 0 0 29px;
    margin: 0;
  }

  .manual-item > span:last-child {
    margin-left: auto;
    text-align: right;
  }

  .manual-item b {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .mode-chip span {
    display: none;
  }

  .mode-chip {
    padding: 0 6px;
    border: 0;
    background: transparent;
  }

  .mode-chip i {
    width: 6px;
    height: 6px;
  }

  .stage-ui__badge {
    display: none;
  }

  .dock-button__label {
    font-size: 8px;
  }

  .dock-button__icon {
    width: 15px;
    height: 15px;
  }

  .detail-view__desc {
    display: none;
  }

  .overview-specs {
    display: none;
  }

  .detail-empty p {
    font-size: 9px;
  }
}

@media (max-height: 760px) and (min-width: 781px) {
  .overview-panel {
    top: 86px;
    padding: 15px 16px 13px;
    max-height: calc(100dvh - 106px);
  }

  .hero-title {
    font-size: 56px;
  }

  .hero-capacity {
    margin-top: 12px;
    padding-bottom: 10px;
  }

  .metric-grid {
    margin-top: 10px;
  }

  .tech-pills {
    margin-top: 10px;
  }

  .structure-strip {
    margin-top: 10px;
    padding-top: 10px;
  }

  .overview-stats {
    margin-top: 9px;
    padding: 7px 0;
  }

  .mini-guide {
    display: none;
  }

  .inspector-panel {
    top: 86px;
    bottom: 18px;
  }

  .part-list {
    max-height: 43%;
  }

  .detail-view__desc {
    margin-top: 6px;
    line-height: 1.5;
  }
}

@media (max-width: 900px) {
  .cinema__top {
    padding: 0 16px;
  }

  .cinema__meta {
    display: none;
  }

  .cinema__letterbox--bottom {
    height: 17vh;
    min-height: 116px;
  }

  .cinema__bottom {
    height: 17vh;
    min-height: 116px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 16px 16px;
  }

  .cinema__caption {
    max-width: 100%;
  }

  .cinema__caption h3 {
    font-size: 18px;
  }

  .cinema__caption p {
    font-size: 8px;
  }

  .cinema__shot-tag {
    display: none;
  }

  .cinema__timeline {
    width: 100%;
  }

  .cinema__action {
    height: 24px;
    padding: 0 8px;
    font-size: 7px;
  }

  .cinema__action kbd {
    display: none;
  }

  .cinema__rec b {
    display: none;
  }

  .record-hud {
    top: calc(5.5vh + 12px);
    gap: 7px;
    padding: 7px 9px;
  }

  .record-hud__note,
  .record-hud__spec {
    display: none;
  }
}

@media (max-width: 480px) {
  .cinema__caption p {
    display: none;
  }

  .cinema__caption h3 {
    font-size: 16px;
  }

  .cinema__bottom {
    min-height: 106px;
  }

  .cinema__letterbox--bottom {
    min-height: 106px;
  }

  .cinema__time-row span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
