/* 运营管理后台 */
#admin-panel {
  position: absolute; top: 12px; left: 56px; bottom: 12px; z-index: 1000;
  width: 400px; max-width: calc(100vw - 70px);
  display: flex; flex-direction: column; overflow: hidden;
}
#admin-tabs { display: flex; gap: 6px; padding: 8px 10px; border-bottom: 1px solid #eee; }
#admin-tabs .tab { background: #e3e9f0; color: #333; }
#admin-tabs .tab.active { background: #1976d2; color: #fff; }

#user-bar {
  display: flex; gap: 6px; align-items: center; padding: 6px 10px;
  background: #f2f7fd; border-bottom: 1px solid #e6eef5; font-size: 13px;
}
#user-bar input { padding: 3px 6px; border: 1px solid #ccc; border-radius: 5px; }
#user-info { font-weight: bold; color: #0d3c61; }

.mode-bar { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.mode-bar .mode { background: #e3e9f0; color: #333; }
.mode-bar .mode.active { background: #e65100; color: #fff; }
.hint { font-size: 12px; color: #888; margin-bottom: 8px; }
.hint.armed { color: #e65100; font-weight: bold; }

#ground-form, #spot-form { border: 1px solid #e0e6ed; border-radius: 8px; padding: 10px; margin-bottom: 10px; background: #fbfdff; }
#ground-form label, #spot-form label, #book-modal label { display: block; font-size: 12px; color: #666; margin-top: 6px; }
#ground-form input, #ground-form select, #ground-form textarea,
#spot-form input, #spot-form select, #book-modal input, #book-modal select {
  width: 100%; padding: 4px 6px; border: 1px solid #ccc; border-radius: 5px; margin-top: 2px;
  font: 13px "Microsoft YaHei", sans-serif;
}
.coord-line { font-size: 12px; color: #e65100; margin-top: 6px; }
.btn-row { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; align-items: center; }
.btn-row button { padding: 4px 12px; }
button.mini { padding: 2px 8px; font-size: 12px; background: #546e7a; }
button.danger { background: #c62828; }

/* 机位 */
.pos-item {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid #e0e6ed; border-radius: 8px; padding: 6px 8px; margin-bottom: 6px;
}
.pos-item .pname { font-weight: bold; }
.pos-item .pmeta { font-size: 12px; color: #777; }
.status { padding: 1px 8px; border-radius: 10px; font-size: 12px; color: #fff; white-space: nowrap; }
.status.s0 { background: #2e7d32; }
.status.s1 { background: #c62828; }
.status.s2 { background: #9e9e9e; }

/* 雷达 */
#radar-box { font-size: 13px; }
#radar-box .density { font-size: 22px; color: #e65100; font-weight: bold; }

/* 分享 */
#post-form textarea { width: 100%; padding: 6px; border: 1px solid #ccc; border-radius: 6px; font: 13px "Microsoft YaHei", sans-serif; }
#post-form select { padding: 4px; border: 1px solid #ccc; border-radius: 5px; }
.post-item { border: 1px solid #e0e6ed; border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; }
.post-item .p-head { font-size: 12px; color: #888; margin-bottom: 4px; }
.post-item .p-body { margin-bottom: 6px; white-space: pre-wrap; }
.post-item .p-foot button { padding: 2px 8px; font-size: 12px; background: #e3e9f0; color: #333; margin-right: 6px; }
.post-item .comments { margin-top: 6px; border-top: 1px dashed #eee; padding-top: 4px; font-size: 12px; color: #555; }
.post-item .comments .c-item { padding: 2px 0; }
.post-item .c-add { display: flex; gap: 4px; margin-top: 4px; }
.post-item .c-add input { flex: 1; padding: 3px 6px; border: 1px solid #ccc; border-radius: 5px; font-size: 12px; }
.post-item .c-add button { padding: 2px 8px; font-size: 12px; }

/* 积分/订单 */
#points-box { font-size: 15px; margin-bottom: 6px; }
#points-box b { color: #e65100; font-size: 20px; }
#points-list .pl-item { font-size: 12px; color: #666; padding: 2px 0; border-bottom: 1px dashed #f0f0f0; }
.order-item { border: 1px solid #e0e6ed; border-radius: 8px; padding: 6px 8px; margin-bottom: 6px; font-size: 13px; }
.order-item .o-meta { font-size: 12px; color: #888; }
.order-item .o-pay { margin-top: 4px; }

/* 预约弹层 */
#book-modal {
  position: absolute; z-index: 2000; top: 80px; left: 480px;
  width: 280px; padding: 14px;
}
#book-modal h4 { margin-top: 0; }

/* 详情/标记时的地图光标提示 */
body.mode-mark-ground #map, body.mode-mark-spot #map { cursor: crosshair; }

/* ===== v7.6 核销台 ===== */
#r-code { flex: 1; padding: 9px 10px; border: 1px solid #cfe3da; border-radius: 8px; font-size: 15px; }
.sum-cards { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.sum-card { background: #f4faf7; border: 1px solid #dceee5; border-radius: 10px; padding: 8px 12px; font-size: 13px; color: #146c52; }
.sum-card b { font-size: 16px; color: #134e3a; }
.sum-card.pay { background: #fff8ee; border-color: #f2ddb8; color: #a05a10; }
.sum-card.pay b { color: #e67e22; }
.ex-row { background: #fff; border: 1px solid #e3ede8; border-radius: 10px; padding: 10px 12px; margin: 8px 0; }
.ex-main { font-size: 14px; color: #134e3a; padding-bottom: 4px; }
.ex-act { margin-top: 6px; }
.ex-detail { background: #f2fbf7; border: 2px dashed #1fa87a; border-radius: 14px; padding: 16px; margin: 10px 0; text-align: center; }
.ex-code { font-size: 30px; letter-spacing: 6px; color: #134e3a; font-weight: bold; margin-bottom: 8px; }
.st { padding: 2px 8px; border-radius: 10px; font-size: 12px; }
.st-paid { background: #fff3e0; color: #e67e22; }
.st-redeemed { background: #e8f5e9; color: #2e7d32; }
.st-delivered { background: #e3f2fd; color: #1565c0; }
.st-pending { background: #f5f5f5; color: #757575; }
.st-cancelled { background: #ffebee; color: #c62828; }

/* ===== v7.7 鱼种维护 + 客诉处理 ===== */
.gf-row { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #e3ede8; border-radius: 10px; padding: 7px 10px; margin: 6px 0; font-size: 13px; }
.gf-name { min-width: 64px; color: #134e3a; }
.gf-row select, .gf-row input { padding: 5px 6px; border: 1px solid #cfe3da; border-radius: 6px; font-size: 13px; }
.gf-d { width: 58px; }
.gf-s, .gf-k { width: 64px; }
.dp-note { padding: 5px 8px; border: 1px solid #cfe3da; border-radius: 6px; font-size: 12px; }
.mini.danger { background: #ffebee; color: #c62828; border-color: #f5c6c0; }
.mini.danger:hover { background: #c62828; color: #fff; }

/* v7.8 地图标注模式横幅 */
.console-banner { background: #e2f4ea; border: 1px solid #b7e2cd; border-radius: 10px; padding: 8px 12px; font-size: 12px; color: #146c52; margin-bottom: 10px; }
.console-banner a { font-weight: bold; }
