/* Paylaşım sayfası (pinmotion.app/p|i): emoji sarısı, sarı üstünde koyu metin (asla beyaz), koyu tema */
:root {
  --top: #fcea2b;
  --bottom: #f4aa41;
  --ink: #1c1c1e;
  --ink-soft: rgba(28, 28, 30, 0.72);
  --pill: #1c1c1e;
  --pill-text: #fcea2b;
  --outline: rgba(28, 28, 30, 0.28);
  --box: rgba(255, 255, 255, 0.62);
  --logo: #ffffff;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --top: #2c2c30;
    --bottom: #121214;
    --ink: #f2f2f7;
    --ink-soft: rgba(242, 242, 247, 0.7);
    --pill: #fcea2b;
    --pill-text: #1c1c1e;
    --outline: rgba(242, 242, 247, 0.3);
    --box: rgba(255, 255, 255, 0.08);
    --logo: #fcea2b;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: linear-gradient(180deg, var(--top), var(--bottom)) fixed;
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
}

.logo {
  width: 30px;
  height: 36px;
  color: var(--logo);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
}

.card {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.18));
}

.headline {
  margin: 8px 0 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.subline,
.tagline {
  margin: 0;
  font-size: 17px;
  color: var(--ink-soft);
  text-align: center;
}

.code-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 18px 16px;
  border-radius: 24px;
  background: var(--box);
}

.button.copy {
  min-height: 44px;
  margin-top: 6px;
  border: none;
  background: var(--pill);
  color: var(--pill-text);
  font-family: inherit;
  cursor: pointer;
}

.code {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-variant-numeric: tabular-nums;
  user-select: all;
}

.hint {
  font-size: 15px;
  color: var(--ink-soft);
  text-align: center;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.stores {
  display: flex;
  gap: 12px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

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

.button.store {
  flex: 1;
  color: var(--ink);
  border: 1.5px solid var(--outline);
}

.footer {
  margin-top: auto;
  font-size: 13px;
  color: var(--ink-soft);
}

.footer a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
