@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap");
:root {
  --blue: #347cf6;
  --blue-dark: #1759d9;
  --blue-light: #edf4ff;
  --orange: #ff8b37;
  --purple: #934ce3;
  --ink: #172844;
  --muted: #8390a6;
  --line: #e8edf5;
  --bg: #f5f7fc;
  --white: #fff;
  --green: #19a781;
  font-family:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  font-synthesis: none;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #a37ce8;
  outline-offset: 3px;
}
button,
a {
  touch-action: manipulation;
}
button {
  border: 0;
  background: none;
}
a {
  color: var(--blue);
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 28px;
  letter-spacing: -0.8px;
  line-height: 1.4;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 17px;
}
small {
  font-size: 12px;
}
.icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 222px;
  background: var(--white);
  border-right: 1px solid var(--line);
  padding: 34px 22px;
  z-index: 30;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  text-align: left;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -0.9px;
  color: #203457;
}
.brand-symbol {
  display: grid;
  place-items: center;
  width: 33px;
  height: 37px;
  border-radius: 10px;
  background: var(--blue);
  color: white;
  transform: skew(-9deg);
}
.brand-symbol svg {
  width: 24px;
  fill: white;
  stroke: none;
}
.brand-dot {
  color: var(--blue);
}
.brand-sub {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2.9px;
  margin: 7px 0 0 44px;
}
.nav-caption {
  font-size: 12px;
  letter-spacing: 1.3px;
  color: #a0aabd;
  margin: 46px 13px 14px;
}
.side-nav {
  display: grid;
  gap: 7px;
}
.nav-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  color: #8490a4;
  text-align: left;
}
.nav-item:hover {
  background: #f5f8fe;
  color: var(--blue);
}
.nav-item.active {
  color: var(--blue);
  background: var(--blue-light);
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
  line-height: 19px;
  padding: 0 6px;
  background: #fff0e4;
  color: #f08935;
  border-radius: 5px;
}
.side-bottom {
  margin-top: auto;
}
.support-card {
  background: #f7f9fe;
  border: 1px solid var(--line);
  padding: 18px 16px;
  border-radius: 14px;
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
}
.support-card .icon {
  color: var(--blue);
  width: 28px;
  height: 28px;
}
.support-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.support-card button {
  text-align: left;
  padding: 0;
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
}
.sidebar-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #a2aab9;
  padding: 6px;
}
.demo-pill {
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 5px;
  background: #eef3fb;
  color: #7d8ba4;
  white-space: nowrap;
}
.shell {
  margin-left: 222px;
}
.topbar {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #9ca6b6;
  font-size: 13px;
}
.breadcrumb strong {
  color: #516079;
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.top-date {
  font-size: 12px;
  color: #8a95a7;
}
.language {
  font-size: 13px;
  color: #66748a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.language .icon {
  width: 17px;
}
.icon-button {
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  position: relative;
}
.icon-button:hover {
  background: var(--blue-light);
}
.unread {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
  top: 6px;
  right: 8px;
  box-shadow: 0 0 0 2px #fff;
}
.top-avatar,
.avatar {
  border-radius: 50%;
  background: #e8efff;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--blue);
}
.top-avatar {
  width: 36px;
  height: 36px;
  font-size: 13px;
}
.mobile-brand {
  display: none;
}
.content {
  max-width: 1460px;
  margin: 0 auto;
  padding: 32px 40px 20px;
}




.lobby-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
}
.hero {
  position: relative;
  min-height: 270px;
  background: linear-gradient(120deg, #2468ed, #488bfc 65%, #529aff);
  border-radius: 20px;
  overflow: hidden;
  color: white;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: 33px 36px;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(26, 91, 220, 0.85),
    rgba(32, 104, 244, 0.15) 65%
  );
  z-index: -1;
}
.hero-art {
  position: absolute;
  right: 0;
  top: 0;
  width: 70%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  mask-image: linear-gradient(90deg, transparent, black 22%);
}
.hero-content {
  position: relative;
  max-width: 65%;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff22;
  border: 1px solid #ffffff2a;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.hero h2 {
  font-size: 34px;
  line-height: 1.35;
  letter-spacing: 0;
  font-weight: 700;
}
.hero p {
  font-size: 13px;
  color: #e2edff;
  margin: 11px 0 22px;
}
.primary {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 11px 24px;
  border-radius: 9px;
  background: var(--blue);
  color: white;
  font-weight: 600;
  font-size: 14px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}
.primary.orange {
  background: var(--orange);
  box-shadow: 0 4px 15px #ff8b3722;
}
.primary.orange:hover {
  background: #f17b24;
}
.primary.white {
  background: white;
  color: var(--blue);
}
.secondary {
  min-height: 43px;
  padding: 10px 18px;
  background: #f2f5fb;
  border: 1px solid #e4eaf5;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
}
.secondary:hover {
  background: #eaf1fd;
}
.hero-dots {
  position: absolute;
  left: 36px;
  bottom: 16px;
  display: flex;
  gap: 5px;
}
.hero-dots button {
  width: 6px;
  height: 6px;
  border-radius: 20px;
  padding: 0;
  background: #ffffff66;
}
.hero-dots button.active {
  width: 21px;
  background: white;
}
.wallet {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}
.wallet-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8b97aa;
}
.wallet-label .icon {
  width: 16px;
  height: 16px;
}
.balance {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 10px;
  font-family: "Outfit", sans-serif;
}
.balance span {
  font-size: 14px;
  font-weight: 500;
  color: #6f7d93;
}
.balance strong {
  font-size: 39px;
  letter-spacing: -1.2px;
  font-weight: 600;
}
.wallet-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #98a3b4;
  margin: 9px 0 23px;
}
.wallet-info .icon {
  width: 13px;
  height: 13px;
}
.wallet-actions {
  display: flex;
  gap: 9px;
  margin-top: auto;
}
.wallet-actions button {
  flex: 1;
  padding: 10px 5px;
  min-height: 40px;
}
.wallet-actions .icon {
  width: 16px;
  height: 16px;
}
.announcement {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: #7c8ba1;
  margin: 0 0 10px;
  min-height: 28px;
  padding: 0 2px;
}
.announcement .icon {
  width: 16px;
  height: 16px;
  color: var(--blue);
}
.announcement-window {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.announcement .announcement-copy {
  box-sizing: content-box;
  width: max-content;
  margin: 0;
  padding-left: 100%;
  white-space: nowrap;
  text-overflow: clip;
  animation: announcement-scroll 22s linear infinite;
}
@keyframes announcement-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
.announcement-window:hover .announcement-copy {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .announcement .announcement-copy {
    animation: none;
    padding-left: 0;
    width: auto;
    white-space: normal;
  }
}
.text-button {
  font-size: 13px;
  color: var(--blue);
  padding: 5px 0;
  font-weight: 500;
  white-space: nowrap;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 28px 0 16px;
  gap: 12px;
}
.section-head .title-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
}
.section-head .title-wrap > .icon {
  color: var(--orange);
  width: 21px;
  height: 21px;
}
.section-head p {
  color: var(--muted);
  font-size: 12px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 4px;
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 9px 5px;
}
.quick-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  padding: 5px 2px;
  min-width: 0;
  min-height: 44px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 10px;
  position: relative;
}
.quick-item:hover {
  background: #f4f8ff;
  color: var(--blue);
}
.quick-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: #edf4ff;
  border-radius: 12px;
  color: var(--blue);
}
.quick-icon .icon {
  width: 24px;
  height: 24px;
}
.quick-item:nth-child(3n) .quick-icon {
  background: #f3ecff;
  color: #9b58e4;
}
.quick-item:nth-child(4n) .quick-icon {
  background: #fff2e7;
  color: #f68a37;
}
.tiny-badge {
  position: absolute;
  top: -5px;
  left: calc(50% + 6px);
  font-size: 8px;
  border-radius: 4px;
  background: #a64ceb;
  color: white;
  padding: 2px 4px;
}
.category-row {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 20px;
}
.category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  min-height: 42px;
  white-space: nowrap;
  border-radius: 9px;
  background: #eaf0f9;
  color: #78859b;
  font-size: 13px;
  font-weight: 500;
}
.category .icon {
  width: 16px;
  height: 16px;
}
.category.active {
  background: var(--blue);
  color: white;
  box-shadow: 0 5px 12px #347cf624;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}
.game-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
  text-align: left;
  padding: 0;
  display: block;
  width: 100%;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px #1b397416;
}
.game-art {
  height: 173px;
  position: relative;
  overflow: hidden;
  background: #fff0d7;
}
.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.game-card:hover img {
  transform: scale(1.05);
}
.game-art:after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, #14284177);
}
.game-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 7px;
  border-radius: 5px;
  background: #ff9342;
  color: white;
  font-size: 10px;
  font-weight: 600;
  z-index: 2;
}
.game-badge.purple {
  background: #9a57e4;
}
.game-overlay-name {
  position: absolute;
  left: 14px;
  bottom: 10px;
  z-index: 2;
  color: white;
  font-size: 24px;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px #0005;
  font-weight: 700;
}
.game-details {
  padding: 14px 13px 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.game-details h3 {
  font-size: 14px;
  margin-bottom: 5px;
}
.game-details p {
  font-size: 10px;
  letter-spacing: 0.6px;
  color: #9aa5b4;
}
.game-play {
  width: 31px;
  height: 31px;
  background: var(--blue-light);
  border-radius: 50%;
  color: var(--blue);
  display: grid;
  place-items: center;
}
.game-play .icon {
  width: 13px;
  height: 13px;
  fill: var(--blue);
  stroke: none;
}
.stat-live {
  font-size: 10px;
  color: #8a98ae;
  margin-top: 3px;
}
.lobby-lower {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
}
.jackpot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.jackpot {
  padding: 18px 20px;
  border-radius: 13px;
  background: linear-gradient(120deg, #377ff8, #3c3bad);
  color: white;
  position: relative;
  overflow: hidden;
}
.jackpot.purple {
  background: linear-gradient(120deg, #af43de, #6620a7);
}
.jackpot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #e5e1ff;
}
.jackpot-top .icon {
  width: 19px;
  height: 19px;
}
.jackpot .amount {
  font-family: "Outfit", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #ffea71;
  white-space: nowrap;
  letter-spacing: 0.3px;
  margin: 10px 0;
}
.jackpot .amount span {
  font-size: 11px;
  margin-right: 5px;
}
.jackpot-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #dbdcff;
}
.jackpot-foot button {
  font-size: 10px;
  color: #fff;
  padding: 0;
}
.activity-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 19px;
  display: flex;
  gap: 15px;
  align-items: center;
  min-height: 126px;
}
.activity-icon {
  background: #fff1e5;
  color: var(--orange);
  width: 53px;
  height: 59px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.activity-icon .icon {
  width: 30px;
  height: 30px;
}
.activity-card h3 {
  font-size: 14px;
}
.activity-card p {
  font-size: 11px;
  line-height: 1.8;
  color: #96a0b1;
  margin: 7px 0;
}
.activity-card .text-button {
  font-size: 11px;
}
.providers {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 24px;
  flex-wrap: wrap;
}
.provider-word {
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  letter-spacing: -0.5px;
  color: #abb4c4;
  font-weight: 700;
  font-style: italic;
}
.provider-word small {
  font-size: 9px;
  letter-spacing: 0.5px;
  font-style: normal;
  font-weight: 400;
  display: block;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 24px 0 5px;
  color: #a3adbc;
  font-size: 10px;
  line-height: 1.7;
}
.footer span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.age {
  border: 1px solid #bcc5d3;
  border-radius: 50%;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  font-size: 8px;
}
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 18px;
  padding: 26px;
}
.panel-title {
  font-size: 17px;
  margin-bottom: 20px;
}
.subtext {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.empty {
  padding: 55px 20px;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  color: #95a1b4;
}
.empty > .icon {
  width: 43px;
  height: 43px;
  color: #b4c6e7;
}
.empty h3 {
  font-size: 16px;
  color: #65778e;
}
.empty p {
  font-size: 13px;
}
.full-width {
  width: 100%;
}
dialog {
  width: calc(100% - 36px);
  max-width: 470px;
  border: 0;
  padding: 28px;
  border-radius: 21px;
  box-shadow: 0 25px 100px #20375c40;
  color: var(--ink);
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #11234066;
  backdrop-filter: blur(5px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.dialog-head h2 {
  font-size: 20px;
}
.dialog-content {
  line-height: 1.9;
  font-size: 14px;
  color: #6b7b91;
}
.dialog-content p + p {
  margin-top: 12px;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.dialog-actions > * {
  flex: 1;
}
.dialog-label {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 7px;
}
#toast {
  position: fixed;
  left: calc(50% + 111px);
  bottom: 30px;
  transform: translate(-50%, 20px);
  z-index: 90;
  background: #172d50;
  color: #fff;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: 0 10px 40px #142e4930;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
  max-width: 90%;
  text-align: center;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.field {
  display: grid;
  gap: 9px;
  font-size: 13px;
  color: #68798f;
  margin: 20px 0;
}
.input {
  background: #fafbff;
  border: 1px solid #dfe7f3;
  color: #293c58;
  border-radius: 10px;
  min-height: 47px;
  padding: 12px 14px;
  width: 100%;
  font-size: 15px;
}
.input:focus {
  border-color: var(--blue);
  outline: 3px solid #347cf612;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 11px;
  background: #edf4ff;
  color: var(--blue);
}
.tag.green {
  background: #e9f8f3;
  color: #19a17c;
}
.tag.orange {
  background: #fff4e9;
  color: #d6812d;
}
.page-anim {
  animation: enter 0.25s ease-out;
}
@keyframes enter {
  from {
    opacity: 0.6;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1500px) {
  .game-art {
    height: 205px;
  }
  .hero {
    min-height: 295px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 190px;
    padding: 30px 16px;
  }
  .shell {
    margin-left: 190px;
  }
  .content {
    padding: 28px 28px 20px;
  }
  .topbar {
    padding: 0 28px;
  }
  .lobby-top {
    grid-template-columns: minmax(0, 1fr) 264px;
    gap: 17px;
  }
  .hero {
    padding: 27px;
    min-height: 255px;
  }
  .hero h2 {
    font-size: 29px;
  }
  .hero-content {
    max-width: 70%;
  }
  .wallet {
    padding: 23px;
  }
  .game-art {
    height: 145px;
  }
  .lobby-lower {
    grid-template-columns: 1fr;
  }
  .lobby-lower > .activities .section-head {
    margin-top: 20px;
  }
  .activity-card {
    min-height: 105px;
  }
  .quick-item {
    font-size: 11px;
  }
  #toast {
    left: calc(50% + 95px);
  }
}
@media (max-width: 960px) {
  .sidebar {
    width: 84px;
    padding: 26px 13px;
  }
  .sidebar .brand .brand-name,
  .brand-sub,
  .nav-caption,
  .nav-item > span,
  .nav-count,
  .support-card,
  .sidebar-foot,
  .side-bottom > .nav-item {
    display: none;
  }
  .sidebar .brand {
    justify-content: center;
  }
  .side-nav {
    margin-top: 40px;
  }
  .nav-item {
    justify-content: center;
    padding: 15px 8px;
  }
  .shell {
    margin-left: 84px;
  }
  .content {
    padding: 26px 24px;
  }
  .topbar {
    padding: 0 24px;
    height: 75px;
  }
  .lobby-top {
    grid-template-columns: minmax(0, 1fr) 230px;
  }
  .wallet {
    padding: 20px;
  }
  .balance strong {
    font-size: 34px;
  }
  .hero h2 {
    font-size: 28px;
  }
  .hero-content {
    max-width: 80%;
  }
  .hero p {
    font-size: 12px;
  }
  .game-grid {
    gap: 12px;
  }
  .game-art {
    height: 128px;
  }
  .game-details {
    padding: 12px 10px;
  }
  .game-details h3 {
    font-size: 12px;
  }
  .game-overlay-name {
    font-size: 20px;
  }
  .game-play {
    width: 25px;
    height: 25px;
  }
  #toast {
    left: calc(50% + 42px);
  }
  .top-date {
    display: none;
  }
}
@media (max-width: 700px) {
  .sidebar {
    display: none;
  }
  .shell {
    margin-left: 0;
  }
  .topbar {
    height: 72px;
    padding: 0 20px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
  }
  .mobile-brand {
    display: flex;
    font-size: 22px;
  }
  .mobile-brand .brand-symbol {
    width: 28px;
    height: 32px;
    border-radius: 8px;
  }
  .breadcrumb,
  .top-avatar,
  .top-date {
    display: none;
  }
  .top-actions {
    gap: 7px;
  }
  .language {
    font-size: 12px;
  }
  .language .icon {
    display: none;
  }
  .content {
    padding: 24px 18px 110px;
  }


  h1 {
    font-size: 24px;
  }


  .lobby-top {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .hero {
    min-height: 208px;
    border-radius: 15px;
    padding: 25px;
  }
  .hero h2 {
    font-size: 28px;
  }
  .hero p {
    font-size: 11px;
    margin: 8px 0 15px;
  }
  .hero-content {
    max-width: 65%;
  }
  .hero-kicker {
    font-size: 9px;
    letter-spacing: 1px;
    padding: 4px 8px;
    margin-bottom: 10px;
  }
  .hero .primary {
    min-height: 34px;
    padding: 8px 15px;
    font-size: 12px;
  }
  .hero-dots {
    left: 25px;
    bottom: 13px;
  }
  .hero-art {
    width: 76%;
    object-position: 60%;
  }
  .wallet {
    padding: 17px 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    border-radius: 14px;
    gap: 0 10px;
  }
  .wallet-label {
    font-size: 11px;
  }
  .balance {
    margin-top: 4px;
    gap: 6px;
    grid-row: 2;
    grid-column: 1;
  }
  .balance strong {
    font-size: 29px;
  }
  .balance span {
    font-size: 11px;
  }
  .wallet-info {
    display: none;
  }
  .wallet-actions {
    grid-row: 1/3;
    grid-column: 2;
    margin: 0;
    gap: 7px;
  }
  .wallet-actions button {
    padding: 9px 13px;
    font-size: 12px;
    min-height: 37px;
    flex: initial;
  }
  .wallet-actions .icon {
    width: 14px;
  }
  .wallet-label .icon {
    width: 14px;
  }
  .announcement {
    font-size: 11px;
    gap: 6px;
    margin: 0 0 8px;
  }
  .announcement .announcement-copy {
    animation-duration: 14s;
  }
  .announcement > .text-button {
    font-size: 10px;
  }
  .quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px 2px;
    margin-top: 12px;
    padding: 8px 4px;
    border-radius: 12px;
  }
  .quick-item {
    font-size: 11px;
    gap: 4px;
    padding: 4px 2px;
  }
  .quick-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .quick-icon .icon {
    width: 23px;
    height: 23px;
  }
  .section-head {
    margin: 25px 0 15px;
  }
  h2 {
    font-size: 17px;
  }
  .section-head .title-wrap {
    gap: 7px;
  }
  .section-head .title-wrap > .icon {
    width: 18px;
  }
  .section-head .text-button {
    font-size: 11px;
  }
  .category-row {
    gap: 7px;
    margin-bottom: 14px;
  }
  .category {
    padding: 10px 15px;
    min-height: 37px;
    font-size: 11px;
    gap: 6px;
  }
  .category .icon {
    width: 14px;
    height: 14px;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .game-art {
    height: 154px;
  }
  .game-details {
    padding: 13px 12px;
  }
  .game-details h3 {
    font-size: 13px;
  }
  .game-details p {
    font-size: 9px;
  }
  .game-overlay-name {
    font-size: 24px;
  }
  .game-play {
    width: 29px;
    height: 29px;
  }
  .jackpot-grid {
    gap: 11px;
  }
  .jackpot {
    padding: 16px 13px;
  }
  .jackpot .amount {
    font-size: 24px;
    letter-spacing: -0.4px;
    margin: 12px 0;
  }
  .jackpot .amount span {
    font-size: 9px;
    display: block;
    margin-bottom: 2px;
  }
  .jackpot-top {
    font-size: 10px;
  }
  .jackpot-top .icon {
    width: 16px;
  }
  .jackpot-foot {
    font-size: 9px;
  }
  .jackpot-foot button {
    font-size: 9px;
  }
  .lobby-lower {
    gap: 0;
  }
  .providers {
    gap: 20px;
    padding-top: 20px;
    justify-content: center;
    margin-top: 26px;
  }
  .provider-word {
    font-size: 15px;
  }
  .provider-word small {
    font-size: 7px;
  }
  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    font-size: 9px;
  }
  .panel {
    padding: 21px 18px;
    border-radius: 14px;
  }
  #toast {
    left: 50%;
    bottom: 96px;
    font-size: 13px;
  }
  .dialog-head h2 {
    font-size: 18px;
  }
  dialog {
    padding: 23px;
  }

  .lobby-lower .activities .section-head {
    margin-top: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.lotto-art {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(at 80% 0, #be78ff, transparent 70%),
    linear-gradient(120deg, #482291, #9251dd);
  color: #fff;
}
.lotto-art > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 6px;
}
.lotto-art > strong {
  font:
    italic 700 32px "Outfit",
    sans-serif;
  margin: 2px 0 9px;
}
.lotto-art > strong > span {
  color: #ffcd67;
}
.lotto-balls {
  display: flex;
  gap: 7px;
}
.lotto-balls i {
  font-family: "Outfit", sans-serif;
  font-size: 23px;
  font-style: normal;
  font-weight: 700;
  color: #7640bb;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #e8d8ff);
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 8px #28104244;
}
.cards-art {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
  gap: 9px;
  background: radial-gradient(at 70% 20%, #2b8192, #102b48);
}
.cards-art span {
  font: 60px Georgia;
  background: #fff;
  border-radius: 7px;
  transform: rotate(-12deg);
  width: 65px;
  height: 89px;
  display: grid;
  place-items: center;
  color: #192642;
}
.cards-art span + span {
  color: #d35252;
  transform: rotate(12deg);
  margin-left: -18px;
  margin-top: 17px;
}
.tiger img {
  object-position: 77% center;
}
.search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  align-items: center;
}
.search-input {
  position: relative;
  flex: 1;
  max-width: 500px;
}
.search-input .icon {
  position: absolute;
  top: 13px;
  left: 14px;
  width: 19px;
  color: #95a3b8;
}
.search-input input {
  padding-left: 44px;
  background: white;
}
.search-bar select {
  width: 175px;
  background: white;
}
.library-count {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 18px;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 24px;
  align-items: start;
}
.steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 13px;
  color: #a0adc0;
}
.steps > span {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.steps b {
  display: grid;
  place-items: center;
  font: 500 13px "Outfit";
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #eaf0f9;
  color: #95a3bc;
}
.steps .active {
  color: var(--blue);
}
.steps .active b {
  background: var(--blue);
  color: white;
}
.step-line {
  height: 1px;
  background: var(--line);
  flex: 1;
}
.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.payment {
  position: relative;
  border: 1px solid var(--line);
  padding: 19px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
}
.payment:hover {
  background: #fafcff;
}
.payment.active {
  border-color: var(--blue);
  background: #f3f7ff;
}
.payment > .icon {
  color: var(--blue);
  width: 30px;
  height: 30px;
}
.payment strong {
  font-size: 14px;
}
.payment p {
  font-size: 11px;
  color: #93a1b5;
  margin-top: 6px;
}
.payment > .selection {
  position: absolute;
  right: 10px;
  top: 9px;
  color: var(--blue);
  display: none;
}
.payment.active > .selection {
  display: block;
}
.selection .icon {
  width: 14px;
  height: 14px;
}
.amount-field {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid #dee8f8;
  padding: 8px 2px 15px;
}
.amount-field > span {
  color: #77879f;
  font-size: 15px;
}
.amount-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none !important;
  background: none;
  font:
    600 35px "Outfit",
    sans-serif;
  color: var(--ink);
}
.amount-field:focus-within {
  border-color: var(--blue);
}
.amount-field input::placeholder {
  color: #c3cddb;
}
.amount-picks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}
.amount-picks button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fafbfe;
  font: 500 15px "Outfit";
}
.amount-picks button.active {
  background: #edf4ff;
  border-color: var(--blue);
  color: var(--blue);
}
.note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  line-height: 1.8;
  font-size: 12px;
  color: #8b99ac;
  background: #f5f8fd;
  border-radius: 10px;
  padding: 13px 15px;
  margin: 20px 0;
}
.note .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: #829bba;
}
.wallet-summary {
  background: linear-gradient(135deg, #347cf6, #245dcf);
  color: white;
  border: 0;
}
.wallet-summary .subtext {
  color: #c8dcff;
}
.wallet-summary .balance span {
  color: #c8dcff;
}
.wallet-summary .balance {
  margin: 15px 0 25px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 13px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.summary-row:last-child {
  border: 0;
}
.summary-row span {
  color: #8a98ae;
}
.success {
  padding: 30px 0;
  display: grid;
  gap: 16px;
  text-align: center;
  justify-items: center;
}
.success-mark {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #e7f9f1;
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.success-mark .icon {
  width: 34px;
  height: 34px;
}
.success h2 {
  font-size: 23px;
}
.success-amount {
  font:
    600 36px "Outfit",
    sans-serif;
  letter-spacing: -0.5px;
}
.success-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.form-error {
  font-size: 12px;
  color: #cf5058;
  margin-top: 8px;
  min-height: 18px;
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}
.offer-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.offer-cover {
  padding: 28px 24px;
  color: white;
  background: linear-gradient(120deg, #2b72ee, #76a9ff);
  position: relative;
  min-height: 157px;
}
.offer-card:nth-child(2) .offer-cover {
  background: linear-gradient(120deg, #8546d8, #b573ee);
}
.offer-card:nth-child(3) .offer-cover {
  background: linear-gradient(120deg, #f68b37, #ffb865);
}
.offer-cover > .icon {
  position: absolute;
  right: 15px;
  bottom: 20px;
  width: 65px;
  height: 65px;
  opacity: 0.3;
  stroke-width: 1.1;
}
.offer-cover small {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #ffffffcc;
}
.offer-cover h3 {
  font-size: 24px;
  margin: 14px 0 0;
}
.offer-cover p {
  font-size: 12px;
  margin-top: 8px;
  color: #ffffffd9;
}
.offer-body {
  padding: 22px;
}
.offer-body p {
  font-size: 12px;
  line-height: 1.9;
  color: #8a99ad;
  min-height: 66px;
  margin: 10px 0 20px;
}
.offer-body button {
  width: 100%;
}
.records-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.record-stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 22px;
}
.record-stat p {
  font-size: 12px;
  color: #8c9bb1;
  margin-bottom: 10px;
}
.record-stat strong {
  font:
    500 27px "Outfit",
    sans-serif;
}
.record-stat strong span {
  font-size: 12px;
  color: #8b99aa;
  margin-right: 7px;
}
.record-controls {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.record-controls .category-row {
  margin: 0;
}
.record-controls select {
  width: auto;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 13px;
}
th {
  font-size: 11px;
  font-weight: 500;
  color: #8b9bb2;
  background: #f8faff;
  white-space: nowrap;
}
th,
td {
  padding: 17px 15px;
  border-bottom: 1px solid var(--line);
}
td {
  white-space: nowrap;
}
td .icon {
  width: 16px;
  height: 16px;
}
.record-amount {
  font-family: "Outfit";
  font-size: 16px;
}
.record-amount.in {
  color: #1ba680;
}
.receipt-detail {
  font:
    500 12px "Outfit",
    sans-serif;
  color: #7e8fab;
}
.profile-top {
  display: flex;
  gap: 19px;
  align-items: center;
  padding: 28px;
  margin-bottom: 24px;
}
.avatar {
  width: 76px;
  height: 76px;
  font-size: 24px;
}
.profile-top h2 {
  font-size: 23px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.profile-top .tag {
  font-size: 10px;
}
.profile-top p {
  font-size: 12px;
  color: #94a3b9;
  margin-top: 9px;
}
.profile-top > .secondary {
  margin-left: auto;
}
.security-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 10px 0;
}
.security-item {
  display: grid;
  justify-items: center;
  gap: 9px;
  border-right: 1px solid var(--line);
  font-size: 13px;
}
.security-item:last-child {
  border: 0;
}
.security-item > .icon {
  width: 29px;
  height: 29px;
  color: var(--blue);
}
.security-item > span {
  font-size: 11px;
  color: var(--green);
}
.profile-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 6px;
}
.profile-links button {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  padding: 15px 5px;
  font-size: 13px;
}
.profile-links .icon {
  width: 27px;
  height: 27px;
  color: #538beb;
}
.profile-links button:hover {
  background: #f5f8fe;
  border-radius: 9px;
}
.leaderboard-row {
  display: flex;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.leaderboard-row b {
  font: 700 18px "Outfit";
  color: var(--orange);
  width: 20px;
}
.leaderboard-row span {
  flex: 1;
}
.leaderboard-row strong {
  font: 500 15px "Outfit";
  color: var(--blue);
}
.demo-machine {
  border-radius: 15px;
  background: linear-gradient(145deg, #2867df, #5331a3);
  padding: 24px 19px;
  margin: 15px 0;
  color: white;
  text-align: center;
}
.demo-machine p {
  font-size: 12px;
  color: #d3dbfc;
}
.reels {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin: 22px 0;
}
.reel {
  display: grid;
  place-items: center;
  width: 80px;
  height: 96px;
  background: white;
  border-radius: 12px;
  font: 600 43px "Outfit";
  color: var(--blue);
  box-shadow: inset 0 -6px 0 #e3eaff;
}
.reel:nth-child(2) {
  color: #a661de;
}
.reel:nth-child(3) {
  color: #ef9441;
}
.machine-info {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  margin-top: 20px;
}
.machine-info strong {
  color: #ffe276;
  font: 600 17px "Outfit";
}
.machine-result {
  font-size: 14px;
  min-height: 28px;
  text-align: center;
  color: var(--blue);
  font-weight: 600;
}
.result-balls {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}
.result-balls span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  font: 600 21px "Outfit";
}
.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.result-number {
  font: 500 26px "Outfit";
  letter-spacing: 8px;
  color: var(--blue);
}
.form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.form-heading h2 {
  font-size: 18px;
}
.help-list {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}
.help-list div {
  display: flex;
  gap: 12px;
  font-size: 13px;
  line-height: 1.8;
}
.help-list b {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
}
.help-list p {
  color: #8291a7;
  font-size: 12px;
}
.mini-panel {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 21px;
  border-radius: 14px;
}
.mini-panel h3 {
  font-size: 14px;
  margin-bottom: 12px;
}
.view-switch {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.offer-claimed {
  background: #e7f7f0 !important;
  color: #24a479 !important;
  box-shadow: none !important;
}
.game-grid.library .game-art {
  height: 205px;
}
.backlink {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 18px;
  color: #8a9ab1;
  font-size: 12px;
}
.backlink .icon {
  width: 14px;
  transform: rotate(180deg);
}
@media (max-width: 1150px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .offer-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
  }
  .offer-cover {
    min-height: 200px;
  }
  .offer-body p {
    min-height: 0;
  }
  .two-col {
    grid-template-columns: 1fr 235px;
  }
  .game-grid.library .game-art {
    height: 150px;
  }
}
@media (max-width: 850px) {
  .two-col {
    grid-template-columns: 1fr;
  }
  .two-col > aside {
    display: none;
  }
  .game-grid.library .game-art {
    height: 140px;
  }
  .records-stats {
    gap: 12px;
  }
  .record-stat {
    padding: 18px;
  }
  .profile-links {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .search-bar {
    gap: 9px;
  }
  .search-bar select {
    width: 123px;
    font-size: 12px;
    padding: 10px;
  }
  .search-bar input {
    font-size: 12px;
  }
  .offer-card {
    grid-template-columns: 1fr;
  }
  .offer-cover {
    min-height: 140px;
    padding: 25px;
  }
  .offer-cover h3 {
    font-size: 26px;
  }
  .offer-cover .icon {
    right: 28px;
    width: 70px;
    height: 70px;
  }
  .offer-body {
    padding: 22px;
  }
  .offer-body p {
    min-height: 0;
  }
  .records-stats {
    gap: 8px;
    margin-bottom: 18px;
  }
  .record-stat {
    padding: 16px 11px;
  }
  .record-stat strong {
    font-size: 21px;
  }
  .record-stat p {
    font-size: 10px;
  }
  .record-stat strong span {
    display: block;
    font-size: 10px;
    margin-bottom: 4px;
  }
  .record-controls {
    gap: 15px;
    margin-bottom: 19px;
  }
  .record-controls .category-row {
    max-width: 100%;
  }
  .record-controls select {
    width: 100%;
    font-size: 12px;
    min-height: 40px;
  }
  .record-controls .category {
    padding: 9px 13px;
  }
  .table-wrap {
    margin: 0 -8px;
  }
  .table-wrap th,
  .table-wrap td {
    padding: 15px 10px;
  }
  .steps {
    gap: 8px;
    font-size: 11px;
    margin-bottom: 25px;
  }
  .steps b {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
  .payment {
    padding: 17px 13px;
    gap: 10px;
  }
  .payment > .icon {
    width: 25px;
  }
  .payment strong {
    font-size: 12px;
  }
  .payment p {
    font-size: 9px;
  }
  .amount-field input {
    font-size: 33px;
  }
  .profile-top {
    padding: 20px;
    gap: 13px;
    flex-wrap: wrap;
  }
  .avatar {
    width: 60px;
    height: 60px;
    font-size: 21px;
  }
  .profile-top h2 {
    font-size: 20px;
  }
  .profile-top .secondary {
    font-size: 11px;
    padding: 9px 12px;
    min-height: 35px;
  }
  .profile-top p {
    font-size: 10px;
  }
  .security-item {
    font-size: 11px;
  }
  .security-item > span {
    font-size: 10px;
  }
  .profile-links {
    gap: 14px 6px;
  }
  .profile-links button {
    font-size: 12px;
  }
  .game-grid.library .game-art {
    height: 158px;
  }
  .result-grid {
    grid-template-columns: 1fr;
  }
  .form-heading h2 {
    font-size: 17px;
  }
  .game-art.tiger img {
    object-position: 78%;
  }
  .result-balls {
    gap: 7px;
  }
  .result-balls span {
    width: 38px;
    height: 38px;
  }
  .profile-top > .secondary {
    margin-left: 73px;
  }
}
/* Keep wallet actions legible at tablet widths and touch targets comfortable. */
.wallet-actions button {
  white-space: nowrap;
}
.wallet-actions button:first-child {
  flex: 1.5;
}
.wallet-actions button:last-child {
  flex: 0.75;
}
.quick-item,
.category,
.game-details h3,
.profile-links button {
  font-size: 14px;
}
.quick-item {
  gap: 11px;
}
.wallet-actions .primary {
  gap: 5px;
}
.game-details p {
  font-size: 11px;
}
.subtext {
  font-size: 14px;
}
.activity-card p,
.announcement,
.help-list p,
.note {
  font-size: 13px;
}
.offer-body p {
  font-size: 14px;
}
.payment p {
  font-size: 12px;
}
.payment strong {
  font-size: 14px;
}
.record-stat p {
  font-size: 13px;
}
.footer {
  font-size: 11px;
}
.profile-top p {
  font-size: 13px;
}
.game-art.tiger img {
  object-position: 82% center;
}
.hero:after {
  background: linear-gradient(
    90deg,
    rgba(31, 94, 226, 0.9),
    rgba(32, 104, 244, 0.04) 72%
  );
}
@media (max-width: 1200px) {
  .wallet-actions button {
    font-size: 12px;
  }
  .wallet-actions button:first-child {
    flex: 1.7;
  }
  .wallet-actions .icon {
    width: 14px;
  }
}
@media (max-width: 700px) {
  .quick-item {
    font-size: 12px;
  }
  .category {
    font-size: 13px;
    padding: 9px 13px;
  }
  .game-details h3 {
    font-size: 14px;
  }
  .wallet-actions button {
    font-size: 12px;
    flex: initial !important;
  }
  .game-details p {
    font-size: 10px;
  }
  .announcement {
    font-size: 11px;
  }
  .payment p {
    font-size: 10px;
  }
  .payment strong {
    font-size: 12px;
  }
  .record-stat p {
    font-size: 11px;
  }
  .profile-top p {
    font-size: 11px;
  }
  .footer {
    font-size: 10px;
  }
  .profile-links button {
    font-size: 13px;
  }
}

.mobile-break {
  display: none;
}
@media (max-width: 700px) {
  .mobile-break {
    display: block;
  }
  .mobile-brand .brand-name {
    display: inline;
  }
  .hero h2 {
    font-size: 27px;
  }
  .hero-content {
    max-width: 75%;
  }
}
.brand-sub {
  letter-spacing: 1.6px;
  font-size: 9px;
  white-space: nowrap;
}
/* Reference recording: three record tabs, one summary strip and compact disclosure rows. */
.content:has(.records-page) {
  max-width: 1100px;
}
.record-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 15px;
}
.record-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 12px;
  border: 1px solid #dfe7f3;
  background: white;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 600;
  color: #73849c;
  min-height: 50px;
}
.record-tab .icon {
  width: 20px;
  height: 20px;
}
.record-tab:hover {
  border-color: #8db6fa;
  color: var(--blue);
}
.record-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  box-shadow: 0 4px 12px #347cf624;
}
.record-filters {
  display: grid;
  grid-template-columns: 1fr 1.4fr 57px;
  gap: 10px;
  margin-bottom: 17px;
}
.record-filters .input {
  background: white;
  min-width: 0;
  font-size: 14px;
  min-height: 46px;
}
.record-calendar {
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  border: 1px solid #dfe7f3;
  border-radius: 10px;
  color: #71839e;
}
.record-calendar.active,
.record-calendar:hover {
  background: var(--blue-light);
  border-color: var(--blue);
  color: var(--blue);
}
.record-summary {
  display: grid;
  grid-template-columns: 0.8fr 1.15fr 1.15fr;
  border: 1px solid #a4c4fb;
  box-shadow: 0 2px 9px #347cf60b;
  border-radius: 13px;
  background: linear-gradient(105deg, #fff, #f1f6ff);
  padding: 22px 12px;
  margin: 0 0 28px;
}
.record-summary > div {
  padding: 0 21px;
  border-right: 1px solid #d9e5f7;
  min-width: 0;
}
.record-summary > div:last-child {
  border: 0;
}
.record-summary > div > span {
  display: block;
  font-size: 13px;
  color: #8192aa;
  margin-bottom: 7px;
}
.record-summary strong {
  font:
    600 25px "Outfit",
    sans-serif;
  letter-spacing: -0.2px;
  white-space: nowrap;
  display: block;
}
.record-summary small {
  display: block;
  font-size: 12px;
  margin-top: 6px;
  color: #8b9ab0;
}
.record-summary > div:first-child strong {
  color: var(--blue);
}
.records-page .positive,
.dialog-content .positive {
  color: #12a16d;
}
.records-page .negative,
.dialog-content .negative {
  color: #e7526a;
}
.records-page .neutral {
  color: #8392a7;
}
.record-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.record-list-heading h2 {
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.record-list-heading h2:before {
  content: "";
  width: 4px;
  height: 17px;
  border-radius: 3px;
  background: var(--blue);
}
.record-list-heading > span {
  font-size: 12px;
  color: #99a5b7;
}
.transaction-list {
  display: grid;
  gap: 9px;
}
.transaction-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 48px 144px 15px;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 15px 19px;
  text-align: left;
  background: #fff;
  border: 1px solid #e2e9f3;
  border-radius: 11px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.transaction-row:hover {
  background: #fafdff;
  border-color: #a4c4fb;
}
.transaction-icon {
  width: 43px;
  height: 43px;
  background: #f2f6ff;
  border: 1px solid #e5edfb;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--blue);
}
.transaction-icon .icon {
  width: 23px;
  height: 23px;
}
.game-transaction {
  background: #edf3ff;
}
.transaction-name {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.transaction-name strong {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.transaction-name small {
  font-size: 12px;
  color: #8898b0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.transaction-status {
  justify-self: center;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 500;
  white-space: nowrap;
  background: #f0f3f8;
}
.transaction-status.positive {
  background: #e7f7ef;
}
.transaction-status.negative {
  background: #ffedf0;
}
.transaction-value {
  min-width: 0;
  text-align: right;
  display: grid;
  gap: 6px;
}
.transaction-value > strong {
  font:
    600 19px "Outfit",
    sans-serif;
  white-space: nowrap;
}
.transaction-value > time {
  font-size: 12px;
  color: #8d9cb1;
  white-space: nowrap;
}
.transaction-chevron {
  color: #a2b1c6;
  display: flex;
  justify-content: center;
}
.transaction-chevron > .icon {
  width: 15px;
  height: 15px;
}
.records-more {
  border: 1px solid #dfe7f3;
  background: #fff;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 47px;
  margin-top: 14px;
  border-radius: 9px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
}
.records-more .icon {
  width: 18px;
  height: 18px;
}
.records-more:disabled {
  color: #92a1b7;
  background: #f1f4fa;
  opacity: 1;
}
.record-timezone {
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
  color: #93a2b8;
  padding: 15px 0 0;
}
.record-date-panel {
  background: white;
  border: 1px solid #dbe6f5;
  border-radius: 12px;
  padding: 18px 20px;
  margin: -3px 0 17px;
}
.date-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.date-panel-heading h3 {
  font-size: 14px;
}
.date-panel-heading > span {
  font-size: 12px;
  color: #94a3b7;
}
.record-date-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.record-date-fields > label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: #7a8da7;
  min-width: 0;
}
.record-date-fields > label:only-child {
  grid-column: 1/-1;
}
.record-date-fields input {
  min-width: 0;
  flex: 1;
  max-width: 100%;
  font-size: 14px;
}
.date-presets {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 9px;
  margin-top: 13px;
}
.date-presets button {
  font-size: 13px;
  padding: 9px 10px;
  min-height: 39px;
}
.record-date-panel .form-error {
  margin: 0;
  min-height: 0;
}
.record-date-panel .form-error:not(:empty) {
  margin-top: 10px;
}
.applied-range {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: #6c8dbb;
  margin: -4px 0 15px;
}
.applied-range .icon {
  width: 15px;
  height: 15px;
}
.record-detail-main {
  padding: 0 0 17px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.record-detail-main h3 {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 4px;
}
.detail-amount {
  display: block;
  font:
    600 32px "Outfit",
    sans-serif;
  margin-bottom: 7px;
}
.record-detail-main time {
  font-size: 12px;
  color: #8d9bb0;
}
.record-detail-note {
  font-size: 12px;
  color: #8d9db5;
  margin-top: 14px;
  line-height: 1.8;
}
.receipt-detail {
  overflow-wrap: anywhere;
  text-align: right;
}
.dialog-content .summary-row strong {
  max-width: 65%;
  text-align: right;
}
@media (max-width: 700px) {
  .content:has(.records-page) {
    padding-top: 21px;
  }

  .record-tabs {
    gap: 7px;
    margin-bottom: 12px;
  }
  .record-tab {
    font-size: 14px;
    padding: 12px 3px;
    min-height: 43px;
    gap: 0;
    border-radius: 9px;
  }
  .record-tab .icon {
    display: none;
  }
  .record-filters {
    grid-template-columns: 1fr 1.3fr 46px;
    gap: 8px;
    margin-bottom: 13px;
  }
  .record-filters .input {
    font-size: 13px;
    padding: 10px 9px;
    min-height: 41px;
    border-radius: 8px;
  }
  .record-calendar {
    border-radius: 8px;
  }
  .record-calendar .icon {
    width: 20px;
    height: 20px;
  }
  .record-summary {
    padding: 16px 2px;
    margin-bottom: 23px;
    border-radius: 10px;
    grid-template-columns: 0.72fr 1.14fr 1.14fr;
  }
  .record-summary > div {
    padding: 0 12px;
  }
  .record-summary > div > span {
    font-size: 12px;
    margin-bottom: 6px;
  }
  .record-summary strong {
    font-size: 19px;
  }
  .record-summary small {
    font-size: 10px;
    line-height: 1.5;
    white-space: normal;
  }
  .record-list-heading {
    margin-bottom: 12px;
  }
  .record-list-heading h2 {
    font-size: 16px;
  }
  .record-list-heading > span {
    font-size: 10px;
  }
  .transaction-list {
    gap: 8px;
  }
  .transaction-row {
    grid-template-columns: 32px minmax(0, 1fr) 28px 83px 10px;
    gap: 9px;
    padding: 12px 10px;
    border-radius: 9px;
    min-height: 70px;
  }
  .transaction-icon {
    width: 32px;
    height: 37px;
    border-radius: 7px;
  }
  .transaction-icon .icon {
    width: 20px;
    height: 20px;
  }
  .transaction-name {
    gap: 5px;
  }
  .transaction-name strong {
    font-size: 13px;
  }
  .transaction-name small {
    font-size: 10px;
  }
  .transaction-status {
    font-size: 10px;
    padding: 4px 5px;
    border-radius: 4px;
  }
  .transaction-value {
    gap: 7px;
  }
  .transaction-value > strong {
    font-size: 16px;
  }
  .transaction-value > time {
    font-size: 10px;
    letter-spacing: -0.1px;
  }
  .transaction-chevron > .icon {
    width: 13px;
    height: 13px;
  }
  .records-more {
    font-size: 13px;
    min-height: 44px;
    margin-top: 11px;
  }
  .record-timezone {
    font-size: 10px;
    padding-top: 12px;
  }
  .record-date-panel {
    padding: 15px 13px;
    margin-bottom: 14px;
  }
  .record-date-fields {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .record-date-fields input {
    min-height: 39px;
    padding: 8px 10px;
  }
  .record-date-fields > label {
    font-size: 12px;
  }
  .date-panel-heading h3 {
    font-size: 13px;
  }
  .date-panel-heading > span {
    font-size: 10px;
  }
  .date-presets {
    gap: 7px;
  }
  .date-presets button {
    font-size: 12px;
    min-height: 36px;
  }
  .applied-range {
    font-size: 12px;
  }
  .record-detail-main h3 {
    font-size: 15px;
  }
  .detail-amount {
    font-size: 29px;
  }
}
@media (max-width: 360px) {
  .transaction-row {
    grid-template-columns: 28px minmax(0, 1fr) 24px 78px 8px;
    gap: 7px;
    padding: 12px 8px;
  }
  .transaction-icon {
    width: 28px;
  }
  .record-summary > div {
    padding: 0 9px;
  }
  .record-summary strong {
    font-size: 17px;
  }
}

/* Featured EKOR lottery artwork supplied for client review. */
.game-card.featured {
  border-color: #bc91ee;
}
.game-art.ekor img {
  object-fit: contain;
}
.game-art.ekor:after {
  display: none;
}
.game-card.featured:hover img {
  transform: none;
}
.game-card.featured .game-badge {
  background: #ff9238;
  box-shadow: 0 2px 8px #2d005b33;
}
.ekor-promo {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: white;
  background: #5400a5;
  border-radius: 20px;
}
.ekor-home {
  min-height: 270px;
}
.ekor-library {
  min-height: 220px;
  margin-bottom: 24px;
}
.ekor-promo-visual {
  position: absolute;
  inset: 0 auto 0 0;
  width: 48%;
  overflow: hidden;
  z-index: -1;
}
.ekor-promo-visual img {
  display: block;
  width: 450%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}
.ekor-promo-content {
  margin-left: 50%;
  padding: 30px 24px 36px 0;
}
.ekor-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffe097;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}
.ekor-kicker .icon {
  width: 14px;
  height: 14px;
}
.ekor-kicker span {
  margin-left: 5px;
  color: #ceadee;
  font-size: 10px;
  letter-spacing: 1.5px;
}
.ekor-promo h2 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.15;
  letter-spacing: 1px;
}
.ekor-promo h2 span {
  font-size: 0.65em;
  font-weight: 600;
  white-space: nowrap;
}
.ekor-promo p {
  margin: 0 0 20px;
  color: #e5cef9;
  font-size: 13px;
}
.ekor-promo .primary {
  gap: 10px;
  white-space: nowrap;
}
.ekor-promo .primary .icon {
  width: 16px;
  height: 16px;
}
@media (max-width: 1200px) {
  .ekor-home .ekor-kicker span {
    display: none;
  }
}
@media (max-width: 700px) {
  .ekor-promo {
    border-radius: 15px;
  }
  .ekor-home {
    min-height: 210px;
  }
  .ekor-library {
    min-height: 185px;
    margin-bottom: 20px;
  }
  .ekor-promo-content {
    margin-left: 49%;
    padding: 24px 12px 26px 0;
  }
  .ekor-kicker {
    font-size: 10px;
    gap: 5px;
  }
  .ekor-kicker span {
    display: none;
  }
  .ekor-promo h2 {
    font-size: 29px;
    margin-top: 11px;
  }
  .ekor-promo p {
    font-size: 11px;
    margin-bottom: 16px;
  }
  .ekor-promo .primary {
    min-height: 35px;
    padding: 8px 13px;
    font-size: 12px;
    gap: 6px;
  }
}

/* The viewport keeps vertical page scrolling available during horizontal swipes. */
.hero-carousel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #5400a5;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.hero-carousel:focus-visible {
  outline: 3px solid #8db5ff;
  outline-offset: 3px;
}
.hero-track {
  display: flex;
  height: 100%;
  transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
}
.hero-slide > .hero,
.hero-slide > .ekor-promo {
  border-radius: 0;
}
.hero-carousel img {
  pointer-events: none;
  -webkit-user-drag: none;
}
.hero-carousel.is-dragging,
.hero-carousel.is-dragging button {
  cursor: grabbing;
}
.hero-carousel.is-dragging .hero-track {
  transition: none;
}
.hero-carousel .hero-dots {
  left: 26px;
  bottom: 6px;
  gap: 0;
}
.hero-carousel .hero-dots button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: transparent;
}
.hero-carousel .hero-dots button:after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 10px;
  background: #ffffff66;
  transition: width 200ms;
}
.hero-carousel .hero-dots button.active:after {
  width: 21px;
  background: white;
}
@media (max-width: 700px) {
  .hero-carousel {
    border-radius: 15px;
  }
  .hero-carousel .hero-dots {
    left: 17px;
    bottom: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-track,
  .hero-carousel .hero-dots button:after {
    transition: none;
  }
}

/* Compact home covers. Amounts remain editable text on the supplied artwork. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.content {
  padding-top: 20px;
}
#home-carousel {
  --home-banner-height: 220px;
  height: var(--home-banner-height);
  align-self: start;
  width: 100%;
  border-radius: 14px;
}
#home-carousel .hero-slide > * {
  min-height: 0;
  height: 100%;
}
#home-carousel .ekor-promo-content {
  padding: 16px 16px 24px 0;
}
#home-carousel .ekor-promo h2 {
  margin: 7px 0;
  font-size: 32px;
}
#home-carousel .ekor-promo p {
  margin-bottom: 12px;
}
#home-carousel .primary {
  min-height: 36px;
  padding: 8px 16px;
  font-size: 12px;
}
#home-carousel .hero {
  padding: 20px 26px 28px;
}
#home-carousel .hero-kicker {
  margin-bottom: 7px;
}
#home-carousel .hero h2 {
  font-size: 28px;
  line-height: 1.15;
}
#home-carousel .hero p {
  margin: 8px 0 12px;
}
.lottery-cover {
  display: grid;
  place-items: center;
  background: linear-gradient(125deg, #07546b, #06a8b1 60%, #07397c);
  overflow: hidden;
}
.lottery-cover-art {
  position: relative;
  width: min(100%, calc(var(--home-banner-height) * 1220 / 460));
  aspect-ratio: 1220 / 460;
  container-type: inline-size;
}
.lottery-cover-art img {
  display: block;
  width: 100%;
  height: auto;
}
.lottery-cover-amount {
  position: absolute;
  left: 17%;
  width: 32%;
  color: #fff28a;
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 800;
  font-size: 5.6cqw;
  line-height: 1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 0.15cqw 0.25cqw #001f60, 0 0 0.1cqw #001f60;
  pointer-events: none;
}
.lottery-cover-amount.daily { top: 39%; }
.lottery-cover-amount.winbox { top: 75%; }
#home-carousel .hero-dots {
  left: auto;
  right: 12px;
  bottom: 0;
}
#home-carousel .hero-dots button:after {
  box-shadow: 0 1px 3px #00000066;
}
@media (min-width: 701px) and (max-width: 1100px) {
  #home-carousel { --home-banner-height: 190px; }
  #home-carousel .ekor-promo h2 { font-size: 26px; }
  #home-carousel .ekor-promo p { display: none; }
  #home-carousel .hero-kicker { font-size: 9px; }
  #home-carousel .hero h2 { font-size: 24px; }
}
@media (max-width: 700px) {
  .content { padding-top: 14px; }
  #home-carousel {
    --home-banner-height: clamp(120px, calc((100vw - 36px) * 460 / 1220), 170px);
    border-radius: 11px;
  }
  #home-carousel .ekor-promo-content {
    margin-left: 48%;
    padding: 10px 10px 18px 0;
  }
  #home-carousel .ekor-kicker { font-size: 9px; }
  #home-carousel .ekor-promo h2 {
    font-size: clamp(22px, 6vw, 27px);
    margin: 5px 0 8px;
  }
  #home-carousel .ekor-promo p,
  #home-carousel .hero p,
  #home-carousel .hero-kicker { display: none; }
  #home-carousel .primary {
    min-height: 30px;
    padding: 6px 11px;
    font-size: 11px;
    border-radius: 7px;
  }
  #home-carousel .hero { padding: 14px 20px 22px; }
  #home-carousel .hero h2 {
    font-size: 23px;
    line-height: 1.15;
    margin-bottom: 10px;
  }
  #home-carousel .mobile-break { display: none; }
  #home-carousel .hero-content { max-width: 65%; }
  #home-carousel .hero-dots { right: 7px; bottom: -3px; }
  #home-carousel .hero-dots button { width: 24px; }
}
