/**
 * SARA777 player web — gold/cream identity overlay (Android parity).
 * Loaded LAST from includes/head.php and includes/auth-head.php.
 * Palette matches android-app/app/src/main/res/values/colors.xml
 */

@font-face {
  font-family: "TT Supermolot Neue Trl";
  src: url("/assets/landing-sara777/fonts/tt-supermolot-neue-trl-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Supermolot Neue Trl";
  src: url("/assets/landing-sara777/fonts/tt-supermolot-neue-trl-extrabold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #2AA551;
  --brand-2: #2AA551;
  --brand-deep: #228B44;
  --brand-primary: #2AA551 !important;
  --brand-primary-hover: #228B44 !important;
  --brand-primary-light: rgba(42, 165, 81, 0.14) !important;
  --brand-accent-start: #2AA551 !important;
  --brand-accent-end: #2AA551 !important;
  --brand-accent-solid: #2AA551 !important;
  --brand-accent-border: rgba(42, 165, 81, 0.35) !important;
  --brand-accent-shadow: rgba(42, 165, 81, 0.28) !important;
  --brand-accent-gradient: #2AA551 !important;
  --brand-accent-gradient-strong: #2AA551 !important;
  --brand-secondary: #2AA551 !important;
  --brand-secondary-hover: #228B44 !important;
  --text-brand: #2AA551 !important;
  --info: #2AA551 !important;
  --info-bg: rgba(42, 165, 81, 0.12) !important;
  --bg-body: #F4F9F5 !important;
  --c-gold: #2AA551 !important;
  --c-gold-dark: #228B44 !important;
  --c-cream: #F4F9F5 !important;
  --c-cream-2: #FFFFFF !important;
  --c-cream-page: #F4F9F5 !important;
  --c-cream-scroll: #F4F9F5 !important;
  --c-pink: #2AA551 !important;
  --c-pink-alt: #228B44 !important;
  --c-pink-dark: #228B44 !important;
  --c-pink-light: #2AA551 !important;
  --c-king: #2D1E17 !important;
  --phone-rail: #2AA551 !important;
  --phone-bg: #F4F9F5 !important;
  --grad-iris: linear-gradient(135deg, #2AA551, #228B44) !important;
}

html { accent-color: #2AA551; }

/* ── Auth screens (login / register / forgot) ── */
body.auth-page {
  background: #F4F9F5 !important;
  color: #3C2F1F;
}
body.auth-page::before {
  background:
    radial-gradient(circle at 18% 8%, rgba(36, 200, 99, 0.18) 0%, transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(31, 174, 86, 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 #E8E0D4 !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: #E5E2DE !important;
  color: #3C2F1F !important;
}
.auth-card .form-control:focus {
  border-color: #1FAE56 !important;
  box-shadow: 0 0 0 3px rgba(31, 174, 86, 0.18) !important;
}
.auth-card .input-with-icon i {
  color: #188A44 !important;
}
.auth-card .btn-primary,
body.auth-page .btn-primary,
body.auth-page button[type="submit"].btn {
  background: #1FAE56 !important;
  background-image: linear-gradient(180deg, #24C863 0%, #1FAE56 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 3px 0 #188A44, 0 8px 18px rgba(24, 138, 68, 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: #1FAE56 !important;
  background-image: linear-gradient(180deg, #24C863 0%, #188A44 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: #188A44 !important;
}
.auth-checkbox input[type="checkbox"] {
  accent-color: #1FAE56 !important;
}
.password-toggle {
  color: #8E8E93 !important;
}

/* ── Global primary buttons ── */
.btn-primary,
button.btn-primary,
a.btn-primary,
.btn.btn-primary {
  background: linear-gradient(180deg, #24C863, #1FAE56) !important;
  background-color: #1FAE56 !important;
  color: #FFFFFF !important;
  border-color: #188A44 !important;
  box-shadow: 0 4px 14px rgba(31, 174, 86, 0.32) !important;
}
.btn-secondary,
button.btn-secondary {
  background: linear-gradient(180deg, #24C863, #188A44) !important;
  color: #FFFFFF !important;
}

/* ── Sticky inner headers that were maroon ── */
header[style*="#7A1618"],
header[style*="#7a1618"],
header[style*="#6B1518"],
header[style*="#1FAE56"],
header[style*="background:#7A1618"],
header[style*="background:#1FAE56"],
header.app-top-header,
.app-top-header,
.app-top-header .app-header-bar,
.ui-back-header {
  background: linear-gradient(90deg, #24C863, #1FAE56) !important;
  color: #2D1E17 !important;
  border-bottom: 0 !important;
}
header[style*="#7A1618"] .text-white,
header[style*="#1FAE56"] .text-white,
header[style*="#7A1618"] h1,
header[style*="#1FAE56"] h1,
.ui-back-header .ui-title {
  color: #2D1E17 !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: #1FAE56 !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, #24C863, #1FAE56) !important;
}
[style*="color:#7A1618"],
[style*="color: #7A1618"],
[style*="color:#6B1518"],
[style*="color: #6B1518"],
[style*="color:#8B1A1A"] {
  color: #188A44 !important;
}

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

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

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

/* Tabs / pills leftover maroon */
.bid-tab-active,
.btn-apply {
  background: #1FAE56 !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: #E8E0D4;
  --c-king: #1FAE56 !important;
  --c-king-alt: #188A44 !important;
  --m567-cream: #F4F9F5;
  --m567-cream-2: #E7F6EC;
  --m567-pink: #1FAE56;
  --m567-pink-dark: #188A44;
  --m567-pink-soft: #FFF4E0;
  --m567-brown: #2D1E17;
  --m567-border: #E8E0D4;
  --m567-focus: rgba(31, 174, 86, 0.22);
  --brand-primary-light: rgba(31, 174, 86, 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: #F4F9F5 !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: #F4F9F5 !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;
}

/* ── Native SRI HARI Header Parity (#2AA551) ── */
header.app-top-header,
.app-top-header,
.app-top-header .app-header-bar {
  background: #2AA551 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}
.app-header-bar {
  min-height: 52px !important;
  height: 52px !important;
  padding: 0 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
}
.app-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}
.app-header-menu,
button.app-header-menu {
  background: transparent !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: none !important;
  padding: 4px !important;
  margin: 0 !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}
.app-header-menu svg {
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
  width: 24px !important;
  height: 24px !important;
}
.app-header-brand-text {
  display: none !important;
}
.app-header-logo {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
}
.app-header-logo img,
.app-header-logo-img {
  height: 26px !important;
  max-height: 26px !important;
  width: auto !important;
  max-width: 140px !important;
  display: block !important;
  object-fit: contain !important;
}
.app-header-right {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}
#headerWalletLink,
a#headerWalletLink {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 999px !important;
  min-height: 32px !important;
  height: 32px !important;
  padding: 0 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: background 0.15s ease !important;
}
#headerWalletLink:active {
  background: rgba(255, 255, 255, 0.28) !important;
}
#headerWalletBalance {
  color: #FFFFFF !important;
  font-family: "TT Supermolot Neue Trl", Inter, system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  font-style: italic !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
}
a.app-header-bell,
.app-header-bell {
  color: #FFFFFF !important;
  background: transparent !important;
  border: none !important;
  padding: 4px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  width: 32px !important;
  height: 32px !important;
  cursor: pointer !important;
}
.app-header-bell svg {
  fill: #FFFFFF !important;
  stroke: none !important;
  width: 22px !important;
  height: 22px !important;
}
.app-header-bell .bell-badge {
  position: absolute !important;
  top: -2px !important;
  right: -2px !important;
  background: #E53935 !important;
  color: #FFFFFF !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 1px 5px !important;
  line-height: 14px !important;
  min-width: 16px !important;
  text-align: center !important;
  border: 1.5px solid #2AA551 !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(90deg, #24C863 0%, #1FAE56 100%) !important;
  color: #2D1E17 !important;
  box-shadow: 0 2px 8px rgba(224, 130, 10, 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: #E7F6EC !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 #EFE8DC !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: #1FAE56 !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: #FFF4E0 !important;
  color: #188A44 !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: #1FAE56 !important;
  color: #2D1E17 !important;
  box-shadow: 0 2px 8px rgba(31, 174, 86, 0.28) !important;
}

/* ── King pills ── */
.king-pill {
  background: linear-gradient(180deg, #24C863 0%, #1FAE56 100%) !important;
  color: #2D1E17 !important;
  border: 1px solid #188A44 !important;
  box-shadow: 0 2px 8px rgba(224, 130, 10, 0.22) !important;
}
.king-label { color: #2D1E17 !important; }
.king-play { background: #fff !important; }
.king-play::after { border-left-color: #2D1E17 !important; }

/* ── Native SRI HARI Bottom Navigation Parity (5 Equal Tabs) ── */
nav.app-tabbar,
.app-tabbar {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 50 !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: #FFFFFF !important;
  border-top: 1px solid #E2E8F0 !important;
  min-height: 56px !important;
  height: 56px !important;
  padding: 4px 6px max(6px, env(safe-area-inset-bottom, 0px)) !important;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05) !important;
  transform: none !important;
}
.app-tabbar .tab {
  flex: 1 1 0% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  padding: 4px 2px !important;
  color: #64748B !important;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  min-width: 0 !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
  transform: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
}
.app-tabbar .tab svg {
  width: 22px !important;
  height: 22px !important;
  stroke: #64748B !important;
  fill: none !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  transition: stroke 0.15s ease, transform 0.15s ease !important;
}
.app-tabbar .tab span {
  display: block !important;
  font-family: "TT Supermolot Neue Trl", Inter, system-ui, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #64748B !important;
  transition: color 0.15s ease !important;
}
.app-tabbar .tab.active {
  color: #2AA551 !important;
}
.app-tabbar .tab.active svg {
  stroke: #2AA551 !important;
  transform: scale(1.05) !important;
}
.app-tabbar .tab.active span {
  color: #2AA551 !important;
  font-weight: 800 !important;
}
/* Neutralize legacy .tab-center overrides completely */
.app-tabbar .tab.tab-center {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  transform: none !important;
  box-shadow: none !important;
  padding: 4px 2px !important;
  gap: 3px !important;
  align-self: center !important;
}
.app-tabbar .tab.tab-center span {
  display: block !important;
}
.app-tabbar .tab.tab-center.active {
  color: #2AA551 !important;
}
.app-tabbar .tab.tab-center.active svg {
  stroke: #2AA551 !important;
  fill: none !important;
}

/* ── Native SRI HARI Sidebar Drawer Parity ── */
.sidebar {
  width: min(300px, 86%) !important;
  max-width: 300px !important;
  background: #FFFFFF !important;
}
.sb-top {
  background: #2AA551 !important;
  color: #FFFFFF !important;
  padding: 20px 16px 16px !important;
  padding-top: max(20px, env(safe-area-inset-top, 0px)) !important;
  position: relative !important;
  box-shadow: 0 4px 12px rgba(42, 165, 81, 0.25) !important;
}
.sb-user-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.sb-avatar {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.22) !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  display: grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
}
.sb-user-meta {
  flex: 1 !important;
  min-width: 0 !important;
}
.sb-user-name {
  font-family: "TT Supermolot Neue Trl", Inter, system-ui, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.25 !important;
}
.sb-user-phone {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  margin-top: 2px !important;
  line-height: 1.2 !important;
}
.sb-user-bal {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin-top: 3px !important;
  line-height: 1.2 !important;
}
.sb-close {
  position: absolute !important;
  top: max(14px, env(safe-area-inset-top, 0px)) !important;
  right: 14px !important;
  width: 32px !important;
  height: 32px !important;
  border: none !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
  display: grid !important;
  place-items: center !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}
.sb-close:active {
  background: rgba(255, 255, 255, 0.35) !important;
}
.sb-nav {
  padding: 10px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  flex: 1 1 auto !important;
  overflow-y: auto !important;
}
.sb-item {
  display: flex !important;
  align-items: center !important;
  padding: 11px 12px !important;
  border-radius: 10px !important;
  color: #334155 !important;
  text-decoration: none !important;
  gap: 12px !important;
  transition: background 0.15s ease !important;
}
.sb-item:hover, .sb-item:active {
  background: #F1F5F9 !important;
}
.sb-item.is-active {
  background: rgba(42, 165, 81, 0.1) !important;
  color: #2AA551 !important;
  font-weight: 600 !important;
}
.sb-item.is-active .sb-ico svg {
  stroke: #2AA551 !important;
}
.sb-item.is-active .sb-label {
  color: #2AA551 !important;
  font-weight: 700 !important;
}
.sb-ico {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: #F8FAFC !important;
  display: grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
}
.sb-ico svg {
  width: 18px !important;
  height: 18px !important;
  stroke: #475569 !important;
}
.sb-label {
  flex: 1 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #1E293B !important;
}
.sb-chev svg {
  width: 14px !important;
  height: 14px !important;
  stroke: #94A3B8 !important;
}
.sb-bottom {
  padding: 8px 12px 12px !important;
  border-top: 1px solid #F1F5F9 !important;
}
.sb-logout {
  color: #E20600 !important;
  margin-bottom: 4px !important;
}
.sb-logout .sb-ico {
  background: rgba(226, 6, 0, 0.08) !important;
}
.sb-logout .sb-ico svg {
  stroke: #E20600 !important;
}
.sb-logout .sb-label {
  color: #E20600 !important;
  font-weight: 700 !important;
}
.sb-version {
  text-align: center !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #94A3B8 !important;
  padding: 6px 0 !important;
}

/* ── Profile ── */
.ui-profile { padding: 12px 14px 20px !important; }
.ui-profile-card {
  border: 1px solid #EFE8DC !important;
  box-shadow: 0 4px 14px rgba(45, 30, 23, 0.06) !important;
}
.ui-profile-avatar,
.ui-profile-ico {
  background: #1FAE56 !important;
  border-color: #F5D9A0 !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 #EFE8DC !important;
}
.ui-sub-ico {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  background: #1FAE56 !important;
}
.ui-sub-label {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #2D1E17 !important;
}
.ui-sub-chevron { color: #188A44 !important; }

/* ── Fund / bank forms ── */
.ui-bal-card { margin: 12px 14px 0 !important; border-radius: 16px !important; }
.ui-bal-card-top { background: #1FAE56 !important; }
.ui-bal-card-bot { background: #24C863 !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: #E5E2DE !important;
  min-height: 44px;
  font-size: 14px !important;
  color: #2D1E17 !important;
}

/* ── Gameplay leftover gray/pink ── */
.m567-topbar {
  background: linear-gradient(90deg, #24C863 0%, #1FAE56 100%) !important;
}
.m567-session-bar {
  background: #F4F9F5 !important;
  color: #8A8178 !important;
}
.m567-session-chip { color: #2D1E17 !important; }
.m567-session-state { color: #188A44 !important; }

/* ── Support leftover Material blue ── */
#supportChoiceModal a[href="/support"] {
  background: linear-gradient(135deg, #24C863, #1FAE56) !important;
  color: #2D1E17 !important;
  box-shadow: 0 4px 12px rgba(31, 174, 86, 0.32) !important;
}
.support-container {
  background: #FFFDF8 !important;
  border-color: #E8E0D4 !important;
  box-shadow: 0 8px 24px rgba(45, 30, 23, 0.06) !important;
}
.chat-header { background: #FFFDF8 !important; }
#chatMessages { background: #F4F9F5 !important; }
#sendBtn,
.support-send-btn {
  background: #1FAE56 !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(180deg, #24C863, #1FAE56) !important;
  color: #2D1E17 !important;
}
.sb-close {
  background: #FFF4E0 !important;
  color: #2D1E17 !important;
}

/* ── Market cards ── */
.tg-game-card .card-badge {
  background: #1FAE56 !important;
  color: #2D1E17 !important;
}
.home-market-search .market-search-bar {
  border-color: rgba(31, 174, 86, 0.35) !important;
}
.home-market-search .market-search-icon {
  background: #1FAE56 !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(180deg, #FFF8E8 0%, #FBE9B8 100%) !important;
  border-color: rgba(31, 174, 86, 0.18) !important;
}

/* ═══════════════════════════════════════════
   STARLINE / JACKPOT — old SARA777 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%, #fff6e6 100%) !important;
  border: 1px solid rgba(24, 138, 68, 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: #eeeae2;
  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: #1FAE56 !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: #1FAE56 !important;
  color: #2d1e17 !important;
  border: 0 !important;
  cursor: pointer !important;
}
button.ui-slot-play.is-closed,
.ui-slot-play.is-closed {
  background: #fbead0 !important;
  color: #8a6a3a !important;
  border: 1px solid #e8c888 !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 #8a6a3a;
}

/* 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: #f1eee7;
  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(249, 168, 37, 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(249, 168, 37, 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(249, 168, 37, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #f9a825;
}
.ui-sg-ico svg {
  width: 20px;
  height: 20px;
  stroke: #1FAE56;
  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(249, 168, 37, 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 #1FAE56;
  border-top: 2px solid #1FAE56;
  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: #F4F9F5 !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(249, 168, 37, 0.12) !important;
}
.ui-dash-header.ui-game-toolbar .ui-dash-title {
  color: #F9A825 !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: #F1ECE2 !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: #fff4e6 !important;
  border: 1px solid #f0d68a !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: #f9a825 !important;
  color: #ffffff !important;
  font-family: "TT Supermolot Neue", var(--font-brand, Inter), sans-serif !important;
  font-weight: 800 !important;
}
.m567-filter.on {
  background: #1FAE56 !important;
  color: #2D1E17 !important;
  box-shadow: none !important;
}
.m567-btn-primary {
  background: linear-gradient(90deg, #188A44, #78520D) !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;
}

/* ==========================================================================
   SRI HARI NATIVE APP PARITY - HOME SCREEN & MARKET CARDS
   Exact match to Android fragment_home.xml and item_market_card.xml
   ========================================================================== */
body.home-page {
  background: #F4FAF5 !important;
}
.home-main {
  background: #F4FAF5 !important;
}
.home-scroll {
  background: #F4FAF5 !important;
  padding: 10px 12px 32px !important;
  max-width: 480px;
  margin: 0 auto;
}

/* 1. Marquee Banner: Green badge with announcement icon + scrolling text */
.home-marquee-banner {
  display: flex !important;
  align-items: center !important;
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 9999px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  padding: 4px 12px 4px 5px !important;
  margin-bottom: 12px !important;
  gap: 10px !important;
  min-height: 38px !important;
  overflow: hidden !important;
}
.home-marquee-banner .marquee-badge {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #2AA551 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 1px 4px rgba(42, 165, 81, 0.35) !important;
}
.home-marquee-banner .marquee-badge svg {
  width: 14px !important;
  height: 14px !important;
  fill: #FFFFFF !important;
}
.home-marquee-banner .marquee-ticker {
  flex: 1 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  position: relative !important;
}
.home-marquee-banner .marquee-text {
  display: inline-block !important;
  padding-left: 100% !important;
  animation: nativeMarqueeScroll 20s linear infinite !important;
  font-family: Inter, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1A202C !important;
  letter-spacing: 0.01em !important;
}
.home-marquee-banner .marquee-text:hover {
  animation-play-state: paused !important;
}
@keyframes nativeMarqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* 2. 4 Quick Action Chips (Deposit / Withdraw / WhatsApp / Call) */
.home-quick-actions {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}
.quick-chip {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 14px !important;
  padding: 10px 4px 8px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04) !important;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.quick-chip:active {
  transform: scale(0.95) !important;
}
.quick-chip-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 6px !important;
  flex-shrink: 0 !important;
}
.quick-chip-icon.deposit {
  background: #E7F6EC !important;
  color: #2AA551 !important;
}
.quick-chip-icon.withdraw {
  background: #FEE2E2 !important;
  color: #DC2626 !important;
}
.quick-chip-icon.whatsapp {
  background: #DCFCE7 !important;
  color: #25D366 !important;
}
.quick-chip-icon.call {
  background: #DBEAFE !important;
  color: #2563EB !important;
}
.quick-chip-label {
  font-family: Inter, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #12361F !important;
  letter-spacing: 0.02em !important;
  text-align: center !important;
  white-space: nowrap !important;
}

/* 3. King Starline & King Jackpot (Gali Disawar) Cards */
.home-special-cards {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}
.special-card {
  position: relative !important;
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.special-card:active {
  transform: scale(0.98) !important;
}
.special-card-accent {
  height: 3px !important;
  width: 100% !important;
}
.special-card-accent.starline {
  background: linear-gradient(90deg, #2AA551, #34D399) !important;
}
.special-card-accent.gali {
  background: linear-gradient(90deg, #F59E0B, #FBBF24) !important;
}
.special-card-inner {
  padding: 10px 10px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 6px !important;
  height: 100% !important;
}
.special-card-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.special-card-badge {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.special-card-badge.starline {
  background: #E7F6EC !important;
  color: #2AA551 !important;
}
.special-card-badge.gali {
  background: #FEF3C7 !important;
  color: #D97706 !important;
}
.special-card-status {
  font-family: Inter, sans-serif !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 10px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}
.special-card-status.open {
  background: rgba(42, 165, 81, 0.12) !important;
  color: #2AA551 !important;
}
.special-card-title {
  font-family: "TT Supermolot Neue", Inter, sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #12361F !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}
.special-card-meta {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}
.special-card-meta .meta-label {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #6B7280 !important;
}
.special-card-meta .meta-result {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #12361F !important;
  font-variant-numeric: tabular-nums !important;
}
.special-play-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 6px 10px !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  margin-top: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}
.special-play-btn.starline {
  background: #2AA551 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(42, 165, 81, 0.3) !important;
}
.special-play-btn.gali {
  background: #D97706 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3) !important;
}
.special-play-btn .play-icon-circle {
  width: 15px !important;
  height: 15px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* 4. Main Market Cards (Exact match to item_market_card.xml) */
.home-games {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.tg-game-card {
  position: relative !important;
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease !important;
}
.tg-game-card:active {
  transform: scale(0.99) !important;
}
.card-accent-bar {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 4px !important;
  height: 50% !important;
  border-top-left-radius: 14px !important;
  z-index: 2 !important;
}
.card-accent-bar.open {
  background: #2AA551 !important;
}
.card-accent-bar.running-close {
  background: #F59E0B !important;
}
.card-accent-bar.closed,
.card-accent-bar.holiday {
  background: #E20600 !important;
}
.card-inner-wrap {
  padding: 12px 14px 10px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}
.card-top-row {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 10px !important;
}
.card-info-side {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.card-header-line {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}
.card-market-name {
  font-family: "TT Supermolot Neue", Inter, sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #12361F !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
}
.card-status-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 2px 7px !important;
  border-radius: 20px !important;
  font-family: Inter, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}
.card-status-pill .status-dot {
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  display: inline-block !important;
}
.card-status-pill.open {
  background: rgba(42, 165, 81, 0.12) !important;
  color: #2AA551 !important;
}
.card-status-pill.open .status-dot {
  background: #2AA551 !important;
}
.card-status-pill.running-close {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #D97706 !important;
}
.card-status-pill.running-close .status-dot {
  background: #F59E0B !important;
}
.card-status-pill.closed {
  background: rgba(226, 6, 0, 0.1) !important;
  color: #E20600 !important;
}
.card-status-pill.closed .status-dot {
  background: #E20600 !important;
}
.card-status-pill.holiday {
  background: rgba(226, 6, 0, 0.1) !important;
  color: #E20600 !important;
}
.card-status-pill.holiday .status-dot {
  background: #E20600 !important;
}
.card-market-result {
  font-family: "TT Supermolot Neue", Inter, monospace !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  color: #12361F !important;
  letter-spacing: 2px !important;
  font-variant-numeric: tabular-nums !important;
  margin-top: 4px !important;
}
.card-actions-side {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}
.card-chart-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #F3F4F6 !important;
  border: 1px solid #E5E7EB !important;
  color: #4B5563 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}
.card-chart-btn:hover {
  background: #E5E7EB !important;
  color: #111827 !important;
}
.card-chart-btn:active {
  transform: scale(0.92) !important;
}
.card-play-action-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 4px !important;
}
.running-close-flag {
  font-family: Inter, sans-serif !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  color: #D97706 !important;
  background: #FEF3C7 !important;
  border: 1px solid #FDE68A !important;
  border-radius: 6px !important;
  padding: 1px 5px !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}
.card-play-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 7px 14px !important;
  border-radius: 20px !important;
  font-family: Inter, sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  min-width: 86px !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.card-play-btn.open {
  background: #2AA551 !important;
  color: #FFFFFF !important;
  box-shadow: 0 3px 8px rgba(42, 165, 81, 0.35) !important;
}
.card-play-btn:active {
  transform: scale(0.95) !important;
}
.card-play-btn .play-arrow-badge {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.28) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: -2px !important;
}
.card-closed-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 12px !important;
  border-radius: 18px !important;
  font-family: Inter, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  background: #F3F4F6 !important;
  border: 1px solid #E5E7EB !important;
  color: #6B7280 !important;
  cursor: pointer !important;
  text-align: center !important;
  max-width: 130px !important;
  line-height: 1.2 !important;
}
.card-closed-btn:hover {
  background: #E5E7EB !important;
  color: #374151 !important;
}
.card-divider {
  height: 1px !important;
  background: #F3F4F6 !important;
  margin: 9px 0 7px !important;
  width: 100% !important;
}
.card-timing-line {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-family: Inter, sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #6B7280 !important;
}
.card-timing-line svg {
  stroke: #6B7280 !important;
  flex-shrink: 0 !important;
}
