/**
 * GD Online player web — Vardhan111 maroon identity overlay.
 * Loaded LAST from includes/head.php and includes/auth-head.php.
 * Palette matches android-app/app/src/main/res/values/colors.xml
 */

:root {
  --brand: #7A0C1F;
  --brand-2: #9B1832;
  --brand-deep: #4A0814;
  --brand-light: #C45A6E;
  --brand-soft: #FDF2F4;
  --brand-primary: #7A0C1F !important;
  --brand-primary-hover: #4A0814 !important;
  --brand-primary-light: rgba(122, 12, 31, 0.14) !important;
  --brand-accent-start: #7A0C1F !important;
  --brand-accent-end: #9B1832 !important;
  --brand-accent-solid: #7A0C1F !important;
  --brand-accent-border: rgba(122, 12, 31, 0.35) !important;
  --brand-accent-shadow: rgba(122, 12, 31, 0.28) !important;
  --brand-accent-gradient: linear-gradient(135deg, #7A0C1F 0%, #9B1832 100%) !important;
  --brand-accent-gradient-strong: linear-gradient(135deg, #4A0814 0%, #7A0C1F 100%) !important;
  --brand-secondary: #9B1832 !important;
  --brand-secondary-hover: #4A0814 !important;
  --text-brand: #7A0C1F !important;
  --info: #7A0C1F !important;
  --info-bg: rgba(122, 12, 31, 0.12) !important;
  --bg-body: #FDF2F4 !important;
  --c-gold: #7A0C1F !important;
  --c-gold-dark: #4A0814 !important;
  --c-cream: #FDF2F4 !important;
  --c-cream-2: #FFFFFF !important;
  --c-cream-page: #FDF2F4 !important;
  --c-cream-scroll: #FDF2F4 !important;
  --c-pink: #7A0C1F !important;
  --c-pink-alt: #9B1832 !important;
  --c-pink-dark: #4A0814 !important;
  --c-pink-light: #C45A6E !important;
  --c-king: #4A0814 !important;
  --phone-rail: #7A0C1F !important;
  --phone-bg: #FDF2F4 !important;
  --grad-iris: linear-gradient(135deg, #7A0C1F, #9B1832) !important;
}

html { accent-color: #7A0C1F; }

/* ── Auth screens (login / register / forgot) ── */
body.auth-page {
  background: #FDF2F4 !important;
  color: #3C2F1F;
}
body.auth-page::before {
  background:
    radial-gradient(circle at 18% 8%, rgba(155, 24, 50, 0.18) 0%, transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(122, 12, 31, 0.12) 0%, transparent 46%) !important;
}
.auth-header::before,
.auth-header-login::before {
  display: none !important;
}
.auth-header-login p,
.auth-header p {
  color: #8E8E93 !important;
}
.auth-card {
  background: #FFFFFF !important;
  border: 1px solid #FCE8EC !important;
  box-shadow: 0 12px 32px rgba(44, 30, 23, 0.08) !important;
}
.auth-card .form-control,
.auth-card .input-with-icon input {
  background: #FFFFFF !important;
  border-color: #F1D6DB !important;
  color: #3C2F1F !important;
}
.auth-card .form-control:focus {
  border-color: #7A0C1F !important;
  box-shadow: 0 0 0 3px rgba(122, 12, 31, 0.18) !important;
}
.auth-card .input-with-icon i {
  color: #9B1832 !important;
}
.auth-card .btn-primary,
body.auth-page .btn-primary,
body.auth-page button[type="submit"].btn {
  background: #7A0C1F !important;
  background-image: linear-gradient(135deg, #7A0C1F 0%, #9B1832 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 3px 0 #4A0814, 0 8px 18px rgba(122, 12, 31, 0.35) !important;
  font-family: "TT Supermolot Neue Trl", Inter, system-ui, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}
.auth-card .btn-primary:hover:not(:disabled),
body.auth-page .btn-primary:hover:not(:disabled) {
  background: #7A0C1F !important;
  background-image: linear-gradient(135deg, #4A0814 0%, #7A0C1F 100%) !important;
  color: #FFFFFF !important;
  filter: brightness(1.03);
}
.auth-links a,
.auth-back {
  color: #3C2F1F !important;
}
.auth-links a:hover,
.auth-back:hover {
  color: #7A0C1F !important;
}
.auth-checkbox input[type="checkbox"] {
  accent-color: #7A0C1F !important;
}
.password-toggle {
  color: #8E8E93 !important;
}

/* ── Global primary buttons ── */
.btn-primary,
button.btn-primary,
a.btn-primary,
.btn.btn-primary {
  background: linear-gradient(135deg, #7A0C1F, #9B1832) !important;
  background-color: #7A0C1F !important;
  color: #FFFFFF !important;
  border-color: #4A0814 !important;
  box-shadow: 0 4px 14px rgba(122, 12, 31, 0.32) !important;
}
.btn-secondary,
button.btn-secondary {
  background: linear-gradient(135deg, #4A0814, #7A0C1F) !important;
  color: #FFFFFF !important;
}

/* ── Sticky inner headers that were maroon ── */
header[style*="#7A1618"],
header[style*="#7a1618"],
header[style*="#6B1518"],
header[style*="#7A0C1F"],
header[style*="background:#7A1618"],
header[style*="background:#7A0C1F"],
header.app-top-header,
.app-top-header,
.app-top-header .app-header-bar,
.ui-back-header {
  background: linear-gradient(135deg, #7A0C1F, #9B1832) !important;
  color: #FFFFFF !important;
  border-bottom: 0 !important;
}
header[style*="#7A1618"] .text-white,
header[style*="#7A0C1F"] .text-white,
header[style*="#7A1618"] h1,
header[style*="#7A0C1F"] h1,
.ui-back-header .ui-title {
  color: #FFFFFF !important;
}

/* ── Inline leftover maroon (background vs text) ── */
[style*="background:#7A1618"],
[style*="background: #7A1618"],
[style*="background:#6B1518"],
[style*="background: #6B1518"],
[style*="background:#8B1A1A"],
[style*="background: #8B1A1A"] {
  background: #7A0C1F !important;
}
[style*="background:linear-gradient(135deg,#7A1618"],
[style*="background:linear-gradient(135deg, #7A1618"],
[style*="background: linear-gradient(135deg,#7A1618"],
[style*="background: linear-gradient(135deg, #7A1618"],
[style*="background:linear-gradient(to right, #7A1618"] {
  background: linear-gradient(135deg, #7A0C1F, #9B1832) !important;
}
[style*="color:#7A1618"],
[style*="color: #7A1618"],
[style*="color:#6B1518"],
[style*="color: #6B1518"],
[style*="color:#8B1A1A"] {
  color: #7A0C1F !important;
}

.text-\[\#7A1618\],
.text-\[\#7A0C1F\],
[class*="text-[#7A1618]"],
[class*="text-[#7A0C1F]"] { color: #7A0C1F !important; }
.bg-\[\#7A1618\],
.bg-\[\#7A0C1F\],
[class*="bg-[#7A1618]"],
[class*="bg-[#7A0C1F]"] { background-color: #7A0C1F !important; }
.border-\[\#7A1618\],
.border-\[\#7A0C1F\],
[class*="border-[#7A1618]"],
[class*="border-[#7A0C1F]"] { border-color: #7A0C1F !important; }
.from-\[\#7A1618\],
.from-\[\#7A0C1F\] { --tw-gradient-from: #7A0C1F !important; }
.to-\[\#4A0814\],
.to-\[\#C45A6E\] { --tw-gradient-to: #4A0814 !important; }

/* Wallet chip on gold header */
.m567-wallet {
  background: #2D1E17 !important;
  color: #FFF8EC !important;
}

/* Focus rings */
.form-control:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: #7A0C1F !important;
  outline-color: #7A0C1F;
}

/* Tabs / pills leftover maroon */
.bid-tab-active,
.btn-apply {
  background: #7A0C1F !important;
  color: #2D1E17 !important;
}

/* ============================================================
   USER PAGES — gold theme polish (looks / fonts / alignment only)
   ============================================================ */
:root {
  --font-brand: "TT Supermolot Neue Trl", Inter, system-ui, sans-serif;
  --c-ink: #2D1E17;
  --c-ink-2: #3C2F1F;
  --c-mute: #8A8178;
  --c-line: #FCE8EC;
  --c-king: #7A0C1F !important;
  --c-king-alt: #4A0814 !important;
  --m567-cream: #FDF2F4;
  --m567-cream-2: #FFF8EC;
  --m567-pink: #7A0C1F;
  --m567-pink-dark: #4A0814;
  --m567-pink-soft: #FDF2F4;
  --m567-brown: #2D1E17;
  --m567-border: #FCE8EC;
  --m567-focus: rgba(122, 12, 31, 0.22);
  --brand-primary-light: rgba(122, 12, 31, 0.14) !important;
}

html, body,
body.ui-page-body,
body.ui-fund-body,
body.ui-dash-body,
body.h-full,
body.home-page {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  color: #2D1E17;
  background: #FDF2F4 !important;
}

body:not(.auth-page) > .min-h-dvh,
.ui-page,
.ui-fund-page,
.ui-dash-page,
.sg-shell,
.home-scroll,
main.ui-main,
main.ui-fund-main,
main.ui-dash-main,
main.home-main,
.ui-page .min-h-dvh {
  background: #FDF2F4 !important;
}

/* Titles / CTAs use brand display font */
.app-header-brand-text,
.ui-title,
.ui-title-center,
.ui-dash-title,
.ui-fund-title,
.m567-market,
.king-label,
.ui-hub-body .t,
.ui-sub-label,
.ui-profile-phone,
.auth-header h1,
.auth-header-login h1 {
  font-family: var(--font-brand) !important;
  letter-spacing: 0.04em;
}

/* ── Home header: gold bar, dark ink, no gold-on-gold pills ── */
header.app-top-header,
.app-top-header,
.app-top-header .app-header-bar {
  background: linear-gradient(135deg, #7A0C1F 0%, #9B1832 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 10px rgba(122, 12, 31, 0.18) !important;
}
.app-header-bar {
  min-height: 56px !important;
  padding: 8px 12px !important;
  align-items: center !important;
}
.app-header-menu,
button.app-header-menu {
  background: transparent !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
  border-radius: 12px !important;
  padding: 0 6px !important;
  max-width: none !important;
}
.app-header-menu svg {
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
}
.app-header-brand-text {
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  letter-spacing: 0.08em !important;
}
#headerWalletLink,
a#headerWalletLink {
  background: #2D1E17 !important;
  color: #FFF8EC !important;
  box-shadow: 0 2px 8px rgba(45, 30, 23, 0.28) !important;
  border-radius: 999px !important;
  min-height: 36px !important;
  height: 36px !important;
  padding: 0 12px !important;
}
#headerWalletBalance {
  color: #FFF8EC !important;
  font-weight: 800 !important;
}
a.app-header-bell,
.app-header-bell {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.2) !important;
}
.app-header-bell svg {
  fill: #FFFFFF !important;
}

/* ── Inner page headers: same gold bar, centered title ── */
.ui-back-header,
.ui-dash-header,
.ui-fund-header,
.m567-topbar,
.ui-sub-page .ui-dash-header {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  min-height: 52px !important;
  padding: 8px 12px !important;
  background: linear-gradient(135deg, #7A0C1F 0%, #9B1832 100%) !important;
  color: #2D1E17 !important;
  box-shadow: 0 2px 8px rgba(122, 12, 31, 0.14);
  z-index: 40;
}
.ui-back-header .ui-back,
.ui-dash-header .ui-back,
.ui-fund-back,
.m567-back {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.55) !important;
  border: 0 !important;
  color: #2D1E17 !important;
  box-shadow: none !important;
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.ui-back-header .ui-back svg,
.ui-dash-header .ui-back svg,
.ui-fund-back svg,
.m567-back svg {
  stroke: #2D1E17 !important;
  color: #2D1E17 !important;
}
.ui-back-header .ui-title,
.ui-back-header .ui-title-center,
.ui-dash-title,
.ui-dash-title.is-center,
.ui-fund-title,
.m567-market {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  right: auto !important;
  margin: 0 !important;
  max-width: calc(100% - 128px);
  text-align: center !important;
  color: #2D1E17 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ui-header-actions,
.ui-fund-right,
.m567-top-right {
  margin-left: auto !important;
  z-index: 2;
}
.ui-fund-wallet,
.ui-dash-wallet,
.m567-wallet {
  background: #2D1E17 !important;
  color: #FFF8EC !important;
  border-radius: 999px !important;
  min-height: 36px !important;
  height: 36px !important;
  box-shadow: 0 2px 8px rgba(45, 30, 23, 0.25) !important;
}
.ui-fund-clock {
  background: #2D1E17 !important;
  box-shadow: none !important;
}

/* ── Hub lists (Funds / My Bids / Profile) ── */
.ui-hub-list {
  padding: 12px 14px 20px !important;
  gap: 10px !important;
}
.ui-hub-card {
  min-height: 68px !important;
  padding: 12px 14px !important;
  border-radius: 16px !important;
  border: 1px solid #FCE8EC !important;
  box-shadow: 0 2px 8px rgba(45, 30, 23, 0.05) !important;
  gap: 12px !important;
}
.ui-hub-icon {
  width: 46px !important;
  height: 46px !important;
  background: #7A0C1F !important;
  color: #fff !important;
}
.ui-hub-icon svg,
.ui-hub-icon svg path,
.ui-hub-icon svg circle,
.ui-hub-icon svg rect {
  stroke: #2D1E17;
}
.ui-hub-icon svg [fill="#fff"],
.ui-hub-icon svg [fill="#FFF"] {
  fill: #fff;
}
.ui-hub-body .t {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #2D1E17 !important;
  line-height: 1.25 !important;
}
.ui-hub-body .s {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #8A8178 !important;
  margin-top: 2px !important;
}
.ui-hub-arrow {
  background: #FDF2F4 !important;
  color: #7A0C1F !important;
}

/* Passbook / session segs */
.ui-seg a.is-active,
.ui-seg button.is-active,
.ui-session-tabs a.is-on,
.ui-session-tabs button.is-on {
  background: #7A0C1F !important;
  color: #2D1E17 !important;
  box-shadow: 0 2px 8px rgba(122, 12, 31, 0.28) !important;
}

/* ── King pills ── */
.king-pill {
  background: linear-gradient(135deg, #7A0C1F 0%, #9B1832 100%) !important;
  color: #2D1E17 !important;
  border: 1px solid #4A0814 !important;
  box-shadow: 0 2px 8px rgba(122, 12, 31, 0.22) !important;
}
.king-label { color: #2D1E17 !important; }
.king-play { background: #fff !important; }
.king-play::after { border-left-color: #2D1E17 !important; }

/* ── Bottom tabbar ── */
nav.app-tabbar,
.app-tabbar {
  background: #FFFDF8 !important;
  border-top: 1px solid #FCE8EC !important;
}
.app-tabbar .tab {
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #9A9188 !important;
}
.app-tabbar .tab.active:not(.tab-center) {
  color: #7A0C1F !important;
}
.app-tabbar .tab.tab-center {
  background: linear-gradient(135deg, #7A0C1F, #9B1832) !important;
  box-shadow: 0 4px 12px rgba(122, 12, 31, 0.4) !important;
  color: #2D1E17 !important;
}
.app-tabbar .tab.tab-center svg {
  fill: #2D1E17 !important;
  stroke: #2D1E17 !important;
}

/* ── Profile ── */
.ui-profile { padding: 12px 14px 20px !important; }
.ui-profile-card {
  border: 1px solid #FCE8EC !important;
  box-shadow: 0 4px 14px rgba(45, 30, 23, 0.06) !important;
}
.ui-profile-avatar,
.ui-profile-ico {
  background: #7A0C1F !important;
  border-color: #FCE8EC !important;
}
.ui-profile-phone { font-size: 20px !important; color: #2D1E17 !important; }
.ui-profile-label { color: #8A8178 !important; }
.ui-profile-value { color: #2D1E17 !important; }

/* ── Subgame tiles ── */
.ui-sub-grid { gap: 10px !important; padding: 4px 14px 16px; }
.ui-sub-tile {
  min-height: 56px !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  background: #fff !important;
  border: 1px solid #FCE8EC !important;
}
.ui-sub-ico {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  background: #7A0C1F !important;
}
.ui-sub-label {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #2D1E17 !important;
}
.ui-sub-chevron { color: #7A0C1F !important; }

/* ── Fund / bank forms ── */
.ui-bal-card { margin: 12px 14px 0 !important; border-radius: 16px !important; }
.ui-bal-card-top { background: #7A0C1F !important; }
.ui-bal-card-bot { background: #9B1832 !important; }
.ui-bank-form,
.ui-fund-main .form-group,
.ui-fund-main label {
  font-family: Inter, system-ui, sans-serif;
}
.ui-bank-label {
  color: #8A8178 !important;
  font-size: 11px !important;
  letter-spacing: 0.06em;
}
input.form-control,
.ui-bank-form input,
.ui-fund-main input,
.ui-fund-main select,
.ui-fund-main textarea {
  border-radius: 12px !important;
  border-color: #F1D6DB !important;
  min-height: 44px;
  font-size: 14px !important;
  color: #2D1E17 !important;
}

/* ── Gameplay leftover gray/pink ── */
.m567-topbar {
  background: linear-gradient(135deg, #7A0C1F 0%, #9B1832 100%) !important;
}
.m567-session-bar {
  background: #FDF2F4 !important;
  color: #8A8178 !important;
}
.m567-session-chip { color: #2D1E17 !important; }
.m567-session-state { color: #7A0C1F !important; }

/* ── Support leftover Material blue ── */
#supportChoiceModal a[href="/support"] {
  background: linear-gradient(135deg, #7A0C1F, #9B1832) !important;
  color: #2D1E17 !important;
  box-shadow: 0 4px 12px rgba(122, 12, 31, 0.32) !important;
}
.support-container {
  background: #FFFDF8 !important;
  border-color: #FCE8EC !important;
  box-shadow: 0 8px 24px rgba(45, 30, 23, 0.06) !important;
}
.chat-header { background: #FFFDF8 !important; }
#chatMessages { background: #FDF2F4 !important; }
#sendBtn,
.support-send-btn {
  background: #7A0C1F !important;
  color: #2D1E17 !important;
}

/* ── Charts / rates leftover slate ── */
.ui-chart-tabs a.is-active,
.ui-rate-row,
.gr-row {
  font-family: Inter, system-ui, sans-serif;
}

/* ── Drawer leftover pink ── */
.sb-avatar {
  background: linear-gradient(135deg, #7A0C1F, #9B1832) !important;
  color: #2D1E17 !important;
}
.sb-close {
  background: #FDF2F4 !important;
  color: #2D1E17 !important;
}

/* ── Market cards ── */
.tg-game-card .card-badge {
  background: #7A0C1F !important;
  color: #2D1E17 !important;
}
.home-market-search .market-search-bar {
  border-color: rgba(122, 12, 31, 0.35) !important;
}
.home-market-search .market-search-icon {
  background: #7A0C1F !important;
  color: #2D1E17 !important;
}

/* Quick action leftover pink shadows */
.action-btn.add { background: #43A047 !important; }
.action-btn.withdraw { background: #E53935 !important; }
.quick-card {
  background: linear-gradient(135deg, #FDF2F4 0%, #FCE8EC 100%) !important;
  border-color: rgba(122, 12, 31, 0.18) !important;
}

/* ═══════════════════════════════════════════
   STARLINE / JACKPOT — old GD Online APK match
   raw_star_line_game_slot / raw_jackpot_game_slot
   raw_star_line_game / raw_games_rates_info
   ═══════════════════════════════════════════ */
body.ui-dash-body .ui-dash-notify { display: none !important; }

.ui-rate-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px 10px !important;
  margin: 2px 0 12px !important;
}
.ui-rate-card {
  background: linear-gradient(180deg, #ffffff 0%, #FDF2F4 100%) !important;
  border: 1px solid rgba(122, 12, 31, 0.2) !important;
  border-radius: 14px !important;
  min-height: 42px !important;
  height: auto !important;
  padding: 10px 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-shadow: 0 2px 6px rgba(45, 30, 23, 0.06) !important;
  font-family: "TT Supermolot Neue", var(--font-brand, Inter), sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #2d1e17 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.2 !important;
}
.ui-rate-card .rl,
.ui-rate-card .rv {
  font: inherit !important;
  color: inherit !important;
  background: none !important;
  padding: 0 !important;
}
.ui-rate-card .rl::after { content: ": "; }
.ui-rate-card.full { grid-column: 1 / -1 !important; }

.ui-slot-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}
.ui-slot-card {
  position: relative;
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 2px 8px rgba(45, 30, 23, 0.06) !important;
  padding: 12px 12px 12px 14px !important;
  min-height: 78px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 10px !important;
}
.ui-slot-accent {
  width: 3px;
  align-self: stretch;
  min-height: 44px;
  border-radius: 2px 0 0 2px;
  background: #e20600;
  flex-shrink: 0;
  margin: 4px 2px 4px 0;
}
.ui-slot-card.is-open .ui-slot-accent,
.ui-slot-card.is-live .ui-slot-accent { background: #26a966; }

.ui-slot-timebadge {
  flex-shrink: 0;
  min-width: 56px;
  padding: 8px 9px;
  border-radius: 14px;
  background: #FDF2F4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
}
.ui-slot-timebadge .hh {
  font-family: "TT Supermolot Neue", var(--font-brand, Inter), sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #2d1e17;
  letter-spacing: 0.02em;
}
.ui-slot-timebadge .ampm {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d7077;
  margin-top: 2px;
}

.ui-slot-mid {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.ui-slot-result,
.ui-slot-card .ui-slot-result {
  background: none !important;
  color: #3c2f1f !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-family: "TT Supermolot Neue", var(--font-brand, Inter), sans-serif !important;
  font-weight: 800 !important;
  font-size: 20px !important;
  letter-spacing: 0.06em !important;
  display: block !important;
  line-height: 1.1 !important;
  justify-content: flex-start !important;
}
.ui-slot-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #e20600 !important;
  line-height: 1.2 !important;
}
.ui-slot-status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e20600;
  flex-shrink: 0;
}
.ui-slot-status.open,
.ui-slot-status.live {
  color: #26a966 !important;
}
.ui-slot-status.open::before,
.ui-slot-status.live::before { background: #26a966; }

.ui-slot-play,
a.ui-slot-play,
button.ui-slot-play {
  flex-shrink: 0 !important;
  min-width: 108px !important;
  height: 36px !important;
  padding: 0 10px 0 8px !important;
  border-radius: 20px !important;
  border: 0 !important;
  background: #7A0C1F !important;
  color: #2d1e17 !important;
  font-family: "TT Supermolot Neue", var(--font-brand, Inter), sans-serif !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
.ui-slot-play-ic {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.ui-slot-play-ic::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent #2d1e17;
  margin-left: 1px;
}
a.ui-slot-play.is-open {
  background: #7A0C1F !important;
  color: #2d1e17 !important;
  border: 0 !important;
  cursor: pointer !important;
}
button.ui-slot-play.is-closed,
.ui-slot-play.is-closed {
  background: #FCE8EC !important;
  color: #7A0C1F !important;
  border: 1px solid #FCE8EC !important;
  opacity: 1 !important;
}
.ui-slot-play.is-closed .ui-slot-play-ic { background: rgba(255, 255, 255, 0.45); }
.ui-slot-play.is-closed .ui-slot-play-ic::after {
  border-color: transparent transparent transparent #7A0C1F;
}

/* Jackpot slot: icon + italic time title (raw_jackpot_game_slot) */
.ui-slot-card.is-jp .ui-slot-timebadge { display: none; }
.ui-jp-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #FDF2F4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ui-jp-mark svg { width: 22px; height: 22px; display: block; }
.ui-slot-title {
  font-family: "TT Supermolot Neue", var(--font-brand, Inter), sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 16px;
  color: #2d1e17;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
}
.ui-slot-card.is-jp .ui-slot-mid { gap: 6px; }
.ui-slot-card.is-jp .ui-jp-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ui-slot-card.is-jp .ui-slot-result {
  font-size: 16px !important;
  letter-spacing: 0.06em !important;
}

.ui-slot-left { display: none; } /* leftover INDICASH column */
.ui-slot-sub { display: none; }

/* Subgame select — raw_star_line_game list rows */
.ui-sg-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 6px 0 12px;
}
.ui-sg-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(122, 12, 31, 0.1);
  border-radius: 14px;
  padding: 10px 12px;
  min-height: 52px;
  margin-bottom: 8px;
  text-decoration: none !important;
  color: #2d1e17;
  box-shadow: 0 1px 0 rgba(122, 12, 31, 0.04);
}
.ui-sg-row.is-off {
  opacity: 0.45;
  pointer-events: none;
}
.ui-sg-ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(122, 12, 31, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #7A0C1F;
}
.ui-sg-ico svg {
  width: 20px;
  height: 20px;
  stroke: #7A0C1F;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ui-sg-name {
  flex: 1;
  min-width: 0;
  font-family: "TT Supermolot Neue", var(--font-brand, Inter), sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #2d1e17;
  letter-spacing: 0.02em;
}
.ui-sg-chevron {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(122, 12, 31, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ui-sg-chevron::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid #7A0C1F;
  border-top: 2px solid #7A0C1F;
  transform: rotate(45deg);
  margin-left: -2px;
}
.ui-sg-closed {
  margin: 8px 0 12px;
  background: #fff6f4;
  border: 1px solid #f5c2be;
  color: #e20600;
  border-radius: 14px;
  padding: 12px 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

/* Subgames + play toolbar — old APK cream bar, gold title, cream wallet chip */
.ui-dash-header.ui-game-toolbar {
  background: #FDF2F4 !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(122, 12, 31, 0.12) !important;
}
.ui-dash-header.ui-game-toolbar .ui-dash-title {
  color: #7A0C1F !important;
  font-family: "TT Supermolot Neue", var(--font-brand, Inter), sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}
.ui-dash-header.ui-game-toolbar .ui-back {
  background: #FDF2F4 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.ui-dash-header.ui-game-toolbar .ui-dash-wallet {
  background: #ffffff !important;
  color: #2D1E17 !important;
  border: 1px solid rgba(45, 30, 23, 0.08) !important;
  box-shadow: none !important;
}
.ui-dash-header.ui-game-toolbar .ui-dash-wallet svg {
  stroke: #2D1E17 !important;
}

.ui-play-hint {
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #8A8178;
  margin: 0 0 12px;
}
.ui-play-digits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ui-play-digits .m567-digit-amt {
  background: #FDF2F4 !important;
  border: 1px solid #C45A6E !important;
  border-radius: 10px !important;
  min-height: 48px;
}
.m567-digit-chip,
.m567-digit-chip.sm,
.ui-play-digits .m567-digit-chip,
.ui-play-digits .m567-digit-chip.sm {
  background: #7A0C1F !important;
  color: #ffffff !important;
  font-family: "TT Supermolot Neue", var(--font-brand, Inter), sans-serif !important;
  font-weight: 800 !important;
}
.m567-filter.on {
  background: #7A0C1F !important;
  color: #2D1E17 !important;
  box-shadow: none !important;
}
.m567-btn-primary {
  background: linear-gradient(135deg, #7A0C1F, #9B1832) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-family: "TT Supermolot Neue", var(--font-brand, Inter), sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Market Closed popup — Image #1: pink X box + navy Got it */
.market-closed-modal__sheet {
  max-width: 340px !important;
  border-radius: 28px !important;
  padding: 16px 22px 20px !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22) !important;
}
.market-closed-modal__handle {
  width: 40px;
  height: 4px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #E5E7EB;
}
.market-closed-modal__icon {
  width: 72px !important;
  height: 72px !important;
  margin: 0 auto 16px !important;
  border-radius: 18px !important;
  background: #FEE4E2 !important;
  color: #EF4444 !important;
}
.market-closed-modal__title {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #111827 !important;
  margin: 0 0 8px !important;
}
.market-closed-modal__body {
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #9CA3AF !important;
  margin: 0 0 8px !important;
}
.market-closed-modal__times,
.market-closed-modal__name {
  display: none !important;
}
.market-closed-modal__btn {
  margin-top: 22px !important;
  border-radius: 28px !important;
  padding: 14px 16px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #fff !important;
  background: #0F172A !important;
  box-shadow: none !important;
}
