:root {
  --bg: #050505;
  --panel: #101011;
  --panel-2: #171719;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #f3c56b;
  --gold-light: #ffe6aa;
  --red: #ec1f2c;
  --blue: #1b75ff;
  --text: #f6f1e8;
  --muted: #beb8ad;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
}

body.site-loading {
  overflow: hidden;
}

body:not(.site-loading) > #loader {
  display: none;
}

.shell-error {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 24px;
  color: #ffe4a4;
  text-align: center;
  background: #050505;
}

.shell-error strong {
  font-size: 18px;
}

.shell-error span {
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

body.site-loading::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  background:
    radial-gradient(circle at 50% 38%, rgba(243, 197, 107, .18), transparent 34%),
    linear-gradient(180deg, #090807, #000);
}

body.site-loading::after {
  content: "6H";
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 9999;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 221, 143, .82);
  border-radius: 50%;
  color: #ffe6aa;
  font-size: 28px;
  font-weight: 1000;
  font-style: italic;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
  box-shadow: 0 0 0 1px rgba(127, 77, 9, .8), 0 0 28px rgba(246, 188, 78, .52);
  animation: siteLoaderPulse .78s ease-in-out infinite alternate;
}

.fx-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .46s ease, transform .46s ease, filter .46s ease;
  filter: saturate(.92);
}

.fx-reveal.fx-in {
  opacity: 1;
  transform: translateY(0);
  filter: saturate(1);
}

.fx-img-loading {
  opacity: .42;
  filter: blur(8px) saturate(.8);
  transform: scale(1.01);
}

img {
  transition: opacity .32s ease, filter .32s ease, transform .32s ease;
}

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

.download-btn,
.site-btn,
.gold-pill,
.wallet-card em,
.app-download,
.picture-load-more,
.data-action,
.rank-tabs button,
.draw-lottery-tabs button,
.gallery-mode-tabs button,
.gallery-lottery-tabs button,
.history-menu button,
.admin-top-actions a,
.admin-top-actions button,
.admin-savebar button,
.admin-password-btn {
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease;
}

.download-btn:active,
.site-btn:active,
.gold-pill:active,
.wallet-card:active,
.app-download:active,
.picture-load-more:active,
.data-action:active,
.rank-tabs button:active,
.draw-lottery-tabs button:active,
.gallery-mode-tabs button:active,
.gallery-lottery-tabs button:active,
.history-menu button:active,
.admin-top-actions a:active,
.admin-top-actions button:active,
.admin-savebar button:active,
.admin-password-btn:active {
  transform: scale(.97);
  filter: brightness(1.08);
}

.center-logo strong {
  animation: centerLogoGlow 1.7s ease-in-out infinite alternate;
}

@keyframes siteLoaderPulse {
  from {
    transform: scale(.94);
    opacity: .78;
  }

  to {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes sitePageEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes centerLogoGlow {
  from {
    text-shadow: 0 0 10px rgba(255, 202, 91, .55);
  }

  to {
    text-shadow: 0 0 20px rgba(255, 230, 170, .95);
  }
}

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

  .fx-reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.mini-ball.green {
  --ball-color: #24b85d;
}

.data-page-shell {
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

.data-nav {
  position: sticky;
  top: 0;
  z-index: 15;
  height: 48px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 215, 138, .12);
  background: linear-gradient(180deg, rgba(13, 13, 14, .98), rgba(4, 4, 4, .96));
}

.data-nav h1 {
  margin: 0;
  text-align: center;
  color: #ffe4a4;
  font-size: 17px;
  font-weight: 900;
}

.back-link,
.refresh-link,
.modal-close {
  position: relative;
  width: 36px;
  height: 36px;
  margin: 0 auto;
  border: 0;
  background: transparent;
}

.back-link::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 10px;
  width: 12px;
  height: 12px;
  border-left: 2px solid #f2cf8b;
  border-bottom: 2px solid #f2cf8b;
  transform: rotate(45deg);
}

.refresh-link::before,
.refresh-link::after {
  content: "";
  position: absolute;
}

.refresh-link::before {
  left: 9px;
  top: 9px;
  width: 17px;
  height: 17px;
  border: 2px solid #f2cf8b;
  border-left-color: transparent;
  border-radius: 50%;
}

.refresh-link::after {
  right: 8px;
  top: 8px;
  border-left: 6px solid #f2cf8b;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform: rotate(35deg);
}

.refresh-link.text-refresh {
  width: auto;
  min-width: 40px;
  color: #ffe4a4;
  font-size: 13px;
  font-weight: 900;
  line-height: 36px;
}

.refresh-link.text-refresh::before,
.refresh-link.text-refresh::after {
  display: none;
}

.data-page {
  padding: 8px 7px calc(88px + env(safe-area-inset-bottom));
  display: grid;
  gap: 8px;
}

.data-hero {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  border: 1px solid rgba(255, 214, 131, .22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 50%, rgba(226, 153, 40, .32), transparent 45%),
    linear-gradient(135deg, #111112, #070707 54%, #1c1206);
  box-shadow: inset 0 0 24px rgba(255, 203, 103, .06);
}

.data-hero p,
.data-hero h2 {
  margin: 0;
}

.data-hero p {
  color: #f0c46d;
  font-size: 12px;
}

.data-hero h2 {
  margin-top: 5px;
  color: #fff1cc;
  font-size: 20px;
  font-weight: 900;
}

.data-hero span {
  min-width: 58px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #17100a;
  background: linear-gradient(180deg, #ffe8b5, #d39a3d);
  font-size: 13px;
  font-weight: 900;
}

.data-controls,
.data-table-card,
.data-draw-result {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: linear-gradient(145deg, #151516, #080808);
}

.lottery-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 9px;
}

.lottery-switch button,
.play-switch button,
.period-switch button,
.data-table-meta button {
  border: 1px solid rgba(255, 255, 255, .12);
  color: #ddd6cb;
  background: linear-gradient(180deg, #202022, #111112);
}

.lottery-switch button {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.lottery-switch button.active,
.play-switch button.active,
.period-switch button.active {
  color: #17100a;
  border-color: rgba(255, 226, 162, .82);
  background: linear-gradient(180deg, #ffe8ae, #c88a31);
  box-shadow: 0 0 14px rgba(255, 198, 93, .16);
}

.lottery-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.lottery-mark::before {
  content: "澳";
}

.lottery-mark.hk::before {
  content: "港";
}

.lottery-mark.crazy::before {
  content: "疯";
}

.lottery-mark.macau {
  background: linear-gradient(145deg, #eb2938, #921319);
}

.lottery-mark.hk {
  background: linear-gradient(145deg, #1d82ff, #103d9d);
}

.lottery-mark.crazy {
  background: linear-gradient(145deg, #22c76a, #087d42);
}

.rank-filter {
  display: grid;
  gap: 8px;
  padding: 0 9px 10px;
}

.play-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 6px;
  overflow: hidden;
}

.play-switch button {
  height: 36px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 900;
}

.period-switch {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.period-switch button {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
}

.data-draw-result {
  padding: 9px;
}

.data-draw-result p {
  margin: 0 0 8px;
  color: #ffe2a0;
  font-size: 13px;
  font-weight: 900;
}

.data-draw-balls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.draw-mini {
  display: grid;
  justify-items: center;
  gap: 3px;
}

.draw-mini .lottery-ball {
  width: 34px;
  height: 34px;
}

.draw-mini .lottery-ball b {
  font-size: 15px;
}

.draw-mini em {
  color: #d9d4cb;
  font-size: 10px;
  font-style: normal;
  white-space: nowrap;
}

.data-plus {
  color: #fff;
  font-size: 21px;
  font-weight: 300;
}

.data-table-card {
  overflow: hidden;
}

.data-table-meta {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.data-table-meta button {
  height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffd889;
  font-size: 12px;
}

.data-table-meta span {
  color: #a9a39a;
  font-size: 11px;
  white-space: nowrap;
}

.data-table-row {
  min-height: 48px;
  display: grid;
  grid-template-columns: 64px 1fr 108px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.data-table-head {
  min-height: 32px;
  color: #cfc7bd;
  background: rgba(255, 255, 255, .04);
  font-size: 12px;
}

.data-table-row > span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.data-table-row.top-1 {
  background: linear-gradient(90deg, rgba(187, 29, 38, .26), rgba(245, 180, 79, .1));
}

.data-table-row.top-2 {
  background: linear-gradient(90deg, rgba(77, 98, 132, .28), rgba(255, 255, 255, .04));
}

.data-table-row.top-3 {
  background: linear-gradient(90deg, rgba(119, 67, 25, .26), rgba(255, 255, 255, .035));
}

.medal {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #17100a;
  font-size: 13px;
  font-weight: 900;
}

.medal.gold {
  background: linear-gradient(180deg, #fff0b9, #d0902d);
}

.medal.silver {
  background: linear-gradient(180deg, #ffffff, #9aa2ad);
}

.medal.bronze {
  background: linear-gradient(180deg, #ffd2a7, #ad5b22);
}

.medal.plain {
  color: #fff;
  background: #686c72;
}

.data-ball {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #101010;
  background:
    radial-gradient(circle at 50% 45%, #fff 0 43%, transparent 44%),
    var(--ball-color, #ef2533);
  font-size: 16px;
  font-weight: 900;
}

.data-ball.red {
  --ball-color: #ef2533;
}

.data-ball.blue {
  --ball-color: #1c77ff;
}

.data-ball.green {
  --ball-color: #23b961;
}

.zodiac-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.zodiac-chip img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(255, 201, 92, .14);
}

.zodiac-chip b,
.data-money {
  color: #fff0cd;
  font-size: 15px;
  font-weight: 900;
}

.data-money {
  font-variant-numeric: tabular-nums;
}

.data-loading {
  padding: 24px 10px;
  color: #bcb5ad;
  text-align: center;
  font-size: 13px;
}

.data-rule-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, .72);
}

.data-rule-modal[hidden] {
  display: none;
}

.data-rule-card {
  position: relative;
  width: min(100%, 360px);
  max-height: min(82vh, 620px);
  overflow-y: auto;
  padding: 22px 18px 18px;
  border: 1px solid rgba(255, 220, 140, .28);
  border-radius: 8px;
  background: linear-gradient(145deg, #171718, #080808);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
}

.data-rule-card h2 {
  margin: 0 0 10px;
  color: #ffe0a0;
  font-size: 18px;
}

.data-rule-card h3 {
  margin: 16px 0 8px;
  color: #ff3340;
  font-size: 16px;
}

.data-rule-card p {
  margin: 0;
  color: #d8d0c6;
  font-size: 13px;
  line-height: 1.65;
}

.data-rule-card b,
.data-rule-card em {
  color: #ff3340;
  font-style: normal;
  font-weight: 800;
}

.modal-close {
  position: absolute;
  top: 6px;
  right: 6px;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 17px;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: #f2cf8b;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

@media (max-width: 380px) {
  .data-table-row {
    grid-template-columns: 54px 1fr 94px;
  }

  .data-hero h2 {
    font-size: 18px;
  }

  .data-draw-balls {
    gap: 2px;
  }

  .draw-mini .lottery-ball {
    width: 30px;
    height: 30px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: #000;
}

.admin-body {
  background:
    radial-gradient(circle at 18% 0%, rgba(217, 53, 66, .18), transparent 18rem),
    radial-gradient(circle at 88% 8%, rgba(27, 117, 255, .15), transparent 18rem),
    #070707;
}

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

button {
  font: inherit;
  cursor: pointer;
}

.phone-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  background: var(--bg);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.75);
}

.topbar {
  height: 37px;
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 0;
  background: #030303;
}

.brand {
  width: 32px;
  height: 32px;
  display: block;
  overflow: hidden;
  border-radius: 9px;
  box-shadow: 0 0 12px rgba(255, 215, 138, .18);
}

.brand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ticker {
  min-width: 0;
  height: 29px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid rgba(246, 190, 98, 0.14);
  border-radius: 999px;
  color: #e7c27a;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.78), rgba(5, 5, 5, 0.92));
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
}

.ticker-viewport {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  min-width: max-content;
  animation: ticker-scroll 32s linear infinite;
  will-change: transform;
}

.ticker-msg {
  flex: 0 0 auto;
  color: #f4c879;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.speaker {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  display: inline-block;
  background: var(--gold);
  clip-path: polygon(0 36%, 30% 36%, 62% 10%, 62% 90%, 30% 64%, 0 64%);
}

.top-icon {
  width: 28px;
  height: 28px;
  position: relative;
  display: block;
}

.customer-link {
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(241, 206, 139, .28);
  border-radius: 999px;
  color: #f5d48b;
  background: linear-gradient(180deg, rgba(55, 41, 17, .48), rgba(9, 9, 9, .88));
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.bell::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 15px;
  height: 15px;
  border: 2px solid #f1ce8b;
  border-bottom: 0;
  border-radius: 12px 12px 4px 4px;
}

.bell::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 5px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #f1ce8b;
}

.bell b {
  position: absolute;
  right: -4px;
  top: -2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  color: #fff;
  background: #ff2636;
  font-size: 10px;
  line-height: 17px;
  text-align: center;
}

.page {
  padding: 7px 7px 83px;
}

.hero {
  aspect-ratio: 1086 / 362;
  height: auto;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(220, 166, 74, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 73% 62%, rgba(218, 130, 13, 0.45), transparent 42%),
    linear-gradient(90deg, #070707 0%, #10100f 46%, #050505 100%);
}

.hero.hero-image-mode {
  cursor: pointer;
}

.hero.hero-loading .hero-copy,
.hero.hero-loading .hero-prizes {
  opacity: 0;
}

.hero.hero-image-mode .hero-copy {
  display: none;
}

.hero.hero-image-mode::before {
  display: none;
}

.hero.hero-image-mode .hero-prizes {
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #050505;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 38%, rgba(255, 182, 44, 0.22), transparent 1px);
  background-size: 24px 24px;
  opacity: .7;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 224px;
  padding: 8px 0 0 54px;
  text-align: center;
}

.hero h1 {
  margin: 0 0 6px;
  color: #ffe4a9;
  font-size: 31px;
  line-height: .9;
  font-weight: 900;
  font-style: italic;
  text-shadow: 0 2px 0 #875113, 0 0 12px rgba(255, 217, 131, .5);
}

.hero h1 span,
.hero h1 strong {
  display: block;
  white-space: nowrap;
}

.hero h1 strong {
  margin-top: 6px;
  font-size: 24px;
  font-style: normal;
}

.hero p {
  margin: 0;
  color: #fff;
  font-size: 11px;
  line-height: 1.7;
  font-weight: 800;
  text-shadow: 0 1px 2px #000;
  white-space: nowrap;
}

.download-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 184px;
  margin: 6px 0 4px -29px;
}

.download-btn {
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 5px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 10px rgba(0, 0, 0, .35);
  font-size: 11px;
  font-weight: 900;
}

.android {
  background: linear-gradient(180deg, #59cf62, #1ea746);
}

.ios {
  background: linear-gradient(180deg, #ef3337, #b80d10);
}

.download-btn span {
  width: 14px;
  height: 14px;
  background: #fff;
}

.android span {
  border-radius: 3px;
  clip-path: polygon(14% 30%, 86% 30%, 86% 100%, 14% 100%);
}

.ios span {
  border-radius: 50% 45% 45% 50%;
  clip-path: polygon(52% 0, 76% 18%, 67% 35%, 86% 52%, 76% 100%, 28% 100%, 14% 73%, 18% 39%, 42% 28%);
}

.site-btn {
  width: 187px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: -29px;
  border: 1px solid rgba(239, 193, 107, .45);
  border-radius: 4px;
  color: #f7d28d;
  background: linear-gradient(180deg, rgba(72, 57, 31, .55), rgba(15, 13, 11, .92));
  font-size: 13px;
  font-weight: 900;
}

.site-btn span {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.hero-prizes {
  position: absolute;
  z-index: 1;
  right: -15px;
  bottom: -6px;
  width: 235px;
  height: 162px;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 23px;
  height: 23px;
  margin-top: -12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  background: rgba(0, 0, 0, .42);
}

.hero-arrow::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.hero-prev {
  left: 14px;
}

.hero-prev::before {
  transform: rotate(45deg);
}

.hero-next {
  right: 13px;
}

.hero-next::before {
  left: 6px;
  transform: rotate(-135deg);
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 5px;
  display: flex;
  gap: 7px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .5);
  transform: translateX(-50%);
}

.hero-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .38);
}

.hero-dots .active {
  background: #fff;
}

.panel {
  margin-top: 5px;
  padding: 13px 9px 8px;
  border-radius: 7px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 207, 111, .07), transparent 10rem),
    linear-gradient(180deg, #121213, #0c0c0d);
}

.panel h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 8px;
  color: #eec272;
  font-size: 16px;
  line-height: 1;
}

.shield,
.wallet-title-icon,
.gear,
.data-icon {
  width: 13px;
  height: 13px;
  display: inline-block;
  flex: 0 0 auto;
  position: relative;
}

.shield {
  background: linear-gradient(#f6dc9c, #c08225);
  clip-path: polygon(50% 0, 94% 17%, 89% 68%, 50% 100%, 11% 68%, 6% 17%);
}

.wallet-title-icon {
  border-radius: 2px;
  background: linear-gradient(#f3d99b, #b77318);
}

.gear {
  border: 2px solid #e6b45f;
  border-radius: 50%;
}

.gear::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #e6b45f;
}

.data-icon::before,
.data-icon::after {
  content: "";
  position: absolute;
  background: #e8ba66;
  border-radius: 2px;
}

.data-icon::before {
  left: 5px;
  top: 0;
  width: 4px;
  height: 14px;
  transform: rotate(42deg);
}

.data-icon::after {
  left: 0;
  top: 5px;
  width: 14px;
  height: 4px;
  transform: rotate(42deg);
}

.app-card {
  min-height: 78px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 72px;
  gap: 10px;
  align-items: center;
  position: relative;
  padding: 9px 11px 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    radial-gradient(circle at 26% 25%, rgba(255, 255, 255, .1), transparent 12rem),
    linear-gradient(120deg, rgba(255, 255, 255, .04), transparent 42%),
    #151516;
}

.app-logo {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  object-fit: cover;
  padding: 0;
  background: #050505;
  box-shadow: 0 0 14px rgba(255, 0, 0, .18);
  clip-path: inset(2px round 8px);
}

.app-info {
  min-width: 0;
  align-self: center;
  padding-top: 0;
}

.app-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-title-row h3 {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.quality {
  position: absolute;
  top: 7px;
  right: 11px;
  min-width: 37px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid rgba(255, 215, 138, .55);
  border-radius: 999px;
  color: #fff3c5;
  background: linear-gradient(180deg, #f24854, #af1222);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 4px 10px rgba(190, 18, 32, .25);
  font-size: 10px;
  font-weight: 900;
}

.rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.rating span,
.rating b {
  color: #ff2b35;
  font-size: 12px;
}

.rating span {
  letter-spacing: 1px;
}

.app-info p {
  margin: 3px 0 0;
  color: #d8d3cb;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-line {
  position: absolute;
  left: 69px;
  right: 13px;
  bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.promo-line span {
  padding: 1px 4px;
  border: 1px solid #c82326;
  border-radius: 3px;
  color: #ff3941;
  font-size: 11px;
  white-space: nowrap;
}

.promo-line b {
  min-width: 0;
  color: #d4d0c9;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gold-pill {
  min-width: 52px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 999px;
  color: #1e1302;
  background: linear-gradient(180deg, #ffe6a8, #d49331);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
  font-weight: 900;
}

.app-download {
  justify-self: end;
  align-self: center;
  width: 66px;
  margin-top: 16px;
  padding: 0;
  font-size: 12px;
}

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

.wallet-card {
  min-width: 0;
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 54px;
  gap: 7px;
  align-items: center;
  padding: 8px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, .11), transparent 4rem),
    linear-gradient(135deg, rgba(255, 255, 255, .035), transparent 55%),
    #171717;
}

.wallet-card img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.wallet-card span {
  min-width: 0;
}

.wallet-card b,
.wallet-card small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallet-card b {
  color: #fff;
  font-size: 12px;
}

.wallet-card small {
  margin-top: 4px;
  color: #c7c1bb;
  font-size: 10px;
}

.wallet-card em {
  justify-self: end;
  width: 50px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #1e1302;
  background: linear-gradient(180deg, #ffe6a8, #d49331);
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 7px;
}

.section-head h2 {
  margin-bottom: 0;
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.draw-lottery-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 7px;
}

.draw-lottery-tabs button {
  --tab-border: rgba(217, 53, 66, .52);
  --tab-light: #ee5261;
  --tab-dark: #b71927;
  --tab-glow: rgba(217, 53, 66, .38);
  height: 27px;
  border: 1px solid var(--tab-border);
  border-radius: 999px;
  color: #d9d2c8;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(0, 0, 0, .08)),
    #101011;
  font-size: 12px;
  font-weight: 900;
}

.draw-lottery-tabs button[data-lottery-type="6"] {
  --tab-border: rgba(233, 52, 69, .58);
  --tab-light: #f25766;
  --tab-dark: #bd1424;
  --tab-glow: rgba(233, 52, 69, .38);
}

.draw-lottery-tabs button[data-lottery-type="5"] {
  --tab-border: rgba(40, 200, 98, .58);
  --tab-light: #4ee382;
  --tab-dark: #149246;
  --tab-glow: rgba(40, 200, 98, .38);
}

.draw-lottery-tabs button[data-lottery-type="11"] {
  --tab-border: rgba(40, 140, 255, .58);
  --tab-light: #58a8ff;
  --tab-dark: #1262c8;
  --tab-glow: rgba(40, 140, 255, .38);
}

.draw-lottery-tabs button.active {
  color: #fff;
  border-color: var(--tab-light);
  background: linear-gradient(180deg, var(--tab-light), var(--tab-dark));
  box-shadow: 0 0 14px var(--tab-glow);
}

.red-btn,
.ghost-btn {
  height: 23px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 5px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.red-btn {
  background: linear-gradient(180deg, #d83843, #9d131e);
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, .14);
  background: #161617;
}

.chevron {
  width: 14px;
  height: 23px;
  position: relative;
}

.chevron::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #d8d3cb;
  border-right: 2px solid #d8d3cb;
  transform: rotate(45deg);
}

.draw-box,
.recommend,
.rank-card,
.analysis-card {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: radial-gradient(circle at 74% 16%, rgba(255, 255, 255, .07), transparent 7rem), #151516;
}

.draw-box {
  padding: 8px 8px 7px;
}

.draw-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  color: #d3cec6;
  font-size: 10px;
}

.draw-meta span {
  padding: 3px 7px;
  border-radius: 3px;
  color: #fff;
  background: linear-gradient(180deg, #843139, #56131a);
  font-weight: 900;
}

.draw-meta time,
.countdown {
  white-space: nowrap;
}

.countdown b {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 15px;
  margin: 0 1px;
  border-radius: 3px;
  color: #f4d790;
  background: #17140e;
  font-size: 10px;
}

.countdown i {
  color: #e8d094;
  font-style: normal;
}

.ball-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr) 17px 1fr;
  align-items: start;
  gap: 8px;
  margin-top: 9px;
  text-align: center;
}

.lottery-ball {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  position: relative;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .55));
}

.lottery-ball img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lottery-ball.green img {
  filter: saturate(1.12);
}

.lottery-ball b {
  position: relative;
  z-index: 1;
  color: #111;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
}

.ball-item p {
  margin: 5px 0 0;
  color: #e8e1da;
  font-size: 11px;
}

.plus {
  color: #fff;
  font-size: 27px;
  line-height: 36px;
}

.recommend {
  margin-top: 5px;
  padding: 8px;
}

.recommend-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.recommend h3 {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: #eebf6c;
  font-size: 13px;
}

.recommend h3::before {
  content: "★";
}

.recommend h3 span {
  padding: 1px 5px;
  border-radius: 3px;
  color: #fff;
  background: linear-gradient(180deg, #843139, #56131a);
  font-size: 10px;
  font-weight: 900;
}

.recommend h3 b {
  font: inherit;
  white-space: nowrap;
}

.recommend a {
  color: #bdb5ac;
  font-size: 11px;
}

.recommend-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.recommend-grid p {
  margin: 0;
  color: #e0dad3;
  font-size: 11px;
  line-height: 1.35;
}

.recommend-grid .recommend-item {
  min-width: 0;
}

.recommend-grid .recommend-loading {
  grid-column: 1 / -1;
  color: #bdb5ac;
}

.recommend-grid b {
  color: #fff2d2;
  font-weight: 800;
}

.recommend-grid em {
  color: #f5efe8;
  font-style: normal;
  overflow-wrap: anywhere;
}

.recommend-grid span {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 3px;
  color: #c7defd;
  background: #223957;
  font-size: 10px;
}

.data-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 8px;
}

.rank-card {
  overflow: hidden;
  min-width: 0;
}

.rank-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.rank-tabs button {
  height: 32px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #d5d0cb;
  background: linear-gradient(180deg, #202021, #151516);
  font-weight: 900;
  font-size: 12px;
}

.rank-tabs .active {
  color: #fff;
  background: linear-gradient(180deg, #d32d38, #a91620);
}

.rank-list {
  list-style: none;
  margin: 8px 10px 9px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.rank-list li {
  display: grid;
  grid-template-columns: 17px 20px minmax(54px, 1fr) 62px;
  align-items: center;
  gap: 8px;
}

.rank-list em {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #17100a;
  background: linear-gradient(#ffe5a4, #c8913c);
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
}

.rank-list li:nth-child(n + 4) em {
  color: #fff;
  background: #73777d;
}

.mini-ball {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #111;
  background: radial-gradient(circle at 50% 45%, #fff 0 43%, transparent 44%), var(--ball-color, #fff);
  font-size: 10px;
  font-weight: 900;
}

.mini-ball.red {
  --ball-color: var(--red);
}

.mini-ball.blue {
  --ball-color: var(--blue);
}

.mini-zodiac {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
}

.mini-zodiac img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.rank-empty {
  grid-template-columns: 1fr !important;
  min-height: 58px;
  color: #d7d2ca;
  text-align: center;
  font-size: 12px;
}

.rank-list i {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.rank-list i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff2444, #ffb553);
}

.rank-list li:nth-child(5) i b {
  background: linear-gradient(90deg, #1886ff, #42c8ff);
}

.rank-list strong {
  color: #efe6d6;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
}

.analysis-card {
  position: relative;
  min-height: 118px;
  overflow: hidden;
  padding: 18px 9px 9px;
}

.analysis-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 52%, rgba(205, 132, 27, .75), transparent 52%),
    linear-gradient(135deg, #0b0a08, #1a1105);
}

.analysis-card div,
.analysis-card img {
  position: relative;
  z-index: 1;
}

.analysis-card div {
  z-index: 2;
}

.analysis-card h3 {
  width: 82px;
  margin: 0;
  color: #ffe4a4;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
}

.analysis-card p {
  margin: 6px 0 18px;
  color: #ffe3a0;
  font-size: 10px;
}

.analysis-card img {
  position: absolute;
  z-index: 1;
  right: -38px;
  bottom: -34px;
  width: 124px;
  height: 124px;
  object-fit: cover;
  border-radius: 50%;
  opacity: .58;
  pointer-events: none;
}

.analysis-card .gold-pill {
  position: relative;
  z-index: 3;
  height: 23px;
  padding: 0 10px;
  font-size: 10px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: min(100%, 430px);
  height: calc(59px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1fr 78px 1fr 1fr;
  align-items: center;
  padding: 4px 11px env(safe-area-inset-bottom);
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: radial-gradient(circle at 50% 0, rgba(255, 203, 103, .16), transparent 6rem), #070707;
  transform: translateX(-50%);
}

.gallery-shell {
  display: grid;
  grid-template-rows: 45px 1fr;
  height: 100vh;
  min-height: 100vh;
}

.game-shell {
  position: relative;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
}

.game-shell .gallery-top {
  position: fixed;
  top: 0;
  left: max(0px, calc((100vw - 430px) / 2));
  z-index: 35;
  width: min(100vw, 430px);
  background: linear-gradient(180deg, rgba(5, 5, 5, .82), rgba(5, 5, 5, .54));
  backdrop-filter: blur(10px);
}

.game-main {
  position: fixed;
  top: 0;
  bottom: 0;
  left: max(0px, calc((100vw - 430px) / 2));
  width: min(100vw, 430px);
  height: 100dvh;
  min-height: 100dvh;
  padding: 0;
  overflow: hidden;
  background: #050505;
}

.game-frame {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #050505;
  overflow: hidden;
}

.gallery-top {
  height: 45px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 215, 138, .12);
  background: linear-gradient(180deg, rgba(13, 13, 14, .98), rgba(4, 4, 4, .96));
}

.gallery-top h1 {
  margin: 0;
  text-align: center;
  color: #ffe4a4;
  font-size: 17px;
  font-weight: 900;
}

.gallery-back,
.gallery-refresh {
  width: 44px;
  height: 44px;
  position: relative;
  display: block;
}

.gallery-back::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 15px;
  width: 11px;
  height: 11px;
  border-left: 2px solid #f3c56b;
  border-bottom: 2px solid #f3c56b;
  transform: rotate(45deg);
}

.gallery-refresh::before {
  content: "";
  position: absolute;
  right: 15px;
  top: 13px;
  width: 16px;
  height: 16px;
  border: 2px solid #f3c56b;
  border-left-color: transparent;
  border-radius: 50%;
}

.gallery-refresh::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 11px;
  border-left: 6px solid #f3c56b;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform: rotate(-28deg);
}

.gallery-refresh.text-refresh {
  width: auto;
  min-width: 44px;
  color: #ffe4a4;
  font-size: 13px;
  font-weight: 900;
  line-height: 44px;
  text-align: center;
  text-decoration: none;
}

.gallery-refresh.text-refresh::before,
.gallery-refresh.text-refresh::after {
  display: none;
}

.gallery-main {
  min-height: 0;
  display: grid;
  grid-template-rows: 42px minmax(0, 1fr);
  padding-bottom: calc(103px + env(safe-area-inset-bottom));
  background: #050505;
}

.gallery-control-bar {
  position: fixed;
  left: 50%;
  bottom: calc(59px + env(safe-area-inset-bottom));
  z-index: 19;
  width: min(100%, 430px);
  padding: 7px 8px;
  border-top: 1px solid rgba(243, 197, 107, .2);
  border-bottom: 1px solid rgba(0, 0, 0, .55);
  background:
    linear-gradient(180deg, rgba(26, 22, 15, .96), rgba(6, 6, 6, .98));
  box-shadow: 0 -8px 22px rgba(0, 0, 0, .46);
  transform: translateX(-50%);
}

.gallery-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 7px 8px 5px;
  border-bottom: 1px solid rgba(243, 197, 107, .08);
  background: #080808;
}

.gallery-mode-tabs button,
.gallery-lottery-tabs button {
  height: 28px;
  border: 1px solid rgba(243, 197, 107, .26);
  border-radius: 999px;
  color: #f3c56b;
  background: linear-gradient(180deg, #161617, #0b0b0c);
  font-size: 12px;
  font-weight: 900;
}

.gallery-mode-tabs .active,
.gallery-lottery-tabs .active {
  color: #1f1302;
  background: linear-gradient(180deg, #ffe7aa, #d89b38);
}

.gallery-view {
  min-height: 0;
  display: none;
}

.gallery-view.active {
  display: block;
}

.gallery-frame {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #050505;
}

.picture-view.active {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  padding: 7px 8px 52px;
}

.gallery-lottery-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 0;
}

.picture-search {
  display: grid;
  grid-template-columns: 1fr 50px;
  gap: 6px;
  margin-bottom: 7px;
}

.picture-search input {
  min-width: 0;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 0 12px;
  outline: none;
  color: #fff;
  background: #111112;
  font-size: 12px;
}

.picture-search button {
  border: 0;
  border-radius: 999px;
  color: #211405;
  background: linear-gradient(180deg, #ffe7aa, #d99b38);
  font-size: 12px;
  font-weight: 900;
}

.picture-categories {
  display: none;
  gap: 7px;
  margin: 0 0 9px;
  overflow-x: auto;
  scrollbar-width: none;
}

.picture-categories::-webkit-scrollbar {
  display: none;
}

.picture-categories button {
  height: 27px;
  flex: 0 0 auto;
  padding: 0 11px;
  border: 1px solid rgba(243, 197, 107, .26);
  border-radius: 999px;
  color: #f3c56b;
  background: #111112;
  font-size: 12px;
  font-weight: 800;
}

.picture-categories .active {
  color: #1f1302;
  background: linear-gradient(180deg, #ffe7aa, #d99b38);
}

.picture-series-strip {
  margin: 0 0 8px;
  border: 1px solid rgba(243, 197, 107, .22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0, rgba(244, 189, 80, .14), transparent 120px),
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018));
}

.series-strip-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 0;
}

.series-strip-head span {
  color: #ffe29b;
  font-size: 12px;
  font-weight: 900;
}

.series-strip-head .series-strip-actions {
  display: flex;
  gap: 5px;
}

.series-strip-scroll {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 6px 8px 7px;
}

.picture-series-strip button {
  height: 25px;
  min-width: 0;
  padding: 0 5px;
  border: 1px solid rgba(243, 197, 107, .28);
  border-radius: 999px;
  color: #ffe29b;
  background: linear-gradient(180deg, #1d1d1e, #101011);
  font-size: 12px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.picture-series-strip button.active {
  color: #241301;
  border-color: rgba(255, 231, 170, .85);
  background: linear-gradient(180deg, #ffe8ad, #d99b38);
  box-shadow: 0 0 12px rgba(217, 155, 56, .28);
}

.picture-series-strip .series-more {
  color: #241301;
  border-color: rgba(255, 231, 170, .65);
  background: linear-gradient(180deg, #fff3c8, #dca449);
}

.picture-series {
  display: grid;
  gap: 7px;
  margin-bottom: 8px;
}

.series-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 7px;
  background: linear-gradient(180deg, #171718, #101011);
  text-align: left;
}

.series-card strong {
  min-width: 0;
  color: #fff;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.series-card span {
  color: #f3c56b;
  font-size: 11px;
}

.picture-grid {
  display: block;
  column-count: 2;
  column-gap: 8px;
}

.picture-card {
  min-width: 0;
  width: 100%;
  display: inline-grid;
  gap: 5px;
  margin: 0 0 8px;
  padding: 5px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 7px;
  background: radial-gradient(circle at 24% 16%, rgba(255, 255, 255, .08), transparent 6rem), #151516;
  text-align: center;
}

.picture-thumb {
  aspect-ratio: var(--picture-ratio, 3 / 4);
  display: block;
  overflow: hidden;
  border-radius: 5px;
  background: linear-gradient(135deg, #fffaf0, #e9e2d4);
}

.picture-thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.picture-card strong {
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.picture-card em {
  color: #f3c56b;
  font-size: 11px;
  font-style: normal;
}

.picture-load-more {
  min-height: 34px;
  margin: 8px 0 6px;
  border: 1px solid rgba(243, 197, 107, .16);
  border-radius: 999px;
  color: #f3c56b;
  background: rgba(255, 255, 255, .04);
  font-weight: 900;
  font-size: 12px;
}

.picture-load-more:disabled {
  opacity: .75;
}

.picture-detail-shell {
  min-height: 100vh;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0, rgba(244, 189, 80, .13), transparent 220px),
    #050505;
}

.picture-detail-top {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 45px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  padding: 0 10px;
  border-bottom: 1px solid rgba(243, 197, 107, .18);
  background: rgba(5, 5, 5, .94);
  backdrop-filter: blur(12px);
}

.picture-detail-top h1 {
  margin: 0;
  color: #ffe3a3;
  font-size: 16px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-history-link {
  color: #ff465a;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.picture-detail-main {
  display: grid;
  gap: 10px;
  padding: 8px 8px calc(96px + env(safe-area-inset-bottom));
}

.detail-period-card,
.detail-image-card,
.detail-related,
.detail-draw-card {
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(35, 35, 36, .96), rgba(12, 12, 13, .98));
  overflow: hidden;
}

.detail-period-card {
  overflow: visible;
}

.detail-year-tabs,
.detail-issue-tabs {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.detail-issue-tabs {
  min-height: 40px;
  overflow: visible;
  flex-wrap: wrap;
}

.detail-year-tabs::-webkit-scrollbar,
.detail-issue-tabs::-webkit-scrollbar {
  display: none;
}

.detail-year-tabs button,
.detail-issue-tabs button,
.detail-issue-tabs span {
  flex: 0 0 auto;
  height: 24px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #fff;
  background: #111112;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.detail-year-tabs .active,
.detail-issue-tabs .active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(180deg, #ff6476, #d41229);
}

.detail-more-issue {
  color: #211405 !important;
  border-color: transparent !important;
  background: linear-gradient(180deg, #ffe7aa, #d99b38) !important;
}

.detail-issue-picker {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 44px;
  z-index: 12;
  max-height: 210px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 9px;
  border: 1px solid rgba(243, 197, 107, .36);
  border-radius: 8px;
  background: rgba(8, 8, 9, .98);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .55);
  overflow-y: auto;
}

.detail-issue-picker[hidden] {
  display: none;
}

.detail-issue-picker button {
  width: 100%;
  padding: 0 6px;
}

.detail-image-card {
  padding: 8px;
}

.detail-picture-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 0 8px;
  color: #ffe3a3;
  font-size: 13px;
  font-weight: 900;
}

.detail-picture-head span {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(180deg, #ff6476, #d41229);
}

.detail-picture-head strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-main-image {
  width: 100%;
  max-height: 720px;
  display: block;
  border-radius: 4px;
  object-fit: contain;
  background: #fff;
}

.detail-main-image.expanded {
  max-height: none;
}

.detail-expand-btn {
  width: 96px;
  height: 28px;
  display: block;
  margin: 8px auto 0;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff6476, #d41229);
  font-size: 12px;
  font-weight: 900;
}

.detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 6px;
  color: #cfc7b7;
  font-size: 12px;
}

.detail-actions span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.detail-related,
.detail-draw-card {
  padding: 10px;
}

.detail-draw-card {
  scroll-margin-bottom: calc(96px + env(safe-area-inset-bottom));
}

.detail-related h2,
.detail-draw-card h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 14px;
}

.detail-related-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  overflow: hidden;
}

.detail-related-item {
  min-width: 0;
  display: grid;
  gap: 5px;
  color: #fff;
  text-decoration: none;
}

.detail-related-item img {
  width: 100%;
  aspect-ratio: .72 / 1;
  display: block;
  border-radius: 4px;
  object-fit: cover;
  background: #111;
}

.detail-related-placeholder {
  width: 100%;
  aspect-ratio: .72 / 1;
  display: grid;
  place-items: center;
  padding: 6px;
  border-radius: 4px;
  color: #ffe3a3;
  background:
    radial-gradient(circle at 50% 18%, rgba(243, 197, 107, .22), transparent 42%),
    linear-gradient(180deg, #19191a, #0c0c0d);
  border: 1px solid rgba(243, 197, 107, .2);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.detail-related-item span {
  min-width: 0;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-draw-balls {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  padding: 8px 5px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  overflow: visible;
}

.detail-draw-code {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 3px;
}

.detail-draw-code .lottery-ball {
  width: 32px;
  height: 32px;
}

.detail-draw-code .lottery-ball b {
  font-size: 15px;
}

.detail-draw-code em {
  max-width: 100%;
  color: #cfc7b7;
  font-size: 9px;
  font-style: normal;
  line-height: 1.1;
  white-space: nowrap;
}

.detail-plus {
  align-self: center;
  justify-self: center;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.picture-empty {
  grid-column: 1 / -1;
  margin: 18px 0;
  color: #d7d0c5;
  text-align: center;
  font-size: 13px;
}

.picture-preview {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, .86);
}

.picture-preview.active {
  display: flex;
}

.picture-preview figure {
  width: min(100%, 720px);
  max-height: 94vh;
  display: grid;
  gap: 8px;
  margin: 0;
}

.picture-preview img {
  max-width: 100%;
  max-height: 84vh;
  display: block;
  border-radius: 8px;
  object-fit: contain;
  justify-self: center;
}

.picture-preview figcaption {
  display: grid;
  gap: 3px;
  color: #fff;
  text-align: center;
}

.picture-preview figcaption strong {
  color: #ffe0a0;
  font-size: 15px;
}

.picture-preview figcaption span {
  color: #d2c6b0;
  font-size: 12px;
}

#picturePreviewClose {
  position: fixed;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  background: rgba(0, 0, 0, .6);
}

#picturePreviewClose::before,
#picturePreviewClose::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 16px;
  width: 15px;
  height: 2px;
  background: #fff;
}

#picturePreviewClose::before {
  transform: rotate(45deg);
}

#picturePreviewClose::after {
  transform: rotate(-45deg);
}

.bottom-nav a {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 2px;
  color: #9f9c98;
  text-decoration: none;
  font-size: 12px;
}

.bottom-nav a.active {
  color: var(--gold);
}

.bottom-nav b {
  font-weight: 500;
}

.bottom-nav span {
  width: 23px;
  height: 23px;
  position: relative;
  display: block;
}

.home-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 19px;
  height: 14px;
  border-radius: 4px 4px 3px 3px;
  background: currentColor;
}

.home-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 15px;
  height: 15px;
  background: currentColor;
  transform: rotate(45deg);
}

.gallery-icon {
  border: 1px solid currentColor;
  border-radius: 3px;
}

.gallery-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 12px;
  height: 8px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: skew(-18deg);
}

.gallery-icon::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.center-logo {
  align-self: start;
  margin-top: -10px;
}

.center-logo strong {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 3px solid #f4c66e;
  border-radius: 50%;
  color: #ffe2a0;
  background: #0a0a0a;
  box-shadow: 0 0 0 2px rgba(244, 198, 110, .18), 0 0 18px rgba(244, 198, 110, .85);
  font-size: 24px;
  font-style: italic;
  font-weight: 900;
}

.center-logo.active strong {
  color: #fff8df;
  background: radial-gradient(circle at 50% 40%, #33240a, #070707 68%);
  box-shadow: 0 0 0 2px rgba(255, 232, 174, .28), 0 0 22px rgba(244, 198, 110, .95);
}

.lottery-icon {
  border: 2px solid currentColor;
  border-radius: 50%;
}

.lottery-icon::before,
.lottery-icon::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.lottery-icon::after {
  inset: 8px;
  background: currentColor;
}

.chart-icon::before,
.chart-icon::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 4px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
}

.chart-icon::before {
  left: 3px;
  height: 10px;
  box-shadow: 8px -5px 0 -2px transparent, 8px -5px 0 0 currentColor;
}

.chart-icon::after {
  right: 3px;
  height: 19px;
}

.home-history {
  margin-top: 5px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: radial-gradient(circle at 74% 16%, rgba(255, 255, 255, .07), transparent 7rem), #151516;
}

.home-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.home-history-head h3 {
  margin: 0;
  color: #eebf6c;
  font-size: 13px;
}

.home-history-head h3::before {
  content: "●";
  margin-right: 5px;
}

.home-history-head a {
  color: #bdb5ac;
  font-size: 11px;
}

.home-history-list {
  display: grid;
  gap: 6px;
}

.home-history-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 6px;
  align-items: center;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 5px;
  background: rgba(0, 0, 0, .18);
}

.home-history-issue {
  display: grid;
  place-items: center;
  height: 22px;
  border-radius: 3px;
  color: #fff;
  background: linear-gradient(180deg, #843139, #56131a);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.home-history-balls {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
}

.home-history-code .lottery-ball {
  width: 26px;
  height: 26px;
}

.home-history-code .lottery-ball b {
  font-size: 12px;
}

.home-history-plus {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.history-loading {
  margin: 0;
  padding: 10px 4px;
  color: #bdb5ac;
  font-size: 11px;
  text-align: center;
}

.recommend-history-page {
  width: 100%;
  min-width: 0;
  padding: 8px 7px 0;
  display: grid;
  gap: 8px;
}

.recommend-history-page > * {
  min-width: 0;
}

.history-video-card,
.recommend-history-card {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: linear-gradient(145deg, #151516, #080808);
}

.history-video-card {
  overflow: hidden;
  padding: 8px;
}

.recommend-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.recommend-history-head h2 {
  margin: 0;
  color: #ffe0a0;
  font-size: 15px;
  font-weight: 900;
}

.recommend-history-head a {
  color: #82f0a6;
  font-size: 11px;
  white-space: nowrap;
}

.history-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.history-video-grid .history-loading {
  grid-column: 1 / -1;
}

.history-draw-result {
  grid-column: 1 / -1;
  display: grid;
  gap: 9px;
  padding: 9px;
  border: 1px solid rgba(255, 210, 113, .22);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(28, 27, 25, .96), rgba(7, 7, 7, .96));
}

.history-draw-result header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffe0a0;
  font-size: 13px;
  font-weight: 900;
}

.history-draw-result header b {
  color: #fff;
  font-size: 12px;
}

.history-draw-result .history-codes {
  overflow-x: auto;
  padding-bottom: 2px;
}

.history-video-item {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.history-video-item span {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 214, 131, .18);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 12%, rgba(70, 202, 255, .32), transparent 34%),
    linear-gradient(180deg, #121522, #07080d);
}

.history-video-item video,
.history-video-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.history-video-item i {
  position: absolute;
  left: 8px;
  bottom: 8px;
  width: 21px;
  height: 21px;
  border: 2px solid rgba(255, 255, 255, .86);
  border-radius: 50%;
  background: rgba(0, 0, 0, .25);
}

.history-video-item i::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  border-left: 7px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.history-video-item b {
  min-width: 0;
  color: #d7d2ca;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recommend-history-list {
  display: grid;
  gap: 8px;
}

.recommend-history-card {
  overflow: hidden;
}

.recommend-history-card h3 {
  margin: 0;
  padding: 7px 10px;
  color: #009c5c;
  background: linear-gradient(90deg, rgba(226, 241, 255, .95), rgba(218, 235, 253, .8));
  font-size: 13px;
  font-weight: 900;
}

.recommend-history-card p {
  position: relative;
  min-height: 25px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 5px;
  align-items: start;
  margin: 0;
  padding: 7px 10px 0;
  color: #f6f1e8;
  font-size: 13px;
  line-height: 1.55;
}

.recommend-history-card p:last-child {
  padding-bottom: 9px;
}

.recommend-history-card b {
  color: #ffe0a0;
  font-weight: 900;
  white-space: nowrap;
}

.recommend-history-card em {
  min-width: 0;
  color: #f4efe7;
  font-style: normal;
  word-break: break-all;
}

.recommend-history-card .code-row em {
  color: #00d67a;
}

.recommend-history-card span {
  align-self: start;
  min-width: 34px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #ef1f2e;
  font-size: 11px;
  font-weight: 900;
}

body.modal-open {
  overflow: hidden;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .78);
}

.video-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  overflow: hidden;
  border: 1px solid rgba(255, 214, 131, .35);
  border-radius: 8px;
  background: #080808;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .68);
}

.video-modal-panel header {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, #181819, #090909);
}

.video-modal-panel h2 {
  min-width: 0;
  margin: 0;
  color: #ffe0a0;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-modal-panel button {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}

.video-modal-panel button::before,
.video-modal-panel button::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 14px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: #f2cf8b;
}

.video-modal-panel button::before {
  transform: rotate(45deg);
}

.video-modal-panel button::after {
  transform: rotate(-45deg);
}

.video-modal-panel video {
  width: 100%;
  max-height: 70vh;
  display: block;
  background: #000;
}

.history-page-shell {
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

.history-page {
  width: 100%;
  min-width: 0;
  padding: 8px 7px 0;
  display: grid;
  gap: 8px;
}

.history-page > *,
.history-controls,
.history-summary,
.history-list,
.history-view {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.history-view {
  overflow: hidden;
}

.history-menu,
.history-controls,
.history-summary,
.history-list,
.trend-card,
.stat-card {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: linear-gradient(145deg, #151516, #080808);
}

.history-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
}

.history-menu button {
  min-width: 0;
  height: 54px;
  display: grid;
  place-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  color: #d8d2c8;
  background: linear-gradient(180deg, #202022, #101011);
  font-size: 11px;
  font-weight: 900;
}

.history-menu button.active {
  color: #1b1205;
  border-color: rgba(255, 226, 162, .82);
  background: linear-gradient(180deg, #ffe8ae, #c88a31);
}

.history-menu-icon {
  width: 22px;
  height: 22px;
  position: relative;
  display: block;
  color: currentColor;
}

.history-menu-icon.records {
  border: 2px solid currentColor;
  border-radius: 5px;
}

.history-menu-icon.records::before,
.history-menu-icon.records::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  height: 2px;
  background: currentColor;
}

.history-menu-icon.records::before {
  top: 6px;
}

.history-menu-icon.records::after {
  top: 12px;
}

.history-menu-icon.trend::before,
.history-menu-icon.stats::before,
.history-menu-icon.missing::before {
  content: "";
  position: absolute;
  inset: 3px 2px;
}

.history-menu-icon.trend::before {
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: skew(-22deg);
}

.history-menu-icon.trend::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 14px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  transform: rotate(-24deg);
}

.history-menu-icon.stats::before {
  background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px, transparent 12px 16px, currentColor 16px 20px);
  clip-path: polygon(0 58%, 20% 58%, 20% 100%, 0 100%, 40% 25%, 60% 25%, 60% 100%, 40% 100%, 80% 0, 100% 0, 100% 100%, 80% 100%);
}

.history-menu-icon.missing::before {
  border: 3px solid currentColor;
  border-radius: 50%;
}

.history-menu-icon.missing::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 4px;
  width: 3px;
  height: 11px;
  border-radius: 3px;
  background: currentColor;
  transform-origin: bottom;
  transform: rotate(35deg);
}

.history-controls {
  padding: 8px;
}

.history-lottery-tabs {
  margin-bottom: 8px;
}

.history-filter {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 7px;
  align-items: center;
}

.history-filter label {
  min-width: 0;
  display: grid;
  gap: 4px;
  color: #cfc7bd;
  font-size: 11px;
}

.history-filter select {
  min-width: 0;
  height: 30px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 5px;
  color: #fff2d2;
  background: #111112;
  font: inherit;
}

.history-check {
  height: 30px;
  align-self: end;
  display: inline-flex !important;
  grid-auto-flow: column;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 5px;
  background: #111112;
  white-space: nowrap;
}

.history-check input {
  accent-color: #d59b39;
}

.history-summary {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 203, 103, .13), transparent 7rem),
    linear-gradient(145deg, #151516, #080808);
}

.history-summary p,
.history-summary strong {
  margin: 0;
  display: block;
}

.history-summary p {
  color: #a9a39a;
  font-size: 11px;
}

.history-summary strong {
  margin-top: 3px;
  color: #ffe1a0;
  font-size: 18px;
  font-weight: 900;
}

.history-summary small {
  color: #d8d0c7;
  font-size: 11px;
  text-align: right;
}

.history-empty {
  padding: 28px 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  color: #bdb5ac;
  background: linear-gradient(145deg, #151516, #080808);
  text-align: center;
  font-size: 13px;
}

.history-list {
  overflow: hidden;
}

.history-line {
  min-height: 72px;
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 8px;
  align-items: center;
  padding: 9px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.history-line:last-child {
  border-bottom: 0;
}

.history-qid {
  display: grid;
  gap: 5px;
  justify-items: center;
}

.history-qid span {
  color: #bbb5ad;
  font-size: 10px;
  white-space: nowrap;
}

.history-qid b {
  min-width: 44px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(180deg, #843139, #56131a);
  font-size: 11px;
}

.history-codes {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.history-code {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 3px;
}

.history-code .lottery-ball {
  width: 32px;
  height: 32px;
}

.history-code .lottery-ball b {
  font-size: 15px;
}

.history-code em {
  max-width: 35px;
  color: #d9d4cb;
  font-size: 9px;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-plus {
  display: grid;
  place-items: center;
  height: 32px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.trend-card {
  overflow: hidden;
}

.history-subtabs {
  display: none;
}

.history-subtabs.wrap {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow-x: auto;
}

.history-subtabs button {
  height: 29px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 5px;
  color: #d8d2c8;
  background: linear-gradient(180deg, #202022, #101011);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.history-subtabs button.active {
  color: #1b1205;
  border-color: rgba(255, 226, 162, .82);
  background: linear-gradient(180deg, #ffe8ae, #c88a31);
}

.trend-scroll {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: linear-gradient(145deg, #151516, #080808);
}

.trend-matrix {
  min-width: 1130px;
}

.trend-matrix-head,
.trend-matrix-row {
  display: grid;
  grid-template-columns: 62px repeat(var(--trend-columns), 21px);
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.trend-matrix-head {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #ffe0a0;
  background: #171717;
  font-size: 10px;
  font-weight: 900;
}

.trend-matrix-head b,
.trend-matrix-row b {
  position: sticky;
  left: 0;
  z-index: 2;
  height: 29px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, .08);
  background: #171717;
}

.trend-matrix-row b {
  color: #fff2d2;
  background: #111112;
  font-size: 10px;
}

.trend-matrix-head span,
.trend-matrix-row span {
  height: 29px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, .05);
  font-size: 10px;
}

.miss-cell {
  color: #56534e;
}

.miss-cell::before {
  content: "·";
}

.trend-hit {
  position: relative;
  color: #fff;
  font-weight: 900;
}

.trend-hit.red {
  background: rgba(236, 31, 44, .86);
}

.trend-hit.blue {
  background: rgba(27, 117, 255, .88);
}

.trend-hit.green {
  background: rgba(36, 184, 93, .88);
}

.trend-hit i {
  position: absolute;
  right: -1px;
  top: -1px;
  width: 11px;
  height: 11px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1b1205;
  background: #ffe2a0;
  font-size: 7px;
  font-style: normal;
}

.trend-head,
.trend-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 7px;
  align-items: center;
  padding: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.trend-head {
  color: #fff2d2;
  background: rgba(255, 255, 255, .04);
  font-size: 12px;
  font-weight: 900;
}

.trend-row b {
  color: #ffe0a0;
  font-size: 11px;
  white-space: nowrap;
}

.trend-row > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
}

.history-code.compact .lottery-ball {
  width: 25px;
  height: 25px;
}

.history-code.compact .lottery-ball b {
  font-size: 11px;
}

.history-code.compact em {
  display: none;
}

.stat-card {
  overflow: hidden;
  padding: 8px;
}

.stat-title {
  margin-bottom: 8px;
  color: #ffe0a0;
  font-size: 14px;
  font-weight: 900;
}

.stat-row {
  display: grid;
  grid-template-columns: 20px 25px 1fr 54px;
  align-items: center;
  gap: 8px;
  min-height: 31px;
}

.stat-row em {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #17100a;
  background: linear-gradient(#ffe5a4, #c8913c);
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.stat-row:nth-child(n + 5) em {
  color: #fff;
  background: #73777d;
}

.stat-row i {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #2a2a2b;
}

.stat-row i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff2444, #ffb553);
}

.missing-row i b {
  background: linear-gradient(90deg, #1886ff, #42c8ff);
}

.stat-row strong {
  color: #d7d2ca;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.metric-table {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: linear-gradient(145deg, #151516, #080808);
}

.metric-row {
  min-height: 39px;
  display: grid;
  grid-template-columns: 62px 1fr 68px 68px 68px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #ddd7ce;
  font-size: 11px;
}

.metric-row:last-child {
  border-bottom: 0;
}

.metric-row > span {
  min-width: 0;
  padding: 0 6px;
  text-align: center;
}

.metric-head {
  min-height: 32px;
  color: #fff2d2;
  background: rgba(255, 255, 255, .045);
  font-weight: 900;
}

.metric-row b {
  color: #fff2d2;
}

.metric-row strong {
  position: relative;
  z-index: 1;
  color: #ffe3a0;
}

.metric-row span:nth-child(2) {
  position: relative;
  height: 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}

.metric-row span:nth-child(2) em {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff2444, #ffb553);
  opacity: .75;
}

.missing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.missing-card {
  min-height: 76px;
  position: relative;
  padding: 8px 8px 7px 34px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 15%, rgba(255, 203, 103, .09), transparent 4rem),
    linear-gradient(145deg, #151516, #080808);
}

.missing-card > em {
  position: absolute;
  left: 8px;
  top: 10px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #17100a;
  background: linear-gradient(#ffe5a4, #c8913c);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.missing-card:nth-child(n + 4) > em {
  color: #fff;
  background: #73777d;
}

.missing-card > span {
  min-height: 22px;
  display: flex;
  align-items: center;
}

.missing-card > span b {
  color: #fff2d2;
  font-size: 15px;
}

.missing-card > strong {
  position: absolute;
  right: 8px;
  top: 8px;
  color: #ffe3a0;
  font-size: 17px;
}

.missing-card > strong small {
  margin-left: 2px;
  color: #bdb5ac;
  font-size: 10px;
  font-weight: 500;
}

.missing-card p {
  height: 5px;
  margin: 8px 0 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #2a2a2b;
}

.missing-card p i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1886ff, #42c8ff);
}

.missing-card > small {
  color: #bdb5ac;
  font-size: 10px;
}

.source-category-tabs {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  overflow: visible;
  margin: 0 0 8px;
  padding: 2px;
}

.source-category-tabs button {
  min-width: 0;
  height: 30px;
  padding: 0 4px;
  border: 1px solid rgba(245, 165, 60, .48);
  border-radius: 999px;
  color: #ffe6af;
  background: linear-gradient(180deg, #24201a, #0d0d0d);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.source-category-tabs button.active {
  color: #171006;
  border-color: rgba(255, 224, 151, .9);
  background: linear-gradient(180deg, #ffe8b2, #d89a3d);
  box-shadow: 0 0 14px rgba(232, 174, 80, .25);
}

.source-tip {
  min-height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #f5a53c;
  border-bottom: 0;
  color: #fff2d2;
  background: #111112;
  padding: 5px 8px;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.source-table {
  overflow: hidden;
  border: 1px solid #f5a53c;
  border-radius: 0 0 4px 4px;
  background: #f6f6f6;
}

.source-row {
  display: grid;
  min-height: 50px;
  border-bottom: 1px solid #f5b24f;
  color: #111;
  background: #f7f7f7;
  font-size: 15px;
}

.source-row:last-child {
  border-bottom: 0;
}

.source-stats-table .source-row {
  grid-template-columns: 58px 1fr 76px 76px 76px;
}

.source-missing-table .source-row {
  grid-template-columns: 52px 1fr 132px 84px;
}

.source-row > span,
.source-head button {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-right: 1px solid #f5b24f;
  text-align: center;
}

.source-row > span:last-child,
.source-head button:last-child {
  border-right: 0;
}

.source-head {
  min-height: 44px;
  color: #111;
  background: #fff;
}

.source-head button {
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  color: #111;
  background: #fff;
  font-size: 14px;
}

.source-row b {
  color: #101010;
  font-size: 16px;
  font-weight: 900;
}

.sort-arrow {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #999;
}

.sort-arrow.asc {
  border-top: 0;
  border-bottom: 7px solid #f05a4f;
}

.sort-arrow.desc {
  border-top-color: #f05a4f;
}

.source-trend-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #f5a53c;
  border-radius: 0 0 4px 4px;
  background: #f7f7f7;
  overscroll-behavior-x: contain;
}

.source-trend-table {
  width: max-content;
  min-width: 100%;
}

.source-trend-row {
  width: max-content;
  min-width: 100%;
  display: grid;
  grid-template-columns: 64px 64px repeat(var(--source-columns), 48px);
  min-height: 40px;
  border-bottom: 1px solid #f5b24f;
  color: #111;
}

.source-trend-row:last-child {
  border-bottom: 0;
}

.source-trend-row b,
.source-trend-row strong,
.source-trend-row span {
  display: grid;
  place-items: center;
  border-right: 1px solid #f5b24f;
  font-size: 13px;
}

.source-trend-row b {
  position: sticky;
  left: 0;
  z-index: 4;
  background: #fff;
  font-weight: 900;
}

.source-trend-row strong {
  position: sticky;
  left: 64px;
  z-index: 3;
  min-width: 0;
  background: #fffdf8;
  font-weight: 900;
}

.source-trend-row strong em {
  color: #111;
  font-style: normal;
  font-weight: 900;
}

.source-trend-row span:last-child {
  border-right: 0;
}

.source-trend-head {
  color: #fff;
  background: #f5a84a;
  font-weight: 900;
}

.source-trend-head b {
  color: #fff;
  background: #f5a84a;
}

.source-trend-head strong {
  color: #fff;
  background: #f5a84a;
}

.source-trend-row span.hit {
  color: #fff;
  background: linear-gradient(180deg, #1f75df, #0c4aa2);
  font-weight: 900;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25);
}

@media (max-width: 374px) {
  .history-subtabs.wrap {
    grid-template-columns: repeat(6, 52px);
  }

  .metric-row {
    grid-template-columns: 52px 1fr 56px 56px 56px;
    font-size: 10px;
  }

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

  .source-category-tabs {
    gap: 5px;
  }

  .source-category-tabs button {
    height: 29px;
    font-size: 12px;
  }

  .source-stats-table .source-row {
    grid-template-columns: 48px 1fr 62px 62px 62px;
    font-size: 12px;
  }

  .source-missing-table .source-row {
    grid-template-columns: 44px 1fr 104px 64px;
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .admin-shell {
    padding: 10px 8px 90px;
  }

  .admin-top {
    padding: 13px;
  }

  .admin-top h1 {
    font-size: 19px;
  }

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

  .admin-card-head {
    flex-wrap: wrap;
  }
}

body[data-lottery-accent="red"] .history-summary,
body[data-lottery-accent="red"] .history-qid b,
body[data-lottery-accent="red"] .home-history-issue {
  --accent-glow: rgba(233, 52, 69, .2);
}

body[data-lottery-accent="green"] .history-qid b {
  background: linear-gradient(180deg, #247a43, #103d25);
}

body[data-lottery-accent="blue"] .history-qid b {
  background: linear-gradient(180deg, #235c9d, #102f63);
}

.admin-shell {
  width: min(100%, 920px);
  display: none;
  margin: 0 auto;
  padding: 18px 14px 92px;
}

.admin-body.is-authed .admin-shell {
  display: block;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.admin-body.is-authed .admin-login {
  display: none;
}

.admin-login-box {
  width: min(100%, 380px);
  padding: 20px;
  border: 1px solid rgba(255, 215, 138, .24);
  border-radius: 10px;
  background:
    radial-gradient(circle at 88% 0%, rgba(243, 197, 107, .15), transparent 14rem),
    linear-gradient(180deg, #171718, #0c0c0d);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .45);
}

.admin-login-box p,
.admin-login-box h1 {
  margin: 0;
}

.admin-login-box p {
  color: #f3c56b;
  font-size: 13px;
  font-weight: 900;
}

.admin-login-box h1 {
  margin: 5px 0 18px;
  color: #fff;
  font-size: 22px;
}

.admin-login-box label {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  color: #f0d39c;
  font-size: 13px;
  font-weight: 800;
}

.admin-login-box input {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 7px;
  padding: 0 12px;
  color: #fff;
  outline: none;
  background: #0b0b0c;
  font: inherit;
}

.admin-login-box button {
  width: 100%;
  height: 42px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  color: #211405;
  background: linear-gradient(180deg, #ffe7aa, #d99b38);
  font-weight: 900;
}

.admin-login-box span {
  display: block;
  min-height: 18px;
  margin-top: 10px;
  color: #d9d0bf;
  font-size: 12px;
}

.admin-login-box span[data-tone="ok"] {
  color: #63e090;
}

.admin-login-box span[data-tone="error"] {
  color: #ff6c78;
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 215, 138, .2);
  border-radius: 8px;
  background: linear-gradient(180deg, #171718, #0d0d0e);
}

.admin-top p,
.admin-top h1 {
  margin: 0;
}

.admin-top p {
  color: #f3c56b;
  font-size: 13px;
  font-weight: 800;
}

.admin-top h1 {
  margin-top: 4px;
  color: #fff;
  font-size: 22px;
}

.admin-top a,
.admin-top-actions button,
.admin-section-head button,
.admin-savebar button,
.admin-card-head button {
  border: 0;
  border-radius: 999px;
  color: #211405;
  background: linear-gradient(180deg, #ffe7aa, #d99b38);
  font-weight: 900;
}

.admin-top a {
  flex: 0 0 auto;
  padding: 9px 15px;
  font-size: 13px;
}

.admin-top-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.admin-top-actions button {
  padding: 9px 15px;
  font-size: 13px;
}

.admin-section {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(243, 197, 107, .09), transparent 16rem),
    linear-gradient(180deg, #151516, #0c0c0d);
}

.admin-section-head,
.admin-card-head,
.admin-savebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-section-head {
  margin-bottom: 12px;
}

.admin-section h2 {
  margin: 0;
  color: #ffd987;
  font-size: 17px;
}

.admin-section-head button,
.admin-savebar button,
.admin-card-head button {
  min-height: 34px;
  padding: 0 15px;
}

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

.admin-card {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(0, 0, 0, .24);
}

.admin-card-head {
  margin-bottom: 10px;
}

.admin-card-head strong {
  color: #fff;
}

.admin-card-head button {
  min-height: 28px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(180deg, #f04755, #b91627);
}

.admin-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: #e9dcc7;
  font-size: 13px;
}

.admin-switch input {
  width: 16px;
  height: 16px;
  accent-color: #f3c56b;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-grid label,
.admin-wide {
  display: grid;
  gap: 6px;
  color: #f0d39c;
  font-size: 12px;
  font-weight: 800;
}

.admin-wide {
  margin-bottom: 10px;
}

.admin-grid .admin-wide {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.admin-grid input,
.admin-wide input {
  width: 100%;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  padding: 0 10px;
  outline: none;
  color: #fff;
  background: #0b0b0c;
  font: inherit;
  font-weight: 600;
}

.admin-upload-row {
  display: grid;
  grid-template-columns: 1fr 74px;
  gap: 8px;
}

.admin-upload-btn {
  height: 38px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  color: #211405;
  background: linear-gradient(180deg, #ffe7aa, #d99b38);
  font-size: 13px;
  font-weight: 900;
}

.admin-upload-btn input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-password-btn {
  min-height: 38px;
  align-self: end;
  border: 0;
  border-radius: 999px;
  color: #211405;
  background: linear-gradient(180deg, #ffe7aa, #d99b38);
  font-weight: 900;
}

.admin-grid input:focus,
.admin-wide input:focus {
  border-color: rgba(243, 197, 107, .75);
  box-shadow: 0 0 0 2px rgba(243, 197, 107, .12);
}

.admin-savebar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 40;
  width: min(calc(100% - 24px), 892px);
  padding: 10px;
  border: 1px solid rgba(255, 215, 138, .24);
  border-radius: 10px;
  background: rgba(12, 12, 13, .94);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .5);
  transform: translateX(-50%);
}

.admin-savebar span {
  min-width: 0;
  color: #d9d0bf;
  font-size: 13px;
  font-weight: 700;
}

.admin-savebar span[data-tone="ok"] {
  color: #63e090;
}

.admin-savebar span[data-tone="error"] {
  color: #ff6c78;
}

@media (max-width: 374px) {
  .topbar {
    grid-template-columns: 34px minmax(0, 1fr) 54px;
    gap: 5px;
    padding-inline: 8px;
  }

  .brand {
    width: 30px;
    height: 30px;
  }

  .ticker {
    padding-inline: 9px;
  }

  .customer-link {
    font-size: 10px;
  }

  .hero-copy {
    padding-left: 44px;
  }

  .hero h1 {
    font-size: 27px;
  }

  .hero h1 strong {
    font-size: 21px;
  }

  .download-actions,
  .site-btn {
    width: 166px;
  }

  .download-actions {
    gap: 8px;
  }

  .hero-prizes {
    right: -34px;
    width: 210px;
  }

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

  .data-layout {
    grid-template-columns: 1fr;
  }

  .draw-meta {
    grid-template-columns: auto 1fr;
  }

  .countdown {
    grid-column: 1 / -1;
    justify-self: end;
  }
}
