.weekly-page {
  background: linear-gradient(135deg, #3a3a3a 0%, #3f3f3f 50%, #353535 100%) !important;
  color: #fff !important;
  font-family: Arial, sans-serif !important;
}
.intro-wrapper { padding: 0 8px; width: 100%; box-sizing: border-box; }
.weekly-page .sf-box {
  margin: 20px auto;
  padding: 20px;
  max-width: 950px;
  width: calc(100% - 24px);
  background: linear-gradient(135deg, #1a0f0f, #2a1a1a);
  border-radius: 4px;
  border: 2px solid #3a2a1a;
  box-shadow: 0 0 20px rgba(255,140,0,.3);
  box-sizing: border-box;
}
.weekly-page .intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  align-items: center;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .weekly-page .intro-grid { grid-template-columns: 2fr 1fr; }
}
.weekly-page .main-heading {
  font-size: clamp(1.25rem, 5.2vw, 2.15rem);
  line-height: 1.3;
  margin: 0;
  color: #ffb05b;
  text-shadow: 0 0 15px #d36305;
  text-align: left;
}
@media (max-width: 640px) {
  .weekly-page .main-heading { text-align: center; }
}
.weekly-page .highlight {
  font-size: clamp(0.95rem, 3.8vw, 1.5rem);
  color: #ffeb3b;
  display: block;
  margin-top: 8px;
}
.weekly-page .intro-para {
  font-size: clamp(0.88rem, 3.3vw, 1.15rem);
  line-height: 1.7;
  margin: 20px 0;
  color: #ddd;
  text-align: left;
}
.weekly-page .feature {
  background: rgba(255,165,0,.15);
  padding: 10px 16px;
  border-radius: 4px;
  font-size: clamp(0.78rem, 2.8vw, 0.95rem);
  border-left: 4px solid #ff8c00;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  color: #fff;
  font-weight: 600;
}
.weekly-page .quick-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 25px 0;
  justify-content: flex-start;
}
.weekly-page .feature {
  background: rgba(255,165,0,.15);
  padding: 10px 16px;
  border-radius: 4px;
  font-size: clamp(0.78rem, 2.8vw, 0.95rem);
  border-left: 4px solid #ff8c00;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  color: #fff;
  font-weight: 600;
}
.weekly-page .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
  justify-content: flex-start;
}
.weekly-page .btn-primary,
.weekly-page .btn-secondary {
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  font-size: clamp(0.85rem, 3.2vw, 1.05rem);
  display: inline-block;
  text-transform: none;
}
.weekly-page .btn-primary {
  background: linear-gradient(135deg, #ff8c00, #e65100);
  color: #fff;
  box-shadow: 0 5px 15px rgba(255,140,0,.4);
}
.weekly-page .btn-secondary {
  background: transparent;
  color: #ffb05b;
  border: 2px solid #ff8c00;
}
.weekly-page .today-box {
  background: linear-gradient(135deg, #1a0f0f, #2a1a1a);
  border: 2px solid #d36305;
  border-radius: 4px;
  text-align: center;
  padding: 20px;
  box-shadow: 0 0 25px rgba(211,99,5,.4);
}
.weekly-page .today-label {
  color: #ffeb3b;
  font-size: clamp(0.9rem, 3.2vw, 1.15rem);
  font-weight: bold;
  margin-bottom: 10px;
}
.weekly-page .today-number {
  font-size: clamp(2.4rem, 14vw, 4.25rem);
  font-weight: 900;
  color: #ffb05b;
  text-shadow: 0 0 20px #d36305;
  margin: 15px 0;
  font-family: Arial, sans-serif;
}
.weekly-page .today-number.red-jodi { color: #769417; }
.weekly-page .today-date { color: #aaa; font-size: clamp(0.78rem, 2.8vw, 0.95rem); }

.sf-weekly .chart-title {
  text-align: center;
  color: #ffb05b;
  font-size: clamp(0.9rem, 3.6vw, 1.6rem);
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d36305;
  font-family: Arial, sans-serif;
}
.sf-weekly .chart-title small {
  color: #ffeb3b;
  font-size: clamp(0.72rem, 2.8vw, 1rem);
  font-weight: 600;
}
.sf-weekly table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: Arial, sans-serif;
}
.sf-weekly th,
.sf-weekly td {
  padding: 16px 8px !important;
  text-align: center;
  font-size: 22px !important;
  font-weight: 900 !important;
  border: 1px solid #555 !important;
  cursor: pointer;
  color: #fff !important;
  background: #2d2d2d !important;
}
.sf-weekly th {
  background: linear-gradient(135deg, #d36305, #ff8a2a) !important;
  color: #fff !important;
}
.sf-weekly td.missing { color: #ff4444 !important; background: #2d2d2d !important; }
.sf-weekly td.red-jodi { color: #769417 !important; }
.sf-weekly td.user-marked {
  background: linear-gradient(135deg, #ffd700, #ffc107) !important;
  color: #000 !important;
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(255,215,0,.8), inset 0 0 8px rgba(255,255,255,.8);
}
.sf-weekly td.week-col,
.sf-weekly th.week-col {
  width: auto;
  max-width: 72px;
  font-size: clamp(0.55rem, 1.8vw, 0.78rem) !important;
  padding: 8px 2px !important;
  background: linear-gradient(135deg, #2a1a1a, #3a2a1a) !important;
  border-right: 2px solid #d36305 !important;
  color: #ffb05b !important;
  font-weight: 700 !important;
  cursor: default;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sf-weekly .d-short { display: none; }
@media (max-width: 768px) {
  .weekly-page .intro-wrapper { padding: 0; }
  .weekly-page .sf-box { padding: 14px 8px; width: 100%; margin: 12px 0; border-radius: 0; }
  .weekly-page .sf-box.sf-weekly { padding: 12px 4px; }
  .weekly-page .intro-para { text-align: center; }
  .weekly-page .quick-features { justify-content: center; }
  .weekly-page .cta-buttons { justify-content: center; }
  .weekly-page .btn-primary,
  .weekly-page .btn-secondary { padding: 12px 16px; width: 100%; text-align: center; box-sizing: border-box; }
  .sf-weekly .table-scroll { overflow-x: visible; }
  .sf-weekly table { min-width: 0; width: 100%; table-layout: fixed; }
  .sf-weekly th, .sf-weekly td { padding: 12px 6px !important; font-size: 19px !important; }
  .sf-weekly td.week-col, .sf-weekly th.week-col { max-width: none; padding: 8px 2px !important; font-size: 11px !important; }
  .sf-weekly td.user-marked { transform: none; }
}
@media (max-width: 480px) {
  .weekly-page .sf-box.sf-weekly { padding: 10px 2px; }
  .sf-weekly th, .sf-weekly td { padding: 10px 4px !important; font-size: 17px !important; }
  .sf-weekly .d-full { display: none; }
  .sf-weekly .d-short { display: inline; }
  .sf-weekly td.week-col,
  .sf-weekly th.week-col { display: none; }
}
