.tlz {
  --tlz-ink: #07060d;
  --tlz-panel: #100d19;
  --tlz-panel-2: #171124;
  --tlz-sapphire: #101c3b;
  --tlz-gold: #e8c36f;
  --tlz-gold-soft: #a98543;
  --tlz-ivory: #fff8ea;
  --tlz-muted: #c8bfd0;
  --tlz-violet: #8d74d9;
  position: relative;
  isolation: isolate;
  margin: 1.35rem auto 2.2rem;
  overflow: hidden;
  border: 1px solid rgba(232, 195, 111, .3);
  border-radius: 25px;
  color: var(--tlz-ivory);
  background:
    radial-gradient(circle at 12% 8%, rgba(65, 74, 146, .22), transparent 29rem),
    radial-gradient(circle at 91% 76%, rgba(91, 46, 108, .18), transparent 28rem),
    var(--tlz-ink);
  box-shadow: 0 25px 70px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(255, 255, 255, .02);
  font-family: inherit;
}

.tlz::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .35;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 240, 196, .72) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(145, 164, 255, .45) 0 1px, transparent 1.4px);
  background-position: 18px 26px, 73px 96px;
  background-size: 119px 137px, 173px 181px;
}

.tlz [hidden] { display: none !important; }
.tlz *, .tlz *::before, .tlz *::after { box-sizing: border-box; }
.tlz button, .tlz textarea, .tlz input { font: inherit; }
.tlz button { -webkit-tap-highlight-color: transparent; }

.tlz-hero {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-bottom: 1px solid rgba(232, 195, 111, .23);
  background: #090812;
}

.tlz-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tlz-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 4, 11, .98) 0%, rgba(4, 4, 11, .87) 34%, rgba(4, 4, 11, .25) 67%, rgba(4, 4, 11, .04) 100%),
    linear-gradient(0deg, rgba(5, 4, 11, .78), transparent 42%);
}

.tlz-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 440px;
  width: min(56%, 650px);
  padding: clamp(2rem, 5vw, 4.6rem);
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.tlz-kicker {
  display: block;
  margin: 0 0 .7rem;
  color: var(--tlz-gold);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .19em;
  line-height: 1.3;
  text-transform: uppercase;
}

.tlz h2, .tlz h3, .tlz h4, .tlz p { margin-top: 0; }

.tlz-hero h2,
.tlz-heading h2,
.tlz-shuffling h2,
.tlz-result-head h2 {
  margin-bottom: .8rem;
  color: var(--tlz-ivory);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.04;
  text-wrap: balance;
}

.tlz-hero h2 { font-size: clamp(2.25rem, 5.1vw, 4.35rem); }

.tlz-hero-copy > p {
  max-width: 35rem;
  margin-bottom: 1.35rem;
  color: #e5ddeb;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.65;
}

.tlz-hero-steps {
  display: flex;
  flex-wrap: wrap;
  gap: .62rem;
}

.tlz-hero-steps span {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  padding: .48rem .72rem .48rem .5rem;
  border: 1px solid rgba(232, 195, 111, .25);
  border-radius: 999px;
  color: #ded5e8;
  background: rgba(10, 8, 17, .62);
  font-size: .79rem;
}

.tlz-hero-steps b {
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 50%;
  color: #17111c;
  background: var(--tlz-gold);
  font-size: .7rem;
}

.tlz-shell { padding: clamp(1.5rem, 4vw, 3.6rem); }

.tlz-start,
.tlz-choose,
.tlz-result,
.tlz-shuffling {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.tlz-heading,
.tlz-result-head {
  max-width: 760px;
  margin: 0 auto 1.9rem;
  text-align: center;
}

.tlz-heading h2,
.tlz-shuffling h2,
.tlz-result-head h2 { font-size: clamp(2rem, 4vw, 3.25rem); }

.tlz-heading p,
.tlz-result-head p {
  margin-bottom: 0;
  color: var(--tlz-muted);
  line-height: 1.65;
}

.tlz-form {
  padding: clamp(1.15rem, 3.5vw, 2.25rem);
  border: 1px solid rgba(232, 195, 111, .23);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(25, 18, 36, .94), rgba(10, 9, 17, .96));
  box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 18px 45px rgba(0, 0, 0, .22);
}

.tlz-form fieldset { min-width: 0; margin: 0 0 1.45rem; padding: 0; border: 0; }

.tlz-form legend,
.tlz-question-label > span {
  margin-bottom: .75rem;
  color: var(--tlz-gold);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.tlz-form legend { display: block; }

.tlz-topics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .72rem;
}

.tlz-topics label { position: relative; cursor: pointer; }
.tlz-topics input { position: absolute; opacity: 0; pointer-events: none; }

.tlz-topics label > span:last-of-type,
.tlz-topics label > strong,
.tlz-topics label > small { pointer-events: none; }

.tlz-topics label {
  display: grid;
  min-height: 118px;
  padding: 1rem;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(190, 171, 216, .16);
  border-radius: 14px;
  color: #eee6f1;
  background: rgba(7, 6, 12, .72);
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.tlz-topics label:hover { transform: translateY(-2px); border-color: rgba(232, 195, 111, .48); }
.tlz-topics label:has(input:focus-visible) { outline: 2px solid #fff2c9; outline-offset: 3px; }

.tlz-topics label:has(input:checked) {
  border-color: var(--tlz-gold);
  background: linear-gradient(145deg, rgba(64, 48, 72, .9), rgba(21, 18, 39, .96));
  box-shadow: inset 0 0 0 1px rgba(232, 195, 111, .18), 0 8px 26px rgba(0, 0, 0, .26);
}

.tlz-topics label > span { margin-bottom: .38rem; color: var(--tlz-gold); font-size: 1.35rem; }
.tlz-topics strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.02rem; }
.tlz-topics small { margin-top: .24rem; color: #aaa0b3; font-size: .71rem; line-height: 1.35; }

.tlz-question-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.tlz-question-label > span { margin-bottom: .55rem; }
.tlz-question-label small { color: #968d9d; font-size: .76rem; }

.tlz-question {
  display: block;
  width: 100%;
  min-height: 86px;
  resize: vertical;
  padding: .9rem 1rem;
  border: 1px solid rgba(232, 195, 111, .23);
  border-radius: 12px;
  outline: 0;
  color: var(--tlz-ivory);
  caret-color: var(--tlz-gold);
  background: rgba(4, 4, 9, .72);
  line-height: 1.5;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.tlz-question::placeholder { color: #7f7687; }
.tlz-question:focus { border-color: var(--tlz-gold); box-shadow: 0 0 0 3px rgba(232, 195, 111, .1); }

.tlz-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.tlz-privacy { max-width: 31rem; color: #8e8596; font-size: .72rem; line-height: 1.45; }

.tlz-begin,
.tlz-share,
.tlz-again {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.25rem;
  border: 1px solid var(--tlz-gold);
  border-radius: 999px;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .2s ease, filter .2s ease, background .2s ease;
}

.tlz-begin,
.tlz-share { color: #171018; background: linear-gradient(135deg, #f5d889, #c79743); box-shadow: 0 9px 24px rgba(186, 133, 52, .2); }
.tlz-again { color: var(--tlz-ivory); background: transparent; }
.tlz-begin:hover, .tlz-share:hover, .tlz-again:hover { transform: translateY(-2px); filter: brightness(1.08); }
.tlz-begin:focus-visible, .tlz-share:focus-visible, .tlz-again:focus-visible { outline: 2px solid #fff3cb; outline-offset: 3px; }

.tlz-shuffling {
  display: grid;
  min-height: 390px;
  place-items: center;
  align-content: center;
  text-align: center;
}

.tlz-orbit {
  position: relative;
  width: 130px;
  height: 130px;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(232, 195, 111, .25);
  border-radius: 50%;
  box-shadow: 0 0 55px rgba(113, 100, 205, .16), inset 0 0 30px rgba(232, 195, 111, .07);
  animation: tlz-turn 4.5s linear infinite;
}

.tlz-orbit::before,
.tlz-orbit::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(142, 119, 216, .4);
  border-radius: 50%;
}

.tlz-orbit::after { inset: 41px; border-color: var(--tlz-gold); box-shadow: 0 0 23px rgba(232, 195, 111, .25); }

.tlz-orbit span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  margin: -4px;
  border-radius: 50%;
  background: var(--tlz-gold);
  box-shadow: 0 0 16px var(--tlz-gold);
}

.tlz-orbit span:nth-child(1) { transform: translate(62px); }
.tlz-orbit span:nth-child(2) { transform: rotate(120deg) translate(43px); }
.tlz-orbit span:nth-child(3) { transform: rotate(245deg) translate(61px); }
.tlz-shuffling p { color: var(--tlz-muted); }

@keyframes tlz-turn { to { transform: rotate(360deg); } }

.tlz-position-track {
  display: grid;
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.tlz-position-track li {
  position: relative;
  display: grid;
  min-width: 0;
  padding: .75rem .45rem;
  place-items: center;
  color: #8e8598;
  text-align: center;
}

.tlz-position-track li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.08rem;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 1px;
  background: rgba(232, 195, 111, .2);
}

.tlz-position-track li > span {
  display: grid;
  z-index: 1;
  width: 28px;
  height: 28px;
  margin-bottom: .5rem;
  place-items: center;
  border: 1px solid rgba(232, 195, 111, .25);
  border-radius: 50%;
  background: #0a0810;
  font-size: .66rem;
}

.tlz-position-track small { font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tlz-position-track strong { max-width: 12rem; margin-top: .2rem; font-family: Georgia, 'Times New Roman', serif; font-size: .92rem; }

.tlz-position-track li.is-current,
.tlz-position-track li.is-complete { color: var(--tlz-ivory); }
.tlz-position-track li.is-current > span { border-color: var(--tlz-gold); color: var(--tlz-gold); box-shadow: 0 0 20px rgba(232, 195, 111, .18); }
.tlz-position-track li.is-complete > span { color: #171018; background: var(--tlz-gold); border-color: var(--tlz-gold); }

.tlz-deck {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: clamp(.35rem, 1vw, .75rem);
  perspective: 1500px;
}

.tlz-card-choice {
  min-width: 0;
  padding: 0;
  aspect-ratio: 600 / 1016;
  border: 0;
  border-radius: 9px;
  outline: 0;
  cursor: pointer;
  background: transparent;
  transition: transform .22s ease, opacity .35s ease, filter .35s ease;
}

.tlz-card-choice:hover:not(.is-selected) { transform: translateY(-8px); }
.tlz-card-choice:focus-visible { outline: 2px solid #fff2c8; outline-offset: 4px; }
.tlz-card-choice.is-dimmed { opacity: .2; filter: saturate(.2); pointer-events: none; }

.tlz-card-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .68s cubic-bezier(.2, .7, .2, 1);
}

.tlz-card-choice.is-selected .tlz-card-inner { transform: rotateY(180deg); }

.tlz-card-back,
.tlz-card-front {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(232, 195, 111, .54);
  border-radius: 9px;
  backface-visibility: hidden;
  background: #0b0713;
  box-shadow: 0 10px 23px rgba(0, 0, 0, .36);
}

.tlz-card-front { transform: rotateY(180deg); border-color: #f1d58e; }
.tlz-card-back img,
.tlz-card-front img { display: block; width: 100%; height: 100%; object-fit: contain; background: #08060d; }

.tlz-card-front small,
.tlz-card-front strong {
  position: absolute;
  left: 7%;
  right: 7%;
  color: var(--tlz-ivory);
  text-shadow: 0 2px 5px #000, 0 0 10px #000;
}

.tlz-card-front small { top: 4%; font-size: clamp(.45rem, .7vw, .65rem); font-weight: 800; }
.tlz-card-front strong { bottom: 4%; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(.5rem, .76vw, .72rem); line-height: 1.15; }

.tlz-result-head { margin-bottom: 1.35rem; }
.tlz-result-focus { overflow-wrap: anywhere; font-style: italic; }

.tlz-conclusion {
  max-width: 900px;
  margin: 0 auto 1.3rem;
  padding: 1.15rem clamp(1rem, 3vw, 1.7rem);
  border: 1px solid rgba(232, 195, 111, .34);
  border-radius: 15px;
  background: linear-gradient(105deg, rgba(84, 53, 45, .3), rgba(32, 24, 54, .72));
  text-align: center;
}

.tlz-conclusion small,
.tlz-next-step small {
  display: block;
  margin-bottom: .38rem;
  color: var(--tlz-gold);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.tlz-conclusion p { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.06rem, 2vw, 1.35rem); line-height: 1.5; }

.tlz-reading { display: grid; gap: .85rem; }

.tlz-reading-card {
  display: grid;
  min-width: 0;
  padding: clamp(.8rem, 2vw, 1.2rem);
  grid-template-columns: 148px minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 1.7rem);
  align-items: center;
  border: 1px solid rgba(184, 166, 211, .16);
  border-radius: 17px;
  background: linear-gradient(120deg, rgba(21, 16, 31, .96), rgba(8, 7, 13, .94));
  animation: tlz-rise .55s both;
  animation-delay: var(--delay);
}

.tlz-reading-card:nth-child(2) { border-color: rgba(141, 116, 217, .32); }
.tlz-reading-card:nth-child(3) { border-color: rgba(232, 195, 111, .34); }

@keyframes tlz-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.tlz-reading-image {
  overflow: hidden;
  aspect-ratio: 600 / 1016;
  border: 1px solid rgba(232, 195, 111, .5);
  border-radius: 10px;
  background: #08060d;
  box-shadow: 0 12px 25px rgba(0, 0, 0, .35);
}

.tlz-reading-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tlz-reading-copy { min-width: 0; }
.tlz-position-name { color: var(--tlz-gold); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.tlz-reading-copy h3 {
  display: flex;
  gap: .55rem;
  margin: .35rem 0 .2rem;
  align-items: baseline;
  color: var(--tlz-ivory);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.45rem, 2.7vw, 2.1rem);
  font-weight: 500;
}

.tlz-reading-copy h3 span { color: var(--tlz-gold); font-family: inherit; font-size: .78rem; letter-spacing: .08em; }
.tlz-reading-copy > strong { display: block; margin-bottom: .62rem; color: #bca7e8; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.tlz-reading-copy p { margin-bottom: .62rem; color: #ded7e3; line-height: 1.6; }

.tlz-topic-note {
  margin-bottom: 0 !important;
  padding-top: .58rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: #c9c0ce !important;
  font-size: .92rem;
}

.tlz-topic-note b { color: var(--tlz-gold); }

.tlz-next-step {
  display: flex;
  max-width: 900px;
  margin: 1.3rem auto 0;
  padding: 1.15rem 1.3rem;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid rgba(232, 195, 111, .35);
  border-radius: 14px;
  background: rgba(34, 25, 33, .76);
}

.tlz-next-step > span {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #171018;
  background: var(--tlz-gold);
}

.tlz-next-step p { margin: 0; color: var(--tlz-ivory); line-height: 1.55; }

.tlz-actions {
  display: flex;
  margin-top: 1.35rem;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tlz-share-status { min-height: 1.35rem; margin: .7rem 0 0; color: var(--tlz-gold); font-size: .82rem; text-align: center; }
.tlz-disclaimer { max-width: 740px; margin: .4rem auto 0; color: #817988; font-size: .7rem; line-height: 1.45; text-align: center; }

@media (max-width: 850px) {
  .tlz-hero { min-height: 480px; }
  .tlz-hero-copy { width: 70%; min-height: 480px; padding: 2.2rem; }
  .tlz-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tlz-deck { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 620px; margin: 0 auto; }
  .tlz-deck .tlz-card-choice:nth-child(n + 6) { transform: translateX(52%); }
  .tlz-deck .tlz-card-choice:nth-child(n + 6):hover:not(.is-selected) { transform: translate(52%, -7px); }
  .tlz-deck .tlz-card-choice:nth-child(n + 6).is-dimmed { transform: translateX(52%); }
}

@media (max-width: 620px) {
  .tlz { margin: 1rem -5px 1.7rem; border-radius: 18px; }
  .tlz-hero { min-height: 530px; }
  .tlz-hero > img { object-position: 64% center; }
  .tlz-hero-shade {
    background:
      linear-gradient(0deg, rgba(4, 4, 11, .98) 0%, rgba(4, 4, 11, .9) 38%, rgba(4, 4, 11, .32) 74%, rgba(4, 4, 11, .05) 100%),
      linear-gradient(90deg, rgba(4, 4, 11, .55), transparent);
  }
  .tlz-hero-copy { width: 100%; min-height: 530px; padding: 12rem 1.15rem 1.45rem; justify-content: flex-end; }
  .tlz-hero h2 { font-size: clamp(2.2rem, 12vw, 3.3rem); }
  .tlz-hero-copy > p { margin-bottom: 1rem; line-height: 1.5; }
  .tlz-hero-steps { gap: .4rem; }
  .tlz-hero-steps span { padding: .38rem .58rem .38rem .4rem; font-size: .7rem; }
  .tlz-shell { padding: 1.25rem .75rem 1.55rem; }
  .tlz-heading { margin-bottom: 1.3rem; }
  .tlz-heading h2, .tlz-shuffling h2, .tlz-result-head h2 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .tlz-form { padding: 1rem .8rem; border-radius: 15px; }
  .tlz-topics { gap: .5rem; }
  .tlz-topics label { min-height: 105px; padding: .72rem .45rem; }
  .tlz-form-foot { align-items: stretch; flex-direction: column; }
  .tlz-privacy { order: 2; text-align: center; }
  .tlz-begin { width: 100%; }
  .tlz-position-track { margin-bottom: 1.25rem; }
  .tlz-position-track strong { font-size: .73rem; line-height: 1.25; }
  .tlz-position-track small { font-size: .51rem; }
  .tlz-position-track li { padding-inline: .2rem; }
  .tlz-deck { gap: .32rem; }
  .tlz-card-choice, .tlz-card-back, .tlz-card-front { border-radius: 6px; }
  .tlz-card-front strong { display: none; }
  .tlz-reading-card { grid-template-columns: 98px minmax(0, 1fr); gap: .85rem; padding: .75rem; align-items: start; }
  .tlz-reading-copy h3 { display: block; margin-top: .28rem; font-size: 1.35rem; }
  .tlz-reading-copy h3 span { display: block; margin-bottom: .12rem; }
  .tlz-reading-copy > strong { font-size: .68rem; }
  .tlz-reading-copy p { font-size: .88rem; line-height: 1.5; }
  .tlz-position-name { font-size: .54rem; letter-spacing: .08em; line-height: 1.3; }
  .tlz-conclusion { padding: 1rem .8rem; }
  .tlz-next-step { padding: 1rem .85rem; gap: .7rem; }
  .tlz-next-step > span { flex-basis: 32px; width: 32px; height: 32px; }
  .tlz-share, .tlz-again { flex: 1 1 100%; }
}

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