:root {
--bg: #08080a;
--dot: rgba(255, 255, 255, 0.075);
--panel: #131418;
--panel-2: #191a1f;
--panel-3: #202127;
--line: #26272d;
--line-soft: #202127;
--txt: #e7e8ec;
--dim: #8b8d96;
--dim-2: #63656e;
--accent: #3d7eff;
--accent-2: #2f6bf0;
--danger: #ff5c5c;
--ok: #37c98b;
--node-r: 14px;
--shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body {
margin: 0; padding: 0; height: 100%; overflow: hidden;
background: var(--bg);
color: var(--txt);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
-webkit-font-smoothing: antialiased;
}
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font-family: inherit; color: inherit; }
::selection { background: rgba(61, 126, 255, 0.35); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: #2f3038; border-radius: 9px; border: 2px solid var(--panel); }
::-webkit-scrollbar-track { background: transparent; }
.gate {
position: fixed; inset: 0; z-index: 100; display: flex;
background: #0a0f16; min-height: 100dvh;
}
.gate-bgimg {
position: absolute; inset: 0;
background: #0a0f16 url('/assets/hero.jpg') left center / cover no-repeat;
}
.gate-scrim {
position: absolute; inset: 0; pointer-events: none;
background:
linear-gradient(90deg, rgba(7, 11, 17, 0) 34%, rgba(7, 11, 17, 0.45) 56%, rgba(7, 11, 17, 0.78) 76%, rgba(7, 11, 17, 0.88) 100%),
linear-gradient(0deg, rgba(7, 11, 17, 0.5) 0%, rgba(7, 11, 17, 0) 22%),
linear-gradient(180deg, rgba(7, 11, 17, 0.34) 0%, rgba(7, 11, 17, 0) 18%);
}
.gate-pane {
position: relative; z-index: 2; flex: 0 0 42%; min-width: 400px; margin-left: auto;
display: grid; place-items: center; padding: 44px 30px; overflow: hidden;
}
.gate-card {
position: relative; z-index: 1; width: 100%; max-width: 384px; padding: 34px 32px 26px;
background: rgba(13, 16, 22, 0.82);
border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 22px;
backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
animation: rise 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(0.985); } }
.gate-logo { margin-bottom: 16px; }
.gate-card h1 { margin: 0 0 6px; font-size: 22px; letter-spacing: -0.2px; font-weight: 650; }
.gate-sub { margin: 0 0 24px; font-size: 13px; color: var(--dim); }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 12px; color: var(--dim); margin-bottom: 7px; }
.field input {
width: 100%; height: 42px; padding: 0 13px; font-size: 14px;
background: #0c0d10; border: 1px solid #292a33; border-radius: 11px;
outline: none; transition: border-color 0.16s, box-shadow 0.16s;
}
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61, 126, 255, 0.16); }
.gate-err { min-height: 18px; font-size: 12.5px; color: var(--danger); margin: 2px 0 10px; }
.gate-hint { margin: 18px 0 0; font-size: 11.5px; color: var(--dim-2); text-align: center; line-height: 1.6; }
.rd-tip { margin: -6px 0 14px; font-size: 12px; color: var(--dim); line-height: 1.6; }
#rdKey { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.4px; }
@media (max-width: 900px) {
.gate { display: block; overflow: auto; }
.gate-bgimg { background-position: right center; }
.gate-scrim { background: rgba(7, 11, 17, 0.88); }
.gate-pane { min-width: 0; min-height: 100dvh; flex: none; }
}
.btn-primary {
display: inline-flex; align-items: center; justify-content: center; gap: 7px;
height: 34px; padding: 0 16px; border-radius: 10px;
background: linear-gradient(180deg, #4b86ff, var(--accent-2));
color: #fff; font-size: 13px; font-weight: 600;
box-shadow: 0 4px 14px rgba(47, 107, 240, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
transition: filter 0.15s, transform 0.1s;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary.lg { width: 100%; height: 44px; font-size: 14.5px; border-radius: 12px; }
.btn-primary[disabled] { opacity: 0.55; cursor: not-allowed; filter: grayscale(0.3); }
.btn-ghost {
height: 34px; padding: 0 14px; border-radius: 10px; font-size: 13px;
background: #1c1d23; border: 1px solid #2c2d35; color: #cfd1d8;
}
.btn-ghost:hover { background: #23242b; }
#app { position: fixed; inset: 0; }
#stage {
position: absolute; inset: 0; overflow: hidden; cursor: default;
background-color: var(--bg);
background-image: radial-gradient(circle, var(--dot) 1px, transparent 1px);
background-size: 26px 26px;
background-position: 0 0;
}
#stage.panning { cursor: grabbing; }
#world { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; }
#edges { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; pointer-events: none; }
#nodes { position: absolute; left: 0; top: 0; width: 0; height: 0; }
#topbar {
position: fixed; top: 0; left: 0; right: 0; height: 46px; z-index: 20;
display: flex; align-items: center; gap: 10px; padding: 0 14px;
pointer-events: none;
}
#topbar > * { pointer-events: auto; }
.proj {
display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 9px;
border-radius: 9px; font-size: 13.5px; font-weight: 550; color: #d8dae1;
}
.proj:hover { background: #16171c; }
.tb-sep { width: 1px; height: 14px; background: #26272d; }
.tb-meta { font-size: 12px; color: var(--dim-2); }
.tb-save { color: #4d5058; }
.tb-save.saving { color: #7a7d86; }
.tb-save.stale { color: #ff9b6a; }
.sync-alert {
position: fixed; left: 50%; top: 58px; transform: translateX(-50%);
z-index: 9999; display: flex; align-items: center; gap: 10px; max-width: min(760px, 92vw);
padding: 10px 12px 10px 14px; border-radius: 12px;
background: #2a1a14; border: 1px solid rgba(255, 138, 76, 0.45);
box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
color: #ffd9c4; font-size: 12.5px; line-height: 1.5;
}
.sync-alert b { color: #ffb08a; font-weight: 650; flex: none; }
.sync-alert span { flex: 1; }
.sync-alert button {
flex: none; height: 26px; padding: 0 10px; border-radius: 8px; cursor: pointer;
background: rgba(255, 138, 76, 0.16); border: 1px solid rgba(255, 138, 76, 0.5);
color: #ffc7a6; font-size: 12px;
}
.sync-alert button:hover { background: rgba(255, 138, 76, 0.28); }
.tb-spacer { flex: 1; }
.credits {
display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 11px;
border-radius: 999px; background: rgba(61, 126, 255, 0.1);
border: 1px solid rgba(61, 126, 255, 0.24); color: #9dbcff; font-size: 12px;
}
.credits b { font-size: 13px; color: #cfdcff; font-weight: 650; }
.credits.low { background: rgba(255, 92, 92, 0.1); border-color: rgba(255, 92, 92, 0.3); color: #ff9d9d; }
.credits.low b { color: #ffc0c0; }
.credits.flash { animation: flash 0.6s ease 3; }
@keyframes flash { 50% { background: rgba(255, 92, 92, 0.32); transform: scale(1.05); } }
.tb-btn {
height: 28px; padding: 0 12px; border-radius: 8px; font-size: 12px;
background: #1a1b21; border: 1px solid #2a2b33; color: #b9bcc4;
}
.tb-btn:hover { background: #212229; color: #e6e8ee; }
.tb-user {
display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px 0 4px;
border-radius: 999px; background: #16171d; border: 1px solid #282931; font-size: 12px; color: #c2c5cd;
}
.tb-user span:first-child {
display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%;
background: linear-gradient(140deg, #4b86ff, #6d4bff); color: #fff; font-size: 11px; font-weight: 700;
}
.tb-user:hover { background: #1d1e25; }
#toolbar {
position: fixed; left: 14px; top: 50%; transform: translateY(-50%); z-index: 20;
display: flex; flex-direction: column; gap: 3px; padding: 7px;
background: rgba(21, 22, 27, 0.9); backdrop-filter: blur(18px);
border: 1px solid #26272e; border-radius: 16px;
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.tool {
display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
color: #a9acb5; transition: background 0.14s, color 0.14s;
}
.tool svg { width: 19px; height: 19px; }
.tool:hover { background: #23242c; color: #e8eaf0; }
.tool.active { background: #2a2b34; color: #fff; }
.tool-accent { color: #6ea0ff; }
.tool-accent:hover { background: rgba(61, 126, 255, 0.16); color: #9dc0ff; }
.tool-div { height: 1px; margin: 4px 6px; background: #2a2b33; }
#zoombar {
position: fixed; left: 14px; bottom: 16px; z-index: 20;
display: flex; align-items: center; gap: 2px; padding: 4px;
background: rgba(21, 22, 27, 0.88); backdrop-filter: blur(16px);
border: 1px solid #26272e; border-radius: 11px;
}
#zoombar button {
min-width: 26px; height: 26px; padding: 0 7px; border-radius: 7px;
font-size: 12.5px; color: #a9acb5; display: grid; place-items: center;
}
#zoombar button:hover { background: #262731; color: #fff; }
.zb-div { width: 1px; height: 13px; background: #2c2d35; margin: 0 2px; }
.node {
position: absolute; border-radius: var(--node-r);
background: var(--panel-2); border: 1px solid #2b2c33;
box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
transition: border-color 0.14s, box-shadow 0.14s;
will-change: transform;
}
.node:hover { border-color: #3a3c45; }
.node.sel {
border-color: rgba(61, 126, 255, 0.9);
box-shadow: 0 0 0 1px rgba(61, 126, 255, 0.55), 0 0 26px rgba(61, 126, 255, 0.22), 0 14px 38px rgba(0, 0, 0, 0.5);
}
.node.dragging { box-shadow: 0 22px 60px rgba(0, 0, 0, 0.62); z-index: 5; }
.n-head {
position: absolute; left: 2px; top: -25px; height: 20px;
display: inline-flex; align-items: center; gap: 5px;
font-size: 12px; color: #8f929b; user-select: none; white-space: nowrap;
}
.n-head svg { width: 13px; height: 13px; opacity: 0.85; }
.node.sel .n-head { color: #b9c6e6; }
.n-body { position: absolute; inset: 0; overflow: hidden; border-radius: var(--node-r); }
.node--text {
background: linear-gradient(168deg, #36361d 0%, #2c2c17 100%);
border-color: #4a4a27;
box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.node--text.sel { border-color: rgba(61, 126, 255, 0.9); }
.node--text .n-text {
height: 100%; padding: 14px 15px; overflow: auto;
font-size: 12.5px; line-height: 1.72; color: #eae7cf;
outline: none; white-space: pre-wrap; word-break: break-word;
caret-color: #9dc0ff;
}
.node--text .n-text:empty::before { content: "输入文本…"; color: rgba(234, 231, 207, 0.35); }
.node--text .n-text h3 { margin: 0 0 8px; font-size: 13px; font-weight: 650; color: #fff8d8; }
.node--text .n-text b, .node--text .n-text strong { color: #fffbd6; }
.node--media { background: #141519; }
.n-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.n-ph {
position: absolute; inset: 0; display: grid; place-items: center; gap: 8px;
color: #4e5158; background:
radial-gradient(circle, rgba(255,255,255,0.045) 1px, transparent 1px);
background-size: 16px 16px;
}
.n-ph svg { width: 26px; height: 26px; }
.n-ph .ph-txt { font-size: 11.5px; color: #595c64; }
.n-run { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; contain: layout paint; }
.n-run::before {
content: ""; position: absolute; inset: -40%;
background: conic-gradient(from 0deg, transparent 0deg, rgba(61, 126, 255, 0.16) 60deg, transparent 130deg, rgba(120, 90, 255, 0.14) 200deg, transparent 280deg);
animation: spin 4.5s linear infinite;
will-change: transform;
backface-visibility: hidden;
}
@keyframes spin { to { transform: rotate(360deg); } }
.n-run-inner {
position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
padding: 14px 20px 12px; border-radius: 14px; background: rgba(10, 11, 14, 0.72);
border: 1px solid #2a2b33; min-width: 138px;
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.n-orb { position: relative; width: 68px; height: 68px; }
.n-orb-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.n-orb-bg { fill: none; stroke: #262a34; stroke-width: 4; }
.n-orb-arc {
fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round;
transition: stroke-dashoffset 0.7s cubic-bezier(0.22, 0.8, 0.36, 1);
filter: drop-shadow(0 0 5px rgba(61, 126, 255, 0.55));
}
.n-orb-spin {
position: absolute; inset: -5px; border-radius: 50%;
border: 2px solid transparent;
border-top-color: rgba(96, 150, 255, 0.95);
border-right-color: rgba(96, 150, 255, 0.28);
animation: spin 1.15s linear infinite;
will-change: transform;
}
.n-orb-halo {
position: absolute; inset: -5px; border-radius: 50%;
border: 1px solid rgba(61, 126, 255, 0.35);
animation: halo 2.4s ease-in-out infinite;
will-change: transform, opacity;
}
@keyframes halo {
0%, 100% { transform: scale(1); opacity: 0.25; }
50% { transform: scale(1.13); opacity: 0.85; }
}
.n-pct {
position: absolute; inset: 0; display: grid; place-items: center;
font-size: 14.5px; font-weight: 600; color: #cfe0ff;
font-variant-numeric: tabular-nums; letter-spacing: 0.3px;
}
.n-pct i { font-style: normal; font-size: 9.5px; font-weight: 400; color: #7d8aa5; margin-left: 1px; }
.n-elapsed { font-size: 11px; color: #8f97a8; font-variant-numeric: tabular-nums; }
.n-eta { font-size: 10.5px; color: #5f626b; }
.n-mock { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.n-mock-grad { position: absolute; inset: -30%; filter: blur(26px); opacity: 0.85; animation: drift 7s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.18) rotate(9deg); } }
.n-mock-txt {
position: relative; padding: 0 22px; text-align: center;
font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, 0.94);
text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}
.n-badge {
position: absolute; left: 9px; top: 9px; z-index: 2;
padding: 2px 7px; border-radius: 6px; font-size: 10px;
background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.15);
color: rgba(255, 255, 255, 0.8); backdrop-filter: blur(6px);
}
.n-video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.n-audio { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 12px; }
.n-wave { display: flex; align-items: center; gap: 2.5px; height: 40px; }
.n-wave i { flex: 1; background: linear-gradient(180deg, #4c7dff, #2d52b0); border-radius: 2px; opacity: 0.85; }
.n-err {
position: absolute; inset: 0; padding: 12px 14px 10px; display: flex; flex-direction: column; gap: 7px;
align-items: center; justify-content: flex-start; text-align: center; overflow-y: auto;
background: rgba(255, 92, 92, 0.06); color: #ffb4b4; font-size: 11.5px; line-height: 1.6;
}
.n-err .err-ico { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 92, 92, 0.15); flex: none; }
.n-err .err-txt { word-break: break-word; }
.n-err .err-tip { color: #ffcf8a; font-size: 11px; }
.n-err .err-acts {
display: flex; gap: 6px; flex-wrap: wrap; justify-content: center;
margin-top: auto; position: sticky; bottom: 0; width: 100%; padding-top: 8px;
background: linear-gradient(rgba(30, 20, 20, 0), rgba(30, 20, 20, 0.72) 60%);
}
.n-tools {
position: absolute; right: 6px; top: -30px; display: none; gap: 2px;
background: rgba(24, 25, 30, 0.95); border: 1px solid #2e2f37; border-radius: 8px; padding: 2px;
}
.node:hover .n-tools, .node.sel .n-tools { display: flex; }
.n-tools button { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #969aa3; }
.n-tools button:hover { background: #2b2c35; color: #fff; }
.n-tools button.del:hover { background: rgba(255, 92, 92, 0.18); color: #ff8b8b; }
.n-tools svg { width: 13px; height: 13px; }
.n-resize {
position: absolute; right: -5px; bottom: -5px; width: 12px; height: 12px;
border-radius: 3px; background: #2b2c34; border: 1px solid #454751;
opacity: 0; cursor: nwse-resize; z-index: 3;
}
.node.sel .n-resize { opacity: 1; }
.n-resize:hover { background: var(--accent); border-color: var(--accent); }
.edge { fill: none; stroke: #3a3c45; stroke-width: 1.5; transition: stroke 0.14s; }
.edge.hit { stroke: transparent; stroke-width: 16; fill: none; pointer-events: stroke; cursor: pointer; }
.edge.on { stroke: #3d7eff; stroke-width: 2; filter: drop-shadow(0 0 6px rgba(61, 126, 255, 0.55)); }
#tmpEdge { fill: none; stroke: #3d7eff; stroke-width: 2; stroke-dasharray: 5 4; opacity: 0.9; }
.n-meta {
position: absolute; right: 8px; bottom: 7px; z-index: 2;
font-size: 10px; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.2px;
background: rgba(0, 0, 0, 0.42); padding: 2px 6px; border-radius: 5px;
backdrop-filter: blur(6px); pointer-events: none;
}
.n-cap {
position: absolute; left: 2px; top: calc(100% + 7px); width: 100%;
font-size: 11.5px; line-height: 1.55; color: #6f727b; user-select: none; pointer-events: none;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.node.sel .n-cap { color: #8f97a8; }
.mini-btn {
height: 26px; padding: 0 12px; border-radius: 8px; font-size: 11.5px;
background: #24252c; border: 1px solid #35373f; color: #cfd2da;
}
.mini-btn:hover { background: #2d2f38; color: #fff; }
.pb {
position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 30;
width: min(660px, calc(100vw - 40px));
background: rgba(19, 20, 25, 0.94); backdrop-filter: blur(22px);
border: 1px solid #2b2c34; border-radius: 20px;
padding: 11px 13px 12px;
box-shadow: 0 26px 70px rgba(0, 0, 0, 0.66), inset 0 1px 0 rgba(255, 255, 255, 0.045);
transition: border-color 0.2s, box-shadow 0.2s;
}
.pb:focus-within { border-color: #3a4560; box-shadow: 0 26px 70px rgba(0, 0, 0, 0.7), 0 0 0 3px rgba(61, 126, 255, 0.09); }
.pb[hidden] { display: none !important; }
.pb.float {
bottom: auto;
transform: none;
transition: border-color 0.2s, box-shadow 0.2s, left 0.14s ease, top 0.14s ease;
}
.pb.float::after {
content: '';
position: absolute;
left: 50%;
bottom: -7px;
width: 13px;
height: 13px;
transform: translateX(-50%) rotate(45deg);
background: rgba(19, 20, 25, 0.97);
border-right: 1px solid #2b2c34;
border-bottom: 1px solid #2b2c34;
border-radius: 0 0 4px 0;
pointer-events: none;
}
.pb.float.below::after {
bottom: auto;
top: -7px;
border: 0;
border-left: 1px solid #2b2c34;
border-top: 1px solid #2b2c34;
border-radius: 4px 0 0 0;
}
.pb-head { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.pb-model-wrap {
display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px;
border-radius: 8px; background: #1e2028; border: 1px solid #2f3340;
}
.pb-model {
font-size: 12px; color: #b8c6e4; cursor: default; user-select: none; white-space: nowrap;
}
.pb-dot { width: 6px; height: 6px; border-radius: 50%; background: #4c8dff; box-shadow: 0 0 8px #4c8dff; }
.pb-plus {
width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
background: #1e2028; border: 1px solid #2f3340; color: #a7aab3;
}
.pb-plus:hover { background: #262934; color: #fff; }
.pb-len { font-size: 11px; color: #565962; margin-left: auto; }
.pb textarea {
width: 100%; min-height: 24px; max-height: 168px; padding: 2px 2px 4px;
background: transparent; border: 0; outline: none; resize: none;
font-size: 13.5px; line-height: 1.62; color: #e4e6eb;
}
.pb textarea::placeholder { color: #55575f; }
.pb-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.pb-opts { display: flex; gap: 6px; }
.opt select {
height: 26px; padding: 0 6px; border-radius: 7px; font-size: 11.5px;
background: #191b21; border: 1px solid #2b2d36; color: #9ba0aa; outline: none;
}
.opt select:hover { color: #e2e4e9; }
.opt-fixed {
display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px;
border-radius: 7px; font-size: 11.5px; background: #191b21; border: 1px solid #2b2d36;
color: #8f97a8; cursor: default;
}
.opt-fixed svg { opacity: 0.6; }
.pop {
position: fixed; z-index: 60; background: #17181e; border: 1px solid #2c2e37;
border-radius: 13px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.62); overflow: hidden;
animation: popin 0.13s ease;
}
@keyframes popin { from { opacity: 0; transform: translateY(5px); } }
#atMenu { width: min(344px, calc(100vw - 24px)); max-height: 340px; overflow: auto; padding: 6px; }
.at-head { padding: 7px 8px 5px; font-size: 10.5px; color: #5c5f68; letter-spacing: 0.4px; }
.at-item {
display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 9px;
font-size: 12.5px; color: #cfd2d9; cursor: pointer;
}
.at-item svg { width: 14px; height: 14px; color: #7c8598; }
.at-item .at-sub { margin-left: auto; font-size: 10.5px; color: #565962; }
.at-item:hover, .at-item.active { background: #23252d; color: #fff; }
.at-empty { padding: 14px 10px; font-size: 12px; color: #5c5f68; text-align: center; }
.at-note {
margin: 4px 2px 0; padding: 7px 8px; font-size: 10.5px; line-height: 1.55; color: #6d7280;
background: #1c1d24; border-radius: 8px;
}
#userMenu { width: 208px; padding: 6px; right: 14px; top: 52px; }
.um-head { display: flex; align-items: baseline; gap: 7px; padding: 8px 9px 4px; }
.um-head b { font-size: 13px; }
.um-head span { font-size: 10.5px; color: #64676f; }
.um-credits { padding: 0 9px 8px; font-size: 11.5px; color: #71747c; border-bottom: 1px solid #24252c; margin-bottom: 5px; }
.um-credits b { color: #9dbfff; font-size: 13px; }
#userMenu button {
display: block; width: 100%; text-align: left; padding: 8px 9px; border-radius: 8px;
font-size: 12.5px; color: #c3c6ce;
}
#userMenu button:hover { background: #23252d; color: #fff; }
#userMenu a.menu-link {
display: block; width: 100%; text-align: left; padding: 8px 9px; border-radius: 8px;
font-size: 12.5px; color: #c3c6ce; text-decoration: none;
}
#userMenu a.menu-link:hover { background: #23252d; color: #fff; }
.tb-btn.btn-shop {
display: inline-flex; align-items: center; text-decoration: none;
background: linear-gradient(180deg, #4b86ff, #2f5df0); border-color: transparent;
color: #fff; font-weight: 600;
box-shadow: 0 3px 12px rgba(47, 107, 240, 0.32);
}
.tb-btn.btn-shop:hover { filter: brightness(1.09); background: linear-gradient(180deg, #4b86ff, #2f5df0); color: #fff; }
.rd-buy { color: #6f9dff; text-decoration: none; }
.rd-buy:hover { text-decoration: underline; }
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(4, 4, 6, 0.66); backdrop-filter: blur(3px); }
.modal-card {
width: 348px; padding: 22px; border-radius: 18px; background: #15161b;
border: 1px solid #2a2b33; box-shadow: var(--shadow);
}
.modal-card h3 { margin: 0 0 16px; font-size: 15px; font-weight: 600; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.lib-card { width: min(560px, calc(100vw - 48px)); }
.lib-card h3 { display: flex; align-items: baseline; gap: 8px; }
.lib-count { font-size: 12px; font-weight: 400; color: #7d8aa5; }
.lib-tip { margin: -10px 0 14px; font-size: 11.5px; line-height: 1.6; color: #6c7383; }
.lib-grid {
max-height: min(58vh, 520px); overflow-y: auto; display: flex; flex-direction: column;
gap: 10px; padding-right: 4px; scrollbar-width: thin; scrollbar-color: #33353e transparent;
}
.lib-item {
display: grid; grid-template-columns: 118px 1fr auto; gap: 12px; align-items: center;
padding: 9px; border-radius: 12px; background: #191a20; border: 1px solid #26272f;
}
.lib-item:hover { border-color: #343641; }
.lib-thumb {
width: 118px; height: 66px; object-fit: cover; border-radius: 8px; background: #000;
display: block; border: 1px solid #26272f;
}
.lib-meta { min-width: 0; }
.lib-prompt {
font-size: 12px; color: #d6d9e0; line-height: 1.5;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lib-sub { margin-top: 5px; font-size: 10.5px; color: #636773; font-variant-numeric: tabular-nums; }
.lib-acts { display: flex; flex-direction: column; gap: 6px; }
.lib-empty { padding: 34px 0; text-align: center; font-size: 12.5px; color: #636773; }
#toast {
position: fixed; left: 50%; bottom: 196px; transform: translate(-50%, 12px); z-index: 200;
display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none;
}
.toast-item {
padding: 9px 16px; border-radius: 11px; font-size: 12.5px; line-height: 1.5;
background: rgba(28, 29, 35, 0.97); border: 1px solid #33353e; color: #e3e5ea;
box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55); animation: tin 0.22s ease;
max-width: 420px; text-align: center;
}
.toast-item.err { border-color: rgba(255, 92, 92, 0.4); color: #ffc0c0; }
.toast-item.ok { border-color: rgba(55, 201, 139, 0.35); color: #a8f0cd; }
.toast-item.warn { border-color: rgba(240, 180, 65, 0.42); color: #f4d79a; }
@keyframes tin { from { opacity: 0; transform: translateY(10px) scale(0.97); } }
#dropMask {
position: fixed; inset: 0; z-index: 150; display: none; place-items: center;
background: rgba(8, 8, 12, 0.72); backdrop-filter: blur(4px);
}
#dropMask.on { display: grid; }
#dropMask div {
padding: 26px 44px; border: 1.5px dashed rgba(61, 126, 255, 0.6); border-radius: 18px;
color: #a9c4ff; font-size: 14px; background: rgba(61, 126, 255, 0.06);
}
.node--img { background: #101116; }
.node--img .n-meta { display: none; }
.n-head--img { gap: 6px; }
.n-head .n-name {
font-size: 12px; color: #9aa0ad; letter-spacing: 0.2px;
max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.node--img.sel .n-name { color: #cfe0ff; }
.n-head .n-alias {
max-width: 92px; overflow: hidden; text-overflow: ellipsis;
padding: 1px 6px; border-radius: 5px; font-size: 10.5px;
color: #b7c8ff; background: rgba(61, 126, 255, 0.16);
border: 1px solid rgba(61, 126, 255, 0.3);
}
.node--img .n-img { transition: transform 0.25s ease; }
.node--img:hover .n-img { transform: scale(1.035); }
.node--img .n-body { background: #0b0c10; }
.n-refs {
position: absolute; left: 8px; bottom: 7px; z-index: 2;
display: flex; align-items: center; gap: 3px;
padding: 3px 5px; border-radius: 7px;
background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.1);
backdrop-filter: blur(6px);
}
.n-refs img {
width: 20px; height: 20px; border-radius: 4px; object-fit: cover;
border: 1px solid rgba(255, 255, 255, 0.18);
}
.n-refs-more { font-size: 10px; color: rgba(255, 255, 255, 0.72); padding: 0 2px; }
.pb-chips {
display: flex; flex-wrap: wrap; gap: 6px;
padding: 0 0 8px; margin-bottom: 2px;
max-height: 74px; overflow-y: auto;
}
.pb-chip {
display: inline-flex; align-items: center; gap: 5px;
height: 26px; padding: 0 4px 0 5px; border-radius: 7px;
background: #20222a; border: 1px solid #2f313b; color: #c2c8d6; font-size: 11px;
}
.pb-chip img { width: 18px; height: 18px; border-radius: 4px; object-fit: cover; }
.pb-chip svg { width: 13px; height: 13px; color: #8d95a6; }
.pb-chip b { font-weight: 500; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-chip-x {
width: 15px; height: 15px; border-radius: 4px; line-height: 1;
color: #767c8a; font-size: 13px; display: grid; place-items: center;
}
.pb-chip-x:hover { background: rgba(255, 92, 92, 0.2); color: #ff9a9a; }
.at-item.active { background: #232733; box-shadow: inset 2px 0 0 #4c8dff; }
.at-item .at-thumb {
width: 46px; height: 46px; border-radius: 7px; object-fit: cover; flex: none;
border: 1px solid #33353e; background: #0e0f13;
}
.at-item .at-thumb--vid {
display: grid; place-items: center; color: #7c8598;
}
.at-item .at-thumb--vid svg { width: 18px; height: 18px; }
.at-item .at-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.at-item .at-name { max-width: 208px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.at-item .at-meta {
font-size: 10.5px; color: #6b6f7a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.at-item.active .at-meta { color: #9aa1af; }
.at-item .at-alias {
padding: 0 5px; border-radius: 4px; font-size: 10px; color: #a9bfff;
background: rgba(61, 126, 255, 0.16); border: 1px solid rgba(61, 126, 255, 0.28);
}
#atPeek { position: fixed; z-index: 61; padding: 6px; pointer-events: none; }
#atPeek[hidden] { display: none; }
#atPeek img {
width: 100%; height: 190px; object-fit: contain; border-radius: 8px;
background: #0c0d11; border: 1px solid #2c2e37;
}
#atPeek .pk-cap { display: flex; align-items: baseline; gap: 6px; padding: 6px 3px 1px; font-size: 11px; }
#atPeek .pk-cap b { color: #e6e9f2; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#atPeek .pk-cap span { margin-left: auto; color: #7f95c9; flex: none; }
.img-view {
position: fixed; inset: 0; z-index: 180; display: grid; place-items: center;
background: rgba(6, 7, 10, 0.88); backdrop-filter: blur(6px); cursor: zoom-out;
}
.img-view[hidden] { display: none; }
.img-view img { max-width: 82vw; max-height: 80vh; border-radius: 10px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7); }
.iv-cap { position: absolute; bottom: 5vh; font-size: 12.5px; color: #aab2c4; }
.n-refs, .n-refs img { pointer-events: none; }
#toolbar { padding: 6px; gap: 2px; }
.tool {
display: flex; align-items: center; gap: 8px;
width: auto; min-width: 0; height: 31px;
padding: 0 11px 0 8px; border-radius: 9px;
font-size: 12px; letter-spacing: 0.2px; color: #a9acb5;
white-space: nowrap;
}
.tool svg { width: 17px; height: 17px; flex: 0 0 auto; }
.tool span { font-size: 12px; }
.tool-primary {
color: #eaf1ff;
background: linear-gradient(180deg, rgba(61, 126, 255, 0.3), rgba(61, 126, 255, 0.15));
border: 1px solid rgba(61, 126, 255, 0.46);
box-shadow: 0 4px 14px rgba(40, 80, 190, 0.24);
}
.tool-primary:hover {
background: linear-gradient(180deg, rgba(61, 126, 255, 0.42), rgba(61, 126, 255, 0.24));
color: #fff; border-color: rgba(96, 152, 255, 0.7);
}
.tool-primary svg { color: #7fb0ff; }
#emptyGuide {
position: fixed; inset: 0; z-index: 12;
display: grid; place-items: center;
pointer-events: none;
}
#emptyGuide[hidden] { display: none; }
.eg-card {
pointer-events: auto;
width: 372px; padding: 26px 26px 22px;
text-align: center;
background: rgba(20, 21, 26, 0.86);
border: 1px dashed #33353f; border-radius: 16px;
backdrop-filter: blur(10px);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.eg-ic {
width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 13px;
display: grid; place-items: center;
color: #8ab4ff; background: rgba(61, 126, 255, 0.12);
border: 1px solid rgba(61, 126, 255, 0.24);
}
.eg-ic svg { width: 22px; height: 22px; }
.eg-card b { display: block; font-size: 14.5px; font-weight: 600; color: #e9edf6; }
.eg-card p {
margin: 9px 0 16px; font-size: 12px; line-height: 1.75; color: #8b93a4;
}
.eg-card kbd {
display: inline-block; padding: 0 5px; border-radius: 4px;
font-size: 11px; color: #b9c8e8; background: #23252d; border: 1px solid #33353f;
}
.eg-btn {
height: 33px; padding: 0 16px; margin: 0 4px; border-radius: 9px;
font-size: 12.5px; color: #fff;
background: linear-gradient(180deg, #3f7dff, #2f66e6);
box-shadow: 0 6px 18px rgba(47, 102, 230, 0.32);
}
.eg-btn:hover { filter: brightness(1.08); }
.eg-ghost {
color: #b6bcc9; background: #23242c; border: 1px solid #31333c; box-shadow: none;
}
.eg-ghost:hover { background: #2a2c35; color: #fff; }
.at-upload {
display: flex; align-items: center; gap: 8px;
margin-top: 4px; padding: 9px 10px;
border-top: 1px solid #2a2c34;
font-size: 12px; color: #9fb4d8; cursor: pointer; border-radius: 0 0 8px 8px;
}
.at-upload svg { width: 15px; height: 15px; color: #6ea0ff; }
.at-upload:hover { background: rgba(61, 126, 255, 0.12); color: #cfe0ff; }
.node.lit {
border-color: rgba(214, 160, 84, 0.75);
box-shadow:
0 0 0 1px rgba(214, 160, 84, 0.30),
0 0 14px rgba(206, 150, 60, 0.14),
0 12px 34px rgba(0, 0, 0, 0.42);
}
.node.lit .n-head { color: #d9c9a6; }
.node.lit .n-head svg { color: #cfa96a; opacity: 0.9; }
.node--img.dim {
opacity: 0.5;
filter: grayscale(0.55) brightness(0.85);
}
.node--img.dim.sel { opacity: 1; filter: none; }
.edge.mention {
stroke: rgba(196, 148, 74, 0.62);
stroke-width: 1.6;
stroke-dasharray: 6 8;
animation: edgeFlow 2.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes edgeFlow { to { stroke-dashoffset: -14; } }
.n-ask {
position: absolute; inset: 0; display: flex; flex-direction: column;
align-items: center; justify-content: center; gap: 8px;
padding: 14px 16px; text-align: center;
background: rgba(12, 13, 17, 0.94); border-radius: var(--node-r);
overflow: auto;
}
.n-ask .ask-tag {
font-size: 10px; letter-spacing: 0.6px; color: #7f8695;
padding: 2px 8px; border: 1px solid #2f313a; border-radius: 999px;
}
.n-ask .ask-hint { font-size: 10.5px; color: #6f7280; }
.n-ask .mini-btn:disabled { opacity: 0.5; cursor: default; }
.n-ask .ask-t { font-size: 12.5px; font-weight: 650; color: #ffd48a; }
.n-ask .ask-d { font-size: 11px; line-height: 1.55; color: #9aa0ac; max-height: 58px; overflow: auto; }
.n-ask .ask-b { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 2px; }
.n-ask .mini-btn.pri {
background: linear-gradient(180deg, #4b86ff, var(--accent-2)); color: #fff; border-color: transparent;
}
.n-run .n-cancel {
position: absolute; left: 6px; bottom: 6px; z-index: 3;
height: 24px; padding: 0 10px; font-size: 11px;
background: rgba(24, 25, 30, 0.78); color: #9aa0ac; border-color: #35373f;
opacity: 0.62; transition: opacity 0.15s, color 0.15s, border-color 0.15s;
}
.node:hover .n-run .n-cancel { opacity: 1; }
.n-run .n-cancel:hover { color: #ffb4b4; border-color: rgba(255, 92, 92, 0.5); }
.n-run .n-notice {
margin-top: 10px;
max-width: 92%;
padding: 7px 11px;
font-size: 11.5px;
line-height: 1.5;
color: #e8d9b0;
background: rgba(120, 96, 40, 0.28);
border: 1px solid rgba(206, 170, 90, 0.35);
border-radius: 9px;
text-align: center;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
.n-run .n-uplog {
margin-top: 10px;
max-width: 92%;
padding: 7px 10px;
background: rgba(22, 24, 30, 0.72);
border: 1px solid #2f313a;
border-radius: 9px;
text-align: left;
}
.n-uplog .uplog-t {
font-size: 9.5px;
letter-spacing: 1px;
color: #7f8695;
margin-bottom: 4px;
display: flex;
align-items: center;
gap: 6px;
}
.n-uplog .uplog-t::before {
content: '';
width: 6px;
height: 6px;
border-radius: 50%;
background: #5cc98c;
box-shadow: 0 0 6px rgba(92, 201, 140, 0.8);
}
.n-uplog .uplog-i {
display: flex;
align-items: baseline;
gap: 7px;
font-size: 10.5px;
line-height: 1.55;
color: #b9bec8;
padding: 2px 0;
border-top: 1px dashed rgba(255, 255, 255, 0.05);
}
.n-uplog .uplog-i:first-of-type { border-top: none; }
.n-uplog .uplog-time {
flex: none;
font-size: 9.5px;
color: #6f7280;
font-variant-numeric: tabular-nums;
}
.n-uplog .uplog-x {
flex: 1;
min-width: 0;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.n-uplog .uplog-a {
flex: none;
font-size: 9.5px;
color: #8fb0ff;
background: rgba(75, 134, 255, 0.14);
border: 1px solid rgba(75, 134, 255, 0.3);
border-radius: 999px;
padding: 1px 7px;
white-space: nowrap;
}
.mon-card { width: min(1060px, 94vw); }
.mon-sub { margin-left: 10px; font-size: 11px; font-weight: 400; color: var(--dim-2, #7b7f8a); }
.mon-wrap { max-height: 52vh; overflow: auto; border: 1px solid #26272f; border-radius: 10px; }
.mon-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.mon-table th {
position: sticky; top: 0; z-index: 1; text-align: left; padding: 8px 10px;
background: #17181d; color: #7b7f8a; font-weight: 500; white-space: nowrap;
}
.mon-table td { padding: 7px 10px; border-top: 1px solid #202127; color: #c3c6ce; vertical-align: top; }
.mon-table tbody tr { cursor: pointer; }
.mon-table tbody tr:hover { background: #1c1d24; }
.mon-table .mon-prompt { max-width: 300px; word-break: break-all; color: #d7dae2; }
.mon-empty { text-align: center; color: #7b7f8a; padding: 26px 0 !important; }
.mon-badge {
display: inline-block; padding: 2px 8px; border-radius: 20px;
border: 1px solid; font-size: 11px; white-space: nowrap;
}
.mon-detail {
margin-top: 12px; padding: 12px 14px; border: 1px solid #2a2b34; border-radius: 12px;
background: #14151a; font-size: 12.5px; line-height: 1.7; color: #c3c6ce;
}
.mon-d-row { margin: 4px 0; }
.mon-d-row b {
display: inline-block; min-width: 52px; color: #7b7f8a; font-weight: 500;
vertical-align: top;
}
.mon-d-prompt div {
display: inline-block; width: calc(100% - 60px); word-break: break-all; color: #e2e4ea;
}
.mon-video { display: block; max-width: 260px; max-height: 340px; margin-top: 6px; border-radius: 10px; background: #000; }
.mon-err { color: #e0a0a0; word-break: break-all; display: inline-block; width: calc(100% - 60px); }
.tb-btn.btn-gallery {
display: inline-flex; align-items: center; gap: 6px;
height: 34px; padding: 0 16px; margin-right: 6px;
font-size: 13.5px; font-weight: 600; border-radius: 9px;
background: linear-gradient(180deg, #4b86ff, #2f5df0); color: #fff; border: none;
box-shadow: 0 2px 10px rgba(59, 108, 246, 0.35);
}
.tb-btn.btn-gallery:hover { filter: brightness(1.08); background: linear-gradient(180deg, #4b86ff, #2f5df0); color: #fff; }
.lib-item { grid-template-columns: 1fr; gap: 8px; }
.lib-cover { position: relative; width: 100%; border-radius: 8px; overflow: hidden; cursor: pointer; background: #0a0b0d; }
.lib-thumb { width: 100% !important; height: 150px !important; }
.lib-cover:hover .lib-play { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
.lib-play {
position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
width: 36px; height: 36px; border-radius: 50%; opacity: 0.9;
background: rgba(8, 9, 12, 0.6); backdrop-filter: blur(3px);
color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center;
pointer-events: none; transition: opacity 0.15s;
}
.lib-acts { flex-direction: row; flex-wrap: wrap; }
.mini-btn.danger { color: #ff7a7a; }
.img-view video { outline: none; }
.lib-card { width: min(660px, calc(100vw - 48px)); }
.mon-date-row td {
position: sticky; top: 0; z-index: 1;
background: #101116; color: #9aa0ac;
font-size: 12px; font-weight: 600; letter-spacing: 0.4px;
padding: 7px 10px !important; border-top: 1px solid #23252c;
}
.mon-date-row td span {
margin-left: 8px; font-weight: 400; color: #6a707c; font-size: 11px;
}
.mon-toolbar {
display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
margin: 0 0 10px;
}
.mon-day-label {
display: inline-flex; align-items: center; gap: 6px;
font-size: 12px; color: #9aa0ac; white-space: nowrap;
}
.mon-day-label select {
background: #17181f; color: #d7dae2; border: 1px solid #2b2d37;
border-radius: 8px; padding: 4px 8px; font-size: 12px; outline: none;
}
.mon-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.mon-chip {
display: inline-flex; align-items: center; gap: 5px;
background: #17181f; border: 1px solid #2b2d37; border-radius: 999px;
padding: 3px 12px; font-size: 12px; color: #9aa0ac; white-space: nowrap;
}
.mon-chip b { color: #e8eaf0; font-weight: 700; }
.mon-chip.c-ok { border-color: #7fc99a55; } .mon-chip.c-ok b { color: #7fc99a; }
.mon-chip.c-bad { border-color: #e08b8b55; } .mon-chip.c-bad b { color: #e08b8b; }
.mon-chip.c-run { border-color: #8fb3ff55; } .mon-chip.c-run b { color: #8fb3ff; }
.mode-card { max-width: 460px; width: calc(100% - 40px); }
.mode-tip { font-size: 12.5px; color: #8892a6; margin: 6px 0 14px; line-height: 1.7; }
.mode-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mode-btn { border: 1.5px solid #dfe4ef; background: #f8fafd; border-radius: 12px; padding: 18px 12px;
display: flex; flex-direction: column; align-items: center; gap: 7px; cursor: pointer; color: #2f3b55; transition: all .15s; }
.mode-btn:hover { border-color: #3d7eff; background: #eef4ff; color: #2f5df0; transform: translateY(-2px); }
.mode-btn b { font-size: 15px; }
.mode-btn span { font-size: 11.5px; color: #8792a8; line-height: 1.5; text-align: center; }
@media (max-width: 560px) { .mode-btns { grid-template-columns: 1fr; } }