/* SLOT PAGE ONLY - header/footer ortak CSS'e dokunmaz */
:root {
  --slot-bg: #111214;
  --slot-panel: #202126;
  --slot-panel2: #292a30;
  --slot-gold: #f5a400;
  --slot-gold2: #ffc338;
  --slot-muted: #a5a8af;
  --slot-line: rgba(255, 255, 255, .08);
}

.slot-page {
  padding: 0 0 32px;
  color: #fff;
  overflow: hidden
}

.slot-page * {
  box-sizing: border-box
}

.slot-page img {
  display: block;
  max-width: 100%
}

.slot-tabs {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  background: #1f2023;
  margin: 0 calc((100vw - min(1510px, calc(100vw - 24px)))/-2) 12px;
  border-top: 1px solid rgba(255, 255, 255, .04)
}

.slot-tabs a {
  height: 38px;
  display: flex;
  align-items: center;
  color: #9fa2aa;
  text-decoration: none;
  font-weight: 800;
  position: relative
}

.slot-tabs a.active {
  color: #fff
}

.slot-tabs a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--slot-gold);
  border-radius: 2px
}

.slot-hero {
  border-radius: 8px;
  overflow: hidden;
  background: #16171a;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .32);
  margin-bottom: 24px;
  position: relative
}

.slot-hero img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1510/420
}

.bb-slider {
  position: relative;
  overflow: hidden;
}

.bb-slider-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  height: 100%;
  transition: transform 0.4s ease-in-out;
}

.bb-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: block;
}

.bb-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

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

.bb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.bb-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.bb-prev {
  left: 10px;
}

.bb-next {
  right: 10px;
}

.slot-chip-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 0 0 4px;
  margin: 0 0 14px
}

.slot-chip-row::-webkit-scrollbar {
  display: none
}

.slot-chip-row button {
  height: 40px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: #25262b;
  color: #fff;
  padding: 0 20px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035)
}

.slot-chip-row button.active:not(.chip-arrow) {
  background: #1b1c20;
  border: 1px solid var(--slot-gold);
  box-shadow: inset 0 0 0 1px rgba(245, 164, 0, .14)
}

.slot-chip-row .chip-arrow {
  position: sticky;
  z-index: 4;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 21px;
  font-weight: 800;
  background: #24262b;
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .24)
}

.slot-chip-row .chip-prev {
  left: 0
}

.slot-chip-row .chip-next {
  right: 0
}

.slot-chip-row .chip-arrow:disabled {
  opacity: .38;
  cursor: default
}

.slot-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 172px 390px;
  gap: 20px;
  align-items: center;
  margin: 0 0 26px
}

.slot-search,
.slot-provider-button {
  height: 40px;
  border-radius: 22px;
  background: #24262b;
  border: 1px solid rgba(255, 255, 255, .025);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--slot-muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  min-width: 0
}

.slot-search {
  padding: 0 16px
}

.slot-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700
}

.slot-search span {
  font-size: 18px;
  color: #bfc1c7
}

.slot-random {
  height: 40px;
  border: 0;
  border-radius: 22px;
  background: #24262b;
  color: #fff;
  font-weight: 900;
  padding: 2px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025)
}

.slot-provider-button {
  justify-content: flex-start;
  padding: 0 18px;
  cursor: pointer;
  white-space: nowrap;
  text-align: left
}

.slot-provider-button i {
  font-style: normal;
  font-size: 17px;
  color: #c9cad0
}

.slot-provider-button span {
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.slot-provider-button.is-filtered {
  border-color: rgba(245, 164, 0, .45);
  color: #fff
}

.slot-section {
  margin: 0 0 26px;
  min-width: 0
}

.slot-section-head,
.slot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px
}

.slot-section-head h2,
.slot-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  color: #fff
}

.slot-row-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto
}

.slot-row-actions>span {
  font-size: 15px;
  font-weight: 900;
  color: #fff
}

.slot-row-actions button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #25272d;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  display: grid;
  place-items: center;
  cursor: pointer
}

.slot-row-actions button:disabled {
  opacity: .35;
  cursor: default
}

.show-more-mobile {
  display: none !important
}

.slot-game-row,
.provider-row,
.winner-track,
.tournament-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: auto;
  min-width: 0;
  scrollbar-width: none
}

.slot-game-row.double-row:not(.is-expanded) {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 84px) / 7);
}

@media(max-width:1180px) {
  .slot-game-row.double-row:not(.is-expanded) {
    grid-auto-columns: calc((100% - 56px) / 5);
  }
}

@media(max-width:991px) {
  .slot-game-row.double-row:not(.is-expanded) {
    grid-auto-columns: calc((100% - 16px) / 3);
  }
}

.slot-game-row::-webkit-scrollbar,
.provider-row::-webkit-scrollbar,
.winner-track::-webkit-scrollbar,
.tournament-row::-webkit-scrollbar {
  display: none
}

.slot-game-card {
  flex: 0 0 calc((100% - 84px)/7);
  border-radius: 8px;
  overflow: hidden;
  background: #202126;
  aspect-ratio: 4/3.5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22)
}

.slot-game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.slot-game-card.is-filter-hidden,
.tournament-card.is-filter-hidden {
  display: none !important
}

.slot-game-row.is-marquee-ready,
.winner-track.is-marquee-ready {
  scroll-behavior: auto !important;
  will-change: scroll-position
}

.slot-game-row [data-marquee-clone="1"],
.winner-track [data-marquee-clone="1"] {
  pointer-events: none
}

.provider-card {
  flex: 0 0 100px;
  width: 100px;
  height: 47px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 5px;
  background: linear-gradient(180deg, #2b2c31, #222328);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03)
}

.provider-card span,
.provider-card b {
  display: block;
  max-width: 100%;
  font-size: 9px;
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.1px;
  white-space: normal;
  overflow-wrap: anywhere
}

.provider-card small {
  font-size: 8px;
  line-height: .95;
  font-weight: 800;
  color: #e8e8eb
}

.provider-card.two {
  gap: 1px
}

.provider-card.is-selected {
  border-color: var(--slot-gold) !important;
  box-shadow: inset 0 0 0 1px rgba(245, 164, 0, .28), 0 0 0 1px rgba(245, 164, 0, .12) !important
}

.provider-card.is-search-hidden {
  display: none !important
}

.winner-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: auto;
  scrollbar-width: none
}

.winner-tabs::-webkit-scrollbar {
  display: none
}

.winner-tabs button {
  height: 30px;
  border: 0;
  border-radius: 16px;
  background: #24262b;
  color: #fff;
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap
}

.winner-tabs button.active {
  background: #fff;
  color: #111
}

.winner-track {
  gap: 10px
}

.winner-card {
  flex: 0 0 calc((100% - 50px)/6);
  height: 74px;
  border-radius: 9px;
  background: linear-gradient(90deg, #27282d, #222328);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: 18px 22px 24px;
  column-gap: 10px;
  align-items: center;
  padding: 8px 10px;
  color: #fff;
  text-decoration: none;
  overflow: hidden
}

.winner-thumb {
  grid-row: 1/4;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7dd95d, #d8c95a);
  position: relative;
  overflow: hidden
}

.winner-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.winner-thumb:after {
  content: "";
  position: absolute;
  right: -5px;
  top: -5px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 230, 128, .6)
}

.winner-card b {
  font-size: 12px;
  color: #90939a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.winner-card small {
  font-size: 12px;
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.winner-card strong {
  font-size: 15px;
  color: #fff;
  font-weight: 900;
  white-space: nowrap
}

.tournament-row {
  gap: 18px
}

.tournament-card {
  position: relative;
  flex: 0 0 calc((100% - 36px)/3);
  min-height: 318px;
  border-radius: 14px;
  overflow: hidden;
  background: #202124;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3)
}

.tournament-card>img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 206px;
  object-fit: cover
}

.tournament-card:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 206px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .14) 58%, rgba(0, 0, 0, .42));
  z-index: 1
}

.t-badge {
  position: absolute;
  left: 18px;
  top: 16px;
  height: 29px;
  padding: 0 14px;
  border-radius: 15px;
  background: #ffb300;
  color: #111;
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  z-index: 2
}

.t-time {
  position: absolute;
  left: 50%;
  top: 105px;
  transform: translateX(-50%);
  height: 28px;
  padding: 0 14px;
  border-radius: 15px;
  background: rgba(18, 20, 22, .46);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .2)
}

.t-time em {
  font-style: normal;
  color: #dadbe0;
  font-size: 10px;
  font-weight: 700
}

.t-time b {
  font-size: 11px
}

.t-info {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(153, 112, 54, .84), rgba(47, 47, 49, .94) 55%, rgba(38, 39, 42, .98));
  backdrop-filter: blur(4px);
  padding: 18px 16px 15px;
  text-align: center;
  z-index: 2
}

.t-info h3 {
  margin: 0 0 13px;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.t-info small {
  display: block;
  margin-bottom: 8px;
  color: #d7d8dd;
  font-weight: 800
}

.t-info strong {
  display: block;
  margin-bottom: 15px;
  font-size: 22px;
  font-weight: 900
}

.t-info div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px
}

.t-info button {
  height: 32px;
  border: 0;
  border-radius: 18px;
  font-weight: 900;
  cursor: pointer
}

.t-info button:first-child {
  background: #ffad00;
  color: #111
}

.t-info button:last-child {
  background: #3a3b41;
  color: #fff
}

.provider-sheet,
.game-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: none
}

.provider-sheet.is-open,
.game-modal.is-open {
  display: block
}

.provider-sheet-backdrop,
.game-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(5px)
}

.provider-panel,
.game-card-modal {
  position: relative;
  background: #15171b;
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45)
}

.provider-panel {
  width: min(720px, calc(100% - 32px));
  margin: 76px auto 0;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 110px)
}

.provider-panel h3 {
  margin: 0 0 14px;
  font-size: 28px;
  font-family: "Barlow Condensed", Inter, sans-serif
}

.provider-close,
.game-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #303238;
  color: #fff;
  font-size: 24px;
  cursor: pointer
}

.provider-search {
  height: 40px;
  border-radius: 22px;
  background: #24262b;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  flex: 0 0 auto
}

.provider-search input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff
}

.provider-panel h4 {
  margin: 18px 0 14px;
  flex: 0 0 auto
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  overflow: auto;
  padding-right: 4px;
  flex: 1 1 auto;
  min-height: 0
}

.provider-grid .provider-card {
  width: 100%;
  height: 56px;
  flex: initial
}

.sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  flex: 0 0 auto
}

.sheet-actions button {
  height: 42px;
  min-width: 0;
  border: 0;
  border-radius: 22px;
  background: #2e3035;
  color: #a4a6ae;
  font-weight: 900;
  cursor: pointer
}

.sheet-actions button:last-child {
  background: linear-gradient(180deg, var(--slot-gold2), var(--slot-gold));
  color: #111
}

.game-card-modal {
  width: min(430px, calc(100% - 32px));
  margin: 120px auto 0;
  border-radius: 18px;
  padding: 44px 16px 18px
}

.game-card-modal img {
  width: 100%;
  border-radius: 10px
}

.game-card-modal h3 {
  text-align: center;
  margin: 16px 0 18px
}

.game-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.game-actions button {
  height: 42px;
  border: 0;
  border-radius: 21px;
  color: #fff;
  font-weight: 900
}

.game-actions button:first-child {
  background: #2e3035
}

.game-actions button:last-child {
  background: #2e9741
}

@media(max-width:1180px) {
  .slot-tools {
    grid-template-columns: minmax(0, 1fr) 170px 280px
  }

  .slot-game-card {
    flex-basis: calc((100% - 56px)/5)
  }

  .winner-card {
    flex-basis: calc((100% - 30px)/4)
  }

  .tournament-card {
    flex-basis: calc((100% - 18px)/2)
  }
}

@media(max-width:720px) {
  .slot-page {
    padding: 8px 4px 22px
  }

  .slot-tabs {
    display: none
  }

  .slot-hero {
    margin-bottom: 12px;
    border-radius: 7px
  }

  .slot-chip-row {
    gap: 8px;
    margin: 12px 0 10px;
    overflow-x: auto
  }

  .slot-chip-row button {
    height: 31px;
    padding: 0 15px;
    font-size: 12px
  }

  .slot-chip-row .chip-arrow {
    display: none
  }

  .slot-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px
  }

  .slot-search {
    grid-column: 1/2;
    order: 1
  }

  .slot-provider-button {
    grid-column: 2/3;
    order: 2;
    justify-content: space-between;
    text-align: left
  }

  .slot-random {
    grid-column: 1/-1;
    order: 3;
    height: 36px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 1px
  }

  .slot-search,
  .slot-provider-button {
    height: 39px;
    border-radius: 20px;
    padding: 0 12px
  }

  .slot-search input {
    font-size: 13px
  }

  .slot-search span,
  .slot-provider-button i {
    font-size: 17px;
    opacity: .9
  }

  .slot-provider-button span {
    font-size: 13px;
    font-weight: 700
  }

  .slot-section {
    margin-bottom: 18px
  }

  .slot-section-head,
  .slot-head {
    min-height: 18px;
    margin-bottom: 8px;
    padding: 0 1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px
  }

  .slot-section-head h2,
  .slot-head h2 {
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .1px;
    min-width: 0;
    flex: 1 1 auto;
    margin: 0
  }

  .slot-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    margin-left: auto;
    flex: 0 0 auto
  }

  .slot-row-actions>span {
    display: none
  }

  .slot-row-actions button:not(.show-more-mobile) {
    display: none
  }

  .show-more-mobile {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    width: auto;
    height: 15px;
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: visible
  }

  .show-more-mobile span {
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap
  }

  .show-more-mobile i {
    font-style: normal;
    font-size: 14px;
    font-weight: 300;
    line-height: 1;
    margin-left: 2px;
    opacity: .9
  }

  .slot-game-row,
  .provider-row,
  .winner-track,
  .tournament-row {
    overflow-x: auto;
    scrollbar-width: none
  }

  .slot-game-card {
    flex: 0 0 calc((100% - 16px)/3);
    width: auto;
    aspect-ratio: 4/3.5;
    border-radius: 6px
  }

  .provider-card {
    flex: 0 0 100px
  }

  .winner-tabs {
    gap: 5px
  }

  .winner-tabs button {
    height: 26px;
    padding: 0 12px;
    font-size: 11px
  }

  .winner-card {
    flex: 0 0 170px;
    height: 66px;
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-rows: 16px 20px 22px;
    padding: 7px
  }

  .winner-thumb {
    width: 46px;
    height: 46px
  }

  .tournament-card {
    flex: 0 0 304px;
    min-height: 326px
  }

  .tournament-card>img {
    height: 190px
  }

  .tournament-card:before {
    height: 190px
  }

  .t-time {
    top: 142px;
    height: 25px;
    padding: 0 10px;
    gap: 7px
  }

  .t-time em {
    font-size: 9px
  }

  .t-time b {
    font-size: 10px
  }

  .t-info {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px 14px 13px
  }

  .t-info h3 {
    font-size: 14px;
    margin-bottom: 10px
  }

  .t-info small {
    font-size: 11px;
    margin-bottom: 6px
  }

  .t-info strong {
    font-size: 20px;
    margin-bottom: 12px
  }

  .t-info button {
    height: 31px
  }

  .expandable.is-expanded {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    overflow: visible !important;
    scroll-behavior: auto
  }

  .expandable.is-expanded .slot-game-card {
    width: auto;
    flex: initial;
    min-width: 0
  }

  .expandable.is-expanded [data-marquee-clone="1"] {
    display: none !important
  }

  .provider-panel {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 0;
    width: auto;
    height: min(560px, 68dvh);
    max-height: 68dvh;
    margin: 0;
    border-radius: 18px 18px 0 0;
    padding: 12px 8px 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden
  }

  .provider-panel:before {
    content: "";
    display: block;
    width: 34px;
    height: 4px;
    background: #8c8f95;
    border-radius: 999px;
    margin: 2px auto 12px;
    flex: 0 0 auto
  }

  .provider-panel h3 {
    font-size: 18px;
    margin: 0 0 12px;
    line-height: 1;
    flex: 0 0 auto
  }

  .provider-close {
    right: 10px;
    top: 10px;
    width: 36px;
    height: 36px
  }

  .provider-search {
    height: 38px;
    margin: 0 0 12px;
    border-radius: 19px;
    padding: 0 12px;
    flex: 0 0 auto
  }

  .provider-panel h4 {
    margin: 4px 0 10px;
    font-size: 14px;
    flex: 0 0 auto
  }

  .provider-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 2px 4px;
    flex: 1 1 auto;
    min-height: 0
  }

  .provider-grid .provider-card {
    width: auto;
    height: 46px;
    min-height: 46px;
    flex: initial;
    border-radius: 5px;
    padding: 5px
  }

  .provider-grid .provider-card span,
  .provider-grid .provider-card b {
    font-size: 8px;
    line-height: .96
  }

  .provider-grid .provider-card small {
    font-size: 7px;
    line-height: .9
  }

  .sheet-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px 0 0;
    padding: 0;
    background: #15171b;
    flex: 0 0 auto
  }

  .sheet-actions button {
    height: 38px;
    min-width: 0;
    width: 100%;
    border-radius: 19px;
    font-size: 12px
  }
}


/* FINAL MOBILE FIXES: provider sheet position + thin TUMU/DARALT link */
@media(max-width:720px) {

  .slot-page .slot-section-head,
  .slot-page .slot-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    min-height: 18px !important;
    margin-bottom: 8px !important;
    padding: 0 1px !important;
  }

  .slot-page .slot-section-head h2,
  .slot-page .slot-head h2 {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    letter-spacing: .05px !important;
    white-space: nowrap !important;
  }

  .slot-page .slot-row-actions {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    white-space: nowrap !important;
  }

  .slot-page .slot-row-actions>span {
    display: none !important
  }

  .slot-page .slot-row-actions button:not(.show-more-mobile) {
    display: none !important
  }

  .slot-page .slot-row-actions .show-more-mobile,
  .slot-page .slot-row-actions .show-more-mobile:focus,
  .slot-page .slot-row-actions .show-more-mobile:active {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 2px !important;
    margin: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
  }

  .slot-page .slot-row-actions .show-more-mobile span {
    display: inline !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    letter-spacing: .02em !important;
  }

  .slot-page .slot-row-actions .show-more-mobile i {
    display: inline !important;
    font-style: normal !important;
    font-size: 13px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    margin-left: 2px !important;
    transform: none !important;
  }

  .provider-sheet.is-open {
    display: block !important
  }

  .provider-panel {
    position: fixed !important;
    left: 6px !important;
    right: 6px !important;
    top: 112px !important;
    bottom: 0 !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 10px 8px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    background: #15171b !important;
  }

  .provider-panel:before {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 4px !important;
    border-radius: 999px !important;
    background: #8b8e95 !important;
    margin: 2px auto 12px !important;
    flex: 0 0 auto !important;
  }

  .provider-panel h3 {
    margin: 0 0 10px !important;
    font-size: 16px !important;
    line-height: 1 !important;
    flex: 0 0 auto !important;
  }

  .provider-close {
    right: 10px !important;
    top: 10px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    font-size: 22px !important;
  }

  .provider-search {
    height: 36px !important;
    min-height: 36px !important;
    border-radius: 18px !important;
    padding: 0 12px !important;
    margin: 0 0 12px !important;
    flex: 0 0 auto !important;
  }

  .provider-search input {
    font-size: 13px !important
  }

  .provider-panel h4 {
    margin: 0 0 9px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    flex: 0 0 auto !important;
  }

  .provider-grid {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    padding: 0 2px 8px !important;
  }

  .provider-grid .provider-card {
    width: auto !important;
    height: 42px !important;
    min-height: 42px !important;
    flex: initial !important;
    padding: 4px !important;
    border-radius: 5px !important;
  }

  .provider-grid .provider-card span,
  .provider-grid .provider-card b {
    font-size: 7.8px !important;
    line-height: .96 !important;
  }

  .provider-grid .provider-card small {
    font-size: 6.8px !important;
    line-height: .9 !important;
  }

  .sheet-actions {
    flex: 0 0 auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    background: #15171b !important;
    position: static !important;
  }

  .sheet-actions button {
    height: 36px !important;
    min-width: 0 !important;
    width: 100% !important;
    border-radius: 18px !important;
    font-size: 12px !important;
  }
}

/* FINAL: mobile provider modal centered, compact and internally scrollable */
@media (max-width:720px) {
  .provider-sheet.is-open {
    display: block !important
  }

  .provider-sheet-backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, .64) !important;
    backdrop-filter: blur(6px) !important
  }

  .provider-panel {
    position: fixed !important;
    left: 8px !important;
    right: 8px !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    height: min(520px, 70dvh) !important;
    max-height: min(520px, 70dvh) !important;
    margin: 0 !important;
    border-radius: 18px !important;
    padding: 10px 8px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    background: #15171b !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .62) !important;
  }

  .provider-panel:before {
    content: "" !important;
    display: block !important;
    width: 34px !important;
    height: 4px !important;
    border-radius: 999px !important;
    background: #8b8e95 !important;
    margin: 2px auto 12px !important;
    flex: 0 0 auto !important;
  }

  .provider-panel h3 {
    font-size: 16px !important;
    line-height: 1 !important;
    margin: 0 0 10px !important;
    flex: 0 0 auto !important
  }

  .provider-close {
    right: 10px !important;
    top: 10px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    font-size: 22px !important
  }

  .provider-search {
    height: 36px !important;
    min-height: 36px !important;
    border-radius: 18px !important;
    margin: 0 0 11px !important;
    padding: 0 12px !important;
    flex: 0 0 auto !important
  }

  .provider-search input {
    font-size: 13px !important
  }

  .provider-panel h4 {
    font-size: 13px !important;
    line-height: 1 !important;
    margin: 0 0 9px !important;
    flex: 0 0 auto !important
  }

  .provider-grid {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    padding: 0 2px 8px !important;
    scrollbar-width: thin !important;
  }

  .provider-grid .provider-card {
    width: auto !important;
    height: 42px !important;
    min-height: 42px !important;
    flex: initial !important;
    border-radius: 5px !important;
    padding: 4px !important
  }

  .provider-grid .provider-card span,
  .provider-grid .provider-card b {
    font-size: 7.7px !important;
    line-height: .96 !important
  }

  .provider-grid .provider-card small {
    font-size: 6.8px !important;
    line-height: .9 !important
  }

  .sheet-actions {
    flex: 0 0 auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    background: #15171b !important;
    position: static !important;
  }

  .sheet-actions button {
    height: 36px !important;
    min-width: 0 !important;
    width: 100% !important;
    border-radius: 18px !important;
    font-size: 12px !important
  }
}

/* FINAL FIX 2026-07-07: compact mobile TUMU + reliable auto-scroll + random modal */
@media(max-width:720px) {
  .slot-page .slot-section-head {
    align-items: center !important;
    margin-bottom: 8px !important;
    min-height: 18px !important
  }

  .slot-page .slot-row-actions {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    gap: 0 !important
  }

  .slot-page .slot-row-actions>span {
    display: none !important
  }

  .slot-page .slot-row-actions button:not(.show-more-mobile) {
    display: none !important
  }

  .slot-page .show-more-mobile,
  .slot-page .show-more-mobile:focus,
  .slot-page .show-more-mobile:active {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    color: #fff !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-shadow: none !important;
  }

  .slot-page .show-more-mobile span {
    font-size: 10.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important
  }

  .slot-page .show-more-mobile i {
    font-style: normal !important;
    font-size: 13px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    margin-left: 4px !important;
    opacity: .9 !important
  }

  .expandable.is-expanded .final-auto-clone {
    display: none !important
  }
}

.final-auto-clone {
  pointer-events: none
}

.random-modal {
  position: fixed;
  inset: 0;
  z-index: 420;
  display: none
}

.random-modal.is-open {
  display: block
}

.random-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(6px)
}

.random-panel {
  position: relative;
  width: min(430px, calc(100% - 28px));
  margin: 8vh auto 0;
  background: #15171b;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .62);
  overflow: hidden;
  color: #fff
}

.random-close {
  position: absolute;
  right: 13px;
  top: 13px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #303238;
  color: #fff;
  font-size: 22px;
  cursor: pointer
}

.random-panel h3 {
  margin: 0 42px 4px 0;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 30px;
  line-height: 1;
  font-weight: 800
}

.random-subtitle {
  margin: 0 0 14px;
  color: #b7bac1;
  font-size: 13px;
  font-weight: 700
}

.random-window {
  position: relative;
  height: 250px;
  border-radius: 14px;
  background: linear-gradient(180deg, #202126, #111216);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06)
}

.random-window:before,
.random-window:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 3;
  pointer-events: none
}

.random-window:before {
  top: 0;
  background: linear-gradient(180deg, #111216, transparent)
}

.random-window:after {
  bottom: 0;
  background: linear-gradient(0deg, #111216, transparent)
}

.random-marker {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 74px;
  transform: translateY(-50%);
  border: 2px solid rgba(255, 186, 33, .75);
  border-radius: 12px;
  z-index: 4;
  box-shadow: 0 0 24px rgba(255, 186, 33, .18);
  pointer-events: none
}

.random-track {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  will-change: transform;
  transform: translateY(0)
}

.random-track.is-rolling {
  transition: transform 2.6s cubic-bezier(.12, .72, .14, 1)
}

.random-item {
  height: 64px;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  background: #24262b;
  border: 1px solid rgba(255, 255, 255, .06);
  padding: 6px 10px;
  overflow: hidden
}

.random-item img {
  width: 84px;
  height: 50px;
  object-fit: cover;
  border-radius: 7px
}

.random-item b {
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.random-item small {
  display: block;
  margin-top: 3px;
  color: #aeb1b8;
  font-size: 11px;
  font-weight: 800
}

.random-result {
  display: none;
  align-items: center;
  gap: 12px;
  margin: 14px 0 0;
  background: #22242a;
  border-radius: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .06)
}

.random-result.is-visible {
  display: flex
}

.random-result img {
  width: 96px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px
}

.random-result strong {
  font-size: 17px;
  font-weight: 900
}

.random-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px
}

.random-actions button {
  height: 42px;
  border: 0;
  border-radius: 22px;
  font-weight: 900;
  cursor: pointer
}

.random-actions button:first-child {
  background: #303238;
  color: #fff
}

.random-actions button:last-child {
  background: linear-gradient(180deg, #ffc53d, #f5a400);
  color: #111
}

.random-actions button:last-child:disabled {
  opacity: .45;
  cursor: not-allowed
}

@media(max-width:720px) {
  .random-panel {
    width: calc(100% - 18px);
    margin: 9vh auto 0;
    border-radius: 16px;
    padding: 14px
  }

  .random-panel h3 {
    font-size: 24px
  }

  .random-window {
    height: 230px
  }

  .random-marker {
    height: 70px
  }

  .random-item {
    height: 60px;
    grid-template-columns: 76px minmax(0, 1fr)
  }

  .random-item img {
    width: 76px;
    height: 46px
  }

  .random-actions button {
    height: 38px
  }

  .random-result img {
    width: 82px;
    height: 52px
  }
}


/* FINAL RANDOM MODAL + AUTO ROW POLISH */
.random-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 520 !important;
  display: none !important
}

.random-modal.is-open {
  display: block !important
}

.random-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, .74) !important;
  backdrop-filter: blur(7px) !important
}

.random-panel {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(590px, calc(100vw - 44px)) !important;
  margin: 0 !important;
  padding: 22px !important;
  border-radius: 20px !important;
  background: #15171b !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .70) !important;
  color: #fff !important;
}

.random-panel h3 {
  font-size: 36px !important;
  margin: 0 48px 4px 0 !important
}

.random-subtitle {
  font-size: 14px !important;
  margin: 0 0 16px !important;
  color: #c3c5cc !important
}

.random-window {
  height: 330px !important;
  border-radius: 15px !important
}

.random-marker {
  height: 80px !important;
  left: 12px !important;
  right: 12px !important
}

.random-track {
  top: 120px !important;
  left: 14px !important;
  right: 14px !important;
  gap: 11px !important
}

.random-item {
  height: 72px !important;
  grid-template-columns: 112px minmax(0, 1fr) !important;
  gap: 14px !important;
  padding: 8px 12px !important;
  border-radius: 12px !important
}

.random-item img {
  width: 112px !important;
  height: 58px !important;
  border-radius: 8px !important
}

.random-item b {
  font-size: 18px !important
}

.random-item small {
  font-size: 12px !important
}

.random-result {
  margin-top: 16px !important;
  padding: 12px !important;
  border-radius: 14px !important
}

.random-result img {
  width: 118px !important;
  height: 68px !important
}

.random-result strong {
  font-size: 20px !important
}

.random-actions {
  margin-top: 16px !important;
  gap: 14px !important
}

.random-actions button {
  height: 48px !important;
  border-radius: 24px !important;
  font-size: 15px !important
}

.slot-game-row,
.winner-track {
  overflow-x: auto !important;
  scroll-behavior: smooth;
}

.slot-game-row.is-expanded {
  scroll-behavior: auto !important;
}

.slot-page .show-more-mobile,
.slot-page .show-more-mobile:focus,
.slot-page .show-more-mobile:active {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-width: auto !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  color: #fff !important;
}

.slot-page .show-more-mobile span {
  font-weight: 500 !important;
  font-size: 10.5px !important;
  letter-spacing: .01em !important;
}

.slot-page .show-more-mobile i {
  font-weight: 300 !important;
  font-size: 13px !important;
  margin-left: 4px !important;
}

@media(max-width:720px) {

  .slot-hero img,
  .bb-slide picture,
  .bb-slide img {
    height: auto !important;
    aspect-ratio: auto !important;
  }

  .random-panel {
    width: calc(100vw - 22px) !important;
    max-height: calc(100dvh - 92px) !important;
    padding: 14px !important;
    border-radius: 17px !important;
  }

  .random-panel h3 {
    font-size: 26px !important;
    margin-right: 42px !important
  }

  .random-subtitle {
    font-size: 12px !important;
    margin-bottom: 12px !important
  }

  .random-window {
    height: 250px !important
  }

  .random-track {
    top: 90px !important;
    left: 10px !important;
    right: 10px !important;
    gap: 9px !important
  }

  .random-marker {
    height: 70px !important;
    left: 9px !important;
    right: 9px !important
  }

  .random-item {
    height: 62px !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 6px 8px !important
  }

  .random-item img {
    width: 78px !important;
    height: 48px !important
  }

  .random-item b {
    font-size: 14px !important
  }

  .random-item small {
    font-size: 10px !important
  }

  .random-result img {
    width: 86px !important;
    height: 52px !important
  }

  .random-result strong {
    font-size: 15px !important
  }

  .random-actions button {
    height: 38px !important;
    font-size: 13px !important
  }

  .slot-page .show-more-mobile span {
    font-size: 10px !important;
    font-weight: 500 !important
  }

  .slot-page .show-more-mobile i {
    font-size: 12px !important;
    font-weight: 300 !important
  }
}

/* Provider Modal Mobile Grid Fix */
.provider-grid {
  align-content: start !important;
  grid-auto-rows: max-content !important;
}

@media (max-width: 720px) {
  .provider-panel {
    height: auto !important;
    max-height: 72dvh !important;
  }

  .provider-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-content: start !important;
    grid-auto-rows: max-content !important;
    gap: 8px !important;
    padding: 2px 4px 10px !important;
    overflow-y: auto !important;
  }

  .provider-grid .provider-card {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 6px !important;
    background: linear-gradient(180deg, #2b2c31, #222328) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .provider-grid .provider-card img {
    max-height: 28px !important;
    max-width: 90% !important;
    object-fit: contain !important;
  }

  .provider-grid .provider-card span {
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #fff !important;
    text-align: center !important;
    word-break: break-word !important;
  }
}