/* Tutor subscription expiry reminder strip */
.es {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  font: 500 .875rem/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  text-align: center;
  border-bottom: 1px solid transparent;
}

.es-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.es-warning { background: #FEF3C7; color: #78350F; border-bottom-color: rgba(0, 0, 0, .1); }
.es-urgent { background: #FED7AA; color: #92400E; border-bottom-color: rgba(0, 0, 0, .12); }
.es-critical { background: #FCA5A5; color: #7F1D1D; border-bottom-color: rgba(0, 0, 0, .12); }
.es-expired { background: #F87171; color: #7F1D1D; border-bottom-color: rgba(0, 0, 0, .15); }

html[data-theme="dark"] .es-warning { background: #35290F; color: #FCD34D; border-bottom-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .es-urgent { background: #451C08; color: #FDB022; border-bottom-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .es-critical { background: #5D2020; color: #FCA5A5; border-bottom-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .es-expired { background: #6B2020; color: #FCA5A5; border-bottom-color: rgba(255, 255, 255, .12); }

.es-x {
  flex: none;
  margin-left: 4px;
  min-width: 28px;
  min-height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.es-x:hover { background: rgba(0, 0, 0, .12); }
html[data-theme="dark"] .es-x:hover { background: rgba(255, 255, 255, .15); }

.es-x:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 1px;
}

.es-msg { flex: 1; }
.es-btn {
  flex: none;
  margin-left: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .15);
  color: inherit;
  font: inherit;
  font-size: .8125rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.es-btn:hover { background: rgba(0, 0, 0, .25); }
html[data-theme="dark"] .es-btn:hover { background: rgba(255, 255, 255, .2); }

.es-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 1px;
}

@media (max-width: 374px) {
  .es { padding: 8px 10px; font-size: .8125rem; gap: 6px; }
  .es-content { gap: 6px; }
  .es-x { min-width: 24px; min-height: 24px; font-size: 1rem; }
}

@media (max-width: 719px) {
  .bnav { padding-bottom: var(--bnav-h, 56px); }
}
.xp-dot{position:absolute;top:4px;right:4px;width:10px;height:10px;border-radius:50%;background:#DC2626;box-shadow:0 0 0 2px var(--card,#fff)}
.acct-btn,.bnav .post{position:relative}
