:root {
  color-scheme: dark;
  --bg: #080c15;
  --surface: #141c2e;
  --border: #334160;
  --text: #f4f7fb;
  --muted: #9daac2;
  --accent: #f2c230;
}

* {
  box-sizing: border-box;
}

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

main {
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.logo {
  width: 88px;
  height: 88px;
  border-radius: 20px;
}

h1 {
  font-size: 26px;
  margin: 20px 0 8px;
  letter-spacing: -0.01em;
}

p {
  color: var(--muted);
  margin: 0 0 20px;
}

.code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 12px 12px 16px;
  margin: 0 0 12px;
}

.code span {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 17px;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
  text-align: left;
}

button,
.store {
  font: inherit;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
}

button {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 8px 14px;
  min-height: 44px;
  white-space: nowrap;
}

.store {
  display: block;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  padding: 14px;
  min-height: 48px;
  margin: 8px 0 20px;
}

.help {
  font-size: 14px;
}

[hidden] {
  display: none !important;
}
