/* SYPOWER infinite board — original workspace chrome for the Agents menu. */

body.syb-open .app-top .btn-help-gold,
body.syb-open .app-top .btn-tasks,
body.syb-open .model-center,
body.syb-open .hist-rail,
body.syb-open .hist-panel,
body.syb-open .client-chip,
body.syb-open .composer-wrap {
  display: none !important;
}
body.syb-open .app-top .agent-portal-trigger { display: none; }
body.syb-open.page-app[data-menu="zhinengti"] .chat-canvas.syb-host {
  padding: 0;
  overflow: hidden;
  align-items: stretch;
  justify-content: stretch;
  position: relative;
  background: #0a0b10;
}

.syb-shell {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  color: var(--text-primary, #f5fbff);
  font-family: var(--font);
  min-height: 0;
}

.syb-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3.5rem;
  z-index: 16;
  display: flex;
  align-items: center;
  pointer-events: none;
  padding: 0 .85rem 0 3.2rem;
  gap: .55rem;
}
.syb-bar > * { pointer-events: auto; }
body.sidebar-collapsed .syb-bar { padding-left: 1.1rem; }

.syb-btn-new {
  height: 2rem;
  padding: 0 .85rem;
  border-radius: 999px;
  border: 0;
  background: var(--color-primary, #00CAE0);
  color: #062126;
  font-weight: 700;
  font-size: .82rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  box-shadow: 0 0 .8rem rgba(0, 202, 224, .28);
  cursor: pointer;
}
.syb-btn-new:hover { filter: brightness(1.06); }
.syb-btn-new svg { width: 14px; height: 14px; }

.syb-hist-wrap { position: relative; }
.syb-hist-btn {
  height: 2rem;
  padding: 0 .75rem;
  border-radius: .55rem;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(20, 22, 28, .72);
  color: rgba(255,255,255,.82);
  font-size: .8rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  cursor: pointer;
}
.syb-hist-btn:hover { border-color: rgba(0,202,224,.4); color: #fff; }
.syb-hist-btn svg { width: 12px; height: 12px; opacity: .8; }
.syb-hist-pop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  max-height: 360px;
  overflow: auto;
  background: #171920;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .85rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  padding: .4rem;
  z-index: 30;
}
.syb-hist-pop[hidden] { display: none; }
.syb-hist-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  text-align: left;
  padding: .5rem .6rem;
  border: 0;
  background: transparent;
  color: #e8eef3;
  border-radius: .55rem;
  cursor: pointer;
  font-size: .82rem;
}
.syb-hist-item:hover, .syb-hist-item.is-on { background: rgba(255,255,255,.06); }
.syb-hist-item .syb-hist-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.syb-hist-item .syb-hist-time { color: #7b8690; font-size: .72rem; }
.syb-hist-empty { padding: .8rem; color: #7b8690; font-size: .8rem; text-align: center; }
.syb-hist-del {
  border: 0; background: transparent; color: #8b949e; cursor: pointer;
  padding: .15rem .25rem; border-radius: .35rem; font-size: .9rem;
}
.syb-hist-del:hover { color: #f87171; background: rgba(248,113,113,.1); }

.syb-mid {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .7rem;
  max-width: min(42rem, calc(100% - 22rem));
  pointer-events: auto;
}
.syb-title {
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255,255,255,.82);
  font-size: .88rem;
  font-weight: 500;
  text-align: center;
  min-width: 8rem;
  max-width: 16rem;
  padding: .25rem .5rem;
  border-radius: .4rem;
}
.syb-title:hover, .syb-title:focus {
  border-color: rgba(255,255,255,.12);
  background: rgba(20,22,28,.7);
  outline: none;
}

.syb-search {
  display: flex;
  align-items: center;
  gap: .35rem;
  height: 2rem;
  padding: 0 .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(20,22,28,.65);
  color: #8c99a0;
  min-width: 10rem;
}
.syb-search svg { width: 14px; height: 14px; flex-shrink: 0; }
.syb-search input {
  background: transparent;
  border: 0;
  outline: none;
  color: #f5fbff;
  font-size: .8rem;
  width: 8.5rem;
}
.syb-search input::placeholder { color: #6b7580; }

.syb-bar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding-right: 11.5rem;
}
@media (max-width: 1200px) {
  .syb-bar-right { padding-right: 10.5rem; }
  .syb-search input { width: 6.5rem; }
}
.syb-btn-agent {
  height: 2rem;
  padding: 0 .9rem;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(180deg, #9b6bff, #7c3aed);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 .7rem rgba(124, 58, 237, .35);
}
.syb-btn-agent:hover { filter: brightness(1.06); }
.syb-btn-dl {
  height: 2rem;
  padding: 0 .85rem;
  border-radius: 999px;
  border: 0;
  background: var(--color-primary, #00CAE0);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  cursor: pointer;
  box-shadow: 0 0 .8rem rgba(0,202,224,.28);
}
.syb-btn-dl svg { width: 14px; height: 14px; }

/* When we hide the stock download/login cluster, keep space smaller */
body.syb-open .app-top .btn-dl-cyan { visibility: hidden; }

.syb-stage {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  cursor: grab;
  background-color: #0a0b10;
  touch-action: none;
}
.syb-stage.is-panning { cursor: grabbing; }
.syb-stage.is-connecting { cursor: crosshair; }

.syb-dots {
  position: absolute;
  inset: -200px;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.16) 1px, transparent 1.2px);
  background-size: 28px 28px;
  opacity: .55;
}

.syb-world {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.syb-wires {
  position: absolute;
  left: 0;
  top: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}
.syb-wires path {
  fill: none;
  stroke: #2dd4d8;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.syb-wires path.syb-wire-hit {
  stroke: transparent;
  stroke-width: 14;
  pointer-events: stroke;
  cursor: pointer;
}
.syb-wires path.syb-wire-temp {
  stroke: #67e8f9;
  stroke-dasharray: 6 5;
}

.syb-node {
  position: absolute;
  width: 268px;
  z-index: 2;
  background: #161922;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,.38);
  color: #e8eef3;
  user-select: none;
}
.syb-node.is-on {
  border-color: rgba(45, 212, 216, .7);
  box-shadow: 0 0 0 1px rgba(45, 212, 216, .25), 0 12px 32px rgba(0,0,0,.45);
  z-index: 4;
}
.syb-node.is-hit {
  outline: 2px solid #f5c542;
}
.syb-node-hd {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .6rem .4rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  cursor: move;
}
.syb-node-ico {
  width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.syb-node-ico svg { width: 14px; height: 14px; }
.syb-node-name {
  flex: 1; min-width: 0;
  font-size: .78rem; font-weight: 650;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.syb-node-acts { display: flex; gap: .15rem; }
.syb-node-acts button {
  width: 22px; height: 22px; border: 0; border-radius: 6px;
  background: transparent; color: #8b949e; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.syb-node-acts button:hover { background: rgba(255,255,255,.08); color: #fff; }
.syb-node-acts button.syb-run { color: #67e8f9; }
.syb-node-acts button.syb-run:disabled { opacity: .45; cursor: wait; }

.syb-node-bd { padding: .55rem .65rem .65rem; }
.syb-node-bd textarea,
.syb-node-bd input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  background: #10131a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  color: #e8eef3;
  font: inherit;
  font-size: .75rem;
  line-height: 1.45;
  padding: .4rem .5rem;
  resize: vertical;
  min-height: 4.2rem;
}
.syb-node-bd textarea:focus,
.syb-node-bd input:focus { outline: none; border-color: rgba(0,202,224,.55); }
.syb-node textarea,
.syb-node input,
.syb-title,
.syb-search input {
  user-select: text;
  -webkit-user-select: text;
  pointer-events: auto;
  cursor: text;
  position: relative;
  z-index: 6;
}
.syb-node-file {
  margin-top: .4rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  color: #8c99a0;
}
.syb-node-file button, .syb-node-file label {
  border: 1px dashed rgba(255,255,255,.16);
  background: rgba(255,255,255,.03);
  color: #c5d0d6;
  border-radius: 8px;
  padding: .28rem .5rem;
  cursor: pointer;
  font-size: .72rem;
}
.syb-thumb {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: .4rem;
  background: #0d0f14;
  display: block;
}
.syb-out-text {
  margin-top: .4rem;
  font-size: .74rem;
  line-height: 1.5;
  color: #c9d3d9;
  max-height: 9rem;
  overflow: auto;
  white-space: pre-wrap;
  background: #10131a;
  border-radius: 8px;
  padding: .4rem .5rem;
}
.syb-status {
  margin-top: .4rem;
  font-size: .7rem;
  color: #8c99a0;
}
.syb-status.is-run { color: #67e8f9; }
.syb-status.is-err, .syb-status.is-blocked { color: #fbbf24; white-space: pre-wrap; line-height: 1.45; max-height: 6.5rem; overflow: auto; }
.syb-tags { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .45rem; }
.syb-tag {
  font-size: .66rem;
  padding: .1rem .4rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, .18);
  color: #c4b5fd;
}
.syb-tag.is-img { background: rgba(245, 158, 11, .16); color: #fbbf24; }
.syb-tag.is-vid { background: rgba(236, 72, 153, .16); color: #f9a8d4; }
.syb-tag.is-txt { background: rgba(96, 165, 250, .16); color: #93c5fd; }
.syb-tag.is-ok { background: rgba(16, 185, 129, .16); color: #6ee7b7; }

.syb-port {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #0a0b10;
  border: 2px solid #2dd4d8;
  z-index: 5;
  cursor: crosshair;
  box-sizing: border-box;
}
.syb-port.in { left: -6px; top: 50%; transform: translateY(-50%); }
.syb-port.out { right: -6px; top: 50%; transform: translateY(-50%); }
.syb-port:hover, .syb-port.is-on { background: #2dd4d8; box-shadow: 0 0 0 4px rgba(45,212,216,.2); }

/* Empty state */
.syb-empty {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  z-index: 6;
  text-align: center;
  width: min(720px, calc(100% - 3rem));
  pointer-events: none;
}
.syb-empty > * { pointer-events: auto; }
.syb-empty-plus {
  width: 44px; height: 44px; margin: 0 auto .7rem;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  color: #8c99a0; font-size: 1.4rem;
}
.syb-empty h3 {
  margin: 0 0 .35rem;
  font-size: 1rem;
  font-weight: 650;
  color: rgba(255,255,255,.88);
}
.syb-empty p {
  margin: 0 0 .85rem;
  font-size: .8rem;
  color: #7b8690;
}
.syb-btn-import {
  height: 2.1rem;
  padding: 0 .95rem;
  border-radius: 999px;
  border: 0;
  background: var(--color-primary, #00CAE0);
  color: #062126;
  font-weight: 700;
  font-size: .82rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  cursor: pointer;
}
.syb-btn-import svg { width: 14px; height: 14px; }
.syb-starters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  margin-top: 1.35rem;
  text-align: left;
}
.syb-starters .syb-sc:nth-child(n+5) {
  /* second row visual centering is handled by a 4-col grid; last 3 sit naturally */
}
@media (min-width: 860px) {
  .syb-starters {
    grid-template-columns: repeat(4, 148px);
    justify-content: center;
  }
}
.syb-sc {
  background: #14171e;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: .7rem .7rem .75rem;
  cursor: pointer;
  color: inherit;
  text-align: left;
  min-height: 5.4rem;
}
.syb-sc:hover {
  border-color: rgba(0,202,224,.4);
  background: #181c24;
}
.syb-sc-ico {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .45rem;
}
.syb-sc-ico svg { width: 16px; height: 16px; }
.syb-sc strong { display: block; font-size: .78rem; font-weight: 650; color: #eef3f6; }
.syb-sc span { display: block; margin-top: .2rem; font-size: .68rem; color: #7b8690; line-height: 1.35; }

/* Footer chips */
.syb-foot {
  position: absolute;
  left: .9rem;
  bottom: 2.6rem;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.syb-userchip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  height: 2rem;
  padding: 0 .65rem 0 .3rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(16,18,24,.86);
  color: #d7dee3;
  font-size: .75rem;
  cursor: pointer;
}
.syb-userchip .syb-av {
  width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: #2a3038; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
}
.syb-howto {
  height: 2rem;
  padding: 0 .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(16,18,24,.86);
  color: #c5d0d6;
  font-size: .75rem;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: .3rem;
}
.syb-howto:hover, .syb-userchip:hover { border-color: rgba(0,202,224,.4); }

.syb-tip {
  position: absolute;
  left: 50%;
  bottom: .7rem;
  transform: translateX(-50%);
  z-index: 12;
  max-width: min(52rem, calc(100% - 8rem));
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .7rem .4rem .55rem;
  border-radius: 999px;
  background: rgba(16, 18, 26, .92);
  border: 1px solid rgba(255,255,255,.08);
  color: #9aa4ad;
  font-size: .72rem;
  line-height: 1.4;
}
.syb-tip b {
  flex-shrink: 0;
  background: #00CAE0;
  color: #062126;
  border-radius: 999px;
  font-size: .66rem;
  padding: .05rem .35rem;
}
.syb-tip button {
  border: 0; background: transparent; color: #7b8690; cursor: pointer;
  font-size: 1rem; line-height: 1; padding: 0 .15rem;
}
.syb-tip[hidden] { display: none; }

/* Modals */
.syb-mask {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(4, 6, 10, .62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.syb-mask[hidden] { display: none; }
.syb-dlg {
  width: min(440px, 100%);
  background: #1b1e27;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  padding: 1.1rem 1.15rem 1rem;
}
.syb-dlg.is-wide { width: min(420px, 100%); }
.syb-dlg-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .95rem;
}
.syb-dlg-hd h2 { margin: 0; font-size: .95rem; font-weight: 650; color: #f2f6f8; }
.syb-x {
  width: 1.7rem; height: 1.7rem; border: 0; border-radius: 8px;
  background: transparent; color: #8b949e; cursor: pointer; font-size: 1.1rem;
}
.syb-x:hover { background: rgba(255,255,255,.08); color: #fff; }
.syb-lab {
  display: block;
  font-size: .75rem;
  color: #8c99a0;
  margin: 0 0 .35rem;
}
.syb-namewrap {
  position: relative;
  margin-bottom: 1rem;
}
.syb-namewrap input {
  width: 100%;
  box-sizing: border-box;
  height: 2.45rem;
  padding: 0 3.2rem 0 .8rem;
  border-radius: 10px;
  border: 1px solid rgba(0,202,224,.7);
  background: #12141b;
  color: #f2f6f8;
  font-size: .88rem;
}
.syb-namewrap input:focus { outline: none; box-shadow: 0 0 0 3px rgba(0,202,224,.15); }
.syb-count {
  position: absolute; right: .7rem; top: 50%; transform: translateY(-50%);
  font-size: .72rem; color: #6b7580;
}
.syb-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin-top: .2rem;
}
.syb-type {
  text-align: left;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: #14171e;
  padding: .8rem .75rem;
  color: inherit;
  cursor: pointer;
}
.syb-type.is-on {
  border-color: rgba(0,202,224,.8);
  background: rgba(0,202,224,.08);
  box-shadow: 0 0 0 1px rgba(0,202,224,.15);
}
.syb-type-ico {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .5rem;
  background: rgba(0,202,224,.12);
  color: #67e8f9;
}
.syb-type strong { display: block; font-size: .82rem; }
.syb-type span { display: block; margin-top: .3rem; font-size: .7rem; color: #7b8690; line-height: 1.4; }
.syb-dlg-ft {
  display: flex; justify-content: flex-end; gap: .45rem;
  margin-top: 1.15rem;
}
.syb-btn-ghost, .syb-btn-ok {
  height: 2.05rem;
  padding: 0 1rem;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 650;
  cursor: pointer;
}
.syb-btn-ghost {
  border: 1px solid rgba(255,255,255,.1);
  background: #22252e;
  color: #d7dee3;
}
.syb-btn-ok {
  border: 0;
  background: var(--color-primary, #00CAE0);
  color: #062126;
  display: inline-flex; align-items: center; gap: .3rem;
}
.syb-btn-ok:disabled { opacity: .5; cursor: not-allowed; }

.syb-tabs {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin: 0 0 .7rem;
  padding: 0 .1rem;
}
.syb-tab {
  border: 0; background: transparent;
  color: #8c99a0;
  font-size: .82rem;
  padding: .35rem 0 .55rem;
  cursor: pointer;
  position: relative;
}
.syb-tab.is-on { color: #67e8f9; font-weight: 650; }
.syb-tab.is-on::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: #00CAE0; border-radius: 2px;
}
.syb-list {
  max-height: 280px;
  overflow: auto;
  margin: 0 -.2rem;
}
.syb-li {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .65rem;
  text-align: left;
  border: 0;
  background: transparent;
  color: #e8eef3;
  padding: .55rem .55rem;
  border-radius: 8px;
  cursor: pointer;
}
.syb-li:hover, .syb-li.is-on { background: rgba(255,255,255,.06); }
.syb-li-ico {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05);
  color: #9aa4ad;
  flex-shrink: 0;
}
.syb-li-ico svg { width: 16px; height: 16px; }
.syb-li-body { min-width: 0; flex: 1; }
.syb-li-body strong { display: block; font-size: .84rem; font-weight: 550; }
.syb-li-body span { display: block; margin-top: .15rem; font-size: .7rem; color: #7b8690; }
.syb-codebox { padding: .4rem 0 .2rem; }
.syb-codebox input, .syb-codebox textarea {
  width: 100%;
  box-sizing: border-box;
  height: 2.4rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: #12141b;
  color: #f2f6f8;
  padding: 0 .75rem;
  font-size: .85rem;
}
.syb-codebox p { font-size: .75rem; color: #8c99a0; margin: .55rem 0 0; line-height: 1.5; }
.syb-share-row {
  display: flex; gap: .4rem; margin-top: .55rem;
}
.syb-share-row input { flex: 1; }

.syb-help-pop {
  position: absolute;
  left: .9rem;
  bottom: 5.1rem;
  z-index: 18;
  width: min(22rem, calc(100% - 2rem));
  background: #171a22;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: .9rem 1rem 1rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}
.syb-help-pop[hidden] { display: none; }
.syb-help-pop h3 { margin: 0 0 .4rem; font-size: .9rem; }
.syb-help-pop p, .syb-help-pop li { font-size: .78rem; color: #9aa4ad; line-height: 1.55; }
.syb-help-pop ul { margin: .3rem 0 0; padding-left: 1.1rem; }
.syb-ctx {
  position: absolute;
  z-index: 20;
  min-width: 168px;
  background: #171a22;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: .3rem;
  box-shadow: 0 12px 28px rgba(0,0,0,.45);
}
.syb-ctx[hidden] { display: none; }
.syb-ctx button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #e8eef3;
  font-size: .78rem;
  padding: .4rem .55rem;
  border-radius: 7px;
  cursor: pointer;
}
.syb-ctx button:hover { background: rgba(255,255,255,.06); }

.syb-zoom {
  position: absolute;
  right: 1rem;
  bottom: 2.6rem;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: .2rem;
  background: rgba(16,18,24,.86);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: .15rem;
  color: #c5d0d6;
  font-size: .72rem;
}
.syb-zoom button {
  width: 1.6rem; height: 1.6rem; border: 0; border-radius: 50%;
  background: transparent; color: inherit; cursor: pointer;
}
.syb-zoom button:hover { background: rgba(255,255,255,.08); }
.syb-zoom span { min-width: 2.6rem; text-align: center; }

html[data-theme="light"] body.syb-open.page-app[data-menu="zhinengti"] .chat-canvas.syb-host,
html[data-theme="light"] .syb-stage { background-color: #e8eaef; }
html[data-theme="light"] .syb-dots {
  background-image: radial-gradient(circle, rgba(15,20,30,.28) 1px, transparent 1.2px);
}
html[data-theme="light"] .syb-node,
html[data-theme="light"] .syb-dlg,
html[data-theme="light"] .syb-sc,
html[data-theme="light"] .syb-hist-pop,
html[data-theme="light"] .syb-help-pop {
  background: #f7f8fa;
  color: #1a1f24;
  border-color: rgba(15,20,30,.12);
}
html[data-theme="light"] .syb-title,
html[data-theme="light"] .syb-empty h3,
html[data-theme="light"] .syb-sc strong,
html[data-theme="light"] .syb-li { color: #1a1f24; }
html[data-theme="light"] .syb-node-bd textarea,
html[data-theme="light"] .syb-namewrap input {
  background: #fff; color: #1a1f24;
}

.sy-phone body.syb-open .syb-bar {
  padding: 3.3rem .7rem 0 .7rem;
  height: auto;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: flex-start;
}
.sy-phone body.syb-open .syb-mid {
  position: static;
  transform: none;
  max-width: none;
  order: 3;
  width: 100%;
  justify-content: space-between;
}
.sy-phone body.syb-open .syb-bar-right {
  padding-right: 0;
  margin-left: auto;
}
.sy-phone body.syb-open .syb-starters {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sy-phone body.syb-open .syb-tip { max-width: calc(100% - 1.2rem); border-radius: 12px; }
.sy-phone body.syb-open .syb-foot { bottom: calc(var(--sy-tabbar, 3.2rem) + var(--sy-safe-bottom, 0px) + 2.4rem); }
.sy-phone body.syb-open .syb-zoom { bottom: calc(var(--sy-tabbar, 3.2rem) + 2.4rem); }
