.top-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  flex-wrap: wrap;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 11px;
  opacity: 0.74;
  line-height: 1.2;
}

.premium-status-pill {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  white-space: nowrap;
}

html, body {
  overflow-x: hidden;
}

.tab-panel[hidden] {
  display: none !important;
}

.elevated-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.premium-hero {
  margin-top: 12px;
  border-radius: 28px;
  padding: 18px 16px 18px;
  background:
    radial-gradient(circle at top right, rgba(255, 193, 7, 0.20), transparent 26%),
    radial-gradient(circle at top left, rgba(167, 139, 250, 0.18), transparent 32%),
    linear-gradient(180deg, #4f46a5 0%, #352f7d 100%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 42px rgba(14, 16, 45, 0.34);
}

.premium-guidance-card {
  margin-top: 16px;
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(255, 214, 102, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
}

.guidance-mode-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.guidance-mode-btn {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.guidance-mode-btn.active {
  background: rgba(167, 139, 250, 0.28);
  border-color: rgba(167, 139, 250, 0.40);
}

.guidance-block + .guidance-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.guidance-title {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.86;
}

.guidance-text {
  margin-top: 8px;
  font-size: 0.96rem;
  line-height: 1.55;
  opacity: 0.96;
}

.hero-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.hero-greeting {
  font-size: 0.95rem;
  opacity: 0.88;
}

.hero-name {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.05;
  margin-top: 2px;
}

.hero-sign-badge {
  min-width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-message {
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 600;
}

.hero-system-card {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.18);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-system-title {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

.hero-system-sign-row {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-system-sign-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.10);
  flex-shrink: 0;
}

.hero-system-sign {
  font-size: 1.2rem;
  font-weight: 800;
}

.hero-system-sub {
  margin-top: 4px;
  font-size: 0.92rem;
  opacity: 0.9;
}

.hero-system-mini {
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.45;
  opacity: 0.86;
}

.premium-switch {
  margin-top: 16px;
}

.choghadiya-now-card {
  margin-top: 16px;
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
}

.current-choghadiya-label {
  margin-top: 10px;
  font-size: 1.45rem;
  font-weight: 800;
}

.current-choghadiya-text {
  margin-top: 8px;
  font-size: 0.96rem;
  line-height: 1.55;
  opacity: 0.92;
}

.current-choghadiya-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.current-choghadiya-block {
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.current-choghadiya-meta {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.82;
  margin-bottom: 8px;
}

.current-choghadiya-time {
  margin-top: 6px;
  font-size: 0.9rem;
  opacity: 0.86;
}

.next-block {
  opacity: 0.96;
}

.tone-amrit { background: rgba(34, 197, 94, 0.18); border-color: rgba(34, 197, 94, 0.28); }
.tone-shubh { background: rgba(74, 222, 128, 0.16); border-color: rgba(74, 222, 128, 0.28); }
.tone-labh  { background: rgba(132, 204, 22, 0.16); border-color: rgba(132, 204, 22, 0.28); }
.tone-chal  { background: rgba(59, 130, 246, 0.16); border-color: rgba(59, 130, 246, 0.28); }
.tone-udveg { background: rgba(245, 158, 11, 0.16); border-color: rgba(245, 158, 11, 0.28); }
.tone-rog   { background: rgba(249, 115, 22, 0.16); border-color: rgba(249, 115, 22, 0.28); }
.tone-kaal  { background: rgba(239, 68, 68, 0.18); border-color: rgba(239, 68, 68, 0.30); }
.tone-neutral { background: rgba(148, 163, 184, 0.14); border-color: rgba(148, 163, 184, 0.22); }

.daily-power-card {
  margin-top: 20px;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 214, 102, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.power-title {
  margin-top: 4px;
  font-size: 1.12rem;
  line-height: 1.3;
}

.power-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.power-main-tile {
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.power-meta-label {
  font-size: 0.8rem;
  opacity: 0.82;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.power-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.power-color-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.power-color-chip {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.18);
}

.power-color-name {
  font-size: 1.05rem;
  font-weight: 700;
}

.power-meta-text {
  font-size: 0.9rem;
  opacity: 0.78;
}

.premium-home-banner {
  margin-top: 16px;
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(255, 215, 120, 0.24);
  background:
    radial-gradient(circle at top right, rgba(255, 214, 102, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 214, 102, 0.12), rgba(255, 255, 255, 0.04));
}

.premium-home-copy {
  margin-top: 10px;
  font-size: 0.96rem;
  line-height: 1.5;
  opacity: 0.92;
}

.mt-12 {
  margin-top: 12px;
}

.mini-engage-btn {
  margin-top: 12px;
  border: 0;
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 700;
  background: linear-gradient(90deg, #8b5cf6, #a855f7);
  color: #fff;
  width: 100%;
  cursor: pointer;
}

.mini-engage-btn:active {
  transform: translateY(1px);
}

.is-locked {
  opacity: 0.72;
  cursor: not-allowed;
}

.hidden {
  display: none !important;
}

.welcome-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  background: rgba(7, 10, 24, 0.78);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px;
}

.welcome-modal {
  width: min(100%, 430px);
  max-height: min(88vh, 720px);
  overflow-y: auto;
  border-radius: 26px;
  padding: 20px;
  background:
    radial-gradient(circle at top right, rgba(255, 193, 7, 0.18), transparent 28%),
    radial-gradient(circle at top left, rgba(167, 139, 250, 0.14), transparent 32%),
    linear-gradient(180deg, #4338ca 0%, #2f2a72 100%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 24px 64px rgba(0,0,0,0.34);
  color: #fff;
}

.welcome-modal-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

.welcome-modal-title {
  margin: 6px 0 0;
  font-size: 1.65rem;
  line-height: 1.15;
}

.welcome-sign-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

.welcome-sign-card {
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
}

.welcome-sign-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.welcome-sign-value {
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 800;
}

.welcome-summary-card {
  margin-top: 14px;
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}

.welcome-summary-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.welcome-summary-text {
  margin-top: 8px;
  font-size: 0.97rem;
  line-height: 1.5;
}

.welcome-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.welcome-meta-pill {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 0.9rem;
  font-weight: 700;
}

.welcome-modal-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.elevated-card,
.premium-hero,
.daily-power-card,
.choghadiya-now-card,
.welcome-modal {
  backdrop-filter: none !important;
}

@media (max-width: 700px) {
  .current-choghadiya-grid {
    grid-template-columns: 1fr;
  }

  .power-grid {
    grid-template-columns: 1fr;
  }

  .power-number {
    font-size: 1.85rem;
  }

  .hero-name {
    font-size: 1.8rem;
  }
}

/* TESTING PATCH: premium teaser + astro feed */
.premium-teaser-card {
  margin-top: 12px;
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(245, 210, 122, 0.26);
  background:
    radial-gradient(circle at top right, rgba(245, 210, 122, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
}

.premium-teaser-head {
  align-items: flex-start;
}

.premium-teaser-copy {
  margin: 12px 0 0;
  font-size: 0.97rem;
  line-height: 1.6;
  opacity: 0.94;
}

.premium-teaser-locks {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.premium-lock-line {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.92rem;
  line-height: 1.45;
}

.premium-teaser-card .action-btn {
  margin-top: 14px;
}

.astro-feed-card {
  margin-top: 12px;
  border-radius: 24px;
  padding: 18px;
  background:
    radial-gradient(circle at top left, rgba(167, 139, 250, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(96, 165, 250, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
}

.astro-feed-copy {
  margin: 12px 0 0;
  font-size: 0.96rem;
  line-height: 1.55;
  opacity: 0.9;
}

.astro-feed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.astro-feed-item {
  min-height: 148px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  align-content: start;
  gap: 10px;
  box-shadow: 0 14px 32px rgba(10, 11, 26, 0.18);
}

.astro-feed-item--accent {
  background:
    radial-gradient(circle at top right, rgba(245, 210, 122, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.05));
}

.astro-feed-item--focus {
  background:
    radial-gradient(circle at top left, rgba(167, 139, 250, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.05));
}

.astro-feed-kicker {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.78;
}

.astro-feed-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.28;
}

.astro-feed-body {
  font-size: 0.92rem;
  line-height: 1.55;
  opacity: 0.92;
}

.astro-feed-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  opacity: 0.76;
}

.astro-feed-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}

.astro-feed-item.skeleton {
  grid-column: 1 / -1;
  min-height: auto;
  opacity: 0.75;
}

@media (max-width: 720px) {
  .premium-teaser-card,
  .astro-feed-card,
  .daily-power-card {
    padding: 16px;
    border-radius: 20px;
  }

  .premium-teaser-copy,
  .astro-feed-copy {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .premium-lock-line {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .astro-feed-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
    grid-template-columns: none;
    margin-right: -2px;
  }

  .astro-feed-grid::-webkit-scrollbar {
    height: 6px;
  }

  .astro-feed-grid::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.14);
    border-radius: 999px;
  }

  .astro-feed-item {
    flex: 0 0 82vw;
    max-width: 82vw;
    min-height: 132px;
    scroll-snap-align: start;
    gap: 8px;
  }

  .astro-feed-item.skeleton {
    min-width: 82vw;
  }
}

/* TESTING PATCH: mobile polish */
@media (max-width: 700px) {
  .power-grid {
    gap: 10px;
  }

  .power-main-tile {
    padding: 16px;
  }

  .power-meta-text {
    line-height: 1.45;
  }

  .mini-engage-btn {
    min-height: 46px;
  }
}


#confirmNewPasswordInput {
  margin-top: 2px;
}


/* PATCH: wordmark + global tagline + hosted legal links */
.brand-text-wordmark{
  gap: 8px;
}
.brand-wordmark{
  width: clamp(160px, 26vw, 240px);
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(255, 191, 73, 0.22));
}
.brand-wordmark-auth{
  width: min(280px, 72vw);
}
.brand-tagline-global{
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255,255,255,.82);
}
.brand-copy-block{
  min-width: 0;
}
.brand-logo-box{
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 30px rgba(0,0,0,.24);
}
.brand-logo-img{
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(255, 191, 73, 0.22));
}
.auth-legal-links{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.5;
}
.auth-legal-links a{
  color: #cfe0ff;
  font-weight: 700;
  text-decoration: none;
}
.auth-legal-links a:hover{
  text-decoration: underline;
}
.legal-card{
  gap: 12px;
}
.legal-copy{
  line-height: 1.6;
}
.legal-link-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.legal-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #dfe8ff;
  font-weight: 700;
  text-decoration: none;
}
.legal-chip:hover{
  background: rgba(255,255,255,.10);
}
@media (max-width: 700px){
  .brand-wordmark{
    width: min(210px, 64vw);
  }
  .top-status-row{
    align-items: flex-start;
  }
  .brand-header{
    width: 100%;
  }
  .premium-status-pill{
    align-self: flex-start;
  }
}


/* POLISH PATCH: logo contrast + global tagline */

.brand-header{flex:1 1 auto;min-width:0;}
.brand-text-wordmark{
  gap:10px;
  padding:10px 14px 10px 12px;
  border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 14px 36px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
}
.brand-wordmark{
  width:clamp(188px, 29vw, 270px);
  max-width:100%;
  filter:drop-shadow(0 6px 16px rgba(0,0,0,.45)) drop-shadow(0 0 22px rgba(255,191,73,.16));
}
.brand-wordmark-auth{
  width:min(300px, 74vw);
}
.brand-tagline-global{
  font-size:13px;
  line-height:1.4;
  color:rgba(255,255,255,.9);
  text-shadow:0 1px 2px rgba(0,0,0,.24);
}
.brand-row{align-items:flex-start;}
.brand-logo-box{
  width:78px;
  height:78px;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 12px 28px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.08);
}
.brand-logo-img{
  width:88%;
  height:88%;
  filter:drop-shadow(0 8px 18px rgba(255,191,73,.18));
}
.share-logo{
  width:34px;
  height:34px;
  object-fit:contain;
}
@media (max-width:700px){
  .top-status-row{gap:12px;}
  .brand-text-wordmark{
    padding:9px 12px 9px 10px;
    border-radius:18px;
  }
  .brand-wordmark{
    width:min(228px, 68vw);
  }
  .brand-wordmark-auth{
    width:min(260px, 72vw);
  }
  .brand-logo-box{
    width:72px;
    height:72px;
  }
  .brand-tagline-global{
    font-size:12.5px;
  }
}
