*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  background:#ffcc99;
  color:#000;
  font-family:Helvetica,Arial,sans-serif;
  overflow-x:hidden;
}
body{min-width:320px}
img,table,a{max-width:100%}
.page{
  width:min(100%,400px);
  margin:0 auto;
  padding:2px 5px 8px;
  background:#c9f2c9;
  border:0;
}
.home-top{
  padding:2px 5px 0;
  background:#c9f2c9;
}
.home-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  height:77px;
  margin:0 0 1px;
  padding:0 10px;
  background:#c9f2c9;
  border:3px solid #1fd13a;
  border-radius:12px;
  text-align:center;
}
.home-logo h1{
  margin:0;
  font-size:22px;
  line-height:1;
  font-weight:700;
  letter-spacing:.4px;
  color:#0a6a2a;
}
.home-welcome{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  height:82px;
  margin:0 0 1px;
  padding:5px;
  border:2px solid #1fd13a;
  border-radius:10px;
  text-align:center;
  background:transparent;
}
.home-welcome-line,
.home-welcome-note{
  margin:0;
  font-size:16px;
  line-height:1.25;
  font-weight:700;
  color:#000;
}
.brand{
  text-align:center;
  padding:6px 4px 5px;
  border-bottom:1px solid #1fd13a;
  background:#c9f2c9;
}
.brand p{
  margin:0 0 2px;
  font-size:11px;
  font-weight:700;
}
.brand-desc{
  margin:4px 8px 2px;
  font-size:11px;
  font-weight:400;
  line-height:1.35;
}
.brand h1{
  margin:0;
  font-size:22px;
  line-height:1.15;
  color:#00094d;
  font-weight:700;
  letter-spacing:.6px;
}
.top-nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:0;
  border-bottom:1px solid #1fd13a;
  background:#ffff00;
}
.top-nav a{
  color:#00094d;
  text-decoration:none;
  font-size:11px;
  font-weight:700;
  padding:5px 6px;
  border-right:1px solid #1fd13a;
}
.top-nav a:last-child{border-right:0}
.top-nav a:hover,
.top-nav a.is-active{text-decoration:underline}
.live-bar,
.sec-head{
  background:#0a6a2a;
  color:#fff8f8;
  text-align:center;
  font-size:16px;
  font-weight:700;
  letter-spacing:.6px;
  padding:5px 8px;
}
.datetime{
  text-align:center;
  font-size:12px;
  font-weight:700;
  color:#00094d;
  padding:5px 4px;
  border-bottom:1px solid #1fd13a;
}
.datetime span+span{margin-left:10px}
.live-row,
.market-card,
.chart-list a,
.history-item{
  margin:0;
  background:transparent;
  border:0;
  border-bottom:1px solid #1fd13a;
  text-align:center;
}
.live-empty{
  margin:0;
  text-align:center;
  font-size:15px;
  font-weight:700;
  color:#00094d;
  background:#ffff00;
  padding:10px 8px;
  border-bottom:1px solid #1fd13a;
}
.live-row{
  padding:5px 6px 6px;
  background:#ffff00;
}
.live-tag{
  font-size:11px;
  font-weight:700;
  color:#0a6a2a;
  padding:0 0 2px;
}
.live-name,
.market-name{
  background:transparent;
  border:0;
  color:#00094d;
  font-size:18px;
  font-weight:700;
  letter-spacing:0;
  padding:0;
  line-height:1.2;
}
.live-result,
.market-result{
  font-size:22px;
  font-weight:700;
  letter-spacing:.2px;
  color:#000;
  padding:2px 0 1px;
  line-height:1.15;
  white-space:nowrap;
}
.market-card{
  position:relative;
  min-height:77px;
  padding:3px 54px 4px;
  border-bottom:1px solid #1fd13a;
}
.market-card:first-child{background:#ffff00}
.market-links a.side-jodi,
.market-links a.side-panel{
  position:absolute;
  top:26px;
  display:inline-block;
  background:#0a6a2a;
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:700;
  line-height:1;
  padding:5px 7px;
  border:1px solid #e6e6e6;
  border-radius:8px;
}
.market-links a.side-jodi{left:4px}
.market-links a.side-panel{right:4px}
.home-intro{
  margin:0 0 2px;
  padding:4px 6px 6px;
  border:2px solid #1fd13a;
  border-radius:10px;
  text-align:center;
}
.home-intro h2{margin:0 0 3px;font-size:16px;font-weight:700}
.home-intro p{margin:0;font-size:13px;font-weight:600;line-height:1.35}
.live-wrap{
  margin:0 0 2px;
  border:2px outset #1fd13a;
  border-radius:10px;
  overflow:hidden;
}
.pink-title{
  margin:0 0 2px;
  background:#0a6a2a;
  color:#fff8f8;
  text-align:center;
  font-size:16px;
  font-weight:700;
  padding:5px 10px;
  border:2px solid #fff;
  border-radius:12px;
}
.slot{
  margin:0 0 2px;
  border-radius:10px;
  text-align:center;
  font-size:14px;
  font-weight:700;
  padding:8px 6px;
}
.slot-board{height:108px;border:2px outset #1fd13a;display:block;padding:0}
.slot-board h3{margin:0;background:#0a6a2a;color:#fff8f8;font-size:20px;padding:5px 10px}
.board-split{display:grid;grid-template-columns:1fr 1fr;height:61px}
.board-split span{display:flex;align-items:center;justify-content:center;font-size:14px;border-top:1px solid #1fd13a}
.board-split span+span{border-left:1px solid #1fd13a}
.list-shell{border:2px solid #1fd13a;border-radius:0;text-align:center;font-size:13px;font-weight:700;padding:10px 6px;margin:0 0 2px}
.time-block{margin:0 0 4px;text-align:center}
.time-block h4{margin:0;background:#ffd902;color:#000;font-size:18px;padding:8px 6px}
.wheel-slot{border:1px solid #1fd13a;padding:16px;font-size:22px;font-weight:700}
.blue-box{margin:0 0 2px;border:2px solid #1fd13a;border-radius:10px;background:#064d1c;overflow:hidden}
.blue-box h4{margin:0;background:#0a6a2a;color:#fff;font-size:22px;padding:10px 6px;text-align:center}
.blue-box a{display:block;color:#fff;text-align:center;font-weight:700;font-size:14px;padding:8px 6px;border-bottom:2px solid #1fd13a;text-decoration:none}
.date-box{border:2px solid #1fd13a;text-align:center;font-weight:700;padding:8px;margin:0 0 4px}
.date-box h4{margin:0 0 4px;font-size:16px}
.date-box p{margin:0;font-size:13px}
.foot-line{border:2px solid #1fd13a;text-align:center;font-size:12px;font-weight:700;padding:8px 6px;margin:0 0 2px}
.foot-power{margin:0 0 2px;border:2px solid #1fd13a;text-align:center;font-weight:700;padding:4px}
.slot-note{height:108px;background:#ffe900;color:#063d17;border:2px solid #1fd13a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.slot-note strong{font-size:16px}
.slot-note span{font-size:12px;font-weight:700;padding:0 8px}
.slot-red{min-height:120px;background:#064d1c;color:#fff;border:2px solid #1fd13a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.slot-red p{margin:0;font-size:14px;line-height:1.35;padding:0 8px}
.red-btn{display:inline-block;background:#0a6a2a;color:#fff;text-decoration:none;font-size:14px;font-weight:700;padding:8px 14px;border:1px solid #fff;border-radius:16px}
.slot-links{min-height:80px;border:2px solid #1fd13a;display:block;text-align:center;font-size:12px;font-weight:700;line-height:1.7;padding:8px 6px}
.slot-links a{color:#00094d}
.market-status{display:none}
.market-times{
  display:block;
  font-size:13px;
  font-style:italic;
  font-weight:700;
  color:#000;
  padding:1px 0 2px;
}
.market-times span{
  display:inline;
  padding:0 7px;
}
.market-links{
  display:block;
  border:0;
  padding:1px 0 2px;
}
.market-links a,
.info a,
.history-item a,
.chart-nav-link,
.month-row a,
.year-row a{
  color:#00094d;
  font-weight:700;
  text-decoration:underline;
}
.market-links a{
  display:inline-block;
  background:none;
  font-size:13px;
  line-height:1.2;
  padding:6px 10px;
  border:0;
}
.link-sep{font-weight:700;color:#00094d}
.market-links a:hover,
.chart-list a:hover,
.info a:hover{color:#0a6a2a}
.chart-list a,
.chart-nav-link{
  display:block;
  padding:8px 8px;
  font-size:14px;
}
.chart-jump{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  border-bottom:1px solid #1fd13a;
}
.chart-jump a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:6px 4px;
  text-align:center;
  font-size:12px;
  font-weight:700;
  color:#00094d;
  text-decoration:underline;
  border-right:1px solid #1fd13a;
  background:#ffff00;
}
.chart-jump a:last-child{border-right:0}
.market-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
}
.market-grid a{
  display:block;
  text-align:center;
  text-decoration:none;
  color:#00094d;
  font-weight:700;
  font-size:12px;
  line-height:1.2;
  padding:10px 4px;
  border-right:1px solid #1fd13a;
  border-bottom:1px solid #1fd13a;
  background:#fff3b0;
}
.market-grid a:nth-child(2n){border-right:0}
.market-grid a small{
  display:block;
  margin-top:3px;
  font-size:10px;
  font-weight:700;
  color:#064d1c;
}
.market-grid a:hover{background:#ffff00}
.chart-nav{
  border-bottom:1px solid #1fd13a;
}
.chart-nav-link.is-active{background:#ffff00}
.note,.info,.history-item,.chart-body{
  padding:8px 10px;
  font-size:13px;
  line-height:1.45;
  text-align:left;
}
.info h2,
.info h3,
.history-item h3,
.chart-body h2{
  margin:8px 0 4px;
  color:#00094d;
  font-size:15px;
  text-align:center;
}
.info p,.history-item p,.chart-body p,.note{margin:0 0 8px}
.info ul{
  margin:0 0 8px;
  padding-left:18px;
}
.lang-block{
  border-top:1px solid #1fd13a;
  padding-top:8px;
  margin-top:8px;
}
.year-row,.month-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:4px 6px;
  padding:6px 8px;
  border-bottom:1px solid #1fd13a;
  font-size:13px;
}
.year-row a.is-active,.month-row a.is-active,.month-row a:hover{background:#ffff00}
.record-table{
  width:100%;
  border-collapse:collapse;
  font-size:11px;
  margin:0 0 10px;
}
.record-table th,
.record-table td{
  border:1px solid #1fd13a;
  padding:4px 3px;
  text-align:center;
  word-break:break-word;
}
.record-table th{background:#ffff00}
footer{
  margin:0;
  background:#c9f2c9;
  color:#00094d;
  text-align:center;
  border:0;
  border-top:1px solid #1fd13a;
  font-size:12px;
  font-weight:700;
  padding:8px 8px 12px;
}
footer p{
  margin:4px 0 0;
  font-weight:400;
  font-size:11px;
  line-height:1.4;
}
@media (max-width:360px){
  .brand h1{font-size:20px}
  .live-name,.market-name{font-size:17px}
  .live-result,.market-result{font-size:20px}
  .market-times,.market-links a{font-size:12px}
  .top-nav a{font-size:10px;padding:5px 4px}
  .info,.note,.history-item,.chart-body{padding:7px 8px;font-size:12px}
  .chart-jump a,.market-grid a{font-size:11px}
  .record-table{font-size:10px}
}

body.board{
  margin:0;
  padding:2px 5px 28px;
  background:#ffcc99;
  color:#000;
  text-align:center;
  font-family:Helvetica,sans-serif;
  font-weight:700;
  font-style:italic;
  font-size:16px;
  min-width:320px;
}
body.board a{color:inherit;text-decoration:none}
body.board button,body.board input{font-family:inherit}
.brand{
  display:flex;align-items:center;justify-content:center;
  height:77px;margin:0 0 1px;padding:0 10px;box-sizing:border-box;
  background:#ffcc99;
  border:3px solid #ff0016;border-radius:12px;
}
.brand--stacked{
  flex-direction:column;
  gap:3px;
}
.brand-text-logo{
  display:inline-flex;align-items:baseline;justify-content:center;
  max-width:100%;gap:clamp(5px,1.5vw,18px);
  background:transparent;line-height:1;white-space:nowrap;
}
.brand-text-logo__dp{
  color:#ff0090;
  font-family:"Brush Script MT","Segoe Script",cursive;
  font-size:clamp(30px,8vw,42px);font-style:italic;font-weight:400;line-height:1;
}
.brand-text-logo__star{
  color:#101828;
  font-family:Arial,Helvetica,sans-serif;
  font-size:clamp(20px,5.2vw,38px);font-style:italic;font-weight:900;line-height:1;
  letter-spacing:clamp(.4px,.3vw,1.4px);
}
.brand-subtitle{
  color:#101828;
  font-family:Arial,Helvetica,sans-serif;
  font-size:clamp(12px,2.2vw,15px);
  font-style:normal;font-weight:700;line-height:1;
  letter-spacing:.5px;
  white-space:nowrap;
}
.hello{
  display:flex;align-items:center;gap:0;
  height:82px;margin:0 0 1px;padding:5px;box-sizing:border-box;
  border:2px solid #ff182c;border-radius:10px;
  box-shadow:0 0 20px rgb(0 0 0 / 40%);
}
.hello-brand-logo{
  flex:0 0 90px;width:90px;height:68px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:4px;overflow:hidden;
}
.hello-brand-logo__name{
  display:inline-flex;align-items:baseline;justify-content:center;
  gap:1px;line-height:1;white-space:nowrap;transform:scaleX(.82);transform-origin:center;
}
.hello-brand-logo__dp{
  color:#ff0090;
  font-family:"Brush Script MT","Segoe Script",cursive;
  font-size:16px;font-style:italic;font-weight:400;line-height:1;
}
.hello-brand-logo__star{
  color:#101828;
  font-family:Arial,Helvetica,sans-serif;
  font-size:12px;font-style:italic;font-weight:900;line-height:1;
  letter-spacing:.2px;
}
.hello-brand-logo__subtitle{
  color:#101828;
  font-family:Arial,Helvetica,sans-serif;
  font-size:9px;font-style:normal;font-weight:700;line-height:1;
  letter-spacing:.2px;white-space:nowrap;
}
.hello p{
  flex:1;margin:0;color:#000;font-size:16px;font-weight:700;font-style:italic;
  line-height:18px;text-align:center;
}
.blurb{
  height:121px;margin:0 0 2px;padding:0;box-sizing:border-box;overflow:hidden;
  border:2px solid #ff182c;border-radius:10px;
  box-shadow:0 0 20px rgb(0 0 0 / 40%);
}
.blurb h1{
  margin:0;padding:0 0 3px;height:21px;box-sizing:border-box;
  font-size:16px;font-weight:700;font-style:italic;line-height:18px;
}
.blurb p{
  margin:0;height:96px;overflow:hidden;
  font-size:13px;font-weight:600;line-height:12px;font-style:italic;
}
.lucky{
  height:108px;margin:-2px 0 2px;overflow:hidden;box-sizing:border-box;
  border:2px outset #ff0016;border-radius:10px;
  box-shadow:0 0 20px rgb(0 0 0 / 40%);
}
.lucky h3{
  height:41px;margin:0 0 2px;padding:5px 10px;box-sizing:border-box;
  background:#ff00a2;color:#fff8f8;
  border:2px solid #fff;border-radius:17.55px;
  font-size:23.4px;line-height:26px;font-weight:700;font-style:italic;
}
.lucky-cols{display:flex;height:61px}
.lucky-a,.lucky-b{min-width:0}
.lucky-a{width:40%;border-right:1px solid #ff0016}
.lucky-b{width:60%;overflow:hidden}
.lucky h4{margin:0;color:#001699;font-size:18px;font-weight:700;font-style:italic;line-height:21px;height:21px}
.lucky-a p{margin:0;color:#000;font-size:22px;font-weight:700;font-style:italic;line-height:26px}
.lucky-scroll{height:40px;overflow:hidden;position:relative}
.lucky-scroll-track{animation:lucky-final-ank-scroll 20s linear infinite;will-change:transform}
.lucky-scroll-list{display:flex;flex-direction:column;margin:0;color:#000;font-size:14px;line-height:20px;font-weight:700;font-style:italic}
.lucky-scroll-list span{display:block;height:20px;line-height:20px;white-space:nowrap}
@keyframes lucky-final-ank-scroll{
  to{transform:translateY(-50%)}
}
@media (hover:hover) and (pointer:fine){
  .lucky-scroll:hover .lucky-scroll-track{animation-play-state:paused}
}
.jack{
  height:108px;margin:0;padding:0;overflow:hidden;box-sizing:border-box;
  background:#ffe900;color:#291047;
  border:2px solid #ff1493;border-radius:10px;
  box-shadow:0 3px 8px rgba(50,15,70,.18);
  display:flex;flex-direction:column;
}
.jack-top{
  display:flex;justify-content:space-between;align-items:center;
  height:33px;padding:2px 7px;box-sizing:border-box;
}
.jack-brand{width:203px;text-align:left;font-family:Arial,Helvetica,sans-serif}
.jack h2{margin:0;font-size:15px;font-weight:900;font-style:italic;color:#431080;line-height:20px;height:20px;white-space:nowrap;overflow:hidden}
.jack h2 span{color:#2ec6ff;font-style:italic}
.jack-sub{font-size:7px;font-weight:900;font-style:italic;line-height:8px;height:8px;letter-spacing:.3px;overflow:hidden}
.jack-status{width:154px;height:25px;display:flex;align-items:center;justify-content:flex-end;gap:4px}
.jack-live{
  width:58px;height:25px;box-sizing:border-box;
  display:flex;align-items:center;justify-content:center;gap:3px;
  background:linear-gradient(#ff4545,#df1111);color:#fff;
  border:2px solid #fff;border-radius:13px;
  font-size:9px;font-weight:900;font-style:italic;line-height:10px;
}
.jack-live i{width:7px;height:7px;border-radius:50%;background:#fff;display:block}
.jack-time{
  width:92px;height:24px;box-sizing:border-box;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(75,22,132,.18);border-radius:5px;
  padding:3px 4px;text-align:center;font-style:normal;
}
.jack-time b{display:block;font-size:7px;font-weight:900;color:#401080;line-height:8px}
.jack-time small{display:block;font-size:5px;font-weight:900;color:#65416c;line-height:6px}
.jack-line{height:1px;margin:0 9px;background:rgba(75,22,132,.25)}
.jack-mid{
  display:flex;align-items:center;justify-content:space-between;
  height:39px;padding:2px 7px;box-sizing:border-box;gap:4px;
}
.jack-now{
  width:238px;height:35px;box-sizing:border-box;
  display:flex;flex-direction:column;justify-content:center;
  padding:2px 5px;border-radius:7px;
  background:rgba(255,255,255,.72);border:1px solid #d19b15;
  text-align:left;font-style:normal;
}
.jack-now small{font-size:7px;font-weight:900;color:#4b1684;line-height:8px}
.jack-now div{display:flex;align-items:baseline;gap:4px;line-height:1}
.jack-now strong{font-size:24px;font-weight:900;color:#241044}
.jack-now span{font-size:22px;color:#241044}
.jack-now em{font-size:15px;font-weight:900;font-style:normal;color:#4b1684}
.jack-hist,.jack-join{
  width:58px;height:35px;box-sizing:border-box;flex:0 0 58px;
  display:flex;align-items:center;justify-content:center;
  border-radius:6px;font-size:8px;font-weight:900;font-style:italic;
  line-height:10px;text-align:center;font-family:Arial,Helvetica,sans-serif;
}
.jack-hist{background:#fff;color:#4b1684;border:1px solid #4b1684}
.jack-join{color:#fff;border:1px solid #b80070;background:linear-gradient(#f30a9b,#dc0082)}
.jack-recent{
  display:flex;align-items:center;gap:3px;
  height:31px;padding:0 7px 4px;box-sizing:border-box;overflow:hidden;
}
.recent-label{
  flex:0 0 64px;width:64px;height:27px;box-sizing:border-box;
  display:flex;align-items:center;justify-content:center;
  background:#4b1684;color:#fff;font-size:7px;font-weight:900;
  line-height:8px;border-radius:5px;font-style:normal;text-align:center;
}
.chip{
  flex:0 0 45px;width:45px;height:27px;box-sizing:border-box;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(212,155,19,.7);border-radius:5px;
  font-style:italic;font-size:7px;line-height:8px;font-weight:900;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  overflow:hidden;font-family:Arial,Helvetica,sans-serif;
}
.chip b{display:block;font-style:italic;font-size:6px;font-weight:800;line-height:7px;color:#604b69}
.chip i{display:block;font-style:italic;font-size:14px;font-weight:900;line-height:16px;color:#241044}
.banner{
  margin:0 0 7px;padding:7px;border-radius:10px;border:2px solid #ff182c;
  font-size:14px;line-height:25px;font-style:italic;
}
.banner.play{
  height:142px;margin:3px 0 7px;padding:7px;box-sizing:border-box;overflow:hidden;
  background:#8f0000;color:#f9f9f9;
  border:2px solid #ff182c;border-radius:10px;
  box-shadow:0 0 20px rgb(0 0 0 / 40%);
  font-size:14px;line-height:25px;font-weight:700;
}
.banner.play .pill{
  height:41px;margin:8px auto 0;box-sizing:border-box;
  font-size:14px;font-weight:600;font-style:italic;line-height:25px;
}
.banner.red{background:#8f0000;color:#f9f9f9;min-height:142px}
.banner.short{min-height:106px;padding:3px}
.banner.api{background:#c4001a;color:#f9f9f9;min-height:150px}
.banner p{margin:0}
.pill{
  display:block;width:230px;margin:8px auto;padding:6px 0;
  border:2px solid #fff;border-radius:15px;color:#fff;font-weight:600;font-style:normal;
}
.pill.blue{background:#0a2fbf}
.pill.pink{background:#b3007a}
.livebox{
  margin:-2px 0 2px;padding:0 0 6px;
  border:2px outset #ff182c;border-radius:10px;
  box-shadow:0 0 20px rgb(0 0 0 / 40%);
}
.livebox h4{
  height:41px;margin:0 2px 5px;padding:5px 10px;
  background:#ff00a2;color:#fff8f8;
  border:2px solid #fff;border-radius:15px;
  font-size:20px;line-height:26px;
}
.liverow{margin:2px 8px 6px;padding-top:2px;border-top:1px solid #ff0020;color:#00094d}
.liverow span,.liverow b{display:block;font-size:22px;font-weight:700}
.liverow b{color:#000}
.liverow[data-result-stage="pending"] b,.mrow[data-result-stage="pending"] > span{
  color:#850064;font-style:italic;
}
.market-pass{
  display:block;margin:4px auto 2px;padding:4px 7px;max-width:max-content;
  border:1px solid #08751d;border-radius:7px;background:#eaffd6;color:#075d18;
  font-size:13px;font-weight:900;line-height:1.25;text-align:center;
}
.liverow button{
  margin-top:2px;padding:2px 10px;border-radius:8px;border:1px solid #bbb;
  background:#522f92;color:#fff;font-size:12px;font-weight:700;
}
.keywords{
  height:auto;margin:0 0 2px;padding:4px 10px;overflow:hidden;
  border:2px outset #ff0016;border-radius:10px;
  color:#00094d;font-size:14px;line-height:1.35;
}
.pinkbar{
  height:50px;margin:0 0 5px;padding:5px 10px;
  background:#ff00a2;color:#fff8f8;
  border:2px solid #fff;border-radius:12px;
  font-size:16px;line-height:36px;
}
.mgroup{
  margin:-2px 0 2px;
  border:2px outset #aa00c0;border-radius:10px;
  box-shadow:0 0 20px rgb(0 0 0 / 40%);
}
.mrow{position:relative;min-height:77px;padding:8px 8px 10px;border-bottom:1px solid #ff0018}
.mrow.hot{background:#ffff00}
.mrow h4{margin:0;color:#00094d;font-size:22px;font-weight:700;line-height:1.15}
.mrow span{display:block;font-size:22px;font-weight:700;line-height:1.15;font-style:normal}
.mrow p{margin:0;font-size:15px;font-weight:700}
.mgroup .mrow{display:grid;grid-template-columns:66px minmax(0,1fr) 66px;column-gap:6px;align-items:center;padding:8px 6px}
.mgroup .mrow h4,.mgroup .mrow span,.mgroup .mrow p,.mgroup .market-pass{grid-column:2}
.mgroup .chart-actions{display:contents}
.mgroup .go-jodi{grid-column:1;grid-row:1 / span 5}
.mgroup .go-panel{grid-column:3;grid-row:1 / span 5}
.featured-market-card .market-pass{margin-left:auto;margin-right:auto}
.chart-actions{display:flex;gap:8px;margin-top:8px}
.go-jodi,.go-panel{
  position:static;flex:1 1 0;
  display:flex;align-items:center;justify-content:center;
  min-height:44px;box-sizing:border-box;
  background:#522f92;color:#fff;font-size:13px;font-weight:700;font-style:normal;
  line-height:1.15;text-align:center;text-decoration:none;
  padding:8px 6px;border-radius:8px;border:1px solid #e6e6e6;
}
body.board a.go-jodi,body.board a.go-panel{color:#fff;text-decoration:none}
.chart-back{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;min-width:88px;margin:8px 8px 0;padding:8px 14px;box-sizing:border-box;
  background:#522f92;color:#fff;font-size:15px;font-weight:700;text-decoration:none;border-radius:8px;
}
.chart-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
.chart-scroll .record-table{font-size:15px}
.chart-scroll .record-table th,.chart-scroll .record-table td{padding:8px 8px;white-space:nowrap}
.chart-scroll.panel-scroll .record-table{min-width:560px}
.year-row a,.month-row a,.chart-nav-link{min-height:40px}
.timebox{margin:5px 0;border:1px solid #ff0016}
.timebox h4{
  margin:10px 0 5px;padding:5px 10px;
  font-size:24px;letter-spacing:1px;border:2px solid #000;border-radius:18px;
}
.timebox.yellowhead h4{background:#ffd902;color:#000;text-shadow:1px 1px 2px #fff}
.timebox.pinkhead h4{background:#ff00a2;color:#fff8f8;text-shadow:1px 1px 2px #000;border-color:#fff}
.timebox.bombay{border:1px solid red}
.bombay-h a{
  float:right;margin-top:-1px;padding:3px 5px 2px;
  background:#000;color:#fff;border-radius:5px;font-size:14px;text-shadow:none;
}
.timebox table{width:100%;border-collapse:collapse;margin:0;box-shadow:0 0 20px rgb(0 0 0 / 40%)}
.timebox th,.timebox td{border:1px solid #ff0016;padding:2px 0;font-size:15px;text-shadow:1px 1px 2px #fff}
.timebox th{background:#fff}
.wheel{
  position:relative;width:220px;height:220px;margin:8px auto;
  border-radius:50%;
  background:conic-gradient(#e10600 0 10%,#ff8c00 0 20%,#ffe600 0 30%,#39d353 0 40%,#00b3ff 0 50%,#3a46e0 0 60%,#9b4dff 0 70%,#ff4fd8 0 80%,#ff5a8a 0 90%,#111 0 100%);
  box-shadow:0 0 0 3px #fff,0 0 0 5px #ff0016;
}
.wheel i{
  position:absolute;left:50%;top:50%;
  width:24px;margin-left:-12px;margin-top:-12px;
  color:#fff;font-style:normal;font-size:16px;text-shadow:0 1px 1px #000;
  transform:rotate(calc(var(--n) * 36deg)) translateY(-86px);
}
.hub{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:78px;height:78px;border-radius:50%;background:#fff7e8;color:#111;
  display:flex;align-items:center;justify-content:center;font-size:16px;font-style:normal;
}
.linkbox{
  margin:-2px 0 2px;border:2px solid #1f3092;border-radius:10px;overflow:hidden;
}
.linkbox h4{
  margin:0;padding:8px 6px;background:#ff1731;color:#fff;font-size:30px;line-height:1.05;
}
.linkbox a{
  display:block;padding:5px 6px;color:#fff;font-size:22px;font-weight:700;
  border-bottom:2px solid #ff0026;
  background:linear-gradient(-225deg,#231557 0%,#44107a 29%,#ff1361 67%,#ff0025 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.passed{margin:0 0 5px;border:2px solid #ff0000;border-radius:5px}
.passed h4{margin:0;padding:6px;background:#ff1731;color:#fff;font-size:20px}
.pass-date{margin:0;background:#ff1731;color:#fff}
.passed p{margin:0;padding:2px 4px;background:#fff;color:#00009c;border-top:1px solid rgb(0 0 0 / 22%);font-size:16px}
.weeks{display:block}
.weeks > div{
  margin:-2px 0 2px;padding:4px;
  border:2px outset #e71d36;border-radius:10px;
  box-shadow:0 0 20px rgb(0 0 0 / 40%);
}
.weeks h4{margin:0 0 4px;font-size:16px;line-height:1.25}
.weeks p{margin:0;font-size:16px}
.gamezone{margin:0 0 5px}
.gamezone > h4{
  height:32px;margin:0 0 5px;padding:5px 10px;
  background:#ff00a2;color:#fff8f8;border:2px solid #fff;border-radius:12px;font-size:16px;line-height:18px;
}
.game-date{margin:5px 5px 0;padding:4px;border:2px solid #ff019e;border-radius:10px}
.game-date p,.game-date strong,.game-date h5{margin:0}
.game-date strong{font-size:22px}
.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:6px 5px 0}
.game-grid article{
  display:flex;flex-direction:column;justify-content:center;box-sizing:border-box;min-width:0;
  padding:6px 5px;background:#ffcc99;border:2px solid #009206;border-radius:10px;
  font-size:14px;line-height:1.25;overflow-wrap:anywhere;
}
.game-grid article:last-child:nth-child(odd){grid-column:1 / -1}
.game-grid p{margin:0}
.game-grid article > p:first-child{
  margin-bottom:4px;padding-bottom:3px;border-bottom:1px solid #009206;
  color:#080808;font-size:16px;font-weight:700;line-height:1.2;
}
.grid{width:100%;border-collapse:collapse;margin:6px 0;font-size:12px;font-style:normal}
.grid td{border:1px solid #ff0016;padding:2px}
.grid .ghead{background:#ffd902;font-weight:700}
.grid .ghead[colspan]{padding:7px 6px;font-size:16px;line-height:1.25;text-align:center}
.chartlist{
  margin:5px 0;padding:4px 0 8px;border:2px solid #b9005e;border-radius:10px;
}
.chartlist h6{margin:0 0 4px;font-size:18px}
.chartlist a{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  min-height:44px;box-sizing:border-box;margin:6px 6px 0;padding:8px 12px;
  background:#ffcc99;border:2px solid #b9005e;border-radius:10px;
  color:#0013a5;font-size:16px;font-weight:700;line-height:1.2;text-align:left;text-decoration:none;
}
.chartlist a::after{content:"\203A";flex:none;color:#d70544;font-size:28px;font-style:normal;font-weight:700;line-height:1}
body.board .chartlist a{color:#0013a5}
.chartlist a:hover,.chartlist a:focus-visible{background:#fff;border-color:#d70544}
.story{margin:5px 0;padding:3px 0;border-radius:10px;text-align:center}
.blue-story{border:2px solid #003db6}
.red-story{border:2px solid #ff0020}
.seo-story{border:2px solid #003db6;padding:5px;text-align:justify;font-size:15px;line-height:1.35}
.story-title{margin:8px 6px;color:#d70544;font-size:18px}
.seo-story .story-title{color:#0013a5}
.story-h{margin:6px;color:#d70544;font-size:16px;border-top:1.5px solid #e0557f;padding-top:6px}
.red-story .stone-h{margin:8px 4px 0;color:#9a0030;font-size:16px;border-top:1px solid #e0557f;padding-top:6px}
.story p{margin:0;padding:0 5px 12px;font-size:12px;font-weight:600;line-height:1.4;color:#1a1a1a;font-style:normal}
.seo-story p{font-size:14px;line-height:16px;font-weight:700}
.story ul{margin:0 0 12px 18px;padding:0;text-align:left}
.story li{margin:0 0 8px;font-size:14px;font-weight:700;font-style:normal}
.footbox{
  margin:-2px 0 2px;padding:5px;
  border:2px outset #ff182c;border-radius:10px;
  box-shadow:0 0 20px rgb(0 0 0 / 40%);
}
.footbox h3{margin:0 0 4px;color:#bb2833;font-size:18px;text-shadow:1px 1px 2px #fff}
.footbox p{margin:0;font-size:14px;line-height:1.3;font-style:normal}
.disclaimer p{color:#340d7a;font-size:13px;line-height:1.2}
.powered{
  margin:-2px 0 2px;padding:2px 0 1px;
  border:2px outset #ff182c;border-radius:10px;font-size:20px;
}
.copy a{color:#0013a5;text-decoration:underline}
.dock{
  position:fixed;bottom:9px;z-index:20;height:29px;box-sizing:border-box;
  background:#003399;color:#fff;border:1px solid #fff;border-radius:5px;
  padding:5px 8px;font-size:15px;font-weight:700;font-style:normal;line-height:17px;
}
.dock.right{right:10px;font-size:14px;font-weight:400;padding:6px 11px 5px}

.featured-market-pair{
  height:310px;
  background:#fff;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:minmax(0,1fr);
  align-items:stretch;
  gap:10px;
  padding:10px;
}
.featured-market-box{
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  display:grid;
  grid-template-rows:repeat(2,minmax(0,1fr));
  box-sizing:border-box;
  overflow:hidden;
  background:#ffcc99;
  border:2px solid #ff1493;
  border-radius:9px;
  box-shadow:0 1px 4px rgba(50,15,70,.15);
}
.featured-market-card{
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  box-sizing:border-box;
  padding:10px;
  background:transparent;
}
.featured-market-card + .featured-market-card{
  border-top:1px solid #ff1493;
}
.jack .featured-market-card h2{
  height:auto;
  width:100%;
  margin:0;
  padding:4px 0 0;
  overflow:visible;
  color:#001699;
  font-size:28px;
  font-weight:900;
  font-style:normal;
  line-height:1.1;
  text-align:center;
  white-space:normal;
}
.featured-market-details{
  flex:1 1 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.featured-market-result{
  color:#000;
  font-size:22px;
  font-weight:700;
  font-style:normal;
  line-height:1.15;
  text-align:center;
}
.featured-market-time{
  margin:0;
  color:#000;
  font-size:15px;
  font-weight:700;
  font-style:normal;
  line-height:1.15;
  text-align:center;
}
.featured-market-card .featured-chart-actions{
  flex:0 0 auto;
  width:100%;
  max-width:296px;
  margin:auto auto 0;
  gap:8px;
}
.featured-market-card .featured-chart-actions .go-jodi,
.featured-market-card .featured-chart-actions .go-panel{
  flex:1 1 0;
  min-width:0;
  min-height:44px;
  margin:0;
  padding:8px 4px;
  font-size:12px;
}
@media (max-width:600px){
  .featured-market-pair{
    height:360px;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:minmax(0,1fr);
    gap:6px;
    padding:6px;
  }
  .featured-market-card{
    padding:8px 5px;
  }
  .jack .featured-market-card h2{
    font-size:clamp(16px,5vw,22px);
    line-height:1.1;
  }
  .featured-market-result{
    font-size:clamp(16px,5vw,22px);
  }
  .featured-market-time{
    font-size:clamp(10px,3.5vw,14px);
  }
  .featured-market-card .featured-chart-actions{
    width:100%;
    gap:4px;
  }
  .featured-market-card .featured-chart-actions .go-jodi,
  .featured-market-card .featured-chart-actions .go-panel{
    min-height:40px;
    padding:5px 2px;
    font-size:clamp(8px,2.8vw,11px);
  }
}

/* Homepage-only palette matched to the corresponding DPBoss sections. */
body.board{
  --home-surface:#ffcc99;
  --home-title-bg:#ff00a2;
  --home-title-text:#fff8f8;
  --home-action-bg:#522f92;
  --home-action-text:#fff;
  --home-market-name:#00094d;
  --home-info-heading:#0013a5;
  --home-info-border:#e0557f;
  background:var(--home-surface);
}

/* Keep every ordinary homepage surface on the peach board background. */
body.board .brand,
body.board .hello,
body.board .blurb,
body.board .lucky,
body.board .featured-market-pair,
body.board .featured-market-box,
body.board .featured-market-card,
body.board .livebox,
body.board .keywords,
body.board .mgroup,
body.board .linkbox,
body.board .passed,
body.board .passed p,
body.board .weeks,
body.board .weeks > div,
body.board .gamezone,
body.board .game-date,
body.board .game-grid article,
body.board .grid,
body.board .chartlist,
body.board .chartlist a,
body.board .story,
body.board .footbox,
body.board .powered{
  background-color:var(--home-surface);
}

/* Pink title strips. */
body.board .lucky h3,
body.board .livebox h4,
body.board .pinkbar,
body.board .linkbox h4,
body.board .passed h4,
body.board .passed .pass-date,
body.board .gamezone > h4,
body.board .grid .ghead[colspan]{
  background:var(--home-title-bg);
  color:var(--home-title-text);
}

/* Jodi, Panel and Refresh actions. */
body.board .go-jodi,
body.board .go-panel,
body.board .liverow button,
body.board .dock{
  background:var(--home-action-bg);
  color:var(--home-action-text);
}
body.board a.go-jodi,
body.board a.go-panel{
  color:var(--home-action-text);
}

/* Market labels. */
body.board .featured-market-card h2,
body.board .mrow h4,
body.board .liverow span,
body.board .game-grid article > p:first-child{
  color:var(--home-market-name);
}

/* Informational headings and homepage chart-link text. */
body.board .blurb h1,
body.board .lucky h4,
body.board .weeks h4,
body.board .game-date strong,
body.board .game-date h5,
body.board .chartlist h6,
body.board .story-title,
body.board .story-h,
body.board .red-story .stone-h,
body.board .footbox h3,
body.board .copy a{
  color:var(--home-info-heading);
}
body.board .linkbox a,
body.board .chartlist a{
  background:var(--home-surface);
  color:var(--home-info-heading);
  -webkit-background-clip:border-box;
  background-clip:border-box;
  -webkit-text-fill-color:var(--home-info-heading);
}
body.board .chartlist a:hover,
body.board .chartlist a:focus-visible{
  background:var(--home-surface);
  border-color:var(--home-info-border);
}

/* Information-box outlines and internal separators. */
body.board .hello,
body.board .blurb,
body.board .lucky,
body.board .featured-market-pair,
body.board .featured-market-box,
body.board .banner,
body.board .livebox,
body.board .keywords,
body.board .mgroup,
body.board .linkbox,
body.board .passed,
body.board .weeks > div,
body.board .game-date,
body.board .game-grid article,
body.board .chartlist,
body.board .chartlist a,
body.board .story,
body.board .footbox,
body.board .powered{
  border-color:var(--home-info-border);
}
body.board .featured-market-card + .featured-market-card,
body.board .mrow,
body.board .liverow,
body.board .linkbox a,
body.board .game-grid article > p:first-child,
body.board .grid td,
body.board .story-h,
body.board .red-story .stone-h{
  border-color:var(--home-info-border);
}
body.board .lucky-a{
  border-right-color:var(--home-info-border);
}
body.board .lucky h3,
body.board .livebox h4,
body.board .pinkbar,
body.board .gamezone > h4{
  border-color:#fff;
}

/* Weekly a/b heading boxes only: pink -> red -> purple, one colour every 2s. */
@keyframes weekly-heading-colour-cycle{
  0%,100%{background-color:#ec168c}
  33.333%{background-color:#d6001c}
  66.667%{background-color:#7026a8}
}

body.board .weeks > div[data-weekly-a="patti"] > h4,
body.board .weeks > div[data-weekly-b="line"] > h4,
body.board .weeks > div[data-weekly-b="jodi"] > h4{
  box-sizing:border-box;
  width:100%;
  margin:0 0 4px;
  padding:8px 10px;
  border:2px solid rgba(255,255,255,.92);
  border-radius:12px;
  color:#fff;
  font-size:clamp(14px,3.8vw,16px);
  font-weight:800;
  line-height:1.35;
  text-align:center;
  white-space:normal;
  overflow-wrap:anywhere;
  text-shadow:0 1px 2px rgba(0,0,0,.55);
  animation:weekly-heading-colour-cycle 6s linear infinite;
  will-change:background-color;
}
/* Daily Guessing market headings: deterministic India-date palette. */
body.board .game-grid article[data-guessing-tone] > p:first-child{
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  width:100%;
  min-height:48px;
  margin:0 0 5px;
  padding:7px 6px;
  border:1px solid rgba(255,255,255,.82);
  border-radius:10px;
  color:#fff;
  font-size:clamp(13px,3.6vw,16px);
  font-weight:800;
  line-height:1.18;
  text-align:center;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
  text-shadow:0 1px 2px rgba(0,0,0,.58);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18);
}
body.board .game-grid article[data-guessing-tone="0"] > p:first-child{background:linear-gradient(135deg,#0b4fa8,#2879d0)}
body.board .game-grid article[data-guessing-tone="1"] > p:first-child{background:linear-gradient(135deg,#54207d,#873cac)}
body.board .game-grid article[data-guessing-tone="2"] > p:first-child{background:linear-gradient(135deg,#711b3d,#a63b62)}
body.board .game-grid article[data-guessing-tone="3"] > p:first-child{background:linear-gradient(135deg,#006765,#15948c)}
body.board .game-grid article[data-guessing-tone="4"] > p:first-child{background:linear-gradient(135deg,#9b3b05,#d5690c)}
/* Welcome box: a clear logo at left and exactly two complete text lines at right. */
body.board .hello{
  gap:clamp(2px,.6vw,7px);
  padding-inline:clamp(4px,1.5vw,10px);
}
body.board .hello .hello-brand-logo{
  flex:0 0 clamp(86px,24vw,104px);
  width:clamp(86px,24vw,104px);
  height:68px;
  padding:0 1px;
  gap:2px;
  overflow:visible;
}
body.board .hello .hello-brand-logo__name{
  gap:2px;
  transform:none;
}
body.board .hello .hello-brand-logo__dp{
  font-size:26px;
}
body.board .hello .hello-brand-logo__star{
  font-size:20px;
}
body.board .hello .hello-brand-logo__subtitle{
  font-size:11.5px;
}
body.board .hello > .hello-copy{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:0;
  overflow:visible;
  font-size:clamp(9px,2.8vw,15px);
  line-height:1.3;
  letter-spacing:-.15px;
}
body.board .hello .hello-copy__line{
  display:block;
  max-width:100%;
  white-space:nowrap;
}

/* Homepage masthead: enlarge the rendered text itself, not an image/container. */
body.board > .brand{
  height:auto;
  min-height:96px;
  padding-block:clamp(6px,1.1vw,16px);
}
body.board > .brand .brand-text-logo{
  width:auto;
  max-width:100%;
  justify-content:center;
  gap:0;
}
body.board > .brand .brand-text-logo__dp{
  font-size:max(43px,14.8vw);
}
body.board > .brand .brand-text-logo__star{
  font-size:max(34px,11.2vw);
  letter-spacing:0;
}
body.board > .brand .brand-subtitle{
  font-size:clamp(11px,3vw,14px);
}

/* Chart actions must remain above the floating Refresh control. */
body.board .go-jodi,
body.board .go-panel{
  position:relative;
  z-index:21;
  isolation:isolate;
}

/* Homepage Welcome only: two readable, unbroken lines beside the logo. */
body.board > .hello{
  height:auto;
  min-height:82px;
  padding-block:5px;
}
body.board > .hello > .hello-copy{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:0;
  margin:0;
  overflow:visible;
  color:#000;
  font-weight:800;
  font-style:italic;
  line-height:1.12;
  letter-spacing:-.16px;
  text-align:center;
  gap:2px;
}
body.board > .hello > .hello-copy > .hello-copy__line{
  display:block;
  max-width:100%;
  white-space:nowrap;
}
body.board > .hello > .hello-copy > .hello-copy__title{
  font-size:clamp(16px,4.9vw,25px);
  font-weight:900;
}
body.board > .hello > .hello-copy > .hello-copy__note{
  font-size:clamp(13px,3.7vw,18px);
  font-weight:800;
}

/* Homepage Result And Board only: compact natural height and readable copy. */
body.board > .blurb{
  height:auto;
  min-height:0;
  margin:0 0 2px;
  padding:0;
  overflow:visible;
}
body.board > .blurb > .home-board-title{
  height:auto;
  margin:0;
  padding:5px 8px 1px;
  color:#0013a5;
  font-size:clamp(15px,4.2vw,18px);
  font-weight:800;
  font-style:italic;
  line-height:1.18;
  text-align:center;
}
body.board > .blurb > .home-board-intro{
  height:auto;
  margin:0;
  padding:2px 10px 8px;
  overflow:visible;
  color:#000;
  font-size:clamp(13px,3.55vw,15px);
  font-weight:600;
  font-style:italic;
  line-height:1.2;
  text-align:center;
}
