:root {
  color-scheme: light;
  --bg: #f5f5f5;
  --card: #ffffff;
  --text: #000000;
  --muted: #999999;
  --line: #e6e6e6;
  --shadow: rgba(0, 0, 0, 0.04);
  --primary: #333333;
  --primary-contrast: #ffffff;
  --secondary: #ffffff;
  --secondary-text: #333333;
  --pill: #fafafa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.card {
  width: min(100%, 27rem);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 6px 18px var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 0 10px;
  min-height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.description,
.footer {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.share-message {
  margin-top: 0;
  text-align: center;
  font-size: 15px;
  color: var(--text);
}

.share-detail {
  text-align: center;
}

.actions,
.stacked-actions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.hidden {
  display: none !important;
}

.token-pill {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--pill);
  font-size: 12px;
  color: var(--muted);
  word-break: break-word;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.button-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-contrast);
}

.button-secondary {
  background: var(--secondary);
  color: var(--secondary-text);
}

.button-disabled {
  pointer-events: none;
  opacity: 0.5;
}

@media (max-width: 480px) {
  .shell {
    padding: 16px;
  }

  .card {
    padding: 18px;
    border-radius: 18px;
  }
}
