:root {
  --bg: #0e0e11;
  --card: #17171c;
  --fg: #f5f5f7;
  --muted: #a1a1aa;
  --accent: #ff4d78;
  --accent-fg: #ffffff;
  --radius: 18px;
  --maxw: 480px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  min-height: 100%;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.stage {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cover {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 62dvh;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  background: #222;
  position: relative;
}

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

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.65) 100%);
}

.identity {
  margin-top: -34px;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.handle {
  font-size: 15px;
  color: var(--muted);
  margin: 10px 0 2px;
}

.headline {
  font-size: 24px;
  font-weight: 700;
  margin: 4px 0 6px;
  line-height: 1.2;
}

.subline {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 34ch;
}

.cta {
  display: block;
  width: 100%;
  padding: 17px 20px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.08s ease, filter 0.15s ease;
}

.cta:active {
  transform: scale(0.98);
}

.cta:hover {
  filter: brightness(1.05);
}

.footnote {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}

.blank {
  margin: auto;
  color: var(--muted);
  font-size: 15px;
}

.webview-hint {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  max-width: calc(var(--maxw) - 8px);
  margin: 0 auto;
  background: var(--card);
  color: var(--fg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.webview-hint button {
  margin-left: auto;
  white-space: nowrap;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--fg);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  cursor: pointer;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f6f8;
    --card: #ffffff;
    --fg: #16161a;
    --muted: #6b6b75;
  }
  .cover::after {
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.35) 100%);
  }
}
