/* Seam-style bottom status bar for Cortex */
.SBar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 33px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 14px;
  background: rgba(10, 11, 11, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font: 500 12px/1 'Manrope', system-ui, -apple-system, sans-serif;
  color: rgba(255, 255, 255, 0.72);
}
.SBar-l, .SBar-r {
  display: flex;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}
.SBar-l {
  gap: 4px;
  overflow: hidden;
}
.SBar-p {
  text-decoration: none;
  color: inherit;
  padding: 2px 5px;
  border-radius: 4px;
  transition: background .18s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  line-height: 1;
}
.SBar-logo {
  display: inline-flex;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex: 0 0 15px;
}
.SBar-logo img {
  width: 15px;
  height: 15px;
  display: block;
  border-radius: 50%;
}
.SBar-px {
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.SBar-r {
  gap: 4px;
  flex-shrink: 0;
}
.SBar-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #22e35f;
  font-size: 11.5px;
  font-weight: 600;
  margin-right: 4px;
}
.SBar-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22e35f;
  box-shadow: 0 0 8px #22e35f;
  animation: sbarPulse 2s infinite;
}
@keyframes sbarPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.SBar-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color .18s, background .18s;
  text-decoration: none;
}
.SBar-ic:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.SBar-ic svg {
  display: block;
}
.SBar-pipe {
  display: inline-block;
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.16);
  margin: 0 3px;
}
.SBar-link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11.5px;
  font-weight: 500;
  text-decoration: none;
  padding: 0 4px;
  transition: color .18s;
}
.SBar-link:hover {
  color: #fff;
}
.SLang {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  margin-left: 2px;
}
.SLang button {
  background: none;
  border: 0;
  padding: 0 2px;
  color: rgba(255, 255, 255, 0.45);
  font: inherit;
  cursor: pointer;
  transition: color .18s;
}
.SLang button:hover {
  color: #fff;
}
.SLang button.on {
  color: #fff;
  font-weight: 700;
}
.SLang-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 11px;
}

body.has-sbar {
  padding-bottom: 34px !important;
}
@media (max-width: 860px) {
  .SBar-l { gap: 10px; }
  .SBar-r { gap: 4px; }
}
@media (max-width: 640px) {
  .SBar-live { display: none; }
}

.SBar-p:hover, .SBar-p:focus-visible { background: rgba(255,255,255,.08); outline: 0; }
.SBar-logo { background: rgba(255,255,255,.08); }
.SBar-logo img { padding: 2px; box-sizing: border-box; }
.SBarTip { position: fixed; z-index: 1300; width: 260px; padding: 14px; border-radius: 14px; background: rgba(16,17,24,.97); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 18px 50px rgba(0,0,0,.55); font: 500 12px/1.4 'Manrope', system-ui, sans-serif; color: #c9cfe0; opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .16s, transform .16s; }
.SBarTip.in { opacity: 1; transform: none; }
.SBarTip-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.SBarTip-h img { width: 30px; height: 30px; padding: 7px; box-sizing: border-box; border-radius: 50%; background: rgba(255,255,255,.08); }
.SBarTip-s { font-weight: 700; font-size: 14px; color: #fff; }
.SBarTip-n { color: #8a90a6; font-size: 11px; margin-top: 2px; }
.SBarTip-p { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.SBarTip-p b { font-size: 22px; font-weight: 700; color: #fff; }
.SBarTip-p em { font-style: normal; color: #8a90a6; }
.SBarTip-r { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid rgba(255,255,255,.06); }
.SBarTip-r span { color: #8a90a6; }
.SBarTip-r b { color: #fff; font-weight: 600; }
.SBarTip-f { margin-top: 8px; color: #6b7088; font-size: 10.5px; }
