.mr-loader {
  position: absolute;

  inset: -4px 4px 0;

  z-index: 50;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  min-height: 420px;

  padding: 30px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 19px;

  background: rgba(48, 41, 46, 0.94);

  text-align: center;

  backdrop-filter: blur(10px);
}

.mr-loader[hidden] {
  display: none !important;
}

.mr-spinner {
  width: 46px;
  height: 46px;

  margin: 0 0 16px;

  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: #e84a8a;

  border-radius: 50%;

  animation: mr-spin 0.8s linear infinite;
}

@keyframes mr-spin {
  to {
    transform: rotate(360deg);
  }
}

.mr-loader strong {
  color: #fff;

  font-size: 13px;
  font-weight: 650;
}

.mr-loader span {
  margin-top: 5px;

  color: rgba(255, 255, 255, 0.42);

  font-size: 8.5px;
}

/* =========================================================
   AR BEAUTY LABS
   PREMIUM BEAUTY TECHNOLOGY LAUNCHER
   ========================================================= */

/* =========================================================
   OVERLAY
   ========================================================= */

.btm-overlay {
  --btm-pink: #e84a8a;
  --btm-pink-bright: #f36da2;
  --btm-pink-soft: #fde7f0;

  --btm-dark: #181619;
  --btm-dark-2: #1e1b1f;
  --btm-dark-3: #252126;

  --btm-text: #ffffff;
  --btm-text-soft: #b9b1b8;
  --btm-text-muted: #817981;

  --btm-line: rgba(255, 255, 255, 0.09);

  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  background: rgba(39, 33, 38, 0.58);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

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

/* =========================================================
   DIALOG
   ========================================================= */

.btm-dialog {
  position: relative;

  width: min(1260px, 100%);
  max-height: 94vh;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.11);

  border-radius: 26px;

  background:
    radial-gradient(circle at 18% 0%, rgba(232, 74, 138, 0.1), transparent 30%),
    linear-gradient(145deg, #40383e 0%, #342e33 55%, #2e292d 100%);

  box-shadow:
    0 60px 150px -35px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;

  transform: translateY(18px) scale(0.985);

  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btm-overlay section {
  padding: 0;
}
.btm-overlay.is-open .btm-dialog {
  transform: none;
}

/* pink ambient light */

.btm-dialog::before {
  content: '';

  position: absolute;

  width: 520px;
  height: 300px;

  top: -230px;
  left: 20%;

  border-radius: 50%;

  background: rgba(232, 74, 138, 0.15);

  filter: blur(65px);

  pointer-events: none;
}

/* =========================================================
   HEADER
   ========================================================= */

.btm-header {
  position: relative;
  z-index: 20;

  min-height: 70px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  flex: 0 0 auto;

  padding: 0 28px;

  border-bottom: 1px solid var(--btm-line);

  background: rgba(56, 49, 54, 0.92);

  border-bottom: 1px solid rgba(255, 255, 255, 0.11);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.btm-header-left {
  justify-self: start;
}

.btm-header-right {
  justify-self: end;
}

/* =========================================================
   BRAND
   ========================================================= */

.btm-brand {
  display: flex;
  align-items: center;

  gap: 9px;

  color: #fff;

  font-family: 'Fraunces', Georgia, serif;

  font-size: 15px;
  font-weight: 500;

  letter-spacing: -0.015em;
}

.btm-brand-mark {
  position: relative;

  width: 9px;
  height: 9px;

  border-radius: 50%;

  background: var(--btm-pink);

  box-shadow:
    0 0 0 4px rgba(232, 74, 138, 0.1),
    0 0 22px rgba(232, 74, 138, 0.45);
}

/* =========================================================
   CLOSE
   ========================================================= */

.btm-close {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.035);

  color: #fff;

  font-family: Arial, sans-serif;
  font-size: 23px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.25s ease;
}

.btm-close:hover {
  background: rgba(232, 74, 138, 0.14);

  border-color: rgba(232, 74, 138, 0.42);

  transform: rotate(5deg);
}

/* =========================================================
   BACK
   ========================================================= */

.btm-back {
  display: flex;
  align-items: center;

  gap: 9px;

  padding: 0;

  border: 0;

  background: transparent;

  color: #b8b0b7;

  font-family: inherit;

  font-size: 11px;
  font-weight: 700;

  cursor: pointer;

  transition: color 0.2s ease;
}

.btm-back:hover {
  color: #fff;
}

.btm-back-icon {
  width: 31px;
  height: 31px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.035);

  color: #fff;

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.btm-back:hover .btm-back-icon {
  transform: translateX(-3px);

  background: rgba(232, 74, 138, 0.12);
}

/* =========================================================
   BODY
   ========================================================= */

.btm-body {
  position: relative;

  flex: 1;

  overflow-y: auto;
  overscroll-behavior: contain;

  padding: 36px 40px 40px;
}

.btm-body::-webkit-scrollbar {
  width: 6px;
}

.btm-body::-webkit-scrollbar-track {
  background: transparent;
}

.btm-body::-webkit-scrollbar-thumb {
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.13);
}

/* =========================================================
   SCREEN
   ========================================================= */

.btm-screen {
  animation: btm-screen-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes btm-screen-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   LAUNCHER HEADER
   ========================================================= */

.btm-launcher-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 40px;

  margin-bottom: 28px;
}

.btm-launcher-kicker {
  display: block;

  margin-bottom: 9px;

  color: var(--btm-pink-bright);

  font-size: 9px;
  line-height: 1;

  font-weight: 800;

  letter-spacing: 0.18em;
}

.btm-launcher-head h2 {
  margin: 0;

  color: #fff;

  font-family: 'Fraunces', Georgia, serif;

  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1;

  font-weight: 400;

  letter-spacing: -0.035em;
}

.btm-launcher-meta {
  display: flex;
  align-items: center;

  gap: 9px;

  margin-bottom: 4px;

  color: #8f878e;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.05em;

  text-transform: uppercase;
}

.btm-meta-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--btm-pink);

  box-shadow: 0 0 0 4px rgba(232, 74, 138, 0.1);
}

/* =========================================================
   TECHNOLOGY GRID
   ========================================================= */

.btm-launcher-grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 12px;
}

/* =========================================================
   TECHNOLOGY TILE
   ========================================================= */

.btm-launch-item {
  position: relative;

  min-height: 270px;

  display: flex;
  flex-direction: column;

  padding: 20px;

  overflow: hidden;

  text-align: left;

  color: #fff;

  border: 1px solid rgba(255, 255, 255, 0.075);

  border-radius: 18px;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.075) 0%,
    rgba(255, 255, 255, 0.035) 100%
  );

  border-color: rgba(255, 255, 255, 0.12);

  cursor: pointer;

  isolation: isolate;

  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.35s ease;
}

.btm-launch-item::before {
  content: '';

  position: absolute;
  inset: 0;

  z-index: -1;

  border-radius: inherit;

  background: radial-gradient(
    circle at 90% 5%,
    rgba(232, 74, 138, 0.15),
    transparent 36%
  );

  opacity: 0;

  transition: opacity 0.3s ease;

  pointer-events: none;
}

.btm-launch-item:hover {
  z-index: 3;

  transform: translateY(-5px);

  border-color: rgba(232, 74, 138, 0.34);

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.12),
    rgba(232, 74, 138, 0.07)
  );

  border-color: rgba(242, 121, 167, 0.5);

  box-shadow: 0 24px 50px -28px rgba(20, 14, 18, 0.55);

  box-shadow: 0 25px 55px -30px rgba(0, 0, 0, 0.9);
}

.btm-launch-item:hover::before {
  opacity: 1;
}

/* =========================================================
   FEATURED VTO
   ========================================================= */

.btm-launch-item--hero {
  grid-column: span 2;

  background:
    radial-gradient(
      circle at 88% 10%,
      rgba(255, 167, 199, 0.2),
      transparent 34%
    ),
    linear-gradient(135deg, #684252 0%, #513944 48%, #42343b 100%);

  border-color: rgba(242, 128, 170, 0.35);
}

.btm-launch-item--hero:hover {
  background:
    radial-gradient(
      circle at 88% 10%,
      rgba(255, 177, 205, 0.27),
      transparent 38%
    ),
    linear-gradient(135deg, #74475a, #5a3d49 52%, #493740);

  border-color: rgba(245, 139, 179, 0.62);
}

.btm-launch-glow {
  position: absolute;

  width: 250px;
  height: 250px;

  right: -80px;
  bottom: -140px;

  z-index: -1;

  border-radius: 50%;

  background: rgba(232, 74, 138, 0.18);

  filter: blur(8px);

  pointer-events: none;
}

/* =========================================================
   TILE TOP
   ========================================================= */

.btm-launch-top {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btm-launch-type {
  min-width: 31px;
  height: 25px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 8px;

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 7px;

  background: rgba(255, 255, 255, 0.025);

  color: #b0a8af;

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 0.09em;
}

.btm-launch-index {
  color: #afa6ac;

  font-family: 'Fraunces', Georgia, serif;

  font-size: 10px;
  font-style: italic;
}

.btm-launch-status {
  display: flex;
  align-items: center;

  gap: 6px;

  color: #f47eaa;

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 0.11em;
}

.btm-launch-status i {
  width: 5px;
  height: 5px;

  display: block;

  border-radius: 50%;

  background: #f06a9f;

  box-shadow: 0 0 0 3px rgba(232, 74, 138, 0.1);
}

/* =========================================================
   TECHNOLOGY SYMBOL
   ========================================================= */

.btm-launch-symbol {
  position: relative;
  z-index: 2;

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-top: 22px;

  border: 1px solid rgba(232, 74, 138, 0.2);

  border-radius: 14px;

  background: rgba(232, 74, 138, 0.075);

  color: #f16d9f;

  font-size: 20px;

  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease,
    border-color 0.3s ease;
}

.btm-launch-item:hover .btm-launch-symbol {
  transform: translateY(-2px) scale(1.05);

  background: rgba(232, 74, 138, 0.13);

  border-color: rgba(232, 74, 138, 0.32);
}

/* VTO symbol */

.btm-symbol-orbit {
  position: relative;

  width: 22px;
  height: 22px;

  display: block;

  border: 1.5px solid currentColor;

  border-radius: 50%;
}

.btm-symbol-orbit::before {
  content: '';

  position: absolute;

  width: 28px;
  height: 12px;

  top: 4px;
  left: -4px;

  border: 1px solid currentColor;

  border-radius: 50%;

  transform: rotate(-25deg);
}

.btm-symbol-orbit i {
  position: absolute;

  width: 5px;
  height: 5px;

  top: 7px;
  left: 7px;

  border-radius: 50%;

  background: currentColor;
}

/* Foundation */

.btm-symbol-foundation {
  position: relative;

  width: 21px;
  height: 21px;

  display: block;

  border: 1.5px solid currentColor;

  border-radius: 50% 50% 50% 12%;
}

.btm-symbol-foundation i {
  position: absolute;

  width: 7px;
  height: 7px;

  top: 6px;
  left: 6px;

  border-radius: 50%;

  background: currentColor;
}

/* Spark */

.btm-symbol-spark {
  font-size: 25px;
}

/* Diamond */

.btm-symbol-diamond {
  font-size: 29px;
  font-weight: 300;
}

/* History */

.btm-symbol-history {
  font-size: 26px;
}

/* Chat */

.btm-symbol-chat {
  position: relative;

  width: 25px;
  height: 19px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 3px;

  border: 1.5px solid currentColor;

  border-radius: 7px;
}

.btm-symbol-chat::after {
  content: '';

  position: absolute;

  bottom: -5px;
  left: 5px;

  width: 6px;
  height: 6px;

  border-left: 1.5px solid currentColor;

  transform: skewY(-35deg);
}

.btm-symbol-chat i {
  width: 3px;
  height: 3px;

  border-radius: 50%;

  background: currentColor;
}

/* Face scan */

.btm-symbol-scan {
  position: relative;

  width: 25px;
  height: 25px;

  display: block;

  border: 1px solid rgba(241, 109, 159, 0.45);

  border-radius: 50%;
}

.btm-symbol-scan::before,
.btm-symbol-scan::after {
  content: '';

  position: absolute;

  inset: -4px;

  border-color: currentColor;
  border-style: solid;

  border-width: 1.5px 0 0 1.5px;

  border-radius: 7px 0 0 0;
}

.btm-symbol-scan::after {
  transform: rotate(180deg);
}

.btm-symbol-scan i {
  position: absolute;

  width: 13px;
  height: 1px;

  top: 11px;
  left: 5px;

  background: currentColor;

  opacity: 0.75;
}

/* =========================================================
   CONTENT
   ========================================================= */

.btm-launch-content {
  position: relative;
  z-index: 2;

  margin-top: 18px;
}

.btm-launch-label {
  display: block;

  margin-bottom: 7px;

  color: #e95d92;

  font-size: 7.5px;
  line-height: 1;

  font-weight: 800;

  letter-spacing: 0.14em;
}

.btm-launch-content h3 {
  margin: 0;

  color: #fff;

  font-family: 'Fraunces', Georgia, serif;

  font-size: 20px;
  line-height: 1.07;

  font-weight: 400;

  letter-spacing: -0.02em;
}

.btm-launch-content h3 em {
  display: block;

  color: #dcd5da;

  font-style: italic;
  font-weight: 400;
}

.btm-launch-item--hero .btm-launch-content h3 {
  font-size: 30px;
}

.btm-launch-item--hero .btm-launch-content h3 em {
  color: #f184ae;
}

.btm-launch-content p {
  max-width: 260px;

  margin: 9px 0 0;

  color: #c4bcc2;

  font-size: 10.5px;
  line-height: 1.5;
}

.btm-launch-item--hero .btm-launch-content p {
  max-width: 400px;

  color: #b4abb1;

  font-size: 11px;
}

/* =========================================================
   ACTION
   ========================================================= */

.btm-launch-enter {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin-top: auto;
  padding-top: 17px;

  color: #d1c9ce;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.03em;
}

.btm-launch-arrow {
  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.025);

  color: #fff;

  font-size: 12px;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.btm-launch-item:hover .btm-launch-arrow {
  transform: translate(2px, -2px);

  background: var(--btm-pink);

  border-color: var(--btm-pink);
}

/* =========================================================
   TECHNOLOGY DETAIL SCREEN
   ========================================================= */

.btm-technology-screen {
  color: #fff;
}

.btm-tech-view-head {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(280px, 430px);

  align-items: end;

  gap: 50px;

  margin-bottom: 25px;
}

.btm-tech-detail-kicker {
  display: block;

  margin-bottom: 9px;

  color: var(--btm-pink-bright);

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 0.16em;
}

.btm-tech-view-head h2 {
  margin: 0;

  color: #fff;

  font-family: 'Fraunces', Georgia, serif;

  font-size: clamp(34px, 3.6vw, 50px);

  line-height: 1;

  font-weight: 400;

  letter-spacing: -0.035em;
}

.btm-tech-view-head > p {
  margin: 0;

  color: #958d94;

  font-size: 12px;
  line-height: 1.65;
}

/* EXPERIENCE AREA */

.btm-experience {
  position: relative;

  min-height: 520px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.09);

  border-radius: 20px;

  background:
    radial-gradient(
      circle at 80% 0%,
      rgba(238, 102, 154, 0.13),
      transparent 34%
    ),
    linear-gradient(145deg, #443a40, #342e33);

  border-color: rgba(255, 255, 255, 0.12);
}

/* =========================================================
   LOADING STATE
   ========================================================= */

.btm-experience-loading {
  min-height: 520px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #8f878e;

  font-size: 12px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {
  .btm-dialog {
    width: min(900px, 100%);
  }

  .btm-body {
    padding: 32px 30px 34px;
  }

  .btm-launcher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .btm-launch-item--hero {
    grid-column: span 2;
  }

  .btm-tech-view-head {
    grid-template-columns: 1fr;

    gap: 14px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {
  .btm-overlay {
    align-items: flex-end;

    padding: 7px;
  }

  .btm-dialog {
    width: 100%;
    max-height: 96vh;

    border-radius: 23px 23px 10px 10px;
  }

  .btm-header {
    min-height: 62px;

    padding: 0 16px;
  }

  .btm-brand {
    font-size: 13px;
  }

  .btm-back-label {
    display: none;
  }

  .btm-body {
    padding: 26px 17px 24px;
  }

  .btm-launcher-head {
    display: block;

    margin-bottom: 22px;
  }

  .btm-launcher-head h2 {
    font-size: 33px;
  }

  .btm-launcher-meta {
    margin-top: 13px;
  }

  .btm-launcher-grid {
    grid-template-columns: 1fr;

    gap: 10px;
  }

  .btm-launch-item,
  .btm-launch-item--hero {
    grid-column: auto;

    min-height: 225px;

    padding: 18px;
  }

  .btm-launch-symbol {
    width: 44px;
    height: 44px;

    margin-top: 17px;
  }

  .btm-launch-content {
    margin-top: 15px;
  }

  .btm-launch-content h3 {
    font-size: 20px;
  }

  .btm-launch-item--hero .btm-launch-content h3 {
    font-size: 25px;
  }

  .btm-launch-content p {
    margin-top: 7px;
  }

  .btm-tech-view-head h2 {
    font-size: 34px;
  }

  .btm-experience {
    min-height: 450px;
  }
}

/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 380px) {
  .btm-brand-mark {
    display: none;
  }

  .btm-brand {
    font-size: 12px;
  }

  .btm-launcher-head h2 {
    font-size: 29px;
  }
}
