/* KalyanFixGame — plum + gold (overrides leftover forest green) */
:root {
  --kfg-deep: #1a0b22;
  --kfg-ink: #2d1238;
  --kfg-panel: #4a1858;
  --kfg-panel-2: #6b2478;
  --kfg-gold: #e8c547;
  --kfg-cream: #fff6e8;
  --kfg-text: #fff8ee;
}

body {
  background: linear-gradient(180deg, #2d1238 0%, #1a0b22 40%, #2a1035 100%) !important;
  color: var(--kfg-text) !important;
}

.text,
.simpleTxt,
.satta-matka-block_strt3,
.footer,
.logo,
.texthead,
.head_live,
.panel-title,
.live-box,
.panel-content,
[style*="#013220"],
[style*="background-color: #013220"],
[style*="background-color:#013220"] {
  background: linear-gradient(135deg, #4a1858, #2d1238) !important;
  background-color: #4a1858 !important;
  color: #fff8ee !important;
  border-color: #e8c547 !important;
}

.text h1, .text h2, .text h3,
.texthead h1, .texthead p, .texthead span,
.logo a {
  color: #fff8ee !important;
  text-shadow: none !important;
}

.text a, .text a:link, .text a:visited, .text a:hover {
  color: #e8c547 !important;
}

.heading_title11 {
  background: linear-gradient(135deg, #2d1238 0%, #4a1858 50%, #6b2478 100%) !important;
  border-left-color: #e8c547 !important;
  border-bottom-color: #e8c547 !important;
}

.header2 { background-color: #f3e6c4 !important; color: #2d1238 !important; }
.title2 { color: #e8c547 !important; }
.title3, .impLinksHead { background-color: #4a1858 !important; }
.td1, .td2, .td3 { background-color: #f6e7a8 !important; }
.satta-matka-block1 { background-color: #e8c547 !important; color: #1a0b22 !important; }
.satta-matka-block3 { background-color: #4a1858 !important; }
.heady { background-color: #4a1858 !important; border-color: #e8c547 !important; text-shadow: none !important; }
.header { border-color: #e8c547 !important; }
.refresh_pk { background-color: #e8c547 !important; color: #1a0b22 !important; }
.passing_records { border-color: #e8c547 !important; background-color: #fff8ee !important; }
.dfix1 { background-color: #4a1858 !important; }
.impLinks { border-color: #e8c547 !important; }
.freeGame { background-color: #fff6e8 !important; }
.green { color: #e8c547 !important; }

.lux-footer {
  background: #1a0b22 !important;
  color: #fff8ee !important;
}
.lux-keywords a {
  background: #4a1858 !important;
  color: #fff8ee !important;
  border-color: #e8c547 !important;
}
.lux-brand-badge { background: #e8c547 !important; color: #1a0b22 !important; }

.jph-chart-card,
.jph-chart-header,
.jph-live-card,
.jph-content-card {
  background: linear-gradient(135deg, #4a1858, #2d1238) !important;
  background-color: #4a1858 !important;
  border-color: #e8c547 !important;
}

.live-updates {
  background: #fff6e8 !important;
  border: 2px solid #e8c547 !important;
  border-radius: 0 0 10px 10px;
}
.live-updates,
.live-updates p,
.live-update-item,
.live_pk_row {
  color: #2d1238 !important;
  text-shadow: none !important;
}

.kph-ad-box {
  background: linear-gradient(135deg, #1a0b22 0%, #2d1238 35%, #4a1858 70%, #1a0b22 100%) !important;
  border-color: #e8c547 !important;
}
.kph-ad-title span { color: #e8c547 !important; }
.kph-ad-label { color: #1a0b22 !important; }

.kph-result-section,
.chart-list-section,
.weekly-chart-section,
.free-games-section {
  background: transparent !important;
}

.weekly-main-heading,
.weekly-card-heading,
.chart-list-heading,
.kph-result-heading,
.free-games-header,
.free-card-footer,
.free-luck-message {
  background: linear-gradient(90deg, #2d1238 0%, #4a1858 50%, #2d1238 100%) !important;
  color: #fff8ee !important;
  border-color: #e8c547 !important;
}
.kph-result-heading h2,
.weekly-main-heading h2,
.chart-list-heading h2,
.free-games-header h3 {
  color: #fff8ee !important;
}

.kph-result-container {
  background: #fff6e8 !important;
  border-left-color: #e8c547 !important;
  border-right-color: #e8c547 !important;
}
.kph-result-row {
  background: #fff6e8 !important;
  border-bottom-color: #e4d2a4 !important;
}
.kph-result-row.kph-highlight {
  background: #f6e7a8 !important;
}
.kph-result-row.kph-hot-market,
.kph-result-row.kph-highlight.kph-hot-market {
  background: #ff9a9a !important;
}
.free-special-card {
  background: #ff9a9a !important;
  border-color: #ef5f5f !important;
}
.kph-market-name,
.kph-market-time {
  color: #2d1238 !important;
}
.kph-result-button {
  background: linear-gradient(180deg, #6b2478 0%, #2d1238 100%) !important;
  color: #fff8ee !important;
  border-color: #e8c547 !important;
}
.kph-result-button:hover,
.kph-result-button:focus,
.kph-result-button:active {
  background: linear-gradient(180deg, #8a2fa0 0%, #4a1858 100%) !important;
}

.weekly-card,
.weekly-content,
.weekly-row {
  background: #fff6e8 !important;
  border-color: #e4d2a4 !important;
}
.weekly-intro {
  background: #fff6e8 !important;
  border-left-color: #4a1858 !important;
  color: #2d1238 !important;
}
.weekly-day {
  background: linear-gradient(180deg, #6b2478, #2d1238) !important;
  border-color: #e8c547 !important;
  color: #fff8ee !important;
}
.weekly-day span { color: #f3e6c4 !important; }

.chart-list-box {
  background: #fff6e8 !important;
  border-color: #6b2478 !important;
}
.chart-list-item {
  background: linear-gradient(90deg, #fff8ee 0%, #fff6e8 50%, #f3e6c4 100%) !important;
  border-color: #e4d2a4 !important;
  border-left-color: #4a1858 !important;
  color: #2d1238 !important;
}
.chart-list-item:hover {
  background: linear-gradient(90deg, #f3e6c4, #fff8ee) !important;
  border-color: #4a1858 !important;
  color: #2d1238 !important;
}
.chart-list-icon,
.chart-list-arrow {
  background: linear-gradient(180deg, #6b2478, #2d1238) !important;
  color: #fff8ee !important;
}

.free-game-card,
.free-empty-box,
.free-pass-box,
.free-pass-item,
.free-number-row {
  background: #fff6e8 !important;
  border-color: #e4d2a4 !important;
}
.free-card-header {
  background: linear-gradient(180deg, #fff8ee, #f3e6c4) !important;
  border-bottom-color: #e4d2a4 !important;
}
.free-live-badge,
.free-type-icon {
  background: linear-gradient(180deg, #6b2478, #2d1238) !important;
  color: #fff8ee !important;
  border-color: #e8c547 !important;
}
.free-market-title,
.free-date-value,
.free-pass-title {
  color: #2d1238 !important;
}

.share-btn,
.copy-btn {
  background-color: #e8c547 !important;
  color: #1a0b22 !important;
}

.about-header,
.header,
.container .header {
  background: linear-gradient(135deg, #4a1858, #2d1238) !important;
  border-color: #e8c547 !important;
}

.floating-premium {
  border-color: rgba(74, 24, 88, 0.85) !important;
}
.floating-premium:hover {
  box-shadow: 0 14px 35px rgba(74, 24, 88, 0.85) !important;
}
.floating-premium-icon {
  background: rgba(74, 24, 88, 0.85) !important;
}

.kfg-guide {
  max-width: 920px;
  margin: 12px auto 24px;
  padding: 0 12px;
  text-align: left;
  color: #fff8ee;
}
.kfg-guide-kicker {
  color: #e8c547;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}
.kfg-guide h1 {
  color: #fff8ee !important;
  font-size: 28px !important;
  line-height: 1.25 !important;
  margin: 6px 0 12px;
}
.kfg-guide-lead,
.kfg-guide p,
.kfg-guide li {
  color: #fff8ee;
  font-size: 16px;
  line-height: 1.55;
}
.kfg-guide-card {
  background: linear-gradient(135deg, #4a1858, #2d1238);
  border: 2px solid #e8c547;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 12px 0;
}
.kfg-guide-card h2 {
  color: #e8c547 !important;
  font-size: 20px !important;
  margin: 0 0 8px;
}
.kfg-guide a { color: #e8c547 !important; }

.kfg-hero {
  padding: 4px 5px 2px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kfg-hero-card,
.kfg-band {
  background:
    radial-gradient(1200px 220px at 50% -40px, rgba(232,197,71,.28), transparent 55%),
    linear-gradient(160deg, #4a1858 0%, #2d1238 48%, #1a0b22 100%) !important;
  color: #fff8ee !important;
  border: 2px solid #e8c547 !important;
  border-radius: 14px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
  text-align: center;
}
.kfg-name-box {
  margin: 0 !important;
  padding: 8px 12px !important;
  text-align: center;
  background: linear-gradient(180deg, #6b2478, #2d1238) !important;
  border: 2px solid #e8c547 !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 16px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.1);
}
.kfg-name-box .kfg-hero-brand,
.kfg-hero-brand,
.kfg-brand-band {
  font-size: 16px !important;
  letter-spacing: .18em !important;
  font-weight: 900 !important;
  color: #e8c547 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}
.kfg-hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.kfg-hero-card p,
.kfg-hero-card h1,
.kfg-band p,
.kfg-band h1 {
  margin: 0 !important;
  padding: 0 !important;
}
.kfg-hero-card .kfg-hero-kicker {
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin: 0 !important;
  padding: 3px 10px !important;
  border-radius: 999px;
  background: rgba(232,197,71,.16);
  border: 1px solid rgba(232,197,71,.5);
  color: #fff6e8 !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: .04em;
}
.kfg-hero-card h1,
.kfg-band h1 {
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  color: #fff8ee !important;
  letter-spacing: .01em;
  max-width: 22em;
}
.kfg-band h2 {
  font-size: 14px !important;
  line-height: 1.3 !important;
  margin: 8px 0 4px !important;
  padding: 0 !important;
  font-weight: 800 !important;
  color: #e8c547 !important;
  background: none !important;
  border: 0 !important;
}
.kfg-hero-card .kfg-hero-copy,
.kfg-band .kfg-hero-copy {
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  color: #f4e8c8 !important;
  max-width: 36em;
}
.kfg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.kfg-hero-actions a {
  display: inline-block;
  background: linear-gradient(180deg, #6b2478, #2d1238) !important;
  color: #fff8ee !important;
  border: 1px solid #e8c547;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
}
.kfg-hero-actions a:hover {
  background: linear-gradient(180deg, #8a2fa0, #4a1858) !important;
}

.kph-result-heading,
.kph-ad-title,
.weekly-main-heading,
.chart-list-heading,
.free-games-header {
  border-radius: 10px 10px 0 0 !important;
}

.logo,
.texthead {
  border-radius: 0 !important;
}
.live {
  margin: 8px 6px !important;
  border-radius: 14px !important;
  overflow: hidden;
  border: 2px solid #e8c547 !important;
}
.head_live {
  font-size: 14px !important;
  padding: 8px !important;
}

@media (max-width: 600px) {
  .kfg-hero { padding: 4px 4px 2px; gap: 5px; }
  .kfg-hero-card,
  .kfg-band { padding: 8px 10px !important; gap: 6px; }
  .kfg-name-box { padding: 7px 10px !important; }
  .kfg-hero-brand { font-size: 13px !important; letter-spacing: .12em !important; }
  .kfg-hero-card h1,
  .kfg-band h1 { font-size: 13px !important; }
  .kfg-hero-card .kfg-hero-kicker { font-size: 9px !important; padding: 2px 8px !important; }
  .kfg-hero-card .kfg-hero-copy { font-size: 11px !important; line-height: 1.35 !important; }
}

/* Chart page compact header + homepage-style record tiles */
.logo {
  padding: 6px 8px !important;
}
.logo a {
  font-size: 18px !important;
  letter-spacing: .4px !important;
}
.texthead {
  padding: 8px 10px !important;
}
.texthead h1 {
  font-size: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.25 !important;
}
.texthead > *:not(h1) {
  display: none !important;
}
.head_live {
  font-size: 13px !important;
  padding: 6px 8px !important;
}
.live span { font-size: 22px !important; }
.live .res-color { font-size: 13px !important; padding: 3px 8px !important; }

.jph-wrapper,
.jph-chart-card,
.jph-table-container {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.jph-chart-header {
  padding: 8px 6px !important;
}
.jph-chart-header h1 { font-size: 16px !important; }
.jph-table {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
}
.jph-table td,
.jph-result-cell,
.jph-table tr:not(:first-child) td:first-child {
  background: #fff6e8 !important;
  color: #2d1238 !important;
  border: 1px solid #e4d2a4 !important;
  border-radius: 8px !important;
}
.jph-table tr:first-child td {
  background: linear-gradient(180deg, #6b2478, #2d1238) !important;
  color: #fff8ee !important;
  border-color: #e8c547 !important;
}
.jph-table td[style*="red"],
.jph-table td.hot,
.jph-result-cell.hot,
.jph-table tr:not(:first-child) td:first-child.red,
.jph-table tr:not(:first-child) td:first-child.hot {
  color: #9b1c1c !important;
  background: #fff6e8 !important;
}

@media (max-width: 600px) {
  .logo a { font-size: 16px !important; }
  .texthead { padding: 6px 8px !important; }
  .texthead h1 { font-size: 14px !important; }
  .jph-wrapper { padding: 0 4px !important; max-width: 100% !important; }
  .jph-table-container { overflow-x: auto; }
  .jph-chart-header { padding: 6px 4px !important; }
  .jph-chart-header h1 { font-size: 14px !important; }
  .jph-table td,
  .jph-result-cell {
    height: 34px !important;
    font-size: 12px !important;
    padding: 2px !important;
    border-radius: 6px !important;
  }
  .jph-table tr:first-child td { height: 26px !important; font-size: 10px !important; }
}

/* Phone: one gutter, same gold border, centered boxes */
@media (max-width: 900px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }
  body {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .kfg-hero,
  .kph-result-section,
  .kph-ad-wrap,
  .weekly-chart-section,
  .chart-list-section,
  .free-games-section {
    width: calc(100% - 12px) !important;
    max-width: calc(100% - 12px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .kfg-hero {
    padding: 6px 0 2px !important;
    gap: 6px !important;
  }

  .kfg-name-box,
  .kfg-hero-card,
  .live-updates,
  .kph-ad-box,
  .kph-result-heading,
  .kph-result-container,
  .weekly-main-heading,
  .weekly-card,
  .chart-list-heading,
  .chart-list-box,
  .free-games-header,
  .free-game-card,
  .free-empty-box,
  .free-pass-box {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .kph-ad-wrap {
    padding: 0 !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }

  .kph-result-section {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    border: 2px solid #e8c547 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }
  .kph-result-section:has(.free-games-header) {
    border: 0 !important;
    overflow: visible !important;
    border-radius: 0 !important;
  }

  .live-updates {
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff6e8 !important;
  }

  .kph-result-section .kph-result-heading,
  .live-updates .kph-result-heading {
    border: 0 !important;
    border-radius: 0 !important;
    padding: 8px 8px !important;
  }

  .kph-result-container {
    border: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }

  .kph-ad-box,
  .kfg-name-box,
  .kfg-hero-card {
    border: 2px solid #e8c547 !important;
    border-radius: 12px !important;
  }

  .weekly-main-heading,
  .chart-list-heading,
  .free-games-header {
    border: 2px solid #e8c547 !important;
    border-radius: 12px 12px 0 0 !important;
  }

  .weekly-card,
  .chart-list-box,
  .free-game-card {
    border: 2px solid #e8c547 !important;
    border-radius: 12px !important;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
  }

  .kph-result-heading h2,
  .weekly-main-heading h2,
  .chart-list-heading h2,
  .free-games-header h3 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .kph-result-center,
  .kph-result-row {
    text-align: center !important;
  }

  .lux-footer-container,
  .lux-footer-card {
    width: calc(100% - 12px) !important;
    max-width: calc(100% - 12px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
}
