:root {
  color-scheme: light;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  color: #294f4b;
  background: #f7efd9;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: #f7efd9; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 16% 8%, rgba(255,255,255,.82) 0 2px, transparent 2.8px) 0 0 / 26px 26px,
    linear-gradient(145deg, #fbf6e8 0%, #f8efd6 55%, #f3ebd3 100%);
}
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 4px solid rgba(69, 138, 174, .35); outline-offset: 3px; }
img { display: block; max-width: 100%; }

.app {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 0 48px;
}

.paper-card {
  background: #fffdf7;
  border: 2px solid #dfd4b5;
  box-shadow: 0 10px 0 rgba(113, 104, 72, .14), 0 18px 36px rgba(83, 76, 52, .10);
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 20px;
  margin-bottom: 24px;
  border-radius: 24px;
}
.brand, .album-button {
  min-height: 46px;
  display: grid;
  align-items: center;
  border: 0;
  color: #234a47;
  background: transparent;
  cursor: pointer;
}
.brand { grid-template-columns: 42px auto auto; gap: 10px; text-align: left; }
.brand > span {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 13px; color: #765b16; background: #ffe49a;
}
.brand strong { font-size: 18px; }
.brand small { color: #71847f; font-size: 13px; font-weight: 400; }
.album-button { grid-template-columns: 42px auto; column-gap: 10px; text-align: left; }
.album-button > span {
  grid-row: span 2; width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 13px; color: white; background: #315761;
}
.album-button strong { align-self: end; font-size: 14px; }
.album-button small { align-self: start; color: #71847f; }

.hero {
  min-height: 470px;
  display: grid;
  grid-template-columns: 55% 45%;
  overflow: hidden;
  border-radius: 42px;
}
.hero-copy { padding: 58px 56px; align-self: center; }
.eyebrow {
  display: block; margin-bottom: 12px;
  color: #9a651d; font: 700 12px/1.2 Georgia, serif; letter-spacing: .15em;
}
h1, h2, h3, p { margin-top: 0; }
.hero h1 {
  margin-bottom: 18px; color: #254e4a;
  font-size: clamp(48px, 6vw, 76px); line-height: .9; letter-spacing: -.055em;
}
.hero-copy > p { max-width: 520px; margin-bottom: 28px; color: #66817c; font-size: 20px; line-height: 1.45; }
.hero-actions, .result-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 48px; padding: 12px 22px; border: 2px solid transparent; border-radius: 15px;
  color: #244a47; font-weight: 800; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.button:hover { filter: brightness(1.025); transform: translateY(-2px); }
.button:active { transform: translateY(2px); }
.button-primary { color: white; background: #49a77e; box-shadow: 0 6px 0 #2e7e60; }
.button-soft { color: #805b12; background: #ffecb7; border-color: #e7c15a; }
.button-outline { background: #fffdf7; border-color: #d9ca9f; }
.button:disabled { cursor: default; opacity: .55; transform: none; box-shadow: none; }

.hero-table {
  position: relative; min-height: 470px; overflow: hidden;
  background:
    radial-gradient(circle, rgba(78,136,112,.62) 0 1.7px, transparent 2.2px) 0 0 / 24px 24px,
    linear-gradient(145deg, #dfeede, #f2e8bd);
  border-left: 1px solid #e2d6b4;
}
.hero-table::before { content: ""; position: absolute; inset: 22px; border: 3px solid rgba(255,255,255,.72); border-radius: 30px; }
.table-label {
  position: absolute; top: 28px; left: 50%; z-index: 5; transform: translateX(-50%) rotate(-2deg);
  padding: 8px 17px; border-radius: 9px; color: white; background: #315761; font-size: 11px; font-weight: 900; letter-spacing: .08em;
}
.hero-card {
  position: absolute; width: 142px; aspect-ratio: .78; display: grid; place-items: center; padding: 12px;
  border: 2px solid #ddcda4; border-radius: 16px; box-shadow: 0 12px 18px rgba(74,67,43,.18);
}
.hero-card::before { content: ""; position: absolute; width: 42px; height: 11px; top: -6px; left: 50%; transform: translateX(-50%); background: rgba(255,226,145,.86); }
.hero-back { color: #fff; background: #ef7468; border-color: #fff8e8; }
.hero-back::after { content: ""; position: absolute; inset: 14px; border: 2px dashed rgba(255,255,255,.75); border-radius: 10px; }
.hero-back i { font-size: 34px; font-style: normal; }
.hero-photo { background: #fffdf7; }
.hero-photo img { width: 100%; height: 100%; object-fit: contain; }
.back-one { left: 48px; top: 84px; transform: rotate(-7deg); }
.photo-one { right: 44px; top: 76px; transform: rotate(7deg); }
.back-two { left: 78px; bottom: 48px; transform: rotate(5deg); background: #73add2; }
.photo-two { right: 60px; bottom: 42px; transform: rotate(-6deg); }
.pair-ribbon {
  position: absolute; z-index: 6; right: 24px; bottom: 20px; padding: 13px 18px;
  color: white; background: #4ba57d; border: 4px solid #fffdf7; border-radius: 18px; font-weight: 900; transform: rotate(-7deg);
}

.section-block { margin-top: 52px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 0 8px; margin-bottom: 18px; }
.section-heading .eyebrow { margin-bottom: 6px; }
.section-heading h2, .album-callout h2 { margin-bottom: 0; font-size: 31px; letter-spacing: -.035em; }
.section-heading > p { margin-bottom: 4px; color: #748985; }
.steps-grid, .mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { position: relative; min-height: 212px; padding: 26px; border-radius: 28px; }
.step-number {
  position: absolute; top: 17px; right: 17px; width: 36px; height: 36px; display: grid; place-items: center;
  color: #805d16; background: #ffedb7; border-radius: 50%; font: 700 15px Georgia, serif;
}
.step-symbol {
  width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 18px;
  color: white; background: #315761; border-radius: 18px; box-shadow: 0 7px 0 rgba(35,74,71,.18); font-size: 30px;
}
.step-card:nth-child(2) .step-symbol { background: #ef7468; }
.step-card:nth-child(3) .step-symbol { color: #5b470c; background: #f3b93e; }
.step-card h3 { margin-bottom: 8px; font-size: 21px; }
.step-card p { margin-bottom: 0; color: #6d837e; line-height: 1.5; }

.mode-card { overflow: hidden; border-radius: 30px; }
.mode-preview {
  position: relative; height: 190px; overflow: hidden;
  background: color-mix(in srgb, var(--mode) 16%, #fff8e5);
  border-bottom: 1px solid #ded2b1;
}
.mode-preview::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, color-mix(in srgb, var(--mode) 42%, transparent) 0 1.5px, transparent 2px) 0 0/22px 22px; opacity: .28; }
.mode-preview > span {
  --rotation: calc((var(--i) - 1) * 7deg); position: absolute; left: calc(50% + (var(--i) - 1) * 70px); top: 25px;
  width: 112px; height: 130px; padding: 8px; transform: translateX(-50%) rotate(var(--rotation));
  background: #fffdf7; border: 2px solid #dbcda8; box-shadow: 0 10px 16px rgba(75,67,43,.17);
}
.mode-preview img { width: 100%; height: 100%; object-fit: contain; }
.mode-preview > b { position: absolute; right: 14px; bottom: 13px; padding: 7px 10px; color: white; background: var(--mode); border: 3px solid #fffdf7; border-radius: 12px; font-size: 12px; }
.mode-copy { padding: 23px 22px 25px; }
.mode-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; color: var(--mode); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.mode-label b { padding: 6px 8px; color: white; background: var(--mode); border-radius: 8px; letter-spacing: 0; }
.mode-card h3 { margin-bottom: 8px; font-size: 25px; }
.mode-card p { min-height: 42px; margin-bottom: 16px; color: #6c837e; line-height: 1.4; }
.mode-meta { display: flex; justify-content: space-between; margin-bottom: 18px; color: #69817c; font-size: 13px; }
.mode-card .button { width: 100%; background: var(--mode); box-shadow: 0 6px 0 color-mix(in srgb, var(--mode) 70%, #244a47); }
.mini-stars { color: #d9d1b9; letter-spacing: 1px; }
.mini-stars .filled, .result-stars .filled { color: #efa51e; }

.album-callout {
  min-height: 210px; display: grid; grid-template-columns: 245px 1fr auto; align-items: center; gap: 28px;
  margin-top: 52px; padding: 28px 34px; border-radius: 32px;
}
.album-callout p { max-width: 520px; margin: 8px 0 0; color: #6e837f; line-height: 1.5; }
.album-preview { position: relative; height: 145px; }
.album-preview > span {
  position: absolute; top: 8px; width: 112px; height: 126px; padding: 7px; background: #fff9e9; border: 2px solid #d9c99f; box-shadow: 0 9px 0 rgba(92,80,45,.12);
}
.album-preview > span:first-child { left: 10px; transform: rotate(-5deg); }
.album-preview > span:nth-child(2) { right: 8px; transform: rotate(5deg); }
.album-preview img { width: 100%; height: 100%; object-fit: contain; }
.album-preview b { position: absolute; z-index: 2; left: 50%; bottom: 2px; transform: translateX(-50%) rotate(-2deg); padding: 6px 13px; color: white; background: #ef7468; border: 3px solid #fffdf7; border-radius: 9px; font-size: 11px; }
.parent-note { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 18px 24px; color: #68817c; border: 2px dashed #dac792; border-radius: 20px; }
.parent-note > span { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; color: white; background: #4ba57d; border-radius: 50%; font: 700 18px Georgia, serif; }
.parent-note p { margin: 0; line-height: 1.45; }

.game-shell { padding: 22px; border-radius: 34px; }
.game-toolbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.back-button, .hint-button {
  min-height: 46px; padding: 10px 15px; border: 2px solid #dfd3b3; border-radius: 14px; color: #274f4b; background: #fffdf7; font-weight: 800; cursor: pointer;
}
.back-button { justify-self: start; }
.hint-button { justify-self: end; color: #795812; background: #ffecb7; border-color: #e6c15c; }
.hint-button > span { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 4px; color: white; background: #e6a42e; border-radius: 9px; }
.field-title { text-align: center; }
.field-title span { display: block; color: #758a85; font-size: 12px; }
.field-title strong { display: block; margin-top: 4px; font-size: 18px; }
.progress-track { height: 10px; margin: 18px 4px 20px; overflow: hidden; background: #e9e3d3; border-radius: 99px; }
.progress-track span { display: block; height: 100%; background: var(--mode); border-radius: inherit; transition: width .3s ease; }
.game-note { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 6px 8px 18px; }
.game-note .eyebrow { margin-bottom: 7px; color: var(--mode); }
.game-note h1 { margin-bottom: 0; font-size: 30px; letter-spacing: -.04em; }
.game-counters { display: flex; gap: 8px; }
.game-counters > span { min-width: 82px; padding: 9px 12px; text-align: center; background: #f8f3e6; border: 2px solid #e1d7bb; border-radius: 15px; }
.game-counters b, .game-counters small { display: block; }
.game-counters b { font-size: 20px; }
.game-counters small { color: #728681; font-size: 11px; }

.memory-board {
  display: grid; grid-template-columns: repeat(var(--columns), minmax(0, 1fr)); gap: 12px;
  padding: 20px; background: color-mix(in srgb, var(--mode) 12%, #f9f4e6); border: 2px solid #dfd3b3; border-radius: 28px;
}
.memory-card {
  position: relative; min-width: 0; aspect-ratio: .78; padding: 0; overflow: hidden;
  border: 3px solid #fff8e8; border-radius: 17px; background: #fffdf7;
  box-shadow: 0 7px 0 rgba(88,78,50,.15), 0 10px 16px rgba(88,78,50,.08); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .2s ease;
}
.memory-card:hover:not(:disabled) { transform: translateY(-3px) rotate(-1deg); }
.memory-card:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 3px 0 rgba(88,78,50,.15); }
.card-back, .card-front { position: absolute; inset: 0; }
.card-back {
  display: grid; place-content: center; gap: 8px; color: white;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.28) 0 2px, transparent 3px) 0 0/22px 22px,
    linear-gradient(145deg, color-mix(in srgb, var(--mode) 86%, #fff), var(--mode));
}
.card-back::before { content: ""; position: absolute; inset: 9px; border: 2px dashed rgba(255,255,255,.66); border-radius: 11px; }
.card-back i { position: relative; font-size: clamp(20px, 3vw, 35px); font-style: normal; }
.card-back small { position: relative; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.card-front { display: none; grid-template-rows: auto 1fr auto; padding: 8px 7px 9px; background: #fffdf7; }
.card-front::before { content: ""; position: absolute; width: 38%; height: 9px; top: 3px; left: 50%; transform: translate(-50%,-50%); background: rgba(255,221,126,.76); }
.card-role { position: relative; z-index: 1; align-self: start; justify-self: center; padding: 3px 7px; color: #765c20; background: #fff0bd; border-radius: 7px; font-size: clamp(7px, 1vw, 10px); font-weight: 900; letter-spacing: .05em; }
.card-front img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.card-front strong { overflow: hidden; color: #284f4b; font-size: clamp(9px, 1.15vw, 13px); white-space: nowrap; text-overflow: ellipsis; }
.match-mark { display: none; position: absolute; right: 5px; bottom: 5px; width: 25px; height: 25px; place-items: center; color: white; background: #4ba57d; border: 3px solid #fff; border-radius: 50%; font-style: normal; font-weight: 900; }
.memory-card.is-open .card-back { display: none; }
.memory-card.is-open .card-front { display: grid; }
.memory-card.is-hint { border-color: #f0b63a; box-shadow: 0 0 0 4px #ffeab0, 0 7px 0 rgba(88,78,50,.15); }
.memory-card.is-matched { border-color: #4ba57d; box-shadow: 0 0 0 3px #d7f1e3, 0 7px 0 rgba(45,126,95,.22); }
.memory-card.is-matched .match-mark { display: grid; }

.feedback-slot { margin-top: 16px; }
.feedback { min-height: 76px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 13px; padding: 12px 16px; border: 2px solid #e1d7ba; border-radius: 18px; background: #f9f5e9; }
.feedback > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: white; background: #315761; font-weight: 900; }
.feedback p { margin: 0; line-height: 1.4; }
.feedback-try { background: #fff0e8; border-color: #efb6a6; }
.feedback-try > span { background: #ef7468; }
.feedback-success, .feedback-complete { background: #eaf7ed; border-color: #aad5b6; }
.feedback-success > span, .feedback-complete > span { background: #4ba57d; }
.feedback-hint { background: #fff6d8; border-color: #e9cb6c; }
.feedback-hint > span { color: #6a4b0c; background: #f2bc43; }

.field-result, .mode-result {
  max-width: 920px; min-height: 610px; margin: 44px auto 0; padding: 52px 70px;
  text-align: center; border-radius: 42px; overflow: hidden;
}
.result-stamp { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 20px; color: white; background: var(--mode); border: 5px solid color-mix(in srgb, var(--mode) 24%, #fff); border-radius: 19px; font-size: 27px; font-weight: 900; transform: rotate(-4deg); }
.field-result h1, .mode-result h1 { margin-bottom: 12px; font-size: clamp(38px, 5vw, 58px); letter-spacing: -.05em; }
.field-result > p, .mode-result > p { max-width: 690px; margin: 0 auto 22px; color: #69817c; font-size: 18px; line-height: 1.5; }
.result-family-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 22px auto; }
.result-family-strip > span { width: 66px; height: 66px; padding: 4px; background: #fff8e7; border: 3px solid color-mix(in srgb, var(--mode) 66%, #fff); border-radius: 50%; }
.result-family-strip img { width: 100%; height: 100%; object-fit: contain; }
.short-stats { max-width: 660px; display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px auto 28px; overflow: hidden; border: 2px solid #ddd1b0; border-radius: 19px; }
.short-stats > span { min-height: 76px; display: grid; place-content: center; padding: 9px; background: #faf6e9; }
.short-stats > span + span { border-left: 2px solid #ddd1b0; }
.short-stats b, .short-stats small { display: block; }
.short-stats b { font-size: 22px; }
.short-stats small { color: #70847f; }
.result-stars { margin: 18px 0; color: #d8d2c0; font-size: 42px; letter-spacing: 6px; }
.mode-result .result-actions { justify-content: center; }

.album-shell { padding: 30px; border-radius: 34px; }
.album-heading { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 24px; padding: 4px 2px 26px; }
.album-heading h1 { margin-bottom: 5px; font-size: 42px; letter-spacing: -.045em; }
.album-heading p { margin: 0; color: #6d837e; }
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.family-card { min-width: 0; min-height: 315px; padding: 17px; border: 2px solid #dfd3b2; border-radius: 24px; background: #fffaf0; }
.family-number { color: #9b6b22; font: 700 10px Georgia, serif; letter-spacing: .12em; }
.family-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; height: 190px; margin: 10px 0 13px; }
.family-pair > span { position: relative; min-width: 0; padding: 21px 5px 5px; background: #f1f2df; border: 2px solid #e0d5b8; border-radius: 17px; }
.family-pair small { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); color: #7b6a3c; font-size: 8px; font-weight: 900; }
.family-pair img { width: 100%; height: 100%; object-fit: contain; }
.family-card h2 { margin-bottom: 5px; font-size: 19px; }
.family-card p { margin: 0; color: #6e837f; font-size: 13px; }
.family-card.is-locked { display: grid; place-items: center; text-align: center; align-content: center; background: #f2eee2; border-style: dashed; }
.locked-family { width: 118px; height: 150px; display: grid; place-items: center; margin: 10px 0 16px; color: #a4946c; background: #e6dfcc; border: 3px dashed #c8b993; border-radius: 20px; font: 700 42px Georgia, serif; }
.family-card.is-locked h2 { margin-bottom: 5px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 46px 48px 36px; }
  .hero-table { min-height: 420px; border-left: 0; border-top: 1px solid #e2d6b4; }
  .album-callout { grid-template-columns: 210px 1fr; }
  .album-callout .button { grid-column: 2; justify-self: start; }
  .memory-board { --columns: 4 !important; }
  .family-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .app { width: min(100% - 20px, 1120px); padding-top: 10px; }
  .topbar { min-height: 62px; padding: 8px 11px; margin-bottom: 18px; border-radius: 20px; }
  .brand { grid-template-columns: 40px auto; gap: 8px; }
  .brand > span, .album-button > span { width: 40px; height: 40px; }
  .brand small { display: none; }
  .brand strong { font-size: 15px; }
  .album-button { grid-template-columns: 40px auto; column-gap: 7px; }
  .album-button strong { display: none; }
  .album-button small { align-self: center; font-size: 11px; }
  .hero { min-height: auto; border-radius: 30px; }
  .hero-copy { padding: 36px 25px 30px; }
  .hero h1 { font-size: 55px; }
  .hero-copy > p { font-size: 17px; }
  .hero-actions .button { flex: 1 1 190px; }
  .hero-table { min-height: 360px; }
  .hero-card { width: 112px; }
  .back-one { left: 32px; top: 74px; }
  .photo-one { right: 28px; top: 66px; }
  .back-two { left: 58px; bottom: 38px; }
  .photo-two { right: 46px; bottom: 34px; }
  .section-heading { align-items: start; }
  .section-heading > p { display: none; }
  .steps-grid, .mode-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 190px; }
  .album-callout { grid-template-columns: 1fr; padding: 25px; text-align: center; }
  .album-preview { width: min(245px, 100%); margin: 0 auto; }
  .album-callout .button { grid-column: auto; justify-self: stretch; }
  .game-shell { padding: 12px; border-radius: 25px; }
  .game-toolbar { grid-template-columns: 1fr 1fr; }
  .field-title { grid-column: 1 / -1; grid-row: 1; }
  .back-button { grid-column: 1; grid-row: 2; width: 100%; }
  .hint-button { grid-column: 2; grid-row: 2; width: 100%; }
  .game-note { align-items: start; padding: 4px 3px 14px; }
  .game-note h1 { font-size: 24px; }
  .game-note .eyebrow { font-size: 9px; }
  .game-counters > span { min-width: 67px; padding: 7px; }
  .memory-board { gap: 8px; padding: 10px; border-radius: 20px; }
  .memory-card { border-width: 2px; border-radius: 12px; }
  .card-front { padding: 6px 4px 7px; }
  .card-role { padding: 2px 4px; font-size: 7px; }
  .card-front strong { font-size: 9px; }
  .match-mark { width: 20px; height: 20px; border-width: 2px; font-size: 11px; }
  .feedback { grid-template-columns: 36px 1fr; min-height: 72px; padding: 10px; }
  .feedback > span { width: 34px; height: 34px; }
  .feedback .button { grid-column: 1 / -1; width: 100%; }
  .field-result, .mode-result { min-height: 0; margin-top: 22px; padding: 36px 19px; border-radius: 30px; }
  .field-result h1, .mode-result h1 { font-size: 38px; }
  .result-family-strip > span { width: 52px; height: 52px; }
  .short-stats small { font-size: 10px; }
  .result-actions .button { width: 100%; }
  .album-shell { padding: 16px; border-radius: 26px; }
  .album-heading { grid-template-columns: 1fr; gap: 16px; }
  .album-heading .back-button { grid-column: auto; grid-row: auto; width: auto; justify-self: start; }
  .album-heading h1 { font-size: 35px; }
  .family-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .hero-table { min-height: 330px; }
  .hero-card { width: 102px; }
  .back-one { left: 24px; }
  .photo-one { right: 20px; }
  .back-two { left: 43px; }
  .photo-two { right: 35px; }
  .game-note { display: block; }
  .game-counters { margin-top: 12px; }
  .game-counters > span { flex: 1; }
  .memory-board { gap: 6px; padding: 8px; }
  .card-back::before { inset: 5px; }
  .card-back small { font-size: 7px; }
  .card-front strong { font-size: 8px; }
  .short-stats { grid-template-columns: 1fr; }
  .short-stats > span { min-height: 62px; }
  .short-stats > span + span { border-left: 0; border-top: 2px solid #ddd1b0; }
}

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