.site-ui-switch {
  position: fixed;
  z-index: 1001;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  min-width: 104px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: #17292e;
  box-shadow: 0 8px 24px rgba(15, 25, 28, .22);
  color: #fff;
  font: 600 13px/1.2 'PingFang SC', 'Microsoft YaHei', sans-serif;
  cursor: pointer;
  transition: background-color .2s ease, box-shadow .2s ease;
}

.site-ui-switch:hover {
  background: #9e2929;
  box-shadow: 0 10px 28px rgba(40, 16, 18, .28);
}

.site-ui-switch:focus-visible {
  outline: 3px solid #eebf7e;
  outline-offset: 3px;
}

html[data-site-ui='classic'] .site-ui-switch {
  background: #9e2929;
}

html[data-site-ui='classic'] .site-ui-switch:hover {
  background: #17292e;
}

@media (prefers-reduced-motion: reduce) {
  .site-ui-switch { transition: none; }
}
