.xs-work-badge {
  position: fixed;
  z-index: 19;
  top: 78px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: none;
  min-height: 46px;
  padding: 7px 18px;
  border: 0;
  border-top: 1px solid rgba(255, 211, 92, .38);
  border-bottom: 1px solid rgba(255, 211, 92, .38);
  border-radius: 0;
  background: linear-gradient(90deg, rgba(32,20,9,.97), rgba(24,13,27,.97) 50%, rgba(32,20,9,.97));
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .38), inset 0 0 35px rgba(255, 194, 42, .06);
  font: 700 13px/1.3 system-ui, sans-serif;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.2,.9,.25,1.15), opacity .25s ease;
}
.xs-work-badge.is-visible { transform: translateY(0); opacity: 1; }
.xs-work-badge i {
  position: relative;
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 27px;
  place-items: center;
  clip-path: polygon(50% 0,100% 100%,0 100%);
  padding-top: 7px;
  background: linear-gradient(145deg, #fff08a, #ffb800 62%, #ff8a00);
  color: #231500;
  font-style: normal;
  font-size: 15px;
  font-weight: 1000;
  filter: drop-shadow(0 0 7px rgba(255,190,0,.75));
  animation: xs-warning-pulse 1.35s ease-in-out infinite;
}
.xs-work-badge .xs-warning-icon-right{animation-delay:.28s}
.xs-work-badge span { min-width: 0; }
.xs-work-badge strong { color: #ffd35c; }
@keyframes xs-warning-pulse{0%,100%{transform:translateY(0) scale(1);filter:drop-shadow(0 0 5px rgba(255,190,0,.55))}45%{transform:translateY(-2px) scale(1.12);filter:drop-shadow(0 0 12px rgba(255,205,45,.95))}55%{transform:translateY(-2px) scale(1.08) rotate(-4deg)}65%{transform:translateY(-1px) scale(1.08) rotate(4deg)}}
html[data-theme="light"] .xs-work-badge{border-color:#e2ac28;background:linear-gradient(90deg,#fff5cf,#fffdf5 50%,#fff5cf);color:#3a2a08;box-shadow:0 9px 25px #533c1229}html[data-theme="light"] .xs-work-badge strong{color:#9c6200}
@media(prefers-reduced-motion:reduce){.xs-work-badge i{animation:none}}
@media (max-width: 600px) {
  .xs-work-badge { top: 122px; width: 100%; min-height: 44px; padding: 6px 10px; box-sizing: border-box; font-size: 11px; text-align:center; }
  .xs-work-badge i{flex-basis:26px;width:26px;height:24px;font-size:13px}
  .xs-work-badge .xs-warning-icon-right{display:none}
}

.xs-status-admin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 18px;
  border-color: rgba(255, 211, 92, .25);
}
.xs-status-admin small { color: #ec369a; font-weight: 800; letter-spacing: .12em; }
.xs-status-admin h2 { margin: 5px 0; }
.xs-status-admin p { margin: 0; color: var(--muted, #aaa); }
.xs-status-switch { position: relative; display: inline-flex; flex: 0 0 auto; cursor: pointer; }
.xs-status-switch input { position: absolute; opacity: 0; pointer-events: none; }
.xs-status-switch span { width: 58px; height: 32px; border-radius: 999px; background: #34313e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: .2s; }
.xs-status-switch span::after { content: ''; display: block; width: 24px; height: 24px; margin: 4px; border-radius: 50%; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.35); transition: transform .2s; }
.xs-status-switch input:checked + span { background: linear-gradient(135deg, #ec369a, #7928ed); }
.xs-status-switch input:checked + span::after { transform: translateX(26px); }
.xs-status-switch input:focus-visible + span { outline: 3px solid rgba(236,54,154,.35); outline-offset: 3px; }
@media (max-width: 650px) { .xs-status-admin { align-items: flex-start; } }
