:root {
  color-scheme: light;
  --ink: #171710;
  --paper: #f3efde;
  --paper-bright: #fffdf4;
  --acid: #dfff4f;
  --pink: #ff6da8;
  --orange: #ff653f;
  --purple: #8b78ff;
  --blue: #79c8ff;
  --line: 3px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
  --radius: 2px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(23, 23, 16, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 16, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 12% 2%, rgba(223, 255, 79, 0.65), transparent 23rem),
    radial-gradient(circle at 94% 31%, rgba(255, 109, 168, 0.25), transparent 26rem);
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--paper-bright);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 1rem 0;
  border-bottom: var(--line);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 0.82;
  text-decoration: none;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.wordmark span {
  padding-left: 0.12rem;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.26em;
}

.wordmark strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.privacy-note {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sync-status::before {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.45rem;
  content: "";
  background: #d1a933;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.sync-status[data-state="synced"]::before {
  background: #68bc68;
}

.sync-status[data-state="offline"]::before {
  background: var(--orange);
}

.install-button {
  min-height: 38px;
  padding: 0.55rem 0.75rem;
  color: var(--ink);
  background: var(--acid);
  border: 2px solid var(--ink);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ink);
}

.icon-button,
.text-button,
.close-button {
  border: 0;
  background: transparent;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ink);
}

.icon-button:hover,
.icon-button:focus-visible {
  background: var(--acid);
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.65fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 6rem);
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 930px;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.7rem, 9.2vw, 8.4rem);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero h1 mark {
  display: inline-block;
  padding: 0 0.16em 0.04em;
  color: var(--ink);
  background: var(--acid);
  transform: rotate(-1.5deg);
}

.hero-deck {
  max-width: 670px;
  margin: 2rem 0 0;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 650;
  line-height: 1.55;
}

.meter-card {
  padding: 1.15rem;
  background: var(--paper-bright);
  border: var(--line);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.meter-topline,
.meter-bottomline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.meter-topline {
  align-items: baseline;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.meter-topline strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.02em;
}

.meter-track {
  height: 26px;
  margin: 0.8rem 0;
  overflow: hidden;
  background: #dedacb;
  border: 2px solid var(--ink);
}

.meter-fill {
  width: 0;
  height: 100%;
  background: repeating-linear-gradient(-45deg, var(--acid), var(--acid) 8px, #bfdd37 8px, #bfdd37 16px);
  border-right: 2px solid var(--ink);
  transition: width 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.meter-bottomline {
  color: #575548;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
}

.board {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--paper-bright);
  border: var(--line);
  box-shadow: var(--shadow);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.intake h2,
.report h2,
.groups-teaser h2,
.modal h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.7rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.text-button {
  padding: 0.4rem 0;
  border-bottom: 2px solid var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.game-card {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 1rem;
  overflow: hidden;
  text-align: left;
  background: #f5f1e5;
  border: 2px solid var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.game-card:nth-child(3n + 1) {
  transform: rotate(-0.35deg);
}

.game-card:nth-child(3n + 2) {
  transform: rotate(0.35deg);
}

.game-card:hover {
  z-index: 2;
  transform: translateY(-4px) rotate(0);
  box-shadow: 5px 5px 0 var(--ink);
}

.game-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 8px;
  content: "";
  background: var(--game-accent);
  border-bottom: 2px solid var(--ink);
}

.game-card.is-complete {
  background: var(--game-accent);
}

.game-card.just-saved {
  animation: filed 560ms ease both;
}

@keyframes filed {
  0% { transform: scale(0.92) rotate(-2deg); }
  55% { transform: scale(1.04) rotate(1deg); }
  100% { transform: scale(1); }
}

.game-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding-top: 0.4rem;
}

.game-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 800;
}

.game-glyph,
.catalog-glyph {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--game-accent);
  border: 2px solid var(--ink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.4rem;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(3deg);
}

.is-complete .game-glyph {
  background: var(--paper-bright);
}

.game-card h3 {
  margin: 1.25rem 0 0.5rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.game-card > p {
  min-height: 3.9em;
  margin: 0;
  color: #4d4b41;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.45;
}

.is-complete > p {
  color: var(--ink);
}

.game-status {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding: 0.75rem 0;
  border-top: 2px dashed var(--ink);
  border-bottom: 2px dashed var(--ink);
}

.game-status span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.game-status strong {
  font-size: 1.05rem;
  text-transform: uppercase;
}

.game-actions {
  display: flex;
  gap: 0.55rem;
  padding-top: 0.8rem;
}

.card-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.65rem;
  border: 2px solid var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.card-button-play {
  flex: 1;
  color: var(--paper-bright);
  background: var(--ink);
}

.card-button-quiet {
  background: transparent;
}

.card-button:hover,
.card-button:focus-visible {
  color: var(--ink);
  background: var(--acid);
}

.add-card {
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: repeating-linear-gradient(-45deg, #ece8d9, #ece8d9 10px, #f8f5e9 10px, #f8f5e9 20px);
  border-style: dashed;
}

.add-card::before {
  display: none;
}

.add-card > span {
  font-size: 3rem;
  line-height: 1;
}

.add-card > strong {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.add-card > small {
  margin-top: 0.25rem;
}

.intake {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  margin-top: clamp(4rem, 9vw, 8rem);
  padding: clamp(2rem, 6vw, 5rem);
  color: var(--paper-bright);
  background: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--pink);
}

.section-kicker-light {
  color: var(--acid);
}

.intake h2 {
  font-size: clamp(4rem, 8vw, 7.4rem);
}

.intake-intro > p:not(.section-kicker) {
  max-width: 480px;
  color: #d4d0c1;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

.tiny-standard {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.tiny-standard-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  border-radius: 50%;
}

.paste-form textarea {
  width: 100%;
  min-height: 250px;
  resize: vertical;
  padding: 1.2rem;
  color: var(--ink);
  background: var(--paper-bright);
  border: 3px solid var(--paper-bright);
  border-radius: 0;
  outline: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: 7px 7px 0 var(--purple);
}

.paste-form textarea:focus {
  border-color: var(--acid);
}

.paste-controls {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.select-wrap {
  flex: 1;
}

.select-wrap select,
.field select,
.field input,
.catalog-search input {
  width: 100%;
  height: 50px;
  padding: 0 0.9rem;
  color: var(--ink);
  background: var(--paper-bright);
  border: 2px solid var(--ink);
  border-radius: 0;
  outline: 0;
}

.paste-controls select {
  border-color: var(--paper-bright);
}

.primary-button,
.secondary-button {
  min-height: 50px;
  padding: 0.75rem 1.15rem;
  border: 2px solid var(--ink);
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--ink);
}

.primary-button {
  color: var(--ink);
  background: var(--acid);
}

.intake .primary-button {
  border-color: var(--paper-bright);
  box-shadow: 4px 4px 0 var(--purple);
}

.primary-button:hover,
.primary-button:focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.intake .primary-button:hover,
.intake .primary-button:focus-visible {
  box-shadow: 2px 2px 0 var(--purple);
}

.form-message {
  min-height: 1.5em;
  margin: 0.85rem 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}

.form-message.is-success {
  color: var(--acid);
}

.form-message.is-error {
  color: #ff8e8e;
}

.report {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(340px, 0.7fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: center;
  padding: clamp(5rem, 11vw, 10rem) clamp(0rem, 5vw, 4rem);
}

.report-copy > p:not(.section-kicker) {
  max-width: 510px;
  font-weight: 600;
  line-height: 1.6;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.primary-button-dark {
  color: var(--paper-bright);
  background: var(--ink);
}

.secondary-button {
  background: transparent;
}

.receipt-wrap {
  position: relative;
  max-width: 470px;
  margin-inline: auto;
  transform: rotate(1.4deg);
}

.receipt-tape {
  position: absolute;
  top: -20px;
  left: 50%;
  z-index: 2;
  width: 120px;
  height: 42px;
  background: rgba(255, 109, 168, 0.76);
  transform: translateX(-50%) rotate(-2deg);
}

.receipt {
  position: relative;
  padding: 2.7rem 2rem 2rem;
  background: #fffef9;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

.receipt::after {
  position: absolute;
  right: 0;
  bottom: -11px;
  left: 0;
  height: 12px;
  content: "";
  background: linear-gradient(135deg, #fffef9 6px, transparent 0) 0 0 / 12px 12px repeat-x;
}

.receipt-brand,
.receipt-footer {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
}

.receipt-brand {
  padding-bottom: 1rem;
  border-bottom: 2px dashed var(--ink);
}

.receipt pre {
  min-height: 240px;
  margin: 1.2rem 0;
  overflow: auto;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(0.74rem, 1.5vw, 0.88rem);
  line-height: 1.7;
}

.receipt-footer {
  padding-top: 1rem;
  border-top: 2px dashed var(--ink);
  line-height: 1.5;
}

.groups-teaser {
  display: grid;
  grid-template-columns: 0.7fr 0.8fr 1fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: 5rem;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--paper-bright);
  background: var(--purple);
  border: var(--line);
  box-shadow: var(--shadow);
}

.groups-teaser p:not(.section-kicker) {
  font-weight: 650;
  line-height: 1.55;
}

.fake-standing {
  display: grid;
  grid-template-columns: auto 1fr auto;
  background: var(--paper-bright);
  border: 2px solid var(--ink);
}

.fake-standing > * {
  padding: 0.65rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}

.fake-standing > :nth-last-child(-n + 3) {
  border-bottom: 0;
}

.fake-standing b {
  text-align: right;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 0 2rem;
  border-top: 2px solid var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.modal {
  width: min(900px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  color: var(--ink);
  background: var(--paper-bright);
  border: var(--line);
  border-radius: 0;
  box-shadow: 10px 10px 0 var(--ink);
}

.modal::backdrop {
  background: rgba(23, 23, 16, 0.76);
  backdrop-filter: blur(3px);
}

.modal form {
  padding: clamp(1.3rem, 4vw, 2.5rem);
}

.modal-small {
  width: min(560px, calc(100% - 2rem));
}

.account-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: color-mix(in srgb, var(--acid) 42%, white);
  border: 2px solid var(--ink);
}

.account-card > div {
  display: grid;
  gap: 0.2rem;
}

.account-card strong {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.account-card small {
  color: #555247;
  line-height: 1.4;
}

.account-dot {
  width: 14px;
  height: 14px;
  background: #68bc68;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.modal-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.modal h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.close-button {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  font-size: 2rem;
  line-height: 1;
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}

.field > span,
.catalog-heading strong {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.field input:focus,
.field select:focus,
.catalog-search input:focus {
  outline: 3px solid var(--acid);
  outline-offset: 1px;
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.2rem 0 1rem;
}

.catalog-heading > div {
  display: grid;
  gap: 0.3rem;
}

.catalog-heading small {
  color: #666357;
}

.catalog-search {
  width: min(280px, 45%);
}

.catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  max-height: min(45vh, 430px);
  padding: 0.2rem;
  overflow-y: auto;
}

.catalog-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  min-height: 72px;
  padding: 0.65rem;
  background: #f3efe3;
  border: 2px solid transparent;
  cursor: pointer;
}

.catalog-item:has(input:checked) {
  background: color-mix(in srgb, var(--game-accent) 45%, white);
  border-color: var(--ink);
}

.catalog-item input {
  position: absolute;
  opacity: 0;
}

.catalog-glyph {
  width: 34px;
  height: 34px;
  font-size: 1rem;
  box-shadow: 2px 2px 0 var(--ink);
}

.catalog-item > span:nth-of-type(2) {
  display: grid;
  gap: 0.15rem;
}

.catalog-item strong {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.catalog-item small {
  color: #666357;
  font-size: 0.67rem;
}

.catalog-check {
  display: none;
  font-weight: 950;
}

.catalog-item:has(input:checked) .catalog-check {
  display: inline;
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
}

.modal-actions > span {
  color: #666357;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.67rem;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 200;
  max-width: calc(100% - 2.4rem);
  padding: 0.9rem 1.1rem;
  color: var(--ink);
  background: var(--acid);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 150ms ease, transform 150ms ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 950px) {
  .hero,
  .intake,
  .report {
    grid-template-columns: 1fr;
  }

  .meter-card {
    max-width: 520px;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .groups-teaser {
    grid-template-columns: 1fr 1fr;
  }

  .fake-standing {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  .page-shell {
    width: min(100% - 1rem, 1180px);
  }

  .topbar {
    min-height: 78px;
  }

  .privacy-note,
  .icon-button > span:last-child {
    display: none;
  }

  .icon-button {
    min-width: 44px;
    justify-content: center;
  }

  .hero {
    gap: 2rem;
    padding-top: 3.4rem;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 18vw, 5.8rem);
  }

  .section-heading {
    align-items: start;
  }

  .board {
    padding: 1rem;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    min-height: 270px;
  }

  .intake {
    min-width: 0;
    padding: 2rem 1rem;
    box-shadow: 6px 6px 0 var(--pink);
  }

  .intake h2 {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }

  .paste-controls {
    flex-direction: column;
  }

  .report {
    padding-inline: 0.5rem;
  }

  .receipt {
    padding-inline: 1.2rem;
  }

  .groups-teaser {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }

  .fake-standing {
    grid-column: auto;
  }

  footer,
  .catalog-heading,
  .modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-search {
    width: 100%;
  }

  .catalog {
    grid-template-columns: 1fr;
  }

  .modal-actions .primary-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
