/*
 * mytslb — myTSLB
 *
 * Simplified visual DNA:
 * - Actual site remains faintly visible behind a translucent green wash.
 * - No stripes, no background text, no ticket/perforation treatment.
 * - One clean white horizontal access band across the middle.
 * - Minimal contents: logo, 18+, heading, notice, primary CTA, exit.
 * - Primary focus is the green Continue button.
 */

:root {
  --mts-white: #ffffff;
  --mts-black: #1a1a19;
  --mts-green: #a71394;
  --mts-green-2: #860d76;
  --mts-green-dark: #5a084f;
  --mts-green-light: #d98bd0;
  --mts-orange: #ef0190;
}

html.mts-lock,
body.mts-lock {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.mts_shell {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  color: var(--mts-black);
  font-family: "Poppins", Arial, sans-serif;

  /* Site remains faintly visible through the green overlay. */
  background: rgba(134, 13, 118, 0.90);
  -webkit-backdrop-filter: blur(8px) saturate(0.64) brightness(0.76);
  backdrop-filter: blur(8px) saturate(0.64) brightness(0.76);
}

.mts_shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      120deg,
      rgba(90, 8, 79, 0.30) 0%,
      rgba(167, 19, 148, 0.06) 48%,
      rgba(255, 255, 255, 0.10) 100%
    );
}

.mts_shell:focus {
  outline: none;
}

/* Full-width band — not a modal/card. */
.mts_band {
  position: relative;
  z-index: 1;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 20px 55px rgba(41, 68, 11, 0.22),
    0 -20px 55px rgba(90, 8, 79, 0.14);
}

.mts_inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  width: min(980px, calc(100% - 72px));
  margin: 0 auto;
  padding: 46px 0 44px;
}

/* Simple 18+ marker only — no extra labels. */
.mts_age {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--mts-green);
  color: var(--mts-white);
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  box-shadow:
    0 0 0 10px rgba(167, 19, 148, 0.10),
    0 12px 28px rgba(90, 8, 79, 0.16);
}

.mts_age span {
  margin-left: -2px;
}

.mts_content {
  min-width: 0;
}

.mts_logo {
  display: block;
  width: 158px;
  height: auto;
  margin: 0 0 18px;
}

.mts_title {
  margin: 0;
  color: var(--mts-black);
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: clamp(40px, 4.6vw, 58px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.mts_copy {
  max-width: 720px;
  margin: 18px 0 0;
  color: #4a4a48;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.58;
}

.mts_terms {
  color: var(--mts-green-2);
  font-size: inherit;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 0;
}

.mts_terms:hover,
.mts_terms:focus-visible {
  color: var(--mts-green-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mts_actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.mts_continue,
.mts_exit {
  appearance: none;
  -webkit-appearance: none;
  font-family: "Poppins", Arial, sans-serif;
  cursor: pointer;
}

.mts_continue {
  min-width: 330px;
  min-height: 62px;
  padding: 0 32px;
  border: 2px solid var(--mts-green);
  border-radius: 16px;
  background: var(--mts-green);
  color: var(--mts-white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(134, 13, 118, 0.20);
  transition:
    background-color 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease;
}

.mts_continue:hover {
  background: var(--mts-white);
  color: var(--mts-green-2);
  box-shadow: 0 8px 18px rgba(134, 13, 118, 0.12);
}

.mts_exit {
  padding: 10px 4px;
  border: 0;
  background: transparent;
  color: var(--mts-orange);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mts_exit:hover {
  color: var(--mts-green-2);
  text-decoration: none;
}

.mts_continue:focus-visible,
.mts_exit:focus-visible,
.mts_terms:focus-visible {
  outline: 3px solid rgba(239, 1, 144, 0.80);
  outline-offset: 4px;
}

.mts_shell.is-hidden {
  display: none;
}

/* -------------------------------------------------------------------------
 * Mobile
 * ------------------------------------------------------------------------- */

@media screen and (max-width: 767px) {
  .mts_shell {
    align-items: center;
    background: rgba(134, 13, 118, 0.92);
    -webkit-backdrop-filter: blur(7px) saturate(0.64) brightness(0.76);
    backdrop-filter: blur(7px) saturate(0.64) brightness(0.76);
  }

  .mts_band {
    max-height: calc(100dvh - 20px);
    overflow: hidden;
  }

  .mts_inner {
    grid-template-columns: 1fr;
    gap: 17px;
    width: min(620px, calc(100% - 36px));
    padding: 28px 0 25px;
    text-align: center;
  }

  .mts_age {
    width: 88px;
    height: 88px;
    margin: 0 auto;
    font-size: 38px;
    box-shadow:
      0 0 0 7px rgba(167, 19, 148, 0.10),
      0 8px 20px rgba(90, 8, 79, 0.14);
  }

  .mts_logo {
    width: 132px;
    margin: 0 auto 13px;
  }

  .mts_title {
    font-size: clamp(34px, 10vw, 44px);
  }

  .mts_copy {
    margin-top: 13px;
    font-size: 12.3px;
    line-height: 1.43;
  }

  .mts_actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 19px;
  }

  .mts_continue {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    font-size: 13.5px;
  }

  .mts_exit {
    min-height: 38px;
    font-size: 12.5px;
    text-align: center;
  }
}

@media screen and (max-width: 767px) and (max-height: 690px) {
  .mts_inner {
    gap: 12px;
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .mts_age {
    width: 72px;
    height: 72px;
    font-size: 32px;
  }

  .mts_logo {
    width: 118px;
    margin-bottom: 9px;
  }

  .mts_title {
    font-size: 32px;
  }

  .mts_copy {
    margin-top: 9px;
    font-size: 11.4px;
    line-height: 1.34;
  }

  .mts_actions {
    gap: 10px;
    margin-top: 14px;
  }

  .mts_continue {
    min-height: 52px;
    font-size: 12.5px;
  }

  .mts_exit {
    min-height: 34px;
    font-size: 11.5px;
  }
}

@media screen and (max-width: 767px) and (max-height: 570px) {
  .mts_inner {
    gap: 9px;
    padding-top: 13px;
    padding-bottom: 11px;
  }

  .mts_age {
    width: 60px;
    height: 60px;
    font-size: 27px;
  }

  .mts_logo {
    width: 100px;
    margin-bottom: 6px;
  }

  .mts_title {
    font-size: 27px;
  }

  .mts_copy {
    margin-top: 7px;
    font-size: 10.4px;
    line-height: 1.25;
  }

  .mts_actions {
    margin-top: 10px;
  }

  .mts_continue {
    min-height: 48px;
    font-size: 12px;
  }

  .mts_exit {
    min-height: 30px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mts_continue {
    transition: none;
  }
}
