/* =========================================================
 * AK 技能猜谜 · 样式
 * 视觉参考：展会挂出的“打码技能卡”——米白卡纸 + 长尾夹 + 红条
 * ========================================================= */
:root {
  --paper: #f2efe7;
  --paper-2: #e8e4d9;
  --ink: #2b2f36;
  --ink-soft: #5d646e;
  --line: #cfc9ba;
  --accent: #c2453d;
  --accent-2: #b23a33;
  --green: #7fa650;
  --bar: #2f333a;
  --ok: #2f8f5b;
  --bad: #c2453d;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(20, 22, 26, .18), 0 2px 0 rgba(255, 255, 255, .6) inset;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

/* ---------- 设置：字体大小 / 界面倍率 ----------
 * data-font  调 html 的 font-size（所有字号都是 rem，会等比放大）
 * data-scale 调 body 的 zoom（整体界面，包括间距和图标）
 */
html { font-size: 15px; }
html[data-font="s"] { font-size: 13px; }
html[data-font="l"] { font-size: 17px; }
html[data-font="xl"] { font-size: 19px; }

html[data-scale="s"] body { zoom: .9; }
html[data-scale="l"] body { zoom: 1.15; }
html[data-scale="xl"] body { zoom: 1.3; }

body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 50% -10%, #3a3f47 0%, #23262b 55%, #191b1f 100%);
  color: #e9e7e1;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: #9fc6e8; }

/* ---------- 顶栏 ---------- */
.topbar {
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 20px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.logo {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(160deg, #c2453d, #7d2622);
  color: #fff; font-weight: 800; letter-spacing: .5px;
  box-shadow: 0 6px 16px rgba(194, 69, 61, .35);
}
.brand h1 { margin: 0; font-size: 1.3333rem; letter-spacing: .5px; }
.brand p { margin: 2px 0 0; color: #a9adb5; font-size: 0.8333rem; }

.stats { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.topbar-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn.small { padding: 7px 13px; font-size: 0.8667rem; border-radius: 9px; }
/* 顶栏里的「放弃本轮」：低调但可辨，避免误点 */
#giveUpBtn { color: #d8b48a; border-color: rgba(216, 180, 138, .38); }
#giveUpBtn:hover { background: rgba(216, 180, 138, .16); }

/* 生命 */
.stat.hearts-slot { min-width: 0; padding: 6px 14px; }
.hearts { display: flex; align-items: center; gap: 2px; }
.hearts .heart { color: #e8574c; font-size: 1.1333rem; line-height: 1; text-shadow: 0 1px 3px rgba(232, 87, 76, .45); }
.hearts .heart.lost { color: #555a62; text-shadow: none; }
.hearts-label { margin-left: 8px; font-size: 0.7333rem; color: #a9adb5; }
.stat {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  padding: 6px 12px;
  min-width: 78px;
  text-align: center;
}
.stat b { display: block; font-size: 1.1333rem; color: #fff; line-height: 1.2; }
.stat span { font-size: 0.7333rem; color: #a9adb5; }

/* 挑战模式倒计时 */
.stat.cd-slot { border-color: rgba(232, 87, 76, .45); background: rgba(232, 87, 76, .1); }
.stat.cd-slot b { color: #ffb4ad; font-variant-numeric: tabular-nums; }
.stat.cd-slot .cd-unit { font-size: 0.8rem; margin-left: 2px; }
.stat.cd-slot.warn { border-color: rgba(232, 87, 76, .7); background: rgba(232, 87, 76, .2); }
.stat.cd-slot.warn b { color: #ff8b80; }
.stat.cd-slot.danger {
  animation: cdPulse .6s ease-in-out infinite alternate;
  background: rgba(232, 87, 76, .34);
  border-color: #e8574c;
}
.stat.cd-slot.danger b { color: #fff; }
@keyframes cdPulse {
  from { box-shadow: 0 0 0 0 rgba(232, 87, 76, 0); }
  to { box-shadow: 0 0 14px 2px rgba(232, 87, 76, .55); }
}

/* 首页：顶栏不显示局内计数（得分/正确率/连击/生命），
   累计战绩在首屏下方已有完整一份，顶栏也不重复显示 */
.stats.on-home .stat-round,
.stats.on-home .stat-cum,
.stats.on-home .hearts-slot { display: none; }

/* ---------- 难度切换 ---------- */
.diffs {
  max-width: 1080px;
  margin: 14px auto 0;
  padding: 0 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.diffs button {
  flex: 1 1 0;
  min-width: 120px;
  cursor: pointer;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  color: #d7d9dd;
  padding: 10px 8px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: .18s;
  text-align: center;
}
.diffs button em { display: block; font-style: normal; font-size: 0.7333rem; color: #969ba3; margin-top: 2px; }
.diffs button:hover { background: rgba(255, 255, 255, .1); }
.diffs button.on {
  background: linear-gradient(160deg, #f3f0e8, #ded9cc);
  color: #23262b;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
}
.diffs button.on em { color: #6b6455; }

/* ---------- 主区 ---------- */
.stage {
  max-width: 1080px;
  margin: 18px auto 40px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .stage { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 首屏 ---------- */
.start {
  max-width: 1080px;
  margin: 10px auto 40px;
  padding: 0 20px;
}
.start-inner {
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 22px;
  padding: 34px 34px 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
  animation: pop .28s ease-out;
}
.start .kicker {
  margin: 0 0 6px;
  font-size: 0.8333rem;
  letter-spacing: 3px;
  color: #b98a86;
  text-transform: uppercase;
}
/* 首屏顶部的提示条（放弃本轮后回来看本轮结果） */
.start-notice {
  margin: 0 0 14px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(216, 180, 138, .35);
  background: rgba(216, 180, 138, .12);
  color: #e8cfa8;
  font-size: 0.9rem;
  letter-spacing: 0;
}
.start h2 {
  margin: 0 0 12px;
  font-size: 2.2667rem;
  line-height: 1.28;
  letter-spacing: 1px;
  color: #fff;
}
.start .lead {
  margin: 0 0 24px;
  max-width: 620px;
  color: #b9bec6;
  font-size: 0.9667rem;
}
.start .lead b { color: #ff8f85; }

.start-cols {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
@media (max-width: 820px) { .start-cols { grid-template-columns: minmax(0, 1fr); } }

.start-demo .sample-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 12px;
  padding: 16px 16px 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
}
.start-demo .sample-card .desc { margin: 12px 0 0; font-size: 0.9333rem; line-height: 2; }
.start-demo .loading-mini { color: var(--ink-soft); text-align: center; padding: 40px 0; }

.start-rules h3 {
  margin: 0 0 8px;
  font-size: 0.8667rem;
  letter-spacing: 2px;
  color: #8f959d;
  text-transform: uppercase;
}
.start-rules ul { margin: 0 0 18px; padding: 0; list-style: none; }
.start-rules li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .09);
  font-size: 0.9333rem;
  color: #d3d6db;
}
.start-rules li:last-child { border-bottom: none; }
.start-rules li b {
  flex: none;
  width: 46px;
  color: #fff;
  font-weight: 700;
}
.start-rules li span { color: #a9aeb6; font-size: 0.9rem; }
.start-rules ul.plain li { display: block; padding-left: 16px; position: relative; color: #b9bec6; font-size: 0.9rem; }
.start-rules ul.plain li::before {
  content: "·";
  position: absolute; left: 3px; color: #c2453d; font-weight: 800;
}

.start-diffs {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pick-label { font-size: 0.9rem; color: #a9aeb6; flex: none; }
.diffs.big { flex: 1; margin: 0; padding: 0; max-width: none; }
.diffs.big button { min-width: 130px; padding: 13px 10px; font-size: 1rem; }
.start .foot-note { margin: 18px 0 0; font-size: 0.8rem; color: #7d838c; }

/* 首屏底部的累计战绩 + 清除按钮 */
.start-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.cum-text { font-size: 0.8667rem; color: #a9aeb6; }
.cum-text b { color: #fff; font-weight: 700; }

/* 各难度最高分 */
.best-list {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, .09);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.best-list .best-title {
  font-size: 0.8rem;
  color: #8b9099;
  letter-spacing: 1px;
  margin-right: 2px;
}
.best-chip {
  font-size: 0.8667rem;
  color: #d7d9dd;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 9px;
  padding: 4px 11px;
}
.best-chip b { color: #ffd479; font-weight: 700; margin-left: 2px; }
.best-chip.empty { color: #7d838c; }
.best-chip.empty b { color: #6b7178; font-weight: 400; }

.new-record { color: #ffd479; }

/* 上一次作答记录 */
.last-round {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.last-round-text { font-size: 0.8667rem; color: #a9aeb6; }
.last-round-text b { color: #fff; }

.history-card { width: min(620px, 100%); text-align: left; }
.history-card h2 { text-align: center; }
.history-summary { margin-bottom: 14px; }
.history-empty { margin: 10px 0; font-size: 0.9333rem; color: #9aa0a8; text-align: center; }
.history-meta { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 10px; }
.history-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 8px;
}
.history-stat {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  padding: 8px 4px;
  text-align: center;
}
.history-stat b { display: block; font-size: 1.0667rem; color: #fff; }
.history-stat span { font-size: 0.7333rem; color: #a9adb5; }

.history-list { max-height: 46vh; overflow: auto; padding-right: 4px; }
.history-list-title { font-size: 0.8rem; color: #8b9099; margin: 4px 0 8px; letter-spacing: 1px; }
.history-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  margin-bottom: 6px;
}
.history-item.ok { border-color: rgba(47, 143, 91, .45); }
.history-item.bad { border-color: rgba(194, 69, 61, .45); }
.hist-idx {
  flex: none; width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, .1);
  font-size: 0.7333rem; color: #c9ccd2;
}
.hist-mark { flex: none; font-size: 0.9333rem; font-weight: 700; }
.history-item.ok .hist-mark { color: #4fbf85; }
.history-item.bad .hist-mark { color: #e8574c; }
.hist-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hist-main b { font-size: 0.9333rem; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hist-op { font-size: 0.7333rem; color: #9aa0a8; }
.hist-hint { flex: none; font-size: 0.7333rem; color: #d8b48a; }
.hist-pts { flex: none; font-size: 0.8rem; color: #ffd479; font-weight: 700; }
.btn.danger {
  background: rgba(194, 69, 61, .22);
  border-color: rgba(194, 69, 61, .7);
  color: #ffd9d5;
}
.btn.danger:hover { background: rgba(194, 69, 61, .34); }
.over-reset { margin-top: 10px; }

/* ---------- 结算 ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 14, 17, .72);
  backdrop-filter: blur(6px);
  animation: pop .2s ease-out;
}
/* hidden 属性必须真的隐藏。
   .stage / .diffs 等元素自己设了 display:grid/flex，会覆盖浏览器对 [hidden]
   的默认 display:none —— 那样首屏加载完之前游戏区会露出来一闪。 */
[hidden] { display: none !important; }

.over-card {
  width: min(520px, 100%);
  background: linear-gradient(180deg, #2b3038, #22262c);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  padding: 30px 30px 24px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
  max-height: calc(100vh - 48px);
  overflow: auto;
}

/* ---------- 设置面板 ---------- */
.settings-card { width: min(560px, 100%); text-align: left; }
.settings-card h2 { text-align: center; }
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .12);
}
.setting-label b { display: block; font-size: 0.9667rem; color: #fff; }
.setting-label span { display: block; font-size: 0.8rem; color: #9aa0a8; margin-top: 2px; }
.seg { display: flex; gap: 6px; flex: none; }
.seg button {
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8667rem;
  color: #d7d9dd;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 9px;
  padding: 7px 13px;
  transition: .15s;
}
.seg button:hover { background: rgba(255, 255, 255, .12); }
.seg button.on {
  background: linear-gradient(160deg, #f3f0e8, #ded9cc);
  color: #23262b;
  border-color: transparent;
  font-weight: 700;
}
.settings-preview {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
}
.settings-preview .kicker { color: #a08d7a; margin: 0 0 6px; letter-spacing: 2px; }
.preview-desc { margin: 0 0 12px; font-size: 1rem; line-height: 1.9; }
.preview-desc b { color: #b23a33; }
.settings-note { margin: 14px 0 0; font-size: 0.8rem; color: #8b9099; text-align: center; min-height: 1.2em; }
.over-card .kicker { margin: 0 0 4px; font-size: 0.8rem; letter-spacing: 3px; color: #b98a86; }
.over-card h2 { margin: 0 0 18px; font-size: 1.8667rem; color: #fff; letter-spacing: 1px; }
.over-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.over-stat {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  padding: 10px 4px;
}
.over-stat b { display: block; font-size: 1.2667rem; color: #fff; }
.over-stat span { font-size: 0.7333rem; color: #a9adb5; }
.over-best {
  font-size: 0.8333rem;
  color: #a9aeb6;
  margin-bottom: 20px;
}
.over-best b { color: #ffd479; }
.actions.center { justify-content: center; }
.verdict .dim { color: #8b9099; }

/* ---------- 卡片 ---------- */
/* 顶部留出夹子的空间：夹子 94px 高，其中上面 74px 在卡片外面，只让夹身下缘压住卡片上沿 */
.card-shell { position: relative; padding-top: 74px; }

.clip {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 46px; height: 94px;
  z-index: 3;
  filter: drop-shadow(0 6px 7px rgba(0, 0, 0, .38));
}
/* 夹身 */
.clip i {
  position: absolute; left: 0; right: 0; bottom: 0; height: 40px;
  border-radius: 5px 5px 7px 7px;
  background:
    linear-gradient(90deg, #b9a647 0%, #d9c86a 12%, #f2e596 34%, #ded182 52%, #c9b657 74%, #a89a3f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}
/* 两个金属长尾环 */
.clip::before, .clip::after {
  content: ""; position: absolute; top: 0;
  width: 19px; height: 62px;
  border: 3px solid #b9bdc4;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(90deg, #8e939b 0%, #eef1f5 42%, #c3c8cf 62%, #9aa0a8 100%);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, .7);
}
.clip::before { left: 3px; }
.clip::after { right: 3px; }
/* 环与夹身衔接处的一点高光 */
.clip i::before {
  content: "";
  position: absolute; left: 6px; right: 6px; top: -1px; height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .5);
}

.card {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: 10px;
  padding: 30px 20px 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 372px;
}
.card::after { /* 卡纸纹理 */
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    radial-gradient(rgba(0, 0, 0, .045) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
  background-position: 0 0, 3px 4px;
}
.card > * { position: relative; z-index: 1; }

.card .loading { color: var(--ink-soft); text-align: center; padding: 60px 0; }

.card .row-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #fff;
  font-size: 0.8rem;
  padding: 2px 9px;
  border-radius: 4px;
  letter-spacing: .5px;
}

.card .head {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
  padding-right: 6px;
}
.card .head .chip.dim { color: #8b8577; border-style: dashed; }

/* 技能图标（简单难度） */
.card .card-row { display: flex; gap: 14px; align-items: flex-start; }
.card .card-main { flex: 1; min-width: 0; }
.card .icon-wrap {
  flex: none;
  width: 76px; height: 76px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #3a3f47, #22252a);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .22), 0 0 0 3px rgba(255, 255, 255, .5);
}
.card .icon-wrap img {
  width: 60px; height: 60px;
  border-radius: 10px;
  display: block;
}
.reveal .ans-head img.ans-icon {
  width: 46px; height: 46px;
  border-radius: 8px;
  background: rgba(0, 0, 0, .06);
  flex: none;
}

.card .desc {
  margin: 14px 0 0;
  font-size: 1.0333rem;
  line-height: 2.1;
  word-break: break-word;
}
.card .desc .sp { white-space: pre-wrap; }

/* 打码条（连续字符会合并成一条，视觉上更接近原图的红/黑条） */
.sp.masked {
  display: inline-block;
  min-width: 1.05em;
  height: 1.15em;
  vertical-align: -0.18em;
  margin: 0 1px;
  border-radius: 2px;
  background: var(--bar);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .25), 0 0 6px rgba(47, 51, 58, .35);
  position: relative;
  overflow: hidden;
}
.sp.masked::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 6px, transparent 6px 12px);
}
.sp.masked.wide { min-width: 3.2em; }

.card .meta {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.chip {
  font-size: 0.7667rem;
  color: #4b4f57;
  background: rgba(0, 0, 0, .045);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
}
.chip b { font-weight: 700; color: #23262b; }

/* 题目里给出的技能标签：充能 / 永续 / 可手动停止 / 弹药 */
.chip.tag {
  color: #2a566f;
  background: rgba(42, 86, 111, .1);
  border-color: rgba(42, 86, 111, .3);
}
.chip.tag b { color: #22485d; }
.chip.tag.plain b { font-weight: 600; }

.card .hintline {
  margin-top: 14px;
  font-size: 0.8333rem;
  color: #8b8577;
}
.card .hintline b { color: #6d675a; }

/* 提示按钮条 */
.card .hintbar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.card .hintbar .btn {
  font-family: inherit;
  cursor: pointer;
  border-radius: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(178, 58, 51, .45);
  background: rgba(178, 58, 51, .08);
  color: #9b3b34;
  font-weight: 600;
}
.card .hintbar .btn:hover:not(:disabled) { background: rgba(178, 58, 51, .16); }
.card .hintbar .btn:disabled {
  cursor: default;
  border-color: var(--line);
  background: rgba(0, 0, 0, .04);
  color: #9a9384;
  font-weight: 400;
}
.card .hintbar .hint-cost { font-size: 0.7667rem; color: #9a9384; }

/* 本轮累计用时（一直走动，跨题不重置） */
.card .qtime {
  margin-top: 12px;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .05);
  border: 1px solid var(--line);
}
.card .qtime .qtime-label { font-size: 0.8rem; color: #8b8577; }
.card .qtime b {
  font-size: 1.0667rem;
  font-weight: 700;
  color: #4a463d;
  font-variant-numeric: tabular-nums;
}
.card .qtime .qtime-unit { font-size: 0.8rem; color: #8b8577; }
.card .qtime .qtime-sep { color: #b9b2a3; }
.card .qtime b.step { color: #8a6a3a; }
.card .qtime.slow {
  background: rgba(200, 120, 40, .14);
  border-color: rgba(200, 120, 40, .5);
}
.card .qtime.slow b { color: #a05a1c; }
.card .qtime.slow .qtime-label { color: #a05a1c; }

/* 被提示揭示出来的内容：用暖色底标出来，和原文区分 */
.card .desc .sp.revealed {
  background: rgba(214, 168, 74, .28);
  border-radius: 3px;
  box-shadow: inset 0 -2px 0 rgba(178, 128, 40, .45);
  padding: 0 1px;
}

/* 答案揭晓 */
.reveal {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.reveal .ans-head { display: flex; align-items: center; gap: 12px; }
.reveal .ans-head img { width: 46px; height: 46px; border-radius: 8px; background: rgba(0, 0, 0, .06); }
.reveal .ans-op { font-size: 0.8667rem; color: #5a5f68; font-weight: 600; }
.reveal .ans-skill {
  font-size: 1.3333rem;
  font-weight: 800;
  letter-spacing: .5px;
  color: #16191e;
}
.reveal .full {
  margin-top: 12px;
  font-size: 0.9333rem;
  line-height: 1.95;
  color: #23272e;
  background: #fffdf8;
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 11px 13px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .07);
}
.reveal .full .t7 { display: block; }

/* ---------- 右侧面板 ---------- */
.panel {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 18px;
  backdrop-filter: blur(6px);
}
.panel h2 {
  margin: 0 0 4px;
  font-size: 1rem;
  letter-spacing: .5px;
  color: #fff;
}
.panel .sub { color: #a2a6ae; font-size: 0.8333rem; margin: 0 0 14px; }

.opts { display: grid; gap: 9px; }
.opt {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  color: #eceef1;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  padding: 11px 14px;
  transition: .15s;
}
.opt .idx {
  width: 22px; height: 22px; flex: none;
  display: grid; place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, .1);
  font-size: 0.8rem; color: #c9ccd2;
}
.opt:hover:not(:disabled) { background: rgba(255, 255, 255, .12); transform: translateX(2px); }
.opt:disabled { cursor: default; }
.opt.pick { background: rgba(194, 69, 61, .22); border-color: rgba(194, 69, 61, .6); }
.opt.ok { background: rgba(47, 143, 91, .22); border-color: rgba(47, 143, 91, .7); }
.opt.bad { background: rgba(194, 69, 61, .18); border-color: rgba(194, 69, 61, .5); opacity: .75; }

.opts.skills .opt { font-size: 0.9667rem; padding: 10px 14px; }
/* 困难第二步的「技能序号」提示：在技能名右侧标出它是该干员的第几个技能。
   用琥珀色和虚线框，和「答案」区分开——它只是辅助信息。 */
.opts.skills .opt.has-ordinal { justify-content: flex-start; }
.opts.skills .opt .ordinal {
  margin-left: auto;
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 200, 120, .55);
  background: rgba(255, 190, 90, .12);
  color: #ffd08a;
  font-size: 0.7333rem;
  white-space: nowrap;
}

/* 地狱模式第二步的「只有一次机会」提示 */
.panel .warn { color: #ffb8b1; font-size: 0.8333rem; }

.hellbox { display: grid; gap: 10px; }
.hellbox input {
  width: 100%;
  font-family: inherit;
  font-size: 1.1333rem;
  letter-spacing: 1px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .25);
  color: #fff;
  outline: none;
}
.hellbox input:focus { border-color: rgba(159, 198, 232, .7); box-shadow: 0 0 0 3px rgba(159, 198, 232, .15); }
.hellbox input.good { border-color: rgba(47, 143, 91, .9); background: rgba(47, 143, 91, .18); }
.hellbox input.bad { border-color: rgba(194, 69, 61, .9); background: rgba(194, 69, 61, .14); }
.hellbox input:disabled { opacity: .85; }
.slots { display: flex; gap: 6px; flex-wrap: wrap; }
.slot {
  width: 30px; height: 34px;
  display: grid; place-items: center;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  color: #d9dce1;
}
.slot.open { background: rgba(159, 198, 232, .18); border-color: rgba(159, 198, 232, .5); color: #fff; }
.slot.filled { background: rgba(47, 143, 91, .2); border-color: rgba(47, 143, 91, .55); color: #d6f5e2; }
.slot.bad { background: rgba(194, 69, 61, .22); border-color: rgba(194, 69, 61, .6); color: #ffe3e0; }

.actions { display: flex; gap: 9px; margin-top: 14px; flex-wrap: wrap; }
.btn {
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9333rem;
  border-radius: 11px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  color: #eef0f3;
  transition: .15s;
}
.btn:hover:not(:disabled) { background: rgba(255, 255, 255, .16); }
.btn.primary {
  background: linear-gradient(160deg, #c2453d, #8e2b26);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(194, 69, 61, .3);
}
.btn.primary:hover:not(:disabled) { filter: brightness(1.08); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: transparent; }

.verdict {
  margin-top: 14px;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.9333rem;
  border: 1px solid transparent;
}
.verdict.good { background: rgba(47, 143, 91, .16); border-color: rgba(47, 143, 91, .45); }
.verdict.bad { background: rgba(194, 69, 61, .16); border-color: rgba(194, 69, 61, .45); }
.verdict b { color: #fff; }
.verdict .small { display: block; font-size: 0.8333rem; color: #b9bec6; margin-top: 4px; }

/* ---------- 页脚 ---------- */
.foot {
  max-width: 1080px;
  margin: 0 auto 40px;
  padding: 0 20px;
  color: #7d838c;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* 结算小动画 */
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.pop { animation: pop .18s ease-out; }

/* =========================================================
 * 普瑞赛斯 / 明日方舟风格装饰
 * 白线框菱形、细描边、切角、扫描纹理
 * ========================================================= */
:root {
  --pr-line: rgba(226, 234, 245, .5);
  --pr-line-soft: rgba(226, 234, 245, .22);
  --pr-glow: rgba(150, 200, 235, .5);
  --pr-cyan: #9fd0ea;
}

/* 菱形线框（由两个旋转 45 度的方块拼成的白描边菱形） */
.diamond {
  width: 10px; height: 10px; flex: none;
  border: 1px solid var(--pr-line);
  transform: rotate(45deg);
}
.diamond.solid { background: var(--pr-line); }
.diamond.lg { width: 14px; height: 14px; }

/* 首页大卡片：四角切角 + 细白线 */
.start-card { position: relative; }
.start-card::before, .start-card::after {
  content: ''; position: absolute; width: 16px; height: 16px;
  border: 1px solid var(--pr-line-soft); pointer-events: none;
}
.start-card::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.start-card::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

/* 难度按钮：左上角小菱形 */
.diffs button { position: relative; }
.diffs button::before {
  content: ''; position: absolute; top: 8px; left: 8px;
  width: 6px; height: 6px;
  border: 1px solid var(--pr-line-soft);
  transform: rotate(45deg);
  transition: background .18s, border-color .18s;
}
.diffs button.on::before { background: var(--pr-line); border-color: var(--pr-line); }

/* 技能卡片：右侧白色刻度线 */
.card-shell { position: relative; }
.card-shell::after {
  content: ''; position: absolute; top: 14px; bottom: 14px; right: -9px;
  width: 1px; background: linear-gradient(180deg,
    transparent, var(--pr-line-soft) 18%, var(--pr-line-soft) 82%, transparent);
  pointer-events: none;
}

/* 顶栏统计格：加一条细白边与切角 */
.stat { position: relative; }
.stat::after {
  content: ''; position: absolute; right: 4px; top: 4px;
  width: 5px; height: 5px;
  border-top: 1px solid var(--pr-line-soft);
  border-right: 1px solid var(--pr-line-soft);
  pointer-events: none;
}

/* 标题前的菱形装饰 */
h2::before, .start-lead::before {
  content: ''; display: inline-block;
  width: 7px; height: 7px; margin-right: 9px;
  background: var(--pr-line);
  transform: rotate(45deg) translateY(-1px);
  vertical-align: middle;
}
.over-card h2 { text-align: center; }
.over-card h2::before { display: none; }
/* 首屏大标题是多行的：菱形用绝对定位挂在行首左侧，避免把第一行顶下去 */
.start-inner h2 { position: relative; }
.start-inner h2::before { position: absolute; left: -19px; top: .46em; margin: 0; }

/* 分隔线：中间一个小菱形 */
.start-rules h3, .history-list-title, .best-title { display: flex; align-items: center; gap: 8px; }
.start-rules h3::after, .history-list-title::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--pr-line-soft), transparent);
}

/* 按钮：hover 时描边发亮 */
.btn { position: relative; transition: border-color .18s, box-shadow .18s, background .18s; }
.btn.ghost:hover { border-color: var(--pr-line); box-shadow: 0 0 0 1px var(--pr-line-soft) inset; }

/* 生命心形：改用菱形方块，更贴合风格 */
.hearts { gap: 5px; }
.hearts .heart {
  font-size: 0 !important;
  width: 11px; height: 11px;
  background: var(--accent);
  transform: rotate(45deg);
  border-radius: 0;
  box-shadow: 0 0 8px rgba(194, 69, 61, .55);
  transition: background .2s, box-shadow .2s, opacity .2s;
}
.hearts .heart.lost {
  background: transparent;
  border: 1px solid rgba(160, 168, 178, .5);
  box-shadow: none;
}

/* =========================================================
 * 提示条（toast）
 * ========================================================= */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 12px);
  z-index: 90;
  max-width: min(560px, calc(100vw - 40px));
  padding: 11px 18px;
  background: rgba(24, 27, 32, .96);
  border: 1px solid rgba(226, 234, 245, .28);
  color: #e8edf4;
  font-size: 0.9rem; line-height: 1.5;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
  opacity: 0; transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; margin-right: 9px;
  background: var(--pr-line); transform: rotate(45deg) translateY(-1px);
}

/* =========================================================
 * 血量告急：屏闪
 * ========================================================= */
.redflash {
  position: fixed; inset: 0; z-index: 80; pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 42%, rgba(196, 42, 36, .30) 100%),
    linear-gradient(0deg, rgba(196, 42, 36, .12), rgba(196, 42, 36, .12));
}
.redflash.flash { animation: redPulse .30s ease-out; }
.redflash.flash.heavy { animation: redPulseHeavy .42s ease-out; }
@keyframes redPulse {
  0% { opacity: 0; }
  18% { opacity: .85; }
  100% { opacity: 0; }
}
@keyframes redPulseHeavy {
  0% { opacity: 0; }
  14% { opacity: 1; }
  45% { opacity: .25; }
  62% { opacity: .8; }
  100% { opacity: 0; }
}

/* 血量低时在随机位置弹出的红色小字（弹出 → 停留 → 渐隐）
   用 animation 做「弹出-渐隐」，但不依赖它保证可见：
   keyframe 里 opacity 从 0 起、到 0 落，中间是实心，属于一次性效果。 */
.priestess-float {
  position: fixed; inset: 0;
  z-index: 190;
  pointer-events: none;
  overflow: hidden;
}
.priestess-float .pf {
  position: absolute;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: .5px;
  color: #ff6a5e;
  text-shadow: 0 0 10px rgba(255, 70, 56, .55), 0 1px 2px rgba(0, 0, 0, .6);
  opacity: 0;
  animation: pfPop 2s ease-out forwards;
  will-change: transform, opacity;
}
/* 右侧小菱形，呼应普瑞赛斯线框元素 */
.priestess-float .pf::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  margin-left: 7px;
  border: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .85;
}
@keyframes pfPop {
  0% { opacity: 0; transform: translateY(7px) scale(.9) rotate(var(--pf-tilt, 0deg)); }
  18% { opacity: 1; transform: translateY(0) scale(1.04) rotate(var(--pf-tilt, 0deg)); }
  62% { opacity: 1; transform: translateY(-2px) scale(1) rotate(var(--pf-tilt, 0deg)); }
  100% { opacity: 0; transform: translateY(-12px) scale(.98) rotate(var(--pf-tilt, 0deg)); }
}

/* 夸奖：同一条「？？？」提示框，但换成金色肯定语气 */
.priestess .pr-tag,
.priestess .pr-mark { transition: color .3s, border-color .3s, box-shadow .3s; }
.priestess.praise { border-left-color: #ffd479; border-color: rgba(255, 212, 121, .4); }
.priestess.praise .pr-tag { color: #ffd479; border-color: rgba(255, 212, 121, .5); }
.priestess.praise .pr-mark { border-color: #ffd479; box-shadow: 0 0 12px rgba(255, 212, 121, .6); }
.priestess.praise .pr-text { color: #ffe9b8; text-shadow: 0 0 14px rgba(255, 200, 90, .35); }

/* 夸奖的金色小字（与低血量红字同款动画，仅换色） */
.priestess-float .pf.praise {
  color: #ffd479;
  text-shadow: 0 0 12px rgba(255, 190, 70, .6), 0 1px 2px rgba(0, 0, 0, .6);
}

/* =========================================================
 * 血量归零演出：黑屏 → 红字堆满 → 全红 → 淡出
 * ========================================================= */
.deathsceen {
  position: fixed; inset: 0;
  z-index: 300;
  pointer-events: none;      /* 演出期间不拦点击，键盘仍可用 */
  background: #000;
  opacity: 0;
  transition: opacity .5s ease;
}
.deathsceen[hidden] { display: none !important; }
.deathsceen.dark { opacity: 1; }
/* 全红阶段：整屏红，红字仍在往外堆 */
.deathsceen.flood {
  background: radial-gradient(120% 100% at 50% 50%, #c81f16 0%, #8e0f09 55%, #560603 100%);
}
/* 淡出（露出下面的结算界面） */
.deathsceen.out { opacity: 0; transition: opacity .65s ease; }

.death-words { position: absolute; inset: 0; overflow: hidden; }
.death-words .dw {
  position: absolute;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: .5px;
  color: #ff5a4c;
  text-shadow: 0 0 14px rgba(255, 60, 45, .75);
  opacity: 0;
  animation: dwIn .95s ease-out forwards;
  will-change: transform, opacity;
}
/* 全红之后红字要更亮，才能看清 */
.deathsceen.flood .death-words .dw {
  color: #ffe2dd;
  text-shadow: 0 0 16px rgba(255, 255, 255, .5), 0 0 30px rgba(255, 90, 70, .8);
}
.death-words .dw.big { font-weight: 800; }
@keyframes dwIn {
  0% { opacity: 0; transform: translateY(10px) scale(.86) rotate(var(--dw-tilt, 0deg)); }
  22% { opacity: 1; transform: translateY(0) scale(1.06) rotate(var(--dw-tilt, 0deg)); }
  70% { opacity: .95; transform: translateY(-3px) scale(1) rotate(var(--dw-tilt, 0deg)); }
  100% { opacity: 0; transform: translateY(-16px) scale(.98) rotate(var(--dw-tilt, 0deg)); }
}
/* 演出期间锁住页面滚动，避免黑屏下还能滑 */
body.dying { overflow: hidden; }

/* =========================================================
 * 排行榜（可选功能，未配置 Supabase 时入口隐藏）
 * ========================================================= */
.board-entry { margin: 10px 0 4px; text-align: center; }

.board-submit {
  margin: 10px 0 2px;
  padding: 10px 12px;
  border: 1px solid var(--pr-line, rgba(255, 255, 255, .18));
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
}
.board-submit .bs-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bs-input {
  flex: 1 1 120px;
  min-width: 0;
  padding: 8px 10px;
  font: inherit;
  font-size: .92rem;
  color: inherit;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
}
.bs-input:focus { outline: none; border-color: #ffd479; }
.bs-note { margin: 8px 0 0; font-size: .8rem; opacity: .75; }

.board-card { max-width: 520px; }
.board-tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 4px 0 12px; }
.board-tabs .btab {
  padding: 5px 12px;
  font: inherit;
  font-size: .85rem;
  color: inherit;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  cursor: pointer;
}
.board-tabs .btab:hover { border-color: rgba(255, 212, 121, .6); }
.board-tabs .btab.on { color: #1b1b1b; background: #ffd479; border-color: #ffd479; font-weight: 700; }

.board-list { max-height: 46vh; overflow-y: auto; }
.board-msg { margin: 18px 0; text-align: center; font-size: .9rem; opacity: .75; }
/* 恶意刷分封禁：只在排行榜入口显示红字，**不遮挡游戏**。
   被封者仍能正常玩，只是无法查看榜单、无法提交成绩（类似本地模式）。 */
.board-entry.banned { display: block; }
.board-entry .btn.banned,
.board-entry .btn.banned:hover,
.board-entry .btn.banned:disabled {
  color: #e5484d;
  border-color: rgba(229, 72, 77, .55);
  background: rgba(229, 72, 77, .08);
  cursor: not-allowed;
  opacity: 1;
  text-shadow: 0 0 12px rgba(229, 72, 77, .35);
  animation: banPulse 2.6s ease-in-out infinite;
  white-space: normal;
  text-align: center;
  line-height: 1.5;
  max-width: 100%;
}
@keyframes banPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}
.board-ban-tip {
  margin: 6px 0 0;
  font-size: .72rem;
  color: #9a9384;
  text-align: center;
}
/* 被封禁时的「出去转转」按钮：低调一点，不跟红色警告抢视线 */
.ban-go {
  display: block;
  margin: 10px auto 0;
  opacity: .78;
  border-style: dashed;
}
.ban-go:hover { opacity: 1; }
.board-submit .ban-go { margin: 10px 0 0; }   /* 结算页里是左对齐 */
/* 结算页提交区：被封禁时整块变红 */
.board-submit.banned { border-color: rgba(229, 72, 77, .35); }
.board-submit .bs-note.ban {
  color: #e5484d;
  font-weight: 600;
  text-shadow: 0 0 12px rgba(229, 72, 77, .3);
}
/* 离线提示：比普通消息更显眼一点，让玩家一眼看出是网络问题 */
.board-msg.offline {
  color: #ffb84d;
  opacity: 1;
  font-weight: 600;
}
/* 离线时首页的排行榜入口按钮也做个区分 */
.board-entry .btn.offline {
  color: #ffb84d;
  border-color: rgba(255, 184, 77, .5);
}
.brow {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: .92rem;
}
.brow.top { background: rgba(255, 212, 121, .07); }
.brank { flex: 0 0 30px; text-align: center; font-weight: 700; opacity: .9; }
.bname { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bmeta { flex: 0 0 auto; font-size: .78rem; opacity: .65; }
.bpts { flex: 0 0 auto; min-width: 44px; text-align: right; color: #ffd479; }
.board-foot { margin: 10px 0 0; text-align: center; font-size: .78rem; opacity: .6; }
/* 固定说明：这榜是娱乐性质的，成绩没有服务端校验。
   用虚线框和更低的对比度，明确它是「备注」而不是状态。 */
.board-note {
  margin: 10px auto 0;
  padding: 6px 10px;
  max-width: 92%;
  text-align: center;
  font-size: .76rem;
  line-height: 1.5;
  opacity: .55;
  border-top: 1px dashed rgba(255, 255, 255, .14);
}

/* =========================================================
 * 普瑞赛斯旁白
 * ========================================================= */
/* 普瑞赛斯旁白：固定在右上角，像系统提示，不遮挡卡片与选项。
   注意：不能只靠 animation 的 forwards 来保证可见（动画不触发时会停在 opacity:0）；
   这里 .show 直接把终值写死，animation 只负责入场位移。 */
.priestess {
  position: fixed; right: 20px; top: 78px;
  z-index: 200; pointer-events: none;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  width: min(380px, calc(100vw - 40px));
  padding: 14px 16px;
  background: linear-gradient(180deg, #12151b, #0c0f14);
  border: 1px solid rgba(159, 208, 234, .36);
  border-left: 3px solid var(--pr-cyan);
  border-radius: 3px;
  box-shadow: 0 0 26px rgba(120, 180, 220, .2), 0 14px 34px rgba(0, 0, 0, .5);
  opacity: 0;
}
.priestess.show { opacity: 1; animation: prIn .5s ease; }
@keyframes prIn {
  from { transform: translateY(-8px); }
  to { transform: translateY(0); }
}
.priestess .pr-mark {
  width: 9px; height: 9px; flex: none;
  border: 1px solid var(--pr-cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--pr-glow);
  animation: prSpin 3.2s linear infinite;
}
@keyframes prSpin {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}
.priestess .pr-text {
  flex: 1; min-width: 0;
  font-size: 0.98rem; line-height: 1.6; color: #d8e6f2;
  letter-spacing: .4px;
  text-shadow: 0 0 12px rgba(140, 190, 225, .25);
}
/* PRTS 徽标：做成 flex 里的第一项，不会被裁切 */
.priestess .pr-tag {
  flex: none; order: -1;
  padding: 1px 7px;
  font-size: 0.62rem; letter-spacing: 2px;
  color: var(--pr-cyan);
  border: 1px solid rgba(159, 208, 234, .38);
  border-radius: 2px;
}

/* 首页「继续答题」条 */
.resume-text { font-size: 0.8667rem; color: #cdd6e0; }
.resume-text b { color: #fff; }

/* 锁定的难度按钮 */
.diffs button.locked { opacity: .42; cursor: not-allowed; }
.diffs button.locked::before { border-color: rgba(226, 234, 245, .3); }
