/* Generated replica of https://zaffre-frost-94725347.figma.site */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #fff; font-family: "Inter", system-ui, sans-serif; }
.canvas { position: relative; margin: 0 auto; }
.nav-link { text-decoration: none; }
.nav-active { cursor: default; }
.line { position: absolute; }
.wordcloud { position: absolute; }
.wordcloud canvas { width: 100%; height: 100%; display: block; }
/* 数据绑定(databind.mjs):结果面板 + 采集表单 */
.databind { position: absolute; font-family: "Inter", system-ui, sans-serif; }
.databind .db-body { width: 100%; height: 100%; }
.databind .db-body canvas { width: 100%; height: 100%; display: block; }
.databind .db-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; line-height: 1.4; }
.databind .db-label { flex: 0 0 auto; min-width: 4em; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.databind .db-track { flex: 1 1 auto; height: 8px; background: rgba(0,0,0,.08); border-radius: 4px; overflow: hidden; }
.databind .db-fill { height: 100%; background: #2563eb; border-radius: 4px; transition: width .3s ease; }
.databind .db-count { flex: 0 0 auto; min-width: 2.5em; text-align: right; color: #475569; font-variant-numeric: tabular-nums; }
.databind .db-num { font-size: 42px; font-weight: 700; line-height: 1.1; color: #0f172a; }
.databind .db-unit { font-size: 14px; font-weight: 400; margin-left: 4px; color: #64748b; }
.databind .db-item { font-size: 13px; line-height: 1.6; padding: 2px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.databind .db-empty { font-size: 13px; color: #94a3b8; }
.databind .db-note { font-size: 12px; margin-top: 4px; color: #64748b; }
.databind .db-note.db-ok { color: #16a34a; }
.databind .db-note.db-err { color: #b91c1c; }
.databind .db-form { display: flex; gap: 6px; margin-top: 8px; pointer-events: auto; }
.databind .db-input { flex: 1 1 auto; min-width: 0; padding: 6px 8px; font-size: 13px; border: 1px solid #cbd5e1; border-radius: 6px; font-family: inherit; }
.databind .db-btn { flex: 0 0 auto; padding: 6px 12px; font-size: 13px; border: 0; border-radius: 6px; background: #2563eb; color: #fff; cursor: pointer; font-family: inherit; }
.databind .db-btn:hover { background: #1d4ed8; }
/* 组件变体轮播(SWAP_STATE):非当前变体隐藏。用属性选择器而不是内联 display ——
   文本节点靠内联 display:flex 排版,直接改 style.display 会把排版弄散。 */
[data-swap-off] { display: none !important; }
[data-swap-to] { cursor: pointer; }

@font-face {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  src: url(fonts/Inter_1.woff2) format('woff2');
}

.canvas {
  width: 1280px !important;
  max-width: none !important;
  transform: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  zoom: 1 !important;
}
body { overflow-x: hidden; }
@media (max-width: calc(1280px * 0.96)) { .canvas { zoom: 0.92 !important; } }
@media (max-width: calc(1280px * 0.92)) { .canvas { zoom: 0.88 !important; } }
@media (max-width: calc(1280px * 0.88)) { .canvas { zoom: 0.84 !important; } }
@media (max-width: calc(1280px * 0.84)) { .canvas { zoom: 0.80 !important; } }
@media (max-width: calc(1280px * 0.80)) { .canvas { zoom: 0.75 !important; } }
@media (max-width: calc(1280px * 0.75)) { .canvas { zoom: 0.70 !important; } }
@media (max-width: calc(1280px * 0.70)) { .canvas { zoom: 0.65 !important; } }
@media (max-width: calc(1280px * 0.65)) { .canvas { zoom: 0.60 !important; } }
@media (max-width: calc(1280px * 0.60)) { .canvas { zoom: 0.55 !important; } }
@media (max-width: calc(1280px * 0.55)) { .canvas { zoom: 0.50 !important; } }
@media (max-width: calc(1280px * 0.50)) { .canvas { zoom: 0.45 !important; } }
@media (max-width: calc(1280px * 0.45)) { .canvas { zoom: 0.40 !important; } }
@media (max-width: calc(1280px * 0.40)) { .canvas { zoom: 0.35 !important; } }
@media (max-width: calc(1280px * 0.35)) { .canvas { zoom: 0.30 !important; } }
@media (max-width: calc(1280px * 0.30)) { .canvas { zoom: 0.25 !important; } }
@media (max-width: calc(1280px * 0.25)) { .canvas { zoom: 0.20 !important; } }
@media (max-width: calc(1280px * 0.20)) { .canvas { zoom: 0.20 !important; } }
@media (min-width: calc(1280px * 1.05)) { .canvas { zoom: 1.05 !important; } }
@media (min-width: calc(1280px * 1.10)) { .canvas { zoom: 1.10 !important; } }
@media (min-width: calc(1280px * 1.20)) { .canvas { zoom: 1.20 !important; } }
@media (min-width: calc(1280px * 1.30)) { .canvas { zoom: 1.30 !important; } }
@media (min-width: calc(1280px * 1.40)) { .canvas { zoom: 1.40 !important; } }
@media (min-width: calc(1280px * 1.60)) { .canvas { zoom: 1.60 !important; } }
@media (min-width: calc(1280px * 1.80)) { .canvas { zoom: 1.80 !important; } }
@media (min-width: calc(1280px * 2.00)) { .canvas { zoom: 2.00 !important; } }
@media (min-width: calc(1280px * 2.40)) { .canvas { zoom: 2.40 !important; } }
@media (min-width: calc(1280px * 3.00)) { .canvas { zoom: 2.60 !important; } }
html { scroll-behavior: smooth; }
/* 顶部导览与 Start Game 的可点击反馈(设计稿没有 hover,这里按报告的文字色 #c6a978 推断) */
a.nav-jump { cursor: pointer; transition: opacity .2s ease; }
a.nav-jump:hover { opacity: .7; }
a.nav-jump:focus-visible { outline: 2px solid #c6a978; outline-offset: 4px; }

