html { height: 100%; background: var(--color-bg); }
body { margin: 0; min-height: 100%; min-height: 100dvh; display: grid; grid-template-rows: 1fr auto; background: var(--color-bg); color: var(--color-text); font: 400 12px/1.35 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
main { display: grid; place-items: center; padding: 48px 16px 0; }
.mark { display: block; width: min(44vmin, 280px); aspect-ratio: 1; animation: mark-flicker var(--motion-flicker) steps(1, end) infinite; }
@keyframes mark-flicker {
  0%, 62% { opacity: 1; transform: none; }
  63% { opacity: 0.35; }
  64.5% { opacity: 1; }
  66% { opacity: 0.2; transform: translateX(-0.8%); }
  67% { opacity: 0.85; transform: none; }
  69% { opacity: 0.5; }
  70%, 88% { opacity: 1; }
  89% { opacity: 0.4; transform: translateX(0.6%); }
  90%, 100% { opacity: 1; transform: none; }
}
footer { display: flex; justify-content: center; padding: 24px 16px max(28px, env(safe-area-inset-bottom)); }
.products { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
.products li { display: flex; flex-direction: column; align-items: center; width: 120px; }
.product { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; border-radius: 12px; color: inherit; text-decoration: none; text-align: center; outline: none; }
.product img { display: block; width: var(--size-icon); height: var(--size-icon); margin-bottom: 5px; border-radius: var(--radius-icon); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06); transition: transform var(--motion-hover) ease, box-shadow var(--motion-hover) ease; }
.name { white-space: nowrap; font-size: 12px; font-weight: 500; letter-spacing: 0.01em; transition: color var(--motion-hover) ease; }
.kind { font-size: 10px; color: var(--color-text-muted); letter-spacing: 0.02em; }
a.product:hover img, a.product:focus-visible img { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--color-hover-ring), 0 8px 18px -10px var(--color-hover-ring); }
a.product:hover .name, a.product:focus-visible .name { color: var(--color-hover); }
.store { margin-top: -6px; padding: 3px 8px; font-size: 10px; color: var(--color-text-faint); text-decoration: none; letter-spacing: 0.02em; border-radius: 6px; outline: none; transition: color var(--motion-hover) ease; }
.store:hover, .store:focus-visible { color: var(--color-hover); }
.soon .name { color: var(--color-text-muted); }
.soon .kind { color: var(--color-text-faint); }
.soon img { opacity: 0.5; filter: saturate(0.6); }
@media (max-width: 720px) {
  .products { width: min(100%, 340px); gap: 6px 0; }
  .products li { width: 33.333%; }
}
@media (prefers-reduced-motion: reduce) {
  .product img, .name, .store { transition: none; }
  .mark { animation: none; }
  a.product:hover img, a.product:focus-visible img { transform: none; }
}
