:root {
  --blue-950: #033d63;
  --blue-900: #075586;
  --blue-850: #086292;
  --blue-800: #0870a7;
  --blue-700: #087fbd;
  --blue-600: #078fd5;
  --blue-500: #0a9ff2;
  --blue-400: #43b8ff;

  --white: #ffffff;
  --text-main: rgba(255, 255, 255, 0.96);
  --text-soft: rgba(255, 255, 255, 0.78);
  --text-muted: rgba(255, 255, 255, 0.6);

  --line-soft: rgba(255, 255, 255, 0.18);
  --surface-soft: rgba(255, 255, 255, 0.1);
  --surface-medium: rgba(255, 255, 255, 0.15);

  --panel-shadow:
    0 30px 80px rgba(0, 29, 54, 0.38);

  --button-shadow:
    0 14px 32px rgba(0, 48, 86, 0.26);

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--blue-850);
  color: var(--white);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.96);
  outline-offset: 4px;
}

.app {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 50% 37%,
      rgba(38, 166, 234, 0.25),
      transparent 35%
    ),
    radial-gradient(
      circle at 50% 100%,
      rgba(0, 45, 83, 0.18),
      transparent 52%
    ),
    linear-gradient(
      180deg,
      #075d8f 0%,
      #086a9f 55%,
      #075c8d 100%
    );
}

.app::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );
  background-size: 80px 80px;
  mask-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.42),
      transparent 75%
    );
  content: "";
  pointer-events: none;
}

/* ------------------------------------------------------------------
   Header
   ------------------------------------------------------------------ */

.topbar {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding:
    calc(26px + var(--safe-top))
    calc(46px + var(--safe-right))
    16px
    calc(46px + var(--safe-left));
  pointer-events: none;
}

.brand,
.icon-button {
  pointer-events: auto;
}

.brand {
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(28px, 2.65vw, 42px);
  font-weight: 800;
  letter-spacing: -0.055em;
  cursor: pointer;
  text-shadow:
    0 4px 18px rgba(0, 38, 68, 0.2);
}

.icon-button {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.icon-button:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
}

.icon-button:active {
  transform: scale(0.96);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 33px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
  content: "";
}

.hamburger {
  position: relative;
}

.hamburger::before {
  position: absolute;
  top: -10px;
}

.hamburger::after {
  position: absolute;
  top: 10px;
}

/* ------------------------------------------------------------------
   Workshop slider
   ------------------------------------------------------------------ */

.main-screen {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding:
    calc(100px + var(--safe-top))
    calc(90px + var(--safe-right))
    calc(74px + var(--safe-bottom))
    calc(90px + var(--safe-left));
}

.main-screen.is-hidden {
  display: none;
}

.workshop-stage {
  width: min(920px, 78vw);
  text-align: center;
  user-select: none;
}

.visual {
  position: relative;
  display: grid;
  width: clamp(170px, 16vw, 260px);
  aspect-ratio: 1;
  margin: 0 auto clamp(22px, 3vh, 34px);
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 31% 24%,
      rgba(255, 255, 255, 0.42),
      transparent 24%
    ),
    radial-gradient(
      circle at 70% 76%,
      rgba(0, 91, 157, 0.16),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #51c0ff 0%,
      #159fec 48%,
      #0788d5 100%
    );
  box-shadow:
    inset 0 0 0 8px rgba(255, 255, 255, 0.04),
    inset 0 -20px 40px rgba(0, 65, 115, 0.13),
    0 28px 60px rgba(0, 38, 69, 0.24);
  transition:
    transform 260ms ease,
    opacity 260ms ease;
}

.visual::before,
.visual::after {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  content: "";
  transform: rotate(-18deg);
}

.visual::before {
  width: 67%;
  height: 15%;
  top: 27%;
  left: 16%;
}

.visual::after {
  width: 46%;
  height: 11%;
  right: 11%;
  bottom: 24%;
}

.visual-number {
  position: relative;
  z-index: 2;
  margin-left: -0.08em;
  font-size: clamp(56px, 6.8vw, 102px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  text-shadow:
    0 9px 26px rgba(0, 53, 94, 0.26);
}

.workshop-copy {
  transition:
    transform 240ms ease,
    opacity 240ms ease;
}

.workshop-title {
  max-width: 880px;
  margin: 0 auto;
  color: var(--text-main);
  font-size: clamp(28px, 2.65vw, 42px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  text-wrap: balance;
  text-shadow:
    0 4px 20px rgba(0, 45, 80, 0.16);
}

.workshop-subtitle {
  max-width: 740px;
  margin: 15px auto 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.level-chip {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  justify-content: center;
  padding: 6px 13px 5px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.workshop-level {
  display: flex;
  width: max-content;
  margin: 0 auto 24px;
}

.workshop-description {
  display: none;
}

.primary-button,
.panel-button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition:
    transform 150ms ease,
    filter 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease;
}

.primary-button {
  display: flex;
  width: max-content;
  min-width: 190px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
  padding: 15px 19px;
  background:
    linear-gradient(
      180deg,
      #17a9fa 0%,
      #0795e6 100%
    );
  box-shadow: var(--button-shadow);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.primary-button:hover {
  box-shadow:
    0 18px 38px rgba(0, 46, 82, 0.32);
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.primary-button:active,
.panel-button:active {
  transform: translateY(1px);
}

.arrow-button {
  position: absolute;
  z-index: 10;
  top: 50%;
  display: grid;
  width: 74px;
  height: 112px;
  place-items: center;
  border: 0;
  border-radius: 18px;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.arrow-button:hover {
  background: rgba(255, 255, 255, 0.07);
}

.arrow-button:active {
  transform:
    translateY(-50%)
    scale(0.96);
}

.arrow-button::before {
  display: block;
  width: 20px;
  height: 20px;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  content: "";
}

.arrow-button.prev {
  left: calc(22px + var(--safe-left));
}

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

.arrow-button.next {
  right: calc(22px + var(--safe-right));
}

.arrow-button.next::before {
  transform: rotate(45deg);
}

.pagination {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: calc(46px + var(--safe-bottom));
  display: flex;
  max-width: min(82vw, 760px);
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  transform: translateX(-50%);
}

.dot {
  position: relative;
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(44, 181, 255, 0.72);
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.dot::before {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  content: "";
}

.dot:hover {
  background: rgba(255, 255, 255, 0.74);
  transform: scale(1.12);
}

.dot[aria-current="true"] {
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.1);
  transform: scale(1.08);
}

/* ------------------------------------------------------------------
   Shared overlays
   ------------------------------------------------------------------ */

.overlay {
  position: absolute;
  z-index: 50;
  inset: 0;
  display: none;
  background: rgba(7, 117, 181, 0.98);
}

.overlay.is-open {
  display: block;
}

.overlay-close {
  position: absolute;
  z-index: 4;
  top: calc(23px + var(--safe-top));
  right: calc(38px + var(--safe-right));
  width: 58px;
  height: 58px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.overlay-close:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.overlay-close:active {
  transform: scale(0.95);
}

.overlay-close::before,
.overlay-close::after {
  position: absolute;
  top: 27px;
  left: 9px;
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
  content: "";
}

.overlay-close::before {
  transform: rotate(45deg);
}

.overlay-close::after {
  transform: rotate(-45deg);
}

/* ------------------------------------------------------------------
   Main menu
   ------------------------------------------------------------------ */

.menu-overlay {
  display: none;
  place-items: center;
  padding: 100px 28px;
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(47, 180, 247, 0.26),
      transparent 42%
    ),
    linear-gradient(
      180deg,
      rgba(6, 93, 143, 0.99),
      rgba(7, 113, 171, 0.99)
    );
}

.menu-overlay.is-open {
  display: grid;
  animation: fade-in 180ms ease both;
}

.menu-list {
  display: grid;
  gap: clamp(22px, 3.4vh, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.menu-link {
  position: relative;
  border: 0;
  padding: 4px 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(24px, 2.3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.menu-link::after {
  position: absolute;
  right: 10%;
  bottom: -5px;
  left: 10%;
  height: 3px;
  border-radius: 999px;
  background: #fff;
  content: "";
  opacity: 0;
  transform: scaleX(0.7);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.menu-link:hover {
  color: #fff;
  transform: translateY(-1px);
}

.menu-link:hover::after {
  opacity: 0.9;
  transform: scaleX(1);
}

/* ------------------------------------------------------------------
   Workshop information modal
   ------------------------------------------------------------------ */

.info-overlay {
  padding:
    calc(34px + var(--safe-top))
    calc(34px + var(--safe-right))
    calc(34px + var(--safe-bottom))
    calc(34px + var(--safe-left));
  background: rgba(1, 48, 78, 0.72);
  backdrop-filter: blur(7px);
}

.info-panel {
  position: relative;
  display: grid;
  width: min(1440px, 100%);
  height: 100%;
  margin: 0 auto;
  grid-template-rows: auto 1px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(76, 193, 255, 0.18),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      #0a9ce9 0%,
      #078ed5 100%
    );
  box-shadow: var(--panel-shadow);
}

.info-panel > div:nth-child(2) {
  width: calc(100% - 100px);
  height: 1px;
  margin: 0 auto;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.24),
      transparent
    );
}

.info-header {
  padding:
    clamp(56px, 7vh, 78px)
    clamp(78px, 9vw, 150px)
    28px;
  text-align: center;
}

.info-title {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(28px, 2.75vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.info-subtitle {
  max-width: 820px;
  margin: 15px auto 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.info-level {
  margin-top: 15px;
}

.down-marker {
  display: block;
  width: 16px;
  height: 16px;
  margin: 27px auto 0;
  border-right: 4px solid rgba(255, 255, 255, 0.82);
  border-bottom: 4px solid rgba(255, 255, 255, 0.82);
  transform: rotate(45deg);
}

.info-body {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding:
    clamp(34px, 4vw, 56px)
    clamp(40px, 10vw, 150px)
    clamp(58px, 7vw, 90px);
  scrollbar-width: thin;
  scrollbar-color:
    rgba(255, 255, 255, 0.6)
    rgba(255, 255, 255, 0.1);
}

.info-body::-webkit-scrollbar,
.content-page::-webkit-scrollbar {
  width: 10px;
}

.info-body::-webkit-scrollbar-track,
.content-page::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
}

.info-body::-webkit-scrollbar-thumb,
.content-page::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background:
    rgba(255, 255, 255, 0.48);
  background-clip: padding-box;
}

.info-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(220px, 280px);
  gap: clamp(50px, 7vw, 110px);
  align-items: start;
}

.info-copy {
  max-width: 800px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
}

.info-copy h2,
.info-copy h3 {
  margin: 34px 0 15px;
  color: #fff;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.3;
}

.info-copy h2:first-child,
.info-copy h3:first-child {
  margin-top: 0;
}

.info-copy h4 {
  margin: 28px 0 12px;
  color: #fff;
  font-size: 17px;
}

.info-copy p {
  margin: 0 0 19px;
}

.info-copy ul,
.info-copy ol {
  margin: 0 0 22px;
  padding-left: 22px;
}

.info-copy li {
  margin-bottom: 7px;
  padding-left: 4px;
}

.info-copy a {
  color: #fff;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.panel-actions {
  position: sticky;
  top: 0;
  display: grid;
  gap: 13px;
}

.panel-button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(
      180deg,
      #075887 0%,
      #064d78 100%
    );
  box-shadow:
    0 11px 26px rgba(0, 43, 75, 0.18);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
}

.panel-button:hover {
  box-shadow:
    0 15px 30px rgba(0, 39, 70, 0.25);
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.panel-button.secondary {
  background:
    linear-gradient(
      180deg,
      rgba(8, 112, 170, 0.84),
      rgba(7, 96, 149, 0.84)
    );
}

/* ------------------------------------------------------------------
   Standard information pages
   ------------------------------------------------------------------ */

.content-page {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding:
    calc(122px + var(--safe-top))
    calc(42px + var(--safe-right))
    calc(74px + var(--safe-bottom))
    calc(42px + var(--safe-left));
  background:
    radial-gradient(
      circle at 50% 21%,
      rgba(42, 173, 238, 0.22),
      transparent 39%
    ),
    linear-gradient(
      180deg,
      #075e91 0%,
      #08699d 58%,
      #075b89 100%
    );
  scrollbar-width: thin;
  scrollbar-color:
    rgba(255, 255, 255, 0.62)
    rgba(255, 255, 255, 0.1);
}

.content-page.is-active {
  display: block;
}

.content-page-container {
  width: min(1040px, 100%);
  min-height:
    calc(
      100dvh
      - 196px
      - var(--safe-top)
      - var(--safe-bottom)
    );
  margin: 0 auto;
  padding:
    clamp(38px, 5.5vw, 74px)
    clamp(30px, 5.5vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(0, 56, 94, 0.32),
      rgba(0, 84, 131, 0.2)
    );
  box-shadow: var(--panel-shadow);
  backdrop-filter: blur(5px);
}

.content-page-title {
  margin: 0 0 34px;
  color: #fff;
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.content-page-copy {
  max-width: 850px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.72;
}

.content-page-copy h2,
.content-page-copy h3 {
  margin: 38px 0 15px;
  color: #fff;
  line-height: 1.25;
}

.content-page-copy p {
  margin: 0 0 22px;
}

.content-page-copy ul,
.content-page-copy ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.content-page-copy li {
  margin-bottom: 8px;
}

.content-page-copy a {
  color: #fff;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* ------------------------------------------------------------------
   Interactive viewer
   ------------------------------------------------------------------ */

.viewer {
  z-index: 80;
  background:
    rgba(1, 49, 79, 0.96);
}

.viewer-shell {
  position: absolute;
  inset:
    calc(28px + var(--safe-top))
    calc(28px + var(--safe-right))
    calc(28px + var(--safe-bottom))
    calc(28px + var(--safe-left));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--panel-shadow);
}

.viewer-frame-host {
  width: 100%;
  height: 100%;
}

.viewer iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.viewer-close {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 70px;
  height: 70px;
  border: 0;
  border-bottom-left-radius: 13px;
  background:
    linear-gradient(
      145deg,
      #16aafa,
      #078edc
    );
  box-shadow:
    -6px 7px 20px rgba(0, 46, 82, 0.22);
  cursor: pointer;
  transition:
    filter 150ms ease,
    transform 150ms ease;
}

.viewer-close:hover {
  filter: brightness(1.08);
}

.viewer-close:active {
  transform: scale(0.97);
}

.viewer-close::before,
.viewer-close::after {
  position: absolute;
  top: 33px;
  left: 17px;
  width: 37px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
  content: "";
}

.viewer-close::before {
  transform: rotate(45deg);
}

.viewer-close::after {
  transform: rotate(-45deg);
}

/* ------------------------------------------------------------------
   Splash / preload
   ------------------------------------------------------------------ */

.splash {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(51, 181, 244, 0.24),
      transparent 35%
    ),
    linear-gradient(
      180deg,
      #075d8f,
      #08699c
    );
  transition:
    opacity 260ms ease,
    visibility 260ms ease;
}

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

.splash-content {
  width: min(520px, 90vw);
  text-align: center;
}

.splash-brand {
  margin: 0 0 28px;
  font-size: clamp(50px, 7vw, 78px);
  line-height: 1;
  letter-spacing: -0.06em;
  text-shadow:
    0 8px 28px rgba(0, 43, 75, 0.18);
}

.splash-subtitle {
  max-width: 460px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(22px, 2.25vw, 31px);
  line-height: 1.3;
}

.institutional-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.35;
}

.institutional-symbol {
  display: grid;
  width: 35px;
  height: 35px;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.institutional-symbol span {
  background: #fff;
}

.progress-box {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 116, 186, 0.58);
  box-shadow:
    0 14px 36px rgba(0, 38, 68, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.progress-bar {
  height: 5px;
  background:
    linear-gradient(
      90deg,
      #53c5ff,
      #22adfb
    );
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 150ms linear;
}

.progress-label {
  min-height: 50px;
  display: grid;
  place-items: center;
  padding: 10px 17px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 500;
}

.status-line {
  min-height: 21px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.app-version {
  position: absolute;
  z-index: 15;
  right: calc(16px + var(--safe-right));
  bottom: calc(10px + var(--safe-bottom));
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  letter-spacing: 0.03em;
  pointer-events: none;
}

/* ------------------------------------------------------------------
   Transitions
   ------------------------------------------------------------------ */

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

body.is-route-transitioning {
  cursor: wait;
}

body.is-route-transitioning .topbar,
body.is-route-transitioning .arrow-button,
body.is-route-transitioning .pagination,
body.is-route-transitioning .overlay-close,
body.is-route-transitioning .viewer-close,
body.is-route-transitioning .panel-button,
body.is-route-transitioning .primary-button {
  pointer-events: none;
}

.route-exit-slide-forward,
.route-exit-slide-backward,
.route-enter-slide-forward,
.route-enter-slide-backward,
.route-exit-fade,
.route-enter-fade,
.route-exit-modal,
.route-enter-modal {
  will-change: opacity, transform;
  pointer-events: none !important;
}

.route-exit-slide-forward {
  animation:
    route-exit-slide-forward
    190ms
    cubic-bezier(0.4, 0, 1, 1)
    both !important;
}

.route-exit-slide-backward {
  animation:
    route-exit-slide-backward
    190ms
    cubic-bezier(0.4, 0, 1, 1)
    both !important;
}

.route-enter-slide-forward {
  animation:
    route-enter-slide-forward
    270ms
    cubic-bezier(0.16, 1, 0.3, 1)
    both !important;
}

.route-enter-slide-backward {
  animation:
    route-enter-slide-backward
    270ms
    cubic-bezier(0.16, 1, 0.3, 1)
    both !important;
}

.route-exit-fade {
  animation:
    route-fade-out
    180ms
    ease
    both !important;
}

.route-enter-fade {
  animation:
    route-fade-in
    220ms
    ease
    both !important;
}

.route-exit-modal {
  animation:
    route-modal-fade-out
    220ms
    ease
    both !important;
}

.route-enter-modal {
  animation:
    route-modal-fade-in
    220ms
    ease
    both !important;
}

@keyframes route-exit-slide-forward {
  from {
    opacity: 1;
    transform:
      translate3d(0, 0, 0)
      scale(1);
  }

  to {
    opacity: 0;
    transform:
      translate3d(-28px, 0, 0)
      scale(0.99);
  }
}

@keyframes route-exit-slide-backward {
  from {
    opacity: 1;
    transform:
      translate3d(0, 0, 0)
      scale(1);
  }

  to {
    opacity: 0;
    transform:
      translate3d(28px, 0, 0)
      scale(0.99);
  }
}

@keyframes route-enter-slide-forward {
  from {
    opacity: 0;
    transform:
      translate3d(34px, 0, 0)
      scale(0.99);
  }

  to {
    opacity: 1;
    transform:
      translate3d(0, 0, 0)
      scale(1);
  }
}

@keyframes route-enter-slide-backward {
  from {
    opacity: 0;
    transform:
      translate3d(-34px, 0, 0)
      scale(0.99);
  }

  to {
    opacity: 1;
    transform:
      translate3d(0, 0, 0)
      scale(1);
  }
}

@keyframes route-fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes route-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes route-modal-fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes route-modal-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

@media (max-width: 900px) {
  .topbar {
    padding-left:
      calc(24px + var(--safe-left));
    padding-right:
      calc(24px + var(--safe-right));
  }

  .main-screen {
    padding-left:
      calc(62px + var(--safe-left));
    padding-right:
      calc(62px + var(--safe-right));
  }

  .workshop-stage {
    width: min(680px, 86vw);
  }

  .arrow-button {
    width: 56px;
  }

  .arrow-button.prev {
    left: calc(2px + var(--safe-left));
  }

  .arrow-button.next {
    right: calc(2px + var(--safe-right));
  }

  .info-overlay {
    padding:
      calc(18px + var(--safe-top))
      calc(18px + var(--safe-right))
      calc(18px + var(--safe-bottom))
      calc(18px + var(--safe-left));
  }

  .info-header {
    padding:
      62px
      74px
      24px;
  }

  .info-body {
    padding:
      30px
      28px
      54px;
  }

  .info-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .panel-actions {
    position: static;
    grid-template-columns:
      repeat(
        auto-fit,
        minmax(190px, 1fr)
      );
  }

  .content-page {
    padding-left:
      calc(20px + var(--safe-left));
    padding-right:
      calc(20px + var(--safe-right));
  }

  .content-page-container {
    padding:
      36px
      26px
      48px;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding-top:
      calc(18px + var(--safe-top));
  }

  .brand {
    font-size: 29px;
  }

  .icon-button {
    width: 48px;
    height: 48px;
  }

  .main-screen {
    padding:
      calc(82px + var(--safe-top))
      calc(48px + var(--safe-right))
      calc(64px + var(--safe-bottom))
      calc(48px + var(--safe-left));
  }

  .visual {
    width: clamp(145px, 43vw, 190px);
    margin-bottom: 22px;
  }

  .workshop-title {
    font-size: clamp(25px, 7vw, 34px);
  }

  .workshop-subtitle {
    max-width: 90%;
    font-size: 14px;
  }

  .arrow-button {
    width: 44px;
    height: 90px;
  }

  .arrow-button::before {
    width: 16px;
    height: 16px;
  }

  .pagination {
    bottom:
      calc(26px + var(--safe-bottom));
  }

  .info-panel {
    border-radius: 12px;
  }

  .info-header {
    padding:
      62px
      28px
      24px;
  }

  .info-title {
    font-size: 28px;
  }

  .overlay-close {
    top:
      calc(11px + var(--safe-top));
    right:
      calc(12px + var(--safe-right));
  }

  .viewer-shell {
    inset:
      calc(10px + var(--safe-top))
      calc(10px + var(--safe-right))
      calc(10px + var(--safe-bottom))
      calc(10px + var(--safe-left));
  }

  .viewer-close {
    width: 62px;
    height: 62px;
  }

  .viewer-close::before,
  .viewer-close::after {
    top: 29px;
    left: 15px;
    width: 33px;
  }
}

@media (max-height: 760px) and (orientation: landscape) {
  .topbar {
    padding-top:
      calc(15px + var(--safe-top));
  }

  .main-screen {
    padding-top:
      calc(72px + var(--safe-top));
    padding-bottom:
      calc(48px + var(--safe-bottom));
  }

  .visual {
    width: 130px;
    margin-bottom: 12px;
  }

  .visual-number {
    font-size: 54px;
  }

  .workshop-title {
    font-size: clamp(24px, 3vw, 32px);
  }

  .workshop-subtitle {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 13px;
  }

  .workshop-level {
    margin-bottom: 12px;
  }

  .primary-button {
    min-width: 170px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .pagination {
    bottom:
      calc(18px + var(--safe-bottom));
  }
}

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