@font-face {
  font-family: Barlow;
  src: url('/assets/Barlow-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url('/assets/Barlow-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
* { box-sizing: border-box; }
@font-face {
  font-family: Barlow;
  src: url('/assets/Barlow-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: dark;
  font: 500 100%/1.4 Barlow, system-ui, sans-serif;
  --surface: #000000;
  --text-primary: #ffffff;
  --text-muted: #aaaaaa;
  --card: #1c1c1c;
  --hover: #2f2f2f;
  --border: #555555;
  --card-radius: 8px;
  --button-radius: 4px;
  background: var(--surface);
  color: var(--text-primary);
}
body { min-height: 100svh; margin: 0; display: grid; place-items: center; padding: 20px 16px; }
main { width: min(100%, 32rem); min-width: 0; }
.card { padding: 16px; border-radius: var(--card-radius); background: var(--card); }
.cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: var(--card-radius);
  background: var(--surface);
}
.identity {
  margin: 20px 0;
  font: 600 1.5rem/1.1667 Barlow, system-ui, sans-serif;
}
.stores { --badge-height: 2.5rem; display: grid; gap: 16px; }
.stores a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 88px;
  padding: 16px 32px;
  border: 1px solid var(--border);
  border-radius: var(--button-radius);
  touch-action: manipulation;
  color: inherit;
  text-decoration: none;
}
.store-badge { display: block; height: var(--badge-height); width: auto; max-width: 55%; object-fit: contain; }
.store-action, .notice button {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: var(--button-radius);
  color: var(--surface);
  background: var(--text-primary);
  font: 600 1rem/1.5 Barlow, system-ui, sans-serif;
  box-shadow: 0 2px 4px rgb(0 0 0 / 16%);
}
.store-action {
  height: var(--badge-height);
  padding-inline: 12px;
  gap: 4px;
  font-size: .875rem;
}
.store-action img { width: 16px; height: 16px; filter: invert(1); }
.stores a:focus-visible { border-color: var(--text-primary); }
@media (hover: hover) and (pointer: fine) {
  .stores a:hover { border-color: var(--text-muted); background: var(--hover); }
}
.stores a:active { background: var(--surface); border-color: var(--text-primary); }
@media (prefers-reduced-motion: no-preference) {
  .stores a { transition: background-color 120ms ease, border-color 120ms ease; }
}
.notice button { cursor: pointer; min-height: 48px; padding: 12px 24px; }
.notice a { color: inherit; }
footer { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; color: var(--text-muted); font-size: .8125rem; }
footer a { color: inherit; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 4px; }
[hidden] { display: none !important; }
@media (max-width: 480px) {
  body { padding: 16px; }
  .card { padding: 12px; }
  .identity { margin-block: 16px; }
  .stores { gap: 12px; }
  .stores a { min-height: 72px; padding: 12px 16px; }
}
@media (width < 460px) {
  .identity { text-align: center; }
  .stores a { justify-content: center; }
  .store-action { display: none; }
  .store-badge { max-width: 100%; }
}
