@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@500;600;700;800&display=swap');

/* Final visual polish: sharper dark casino UI with Minecraft accents. */
body.lobby-app{
  background:
    radial-gradient(circle at 72% -10%,rgba(70,93,170,.07),transparent 28%),
    radial-gradient(circle at 18% -8%,rgba(45,204,130,.06),transparent 24%),
    #081116!important;
}

/* Never use the decorative sparkle/star glyph in the site chrome. */
body.lobby-app .page-title h1::before,
body.lobby-app .daily-star,
body.lobby-app .daily-spin-bar::before{
  display:none!important;
  content:none!important;
}

/* Games: remove the broken empty row/gap and restore names on every poster. */
body.lobby-app .games-and-rewards{
  grid-template-columns:minmax(0,1fr) 220px!important;
  gap:12px!important;
  align-items:start!important;
}
body.lobby-app .game-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:10px!important;
  align-content:start!important;
  grid-auto-flow:row dense!important;
}
body.lobby-app .game-grid>.game-card{
  aspect-ratio:.77!important;
  min-height:0!important;
  border-radius:7px!important;
  clip-path:inset(0 round 7px)!important;
  border-color:#26373d!important;
  background:#0d151b!important;
}
body.lobby-app .game-grid>.bb-poster-card .bb-poster-copy{
  display:block!important;
  position:absolute!important;
  z-index:5!important;
  left:10px!important;
  right:10px!important;
  bottom:9px!important;
  padding:0!important;
  pointer-events:none!important;
}
body.lobby-app .game-grid>.bb-poster-card .bb-poster-copy b{
  display:block!important;
  margin:0!important;
  color:#fff!important;
  font:800 clamp(15px,1vw,20px)/.95 'DM Sans',sans-serif!important;
  letter-spacing:-.045em!important;
  text-transform:uppercase!important;
  text-shadow:0 2px 9px rgba(0,0,0,.75)!important;
}
body.lobby-app .game-grid>.bb-poster-card .bb-poster-copy small{
  display:block!important;
  margin-top:4px!important;
  color:rgba(255,255,255,.72)!important;
  font:800 6px/1 'DM Sans',sans-serif!important;
  letter-spacing:.12em!important;
}
body.lobby-app .game-grid>.bb-poster-card::after{
  background:
    linear-gradient(120deg,rgba(255,255,255,.035),transparent 24%),
    linear-gradient(180deg,transparent 50%,rgba(3,6,10,.12) 62%,rgba(3,6,10,.78) 100%)!important;
}
body.lobby-app .game-grid>.game-card:not(.bb-poster-card) .copy b{
  font-family:'DM Sans',sans-serif!important;
  font-size:clamp(15px,1vw,20px)!important;
  line-height:.95!important;
  letter-spacing:-.045em!important;
}

/* Reward rail: no giant empty Rakeback card. */
body.lobby-app .reward-stack{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  align-self:start!important;
}
body.lobby-app .reward-card{
  min-height:0!important;
  height:auto!important;
  padding:15px!important;
  display:block!important;
  overflow:hidden!important;
  border:1px solid #2d4038!important;
  border-radius:7px!important;
  background:
    radial-gradient(circle at 82% 16%,rgba(238,198,62,.16),transparent 31%),
    linear-gradient(145deg,#151d1e,#0d1518)!important;
}
body.lobby-app .reward-card::before{display:none!important}
body.lobby-app .reward-card::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  background:linear-gradient(120deg,rgba(255,255,255,.035),transparent 27%)!important;
}
body.lobby-app .reward-card .overline{
  position:relative!important;
  z-index:3!important;
  color:#e2c85d!important;
  font-size:7px!important;
  font-weight:800!important;
  letter-spacing:.15em!important;
}
body.lobby-app .reward-card h2{
  position:relative!important;
  z-index:3!important;
  max-width:120px!important;
  margin:8px 0 6px!important;
  color:#fff!important;
  font:800 21px/1 'DM Sans',sans-serif!important;
  letter-spacing:-.045em!important;
}
body.lobby-app .reward-card p{
  position:relative!important;
  z-index:3!important;
  max-width:132px!important;
  margin:0 0 12px!important;
  color:#a4b4ac!important;
  font-size:9px!important;
  line-height:1.5!important;
}
body.lobby-app .reward-gift{
  position:absolute!important;
  z-index:2!important;
  top:11px!important;
  right:6px!important;
  width:72px!important;
  margin:0!important;
  image-rendering:pixelated!important;
  filter:drop-shadow(0 12px 13px rgba(0,0,0,.42))!important;
}
body.lobby-app .reward-card button{
  position:relative!important;
  z-index:3!important;
  width:100%!important;
  min-height:35px!important;
  margin:0!important;
  padding:0 10px!important;
  border:1px solid #e0c34a!important;
  border-bottom:3px solid #8d761c!important;
  border-radius:5px!important;
  background:linear-gradient(#eed04f,#d6b638)!important;
  color:#251d05!important;
  font-size:9px!important;
  font-weight:800!important;
}

/* Daily spin tile: use an emerald, not a star. */
body.lobby-app .daily-spin-bar{
  min-height:72px!important;
  padding:11px 12px!important;
  gap:10px!important;
  border:1px solid #2d4439!important;
  border-radius:7px!important;
  background:
    radial-gradient(circle at 12% 50%,rgba(52,220,141,.13),transparent 27%),
    linear-gradient(145deg,#121d1a,#0c1517)!important;
  color:#e7f2ec!important;
}
body.lobby-app .daily-spin-icon{
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #35634d!important;
  border-radius:6px!important;
  background:#10261c!important;
}
body.lobby-app .daily-spin-icon img{
  width:21px!important;
  height:21px!important;
  object-fit:contain!important;
  image-rendering:pixelated!important;
}
body.lobby-app .daily-spin-bar b{
  color:#fff!important;
  font-size:10px!important;
  font-weight:800!important;
}
body.lobby-app .daily-spin-bar small{
  margin-top:3px!important;
  color:#8db09e!important;
  font-size:8px!important;
  line-height:1.45!important;
}
body.lobby-app .daily-spin-bar>span:last-child{
  margin-left:auto!important;
  color:#5fe3a0!important;
  font-size:15px!important;
}

/* Daily spin dialog: cleaner dark-blue panels, sharper and less gimmicky. */
body.lobby-app .daily-spin-dialog{
  width:min(780px,calc(100vw - 28px))!important;
  border:2px solid #071018!important;
  border-radius:7px!important;
  background:#09131c!important;
  box-shadow:0 34px 110px rgba(0,0,0,.84)!important;
}
body.lobby-app .daily-spin-dialog::backdrop{
  background:rgba(2,5,8,.88)!important;
  backdrop-filter:blur(9px)!important;
}
body.lobby-app .spin-heading{
  min-height:86px!important;
  padding:18px 20px!important;
  border-bottom:2px solid #071018!important;
  background:
    radial-gradient(circle at 12% 0%,rgba(43,217,136,.10),transparent 33%),
    #0b1a26!important;
}
body.lobby-app .spin-heading::after{display:none!important}
body.lobby-app .spin-heading .eyebrow{
  display:block!important;
  color:#63dda0!important;
  font:800 8px/1 'DM Sans',sans-serif!important;
  letter-spacing:.14em!important;
}
body.lobby-app .spin-heading h2{
  margin:7px 0 0!important;
  color:#fff!important;
  font:800 25px/1 'DM Sans',sans-serif!important;
  letter-spacing:-.045em!important;
  text-transform:none!important;
}
body.lobby-app .spin-close{
  width:38px!important;
  height:38px!important;
  border:1px solid #294052!important;
  border-radius:5px!important;
  background:#0d1c29!important;
  color:#b9c7d1!important;
}
body.lobby-app .spin-intro{
  padding:14px 20px 7px!important;
  color:#8599a5!important;
  font-size:9px!important;
}
body.lobby-app .spin-window{
  min-height:150px!important;
  margin:10px 20px 0!important;
  padding:16px 12px!important;
  border:1px solid #203748!important;
  border-radius:6px!important;
  background:#07111a!important;
  box-shadow:inset 0 16px 28px rgba(0,0,0,.22)!important;
}
body.lobby-app .spin-window::before{
  background:linear-gradient(115deg,rgba(255,255,255,.025),transparent 22%)!important;
}
body.lobby-app .spin-tile{
  flex:0 0 102px!important;
  min-width:102px!important;
  width:102px!important;
  height:112px!important;
  padding:10px 7px!important;
  border-radius:5px!important;
  border-width:1px 1px 2px!important;
}
body.lobby-app .spin-tile img{
  width:50px!important;
  height:50px!important;
}
body.lobby-app .spin-tile b{
  font:800 9px/1 'DM Sans',sans-serif!important;
}
body.lobby-app .spin-prize-list{display:none!important}
body.lobby-app .spin-marker{
  border-left-width:9px!important;
  border-right-width:9px!important;
  border-top-width:13px!important;
}
body.lobby-app .spin-marker::after{
  top:-13px!important;
  height:132px!important;
  width:2px!important;
  left:-1px!important;
}
body.lobby-app .spin-status{
  margin:12px 20px 8px!important;
  min-height:39px!important;
  display:flex!important;
  align-items:center!important;
  padding:0 11px!important;
  border:1px solid #244e39!important;
  border-left:3px solid #3ed48d!important;
  border-radius:5px!important;
  background:#0c2018!important;
  color:#6fe4a9!important;
  font-size:9px!important;
}
body.lobby-app .spin-button{
  width:calc(100% - 40px)!important;
  min-height:46px!important;
  margin:0 20px!important;
  border-radius:5px!important;
  font:800 10px/1 'DM Sans',sans-serif!important;
}
body.lobby-app .spin-note{
  padding:9px 20px 14px!important;
  color:#536775!important;
}

/* About BlockBet section inspired by the reference, but matched to BlockBet. */
body.lobby-app .bb-about{
  margin:30px 0 0!important;
}
body.lobby-app .bb-about-heading{
  display:grid!important;
  grid-template-columns:1fr auto 1fr!important;
  align-items:center!important;
  gap:12px!important;
  margin-bottom:14px!important;
}
body.lobby-app .bb-about-heading::before,
body.lobby-app .bb-about-heading::after{
  content:""!important;
  height:1px!important;
  background:#1b2b34!important;
}
body.lobby-app .bb-about-heading span{
  min-height:34px!important;
  padding:0 17px!important;
  display:inline-flex!important;
  align-items:center!important;
  border:1px solid #284158!important;
  border-radius:6px!important;
  background:#0d1b29!important;
  color:#eef6fb!important;
  font-size:9px!important;
  font-weight:800!important;
  letter-spacing:.16em!important;
}
body.lobby-app .bb-about-card{
  padding:22px 24px!important;
  border:1px solid #22313b!important;
  border-radius:7px!important;
  background:#0e131b!important;
  color:#eaf0f4!important;
}
body.lobby-app .bb-about-card p{
  margin:0 0 16px!important;
  color:#cbd6dc!important;
  font-size:11px!important;
  line-height:1.7!important;
}
body.lobby-app .bb-about-card h3{
  margin:20px 0 8px!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:800!important;
}
body.lobby-app .bb-about-card a{color:#52e39b!important}
body.lobby-app .bb-about-games{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:6px 26px!important;
  margin:10px 0 0!important;
  padding:0!important;
  list-style:none!important;
}
body.lobby-app .bb-about-games li{
  position:relative!important;
  padding-left:13px!important;
  color:#c8d3da!important;
  font-size:10px!important;
  line-height:1.55!important;
}
body.lobby-app .bb-about-games li::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:.58em!important;
  width:4px!important;
  height:4px!important;
  background:#45db94!important;
}

/* Overall sharper, dark-blue panel language. */
body.lobby-app .welcome-hero,
body.lobby-app .spotlight,
body.lobby-app .home-account-strip{
  border-radius:7px!important;
  border-color:#2b3c43!important;
}
body.lobby-app .home-account-strip{
  background:#0e181b!important;
}
body.lobby-app .fair-link,
body.lobby-app .home-profile-button,
body.lobby-app .home-shiny-button{
  border-radius:5px!important;
}

/* Account/sign-in modal: closer to the sharp Minecraft-account reference. */
.bb-auth-dialog{
  border:2px solid #050b10!important;
  border-radius:6px!important;
  background:#08131d!important;
  box-shadow:0 30px 90px rgba(0,0,0,.82)!important;
}
.bb-auth-head{
  border-bottom:2px solid #050b10!important;
  background:#0b1a29!important;
}
.bb-auth-close,
.bb-auth-row input,
.bb-auth-submit,
.bb-auth-check,
.bb-auth-challenge{
  border-radius:4px!important;
}

@media(max-width:1450px){
  body.lobby-app .game-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:1100px){
  body.lobby-app .games-and-rewards{grid-template-columns:1fr!important}
  body.lobby-app .reward-stack{display:grid!important;grid-template-columns:1fr 1fr!important}
}
@media(max-width:900px){
  body.lobby-app .game-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:650px){
  body.lobby-app .game-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.lobby-app .reward-stack{grid-template-columns:1fr!important}
  body.lobby-app .bb-about-games{grid-template-columns:1fr!important}
}

body.lobby-app .home-shiny-button .shiny-gem img{
  width:15px!important;
  height:15px!important;
  object-fit:contain!important;
  image-rendering:pixelated!important;
}
