/* Mootation Milk Bar: pastel milk bar. Striped awning, soft round shapes, sticker badges.
 * Nunito (SIL OFL, assets/OFL-nunito.txt). */
@font-face {
  font-family: 'Nunito';
  src: url('/assets/nunito-latin-400-normal.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('/assets/nunito-latin-800-normal.woff2') format('woff2');
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fff8f1;
  --ink: #2d2a4a;
  --muted: #5c5677;
  --accent: #b8325f;
  --accent-ink: #ffffff;
  --surface: #e3f5ea;
  --line: #f2c6d4;
  --pink: #fbd3df;
  --mint: #c9ecd8;
  --butter: #fdeeb4;
  --radius: 28px;
  --font: 'Nunito', ui-rounded, 'Arial Rounded MT Bold', system-ui, sans-serif;
  font-family: var(--font);
}
body { background: var(--bg); color: var(--ink); overflow-x: clip; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* Striped awning with a scalloped edge, full bleed above the header. */
.site-header { position: relative; padding-top: 56px; text-align: center; }
.site-header::before {
  content: ''; position: absolute; top: 0; left: 50%; width: 100vw; height: 36px; transform: translateX(-50%);
  background: repeating-linear-gradient(90deg, #f59ab9 0 30px, #ffffff 30px 60px);
  -webkit-mask: radial-gradient(circle 15px at 15px 20px, #000 98%, #0000) 0 0 / 30px 36px repeat-x, linear-gradient(#000 0 0) top / 100% 20px no-repeat;
  mask: radial-gradient(circle 15px at 15px 20px, #000 98%, #0000) 0 0 / 30px 36px repeat-x, linear-gradient(#000 0 0) top / 100% 20px no-repeat;
}
.site-brand { flex-direction: column; gap: 6px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; }
.site-logo { width: 72px; height: 72px; }
.site-tagline { color: var(--muted); font-size: 0.95rem; }

.report-intro { text-align: center; }
.mb-sticker {
  display: inline-block; margin: 8px 0 12px; padding: 4px 14px; border-radius: 999px; transform: rotate(-3deg);
  background: var(--butter); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.04em;
}
.report-title { margin: 0; font-size: clamp(2rem, 8vw, 3rem); font-weight: 800; line-height: 1.1; }
.report-title::after { content: ''; display: block; width: 96px; height: 8px; margin: 14px auto 0; border-radius: 8px; background: repeating-linear-gradient(90deg, #f59ab9 0 16px, #9fd9b9 16px 32px, #f7d86b 32px 48px); }
.report-tagline { font-size: 1.1rem; margin: 14px auto 8px; max-width: 30em; }
.report-asks { color: var(--muted); font-size: 0.9rem; }

.widget { background: var(--surface); border-radius: var(--radius); padding: 24px 18px; margin: 24px 0; box-shadow: 0 6px 0 #9fd9b9; }
.widget-hint, .widget-msg { color: var(--muted); font-weight: 600; }
.widget-qrbox svg { background: #fff; padding: 10px; border-radius: 20px; border: 4px solid var(--pink); }
.widget-link, .widget-again { font-weight: 800; padding: 14px 26px; box-shadow: 0 4px 0 #7d1f40; }
.widget-link:active, .widget-again:active { transform: translateY(2px); box-shadow: 0 2px 0 #7d1f40; }
.widget-error { color: #9e1f45; }

.result { position: relative; background: #fff; border-radius: 22px; padding: 22px 18px 6px; margin-bottom: 16px; }
.mb-AA { background: #ffffff; border: 4px solid #9fd9b9; }
.mb-AG { background: #fffaf0; border: 4px solid #f7d86b; }
.mb-GG { background: #fff5f8; border: 4px solid #f59ab9; }
.result-missing, .result-nocall, .result-unexpected { border: 4px dashed var(--line); }
.result-reading { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-weight: 700; color: var(--muted); }
.result-genotype {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; transform: rotate(-8deg);
  background: var(--accent); color: #fff; font-size: 1.15rem; letter-spacing: 0.05em; box-shadow: 0 3px 0 #7d1f40;
}
.result-headline { margin: 0 0 10px; font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 800; line-height: 1.15; }
.result-body { font-size: 1.05rem; }
.result-fact { background: var(--butter); border-radius: 16px; padding: 12px 14px; }
.result-disclaimer { color: var(--muted); font-size: 0.85rem; }

.site-footer { text-align: center; color: var(--muted); }
.site-footer p { margin: 4px 0; }
.not-found { text-align: center; } .not-found h1 { font-size: clamp(2rem, 8vw, 3rem); font-weight: 800; margin: 8px 0; }
