:root {
  color-scheme: light dark;
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --text: #1A1A1A;
  --text-secondary: #555555;
  --border: #E8E8E8;
  --accent: #1A1A1A;
  --accent-text: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;
    --surface: #1C1C1E;
    --text: #F5F5F5;
    --text-secondary: #A1A1A6;
    --border: #2C2C2E;
    --accent: #F5F5F5;
    --accent-text: #111111;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
}

.share-card {
  width: 100%;
  max-width: 420px;
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  text-align: center;
}

.share-card__icon {
  border-radius: 22px;
}

h1 {
  margin: 16px 0 8px;
  font-size: 1.5rem;
  line-height: 1.25;
}

p {
  margin: 0 0 16px;
  color: var(--text-secondary);
}

.share-card__notice {
  color: var(--text);
  font-weight: 600;
}

.share-card__actions {
  display: grid;
  gap: 12px;
  margin: 24px 0 16px;
}

.share-card__hint {
  font-size: 0.875rem;
}

.share-card__hint a {
  color: inherit;
}

.button {
  display: block;
  padding: 14px 20px;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

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

.button--secondary {
  border: 1px solid var(--border);
  color: var(--text);
}

.button--text {
  width: 100%;
  border: 0;
  background: none;
  color: var(--text);
  text-decoration: underline;
}

.button[aria-disabled="true"],
.button:disabled {
  opacity: 0.4;
  pointer-events: none;
}
