/* 云软AI · 界面样式（DeepSeek 风格） */
:root{
  --brand:#4D6BFE; --brand-2:#3A56E8; --brand-soft:#EEF2FF; --brand-line:#D6DEFF;
  --bg:#FFFFFF; --bg-side:#F9FBFF; --bg-hover:#F2F5FB; --bg-input:#FFFFFF;
  --text:#1F2228; --text-2:#5C6373; --text-3:#9AA1AF;
  --line:#E8EBF3; --code-bg:#F7F8FB; --bubble:#EFF4FF;
  --shadow-sm:0 1px 2px rgba(16,24,40,.04);
  --shadow-md:0 6px 24px rgba(16,24,40,.08);
  --radius:16px;
}
html[data-theme="dark"]{
  --brand:#7C90FF; --brand-2:#6B82FF; --brand-soft:#1C2542; --brand-line:#2C3A66;
  --bg:#141619; --bg-side:#101215; --bg-hover:#1E2126; --bg-input:#1A1D21;
  --text:#E9ECF1; --text-2:#A3AAB8; --text-3:#6E7583;
  --line:#262A31; --code-bg:#191C21; --bubble:#1E2A44;
  --shadow-sm:0 1px 2px rgba(0,0,0,.3);
  --shadow-md:0 6px 24px rgba(0,0,0,.45);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{height:100%;margin:0}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  background:var(--bg);color:var(--text);font-size:15.5px;line-height:1.75;
  overflow:hidden;overscroll-behavior:none;
  -webkit-font-smoothing:antialiased;
}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
.app{display:flex;height:100dvh;overflow:hidden}

/* ---------- 侧边栏 ---------- */
.side{
  width:264px;flex:0 0 264px;background:var(--bg-side);border-right:1px solid var(--line);
  display:flex;flex-direction:column;padding:14px 12px 12px;transition:transform .25s ease;
}
.side-head{display:flex;align-items:center;gap:10px;padding:2px 6px 16px}
.logo-mark{width:30px;height:30px;border-radius:9px;background:linear-gradient(145deg,#5B7CFF,#3A56E8);
  display:grid;place-items:center;color:#fff;font-weight:800;font-size:15px;
  box-shadow:0 3px 10px rgba(77,107,254,.28)}
.logo-text{font-weight:600;font-size:15.5px;letter-spacing:.1px}
.new-chat{
  display:flex;align-items:center;justify-content:center;gap:8px;width:100%;
  padding:11px;border-radius:12px;background:var(--brand-soft);color:var(--brand);
  font-size:14.5px;font-weight:600;border:1px solid var(--brand-line);
  transition:background .16s,border-color .16s}
.new-chat:hover{background:#E4EBFF;border-color:#C3D0FF}
.new-chat:active{transform:scale(.988)}
.side-title{font-size:12px;color:var(--text-3);padding:18px 8px 8px;font-weight:500;letter-spacing:.2px}
.hist{flex:1;overflow-y:auto;padding-bottom:8px}
.hist-item{
  display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:10px;font-size:14px;
  color:var(--text-2);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  transition:background .14s}
.hist-item:hover{background:var(--bg-hover)}
.hist-item.on{background:var(--brand-soft);color:var(--brand);font-weight:600}
.hist-item span{overflow:hidden;text-overflow:ellipsis}
.hist-item .del{margin-left:auto;opacity:0;font-size:13px;color:var(--text-3)}
.hist-item:hover .del{opacity:1}
.side-foot{border-top:1px solid var(--line);padding-top:8px;display:flex;flex-direction:column;gap:2px}
.side-btn{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:10px;font-size:14px;
  color:var(--text-2);width:100%;transition:.14s}
.side-btn:hover{background:var(--bg-hover);color:var(--text)}
.side-btn svg{width:17px;height:17px;flex:0 0 17px}

/* ---------- 主区 ---------- */
.main{flex:1;display:flex;flex-direction:column;position:relative;min-width:0}
.topbar{height:56px;flex:0 0 56px;display:flex;align-items:center;gap:8px;padding:0 16px}
.icon-btn{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;color:var(--text-2);transition:.14s}
.icon-btn:hover{background:var(--bg-hover);color:var(--text)}
.icon-btn svg{width:19px;height:19px}
.model-pick{display:flex;align-items:center;gap:5px;font-size:14.5px;font-weight:600;
  padding:6px 10px;border-radius:9px;color:var(--text);transition:.14s}
.model-pick:hover{background:var(--bg-hover)}
.model-pick svg{width:13px;height:13px;color:var(--text-3)}
.top-right{margin-left:auto;display:flex;align-items:center;gap:2px}

/* ---------- 对话区 ---------- */
.chat{flex:1;overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth}
.chat-inner{max-width:768px;margin:0 auto;padding:10px 20px 24px}

/* 欢迎页 */
.welcome{max-width:768px;margin:0 auto;padding:11vh 24px 0;text-align:center;animation:fade .35s ease}
.welcome .hi{font-size:26px;font-weight:600;letter-spacing:.2px;margin-bottom:12px;line-height:1.45}
.welcome .sub{color:var(--text-2);font-size:14px;line-height:1.85}
.welcome .glyph{width:50px;height:50px;border-radius:14px;margin:0 auto 22px;
  background:linear-gradient(145deg,#5B7CFF,#3A56E8);display:grid;place-items:center;color:#fff;
  font-weight:800;font-size:23px;box-shadow:0 8px 22px rgba(77,107,254,.26)}
.sugg{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:32px;text-align:left}
.sugg button{
  padding:13px 15px;border:1px solid var(--line);border-radius:14px;background:var(--bg);
  font-size:13px;color:var(--text-2);line-height:1.55;transition:.16s;box-shadow:var(--shadow-sm)}
.sugg button:hover{border-color:var(--brand-line);background:#FBFCFE;box-shadow:var(--shadow-md);transform:translateY(-1px)}
.sugg b{display:block;color:var(--text);font-size:13.5px;margin-bottom:3px;font-weight:600}

/* 消息 */
.msg{margin:20px 0;animation:fade .22s ease}
.msg.user{display:flex;justify-content:flex-end}
.msg.user .bubble{
  max-width:80%;background:var(--bubble);padding:10px 15px;border-radius:16px 16px 4px 16px;
  white-space:pre-wrap;word-break:break-word;font-size:15px}
.msg.ai{display:flex;gap:12px;align-items:flex-start}
.avatar{width:28px;height:28px;flex:0 0 28px;border-radius:9px;background:linear-gradient(145deg,#5B7CFF,#3A56E8);
  display:grid;place-items:center;color:#fff;font-size:13px;font-weight:800;margin-top:1px}
.ai-body{min-width:0;flex:1}
.ai-name{font-size:12.5px;color:var(--text-3);margin-bottom:4px;display:flex;gap:6px;align-items:center}
.content{word-break:break-word;line-height:1.82}
.content p{margin:.6em 0}
.content h1,.content h2,.content h3{margin:.95em 0 .5em;line-height:1.4;font-weight:650}
.content h3{font-size:16.5px}
.content ul,.content ol{margin:.55em 0;padding-left:1.4em}
.content li{margin:.3em 0}
.content strong{font-weight:650}
.content code{background:var(--code-bg);border:1px solid var(--line);padding:1.5px 6px;border-radius:6px;
  font-size:13px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.content pre{background:var(--code-bg);border:1px solid var(--line);border-radius:12px;padding:12px 14px;
  overflow-x:auto;margin:.75em 0;position:relative}
.content pre code{background:none;border:none;padding:0;font-size:12.8px;line-height:1.65}
.content a{color:var(--brand);text-decoration:none;border-bottom:1px solid rgba(77,107,254,.28)}
.cite-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.cite{font-size:11.5px;color:var(--text-2);background:var(--bg-hover);padding:3px 10px;border-radius:20px;
  max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none}
.cite:hover{color:var(--brand)}
.acts{display:flex;gap:2px;margin-top:8px;opacity:.6}
.acts button{width:29px;height:29px;border-radius:8px;display:grid;place-items:center;color:var(--text-3);transition:.14s}
.acts button:hover{background:var(--bg-hover);color:var(--text)}
.acts svg{width:15px;height:15px}
.cursor{display:inline-block;width:7px;height:16px;background:var(--brand);border-radius:2px;
  vertical-align:-3px;animation:blink 1s steps(2) infinite}
@keyframes blink{0%,50%{opacity:1}51%,100%{opacity:0}}
@keyframes fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* 深度思考块 */
.think{border-left:2px solid var(--brand-line);padding:2px 0 2px 12px;margin-bottom:12px;
  color:var(--text-2);font-size:13.3px}
.think-h{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--text-3);margin-bottom:4px;cursor:pointer}
.think-h b{font-weight:600;color:var(--text-2)}
.think-body{white-space:pre-wrap;line-height:1.72}
.think.collapsed .think-body{display:none}

/* ---------- 输入区 ---------- */
.composer-wrap{padding:0 20px 14px;flex:0 0 auto;background:var(--bg)}
.composer{max-width:768px;margin:0 auto;background:var(--bg-input);border:1px solid var(--line);
  border-radius:22px;padding:10px 12px 9px;box-shadow:var(--shadow-sm);
  transition:border-color .18s,box-shadow .18s}
.composer.focus{border-color:var(--brand-line);box-shadow:0 0 0 3px rgba(77,107,254,.1)}
.composer textarea{
  width:100%;border:none;background:none;resize:none;outline:none;color:var(--text);
  font-size:15.5px;line-height:1.65;max-height:168px;min-height:26px;padding:4px 6px;font-family:inherit}
.composer textarea::placeholder{color:var(--text-3)}
.comp-row{display:flex;align-items:center;gap:6px;margin-top:6px}
.chip{
  display:flex;align-items:center;gap:5px;padding:5px 11px;border-radius:999px;font-size:12.8px;
  color:var(--text-2);border:1px solid var(--line);transition:.15s;white-space:nowrap;background:var(--bg)}
.chip:hover{border-color:var(--brand-line);color:var(--text)}
.chip svg{width:14px;height:14px}
.chip.on{background:var(--brand-soft);color:var(--brand);border-color:var(--brand-line);font-weight:600}
.chip.on svg{color:var(--brand)}
.send{
  margin-left:auto;width:34px;height:34px;border-radius:50%;background:var(--brand);color:#fff;
  display:grid;place-items:center;transition:.15s;flex:0 0 34px;box-shadow:0 2px 8px rgba(77,107,254,.3)}
.send:disabled{background:var(--bg-hover);color:var(--text-3);box-shadow:none;cursor:not-allowed}
.send svg{width:17px;height:17px}
.send.stop{background:var(--text);box-shadow:none}
.tips{max-width:768px;margin:8px auto 0;text-align:center;font-size:11px;color:var(--text-3)}

/* 遮罩 */
.mask{position:fixed;inset:0;background:rgba(17,20,26,.36);z-index:40;opacity:0;pointer-events:none;transition:.2s}
.mask.on{opacity:1;pointer-events:auto}

/* 模态 */
.modal{position:fixed;inset:0;z-index:60;display:none;align-items:center;justify-content:center;padding:20px}
.modal.on{display:flex}
.modal-card{background:var(--bg);border-radius:20px;max-width:452px;width:100%;padding:20px;
  box-shadow:0 24px 64px rgba(16,24,40,.22);max-height:86vh;overflow-y:auto;-webkit-overflow-scrolling:touch}
.modal-card h3{margin:0;font-size:17px;font-weight:650}
.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.modal-x{width:30px;height:30px;border-radius:50%;background:var(--bg-hover);color:var(--text-2);
  display:grid;place-items:center;flex:0 0 auto}
.modal-x svg{width:15px;height:15px}
.hist-item .del svg{width:13px;height:13px;display:block}
.modal-x:active{background:var(--line)}
.modal-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}
.modal-row span:last-child{color:var(--text-2)}
.modal-actions{display:flex;gap:9px;margin-top:16px}
.btn{flex:1;padding:10px;border-radius:11px;font-size:14px;font-weight:600;background:var(--bg-hover);color:var(--text);transition:.15s}
.btn:hover{background:var(--line)}
.btn.primary{background:var(--brand);color:#fff;box-shadow:0 2px 8px rgba(77,107,254,.25)}
.btn.primary:hover{background:var(--brand-2)}
.btn:disabled{opacity:.6;cursor:default}

/* 下载区 */
.dl-box{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.dl-title{font-size:12.5px;font-weight:600;color:var(--text-2);margin-bottom:10px;letter-spacing:.2px}
.dl-item{display:flex;align-items:center;gap:11px;width:100%;padding:11px 12px;margin-bottom:8px;
  border-radius:13px;background:var(--bg-hover);border:1px solid transparent;text-align:left;
  text-decoration:none;color:var(--text);cursor:pointer;transition:.16s}
.dl-item:hover{border-color:var(--brand-line);background:var(--brand-soft)}
.dl-ico{width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;color:var(--brand)}
.dl-ico svg{width:21px;height:21px;display:block}
.dl-txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.dl-txt b{font-size:14px;font-weight:600}
.dl-txt i{font-size:11.5px;color:var(--text-3);font-style:normal;line-height:1.35}
.dl-note{font-size:11.5px;color:var(--text-3);line-height:1.5;margin-top:4px}

/* 状态条 */
.toast{position:fixed;left:50%;bottom:96px;transform:translate(-50%,10px);background:rgba(24,25,28,.92);
  color:#fff;padding:9px 16px;border-radius:22px;font-size:13px;opacity:0;pointer-events:none;
  transition:.25s;z-index:80;max-width:80vw;text-align:center}
.toast.on{opacity:1;transform:translate(-50%,0)}

@media (max-width:820px){
  .side{position:fixed;left:0;top:0;bottom:0;z-index:50;transform:translateX(-102%);
    box-shadow:0 0 40px rgba(16,24,40,.18);width:280px;flex-basis:280px}
  .side.open{transform:none}
  .sugg{grid-template-columns:1fr;gap:8px}
  .welcome{padding-top:9vh}
  .welcome .hi{font-size:23px}
  .chat-inner{padding:8px 14px 16px}
  .composer-wrap{padding:0 12px calc(10px + env(safe-area-inset-bottom))}
  .topbar{padding:0 8px}
}
@media (min-width:821px){ .mask{display:none} }

/* 联网模块面板 */
.net-box{margin-top:14px;padding:14px;border-radius:14px;background:var(--bg-hover)}
.net-head{display:flex;align-items:center;gap:8px;font-size:14px;margin-bottom:6px}
.net-dot{width:8px;height:8px;border-radius:50%;background:#c9ccd6;flex:0 0 auto}
.net-dot.ok{background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.18)}
.net-dot.bad{background:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.18)}
.net-dot.run{background:#f59e0b;animation:pulse 1s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}
.net-ms{margin-left:auto;font-size:11.5px;color:var(--text-3);font-variant-numeric:tabular-nums}
.net-detail{font-size:12px;color:var(--text-2);line-height:1.55;margin-bottom:10px;word-break:break-all}
.net-actions{display:flex;gap:8px;margin-bottom:9px}
.net-actions .btn{font-size:13px;padding:9px}
.net-log{font-size:11.5px;color:var(--text-3);line-height:1.55;max-height:96px;overflow-y:auto;
  font-family:ui-monospace,Menlo,monospace;white-space:pre-wrap}
.net-log b{color:var(--text-2);font-weight:600}
.net-hint{margin-top:8px;font-size:11px;color:var(--text-3);line-height:1.45}

/* ---------- 内测激活页 ---------- */
.gate{position:fixed;inset:0;z-index:200;background:var(--bg);display:grid;place-items:center;
  padding:28px 22px;transition:opacity .32s ease;overflow-y:auto}
.gate[hidden]{display:none}
.gate-card{width:100%;max-width:400px;text-align:center;animation:fade .45s ease}
.gate-logo{width:64px;height:64px;border-radius:20px;margin:0 auto 26px;
  background:linear-gradient(145deg,#5B7CFF,#3A56E8);display:grid;place-items:center;
  color:#fff;font-weight:800;font-size:30px;box-shadow:0 12px 30px rgba(77,107,254,.32)}
.gate-kicker{font-size:12.5px;color:var(--brand);letter-spacing:2.4px;font-weight:600;
  text-transform:uppercase;margin-bottom:14px}
.gate-title{font-size:26px;font-weight:650;letter-spacing:.4px;margin:0 0 14px;line-height:1.4}
.gate-sub{font-size:14px;color:var(--text-2);line-height:1.85;margin:0 auto 30px;max-width:330px}
.gate-row{display:flex;gap:10px;align-items:center}
.gate-row input{
  flex:1;min-width:0;height:48px;border:1px solid var(--line);border-radius:14px;background:var(--bg);
  padding:0 16px;font-size:16px;letter-spacing:3px;text-align:center;color:var(--text);
  outline:none;transition:border-color .18s,box-shadow .18s;font-family:inherit}
.gate-row input::placeholder{letter-spacing:.5px;font-size:14px;color:var(--text-3)}
.gate-row input:focus{border-color:var(--brand-line);box-shadow:0 0 0 3px rgba(77,107,254,.1)}
.gate-row button{
  height:48px;padding:0 22px;border-radius:14px;background:var(--brand);color:#fff;
  font-size:15px;font-weight:600;white-space:nowrap;box-shadow:0 4px 14px rgba(77,107,254,.28);
  transition:background .16s,transform .12s}
.gate-row button:active{transform:scale(.97)}
.gate-err{min-height:20px;margin-top:12px;font-size:13px;color:#e5484d}
.gate-foot{margin-top:34px;font-size:12px;color:var(--text-3);letter-spacing:.3px}
.shake{animation:shake .36s}
@keyframes shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}

/* ---------- 设置页品牌行 ---------- */
.brand-foot{margin-top:18px;padding-top:14px;border-top:1px solid var(--line);
  text-align:center;font-size:11.5px;color:var(--text-3);letter-spacing:.6px}

/* ---------- 页脚联合署名 ---------- */
.page-foot{margin-top:10px;text-align:center;font-size:11px;color:var(--text-3);
  letter-spacing:.8px;padding-bottom:2px}
.page-foot span{color:var(--brand);font-weight:600;letter-spacing:.8px;margin-left:2px}

/* ---------- 升级进度条 ---------- */
.up-bar{height:6px;border-radius:999px;background:var(--bg);border:1px solid var(--line);
  overflow:hidden;margin:2px 0 12px}
.up-bar[hidden]{display:none}
.up-bar i{display:block;height:100%;width:0;border-radius:999px;
  background:linear-gradient(90deg,#5B7CFF,#3A56E8);transition:width .18s ease}
.up-bar.indet i{width:38%;animation:slide 1.1s ease-in-out infinite}
@keyframes slide{0%{transform:translateX(-100%)}100%{transform:translateX(300%)}}

/* ---------- 新版本提示 ---------- */
.prompt{position:fixed;inset:0;z-index:220;display:grid;place-items:center;padding:24px;
  background:rgba(17,20,26,.42);backdrop-filter:blur(2px);animation:fade .22s ease}
.prompt[hidden]{display:none}
.prompt-card{background:var(--bg);border-radius:20px;padding:24px 22px 18px;width:100%;max-width:330px;
  text-align:center;box-shadow:0 24px 64px rgba(16,24,40,.28)}
.prompt-icon{width:52px;height:52px;border-radius:16px;margin:0 auto 16px;display:grid;place-items:center;
  background:var(--brand-soft);color:var(--brand)}
.prompt-icon svg{width:26px;height:26px}
.prompt-title{font-size:17px;font-weight:650;letter-spacing:.2px;margin-bottom:8px}
.prompt-sub{font-size:13px;color:var(--text-2);line-height:1.7;margin-bottom:16px}
.prompt-acts{display:flex;gap:10px}

/* ---------- 生成图片 ---------- */
.gen-wrap{position:relative;border-radius:14px;overflow:hidden;max-width:400px;
  background:var(--bg-hover);min-height:160px;display:grid;place-items:center;border:1px solid var(--line)}
.gen-img{width:100%;display:block;opacity:0;transition:opacity .35s ease}
.gen-img.on{opacity:1}
.gen-load{position:absolute;z-index:1;font-size:12.5px;color:var(--text-3);letter-spacing:.3px}
.gen-wrap.err .gen-load{color:#e5484d}

.gate-dev{margin-top:14px;font-size:11.5px;color:var(--text-3);letter-spacing:.4px}
.gate-dev b{color:var(--text-2);font-family:ui-monospace,Menlo,monospace;letter-spacing:2px;
  font-size:12.5px;margin-left:4px}

/* ---------- 登录表单 ---------- */
.au-form{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}
.au-form input{height:48px;border:1px solid var(--line);border-radius:14px;background:var(--bg);
  padding:0 16px;font-size:15px;color:var(--text);outline:none;font-family:inherit;transition:.18s}
.au-form input:focus{border-color:var(--brand-line);box-shadow:0 0 0 3px rgba(77,107,254,.1)}
.au-actions{display:flex;gap:10px}
.au-actions button{flex:1;height:46px;border-radius:14px;background:var(--brand);color:#fff;
  font-size:15px;font-weight:600;box-shadow:0 4px 14px rgba(77,107,254,.26);transition:.16s}
.au-actions button.ghost{background:transparent;color:var(--brand);border:1px solid var(--line);box-shadow:none}
.au-actions button:active{transform:scale(.98)}

/* ---------- 退出登录（蓝色方框） ---------- */
.btn-logout{
  width:100%;margin:16px 0 4px;padding:12px 14px;border-radius:13px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  background:var(--brand-soft);color:var(--brand);
  border:1px solid var(--brand-line);font-size:14.5px;font-weight:600;
  transition:.16s;box-shadow:0 1px 2px rgba(77,107,254,.06);
}
.btn-logout:hover{background:#E4EBFF;border-color:#C3D0FF}
.btn-logout:active{transform:scale(.985)}
.btn-logout svg{width:17px;height:17px;flex:0 0 17px}


/* ---------- 手机号验证码 ---------- */
.au-coderow{display:flex;gap:9px}
.au-coderow input{flex:1;min-width:0}
.au-get{flex:0 0 auto;padding:0 14px;height:48px;border-radius:14px;background:var(--brand-soft);
  color:var(--brand);border:1px solid var(--brand-line);font-size:13.5px;font-weight:600}
.au-get:disabled{opacity:.6}

.au-switch{text-align:center;margin-top:12px;font-size:12.5px}
.au-switch a{color:var(--text-3);text-decoration:none;border-bottom:1px dashed var(--line);padding-bottom:1px}
.au-switch a:hover{color:var(--brand)}

/* ---------- 开发者控制台 ---------- */
.dev{position:fixed;inset:0;z-index:210;background:var(--bg);display:flex;flex-direction:column}
.dev[hidden]{display:none}
.dev-head{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line);
  padding-top:calc(14px + env(safe-area-inset-top))}
.dev-head b{font-size:16px}
.dev-back{width:32px;height:32px;border-radius:10px;background:var(--bg-hover);font-size:20px;line-height:1;color:var(--text-2)}
.dev-tag{margin-left:auto;font-size:11.5px;background:var(--brand-soft);color:var(--brand);padding:3px 9px;border-radius:999px}
.dev-body{flex:1;overflow-y:auto;padding:14px;padding-bottom:calc(24px + env(safe-area-inset-bottom))}
.dev-card{background:var(--bg);border:1px solid var(--line);border-radius:16px;padding:14px;margin-bottom:12px}
.dev-title{font-size:13px;font-weight:600;margin-bottom:10px;display:flex;align-items:center;gap:8px}
.dev-count{font-size:11.5px;color:var(--text-3);font-weight:400}
.dev-row{display:flex;gap:8px}
.dev-row input{flex:1;min-width:0;height:42px;border:1px solid var(--line);border-radius:11px;padding:0 12px;font-size:14px;background:var(--bg);color:var(--text);outline:none}
.dev-row input[type=number]{flex:0 0 72px;text-align:center}
.dev-row button{flex:0 0 auto;padding:0 16px;height:42px;border-radius:11px;background:var(--brand);color:#fff;font-size:14px;font-weight:600}
.dev-out{margin-top:10px;font-family:ui-monospace,Menlo,monospace;font-size:13px;color:var(--brand);line-height:1.9;word-break:break-all}
.dev-list{display:flex;flex-direction:column;gap:8px}
.dev-item{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;font-size:13px}
.dev-item b{font-family:ui-monospace,Menlo,monospace}
.dev-item .st{font-size:11.5px;margin-left:auto}
.dev-item .st.ok{color:#16a34a}
.dev-item .st.no{color:var(--text-3)}
.dev-item button{font-size:12px;padding:5px 9px;border-radius:8px;background:var(--bg-hover);color:var(--text-2)}
.dev-item button.warn{background:#fdecec;color:#e5484d}
.dev-empty{font-size:12.5px;color:var(--text-3);padding:6px 2px}
