.nav-session-status {
  display: flex;
  min-width: 5.25rem;
  min-height: 2.5rem;
  padding: 0.3rem 0.75rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  background: #fff7ed;
  color: #c2410c;
  box-shadow: none;
  line-height: 1;
  white-space: nowrap;
}

.nav-session-status__label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.nav-session-status__time {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.dark .nav-session-status {
  border-color: transparent;
  background: rgba(124, 45, 18, 0.4);
  color: #fdba74;
}

.session-expiry-notice {
  position: fixed;
  left: 50%;
  top: 4.75rem;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100vw - 2rem);
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(217, 119, 6, 0.32);
  border-radius: 0.5rem;
  background: rgba(255, 251, 235, 0.97);
  color: #92400e;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transform: translateX(-50%);
}

.session-expiry-notice[hidden] {
  display: none !important;
}

.session-expiry-notice--expired {
  border-color: rgba(220, 38, 38, 0.35);
  background: rgba(254, 242, 242, 0.97);
  color: #991b1b;
}

.dark .session-expiry-notice {
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(69, 26, 3, 0.95);
  color: #fde68a;
}

.dark .session-expiry-notice--expired {
  border-color: rgba(248, 113, 113, 0.3);
  background: rgba(69, 10, 10, 0.95);
  color: #fecaca;
}

@media (max-width: 640px) {
  .session-expiry-notice {
    top: auto;
    right: 0.75rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    left: 0.75rem;
    width: auto;
    min-height: 2.5rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
    transform: none;
  }
}
