* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sb-card-shell {
  display: inline-block;
  border-radius: 16px;
  background: transparent;
  border: none;
  overflow: visible;
  width: 100%;
  max-width: 440px;
}

.sb-card-shell > .sb-card {
  display: block;
}

.sb-card {
  position: relative;
  border: 1px solid var(--card-border);
  border-radius: inherit;
  padding: 32px 24px 24px;
  width: 100%;
  overflow: hidden;
}

.sb-card > * {
  position: relative;
  z-index: 1;
}

.sb-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--card-border-strong);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin: 0 auto 20px;
  display: block;
  object-fit: cover;
}

.sb-name {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 0;
}

.sb-handle {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 4px;
}

.sb-bio {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-align: center;
  margin: 24px 0 32px;
}

.sb-footer {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-subtle);
  text-align: center;
  margin-top: 32px;
}

.sb-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sb-button {
  background: var(--button-bg);
  border: 1px solid var(--button-border);
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text-primary);
  text-decoration: none;
  text-align: center;
  display: block;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.08s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.sb-button:hover {
  background: var(--button-hover-bg);
  border-color: var(--button-border);
}

.sb-button:active {
  background: var(--button-active-bg);
  transform: scale(0.98);
}

.sb-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sb-not-found {
  text-align: center;
  padding: 40px 0;
}

.sb-not-found-title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
}

.sb-not-found-text {
  margin: 8px 0 0;
  font-size: 16px;
  color: var(--text-muted);
}

@media (max-width: 428px) {
  body {
    padding: 40px 20px;
  }
  .sb-card {
    padding: 32px 20px 24px;
  }
}

@media (min-width: 768px) {
  body {
    padding: 60px 40px;
  }
}