﻿:root {
  --bg: #1a2435;
  --text: #eaeef7;
  --card-bg: rgba(28, 38, 56, 0.66);
  --card-border: rgba(255, 255, 255, 0.2);
  --accent: #6ea0ff;
  --loading-runner-color: #22b8ff;
}

@font-face {
  font-family: "Nasalization";
  src: url("../assets/fonts/nasalization/Nasalization%20Rg.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  overflow-x: hidden;
}

html.is-loading,
body.is-loading,
html.is-welcome,
body.is-welcome,
html.is-final,
body.is-final {
  overflow: hidden;
  height: 100%;
}

#stage {
  position: fixed;
  inset: 0;
  z-index: 0;
}

#scene-fade {
  position: fixed;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  background: #000;
  opacity: 0;
  transition: opacity 0.12s linear;
}

.section-transition-screen {
  --section-transition-ring-end: 225deg;
  position: fixed;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background:
    linear-gradient(117deg, rgba(4, 11, 18, 0.98) 0%, rgba(10, 20, 29, 0.98) 100%);
  transition:
    opacity 0.12s linear,
    visibility 0.12s linear;
}

.section-transition-screen.is-visible {
  opacity: 1;
  visibility: visible;
}

body.is-loading .section-transition-screen,
body.is-welcome .section-transition-screen,
body.is-final .section-transition-screen {
  opacity: 0;
  visibility: hidden;
}

.section-transition-screen__panel {
  width: clamp(520px, 35vw, 700px);
  min-height: clamp(390px, 52vh, 534px);
  box-sizing: border-box;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: clamp(40px, 4.2vw, 58px) clamp(48px, 4.4vw, 70px) clamp(44px, 4vw, 58px);
  border: 1px solid #1a7fd4;
  border-radius: 16px;
  background: rgba(10, 14, 20, 0.88);
  box-shadow:
    0 0 34px rgba(26, 127, 212, 0.18),
    0 22px 48px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
}

.section-transition-screen__logo {
  width: clamp(82px, 5vw, 100px);
  height: auto;
  margin-bottom: clamp(28px, 3vw, 36px);
}

.section-transition-screen__dial {
  width: clamp(132px, 9vw, 180px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: clamp(32px, 3.4vw, 42px);
  border-radius: 50%;
  background:
    conic-gradient(
      #1a7fd4 0deg var(--section-transition-ring-end),
      rgba(25, 35, 45, 0.72) var(--section-transition-ring-end) 360deg
    );
}

.section-transition-screen__dial-inner {
  width: calc(100% - 8px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0a0e14;
}

.section-transition-screen__number {
  color: #1a7fd4;
  font: 700 clamp(44px, 4.6vw, 68px) / 1 "Segoe UI", Roboto, Arial, sans-serif;
}

.section-transition-screen__title {
  color: #fbfcfd;
  font-family: "Nasalization", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(24px, 1.7vw, 34px);
  line-height: 1.16;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-transition-screen__caption {
  color: #cdcdcd;
  font-size: clamp(13px, 0.8vw, 16px);
  line-height: 1.35;
  margin-bottom: clamp(28px, 2.6vw, 34px);
}

.section-transition-screen__progress {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.section-transition-screen__progress-fill {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #1a7fd4;
  transform: scaleX(0);
  transform-origin: left center;
}

.section-transition-screen__percent {
  width: 100%;
  margin-top: 10px;
  color: #fbfcfd;
  font-size: 14px;
  line-height: 1;
  text-align: right;
}

html.is-mobile-tour .section-transition-screen {
  padding: max(18px, env(safe-area-inset-top)) 20px max(18px, env(safe-area-inset-bottom));
}

html.is-mobile-tour .section-transition-screen__panel {
  width: min(100%, 360px);
  min-height: min(64vh, 460px);
  padding: 34px 28px 32px;
  border-radius: 16px;
}

html.is-mobile-tour .section-transition-screen__logo {
  width: 84px;
  margin-bottom: 26px;
}

html.is-mobile-tour .section-transition-screen__dial {
  width: min(42vw, 148px);
  margin-bottom: 28px;
}

html.is-mobile-tour .section-transition-screen__dial-inner {
  width: calc(100% - 7px);
}

html.is-mobile-tour .section-transition-screen__number {
  font-size: clamp(42px, 14vw, 58px);
}

html.is-mobile-tour .section-transition-screen__title {
  font-size: clamp(22px, 7vw, 28px);
  line-height: 1.14;
  margin-bottom: 10px;
}

html.is-mobile-tour .section-transition-screen__caption {
  max-width: 250px;
  text-align: center;
  font-size: 13px;
  margin-bottom: 28px;
}

html.is-mobile-tour .section-transition-screen__progress {
  height: 7px;
}

html.is-mobile-tour .section-transition-screen__percent {
  font-size: 13px;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
}

#stage,
.overlay,
.story {
  transition: filter 0.7s ease, transform 0.7s ease, opacity 0.7s ease;
}

body.is-loading #stage,
body.is-loading .overlay,
body.is-loading .story {
  filter: blur(16px) saturate(0.86);
  transform: scale(1.015);
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(120, 168, 255, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(12, 22, 36, 0.58), rgba(11, 18, 28, 0.78));
  backdrop-filter: blur(24px);
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.loading-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-panel {
  position: relative;
  box-sizing: border-box;
  width: min(420px, 100%);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(96, 107, 121, 0.2), rgba(58, 69, 84, 0.18)),
    rgba(111, 121, 133, 0.14);
  border: 1px solid rgba(220, 228, 238, 0.12);
  box-shadow:
    0 22px 54px rgba(9, 15, 24, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  backdrop-filter: blur(14px);
}

.loading-mark {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loading-mark::before {
  content: "";
  position: absolute;
  top: 50%;
  width: min(320px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(73, 164, 233, 0.28), rgba(73, 164, 233, 0.12) 42%, transparent 72%);
  filter: blur(18px);
  transform: translateY(-50%);
  animation: loading-halo 4.8s ease-in-out infinite;
}

.loading-mark__orbit {
  position: relative;
  width: min(282px, 72vw);
  aspect-ratio: 141 / 38;
  filter:
    drop-shadow(0 0 16px rgba(165, 214, 255, 0.1))
    drop-shadow(0 0 26px rgba(34, 184, 255, 0.22));
  animation: loading-logo-pulse 2.25s ease-in-out infinite;
}

.loading-mark.is-ready .loading-mark__orbit {
  opacity: 1;
}

.loading-mark__logo,
.loading-mark__runner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  user-select: none;
  pointer-events: none;
}

.loading-mark__logo {
  display: block;
  object-fit: contain;
  opacity: 0.92;
}

.loading-mark__runner {
  overflow: visible;
}

.loading-mark__runner-path {
  stroke: var(--loading-runner-color);
  stroke-width: 3.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 33 67;
  stroke-dashoffset: 0;
  vector-effect: non-scaling-stroke;
  filter:
    drop-shadow(0 0 3px rgba(34, 184, 255, 0.88))
    drop-shadow(0 0 9px rgba(34, 184, 255, 0.48));
  animation: loading-runner-loop 1.35s linear infinite;
}

.loading-caption {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  color: #eef3fb;
  text-align: center;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.loading-caption.is-changing {
  opacity: 0;
  transform: translateY(4px);
}

.welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 9;
  display: grid;
  place-items: center;
  padding: 0;
  background: #071421;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s ease, visibility 0.7s ease, filter 0.7s ease;
}

.welcome-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  filter: blur(8px);
}

.welcome-screen__start {
  position: absolute;
  left: 50%;
  bottom: clamp(70px, 13.7vh, 148px);
  width: 356px;
  height: auto;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 18px rgba(89, 178, 255, 0.32));
  transition: transform 0.18s ease, filter 0.18s ease;
}

.welcome-screen__start:hover {
  transform: translateX(-50%) translateY(-1.5%);
  filter: drop-shadow(0 0 26px rgba(105, 196, 255, 0.5));
}

.welcome-screen__start:active {
  transform: translateX(-50%) translateY(0.8%) scale(0.99);
}

.welcome-screen__frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.welcome-screen__background-stage {
  position: absolute;
  left: 50%;
  top: 0;
  width: max(100vw, calc(100vh * 16 / 9));
  height: max(100vh, calc(100vw * 9 / 16));
  overflow: hidden;
  transform: translateX(-50%);
}

.welcome-screen__bg,
.welcome-screen__desktop-bg,
.welcome-screen__desktop-title,
.welcome-screen__desktop-foreground,
.welcome-screen__mobile-bg,
.welcome-screen__mobile-title,
.welcome-screen__mobile-foreground,
.welcome-screen__background-stage,
.welcome-screen__logo,
.welcome-screen__title,
.welcome-screen__object,
.final-screen__logo,
.final-screen__object,
.welcome-screen__start img {
  display: block;
  user-select: none;
  pointer-events: none;
}

.welcome-screen__bg {
  display: none;
}

.welcome-screen__desktop-bg,
.welcome-screen__desktop-title,
.welcome-screen__desktop-foreground,
.welcome-screen__mobile-bg,
.welcome-screen__mobile-title,
.welcome-screen__mobile-foreground {
  position: absolute;
  pointer-events: none;
}

.welcome-screen__desktop-bg,
.welcome-screen__desktop-foreground {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-screen__desktop-bg {
  z-index: 0;
}

.welcome-screen__desktop-title {
  left: 16.40625%;
  top: 5.46296%;
  width: 67.1875%;
  height: auto;
  z-index: 1;
}

.welcome-screen__desktop-foreground {
  z-index: 2;
}

.welcome-screen__mobile-bg,
.welcome-screen__mobile-title,
.welcome-screen__mobile-foreground {
  display: none;
}

.welcome-screen__logo {
  position: absolute;
  left: clamp(24px, 4.95vw, 95px);
  top: clamp(18px, 4.44vh, 48px);
  width: clamp(118px, 7.35vw, 141px);
  height: auto;
}

.final-screen__logo {
  position: absolute;
  left: clamp(24px, 4.95vw, 95px);
  top: clamp(18px, 4.44vh, 48px);
  width: clamp(118px, 7.35vw, 141px);
  height: auto;
  z-index: 4;
}

.welcome-screen__title {
  display: none;
  position: absolute;
  left: 50%;
  width: clamp(280px, calc(100vw - 48px), 1290px);
  bottom: calc(100vh - clamp(118px, 19.44vh, 210px) - 257px);
  height: auto;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
}

.welcome-screen__object {
  position: absolute;
  left: 46.36%;
  top: 68.62%;
  width: 2.97%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: hard-light;
  z-index: 3;
}

.final-screen__object {
  position: absolute;
  left: 46.36%;
  top: 68.62%;
  width: 2.97%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: hard-light;
  z-index: 3;
}

.welcome-screen__start img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

html.is-mobile-tour .welcome-screen__background-stage {
  top: 50%;
  width: max(100vw, calc(100vh * 9 / 16));
  height: max(100vh, calc(100vw * 16 / 9));
  transform: translate(-50%, -50%);
}

html.is-mobile-tour .welcome-screen__desktop-bg,
html.is-mobile-tour .welcome-screen__desktop-title,
html.is-mobile-tour .welcome-screen__desktop-foreground {
  display: none;
}

html.is-mobile-tour .welcome-screen__mobile-bg,
html.is-mobile-tour .welcome-screen__mobile-title,
html.is-mobile-tour .welcome-screen__mobile-foreground {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
}

html.is-mobile-tour .welcome-screen__mobile-bg {
  inset: 0;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

html.is-mobile-tour .welcome-screen__mobile-title {
  top: 19.84375%;
  z-index: 1;
}

html.is-mobile-tour .welcome-screen__mobile-foreground {
  inset: 0;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

html.is-mobile-tour .welcome-screen__object {
  z-index: 3;
}

.final-screen {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #071421;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

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

.final-screen__background-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100vw, calc(100vh * 16 / 9));
  height: max(100vh, calc(100vw * 9 / 16));
  overflow: hidden;
  transform: translate(-50%, -50%);
}

.final-screen__desktop-bg,
.final-screen__desktop-foreground,
.final-screen__mobile-bg,
.final-screen__mobile-foreground {
  display: block;
  user-select: none;
  pointer-events: none;
}

.final-screen__desktop-bg,
.final-screen__desktop-foreground,
.final-screen__mobile-bg,
.final-screen__mobile-foreground {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-screen__desktop-bg {
  z-index: 0;
}

.final-screen__desktop-foreground {
  z-index: 1;
}

.final-screen__mobile-bg,
.final-screen__mobile-foreground {
  display: none;
}

.final-screen__content {
  position: relative;
  z-index: 2;
  width: min(539px, calc(100vw - 48px));
}

.final-screen__card {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(34px, 3.2vw, 46px) 32px clamp(30px, 2.8vw, 40px);
  border-radius: 16px;
  background: #0b91db;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.36),
    0 0 18px rgba(255, 255, 255, 0.28);
  color: #fbfcfd;
}

.final-screen__anniversary {
  display: block;
  width: clamp(132px, 8.3vw, 159px);
  height: auto;
  margin-bottom: clamp(28px, 3.1vw, 54px);
  user-select: none;
  pointer-events: none;
}

.final-screen__text {
  max-width: 460px;
  margin: 0 0 clamp(20px, 1.9vw, 34px);
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: clamp(12px, 1.12vw, 21px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: center;
}

.final-screen__restart {
  width: min(475px, 100%);
  min-height: 41px;
  border: 0;
  padding: 9px 24px 10px;
  border-radius: 999px;
  background: #fbfcfd;
  color: #0876b7;
  font: 400 clamp(10px, 0.92vw, 18px) / 1.2 "Nasalization", "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
}

.final-screen__restart:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.82);
  outline-offset: 4px;
}

html.is-mobile-tour .final-screen__background-stage {
  width: max(100vw, calc(100vh * 9 / 16));
  height: max(100vh, calc(100vw * 16 / 9));
}

html.is-mobile-tour .final-screen__desktop-bg,
html.is-mobile-tour .final-screen__desktop-foreground {
  display: none;
}

html.is-mobile-tour .final-screen__mobile-bg,
html.is-mobile-tour .final-screen__mobile-foreground {
  display: block;
}

html.is-mobile-tour .final-screen__content {
  width: min(539px, calc(100vw - 32px));
}

html.is-mobile-tour .final-screen__card {
  padding: clamp(26px, 4.5vh, 36px) 22px clamp(28px, 4.8vh, 38px);
}

html.is-mobile-tour .final-screen__anniversary {
  width: clamp(116px, 31vw, 142px);
  height: auto;
  margin-bottom: clamp(28px, 6vh, 48px);
}

html.is-mobile-tour .final-screen__text {
  max-width: min(430px, calc(100vw - 84px));
  margin-bottom: clamp(18px, 3.8vh, 30px);
  font-size: clamp(12px, 3.55vw, 19px);
}

html.is-mobile-tour .final-screen__restart {
  min-height: 44px;
  font-size: clamp(10px, 3vw, 15px);
}

.tour-menu {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 4;
  width: 592px;
  max-width: calc(100vw - 48px);
  pointer-events: none;
}

body.is-loading .tour-menu,
body.is-welcome .tour-menu,
body.is-final .tour-menu {
  display: none;
}

.tour-menu__toggle {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 131px;
  height: 64px;
  padding: 0;
  border: 0;
  background: url("../assets/ui/tour-menu-desktop-closed.svg") center / contain no-repeat;
  cursor: pointer;
  pointer-events: auto;
  transition:
    transform 0.18s ease,
    filter 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.tour-menu__toggle:hover,
.tour-menu__toggle:focus-visible {
  filter: brightness(1.06);
}

.tour-menu__toggle:active {
  transform: scale(0.985);
}

.tour-menu.is-open .tour-menu__toggle {
  background-image: url("../assets/ui/tour-menu-desktop-open.svg");
}

.tour-menu__panel {
  position: absolute;
  top: 58px;
  right: 0;
  width: 592px;
  max-width: 100%;
  aspect-ratio: 592 / 728;
  background: url("../assets/ui/tour-menu-desktop-panel.svg") top right / contain no-repeat;
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.tour-menu.is-open .tour-menu__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.tour-menu__close-hit,
.tour-menu__item {
  position: absolute;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.tour-menu__close-hit {
  display: none;
}

.tour-menu__item {
  left: 5.405%;
  width: 89.19%;
  height: 11.401%;
  border-radius: 10px;
  transition: background 0.16s ease;
}

.tour-menu__item:hover,
.tour-menu__item:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.tour-menu__item:nth-of-type(2) {
  top: 4.396%;
}

.tour-menu__item:nth-of-type(3) {
  top: 15.797%;
}

.tour-menu__item:nth-of-type(4) {
  top: 27.198%;
}

.tour-menu__item:nth-of-type(5) {
  top: 38.599%;
}

.tour-menu__item:nth-of-type(6) {
  top: 50%;
}

.tour-menu__item:nth-of-type(7) {
  top: 61.401%;
}

.tour-menu__item:nth-of-type(8) {
  top: 72.802%;
}

.tour-menu__item:nth-of-type(9) {
  top: 84.203%;
}

html.is-mobile-tour .tour-menu {
  top: max(0px, env(safe-area-inset-top));
  right: 0;
  width: min(360px, 100vw);
  max-width: 100vw;
}

html.is-mobile-tour .tour-menu__toggle {
  width: 64px;
  height: 60px;
  background-image: url("../assets/ui/tour-menu-mobile-closed.svg");
}

html.is-mobile-tour .tour-menu.is-open .tour-menu__toggle {
  background-image: url("../assets/ui/tour-menu-mobile-open.svg");
}

html.is-mobile-tour .tour-menu__panel {
  top: 0;
  width: min(360px, 100vw);
  aspect-ratio: 360 / 657;
  background-image: url("../assets/ui/tour-menu-mobile-panel.svg");
}

html.is-mobile-tour .tour-menu.is-open .tour-menu__toggle {
  opacity: 0;
  pointer-events: none;
}

html.is-mobile-tour .tour-menu__close-hit {
  display: block;
  top: 0;
  right: 0;
  width: 17.778%;
  height: 9.132%;
}

html.is-mobile-tour .tour-menu__item {
  left: 6.667%;
  width: 86.667%;
  height: 10.102%;
}

html.is-mobile-tour .tour-menu__item:nth-of-type(2) {
  top: 11.568%;
}

html.is-mobile-tour .tour-menu__item:nth-of-type(3) {
  top: 21.67%;
}

html.is-mobile-tour .tour-menu__item:nth-of-type(4) {
  top: 31.773%;
}

html.is-mobile-tour .tour-menu__item:nth-of-type(5) {
  top: 41.875%;
}

html.is-mobile-tour .tour-menu__item:nth-of-type(6) {
  top: 51.979%;
}

html.is-mobile-tour .tour-menu__item:nth-of-type(7) {
  top: 62.081%;
}

html.is-mobile-tour .tour-menu__item:nth-of-type(8) {
  top: 72.184%;
}

html.is-mobile-tour .tour-menu__item:nth-of-type(9) {
  top: 82.287%;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  padding: 0 0 24px 24px;
}

.overlay-stack {
  position: relative;
  display: grid;
  justify-items: start;
  align-items: end;
}

.overlay-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(136, 149, 165, 0.18), rgba(80, 92, 108, 0.16)),
    rgba(35, 46, 61, 0.5);
  border: 1px solid rgba(232, 239, 247, 0.14);
  backdrop-filter: blur(18px);
  box-shadow:
    0 24px 56px rgba(4, 9, 17, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    opacity 0.34s ease,
    filter 0.34s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease,
    background 0.45s ease;
  grid-area: 1 / 1;
}

.overlay-card::before,
.overlay-card::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
  pointer-events: none;
}

.overlay-card::before {
  top: -84px;
  left: -72px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(126, 193, 255, 0.16), transparent 72%);
  opacity: 0.7;
}

.overlay-card::after {
  right: -110px;
  bottom: -116px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(103, 128, 158, 0.14), transparent 72%);
  opacity: 0.58;
}

.overlay-card.is-visible {
  position: relative;
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.overlay-card.is-hidden {
  position: absolute;
  left: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.985);
  filter: blur(10px);
  pointer-events: none;
}

.overlay-card.is-hidden * {
  pointer-events: none;
}

.overlay-card--hint {
  width: min(430px, calc(100vw - 32px));
  min-height: 124px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
}

.overlay-card--info {
  box-sizing: border-box;
  width: min(474px, calc(100vw - 32px));
  min-height: 0;
  max-height: calc(100vh - 120px);
  margin: 0 0 52px 33px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px 23px 31px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  pointer-events: none;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(251, 252, 253, 0.72) rgba(0, 110, 183, 0.22);
  font-family: "TT Hoves", "Segoe UI", Roboto, Arial, sans-serif;
  border-radius: 16px;
  background: rgba(11, 145, 219, 0.94);
  border-color: transparent;
  backdrop-filter: none;
  box-shadow: 0 18px 34px rgba(2, 10, 24, 0.26);
}

.overlay-card--info::before {
  display: none;
}

.overlay-card--info::after {
  display: none;
}

.overlay-card--info.is-visible {
  pointer-events: auto;
}

.overlay-card--info::-webkit-scrollbar {
  width: 6px;
}

.overlay-card--info::-webkit-scrollbar-track {
  background: rgba(0, 110, 183, 0.22);
  border-radius: 999px;
}

.overlay-card--info::-webkit-scrollbar-thumb {
  background: rgba(251, 252, 253, 0.72);
  border-radius: 999px;
}

.overlay-card__hint-icon {
  flex: 0 0 90px;
  width: 90px;
  height: 90px;
  filter: drop-shadow(0 0 18px rgba(117, 192, 255, 0.18));
}

.overlay-card__hint-icon--touch {
  display: none;
}

.overlay-card__hint-text {
  margin: 0;
  max-width: 280px;
  font-size: 21px;
  line-height: 1.36;
  font-weight: 600;
  color: rgba(242, 247, 252, 0.96);
  text-wrap: balance;
}

.overlay-card__hint-text-mobile {
  display: none;
}

.overlay-card__title {
  order: 3;
  margin: 24px 0 16px;
  max-width: 410px;
  font-family: "Nasalization", "TT Hoves", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fbfcfd;
  text-wrap: balance;
}

.overlay-card__number {
  order: 1;
  margin: 0 0 18px;
  font-family: "Nasalization", "TT Hoves", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0;
  color: #fbfcfd;
}

.overlay-card__rule {
  order: 2;
  flex: 0 0 auto;
  width: 100%;
  height: 2px;
  background: #fbfcfd;
}

.overlay-card__body {
  order: 4;
  margin: 0;
  max-width: 410px;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.38;
  color: #f2f4f7;
  text-wrap: pretty;
}

.overlay-card__scroll {
  order: 4;
  max-width: 410px;
  min-height: 0;
}

.overlay-card__body + .overlay-card__body {
  margin-top: 12px;
}

.overlay-card__nav {
  order: 5;
  display: flex;
  gap: 6px;
  margin-top: 28px;
  padding-top: 4px;
}

.overlay-card__nav-button {
  min-width: 0;
  height: 41px;
  border: 0;
  border-radius: 999px;
  font-family: "TT Hoves", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #006eb7;
  background: #fbfcfd;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
}

.overlay-card__nav-button:hover:not(:disabled),
.overlay-card__nav-button:focus-visible:not(:disabled) {
  background: #eaf5fc;
}

.overlay-card__nav-button:active:not(:disabled) {
  transform: translateY(1px);
}

.overlay-card__nav-button:disabled {
  cursor: default;
  opacity: 0.45;
}

.overlay-card__nav-button--prev {
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  background: #cce5f8;
}

.overlay-card__nav-button--next {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
}

.overlay-card__nav-arrow {
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.overlay-card__nav-button--prev .overlay-card__nav-arrow {
  transform: rotate(-135deg);
}

.overlay-card__collapse-toggle {
  display: none;
}

.overlay-card__collapse-nav {
  display: none;
}

.story {
  position: relative;
  z-index: 2;
}

.scroll-step {
  min-height: calc(170vh * var(--tour-scroll-length-scale, 1));
  display: flex;
  align-items: flex-end;
  padding: 0 0 11vh 6vw;
}

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

  .overlay-card--hint,
  .overlay-card--info {
    width: calc(100vw - 32px);
    border-radius: 26px;
  }

  .overlay-card--hint {
    min-height: 118px;
    padding: 18px;
    gap: 14px;
    align-items: center;
  }

  .overlay-card--info {
    max-height: calc(100vh - 48px);
    margin: 0;
    padding: 26px 22px 24px;
  }

  .overlay-card__hint-icon {
    flex-basis: 68px;
    width: 68px;
    height: 68px;
  }

  .overlay-card__hint-text {
    max-width: 220px;
    font-size: 17px;
    line-height: 1.34;
  }

  .overlay-card__title {
    max-width: none;
    margin-top: 20px;
    font-size: 23px;
    line-height: 1.2;
  }

  .overlay-card__body {
    max-width: none;
    font-size: 16px;
    line-height: 1.4;
  }

  .overlay-card__number {
    font-size: 22px;
  }

  .scroll-step {
    min-height: calc(145vh * var(--tour-scroll-length-scale, 1));
    padding-left: 16px;
  }
}

html.is-mobile-tour .overlay {
  justify-content: center;
  padding: 0 32px max(14px, env(safe-area-inset-bottom));
}

html.is-mobile-tour .overlay-stack {
  width: 100%;
  justify-items: center;
}

html.is-mobile-tour .overlay-card--hint {
  box-sizing: border-box;
  width: min(390px, calc(100vw - 64px));
  min-height: 108px;
  padding: 16px;
  gap: 12px;
  border-radius: 22px;
}

html.is-mobile-tour .overlay-card__hint-icon:not(.overlay-card__hint-icon--touch) {
  display: none;
}

html.is-mobile-tour .overlay-card__hint-icon {
  flex-basis: 64px;
  width: 64px;
  height: 64px;
}

html.is-mobile-tour .overlay-card__hint-icon--touch {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(117, 192, 255, 0.16));
}

html.is-mobile-tour .overlay-card__hint-text {
  max-width: 220px;
  font-size: 16px;
  line-height: 1.34;
}

html.is-mobile-tour .overlay-card__hint-text-desktop {
  display: none;
}

html.is-mobile-tour .overlay-card__hint-text-mobile {
  display: inline;
}

html.is-mobile-tour .overlay-card--info {
  box-sizing: border-box;
  width: min(474px, 100%);
  max-height: min(34vh, calc(100vh - 88px));
  margin: 0;
  padding: 22px 20px 22px;
  overflow: hidden;
  touch-action: pan-y;
  transition:
    opacity 0.34s ease,
    filter 0.34s ease,
    transform 0.35s ease,
    max-height 0.38s ease,
    min-height 0.38s ease,
    padding 0.38s ease;
}

html.is-mobile-tour .overlay-card__number {
  flex: 0 0 auto;
  margin-bottom: 14px;
  font-size: 22px;
}

html.is-mobile-tour .overlay-card__rule {
  flex: 0 0 auto;
}

html.is-mobile-tour .overlay-card__title {
  flex: 0 0 auto;
  margin: 18px 0 14px;
  font-size: 22px;
  line-height: 1.2;
}

html.is-mobile-tour .overlay-card__scroll {
  flex: 1 1 auto;
  max-width: none;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(251, 252, 253, 0.72) rgba(0, 110, 183, 0.22);
}

html.is-mobile-tour .overlay-card__scroll::-webkit-scrollbar {
  width: 5px;
}

html.is-mobile-tour .overlay-card__scroll::-webkit-scrollbar-track {
  background: rgba(0, 110, 183, 0.22);
  border-radius: 999px;
}

html.is-mobile-tour .overlay-card__scroll::-webkit-scrollbar-thumb {
  background: rgba(251, 252, 253, 0.72);
  border-radius: 999px;
}

html.is-mobile-tour .overlay-card__body {
  max-width: none;
  font-size: 16px;
  line-height: 1.4;
}

html.is-mobile-tour .overlay-card--info.is-mobile-compact {
  max-height: min(38vh, calc(100vh - 64px));
  max-height: min(38svh, calc(100svh - 64px));
  padding: 16px 18px;
}

html.is-mobile-tour .overlay-card--info.is-mobile-compact .overlay-card__number {
  margin-bottom: 9px;
  font-size: 20px;
}

html.is-mobile-tour .overlay-card--info.is-mobile-compact .overlay-card__title {
  margin: 11px 0 8px;
  font-size: 18px;
  line-height: 1.08;
}

html.is-mobile-tour .overlay-card--info.is-mobile-compact .overlay-card__body {
  font-size: 14.5px;
  line-height: 1.32;
}

html.is-mobile-tour .overlay-card--info.is-mobile-compact .overlay-card__nav {
  margin-top: 10px;
}

html.is-mobile-tour .overlay-card--info.is-mobile-compact .overlay-card__nav-button {
  height: 35px;
  font-size: 13px;
}

html.is-mobile-tour .overlay-card--info.is-mobile-compact .overlay-card__collapse-toggle {
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
}

html.is-mobile-tour .overlay-card--info.is-mobile-ultra-compact {
  max-height: min(42vh, calc(100vh - 50px));
  max-height: min(42svh, calc(100svh - 50px));
  padding: 12px 16px;
}

html.is-mobile-tour .overlay-card--info.is-mobile-ultra-compact .overlay-card__number {
  margin-bottom: 7px;
  font-size: 18px;
}

html.is-mobile-tour .overlay-card--info.is-mobile-ultra-compact .overlay-card__title {
  margin: 8px 0 6px;
  font-size: clamp(14px, 4vw, 16px);
  line-height: 1.05;
}

html.is-mobile-tour .overlay-card--info.is-mobile-ultra-compact .overlay-card__body {
  font-size: 13.5px;
  line-height: 1.28;
}

html.is-mobile-tour .overlay-card--info.is-mobile-ultra-compact .overlay-card__nav {
  margin-top: 8px;
}

html.is-mobile-tour .overlay-card--info.is-mobile-ultra-compact .overlay-card__nav-button {
  height: 32px;
  font-size: 12px;
}

html.is-mobile-tour .overlay-card--info.is-mobile-ultra-compact .overlay-card__collapse-toggle {
  top: 8px;
  right: 10px;
  width: 30px;
  height: 30px;
}

html.is-mobile-tour .overlay-card--info .overlay-card__collapse-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #006eb7;
  background: #fbfcfd;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

html.is-mobile-tour .overlay-card--info .overlay-card__collapse-icon {
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-2px) rotate(135deg);
}

html.is-mobile-tour .overlay-card--info.is-mobile-collapsed {
  width: min(474px, 100%);
  min-height: 56px;
  max-height: 56px;
  padding: 10px 14px 10px 18px;
  overflow: hidden;
}

html.is-mobile-tour .overlay-card--info.is-mobile-collapsed > * {
  pointer-events: none;
}

html.is-mobile-tour .overlay-card--info.is-mobile-collapsed .overlay-card__number {
  order: 0;
  position: absolute;
  left: 18px;
  top: 50%;
  margin: 0;
  font-size: 18px;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

html.is-mobile-tour .overlay-card--info.is-mobile-collapsed .overlay-card__title {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html.is-mobile-tour .overlay-card--info.is-mobile-collapsed .overlay-card__collapse-toggle {
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: #fbfcfd;
  pointer-events: auto;
}

html.is-mobile-tour .overlay-card--info.is-mobile-collapsed .overlay-card__collapse-icon {
  transform: translateY(2px) rotate(-45deg);
}

html.is-mobile-tour .overlay-card--info.is-mobile-collapsed .overlay-card__collapse-nav {
  display: grid;
  place-items: center;
  position: absolute;
  top: 10px;
  width: 50px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #006eb7;
  background: #cce5f8;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
}

html.is-mobile-tour .overlay-card--info.is-mobile-collapsed .overlay-card__collapse-nav:disabled {
  cursor: default;
  opacity: 0.45;
}

html.is-mobile-tour .overlay-card--info.is-mobile-collapsed .overlay-card__collapse-nav--prev {
  right: 124px;
}

html.is-mobile-tour .overlay-card--info.is-mobile-collapsed .overlay-card__collapse-nav--next {
  right: 68px;
}

html.is-mobile-tour .overlay-card__collapse-nav-arrow {
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

html.is-mobile-tour .overlay-card__collapse-nav--prev .overlay-card__collapse-nav-arrow {
  transform: rotate(-135deg);
}

html.is-mobile-tour .overlay-card--info.is-mobile-collapsed .overlay-card__rule,
html.is-mobile-tour .overlay-card--info.is-mobile-collapsed .overlay-card__title,
html.is-mobile-tour .overlay-card--info.is-mobile-collapsed .overlay-card__scroll,
html.is-mobile-tour .overlay-card--info.is-mobile-collapsed .overlay-card__body,
html.is-mobile-tour .overlay-card--info.is-mobile-collapsed .overlay-card__nav {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    visibility 0s linear 0.18s;
}

html.is-mobile-tour .overlay-card__nav {
  flex: 0 0 auto;
  margin-top: 22px;
}

html.is-mobile-tour .overlay-card__nav-button {
  height: 40px;
  font-size: 15px;
}

html.is-mobile-tour #overlay-card-info-dynasty {
  overflow: visible;
}

.dynasty-gallery-control,
.dynasty-gallery-viewer {
  display: none;
}

html.is-mobile-tour .dynasty-gallery-control {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  z-index: 35;
  width: min(360px, calc(100vw - 64px));
  transform: translateX(-50%);
  pointer-events: none;
}

html.is-mobile-tour .dynasty-gallery-control.is-visible {
  display: block;
  pointer-events: auto;
}

html.is-mobile-tour .overlay-card--info.is-mobile-collapsed .dynasty-gallery-control {
  pointer-events: auto;
}

html.is-mobile-tour .overlay-card--info.is-mobile-collapsed .dynasty-gallery-control__button {
  pointer-events: auto;
}

html.is-mobile-tour .dynasty-gallery-control__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  color: #fbfcfd;
  background: linear-gradient(180deg, rgba(32, 171, 224, 0.94), rgba(0, 110, 183, 0.96));
  box-shadow: 0 14px 32px rgba(2, 21, 40, 0.34);
  font: 700 16px/1.2 var(--font-body);
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
}

html.is-mobile-tour .dynasty-gallery-control__icon {
  position: relative;
  width: 19px;
  height: 19px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

html.is-mobile-tour .dynasty-gallery-control__icon::before,
html.is-mobile-tour .dynasty-gallery-control__icon::after {
  position: absolute;
  content: "";
  background: currentColor;
}

html.is-mobile-tour .dynasty-gallery-control__icon::before {
  left: 4px;
  right: 4px;
  top: 5px;
  height: 2px;
}

html.is-mobile-tour .dynasty-gallery-control__icon::after {
  left: 4px;
  right: 4px;
  top: 10px;
  height: 2px;
}

html.is-mobile-tour .dynasty-gallery-viewer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100svh;
  padding: max(14px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  color: #fbfcfd;
  background: rgba(5, 12, 22, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  touch-action: none;
}

html.is-mobile-tour .dynasty-gallery-viewer.is-hidden {
  display: none;
}

html.is-mobile-tour .dynasty-gallery-viewer__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

html.is-mobile-tour .dynasty-gallery-viewer__topbar {
  min-height: 48px;
}

html.is-mobile-tour .dynasty-gallery-viewer__counter {
  display: grid;
  place-items: center;
  min-width: 62px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #fbfcfd;
  background: rgba(28, 38, 56, 0.58);
  font: 700 14px/1 var(--font-body);
}

html.is-mobile-tour .dynasty-gallery-viewer__close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #006eb7;
  background: #fbfcfd;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
}

html.is-mobile-tour .dynasty-gallery-viewer__close span,
html.is-mobile-tour .dynasty-gallery-viewer__close span::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

html.is-mobile-tour .dynasty-gallery-viewer__close span {
  transform: rotate(45deg);
}

html.is-mobile-tour .dynasty-gallery-viewer__close span::after {
  content: "";
  transform: rotate(90deg);
}

html.is-mobile-tour .dynasty-gallery-viewer__stage {
  position: relative;
  display: grid;
  min-height: 0;
  overflow: hidden;
}

html.is-mobile-tour .dynasty-gallery-viewer__viewport {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  touch-action: none;
}

html.is-mobile-tour .dynasty-gallery-viewer__image {
  position: absolute;
  inset: 0;
  display: block;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  user-select: none;
  transform-origin: center center;
  will-change: transform;
}

html.is-mobile-tour .dynasty-gallery-viewer__image--adjacent {
  opacity: 0;
  pointer-events: none;
}

html.is-mobile-tour .dynasty-gallery-viewer__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  color: #006eb7;
  background: rgba(251, 252, 253, 0.88);
  cursor: pointer;
  transform: translateY(-50%);
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
}

html.is-mobile-tour .dynasty-gallery-viewer__nav:disabled {
  opacity: 0.36;
  cursor: default;
}

html.is-mobile-tour .dynasty-gallery-viewer__nav--prev {
  left: 8px;
}

html.is-mobile-tour .dynasty-gallery-viewer__nav--next {
  right: 8px;
}

html.is-mobile-tour .dynasty-gallery-viewer__nav span {
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

html.is-mobile-tour .dynasty-gallery-viewer__nav--prev span {
  transform: rotate(-135deg);
}

@keyframes loading-runner-loop {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -100;
  }
}

@keyframes loading-logo-pulse {
  0%,
  100% {
    transform: scale(0.982);
  }

  50% {
    transform: scale(1.028);
  }
}

@keyframes loading-halo {
  0%,
  100% {
    transform: translateY(-50%) scale(0.88);
    opacity: 0.62;
  }

  50% {
    transform: translateY(-50%) scale(1.08);
    opacity: 1;
  }
}

