@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap");

* {
  box-sizing: border-box;
}

:root {
  --bg0: #1f0002;
  --bg1: #470006;
  --bg2: #1a0002;
  --panel: rgba(92, 6, 14, 0.56);
  --panel-strong: rgba(54, 3, 8, 0.8);
  --line: rgba(255, 74, 74, 0.44);
  --line-soft: rgba(255, 80, 80, 0.28);
  --text-main: #fff5f5;
  --text-soft: #ffb8b8;
  --gold: #ffe072;
  --gold-deep: #ffb94e;
  --red-bright: #ff3f3f;
  --danger: #ff7a7a;
  --glass-shadow: 0 20px 34px rgba(44, 0, 0, 0.55);
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 70, 70, 0.26), transparent 33%),
    radial-gradient(circle at 14% 95%, rgba(255, 180, 111, 0.16), transparent 27%),
    radial-gradient(circle at 42% 2%, rgba(255, 122, 122, 0.12), transparent 40%),
    linear-gradient(155deg, var(--bg0) 0%, var(--bg1) 46%, var(--bg2) 100%);
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 96, 96, 0.14), transparent 35%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
  mask-image: radial-gradient(circle at 50% 22%, black, transparent 78%);
}

.page-shell,
.wd-toast-container,
.pattern-modal {
  position: relative;
  z-index: 1;
}

.page-shell {
  width: min(1800px, 100%);
  max-width: 100%;
  margin: 8px auto 16px;
  padding: 0 6px;
  overflow-x: clip;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(130deg, rgba(255, 140, 140, 0.1), rgba(255, 255, 255, 0.02)),
    linear-gradient(145deg, rgba(201, 0, 0, 0.84), rgba(126, 0, 0, 0.9));
  backdrop-filter: blur(12px) saturate(135%);
  box-shadow: var(--glass-shadow);
}

.topbar > * {
  min-width: 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  width: 174px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
}

.category-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.category-nav a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: #ffe5e5;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 182, 182, 0.22);
  background: rgba(67, 0, 0, 0.5);
  white-space: nowrap;
}

.auth-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
}

.auth-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.auth-btn.login {
  color: #2e0500;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}

.auth-btn.daftar {
  color: #fff3f3;
  border: 1px solid rgba(255, 188, 188, 0.32);
  background: rgba(65, 0, 0, 0.72);
}

.headline-wrap {
  margin-top: 10px;
}

.headline-card {
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(140deg, rgba(255, 138, 138, 0.11), rgba(255, 255, 255, 0.02) 48%, transparent),
    linear-gradient(180deg, rgba(93, 5, 15, 0.78), rgba(54, 3, 8, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), var(--glass-shadow);
  backdrop-filter: blur(14px);
}

.logo {
  font-family: "Cinzel", serif;
  font-size: clamp(17px, 2.2vw, 28px);
  margin-bottom: 10px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 8px;
}

.stat-box {
  border-radius: 10px;
  padding: 8px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(160deg, rgba(255, 132, 132, 0.11), transparent 60%),
    rgba(92, 5, 15, 0.38);
  backdrop-filter: blur(9px);
}

.stat-box span {
  display: block;
  font-size: 10px;
  color: var(--text-soft);
}

.stat-box b {
  font-size: 14px;
  color: var(--gold);
}

.countdown-warning {
  color: var(--danger) !important;
}

.provider-toolbar,
.hero-section,
.ticker-panel,
.top-panel,
.grid-panel {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(255, 136, 136, 0.12), rgba(255, 255, 255, 0.02) 48%, transparent),
    linear-gradient(145deg, var(--panel), var(--panel-strong));
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px) saturate(125%);
}

.provider-toolbar {
  margin-top: 12px;
  padding: 12px;
}

.toolbar-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
  margin-bottom: 10px;
}

.toolbar-title {
  margin: 0;
  font-size: 13px;
  letter-spacing: 1.1px;
  font-weight: 800;
  color: #ffd7d7;
}

.toolbar-note {
  margin: 0;
  font-size: 11px;
  color: #ffb8b8;
  max-width: 100%;
}

.provider-desktop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.provider-item {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 64, 64, 0.62);
  background:
    linear-gradient(150deg, rgba(255, 130, 130, 0.1), transparent 55%),
    linear-gradient(150deg, rgba(103, 3, 11, 0.6), rgba(60, 2, 7, 0.42));
  color: #fff1f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.provider-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 88, 88, 0.9);
  box-shadow: 0 10px 18px rgba(55, 0, 0, 0.4);
}

.provider-item.active {
  color: #fff3f3;
  border-color: transparent;
  background: linear-gradient(90deg, rgba(229, 0, 0, 0.95), rgba(153, 0, 0, 0.95));
}

.mobile-provider-section {
  display: none;
}

.provider-mobile-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 8px 4px 2px;
  scrollbar-width: none;
}

.provider-mobile-list::-webkit-scrollbar {
  display: none;
}

.provider-mobile-list .provider-item {
  flex: 0 0 auto;
  white-space: nowrap;
}

.mobile-provider-hint {
  display: none;
  margin-bottom: 6px;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
  border: 1px solid rgba(255, 180, 180, 0.34);
  background: rgba(76, 0, 0, 0.62);
  color: #ffe4e4;
}

.mobile-provider-hint.show {
  display: inline-flex;
}

.provider-mobile-wrap {
  position: relative;
}

.provider-mobile-wrap::after {
  content: ">>";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 999px;
  color: #fff2f2;
  background: rgba(45, 0, 0, 0.85);
}

.provider-mobile-wrap.touched::after {
  opacity: 0.2;
}

.wrapper {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.hero-section {
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 12px;
}

.hero-kicker {
  margin: 0;
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #ffb5b5;
  font-weight: 800;
}

.hero-left h1 {
  margin: 8px 0 7px;
  font-family: "Cinzel", serif;
  font-size: clamp(24px, 3.5vw, 40px);
  line-height: 1.06;
}

.hero-left p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 660px;
}

.hero-card {
  border-radius: 14px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(155deg, rgba(91, 11, 31, 0.42), rgba(44, 8, 20, 0.28));
}

.hero-card-title {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 1px;
  color: #ffb8b8;
}

.hero-auth-actions {
  display: grid;
  gap: 8px;
}

.hero-auth-btn {
  min-height: 35px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.hero-auth-btn.login {
  color: #2e0500;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}

.hero-auth-btn.daftar {
  color: #ffeaea;
  border: 1px solid rgba(255, 184, 184, 0.36);
  background: rgba(62, 0, 0, 0.72);
}

.top-panel,
.grid-panel {
  padding: 12px;
  overflow: hidden;
}

.ticker-panel {
  padding: 10px 12px;
}

@media (min-width: 1101px) {
  .top-panel,
  .grid-panel {
    width: auto;
    margin-right: 0;
    margin-left: 0;
  }
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.section-title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: #ffe2e2;
}

.ghost-more {
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 191, 191, 0.34);
  background: rgba(95, 0, 0, 0.74);
  color: #fff0f0;
  font-size: 12px;
  font-weight: 700;
}

.featured {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  overflow: hidden;
  padding-bottom: 5px;
}

.featured::-webkit-scrollbar {
  display: none;
}

.featured-card {
  min-height: 138px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 66, 66, 0.56);
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 28px rgba(5, 11, 31, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.5);
}

.featured-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px;
  background: linear-gradient(to top, rgba(13, 22, 44, 0.9), rgba(13, 22, 44, 0.08));
}

.featured-name {
  flex: 1;
  font-size: 11px;
  color: #fff4f4;
}

.hot {
  font-size: 9px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
  color: #2e0500;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}

.game-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 9px;
}

.grid-card {
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 62, 62, 0.62);
  background:
    linear-gradient(160deg, rgba(255, 132, 132, 0.1), transparent 55%),
    linear-gradient(160deg, rgba(98, 4, 13, 0.64), rgba(58, 2, 8, 0.46));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 28px rgba(5, 12, 33, 0.58);
}

.grid-inner {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.grid-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
}

.grid-info {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 6px 7px;
  font-size: 10px;
  color: #fff1f5;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  min-height: 42px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    130deg,
    rgba(255, 150, 150, 0.18) 0%,
    rgba(255, 160, 160, 0.08) 35%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 90, 90, 0.36);
  backdrop-filter: blur(7px) saturate(125%);
}

.grid-info::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -35%;
  width: 55%;
  height: 320%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(18deg);
  animation: glassSweep 3.8s ease-in-out infinite;
  pointer-events: none;
}

.grid-info span:first-child {
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
  max-height: 2.5em;
}

.rtp {
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 11px;
  position: relative;
  z-index: 1;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.rtp-low {
  color: #ff8080;
}

.rtp-mid {
  color: #ffe27d;
}

.rtp-high {
  color: #99ff9f;
}

.game-name.rtp-low {
  color: #ff9d9d;
}

.game-name.rtp-mid {
  color: #ffe59a;
}

.game-name.rtp-high {
  color: #b7ffc0;
}

@keyframes glassSweep {
  0%, 18% {
    transform: translateX(0) rotate(18deg);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  65% {
    transform: translateX(210%) rotate(18deg);
    opacity: 0;
  }
  100% {
    transform: translateX(210%) rotate(18deg);
    opacity: 0;
  }
}

.flash-update,
.reload-glow {
  animation: pulseGlow 0.8s ease;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 rgba(255, 93, 93, 0); }
  50% { box-shadow: 0 0 24px rgba(255, 93, 93, 0.45); }
  100% { box-shadow: 0 0 0 rgba(255, 93, 93, 0); }
}

/* Pattern modal */
.pattern-clickable {
  cursor: pointer;
}

.pattern-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.76);
}

.pattern-modal.show {
  display: flex;
}

.pattern-modal-box {
  width: min(560px, 100%);
  border-radius: 14px;
  border: 1px solid rgba(255, 78, 78, 0.56);
  background:
    linear-gradient(140deg, rgba(255, 138, 138, 0.12), rgba(255, 255, 255, 0.02)),
    linear-gradient(145deg, rgba(86, 3, 12, 0.94), rgba(50, 2, 8, 0.94));
  box-shadow: 0 18px 35px rgba(3, 9, 27, 0.66);
  backdrop-filter: blur(14px);
  padding: 14px 12px;
  position: relative;
}

.pattern-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 175, 175, 0.44);
  border-radius: 8px;
  background: rgba(70, 0, 0, 0.8);
  color: #fff0f0;
  font-weight: 800;
  cursor: pointer;
}

.pattern-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 7px;
}

.pattern-rtp {
  font-size: 30px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
}

.pattern-rows {
  display: grid;
  gap: 8px;
}

.pattern-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 170, 170, 0.32);
  background: rgba(73, 0, 0, 0.52);
}

.pattern-symbol,
.pattern-spin,
.pattern-dc,
.pg-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 180, 180, 0.34);
  background: rgba(105, 0, 0, 0.5);
  color: #fff1f1;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 8px;
}

.pattern-symbol {
  width: 28px;
  height: 28px;
  padding: 0;
}

.pattern-sep {
  opacity: 0.6;
}

.pattern-note {
  margin-top: 10px;
  font-size: 13px;
  color: #ffd7d7;
}

.copy-game-btn {
  margin-top: 10px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid rgba(255, 210, 120, 0.45);
  background: linear-gradient(90deg, rgba(255, 212, 126, 0.95), rgba(255, 166, 71, 0.95));
  color: #2e0500;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.copy-game-hint {
  margin-top: 7px;
  font-size: 12px;
  color: #ffd9d9;
  line-height: 1.45;
}

.pattern-bet {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
}

.pattern-foot {
  margin-top: 8px;
  font-size: 11px;
  color: #ffb5b5;
}

/* WD running ticker */
.wd-ticker {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 70, 70, 0.62);
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 110, 110, 0.2), transparent 36%),
    linear-gradient(145deg, rgba(96, 4, 13, 0.72), rgba(58, 2, 8, 0.6));
  min-height: 42px;
  display: flex;
  align-items: center;
  box-shadow: 0 0 14px rgba(255, 64, 64, 0.28);
  position: relative;
  overflow: hidden;
}

.wd-ticker-brand {
  flex: 0 0 auto;
  width: 150px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  z-index: 2;
}

.wd-ticker-brand img {
  height: 24px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: none;
  image-rendering: -webkit-optimize-contrast;
}

.wd-ticker-viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  min-height: 42px;
  display: flex;
  align-items: center;
}

.wd-ticker-track {
  display: inline-block;
  white-space: nowrap;
  font-size: 20px;
  color: #fff0f4;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-shadow: 0 0 10px rgba(255, 167, 191, 0.45);
  padding-left: 0;
  transform: translateX(100%);
}

.wd-ticker-track.run {
  animation: wdTickerRun var(--wd-ticker-duration, 8s) linear;
}

@keyframes wdTickerRun {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}


@media (max-width: 1100px) {
  .category-nav {
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .category-nav::-webkit-scrollbar {
    display: none;
  }

  .auth-actions {
    justify-content: flex-end;
  }

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

  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-right {
    max-width: 260px;
  }
}

@media (max-width: 768px) {
  .page-shell {
    width: 100%;
    padding: 0 2px;
    margin-top: 2px;
  }

  .topbar,
  .headline-card,
  .provider-toolbar,
  .ticker-panel,
  .hero-section,
  .top-panel,
  .grid-panel {
    border-radius: 8px;
  }

  .topbar {
    gap: 4px;
    padding: 7px 8px;
    flex-wrap: nowrap;
  }

  .brand-link {
    flex: 1;
    min-width: 0;
  }

  .brand-logo {
    width: clamp(98px, 30vw, 122px);
  }

  .auth-actions {
    width: auto;
    flex: 0 0 auto;
    margin-left: auto;
    gap: 5px;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .toolbar-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-btn {
    min-height: 25px;
    padding: 0 10px;
    font-size: 8px;
  }

  .provider-desktop-list {
    display: none;
  }

  .mobile-provider-section {
    display: block;
  }

  .provider-mobile-list {
    gap: 6px;
  }

  .provider-mobile-list .provider-item {
    min-height: 30px;
    padding: 0 10px;
    font-size: 10px;
  }

  .wrapper {
    margin-top: 6px;
    gap: 6px;
  }

  .headline-card,
  .provider-toolbar,
  .ticker-panel,
  .top-panel,
  .grid-panel {
    padding: 8px;
  }

  .stats {
    gap: 6px;
  }

  .stat-box {
    padding: 7px;
  }

  .stat-box span {
    font-size: 9px;
  }

  .stat-box b {
    font-size: 13px;
  }

  .hero-section {
    padding: 8px;
    display: block;
  }

  .hero-left h1 {
    font-size: 22px;
  }

  .hero-left p {
    font-size: 11px;
    line-height: 1.45;
  }

  .hero-right {
    display: none;
  }

  .panel-head {
    align-items: start;
    flex-direction: column;
  }

  .ghost-more {
    min-height: 28px;
    padding: 0 10px;
    font-size: 10px;
  }

  .featured {
    grid-auto-flow: column;
    grid-auto-columns: minmax(138px, 1fr);
    grid-template-columns: none;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  .grid-card {
    border-radius: 9px;
  }

  .grid-info {
    font-size: 9px;
    padding: 4px;
    min-height: 32px;
  }

  .rtp {
    font-size: 10px;
  }

  .wd-ticker-track {
    font-size: 11px;
  }

  .wd-ticker-brand {
    width: 86px;
    min-height: 34px;
  }

  .wd-ticker-brand img {
    height: 18px;
  }

  .wd-ticker-viewport {
    min-height: 34px;
  }

}

@media (max-width: 600px) {
  .topbar {
    gap: 4px;
    padding: 7px 8px;
    flex-wrap: nowrap;
  }

  .brand-logo {
    width: clamp(92px, 29vw, 116px);
  }

  .auth-actions {
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
    gap: 5px;
    flex-wrap: nowrap;
  }

  .auth-btn {
    min-height: 25px;
    padding: 0 9px;
    font-size: 8px;
  }
}

@media (max-width: 430px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .auth-actions {
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
    gap: 4px;
    flex-wrap: nowrap;
  }

  .auth-btn {
    flex: 0 0 auto;
    min-width: 58px;
    padding: 0 7px;
    font-size: 8px;
  }

  .provider-mobile-wrap::after {
    display: none;
  }

  .pattern-rtp {
    font-size: 24px;
  }
}
