:root {
  --ink: #15231d;
  --ink-soft: #59655f;
  --green-950: #053d29;
  --green-800: #087247;
  --green-650: #0b9253;
  --green-500: #19b866;
  --green-100: #ddf3e6;
  --mint: #f1faf5;
  --paper: #fffefa;
  --white: #ffffff;
  --line: #d6e4da;
  --sun: #f4c64f;
  --coral: #e76452;
  --shadow: 0 24px 70px rgba(5, 61, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

[hidden] {
  display: none !important;
}

button,
input {
  font: inherit;
}

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

button {
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
p {
  margin-top: 0;
}

svg {
  display: block;
  flex: 0 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 13px;
  transform: translateY(-160%);
  border-radius: 5px;
  background: var(--green-950);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

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

.topbar {
  width: min(1160px, calc(100% - 36px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 0;
  background: transparent;
  color: var(--green-950);
  cursor: pointer;
  font-size: 17px;
  font-weight: 850;
}

.clover-mark {
  position: relative;
  width: 30px;
  height: 30px;
  display: inline-block;
  flex: 0 0 auto;
  transform: rotate(45deg);
}

.clover-mark span {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 8px 8px 3px 8px;
  background: var(--green-500);
}

.clover-mark span:nth-child(1) { inset: 0 auto auto 0; }
.clover-mark span:nth-child(2) { inset: 0 0 auto auto; transform: rotate(90deg); }
.clover-mark span:nth-child(3) { inset: auto 0 0 auto; transform: rotate(180deg); }
.clover-mark span:nth-child(4) { inset: auto auto 0 0; transform: rotate(270deg); }

.history-link,
.source-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.history-link svg,
.source-note svg {
  width: 18px;
  height: 18px;
}

.history-link:hover {
  color: var(--green-800);
}

.hero {
  width: min(1160px, calc(100% - 36px));
  min-height: 650px;
  margin: 0 auto;
  padding: 48px 0 74px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  gap: 90px;
  align-items: center;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 19px;
  padding: 8px 12px;
  border-left: 3px solid var(--sun);
  background: var(--mint);
  color: var(--green-800);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow--error {
  border-left-color: var(--coral);
  background: #fff1ee;
  color: #a53e31;
}

h1 {
  margin-bottom: 23px;
  color: var(--green-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 68px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.hero-description,
.flow-description {
  max-width: 590px;
  margin-bottom: 25px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.58;
}

.source-note svg {
  color: var(--green-650);
}

.capture-panel {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.capture-panel::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 24px;
  width: 62px;
  height: 14px;
  background: var(--sun);
}

.capture-visual {
  position: relative;
  height: 160px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--mint);
}

.capture-visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 40px;
  left: 40px;
  height: 2px;
  background: var(--green-500);
  box-shadow: 0 0 14px rgba(25, 184, 102, 0.5);
  animation: scanner 2.8s ease-in-out infinite;
}

.scan-icon {
  width: 67px;
  height: 67px;
  color: var(--green-950);
  stroke-width: 1.7;
}

.focus-corner {
  position: absolute;
  width: 27px;
  height: 27px;
  border-color: var(--green-500);
  border-style: solid;
}

.focus-corner--one { top: 20px; left: 20px; border-width: 3px 0 0 3px; }
.focus-corner--two { top: 20px; right: 20px; border-width: 3px 3px 0 0; }
.focus-corner--three { right: 20px; bottom: 20px; border-width: 0 3px 3px 0; }
.focus-corner--four { bottom: 20px; left: 20px; border-width: 0 0 3px 3px; }

.capture-copy h2 {
  margin-bottom: 8px;
  color: var(--green-950);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.capture-copy p {
  margin-bottom: 21px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.capture-button,
.gallery-button,
.primary-action {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.capture-button svg,
.gallery-button svg,
.primary-action svg {
  width: 20px;
  height: 20px;
}

.capture-button,
.primary-action {
  width: 100%;
  border: 1px solid var(--green-800);
  background: var(--green-800);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(8, 114, 71, 0.2);
}

.capture-button:hover,
.primary-action:hover {
  border-color: var(--green-950);
  background: var(--green-950);
  transform: translateY(-1px);
}

.gallery-button {
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--green-950);
}

.gallery-button:hover {
  background: var(--mint);
}

.capture-button:focus-within,
.gallery-button:focus-within,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(244, 198, 79, 0.75);
  outline-offset: 3px;
}

.capture-button input,
.gallery-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.privacy-note {
  margin: 14px 0 0;
  color: #748079;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.flow-screen {
  width: min(720px, calc(100% - 36px));
  min-height: 650px;
  margin: 0 auto;
  padding: 82px 0 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.flow-screen .eyebrow {
  margin-right: auto;
  margin-left: auto;
}

.flow-screen h1 {
  max-width: 680px;
  font-size: 52px;
}

.flow-description {
  margin-right: auto;
  margin-left: auto;
  font-size: 17px;
}

.loading-clover {
  position: relative;
  width: 124px;
  height: 124px;
  margin-bottom: 34px;
  display: grid;
  place-items: center;
}

.loading-clover .clover-mark {
  width: 58px;
  height: 58px;
}

.loading-clover .clover-mark span {
  width: 26px;
  height: 26px;
  border-radius: 15px 15px 5px 15px;
}

.clover-mark--animated {
  animation: clover-turn 2.3s ease-in-out infinite;
}

.clover-mark--animated span {
  animation: leaf-pulse 1.15s ease-in-out infinite alternate;
}

.clover-mark--animated span:nth-child(2) { animation-delay: 150ms; }
.clover-mark--animated span:nth-child(3) { animation-delay: 300ms; }
.clover-mark--animated span:nth-child(4) { animation-delay: 450ms; }

.loading-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--green-100);
  border-top: 3px solid var(--sun);
  border-radius: 50%;
  animation: ring-turn 1.4s linear infinite;
}

.progress-block {
  width: min(100%, 520px);
  margin-top: 25px;
}

.progress-label {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 13px;
}

.progress-label strong {
  color: var(--green-800);
}

.progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--green-100);
}

.progress-track span {
  width: 5%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--green-500);
  transition: width 300ms ease;
}

.error-icon,
.result-check {
  width: 62px;
  height: 62px;
  margin-bottom: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.error-icon svg,
.result-check svg {
  width: 30px;
  height: 30px;
}

.error-icon {
  background: #fff0ed;
  color: var(--coral);
}

.compact-action {
  width: min(100%, 320px);
  margin-top: 12px;
}

.result-section {
  padding: 56px 0 76px;
}

.result-inner {
  width: min(820px, calc(100% - 36px));
  margin: 0 auto;
}

.result-heading {
  margin-bottom: 36px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.result-check {
  flex: 0 0 auto;
  margin: 2px 0 0;
  background: var(--green-100);
  color: var(--green-800);
}

.result-heading h1 {
  margin-bottom: 11px;
  font-size: 48px;
}

.result-heading .eyebrow {
  margin-bottom: 13px;
}

.result-meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.winner-alert {
  margin-bottom: 36px;
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid #e7bf4a;
  border-radius: 8px;
  background: #fff9e7;
  color: #604b0c;
}

.winner-alert > svg {
  width: 29px;
  height: 29px;
  color: #a47400;
}

.winner-alert strong {
  display: block;
  margin-bottom: 5px;
  font-size: 17px;
}

.winner-alert p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.draw-result,
.games-result {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.games-result {
  border-bottom: 1px solid var(--line);
}

.section-label {
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.section-label span {
  color: var(--green-950);
  font-size: 16px;
  font-weight: 850;
}

.section-label small {
  color: var(--ink-soft);
  font-size: 12px;
}

.number-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.number-ball {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.draw-result .number-ball {
  border-color: var(--green-800);
  background: var(--green-800);
  color: var(--white);
}

.number-ball--hit {
  border: 2px solid var(--green-650);
  background: var(--green-100);
  color: var(--green-950);
  box-shadow: inset 0 0 0 3px var(--white);
}

.game-row {
  padding: 23px 0;
  border-top: 1px solid #e9efeb;
}

.game-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.game-row:last-child {
  padding-bottom: 0;
}

.game-summary {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.game-summary > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.game-name {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.game-summary strong {
  color: var(--green-950);
  font-size: 16px;
}

.prize-label {
  padding: 6px 9px;
  border-radius: 5px;
  background: var(--sun);
  color: #574100;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.result-action {
  width: min(100%, 290px);
  margin: 30px auto 0;
}

.confidence-strip {
  min-height: 94px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  background: var(--green-950);
  color: var(--white);
}

.confidence-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
}

.confidence-strip span svg {
  width: 17px;
  height: 17px;
}

.confidence-strip > svg {
  width: 15px;
  height: 15px;
  color: var(--sun);
}

.history-section {
  padding: 86px 0 94px;
  background: #f5f7f5;
}

.history-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.history-heading {
  margin-bottom: 31px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.history-heading .eyebrow {
  margin-bottom: 13px;
}

.history-heading h2 {
  margin: 0;
  color: var(--green-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: 0;
}

.history-tabs {
  padding: 4px;
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.history-tabs button {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.history-tabs button svg {
  width: 15px;
  height: 15px;
}

.history-tabs button.is-active {
  background: var(--green-950);
  color: var(--white);
}

.history-table {
  border-top: 1px solid var(--line);
}

.history-row {
  padding: 19px 10px;
  display: grid;
  grid-template-columns: 105px 82px minmax(210px, 1fr) minmax(310px, 1.7fr) 130px;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
}

.history-row--head {
  min-height: 45px;
  padding-top: 12px;
  padding-bottom: 12px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.history-cell {
  min-width: 0;
  color: var(--ink);
  font-size: 12px;
}

.history-category {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green-950);
  font-weight: 850;
}

.history-category svg {
  width: 15px;
  height: 15px;
  color: #a47400;
}

.history-contest,
.history-date {
  font-weight: 750;
}

.history-date {
  color: var(--ink-soft);
  line-height: 1.4;
}

.number-list--compact {
  gap: 4px;
}

.number-list--compact .number-ball {
  width: 27px;
  height: 27px;
  border-width: 1px;
  box-shadow: none;
  font-size: 9px;
}

.history-game {
  display: flex;
  align-items: center;
  gap: 6px;
}

.history-game + .history-game {
  margin-top: 6px;
}

.history-game-label {
  width: 18px;
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 850;
}

.history-empty {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.history-empty svg {
  width: 22px;
  height: 22px;
}

.history-empty p {
  margin: 0;
  font-size: 13px;
}

.history-limit {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  text-align: right;
}

.footer {
  width: min(1180px, calc(100% - 36px));
  min-height: 155px;
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--ink-soft);
  font-size: 11px;
}

.footer > div {
  max-width: 620px;
}

.footer-brand {
  margin-bottom: 9px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green-950);
  font-size: 14px;
  font-weight: 850;
}

.footer-brand .clover-mark {
  width: 22px;
  height: 22px;
}

.footer-brand .clover-mark span {
  width: 10px;
  height: 10px;
}

.footer p {
  margin: 0;
  line-height: 1.5;
}


.seo-section {
  padding: 78px 0 72px;
  background: var(--paper);
}

.seo-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
  gap: 50px;
  align-items: start;
}

.seo-copy h2,
.faq-section h2,
.legal-hero h1 {
  color: var(--green-950);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
  letter-spacing: 0;
}

.seo-copy h2,
.faq-section h2 {
  margin-bottom: 18px;
  font-size: 42px;
}

.seo-copy p,
.legal-hero p,
.legal-content p,
.legal-content li,
.faq-list p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.seo-copy p {
  max-width: 720px;
  font-size: 16px;
}

.seo-points {
  display: grid;
  gap: 12px;
}

.seo-points div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.seo-points strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-950);
  font-size: 15px;
}

.seo-points span {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.faq-section {
  padding: 76px 0;
  background: #f5f7f5;
}

.faq-inner {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-list summary {
  padding: 18px 20px;
  color: var(--green-950);
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  font-size: 14px;
}

.legal-page {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0 84px;
}

.legal-hero {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 54px;
}

.legal-hero p {
  max-width: 760px;
  font-size: 18px;
}

.legal-hero small {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
}

.legal-content {
  padding-top: 16px;
}

.legal-content section {
  padding: 24px 0;
  border-bottom: 1px solid #e7eee9;
}

.legal-content h2 {
  margin-bottom: 12px;
  color: var(--green-950);
  font-size: 22px;
  line-height: 1.25;
}

.legal-content p,
.legal-content li {
  font-size: 15px;
}

.legal-content ul {
  margin: 0;
  padding-left: 22px;
}

.legal-content a {
  color: var(--green-800);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a {
  color: var(--green-950);
  font-size: 11px;
  font-weight: 850;
}

.footer-links a:hover {
  color: var(--green-800);
}
.noscript-message {
  position: fixed;
  z-index: 99;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 14px;
  border-radius: 6px;
  background: var(--coral);
  color: var(--white);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

@keyframes scanner {
  0%, 100% { transform: translateY(-35px); opacity: 0.55; }
  50% { transform: translateY(35px); opacity: 1; }
}

@keyframes ring-turn {
  to { transform: rotate(360deg); }
}

@keyframes clover-turn {
  0%, 100% { transform: rotate(45deg) scale(1); }
  50% { transform: rotate(135deg) scale(1.06); }
}

@keyframes leaf-pulse {
  to { background: var(--green-800); }
}

@media (max-width: 930px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    gap: 46px;
  }

  h1 {
    font-size: 54px;
  }

  .history-row {
    grid-template-columns: 90px 72px minmax(190px, 1fr) minmax(280px, 1.5fr) 115px;
    gap: 12px;
  }
}

@media (max-width: 760px) {
  .topbar {
    height: 66px;
  }

  .history-link span {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 34px 0 52px;
    grid-template-columns: 1fr;
    gap: 31px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .eyebrow,
  .source-note {
    margin-right: auto;
    margin-left: auto;
  }

  h1 {
    font-size: 46px;
    line-height: 1.02;
  }

  .hero-description {
    margin-right: auto;
    margin-left: auto;
    font-size: 17px;
  }

  .capture-panel {
    width: min(100%, 470px);
    margin: 0 auto;
  }

  .flow-screen {
    min-height: 620px;
    padding-top: 55px;
  }

  .flow-screen h1,
  .result-heading h1 {
    font-size: 40px;
  }

  .result-heading {
    display: block;
  }

  .result-check {
    margin-bottom: 20px;
  }

  .history-section {
    padding: 66px 0 72px;
  }

  .history-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .history-tabs {
    width: 100%;
  }

  .history-tabs button {
    flex: 1;
  }

  .history-row--head {
    display: none;
  }

  .history-row {
    padding: 22px 2px;
    grid-template-columns: 1fr auto;
    gap: 15px 20px;
    background: transparent;
  }

  .history-cell::before {
    content: attr(data-label);
    margin-bottom: 7px;
    display: block;
    color: var(--ink-soft);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .history-category,
  .history-contest {
    display: block;
  }

  .history-category > span {
    margin-right: 6px;
  }

  .history-numbers,
  .history-games,
  .history-date {
    grid-column: 1 / -1;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .seo-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .seo-copy h2,
  .faq-section h2,
  .legal-hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .topbar,
  .hero,
  .result-inner,
  .history-inner,
  .footer {
    width: calc(100% - 28px);
  }

  .brand {
    font-size: 16px;
  }

  .hero {
    padding-top: 25px;
    gap: 27px;
  }

  h1 {
    margin-bottom: 17px;
    font-size: 39px;
  }

  .hero-description {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .source-note {
    font-size: 11px;
  }

  .capture-panel {
    padding: 21px;
  }

  .capture-visual {
    height: 128px;
  }

  .capture-copy h2 {
    font-size: 20px;
  }

  .capture-copy p {
    font-size: 13px;
  }

  .flow-screen {
    width: calc(100% - 28px);
    min-height: 580px;
  }

  .flow-screen h1,
  .result-heading h1 {
    font-size: 35px;
  }

  .result-section {
    padding-top: 42px;
  }

  .section-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .number-ball {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .game-summary > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .winner-alert {
    padding: 18px;
  }

  .confidence-strip {
    gap: 8px;
  }

  .confidence-strip span {
    gap: 4px;
    font-size: 10px;
  }

  .confidence-strip > svg {
    width: 12px;
  }

  .history-heading h2 {
    font-size: 31px;
  }

  .history-tabs button {
    padding: 0 8px;
    font-size: 11px;
  }

  .footer {
    min-height: 190px;
  }
  .seo-section,
  .faq-section {
    padding: 56px 0;
  }

  .seo-inner,
  .faq-inner,
  .legal-page {
    width: calc(100% - 28px);
  }

  .seo-copy h2,
  .faq-section h2,
  .legal-hero h1 {
    font-size: 32px;
  }

  .legal-page {
    padding-top: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
