:root[data-hf-friends-circle-inner] {
  color-scheme: dark;
  --hf-fc-page-bg: var(--hf-ui-app-page-bg, #253f82);
  --hf-fc-page-gradient: var(--hf-ui-app-gradient, linear-gradient(135deg, #253f82 0%, #1e4b76 48%, #3a286f 100%));
  --hf-fc-header-bg: rgba(19, 38, 84, 0.9);
  --hf-fc-surface-bg: rgba(29, 53, 108, 0.64);
  --hf-fc-line: rgba(190, 218, 255, 0.3);
  background-color: var(--hf-fc-page-bg);
  background-image: var(--hf-fc-page-gradient);
}

:root[data-hf-friends-circle-inner] body,
:root[data-hf-friends-circle-inner] #app {
  min-height: 100%;
  margin: 0;
  background-color: var(--hf-fc-page-bg);
  background-image: var(--hf-fc-page-gradient);
  background-attachment: fixed;
  color: #f4f7f5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hf-fc-shell {
  min-height: 100dvh;
  background: transparent;
}

.hf-fc-shell__header,
.hf-fc-shell__nav,
.hf-fc-shell__welcome,
.hf-fc-shell__main,
.hf-fc-shell__footer {
  box-sizing: border-box;
  width: min(100%, 72rem);
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.hf-fc-shell__header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--hf-fc-line);
  background: var(--hf-fc-header-bg);
  box-shadow: 0 0.55rem 1.4rem rgba(7, 18, 53, 0.18);
}

.hf-fc-shell__brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.hf-fc-shell__brand img {
  width: 2.85rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 215, 160, 0.6);
  border-radius: 6px;
  object-fit: cover;
}

.hf-fc-shell__brand span {
  display: grid;
  min-width: 0;
  gap: 0.1rem;
}

.hf-fc-shell__brand strong {
  font-size: 1.1rem;
  line-height: 1.2;
}

.hf-fc-shell__brand small {
  color: rgba(248, 251, 255, 0.76);
  font-size: 0.75rem;
}

.hf-fc-shell__header-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: end;
  gap: 0.5rem;
}

.hf-fc-shell__feature-control {
  display: inline-flex;
}

.hf-fc-shell__icon-button {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(158, 215, 255, 0.56);
  border-radius: 6px;
  background: rgba(28, 58, 125, 0.72);
  color: #f8fbff;
}

.hf-fc-shell__icon-button svg {
  width: 1.3rem;
  height: 1.3rem;
}

.hf-fc-shell__icon-button:disabled {
  border-color: rgba(190, 218, 255, 0.28);
  color: rgba(248, 251, 255, 0.56);
  cursor: not-allowed;
}

.hf-fc-shell__sign-out {
  min-height: 2.75rem;
  flex: 0 0 auto;
  border: 1px solid rgba(158, 215, 255, 0.56);
  border-radius: 6px;
  background: rgba(28, 58, 125, 0.72);
  color: #f4f7f5;
  padding: 0.6rem 0.9rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hf-fc-shell__sign-out:hover,
.hf-fc-shell__sign-out:focus-visible {
  border-color: #e58b72;
  background: #33201d;
  outline: none;
}

.hf-fc-shell__nav {
  display: flex;
  min-height: 3.25rem;
  align-items: end;
  border-bottom: 1px solid var(--hf-fc-line);
}

.hf-fc-shell__nav a {
  border-bottom: 3px solid #ffb329;
  color: #ffffff;
  padding: 0.85rem 0.25rem 0.7rem;
  font-weight: 800;
  text-decoration: none;
}

.hf-fc-shell__welcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 22rem);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(1.8rem, 5vw, 3.2rem);
  border-bottom: 1px solid var(--hf-fc-line);
}

.hf-fc-shell__eyebrow {
  margin: 0 0 0.65rem;
  color: #ffd7a0;
  font-size: 0.78rem;
  font-weight: 900;
}

.hf-fc-shell__welcome h1 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  line-height: 1.1;
}

.hf-fc-shell__welcome-copy > p:last-child {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: rgba(248, 251, 255, 0.8);
  font-size: 1rem;
  line-height: 1.5;
}

.hf-fc-shell__status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--hf-fc-line);
  border-radius: 6px;
  background: var(--hf-fc-surface-bg);
}

.hf-fc-shell__status div {
  min-width: 0;
  padding: 1rem;
}

.hf-fc-shell__status div + div {
  border-left: 1px solid var(--hf-fc-line);
}

.hf-fc-shell__status dt {
  color: rgba(248, 251, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 700;
}

.hf-fc-shell__status dd {
  margin: 0.3rem 0 0;
  color: #9de2b4;
  font-size: 1rem;
  font-weight: 900;
}

.hf-fc-shell__main {
  min-height: 18rem;
  padding-block: clamp(2rem, 6vw, 4rem);
}

.hf-fc-shell__verification {
  box-sizing: border-box;
  width: min(100%, 72rem);
  min-height: calc(100dvh - 10rem);
  margin: 0 auto;
  padding: clamp(3rem, 10vw, 7rem) clamp(1rem, 4vw, 2rem);
}

.hf-fc-shell__verification h1 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.15;
}

.hf-fc-shell__verification > p:last-of-type {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: rgba(248, 251, 255, 0.8);
  line-height: 1.6;
}

.hf-fc-shell__retry {
  min-height: 2.75rem;
  margin-top: 1.5rem;
  border: 1px solid #72d4a5;
  border-radius: 6px;
  background: #174e38;
  color: #ffffff;
  padding: 0.65rem 1rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.hf-fc-shell__retry:hover,
.hf-fc-shell__retry:focus-visible {
  background: #1f6549;
  outline: 2px solid #91c9d3;
  outline-offset: 2px;
}

.hf-fc-shell__main h2 {
  margin: 0;
  font-size: 1.35rem;
}

.hf-fc-shell__empty {
  margin: 0.8rem 0 0;
  color: rgba(248, 251, 255, 0.76);
}

.hf-fc-shell__footer {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--hf-fc-line);
  color: rgba(248, 251, 255, 0.68);
  font-size: 0.85rem;
}

.hf-fc-shell__footer a {
  color: #91c9d3;
}

@media (max-width: 43rem) {
  .hf-fc-shell__welcome {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .hf-fc-shell__status {
    width: 100%;
  }

}

@media (max-width: 24rem) {
  .hf-fc-shell__header,
  .hf-fc-shell__nav,
  .hf-fc-shell__welcome,
  .hf-fc-shell__main,
  .hf-fc-shell__footer {
    padding-inline: 0.75rem;
  }

  .hf-fc-shell__brand span {
    display: none;
  }

  .hf-fc-shell__brand img {
    width: 2.5rem;
  }

  .hf-fc-shell__sign-out {
    padding-inline: 0.55rem;
  }
}
