html, body {
  background: #000;
  color: #fff;
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
}
body { overflow-x: hidden; }
a { color: red; font-weight: 700; text-decoration: none; }
a:hover { color: #ffc300; }
h1 { margin: 2px; font-size: 20px; color: #f00; }
h2 { margin: 2px; font-size: 18px; color: #00f; }
p { margin: 0; padding: 5px; }
.intro {
  background: #f5fffa;
  color: #434142;
  border: 3px inset #f0f;
  margin: 3px;
  padding: 3px;
  font-size: 12px;
  text-align: center;
}
.intro h1 a { color: #f00; font-size: 22px; }
.intro h2 { color: #00f; font-size: 18px; }
.intro main p { font-size: 13px; line-height: 1.45; }
.ank-label { color: red; }
.lucky-wrap, .lucky-box {
  background: #f5fffa;
  color: #000;
  border: 3px solid #956f13;
  border-radius: 8px;
  margin: 9px 3px;
  text-align: center;
  font-family: "Open Sans", "Segoe UI", sans-serif;
  font-style: italic;
  text-shadow: 1px 1px 0 pink, 1px 5px 5px #aba8a8;
}
.lucky-label, .lucky-head {
  background: #ffc107;
  color: #000;
  border: 3px solid orange;
  border-radius: 4px;
  font-weight: 700;
  text-shadow: 1px 1px #d8b947;
}
.lucky-label { font-size: 18px; padding: 4px; }
.lucky-head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 28px;
  margin: 0 0 5px;
  padding: 1px;
}
.lucky-table { width: 100%; font-size: 17px; font-weight: 700; }
.new-pill {
  display: inline-block;
  background: #e10600;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  letter-spacing: .4px;
  border-radius: 4px;
  padding: 2px 6px;
  text-shadow: none;
  animation: pulse 1s steps(2) infinite;
}
@keyframes pulse { 50% { opacity: .45; } }
.live-name { display: block; color: red; font-size: 20px; font-weight: 700; }
.live-number { display: block; color: blue; font-size: 22px; font-weight: 700; }
.live-empty { color: #3f2d08; font-weight: 700; }
.lucky-box hr { border: 0; border-top: 1px solid #ccc; margin: 6px 8px; }
.pill {
  display: inline-block;
  padding: .25rem .75rem;
  color: #fff;
  border-radius: 1rem;
  margin-top: .25rem;
}
.refresh-btn, .lucky-box .pill.refresh-btn {
  background: linear-gradient(180deg, #4c1d95, #1e1b4b);
  border: 1px solid #fff;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 50px;
  padding: 3px 14px;
}
.play-bar {
  text-align: center;
  padding: 16px 14px 14px;
  border-radius: 16px;
  margin: 8px 3px;
  border: 1px solid rgba(255,255,255,.28);
}
.play-bar-t1 { background: linear-gradient(135deg, #062c48 0%, #0e6eab 48%, #1aa0e8 100%); }
.play-line { color: #fff; font-size: 18px; font-weight: 700; line-height: 1.35; text-shadow: 0 2px 6px rgba(0,0,0,.45); }
.play-tag { color: #f4d03f; font-weight: 700; margin-top: 4px; }
.play-btn {
  background: linear-gradient(90deg, #833ab4, #fd1d1d 50%, #fcb045);
  border: 1px solid #f7dc6f;
  box-shadow: 0 8px 18px rgba(0,0,0,.28);
}
.play-btn, .play-btn:hover { color: #fff; }
.live-title {
  color: #000;
  padding: 5px;
  margin: 3px;
  text-align: center;
  font-weight: 700;
  border-bottom: 2px solid #f39c12;
  border-radius: 8px;
  font-size: 20px;
  background: linear-gradient(180deg, #f76565, #f6ee4e);
}
.board-meta { text-align: center; color: #ffe082; font-size: 13px; }
.result-list {
  background: #fff;
  border: 3px solid #ff9900;
  border-radius: 6px;
  margin: 3px;
  display: flex;
  flex-direction: column;
}
.result-row, .result-gold {
  display: grid;
  grid-template-columns: 58px 1fr 58px;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid #ccc;
  text-align: center;
  color: #000;
  font-family: "Open Sans", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 19px;
}
.result-row { background: #fff; }
.result-gold { background: #ffd700; font-size: 23px; }
.result-row > span, .result-gold > span { grid-column: 2; display: block; text-shadow: 1px 1px 0 #969696, 1px 5px 5px #aba8a8; }
.result-time { font-size: small; color: #f00 !important; text-shadow: none; }
.jodi-side, .panel-side { grid-row: 1 / span 3; align-self: 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: 14px;
  color: #fff !important;
  border-radius: 4px;
  border: 1px solid #fff;
  background: linear-gradient(to bottom, #ff3333, #cc0000);
  text-shadow: 1px 1px 1px #000;
}
.contact-box {
  max-width: 950px;
  margin: 10px auto;
  background: #fbf6ea;
  border: 1px solid #d4af37;
  border-radius: 10px;
  text-align: center;
  overflow: hidden;
  font-family: "Open Sans", "Segoe UI", sans-serif;
}
.contact-text {
  padding: 12px 14px 8px;
  background: linear-gradient(180deg, #8b1a24, #4a0c12);
  color: #fffdf4;
  font-size: 18px;
  font-weight: 800;
}
.contact-note { display: block; margin-top: 6px; color: #f3d48a; font-size: 13px; }
.contact-links { padding: 14px 12px 16px; background: linear-gradient(180deg, #fffdf6, #f4e7c8); }
.contact-link {
  display: inline-block;
  padding: 8px 22px;
  color: #4a0c12 !important;
  background: linear-gradient(180deg, #ffe9a0, #d4af37 55%, #b8860b);
  border-radius: 50px;
  font-size: 14px;
}
.zone-menu {
  max-width: 950px;
  margin: 8px auto;
  background: #fff;
  border: 2px solid #700020;
  border-radius: 8px;
  text-align: center;
  overflow: hidden;
}
.zone-menu > p {
  margin: 0;
  padding: 9px 10px;
  background: linear-gradient(180deg, #e70042, #700020);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}
.zone-menu > div { display: flex; flex-direction: column; gap: 5px; padding: 6px 8px 10px; }
.zone-link {
  padding: 7px 12px;
  background: #fff5f8;
  color: #000;
  border: 2px solid #e70042;
  border-radius: 4px;
  box-shadow: 0 0 10px #461300;
  font-size: 16px;
  font-weight: 800;
}
.weekly-box {
  max-width: 950px;
  margin: 8px auto;
  position: relative;
  background: #fff7ed;
  border: 1px solid #d4af37;
  border-radius: 10px;
  text-align: center;
  font-family: "Open Sans", "Segoe UI", sans-serif;
}
.tab-radio { position: absolute; width: 1px; height: 1px; opacity: 0; }
.weekly-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #8b1a24, #4a0c12);
}
.weekly-label { margin: 0; color: #fffdf4; font-size: 16px; font-weight: 800; }
.weekly-label::before, .weekly-label::after { content: " * "; color: #f3d48a; }
.tab-list { display: flex; gap: 4px; padding: 3px; background: rgba(255,255,255,.16); border-radius: 999px; }
.tab-list label { padding: 3px 10px; border-radius: 999px; color: #f3d48a; font-size: 12px; font-weight: 800; cursor: pointer; }
.weekly-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; padding: 6px 8px; background: linear-gradient(180deg, #fffdf6, #fff3d6); }
.weekly-tabs span { padding: 3px 9px; background: #fff; color: #8b1a24; border: 1px solid #ead7a0; border-radius: 999px; font-size: 11px; font-weight: 800; }
.weekly-pane { display: none; padding: 6px 8px 8px; }
.weekly-date { margin: 0 0 5px; color: #8b1a24; font-size: 11px; font-weight: 800; }
#weekly-tab-panel:checked ~ .tab-panel,
#weekly-tab-jodi:checked ~ .tab-jodi,
#weekly-tab-open:checked ~ .tab-open { display: block; }
#weekly-tab-panel:checked ~ .weekly-bar [for="weekly-tab-panel"],
#weekly-tab-jodi:checked ~ .weekly-bar [for="weekly-tab-jodi"],
#weekly-tab-open:checked ~ .weekly-bar [for="weekly-tab-open"] { background: #fff; color: #8b1a24; }
.number-grid { display: grid; gap: 4px; }
.panel-grid { grid-template-columns: 1fr 1fr; }
.pair-row { display: grid; grid-template-columns: 42px 1fr; gap: 6px; align-items: center; padding: 5px 7px; background: #fff; border: 1px solid rgba(139,26,36,.16); border-radius: 6px; }
.day-label { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 24px; border-radius: 5px; background: #8b1a24; color: #fff; font-weight: 800; }
.tab-jodi .day-label { background: #1d4ed8; }
.tab-open .day-label { background: #15803d; }
.pair-value { color: #111; font-size: 16px; font-weight: 700; }
.panel-tone { background: #fff8e7; }
.jodi-grid { background: #eff6ff; }
.open-grid { background: #f0fdf4; }
.guess-box, .king-box, .chart-box { max-width: 950px; margin: 8px auto; overflow: hidden; border-radius: 8px; }
.guess-box { background: #fff6c8; border: 2px solid blue; text-align: center; }
.guess-title { margin: 0; padding: 6px 10px; background: blue; color: #fff6c8; font-size: 18px; font-weight: 700; }
.guess-date { background: yellow; color: #000; font-size: 24px; font-weight: 700; padding: 4px; }
.guess-row { padding: 5px 8px 6px; border-bottom: 2px solid blue; }
.guess-name { display: inline-block; font-size: 24px; font-weight: 700; }
.badge-red { color: red; }
.badge-green { background: darkgreen; color: #fff; border-radius: 3px; }
.badge-brown { background: brown; color: #fff; border-radius: 3px; }
.badge-grey { background: grey; color: #fff; border-radius: 3px; }
.guess-value { display: block; font-weight: 700; line-height: 1.2; }
.value-open { color: blue; font-size: 24px; }
.value-jodi { color: #000; font-size: 24px; }
.value-panna { color: #c40000; font-size: 24px; }
.king-box { background: whitesmoke; border: 2px solid silver; }
.king-title { margin: 0; padding: 6px 10px; background: #1a1a1a; color: #fff; font-size: 16px; text-align: left; }
.king-head, .king-row { display: grid; grid-template-columns: 1fr 1fr; }
.king-head span { padding: 7px 8px; background: #d9d9d9; color: #222; text-align: center; font-weight: 700; }
.king-name, .king-admin { padding: 6px 8px; text-align: center; color: #222; border-top: 1px solid #ddd; font-weight: 700; }
.king-name { background: #fff3f6; }
.king-admin { background: #f0f7fc; }
.chart-box { background: #fff; border: 2px solid purple; }
.chart-heading { margin: 0; padding: 6px 10px; background: purple; color: #ff0; font-size: 20px; font-weight: 700; text-align: left; text-shadow: 1px 1px green; }
.chart-blue, .chart-black, .chart-brown { padding: 6px 8px; font-size: 20px; border-bottom: 2px solid red; background: #fff; text-align: center; }
.chart-blue a { color: #00f; }
.chart-black a { color: #000; }
.chart-brown a { color: brown; }
.article, .faq-wrap { margin: 6px 3px; }
.article {
  background: #fff;
  color: #000;
  border: 2px solid #9d174d;
  border-radius: 10px;
  padding: 6px 8px;
  font-family: Arial, sans-serif;
  font-style: normal;
}
.article h2 {
  margin: 6px 0 4px;
  padding: 3px 8px;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(180deg, #ff7a18, #e10600);
  border-radius: 6px;
  text-align: center;
}
.article p, .article li { font-size: 13px; line-height: 1.4; text-align: left; color: #111; }
.article table { width: 100%; border-collapse: collapse; font-size: 12px; }
.article th, .article td { border: 1px solid #222; padding: 2px 4px; color: #111; }
.faq-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #ff7a18, #e10600);
  text-align: center;
  padding: 5px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}
.faq-check { position: absolute; left: -9999px; }
.faq-accordion .article { margin: 0; border-radius: 0; border-left: 0; border-right: 0; }
.faq-accordion input + label { cursor: pointer; color: #9d174d; font-weight: 800; font-size: 13px; display: block; padding: 5px 8px; }
.faq-answer { display: none; }
.faq-accordion input:checked ~ .faq-answer { display: block; }
.faq-answer p { padding: 0 8px 5px; color: #333; }
.site-footer {
  margin: 4px 3px 70px;
  background: #ff9;
  color: #000;
  border: 3px double #8b1a24;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  font-family: Georgia, serif;
}
.site-footer hr { border: 0; border-top: 2px solid #111; margin: 5px 0; }
.footer-brand, .footer-brand a { color: red; font-size: 22px; }
.contact-mail { color: #00f; font-size: 18px; }
.play-float {
  position: fixed;
  left: 10px;
  bottom: 16px;
  z-index: 999;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  font-style: normal;
  background: linear-gradient(180deg, #1d4ed8, #1e3a8a);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.refresh-float {
  position: fixed;
  right: 5px;
  bottom: 20px;
  z-index: 999;
  background: #fff;
  color: blue;
  border: 4px inset red;
  font-weight: 700;
  font-size: large;
  border-radius: 10px;
  padding: 1px 10px;
}
.chart-page { text-align: center; }
.chart-head { color: #fff; border: 3px solid red; margin: 3px 0; padding: 3px; text-align: center; font-family: Georgia, serif; }
.chart-head-jodi { background: #6d0c3e; }
.chart-head-panel { background: #0c0361; }
.chart-head h1, .chart-head h2, .chart-head p, .chart-head a { color: #fff; text-shadow: 1px 2px 3px #000; }
.chart-head h1 { font-size: 26px; }
.chart-head h2 { font-size: 19px; }
.chart-head p { font-size: 13px; padding: 0 8px 6px; }
.chart-page .live-card {
  position: relative;
  margin: 4px 8px;
  padding: 5px 58px 6px;
  background: #ffe400;
  border: 5px double #b22222;
  text-align: center;
}
.live-card-name { color: #00f; font-family: Arial, sans-serif; font-weight: 900; font-size: 22px; text-transform: uppercase; }
.live-card-num { color: #111; font-family: Arial, sans-serif; font-weight: 900; font-size: 22px; }
.live-card-side { position: absolute; top: 6px; right: 8px; }
.live-pill { display: inline-flex; align-items: center; gap: 4px; background: #111; color: #fff; border-radius: 999px; padding: 3px 7px; font-size: 9px; font-style: normal; }
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: #ff2d55; display: inline-block; }
.live-refresh { display: inline-block; margin-top: 3px; border: 1px solid #6d0d14; background: linear-gradient(180deg, #c4232e, #5c0a10); color: #fff !important; border-radius: 8px; padding: 2px 8px; font-size: 13px; }
.sm2 {
  display: inline-block;
  margin: 10px 0 5px;
  padding: 5px 8px;
  background: #fff;
  color: #f00;
  border-left: 5px solid gold;
  border-right: 5px solid gold;
  border-top: 2px solid gold;
  border-bottom: 2px solid gold;
  border-radius: 4px;
  font-size: large;
}
.chart-table-wrap { overflow-x: auto; margin: 0 auto 12px; max-width: 100%; }
table.chat7, table.pchart {
  background: #fff;
  color: #000;
  margin: 0 auto;
  border: 5px groove #893bff;
  font-family: Georgia, serif;
  font-weight: 700;
  font-style: italic;
  text-shadow: 1px 1px gold;
}
table.chat7 { border-collapse: separate; border-spacing: 2px; font-size: 22px; }
table.pchart { border-collapse: collapse; font-size: 12px; }
table.chat7 td, table.chat7 th, table.pchart td, table.pchart th { border: 1px inset #893bff; padding: 4px 3px; text-align: center; }
.text-red, td.text-red, th.text-red, .text-red { color: #f00; text-shadow: none; }
.chart-empty { background: #fff8dc; color: #111; margin: 8px; padding: 10px; border-radius: 8px; }
.info-bar, .logotop { background: #6d0c3e; text-align: center; padding: 8px; }
.info-bar a, .logotop a { color: #fff; font-size: 22px; }
.info-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; background: #fff; padding: 8px; }
.info-nav-link { color: #7a2e0e; padding: 4px 8px; }
.info-nav-link.is-current { color: #fff; background: #9d174d; border-radius: 999px; }
.info-sheet { background: #fff8ee; color: #111; margin: 8px; padding: 8px; border-radius: 10px; font-style: normal; font-family: Arial, sans-serif; }
.info-title { color: #8b1a24; text-align: center; font-size: 28px; }
.info-card, .info-lead { color: #222; line-height: 1.5; }
.info-form { display: flex; flex-direction: column; gap: 6px; max-width: 520px; margin: 0 auto 12px; }
.info-label { color: #4a0c12; font-weight: 700; }
.info-input, .fbox input[type="text"], .fbox input[type="password"], .fbox select, .fbox textarea, .fsearch input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid #d4af37;
  border-radius: 6px;
  font: 16px Arial, sans-serif;
}
.info-submit, .fbtn, .buttongg {
  background: linear-gradient(180deg, #8b1a24, #4a0c12);
  color: #fff !important;
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 800;
  cursor: pointer;
}
.page-actions { text-align: center; margin: 8px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; font-style: normal; }
.admin-table th, .admin-table td { border-bottom: 1px solid #e7d3a1; padding: 6px 4px; text-align: left; vertical-align: top; }
.admin-table th { color: #4a0c12; }
.admin-scroll { overflow-x: auto; }
.admin-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.admin-inline .info-form { max-width: none; margin: 0; }
.admin-note { color: #444; font-size: 14px; }
.admin-code { display: block; background: #fff; border: 1px solid #d4af37; border-radius: 6px; padding: 8px; overflow-x: auto; font-family: Consolas, monospace; font-size: 13px; }
.field-error { color: #9f1239; font-style: normal; font-size: 13px; }
.field-hint { color: #57534e; font-size: 12px; font-style: normal; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.forum-jump { width: 100%; background: #111; }
.forum-jump td { width: 33%; text-align: center; background: #4a0c12; padding: 8px; }
.forum-jump a { color: #fff; }
.forum-rules { background: #fff6c8; color: #111; margin: 8px; padding: 8px; border: 2px solid #b45309; font-style: normal; }
.forum-rules span { color: #9f1239; font-weight: 800; }
.forum-msg { margin: 8px; padding: 8px; border-radius: 8px; font-style: normal; }
.forum-msg.is-ok { background: #dcfce7; color: #14532d; }
.forum-msg.is-error { background: #fee2e2; color: #7f1d1d; }
.fbox, .fcard, .fsearch { background: #fff; color: #111; margin: 8px; padding: 10px; border-radius: 10px; font-style: normal; font-family: Arial, sans-serif; }
.fbox-title { background: #6d0c3e; color: #fff; padding: 6px; border-radius: 6px; text-align: center; font-weight: 800; }
.fbox label { display: block; margin-top: 8px; color: #4a0c12; font-weight: 700; }
.fswitch { text-align: center; margin-top: 8px; }
.fsearch { display: flex; gap: 8px; }
.fcard { border: 1px solid #f3c1d4; }
.fcard-head { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.fcard-name { color: #1d4ed8; font-weight: 800; }
.fcard-time { color: #57534e; font-size: 12px; }
.fcard-badge { background: #9d174d; color: #fff; border-radius: 999px; padding: 2px 8px; font-size: 11px; }
.f-online.is-on { color: #15803d; }
.f-online.is-off { color: #78716c; }
.fcard-body { color: #111; line-height: 1.45; }
.fquote { background: #fff7ed; border-left: 3px solid #d4af37; padding: 6px; margin-bottom: 6px; }
.forum-act button, .forum-act span { background: none; border: 0; color: #9d174d; font-weight: 700; }
.forum-empty { background: #fff; color: #111; margin: 8px; padding: 10px; }
.otc-hero, .wjp-hero, .panna-hero {
  background: #6d0c3e;
  color: #fff;
  text-align: center;
  margin: 6px;
  padding: 8px;
  border: 2px solid gold;
}
.otc-hero h1, .wjp-hero h1, .panna-hero h1 { color: #fff; font-size: 22px; }
.otc-date { background: yellow; color: #000; text-align: center; font-size: 24px; font-weight: 700; margin: 6px; }
.otc-game { background: #fff6c8; color: #111; text-align: center; margin: 4px 6px; padding: 6px; border: 2px solid blue; font-weight: 700; }
.otc-game.alt { background: #fff; }
.otc-game .nm { font-size: 22px; color: #9f1239; }
.otc-game .op { display: block; color: blue; font-size: 22px; }
.otc-game .jd { display: block; color: #111; font-size: 20px; }
.otc-game .pn { display: block; color: #c40000; font-size: 20px; }
.panel-heading2 { background: #9d174d; color: #fff; text-align: center; margin: 8px 6px 0; padding: 6px; font-weight: 800; }
.weekly2 { margin: 0 6px 8px; }
.weekly { background: #fff8dc; color: #111; border-bottom: 1px solid #d4af37; padding: 6px; text-align: center; font-weight: 700; }
.panna-digit, .CHARTHEAD {
  background: #111;
  color: gold;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin: 8px 6px 0;
}
.golden { background: gold; color: #111; text-align: center; margin: 0 6px 8px; padding: 8px; font-weight: 700; font-size: 16px; line-height: 1.45; }
.hot-panna { font-size: 15px; }
@media (max-width: 600px) {
  .panel-grid { grid-template-columns: 1fr; }
  .result-row, .result-gold { font-size: 16px; }
  .result-gold { font-size: 18px; }
  .weekly-bar { flex-wrap: wrap; justify-content: center; }
  table.chat7 td, table.chat7 th { font-size: 16px; padding: 3px 1px; }
}
