/* 30-day ritual challenge extras (uses .bf-* from butterfly.css) */
.rt-progress-wrap { margin: 0 0 16px; }
.rt-progress-meta {
  display: flex; justify-content: space-between; gap: 12px;
  align-items: baseline; margin-bottom: 8px; flex-wrap: wrap;
}
.rt-progress-meta span { color: var(--muted); font-size: 0.88rem; }
.rt-progress-bar {
  height: 8px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  border: 1px solid rgba(255, 180, 210, 0.18);
}
.rt-progress-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, #ff4da6, #e8b07a);
  transition: width .35s ease;
}
.rt-day-nav {
  max-height: none;
  display: grid !important;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
}
.rt-day-nav .bf-tab {
  justify-content: center;
  min-height: 40px;
  padding: 0;
  border-radius: 12px;
}
.rt-day-nav .bf-tab .bf-tab-n {
  width: auto; height: auto; background: transparent; font-weight: 700;
}
.rt-day-nav .bf-tab.rt-done:not(.active) {
  border-color: rgba(232, 176, 122, 0.55);
  color: var(--champagne);
}
@media (max-width: 820px) {
  .rt-day-nav { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
  .rt-day-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.rt-part-map {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 820px) {
  .rt-part-map { grid-template-columns: 1fr; }
}
#rt-studio.is-locked #rt-toggle,
#rt-studio.is-locked #rt-j-save {
  opacity: 0.95;
}
#rt-day-body .rt-secret-hit {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(232, 176, 122, 0.35);
  background: rgba(232, 176, 122, 0.1);
  font-size: 0.92rem;
}
#rt-day-body .course-tricks { margin-top: 4px; }
.bf-page #rt-day-body .bf-phase-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 22px;
  align-items: start;
}
.bf-page #rt-day-body .bf-howto {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
}
@media (max-width: 820px) {
  .bf-page #rt-day-body .bf-phase-head { grid-template-columns: 1fr; }
  .bf-page #rt-day-body .bf-howto { position: static; max-height: none; }
}
