/* ============ 基础 ============ */
:root {
  --xl: #217346;
  --xl-d: #185c37;
  --xl-l: #e6f2ea;
  --ink: #1f2328;
  --mute: #6b7280;
  --line: #d4d4d4;
  --grid: #e2e2e2;
  --amber: #f5a524;
  --red: #e5383b;
  --ui: -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --fun: "ZCOOL KuaiLe", "PingFang SC", "Microsoft YaHei", sans-serif;

  --r-title: 34px;
  --r-tabs: 30px;
  --r-ribbon: 92px;
  --r-fbar: 30px;
  --r-office: clamp(200px, 36vh, 330px);
  --r-stabs: 30px;
  --r-status: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%; overflow: hidden; background: #1b1d22;
  font-family: var(--ui); color: var(--ink);
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
  touch-action: none; overscroll-behavior: none;
}
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }
kbd { font-family: var(--ui); }
.k-mob { display: none !important; }
body.touch .k-desk { display: none !important; }
body.touch .k-mob { display: inline-block !important; }

#app {
  position: relative; height: 100vh; height: 100dvh; width: 100%;
  display: grid; overflow: hidden; background: #fff;
  grid-template-rows: var(--r-title) var(--r-tabs) var(--r-ribbon) var(--r-fbar) var(--r-office) 1fr var(--r-stabs) var(--r-status);
  will-change: transform;
}

/* ============ 标题栏 ============ */
.xl-title {
  display: flex; align-items: center; gap: 10px; padding: 0 0 0 8px;
  background: var(--xl); color: #fff; font-size: 12px; white-space: nowrap; overflow: hidden;
}
.xl-logo svg { width: 20px; height: 20px; display: block; }
.xl-qa { display: flex; align-items: center; gap: 10px; opacity: .92; }
.xl-qa svg { width: 15px; height: 15px; }
.qa-auto { display: flex; align-items: center; gap: 6px; }
.tog { width: 26px; height: 13px; border: 1px solid #fff9; border-radius: 8px; position: relative; }
.tog::after { content: ""; position: absolute; left: 2px; top: 2px; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.xl-filename { flex: 1; text-align: center; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.xl-filename .dim { opacity: .7; }
.xl-search { display: flex; align-items: center; gap: 6px; background: #ffffff26; border-radius: 4px; padding: 4px 10px; width: 210px; opacity: .9; }
.xl-search svg { width: 13px; height: 13px; }
.xl-mute { width: 30px; height: 26px; border-radius: 4px; display: grid; place-items: center; font-size: 15px; }
.xl-mute:hover { background: #ffffff22; }
.xl-mute::before { content: "🔊"; }
.xl-mute.off::before { content: "🔇"; }
.xl-user { width: 26px; height: 26px; border-radius: 50%; background: #f2b33d; color: #5a3a00; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; }
.xl-win { display: flex; height: 100%; }
.xl-win span { width: 44px; display: grid; place-items: center; font-size: 12px; }
.xl-win span:hover { background: #ffffff22; }
.xl-win .x:hover { background: #e81123; }

/* ============ 选项卡 / 功能区 ============ */
.xl-tabs {
  display: flex; align-items: flex-end; gap: 2px; padding: 0 8px; background: #f3f3f3;
  font-size: 13px; color: #333; white-space: nowrap; overflow: hidden;
}
.xl-tabs span { padding: 6px 12px 7px; border-radius: 4px 4px 0 0; }
.xl-tabs .t-file { background: var(--xl); color: #fff; border-radius: 3px; margin: 0 4px 3px 0; padding: 4px 12px; }
.xl-tabs .on { background: #fff; color: var(--xl-d); font-weight: 600; box-shadow: inset 0 -3px 0 var(--xl); }
.xl-tabs .t-share { margin-left: auto; align-self: center; background: var(--xl); color: #fff; border-radius: 4px; padding: 4px 14px; }

.xl-ribbon {
  display: flex; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line);
  padding: 4px 6px 0; overflow: hidden; box-shadow: 0 1px 2px #0000000d;
}
.rg { display: flex; flex-direction: column; border-right: 1px solid #e3e3e3; padding: 0 8px; flex-shrink: 0; }
.rg-body { flex: 1; display: flex; align-items: flex-start; gap: 4px; }
.rg-body.col { flex-direction: column; gap: 4px; padding-top: 4px; }
.rg-name { font-size: 11px; color: #777; text-align: center; padding: 2px 0 3px; }
.rcol { display: flex; flex-direction: column; gap: 1px; }
.rrow { display: flex; gap: 3px; align-items: center; }
.rb { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #333; border-radius: 3px; padding: 2px 4px; white-space: nowrap; }
.rb:hover { background: #eaeaea; }
.rb.big { flex-direction: column; width: 56px; padding: 2px 2px; text-align: center; font-size: 11.5px; line-height: 1.15; }
.rb.big svg { width: 30px; height: 30px; margin-bottom: 2px; }
.rb.sm { font-size: 11.5px; padding: 2px 5px; }
.rb.ic { width: 24px; height: 22px; justify-content: center; font-size: 13px; padding: 0; position: relative; }
.rb.ic sup { font-size: 7px; }
.rb.ic.b { font-weight: 800; } .rb.ic.i { font-style: italic; font-family: serif; } .rb.ic.u { text-decoration: underline; }
.rb.ic.sm2 { font-size: 10px; width: 30px; }
.rb.ic i { position: absolute; left: 4px; right: 4px; bottom: 1px; height: 3px; }
.rb.al { flex-direction: column; gap: 2px; align-items: flex-start; padding: 5px 5px; }
.rb.al i { position: static; display: block; height: 1.5px; background: #555; width: 14px; }
.rb.al i:nth-child(2) { width: 9px; }
.rb.al.c, .rb.al.m { align-items: center; } .rb.al.r { align-items: flex-end; }
.sel { border: 1px solid #c8c8c8; border-radius: 2px; font-size: 12px; padding: 2px 6px; height: 22px; display: flex; align-items: center; justify-content: space-between; }
.sel::after { content: "⌄"; font-size: 10px; color: #666; margin-left: 4px; }
.w110 { width: 110px; } .w44 { width: 44px; }
.sigma { font-family: serif; font-size: 14px; color: #1e7145; }

/* ============ 编辑栏 ============ */
.xl-fbar { display: flex; align-items: center; background: #fff; border-bottom: 1px solid var(--line); font-size: 13px; }
.namebox { width: 96px; height: 100%; display: flex; align-items: center; padding: 0 8px; border-right: 1px solid var(--line); font-size: 12.5px; }
.fx-icons { display: flex; gap: 12px; padding: 0 12px; color: #999; align-items: center; border-right: 1px solid var(--line); height: 100%; }
.fx-icons i { font-family: serif; font-style: italic; color: #555; }
.formula { padding: 0 10px; font-family: Consolas, "SF Mono", Menlo, monospace; font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.formula .cur { display: inline-block; width: 1px; height: 14px; background: #222; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ============ 办公室实况 ============ */
.office { position: relative; z-index: 30; padding: 6px 8px; background: #fff; border-bottom: 1px solid var(--line); }
.office-frame {
  position: relative; height: 100%; border-radius: 6px; overflow: hidden;
  border: 1px solid #c9c9c9; box-shadow: 0 1px 0 #fff inset, 0 2px 8px #0000001f;
  background: #c8c2b6; transition: box-shadow .15s;
}
.office-frame.warn { box-shadow: 0 0 0 2px var(--amber), 0 2px 14px #f5a52466; }
.office-frame.danger { box-shadow: 0 0 0 3px var(--red), 0 0 24px #e5383b99; animation: dpulse .5s infinite alternate; }
@keyframes dpulse { to { box-shadow: 0 0 0 3px #ff6b6b, 0 0 34px #e5383bcc; } }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; display: block; }
.office-tag {
  position: absolute; left: 8px; bottom: 7px; font-size: 10.5px; color: #fff; background: #0006; padding: 2px 7px 2px 6px;
  border-radius: 3px; display: flex; align-items: center; gap: 5px; backdrop-filter: blur(2px);
}
.office-tag i { width: 6px; height: 6px; border-radius: 50%; background: #ff4d4f; box-shadow: 0 0 6px #ff4d4f; animation: blink 1.2s steps(1) infinite; }

/* HUD */
.hud { position: absolute; left: 8px; right: 8px; top: 8px; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; gap: 8px; }
.hud-left, .hud-right {
  background: rgba(16, 22, 30, .62); color: #fff; border-radius: 10px; padding: 7px 11px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid #ffffff1f; box-shadow: 0 4px 14px #0003;
}
.hud-day { display: flex; align-items: baseline; gap: 7px; }
.hud-day b { font-family: var(--fun); font-size: 22px; font-weight: 400; letter-spacing: 1px; color: #7ff0a8; }
.hud-day span { font-size: 12px; opacity: .85; }
.hud-clock { display: flex; align-items: center; gap: 8px; margin-top: 3px; font: 600 12px/1 Consolas, "SF Mono", Menlo, monospace; opacity: .9; }
.dayprog { width: 84px; height: 4px; border-radius: 3px; background: #ffffff2a; overflow: hidden; }
.dayprog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7ff0a8, #ffd166); }
.hud-right { min-width: 168px; }
.hud .lbl { font-size: 11px; opacity: .7; margin-right: 6px; }
.hud-score { display: flex; align-items: center; justify-content: flex-end; }
.hud-score b { font: 800 22px/1 var(--ui); font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.mult { font-style: normal; margin-left: 8px; font: 800 13px/1 var(--ui); padding: 3px 6px; border-radius: 6px; background: #ffffff22; transition: transform .12s; }
.mult.m2 { background: #2a9d8f; } .mult.m3 { background: #e9c46a; color: #3a2a00; }
.mult.m4 { background: #f4a261; color: #3a1a00; } .mult.m5 { background: linear-gradient(135deg, #ff4d6d, #ff9f1c); animation: mfire .35s infinite alternate; }
@keyframes mfire { to { transform: scale(1.12) rotate(-3deg); box-shadow: 0 0 12px #ff6b35; } }
.mult.bump { transform: scale(1.35); }
.hud-susp { display: flex; align-items: center; margin-top: 7px; }
.hud-susp .bar { flex: 1; height: 7px; border-radius: 4px; background: #ffffff26; overflow: hidden; }
.hud-susp .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7ff0a8, #ffd166 55%, #ff4d4f); background-size: 168px 100%; border-radius: 4px; }
.hud-susp.hot .bar { box-shadow: 0 0 0 1px #ff4d4f, 0 0 10px #ff4d4f; animation: blink .4s steps(1) infinite; }

.pill {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 6px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; color: #fff; white-space: nowrap; pointer-events: none;
  box-shadow: 0 4px 14px #0004; transition: background .12s; letter-spacing: .5px;
}
.pill.safe { background: rgba(33, 115, 70, .92); }
.pill.moyu { background: rgba(58, 134, 255, .92); }
.pill.warn { background: rgba(245, 165, 36, .96); color: #2b1a00; animation: pwarn .18s infinite alternate; }
.pill.danger { background: rgba(229, 56, 59, .96); animation: pwarn .1s infinite alternate; }
.pill.idle { background: rgba(30, 30, 30, .7); }
@keyframes pwarn { to { transform: translateX(-50%) scale(1.06); } }

.caught-card { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle, #e5383b55, #6a0000cc); pointer-events: none; }
.caught-card.show { display: flex; animation: ccIn .25s ease-out; }
.cc-big { font-family: var(--fun); font-size: clamp(40px, 9vh, 76px); color: #fff; text-shadow: 0 4px 0 #8b0000, 0 0 30px #ff0000; animation: ccShake .08s infinite; }
.cc-line { margin-top: 8px; background: #fff; color: #222; font-weight: 700; padding: 8px 16px; border-radius: 12px; font-size: 15px; box-shadow: 0 6px 16px #0006; max-width: 90%; text-align: center; }
@keyframes ccIn { from { transform: scale(1.3); opacity: 0; } }
@keyframes ccShake { 50% { transform: translate(2px, -2px) rotate(-2deg); } }

/* ============ 工作表 ============ */
.xl-sheet { position: relative; overflow: hidden; background: #fff; }
.grid-wrap { position: absolute; inset: 0; overflow: hidden; }
table.xl-grid { border-collapse: separate; border-spacing: 0; font-size: 12.5px; table-layout: fixed; }
.xl-grid th, .xl-grid td { height: 22px; border-right: 1px solid var(--grid); border-bottom: 1px solid var(--grid); padding: 0 6px; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.xl-grid thead th { position: sticky; top: 0; background: #f5f5f5; color: #555; font-weight: 400; text-align: center; border-color: #d6d6d6; z-index: 2; }
.xl-grid tbody th { background: #f5f5f5; color: #555; font-weight: 400; text-align: center; width: 40px; border-color: #d6d6d6; }
.xl-grid thead th.corner { background: #ececec; }
.xl-grid th.hl { background: #d3e8dc; color: var(--xl-d); border-bottom: 2px solid var(--xl); }
.xl-grid tbody th.hl { border-bottom: 1px solid #d6d6d6; border-right: 2px solid var(--xl); }
.xl-grid td.num { text-align: right; font-variant-numeric: tabular-nums; }
.xl-grid td.title { font-size: 17px; font-weight: 700; color: #1f3864; height: 30px; }
.xl-grid td.sub { color: #888; font-size: 11.5px; }
.xl-grid td.hd { background: #1f6e43; color: #fff; font-weight: 700; text-align: center; border-color: #2d8455; }
.xl-grid td.tot { background: #e2efda; font-weight: 700; border-top: 1.5px solid #6a9e7f; }
.xl-grid td.good { color: #0b6b2f; background: #c6efce; }
.xl-grid td.bad { color: #9c0006; background: #ffc7ce; }
.xl-grid td.mid { color: #7a5d00; background: #ffeb9c; }
.xl-grid td.bar { background-repeat: no-repeat; background-size: var(--w) 64%; background-position: 2px center; background-image: linear-gradient(90deg, #63be7b, #a9dbb6); }
.xl-grid td.note { color: #b45309; font-style: italic; }
.xl-grid td.sel { outline: 2px solid var(--xl); outline-offset: -2px; position: relative; background: #fff; }
.xl-grid td.sel::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 6px; height: 6px; background: var(--xl); border: 1px solid #fff; }
.xl-grid td.typing { animation: cellflash .5s; }
@keyframes cellflash { from { background: #fff7cc; } }

.hold-hint {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5; text-align: center; pointer-events: none;
  background: rgba(255, 255, 255, .94); border: 1px solid #cfe5d7; border-radius: 16px; padding: 16px 22px 14px;
  box-shadow: 0 12px 34px #1e6b4133; display: none;
}
.hold-hint.show { display: block; animation: hintIn .35s ease-out; }
@keyframes hintIn { from { opacity: 0; transform: translate(-50%, -40%); } }
.hold-hint .key { display: inline-block; }
.hold-hint .key span {
  display: inline-block; min-width: 168px; padding: 12px 18px; border-radius: 12px; font-weight: 800; font-size: 20px; letter-spacing: 6px;
  background: linear-gradient(#fff, #eef2ef); border: 1px solid #b8c7bd; box-shadow: 0 6px 0 #9fb3a6, 0 8px 16px #0002;
  animation: keypress 1.1s infinite;
}
@keyframes keypress { 0%, 30% { transform: none; box-shadow: 0 6px 0 #9fb3a6, 0 8px 16px #0002; } 45%, 85% { transform: translateY(5px); box-shadow: 0 1px 0 #9fb3a6, 0 2px 6px #0002; background: linear-gradient(#e9fff1, #d5f5e1); } }
.hold-hint p { margin-top: 14px; font-size: 14px; color: #444; }
.hold-hint b { color: var(--xl-d); margin: 0 2px; }

/* ============ 工作表标签 / 状态栏 ============ */
.xl-sheettabs { display: flex; align-items: stretch; background: #f3f3f3; border-top: 1px solid var(--line); font-size: 12.5px; overflow: hidden; }
.st-nav { display: flex; align-items: center; gap: 10px; padding: 0 10px; color: #999; font-size: 9px; }
.st-tabs { display: flex; }
.st-tabs span { padding: 0 16px; display: flex; align-items: center; gap: 5px; color: #555; border-right: 1px solid #ddd; position: relative; white-space: nowrap; }
.st-tabs span.done { color: #2c7a4b; }
.st-tabs span.done::before { content: "✓"; font-weight: 800; }
.st-tabs span.on { background: #fff; color: var(--xl-d); font-weight: 700; box-shadow: inset 0 -3px 0 var(--xl); }
.st-add { padding: 0 10px; display: flex; align-items: center; color: #888; font-size: 15px; }
.st-scroll { flex: 1; display: flex; align-items: center; padding: 0 12px; }
.st-scroll i { display: block; height: 8px; width: 40%; margin-left: 20%; background: #ccc; border-radius: 4px; }
.xl-status { display: flex; align-items: center; gap: 18px; padding: 0 12px; background: #f3f3f3; color: #444; font-size: 11.5px; border-top: 1px solid #e3e3e3; white-space: nowrap; overflow: hidden; }
.xl-status .grow { flex: 1; }
.xl-status b { font-weight: 600; font-variant-numeric: tabular-nums; }
.views { display: flex; gap: 6px; } .views i { width: 14px; height: 11px; border: 1px solid #888; display: block; } .views i.on { background: #cfd8d3; }
.zoom { display: flex; align-items: center; gap: 6px; } .zoom i { width: 90px; height: 2px; background: #999; display: block; position: relative; }
.zoom i::after { content: ""; position: absolute; left: 50%; top: -4px; width: 3px; height: 10px; background: #444; }

/* ============ 摸鱼层 ============ */
#moyu {
  position: absolute; inset: 0; z-index: 20; display: none;
  grid-template-rows: var(--r-title) var(--r-tabs) var(--r-ribbon) var(--r-fbar) var(--r-office) 1fr var(--r-stabs) var(--r-status);
}
body.moyu #moyu { display: grid; }
body.moyu .office { background: transparent; border-color: transparent; }
.ms { display: none; grid-row: 1 / -1; grid-column: 1; grid-template-rows: subgrid; }
.ms.on { display: grid; }
.ms-chrome { grid-row: 1 / 5; overflow: hidden; position: relative; }
.ms-gap { grid-row: 5 / 6; }
.ms-body { grid-row: 6 / 9; overflow: hidden; position: relative; }
body.caught #moyu::after { content: ""; position: absolute; inset: 0; background: #e5383b33; z-index: 99; pointer-events: none; animation: blink .25s steps(1) infinite; }

/* 浏览器通用外壳 */
.bw-tabs { height: 38px; background: #dfe3e8; display: flex; align-items: flex-end; padding: 0 8px; gap: 2px; }
.bw-tabs .dots { display: flex; gap: 6px; align-self: center; margin-right: 10px; }
.bw-tabs .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .bw-tabs .dots i:nth-child(2) { background: #febc2e; } .bw-tabs .dots i:nth-child(3) { background: #28c840; }
.bw-tab { font-size: 12px; padding: 8px 14px; border-radius: 8px 8px 0 0; color: #555; max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; gap: 6px; align-items: center; }
.bw-tab.on { background: #fff; color: #222; }
.bw-addr { height: 36px; background: #fff; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid #e5e5e5; font-size: 12.5px; color: #555; }
.bw-addr .nav { color: #999; letter-spacing: 8px; }
.bw-addr .url { flex: 1; background: #f1f3f4; border-radius: 16px; padding: 5px 14px; color: #333; white-space: nowrap; overflow: hidden; }
.bw-addr .url b { color: #0a7a33; font-weight: 400; }

/* 周一 · 摸鱼头条 */
.ms-web .ms-chrome { background: #fff; display: flex; flex-direction: column; }
.web-head { flex: 1; background: linear-gradient(90deg, #e3262f, #ff5a3c); display: flex; align-items: center; gap: 18px; padding: 0 20px; color: #fff; }
.web-logo { font-family: var(--fun); font-size: 26px; letter-spacing: 2px; }
.web-logo small { font-size: 12px; opacity: .85; margin-left: 6px; font-family: var(--ui); }
.web-nav { display: flex; gap: 18px; font-size: 14px; opacity: .95; white-space: nowrap; overflow: hidden; }
.web-nav b { border-bottom: 2px solid #fff; }
.ms-web .ms-body { background: #f4f5f7; display: grid; grid-template-columns: 1fr 260px; gap: 14px; padding: 14px 18px; }
.web-feed { background: #fff; border-radius: 10px; overflow: hidden; position: relative; }
.web-feed h3 { font-size: 15px; padding: 12px 16px; border-bottom: 1px solid #eee; color: #e3262f; }
.web-list { animation: scrollUp 22s linear infinite; }
.web-item { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #f1f1f1; align-items: center; }
.web-item .rk { width: 22px; font-weight: 800; color: #bbb; font-size: 16px; text-align: center; }
.web-item:nth-child(-n+3) .rk { color: #e3262f; }
.web-item .tt { flex: 1; font-size: 15px; color: #222; }
.web-item .tt em { font-style: normal; font-size: 11px; color: #fff; background: #ff7a45; padding: 1px 5px; border-radius: 3px; margin-left: 6px; }
.web-item .ht { font-size: 12px; color: #999; }
.web-item .th { width: 74px; height: 50px; border-radius: 6px; display: grid; place-items: center; font-size: 26px; }
.web-side { display: flex; flex-direction: column; gap: 12px; }
.web-card { background: #fff; border-radius: 10px; padding: 14px; font-size: 13px; color: #444; }
.web-card h4 { font-size: 14px; margin-bottom: 8px; }
.luck { font-family: var(--fun); font-size: 30px; color: #e3262f; }
.luck small { display: block; font-family: var(--ui); font-size: 12px; color: #888; margin-top: 4px; }
@keyframes scrollUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* 周二 · 小说 */
.ms-novel .ms-chrome { background: #f3ead8; display: flex; flex-direction: column; }
.nv-head { flex: 1; display: flex; align-items: center; padding: 0 22px; gap: 14px; border-bottom: 1px solid #e2d5bb; }
.nv-logo { font-family: var(--fun); font-size: 24px; color: #8a4b1c; }
.nv-book { font-size: 13px; color: #7a6a52; }
.nv-book b { color: #5a3416; font-size: 15px; margin-right: 6px; }
.nv-prog { margin-left: auto; font-size: 12px; color: #9a8a70; }
.ms-novel .ms-body { background: #f6efdf; display: flex; justify-content: center; }
.nv-page { width: min(760px, 100%); padding: 22px 34px; overflow: hidden; position: relative; }
.nv-scroll { animation: scrollUp 40s linear infinite; }
.nv-page h2 { font-family: "Songti SC", "STSong", serif; font-size: 22px; color: #3d2a12; margin: 6px 0 16px; }
.nv-page p { font-family: "Songti SC", "STSong", serif; font-size: 17px; line-height: 2; color: #3b3022; text-indent: 2em; margin-bottom: 8px; }

/* 周三 · 小游戏 */
.ms-game .ms-chrome { background: #2b2d42; display: flex; flex-direction: column; }
.gm-head { flex: 1; display: flex; align-items: center; padding: 0 22px; gap: 16px; color: #fff; }
.gm-logo { font-family: var(--fun); font-size: 26px; color: #ffd166; text-shadow: 3px 3px 0 #ef476f; }
.gm-cats { display: flex; gap: 8px; font-size: 13px; overflow: hidden; }
.gm-cats span { background: #ffffff1a; padding: 4px 12px; border-radius: 99px; white-space: nowrap; }
.gm-cats span.on { background: #ef476f; }
.ms-game .ms-body { background: #8d99ae; display: flex; align-items: center; justify-content: center; padding: 12px; }
.gm-box { height: 100%; aspect-ratio: 16/9; max-width: 100%; border-radius: 12px; overflow: hidden; border: 4px solid #2b2d42; box-shadow: 0 10px 0 #2b2d42aa; position: relative; background: #edf2f4; }
.gm-box canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; }

/* 周四 · 短视频 */
.ms-video .ms-chrome, .ms-video .ms-body { background: #0d0d12; }
.ms-video .ms-chrome { display: flex; align-items: flex-end; justify-content: center; }
.vd-nav { display: flex; gap: 26px; color: #fff8; font-size: 16px; padding-bottom: 14px; }
.vd-nav b { color: #fff; border-bottom: 2px solid #fff; padding-bottom: 6px; }
.ms-video .ms-body { display: flex; justify-content: center; align-items: stretch; padding: 10px 0; gap: 18px; }
.vd-phone { height: 100%; aspect-ratio: 3/4; max-width: 92vw; border-radius: 16px; overflow: hidden; position: relative; background: linear-gradient(160deg, #ff6b9d, #c44dff 45%, #4d79ff); background-size: 200% 200%; animation: vdbg 4s ease infinite alternate; }
@keyframes vdbg { to { background-position: 100% 100%; } }
.vd-star { position: absolute; left: 50%; top: 44%; font-size: min(18vh, 120px); transform: translate(-50%, -50%); animation: vddance .45s ease-in-out infinite alternate; }
@keyframes vddance { from { transform: translate(-60%, -50%) rotate(-12deg); } to { transform: translate(-40%, -56%) rotate(12deg) scale(1.06); } }
.vd-cap { position: absolute; left: 14px; right: 60px; bottom: 16px; color: #fff; font-size: 13.5px; text-shadow: 0 1px 4px #0008; }
.vd-cap b { display: block; font-size: 15px; margin-bottom: 4px; }
.vd-acts { position: absolute; right: 10px; bottom: 20px; display: flex; flex-direction: column; gap: 14px; align-items: center; color: #fff; font-size: 11px; text-align: center; }
.vd-acts div { font-size: 26px; line-height: 1; } .vd-acts span { display: block; font-size: 11px; margin-top: 2px; }
.vd-heart { position: absolute; right: 22px; bottom: 140px; font-size: 22px; animation: heartUp 1.6s ease-out infinite; opacity: 0; }
.vd-heart:nth-child(2) { animation-delay: .4s; right: 30px; } .vd-heart:nth-child(3) { animation-delay: .8s; right: 16px; } .vd-heart:nth-child(4) { animation-delay: 1.2s; right: 26px; }
@keyframes heartUp { 0% { opacity: 0; transform: translateY(0) scale(.6); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-140px) translateX(-20px) scale(1.2); } }
.vd-dm { position: absolute; white-space: nowrap; color: #fff; font-size: 12.5px; opacity: .9; font-weight: 700; text-shadow: 0 1px 3px #000a; animation: dm 6s linear infinite; left: 100%; }
@keyframes dm { to { transform: translateX(-260%); } }
.vd-side { width: 240px; color: #fff; display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.vd-side .cm { background: #ffffff12; border-radius: 10px; padding: 9px 12px; font-size: 13px; }
.vd-side .cm b { color: #ffd166; font-weight: 600; margin-right: 6px; }

/* 周五 · 开黑 */
.ms-moba .ms-chrome { background: linear-gradient(#0b1a33, #0f2447); display: flex; align-items: center; padding: 0 20px; gap: 18px; color: #cfe3ff; }
.mb-team { display: flex; gap: 6px; }
.mb-team i { width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; font-style: normal; font-size: 20px; border: 2px solid #3d8bff; background: #1a3566; }
.mb-team.red i { border-color: #ff4d6d; background: #4a1a2a; }
.mb-score { font: 800 30px/1 var(--ui); letter-spacing: 2px; } .mb-score em { color: #3d8bff; font-style: normal; } .mb-score s { color: #ff4d6d; text-decoration: none; }
.mb-kda { margin-left: auto; font-size: 13px; text-align: right; } .mb-kda b { font-size: 18px; color: #ffd166; }
.ms-moba .ms-body { background: radial-gradient(ellipse at 50% 60%, #2f6b3a, #193d22 60%, #0e2414); overflow: hidden; }
.mb-lane { position: absolute; left: -10%; right: -10%; top: 50%; height: 70px; background: #8b7a5a; transform: rotate(-14deg); opacity: .8; box-shadow: 0 0 0 6px #6b5a3a; }
.mb-hero { position: absolute; left: 44%; top: 40%; font-size: 64px; animation: herobob .5s ease-in-out infinite alternate; filter: drop-shadow(0 6px 4px #0008); }
.mb-hero::before { content: ""; position: absolute; left: 6px; right: 6px; top: -12px; height: 7px; background: linear-gradient(90deg, #3ddc84 78%, #333 0); border: 1px solid #000; border-radius: 2px; }
.mb-enemy { position: absolute; font-size: 44px; animation: enemyHit .5s infinite; }
.mb-enemy::before { content: ""; position: absolute; left: 4px; right: 4px; top: -10px; height: 6px; background: linear-gradient(90deg, #ff4d6d 30%, #333 0); border: 1px solid #000; }
@keyframes herobob { to { transform: translate(18px, -8px); } }
@keyframes enemyHit { 50% { filter: brightness(2) drop-shadow(0 0 8px #fff); transform: translateX(4px); } }
.mb-kill { position: absolute; left: 50%; top: 12%; transform: translateX(-50%); font-family: var(--fun); font-size: min(10vh, 64px); color: #ffd166; text-shadow: 0 4px 0 #b5179e, 0 0 24px #ff0; animation: killPulse 1.2s ease-in-out infinite; white-space: nowrap; }
@keyframes killPulse { 0%, 100% { transform: translateX(-50%) scale(.9); opacity: .8; } 50% { transform: translateX(-50%) scale(1.12); opacity: 1; } }
.mb-chat { position: absolute; left: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.mb-chat div { background: #0009; color: #fff; padding: 4px 10px; border-radius: 6px; }
.mb-chat b { color: #3d8bff; margin-right: 4px; } .mb-chat b.r { color: #ff4d6d; }
.mb-skills { position: absolute; right: 18px; bottom: 16px; display: flex; gap: 10px; align-items: flex-end; }
.mb-skills i { width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(#4f8cff, #1d3f8a); border: 3px solid #cfe3ff; display: grid; place-items: center; font-style: normal; font-size: 22px; box-shadow: 0 4px 10px #0008; }
.mb-skills i.big { width: 72px; height: 72px; font-size: 30px; background: radial-gradient(#ffb703, #c2410c); }
.mb-map { position: absolute; left: 14px; top: 14px; width: 110px; height: 110px; background: #0b1a1f; border: 2px solid #5b7da8; border-radius: 6px; opacity: .9; }
.mb-map::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 3px; background: #8b7a5a; transform: rotate(-45deg); }
.mb-map::after { content: ""; position: absolute; left: 48%; top: 46%; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 6px #3ddc84; }

/* ============ 特效 ============ */
#vignette { position: absolute; inset: 0; z-index: 40; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at center, transparent 45%, rgba(200, 0, 0, .55) 100%); transition: opacity .15s; }
#flash { position: absolute; inset: 0; z-index: 41; pointer-events: none; opacity: 0; background: #fff; }
#flash.go { animation: flash .35s ease-out; }
#flash.red { background: #ff1f1f; }
@keyframes flash { from { opacity: .75; } to { opacity: 0; } }
#fx { position: absolute; inset: 0; z-index: 45; pointer-events: none; overflow: hidden; }
.pop { position: absolute; transform: translate(-50%, -50%); font-weight: 900; white-space: nowrap; animation: popUp 1.1s ease-out forwards; text-align: center; }
.pop.big { font-family: var(--fun); font-weight: 400; }
@keyframes popUp { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.5); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); } 30% { transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -110%) scale(1); } }
.pop.close { font-size: clamp(64px, 16vh, 140px); color: #ffd23f; -webkit-text-stroke: 3px #7a2e00; text-shadow: 0 6px 0 #c2410c, 0 0 40px #ffb700; animation-duration: 1.2s; }
.pop.close small { display: block; font-family: var(--ui); font-weight: 900; font-size: 22px; -webkit-text-stroke: 0; color: #fff; text-shadow: 0 2px 6px #000a; }
.pop.plus { font-size: 20px; color: #fff; text-shadow: 0 2px 6px #0009; }
.pop.minus { font-size: 22px; color: #ff4d4f; text-shadow: 0 2px 6px #000a, 0 0 2px #fff; }
.pop.info { font-size: 17px; color: #fff; background: rgba(20, 24, 32, .86); padding: 9px 16px; border-radius: 12px; box-shadow: 0 8px 20px #0005; animation-duration: 2.4s; font-weight: 700; }
.pop.info.y { background: rgba(245, 165, 36, .96); color: #2b1a00; }
.pop.mult { font-family: var(--fun); font-weight: 400; font-size: 34px; color: #fff; text-shadow: 0 3px 0 #c2410c, 0 0 18px #ff9f1c; }
.confetti { position: absolute; top: -20px; width: 9px; height: 14px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* ============ 横幅 ============ */
#banner { position: absolute; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; pointer-events: none; background: rgba(10, 20, 15, .35); }
#banner.show { display: flex; }
.bn-card { position: relative; text-align: center; color: #fff; background: linear-gradient(160deg, #1f7a4b, #12452b); border-radius: 22px; padding: 22px 46px 26px; box-shadow: 0 24px 60px #0007, inset 0 1px 0 #ffffff33; border: 1px solid #ffffff22; animation: bnIn .45s cubic-bezier(.2, 1.4, .4, 1); min-width: min(420px, 88vw); max-width: 92vw; overflow: hidden; }
.bn-card.fri { background: linear-gradient(160deg, #4a1430, #160818); }
.bn-card.thu { background: linear-gradient(160deg, #8a3b12, #3d1606); }
@keyframes bnIn { from { transform: scale(.6) translateY(30px); opacity: 0; } }
.bn-done { font-size: 13px; color: #b7f5cf; min-height: 18px; letter-spacing: 1px; }
.bn-day { font-family: var(--fun); font-size: clamp(64px, 14vh, 108px); line-height: 1.05; text-shadow: 0 6px 0 #0004; }
.bn-title { font-size: 20px; font-weight: 800; letter-spacing: 6px; opacity: .95; }
.bn-threat { display: inline-block; margin-top: 14px; padding: 6px 14px; background: #ffd166; color: #3a2400; border-radius: 99px; font-weight: 800; font-size: 14px; }
.bn-threat:empty { display: none; }
.bn-tip { margin-top: 10px; font-size: 14px; opacity: .9; }
.bn-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #ffffff22; }
.bn-bar i { display: block; height: 100%; background: #7ff0a8; width: 0; }
#banner.show .bn-bar i { animation: bnbar var(--bn-dur, 2.6s) linear forwards; }
@keyframes bnbar { to { width: 100%; } }

/* ============ 浮层卡片 ============ */
.overlay { position: absolute; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(12, 20, 16, .55); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.overlay.show { display: flex; animation: ovIn .25s ease-out; }
@keyframes ovIn { from { opacity: 0; } }
.card { background: #fff; border-radius: 20px; box-shadow: 0 30px 80px #0008; width: min(460px, 100%); max-height: 100%; overflow: auto; animation: cardIn .4s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes cardIn { from { transform: translateY(30px) scale(.94); opacity: 0; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 800; font-size: 15px; background: #eef3f0; color: #1d4d33; text-decoration: none; transition: transform .1s, filter .1s; }
.btn:hover { filter: brightness(.97); } .btn:active { transform: translateY(2px); }
.btn.primary { background: linear-gradient(#2a8f58, #1e6b41); color: #fff; box-shadow: 0 5px 0 #13492c, 0 10px 20px #1e6b4155; }
.btn.primary:active { box-shadow: 0 2px 0 #13492c; transform: translateY(3px); }
.btn.big { font-size: 19px; padding: 15px 30px; border-radius: 14px; }
.btn kbd { font-size: 11px; font-weight: 700; background: #ffffff2e; border: 1px solid #ffffff55; padding: 2px 6px; border-radius: 5px; }

.title-card { text-align: center; padding: 0 0 22px; overflow: hidden; }
.tc-head { position: relative; background: linear-gradient(#bfe6ff, #e9f6ff); border-bottom: 4px solid #1e6b41; }
.tc-head canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.tc-badge { position: absolute; left: 12px; top: 10px; background: #1e6b41; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; z-index: 1; }
.tc-title { font-family: var(--fun); font-weight: 400; font-size: 52px; color: #1e6b41; margin-top: 12px; letter-spacing: 4px; text-shadow: 0 3px 0 #c6efce; }
.tc-sub { color: #667; font-size: 13.5px; margin-top: 2px; }
.tc-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 20px 20px; }
.tc-rules div { background: #f3f8f5; border: 1px solid #dcebe2; border-radius: 12px; padding: 10px 4px; display: flex; flex-direction: column; gap: 4px; }
.tc-rules b { font-size: 15px; color: #1e6b41; }
.tc-rules b.warn { color: var(--red); }
.tc-rules span { font-size: 12px; color: #667; }
.tc-best { margin-top: 14px; font-size: 13px; color: #778; min-height: 18px; }
.tc-best b { color: #1e6b41; }

.result-card { overflow: hidden; }
.rc-head { display: flex; justify-content: space-between; align-items: center; background: #1e6b41; color: #fff; padding: 11px 18px; font-size: 13px; font-weight: 700; }
.rc-no { opacity: .75; font-weight: 400; font-family: Consolas, monospace; }
.rc-main { padding: 16px 20px 6px; text-align: center; background: repeating-linear-gradient(#fff 0 27px, #f0f4f2 27px 28px); }
.rc-kicker { font-size: 14px; color: #667; }
.rc-day { font-family: var(--fun); font-size: 64px; line-height: 1.1; color: #1e6b41; }
.rc-day.win { color: #d97706; text-shadow: 0 3px 0 #fde68a; }
.rc-new { display: none; margin: 0 auto 4px; width: max-content; background: linear-gradient(90deg, #ff4d6d, #ff9f1c); color: #fff; font-weight: 900; font-size: 12px; padding: 3px 10px; border-radius: 99px; animation: mfire .5s infinite alternate; }
.rc-new.show { display: block; }
.rc-quote { display: flex; align-items: center; gap: 10px; margin: 10px 0 14px; text-align: left; }
.rc-quote canvas { width: 56px; height: 56px; image-rendering: pixelated; background: #f3e9d8; border-radius: 12px; flex-shrink: 0; border: 2px solid #e8dcc6; }
.rc-bubble { position: relative; flex: 1; background: #fff4f4; border: 1.5px solid #ffc7ce; color: #9c0006; font-weight: 700; font-size: 14.5px; padding: 10px 14px; border-radius: 12px; }
.rc-bubble.win { background: #fffbeb; border-color: #fcd34d; color: #92400e; }
.rc-bubble::before { content: ""; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; background: inherit; border-left: inherit; border-bottom: inherit; transform: translateY(-50%) rotate(45deg); }
.rc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.rc-stats div { background: #fff; border: 1px solid #dfe9e3; border-radius: 12px; padding: 9px 2px; }
.rc-stats span { display: block; font-size: 11.5px; color: #778; }
.rc-stats b { display: block; font-size: 19px; font-variant-numeric: tabular-nums; color: #1f2328; margin-top: 2px; }
.rc-ach { display: flex; justify-content: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.ach { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; padding: 5px 12px; border-radius: 99px; background: #eee; color: #999; }
.ach.on { background: linear-gradient(90deg, #fde68a, #fbbf24); color: #7c2d12; box-shadow: 0 3px 10px #fbbf2466; }
.rc-best { font-size: 12.5px; color: #889; margin: 10px 0 6px; }
.rc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 20px 20px; }

.poster-card { padding: 16px; text-align: center; width: min(420px, 100%); }
.poster-card img { width: 100%; border-radius: 12px; display: block; -webkit-touch-callout: default; -webkit-user-select: auto; user-select: auto; box-shadow: 0 6px 20px #0003; }
.pc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.pc-hint { font-size: 12px; color: #889; margin-top: 10px; }


.hud-event { margin-top: 5px; font-size: 11.5px; font-weight: 800; color: #ffd166; white-space: nowrap; }
.hud-event:empty { display: none; }
.bn-mood { display: inline-block; margin-top: 12px; font-size: 13.5px; background: #ffffff1f; border: 1px solid #ffffff33; padding: 6px 12px; border-radius: 10px; }
.bn-mood b { color: #ffd166; margin: 0 2px; }
.bn-mood:empty { display: none; }

/* ============ 新手教程 ============ */
#coach {
  position: absolute; left: 50%; bottom: calc(var(--r-stabs) + var(--r-status) + 18px); transform: translateX(-50%);
  z-index: 46; width: min(480px, calc(100% - 24px)); background: #fff; border-radius: 18px; padding: 14px 18px 16px;
  box-shadow: 0 18px 50px #0006, 0 0 0 1px #0000000f; display: none; pointer-events: none; overflow: hidden;
}
#coach.show { display: block; }
#coach.bump { animation: coIn .4s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes coIn { from { transform: translateX(-50%) translateY(16px) scale(.95); opacity: .3; } }
.co-top { display: flex; justify-content: space-between; align-items: center; }
.co-step { font-size: 12px; font-weight: 800; color: #fff; background: var(--xl); padding: 3px 10px; border-radius: 99px; }
#coSkip { pointer-events: auto; font-size: 12.5px; color: #8a8f98; padding: 4px 6px; border-radius: 6px; }
#coSkip:hover { background: #f1f3f2; color: #333; }
.co-body { display: flex; gap: 14px; align-items: center; margin-top: 6px; }
.co-main { flex: 1; min-width: 0; }
.co-title { font-family: var(--fun); font-size: 25px; color: var(--xl-d); line-height: 1.3; }
.co-text { font-size: 14.5px; color: #444; line-height: 1.65; margin-top: 2px; }
.co-text b { color: #c2410c; }
.co-key span {
  display: inline-block; min-width: 84px; text-align: center; padding: 10px 12px; border-radius: 10px; font-weight: 800; font-size: 15px; letter-spacing: 3px;
  background: linear-gradient(#fff, #eef2ef); border: 1px solid #b8c7bd; box-shadow: 0 5px 0 #9fb3a6, 0 6px 12px #0002;
  animation: keypress 1.1s infinite;
}
.co-key.release span { animation: relPulse .45s infinite alternate; transform: translateY(5px); box-shadow: 0 1px 0 #c98a00, 0 0 0 4px #ffcc3366; background: linear-gradient(#fff3c4, #ffd76a); border-color: #e0a800; color: #6b4300; }
@keyframes relPulse { to { transform: translateY(0); box-shadow: 0 6px 0 #c98a00, 0 0 0 8px #ffcc3333; } }
.co-key.ack span { animation: ackPulse .7s infinite alternate; }
@keyframes ackPulse { to { transform: scale(1.06); box-shadow: 0 5px 0 #9fb3a6, 0 0 0 6px #2a8f5833; } }
.co-act { margin-top: 8px; font-weight: 900; font-size: 17px; color: #1e6b41; }
.ck-warn .co-act { color: #b45309; animation: actPulse .5s infinite alternate; }
.ck-danger .co-act, .ck-dead .co-act { color: #c81e1e; animation: actPulse .5s infinite alternate; }
@keyframes actPulse { to { transform: translateX(4px); } }
#coach { border-top: 5px solid #2a8f58; }
#coach.ck-warn { border-top-color: #ffbe0b; box-shadow: 0 18px 50px #0006, 0 0 0 3px #ffbe0b88; }
#coach.ck-warn .co-step { background: #f59e0b; color: #3a2400; }
#coach.ck-warn .co-title { color: #b45309; }
#coach.ck-danger, #coach.ck-dead { border-top-color: #e5383b; box-shadow: 0 18px 50px #0006, 0 0 0 3px #e5383b88; }
#coach.ck-danger .co-step, #coach.ck-dead .co-step { background: #e5383b; }
#coach.ck-danger .co-title, #coach.ck-dead .co-title { color: #c81e1e; }
#coach.ck-dead .co-title { font-size: 28px; }
#coach.ck-ok .co-title { color: #1e7a45; }
.co-tip { margin-top: 8px; background: #fff7e0; border: 1px solid #fde3a0; border-radius: 10px; padding: 7px 11px; color: #7a4b00; font-weight: 800; font-size: 14px; }
.co-rules { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.co-rules span { background: #f3f8f5; border: 1px solid #dcebe2; border-radius: 99px; padding: 3px 10px; font-weight: 800; font-size: 13px; color: #333; }
.office-frame.spot { animation: none !important; box-shadow: 0 0 0 4px #ffbe0b, 0 0 0 9999px rgba(8, 12, 18, .62) !important; }
.office-frame.spot-danger, .office-frame.spot-dead { box-shadow: 0 0 0 4px #ff3b3b, 0 0 30px #ff3b3b, 0 0 0 9999px rgba(8, 12, 18, .62) !important; }
.office-frame.spot-ok, .office-frame.spot-info { box-shadow: 0 0 0 4px #7ff0a8, 0 0 0 9999px rgba(8, 12, 18, .62) !important; }
.rc-why { text-align: left; background: #fff4f4; border: 1px dashed #f5a3a3; border-radius: 12px; padding: 8px 12px; margin: -4px 0 12px; font-size: 13.5px; color: #7f1d1d; }
.rc-why b { color: #c81e1e; }
.rc-why span { display: block; margin-top: 3px; color: #7a4b00; font-weight: 700; }
.co-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #eef3f0; }
.co-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2a8f58, #7ff0a8); transition: width .3s; }
.tut-hl { outline: 3px solid #ffd166; outline-offset: 3px; animation: tutGlow .8s infinite alternate; }
@keyframes tutGlow { to { outline-color: #ff9f1c; box-shadow: 0 0 0 7px #ffd16655, 0 0 26px #ffb703; } }
.tc-link { display: block; margin: 12px auto 0; font-size: 13px; color: #1e6b41; font-weight: 700; padding: 4px 10px; border-radius: 8px; }
.tc-link:hover { background: #eef6f1; }
@media (max-width: 720px) {
  #coach { padding: 12px 14px 14px; }
  .co-title { font-size: 21px; }
  .co-text { font-size: 13.5px; }
  .co-key span { min-width: 64px; padding: 8px; font-size: 13px; letter-spacing: 1px; }
}

/* ============ 响应式 ============ */
@media (max-width: 1180px) { .hide-lg { display: none; } }
@media (max-width: 900px) { .hide-md { display: none; } .xl-search { display: none; } }
@media (max-width: 720px) {
  :root { --r-title: 32px; --r-tabs: 30px; --r-ribbon: 0px; --r-fbar: 28px; --r-office: 36vh; --r-stabs: 30px; --r-status: 0px; }
  .xl-ribbon, .xl-status { visibility: hidden; }
  .xl-qa, .xl-win span:not(.x), .hide-sm { display: none; }
  .xl-filename .dim { display: none; }
  .xl-tabs { font-size: 12px; } .xl-tabs span { padding: 6px 8px 7px; }
  .xl-tabs .t-share { display: none; }
  .namebox { width: 56px; }
  .fx-icons span { display: none; }
  .office { padding: 4px; }
  .hud { left: 6px; right: 6px; top: 6px; }
  .hud-left, .hud-right { padding: 5px 8px; border-radius: 8px; }
  .hud-day b { font-size: 18px; }
  .hud-day span { font-size: 11px; }
  .dayprog { width: 50px; }
  .hud-right { min-width: 128px; }
  .hud-score b { font-size: 18px; }
  .hud .lbl { font-size: 10px; margin-right: 4px; }
  .pill { font-size: 12.5px; bottom: 8px; }
  .office-tag { display: none; }
  .ms-web .ms-body { grid-template-columns: 1fr; padding: 10px; }
  .web-side { display: none; }
  .web-head { padding: 0 12px; } .web-logo { font-size: 20px; } .web-nav { font-size: 12px; gap: 10px; }
  .bw-tabs { display: none; }
  .nv-page { padding: 14px 18px; } .nv-page p { font-size: 15.5px; } .nv-book { display: none; }
  .vd-side { display: none; }
  .gm-box { height: auto; width: 100%; }
  .gm-logo { font-size: 20px; white-space: nowrap; } .gm-head { padding: 0 12px; }
  .nv-logo { font-size: 20px; } .nv-prog { display: none; }
  .mb-team { display: none; } .mb-map { display: none; }
  .mb-skills i { width: 40px; height: 40px; font-size: 18px; } .mb-skills i.big { width: 56px; height: 56px; }
  .tc-title { font-size: 44px; }
  .rc-stats b { font-size: 16px; }
  .rc-day { font-size: 54px; }
}
@media (max-height: 560px) and (min-width: 721px) {
  :root { --r-ribbon: 0px; --r-office: 40vh; }
  .xl-ribbon { visibility: hidden; }
}
