/* The "Noodle Pads moved" page at the old address: one big card on the
   board's blue, readable and tappable from 320 px up. System fonts only, so
   the page loads nothing from anywhere else. */

:root {
  --board: #1F3FA8;
  --ink: #1C1740;
  --chalk: #ECEAF2;
  --muted: #57527A;
  --yellow: #FFD60A;
  --yellow-edge: #866F00;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  min-height: 100dvh;
  background: var(--board);
}

body {
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--ink);
  font: 400 1.125rem/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.card {
  width: 100%;
  max-width: 30rem;
  padding: 28px 20px;
  border-radius: 20px;
  background: var(--chalk);
  box-shadow: 0 6px 0 rgb(0 0 0 / 0.35);
  text-align: center;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  line-height: 1.15;
}

.note { margin: 16px 0 0; color: var(--muted); }

a { color: var(--board); font-weight: 700; }
a:not(.big) { display: inline-block; min-height: 44px; padding: 10px 4px; }

.big {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  padding: 12px 16px;
  border: 0;
  border-radius: 16px;
  background: var(--yellow);
  box-shadow: 0 5px 0 var(--yellow-edge);
  color: var(--ink);
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.big:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--yellow-edge); }
.big:disabled { opacity: 0.6; cursor: default; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
