:root {
  --green-950: #05291f;
  --green-900: #073b2d;
  --green-800: #07543c;
  --green-700: #0a6c4c;
  --gold-700: #9d6f22;
  --gold-500: #d7a84c;
  --gold-300: #ffe2a0;
  --red-900: #8f1109;
  --red-700: #b71910;
  --cream: #fff8e9;
  --paper: #fffdf4;
  --line: #e2b768;
  --ink: #221b13;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Microsoft YaHei", "PingFang SC", "SimHei", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0, rgba(255, 226, 160, 0.25), transparent 260px),
    url("./img/bj.jpg") center top / min(1024px, 100vw) auto no-repeat,
    linear-gradient(180deg, #05291f, #0a513b 360px, #ece0c6);
}

.page {
  padding: 14px 8px;
}

.poster {
  position: relative;
  width: min(938px, 100%);
  min-height: auto;
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 253, 244, 0.84), rgba(255, 253, 244, 0.9)),
    url("./img/bj.jpg") center top / 100% auto repeat-y,
    var(--paper);
  border: 5px solid var(--green-950);
  box-shadow: 0 0 0 3px var(--gold-500), 0 18px 60px rgba(0, 0, 0, 0.24);
}

.poster::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 3;
  border: 2px solid var(--gold-500);
  pointer-events: none;
}

.hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  color: #fff7ca;
  background: #063226;
  border-bottom: 5px solid var(--gold-500);
}

.hero::before {
  display: none;
}

.banner-img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-overlay {
  position: absolute;
  left: 24%;
  right: 23%;
  top: 31%;
  display: grid;
  place-items: center;
  text-align: center;
}

.corner-deco {
  display: none;
}

.corner-deco.left {
  left: 12px;
  border-left: 5px solid var(--gold-500);
  border-radius: 22px 0 0;
}

.corner-deco.right {
  right: 12px;
  border-right: 5px solid var(--gold-500);
  border-radius: 0 22px 0 0;
}

.macau-flag {
  display: none;
}

.macau-flag i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-300);
}

.macau-flag i:nth-of-type(1) { left: 44px; top: 8px; }
.macau-flag i:nth-of-type(2) { left: 24px; top: 26px; }
.macau-flag i:nth-of-type(3) { left: 66px; top: 26px; }
.macau-flag i:nth-of-type(4) { left: 34px; top: 48px; }
.macau-flag i:nth-of-type(5) { left: 58px; top: 48px; }

.lotus-icon,
.lotus-icon::before,
.lotus-icon::after {
  position: absolute;
  display: block;
  width: 52px;
  height: 64px;
  border-radius: 50% 50% 18% 18%;
  background: linear-gradient(180deg, #fff, #f3f1dc);
}

.lotus-icon {
  left: 38px;
  top: 36px;
}

.lotus-icon::before,
.lotus-icon::after {
  content: "";
  top: 8px;
  transform-origin: bottom center;
}

.lotus-icon::before {
  left: -32px;
  transform: rotate(-42deg);
}

.lotus-icon::after {
  right: -32px;
  transform: rotate(42deg);
}

.city {
  display: none;
}

.left-city {
  left: 134px;
  width: 210px;
}

.right-city {
  right: 18px;
  width: 185px;
}

.horse-mark {
  display: none;
}

.horse-mark::before {
  content: "";
  position: absolute;
  right: -22px;
  top: -18px;
  width: 40px;
  height: 34px;
  border-radius: 50% 50% 35% 35%;
  background: #111;
  transform: rotate(20deg);
}

.hero-title {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: contents;
  padding-top: 0;
  text-align: center;
}

.hero-title p {
  display: none;
}

.hero-title h1,
.hero-overlay h1 {
  margin: 8px 0 14px;
  color: #fff0b8;
  font-size: clamp(34px, 7vw, 76px);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 3px 4px 0 #501008, 0 0 18px rgba(255, 233, 162, 0.92);
}

.hero-title strong {
  display: none;
}

.card,
.panel {
  position: relative;
  margin: 9px 18px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(rgba(255, 253, 244, 0.9), rgba(255, 253, 244, 0.94)),
    url("./img/gold-table-bg.png") center / cover no-repeat,
    var(--cream);
  box-shadow: 0 3px 0 rgba(117, 70, 18, 0.18);
}

.announcement {
  min-height: 174px;
  padding: 16px 22px 15px;
}

.announcement > * {
  position: relative;
  z-index: 2;
}

.announcement::before,
.announcement::after,
.wide-table::before,
.wide-table::after,
.calendar-panel::before,
.stats-panel::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 56px;
  height: 56px;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--gold-500) 0 3px, transparent 3px) left top / 22px 22px no-repeat,
    linear-gradient(var(--gold-500) 0 3px, transparent 3px) left top / 22px 22px no-repeat,
    radial-gradient(circle at 50% 75%, rgba(215, 168, 76, 0.22), transparent 28px);
}

.announcement::before,
.wide-table::before,
.calendar-panel::before {
  left: 12px;
  top: 12px;
}

.announcement::after,
.wide-table::after,
.stats-panel::after {
  right: 12px;
  top: 12px;
  transform: scaleX(-1);
}

.section-ribbon,
.wide-table h2,
.panel h2 {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -2px -2px 8px;
  border-radius: 12px 12px 0 0;
  color: #fff7c6;
  background:
    linear-gradient(90deg, rgba(255, 226, 160, 0.14), transparent 18%, transparent 82%, rgba(255, 226, 160, 0.14)),
    linear-gradient(180deg, #c42116, #8b1108);
  font-size: 27px;
  font-weight: 900;
  text-shadow: 1px 2px 0 #4e0c08;
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 184, 0.55),
    inset 0 -4px 0 rgba(70, 11, 6, 0.2);
}

.section-ribbon span::before,
.section-ribbon span::after {
  content: "✦";
  margin: 0 18px;
  color: var(--gold-300);
}

.period-line {
  margin: 0 0 9px;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.draw-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 144px;
  align-items: center;
  gap: 14px;
}

.draw-main {
  min-width: 0;
}

.draw-balls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 9px 0 11px;
}

.draw-balls b {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 4px solid #f7efe1;
  border-radius: 50%;
  color: #fff;
  font-size: 29px;
  font-weight: 900;
  box-shadow: inset 0 -9px 12px rgba(0, 0, 0, 0.28), 0 5px 11px rgba(67, 31, 0, 0.25);
}

.draw-balls em {
  font-size: 38px;
  font-style: normal;
  font-weight: 900;
}

.red { background: radial-gradient(circle at 32% 24%, #fff, #d82922 42%, #8c0e09 82%); }
.green { background: radial-gradient(circle at 32% 24%, #fff, #159361 42%, #07543c 82%); }
.blue { background: radial-gradient(circle at 32% 24%, #fff, #2c8be5 42%, #0a4a9b 82%); }

.source-line {
  width: min(82%, 680px);
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 8px auto 2px;
  padding: 6px 14px;
  border: 2px solid var(--gold-500);
  border-radius: 999px;
  color: #7d150d;
  background:
    linear-gradient(90deg, rgba(255, 232, 162, 0.45), rgba(255, 252, 238, 0.94), rgba(255, 232, 162, 0.45));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.68),
    0 3px 0 rgba(117, 70, 18, 0.16);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.source-line a {
  color: #07543c;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.qr-hanger {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 7px;
  border: 2px solid var(--gold-500);
  border-radius: 10px;
  background: #fffdf3;
  box-shadow: 0 3px 0 rgba(117, 70, 18, 0.16);
}

.qr-hanger img {
  width: 118px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border: 1px solid rgba(117, 70, 18, 0.26);
  border-radius: 5px;
  background: #fff;
}

.draw-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid var(--gold-500);
  border-radius: 999px;
  background: #fff6e5;
}

.draw-meta span {
  padding: 6px 8px;
  border-right: 1px solid var(--gold-500);
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.draw-meta span:last-child {
  border-right: 0;
}

.draw-meta b {
  color: #0c5a42;
}

.wide-table {
  padding: 0 0 6px;
}

.section-img-title {
  display: block;
  width: calc(100% - 16px);
  height: auto;
  margin: 6px auto 8px;
  border: 2px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 3px 0 rgba(117, 70, 18, 0.18);
}

.mini-banner {
  position: relative;
  min-height: 72px;
  display: grid;
  place-items: center;
  margin: 0 14px 10px;
  overflow: hidden;
  border: 2px solid var(--gold-500);
  border-radius: 10px;
  background:
    linear-gradient(rgba(6, 58, 43, 0.2), rgba(6, 58, 43, 0.24)),
    url("./img/banner.jpg") center 48% / cover no-repeat;
  box-shadow:
    inset 0 0 0 2px rgba(255, 246, 204, 0.25),
    0 3px 0 rgba(117, 70, 18, 0.16);
}

.mini-banner::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 226, 160, 0.78);
  border-radius: 7px;
}

.mini-banner span {
  position: relative;
  z-index: 1;
  padding: 7px 28px;
  border: 1px solid var(--gold-500);
  border-radius: 999px;
  color: #fff2bf;
  background: linear-gradient(180deg, rgba(196, 33, 22, 0.96), rgba(139, 17, 8, 0.96));
  font-size: 27px;
  font-weight: 900;
  text-shadow: 1px 2px 0 #4e0c08;
}

.wide-table h2 small,
.panel h2 small {
  margin-left: 8px;
  color: #ffe6a5;
  font-size: 22px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 252, 241, 0.92);
}

th,
td {
  height: 31px;
  padding: 4px 7px;
  border: 1px solid rgba(215, 168, 76, 0.72);
  color: #221b13;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

th {
  background: rgba(244, 223, 181, 0.55);
}

.wide-table table {
  margin: 0 4px;
  width: calc(100% - 8px);
}

.table-note {
  margin: 5px 0 0;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.table-note a {
  color: #07543c;
  font-weight: 900;
  text-decoration: none;
}

.grid.two,
.grid.bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 18px 8px;
}

.grid.two:has(> .panel:only-child) {
  grid-template-columns: 1fr;
}

.grid.two .panel,
.grid.bottom .panel {
  margin: 0;
}

.green-head h2 {
  background:
    linear-gradient(90deg, rgba(255, 226, 160, 0.14), transparent 18%, transparent 82%, rgba(255, 226, 160, 0.14)),
    linear-gradient(180deg, #08704e, #04422f);
}

.red-head h2 {
  background:
    linear-gradient(90deg, rgba(255, 226, 160, 0.14), transparent 18%, transparent 82%, rgba(255, 226, 160, 0.14)),
    linear-gradient(180deg, #c42116, #8b1108);
}

.green-head h2::before,
.green-head h2::after,
.red-head h2::before,
.red-head h2::after {
  content: "✤";
  margin: 0 12px;
  color: var(--gold-300);
  font-size: 22px;
}

.panel table {
  margin: 0 4px 6px;
  width: calc(100% - 8px);
}

.calendar-panel {
  padding-bottom: 12px;
}

.month-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  margin: 4px 12px 8px;
  color: #101010;
  font-size: 25px;
  font-weight: 900;
  text-align: center;
}

.month-head b {
  color: #b71910;
  font-size: 36px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin: 0 14px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(255, 252, 241, 0.88);
}

.calendar-grid > * {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
}

.calendar-grid strong {
  color: #8f1109;
  font-size: 15px;
}

.calendar-grid em {
  color: #c42116;
}

.calendar-grid i {
  width: 28px;
  height: 28px;
  margin: 3px;
  border: 2px solid #d82922;
  border-radius: 50%;
  color: #c42116;
}

.calendar-grid b {
  width: 30px;
  height: 30px;
  margin: 3px;
  border-radius: 50%;
  color: #fff;
  background: #0c7a52;
}

.legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
  font-size: 17px;
  font-weight: 900;
}

.dot {
  width: 17px;
  height: 17px;
  display: inline-block;
  margin-right: 4px;
  border-radius: 50%;
  vertical-align: -2px;
}

.red-dot { background: #d82922; }
.green-dot { background: #0c7a52; }

.stats-panel {
  padding-bottom: 11px;
}

.stat-list {
  display: grid;
  gap: 8px;
  margin: 0 10px;
}

.stat-list p {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 241, 0.88);
}

.stat-list b {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 9px 8px;
  color: #fff;
  background: linear-gradient(180deg, #0e9b62, #07543c);
  font-size: 18px;
}

.stat-list p:nth-child(2) b { background: linear-gradient(180deg, #0d88cf, #075090); }
.stat-list p:nth-child(3) b { background: linear-gradient(180deg, #e58a16, #b85d08); }
.stat-list p:nth-child(4) b { background: linear-gradient(180deg, #8148c6, #52268a); }

.stat-list span {
  padding: 9px 10px;
  color: #0a4b38;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
}

.zodiac-panel {
  margin: 0 18px 10px;
  padding-bottom: 10px;
  overflow: hidden;
}

.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 0 9px 3px;
}

.zodiac-card {
  min-width: 0;
  padding: 8px 8px 9px;
  border: 1px solid rgba(215, 168, 76, 0.78);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 253, 244, 0.96), rgba(255, 247, 225, 0.94)),
    radial-gradient(circle at 12% 20%, rgba(255, 215, 104, 0.18), transparent 44%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.62),
    0 2px 0 rgba(117, 70, 18, 0.12);
}

.zodiac-name {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  margin-bottom: 6px;
  color: #101010;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
}

.zodiac-name span {
  font-size: 25px;
  line-height: 1;
}

.zodiac-name em {
  min-width: 0;
  color: #0b1018;
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.zodiac-nums {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.zodiac-nums b {
  min-width: 25px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  padding: 0 4px;
  color: #fff;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.16);
}

.red-chip { background: linear-gradient(180deg, #ff3028, #d60000); }
.green-chip { background: linear-gradient(180deg, #12a64e, #058134); }
.blue-chip { background: linear-gradient(180deg, #3e75ff, #1456d8); }

.footer {
  position: relative;
  min-height: 146px;
  padding: 16px 44px 26px;
  color: #fff7c7;
  background:
    linear-gradient(rgba(4, 45, 34, 0.72), rgba(4, 45, 34, 0.72)),
    url("./img/bj.jpg") center bottom / cover no-repeat,
    #063a2b;
  border-top: 4px solid var(--gold-500);
  text-align: center;
}

.footer::before,
.footer::after {
  content: "";
  position: absolute;
  bottom: 10px;
  width: 140px;
  height: 72px;
  opacity: 0.9;
  background:
    radial-gradient(ellipse at 50% 100%, #fff7d2 0 34%, transparent 35%),
    radial-gradient(ellipse at 20% 100%, #fff7d2 0 28%, transparent 29%),
    radial-gradient(ellipse at 80% 100%, #fff7d2 0 28%, transparent 29%);
}

.footer::before {
  left: 24px;
}

.footer::after {
  right: 24px;
}

.footer h2 {
  margin: 0 0 12px;
  color: #ffe4a0;
  font-size: 38px;
  line-height: 1;
  text-shadow: 1px 2px 0 #4a1309;
}

.footer h2::before,
.footer h2::after {
  content: "✦";
  margin: 0 28px;
  color: var(--gold-300);
  font-size: 24px;
}

.footer p {
  max-width: 680px;
  margin: 0 auto;
  padding: 13px 26px;
  border: 2px solid var(--gold-500);
  border-radius: 14px;
  color: #3b2812;
  background: #fff8df;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .page {
    padding: 0;
  }

  .poster {
    width: 100%;
    border: 0;
    box-shadow: none;
  }

  .poster::before {
    inset: 5px;
  }

  .hero {
    min-height: 0;
  }

  .hero::before {
    display: none;
  }

  .macau-flag,
  .city,
  .horse-mark {
    display: none;
  }

  .macau-flag {
    left: 18px;
    top: 28px;
  }

  .left-city {
    left: 42px;
  }

  .right-city,
  .horse-mark {
    display: none;
  }

  .hero-title {
    padding: 0;
  }

  .hero-title p {
    font-size: 25px;
  }

  .hero-title h1,
  .hero-overlay h1 {
    font-size: 40px;
  }

  .hero-title strong {
    min-height: 30px;
    padding: 0 14px;
    font-size: 15px;
  }

  .hero-overlay {
    left: 24%;
    right: 22%;
    top: 30%;
  }

  .card,
  .grid.two,
  .grid.bottom {
    margin-left: 10px;
    margin-right: 10px;
  }

  .zodiac-panel {
    margin-left: 10px;
    margin-right: 10px;
  }

  .grid.two,
  .grid.bottom {
    display: block;
  }

  .grid.two .panel,
  .grid.bottom .panel {
    margin-bottom: 10px;
  }

  .section-ribbon,
  .wide-table h2,
  .panel h2 {
    min-height: 40px;
    font-size: 23px;
  }

  .announcement {
    min-height: 0;
    padding: 12px 8px 12px;
  }

  .draw-layout {
    display: block;
  }

  .wide-table h2 small,
  .panel h2 small {
    font-size: 14px;
  }

  .period-line {
    font-size: 17px;
  }

  .draw-balls {
    gap: 3px;
  }

  .draw-balls b {
    width: clamp(31px, 9.2vw, 40px);
    height: clamp(31px, 9.2vw, 40px);
    border-width: 3px;
    font-size: clamp(15px, 4.6vw, 20px);
  }

  .draw-balls em {
    font-size: clamp(20px, 6vw, 27px);
  }

  .source-line {
    width: calc(100% - 24px);
    min-height: 34px;
    margin-top: 7px;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: clamp(15px, 4.3vw, 18px);
    flex-wrap: wrap;
  }

  .qr-hanger {
    width: fit-content;
    margin: 10px auto 0;
    padding: 6px;
    border-radius: 9px;
  }

  .qr-hanger img {
    width: clamp(92px, 28vw, 124px);
    border-width: 1px;
    border-radius: 5px;
  }

  .draw-meta {
    grid-template-columns: 1fr 1fr;
    border-radius: 10px;
  }

  .draw-meta span {
    border-bottom: 1px solid var(--gold-500);
    font-size: 16px;
  }

  .draw-meta span:nth-child(2n) {
    border-right: 0;
  }

  .draw-meta span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .wide-table,
  .panel {
    overflow-x: hidden;
  }

  table {
    min-width: 0;
    table-layout: fixed;
  }

  th,
  td {
    height: 28px;
    padding: 3px 3px;
    font-size: clamp(12px, 3.35vw, 15px);
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
  }

  th:first-child,
  td:first-child {
    width: 50px;
  }

  .mobile-ratio-table th:nth-child(1),
  .mobile-ratio-table td:nth-child(1),
  .mobile-ratio-table th:nth-child(3),
  .mobile-ratio-table td:nth-child(3) {
    width: 30%;
  }

  .mobile-ratio-table th:nth-child(2),
  .mobile-ratio-table td:nth-child(2) {
    width: 40%;
  }

  .mobile-equal-four th,
  .mobile-equal-four td {
    width: 25%;
  }

  w1,
  s1 {
    display: inline-block;
    max-width: 100%;
    padding: 0 2px;
    line-height: 1.2;
  }

  .calendar-panel,
  .stats-panel {
    overflow: hidden;
  }

  .calendar-grid > * {
    min-height: 30px;
    font-size: 16px;
  }

  .stat-list p {
    grid-template-columns: 94px 1fr;
  }

  .stat-list b,
  .stat-list span {
    font-size: 14px;
  }

  .zodiac-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 8px 4px;
  }

  .zodiac-card {
    padding: 8px 7px 9px;
  }

  .zodiac-name {
    gap: 3px;
    font-size: 19px;
  }

  .zodiac-name span {
    font-size: 24px;
  }

  .zodiac-name em {
    font-size: 15px;
  }

  .zodiac-nums {
    gap: 4px;
  }

  .zodiac-nums b {
    min-width: 25px;
    height: 24px;
    padding: 0 4px;
    font-size: 15px;
  }

  .footer {
    padding: 14px 14px 22px;
  }

  .footer h2 {
    font-size: 29px;
  }

  .footer h2::before,
  .footer h2::after {
    margin: 0 10px;
  }

  .footer p {
    padding: 10px 12px;
    font-size: 16px;
  }
}

@media (max-width: 430px) {
  .hero-title h1,
  .hero-overlay h1 {
    font-size: 34px;
  }

  .hero-title p {
    font-size: 22px;
  }

  .hero-title strong {
    font-size: 13px;
  }

  .draw-balls b {
    width: clamp(30px, 9vw, 36px);
    height: clamp(30px, 9vw, 36px);
    font-size: clamp(14px, 4.4vw, 18px);
  }

  th,
  td {
    height: 25px;
    padding: 2px;
    font-size: 12px;
  }

  th:first-child,
  td:first-child {
    width: 44px;
  }
}

@media print {
  @page {
    size: A4;
    margin: 0;
  }

  html,
  body {
    width: 210mm;
    min-height: 297mm;
    background: #fff;
  }

  .page {
    padding: 0;
  }

  .poster {
    width: 210mm;
    min-height: 297mm;
    border: 0;
    box-shadow: none;
  }
}
