/* Custom CSS extracted and modernized from newsmhome.css */

.gameplay {
  cursor: pointer;
  position: fixed;
  right: 0.5em;
  background-color: rgba(164, 0, 69, .5);
  z-index: 2;
  opacity: 1;
  writing-mode: vertical-rl;
  display: flex;
  color: white;
  padding: 0.5em 0.3em;
  margin: 0;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.gamename-head-daily-tips {
  background-color: #ff1493;
  margin-top: 0;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  padding: 10px 0 5px;
  border-radius: 8px 8px 0 0 !important;
  width: calc(100% + 4px);
  margin: -2px -2px 0 -2px;
}

.game-col {
  margin-bottom: 20px;
  padding: 6px;
  min-height: 333px;
  overflow-x: hidden;
  overflow-y: hidden;
  border: 2px solid #ff1493;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: #fff;
}



.pa-0 {
  padding: 0
}

.ma-0 {
  margin: 0
}

.pa-1 {
  padding: 8px
}

.subscription-box {
  margin-left: 0;
  margin-right: 0;
  margin-top: 50px;
  margin-bottom: -50px;
}

.pa-2 {
  padding: 16px
}

.main {
  letter-spacing: 2.1vw;
}

/* Header & Text Blocks */
.heading {
  background-color: #ff1493;
  color: #fff;
  text-align: center;
  margin-top: 0;
  margin-bottom: 15px;
  padding-top: 6px;
  font-size: 30px;
  display: flex;
  justify-content: center;
  align-items: center
}

.text {
  text-align: justify;
  border: 4px solid #ff1493;
  padding-top: 3px;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  overflow: hidden;
  max-width: 100%;
  word-wrap: break-word;
  box-sizing: border-box;
}

/* Time banner */
.time {
  overflow-x: hidden;
  max-width: 100%;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

/* Daily Chart Fixes */
.game-row {
  overflow: hidden !important;
  max-width: 100%;
}

#data_table_guess_chart {
  overflow: hidden !important;
}

#data_table_guess_chart .text {
  overflow: hidden !important;
}

#data_table_guess_chart .row {
  overflow: hidden !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.pana,
.pana-number,
.main,
.jodi-number {
  text-align: center !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.match {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.subscription-box {
  text-align: center !important;
}

/* Charts */
table.x-chart-div {
  background-color: #fff;
  max-width: 500px;
  border: 5px solid #5d26a5;
  border-bottom: none;
  border-top: none;
  text-align: center !important;
  table-layout: fixed;
  margin: 0 auto;
  width: 100%
}

.single-text,
.single-text-jodi,
.vertical-data,
.x-chart-div th,
.xchart-date {
  text-align: center;
  font-weight: 700
}

.single-text-jodi {
  font-size: 25px !important;
  text-align: center;
  font-weight: bold;
  border: 1px solid #000
}

.single-text {
  font-size: 22px !important
}

.vertical-data,
.xchart-date {
  font-size: 12px !important;
  font-family: Comic Sans MS;
  text-shadow: .5px .5px #fff00e
}

.xchart-date {
  padding-top: 2px !important;
  padding-bottom: 2px !important
}

.x-chart-div th {
  font-size: 18px !important;
  background-color: #fff;
  border-bottom: 1px solid #000;
  height: 30px;
  position: sticky;
  position: -webkit-sticky;
  box-shadow: 0 4px 2px -2px #000;
  top: 55px;
  padding-top: 10px
}

.sub-number-light {
  height: 60px
}




#bottommenu {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: auto;
  -webkit-transition: bottom .5s;
  transition: bottom .5s;
  z-index: 1900;
  /* Level 2 */
}


#bottomNav a {
  text-decoration: none;
  color: gray
}

#bottomNav ul li {
  list-style: none;
  padding-top: 3px
}

.active_me {
  color: #ff1493
}

.active_me a {
  color: #ff1493 !important
}

/* Loaders/Animations */
@keyframes shine {
  0% {
    background: silver;
    color: #000
  }

  50% {
    background: #90ee90;
    color: red
  }
}

.loader {
  animation: 1s shine infinite;
  transition: .3s
}

@keyframes blink {
  50% {
    color: transparent
  }
}

.loader__dot {
  animation: 1s blink infinite
}

.loader__dot:nth-child(2) {
  animation-delay: 250ms
}

.loader__dot:nth-child(3) {
  animation-delay: .5s
}

/* Flash Animation for Buttons (White) */
@keyframes flash-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    transform: scale(1);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    transform: scale(1.03);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    transform: scale(1);
  }
}

/* Flash Animation for Buttons (Red) - For white backgrounds */
@keyframes flash-pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    transform: scale(1);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
    transform: scale(1.03);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    transform: scale(1);
  }
}

.flash-btn {
  animation: flash-pulse 2s infinite;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.flash-btn-red {
  animation: flash-pulse-red 2s infinite;
  border: 1px solid rgba(255, 0, 0, 0.5) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.flash-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Result Tables General */
table#daily td,
table#daily th {
  text-align: center;
  border: 1px solid #000;
  color: #333
}

table#weekly th {
  color: #333;
  text-align: center
}

.frequency,
td.HEADLINES {
  color: #fff !important;
  background-color: #ff1493;
  text-align: center;
  text-shadow: 2px 2px 2px #000;
  vertical-align: middle;
}

.box-style {
  padding-bottom: 5px
}

.blue-box,
.brown-box {
  border: 1px solid #fff;
  height: 275px;
  padding: 0
}

.jodi-number {
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Impact, fantasy;
  text-shadow: -1px 1px 0 #fff, 1px 1px 0 #fff, 1px 1px 0 #fff, -1px -1px 0 #fff
}

.pana-number {
  font-size: 25px;
  text-shadow: 0 0 4px #fff;
  align-items: center;
  justify-content: center
}

.starline,
.time {
  align-items: center
}

.time {
  font-family: monospace;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  white-space: nowrap
}

.brown-box {
  background-color: #f2cd98
}

.blue-box {
  background-color: #5bc0de
}

.pana {
  color: #000;
  margin-bottom: 4px;
  padding: 5px 0 3px;
  font-size: 18px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff
}

.arrow {
  font-size: 15px;
  margin-top: 35px;
  margin-bottom: 30px
}

.star-line {
  background: linear-gradient(to right, #f2cd98 50%, #5bc0de 50%)
}

.starline {
  height: 60px;
  display: flex;
  justify-content: center;
  white-space: nowrap
}

#cell-1-table {
  width: 90%;
  max-width: 200px;
  margin-top: 10px
}

#cell-1-table caption,
th {
  text-align: center
}

.frequency {
  width: 130px;
  left: 50%;
  transform: translateX(-50%);
  padding: .1em;
  position: relative;
  letter-spacing: .1em;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
  background: -webkit-linear-gradient(right, #c00, red, #c00);
  display: inline-block;
  margin-top: 5px
}

#frequency:after,
#frequency:before,
.frequency:after,
.frequency:before {
  content: "";
  bottom: -.5em;
  position: absolute;
  display: block
}

.frequency:after,
.frequency:before {
  width: 1.8em;
  border: .9em solid #c00;
  z-index: -2
}

.frequency:before {
  left: -1.35em;
  border-right-width: .75em;
  border-left-color: transparent
}

.frequency:after {
  right: -1.35em;
  border-left-width: .75em;
  border-right-color: transparent
}

#frequency:after,
#frequency:before {
  border-style: solid;
  border-color: #900 transparent transparent;
  z-index: 1
}

#frequency:before {
  left: 0;
  border-width: .5em 0 0 .5em
}

#frequency:after {
  right: 0;
  border-width: .5em .5em 0 0
}

.makeRed {
  color: red
}

.makeBlack {
  color: #000
}

.gamename {
  color: #000;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  text-shadow: -1px 1px 0 #fff, 1px 1px 0 #fff, 1px 1px 0 #fff, -1px -1px 0 #fff;
  margin-bottom: 0;
  line-height: 1;
}

.livename {
  height: 27px
}

.data-update {
  height: 27px
}

.jodi-number {
  font-weight: 800
}

.vert-center {
  vertical-align: middle
}

.pana-number {
  color: #000;
  font-weight: 600;
  text-shadow: -.1px .1px 0 #fff, .1px .1px 0 #fff, .1px .1px 0 #fff, -.1px -.1px 0 #fff
}

.update-item {
  min-height: 85px
}

.gamename-head {
  font-size: 22px;
  font-weight: bold;
  margin-top: -10px
}

.superLoader {
  max-width: 57px;
  font-size: 10px;
  height: 15px;
  margin-right: -35px;
  margin-top: -9px
}

.result-div {
  min-height: 48px;
  margin-bottom: -20px
}

.marque-results {
  display: none
}

.img-responsive {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1vw;
  margin-bottom: 5vw;
  border: 2vw solid #fff;
  border-radius: 1vw;
  width: 60vw;
  height: 35vw;
  object-fit: cover;
  object-position: 100% 0;
  background-color: white;
  box-shadow: 0 .5vw 1vw 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%)
}

.thumbnail {
  height: inherit
}

.ads {
  display: flex;
  align-items: center;
  justify-content: center
}

.verticaltext {
  width: 7px;
  word-wrap: break-word;
  white-space: pre-wrap;
  margin: auto
}

.weeklychart {
  max-width: 500px;
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: center;
  margin: auto;
}

.weeklychart td,
.weeklychart th {
  border: 1px solid #000;
  height: 166px;
  vertical-align: middle;
  padding: 2px;
  overflow: hidden;
}

.weeklychart th[colspan="3"],
.weeklychart td[colspan="3"] {
  width: 30%;
}

.weeklychart th:not([colspan]),
.weeklychart td:not([colspan]):not(.HEADLINES) {
  width: 15%;
}

.weeklychart .HEADLINES {
  width: 10%;
}

.monthlychart {
  table-layout: fixed;
  width: 100%;
  border: 2px solid #000;
  border-collapse: collapse;
  color: #000;
}

.monthly1 {
  background-color: #E6E6FA;
  text-align: center;
  border: 1px solid #888;
}

.monthly2 {
  background-color: #8FBC8F;
  text-align: center;
  border: 1px solid #888;
}

.border-right-thick {
  border-right: 3px solid #000 !important;
}

.border-bottom-thick {
  border-bottom: 3px solid #000 !important;
}

.border-top-thick {
  border-top: 3px solid #000 !important;
}

.blackfont {
  color: #000;
}

.resultbox {
  table-layout: fixed;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.onlinecouner {
  display: inline;
  background: #000000;
  cursor: none;
  border: 2px solid #ffffff;
  border-radius: 5px;
  margin: auto;
  padding: 2px 15px 2px 15px;
  text-align: right;
  color: #17ff00;
  width: 80px;
  font-family: Tahoma;
  font-size: 10px;
  line-height: 10px;
}

/* Mobile Styles */
@media only screen and (max-width:320px) {
  .jodi-number {
    font-size: 7.5vw !important;
  }

  .pana-number {
    font-size: 4.5vw !important;
  }
}

@media only screen and (max-width:699px) {
  .daily-row {
    margin: 0
  }

  .daily-td-data {
    height: 160px
  }

  .daily-jodi-number {
    font-size: 40px
  }

  .daily-pana {
    font-size: 14px
  }

  .daily-pana-number {
    font-size: 12px;
    padding: 0
  }
}

@media only screen and (min-width:700px) and (max-width:799px) {
  .daily-td-data {
    height: 200px
  }

  .daily-jodi-number {
    font-size: 52px
  }

  .daily-pana {
    font-size: 20px
  }

  .daily-pana-number {
    font-size: 18px
  }
}

@media only screen and (min-width:800px) {
  .daily-td-data {
    height: 200px
  }

  .daily-jodi-number {
    font-size: 64px
  }
}

/* Responsive Text Scaling (Ported from old CSS but cleaner) */
@media only screen and (max-width: 480px) {
  .mobileShow {
    display: inline
  }

  /*.laptopShow{display:none!important} */
  /* Bootstrap d-none d-md-block handles this better */
  .gamename {
    font-size: 7.5vw;
    height: 8vw;
    padding-top: 1.5vw;
    line-height: 1;
    display: block;
    margin-bottom: 0;
  }

  .jodi-number {
    font-size: 9.5vw !important;
  }

  .pana-number {
    font-size: 6vw !important;
  }

  .time {
    font-size: 4vw;
  }

  .heading {
    font-size: 30px;
  }

  /* Keep readable */
  .starline {
    height: 23vw;
  }
}

/* --- Improved Footer Styles (Dark Theme) --- */
.footer {
  background-color: #2c2c2c;
  padding: 40px 0 80px 0;
  /* Extra bottom padding for floating buttons */
  text-align: center;
  border-top: 1px solid #444;
  color: #eeeeee;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer span.block {
  display: block;
  margin-bottom: 10px;
}

.footer .text-small {
  font-size: 14px;
  color: #aaaaaa;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer i {
  font-size: 24px;
  margin: 0 8px;
  color: #cccccc;
  vertical-align: middle;
  transition: color 0.3s ease;
}

.footer i:hover {
  color: #ff1493;
}

.social-footer {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-footer a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-footer a:hover {
  transform: translateY(-5px);
  filter: brightness(1.1);
}

.social-footer a.facebook {
  background-color: #3b5998;
}

.social-footer a.twitter {
  background-color: #1da1f2;
}

.social-footer a.gplus {
  background-color: #ff0000;
}

/* YouTube red */

.copyright {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 13px;
  color: #999;
}

.copyright .navigation {
  margin-top: 10px;
}

.copyright .navigation a {
  color: #ff1493;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
}

.copyright .navigation a:hover {
  text-decoration: underline;
}

/* Floating Buttons Adjustments */
/* Floating Buttons Aggressive Transparency */
.float-btn {
  position: fixed;
  z-index: 1700;
  /* Level 4 */
  padding: clamp(3px, 1vw, 6px) clamp(6px, 1.8vw, 10px);
  font-size: clamp(9px, 3vw, 13px);
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}



.float-left {
  left: 10px;
}

.float-right {
  right: 10px;
}

.float-telegram {
  bottom: 80px;
  border: 1px solid #0088cc !important;
  background: rgba(0, 136, 204, 0.7) !important;
}

.float-telegram a,
.float-telegram i {
  color: #fff !important;
}

.float-call {
  bottom: 80px;
  border: 1px solid #dc143c !important;
  background: rgba(220, 20, 60, 0.7) !important;
}

.float-call a,
.float-call i {
  color: #fff !important;
}

.float-whatsapp {
  bottom: 115px;
  border: 1px solid #25d366 !important;
  background: rgba(37, 211, 102, 0.7) !important;
}

.float-whatsapp a,
.float-whatsapp i {
  color: #fff !important;
}

.float-refresh {
  bottom: 115px;
  border: 1px solid #ff8c00 !important;
  background: rgba(255, 140, 0, 0.7) !important;
}

.float-refresh a,
.float-refresh i {
  color: #fff !important;
}

.float-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.15);
}

/* Ensure no overlap with mobile bottom menu */
@media only screen and (max-width: 480px) {
  .footer {
    padding-bottom: 240px !important;
    /* Extra padding for mobile navigation and floating buttons */
  }
}

/* Popular Ribbon Style */
.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 10px;
  background-color: #ff1493;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 10;
  border: 2px solid white;
}

.position-relative {
  position: relative !important;
}

.btn-close-custom {
  background: none;
  border: none;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  opacity: 0.5;
}

.btn-close-custom:hover {
  color: #000;
  opacity: 0.75;
}


.jodi-number {
  color: #000000;
  font-weight: bold;
}

/* Restored Original Media Queries from sminner.css */
@media only screen and (max-width:320px) {
  .col-xs-6 {
    width: 100% !important
  }

  .col-xs-3 {
    min-height: .2vw !important;
    padding-right: 3vw !important;
    padding-left: 3vw !important;
  }

  #bottomNav ul li {
    padding-top: 1vw;
    !important
  }

  #record {
    right: calc(50% - 15vw);
    top: 55px;
    width: 30vw;
    height: 3vw;
    display: inline-block;
    font-size: 2vw;
    -moz-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    -webkit-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out
  }

  .top-navbar .top-navbar-left a {
    font-size: 8vw;
    padding: 2vw 5vw;
  }

  .top-navbar {
    height: 17vw;
  }

  .alert {
    padding: 2vw;
  }

  .smlogo {
    max-height: 10vw;
    max-width: 95%;
    vertical-align: middle;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .arrow {
    font-size: 4.2vw;
    margin: 9vw 7vw
  }

  .blue-box,
  .brown-box {
    height: 98vw !important
  }

  .box-style {
    box-shadow: 0 .3vw #a9a9a9;
    padding-bottom: 1vw
  }

  .frequency {
    font-size: 3.5vw;
    width: 32vw;
    margin-bottom: 1vw
  }

  .jodi-btn,
  .pana-btn {
    font-size: 5vw !important;
    padding: 1vw 4vw;
    line-height: 1.5 !important;
    border-radius: 1.2vw !important
  }

  .jodi-number {
    font-family: fantasy;
    font-size: 16vw !important;
    text-shadow: -0.2vw 0.2vw 0 #fff, 0.2vw 0.2vw 0 #fff, 0.2vw 0.2vw 0 #fff, -0.2vw -0.2vw 0 #fff;
  }

  .laptopShow {
    display: none !important
  }

  .liveupdate {
    margin-top: -2.5vw;
    center: 0px;
    z-index: 999;
    font-weight: 900;
    min-height: 16.8vw;
    max-height: 16.8vw;
  }

  .livename {
    font-size: 4.5vw;
    padding: -2.5vw;
    color: #333;
    white-space: nowrap;
    height: 7vw;
  }

  .livepana {
    font-size: 4vw;
    color: #333;
    white-space: nowrap;
  }

  .livejodi {
    font-size: 4.5vw;
    white-space: nowrap;
  }

  .mobileShow {
    display: inline
  }

  .pana {
    color: #000;
    margin-top: 4vw;
    margin-bottom: 4vw;
    padding: 4vw 0 3vw 0;
    font-size: 7.5vw;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-shadow: -.1vw 0 #fff, 0 .1vw #fff, .1vw 0 #fff, 0 -.1vw #fff;
  }

  .pana-number {
    color: #000;
    font-size: 8vw !important;
    text-shadow: -0.1vw 0.1vw 0 #fff, 0.1vw 0.1vw 0 #fff, 0.1vw 0.1vw 0 #fff, -0.1vw -0.1vw 0 #fff;
  }

  .gamename {
    color: #000;
    height: 8vw;
    font-weight: 800;
    font-size: 7.5vw;
    line-height: 1;
    padding-top: 1.5vw;
    text-shadow: -0.2vw 0.2vw 0 #fff, 0.2vw 0.2vw 0 #fff, 0.2vw 0.2vw 0 #fff, -0.2vw -0.2vw 0 #fff;
    display: block;
    margin-bottom: 1.5vw;
  }

  .starline {
    height: 23vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    white-space: nowrap;
  }

  .single-text,
  .single-text-jodi,
  .x-chart-div th,
  .xchart-date {
    vertical-align: middle !important
  }

  .single-text,
  .single-text-jodi {
    font-family: Comic Sans MS;
    text-shadow: .2vw .2vw #fff00e
  }

  .single-text-jodi {
    font-size: 5.7vw !important;
    text-align: center;
    font-weight: 700;
    text-align: center;
    font-weight: bold;
    border: .2vw solid #000;
  }

  .single-text {
    font-size: 4.6vw !important;
    text-align: center !important;
    font-weight: 700
  }

  .time {
    font-family: monospace;
    font-size: 4vw;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    white-space: nowrap;
  }

  table.x-chart-div {
    background-color: #fff;
    border: .7vw solid #5d26a5;
    border-bottom: none;
    border-top: none;
    align: center !important;
    text-align: center !important;
    table-layout: fixed;
    margin: 0 auto;
    width: 100%
  }

  .vertical-data,
  .xchart-date {
    font-family: Comic Sans MS;
    text-shadow: .1vw .1vw #fff00e;
    font-weight: 550
  }

  .vertical-data {
    font-size: 2.7vw !important;
    text-align: center
  }

  .vertical-data br:first-child {
    display: none
  }

  .xchart-date {
    font-size: 2.5vw !important;
    text-align: center !important;
    padding-top: .5vw !important;
    padding-bottom: .5vw !important
  }

  .x-chart-div th {
    font-size: 3vw !important;
    text-align: center;
    background-color: #fff;
    border-bottom: 1px solid #000;
    height: 7vw;
    position: sticky;
    position: -webkit-sticky;
    box-shadow: 0 4px 2px -2px #000;
    top: 55px;
    font-weight: 700;
    padding-top: 2vw;
  }

  .ads {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .verticaltext {
    width: 4vw;
    word-wrap: break-word;
    white-space: pre-wrap;
    margin: auto;
  }
}

@media only screen and (min-width: 321px) and (max-width: 480px) {
  #record {
    right: calc(50% - 15vw);
    top: 55px;
    width: 30vw;
    height: 3vw;
    display: inline-block;
    font-size: 2vw;
    -moz-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    -webkit-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out
  }

  .smlogo {
    max-height: 10vw;
    max-width: 100%;
    vertical-align: middle;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .arrow {
    font-size: 4.2vw;
    margin: 9vw 7vw
  }

  .blue-box,
  .brown-box {
    border: .3vw solid #fff;
    height: 66vw;
    padding: 0
  }

  .box-style {
    box-shadow: 0 .3vw #a9a9a9;
    padding-bottom: 1vw
  }

  .frequency {
    font-size: 2.5vw;
    width: 20vw;
    margin-bottom: 1vw
  }

  .jodi-btn,
  .pana-btn {
    font-size: 3.2vw;
    padding: 1vw 4vw;
    line-height: 1.5;
    border-radius: 1vw
  }

  .jodi-number {
    font-size: 8vw;
    font-family: fantasy;
    text-shadow: -0.2vw 0.2vw 0 #fff, 0.2vw 0.2vw 0 #fff, 0.2vw 0.2vw 0 #fff, -0.2vw -0.2vw 0 #fff;
  }

  .laptopShow {
    display: none !important
  }

  .liveupdate {
    margin-top: -6px;
    padding-top: 0px;
    padding-bottom: 0px;
    center: 0px;
    z-index: 999;
    font-weight: 900;
    min-height: 54px;
    max-height: 54px;
  }

  .livename {
    font-size: 5vw;
    color: #333;
    white-space: nowrap;
  }

  .livepana {
    font-size: 4.5vw;
    color: #333;
    white-space: nowrap;
  }

  .livejodi {
    font-size: 5vw;
    white-space: nowrap;
  }

  .mobileShow {
    display: inline
  }

  .pana {
    color: #000;
    margin-top: 2.6vw;
    margin-bottom: 2.6vw;
    padding: 2.5vw 0 2vw 0;
    font-size: 4.5vw;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-shadow: -.1vw 0 #fff, 0 .1vw #fff, .1vw 0 #fff, 0 -.1vw #fff;
  }

  .pana-number {
    color: #000;
    font-size: 6vw;
    text-shadow: -0.1vw 0.1vw 0 #fff, 0.1vw 0.1vw 0 #fff, 0.1vw 0.1vw 0 #fff, -0.1vw -0.1vw 0 #fff;
  }

  .gamename {
    color: #000;
    height: 8vw;
    font-weight: 800;
    font-size: 5vw;
    line-height: 1;
    text-shadow: -0.2vw 0.2vw 0 #fff, 0.2vw 0.2vw 0 #fff, 0.2vw 0.2vw 0 #fff, -0.2vw -0.2vw 0 #fff;
    margin-bottom: 0 !important;
  }

  .starline {
    height: 16vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    white-space: nowrap;
  }

  .single-text,
  .single-text-jodi,
  .x-chart-div th,
  .xchart-date {
    vertical-align: middle !important
  }

  .single-text,
  .single-text-jodi {
    font-family: Comic Sans MS;
    text-shadow: .2vw .2vw #fff00e
  }

  .single-text-jodi {
    font-size: 5.7vw !important;
    text-align: center;
    font-weight: 700;
    text-align: center;
    font-weight: bold;
    border: .2vw solid #000;
  }

  .single-text {
    font-size: 4.6vw !important;
    text-align: center !important;
    font-weight: 700
  }

  .time {
    font-family: monospace;
    font-size: 2.9vw;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    white-space: nowrap;
  }

  table.x-chart-div {
    background-color: #fff;
    border: .7vw solid #5d26a5;
    border-bottom: none;
    border-top: none;
    align: center !important;
    text-align: center !important;
    table-layout: fixed;
    margin: 0 auto;
    width: 100%
  }

  .vertical-data,
  .xchart-date {
    font-family: Comic Sans MS;
    text-shadow: .1vw .1vw #fff00e;
    font-weight: 550
  }

  .vertical-data {
    font-size: 2.7vw !important;
    text-align: center
  }

  .vertical-data br:first-child {
    display: none
  }

  .xchart-date {
    font-size: 2.5vw !important;
    text-align: center !important;
    padding-top: .5vw !important;
    padding-bottom: .5vw !important
  }

  .x-chart-div th {
    font-size: 3vw !important;
    text-align: center;
    background-color: #fff;
    border-bottom: 1px solid #000;
    height: 7vw;
    position: sticky;
    position: -webkit-sticky;
    box-shadow: 0 4px 2px -2px #000;
    top: 55px;
    font-weight: 700;
    padding-top: 2vw;
  }

  .ads {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .verticaltext {
    width: 2vw;
    word-wrap: break-word;
    white-space: pre-wrap;
    margin: auto;
  }
}


/* --- Consolidated Floating Action Buttons (FAB) --- */
:root {
  --fab-size: clamp(30px, 7vw, 36px);
}

.call {
  position: static;
}

.customBox {
  display: none !important;
}

.customBox+label {
  cursor: pointer;
  position: fixed;
  left: 20px;
  bottom: 15px;
  /* Lowered to sit behind bottom menu */
  background-color: rgba(255, 20, 147, 0.7) !important;
  height: var(--fab-size);
  width: var(--fab-size);
  border-radius: 50%;
  z-index: 1800;
  /* Level 3 */
  opacity: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(255, 20, 147, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid #ff1493;
}


.customBox+label:before,
.customBox+label:after {
  content: '';
  position: absolute;
  background-color: #fff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.customBox+label:before {
  width: 2px;
  height: 16px;
}

.customBox+label:after {
  width: 16px;
  height: 2px;
}

.customBox:checked+label {
  background-color: #333;
  transform: rotate(135deg);
}

.one,
.two,
.three,
.four {
  position: fixed;
  left: 20px;
  bottom: 15px;
  /* Lowered to sit behind bottom menu */
  width: var(--fab-size);
  height: var(--fab-size);
  border-radius: 50%;
  z-index: 1799;
  /* Level 3 (Just below main label) */
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


.one a,
.two a,
.three a,
.four a {
  color: #fff !important;
  font-size: clamp(10px, 3vw, 14px);
  display: flex !important;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.customBox:checked~.one,
.customBox:checked~.two,
.customBox:checked~.three,
.customBox:checked~.four {
  opacity: 1;
  transform: scale(1);
}

/* Fan out positions */
.customBox:checked~.one {
  background-color: #0088cc;
  /* Telegram Blue */
  transform: scale(1) translateY(-45px);
  transition-delay: 0.05s;
}

.customBox:checked~.two {
  background-color: #ff8c00;
  /* SMS Orange */
  transform: scale(1) translateX(45px);
  transition-delay: 0.1s;
}

.customBox:checked~.three {
  background-color: #25d366;
  /* WhatsApp Green */
  transform: scale(1) translateX(35px) translateY(-35px);
  transition-delay: 0.15s;
}





/* Adjust for smaller mobile screens */
@media only screen and (max-width: 480px) {

  .customBox+label,
  .one,
  .two,
  .three,
  .four {
    bottom: 15px;
    /* Lowered on mobile to hide behind bar */
    /* Stay above bottom bar */
  }

  #to-top {
    bottom: 15px !important;
    /* Sync with FAB on mobile */
  }
}

/* Visibility Utilities (Moved to bottom) */
.mobileShow {
  display: none !important;
}

.laptopShow {
  display: block !important;
}

@media only screen and (max-width: 480px) {
  .mobileShow {
    display: block !important;
  }

  .laptopShow {
    display: none !important;
  }
}

/* Extra Small Button */
.btn-xs {
  padding: 1px 5px !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
  border-radius: 3px !important;
}

.btn-freq {
  min-width: 100px !important;
  display: inline-block !important;
}

.alert-warning {
  font-weight: normal !important;
}

.separator {
  border-top: 3px solid #000;
  margin-top: 25px;
  margin-bottom: 25px;
  width: 100%;
}