:root {
  --tl-ink: #1e1916;
  --tl-muted: #746d66;
  --tl-low: #9c958d;
  --tl-page: #fbfaf9;
  --tl-surface: rgba(253, 253, 252, 0.96);
  --tl-white: #ffffff;
  --tl-soft: #f5f3f0;
  --tl-border: rgba(98, 57, 16, 0.1);
  --tl-border-strong: rgba(98, 57, 16, 0.16);
  --tl-success: #12a873;
  --tl-shadow-sm: 0 2px 4px rgba(144, 137, 129, 0.1);
  --tl-shadow-lg: 0 28px 80px rgba(35, 31, 26, 0.18);
  --tl-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

body.tl-modal-open {
  overflow: hidden !important;
}

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

.tl-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.tl-solana-logo {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 auto;
}

.tl-pump-logo {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 auto;
}

.tl-brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.tl-brand-logo {
  display: block;
  width: 156px !important;
  height: auto !important;
  max-width: none;
  max-height: 30px;
  object-fit: contain;
}

.tl-announcement-logo {
  width: 14px !important;
  height: 14px !important;
  object-fit: contain;
}

.tl-hero-chain-logo {
  width: 12px !important;
  height: 12px !important;
  object-fit: contain;
}

.tl-announcement-link {
  color: inherit;
  font: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 180ms ease;
}

.tl-announcement-link:hover {
  opacity: 0.66;
}

.tl-announcement-link:focus-visible,
.tl-button:focus-visible,
.tl-icon-button:focus-visible,
.tl-external-link:focus-visible,
.tl-verification-address:focus-visible,
.tl-verification-x:focus-visible,
.tl-wallet-connect:focus-visible,
.tl-wallet-secondary:focus-visible,
.tl-wallet-install:focus-visible {
  outline: 2px solid var(--tl-ink);
  outline-offset: 2px;
}

.tl-wallet-slot {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-family: inter, "inter Fallback", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.tl-wallet-connect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 42px;
  height: 40px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--tl-ink);
  border: 1px solid var(--tl-ink);
  border-radius: 9999px;
  box-shadow: var(--tl-shadow-sm);
  font: 500 13px/18px inter, "inter Fallback", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.tl-wallet-connect:hover {
  background: #332d28;
}

.tl-wallet-connect:active {
  transform: scale(0.98);
}

.tl-wallet-connect:disabled {
  cursor: wait;
  opacity: 0.68;
}

.tl-wallet-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 100;
  display: grid;
  gap: 10px;
  width: min(330px, calc(100vw - 24px));
  padding: 14px;
  color: var(--tl-ink);
  background: var(--tl-surface);
  border: 1px solid var(--tl-border-strong);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(35, 31, 26, 0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.tl-wallet-popover[hidden] {
  display: none;
}

.tl-wallet-kicker {
  color: var(--tl-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 15px;
}

.tl-wallet-address {
  min-width: 0;
  color: var(--tl-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  line-height: 17px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.tl-wallet-message {
  margin: 0;
  color: var(--tl-muted);
  font-size: 13px;
  line-height: 19px;
}

.tl-wallet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tl-wallet-secondary,
.tl-wallet-install {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 11px;
  color: var(--tl-ink);
  background: var(--tl-soft);
  border: 1px solid var(--tl-border);
  border-radius: 9999px;
  font: 500 12px/16px inter, "inter Fallback", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.tl-wallet-secondary:hover,
.tl-wallet-install:hover {
  background: #efede9;
}

.tl-wallet-secondary:active,
.tl-wallet-install:active {
  transform: scale(0.98);
}

.tl-wallet-secondary.is-danger {
  color: #a34036;
}

.tl-verification-slot {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 16px;
}

.tl-verification {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  width: min(100%, 540px);
  min-width: 0;
  height: 40px;
  padding: 4px;
  color: var(--tl-ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--tl-border);
  border-radius: 9999px;
  box-shadow: var(--tl-shadow-sm);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-family: inter, "inter Fallback", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.tl-verification-copy,
.tl-verification-address,
.tl-verification-x {
  appearance: none;
  border: 0;
  font-family: inherit;
  letter-spacing: 0;
  cursor: pointer;
}

.tl-verification-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 30px;
  flex: 0 0 auto;
  padding: 0 11px;
  color: #ffffff;
  background: var(--tl-ink);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  box-shadow: var(--tl-shadow-sm);
  transition: transform 160ms ease, background-color 160ms ease;
}

.tl-verification-copy:hover {
  background: #332d28;
}

.tl-verification-copy:active,
.tl-icon-button:active,
.tl-button:active,
.tl-external-link:active {
  transform: scale(0.98);
}

.tl-verification-copy.is-copied {
  background: var(--tl-success);
}

.tl-verification-copy:disabled,
.tl-verification-x:disabled,
.tl-icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.tl-verification-copy:disabled:hover {
  background: var(--tl-ink);
}

.tl-verification-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1 1 auto;
  min-width: 0;
  height: 30px;
  padding: 0 6px;
  color: var(--tl-muted);
  background: transparent;
  border-radius: 9999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 500;
  line-height: 14px;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease;
}

.tl-verification-address:hover {
  color: var(--tl-ink);
  background: var(--tl-soft);
}

.tl-compact-address-label,
.tl-address-chevron {
  display: none;
}

.tl-verification-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: var(--tl-ink);
  background: transparent;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.tl-verification-x:hover {
  background: var(--tl-soft);
}

.tl-address-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: min(430px, calc(100vw - 24px));
  padding: 12px;
  color: var(--tl-ink);
  background: var(--tl-surface);
  border: 1px solid var(--tl-border-strong);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(35, 31, 26, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity 180ms ease, transform 220ms var(--tl-ease), visibility 180ms ease;
}

.tl-address-popover.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.tl-address-popover code {
  min-width: 0;
  color: var(--tl-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  line-height: 17px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.tl-popover-copy {
  width: 34px;
  height: 34px;
}

.tl-modal-root {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(35, 31, 26, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.tl-modal-root[hidden] {
  display: none;
}

.tl-modal-root.is-open {
  opacity: 1;
  visibility: visible;
}

.tl-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(660px, 100%);
  max-height: min(760px, calc(100dvh - 48px));
  overflow: auto;
  padding: 30px;
  color: var(--tl-ink);
  background: var(--tl-surface);
  border: 1px solid var(--tl-border-strong);
  border-radius: 24px;
  box-shadow: var(--tl-shadow-lg);
  font-family: inter, "inter Fallback", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 220ms ease, transform 300ms var(--tl-ease);
}

.tl-modal-root.is-open .tl-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tl-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.tl-modal-brand-logo {
  display: block;
  width: 172px;
  height: auto;
  max-height: 30px;
  margin: 0 52px 0 0;
  object-fit: contain;
}

.tl-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--tl-muted);
  background: var(--tl-soft);
  border: 1px solid var(--tl-border);
  border-radius: 9999px;
  box-shadow: none;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.tl-icon-button:hover {
  color: var(--tl-ink);
  background: #efede9;
}

.tl-launch-status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  min-height: 30px;
  padding: 5px 11px;
  color: var(--tl-muted);
  background: var(--tl-soft);
  border: 1px solid var(--tl-border);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}

.tl-modal-title {
  margin: 28px 44px 0 0;
  color: var(--tl-ink);
  font-family: tobias, "tobias Fallback", Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.tl-modal-description {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--tl-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 23px;
}

.tl-address-section {
  margin-top: 26px;
}

.tl-field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--tl-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.tl-address-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 8px 8px 14px;
  background: var(--tl-white);
  border: 1px solid var(--tl-border-strong);
  border-radius: 16px;
}

.tl-address-control code {
  min-width: 0;
  color: var(--tl-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.tl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 9999px;
  font-family: inter, "inter Fallback", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 160ms ease;
}

.tl-button-primary {
  color: #ffffff;
  background: var(--tl-ink);
  box-shadow: var(--tl-shadow-sm);
}

.tl-button-primary:hover {
  background: #332d28;
}

.tl-button-copy {
  min-width: 112px;
  color: var(--tl-ink);
  background: var(--tl-soft);
  border-color: var(--tl-border);
  box-shadow: none;
}

.tl-button-copy:hover {
  background: #efede9;
}

.tl-button-copy.is-copied {
  color: #087653;
  background: #e8f7f1;
  border-color: rgba(18, 168, 115, 0.18);
}

.tl-button-copy:disabled {
  color: var(--tl-muted);
  cursor: not-allowed;
  opacity: 0.72;
}

.tl-button-copy:disabled:hover {
  background: var(--tl-soft);
}

.tl-external-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.tl-external-links.is-single {
  grid-template-columns: 1fr;
}

.tl-external-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 10px 14px;
  color: var(--tl-ink);
  background: var(--tl-white);
  border: 1px solid var(--tl-border);
  border-radius: 9999px;
  box-shadow: var(--tl-shadow-sm);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 160ms ease;
}

.tl-external-link:hover {
  background: var(--tl-soft);
  border-color: var(--tl-border-strong);
}

.tl-external-link.is-placeholder {
  width: 100%;
  color: var(--tl-muted);
  cursor: not-allowed;
  opacity: 0.72;
  text-align: left;
}

.tl-external-link.is-placeholder:hover {
  background: var(--tl-white);
  border-color: var(--tl-border);
}

.tl-external-link-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.tl-x-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: currentColor;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.tl-continue {
  width: 100%;
  min-height: 48px;
  margin-top: 20px;
}

@media (max-width: 1180px) {
  .tl-brand-logo {
    width: 124px !important;
  }

  .tl-verification-slot {
    flex: 0 0 auto;
    padding: 0 8px;
  }

  .tl-verification {
    width: auto;
  }

  .tl-desktop-address {
    display: none;
  }

  .tl-compact-address-label,
  .tl-address-chevron {
    display: block;
  }

  .tl-verification-address {
    flex: 0 0 auto;
    padding: 0 8px;
    font-family: inter, "inter Fallback", Arial, Helvetica, sans-serif;
    font-size: 12px;
  }
}

@media (max-width: 700px) {
  .tl-wallet-connect {
    height: 36px;
    padding: 0 10px;
  }

  .tl-brand-logo {
    width: 108px !important;
    max-height: 24px;
  }

  .tl-verification-slot {
    padding: 0 4px;
  }

  .tl-verification {
    height: 36px;
    padding: 3px;
  }

  .tl-verification-copy,
  .tl-verification-address,
  .tl-verification-x {
    height: 28px;
  }

  .tl-verification-copy {
    padding: 0 8px;
  }

  .tl-verification-x {
    width: 28px;
    flex-basis: 28px;
  }

  .tl-modal-root {
    align-items: end;
    padding: 12px;
  }

  .tl-modal {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 24px 18px 18px;
    border-radius: 20px;
  }

  .tl-modal-close {
    top: 14px;
    right: 14px;
  }

  .tl-modal-brand-logo {
    width: 148px;
    max-height: 26px;
    margin-bottom: 0;
  }

  .tl-modal-title {
    margin-top: 24px;
    font-size: 38px;
    line-height: 1.05;
  }

  .tl-modal-description {
    margin-top: 12px;
    font-size: 14px;
    line-height: 21px;
  }

  .tl-address-control {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .tl-button-copy {
    width: 100%;
  }

  .tl-external-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .tl-wallet-connect {
    width: 36px;
    min-width: 36px;
    padding: 0;
  }

  .tl-wallet-label {
    display: none;
  }

  .tl-wallet-popover {
    right: -38px;
  }

  .tl-verification-copy span[data-copy-label] {
    display: none;
  }

  .tl-verification-copy {
    width: 30px;
    padding: 0;
  }

  .tl-compact-address-label {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tl-modal-root,
  .tl-modal,
  .tl-address-popover,
  .tl-button,
  .tl-icon-button,
  .tl-external-link,
  .tl-verification-copy,
  .tl-verification-address,
  .tl-verification-x,
  .tl-wallet-connect,
  .tl-wallet-secondary,
  .tl-wallet-install,
  .tl-announcement-link {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
