Files
90CNServer/launcher/shell.css
T
hanfuit 977a4a1196 启动器:移除服务端工具/支援兵/插件页面,支援兵模板独立保存
- 删除服务端工具、支援兵、插件三个页面(侧边栏入口 + HTML section)
- server.py: 删除 servertool(9个)、companion/basic-attack 相关接口及常量
- native.py: 删除无人引用的 get_server_features/save_server_features/
  companion_state/companion_save(保留 GM 工具依赖的 gameplay 方法)
- shell.js: 删除 loadServerTool/loadCompanion 全部逻辑及状态变量
- shell.css: 清理 st-/cp- 相关样式
- templates/支援兵页面模板.md: 支援兵页面完整导出为独立模板
- 侧边栏「更新日志」更名为「游戏更新」
2026-11-04 19:32:01 +08:00

374 lines
23 KiB
CSS

/* 95JP 启动器 · 单窗口整合版 */
:root{
--bg:#08110f; --bg2:#0d1a16; --panel:#0f211b; --panel2:#132a22;
--line:#1d3b31; --text:#dbe9e1; --muted:#7f9c90;
--green:#7fe3b0; --green2:#45c98e; --dim:#4e7b68;
--danger:#e07a6a; --gold:#e6c36a;
}
html,body{height:100%;margin:0;background:var(--bg);color:var(--text);
font:14px/1.5 "Microsoft YaHei","Segoe UI",sans-serif;overflow:hidden}
*{box-sizing:border-box}
button,input,select{font:inherit}
.hidden{display:none!important}
#launcherView{display:none!important}
#appShell{display:flex;flex-direction:column;height:calc(100vh - 30px);background:var(--bg)}
/* top nav(横向标签页导航,替代原左侧竖排侧栏) */
.shell-topnav{flex:none;height:56px;display:flex;align-items:center;gap:18px;
background:#0a1512;border-bottom:1px solid #14291f;padding:0 16px}
.shell-brand{height:100%;display:flex;align-items:center;gap:10px;padding:0 4px;border-bottom:0;flex:none}
.shell-logo{width:30px;height:30px;border:1px solid var(--green2);color:var(--green);
display:grid;place-items:center;font-weight:700;font-size:12px;border-radius:2px}
.shell-brand b{font-size:15px;letter-spacing:.5px;white-space:nowrap}
.shell-brand span{display:block;font-size:10px;color:var(--muted)}
.shell-brand em{font-style:normal;color:var(--dim);margin-left:4px}
.shell-nav{display:flex;flex-direction:row;align-items:center;flex:1;gap:2px;padding:0}
.shell-nav-item{appearance:none;background:transparent;border:0;color:#a9c1b6;text-align:left;
padding:8px 14px;border-left:0;border-bottom:2px solid transparent;cursor:pointer;border-radius:3px 3px 0 0;
white-space:nowrap}
.shell-nav-item:hover{background:#10241d;color:var(--text)}
.shell-nav-item.active{background:#12352a;color:var(--green);border-bottom-color:var(--green2)}
.shell-nav-gap{width:1px;height:22px;border-top:0;border-left:1px solid #14291f;margin:0 6px;flex:none}
.shell-side-foot{flex:none;padding:0 4px;color:#4b6b5c;font-size:11px}
/* main */
.shell-main{flex:1;min-width:0;overflow:auto;background:
radial-gradient(900px 400px at 70% -10%,#123329 0,transparent 60%),var(--bg)}
.shell-topbar{height:42px;display:flex;align-items:center;justify-content:space-between;
padding:0 18px;border-bottom:1px solid #14291f;color:var(--muted);font-size:12px;
cursor:move;user-select:none}
.shell-topbar button,.shell-topbar select,.shell-topbar input{cursor:pointer}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:10px;margin-top:14px}
.settings-card{border:1px solid #1d3a2d;background:#0b1712;padding:12px 14px;border-radius:4px}
.settings-label{font-size:11px;color:#83a393;margin-bottom:5px}
.settings-value{font:11px/1.6 Consolas,"Microsoft YaHei",monospace;color:#d5e8de;word-break:break-all}
.shell-top-actions{display:flex;gap:8px;align-items:center}
.shell-top-actions select{background:#0c1b16;border:1px solid #25483a;color:#bfe4d2;padding:4px 8px;border-radius:2px}
.tb-btn{width:28px;height:24px;border:1px solid #25483a;background:#0c1b16;color:#a8c7b6;cursor:pointer}
.tb-close:hover,.tb-btn:hover{background:#1a3a2c;color:#fff}
.shell-page{display:none;padding:0 20px 20px}
.shell-page.active{display:block}
.page-pad{padding-top:18px}
.page-pad h2{margin:0 0 4px;font-size:20px;font-weight:500}
.page-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}
.muted{color:var(--muted)}
.small{font-size:11px!important;font-weight:400!important}
.green{color:var(--green)!important}
.tag{border:1px solid #2c5a46;color:var(--green);padding:2px 8px;font-size:11px;border-radius:2px}
.empty-box{border:1px dashed #244638;color:#5f8272;padding:26px;text-align:center;margin-top:14px;background:#0b1813}
/* hero */
.hero{position:relative;margin:16px 0 12px;min-height:252px;border:1px solid #1e3d30;
overflow:hidden;background:#0b1914}
.hero-bg{position:absolute;inset:0;background:
linear-gradient(90deg,#07110e 0%,rgba(7,17,14,.94) 32%,rgba(10,28,21,.55) 62%,rgba(8,18,14,.9)),
repeating-linear-gradient(115deg,rgba(80,180,130,.05) 0 1px,transparent 1px 26px),
radial-gradient(500px 300px at 82% 35%,#245a43 0,#0a1914 65%);
filter:saturate(.85)}
.hero-bg:after{content:"";position:absolute;right:3%;top:-20%;width:42%;height:130%;
background:radial-gradient(ellipse at 50% 40%,rgba(140,210,175,.12),transparent 65%);
transform:rotate(-8deg)}
.hero-content{position:relative;padding:26px 30px}
.hero-kicker{font-size:11px;color:#769887;letter-spacing:.4px}
.hero h1{margin:4px 0 2px;font-size:34px;font-weight:400;color:#e5f2ea;letter-spacing:.4px}
.hero-status{display:flex;align-items:center;gap:10px;color:#b7d2c4;font-size:12px}
.live-dot{width:7px;height:7px;border-radius:50%;background:#3dd68b;display:inline-block;
box-shadow:0 0 10px #3dd68b}
.hero-actions{display:flex;align-items:stretch;gap:0;margin:16px 0 8px}
.start-btn{width:225px;height:46px;background:linear-gradient(180deg,#bff3d8,#8ee5b9);
border:1px solid #c9ffe2;color:#0b2a1c;font-size:17px;font-weight:600;cursor:pointer}
.start-btn:hover{filter:brightness(1.06)}
.start-menu{width:34px;height:46px;background:#123126;border:1px solid #3f7b5c;border-left:0;
color:#a9d9c0;cursor:pointer;font-size:11px}
.account-login{height:46px;margin-left:12px;padding:0 16px;display:flex;align-items:center;gap:8px;
border:1px solid rgba(255,255,255,.16);border-radius:9px;background:rgba(255,255,255,.05);
color:#e4e6f5;cursor:pointer;text-align:left}
.account-login:hover{background:rgba(124,92,255,.18);border-color:rgba(124,92,255,.5)}
.account-login .account-ico{font-size:18px}
.account-login b{display:block;font-size:13px;font-weight:500;line-height:1.2}
.account-login small{display:block;font-size:10px;color:#9a9eb5;line-height:1.4;max-width:120px;
overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-picker{height:46px;margin-left:8px;min-width:160px;padding:4px 10px;
border:1px solid rgba(255,255,255,.16);border-radius:9px;background:rgba(255,255,255,.05);
display:flex;flex-direction:column;justify-content:center}
.account-picker-label{font-size:10px;color:#8d91a8;line-height:1.2}
.account-picker select{border:0;outline:0;background:transparent;color:#eef0fb;font-size:12px;
width:100%;cursor:pointer;appearance:none;padding:0 12px 0 0;
background-image:linear-gradient(45deg,transparent 50%,#a9a2d8 50%),linear-gradient(135deg,#a9a2d8 50%,transparent 50%);
background-position:calc(100% - 5px) 55%,calc(100% - 1px) 55%;background-size:4px 4px;background-repeat:no-repeat}
.account-picker select option{background:#141424;color:#eef0fb}
.stop-server-btn{height:46px;margin-left:10px;padding:0 16px;border:1px solid rgba(255,93,108,.45);
border-radius:9px;background:rgba(255,93,108,.08);color:#ffb8bf;cursor:pointer;font-size:13px}
.stop-server-btn:hover{background:rgba(255,93,108,.2);color:#fff}
.stop-server-btn span{margin-right:5px}
.start-menu-pop{position:absolute;z-index:20;margin-top:50px;background:#10241c;border:1px solid #315f49;
min-width:190px;box-shadow:0 8px 20px #0009}
.start-menu-pop button{display:block;width:100%;text-align:left;background:none;border:0;color:#c9e3d5;
padding:9px 12px;cursor:pointer;font-size:12px}
.start-menu-pop button:hover{background:#1a3b2d;color:#fff}
.hero-hint{font-size:11px;color:#759485}
.hero-hint a{color:#a8d9c2;text-decoration:underline}
.hero-clock{position:absolute;right:26px;bottom:18px;color:#70917f;font-size:11px}
/* stats */
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #1b3529;
border-left:1px solid #1b3529;margin-top:12px}
.stat-card{border-right:1px solid #1b3529;border-bottom:1px solid #1b3529;padding:10px 16px 12px;background:#0b1712}
.stat-label{font-size:11px;color:#789786;margin-bottom:6px}
.stat-row{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#88a696;line-height:1.9}
.stat-row b{font-weight:400;color:#d1e6dc;max-width:64%;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.section-head{display:flex;align-items:baseline;justify-content:space-between;margin:18px 0 6px}
.section-head h2{font-size:13px;font-weight:400;color:#a8c8b8;margin:0}
.section-head span{font-size:11px;color:#607f70}
.changelog{border-top:1px solid #1b3529}
.change-row{display:flex;gap:14px;align-items:center;padding:8px 2px;border-bottom:1px solid #152a22;font-size:11px;color:#8eada0}
.change-row span{color:#4c9c76;width:72px;flex:none;font-family:Consolas,monospace}
.change-row b{font-weight:400;color:#bdd5c8;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.change-row em{font-style:normal;color:#5e7e6f;width:70px;text-align:right}
/* 更新日志(从 Gitea Releases 拉取) */
#changelogBody{margin-top:14px;display:flex;flex-direction:column;gap:12px}
.changelog-item{border:1px solid #1b3529;background:#0b1712;border-radius:8px;padding:14px 16px}
.changelog-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.changelog-tag{font-family:Consolas,monospace;font-size:12px;color:#4c9c76;background:#12241c;padding:2px 8px;border-radius:4px;border:1px solid #1e3a2e}
.changelog-name{font-size:13px;font-weight:600;color:#d1e6dc}
.changelog-time{font-size:11px;color:#607f70;margin-left:auto}
.changelog-body{font-size:12px;color:#8eada0;line-height:1.9}
.changelog-assets{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.changelog-asset{font-size:11px;color:#5fc08d;text-decoration:none;border:1px solid #1e3a2e;padding:3px 10px;border-radius:4px;background:#0e1d17}
.changelog-asset:hover{background:#132a20}
.changelog-link{display:inline-block;margin-top:10px;font-size:11px;color:#5f8272;text-decoration:none}
.changelog-link:hover{color:#8fc9ae}
/* buttons/input */
.shell-btn{background:#11271e;border:1px solid #2b5542;color:#b8d8c8;padding:6px 12px;cursor:pointer;border-radius:2px}
.shell-btn:hover{background:#19392b;color:#fff}
.shell-btn.primary{background:#1d5c43;border-color:#3d9970;color:#e3fff1}
.shell-input{background:#0a1712;border:1px solid #274b3a;color:#d6e9df;padding:6px 8px;width:100%;border-radius:2px}
.shell-input:focus{outline:1px solid #4d9f77;border-color:#4d9f77}
/* loadout */
.loadout-layout{display:grid;grid-template-columns:300px 1fr;gap:14px}
.loadout-side,.loadout-main{border:1px solid #1d3a2d;background:#0b1712;padding:10px}
.lo-pages{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:8px}
.lo-page{padding:4px 9px;border:1px solid #284c3b;color:#9bbdac;cursor:pointer;font-size:11px}
.lo-page.active{background:#1b4936;color:#d5f6e4;border-color:#4e9e77}
.lo-list{min-height:210px;max-height:330px;overflow:auto;border-top:1px solid #1b3328}
.lo-item{padding:8px;border-bottom:1px solid #172c23;cursor:pointer;color:#a9c7b7;font-size:12px}
.lo-item:hover,.lo-item.active{background:#143225;color:#e1f7ea}
.lo-side-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.lo-form{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}
.lo-form label{font-size:11px;color:#83a393;display:flex;flex-direction:column;gap:4px}
.lo-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid #1b3328;padding-top:9px}
.lo-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:10px;max-height:320px;overflow:auto}
.lo-slot{border:1px solid #1d3a2d;background:#0e2019;padding:6px;font-size:11px;color:#9ebdac}
.lo-slot b{display:block;color:#d5ece0;font-weight:400;font-family:Consolas,monospace}
/* server tool */
/* GM embedded */
#page-gm{padding:0}
#page-gm.active{height:100%}
#page-gm #gmView{height:100%;margin-top:0;display:flex;background:#0b0b14;border:0}
#page-gm .gm-sidebar{width:180px}
#page-gm .gm-main{flex:1;min-width:0}
#page-gm .gm-content{height:calc(100% - 58px);overflow:auto}
/* statusbar */
.shell-statusbar{height:30px;display:flex;align-items:center;gap:18px;padding:0 14px;
background:#07110e;border-top:1px solid #183025;color:#739283;font-size:11px}
.shell-statusbar b{color:#a9cbb9;font-weight:400}
.shell-statusbar .grow{flex:1}
.shell-statusbar .live-dot{width:6px;height:6px}
@media (max-width:1000px){
.stat-grid{grid-template-columns:repeat(2,1fr)}
.loadout-layout{grid-template-columns:1fr}
}
/* ================= 沿用原启动器配色与图标 ================= */
:root{
--bg:#0b0b14; --bg2:#10101f; --panel:rgba(20,20,36,.82); --panel2:#141424;
--line:rgba(255,255,255,.08); --text:#f2f3f8; --muted:#6d7188;
--green:#35d07f; --green2:#7c5cff; --dim:#8d91a8;
--danger:#ff5d6c; --gold:#ffc44d;
--primary:#7c5cff; --primary2:#b45cff;
}
#appShell{background:radial-gradient(1200px 700px at 20% -10%,rgba(124,92,255,.22),transparent 55%),
radial-gradient(1000px 650px at 100% 0%,rgba(56,217,240,.12),transparent 50%),var(--bg)}
.shell-topnav{background:rgba(12,12,24,.92);border-bottom:1px solid rgba(255,255,255,.08)}
.shell-brand{border-bottom:0}
.shell-logo{border-color:rgba(124,92,255,.55);color:#c9beff;background:linear-gradient(135deg,rgba(124,92,255,.25),rgba(180,92,255,.12))}
.shell-brand b{color:#f2f3f8}
.shell-brand span,.shell-brand em{color:#8d91a8}
.shell-nav-item{color:#b8bcd0;border-bottom-color:transparent;border-radius:4px 4px 0 0;margin:0 2px;padding:8px 13px}
.shell-nav-item:hover{background:rgba(255,255,255,.07);color:#fff}
.shell-nav-item.active{background:rgba(124,92,255,.18);color:#e8e2ff;border-bottom-color:var(--primary)}
.nav-ico{display:inline-block;width:22px;color:#9c8cff;font-size:13px;text-align:center}
.shell-nav-item.active .nav-ico{color:#c9beff}
.shell-nav-gap{border-left-color:rgba(255,255,255,.08)}
.shell-side-foot{color:#5d6178}
.shell-main{background:radial-gradient(900px 400px at 70% -10%,rgba(124,92,255,.18),transparent 60%),var(--bg)}
.shell-topbar{border-bottom-color:rgba(255,255,255,.08);color:#8d91a8}
.shell-top-actions select{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.12);color:#dcdff0;border-radius:8px}
.tb-btn{border:0;border-radius:8px;background:rgba(255,255,255,.07);color:#b8bcd0}
.tb-btn:hover{background:rgba(255,255,255,.16);color:#fff}
.tb-close:hover{background:var(--danger);color:#fff}
.page-pad h2,.hero h1{color:#f2f3f8}
.hero{border-color:rgba(255,255,255,.09);background:#11111f}
.hero-bg{background:
linear-gradient(90deg,#0b0b14 0%,rgba(11,11,20,.92) 32%,rgba(20,20,44,.45) 62%,rgba(11,11,20,.92)),
radial-gradient(520px 320px at 82% 35%,rgba(124,92,255,.38),transparent 65%),
radial-gradient(420px 260px at 65% 80%,rgba(56,217,240,.16),transparent 70%),
repeating-linear-gradient(115deg,rgba(124,92,255,.05) 0 1px,transparent 1px 26px)}
.hero-bg:after{background:radial-gradient(ellipse at 50% 40%,rgba(180,92,255,.18),transparent 65%)}
.hero-kicker{color:#8d91a8}
.hero-status{color:#c4c8dc}
.hero-status .muted{color:#8d91a8}
.live-dot{background:var(--green);box-shadow:0 0 10px var(--green)}
.start-btn{background:linear-gradient(135deg,var(--primary),var(--primary2));border:1px solid rgba(180,160,255,.55);color:#fff;box-shadow:0 6px 20px rgba(124,92,255,.28);display:flex;align-items:center;justify-content:center;gap:8px}
.start-btn:hover{filter:brightness(1.1)}
.start-menu{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.14);border-left:0;color:#c9c4e8;border-radius:0 9px 9px 0}
.hero-actions .start-btn{border-radius:9px 0 0 9px}
.start-menu-pop{background:#141424;border-color:rgba(255,255,255,.14);border-radius:10px}
.start-menu-pop button{color:#c4c8dc}
.start-menu-pop button:hover{background:rgba(124,92,255,.2);color:#fff}
.hero-hint{color:#8d91a8}.hero-hint a{color:#b9aaff}
.hero-clock{color:#7d8198}
.stat-grid{border-color:rgba(255,255,255,.08)}
.stat-card{border-color:rgba(255,255,255,.08);background:rgba(20,20,36,.55)}
.stat-label{color:#8d91a8}.stat-row{color:#9a9eb5}.stat-row b{color:#e2e4f2}
.green{color:var(--green)!important}
.section-head h2{color:#c9cbe0}.section-head span{color:#6d7188}
.changelog{border-top-color:rgba(255,255,255,.08)}
.change-row{border-bottom-color:rgba(255,255,255,.06);color:#9a9eb5}
.change-row span{color:#a897ff}.change-row b{color:#d4d6e6}.change-row em{color:#6d7188}
.shell-btn{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.13);color:#d0d2e4;border-radius:8px}
.shell-btn:hover{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.22)}
.shell-btn.primary{background:linear-gradient(135deg,var(--primary),var(--primary2));border-color:rgba(180,160,255,.45);color:#fff}
.shell-input{background:rgba(0,0,0,.22);border-color:rgba(255,255,255,.13);color:#eef0fb;border-radius:8px}
.shell-input:focus{outline:1px solid var(--primary);border-color:var(--primary)}
.tag{border-color:rgba(124,92,255,.45);color:#c9beff;background:rgba(124,92,255,.1)}
.empty-box{border-color:rgba(255,255,255,.12);color:#70748d;background:rgba(20,20,36,.45)}
.loadout-side,.loadout-main{background:rgba(20,20,36,.55);border-color:rgba(255,255,255,.09);border-radius:10px}
.lo-page{border-color:rgba(255,255,255,.12);color:#aeb2c8;border-radius:6px}
.lo-page.active{background:rgba(124,92,255,.2);color:#eee9ff;border-color:rgba(124,92,255,.5)}
.lo-list{border-top-color:rgba(255,255,255,.08)}
.lo-item{border-bottom-color:rgba(255,255,255,.06);color:#b8bcd0}
.lo-item:hover,.lo-item.active{background:rgba(124,92,255,.16);color:#f2f3f8}
.lo-slot{background:rgba(0,0,0,.18);border-color:rgba(255,255,255,.09);color:#aeb2c8}
.lo-slot b{color:#eef0fb}
.shell-statusbar{background:#08080f;border-top-color:rgba(255,255,255,.08);color:#7d8198}
.shell-statusbar b{color:#b8bcd0}
#page-gm #gmView{background:#0b0b14}
.settings-card{background:rgba(20,20,36,.55);border-color:rgba(255,255,255,.09);border-radius:10px}
.settings-label{color:#8d91a8}.settings-value{color:#e2e4f2}
/* ================= 字号整体 +2,间距放宽 ================= */
body{font-size:16px}
.shell-brand{height:100%;padding:0 4px;gap:12px}
.shell-logo{width:36px;height:36px;font-size:14px}
.shell-brand b{font-size:17px}
.shell-brand span{font-size:12px}
.shell-nav{padding:0;gap:4px}
.shell-nav-item{font-size:15px;padding:12px 15px;margin:0 3px}
.nav-ico{width:24px;font-size:15px}
.shell-nav-gap{margin:0 6px}
.shell-side-foot{font-size:13px;padding:0 4px}
.shell-topbar{position:sticky;top:0;z-index:300;flex:none;height:50px;font-size:14px;padding:0 22px;
background:rgba(10,10,24,.94);backdrop-filter:blur(12px);
box-shadow:0 1px 0 rgba(255,255,255,.06),0 8px 18px rgba(0,0,0,.18)}
.tb-btn{width:34px;height:30px;font-size:16px;border-radius:9px}
.shell-top-actions{gap:10px}
.hero{min-height:292px;margin:20px 0 16px}
.hero-content{padding:30px 36px}
.hero-kicker{font-size:13px}
.hero h1{font-size:40px;margin:6px 0 4px}
.hero-status{font-size:14px;gap:12px}
.hero-actions{gap:0;margin:22px 0 12px}
.start-btn{width:250px;height:52px;font-size:19px;border-radius:10px}
.start-menu{width:40px;height:52px;font-size:14px}
.account-login{height:52px;margin-left:14px;padding:0 18px;border-radius:10px}
.account-login .account-ico{font-size:21px}
.account-login b{font-size:15px}
.account-login small{font-size:12px;max-width:140px}
.account-picker{height:52px;margin-left:10px;min-width:180px;padding:6px 12px;border-radius:10px}
.account-picker-label{font-size:12px}
.account-picker select{font-size:14px}
.stop-server-btn{height:52px;margin-left:12px;padding:0 18px;font-size:15px;border-radius:10px}
.hero-hint{font-size:13px;margin-top:10px}
.hero-clock{font-size:13px;right:32px;bottom:22px}
.start-menu-pop{min-width:220px;margin-top:56px}
.start-menu-pop button{font-size:14px;padding:11px 14px}
.stat-grid{margin-top:16px}
.stat-card{padding:14px 18px 16px}
.stat-label{font-size:13px;margin-bottom:9px}
.stat-row{font-size:13px;line-height:2.15;gap:12px}
.stat-row b{font-size:13px}
.section-head h2{font-size:15px}
.section-head span{font-size:13px}
.change-row{font-size:13px}
.page-pad h2{font-size:22px}
.page-heading{margin-bottom:16px}
.shell-btn{font-size:14px;padding:8px 15px;border-radius:8px}
.shell-input{font-size:14px;padding:8px 10px}
.muted{font-size:13px}
.loadout-layout{gap:18px}
.loadout-side,.loadout-main{padding:14px}
.lo-pages{gap:8px;margin-bottom:12px}
.lo-page{font-size:13px;padding:6px 11px}
.lo-list{min-height:240px}
.lo-item{font-size:14px;padding:11px 9px}
.lo-side-actions{gap:8px;margin-top:14px}
.lo-form{gap:12px;margin-bottom:14px}
.lo-form label{font-size:13px;gap:6px}
.lo-toolbar{gap:10px;padding-top:12px}
.lo-cooldown{font-size:12px;color:#f0c674;white-space:nowrap}
.lo-cooldown.active{color:#ffcf7a}
.lo-slot{font-size:13px;padding:9px}
.lo-slot b{font-size:13px}
.shell-statusbar{height:34px;font-size:13px;gap:22px;padding:0 18px}
.settings-grid{gap:14px;margin-top:18px}
.settings-card{padding:16px 18px}
.settings-label{font-size:13px}
.settings-value{font-size:13px;line-height:1.7}
@media (max-width:1100px){
.stat-grid{grid-template-columns:repeat(2,1fr)}
.hero-actions{flex-wrap:wrap;gap:10px}
}
.win-resize{position:fixed;z-index:10000;display:none}
.win-resize.n{left:8px;right:8px;top:0;height:5px;cursor:n-resize}
.win-resize.s{left:8px;right:8px;bottom:0;height:5px;cursor:s-resize}
.win-resize.w{top:8px;bottom:8px;left:0;width:5px;cursor:w-resize}
.win-resize.e{top:8px;bottom:8px;right:0;width:5px;cursor:e-resize}
.win-resize.nw{left:0;top:0;width:9px;height:9px;cursor:nw-resize}
.win-resize.ne{right:0;top:0;width:9px;height:9px;cursor:ne-resize}
.win-resize.sw{left:0;bottom:0;width:9px;height:9px;cursor:sw-resize}
.win-resize.se{right:0;bottom:0;width:9px;height:9px;cursor:se-resize}
/* ================= GM 全屏模式(点击 GM 标签覆盖整个窗口) ================= */
body.gm-fullscreen #appShell{height:100vh}
/* 全屏时保留主标题栏作为极简标题栏:隐藏品牌与导航,仅右上角窗口控制按钮贴顶 */
body.gm-fullscreen .shell-topnav{height:34px;background:transparent;border-bottom:0;padding:0 4px 0 0}
body.gm-fullscreen .shell-brand{display:none}
body.gm-fullscreen .shell-nav{display:none}
body.gm-fullscreen .shell-win-controls{height:100%}
body.gm-fullscreen .shell-topbar{display:none}
body.gm-fullscreen .shell-statusbar{display:none}
body.gm-fullscreen #page-gm #gmView{height:100%;margin-top:0}
body.gm-fullscreen .shell-main{overflow:hidden}
/* GM 全屏下隐藏窗口缩放热区(铺满工作区时不可再拖边) */
body.gm-fullscreen .win-resize{display:none}
/* ================= 标题栏右侧窗口控制按钮(最小化/关闭,无边框线性图标) ================= */
.shell-topnav{cursor:move;user-select:none;padding:0 6px 0 16px}
.shell-topnav button,.shell-topnav .shell-side-foot{cursor:default}
.shell-win-controls{flex:none;display:flex;align-items:center;gap:2px;margin-left:auto}
.shell-win-controls .tb-btn{
width:42px;height:100%;border:0;background:transparent;color:#d6d9ea;
font-size:16px;line-height:1;border-radius:0;cursor:pointer;padding:0;
display:flex;align-items:center;justify-content:center;flex-shrink:0}
.shell-win-controls .tb-btn:hover{background:rgba(255,255,255,.1);color:#fff}
.shell-win-controls .tb-close:hover{background:var(--danger);color:#fff}