/* G84 四类活动研究页样式（同源静态页，无素材依赖；沿用 progression-ui 视觉基线） */
:root { color-scheme: light; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; margin: 0; background: #f4f5f7; color: #222; }
.wrap { max-width: 860px; margin: 0 auto; padding: 16px; }
header { background: #1f2937; color: #fff; padding: 14px 20px; }
header h1 { font-size: 18px; margin: 0; }
header .sub { font-size: 12px; color: #d1d5db; margin-top: 4px; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 14px 16px; margin-top: 14px; }
.card h2 { font-size: 15px; margin: 0 0 10px; color: #111827; }
.kv { display: grid; grid-template-columns: 120px 1fr; row-gap: 6px; font-size: 14px; }
.kv .k { color: #6b7280; }
.note { background: #fffbeb; border: 1px solid #fcd34d; border-radius: 6px; padding: 10px 12px; font-size: 13px; margin-top: 10px; }
.card .note { margin-top: 10px; }
.row { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; }
select, input[type=number], input[type=search], textarea { padding: 6px 8px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; max-width: 100%; box-sizing: border-box; }
input[type=number] { width: 120px; }
select { max-width: 320px; }
textarea { width: 100%; min-height: 240px; font-family: Consolas, monospace; font-size: 12px; }
button { padding: 6px 16px; border: 0; border-radius: 6px; background: #2563eb; color: #fff; font-size: 14px; cursor: pointer; }
button:disabled { background: #9ca3af; cursor: not-allowed; }
button.ghost { background: #6b7280; }
button.small { padding: 2px 10px; font-size: 12px; }
a { color: #2563eb; font-size: 13px; }
.subhead { font-size: 13px; color: #374151; font-weight: 600; margin-top: 10px; }
.subbox { font-size: 13px; margin-top: 4px; white-space: pre-wrap; word-break: break-word; color: #111827; }
.boxlist { border: 1px solid #e5e7eb; border-radius: 6px; padding: 6px 10px; max-height: 260px; overflow-y: auto; line-height: 1.7; }
.mono { font-family: Consolas, monospace; font-size: 12px; }
.err-box { color: #b91c1c; border: 1px solid #fca5a5; border-radius: 6px; padding: 8px 10px; background: #fef2f2; }
#startResult, #actResult, #setResult, #resetResult { margin-top: 10px; font-size: 13px; white-space: pre-wrap; word-break: break-word; }
#startResult.ok, #actResult.ok, #setResult.ok, #resetResult.ok { color: #047857; }
#startResult.err, #actResult.err, #setResult.err, #resetResult.err { color: #b91c1c; }
#startResult.warn, #actResult.warn, #setResult.warn, #resetResult.warn { color: #b45309; }
#retryBox { display: none; margin-top: 10px; padding: 10px 12px; border: 1px dashed #f59e0b; border-radius: 6px; font-size: 13px; }
#retryDesc { white-space: pre-wrap; word-break: break-word; }
/* dig/puzzle 网格 */
.digGrid { display: grid; gap: 4px; margin-top: 8px; width: max-content; }
.digGrid button { padding: 0; width: 64px; height: 44px; font-size: 12px; line-height: 1.2; }
.digGrid button:disabled { background: #e5e7eb; color: #374151; cursor: default; }
.digGrid button.revealed-treasure { background: #b45309; }
.digGrid button.revealed-danger { background: #b91c1c; }
.digGrid button.revealed-exit { background: #047857; }
.digGrid button.covered { background: #4b5563; color: #f9fafb; }
.digGrid button.target-covered { background: #9ca3af; color: #111827; }
/* 钓鱼 QTE 轨道（HTML/CSS 条，离散游标） */
.fsTrack { position: relative; height: 26px; margin-top: 8px; border: 1px solid #d1d5db; border-radius: 6px; background: #f3f4f6; overflow: hidden; }
.fsZone { position: absolute; top: 0; bottom: 0; opacity: 0.35; }
.fsCursor { position: absolute; top: -1px; bottom: -1px; width: 3px; background: #dc2626; }
.opRow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 3px 0; border-bottom: 1px solid #f3f4f6; font-size: 13px; }
#pzPlacements, #fsOrders, #histList { font-size: 13px; }
