/* ==========================================================================
   Kolkata FF Games — Light theme with blue accent (compact)
   Tokens → base → header → sections → round board → month chart → content → footer
   ========================================================================== */

:root {
  --paper: #F4F7FD;          /* page background, blue-tinted        */
  --surface: #FFFFFF;        /* cards, header, footer               */
  --ink: #0F1F3D;            /* primary text, deep navy             */
  --muted: #5B6B8C;          /* secondary text                      */
  --line: #E3EAF6;           /* hairlines, card borders             */
  --accent: #1D5BF0;         /* blue accent                         */
  --accent-deep: #174BC4;    /* hover / pressed                     */
  --wash: #EAF1FE;           /* soft blue wash                      */
  --wash-2: #F0F5FF;         /* lighter wash, zebra rows            */
  --live: #E5484D;           /* live pulse dot only                 */
  --soon: #B45309;           /* "result soon" note                  */
  --shadow-sm: 0 1px 2px rgba(15, 31, 61, .05), 0 2px 8px rgba(15, 31, 61, .05);
  --shadow-md: 0 2px 4px rgba(15, 31, 61, .05), 0 12px 28px rgba(15, 31, 61, .08);
  --radius: 12px;
  --radius-sm: 9px;
  --font-display: 'Archivo', -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --section-pad: 28px;       /* compact vertical rhythm             */
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
}

a { text-decoration: none; color: var(--accent); }
a:hover { color: var(--accent-deep); }
li { list-style: none; }
img { max-width: 100%; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

section { scroll-margin-top: 72px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { max-width: 1140px; }

/* ==========================================================================
   Header
   ========================================================================== */

.main_header_area {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header_inn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  flex-shrink: 0;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 9px;
  box-shadow: 0 2px 6px rgba(15, 31, 61, .18);
}

.logo_text { display: flex; flex-direction: column; line-height: 1.15; }

.logo_text strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo_text small {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .02em;
}

.sandwich_btn {
  display: none;
}

.nav_backdrop {
  display: none;
}

.site_nav_wrap {
  display: flex;
  align-items: center;
}

.site_nav {
  display: flex;
  align-items: center;
  gap: 3px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.site_nav::-webkit-scrollbar { display: none; }

.nav_link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  transition: color .15s ease, background-color .15s ease;
}

.nav_link:hover { color: var(--accent); background: var(--wash); }

.nav_link.active {
  color: var(--accent);
  background: var(--wash);
  font-weight: 700;
}

.nav_arrow {
  display: none;
}

.nav_text_wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav_badge_hot {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: linear-gradient(135deg, #ff1744 0%, #ff5252 40%, #ff9100 100%);
  color: #ffffff !important;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  padding: 2.5px 6px 2px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(255, 23, 68, 0.4);
  animation: navBadgeHotPulse 1.8s infinite ease-in-out;
  position: relative;
  vertical-align: middle;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  user-select: none;
  flex-shrink: 0;
}

.nav_badge_hot svg {
  display: inline-block;
  vertical-align: middle;
  animation: navFlameWiggle 1.3s ease-in-out infinite alternate;
  transform-origin: center bottom;
}

@keyframes navBadgeHotPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 23, 68, 0.55);
  }
  60% {
    transform: scale(1.06);
    box-shadow: 0 0 0 5px rgba(255, 23, 68, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 23, 68, 0);
  }
}

@keyframes navFlameWiggle {
  0% {
    transform: rotate(-6deg) scale(0.95);
  }
  100% {
    transform: rotate(6deg) scale(1.1);
  }
}

.nav_link.is_cta {
  color: #fff;
  background: var(--accent);
  margin-left: 5px;
  box-shadow: 0 2px 8px rgba(29, 91, 240, .3);
}

.nav_link.is_cta:hover { background: var(--accent-deep); color: #fff; }

/* ==========================================================================
   Section shell + headings
   ========================================================================== */

.heading_area {
  background: linear-gradient(135deg, #0F2B66 0%, #174BC4 60%, #1D5BF0 100%);
  text-align: center;
  padding: 22px 0 24px;
}

.heading_area h1 {
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.heading_area h1 a { color: inherit; }
.heading_area h1 a:hover { color: var(--wash); }

.heading_area p {
  color: #ffffff !important;
  font-size: 14.5px;
  line-height: 1.5;
  margin: 8px auto 0;
  max-width: 720px;
}

.heading_area h4 {
  color: #C9DAFF;
  margin: 0;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
}

.section_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.section_head h2,
.section_head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.section_head h2 .soft,
.section_head h3 .soft { color: var(--muted); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--wash);
  border: 1px solid #D5E3FD;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0 0 10px;
}

.btn_refresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}

.btn_refresh:hover { border-color: var(--accent); background: var(--wash); }
.btn_refresh svg { width: 13px; height: 13px; fill: currentColor; }

/* ==========================================================================
   Live round board — 8 bazi in one row
   ========================================================================== */

.live_result_area {
  padding: var(--section-pad) 0 calc(var(--section-pad) + 4px);
}

.live_title {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.live_badge {
  display: inline-flex;
  align-items: center;
  color: var(--live);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  background: #FDEBEC;
  border: 1px solid #F8CFD1;
  border-radius: 999px;
  padding: 3px 11px;
}

.blink {
  width: 7px;
  height: 7px;
  background: var(--live);
  display: inline-block;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .45); opacity: 1; }
  50%      { box-shadow: 0 0 0 5px rgba(229, 72, 77, 0);  opacity: .55; }
}

.result_dste {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--wash);
  border: 1px solid #D5E3FD;
  color: var(--accent-deep);
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  margin: 0 0 0 6px;
  white-space: nowrap;
}

.round_board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 9px;
}

.round_card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 8px 10px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.round_card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #CBDCFB;
}

.round_head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  margin-bottom: 9px;
}

.round_no {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.25;
  white-space: nowrap;
}

.round_time {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}

.note_icon { width: 16px; height: 16px; fill: #12805C; }

.round_digits {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 70px;
}

.round_digits .patti {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--ink);
  line-height: 1;
}

.round_digits .single {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  font-weight: 800;
  color: var(--accent-deep);
  background: var(--wash);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.round_digits .live_q {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  background: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.round_digits .wait_mark {
  font-size: 17px;
  line-height: 1;
  color: #98A6C0;
}

.round_note {
  margin: 9px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Current round: solid blue "live desk" card */
.round_card.is_awaiting {
  background: linear-gradient(160deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(29, 91, 240, .38);
  padding-top: 18px;
}

.round_card.is_awaiting:hover { border-color: transparent; }

.round_card.is_awaiting .round_no { color: #fff; }
.round_card.is_awaiting .round_time { color: rgba(255, 255, 255, .85); }

.live_ribbon {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--accent-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(15, 31, 61, .18);
  white-space: nowrap;
}

.round_note.is_live { color: #fff; }

.result_text { margin-top: 16px; }

.result_text p {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  margin: 6px auto 0;
  max-width: 900px;
}

/* ==========================================================================
   Month chart — one line per day, all 8 bazi
   ========================================================================== */

.chart_month_area {
  padding: var(--section-pad) 0;
}

.heading_chart h1,
.heading_chart h2,
.heading_chart h3 {
  text-align: center;
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 800;
}

.heading_chart .chart_sub {
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  margin: 0 0 18px;
}

.chart_table_wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.month_chart {
  width: 100%;
  border-collapse: collapse;
}

.month_chart th {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  padding: 9px 4px;
  border-right: 1px solid rgba(255, 255, 255, .18);
}

.month_chart th:last-child { border-right: 0; }
.month_chart th.date_col { background: #0F2B66; width: 74px; }

.month_chart td {
  border: 1px solid var(--line);
  padding: 5px 3px;
  text-align: center;
  vertical-align: middle;
}

.month_chart td.date_cell {
  background: var(--wash);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.month_chart td.date_cell .dn { font-variant-numeric: tabular-nums; }

.month_chart .res { display: block; line-height: 1.2; }

.month_chart .res .p {
  display: block;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.month_chart .res .s {
  display: block;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--accent);
}

.month_chart tbody tr:nth-child(even) td { background: var(--wash-2); }
.month_chart tbody tr:nth-child(even) td.date_cell { background: var(--wash); }
.month_chart tbody tr:hover td { background: #F2F7FF; }
.month_chart tbody tr:hover td.date_cell { background: var(--wash); }

/* ==========================================================================
   Month / year link chips
   ========================================================================== */

.rest_month {
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.rest_month a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: border-color .15s ease, background-color .15s ease;
}

.rest_month a svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
  flex-shrink: 0;
  transition: transform .15s ease;
}

.rest_month a:hover {
  border-color: var(--accent);
  background: var(--wash);
  color: var(--accent-deep);
}

.rest_month a:hover svg { transform: translateX(3px); }

.rest_month a.is_year {
  background: linear-gradient(135deg, #0F2B66 0%, #1D5BF0 100%);
  border-color: transparent;
  color: #fff;
}

.rest_month a.is_year svg { fill: #fff; }
.rest_month a.is_year:hover { background: linear-gradient(135deg, #0C2354 0%, #174BC4 100%); color: #fff; }

/* ==========================================================================
   Time table
   ========================================================================== */

.timetable_area { padding: var(--section-pad) 0; }

.sing_time_table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px;
}

.time_heading h2 {
  text-align: center;
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
}

.time_heading table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.time_heading table.timetable_grid tr {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.time_heading table th {
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 8px;
}

.time_heading table td {
  background: var(--surface);
  color: var(--ink);
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: 9px 8px;
}

.time_heading table.timetable_grid th,
.time_heading table.timetable_grid td { display: block; }

/* ==========================================================================
   Content, accordions
   ========================================================================== */

.botm_txt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  text-align: center;
}

.botm_txt p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  max-width: 900px;
}

.page_content_area { padding: var(--section-pad) 0; }

.page_content_area_inn { max-width: 900px; margin: 0 auto; }

.page_sing_cont {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 10px 0;
  box-shadow: var(--shadow-sm);
}

.page_sing_cont h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 800;
}

.page_sing_cont p {
  font-size: 13.5px;
  color: #3D4C6B;
  line-height: 1.7;
  margin: 0 0 10px;
}

.page_sing_cont p:last-child { margin-bottom: 0; }

/* Accordions */

.single_accd { margin: 0 0 8px; }

.accordion {
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  padding: 12px 16px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: left;
  outline: none;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  transition: border-color .2s ease, background-color .2s ease;
}

.accordion:hover { border-color: var(--accent); background: var(--wash-2); }

.accordion.active {
  background: var(--wash);
  border-color: #CBDCFB;
  color: var(--accent-deep);
}

.accordion:after {
  content: '\002B';
  color: var(--accent);
  font-weight: 700;
  float: right;
  margin-left: 5px;
}

.accordion.active:after { content: "\2212"; }

.panel {
  padding: 0 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease-out;
}

.panel p { font-size: 13px; color: #3D4C6B; line-height: 1.65; }
.panel h3, .panel h4, .panel h5 { font-size: 14.5px; margin: 13px 0 5px; }
.panel p:nth-child(1) { padding: 12px 0 0; }

/* ==========================================================================
   Guide / CMS page
   ========================================================================== */

.howto_play_area { padding: var(--section-pad) 0 calc(var(--section-pad) + 4px); }

.howto_play_area .headeing { text-align: center; margin: 0 0 20px; }

.howto_play_area .headeing h1 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 5px;
}

.howto_play_area .headeing p { color: var(--muted); font-size: 13.5px; margin: 0; }

.content_area {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  max-width: 920px;
  margin: 0 auto;
}

.content_area h2 {
  font-size: 17.5px;
  font-weight: 800;
  margin: 22px 0 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.content_area > main > section:first-child h2,
.content_area h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.content_area p { font-size: 13.5px; color: #3D4C6B; line-height: 1.7; margin: 0 0 10px; }

.content_area ul, .content_area ol { padding-left: 20px; margin: 0 0 12px; }
.content_area ul li, .content_area ol li {
  list-style: disc;
  font-size: 13.5px;
  color: #3D4C6B;
  line-height: 1.7;
  margin: 0 0 5px;
}
.content_area ol li { list-style: decimal; }
.content_area li strong { color: var(--ink); }

.content_area table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.content_area table th {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 12px;
  text-align: center;
  border: 1px solid #4E7EF4;
}

.content_area table td {
  padding: 7px 12px;
  font-size: 13px;
  text-align: center;
  border: 1px solid var(--line);
  color: #3D4C6B;
}

.content_area table tr:nth-child(even) td { background: var(--wash-2); }

.content_area dt {
  font-weight: 700;
  color: var(--ink);
  font-size: 13.5px;
  margin: 12px 0 3px;
}

.content_area dd {
  margin: 0 0 7px 0;
  padding-left: 14px;
  border-left: 3px solid var(--wash);
  font-size: 13px;
  color: #3D4C6B;
  line-height: 1.65;
}

.content_area a { font-weight: 600; }

.video_area iframe { width: 100%; border-radius: var(--radius-sm); border: 0; aspect-ratio: 16 / 9; }

/* ==========================================================================
   Big year-chart pages (2023 / 2024)
   ========================================================================== */

.chart_page_head {
  text-align: center;
  padding: 22px 0 20px;
}

.chart_page_head h1 { font-size: 22px; font-weight: 800; margin: 0 0 8px; }

.chart_page_head p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13.5px;
}

.chart {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px;
}

.chart h2 {
  font-size: 16.5px;
  font-weight: 800;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #0F2B66 0%, #1D5BF0 100%);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  margin: 20px 0 10px;
  scroll-margin-top: 72px;
}

.chart h2:first-child { margin-top: 0; }

.rest_month.chart_toc { grid-template-columns: repeat(6, 1fr); gap: 7px; margin-top: 14px; }

.rest_month.chart_toc a {
  justify-content: center;
  padding: 8px 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-deep);
  background: var(--wash);
  border-color: #D5E3FD;
}

.rest_month.chart_toc a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.rest_month.chart_toc a:hover svg { display: none; }

.rest_month.years_grid { grid-template-columns: repeat(4, 1fr); }

.chart table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
}

.chart th, .chart td {
  border: 1px solid var(--line);
  padding: 6px 5px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.chart th {
  background: var(--wash);
  color: var(--accent-deep);
  font-size: 12.5px;
  font-weight: 700;
}

.chart td {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--accent);
}

.chart td::first-line { color: var(--ink); font-weight: 800; font-size: 13.5px; }

.chart td:first-child {
  background: var(--wash-2);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}

.chart td:first-child::first-line { color: var(--ink); font-weight: 700; font-size: 11.5px; }

.chart tr:nth-child(even) td { background: var(--wash-2); }
.chart tr:nth-child(even) td:first-child { background: var(--wash); }

.chart tr:hover td { background: #F2F7FF; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer_main {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 24px 0 0;
}

.foot_brand {
  text-align: center;
  margin: 0 0 12px;
}

.foot_brand img {
  width: 44px;
  margin: 0 auto 6px;
  display: block;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(15, 31, 61, .18);
}

.foot_brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.foot_menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 0 14px;
  padding: 0;
}

.foot_menu ul li a {
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 12px;
  color: var(--muted);
  transition: color .15s ease;
}

.foot_menu ul li a:hover { color: var(--accent); }

.copy_area {
  border-top: 1px solid var(--line);
  padding: 12px 0 14px;
}

.copy_area p {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blink { animation: none; }
  .round_card, .rest_month a, .rest_month a svg { transition: none; }
}

/* ==========================================================================
   Tips page (day-wise)
   ========================================================================== */

.tips_day { margin: 0 0 26px; }

.tips_date {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--accent-deep);
  background: var(--wash);
  border: 1px solid #D5E3FD;
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  margin: 0 0 12px;
}

.tips_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.tip_card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 15px 16px;
}

.tip_rashi {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 11px;
}

.tip_row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
}

.tip_label {
  flex-shrink: 0;
  width: 52px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}

.tip_chips { display: flex; flex-wrap: wrap; gap: 6px; }

.tip_single {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--wash);
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tip_patti {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  background: var(--wash-2);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 9px;
}

.tip_text {
  margin: 10px 0 0;
  font-size: 13px;
  color: #3D4C6B;
  line-height: 1.65;
}

.tip_sources {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.tips_empty {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--muted);
  font-size: 13.5px;
}

/* Breadcrumbs */

.breadcrumbs {
  font-size: 12.5px;
  color: var(--muted);
  padding: 0 0 12px;
}

.breadcrumbs a { color: var(--muted); font-weight: 600; }
.breadcrumbs a:hover { color: var(--accent); }
.crumb_sep { margin: 0 7px; color: #B9C6DE; }
.crumb_here { color: var(--ink); font-weight: 700; }

.editorial_content { max-width: 850px; margin: 0 auto; }
.editorial_content h2 { font-size: 22px; margin: 28px 0 12px; }
.editorial_content p, .editorial_content details { margin-bottom: 16px; }
.editorial_content summary { cursor: pointer; font-weight: 600; }
.editorial_content ul, .editorial_content ol { padding-left: 24px; margin-bottom: 18px; }
.editorial_content li { list-style: revert; margin-bottom: 8px; }
.result_freshness { margin: 12px 0; color: var(--muted); font-size: 14px; }

.month_chart caption, .chart caption, .timetable_grid caption {
  caption-side: top;
  padding: 10px 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}

.foot_disclaimer {
  max-width: 900px;
  margin: 0 auto 18px;
  padding: 0 16px;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   Golden Guessing Compact Homepage Section
   ========================================================================== */
.golden_guessing_area {
  padding: 14px 0 16px;
  background-color: var(--paper);
}

.gg_compact_card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3.5px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(15, 31, 61, 0.05), 0 1px 3px rgba(15, 31, 61, 0.03);
  padding: 14px 16px;
  overflow: hidden;
}

.gg_card_header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.gg_header_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.gg_header_main {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.gg_header_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent) 0%, #0D3DB0 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(29, 91, 240, 0.28);
  flex-shrink: 0;
}

.gg_header_icon svg {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.gg_title_box {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.gg_meta_tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.gg_blue_pill,
.gg_gold_pill {
  display: inline-flex;
  align-items: center;
  background: var(--wash);
  color: var(--accent-deep);
  border: 1px solid #D0E1FD;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 9999px;
  line-height: 1.2;
  white-space: nowrap;
}

.gg_live_dot_pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--wash-2);
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 2px 7px;
  border-radius: 9999px;
  line-height: 1.2;
  white-space: nowrap;
}

.gg_pulse_dot_blue,
.gg_pulse_dot_gold {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: ggBluePulse 1.5s infinite ease-in-out;
}

@keyframes ggBluePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

.gg_card_title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.25;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.gg_bn_badge {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-deep);
  background: var(--wash);
  padding: 1.5px 8px;
  border-radius: 5px;
  border: 1px solid #D0E1FD;
  letter-spacing: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.gg_master_badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(29, 91, 240, 0.22);
  white-space: nowrap;
}

/* 2-Column Content Row */
.gg_content_row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  align-items: center;
}

.gg_content_row.no_pattis {
  grid-template-columns: 1fr;
}

.gg_section_block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.gg_block_label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.gg_sub_pill {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 9999px;
  background: var(--wash);
  color: var(--accent-deep);
  border: 1px solid #D0E1FD;
}

/* Digits row - flex layout evenly adjusts 2, 3, or 4 digits in a single line without breaking */
.gg_digits_row {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
}

.gg_digit_chip {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 3px;
  background: var(--wash-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: all 0.2s ease;
  overflow: hidden;
}

.gg_digit_chip.is_lead {
  background: var(--wash);
  border-color: #BFD7FE;
}

.gg_digit_chip_inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-wrap: nowrap;
}

.gg_val {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.gg_digit_chip.is_lead .gg_val {
  color: var(--accent-deep);
}

.gg_lbl {
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
}

/* Hit state for Digit Chip */
.gg_digit_chip.is_hit {
  background: #EAF8F1;
  border: 1.5px solid #31C48D;
  box-shadow: 0 0 0 1px #31C48D, 0 2px 8px rgba(13, 122, 87, 0.12);
}

.gg_digit_chip.is_hit .gg_val {
  color: #03543F;
  font-weight: 900;
}

.gg_digit_chip.is_hit .gg_lbl {
  color: #0D7A57;
  font-weight: 700;
}

.gg_hit_tag {
  display: inline-flex;
  align-items: center;
  gap: 1.5px;
  background: #0E9F6E;
  color: #ffffff;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 1px 3.5px;
  border-radius: 3px;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Pattis row */
.gg_pattis_row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.gg_patti_chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #F8FAFD;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 2px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}

/* Hit state for Patti Chip */
.gg_patti_chip.is_hit {
  background: #EAF8F1;
  border: 1.5px solid #31C48D;
  color: #03543F;
  font-weight: 800;
  box-shadow: 0 0 0 1px #31C48D, 0 2px 8px rgba(13, 122, 87, 0.12);
}

.gg_patti_chip.is_hit .gg_patti_val {
  color: #03543F;
}

/* Footer of the card */
.gg_card_foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
}

.gg_foot_note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
}

.gg_btn_bottom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

.gg_btn_bottom:hover {
  background: var(--accent-deep);
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .gg_content_row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .gg_compact_card {
    padding: 10px 12px;
  }
  .gg_card_header {
    gap: 7px;
    padding-bottom: 9px;
    margin-bottom: 10px;
  }
  .gg_header_icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
  }
  .gg_header_icon svg {
    width: 15px;
    height: 15px;
  }
  .gg_card_title {
    font-size: 15.5px;
    gap: 5px 8px;
  }
  .gg_bn_badge {
    font-size: 11px;
    padding: 1px 7px;
  }
  .gg_blue_pill,
  .gg_live_dot_pill {
    font-size: 9px;
    padding: 2px 6px;
  }
  .gg_master_badge {
    font-size: 9px;
    padding: 2.5px 7px;
  }
  .gg_card_foot {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .gg_btn_bottom {
    width: 100%;
    justify-content: center;
    padding: 7px 12px;
  }
  .gg_digits_row {
    gap: 4px;
  }
  .gg_digit_chip {
    padding: 5px 2px;
  }
  .gg_val {
    font-size: 15px;
  }
  .gg_lbl {
    font-size: 8px;
  }
  .gg_hit_tag {
    font-size: 7px;
    padding: 1px 3px;
  }
}

@media (max-width: 420px) {
  .gg_card_title {
    font-size: 14.5px;
  }
  .gg_card_title span:first-child {
    white-space: nowrap;
  }
  .gg_bn_badge {
    font-size: 10px;
    padding: 1px 6px;
  }
}

/* ==========================================================================
   Instagram-Style Floating Bottom Navigation Menu (Compact Pill)
   ========================================================================== */
body {
  padding-bottom: 64px;
}

.kf_insta_dock {
  position: fixed;
  bottom: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 330px;
  height: 48px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(227, 234, 246, 0.95);
  border-radius: 24px;
  box-shadow: 0 6px 22px rgba(15, 31, 61, 0.10), 0 1px 3px rgba(15, 31, 61, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 6px;
  z-index: 99990;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.kf_insta_item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  color: var(--muted);
  text-decoration: none !important;
  gap: 1.5px;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.kf_insta_item:hover {
  color: var(--accent);
}

.kf_insta_item.active {
  color: var(--accent);
}

.kf_insta_icon_wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kf_insta_item:hover .kf_insta_icon_wrap,
.kf_insta_item.active .kf_insta_icon_wrap {
  transform: translateY(-1.5px) scale(1.06);
}

.kf_insta_label {
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.15s ease, font-weight 0.15s ease;
}

.kf_insta_item.active .kf_insta_label {
  font-weight: 700;
  color: var(--accent);
}

.kf_insta_dot {
  position: absolute;
  bottom: 2.5px;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kf_insta_item.active .kf_insta_dot {
  opacity: 1;
  transform: scale(1);
}

.kf_insta_badge {
  position: absolute;
  top: -2px;
  right: -8px;
  background: linear-gradient(135deg, #FF4B4B 0%, #E5484D 100%);
  color: #ffffff;
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
  padding: 1.5px 3.5px;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(229, 72, 77, 0.35);
  letter-spacing: 0.02em;
}

@media (max-width: 576px) {
  body {
    padding-bottom: 62px;
  }
  .kf_insta_dock {
    width: calc(100% - 20px);
    max-width: 320px;
    height: 46px;
    bottom: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    border-radius: 23px;
  }
  .kf_insta_label {
    font-size: 8.5px;
  }
  .kf_insta_icon_wrap {
    width: 20px;
    height: 20px;
  }
  .kf_insta_icon_wrap svg {
    width: 17px;
    height: 17px;
  }
}

/* ==========================================================================
   Play Store App Download Section (Compact, Sleek & Fully Responsive)
   ========================================================================== */
.app_download_section {
  padding: 10px 0 6px;
}

.kf_exact_banner {
  position: relative;
  background: #FFFFFF radial-gradient(circle at 100% 0%, rgba(254, 240, 199, 0.55) 0%, rgba(254, 243, 199, 0.25) 35%, transparent 65%),
              radial-gradient(circle at 0% 100%, rgba(254, 243, 199, 0.35) 0%, transparent 45%);
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.08), 0 2px 8px rgba(15, 23, 42, 0.03);
  padding: 14px 18px 12px;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

/* Subtle Golden dot grid in top right */
.kf_banner_dots {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 52px;
  height: 34px;
  background-image: radial-gradient(#FCD34D 1.6px, transparent 1.6px);
  background-size: 10px 9.5px;
  opacity: 0.8;
  pointer-events: none;
}

/* 1. Header Row */
.kf_b_header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.kf_b_icon_wrap {
  flex-shrink: 0;
}

.kf_b_icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 2px solid #F59E0B;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14), 0 0 10px rgba(245, 158, 11, 0.3);
  display: block;
  background: #000000;
  object-fit: cover;
}

.kf_b_titles {
  flex: 1;
  min-width: 0;
}

.kf_b_name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: #0B0F19;
  letter-spacing: -0.02em;
  margin: 0 0 1px;
  line-height: 1.15;
}

.kf_b_desc {
  font-size: 12.5px;
  font-weight: 500;
  color: #334155;
  margin: 0 0 3px;
  line-height: 1.25;
}

.kf_b_rating {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  line-height: 1;
}

.kf_b_score {
  font-size: 14px;
  font-weight: 800;
  color: #0B0F19;
}

.kf_b_stars {
  display: inline-flex;
  align-items: center;
  gap: 1.5px;
  font-size: 13.5px;
  line-height: 1;
}

.kf_star.is_full {
  color: #F59E0B;
}

.kf_star.is_half {
  background: linear-gradient(90deg, #F59E0B 50%, #CBD5E1 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.kf_b_count {
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
}

/* 2. Middle Row: 4 Pill Badges */
.kf_b_pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.kf_pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 4px;
  border-radius: 9px;
  border: 1.2px solid transparent;
  background: #FFFFFF;
  min-width: 0;
  box-sizing: border-box;
}

.kf_pill_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.kf_pill_icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.kf_pill_text {
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

/* Pill 1: No Ads */
.kf_pill_noads {
  background: #FFF7ED;
  border-color: #FDBA74;
}
.kf_pill_noads .kf_pill_text {
  color: #991B1B;
}

/* Pill 2: 100% Free */
.kf_pill_free {
  background: #F0FDF4;
  border-color: #86EFAC;
}
.kf_pill_free .kf_pill_text {
  color: #064E3B;
}

/* Pill 3: Free Tips */
.kf_pill_tips {
  background: #FAF5FF;
  border-color: #DDD6FE;
}
.kf_pill_tips .kf_pill_text {
  color: #581C87;
}

/* Pill 4: Live Results */
.kf_pill_results {
  background: #EFF6FF;
  border-color: #BFDBFE;
}
.kf_pill_results .kf_pill_text {
  color: #1E3A8A;
}

/* 3. Bottom Row: Sleek & Compact Google Play Button */
.kf_b_play_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(90deg, #00875A 0%, #008F58 50%, #059669 100%);
  color: #FFFFFF !important;
  padding: 8px 18px;
  border-radius: 9999px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 135, 90, 0.28);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-height: 40px;
}

.kf_b_play_btn:hover {
  background: linear-gradient(90deg, #00744D 0%, #00764E 50%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(0, 135, 90, 0.36);
  color: #FFFFFF !important;
}

.kf_b_play_content {
  display: flex;
  align-items: center;
  gap: 9px;
}

.kf_b_play_logo {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.kf_b_play_copy {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1;
}

.kf_b_play_sub {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  display: block;
}

.kf_b_play_main {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  display: block;
  margin-top: 1.5px;
}

.kf_b_play_arrow {
  position: absolute;
  right: 16px;
  width: 16px;
  height: 16px;
  color: #FFFFFF;
  flex-shrink: 0;
}

/* ==========================================================================
   Responsive Breakpoints for App Download Banner
   ========================================================================== */
@media (max-width: 520px) {
  .app_download_section {
    padding: 8px 0 4px;
  }

  .kf_exact_banner {
    padding: 11px 12px 10px;
    border-radius: 16px;
  }

  .kf_banner_dots {
    width: 44px;
    height: 28px;
    top: 9px;
    right: 10px;
  }

  .kf_b_header {
    gap: 10px;
    margin-bottom: 8px;
  }

  .kf_b_icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .kf_b_name {
    font-size: 16.5px;
  }

  .kf_b_desc {
    font-size: 11.5px;
    margin-bottom: 2px;
  }

  .kf_b_score {
    font-size: 13px;
  }

  .kf_b_stars {
    font-size: 12px;
  }

  .kf_b_count {
    font-size: 11px;
  }

  .kf_b_pills {
    gap: 4px;
    margin-bottom: 8px;
  }

  .kf_pill {
    padding: 5px 3px;
    gap: 3.5px;
    border-radius: 7px;
  }

  .kf_pill_icon svg {
    width: 13px;
    height: 13px;
  }

  .kf_pill_text {
    font-size: 10px;
    letter-spacing: -0.02em;
  }

  .kf_b_play_btn {
    min-height: 36px;
    padding: 6px 14px;
  }

  .kf_b_play_logo {
    width: 18px;
    height: 18px;
  }

  .kf_b_play_sub {
    font-size: 6.5px;
  }

  .kf_b_play_main {
    font-size: 13.5px;
  }

  .kf_b_play_arrow {
    right: 12px;
    width: 14px;
    height: 14px;
  }
}

/* Extra small devices (<= 360px screen width) */
@media (max-width: 360px) {
  .kf_b_pills {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

  .kf_pill {
    padding: 5px 6px;
    justify-content: flex-start;
  }

  .kf_pill_text {
    font-size: 10.5px;
  }
}

/* Header Nav Download App Button */
.nav_app_dl_btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #0F172A;
  color: #FFFFFF !important;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
  margin-left: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav_app_dl_btn:hover {
  background: var(--accent);
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 91, 240, 0.35);
}

.nav_app_dl_btn svg {
  flex-shrink: 0;
}

/* Compact Mini Bar Variant for Tips & Inner Content */
.app_dl_mini_bar {
  background: #FFFFFF linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 10px 14px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.app_dl_mini_bar:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
}

.app_dl_mini_left {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1;
  min-width: 0;
}

.app_dl_mini_icon {
  flex-shrink: 0;
}

.app_dl_mini_icon img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1.5px solid #F59E0B;
  display: block;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
  object-fit: cover;
  background: #000000;
}

.app_dl_mini_text {
  flex: 1;
  min-width: 0;
}

.app_dl_mini_head {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  line-height: 1.2;
}

.app_dl_mini_title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.app_dl_mini_rate {
  font-size: 10px;
  font-weight: 700;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
  padding: 1.5px 6px;
  border-radius: 9999px;
  line-height: 1;
}

.app_dl_mini_tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  padding: 1.5px 6px;
  border-radius: 9999px;
  line-height: 1;
}

.app_dl_mini_desc {
  font-size: 11.5px;
  color: #64748B;
  margin: 3px 0 0;
  line-height: 1.3;
}

.app_dl_mini_right {
  flex-shrink: 0;
}

.btn_playstore_mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #00875A 0%, #008F58 50%, #059669 100%);
  color: #FFFFFF !important;
  padding: 7px 15px;
  border-radius: 9999px;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 135, 90, 0.28);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn_playstore_mini:hover {
  background: linear-gradient(90deg, #00744D 0%, #00764E 50%, #047857 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 5px 14px rgba(0, 135, 90, 0.36);
  color: #FFFFFF !important;
}

.play_mini_logo {
  flex-shrink: 0;
}

.play_mini_copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: left;
}

.play_mini_sub {
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

.play_mini_main {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin-top: 1px;
}

@media (max-width: 520px) {
  .app_dl_mini_bar {
    padding: 9px 10px;
    gap: 8px;
    border-radius: 12px;
  }
  .app_dl_mini_icon img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }
  .app_dl_mini_title {
    font-size: 12.5px;
  }
  .app_dl_mini_rate,
  .app_dl_mini_tag {
    font-size: 9px;
    padding: 1px 5px;
  }
  .app_dl_mini_desc {
    font-size: 10.5px;
  }
  .btn_playstore_mini {
    padding: 6px 12px;
    gap: 6px;
  }
  .play_mini_logo {
    width: 16px;
    height: 16px;
  }
  .play_mini_main {
    font-size: 12px;
  }
}

/* Footer Play Store Section (Clean & Minimal) */
.foot_app_dl_box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 14px auto 10px;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.foot_app_dl_content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.foot_app_dl_content img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}

.foot_app_dl_text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.foot_app_dl_text span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}

/* Mobile Responsiveness for Compact Bars */
@media (max-width: 576px) {
  .app_dl_compact_bar {
    padding: 8px 12px;
    gap: 10px;
  }
  .app_dl_c_icon_box img {
    width: 38px;
    height: 38px;
  }
  .app_dl_c_title {
    font-size: 13.5px;
  }
  .app_dl_c_desc {
    font-size: 11px;
    max-width: 170px;
  }
  .btn_playstore_c {
    padding: 6px 11px;
    gap: 7px;
  }
  .play_c_svg {
    width: 18px;
    height: 18px;
  }
  .play_c_main {
    font-size: 12px;
  }
  .play_c_sub {
    font-size: 6.5px;
  }
  .foot_app_dl_box {
    padding: 9px 12px;
  }
}

@media (max-width: 400px) {
  .app_dl_c_desc {
    display: none;
  }
}

@media (max-width: 860px) {
  .site_nav .nav_link.nav_app_dl_btn {
    background: #0F172A;
    color: #FFFFFF !important;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding: 11px 14px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
  }
  .site_nav .nav_link.nav_app_dl_btn:hover {
    background: var(--accent);
    color: #FFFFFF !important;
  }
}



