/* Shared by every page on the links domain (index.html, post.html). */

:root {
  --ink: #012B2E;
  --mint: #9DFFC4;
  --white: #FFFFFF;
  --white-80: rgba(255, 255, 255, 0.8);
  --white-60: rgba(255, 255, 255, 0.6);
  --surface: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.15);
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, #002E32 0%, #011D20 100%);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  width: 100%;
  max-width: 420px;
  padding: 56px 16px calc(32px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.logo { width: 56px; height: 56px; border-radius: 14px; }

h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.3; font-weight: 600; letter-spacing: -0.2px; }

.sub { margin: 0; font-size: 16px; line-height: 1.6; color: var(--white-80); }

.code {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
}

.label { font-size: 13px; color: var(--white-60); }

.code-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.code-value {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  overflow-wrap: anywhere;
}

.copy {
  flex-shrink: 0;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--mint);
  border-radius: 50px;
  background: transparent;
  color: var(--mint);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.actions, .stores { display: flex; flex-direction: column; gap: 12px; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.btn.primary { background: var(--mint); color: var(--ink); }

.btn.secondary { border: 1px solid var(--border); color: var(--white); }

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

.note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--white-80); text-align: center; }

[hidden] { display: none !important; }
