/* 桌游站「反馈与建议」2.0（2026-10-22）— 配合 hub-feedback.js */

#modal-fb {
  --fb-ink: var(--ink, #1d1b29);
  --fb-ink-2: var(--ink-2, #3d3a4c);
  --fb-muted: var(--muted, #7a7684);
  --fb-line: var(--line, #e8e4dc);
  --fb-panel: var(--panel, #fff);
  --fb-soft: var(--panel-soft, #fbfaf7);
  --fb-bug: #d9573c;
  --fb-idea: var(--brand, #4c3fd3);
  --fb-acc: var(--fb-bug);
  --fb-ease: cubic-bezier(.2, .75, .25, 1);
  align-items: center;
}
#modal-fb .fb-card[data-kind="idea"] { --fb-acc: var(--fb-idea); }

#modal-fb .fb-card {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--fb-panel);
  color: var(--fb-ink);
}
#modal-fb .fb-card.drag::after {
  content: '松手把截图放进来';
  position: absolute; inset: 10px; z-index: 5;
  display: grid; place-items: center;
  border: 2px dashed var(--fb-acc); border-radius: 18px;
  background: color-mix(in srgb, var(--fb-panel) 86%, var(--fb-acc));
  font-weight: 800; color: var(--fb-acc);
  pointer-events: none;
}

/* ---------- 头部 ---------- */
#modal-fb .fb-head {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 22px 24px 4px;
}
#modal-fb .fb-head-txt { flex: 1; min-width: 0; }
#modal-fb .fb-title { font-size: 21px; font-weight: 800; letter-spacing: .5px; line-height: 1.25; }
#modal-fb .fb-sub { margin-top: 4px; font-size: 13px; color: var(--fb-muted); }
#modal-fb .fb-close {
  flex: 0 0 auto; width: 34px; height: 34px; margin: -4px -6px 0 0;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--fb-muted); cursor: pointer;
  transition: background .15s, color .15s;
}
#modal-fb .fb-close:hover { background: var(--line-soft, #f0ece6); color: var(--fb-ink); }
#modal-fb svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 两个入口 ---------- */
#modal-fb .fb-tabs {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px;
  padding: 14px 24px 6px;
}
#modal-fb .fb-tab {
  --c: var(--fb-bug);
  display: flex; align-items: center; gap: 12px; min-width: 0;
  padding: 12px 14px;
  border: 1.5px solid var(--fb-line); border-radius: 16px;
  background: var(--fb-soft); color: var(--fb-ink);
  text-align: left; cursor: pointer;
  transition: border-color .18s, background .18s, box-shadow .18s, transform .18s var(--fb-ease);
}
#modal-fb .fb-tab-idea { --c: var(--fb-idea); }
#modal-fb .fb-tab:hover { border-color: color-mix(in srgb, var(--c) 45%, var(--fb-line)); transform: translateY(-1px); }
#modal-fb .fb-tab.on {
  border-color: var(--c);
  background: color-mix(in srgb, var(--c) 8%, var(--fb-panel));
  box-shadow: 0 8px 22px -14px var(--c);
}
#modal-fb .fb-tab-ico {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 12%, var(--fb-panel)); color: var(--c);
  transition: background .18s, color .18s;
}
#modal-fb .fb-tab.on .fb-tab-ico { background: var(--c); color: #fff; }
#modal-fb .fb-tab-ico svg { width: 22px; height: 22px; }
#modal-fb .fb-tab-txt { display: flex; flex-direction: column; min-width: 0; }
#modal-fb .fb-tab-txt b { font-size: 15px; font-weight: 800; }
#modal-fb .fb-tab-txt small { margin-top: 2px; font-size: 12px; color: var(--fb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 表单 ---------- */
#modal-fb .fb-body {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 8px 24px 20px;
  scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--fb-acc) 45%, transparent) transparent;
}
#modal-fb .fb-form { display: flex; flex-direction: column; gap: 18px; padding-top: 10px; animation: fb-in .26s var(--fb-ease); }
#modal-fb .fb-form[hidden] { display: none; }
@keyframes fb-in { from { opacity: 0; transform: translateY(6px); } }

#modal-fb .fb-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
#modal-fb .fb-label { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--fb-ink-2); }
#modal-fb .fb-label em { font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; }
#modal-fb .fb-req { color: var(--fb-acc); background: color-mix(in srgb, var(--fb-acc) 10%, transparent); }
#modal-fb .fb-opt { color: var(--fb-muted); background: var(--line-soft, #f0ece6); }
#modal-fb .fb-aside { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--fb-muted); }
#modal-fb .fb-hint { font-size: 12px; color: var(--fb-muted); }

#modal-fb .fb-input {
  width: 100%; box-sizing: border-box;
  height: 44px; padding: 0 14px;
  border: 1.5px solid var(--fb-line); border-radius: 12px;
  background: var(--fb-soft); color: var(--fb-ink);
  font: inherit; font-size: 14px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
#modal-fb .fb-input::placeholder { color: color-mix(in srgb, var(--fb-muted) 80%, transparent); }
#modal-fb .fb-input:focus {
  outline: none; background: var(--fb-panel);
  border-color: var(--fb-acc);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--fb-acc) 14%, transparent);
}
#modal-fb .fb-input-lg { height: 50px; }
#modal-fb .fb-ta-wrap { position: relative; }
#modal-fb .fb-textarea { height: auto; min-height: 112px; padding: 12px 14px 26px; line-height: 1.65; resize: vertical; }
#modal-fb .fb-count { position: absolute; right: 12px; bottom: 8px; font-size: 11px; color: var(--fb-muted); pointer-events: none; font-variant-numeric: tabular-nums; }
#modal-fb .fb-count.warn { color: var(--fb-bug); }

/* 选项胶囊 */
#modal-fb .fb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
#modal-fb .fb-chip {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 36px; padding: 0 14px;
  border: 1.5px solid var(--fb-line); border-radius: 999px;
  background: var(--fb-panel); color: var(--fb-ink-2);
  font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, transform .12s;
}
#modal-fb .fb-chip:hover { border-color: color-mix(in srgb, var(--fb-acc) 50%, var(--fb-line)); }
#modal-fb .fb-chip:active { transform: scale(.97); }
#modal-fb .fb-chip.on { border-color: var(--fb-acc); background: color-mix(in srgb, var(--fb-acc) 10%, var(--fb-panel)); color: var(--fb-acc); }
#modal-fb .fb-chip-tick { display: inline-grid; width: 14px; height: 14px; margin-left: -3px; }
#modal-fb .fb-chip-tick svg { width: 14px; height: 14px; stroke-width: 3; }
#modal-fb .fb-chip-ico { font-size: 15px; line-height: 1; }

/* 游戏选择 */
#modal-fb .fb-picker { display: flex; flex-direction: column; gap: 10px; }
#modal-fb .fb-picker-box { position: relative; }
#modal-fb .fb-picker-glass { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--fb-muted); pointer-events: none; display: grid; }
#modal-fb .fb-picker-input { padding-left: 40px; }
#modal-fb .fb-picker.has-pick .fb-picker-box,
#modal-fb .fb-picker.has-pick .fb-quick { display: none; }
#modal-fb .fb-picker:not(.has-pick) .fb-picked { display: none; }
#modal-fb .fb-options {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 4;
  max-height: 248px; overflow-y: auto; padding: 6px;
  border: 1px solid var(--fb-line); border-radius: 14px;
  background: var(--fb-panel);
  box-shadow: 0 18px 40px -16px rgba(22, 19, 40, .35);
  display: none;
}
#modal-fb .fb-options.open { display: block; }
#modal-fb .fb-opt-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; cursor: pointer; font-size: 14.5px; }
#modal-fb .fb-opt-row.active, #modal-fb .fb-opt-row:hover { background: color-mix(in srgb, var(--fb-acc) 9%, var(--fb-panel)); }
#modal-fb .fb-opt-ico { width: 24px; text-align: center; font-size: 17px; }
#modal-fb .fb-opt-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#modal-fb .fb-opt-empty { padding: 14px 10px; font-size: 13px; color: var(--fb-muted); text-align: center; }
#modal-fb .fb-picked {
  display: flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 8px 0 14px;
  border: 1.5px solid var(--fb-acc); border-radius: 12px;
  background: color-mix(in srgb, var(--fb-acc) 7%, var(--fb-panel));
}
#modal-fb .fb-picked-ico { font-size: 22px; line-height: 1; }
#modal-fb .fb-picked-name { flex: 1; min-width: 0; font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#modal-fb .fb-picked-x { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--fb-muted); cursor: pointer; }
#modal-fb .fb-picked-x:hover { background: var(--fb-panel); color: var(--fb-ink); }

/* 截图 */
#modal-fb .fb-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
#modal-fb .fb-shot, #modal-fb .fb-shot-add { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; min-width: 0; }
#modal-fb .fb-shot { overflow: hidden; border: 1px solid var(--fb-line); background: var(--fb-soft); display: grid; place-items: center; }
#modal-fb .fb-shot img { width: 100%; height: 100%; object-fit: cover; display: block; animation: fb-in .25s var(--fb-ease); }
#modal-fb .fb-shot-x {
  position: absolute; top: 6px; right: 6px; width: 26px; height: 26px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: rgba(20, 18, 30, .62); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
#modal-fb .fb-shot-x svg { width: 14px; height: 14px; stroke-width: 2.6; }
#modal-fb .fb-shot-add {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: 1.5px dashed color-mix(in srgb, var(--fb-muted) 45%, transparent);
  background: transparent; color: var(--fb-muted); font: inherit; cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
#modal-fb .fb-shot-add:hover { border-color: var(--fb-acc); color: var(--fb-acc); background: color-mix(in srgb, var(--fb-acc) 5%, transparent); }
#modal-fb .fb-shot-add-ico svg { width: 24px; height: 24px; stroke-width: 1.7; }
#modal-fb .fb-shot-add-t { font-size: 13px; font-weight: 700; }
#modal-fb .fb-shot-add-s { font-size: 11px; opacity: .8; }

/* 自动附带 */
#modal-fb .fb-auto {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  background: var(--line-soft, #f0ece6); color: var(--fb-muted); font-size: 12.5px; line-height: 1.5;
}
#modal-fb .fb-auto-ico { flex: 0 0 auto; display: grid; }
#modal-fb .fb-auto-ico svg { width: 16px; height: 16px; }
#modal-fb .fb-auto b { color: var(--fb-ink-2); font-weight: 600; }

/* 查重提示 */
#modal-fb .fb-match:empty { display: none; }
#modal-fb .fb-match {
  display: flex; align-items: center; gap: 8px; margin-top: 8px;
  padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.5;
  animation: fb-in .2s var(--fb-ease);
}
#modal-fb .fb-match.have { background: color-mix(in srgb, var(--green, #1f9d63) 10%, var(--fb-panel)); color: var(--green, #1f9d63); }
#modal-fb .fb-match.have b { color: var(--fb-ink); }
#modal-fb .fb-match.dup { background: color-mix(in srgb, var(--gold, #b07a26) 12%, var(--fb-panel)); color: var(--gold, #b07a26); }
#modal-fb .fb-match-ico { font-size: 18px; }
#modal-fb .fb-match-t { flex: 1; min-width: 0; }
#modal-fb .fb-match-go { flex: 0 0 auto; font-weight: 700; color: inherit; text-decoration: none; }
#modal-fb .fb-match-go:hover { text-decoration: underline; }

/* 最近大家想玩 */
#modal-fb .fb-hot:empty { display: none; }
#modal-fb .fb-hot { padding: 14px; border-radius: 14px; background: var(--fb-soft); border: 1px solid var(--fb-line); }
#modal-fb .fb-hot-t { margin-bottom: 10px; font-size: 12.5px; font-weight: 700; color: var(--fb-muted); }
#modal-fb .fb-chip-hot { min-height: 32px; padding: 0 12px; font-size: 13px; }
#modal-fb .fb-hot-n { font-size: 11px; font-weight: 800; color: var(--fb-acc); }

/* 提交 */
#modal-fb .fb-submit-row { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
#modal-fb .fb-err {
  display: none; padding: 10px 12px; border-radius: 12px;
  background: color-mix(in srgb, var(--fb-bug) 10%, var(--fb-panel)); color: var(--fb-bug);
  font-size: 13px; font-weight: 600;
}
#modal-fb .fb-err.show { display: block; animation: fb-shake .32s; }
@keyframes fb-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
#modal-fb .fb-submit {
  position: relative; height: 50px; width: 100%;
  border: 0; border-radius: 14px;
  background: var(--fb-acc); color: #fff;
  font: inherit; font-size: 16px; font-weight: 800; letter-spacing: 1px; cursor: pointer;
  box-shadow: 0 12px 24px -14px var(--fb-acc);
  transition: filter .15s, transform .12s, box-shadow .15s;
}
#modal-fb .fb-submit:hover { filter: brightness(1.06); box-shadow: 0 16px 28px -14px var(--fb-acc); }
#modal-fb .fb-submit:active { transform: scale(.985); }
#modal-fb .fb-submit .fb-spin { display: none; }
#modal-fb .fb-submit.busy { cursor: default; filter: saturate(.8); }
#modal-fb .fb-submit.busy .fb-submit-t { opacity: 0; }
#modal-fb .fb-submit.busy .fb-spin { display: block; position: absolute; left: 50%; top: 50%; margin: -10px 0 0 -10px; border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }
#modal-fb .fb-spin { width: 20px; height: 20px; border: 2.5px solid var(--fb-line); border-top-color: var(--fb-acc); border-radius: 50%; animation: fb-rot .7s linear infinite; box-sizing: border-box; }
@keyframes fb-rot { to { transform: rotate(360deg); } }
#modal-fb .fb-privacy { text-align: center; font-size: 11.5px; color: var(--fb-muted); }

/* ---------- 提交成功 ---------- */
#modal-fb .fb-done { display: none; }
#modal-fb .fb-card.is-done .fb-body,
#modal-fb .fb-card.is-done .fb-tabs { display: none; }
#modal-fb .fb-card.is-done .fb-done {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 26px 28px 26px; animation: fb-in .3s var(--fb-ease);
}
#modal-fb .fb-done-badge {
  width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--fb-acc); color: #fff;
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--fb-acc) 12%, transparent);
  animation: fb-pop .45s var(--fb-ease);
}
#modal-fb .fb-done-badge svg { width: 34px; height: 34px; stroke-width: 3; stroke-dasharray: 30; stroke-dashoffset: 30; animation: fb-draw .4s .18s ease-out forwards; }
@keyframes fb-pop { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } }
@keyframes fb-draw { to { stroke-dashoffset: 0; } }
#modal-fb .fb-done-t { margin-top: 22px; font-size: 19px; font-weight: 800; }
#modal-fb .fb-done-s { margin-top: 6px; max-width: 380px; font-size: 13.5px; line-height: 1.7; color: var(--fb-muted); }
#modal-fb .fb-done-card {
  display: flex; align-items: center; gap: 10px; max-width: 100%; box-sizing: border-box;
  margin-top: 18px; padding: 10px 14px; border-radius: 12px;
  background: var(--fb-soft); border: 1px solid var(--fb-line);
}
#modal-fb .fb-done-title { min-width: 0; font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#modal-fb .fb-done-kind, #modal-fb .fb-mine-k {
  flex: 0 0 auto; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800;
}
#modal-fb .fb-done-kind.bug, #modal-fb .fb-mine-k.bug { background: color-mix(in srgb, var(--fb-bug) 12%, transparent); color: var(--fb-bug); }
#modal-fb .fb-done-kind.idea, #modal-fb .fb-mine-k.idea { background: color-mix(in srgb, var(--fb-idea) 12%, transparent); color: var(--fb-idea); }
#modal-fb .fb-done-note { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: var(--fb-muted); }
#modal-fb .fb-done-note svg { width: 14px; height: 14px; }
#modal-fb .fb-done-btns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; width: 100%; max-width: 360px; margin-top: 22px; }
#modal-fb .fb-btn-ghost, #modal-fb .fb-btn-solid { height: 46px; border-radius: 13px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
#modal-fb .fb-btn-ghost { border: 1.5px solid var(--fb-line); background: var(--fb-panel); color: var(--fb-ink); }
#modal-fb .fb-btn-ghost:hover { border-color: var(--fb-acc); color: var(--fb-acc); }
#modal-fb .fb-btn-solid { border: 0; background: var(--fb-acc); color: #fff; }

/* ---------- 我提交过的 ---------- */
#modal-fb .fb-mine-wrap { flex: 0 0 auto; border-top: 1px solid var(--fb-line); background: var(--fb-soft); }
#modal-fb .fb-mine-wrap[hidden] { display: none; }
#modal-fb .fb-mine summary {
  display: flex; align-items: center; gap: 8px; padding: 12px 24px;
  font-size: 13px; font-weight: 700; color: var(--fb-muted); cursor: pointer; list-style: none;
}
#modal-fb .fb-mine summary::-webkit-details-marker { display: none; }
#modal-fb .fb-mine summary::after { content: ''; margin-left: auto; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
#modal-fb .fb-mine[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
#modal-fb .fb-mine-n { padding: 0 7px; border-radius: 999px; background: var(--fb-line); font-size: 11px; color: var(--fb-ink-2); }
#modal-fb .fb-mine-list { display: flex; flex-direction: column; gap: 2px; padding: 0 16px 12px; max-height: 180px; overflow-y: auto; }
#modal-fb .fb-mine-row { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; font-size: 13px; }
#modal-fb .fb-mine-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fb-ink-2); }
#modal-fb .fb-mine-ts { flex: 0 0 auto; font-size: 11.5px; color: var(--fb-muted); }

/* ---------- 手机：贴底抽屉 ---------- */
@media (max-width: 640px) {
  #modal-fb { align-items: flex-end; padding: 0 !important; overflow: hidden; }
  #modal-fb .fb-card { max-height: 92dvh; padding-bottom: 0 !important; margin: auto 0 0 !important; }
  #modal-fb .fb-head { padding: 18px 16px 2px; }
  #modal-fb .fb-head::before {
    content: ''; position: absolute; left: 50%; top: 7px; width: 38px; height: 4px; margin-left: -19px;
    border-radius: 4px; background: var(--fb-line);
  }
  #modal-fb .fb-title { font-size: 19px; }
  #modal-fb .fb-sub { font-size: 12.5px; }
  #modal-fb .fb-tabs { gap: 8px; padding: 12px 16px 4px; }
  #modal-fb .fb-tab { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; border-radius: 14px; }
  #modal-fb .fb-tab-ico { width: 34px; height: 34px; border-radius: 10px; }
  #modal-fb .fb-tab-ico svg { width: 19px; height: 19px; }
  #modal-fb .fb-tab-txt small { white-space: normal; line-height: 1.35; }
  #modal-fb .fb-body { padding: 4px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
  #modal-fb .fb-form { gap: 16px; }
  #modal-fb .fb-shots { gap: 8px; }
  #modal-fb .fb-shot-add-s { display: none; }
  #modal-fb .fb-mine summary { padding: 12px 16px; }
  #modal-fb .fb-mine-list { padding: 0 8px calc(10px + env(safe-area-inset-bottom, 0px)); }
  #modal-fb .fb-card.is-done .fb-done { padding: 22px 16px calc(22px + env(safe-area-inset-bottom, 0px)); }
}

/* 2026-11-18：背景随下拉距离变淡（--fb-dim 由 JS 控制，和「关于本站」一致） */
#modal-fb {
  --fb-dim: 1;
  background: color-mix(in srgb, var(--modal-scrim, rgba(20, 15, 48, .5)) calc(var(--fb-dim) * 100%), transparent);
  -webkit-backdrop-filter: blur(calc(6px * var(--fb-dim)));
  backdrop-filter: blur(calc(6px * var(--fb-dim)));
}
@media (max-width: 640px) { #modal-fb .fb-card { touch-action: pan-y; will-change: transform; } }

@media (prefers-reduced-motion: reduce) {
  #modal-fb *, #modal-fb *::before, #modal-fb *::after { animation: none !important; transition: none !important; }
  #modal-fb .fb-done-badge svg { stroke-dashoffset: 0; }
}

/* 搜不到游戏时的「想玩这款」入口 */
#groups-empty .ge-suggest {
  margin-left: 4px; padding: 0; border: 0; background: none;
  color: var(--brand, #4c3fd3); font: inherit; font-weight: 700; cursor: pointer;
}
#groups-empty .ge-suggest:hover { text-decoration: underline; }

/* ---------- 国内加速投票标签（2026-10-30） ---------- */
#modal-fb { --fb-vote: #16855a; }
#modal-fb .fb-card[data-kind="vote"] { --fb-acc: var(--fb-vote); }

#modal-fb .fb-tab-vote { --c: var(--fb-vote); }
#modal-fb .fb-vote-lede { margin: 0; font-size: 14px; line-height: 1.6; color: var(--fb-ink-2); }
#modal-fb .fb-vote-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#modal-fb .fb-vote-stat {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 12px 10px; border-radius: 14px;
  background: color-mix(in srgb, var(--fb-vote) 9%, var(--fb-panel));
}
#modal-fb .fb-vote-stat b { font-size: 24px; line-height: 1; font-weight: 800; color: var(--fb-vote); font-variant-numeric: tabular-nums; }
#modal-fb .fb-vote-stat span { font-size: 12px; color: var(--fb-muted); }
#modal-fb .fb-vote-lists { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
#modal-fb .fb-vote-card {
  display: block; min-width: 0; padding: 12px 14px; border: 1.5px solid var(--fb-line); border-radius: 14px;
  background: var(--fb-soft); color: inherit; text-decoration: none; transition: border-color .15s;
}
#modal-fb .fb-vote-card:hover { border-color: color-mix(in srgb, var(--fb-vote) 50%, var(--fb-line)); }
#modal-fb .fb-vote-h { font-size: 12.5px; font-weight: 700; color: var(--fb-muted); margin-bottom: 6px; }
#modal-fb .fb-vote-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
#modal-fb .fb-vote-list li { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; }
#modal-fb .fb-vote-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
#modal-fb .fb-vote-num { flex: none; font-variant-numeric: tabular-nums; font-size: 12.5px; color: var(--fb-muted); }
#modal-fb .fb-vote-num i { font-style: normal; font-weight: 800; }
#modal-fb .fb-vote-num .y { color: var(--fb-vote); }
#modal-fb .fb-vote-num .n { color: var(--fb-bug); }
#modal-fb .fb-vote-empty { color: var(--fb-muted); font-size: 13px; }
#modal-fb .fb-vote-go { display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
@media (max-width: 640px) {
  #modal-fb .fb-vote-lists { grid-template-columns: minmax(0, 1fr); }
  #modal-fb .fb-tab-txt b { font-size: 14px; }
}

/* 2026-10-31：「会自动附带设备 / 昵称」那行不显示（信息照常随反馈提交） */
#modal-fb .fb-auto { display: none; }
/* 每个标签顶部的文档入口 */
#modal-fb .fb-doclink {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 40px; padding: 8px 12px;
  border: 1.5px dashed color-mix(in srgb, var(--fb-acc) 45%, var(--fb-line)); border-radius: 12px;
  background: color-mix(in srgb, var(--fb-acc) 6%, var(--fb-panel)); color: var(--fb-acc);
  font: inherit; font-size: 14px; font-weight: 800; cursor: pointer;
}
#modal-fb .fb-doclink:hover { border-style: solid; }
/* 「最近大家想玩」站长编辑 */
#modal-fb .fb-hot-t { display: flex; align-items: center; gap: 8px; }
#modal-fb .fb-hot-edit, #modal-fb .fb-hot-reset {
  height: 26px; padding: 0 10px; border: 1px solid var(--fb-line); border-radius: 999px; background: var(--fb-panel);
  font: inherit; font-size: 12px; font-weight: 700; color: var(--fb-ink-2); cursor: pointer;
}
#modal-fb .fb-hot-edit { margin-left: auto; }
#modal-fb .fb-hot-reset { margin-top: 8px; }
#modal-fb .fb-chip-hot.is-editing { cursor: default; }
#modal-fb .fb-hot-x { margin-left: 6px; padding: 0 4px; border-radius: 6px; color: var(--fb-bug); font-weight: 800; cursor: pointer; }
#modal-fb .fb-hot-x:hover { background: color-mix(in srgb, var(--fb-bug) 14%, transparent); }
#modal-fb .fb-hot-add { margin-top: 8px; }
