/* Public home — mobile-first matka result layout */
:root {
  --page: 720px;
  --ink: #111;
  --paper: #fff;
  --gold: #ffd700;
  --pink-shadow: 1px 1px 0 #f8b4c4, 1px 4px 6px #aba8a8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #1a1a1a;
  color: #fff;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
}

a { color: #e10600; font-weight: 700; text-decoration: none; }
a:hover { color: #ffc300; }

.page {
  max-width: var(--page);
  margin: 0 auto;
  background: #000;
  min-height: 100vh;
  padding-bottom: 72px;
}

.intro {
  background: #f5fffa;
  color: #434142;
  border: 3px inset #f0f;
  margin: 3px;
  padding: 6px 8px 8px;
  text-align: center;
  font-size: 13px;
  font-style: italic;
}
.intro h1 { margin: 2px 0; font-size: 22px; color: #f00; font-style: italic; }
.intro h1 a { color: #f00; }
.intro h2 { margin: 0 0 4px; font-size: 18px; color: #00f; font-style: italic; }
.brand-intro { color: #111; font-size: 18px; font-weight: 700; line-height: 1.25; }
.brand-intro h1 { margin: 6px 0 0; font-size: 34px; line-height: 1.1; }
.brand-intro h2 { margin: 0; font-size: 28px; color: #0000ee; font-weight: 700; }
.intro p { margin: 0; padding: 4px 2px; text-align: center; line-height: 1.45; font-style: italic; }

.welcome-line { text-align: center; margin: 6px 0; font-size: 18px; }
.welcome-line a { color: #ff0; }

.lucky-wrap {
  margin: 9px 6px;
  background: #f5fffa;
  color: #000;
  border: 3px solid #956f13;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  text-shadow: var(--pink-shadow);
  font-family: "Segoe UI", Arial, sans-serif;
}
.lucky-label {
  background: #fae6e9;
  color: #000;
  border: 3px solid orange;
  border-radius: 4px;
  margin-bottom: 4px;
  font-size: 18px;
  text-shadow: 1px 1px #d8b947;
}
.lucky-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.lucky-table td { padding: 4px; color: #111; }

.lucky-box {
  margin: 8px 6px;
  background: #f5fffa;
  color: #000;
  border: 3px solid #956f13;
  border-radius: 8px;
  text-align: center;
  font-family: "Segoe UI", Arial, sans-serif;
  font-style: italic;
  text-shadow: var(--pink-shadow);
}
.lucky-head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: #ffc107;
  border: 3px solid orange;
  border-radius: 4px;
  margin: 0 0 5px;
  padding: 2px;
  font-size: 26px;
  font-weight: 700;
  color: #000;
  text-shadow: 1px 1px #d8b947;
}
.live-name {
  display: block;
  color: #f00;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
.live-number {
  display: block;
  color: #00f;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}
.live-card { padding: 4px 0 2px; }
.live-card hr { border: 0; border-top: 1px solid #ddd; margin: 6px 10px; }

.refresh-btn {
  display: inline-block;
  margin: 4px 0 2px;
  padding: 3px 14px;
  font-size: 12px;
  font-weight: 800;
  font-style: italic;
  border-radius: 50px;
  border: 1px solid #fff;
  color: #fff !important;
  background: linear-gradient(180deg, #4c1d95, #1e1b4b);
  cursor: pointer;
}

.live-title {
  max-width: var(--page);
  margin: 8px 6px 3px;
  padding: 6px;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  color: #000;
  border-radius: 8px;
  border-bottom: 2px solid #f39c12;
  background: linear-gradient(180deg, #f76565 0%, #f6ee4e 100%);
  font-style: italic;
}

.result-list {
  margin: 3px 6px 10px;
  background: #fff;
  color: #000;
  border: 3px solid #f90;
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  font-family: "Segoe UI", Arial, sans-serif;
  font-style: italic;
  font-weight: 700;
}
.result-row,
.result-gold {
  display: grid;
  grid-template-columns: 58px 1fr 58px;
  align-items: center;
  margin: 0;
  padding: 8px 8px;
  border-bottom: 1px solid #ccc;
  line-height: 1.2;
  color: #000;
}
.result-row { background: #fff; font-size: 19px; }
.result-gold { background: #ffd700; font-size: 22px; }
.result-row:last-child,
.result-gold:last-child { border-bottom: none; }
.result-row > br,
.result-gold > br { display: none; }
.result-row > span,
.result-gold > span {
  grid-column: 2;
  display: block;
  width: 100%;
  font-weight: 700;
  text-shadow: 1px 1px 0 #969696, 1px 4px 5px #aba8a8;
}
.result-time {
  font-size: 13px !important;
  font-weight: 700;
  color: #f00 !important;
  text-shadow: none !important;
  margin-top: 2px;
}
.jodi-side,
.panel-side {
  width: 58px;
  margin: 0;
  z-index: 2;
  grid-row: 1 / span 3;
  align-self: center;
  text-align: center;
}
.jodi-side { grid-column: 1; }
.panel-side { grid-column: 3; }
.jodi-side a,
.panel-side a {
  display: inline-block;
  padding: 3px 6px;
  font-size: 13px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.15;
  color: #fff !important;
  text-decoration: none !important;
  text-shadow: 1px 1px 1px #000;
  border-radius: 4px;
  border: 1px solid #fff;
  background: linear-gradient(#ff3333, #cc0000);
  box-shadow: 1px 1px 3px rgba(0,0,0,.4);
}
.jodi-side a { background: linear-gradient(#ff3333, #cc0000); }

.zone-menu {
  margin: 8px 4px;
  background: #fff;
  border: 2px solid #7a1028;
  text-align: center;
  overflow: hidden;
  font-family: "Times New Roman", Times, serif;
}
.zone-menu > p {
  margin: 0;
  padding: 10px 6px;
  background: #e70042;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: .2px;
}
.zone-links { display: flex; flex-direction: column; gap: 5px; padding: 6px 2px 8px; background: #fff; }
.zone-row {
  display: block;
  padding: 9px 6px;
  background: #fff5f7;
  color: #111 !important;
  border-top: 3px solid #8b1530;
  border-bottom: 3px solid #8b1530;
  font-size: 20px;
  font-weight: 800;
  font-style: italic;
  text-decoration: none !important;
  line-height: 1.25;
}
.zone-row .zgif {
  vertical-align: middle;
  margin: 0 4px 2px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.weekly-box, .chart-box, .king-box, .guess-box, .article, .notice-box {
  margin: 8px 6px;
  background: #fff;
  color: #000;
  border: 2px solid purple;
  border-radius: 8px;
  overflow: hidden;
  font-family: "Times New Roman", Times, serif;
}
.chart-heading, .block-head {
  margin: 0;
  padding: 6px 10px;
  background: purple;
  color: #ff0;
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  text-align: left;
  text-shadow: 1px 1px green;
  border-bottom: 2px solid #ff0;
}
.week-line, .panna-line {
  padding: 4px 10px;
  font-size: 18px;
  font-weight: 700;
  color: #6a1b9a;
  border-bottom: 1px solid #f3d5ea;
  background: #fdeef5;
}
.week-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; }
.week-table td { border: 1px solid #e7c6ea; padding: 4px 2px; font-weight: 700; }
.week-table .day { color: #700020; width: 36px; }

.wk { position: relative; margin: 8px 6px; overflow: hidden; background: #fff7ed; border: 1px solid #d4af37; border-radius: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.35); font-family: "Segoe UI", Arial, sans-serif; text-align: center; }
.wk-radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.wk-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; background: linear-gradient(180deg, #8b1a24, #4a0c12); }
.wk-label { display: flex; align-items: center; gap: 6px; margin: 0; color: #fffdf4; font-size: 16px; font-weight: 800; font-style: italic; }
.wk-label::before, .wk-label::after { content: "♦"; font-size: 9px; color: #f3d48a; }
.wk-tabs { display: flex; gap: 4px; padding: 3px; background: rgba(255,255,255,.16); border-radius: 999px; }
.wk-tabs label { padding: 3px 12px; border-radius: 999px; color: #f3d48a; font-size: 13px; font-weight: 800; font-style: italic; cursor: pointer; }
.wk-markets { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; padding: 6px 8px; background: linear-gradient(180deg, #fffdf6, #fff3d6); border-bottom: 1px solid #e8d5a3; }
.wk-markets span { display: inline-block; padding: 3px 9px; background: #fff; color: #8b1a24; border: 1px solid #ead7a0; border-radius: 999px; font-size: 11px; font-weight: 800; font-style: italic; }
.wk-pane { display: none; padding: 6px 8px 8px; }
.wk-date { margin: 0 0 6px; color: #8b1a24; font-size: 12px; font-weight: 800; font-style: italic; }
.wk-grid { display: grid; gap: 4px; }
.wk-row { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 8px; padding: 6px 8px; background: #fff; border: 1px solid rgba(139,26,36,.16); border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.wk-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 26px; padding: 0 6px; border-radius: 6px; background: #8b1a24; color: #fff; font-size: 13px; font-weight: 800; font-style: italic; }
.wk-val { color: #111; font-size: 16px; font-weight: 700; font-style: italic; }
.is-jodi { background: #eff6ff; border-radius: 8px; }
.is-open { background: #f0fdf4; border-radius: 8px; }
.is-jodi .wk-badge { background: #1d4ed8; }
.is-open .wk-badge { background: #15803d; }
#wk-panel:checked ~ .is-panel,
#wk-jodi:checked ~ .is-jodi,
#wk-open:checked ~ .is-open { display: block; }
#wk-panel:checked ~ .wk-bar label[for="wk-panel"] { background: #fff; color: #8b1a24; }
#wk-jodi:checked ~ .wk-bar label[for="wk-jodi"] { background: #fff; color: #1d4ed8; }
#wk-open:checked ~ .wk-bar label[for="wk-open"] { background: #fff; color: #15803d; }

.chart-blue, .chart-black, .chart-brown {
  background: #fff;
  color: #f00;
  font-weight: 700;
  font-style: italic;
  font-size: 18px;
  text-align: center;
  border: 2px solid red;
  margin: 2px;
  padding: 5px;
  text-shadow: 1px 1px gold;
  font-family: "Segoe UI", Arial, sans-serif;
}
.chart-blue a { color: #00f; }
.chart-black a { color: #000; }
.chart-brown a { color: brown; }

.king-box {
  border: 2px solid #111;
  background: #fff;
}
.king-title {
  background: #111;
  color: #fff;
  font-weight: 800;
  font-style: italic;
  font-size: 18px;
  text-align: left;
  padding: 8px 12px;
}
.king-head, .king-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  font-weight: 800;
  font-style: italic;
}
.king-head {
  background: #dcdcdc;
  color: #111;
  font-size: 17px;
  padding: 8px 4px;
  border-bottom: 1px solid #b5b5b5;
}
.king-head span + span { border-left: 1px solid #b5b5b5; }
.king-row { border-bottom: 1px solid #cfcfcf; font-size: 16px; }
.king-row:last-child { border-bottom: 0; }
.king-name, .king-admin { padding: 8px 6px; }
.king-name { background: #fff4f6; }
.king-admin { background: #f4f8fc; border-left: 1px solid #d5d5d5; }

.support-box {
  margin: 12px 8px 10px;
  border: 3px solid #111;
  border-radius: 18px;
  overflow: hidden;
  background: #fff4d6;
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
  text-align: center;
  box-shadow: 0 2px 0 #000;
}
.support-head {
  background: linear-gradient(180deg, #8a1428 0%, #5c0c18 55%, #4a0812 100%);
  padding: 14px 12px 12px;
  border-bottom: 3px solid #e6c15a;
}
.support-head h2 {
  margin: 0;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: .2px;
  text-shadow: 0 2px 0 rgba(0,0,0,.35);
}
.support-head p {
  margin: 4px 0 0;
  color: #f0c14a;
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
}
.support-body { padding: 16px 12px 18px; }
.support-mail {
  display: inline-block;
  min-width: 240px;
  max-width: 92%;
  padding: 8px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe27a, #e6b423 45%, #c89612);
  border: 2px solid #8a6a10;
  color: #111 !important;
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  text-decoration: none !important;
  box-shadow: 0 3px 0 #8a6a10, inset 0 1px 0 #fff3c4;
}

.home-story {
  margin: 10px 6px 14px;
  background: #fff;
  border: 3px solid #6d1028;
  border-radius: 6px;
  padding: 6px 6px 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  color: #111;
  text-align: left;
}
.hs-bar {
  margin: 10px 4px 8px;
  padding: 9px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ff8a1e, #ff4b00);
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  font-style: normal;
  line-height: 1.25;
}
.hs-body { padding: 0 8px 4px; font-size: 15px; line-height: 1.55; font-style: normal; }
.hs-body p { margin: 0 0 8px; text-align: left; }
.hs-body ul { margin: 0 0 8px 18px; padding: 0; }
.hs-body a { color: #0000ee; font-weight: 700; }
.hs-body table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; background: #fff; }
.hs-body th, .hs-body td { border: 1px solid #222; padding: 7px 8px; text-align: center; font-size: 15px; }
.hs-body th { font-style: italic; font-weight: 800; }
.hs-faq { margin: 0 8px; border-bottom: 1px solid #ddd; font-style: normal; }
.hs-faq summary { cursor: pointer; font-weight: 800; padding: 8px 0; font-size: 15px; }
.hs-faq .hs-body { padding-bottom: 8px; }
.article { border-color: #82e0aa; padding: 8px 10px 12px; font-family: Arial, sans-serif; font-style: normal; font-size: 14px; }
.article h2, .article h3 { text-align: center; color: #111; font-style: normal; margin: 12px 0 6px; }
.article p { text-align: left; line-height: 1.55; margin: 0 0 8px; padding: 0; font-style: normal; }

.guess-box {
  margin: 8px 6px;
  background: #fff8dc;
  color: #111;
  border: 3px solid #0000ee;
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  overflow: hidden;
}
.guess-title {
  background: #0000ee;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  padding: 7px 8px;
  letter-spacing: .3px;
}
.guess-date {
  background: #ffe600;
  color: #000;
  font-size: 22px;
  font-weight: 800;
  padding: 6px 8px;
  border-bottom: 2px solid #d4a017;
}
.guess-row { padding: 12px 8px 14px; border-top: 1px solid #222; }
.guess-row:first-of-type { border-top: 0; }
.guess-name { display: block; margin-bottom: 4px; color: #e10600; font-size: 26px; font-weight: 800; }
.guess-name.badge-green {
  display: inline-block;
  background: #0b7a2a;
  color: #fff;
  font-style: normal;
  font-size: 18px;
  letter-spacing: .4px;
  padding: 4px 16px;
  margin-bottom: 6px;
}
.guess-value { display: block; font-size: 22px; font-weight: 800; line-height: 1.25; }
.value-open { color: #0000ee; }
.value-panel { color: #111; }
.value-jodi, .value-close { color: #c40000; }

.notice-box { border-color: #e70042; padding: 8px; text-align: center; font-weight: 700; }

.offer-box {
  margin: 8px 6px;
  background: #fff;
  color: #000;
  border: 2px solid #f39c12;
  border-radius: 8px;
  text-align: center;
  padding: 8px;
}
.offer-box img { max-width: 100%; height: auto; }

.site-footer {
  margin: 8px 6px 4px;
  background: #ff9;
  color: #000;
  border: 3px double #8b1a24;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 700;
  font-style: italic;
  font-size: 16px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
}
.site-footer a { color: #00f; }
.footer-phone { color: #00f; font-size: 28px; display: block; }

.refresh-float {
  position: fixed;
  z-index: 999;
  bottom: 18px;
  right: 8px;
  background: #fff;
  color: #00f !important;
  border: 4px inset red;
  font-weight: 700;
  font-style: italic;
  font-size: 18px;
  border-radius: 10px;
  padding: 2px 12px;
}

@media (min-width: 768px) {
  .page { max-width: 820px; }
  .result-row, .result-gold { font-size: 22px; }
}
