:root{--sr-bg:#000;--sr-fg:#FFF;--sr-fg-2:rgba(255,255,255,0.74);--sr-fg-3:rgba(255,255,255,0.5);--sr-line:rgba(255,255,255,0.28);--sr-pink:#FF006F;--sr-pink-16:rgba(255,0,111,0.16);--sr-top:calc(60px + var(--safe-top,0px))}#chat-back,#chat-more,#chat-modes{display:none}html.has-series .top-bar{gap:2px;padding-left:max(8px,env(safe-area-inset-left,0px));padding-right:max(8px,env(safe-area-inset-right,0px))}html.has-series .top-bar>.menu-btn,html.has-series .top-bar>.topbar-center,html.has-series .top-bar>.topbar-right,html.has-series .book-door{display:none!important}html.has-series #chat-back,html.has-series #chat-more{width:44px;height:44px;flex:none;display:grid;place-items:center;border:0;background:transparent;padding:0;color:#FFF;cursor:pointer;-webkit-tap-highlight-color:transparent}#chat-back>span,#chat-more>span{width:36px;height:36px;border-radius:18px;background:#FF006F;display:grid;place-items:center;transition:transform 0.15s}#chat-back:active>span,#chat-more:active>span{transform:scale(0.94)}#chat-back svg,#chat-more svg{width:18px;height:18px}#chat-back:focus-visible,#chat-more:focus-visible{outline:2px solid #FF006F;outline-offset:2px;border-radius:22px}html.has-series #chat-modes{flex:1;min-width:0;display:flex;justify-content:center;gap:4px;color:#FFF;font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}#chat-modes button{position:relative;min-height:44px;padding:0 8px;border:0;background:transparent;color:rgba(255,255,255,0.62);font:inherit;font-weight:700;font-size:15px;white-space:nowrap;text-shadow:0 1px 6px rgba(0,0,0,0.55);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:color 0.15s}#chat-modes button[aria-selected="true"]{color:#FFF}#chat-modes button[aria-selected="true"]::after{content:"";position:absolute;left:50%;bottom:6px;width:18px;height:3px;border-radius:2px;background:#FF006F;transform:translateX(-50%)}#chat-modes button:focus-visible{outline:2px solid #FF006F;outline-offset:-2px;border-radius:10px}#chat-modes .dot{position:absolute;top:9px;right:1px;width:8px;height:8px;border-radius:4px;background:#FF006F}#chat-modes .dot[hidden]{display:none}@media (max-width:340px){#chat-modes{gap:0}#chat-modes button{font-size:14px;padding:0 6px}}html.series-view .top-bar{background:#000}html.series-view #chat-modes button{text-shadow:none}html.series-view #input-bar,html.series-view #quick-replies,html.series-view #jump-latest{display:none!important}#chat-series{position:fixed;z-index:29;top:var(--sr-top);left:0;right:0;bottom:0;display:none;flex-direction:column;background:radial-gradient(ellipse 90% 40% at 50% 0,rgba(255,0,111,0.14),rgba(255,0,111,0) 70%),#000;color:#FFF;font:400 15px/1.45 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}html.series-view #chat-series{display:flex}body.kb-open #chat-series{top:calc(var(--sr-top) + var(--vv-top,0px))}:where(#chat-series) :where(button,textarea){font:inherit;color:inherit}:where(#chat-series) button{cursor:pointer;-webkit-tap-highlight-color:transparent}#chat-series :focus-visible{outline:2px solid #FF006F;outline-offset:2px}#chat-series .spark{display:inline-block;width:1em;height:1em;vertical-align:-0.12em;flex:none}#series-scroll{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:4px max(20px,env(safe-area-inset-right,0px)) 20px max(20px,env(safe-area-inset-left,0px))}#series-feed{max-width:640px;margin:0 auto;display:flex;flex-direction:column}.s-title{text-align:center;padding:14px 0 18px;display:flex;flex-direction:column;gap:6px;align-items:center}.s-title span{font-weight:800;font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:#FF006F}.s-title strong{font-weight:900;font-size:30px;line-height:1.05;display:flex;gap:10px;align-items:center;overflow-wrap:anywhere}.s-title strong .spark{width:20px;height:20px;color:#FF006F}.s-title small{color:var(--sr-fg-3);font-size:13px}.s-turn{display:flex;flex-direction:column;min-width:0;animation:s-appear 0.35s ease both}.s-dots{display:inline-flex;gap:5px;padding:8px 0 18px}.s-dots i{width:6px;height:6px;border-radius:3px;background:var(--sr-fg-2);animation:s-fade 1s infinite}.s-dots i:nth-child(2){animation-delay:0.15s}.s-dots i:nth-child(3){animation-delay:0.3s}.s-narr{margin:0 0 14px;font-size:16px;line-height:1.62;color:var(--sr-fg-2);font-weight:400;overflow-wrap:anywhere}.s-frame{position:relative;aspect-ratio:4 / 5;width:100%;max-width:520px;align-self:center;border-radius:16px;overflow:hidden;border:1px solid var(--sr-line);margin:2px 0 14px;background:#000;flex:none}.s-frame img.s-frame-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1;transition:opacity 0.7s ease}.s-frame.gen img.s-frame-img{opacity:0}.s-frame::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 90% 80% at 50% 45%,rgba(0,0,0,0) 55%,rgba(0,0,0,0.55));pointer-events:none}.gen-ui{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#FFF;font-size:13.5px;text-align:center;padding:0 16px;background:linear-gradient(110deg,#000 30%,rgba(255,0,111,0.25) 50%,#000 70%) 0 0 / 250% 100%;animation:s-shimmer 1.6s linear infinite;transition:opacity 0.5s}.s-frame:not(.gen) .gen-ui{opacity:0;pointer-events:none}.gen-ui .spark{width:28px;height:28px;color:#FF006F;animation:s-spin 2.4s linear infinite}.gen-ui .bar{width:132px;height:3px;border-radius:2px;background:rgba(255,255,255,0.2);overflow:hidden}.gen-ui .bar b{display:block;height:100%;width:0;background:#FF006F;animation:s-fill 6s cubic-bezier(.2,.6,.3,1) forwards}.s-draw{width:100%;min-height:64px;border:1px dashed var(--sr-line);border-radius:16px;background:transparent;display:flex;gap:10px;align-items:center;justify-content:center;font-size:14.5px;font-weight:600;margin:2px 0 14px;color:#FFF;padding:8px 12px}.s-draw .spark{color:#FF006F;width:16px;height:16px}.s-draw:hover{border-color:#FF006F}.s-frame-note{margin:2px 0 14px;min-height:44px;display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:14px;color:var(--sr-fg-3)}.s-frame-note .spark{color:#FF006F;width:12px;height:12px}.s-frame-note button{border:0;background:transparent;padding:0 2px;min-height:44px;font-weight:700;color:#FFF;text-decoration:underline;text-decoration-color:#FF006F;text-underline-offset:3px}.s-say{margin:0 0 12px;min-width:0}.s-name{display:flex;align-items:center;gap:6px;font-weight:800;font-size:11px;letter-spacing:0.12em;text-transform:uppercase;color:#FF006F;margin-bottom:6px}.s-name .spark{width:10px;height:10px}.s-say .t{font-size:19px;font-weight:600;line-height:1.4;letter-spacing:-0.01em;overflow-wrap:anywhere;white-space:pre-wrap}.s-thought{margin:0 0 14px;font-style:italic;color:var(--sr-fg-3);font-size:15px;line-height:1.5;overflow-wrap:anywhere}.s-info{border:1px solid var(--sr-line);border-radius:14px;margin:2px 0 12px;flex:none;min-width:0}.s-info>button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;background:transparent;padding:10px 12px;min-height:44px;font-weight:800;font-size:11px;letter-spacing:0.12em;text-transform:uppercase;color:var(--sr-fg-3);text-align:left}.s-info>button>span:last-child{display:flex;align-items:center;gap:6px;min-width:0;letter-spacing:0;text-transform:none;font-weight:500;font-size:12.5px}.s-info .sum{font-style:normal;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.s-info:not(.min) .sum{display:none}.s-info>button svg{width:14px;height:14px;flex:none;transition:transform 0.2s}.s-info.min>button svg{transform:rotate(-90deg)}.s-info .rows{padding:0 12px 12px;display:grid;gap:7px;font-size:14px}.s-info.min .rows{display:none}.s-info .row{display:flex;gap:9px;align-items:center;min-width:0;overflow-wrap:anywhere}.s-info .row svg{width:15px;height:15px;color:#FF006F;flex:none}.s-tools{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}.s-tools:empty{display:none}.s-tool{min-height:40px;padding:0 12px;border-radius:10px;border:1px solid var(--sr-line);background:transparent;font-size:13px;display:inline-flex;gap:6px;align-items:center;color:var(--sr-fg-2)}.s-tool[hidden]{display:none}.s-tool svg{width:15px;height:15px}.s-tool:hover{border-color:#FF006F}.s-you{margin:2px 0 20px;padding-left:12px;border-left:2px solid #FF006F;font-size:15.5px;line-height:1.5;animation:s-appear 0.3s ease both;overflow-wrap:anywhere}.s-you .lbl{display:block;font-weight:800;font-size:10.5px;letter-spacing:0.12em;text-transform:uppercase;color:var(--sr-fg-3);margin-bottom:2px}.s-you .q{font-weight:500;white-space:pre-wrap}.s-you .msg-send-failed{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:6px;font-size:13px;color:var(--sr-fg-2)}.s-you .msg-send-failed__retry{min-height:40px;padding:0 12px;border-radius:10px;border:1px solid #FF006F;background:transparent;color:#FFF;font-weight:700;font-size:13px}.s-choices{display:flex;flex-direction:column;gap:8px;margin:2px 0 6px}.s-choice{display:flex;gap:6px;min-width:0;animation:s-appear 0.3s ease both}.s-choice:nth-child(2){animation-delay:0.06s}.s-choice:nth-child(3){animation-delay:0.12s}.s-edit{width:44px;flex:none;border-radius:12px;border:1px solid var(--sr-line);background:transparent;display:grid;place-items:center;color:var(--sr-fg-3)}.s-edit svg{width:16px;height:16px}.s-pick{flex:1;min-width:0;min-height:48px;border-radius:12px;border:1px solid var(--sr-line);background:transparent;text-align:left;padding:10px 12px;display:flex;gap:10px;align-items:center;font-size:15px;line-height:1.35;color:#FFF}.s-pick>span{flex:1;min-width:0;overflow-wrap:anywhere}.s-pick>svg{flex:none;width:18px;height:18px;color:var(--sr-fg-3)}.s-pick:hover,.s-edit:hover{border-color:#FF006F}.s-pick:hover>svg{color:#FF006F}.s-compose{flex:none;padding:8px max(14px,env(safe-area-inset-right,0px)) calc(10px + var(--safe-bottom,env(safe-area-inset-bottom,0px)) + var(--kb-inset,0px)) max(14px,env(safe-area-inset-left,0px));background:#000}.s-box{max-width:640px;margin:0 auto;border:1px solid var(--sr-line);border-radius:16px;padding:8px 10px 8px 14px;display:flex;flex-direction:column;gap:4px}.s-box:focus-within{border-color:#FF006F}.s-box textarea{border:0;outline:0;background:transparent;resize:none;font-size:16px;line-height:1.4;max-height:120px;padding:4px 0;width:100%;color:#FFF}.s-box textarea::placeholder{color:var(--sr-fg-3)}.s-actions{display:flex;align-items:center;gap:6px;min-width:0}.s-mini{width:40px;height:40px;border-radius:20px;border:1px solid var(--sr-line);background:transparent;display:grid;place-items:center;color:#FFF;flex:none}.s-mini svg{width:16px;height:16px}.s-mini[aria-pressed="true"]{border-color:#FF006F;color:#FF006F;background:var(--sr-pink-16)}.s-hint{font-size:12px;color:var(--sr-fg-3);flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.s-send{width:40px;height:40px;border-radius:20px;border:0;background:#FF006F;color:#FFF;display:grid;place-items:center;flex:none}.s-send svg{width:19px;height:19px}.s-send:disabled{opacity:0.4;cursor:default}#sb2-series-pics-row[hidden]{display:none!important}@keyframes s-appear{from{opacity:0;transform:translateY(4px)}}@keyframes s-fade{50%{opacity:0.2}}@keyframes s-shimmer{to{background-position:-250% 0}}@keyframes s-spin{to{transform:rotate(360deg)}}@keyframes s-fill{to{width:92%}}@media (prefers-reduced-motion:reduce){.s-turn,.s-you,.s-choice{animation:none}.gen-ui,.gen-ui .spark,.s-dots i{animation:none}}@media (max-width:380px){.s-say .t{font-size:18px}}