/* ==========================================================================
   Gujarati Calendar Mitra - Choghadiya Real-Time Engine Styles
   ========================================================================== */

.choghadiya-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Selected Date & Details Header Card */
.choghadiya-date-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.choghadiya-date-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-gold), var(--primary-saffron));
}

.chog-date-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chog-date-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.chog-date-nav-btn:hover {
  background: var(--primary-saffron);
  color: #ffffff;
  border-color: var(--primary-saffron);
  transform: scale(1.06);
  box-shadow: 0 2px 10px rgba(230, 81, 0, 0.4);
}

.chog-date-nav-btn:active {
  transform: scale(0.95);
}

.chog-date-nav-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.chog-date-main-col {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.chog-date-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.chog-date-subtithi {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-gold);
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.chog-date-subtithi .moon-symbol {
  font-size: 15px;
}

.chog-date-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.chog-badge-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.chog-badge-pill.today {
  background: rgba(255, 179, 0, 0.18);
  color: var(--primary-gold);
  border: 1px solid rgba(255, 179, 0, 0.35);
}

.chog-action-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition-fast);
}

.chog-action-chip:hover {
  background: var(--bg-card-hover);
  color: var(--primary-gold);
  border-color: var(--primary-gold);
}

.chog-action-chip.primary {
  background: var(--primary-saffron);
  color: #ffffff;
  border-color: var(--primary-saffron);
}

.chog-action-chip.primary:hover {
  box-shadow: 0 2px 8px rgba(230, 81, 0, 0.4);
}

.chog-action-chip svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* Selected Date Tithi Precision Timing Banner */
.chog-tithi-banner {
  margin-top: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(255, 179, 0, 0.08), rgba(230, 81, 0, 0.1));
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-mode="light"] .chog-tithi-banner {
  background: linear-gradient(135deg, #fffbeb, #fff7ed);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
}

.chog-tithi-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.chog-tithi-lead {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-gold);
}

.chog-tithi-lead-icon {
  font-size: 14px;
}

.chog-tithi-name {
  color: var(--text-primary);
  font-weight: 800;
}

.chog-tithi-timing-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
}

.chog-tithi-time-slot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.chog-tithi-time-slot .slot-lbl {
  color: var(--text-muted);
  font-size: 11px;
}

.chog-tithi-time-slot .slot-val {
  font-weight: 700;
  color: var(--text-primary);
}

.chog-tithi-time-slot.end .slot-val {
  color: var(--primary-gold);
}

.chog-tithi-sep {
  color: var(--text-muted);
  font-size: 11px;
}

.chog-tithi-next-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.chog-tithi-next-sub .next-lbl {
  color: var(--text-muted);
  font-weight: 600;
}

.chog-tithi-next-sub .next-val {
  color: var(--text-secondary);
}

/* Selected Date Tehvar (Festivals & Vrats) Banner */
.chog-tehvar-banner {
  margin-top: 10px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(230, 81, 0, 0.12), rgba(255, 179, 0, 0.14));
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-mode="light"] .chog-tehvar-banner {
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  border-color: rgba(230, 81, 0, 0.25);
  box-shadow: 0 2px 8px rgba(230, 81, 0, 0.08);
}

.chog-tehvar-lead {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-gold);
  flex-shrink: 0;
}

[data-mode="light"] .chog-tehvar-lead {
  color: #c2410c;
}

.chog-tehvar-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.chog-tehvar-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.chog-tehvar-tag.holiday {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
}

[data-mode="light"] .chog-tehvar-tag.holiday {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

.chog-tehvar-tag.vrat {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
}

[data-mode="light"] .chog-tehvar-tag.vrat {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #b45309;
}

/* Sacred Vrat Katha Card inside Choghadiya Date Card */
.choghadiya-date-card .selected-date-katha-card {
  margin-top: 12px;
  margin-bottom: 0;
}

/* Choghadiya Astrological & Celestial Metrics Grid */
.chog-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .chog-metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
}

.chog-metric-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.chog-metric-box:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
}

.chog-metric-header {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.chog-metric-icon {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
}

.chog-metric-icon.sun {
  background: rgba(255, 179, 0, 0.15);
  color: var(--primary-gold);
}

.chog-metric-icon.sunset {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
}

.chog-metric-icon.rahu {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.chog-metric-icon.star {
  background: rgba(14, 165, 233, 0.15);
  color: #0ea5e9;
}

.chog-metric-icon.clock {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.chog-metric-icon.moon {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}

[data-mode="light"] .chog-metric-icon.moon {
  background: rgba(147, 51, 234, 0.12);
  color: #7e22ce;
}

.chog-metric-icon svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.chog-metric-lbl {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  line-height: 1.2;
}

.chog-metric-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-english);
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.25;
  width: 100%;
  min-width: 0;
}

@media (max-width: 600px) {
  .choghadiya-date-card {
    padding: 12px 10px;
  }
  .chog-date-title {
    font-size: 16px;
  }
  .chog-date-nav-btn {
    width: 36px;
    height: 36px;
  }
  .chog-metrics-grid {
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
  }
  .chog-metric-box {
    padding: 7px 8px;
    gap: 4px;
  }
  .chog-metric-lbl {
    font-size: 10.5px;
  }
  .chog-metric-val {
    font-size: 11.5px;
  }
}

/* Selected Date Summary Hero (When not viewing Today) */
.date-summary-hero-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.date-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.date-summary-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.date-summary-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.summary-stat-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.summary-stat-badge.auspicious {
  background: rgba(16, 185, 129, 0.16);
  color: var(--color-amrit);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.summary-stat-badge.inauspicious {
  background: rgba(249, 115, 22, 0.16);
  color: var(--color-udveg);
  border: 1px solid rgba(249, 115, 22, 0.35);
}

.btn-jump-live-hero {
  background: linear-gradient(135deg, var(--primary-saffron), var(--primary-gold));
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 3px 10px rgba(230, 81, 0, 0.3);
  width: fit-content;
}

.btn-jump-live-hero:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(230, 81, 0, 0.45);
}

/* Active Running Choghadiya Hero Card */
.active-choghadiya-hero {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}
.active-choghadiya-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--hero-accent-color, rgba(16, 185, 129, 0.25)) 0%, transparent 70%);
  pointer-events: none;
}

.hero-top-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.live-beacon-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.beacon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGlow 1.6s infinite;
}
.period-day-night-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-content-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.hero-text-side {
  flex: 1;
}
.current-choghadiya-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--hero-accent-color, #10b981);
  line-height: 1.1;
  margin-bottom: 4px;
}
.current-choghadiya-desc {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 6px;
}
.current-time-interval {
  font-family: var(--font-english);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Circular Countdown Timer Widget */
.hero-countdown-ring {
  width: 78px;
  height: 78px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.countdown-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.countdown-circle-bg {
  fill: none;
  stroke: var(--border-subtle);
  stroke-width: 6;
}
.countdown-circle-progress {
  fill: none;
  stroke: var(--hero-accent-color, #10b981);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 40;
  transition: stroke-dashoffset 1s linear;
}
.countdown-text-min {
  font-family: var(--font-english);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}
.countdown-text-sub {
  font-size: 9px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Next Choghadiya Peek Banner */
.next-choghadiya-peek {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.next-label {
  color: var(--text-muted);
}
.next-value {
  font-weight: 700;
  color: var(--text-gold);
}

/* Day / Night Segment Toggle Controls */
.choghadiya-mode-tabs {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
}
.mode-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
}
.mode-tab-btn.active {
  background: var(--primary-saffron);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(230, 81, 0, 0.4);
}
.mode-tab-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Choghadiya 8-Period Cards List */
.choghadiya-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.choghadiya-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.choghadiya-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
}
.choghadiya-card.is-active {
  border-color: var(--hero-accent-color, #10b981);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.18);
}
.choghadiya-card.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--hero-accent-color, #10b981);
}

.card-left-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.choghadiya-index-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-card);
  font-family: var(--font-english);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}
.choghadiya-title-wrap {
  display: flex;
  flex-direction: column;
}
.card-choghadiya-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-choghadiya-time {
  font-family: var(--font-english);
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Nature / Quality Pill */
.quality-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-align: center;
}
.quality-pill.amrit { background: rgba(16, 185, 129, 0.16); color: var(--color-amrit); border: 1px solid rgba(16, 185, 129, 0.3); }
.quality-pill.shubh { background: rgba(5, 150, 105, 0.16); color: var(--color-shubh); border: 1px solid rgba(5, 150, 105, 0.3); }
.quality-pill.labh  { background: rgba(13, 148, 136, 0.16); color: var(--color-labh); border: 1px solid rgba(13, 148, 136, 0.3); }
.quality-pill.char  { background: rgba(2, 132, 199, 0.16); color: var(--color-char); border: 1px solid rgba(2, 132, 199, 0.3); }
.quality-pill.udveg { background: rgba(249, 115, 22, 0.16); color: var(--color-udveg); border: 1px solid rgba(249, 115, 22, 0.3); }
.quality-pill.kaal  { background: rgba(225, 29, 72, 0.16); color: var(--color-kaal); border: 1px solid rgba(225, 29, 72, 0.3); }
.quality-pill.rog   { background: rgba(220, 38, 38, 0.16); color: var(--color-rog); border: 1px solid rgba(220, 38, 38, 0.3); }

/* Unified Panchang Details inside Choghadiya Screen */
.choghadiya-panchang-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.panchang-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-bottom: 2px;
}

.panchang-section-header .section-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.panchang-section-header .section-title svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Muhurat Cards Grid (Abhijit, Yamaganda, Gulika Kaal) */
.chog-muhurat-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 2px;
}

.chog-muhurat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.chog-muhurat-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.chog-muhurat-card.auspicious {
  border-left: 3px solid #10b981;
}

.chog-muhurat-card.inauspicious {
  border-left: 3px solid #ef4444;
}

.chog-muhurat-card.neutral {
  border-left: 3px solid var(--primary-gold);
}

.chog-muhurat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chog-muhurat-card-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.chog-muhurat-card-title .muhurat-card-icon {
  font-size: 14px;
}

.chog-muhurat-card-val {
  font-family: var(--font-english);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-gold);
  letter-spacing: 0.2px;
}

/* Sacred Vrat Katha Wrap (Below Choghadiya) */
.choghadiya-katha-wrap {
  margin-top: 4px;
}

.choghadiya-katha-wrap .selected-date-katha-card {
  margin-top: 0;
  margin-bottom: 0;
}

/* Responsive Grid for Wide Screens & Full Screen Website */
@media (min-width: 768px) {
  .active-choghadiya-hero {
    padding: 24px 30px !important;
  }
  .current-choghadiya-name {
    font-size: 32px !important;
  }
  .hero-countdown-ring {
    width: 92px !important;
    height: 92px !important;
  }

  /* 4-column Layout on Website Screen for Choghadiya */
  html.is-website .choghadiya-list,
  html:not(.is-native-app) .choghadiya-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
  }

  html.is-website .choghadiya-card,
  html:not(.is-native-app) .choghadiya-card {
    padding: 12px 14px !important;
    gap: 8px !important;
  }

  html.is-website .card-left-info,
  html:not(.is-native-app) .card-left-info {
    gap: 8px !important;
    min-width: 0 !important;
  }

  html.is-website .card-choghadiya-name,
  html:not(.is-native-app) .card-choghadiya-name {
    font-size: 15px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  html.is-website .card-choghadiya-time,
  html:not(.is-native-app) .card-choghadiya-time {
    font-size: 12px !important;
  }

  html.is-website .quality-pill,
  html:not(.is-native-app) .quality-pill {
    flex-shrink: 0 !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
  }

  /* 4-column Layout on Website Screen for Daily Panchang Details */
  html.is-website .choghadiya-panchang-details .panchang-grid,
  html:not(.is-native-app) .choghadiya-panchang-details .panchang-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
  }

  /* 3-column Layout for Abhijit / Yamgand / Gulik Kaal Cards on Website */
  html.is-website .chog-muhurat-cards-grid,
  html:not(.is-native-app) .chog-muhurat-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }
}

/* Mobile Screen and Native App Safeguards: Keep existing 1-column list & 2-column panchang grid */
@media (max-width: 767px) {
  .choghadiya-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .choghadiya-panchang-details .panchang-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .chog-muhurat-cards-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}

html.is-native-app .choghadiya-list,
.is-native-app .choghadiya-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

html.is-native-app .choghadiya-panchang-details .panchang-grid,
.is-native-app .choghadiya-panchang-details .panchang-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px !important;
}

html.is-native-app .chog-muhurat-cards-grid,
.is-native-app .chog-muhurat-cards-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

