Windows 上的安卓应用运行器:双击 APK 即装,应用以独立窗口与桌面图标运行,自持 QEMU 运行时
:root {
--bg: #f7f8fa;
--panel: #ffffff;
--panel-2: #fbfcfd;
--line: #e6e8ec;
--line-strong: #d9dde3;
--text: #1b1f24;
--muted: #6b7480;
--faint: #97a0ac;
--brand: #16a34a;
--brand-dark: #12833c;
--brand-soft: #eaf7ef;
--danger: #dc2626;
--shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
--shadow-md: 0 8px 24px rgba(16, 24, 40, .10);
--shadow-lg: 0 20px 48px rgba(16, 24, 40, .16);
--r-sm: 8px;
--r-md: 12px;
--r-lg: 16px;
}
* { box-sizing: border-box; }
html, body {
margin: 0;
height: 100%;
overflow: hidden;
background: var(--bg);
color: var(--text);
font-family: "Segoe UI Variable Text", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
font-size: 13px;
-webkit-font-smoothing: antialiased;
user-select: none;
}
body {
display: flex;
flex-direction: column;
height: 100vh;
}
/* ---------------- 标题栏 ---------------- */
.titlebar {
height: 44px;
flex: 0 0 44px;
display: flex;
align-items: center;
gap: 10px;
padding: 0 12px 0 14px;
background: var(--bg);
border-bottom: 1px solid transparent;
-webkit-app-region: drag;
padding-right: 148px; /* 给系统窗口按钮留位 */
}
.brand { display: flex; align-items: center; gap: 8px; }
.logo { display: flex; }
.logo img {
width: 20px; height: 20px;
border-radius: 6px;
display: block;
-webkit-user-drag: none;
}
.brand-name { font-weight: 650; font-size: 13.5px; letter-spacing: .2px; }
.brand-tag {
margin-left: 4px;
font-size: 11px;
color: var(--muted);
background: #eef1f4;
border-radius: 999px;
padding: 2px 8px;
line-height: 16px;
}
.brand-tag.ok { color: var(--brand-dark); background: var(--brand-soft); }
/* 状态标签兼作入口:点它进设置里的运行时面板 */
.brand-tag { cursor: pointer; user-select: none; }
.brand-tag:hover { filter: brightness(.97); }
.titlebar-spacer { flex: 1; }
.titlebar-actions { display: flex; gap: 4px; -webkit-app-region: no-drag; }
.icon-btn {
width: 30px; height: 30px;
display: grid; place-items: center;
border: none; border-radius: 8px;
background: transparent; color: var(--muted);
cursor: pointer;
}
.icon-btn:hover { background: #edf0f3; color: var(--text); }
/* ---------------- 布局 ---------------- */
.shell {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
padding: 0 18px 0 18px;
}
.toolbar {
flex: 0 0 auto;
display: flex;
align-items: center;
gap: 12px;
padding: 6px 0 14px;
}
.search {
display: flex; align-items: center; gap: 8px;
height: 34px; padding: 0 11px;
background: var(--panel);
border: 1px solid var(--line);
border-radius: 10px;
width: 280px;
color: var(--faint);
transition: border-color .15s, box-shadow .15s;
}
.search:focus-within { border-color: #b9c6d4; box-shadow: 0 0 0 3px rgba(22,163,74,.08); }
.search input {
border: none; outline: none; background: transparent;
width: 100%; font-size: 13px; color: var(--text);
font-family: inherit;
}
.search input::placeholder { color: var(--faint); }
.toolbar-right { margin-left: auto; display: flex; gap: 8px; }
.btn {
display: inline-flex; align-items: center; gap: 6px;
height: 34px; padding: 0 13px;
border-radius: 10px;
border: 1px solid var(--line);
background: var(--panel);
color: var(--text);
font-size: 13px; font-family: inherit; font-weight: 500;
cursor: pointer;
transition: background .15s, border-color .15s, transform .06s;
}
.btn:hover { background: #f4f6f8; }
.btn:active { transform: translateY(.5px); }
.btn.primary {
background: var(--brand);
border-color: var(--brand);
color: #fff;
box-shadow: 0 1px 2px rgba(22,163,74,.25);
}
.btn.primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: #eef1f4; }
.btn.ghost.danger { color: var(--danger); border-color: var(--danger); }
.btn.ghost.danger:hover { background: rgba(220,53,69,.08); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 8px; }
.btn.lg { height: 38px; padding: 0 18px; border-radius: 11px; }
.btn:disabled { opacity: .55; cursor: default; }
/* ---------------- 应用网格 ---------------- */
.content {
flex: 1;
min-height: 0;
overflow-y: auto;
overflow-x: hidden;
padding-bottom: 18px;
}
.content::-webkit-scrollbar { width: 10px; }
.content::-webkit-scrollbar-thumb { background: #d8dde3; border-radius: 8px; border: 3px solid var(--bg); }
.content::-webkit-scrollbar-thumb:hover { background: #c3cad3; }
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
gap: 10px;
}
.card {
position: relative;
background: var(--panel);
border: 1px solid var(--line);
border-radius: var(--r-lg);
padding: 14px 12px 12px;
display: flex; flex-direction: column; align-items: center;
cursor: pointer;
transition: border-color .15s, box-shadow .18s, transform .12s;
overflow: hidden;
}
.card:hover {
border-color: var(--line-strong);
box-shadow: var(--shadow-md);
transform: translateY(-1px);
}
.card:active { transform: translateY(0); }
.card .icon {
width: 64px; height: 64px;
border-radius: 15px;
background: #f0f3f6;
display: grid; place-items: center;
overflow: hidden;
margin-bottom: 10px;
box-shadow: 0 1px 3px rgba(16,24,40,.10);
}
.card .icon img { width: 100%; height: 100%; object-fit: cover; }
.card .icon .fallback {
width: 100%; height: 100%;
display: grid; place-items: center;
color: #fff; font-weight: 600; font-size: 24px;
}
.card .name {
font-size: 12.5px; font-weight: 550;
max-width: 100%;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
text-align: center;
}
.card .meta {
margin-top: 3px;
font-size: 11px; color: var(--faint);
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
max-width: 100%;
}
.card .badge-run {
position: absolute; top: 9px; right: 9px;
width: 7px; height: 7px; border-radius: 50%;
background: var(--brand);
box-shadow: 0 0 0 3px var(--brand-soft);
}
.card .pin {
position: absolute; top: 8px; left: 9px;
font-size: 11px; color: var(--faint);
}
.card .open-hint {
margin-top: 10px;
width: 100%;
height: 26px;
border-radius: 8px;
background: var(--brand-soft);
color: var(--brand-dark);
font-size: 11.5px; font-weight: 600;
display: grid; place-items: center;
opacity: 0;
transform: translateY(3px);
transition: opacity .16s, transform .16s;
}
.card:hover .open-hint { opacity: 1; transform: none; }
/* ---------------- 空状态 ---------------- */
.empty {
height: 100%;
display: flex; flex-direction: column; align-items: center; justify-content: center;
text-align: center;
padding: 20px;
}
.empty.hidden, .grid.hidden { display: none; }
.empty h2 { margin: 10px 0 8px; font-size: 17px; font-weight: 600; }
.empty p { margin: 0; color: var(--muted); line-height: 1.75; font-size: 12.5px; }
.empty .btn { margin-top: 18px; }
.empty-art { opacity: .9; }
.hint { margin-top: 14px !important; font-size: 11.5px !important; color: var(--faint) !important; }
/* ---------------- 状态栏 ---------------- */
.statusbar {
flex: 0 0 32px;
display: flex; align-items: center;
border-top: 1px solid var(--line);
font-size: 11.5px;
color: var(--muted);
}
.status-left { display: flex; align-items: center; gap: 7px; }
.status-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.status-item { white-space: nowrap; }
.sep { width: 1px; height: 11px; background: var(--line-strong); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #cbd2da; }
.dot.ok { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.dot.err { background: #e8833a; }
.dot.warn {
background: #f0b429;
box-shadow: 0 0 0 3px rgba(240, 180, 41, .18);
animation: dotPulse 1.4s ease-in-out infinite;
}
@keyframes dotPulse {
0%, 100% { opacity: 1; }
50% { opacity: .45; }
}
/* ---------------- Toast ---------------- */
.toast-wrap {
position: fixed;
right: 16px; bottom: 44px;
display: flex; flex-direction: column-reverse; gap: 8px;
z-index: 60;
pointer-events: none;
}
.toast {
pointer-events: auto;
min-width: 240px; max-width: 340px;
background: var(--panel);
border: 1px solid var(--line);
border-radius: var(--r-md);
box-shadow: var(--shadow-lg);
padding: 11px 13px;
animation: slide-in .18s ease-out;
}
@keyframes slide-in { from { opacity: 0; transform: translateY(6px); } }
.toast .t-title { font-weight: 600; font-size: 12.5px; display: flex; align-items: center; gap: 7px; }
.toast .t-body { margin-top: 4px; font-size: 11.5px; color: var(--muted); line-height: 1.55; word-break: break-all; }
.toast.error .t-title { color: var(--danger); }
.toast .bar { margin-top: 9px; height: 3px; border-radius: 3px; background: #eef1f4; overflow: hidden; }
.toast .bar i { display: block; height: 100%; width: 0%; background: var(--brand); border-radius: 3px; transition: width .25s; }
.spinner {
width: 12px; height: 12px; border-radius: 50%;
border: 2px solid #dfe5ec; border-top-color: var(--brand);
animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* ---------------- 拖放 ---------------- */
.dropzone {
position: fixed; inset: 0;
background: rgba(247,248,250,.82);
backdrop-filter: blur(2px);
display: none;
place-items: center;
z-index: 80;
}
.dropzone.on { display: grid; }
.dropzone-inner {
width: 380px; height: 200px;
border: 2px dashed #a9bccd;
border-radius: 18px;
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
color: #5a6b7c;
background: rgba(255,255,255,.7);
}
.dropzone-inner strong { font-size: 15px; color: var(--text); }
.dropzone-inner span { font-size: 12px; color: var(--muted); }
/* ---------------- 右键菜单 ---------------- */
.ctxmenu {
position: fixed;
display: none;
min-width: 190px;
background: var(--panel);
border: 1px solid var(--line);
border-radius: 10px;
box-shadow: var(--shadow-lg);
padding: 5px;
z-index: 90;
}
.ctxmenu.on { display: block; }
.ctxmenu .item {
height: 30px;
display: flex; align-items: center; gap: 9px;
padding: 0 9px;
border-radius: 7px;
font-size: 12.5px;
cursor: pointer;
color: var(--text);
}
.ctxmenu .item:hover { background: #f1f4f7; }
.ctxmenu .item.danger { color: var(--danger); }
.ctxmenu .item .k { margin-left: auto; color: var(--faint); font-size: 11px; }
.ctxmenu .divider { height: 1px; background: var(--line); margin: 5px 6px; }
/* ---------------- 设置弹窗 ---------------- */
.modal-mask {
position: fixed; inset: 0;
background: rgba(20, 26, 33, .28);
display: none;
place-items: center;
z-index: 100;
}
.modal-mask.on { display: grid; }
.modal {
width: 620px;
max-height: 86vh;
background: var(--panel);
border-radius: 16px;
box-shadow: var(--shadow-lg);
display: flex; flex-direction: column;
overflow: hidden;
animation: pop .16s ease-out;
}
@keyframes pop { from { opacity: 0; transform: scale(.985) translateY(4px); } }
.modal-head {
flex: 0 0 auto;
display: flex; align-items: center;
padding: 14px 14px 12px 18px;
border-bottom: 1px solid var(--line);
}
.modal-head h2 { margin: 0; font-size: 14.5px; font-weight: 650; }
.modal-head .icon-btn { margin-left: auto; }
.modal-body {
flex: 1;
min-height: 0;
overflow-y: auto;
padding: 6px 18px 18px;
}
.modal-body::-webkit-scrollbar { width: 10px; }
.modal-body::-webkit-scrollbar-thumb { background: #dde2e8; border-radius: 8px; border: 3px solid var(--panel); }
.group { padding: 14px 0 6px; border-bottom: 1px solid var(--line); }
.group:last-child { border-bottom: none; }
.group-title {
font-size: 11.5px; font-weight: 650; letter-spacing: .4px;
color: var(--faint); text-transform: uppercase;
margin-bottom: 10px;
}
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12.5px; margin-bottom: 6px; color: var(--text); font-weight: 500; }
.field .sub { display: block; font-size: 11.5px; color: var(--faint); margin-top: 2px; line-height: 1.5; }
.field input[type=text], .field input[type=number], .field select {
width: 100%; height: 32px;
border: 1px solid var(--line);
border-radius: 9px;
padding: 0 10px;
font-size: 12.5px; font-family: inherit;
color: var(--text);
background: var(--panel-2);
outline: none;
}
.field input:focus, .field select:focus { border-color: #b9c6d4; box-shadow: 0 0 0 3px rgba(22,163,74,.08); }
.field input[readonly] { color: var(--muted); }
.field .row { display: flex; gap: 8px; }
.checkbox-inline { display: inline-flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 12px; color: var(--faint); }
.field .row input { flex: 1; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.switch-field { display: flex; align-items: center; gap: 14px; }
.switch-field > div { flex: 1; }
.switch {
appearance: none;
width: 38px; height: 22px;
border-radius: 999px;
background: #d9dee5;
position: relative;
cursor: pointer;
transition: background .16s;
flex: 0 0 auto;
border: none;
}
.switch::after {
content: "";
position: absolute; top: 2px; left: 2px;
width: 18px; height: 18px;
border-radius: 50%;
background: #fff;
box-shadow: 0 1px 2px rgba(0,0,0,.2);
transition: transform .16s;
}
.switch:checked { background: var(--brand); }
.switch:checked::after { transform: translateX(16px); }
.note {
margin: 2px 0 12px;
font-size: 11.5px;
color: var(--muted);
line-height: 1.6;
background: #f6f8fa;
border: 1px solid var(--line);
border-radius: 9px;
padding: 8px 10px;
}
.runtime-actions { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; }
.inline-note { font-size: 11.5px; color: var(--faint); }
/* 状态条上的自检计数:主界面不再放大横幅,问题只在底部提示,点开进设置 */
.status-chip {
height: 19px; padding: 0 8px; margin-left: 2px;
font-size: 11px; line-height: 17px;
border-radius: 999px;
border: 1px solid #f0d9a8; background: #fff8e6; color: #a16207;
cursor: pointer; white-space: nowrap;
}
.status-chip.err { border-color: #f3c6c6; background: #fdeeee; color: #b91c1c; }
.status-chip:hover { filter: brightness(.97); }
.status-chip[hidden] { display: none; }
/* ---------------- 环境自检横幅 ---------------- */
.env-check {
flex: 0 0 auto;
margin: 0 0 12px;
border: 1px solid var(--line-strong);
border-radius: var(--r-md);
background: var(--panel);
box-shadow: var(--shadow-sm);
overflow: hidden;
}
.env-check-head {
display: flex; align-items: center; gap: 10px;
padding: 10px 14px;
border-bottom: 1px solid var(--line);
background: var(--panel-2);
}
.env-check-head .ec-title { font-weight: 600; }
.env-check-head .ec-count {
font-size: 11.5px; color: #fff; background: var(--danger);
border-radius: 999px; padding: 1px 8px;
}
.env-check-head .ec-count.warn { background: #d97706; }
.env-check-head .ec-spacer { flex: 1; }
.env-check-head button { height: 28px; padding: 0 12px; font-size: 12px; border-radius: 8px; }
.env-check-list { padding: 6px 8px; display: flex; flex-direction: column; gap: 6px; }
.env-check-item {
display: flex; align-items: flex-start; gap: 10px;
padding: 8px 10px; border-radius: 10px; background: var(--panel-2);
border: 1px solid var(--line);
}
.env-check-item .ec-sev {
flex: 0 0 auto; width: 6px; align-self: stretch; border-radius: 4px; background: var(--faint);
}
.env-check-item.error .ec-sev { background: var(--danger); }
.env-check-item.warn .ec-sev { background: #d97706; }
.env-check-item .ec-body { flex: 1; min-width: 0; }
.env-check-item .ec-name { font-weight: 600; font-size: 12.5px; }
.env-check-item .ec-hint { font-size: 11.5px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.env-check-item .ec-fix {
flex: 0 0 auto; align-self: center;
height: 28px; padding: 0 12px; font-size: 12px; border-radius: 8px;
border: 1px solid var(--brand); color: var(--brand); background: var(--brand-soft);
}
.env-check-item .ec-fix:hover { background: var(--brand); color: #fff; }
.env-check-ok {
display: flex; align-items: center; gap: 8px;
padding: 12px 14px; color: var(--brand-dark); font-size: 12.5px;
}
/* 设置里的运行时面板:自检块与旧向导样式内嵌化(不再整屏、不需要投影) */
.modal-body .env-check { margin: 6px 0 12px; box-shadow: none; }
.modal-body .env-check-ok { padding: 10px 12px; }
.modal-body .setup-guide { max-width: none; padding: 14px 16px; margin: 6px 0 4px; }
.modal-body .steps .step { padding: 10px 12px; }
.modal-foot {
flex: 0 0 auto;
display: flex; align-items: center;
padding: 12px 18px;
border-top: 1px solid var(--line);
background: var(--panel-2);
}
.modal-foot .btn { margin-left: auto; }
/* ---------------- 运行时部署向导 ---------------- */
.setup {
flex: 1;
min-height: 0;
overflow-y: auto;
display: flex;
flex-direction: column;
align-items: center;
gap: 14px;
padding: 4px 0 24px;
}
.setup[hidden] { display: none; }
.content[hidden] { display: none; }
.setup-card {
width: 100%;
max-width: 780px;
background: var(--panel);
border: 1px solid var(--line);
border-radius: 18px;
padding: 22px 24px;
box-shadow: var(--shadow-sm);
}
.setup-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.setup-head h1 { font-size: 17px; margin: 0 0 6px; font-weight: 650; }
.setup-head p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.setup-head b { color: var(--text); font-weight: 600; }
.setup-hv {
margin-left: auto;
font-size: 11.5px;
color: var(--muted);
background: #f4f6f8;
border: 1px solid var(--line);
border-radius: 999px;
padding: 4px 10px;
white-space: nowrap;
max-width: 260px;
overflow: hidden;
text-overflow: ellipsis;
}
.setup-hv.ok { color: var(--brand-dark); background: var(--brand-soft); border-color: #cdebd8; }
.steps { display: flex; flex-direction: column; gap: 8px; }
.step {
display: flex;
align-items: center;
gap: 12px;
padding: 11px 12px;
border: 1px solid var(--line);
border-radius: 12px;
background: var(--panel-2);
}
.step .idx {
width: 22px; height: 22px;
border-radius: 50%;
display: grid; place-items: center;
font-size: 11.5px; font-weight: 650;
background: #eef1f4; color: var(--muted);
flex: 0 0 auto;
}
.step.done .idx { background: var(--brand); color: #fff; }
.step.busy .idx { background: #fff3d6; color: #a16207; }
.step .body { flex: 1; min-width: 0; }
.step .t { font-size: 12.5px; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.step .tag {
font-size: 10.5px; font-weight: 500;
padding: 1px 6px; border-radius: 5px;
background: #eef1f4; color: var(--muted);
}
.step .tag.req { background: #fef2f2; color: #b91c1c; }
.step .d { font-size: 11.5px; color: var(--faint); margin-top: 2px; word-break: break-all; }
.step .bar { height: 3px; background: #e9edf1; border-radius: 3px; margin-top: 7px; overflow: hidden; display: none; }
.step.busy .bar { display: block; }
.step .bar i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .3s; }
.step .act { flex: 0 0 auto; display: flex; gap: 6px; }
.setup-foot { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.setup-foot .inline-note { margin-left: auto; }
.setup-guide {
width: 100%;
max-width: 780px;
background: var(--panel);
border: 1px solid var(--line);
border-radius: 18px;
padding: 20px 24px;
box-shadow: var(--shadow-sm);
}
.setup-guide[hidden] { display: none; }
.setup-guide h2 { margin: 0 0 4px; font-size: 15px; font-weight: 650; }
.guide-sub { margin: 0; font-size: 12px; color: var(--muted); }
.guide-list { margin: 12px 0; padding-left: 20px; font-size: 12.5px; line-height: 1.95; }
.guide-list li { margin-bottom: 4px; }
.guide-list code, .guide-tip code {
background: #f2f5f8;
border: 1px solid var(--line);
border-radius: 5px;
padding: 1px 5px;
font-family: Consolas, "Cascadia Mono", monospace;
font-size: 11.5px;
}
kbd {
background: #fff;
border: 1px solid var(--line-strong);
border-bottom-width: 2px;
border-radius: 5px;
padding: 0 5px;
font-size: 11px;
font-family: inherit;
}
.guide-tip {
font-size: 11.5px;
color: var(--muted);
background: #f7f9fb;
border: 1px solid var(--line);
border-radius: 9px;
padding: 9px 11px;
line-height: 1.75;
}
.guide-foot { display: flex; gap: 10px; margin-top: 14px; }
/* ---- 关于 / 品牌信息 ---- */
.about-box {
display: flex;
gap: 16px;
align-items: flex-start;
}
.about-brand { flex: none; }
.about-logo {
width: 56px; height: 56px;
border-radius: 14px;
display: block;
box-shadow: 0 2px 10px rgba(15, 23, 32, .18);
-webkit-user-drag: none;
}
.about-qrs {
display: flex;
gap: 14px;
flex: none;
}
.about-qr {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
flex: none;
}
.about-qr img {
border-radius: 10px;
border: 1px solid var(--line);
display: block;
}
.about-qr-tip {
font-size: 10.5px;
color: var(--muted);
}
.about-info { flex: 1; min-width: 0; }
.about-name {
font-size: 14px;
font-weight: 600;
margin-bottom: 4px;
}
.about-ver {
font-size: 11px;
font-weight: 500;
color: var(--muted);
margin-left: 6px;
}
.about-links {
display: flex;
flex-direction: column;
gap: 4px;
margin-top: 10px;
font-size: 12px;
}
.about-links a {
color: #2f6fed;
text-decoration: none;
word-break: break-all;
}
.about-links a:hover { text-decoration: underline; }
.powered {
font-size: 11.5px;
color: var(--muted);
}
.powered b { color: var(--text); }
.powered-link {
color: var(--muted);
text-decoration: none;
font-size: 11px;
}
.powered-link:hover { color: var(--text); text-decoration: underline; }
/* 高级参数默认折叠:零配置体验,不把内部参数暴露给普通用户 */
.advanced-group {
border-top: 1px solid var(--line, #e8ebf0);
margin: 4px 0 0;
padding: 0;
}
.advanced-group > summary {
cursor: pointer;
list-style: none;
user-select: none;
padding: 14px 2px 10px;
font-size: 12px;
color: var(--muted, #7b828e);
font-weight: 600;
}
.advanced-group > summary::-webkit-details-marker { display: none; }
.advanced-group > summary::before {
content: '▸';
display: inline-block;
margin-right: 7px;
transition: transform .15s ease;
}
.advanced-group[open] > summary::before { transform: rotate(90deg); }
.advanced-group[open] > summary { color: var(--text, #2b3138); }
/* ---------------- 软件更新 ---------------- */
.update-bar {
margin-top: 9px;
height: 4px;
border-radius: 4px;
background: #e9edf1;
overflow: hidden;
}
.update-bar i {
display: block;
height: 100%;
width: 0;
border-radius: 4px;
background: var(--brand);
transition: width .25s;
}
.update-notes {
margin-top: 8px;
max-height: 118px;
overflow: auto;
padding: 9px 11px;
border: 1px solid var(--line);
border-radius: 10px;
background: var(--panel-2);
font-size: 12px;
line-height: 1.6;
white-space: pre-wrap;
color: var(--text-2, #556);
}
/* 组内的小号折叠块(容器细节等) */
.mini-details {
margin: 2px 0 6px;
border: 1px dashed var(--line, #e8ebf0);
border-radius: 10px;
padding: 0 10px 2px;
}
.mini-details > summary {
cursor: pointer;
list-style: none;
user-select: none;
padding: 10px 0 8px;
font-size: 12px;
color: var(--muted, #7b828e);
font-weight: 600;
}
.mini-details > summary::-webkit-details-marker { display: none; }
.mini-details > summary::before {
content: '▸';
display: inline-block;
margin-right: 6px;
transition: transform .15s ease;
}
.mini-details[open] > summary::before { transform: rotate(90deg); }
/* 行内按钮不要折行(空间紧张时「立即扩容」会被拆成两行) */
.row .btn { white-space: nowrap; flex: 0 0 auto; }