/* Jodi / panel chart pages — matched to the classic chart layout */
body.skm-chart {
  background: #000;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;
  margin: 0;
}
body.skm-chart .chart-wrap {
  max-width: 1100px;
  margin: 0 auto;
  background: #000;
  min-height: 100vh;
}
body.skm-chart a { color: #f00; text-decoration: none; }

.chart-head {
  color: #fff;
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 700;
  text-align: center;
  border: 3px solid red;
  margin: 3px 0;
  padding: 3px;
}
.chart-head-jodi { background: #6d0c3e; }
.chart-head-panel { background: #0c0361; }
.chart-head a,
.chart-head h1,
.chart-head h2,
.chart-head p { color: #fff; font-style: italic; font-weight: 700; text-shadow: 1px 2px 3px #000; }
.chart-head h1 { font-size: 26px; margin: 0; padding: 4px; }
.chart-head h1 strong { font-weight: 900; }
.chart-head h2 { font-size: 19px; margin: 0; padding: 5px; }
.chart-head a { text-decoration: none; }

.live-card {
  position: relative;
  display: block;
  margin: 4px 8px;
  padding: 5px 58px 6px;
  background: #ffe400;
  border: 5px double #b22222;
  text-align: center;
}
.live-card-name {
  color: #00f;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 22px;
  letter-spacing: .03em;
  line-height: 1.1;
  text-transform: uppercase;
}
.live-card-num {
  margin-top: 1px;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 22px;
  line-height: 1.1;
}
.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 3px 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  font-style: normal;
  font-family: Arial, Helvetica, sans-serif;
}
.live-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff2d55;
  box-shadow: 0 0 0 2px rgba(255,45,85,.28);
}
a.live-refresh, .live-refresh {
  display: inline-block;
  margin-top: 3px;
  border: 1px solid #6d0d14;
  background: linear-gradient(180deg, #c4232e 0%, #8e121c 52%, #5c0a10 100%);
  color: #fff !important;
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
}

.sm2 {
  display: inline-block;
  border-left: gold solid 5px;
  border-right: gold solid 5px;
  border-top: gold solid 2px;
  border-bottom: gold solid 2px;
  background: #fff;
  border-radius: 4px;
  padding: 5px 8px;
  font-weight: 700;
  font-style: italic;
  font-size: large;
  text-align: center;
  text-shadow: 1px 1px gold;
  margin: 10px 0 5px;
  font-family: "Trebuchet MS", sans-serif;
  color: #f00 !important;
  text-decoration: none;
}

.chart-table-wrap, .panel-chart-wrap {
  overflow-x: auto;
  max-width: 100%;
  text-align: center;
  margin: 0 4px 8px;
}
table.chat7, table.pchart {
  background: #fff;
  color: #000;
  font-weight: 700;
  font-style: italic;
  font-size: large;
  font-family: Georgia, serif;
  border: 5px groove #893bff;
  text-shadow: 1px 1px gold;
  margin: auto;
}
table.chat7 { border-collapse: separate; border-spacing: 2px; }
table.pchart { border-collapse: collapse; }
table.chat7 td, table.pchart td, table.pchart th {
  text-align: center;
  color: #000;
  background: #fff;
}
table.chat7 td { border: 1px solid #893bff; padding: 5px 6px; font-size: 22px; }
table.pchart th, table.pchart td { border: 1px solid #c8c8c8; padding: 3px 2px; font-size: 16px; vertical-align: middle; }
table.pchart tr.chart-days th,
table.chat7 tr.chart-days th {
  background: linear-gradient(180deg, #fff 0%, #f5f5f5 52%, #e4e4e7 100%);
  color: #111;
  text-shadow: none;
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
  padding: 6px 2px;
}
table.chat7 font, table.pchart font,
.text-red, td.text-red, th.text-red { color: #f00 !important; }

.quick-links-panel {
  margin: 8px 10px;
  border: 2px solid #9d174d;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  text-align: center;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
}
.quick-links-heading {
  margin: 0;
  padding: .6rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: #be185d;
  color: #fff;
  border-bottom: 2px solid #9d174d;
}
.quick-links-nav .list { list-style: none; margin: 0; padding: 0; }
.quick-links-nav .list li {
  padding: .7rem 1rem;
  background: #fff;
  border-bottom: 2px solid #be185d;
  font-size: 1.15rem;
  font-weight: 700;
}
.quick-links-nav .list li:last-child { border-bottom: none; }
.quick-links-nav .list a { color: #1f2937; font-weight: 700; font-style: italic; }
.quick-links-nav .list li:hover { background: #fff1f2; }
.quick-links-nav .list li:hover a { color: #be185d; }

body.skm-chart .footer {
  margin: 8px;
  padding: 8px;
  color: #fff;
  font-size: 14px;
}
body.skm-chart .footer a { color: #ffeb3b; }

@media (max-width: 500px) {
  .chart-head h1 { font-size: 20px; }
  table.chat7 td { font-size: 16px; padding: 4px 2px; }
  table.pchart th, table.pchart td { font-size: 11px; padding: 2px 1px; }
  .live-card { padding-right: 52px; }
  .live-card-name, .live-card-num { font-size: 18px; }
}
