/* ============ 《钢铁防线 1937–1945》 · 军用档案风格 UI ============ */
* { margin:0; padding:0; box-sizing:border-box; -webkit-user-select:none; user-select:none; }
html,body { height:100%; }
body {
  background:#211c15;
  background-image:repeating-linear-gradient(0deg, rgba(0,0,0,.14) 0 2px, transparent 2px 5px);
  color:#241d15;
  font-family:"Microsoft YaHei","PingFang SC",sans-serif;
  display:flex; justify-content:center; align-items:flex-start;
  overflow-y:auto;
}
#app { width:100%; max-width:1000px; margin:10px auto; position:relative; }

.screen { position:relative; }
.hidden { display:none !important; }
.overlay { position:fixed; inset:0; background:rgba(18,14,9,.72); z-index:50; display:flex; align-items:center; justify-content:center; }

/* ---- 牛皮纸面板 ---- */
.paper {
  background:#d9c9a3;
  background-image:
    repeating-linear-gradient(90deg, rgba(90,70,40,.05) 0 3px, transparent 3px 9px),
    repeating-linear-gradient(0deg, rgba(90,70,40,.06) 0 2px, transparent 2px 7px);
  border:3px solid #241d15;
  box-shadow:0 0 0 2px #d9c9a3, 0 0 0 4px #241d15, 6px 8px 0 rgba(0,0,0,.45);
  padding:26px 30px;
  position:relative;
}
.panel { margin:14px auto; max-width:760px; }
.panel.wide { max-width:860px; }
.panel.small { min-width:340px; max-width:460px; }
.title-card { max-width:520px; margin:48px auto; text-align:center; padding:38px 30px 26px; }

h1 { font-family:"KaiTi","STKaiti","Kaiti SC","SimKai",serif; font-size:64px; letter-spacing:14px; text-indent:14px; color:#241d15; line-height:1.05; }
h2 { font-family:"KaiTi","STKaiti","Kaiti SC","SimKai",serif; font-size:28px; letter-spacing:6px; border-bottom:3px solid #241d15; padding-bottom:8px; margin-bottom:14px; }
.subtitle { font-size:14px; letter-spacing:6px; color:#6b5636; margin-top:6px; }
.chapter { margin:14px auto 4px; font-size:15px; color:#a63a2b; font-weight:bold; letter-spacing:2px; }

.seal {
  position:absolute; top:14px; right:16px;
  width:44px; height:44px; border:3px solid #a63a2b; color:#a63a2b;
  font-family:"KaiTi","STKaiti",serif; font-size:28px; font-weight:bold;
  display:flex; align-items:center; justify-content:center;
  transform:rotate(8deg); opacity:.85; border-radius:4px;
}

.menu { margin-top:22px; display:flex; flex-direction:column; gap:10px; align-items:center; }
.row-end { margin-top:16px; text-align:center; }

.btn {
  font-family:"KaiTi","STKaiti",serif; font-size:18px; letter-spacing:4px;
  background:#d9c9a3; color:#241d15; border:2.5px solid #241d15;
  padding:8px 26px; cursor:pointer; box-shadow:3px 3px 0 #241d15;
}
.btn:hover { background:#241d15; color:#d9c9a3; }
.btn:active { transform:translate(2px,2px); box-shadow:1px 1px 0 #241d15; }
.btn.big { font-size:24px; padding:12px 46px; }
.foot { margin-top:22px; font-size:11.5px; color:#6b5636; line-height:1.8; }

/* ---- V1.8.2：标题屏仓库 / 在线试玩入口 ---- */
.repo-line {
  margin-top:10px; font-size:11.5px; line-height:1.8; letter-spacing:.5px; color:#6b5636;
}
.repo-link {
  color:#6b5636; text-decoration:none;
  border-bottom:1px dashed rgba(107,86,54,.55); padding-bottom:1px;
  transition:color .12s, border-color .12s;
}
.repo-link:visited { color:#6b5636; }
.repo-link:hover { color:#a63a2b; border-bottom-color:#a63a2b; }
.repo-ico { color:#a63a2b; font-size:9px; margin-right:4px; vertical-align:1px; }
.repo-sep { margin:0 7px; opacity:.55; }

/* ---- 战争时钟 ---- */
.clock-line { height:6px; background:#241d15; margin:10px 2px 22px; position:relative; }
.clock-line i { position:absolute; left:0; top:0; height:6px; background:#a63a2b; width:0; transition:width .6s; }
#clock-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(215px,1fr)); gap:12px; max-height:62vh; overflow-y:auto; padding-right:6px; }
.mission {
  border:2.5px solid #241d15; background:#e2d4ae; padding:12px 12px 10px; cursor:pointer;
  position:relative; min-height:104px;
}
.mission:hover { background:#c8b585; }
.mission.locked { opacity:.45; cursor:not-allowed; }
.mission.teaser {
  border-style:dashed; background:rgba(217,201,163,.55);
  display:flex; flex-direction:column; justify-content:center; cursor:default;
  border-color:#8a7a58; opacity:.9;
}
.mission.teaser .m-title { color:#6e5a2c; letter-spacing:2px; }
.mission.teaser .m-sub { color:#8a7a58; }
.mission .m-date { font-size:12px; color:#a63a2b; font-weight:bold; letter-spacing:1px; }
.mission .m-title { font-family:"KaiTi","STKaiti",serif; font-size:18px; font-weight:bold; margin:4px 0 2px; }
.mission .m-sub { font-size:11.5px; color:#6b5636; }
.mission .m-state { position:absolute; right:8px; top:8px; font-size:11px; letter-spacing:2px; color:#6b5636; }
.mission.done .m-state { color:#a63a2b; font-weight:bold; }
.mission .m-state .st-seal {
  display:inline-block; border:2px solid #a63a2b; color:#a63a2b; font-family:"KaiTi",serif;
  padding:1px 5px; transform:rotate(6deg); font-weight:bold; background:rgba(255,255,255,.25);
}

/* ---- 战报 ---- */
#brief-body .b-head { display:flex; justify-content:space-between; align-items:baseline; border-bottom:3px double #241d15; padding-bottom:6px; }
#brief-body .b-no { font-family:"KaiTi",serif; font-size:16px; color:#a63a2b; letter-spacing:3px; }
#brief-body .b-date { font-family:"KaiTi",serif; font-size:22px; font-weight:bold; letter-spacing:2px; }
#brief-body h3 { font-family:"KaiTi",serif; font-size:24px; margin:10px 0 4px; letter-spacing:3px; }
#brief-body .b-sub { font-size:12px; color:#a63a2b; font-weight:bold; }
#brief-body p.b-text { margin:12px 0; font-size:14.5px; line-height:1.9; text-indent:2em; }
#brief-body .b-goal { border-left:4px solid #a63a2b; background:rgba(166,58,43,.08); padding:8px 12px; font-size:13.5px; }
#brief-body .b-tip { margin-top:10px; font-size:12.5px; color:#6b5636; line-height:1.8; }
#brief-body .b-units { margin:12px 0 4px; display:flex; flex-wrap:wrap; gap:10px; }
#brief-body .b-units .u-chip { display:flex; align-items:center; gap:6px; border:2px solid #241d15; background:#e2d4ae; padding:4px 10px 4px 4px; font-size:12.5px; }
#brief-body .b-units .u-chip img { width:34px; height:34px; display:block; background:#e2d4ae; border:1px solid #6b5636; }
#brief-body .b-units .tag { font-size:10px; color:#a63a2b; font-weight:bold; }
#brief-body .row-end { display:flex; gap:12px; justify-content:center; }

/* ---- 手册 ---- */
.tabs { display:flex; gap:10px; margin-bottom:12px; }
.tab { font-family:"KaiTi",serif; font-size:16px; letter-spacing:3px; padding:6px 18px; background:#d9c9a3; border:2px solid #241d15; cursor:pointer; }
.tab.on { background:#241d15; color:#d9c9a3; }
.almanac-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(96px,1fr)); gap:8px; max-height:300px; overflow-y:auto; padding:4px; border:2px solid #6b5636; background:#e2d4ae; }
.a-card { border:2px solid #241d15; background:#d9c9a3; padding:4px; text-align:center; cursor:pointer; }
.a-card.on { background:#c8b585; border-color:#a63a2b; }
.a-card img { width:52px; height:52px; display:block; margin:0 auto; }
.a-card .a-name { font-size:11px; margin-top:2px; line-height:1.3; }
.almanac-detail { margin-top:12px; border:2px dashed #6b5636; padding:12px 14px; min-height:110px; background:rgba(255,252,240,.5); }
.almanac-detail h4 { font-family:"KaiTi",serif; font-size:20px; letter-spacing:2px; margin-bottom:6px; }
.almanac-detail .stats { font-size:12.5px; line-height:1.9; }
.almanac-detail .note { margin-top:8px; font-size:13px; line-height:1.9; color:#4a3820; border-top:1px dashed #6b5636; padding-top:8px; }

/* ---- 帮助 ---- */
ol.help { margin:10px 0 4px 22px; }
ol.help li { font-size:14px; line-height:2; margin-bottom:4px; }

/* ---- 战斗 HUD ---- */
#hud {
  display:flex; gap:10px; align-items:stretch;
  background:#d9c9a3; border:3px solid #241d15; padding:8px;
  box-shadow:0 0 0 2px #d9c9a3, 0 0 0 4px #241d15;
}
#sun-box {
  width:86px; border:2.5px solid #241d15; background:#b3a58a;
  display:flex; flex-direction:column; align-items:center; justify-content:center; flex-shrink:0;
}
#sun-count { font-family:"KaiTi",serif; font-size:26px; font-weight:bold; color:#241d15; }
.sun-label { font-size:11px; letter-spacing:3px; color:#4a3820; }
#slots { display:flex; flex-wrap:wrap; gap:6px; flex:1; align-content:center; }
.slot {
  width:56px; height:64px; border:2.5px solid #241d15; background:#e2d4ae;
  position:relative; cursor:pointer; flex-shrink:0;
}
.slot img { width:48px; height:48px; display:block; margin:2px auto 0; }
.slot .cost { position:absolute; bottom:0; left:0; right:0; font-size:11px; text-align:center; background:#241d15; color:#e2d4ae; line-height:14px; }
.slot .cd { position:absolute; left:0; right:0; bottom:15px; background:rgba(36,29,21,.68); height:0; }
.slot .key { position:absolute; top:0; left:2px; font-size:9px; color:#6b5636; }
.slot.sel { border-color:#a63a2b; box-shadow:0 0 0 2px #a63a2b; background:#d8c090; }
.slot.poor img { filter:grayscale(.9) opacity(.55); }
.slot.poor .cost { background:#6b5636; }
.slot:hover { background:#d8c090; }
/* ---- V1.8.1：兵种卡随数量收窄（后期 32 张，避免 HUD 撑成三行吃掉画面） ---- */
#slots.many .slot { width:46px; height:54px; }
#slots.many .slot img { width:38px; height:38px; }
#slots.many .slot .cost { font-size:10px; line-height:13px; }
#slots.many .slot .cd { bottom:13px; }
#slots.lots .slot { width:40px; height:48px; }
#slots.lots .slot img { width:33px; height:33px; }
#slots.lots .slot .cost { font-size:9px; line-height:12px; }
#slots.lots .slot .cd { bottom:12px; }
#slots.lots .slot .key { font-size:8px; left:1px; }
#hud-right { display:flex; gap:6px; flex-shrink:0; }
.tool {
  width:44px; font-family:"KaiTi",serif; font-size:17px; border:2.5px solid #241d15;
  background:#d9c9a3; cursor:pointer; color:#241d15;
}
.tool:hover { background:#241d15; color:#d9c9a3; }
.tool.sel { background:#a63a2b; color:#fff; border-color:#6d2117; }

/* ---- 战场 ---- */
#battle-wrap { position:relative; border:3px solid #241d15; border-top:none; background:#000; }
#cv { display:block; width:100%; height:auto; cursor:crosshair; }
#banner {
  position:absolute; top:34%; left:0; right:0; text-align:center; pointer-events:none;
  font-family:"KaiTi","STKaiti",serif; font-size:44px; font-weight:bold; letter-spacing:10px;
  color:#a63a2b; text-shadow:2px 2px 0 rgba(20,16,10,.8); opacity:0; transition:opacity .3s;
}
#banner.show { opacity:1; animation:banPulse 1.2s ease-in-out; }
@keyframes banPulse { 0%{transform:scale(.8);} 50%{transform:scale(1.06);} 100%{transform:scale(1);} }
#banner.small { font-size:26px; color:#e8dcc0; }
#countdown {
  position:absolute; top:42%; left:0; right:0; text-align:center; pointer-events:none;
  font-family:"KaiTi",serif; font-size:52px; font-weight:bold; color:#e8dcc0; letter-spacing:16px;
  text-shadow:3px 3px 0 #241d15; opacity:0; transition:opacity .2s;
}
#progress { position:absolute; left:10px; right:10px; bottom:8px; height:10px; border:2px solid #241d15; background:rgba(217,201,163,.55); }
#prog-fill { height:100%; width:0; background:#a63a2b; transition:width .5s; }
#prog-flags { position:absolute; inset:0; }
#prog-flags i { position:absolute; top:-7px; width:12px; height:16px; background:#a63a2b; border:1.5px solid #241d15; clip-path:polygon(0 0,100% 50%,0 100%); }
#battle-tip { font-size:12px; color:#bfae87; padding:6px 2px 14px; letter-spacing:1px; }

/* ---- 结算 ---- */
#result-body { text-align:center; padding-bottom:18px; }
#result-body .r-seal {
  width:88px; height:88px; margin:6px auto 10px; border:5px solid #a63a2b; border-radius:6px;
  display:flex; align-items:center; justify-content:center; font-family:"KaiTi",serif; font-size:56px; font-weight:bold; color:#a63a2b;
  transform:rotate(-7deg); animation:stampIn .45s cubic-bezier(.2,2,.4,1);
}
@keyframes stampIn { 0%{transform:rotate(-30deg) scale(2.4); opacity:0;} 100%{transform:rotate(-7deg) scale(1); opacity:1;} }
#result-body .r-seal.lose { border-color:#41506b; color:#41506b; }
#result-body h3 { font-family:"KaiTi",serif; font-size:26px; letter-spacing:6px; margin-bottom:8px; }
#result-body p { font-size:14px; line-height:2; margin:8px 6px; text-align:left; text-indent:2em; }
#result-body .r-stats { font-size:12.5px; color:#6b5636; margin:6px 0 2px; }
#result-body .r-stats.salvage { color:#a63a2b; font-weight:bold; letter-spacing:1px; }
#result-body .row-end { display:flex; gap:12px; justify-content:center; }

/* ---- 战功行（标题） ---- */
.honors {
  margin-top:14px; font-size:12.5px; letter-spacing:1.5px; color:#6b5636;
  border-top:1.5px dashed #241d15; padding-top:10px;
}
.honors b { color:#a63a2b; font-size:14px; }

/* ---- 军需处 ---- */
#shop-body { min-width:min(92vw,640px); }
#shop-body h2 { text-align:center; letter-spacing:10px; }
.salv-balance { font-size:13.5px; color:#6b5636; letter-spacing:1px; margin:4px 0 2px; }
.salv-balance b { color:#a63a2b; font-size:17px; }
.salv-balance.big { text-align:center; margin:10px 0 14px; border-bottom:3px double #241d15; padding-bottom:10px; }
.salv-balance .s-hint { font-size:11px; opacity:.75; margin-left:10px; }
.shop-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.shop-item { border:2.5px solid #241d15; background:#e2d4ae; padding:10px 12px; position:relative; }
.shop-item.maxed { background:#d0c096; }
.shop-item .si-name { font-family:"KaiTi",serif; font-size:17px; font-weight:bold; letter-spacing:2px; }
.shop-item .si-dots { color:#a63a2b; font-size:12px; margin-left:6px; letter-spacing:2px; }
.shop-item .si-desc { font-size:11.5px; color:#6b5636; margin:4px 0 2px; line-height:1.6; }
.shop-item .si-cost { font-size:12px; color:#a63a2b; font-weight:bold; }
.shop-item button.buy { margin-top:6px; }
.btn.small { font-size:13px; padding:5px 14px; }
.shop-item button.buy[disabled] { opacity:.4; cursor:not-allowed; }
#shop-body .row-end { margin-top:16px; }

/* ---- 时钟头部 ---- */
.clock-head {
  grid-column:1 / -1; display:flex; justify-content:space-between; align-items:center;
  border-bottom:2px dashed #241d15; padding:0 2px 10px; margin-bottom:2px;
}

/* ---- 难度三档（战报屏） ---- */
.diff-row { display:flex; gap:10px; margin:12px 0 4px; }
.diff-chip {
  flex:1; border:2.5px solid #241d15; background:#e2d4ae; padding:7px 8px 6px;
  cursor:pointer; text-align:center; font-family:inherit; transition:transform .08s;
}
.diff-chip b { display:block; font-family:"KaiTi","STKaiti",serif; font-size:16px; letter-spacing:4px; }
.diff-chip span { display:block; font-size:10.5px; color:#6b5636; margin-top:3px; line-height:1.5; }
.diff-chip:hover { background:#c8b585; }
.diff-chip.on { background:#241d15; color:#d9c9a3; }
.diff-chip.on span { color:#bfae87; }
.diff-chip.on b::after { content:' ✓'; }
.diff-chip[data-diff="hard"].on { background:#6e2a1e; }
.diff-chip[data-diff="easy"].on { background:#3d5a35; }

/* ---- 精锐章 / 难度标 ---- */
.mission .hard-seal {
  display:inline-block; border:2px solid #6e2a1e; color:#6e2a1e; font-family:"KaiTi",serif;
  padding:1px 5px; transform:rotate(-6deg); font-weight:bold; background:rgba(255,255,255,.25);
  margin-left:4px;
}
.mission .diff-tag {
  display:inline-block; font-size:10px; border:1.5px solid #6b5636; color:#6b5636;
  padding:0 4px; margin-left:6px; letter-spacing:2px;
}

/* ---- 勋章行 ---- */
#result-body .r-stats.medal { color:#6e2a1e; font-weight:bold; font-size:14px; letter-spacing:1px; margin-top:4px; }

/* ---- 存档管理 / 设置 ---- */
#scr-save .panel, #scr-set .panel { max-width:640px; }
#scr-brief .panel pre, #result-body .r-text { line-height:1.85; }
#result-body .r-text { white-space:pre-wrap; font-size:13.5px; }

.save-summary {
  border:2px dashed #241d15; padding:8px 12px; margin:10px 0 14px;
  font-size:14px; line-height:1.9; background:rgba(255,250,235,.4);
}
#scr-save h4, #scr-set h4 { font-family:"KaiTi","STKaiti",serif; font-size:15px; margin:14px 0 6px; letter-spacing:2px; }
#scr-save textarea {
  width:100%; box-sizing:border-box; font-family:monospace; font-size:11px;
  border:2px solid #241d15; background:#efe6cd; padding:6px; color:#241d15;
  resize:vertical; line-height:1.5;
}
.row-inline { display:flex; align-items:center; gap:10px; margin-top:6px; flex-wrap:wrap; }
.row-inline .set-note { flex:1; min-width:200px; }
#save-msg { margin:8px 0 0; font-size:13px; letter-spacing:1px; }
#save-msg.ok { color:#3d5a35; font-weight:bold; }
#save-msg.err { color:#8a3a2c; font-weight:bold; }
.btn.danger { border-color:#6e2a1e; color:#6e2a1e; }
.btn.danger:hover { background:#6e2a1e; color:#d9c9a3; }

.set-row { display:flex; align-items:center; gap:14px; margin:12px 0; }
.set-row > label {
  width:88px; flex:none; font-family:"KaiTi","STKaiti",serif; font-size:15px; letter-spacing:3px;
  border-right:2px dashed #241d15; padding-right:10px;
}
.set-opts { display:flex; gap:8px; flex-wrap:wrap; }
.set-opts .btn.small.on { background:#241d15; color:#d9c9a3; border-color:#241d15; }
.set-note { font-size:11.5px; color:#6b5636; line-height:1.6; display:block; margin-top:4px; }
.set-select, #set-salvage-input {
  border:2px solid #241d15; background:#efe6cd; color:#241d15;
  font-family:"Microsoft YaHei","PingFang SC",sans-serif; font-size:13px;
  padding:5px 8px; height:36px;
}
.set-select { max-width:240px; }
#set-salvage-input { width:110px; }
.set-msg { font-size:12.5px; color:#6b5636; min-height:18px; margin-top:5px; line-height:1.5; }
.set-msg.ok { color:#3d5a35; font-weight:bold; }
.set-msg.err { color:#8a3a2c; font-weight:bold; }

@media (max-width:720px){
  h1{font-size:46px;letter-spacing:8px;}
  #sun-box{width:64px;}
  .slot{width:48px;height:58px;}
  .slot img{width:40px;height:40px;}
  #banner{font-size:30px;}
  .shop-grid{grid-template-columns:1fr;}
}

/* ================================================================
   V7.6 美化层（叠加于原有基调之上，不改动旧规则语义）
   ================================================================ */
/* —— 纸面质感：细横纹 + 边缘晕影 —— */
.paper {
  background-image:
    repeating-linear-gradient(0deg, rgba(36,29,21,.028) 0 1px, transparent 1px 4px),
    radial-gradient(120% 90% at 50% 0%, rgba(255,252,240,.5), transparent 55%),
    radial-gradient(140% 110% at 50% 110%, rgba(80,60,30,.10), transparent 60%);
}
.paper.panel { box-shadow: 0 10px 26px rgba(20,14,6,.28), 4px 4px 0 #241d15; }

/* —— 屏幕切换淡入上移 —— */
.screen:not(.hidden) { animation: scrIn .26s ease-out both; }
@keyframes scrIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }

/* —— 按钮：悬浮抬升 + 按压余韵 —— */
.btn:hover { transform:translate(-1px,-1px); box-shadow:4px 4px 0 #241d15; transition:transform .08s, box-shadow .08s, background .12s, color .12s; }
.btn:active { transform:translate(1px,1px); box-shadow:2px 2px 0 #241d15; }
.btn.big { position:relative; }
.btn.big::after { content:''; position:absolute; left:8%; right:8%; top:3px; height:2px; background:rgba(255,250,235,.5); border-radius:2px; }
.btn:disabled { opacity:.4; cursor:not-allowed; transform:none; box-shadow:3px 3px 0 #241d15; }

/* —— 标题屏装饰 —— */
.title-ornaments { display:flex; gap:10px; justify-content:center; margin:2px 0 4px; }
.tn-star { color:#a63a2b; font-style:normal; font-size:13px; text-shadow:0 1px 0 rgba(255,250,235,.6); }
.tn-wheat { color:#6e5a2c; font-style:normal; font-size:11px; }
.title-ribbon {
  display:flex; align-items:center; justify-content:center; gap:12px;
  margin:8px auto 6px; padding:5px 4px; max-width:460px;
  background:linear-gradient(180deg,#8a3a2b,#6e2a1e 60%,#5c2418);
  color:#f2e4c0; letter-spacing:6px; font-family:"KaiTi","STKaiti",serif; font-size:14px;
  border:2px solid #3d1810; border-radius:3px;
  box-shadow: inset 0 1px 0 rgba(255,220,170,.25), 2px 3px 0 rgba(36,29,21,.55);
}
.tr-wing { color:#e8c98a; font-size:12px; }
.title-card .seal { animation: sealPulse 3.2s ease-in-out infinite; }
@keyframes sealPulse {
  0%,100% { transform:rotate(-6deg) scale(1); box-shadow:2px 2px 0 rgba(36,29,21,.4); }
  50% { transform:rotate(-6deg) scale(1.06); box-shadow:3px 4px 8px rgba(110,42,30,.35); }
}

/* —— 时钟卡片：入场 + 悬浮 + 战果态 —— */
.mission { animation: cardIn .3s ease-out both; }
@keyframes cardIn { from { opacity:0; transform:translateY(8px) scale(.98); } to { opacity:1; transform:none; } }
.mission:hover { transform:translateY(-2px); box-shadow:0 6px 14px rgba(20,14,6,.22); transition:transform .12s, box-shadow .12s, background .12s; }
.mission.done { border-color:#3d5a35; }
.mission.done::after {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(80% 60% at 85% 15%, rgba(110,140,90,.16), transparent 70%);
}
/* V8.0 通关卡：勋章角徽微光 */
.mission.done::before {
  content:''; position:absolute; right:10px; top:8px; width:26px; height:26px; pointer-events:none;
  background:radial-gradient(circle at 50% 50%, rgba(178,140,54,.55) 0 3px, transparent 4px),
             conic-gradient(from -90deg, rgba(178,140,54,.0) 0deg, rgba(178,140,54,.5) 90deg, rgba(178,140,54,0) 180deg);
  border-radius:50%;
  filter:drop-shadow(0 0 3px rgba(178,140,54,.4));
}
.mission.teaser { animation: teaserGlow 2.6s ease-in-out infinite; }
@keyframes teaserGlow {
  0%,100% { box-shadow:0 0 0 rgba(110,90,44,0); }
  50% { box-shadow:0 0 14px rgba(140,110,50,.35); }
}
.st-seal { filter:drop-shadow(0 1px 1px rgba(36,29,21,.4)); }

/* —— 战场画布：暗角 + 入场 —— */
#cv { box-shadow: inset 0 0 60px rgba(18,12,4,.22); background:#8a8072; animation: scrIn .25s ease-out both; }

/* —— 军需/手册卡片精修 —— */
.shop-item { transition:transform .12s, box-shadow .12s, border-color .12s; }
.shop-item:not(.maxed):hover { transform:translateY(-2px); box-shadow:0 6px 12px rgba(20,14,6,.2); border-color:#6e5a2c; }
.shop-item.maxed { background:linear-gradient(180deg,#e6dcc0,#d9cfa9); }
.si-dots { color:#8a6a2b; letter-spacing:2px; }
.salv-balance.big b { text-shadow:0 1px 0 rgba(255,250,235,.7); }

/* —— 设置/存档消息与行 —— */
.set-row { border-bottom:1px dashed rgba(36,29,21,.18); padding-bottom:8px; margin-bottom:8px; }
.set-msg { min-height:19px; }
.set-msg.ok::before { content:'✓ '; color:#3d5a35; }
.set-msg.err::before { content:'✗ '; color:#8a3a2c; }

/* —— 结果屏战报层次 —— */
#scr-result .r-stats.salvage { color:#6e5a2c; font-weight:bold; }

/* —— 窄屏兼容补充 —— */
@media (max-width:720px){
  .title-ribbon { max-width:92%; letter-spacing:3px; font-size:12px; }
}
