/* Twindor app shell — looks like a native casino app */
html { background: #05060a; }
body.app-body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, #1a2740 0%, transparent 55%),
    #05060a;
  min-height: 100dvh;
  padding: 18px 12px 24px;
}
.app-phone {
  width: min(430px, 100%);
  margin: 0 auto;
  background: #0a0a0f;
  border-radius: 42px;
  border: 11px solid #12121a;
  box-shadow:
    0 0 0 1px #2c2c3a,
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 28px 80px rgba(0,0,0,.62);
  overflow: hidden;
  position: relative;
  min-height: calc(100dvh - 36px);
  padding-bottom: 68px;
}
.app-status {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px 0;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  position: relative;
  letter-spacing: .02em;
}
.app-notch {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 108px;
  height: 12px;
  background: #000;
  border-radius: 0 0 14px 14px;
}
.app-phone .header {
  position: sticky;
  top: 0;
}
.app-phone .sidebar { display: none !important; }
.app-phone .layout { display: block; }
.app-phone .banners { grid-template-columns: 1fr !important; padding-left: 12px; padding-right: 12px; }
.app-phone .banner:not(:first-child) { display: none; }
.app-phone .mobile-nav {
  display: block !important;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0 0 30px 30px;
  height: calc(62px + env(safe-area-inset-bottom, 0px));
}
.app-phone .header-icons { display: none; }
.app-phone .section,
.app-phone .seo-section { padding-left: 12px; padding-right: 12px; }

.app-phone .stats-bar-wrapper {
  margin: 4px 10px 16px;
  padding: 0;
  gap: 6px;
  align-items: stretch;
  overflow: visible;
}
.app-phone .stat-nav { display: none; }
.app-phone .stats-bar {
  flex: 1 1 auto;
  gap: 10px;
  padding: 6px 2px 12px;
  overflow-x: auto;
  overflow-y: visible;
}
.app-phone .stat-item {
  flex: 0 0 86%;
  min-width: 250px;
  max-width: 320px;
  min-height: 0;
  height: auto;
  overflow: visible;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 10px 12px;
  padding: 14px;
  transform: none;
}
.app-phone .stat-item:hover { transform: none; }
.app-phone .stat-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  font-size: 22px;
}
.app-phone .stat-content {
  flex: 1 1 calc(100% - 56px);
  min-width: 0;
}
.app-phone .stat-num {
  font-size: 22px;
  white-space: nowrap;
  overflow: visible;
}
.app-phone .stat-label {
  max-width: none;
  white-space: normal;
  overflow: visible;
  font-size: 12px;
  line-height: 1.3;
}
.app-phone .stat-badge {
  flex: 1 1 100%;
  margin: 2px 0 0;
  align-self: stretch;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
  padding: 7px 10px;
  font-size: 11px;
}
.app-home-bar {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: 118px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,.28);
  z-index: 95;
  pointer-events: none;
}

@media (max-width: 480px) {
  body.app-body { padding: 0; background: #0a0a0f; }
  .app-phone {
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 100dvh;
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
  .app-notch { display: none; }
  .app-home-bar { display: none; }
  .app-phone .mobile-nav { border-radius: 0; }
}
