/* trpg-card 网页版样式 - 从小程序WXSS移植，rpx→px 按 375px 视口换算 (1rpx = 0.5px) */

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #0a0f1f;
  color: #e0d8c8;
  font-size: 14px;
  overflow-x: hidden;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; outline: none; }

/* ==================== 页面容器 ==================== */
.app { max-width: 500px; margin: 0 auto; min-height: 100vh; background: #1a1a2e; position: relative; }

/* 顶栏 */
.top-nav { display: flex; align-items: center; padding: 12px 14px; background: #16213e; border-bottom: 1px solid #c9a96e44; position: sticky; top: 0; z-index: 100; }
.back-btn { font-size: 22px; color: #c9a96e; padding: 4px 12px 4px 0; cursor: pointer; }
.top-title { flex: 1; font-size: 16px; font-weight: bold; color: #c9a96e; text-align: center; }
.top-title-sub { font-size: 12px; color: #8b7d6b; margin-left: 8px; }
.top-spacer { width: 40px; }

/* ==================== 列表页 ==================== */
.container-list { padding-bottom: 80px; }
.char-list { padding-top: 4px; }
.char-card { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); margin: 8px 12px; border-radius: 8px; border: 1px solid #2a2a4a; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.char-card-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: rgba(201, 169, 110, 0.08); border-bottom: 1px solid #2a2a4a; }
.char-name { font-size: 17px; font-weight: bold; color: #c9a96e; }
.char-actions { display: flex; gap: 8px; }
.action-btn { width: 28px; height: 28px; border-radius: 50%; background: #2a2a4a; display: flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; }
.action-btn.danger { background: #3a2020; }
.char-card-body { padding: 8px 12px; }
.char-info-row { display: flex; justify-content: space-between; padding: 4px 0; }
.char-label { color: #7a7a9a; font-size: 12px; }
.char-value { color: #e0d8c8; font-size: 13px; }
.char-stats { display: flex; gap: 8px; margin-top: 6px; }
.stat-badge { font-size: 12px; padding: 2px 8px; border-radius: 10px; }
.badge-gold { background: rgba(201,169,110,0.2); color: #c9a96e; }
.badge-red { background: rgba(255,107,107,0.2); color: #ff6b6b; }
.badge-blue { background: rgba(100,149,237,0.2); color: #6495ed; }
.char-card-footer { padding: 6px 12px; border-top: 1px solid #2a2a4a; }
.char-date { color: #4a4a6a; font-size: 11px; }

.empty-state { padding: 60px 20px; text-align: center; }
.empty-icon { font-size: 48px; }
.empty-title { font-size: 16px; color: #c9a96e; margin-top: 8px; }
.empty-desc { font-size: 13px; color: #7a7a9a; margin-top: 6px; }

.fab-wrap { position: fixed; bottom: 20px; right: calc(50vw - 240px + 20px); z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
@media (max-width: 500px) { .fab-wrap { right: 20px; } }
.fab { width: 56px; height: 56px; border-radius: 50%; background: #c9a96e; color: #0a0f1f; font-size: 32px; font-weight: bold; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(201,169,110,0.4); cursor: pointer; transition: transform 0.25s; }
.fab-wrap.open .fab { transform: rotate(45deg); }

.fab-menu { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; opacity: 0; transform: translateY(10px); transition: opacity 0.2s, transform 0.2s; }
.fab-wrap.open .fab-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fab-menu-item {
  display: flex; align-items: center; gap: 10px;
  background: #1e2746; color: #c9a96e; border: 1px solid #c9a96e44;
  border-radius: 24px; padding: 8px 16px; font-size: 13px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4); cursor: pointer;
  white-space: nowrap;
}
.fab-menu-item:hover { background: #263159; border-color: #c9a96e; }
.fab-menu-label { font-weight: 500; }
.fab-menu-icon { font-size: 18px; }

/* 弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 999; display: flex; align-items: center; justify-content: center; }
.modal-box { background: #1a1a2e; border-radius: 8px; padding: 16px; width: 280px; max-width: 90vw; border: 1px solid #2a2a4a; }
.modal-title { font-size: 16px; font-weight: bold; color: #c9a96e; margin-bottom: 8px; }
.modal-body { font-size: 14px; color: #e0d8c8; margin-bottom: 12px; line-height: 1.6; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; }
.btn-outline { padding: 6px 16px; border: 1px solid #c9a96e; color: #c9a96e; border-radius: 6px; font-size: 13px; background: transparent; cursor: pointer; }
.btn-danger { padding: 6px 16px; background: #dc3c3c; color: #fff; border-radius: 6px; font-size: 13px; border: none; cursor: pointer; }

/* Toast */
.toast { position: fixed; top: 40%; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.85); color: #fff; padding: 10px 20px; border-radius: 8px; font-size: 14px; z-index: 9999; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.toast.show { opacity: 1; }

/* ==================== 详情页 ==================== */
.container-detail { padding-bottom: 20px; }
.top-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: #16213e; border-bottom: 1px solid #c9a96e44; }
.top-name { font-size: 18px; font-weight: bold; color: #c9a96e; }
.top-code { font-size: 12px; color: #8b7d6b; }

/* Tab导航 */
.tab-nav { background: #16213e; padding: 6px 6px 4px; border-bottom: 1px solid #c9a96e33; position: sticky; top: 0; z-index: 50; }
.tab-row { display: flex; margin-bottom: 3px; }
.tab-item { flex: 1; text-align: center; padding: 6px 3px; font-size: 12px; color: #8b7d6b; border-bottom: 1px solid transparent; white-space: nowrap; cursor: pointer; transition: all .2s; }
.tab-item.active { color: #c9a96e; border-bottom-color: #c9a96e; font-weight: bold; }

.tab-content { padding: 8px 14px 8px 10px; }

/* 通用卡片 */
.section-title { font-size: 13px; color: #c9a96e; font-weight: bold; margin: 10px 0 4px; padding-left: 4px; }
.card { background: #1e2746; border-radius: 6px; padding: 10px; margin: 0 0 8px 0; border: 1px solid #c9a96e22; }
.desc-text { font-size: 12px; color: #d0c8b8; line-height: 1.6; white-space: pre-line; }
.expand-icon { font-size: 10px; color: #8b7d6b; flex-shrink: 0; }

/* 表单 */
.form-row { display: flex; gap: 8px; margin-bottom: 6px; }
.form-half { flex: 1; }
.form-third { flex: 1; }
.section-label { font-size: 11px; color: #8b7d6b; margin-bottom: 2px; }
.input-field { background: #0f1535; border: 1px solid #c9a96e33; border-radius: 4px; padding: 5px 7px; font-size: 13px; color: #e0d8c8; width: 100%; box-sizing: border-box; }
.input-field:focus { border-color: #c9a96e; }
.picker-display { background: #0f1535; border: 1px solid #c9a96e33; border-radius: 4px; padding: 5px 7px; font-size: 13px; color: #c9a96e; width: 100%; cursor: pointer; }
.picker-item { background: #0f1535; border: 1px solid #c9a96e33; border-radius: 4px; padding: 7px; font-size: 13px; color: #c9a96e; margin-bottom: 4px; cursor: pointer; }
.func-rank-inline { color: #ffd700; font-weight: bold; border-color: #ffd70044; background: #ffd70008; }
.cred-display { color: #c9a96e; font-weight: bold; }
.cred-detail-row { margin-bottom: 6px; padding: 4px 7px; background: #0f1535; border-radius: 4px; border-left: 2px solid #c9a96e; }
.cred-detail-text { font-size: 11px; color: #8b7d6b; line-height: 1.6; }

/* select 样式（picker替代） */
select.input-field { appearance: none; background: #0f1535 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='%23c9a96e' d='M2 4l4 4 4-4z'/></svg>") no-repeat right 6px center; padding-right: 22px; color: #c9a96e; }

/* 详情行 */
.det-row { display: flex; align-items: center; margin-bottom: 4px; gap: 4px; }
.det-label { font-size: 12px; color: #c9a96e; width: 60px; flex-shrink: 0; }
.det-input { flex: 1; background: #0f1535; border: 1px solid #c9a96e33; border-radius: 4px; padding: 4px 6px; font-size: 12px; color: #e0d8c8; }
.det-textarea { flex: 1; background: #0f1535; border: 1px solid #c9a96e33; border-radius: 4px; padding: 4px 6px; font-size: 11px; color: #e0d8c8; height: 58px; overflow-y: auto; resize: vertical; word-break: break-all; }

/* 问卷 */
.question-row { margin-bottom: 6px; }
.question-label { font-size: 12px; color: #c9a96e; display: block; margin-bottom: 2px; }
.qa-textarea { background: #0f1535; border: 1px solid #c9a96e33; border-radius: 4px; padding: 5px 7px; font-size: 12px; color: #e0d8c8; width: 100%; min-height: 30px; box-sizing: border-box; resize: vertical; }
.memo-textarea { min-height: 60px; }
.question-example { font-size: 10px; color: #6b5d4e; display: block; margin-bottom: 2px; font-style: italic; }
.identity-input { padding: 3px 6px; font-size: 12px; }

/* 状态追踪 */
.stat-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.stat-item { flex: 1 1 30%; min-width: 60px; display: flex; flex-direction: column; align-items: center; }
.stat-label { font-size: 10px; color: #8b7d6b; margin-bottom: 2px; }
.stat-ctrl { display: flex; align-items: center; gap: 4px; }
.stat-btn { width: 22px; height: 22px; border-radius: 50%; background: #c9a96e22; color: #c9a96e; font-size: 13px; display: flex; align-items: center; justify-content: center; border: 1px solid #c9a96e44; cursor: pointer; }
.stat-val { font-size: 14px; font-weight: bold; color: #e0d8c8; min-width: 20px; text-align: center; }

/* 异常能力 */
.ability-card { background: #1e2746; border-radius: 6px; padding: 8px 10px; margin-bottom: 6px; border: 1px solid #c9a96e22; }
.ability-header { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.ability-del-mini { font-size: 11px; color: #dc3c3c88; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; cursor: pointer; }
.ability-del-mini:hover { background: #dc3c3c22; color: #dc3c3c; }
.ability-name { font-size: 13px; color: #e0d8c8; flex: 1; }
.ability-attr { font-size: 10px; color: #c9a96e; background: #c9a96e15; padding: 1px 5px; border-radius: 6px; }
.ability-detail { padding-top: 6px; }

/* 能力问题 */
.ability-qbalance-card { background: #1e2746; border-radius: 6px; padding: 8px 10px; margin-bottom: 6px; border: 1px solid #4a8c5c22; }
.ab-q-header { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.ab-q-name-row { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; width: 100%; }
.ab-q-name-label { font-size: 10px; color: #c9a96e; font-weight: bold; flex-shrink: 0; }
.ab-q-name-val { font-size: 11px; color: #ffd700; }
.ab-q-name-input { flex: 1; padding: 2px 4px; font-size: 11px; }
.ab-q-input-row { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.ab-q-inline-input { flex: 1; min-width: 0; padding: 2px 4px; font-size: 11px; }
.ab-q-doc-input { flex: 0.5; min-width: 40px; }
.ab-q-opt-block { margin-left: 8px; margin-bottom: 5px; }
.ab-q-opt { display: flex; align-items: baseline; gap: 2px; font-size: 11px; color: #d0c8b8; flex-wrap: wrap; }
.ab-q-opt-custom { display: flex; align-items: center; gap: 2px; font-size: 11px; flex-wrap: wrap; }
.ab-q-opt-label { color: #c9a96e; font-weight: bold; flex-shrink: 0; }
.ability-question { font-size: 12px; color: #c9a96e; display: block; margin-bottom: 4px; }
.opt-doc { font-size: 9px; color: #8b7d6b; }
.mini-track-row { display: flex; gap: 2px; margin-top: 2px; }
.mini-cell { width: 16px; height: 16px; border-radius: 2px; background: #0f1535; border: 1px solid #c9a96e33; display: flex; align-items: center; justify-content: center; font-size: 8px; color: #8b7d6b; cursor: pointer; }
.mini-cell.marked { background: #c9a96e; border-color: #c9a96e; color: #1a1a2e; }
.mini-cell.crossed { background: #dc3c3c22; border-color: #dc3c3c; color: #dc3c3c; }
.ab-q-practice { display: flex; align-items: center; gap: 4px; margin-top: 3px; padding-top: 3px; border-top: 1px solid #c9a96e22; cursor: pointer; }
.practice-check { width: 18px; height: 18px; border-radius: 3px; border: 1px solid #8b7d6b66; background: #0f1535; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #4a8c5c; flex-shrink: 0; }
.practice-check.checked { border-color: #4a8c5c; background: #4a8c5c22; }
.practice-label { font-size: 11px; color: #8b7d6b; }

/* 职能 */
.func-rank-highlight { font-size: 15px; font-weight: bold; color: #ffd700; padding: 1px 6px; background: #c9a96e15; border-radius: 4px; border: 1px solid #ffd70044; }
.rank-note { font-size: 9px; color: #8b7d6b; margin-left: 4px; }
.item-card { background: #1e2746; border-radius: 4px; padding: 6px 8px; margin-bottom: 4px; border: 1px solid #c9a96e22; }
.item-name { font-size: 12px; color: #c9a96e; display: block; margin-bottom: 2px; }
.item-desc { font-size: 11px; color: #b0a090; display: block; }
.assess-card { background: #1e2746; border-radius: 4px; padding: 8px; margin-bottom: 6px; }
.assess-question { font-size: 12px; color: #e0d8c8; display: block; margin-bottom: 4px; }
.assess-option { padding: 4px 6px; margin-bottom: 3px; border-radius: 4px; background: #0f1535; font-size: 11px; color: #b0a090; cursor: pointer; }
.assess-option:hover { background: #1a2050; }
.assess-selected { color: #c9a96e; font-weight: bold; }

/* 资质 */
.attr-row { display: flex; align-items: center; gap: 3px; padding: 4px 0; }
.attr-name { font-size: 13px; color: #c9a96e; width: 28px; flex-shrink: 0; }
.attr-bar-wrap { flex: 1; height: 6px; background: #0f1535; border-radius: 3px; overflow: hidden; }
.attr-bar { height: 100%; border-radius: 3px; transition: width .3s; background: #c9a96e; }
.attr-val { font-size: 11px; color: #ffd700; min-width: 32px; text-align: center; flex-shrink: 0; }
.attr-max-group { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.attr-max-label { font-size: 8px; color: #6b8cb0; width: 20px; text-align: center; }
.attr-btn { width: 18px; height: 18px; border-radius: 50%; background: #c9a96e22; color: #c9a96e; font-size: 11px; display: flex; align-items: center; justify-content: center; border: 1px solid #c9a96e44; cursor: pointer; }
.attr-btn-max { background: #5a8ec022; color: #6b8cb0; border-color: #5a8ec044; }
.attr-desc-row { margin-bottom: 8px; }
.attr-desc-name { font-size: 14px; color: #c9a96e; display: block; margin-bottom: 3px; }
.attr-desc-text { font-size: 12px; color: #b0a090; line-height: 1.5; white-space: pre-line; }

/* 装备 */
.equip-card { background: #1e2746; border-radius: 6px; padding: 8px 10px; margin-bottom: 6px; border: 1px solid #c9a96e22; }
.equip-header { display: flex; align-items: center; gap: 4px; }
.equip-name { font-size: 13px; color: #e0d8c8; flex: 1; }
.equip-cost { font-size: 10px; color: #8b7d6b; }
.act-btn { font-size: 11px; color: #c9a96e; padding: 3px 8px; border: 1px solid #c9a96e44; border-radius: 4px; text-align: center; cursor: pointer; display: inline-block; }
.act-btn-small { font-size: 10px; color: #c9a96e; padding: 2px 6px; border: 1px solid #c9a96e44; border-radius: 3px; flex-shrink: 0; cursor: pointer; display: inline-block; }
.del-btn { color: #dc3c3c; border-color: #dc3c3c44; }
.del-btn:hover { background: #dc3c3c22; }
.equip-catalog-item { background: #1e2746; border-radius: 4px; padding: 6px 8px; margin-bottom: 4px; border: 1px solid #c9a96e22; }
.equip-cat-header { display: flex; align-items: center; gap: 4px; margin-bottom: 2px; }
.custom-catalog-item { border: 1px dashed #5a8ec044; }
.equip-desc-short { font-size: 10px; color: #8b7d6b; line-height: 1.4; }
.custom-equip-item { background: #1e2746; border-radius: 6px; padding: 8px 10px; margin-bottom: 6px; border: 1px dashed #c9a96e44; }
.custom-equip-textarea { min-height: 50px; height: 50px; }
.add-new-bar { background: transparent; border: 1px dashed #c9a96e44; text-align: center; }
.equip-actions { display: flex; justify-content: flex-end; gap: 4px; margin-top: 4px; }

/* 关系 */
.relation-card { background: #1e2746; border-radius: 6px; padding: 8px 10px; margin-bottom: 6px; border: 1px solid #c9a96e22; }
.relation-hint { font-size: 10px; color: #6b8cb0; font-style: italic; margin-left: 4px; flex: 1; line-height: 1.3; }
.relation-title-row { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.relation-title-left { display: flex; align-items: center; flex: 1; gap: 4px; min-width: 0; }
.bond-desc { font-size: 10px; color: #8b7d6b; margin-top: 3px; padding: 3px 5px; background: #0f1535; border-radius: 3px; border-left: 2px solid #c9a96e66; line-height: 1.4; }

/* 工作平衡 - 30格轨道 */
.track-desc { font-size: 11px; color: #8b7d6b; margin-bottom: 4px; padding: 0 6px 0 4px; white-space: pre-line; line-height: 1.5; word-break: break-all; overflow-wrap: break-word; box-sizing: border-box; }
.track-grid-30 { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 8px; }
.track-cell { width: 23px; height: 28px; border-radius: 2px; background: #0f1535; border: 1px solid #c9a96e33; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 8px; cursor: pointer; position: relative; }
.track-cell-text { font-size: 9px; color: #8b7d6b; line-height: 1; }
.track-doc-label { font-size: 9px; color: #8b7d6b; margin-top: 1px; line-height: 1; font-weight: bold; }
.track-cell.marked { background: #c9a96e; border-color: #c9a96e; }
.track-cell.marked .track-cell-text, .track-cell.marked .track-doc-label { color: #1a1a2e; }
.track-cell.crossed { background: #dc3c3c22; border-color: #dc3c3c66; }
.track-cell.crossed .track-cell-text { color: #dc3c3c; text-decoration: line-through; }

/* 4格轨道 */
.track-grid-4 { display: flex; gap: 4px; margin-bottom: 8px; }
.track-cell-4 { width: 36px; height: 36px; border-radius: 4px; background: #0f1535; border: 1px solid #c9a96e33; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #8b7d6b; cursor: pointer; }
.track-cell-4.marked { background: #c9a96e; border-color: #c9a96e; }
.track-cell-4.marked .track-cell-text { color: #1a1a2e; font-weight: bold; }
.track-cell-4.crossed { background: #dc3c3c22; border-color: #dc3c3c66; }
.track-cell-4.crossed .track-cell-text { color: #dc3c3c; text-decoration: line-through; }

/* 自定义轨道 */
.track-grid-custom { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 6px; }
.track-cell-custom { width: 26px; height: 26px; border-radius: 3px; background: #0f1535; border: 1px solid #c9a96e33; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #8b7d6b; cursor: pointer; }
.track-cell-custom.marked { background: #c9a96e; border-color: #c9a96e; color: #1a1a2e; }
.track-cell-custom.crossed { text-decoration: line-through; color: #dc3c3c; border-color: #dc3c3c66; background: #dc3c3c11; }

/* 职能等级栏 */
.func-rank-bar { display: flex; align-items: center; margin-bottom: 4px; gap: 2px; font-size: 12px; }
.rank-guide { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 8px; }
.rank-item { font-size: 9px; color: #8b7d6b; padding: 2px 4px; background: #0f1535; border-radius: 2px; border: 1px solid #c9a96e22; }
.rank-active { color: #ffd700; background: #c9a96e22; border-color: #ffd70044; font-weight: bold; }

/* 许可行为嘉奖说明 */
.praise-note { font-size: 10px; color: #ffd700; margin-top: 4px; padding: 3px 5px; background: #ffd70008; border-radius: 3px; border: 1px dashed #ffd70044; }

/* 角色库 */
.quickref-card { background: #1e2746; border-radius: 6px; padding: 8px 10px; margin-bottom: 6px; border: 1px solid #c9a96e22; }

/* 受限文档 */
.doc-search-row { display: flex; align-items: center; gap: 6px; }
.doc-search-input { flex: 1; height: 36px; background: #0f1433; border-radius: 4px; padding: 0 8px; font-size: 13px; color: #d4c8a0; border: 1px solid #c9a96e33; }
.doc-search-btn { width: 60px; height: 36px; line-height: 36px; text-align: center; background: #c9a96e; color: #0a0f1f; border-radius: 4px; font-size: 13px; font-weight: bold; cursor: pointer; }
.doc-search-btn:hover { opacity: 0.85; }
.doc-result-card { background: #1e2746; border-radius: 6px; padding: 10px; margin-top: 8px; border: 1px solid #c9a96e22; }
.doc-result-id { font-size: 18px; font-weight: bold; color: #c9a96e; margin-bottom: 8px; text-align: center; }
.doc-result-content { font-size: 13px; color: #b0bdd0; line-height: 1.7; white-space: pre-wrap; word-break: break-all; }
.doc-empty { background: #1e2746; border-radius: 6px; padding: 20px 10px; margin-top: 8px; border: 1px solid #c9a96e22; text-align: center; }
.doc-empty-text { font-size: 14px; color: #6b7a90; }

/* 加载中 */
.loading { padding: 40px 20px; text-align: center; color: #8b7d6b; font-size: 14px; }

/* 隐藏 */
.hidden { display: none !important; }

/* 页面切换 */
.page { display: none; }
.page.active { display: block; }

/* 导入模式选择 */
.import-mode-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.import-mode-item {
  padding: 10px 12px; background: #0f1535; border: 1px solid #c9a96e33;
  border-radius: 6px; cursor: pointer; transition: all 0.15s;
}
.import-mode-item:hover { background: #16213e; border-color: #c9a96e88; }
.import-mode-title { font-size: 14px; font-weight: bold; color: #c9a96e; margin-bottom: 4px; }
.import-mode-title.danger { color: #dc3c3c; }
.import-mode-desc { font-size: 11px; color: #8b7d6b; line-height: 1.5; }

/* 分享弹窗中的链接文本框 */
.share-textarea {
  width: 100%; box-sizing: border-box; margin: 8px 0;
  height: 90px; padding: 6px 8px; font-size: 11px;
  background: #0f1535; color: #d4c8a0;
  border: 1px solid #c9a96e33; border-radius: 4px;
  resize: none; word-break: break-all; font-family: monospace;
}
