/**
 * TumiTrust auth shell — shared by login, register, claim PTI-ID, password reset, 2FA.
 * Beats base.html Ubuntu brown form/button globals with intentional light panel fields.
 */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Sora:wght@500;600;700;800&display=swap");

.tt-auth-body {
  overflow-x: hidden;
  background: #0b1220;
}

/* Pin brand rail + scroll form panel (login, claim, register, reset, 2FA). */
.tt-auth-body:has(.tt-auth__brand) {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}

.tt-auth-body > main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0 !important;
  margin: 0 !important;
}

.tt-auth-body:has(.tt-auth__brand) > main {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.tt-auth-body > main > .tt-auth {
  flex: 1;
}

.tt-auth-body:has(.tt-auth__brand) > main > .tt-auth {
  flex: 1 1 auto;
  min-height: 0;
}

.tt-auth {
  --tt-ink: #0b1220;
  --tt-panel: #f4f6fa;
  --tt-panel-ink: #0f172a;
  --tt-muted: #475569;
  --tt-line: rgba(15, 23, 42, 0.14);
  --tt-amber: #f79500;
  --tt-amber-deep: #e95420;
  --tt-amber-soft: #ffb347;
  --tt-display: "Sora", system-ui, sans-serif;
  --tt-ui: "Manrope", system-ui, sans-serif;

  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 100dvh;
  width: 100%;
  font-family: var(--tt-ui);
  color: var(--tt-panel-ink);
  background: var(--tt-ink);
}

/* Desktop: left brand stays put; only the right panel scrolls. */
.tt-auth:has(> .tt-auth__brand) {
  height: 100dvh;
  max-height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
}

.tt-auth:has(> .tt-auth__brand) > .tt-auth__brand {
  position: relative;
  align-self: stretch;
  height: 100%;
  max-height: 100dvh;
  min-height: 0;
  overflow: hidden;
  justify-content: flex-start;
}

.tt-auth--login > .tt-auth__brand,
.tt-auth--claim > .tt-auth__brand {
  padding-top: clamp(2rem, 4.5vw, 3.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.tt-auth:has(> .tt-auth__brand) > .tt-auth__panel {
  align-items: flex-start;
  align-self: stretch;
  height: 100%;
  max-height: 100dvh;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.tt-auth:has(> .tt-auth__brand) > .tt-auth__panel > .tt-auth__panel-inner {
  margin-top: auto;
  margin-bottom: auto;
  padding-bottom: 2rem;
}

.tt-auth--wide {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
}

.tt-auth--centered {
  grid-template-columns: 1fr;
}

.tt-auth--centered .tt-auth__brand {
  display: none;
}

.tt-auth--centered .tt-auth__panel {
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(247, 149, 0, 0.14), transparent 55%),
    var(--tt-panel);
}

.tt-auth--centered .tt-auth__mobile-brand {
  display: inline-flex;
}

.tt-auth--centered .tt-auth__panel-inner {
  max-width: 26rem;
}

.tt-auth--wide .tt-auth__panel-inner {
  max-width: min(42rem, 100%);
}

.tt-auth--register {
  /* Slim brand rail — most width for the multi-step form content */
  grid-template-columns: minmax(200px, 0.32fr) minmax(0, 1.68fr);
}

.tt-auth--register .tt-auth__brand {
  padding: clamp(1.35rem, 2.8vw, 2.35rem);
  justify-content: flex-start;
}

.tt-auth--register .tt-auth__logo {
  width: clamp(3.1rem, 4.5vw, 4.1rem);
  height: clamp(3.1rem, 4.5vw, 4.1rem);
}

.tt-auth--register .tt-auth__wordmark {
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
}

.tt-auth--register .tt-auth__tagline {
  margin-top: 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.tt-auth--register .tt-auth__pitch {
  margin-top: 0.7rem;
  max-width: 16rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.tt-auth--register .tt-auth__signals {
  margin-top: 1.35rem;
  gap: 0.55rem;
}

.tt-auth--register .tt-auth__signals li {
  font-size: 0.8rem;
}

.tt-auth--register .tt-auth__step-nav {
  position: relative;
  z-index: 2;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.tt-auth--register .tt-auth__step-back {
  display: none;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.55rem 0.85rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(247, 149, 0, 0.35);
  background: rgba(247, 149, 0, 0.12);
  color: #ffb347;
  font-family: var(--tt-ui);
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tt-auth--register .tt-auth__step-back.is-visible {
  display: inline-flex;
}

.tt-auth--register .tt-auth__step-back:hover {
  background: rgba(247, 149, 0, 0.2);
  border-color: rgba(247, 149, 0, 0.55);
  transform: translateX(-2px);
}

.tt-auth--register .tt-auth__step-hint {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(148, 163, 184, 0.9);
  max-width: 15rem;
}

.tt-auth--register .tt-auth__back {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.8rem;
}

.tt-auth--register .tt-auth__panel {
  background:
    radial-gradient(ellipse 70% 40% at 50% -8%, rgba(247, 149, 0, 0.1), transparent 55%),
    linear-gradient(180deg, #fff9f4 0%, #fffefb 48%, #faf3ec 100%);
}

.tt-auth--register .tt-auth__panel-inner {
  max-width: min(64rem, 100%);
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 2.5rem;
  animation: tt-auth-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tt-auth--register .tt-reg-flow--light {
  min-height: 0;
  background: transparent !important;
}

.tt-auth--register .tt-auth__panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.85rem;
}

.tt-auth--register .tt-auth__panel-head .tt-auth__mobile-brand {
  display: none;
}

.tt-auth--register .tt-reg-topbar__signin {
  margin-left: auto;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
}

.tt-auth--register .tt-reg-topbar__signin-short {
  display: none;
}

/* Mobile/tablet: Previous lives in the panel (brand rail is hidden ≤960px) */
.tt-auth--register .tt-auth__panel-step-back {
  display: none;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.95rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(194, 65, 12, 0.28);
  background: rgba(255, 247, 237, 0.95);
  color: #c2410c;
  font-family: var(--tt-ui);
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
  order: 3;
  flex: 1 1 100%;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.tt-auth--register .tt-auth__panel-step-back.is-visible {
  display: inline-flex;
}

.tt-auth--register .tt-auth__panel-step-back:hover {
  background: #fff7ed;
  border-color: rgba(233, 84, 32, 0.45);
  transform: translateX(-1px);
}

.tt-auth--register .tt-auth__panel-step-back.unstyled::before {
  content: none !important;
  display: none !important;
}

/* Desktop: brand rail owns Previous — hide the panel duplicate */
@media (min-width: 961px) {
  .tt-auth--register .tt-auth__panel-step-back,
  .tt-auth--register .tt-auth__panel-step-back.is-visible {
    display: none !important;
  }
}

/* Clickable journey steps (go back) */
.tt-auth--register .tt-reg-step[data-goto],
.tt-auth--register .tt-reg-step.is-clickable {
  cursor: pointer;
}

.tt-auth--register .tt-reg-step[data-goto]:hover,
.tt-auth--register .tt-reg-step.is-clickable:hover {
  border-color: rgba(233, 84, 32, 0.4) !important;
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .tt-auth-body:has(.tt-auth__brand) {
    height: auto;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
  }

  .tt-auth:has(> .tt-auth__brand) {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    min-height: 100dvh;
    overflow: visible;
  }

  .tt-auth:has(> .tt-auth__brand) > .tt-auth__brand {
    display: none;
  }

  .tt-auth:has(> .tt-auth__brand) > .tt-auth__panel {
    height: auto;
    max-height: none;
    overflow: visible;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  }

  .tt-auth--register {
    grid-template-columns: 1fr;
  }

  .tt-auth--register .tt-auth__panel-head .tt-auth__mobile-brand {
    display: inline-flex;
  }

  .tt-auth--register .tt-reg-topbar__signin-full {
    display: none;
  }

  .tt-auth--register .tt-reg-topbar__signin-short {
    display: inline;
  }
}

/* Icon-prefixed search must beat the generic .tt-auth input padding */
.tt-auth .tt-reg-search__input,
.tt-auth input.tt-reg-search__input[type="search"] {
  padding: 0.8rem 1rem 0.8rem 2.85rem !important;
  background: #fffefb !important;
  border: 1.5px solid rgba(107, 76, 58, 0.18) !important;
  border-radius: 0.9rem !important;
  color: #2a221c !important;
  -webkit-text-fill-color: #2a221c;
  font-size: 0.95rem !important;
}

.tt-auth .tt-reg-search__input:focus {
  border-color: #f79500 !important;
  box-shadow: 0 0 0 3px rgba(247, 149, 0, 0.18) !important;
}

/* Brand stage */
.tt-auth__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  color: #f8fafc;
  isolation: isolate;
}

.tt-auth__aurora {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 18% 30%, rgba(247, 149, 0, 0.38), transparent 60%),
    radial-gradient(ellipse 50% 40% at 78% 70%, rgba(233, 84, 32, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 35% at 55% 15%, rgba(255, 179, 71, 0.18), transparent 50%),
    linear-gradient(155deg, #0b1220 0%, #151d30 48%, #1a1420 100%);
  animation: tt-auth-aurora 18s ease-in-out infinite alternate;
}

.tt-auth__mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(247, 149, 0, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 149, 0, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 40% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 40% 45%, #000 20%, transparent 75%);
}

.tt-auth__orb {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.tt-auth__orb--a {
  width: min(42vw, 380px);
  height: min(42vw, 380px);
  top: 12%;
  right: -8%;
  background: rgba(247, 149, 0, 0.22);
  animation: tt-auth-breathe 9s ease-in-out infinite;
}

.tt-auth__orb--b {
  width: min(36vw, 280px);
  height: min(36vw, 280px);
  bottom: 8%;
  left: -6%;
  background: rgba(233, 84, 32, 0.18);
  animation: tt-auth-breathe 11s ease-in-out infinite reverse;
}

.tt-auth__brand-link,
.tt-auth__tagline,
.tt-auth__pitch,
.tt-auth__signals,
.tt-auth__step-nav,
.tt-auth__back {
  position: relative;
  z-index: 2;
}

.tt-auth--register .tt-auth__step-back.unstyled {
  /* Beat base.html button::before overlay so rail back always receives clicks */
  overflow: visible;
}

.tt-auth--register .tt-auth__step-back.unstyled::before {
  content: none !important;
  display: none !important;
}

.tt-auth__brand-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  max-width: 22rem;
  animation: tt-auth-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tt-auth__logo {
  width: clamp(4.5rem, 9vw, 6rem);
  height: clamp(4.5rem, 9vw, 6rem);
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(247, 149, 0, 0.35));
  animation: tt-auth-float 6s ease-in-out infinite;
}

.tt-auth__wordmark {
  font-family: var(--tt-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 3.75rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
}

.tt-auth__wordmark span {
  background: linear-gradient(105deg, var(--tt-amber-soft) 0%, var(--tt-amber) 45%, var(--tt-amber-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tt-auth__tagline {
  margin: 1.25rem 0 0;
  font-family: var(--tt-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 179, 71, 0.85);
  animation: tt-auth-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.tt-auth__pitch {
  margin: 1rem 0 0;
  max-width: 22rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.82);
  animation: tt-auth-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.tt-auth__signals {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: tt-auth-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.tt-auth__signals li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(203, 213, 225, 0.9);
}

.tt-auth__signal-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--tt-amber);
  box-shadow: 0 0 0 4px rgba(247, 149, 0, 0.2);
  flex-shrink: 0;
}

.tt-auth__back {
  margin-top: auto;
  padding-top: 3rem;
  font-size: 0.875rem;
  color: rgba(148, 163, 184, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
  animation: tt-auth-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both;
}

.tt-auth__back:hover {
  color: var(--tt-amber-soft);
}

/* Form stage */
.tt-auth__panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tt-panel);
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: auto;
}

.tt-auth__panel-inner {
  width: 100%;
  max-width: 24rem;
  animation: tt-auth-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.tt-auth__mobile-brand {
  display: none;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  text-decoration: none;
  color: var(--tt-panel-ink);
  font-family: var(--tt-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.tt-auth__mobile-brand img,
.tt-auth__mobile-brand svg {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.tt-auth__title {
  font-family: var(--tt-display);
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--tt-panel-ink);
  margin: 0;
  line-height: 1.15;
}

.tt-auth__subtitle {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  color: var(--tt-muted);
  line-height: 1.45;
}

.tt-auth__alerts {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tt-auth__alert {
  padding: 0.75rem 0.9rem;
  border-radius: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.4;
  border: 1px solid transparent;
}

.tt-auth__alert--error {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.25);
  color: #b91c1c;
}

.tt-auth__alert--success {
  background: rgba(5, 150, 105, 0.08);
  border-color: rgba(5, 150, 105, 0.25);
  color: #047857;
}

.tt-auth__alert--info,
.tt-auth__alert--warning {
  background: rgba(247, 149, 0, 0.12);
  border-color: rgba(247, 149, 0, 0.32);
  color: #92400e;
}

.tt-auth__form {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

/* Login — Portable ID unlock (TumiTrust-native, no vendor tropes) */
.tt-auth--login .tt-auth__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tt-amber-deep);
}

.tt-auth--login[data-login-mode='pti'] .tt-auth__panel {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(247, 149, 0, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(233, 84, 32, 0.08), transparent 50%),
    var(--tt-panel);
}

.tt-auth__method {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tt-auth__method-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid var(--tt-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.tt-auth__method-glider {
  position: absolute;
  top: 0.28rem;
  left: 0;
  height: calc(100% - 0.56rem);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #fff9f4 100%);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.08),
    0 8px 20px -12px rgba(233, 84, 32, 0.45),
    0 0 0 1px rgba(247, 149, 0, 0.22);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), width 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
  pointer-events: none;
}

.tt-auth__method-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.65rem;
  padding: 0.45rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--tt-muted);
  font-family: var(--tt-ui);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.22s ease;
}

.tt-auth__method-btn:hover {
  color: var(--tt-panel-ink);
}

.tt-auth__method-btn.is-active {
  color: var(--tt-panel-ink);
}

.tt-auth__method-icon {
  display: inline-flex;
  opacity: 0.75;
}

.tt-auth__method-btn.is-active .tt-auth__method-icon {
  opacity: 1;
  color: var(--tt-amber-deep);
}

.tt-auth__field-hint {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--tt-muted);
}

.tt-auth__pti-stage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(233, 84, 32, 0.22);
  background:
    radial-gradient(circle at 0% 0%, rgba(247, 149, 0, 0.16), transparent 45%),
    linear-gradient(135deg, #fffaf3 0%, #fff7ed 48%, #ffedd5 100%);
  box-shadow: 0 14px 36px -28px rgba(233, 84, 32, 0.55);
  animation: tt-auth-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tt-auth__pti-stage[hidden] {
  display: none !important;
}

.tt-auth__pti-orbit {
  position: relative;
  width: 3.35rem;
  height: 3.35rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tt-auth__pti-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(233, 84, 32, 0.35);
  animation: tt-auth-pti-pulse 2.4s ease-out infinite;
}

.tt-auth__pti-ring--delay {
  animation-delay: 0.7s;
  border-color: rgba(247, 149, 0, 0.28);
}

.tt-auth__pti-core {
  position: relative;
  z-index: 1;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--tt-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fffaf5;
  background: linear-gradient(145deg, #e95420, #f79500 70%, #ffb347);
  box-shadow: 0 10px 22px -12px rgba(233, 84, 32, 0.9);
}

.tt-auth__pti-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tt-amber-deep);
}

.tt-auth__pti-lead {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(42, 34, 28, 0.78);
}

.tt-auth__pti-key {
  display: flex;
  align-items: stretch;
  min-height: 3.15rem;
  border-radius: 0.9rem;
  border: 1.5px solid rgba(233, 84, 32, 0.28);
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 0 0 0 rgba(247, 149, 0, 0);
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
}

.tt-auth__pti-key[hidden] {
  display: none !important;
}

.tt-auth__pti-key:focus-within {
  border-color: var(--tt-amber) !important;
  box-shadow: 0 0 0 3px rgba(247, 149, 0, 0.18);
}

.tt-auth__pti-key.is-valid {
  border-color: rgba(5, 150, 105, 0.45);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.tt-auth__pti-key.is-complete {
  border-color: rgba(5, 150, 105, 0.55);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
  background:
    linear-gradient(180deg, rgba(236, 253, 245, 0.65), #ffffff 55%);
}

.tt-auth__pti-key.is-complete .tt-auth__pti-prefix {
  background: linear-gradient(160deg, #059669, #10b981);
}

.tt-auth__pti-key.is-invalid {
  border-color: rgba(220, 38, 38, 0.45);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.16);
}

.tt-auth__pti-key.is-partial:focus-within {
  border-color: rgba(217, 119, 6, 0.55);
}

.tt-auth__pti-key--shake {
  animation: tt-auth-pti-shake 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.tt-auth__pti-key--pulse {
  animation: tt-auth-pti-ok-pulse 0.7s ease both;
}

@keyframes tt-auth-pti-shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-3px); }
  40%, 60% { transform: translateX(3px); }
}

@keyframes tt-auth-pti-ok-pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.35); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18); }
}

@media (prefers-reduced-motion: reduce) {
  .tt-auth__pti-key--shake,
  .tt-auth__pti-key--pulse {
    animation: none !important;
  }
}

.tt-auth__pti-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  font-family: ui-monospace, "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fffaf5;
  background: linear-gradient(160deg, #e95420, #f79500);
  user-select: none;
}

.tt-auth .tt-auth__pti-body,
.tt-auth input.tt-auth__pti-body {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  min-height: 3.15rem !important;
  width: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0.75rem 0.65rem !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: ui-monospace, "JetBrains Mono", "Fira Code", monospace !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  color: #1c1814 !important;
  -webkit-text-fill-color: #1c1814;
}

.tt-auth .tt-auth__pti-body:focus,
.tt-auth input.tt-auth__pti-body:focus {
  box-shadow: none !important;
  border: 0 !important;
}

.tt-auth__pti-status {
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--tt-muted);
}

.tt-auth__pti-status.is-ok {
  color: #047857;
}

.tt-auth__pti-status.is-ok::before {
  content: "✓";
  margin-right: 0.3rem;
  font-weight: 800;
}

.tt-auth__pti-status.is-warn {
  color: #b45309;
}

.tt-auth__pti-status.is-err {
  color: #b91c1c;
}

.tt-auth__pti-status.is-err::before {
  content: "!";
  margin-right: 0.3rem;
  font-weight: 800;
}

.tt-auth__register-sep {
  margin: 0 0.35rem;
  color: var(--tt-muted);
}

.tt-auth--login[data-login-mode='pti'] .tt-auth__submit,
.tt-auth--login[data-login-mode='pti'] button.tt-auth__submit {
  background: linear-gradient(135deg, #e95420 0%, #f79500 55%, #ffb347 100%) !important;
  box-shadow: 0 14px 32px -16px rgba(233, 84, 32, 0.85) !important;
}

@keyframes tt-auth-pti-pulse {
  0% {
    transform: scale(0.86);
    opacity: 0.85;
  }
  70% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tt-auth__method-glider,
  .tt-auth__pti-ring {
    animation: none !important;
    transition: none !important;
  }
}

.tt-auth__field label,
.tt-auth__label-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tt-panel-ink);
  margin-bottom: 0.4rem;
}

.tt-auth__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.tt-auth__text-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tt-amber-deep);
  text-decoration: none;
}

.tt-auth__text-link:hover {
  text-decoration: underline;
}

/* Beat base.html brown input globals */
.tt-auth input[type="text"],
.tt-auth input[type="password"],
.tt-auth input[type="email"],
.tt-auth input[type="tel"],
.tt-auth input[type="number"],
.tt-auth input[type="search"],
.tt-auth textarea,
.tt-auth select {
  width: 100% !important;
  min-height: 3rem !important;
  height: auto !important;
  padding: 0.75rem 0.95rem !important;
  border: 1.5px solid var(--tt-line) !important;
  border-radius: 0.75rem !important;
  background: #ffffff !important;
  color: #0f172a !important;
  caret-color: #0f172a !important;
  font-family: var(--tt-ui) !important;
  font-size: 1rem !important;
  line-height: 1.4 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  -webkit-text-fill-color: #0f172a;
}

.tt-auth input::placeholder,
.tt-auth textarea::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #64748b;
}

.tt-auth input:hover,
.tt-auth textarea:hover,
.tt-auth select:hover {
  border-color: rgba(247, 149, 0, 0.4) !important;
}

.tt-auth input:focus,
.tt-auth textarea:focus,
.tt-auth select:focus {
  border-color: var(--tt-amber) !important;
  box-shadow: 0 0 0 3px rgba(247, 149, 0, 0.18) !important;
  background: #ffffff !important;
}

.tt-auth__control {
  position: relative;
  display: block;
  width: 100%;
}

.tt-auth__control--password input {
  padding-right: 3rem !important;
}

/* Beat base button:not(.unstyled) { position: relative } which broke absolute eye */
.tt-auth button.tt-auth__eye.unstyled,
.tt-auth .tt-auth__eye {
  position: absolute !important;
  top: 50% !important;
  right: 0.4rem !important;
  left: auto !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: 2.35rem !important;
  height: 2.35rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0.5rem !important;
  background: transparent !important;
  color: #64748b !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  overflow: visible !important;
  box-shadow: none !important;
  float: none !important;
  z-index: 2;
}

.tt-auth button.tt-auth__eye.unstyled::before,
.tt-auth .tt-auth__eye::before {
  content: none !important;
  display: none !important;
}

.tt-auth .tt-auth__eye:hover {
  color: var(--tt-amber-deep) !important;
  background: rgba(15, 23, 42, 0.04) !important;
}

.tt-auth__remember {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  font-size: 0.875rem;
  color: var(--tt-muted);
  cursor: pointer;
  user-select: none;
}

.tt-auth__remember input {
  width: 1.25rem !important;
  height: 1.25rem !important;
  min-height: 1.25rem !important;
  min-width: 1.25rem !important;
  padding: 0 !important;
  accent-color: var(--tt-amber);
  cursor: pointer;
  background: #fff !important;
  border: 1.5px solid var(--tt-line) !important;
  -webkit-text-fill-color: initial;
}

.tt-auth__submit,
.tt-auth button.tt-auth__submit {
  margin-top: 0.35rem;
  min-height: 3.15rem !important;
  height: auto !important;
  width: 100%;
  border: 0 !important;
  border-radius: 0.85rem !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--tt-display) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  color: #fff !important;
  background: linear-gradient(110deg, var(--tt-amber) 0%, var(--tt-amber-deep) 100%) !important;
  box-shadow: 0 10px 28px rgba(233, 84, 32, 0.28) !important;
  padding: 0.85rem 1.25rem !important;
  overflow: hidden;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.tt-auth__submit::before {
  display: none !important;
}

.tt-auth__submit:hover:not(:disabled) {
  filter: brightness(1.06);
  box-shadow: 0 14px 32px rgba(233, 84, 32, 0.36) !important;
}

.tt-auth__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.tt-auth__submit i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.tt-auth__submit:hover:not(:disabled) i {
  transform: translateX(3px);
}

.tt-auth__secondary,
.tt-auth a.tt-auth__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  border: 1.5px solid var(--tt-line);
  background: #fff;
  color: var(--tt-panel-ink);
  font-family: var(--tt-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.tt-auth__secondary:hover {
  border-color: rgba(247, 149, 0, 0.45);
  background: #fffaf5;
}

.tt-auth__register,
.tt-auth__foot-note {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--tt-muted);
}

.tt-auth__register a,
.tt-auth__foot-note a {
  color: var(--tt-amber-deep);
  font-weight: 700;
  text-decoration: none;
}

.tt-auth__register a:hover,
.tt-auth__foot-note a:hover {
  text-decoration: underline;
}

.tt-auth__foot {
  margin-top: 2rem;
}

.tt-auth__foot .text-center {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.tt-auth__foot .text-gray-400,
.tt-auth__foot .text-gray-500 {
  color: var(--tt-muted) !important;
}

.tt-auth__note {
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.75rem;
  background: rgba(247, 149, 0, 0.08);
  border: 1px solid rgba(247, 149, 0, 0.22);
  color: #78350f;
  font-size: 0.85rem;
  line-height: 1.45;
}

.tt-auth__loading {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(244, 246, 250, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--tt-display);
  font-weight: 600;
  color: var(--tt-panel-ink);
}

.tt-auth__loading.hidden {
  display: none;
}

.tt-auth__loading-ring {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 3px solid rgba(247, 149, 0, 0.2);
  border-top-color: var(--tt-amber);
  animation: tt-auth-spin 0.7s linear infinite;
}

.tt-auth__code-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.tt-auth__code-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.55rem 0.4rem;
  border-radius: 0.55rem;
  background: #0f172a;
  color: #fbbf24;
  border: 1px solid rgba(15, 23, 42, 0.85);
}

.tt-auth__qr-wrap {
  display: flex;
  justify-content: center;
  padding: 1rem;
  border-radius: 0.85rem;
  background: #fff;
  border: 1px solid var(--tt-line);
}

.tt-auth__qr-wrap img {
  max-width: 220px;
  height: auto;
}

.tt-auth .hidden {
  display: none !important;
}

@keyframes tt-auth-aurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 2%, 0) scale(1.04); }
}

@keyframes tt-auth-breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes tt-auth-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

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

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

@media (max-width: 960px) {
  .tt-auth,
  .tt-auth--wide {
    grid-template-columns: 1fr;
    min-height: 100dvh;
  }

  .tt-auth__brand {
    display: none;
  }

  .tt-auth__mobile-brand {
    display: inline-flex;
  }

  .tt-auth__panel {
    min-height: 100dvh;
    padding-left: max(0px, env(safe-area-inset-left, 0px));
    padding-right: max(0px, env(safe-area-inset-right, 0px));
    padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    background:
      radial-gradient(ellipse 80% 40% at 50% -10%, rgba(247, 149, 0, 0.12), transparent 55%),
      var(--tt-panel);
  }

  .tt-auth:has(> .tt-auth__brand) > .tt-auth__panel > .tt-auth__panel-inner {
    margin-top: 0;
    margin-bottom: 0;
    max-width: 100%;
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  .tt-auth__pti-stage {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.75rem;
  }

  .tt-auth a.tt-auth__claim-cta__go {
    white-space: normal !important;
  }
}

@media (max-width: 560px) {
  .tt-auth__panel-inner {
    padding-left: max(0.85rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.85rem, env(safe-area-inset-right, 0px));
  }

  .tt-auth__title {
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.15;
  }

  .tt-auth__subtitle {
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tt-auth__aurora,
  .tt-auth__orb,
  .tt-auth__logo,
  .tt-auth__brand-link,
  .tt-auth__tagline,
  .tt-auth__pitch,
  .tt-auth__signals,
  .tt-auth__back,
  .tt-auth__panel-inner,
  .tt-auth__loading-ring {
    animation: none !important;
  }
}

.tt-auth__submit:focus-visible,
.tt-auth input:focus-visible,
.tt-auth .tt-auth__eye:focus-visible,
.tt-auth__text-link:focus-visible,
.tt-auth__register a:focus-visible,
.tt-auth__back:focus-visible,
.tt-auth__brand-link:focus-visible,
.tt-auth__secondary:focus-visible,
.tt-auth__tip:focus-visible,
.tt-auth__claim-cta__go:focus-visible {
  outline: 2px solid var(--tt-amber);
  outline-offset: 2px;
}

/* —— PTI chips, tips, claim CTA, claim desk —— */

.tt-auth__optional {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tt-muted);
  margin-left: 0.35rem;
}

.tt-auth__pti-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}

.tt-auth__pti-chips li {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: #9a3412;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(233, 84, 32, 0.22);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.tt-auth__pti-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.tt-auth__tip {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  margin: -0.75rem 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #c2410c;
  cursor: help;
  vertical-align: middle;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}

.tt-auth__tip::after {
  content: "";
  position: absolute;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid rgba(233, 84, 32, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  z-index: 0;
}

.tt-auth__tip .tt-auth__tip-icon {
  position: relative;
  z-index: 1;
}

.tt-auth__tip:hover::after,
.tt-auth__tip[aria-expanded="true"]::after {
  background: #fff7ed;
  box-shadow: 0 0 0 3px rgba(247, 149, 0, 0.16);
}

.tt-auth__tip:hover,
.tt-auth__tip[aria-expanded="true"] {
  transform: translateY(-1px);
}

.tt-auth__tip-icon {
  font-family: var(--tt-display);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.tt-auth__tip-bubble {
  margin-top: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(233, 84, 32, 0.28);
  background:
    linear-gradient(160deg, #fffdf9, #fff7ed 70%),
    radial-gradient(circle at 100% 0%, rgba(247, 149, 0, 0.14), transparent 50%);
  box-shadow: 0 18px 40px -28px rgba(42, 34, 28, 0.55);
  animation: tt-auth-rise 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tt-auth__tip-bubble[hidden] {
  display: none !important;
}

.tt-auth__tip-bubble strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--tt-display);
  font-size: 0.82rem;
  font-weight: 750;
  color: #9a3412;
}

.tt-auth__tip-bubble p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(42, 34, 28, 0.82);
}

.tt-auth__tip-bubble p + p,
.tt-auth__tip-foot {
  margin-top: 0.55rem !important;
  font-size: 0.76rem !important;
  color: var(--tt-muted) !important;
}

.tt-auth__tip-bubble em {
  font-style: normal;
  font-weight: 750;
  color: #c2410c;
}

.tt-auth__pti-stage--claim {
  margin-bottom: 1.25rem;
}

.tt-auth__claim-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding: 1rem 1.05rem 1.05rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(233, 84, 32, 0.26);
  background:
    linear-gradient(160deg, #fffdf9 0%, #fff7ed 52%, #ffedd5 140%);
  box-shadow: 0 14px 34px -26px rgba(233, 84, 32, 0.55);
  overflow: visible;
  animation: tt-auth-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tt-auth__claim-cta__glow {
  position: absolute;
  inset: -40% -20% auto 40%;
  height: 90%;
  background: radial-gradient(circle, rgba(247, 149, 0, 0.18), transparent 68%);
  pointer-events: none;
  z-index: 0;
  animation: tt-claim-glow 5s ease-in-out infinite;
}

@keyframes tt-claim-glow {
  0%, 100% { opacity: 0.5; transform: translate(0, 0); }
  50% { opacity: 0.95; transform: translate(-6%, 4%); }
}

.tt-auth__claim-cta__row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.tt-auth__claim-cta__orbit {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  flex: 0 0 2.75rem;
}

.tt-auth__claim-cta__orbit .tt-auth__pti-core {
  width: 2rem;
  height: 2rem;
  font-size: 0.6rem;
}

.tt-auth__claim-cta__orbit .tt-auth__pti-ring {
  animation-duration: 2.1s;
}

.tt-auth__claim-cta__body {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
}

.tt-auth__claim-cta__headline {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.tt-auth__claim-cta__title {
  margin: 0;
  font-family: var(--tt-display);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #2a221c;
}

.tt-auth__claim-cta__text {
  margin: 0.28rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #5c4a3d;
}

.tt-auth__claim-cta__go,
.tt-auth a.tt-auth__claim-cta__go {
  position: relative;
  z-index: 1;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 2.75rem !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0.7rem 1rem !important;
  border: 0 !important;
  border-radius: 0.85rem !important;
  font-family: var(--tt-display) !important;
  font-size: 0.92rem !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em;
  white-space: nowrap !important;
  text-align: center !important;
  text-decoration: none !important;
  color: #fffaf5 !important;
  -webkit-text-fill-color: #fffaf5;
  background: linear-gradient(135deg, #e95420 0%, #f79500 58%, #ffb347 100%) !important;
  box-shadow: 0 12px 26px -14px rgba(233, 84, 32, 0.85) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.tt-auth__claim-cta__go::before,
.tt-auth a.tt-auth__claim-cta__go::before {
  display: none !important;
}

.tt-auth__claim-cta__go:hover,
.tt-auth a.tt-auth__claim-cta__go:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 16px 30px -14px rgba(233, 84, 32, 0.95) !important;
  text-decoration: none !important;
  color: #fffaf5 !important;
}

.tt-auth__claim-cta__go i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.tt-auth__claim-cta__go:hover i {
  transform: translateX(3px);
}

.tt-auth__tip-bubble--cta {
  position: relative;
  z-index: 2;
  margin: 0;
}

.tt-auth__title--claim {
  letter-spacing: -0.03em;
}

/* Claim desk page */

.tt-auth--claim .tt-auth__panel-inner {
  max-width: 34rem;
}

.tt-auth__claim-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
}

@media (max-width: 560px) {
  .tt-auth__claim-paths {
    grid-template-columns: 1fr;
  }
}

.tt-auth__claim-path,
.tt-auth button.tt-auth__claim-path.unstyled {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  width: 100%;
  text-align: left;
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  border: 1.5px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  cursor: pointer;
  overflow: visible;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.tt-auth button.tt-auth__claim-path.unstyled::before {
  content: none !important;
  display: none !important;
}

.tt-auth__claim-path:hover {
  border-color: rgba(233, 84, 32, 0.35);
  transform: translateY(-1px);
}

.tt-auth__claim-path.is-active {
  border-color: rgba(233, 84, 32, 0.45);
  background:
    linear-gradient(160deg, #fff7ed 0%, #ffffff 70%);
  box-shadow: 0 10px 28px -22px rgba(233, 84, 32, 0.65);
}

.tt-auth__claim-path__icon {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.75rem;
  flex-shrink: 0;
  color: #c2410c;
  background: rgba(247, 149, 0, 0.12);
}

.tt-auth__claim-path.is-active .tt-auth__claim-path__icon {
  color: #fffaf5;
  background: linear-gradient(145deg, #e95420, #f79500);
}

.tt-auth__claim-path__copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.tt-auth__claim-path__copy strong {
  font-family: var(--tt-display);
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--tt-panel-ink);
}

.tt-auth__claim-path__copy small {
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--tt-muted);
}

.tt-auth__claim-prove {
  margin: 0 0 1rem;
  padding: 1rem 1rem 0.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(233, 84, 32, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(247, 149, 0, 0.12), transparent 50%),
    linear-gradient(180deg, #fffaf3, #ffffff);
}

.tt-auth__claim-prove__kicker {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a3412;
}

.tt-auth__claim-prove__lock {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.35rem 0 1rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.04);
  border: 1px dashed rgba(15, 23, 42, 0.12);
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.4;
}

.tt-auth__claim-prove__lock i {
  color: #c2410c;
  margin-top: 0.1rem;
}

.tt-auth__claim-signal {
  margin: 0.35rem 0 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.tt-auth__claim-signal.is-ready {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(5, 150, 105, 0.22);
}

.tt-auth__claim-signal.is-weak {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(217, 119, 6, 0.2);
}

.tt-auth__claim-signal__bar {
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.tt-auth__claim-signal__bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #f79500, #e95420);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.tt-auth__claim-signal.is-ready .tt-auth__claim-signal__bar span {
  background: linear-gradient(90deg, #10b981, #059669);
}

.tt-auth__claim-signal__label {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--tt-muted);
  font-weight: 600;
}

.tt-auth__claim-signal.is-ready .tt-auth__claim-signal__label {
  color: #047857;
}

.tt-auth__claim-found__proof {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #065f46;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.tt-auth__claim-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
}

.tt-auth__claim-rail__step {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: var(--tt-muted);
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--tt-line);
}

.tt-auth__claim-rail__step.is-active {
  color: #9a3412;
  background: #fff7ed;
  border-color: rgba(233, 84, 32, 0.3);
}

.tt-auth__claim-rail__step.is-done {
  color: #047857;
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(5, 150, 105, 0.25);
}

.tt-auth__field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 560px) {
  .tt-auth__field-grid {
    grid-template-columns: 1fr;
  }
}

.tt-auth__notice {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  margin: 0.15rem 0 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid transparent;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease,
    background 0.2s ease;
}

.tt-auth__notice[hidden] {
  display: none !important;
}

.tt-auth__notice.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tt-auth__notice::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: currentColor;
  opacity: 0.85;
}

.tt-auth__notice__icon {
  position: relative;
  z-index: 1;
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.tt-auth__notice__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.tt-auth__notice__title {
  display: block;
  margin: 0 0 0.2rem;
  font-family: var(--tt-display);
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.tt-auth__notice__body {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
}

.tt-auth__notice[data-tone="hint"] {
  color: #9a3412;
  background:
    linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-color: rgba(233, 84, 32, 0.28);
  box-shadow: 0 12px 28px -22px rgba(233, 84, 32, 0.55);
}

.tt-auth__notice[data-tone="hint"] .tt-auth__notice__icon {
  color: #c2410c;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(233, 84, 32, 0.22);
}

.tt-auth__notice[data-tone="hint"] .tt-auth__notice__body {
  color: #7c2d12;
}

.tt-auth__notice[data-tone="warn"] {
  color: #92400e;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: rgba(217, 119, 6, 0.3);
  box-shadow: 0 12px 28px -22px rgba(217, 119, 6, 0.45);
}

.tt-auth__notice[data-tone="warn"] .tt-auth__notice__icon {
  color: #b45309;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.tt-auth__notice[data-tone="warn"] .tt-auth__notice__body {
  color: #78350f;
}

.tt-auth__notice[data-tone="error"] {
  color: #991b1b;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: rgba(220, 38, 38, 0.28);
  box-shadow: 0 12px 28px -22px rgba(220, 38, 38, 0.45);
}

.tt-auth__notice[data-tone="error"] .tt-auth__notice__icon {
  color: #b91c1c;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(220, 38, 38, 0.22);
}

.tt-auth__notice[data-tone="error"] .tt-auth__notice__body {
  color: #7f1d1d;
}

.tt-auth__notice[data-tone="empty"],
.tt-auth__notice[data-tone="info"] {
  color: #1e3a5f;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border-color: rgba(59, 130, 246, 0.22);
  box-shadow: 0 12px 28px -22px rgba(37, 99, 235, 0.35);
}

.tt-auth__notice[data-tone="empty"] .tt-auth__notice__icon,
.tt-auth__notice[data-tone="info"] .tt-auth__notice__icon {
  color: #2563eb;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.tt-auth__notice[data-tone="empty"] .tt-auth__notice__body,
.tt-auth__notice[data-tone="info"] .tt-auth__notice__body {
  color: #1e3a5f;
}

.tt-auth__notice[data-tone="success"] {
  color: #065f46;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: rgba(16, 185, 129, 0.28);
  box-shadow: 0 12px 28px -22px rgba(5, 150, 105, 0.4);
}

.tt-auth__notice[data-tone="success"] .tt-auth__notice__icon {
  color: #047857;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.tt-auth__notice[data-tone="success"] .tt-auth__notice__body {
  color: #064e3b;
}

/* Legacy alias if any remaining markup */
.tt-auth__claim-status {
  min-height: 0;
}

.tt-auth__claim-found {
  position: relative;
  margin-bottom: 1.15rem;
  padding: 1.2rem 1.25rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(233, 84, 32, 0.32);
  background:
    linear-gradient(145deg, #fffaf3, #fff7ed),
    radial-gradient(100% 80% at 100% 0%, rgba(247, 149, 0, 0.18), transparent 55%);
  box-shadow: 0 18px 40px -28px rgba(233, 84, 32, 0.7);
  opacity: 0;
  transform: translateY(8px);
}

.tt-auth__claim-found.is-revealed {
  opacity: 1;
  transform: none;
  animation: tt-auth-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tt-auth__claim-found__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a3412;
  background: rgba(255, 237, 213, 0.95);
  border: 1px solid rgba(233, 84, 32, 0.28);
}

.tt-auth__claim-found__pulse {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #ea580c;
  box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.55);
  animation: tt-auth-pti-pulse 1.8s ease-out infinite;
}

.tt-auth__claim-found__title {
  margin: 0 0 0.4rem;
  font-family: var(--tt-display);
  font-size: 1.4rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #2a221c;
}

.tt-auth__claim-found__title em {
  font-style: normal;
  background: linear-gradient(120deg, #ea580c, #f79500);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tt-auth__claim-found__body {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #5c4a3d;
}

.tt-auth__claim-found__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tt-auth__claim-found__meta li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0.6rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(107, 76, 58, 0.12);
}

.tt-auth__claim-found__meta span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a78b73;
}

.tt-auth__claim-found__meta strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: #2a221c;
  word-break: break-all;
}

.tt-auth__claim-journey {
  margin: 0 0 1.25rem;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid var(--tt-line);
  background: #fff;
}

.tt-auth__claim-journey__rail {
  display: grid;
  gap: 0.65rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.tt-auth__claim-journey__step {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--tt-muted);
}

.tt-auth__claim-journey__dot {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.3rem;
  border-radius: 999px;
  background: #d6d3d1;
  flex-shrink: 0;
}

.tt-auth__claim-journey__step.is-complete {
  color: #047857;
}

.tt-auth__claim-journey__step.is-complete .tt-auth__claim-journey__dot {
  background: #10b981;
}

.tt-auth__claim-journey__step.is-active {
  color: #c2410c;
  font-weight: 650;
}

.tt-auth__claim-journey__step.is-active .tt-auth__claim-journey__dot {
  background: #ea580c;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.15);
}

.tt-auth__claim-actions {
  display: grid;
  gap: 0.75rem;
}

.tt-auth a.tt-auth__submit,
.tt-auth a.tt-auth__submit--claim {
  text-decoration: none;
}

.tt-auth__submit--claim,
.tt-auth a.tt-auth__submit--claim,
.tt-auth button.tt-auth__submit--claim {
  background: linear-gradient(135deg, #e95420 0%, #f79500 55%, #ffb347 100%) !important;
  box-shadow: 0 14px 32px -16px rgba(233, 84, 32, 0.85) !important;
}

.tt-auth__claim-back {
  justify-self: center;
  margin-top: 0.25rem;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.tt-auth__claim-success {
  text-align: center;
  padding: 1.5rem 0.5rem 0.5rem;
}

.tt-auth__claim-success .tt-auth__pti-orbit {
  margin: 0 auto 1rem;
}

.tt-auth__claim-success__title {
  margin: 0 0 0.5rem;
  font-family: var(--tt-display);
  font-size: 1.5rem;
  font-weight: 750;
  color: #2a221c;
}

.tt-auth__claim-success__body {
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #5c4a3d;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .tt-auth__claim-found__meta {
    grid-template-columns: 1fr;
  }
}
