/* Homepage sections restored from the captured desktop homepage. */
.home-block,
.home-block *,
.static-article-shell {
  box-sizing: border-box;
}

.home-block {
  flex: 0 0 auto;
  margin: 12px 16px 0;
  overflow: hidden;
  color: #fff;
  background: #000;
  border-radius: 8px;
}

/* The captured section classes also contain React placeholder dimensions. */
.jss73.home-block {
  width: calc(100% - 32px);
  max-width: none !important;
  min-height: 0;
  height: auto;
  margin: 12px 16px 0;
  padding: 0;
  aspect-ratio: auto;
}

.home-block-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  margin: 0;
  padding: 5px 18px 7px;
  color: #030303;
  background: linear-gradient(100deg, #d78432 0%, #d5ad47 19%, #ffffbe 49%, #e6d98d 81%, #fffabe 100%);
  font-family: futurab, "UTM HelveBold", UTM-Helve, Arial, sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-block-heading h2 {
  margin: 0;
  color: inherit;
  font: inherit;
}

.demo-feeds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: start;
  justify-content: normal;
  overflow: visible;
  background: transparent;
  border-radius: 0;
}

.demo-feed-card {
  position: relative;
  min-width: 0;
  padding: 0 12px 12px;
  overflow: hidden;
  background: #000;
  border-radius: 8px;
}

.demo-feed-title {
  width: 64%;
  min-height: 47px;
  margin: 0 0 0 -12px;
  padding: 8px 18px 9px;
  color: #030303;
  background: linear-gradient(102deg, #d7812c 0%, #e7ca6e 50%, #fffec0 78%);
  border-radius: 8px 0 32px 0;
  clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%);
  font-family: futurab, "UTM HelveBold", UTM-Helve, Arial, sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.demo-feed-title h2 {
  margin: 0;
  color: inherit;
  font: inherit;
}

.feed-demo-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 10px;
  color: #fff2af;
  background: #292412;
  border: 1px solid #e5c659;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.feed-demo-note {
  margin: 8px 0;
  color: #d8ca96;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
}

.demo-feed-table {
  width: 100%;
  table-layout: fixed;
  border: 0;
  border-collapse: collapse;
  color: #fff;
  font-family: UTM-Helve, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.demo-feed-table tr {
  height: 44px;
  background: #222;
}

.demo-feed-table tr:nth-child(even) {
  background: #414141;
}

.demo-feed-table td {
  height: 44px;
  padding: 8px 12px;
  border: 0;
  line-height: 1.3;
  white-space: nowrap;
}

.demo-feed-table .feed-user {
  width: 40%;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
}

.demo-feed-table .feed-amount {
  width: 31%;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.demo-feed-table .feed-status {
  width: 29%;
  text-align: right;
}

.feed-row-enter {
  animation: homepage-feed-enter 360ms ease-out both;
}

@keyframes homepage-feed-enter {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px 12px;
  padding: 12px 12px 14px;
}

.popular-card {
  min-width: 0;
  margin: 0;
  color: #fff;
  text-align: center;
}

.popular-card figure {
  margin: 0;
}

.popular-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.popular-card figcaption,
.popular-card .popular-caption {
  display: -webkit-box;
  min-height: 34px;
  margin: 5px 0 0;
  overflow: hidden;
  color: #fff;
  font-family: UTM-Helve, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  padding: 14px;
}

.payment-card {
  min-width: 0;
  overflow: hidden;
  color: #000;
  background: #202020;
  border: 1px solid #eddd95;
  border-right-color: #b4973b;
  border-bottom-color: #b4973b;
  border-radius: 14px;
}

.payment-card > img.payment-logo {
  display: block;
  width: 100%;
  height: 78px;
  margin: 0;
  padding: 7px 7.5%;
  object-fit: contain;
  object-position: center;
}

.payment-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 34px;
  color: #000;
  background: linear-gradient(180deg, #d7c34a 0%, #fdf9bc 39%, #fdf9bc 59%, #bb7504 100%);
  font-family: UTM-Helve, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.status-dot {
  display: inline-block;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  background: #939393;
  border-radius: 50%;
  box-shadow: inset 0 1px 3px rgb(255 255 255 / 45%), 0 0 3px rgb(0 0 0 / 20%);
}

.status-dot.online,
.status-dot.status-online,
.payment-card[data-status="online"] .status-dot,
.payment-status.online .status-dot {
  background: #64d60e;
}

.status-dot.offline,
.status-dot.status-offline,
.payment-card[data-status="offline"] .status-dot,
.payment-status.offline .status-dot {
  background: #b30028;
}

.status-dot.unknown,
.status-dot.status-unknown,
.payment-card[data-status="unknown"] .status-dot,
.payment-status.unknown .status-dot {
  background: #939393;
}

.provider-groups {
  padding: 14px 12px 20px;
}

.provider-group {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
}

.provider-group:last-child {
  margin-bottom: 0;
}

.provider-group-name {
  margin: 0;
  padding: 0 4px;
  color: #fff;
  font-family: UTM-Helve, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.provider-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 50px;
  overflow: hidden;
  background: #222;
  border: 1px solid #eadfa4;
  border-right-color: #b8962d;
  border-bottom-color: #b8962d;
  border-radius: 12px;
}

.provider-tile img {
  display: block;
  width: 90%;
  height: 80%;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1);
  transition: filter 150ms ease, opacity 150ms ease;
}

.provider-tile:hover img,
.provider-tile:focus-within img {
  opacity: 1;
  filter: grayscale(0);
}

.static-article-shell {
  flex: 0 0 auto;
  width: 100%;
  padding: 16px;
}

.static-article-shell .toto234-article {
  margin: 24px auto;
}

@media (prefers-reduced-motion: reduce) {
  .feed-row-enter { animation: none; }
  .provider-tile img { transition: none; }
}

