/* ============================================================
   components.css — 导航 / 光标 / 终端 / 面板 / 弹层 / 通用部件
   ============================================================ */

/* ---------- 自定义光标 ---------- */
#cursor {
  display: none;
}

@media (pointer: fine) {
  #cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-cursor);
    pointer-events: none;
  }

  #cDot {
    position: fixed;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--acc);
    transform: translate(-50%, -50%);
  }

  #cRing {
    position: fixed;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--acc-glow);
    transform: translate(-50%, -50%);
    transition: width 0.28s var(--ease), height 0.28s var(--ease),
      border-color 0.28s, background 0.28s, opacity 0.28s;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #cLabel {
    position: fixed;
    transform: translate(14px, 14px);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--paper);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--faint-2);
    padding: 4px 8px;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.2s;
    backdrop-filter: blur(6px);
    white-space: nowrap;
  }

  body.cur-label #cLabel {
    opacity: 1;
  }

  body.cur-big #cRing {
    width: 58px;
    height: 58px;
    background: var(--acc-soft);
    border-color: var(--acc);
  }

  body.cur-link #cRing {
    width: 52px;
    height: 52px;
    background: var(--acc);
    border-color: var(--acc);
  }

  body.cur-link #cRing::after {
    content: "↗";
    font-size: 15px;
    color: #fff;
  }

  body.cur-link #cDot {
    opacity: 0;
  }

  body.cur-drag #cRing {
    width: 64px;
    height: 64px;
    border-style: dashed;
    border-color: var(--acc);
  }

  body.cur-hide #cDot,
  body.cur-hide #cRing {
    opacity: 0;
  }
}

/* ---------- 顶部导航 ---------- */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad);
  transform: translateY(-90px);
  transition: transform 0.8s var(--ease), background 0.4s,
    backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

body.booted #nav {
  transform: translateY(0);
}

#nav.solid {
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--faint);
}

#nav.hidden-up {
  transform: translateY(-90px);
}

.logo {
  font-family: var(--disp);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.logo b {
  color: var(--acc);
  display: inline-block;
  animation: float-y 3.4s ease-in-out infinite;
}

.nav-ava {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--acc-glow);
  box-shadow: 0 0 10px var(--acc-soft);
}

.logo .visit {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  border: 1px solid var(--faint);
  border-radius: 99px;
  padding: 2px 8px;
  letter-spacing: 1px;
  margin-left: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.6vw, 30px);
  font-size: 13.5px;
  color: var(--dim);
}

.nav-links a,
.nav-links button {
  position: relative;
  padding: 4px 2px;
  transition: color 0.25s;
  font-size: 13.5px;
  letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links button:hover {
  color: var(--paper);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 100%;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links .ext {
  color: var(--acc);
}

.nav-kbd {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  border: 1px solid var(--faint-2);
  border-radius: 7px;
  padding: 5px 10px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  transition: border-color 0.25s, color 0.25s;
}

.nav-kbd:hover {
  border-color: var(--acc);
  color: var(--paper);
}

.nav-kbd i {
  font-style: normal;
  background: var(--faint);
  border-radius: 4px;
  padding: 1px 5px;
}

/* 音频开关 */
#audioBtn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 26px;
  padding: 0 4px;
}

#audioBtn .bar {
  width: 2.5px;
  background: var(--dim);
  border-radius: 2px;
  height: 6px;
  transition: background 0.3s;
}

#audioBtn.on .bar {
  background: var(--acc);
}

/* ---------- 右侧点式导航 ---------- */
#dotNav {
  position: fixed;
  right: clamp(10px, 2vw, 26px);
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-dotnav);
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.booted #dotNav {
  opacity: 1;
}

#dotNav a {
  position: relative;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#dotNav a i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--faint-2);
  transition: transform 0.3s var(--ease-back), background 0.3s;
}

#dotNav a:hover i {
  background: var(--paper);
  transform: scale(1.5);
}

#dotNav a.on i {
  background: var(--acc);
  transform: scale(1.7);
}

#dotNav a s {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 2px;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--faint);
  padding: 3px 9px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s var(--ease);
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

#dotNav a:hover s {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 900px) {
  #dotNav {
    display: none;
  }
}

/* ---------- 开场终端 ---------- */
#boot {
  position: fixed;
  inset: 0;
  z-index: var(--z-boot);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(60% 50% at 50% 62%, var(--acc-soft), transparent 72%), #060505;
  transition: opacity 0.6s ease, visibility 0.6s;
  padding: 20px;
}

#boot.done {
  opacity: 0;
  visibility: hidden;
}

.term {
  width: min(760px, 94vw);
  background: #0c0f0d;
  border: 1px solid rgba(125, 255, 154, 0.12);
  border-radius: 14px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.6),
    0 0 90px var(--acc-soft);
  overflow: hidden;
  position: relative;
}

.term::after {
  /* CRT 扫描线 */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 2px,
    rgba(0, 0, 0, 0.14) 2px 3px
  );
  opacity: 0.5;
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(125, 255, 154, 0.1);
  font-family: var(--mono);
  font-size: 12px;
  color: #5a6a5e;
  user-select: none;
}

.t-dots {
  display: flex;
  gap: 6px;
}

.t-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.t-dots i:nth-child(1) { background: #ff5f57; }
.t-dots i:nth-child(2) { background: #febc2e; }
.t-dots i:nth-child(3) { background: #28c840; }

.t-title {
  flex: 1;
  text-align: center;
  letter-spacing: 0.4px;
}

#skipBtn {
  background: none;
  border: 1px solid rgba(125, 255, 154, 0.18);
  color: #5a6a5e;
  font-family: var(--mono);
  font-size: 11px;
  border-radius: 6px;
  padding: 3px 9px;
  transition: 0.2s;
}

#skipBtn:hover {
  color: var(--term-green);
  border-color: rgba(125, 255, 154, 0.5);
}

.term-body {
  padding: 20px 22px 26px;
  font-family: var(--mono);
  font-size: clamp(12px, 1.55vw, 14px);
  line-height: 1.78;
  min-height: 360px;
  color: #c8d6cc;
  position: relative;
}

#termOut {
  white-space: pre-wrap;
  word-break: break-all;
}

#termOut .g { color: var(--term-green); }
#termOut .o { color: #ff5a1f; }
#termOut .d { color: #55605a; }
#termOut .w { color: #e8f2ea; }
#termOut .a { color: #ffb347; }
#termOut .u { color: #ff5a1f; font-weight: 700; }

#promptRow {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

#promptRow .ps {
  color: #ff5a1f;
  font-weight: 700;
}

#typedPrompt {
  color: #fff;
  font-weight: 600;
}

.caret {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background: var(--term-green);
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}

#sendBtn {
  margin-top: 22px;
  display: none;
  align-items: center;
  gap: 8px;
  background: #ff5a1f;
  color: #fff;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 8px;
  box-shadow: 0 6px 30px rgba(255, 90, 31, 0.35);
  transition: box-shadow 0.2s;
  will-change: transform;
}

#sendBtn.show {
  display: inline-flex;
  animation: pop-in 0.4s var(--ease) both;
}

#sendBtn:hover {
  box-shadow: 0 8px 44px rgba(255, 90, 31, 0.55);
}

/* ---------- 通用按钮 ---------- */
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 99px;
  background: var(--acc);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 10px 40px var(--acc-glow);
  transition: box-shadow 0.3s;
  will-change: transform;
}

.btn-solid:hover {
  box-shadow: 0 14px 60px var(--acc-glow);
}

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 99px;
  border: 1px solid var(--faint-2);
  color: var(--paper);
  font-size: 13.5px;
  transition: border-color 0.25s, background 0.25s;
}

.btn-line:hover {
  border-color: var(--acc);
  background: var(--acc-soft);
}

/* ---------- 徽标 ---------- */
.pill {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  padding: 5px 11px;
  border-radius: 99px;
  backdrop-filter: blur(6px);
}

.pill.live {
  background: rgba(40, 200, 64, 0.14);
  color: var(--ok);
  border: 1px solid rgba(92, 255, 138, 0.35);
}

.pill.live::before {
  content: "● ";
  font-size: 8px;
  vertical-align: 1px;
}

.pill.local {
  background: var(--faint);
  color: var(--dim);
  border: 1px solid var(--faint);
}

.tag {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dim);
  border: 1px solid var(--faint);
  border-radius: 6px;
  padding: 2.5px 9px;
  letter-spacing: 1px;
}

/* ---------- 案例全屏层 ---------- */
#caseRoot {
  position: fixed;
  inset: 0;
  z-index: var(--z-case);
  display: none;
}

#caseRoot.open {
  display: block;
}

.case-mask {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 3, 0.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

#caseRoot.in .case-mask {
  opacity: 1;
}

.case-panel {
  position: absolute;
  inset: clamp(8px, 2.4vh, 26px) clamp(8px, 2.4vw, 26px);
  background: var(--bg2);
  border: 1px solid var(--faint-2);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(6vh) scale(0.97);
  opacity: 0;
  transition: transform 0.55s var(--ease), opacity 0.4s ease;
}

#caseRoot.in .case-panel {
  transform: none;
  opacity: 1;
}

.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px clamp(16px, 3vw, 34px);
  border-bottom: 1px solid var(--faint);
  flex: 0 0 auto;
}

.case-top .crumbs {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-top .crumbs b {
  color: var(--acc);
}

.case-nav-btns {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.case-nav-btns button {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--faint-2);
  color: var(--paper);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}

.case-nav-btns button:hover {
  border-color: var(--acc);
  background: var(--acc-soft);
}

.case-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1 1 auto;
  overscroll-behavior: contain;
}

.case-hero {
  position: relative;
  height: clamp(240px, 44vh, 460px);
  border-bottom: 1px solid var(--faint);
  overflow: hidden;
}

.case-hero canvas {
  width: 100%;
  height: 100%;
}

.case-hero .case-title-blk {
  position: absolute;
  left: clamp(16px, 4vw, 44px);
  bottom: clamp(14px, 3.4vh, 30px);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
  pointer-events: none; /* 别挡实机 iframe 的操作 */
  z-index: 4;
}

.case-hero .case-title-blk .cn {
  font-family: var(--disp);
  font-size: clamp(34px, 5.6vw, 64px);
  font-weight: 900;
  line-height: 1.05;
}

.case-hero .case-title-blk .en {
  font-family: var(--mono);
  color: var(--acc);
  letter-spacing: 0.4em;
  font-size: clamp(11px, 1.4vw, 14px);
  margin-top: 6px;
}

.case-hero .pill {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
}

/* 实机 / 上手玩 双轨切换 */
.case-tabs {
  position: absolute;
  top: 14px;
  left: 16px;
  display: flex;
  gap: 8px;
  z-index: 4;
}

.case-tabs button {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 1px;
  color: var(--dim);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--faint-2);
  border-radius: 99px;
  padding: 7px 14px;
  backdrop-filter: blur(8px);
  transition: 0.2s;
}

.case-tabs button:hover:not(:disabled) {
  color: var(--paper);
  border-color: var(--acc);
}

.case-tabs button.on {
  color: #fff;
  background: var(--acc);
  border-color: var(--acc);
}

.case-tabs button:disabled {
  opacity: 0.5;
  cursor: default;
}

/* ---------- 实机缩微 iframe ---------- */
.live-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  background: #000;
  z-index: 2;
}

.live-frame.ready {
  opacity: 1;
}

.live-frame iframe {
  border: 0;
  transform-origin: 0 0;
  display: block;
  background: #000;
}

/* 案例大屏上的实机可以直接操作 */
.live-frame.case-live {
  pointer-events: auto;
  z-index: 3;
}

/* 卡片上的实机不拦点击（点卡片进案例） */
.cv-wrap .live-frame {
  pointer-events: none;
}

.case-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(22px, 4vw, 56px);
  padding: clamp(22px, 4vw, 44px);
  max-width: 1120px;
}

.case-one {
  font-family: var(--disp);
  font-size: clamp(19px, 2.6vw, 27px);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 18px;
}

.case-one::first-letter {
  color: var(--acc);
}

.case-story p {
  color: var(--dim);
  font-size: 15px;
  line-height: 1.95;
  margin-bottom: 14px;
}

.case-hint {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--acc);
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.case-hint::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--acc);
}

.case-specs {
  border: 1px solid var(--faint);
  border-radius: var(--radius);
  padding: 6px 0;
  background: var(--panel);
  height: fit-content;
}

.case-specs .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  font-size: 13.5px;
}

.case-specs .row + .row {
  border-top: 1px solid var(--faint);
}

.case-specs .row b {
  color: var(--dim);
  font-weight: 400;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  flex: 0 0 auto;
}

.case-specs .row span {
  text-align: right;
}

.case-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.case-pits {
  margin-top: 26px;
  border: 1px dashed var(--faint-2);
  border-radius: var(--radius-s);
  padding: 16px 18px;
  background: var(--acc-soft);
}

.case-pits h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--acc);
  margin-bottom: 10px;
}

.case-pits h5::before {
  content: "⚠ ";
}

.case-pits ul {
  list-style: none;
}

.case-pits li {
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.75;
  padding-left: 16px;
  position: relative;
}

.case-pits li + li {
  margin-top: 7px;
}

.case-pits li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--acc);
  font-weight: 900;
}

.case-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.case-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px clamp(16px, 3vw, 34px) 26px;
  border-top: 1px solid var(--faint);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
}

.case-foot .swi {
  display: flex;
  gap: 10px;
  align-items: center;
}

.case-foot .swi button {
  border: 1px solid var(--faint-2);
  border-radius: 8px;
  padding: 8px 14px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  transition: border-color 0.25s, background 0.25s;
}

.case-foot .swi button:hover {
  border-color: var(--acc);
  background: var(--acc-soft);
}

@media (max-width: 860px) {
  .case-body {
    grid-template-columns: 1fr;
  }
}

/* ---------- 命令面板 ---------- */
#palette {
  position: fixed;
  inset: 0;
  z-index: var(--z-palette);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 14vh 18px 18px;
  background: rgba(4, 3, 2, 0.6);
  backdrop-filter: blur(8px);
}

#palette.open {
  display: flex;
}

.pal-box {
  width: min(560px, 96vw);
  background: var(--bg2);
  border: 1px solid var(--faint-2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 60px var(--acc-soft);
  transform: translateY(-8px) scale(0.98);
  opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.25s;
}

#palette.in .pal-box {
  transform: none;
  opacity: 1;
}

.pal-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--faint);
}

.pal-input-row .ps {
  color: var(--acc);
  font-family: var(--mono);
  font-weight: 700;
}

#palInput {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--paper);
  font-family: var(--sans);
}

#palInput::placeholder {
  color: var(--dim);
}

.pal-esc {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  border: 1px solid var(--faint-2);
  border-radius: 5px;
  padding: 2px 7px;
}

#palList {
  max-height: 46vh;
  overflow-y: auto;
  padding: 8px;
}

.pal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--dim);
  font-size: 14px;
  transition: background 0.15s, color 0.15s;
}

.pal-item .pi-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pal-item .pi-ico {
  width: 22px;
  text-align: center;
  color: var(--acc);
  font-family: var(--mono);
}

.pal-item .pi-kbd {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  opacity: 0.5;
}

.pal-item.on,
.pal-item:hover {
  background: var(--acc-soft);
  color: var(--paper);
}

.pal-empty {
  padding: 26px;
  text-align: center;
  color: var(--dim);
  font-size: 13.5px;
  font-family: var(--mono);
}

.pal-foot {
  display: flex;
  gap: 16px;
  padding: 10px 16px;
  border-top: 1px solid var(--faint);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dim);
  letter-spacing: 1px;
}

/* ---------- Toast / 成就 ---------- */
#toastStack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg2);
  border: 1px solid var(--faint-2);
  border-left: 3px solid var(--acc);
  border-radius: 12px;
  padding: 12px 16px;
  min-width: 240px;
  max-width: 330px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  animation: toast-in 0.45s var(--ease-back) both;
}

.toast.bye {
  animation: toast-out 0.4s ease both;
}

.toast .t-ico {
  font-size: 18px;
  color: var(--acc);
  font-family: var(--mono);
  flex: 0 0 auto;
}

.toast .t-name {
  font-weight: 800;
  font-size: 13.5px;
}

.toast .t-desc {
  color: var(--dim);
  font-size: 12px;
  margin-top: 1px;
}

.toast .t-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: var(--acc);
  margin-bottom: 2px;
}

/* ---------- 键盘提示通用 ---------- */
kbd {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--faint);
  border: 1px solid var(--faint-2);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 1px 6px;
}
