@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../../../public/fonts/InterVariable.woff2") format("woff2");
}

html[data-view="links"] {
  font-size: 16px;
}

html[data-view="links"] body {
  color: var(--lt-text);
  background: linear-gradient(180deg, var(--lt-bg), var(--lt-bg-end)) fixed;
  font-family: var(--lt-font);
}

.lt {
  position: relative;
  min-height: 100dvh;
  padding: 48px 16px 32px;
  overflow: hidden;
}

.lt__backdrop {
  display: none;
}

.lt__top {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: min(100% - 24px, 620px);
  translate: -50% 0;
  pointer-events: none;
}

.lt__top > * {
  pointer-events: auto;
}

.lt__top-actions {
  display: flex;
  gap: 8px;
}

.lt__round,
.lt__lang {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: var(--lt-text);
  font: 700 13px/1 var(--lt-font);
  text-decoration: none;
  background-color: var(--lt-chip-bg);
  box-shadow: 0 1px 2px var(--lt-button-shadow);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: scale 150ms cubic-bezier(0.08, 0.59, 0.29, 0.99);
}

.lt__round:hover,
.lt__lang:hover {
  scale: 1.06;
}

.lt__round--brand {
  color: var(--lt-accent-text);
  background-color: var(--lt-accent);
}

.lt__round .view-icon {
  width: 20px;
  height: 20px;
}

.lt__column {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 580px;
  margin: 0 auto;
}

.lt__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}

.lt__name {
  margin: 16px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.lt__bio {
  max-width: 480px;
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  opacity: 0.8;
}

.lt__location {
  margin: 4px 0 0;
  color: var(--lt-muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.lt__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 12px;
}

.lt__social {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--lt-text);
  transition: scale 150ms cubic-bezier(0.08, 0.59, 0.29, 0.99);
}

.lt__social:hover {
  scale: 1.1;
}

.lt__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.lt-link {
  position: relative;
  border-radius: 30px;
  transition: scale 150ms cubic-bezier(0.08, 0.59, 0.29, 0.99);
}

.lt-link--button:hover,
.lt-link--featured:hover {
  scale: 1.02;
}

.lt-link--button:active,
.lt-link--featured:active {
  scale: 0.98;
}

.lt-link__anchor {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 56px;
  border-radius: 30px;
  color: var(--lt-button-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  background-color: var(--lt-button-bg);
  box-shadow: 0 2px 4px var(--lt-button-shadow);
  transition: box-shadow 150ms ease;
}

.lt-link:hover .lt-link__anchor {
  box-shadow: 0 6px 16px var(--lt-button-shadow-hover);
}

.lt-link__label {
  overflow-wrap: anywhere;
}

.lt-link__thumb {
  position: absolute;
  top: 50%;
  left: 6px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  translate: 0 -50%;
}

.lt-link__thumb--glyph {
  display: grid;
  place-items: center;
  background-color: var(--lt-thumb-bg);
}

.lt-link__thumb--glyph .view-icon {
  width: 22px;
  height: 22px;
}

.lt-link__more {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: none;
  translate: 0 -50%;
  cursor: pointer;
}

.lt-link__more:hover {
  background-color: var(--lt-button-hover);
}

.lt-link__more .view-icon {
  width: 20px;
  height: 20px;
}

.lt-link--featured .lt-link__anchor {
  color: var(--lt-accent-text);
  font-weight: 600;
  background-color: var(--lt-accent);
}

.lt-link--featured .lt-link__thumb--glyph {
  background-color: var(--lt-accent-thumb);
}

.lt-link--featured .lt-link__more {
  color: var(--lt-accent-text);
}

.lt-link--featured {
  animation: lt-enter 420ms cubic-bezier(0.08, 0.59, 0.29, 0.99) both, lt-attention 6s ease-in-out 3s infinite;
}

.lt-link--header h2 {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.lt__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  color: var(--lt-muted);
  font-size: 12px;
}

.lt__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 20px 8px 8px;
  border-radius: 30px;
  color: var(--lt-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background-color: var(--lt-button-bg);
  box-shadow: 0 2px 4px var(--lt-button-shadow);
}

.lt__brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--lt-accent-text);
  font-size: 11px;
  font-weight: 700;
  background-color: var(--lt-accent);
}

.lt :focus-visible,
.share-sheet :focus-visible {
  outline: 2px solid var(--lt-focus);
  outline-offset: 2px;
}

.lt__avatar,
.lt__name,
.lt__bio,
.lt__location,
.lt__socials,
.lt-link,
.lt__footer {
  animation: lt-enter 420ms cubic-bezier(0.08, 0.59, 0.29, 0.99) both;
}

.lt__name {
  animation-delay: 40ms;
}

.lt__bio {
  animation-delay: 80ms;
}

.lt__location {
  animation-delay: 120ms;
}

.lt__socials {
  animation-delay: 160ms;
}

.lt-link {
  animation-delay: calc(200ms + var(--i, 0) * 40ms);
}

.lt-link--featured {
  animation-delay: calc(200ms + var(--i, 0) * 40ms), 3s;
}

.lt__footer {
  animation-delay: 700ms;
}

@keyframes lt-enter {
  from {
    opacity: 0;
    translate: 0 8px;
  }
}

@keyframes lt-attention {
  0%,
  92%,
  100% {
    rotate: 0deg;
  }

  94% {
    rotate: -1.2deg;
  }

  96% {
    rotate: 1.2deg;
  }

  98% {
    rotate: -0.6deg;
  }
}

.share-sheet {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--lt-text);
  font-family: var(--lt-font);
  background: none;
}

.share-sheet[open] {
  display: grid;
  align-items: end;
  justify-items: center;
}

.share-sheet::backdrop {
  background-color: var(--lt-overlay);
  animation: share-fade 250ms ease both;
}

.share-sheet__panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 20px 20px calc(24px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background-color: var(--lt-sheet-bg);
  box-shadow: 0 -8px 40px var(--lt-sheet-shadow);
  animation: share-rise 300ms cubic-bezier(0.08, 0.59, 0.29, 0.99) both;
  touch-action: none;
}

.share-sheet.is-closing .share-sheet__panel {
  animation: share-drop 250ms ease-in both;
}

.share-sheet.is-closing::backdrop {
  animation: share-fade 250ms ease reverse both;
}

.share-sheet__handle {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--lt-sheet-handle);
  translate: -50% 0;
}

.share-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.share-sheet__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.share-sheet__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: none;
  cursor: pointer;
}

.share-sheet__close:hover {
  background-color: var(--lt-button-hover);
}

.share-sheet__card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 16px;
  border-radius: 16px;
  background-color: var(--lt-sheet-card);
}

.share-sheet__image {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.share-sheet__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 14px;
  line-height: 1.4;
}

.share-sheet__text strong {
  font-size: 16px;
}

.share-sheet__url {
  overflow: hidden;
  color: var(--lt-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-sheet__copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  border: 0;
  border-radius: 30px;
  color: var(--lt-accent-text);
  font: 600 16px/1 var(--lt-font);
  background-color: var(--lt-accent);
  cursor: pointer;
}

.share-sheet__copy.is-done {
  background-color: var(--lt-success);
}

.share-sheet__copy .view-icon {
  width: 20px;
  height: 20px;
}

.share-sheet__targets {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 20px;
}

.share-sheet__target {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: inherit;
  font: 500 12px/1.2 var(--lt-font);
  text-decoration: none;
  background: none;
  cursor: pointer;
}

.share-sheet__bubble {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--lt-sheet-card);
  transition: scale 150ms ease;
}

.share-sheet__target:hover .share-sheet__bubble {
  scale: 1.08;
}

@keyframes share-rise {
  from {
    translate: 0 100%;
  }
}

@keyframes share-drop {
  to {
    translate: 0 100%;
  }
}

@keyframes share-fade {
  from {
    opacity: 0;
  }
}

@media (min-width: 769px) {
  .lt {
    padding-top: 64px;
  }

  .lt__backdrop {
    position: fixed;
    inset: -80px;
    display: block;
    opacity: 0.35;
    filter: blur(60px);
  }

  .lt__backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .lt-link__more {
    opacity: 0;
  }

  .lt-link:hover .lt-link__more,
  .lt-link__more:focus-visible {
    opacity: 1;
  }

  .share-sheet[open] {
    align-items: center;
  }

  .share-sheet__panel {
    border-radius: 24px;
    animation-name: share-pop;
    touch-action: auto;
  }

  .share-sheet.is-closing .share-sheet__panel {
    animation-name: share-pop-out;
  }

  .share-sheet__handle {
    display: none;
  }
}

@keyframes share-pop {
  from {
    opacity: 0;
    scale: 0.94;
  }
}

@keyframes share-pop-out {
  to {
    opacity: 0;
    scale: 0.94;
  }
}

.reduce-motion .lt *,
.reduce-motion .share-sheet *,
.reduce-motion .share-sheet::backdrop {
  animation: none;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .lt *,
  .share-sheet *,
  .share-sheet::backdrop {
    animation: none;
    transition: none;
  }
}
