/* ============================================================
   钓鱼标点管理后台 · 视觉样式 v3（深色数据大屏风）
   参考：深蓝黑底 + 玻璃卡片 + 蓝青渐变 + 趋势曲线
   类名与 v1 保持一致，仅重写视觉
   ============================================================ */
:root {
  --brand: #3b82f6;
  --brand-2: #22d3ee;
  --brand-dark: #2563eb;
  --brand-light: rgba(59, 130, 246, .12);
  --brand-glow: rgba(59, 130, 246, .28);
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --ink: #e8f0fb;
  --ink-2: #c3d3e8;
  --text: #a9bdd6;
  --text-2: #8299b6;
  --text-3: #5b7395;
  --line: #1b2b45;
  --line-2: #14233a;
  --bg: #070e1a;
  --card: #0f1c2f;
  --card-2: #132438;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 10px 30px -16px rgba(0,0,0,.9);
  --shadow-lg: 0 18px 50px -20px rgba(0,0,0,.95);
  --nav: 66px;
  --side: 232px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 14px; color: var(--text);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(37,99,235,.16) 0%, transparent 62%),
    radial-gradient(900px 480px at 96% 6%, rgba(34,211,238,.09) 0%, transparent 58%),
    radial-gradient(800px 600px at 60% 110%, rgba(139,92,246,.07) 0%, transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; cursor: pointer; transition: all .18s ease; }
input, select, textarea { font-family: inherit; color: var(--ink); }
::selection { background: var(--brand-glow); }

/* ================= 登录页 ================= */
.login-screen {
  position: fixed; inset: 0;
  background:
    radial-gradient(1000px 520px at 14% -12%, rgba(37,99,235,.22) 0%, transparent 60%),
    radial-gradient(900px 500px at 100% 108%, rgba(34,211,238,.12) 0%, transparent 55%),
    linear-gradient(160deg, #050b14 0%, #081321 50%, #060d18 100%);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.login-screen::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(120,170,255,.10) 1px, transparent 1px);
  background-size: 24px 24px;
}
.uni-content {
  position: relative; max-width: 412px; width: 100%; margin: 0; padding: 40px 40px 42px;
  background: linear-gradient(180deg, rgba(20,36,58,.92), rgba(12,22,38,.94));
  border: 1px solid rgba(90,140,210,.22);
  border-radius: 20px;
  box-shadow: 0 40px 90px -40px #000, 0 0 0 1px rgba(255,255,255,.02) inset;
  backdrop-filter: blur(16px);
  animation: loginIn .45s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes loginIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.login-logo { display: flex; justify-content: center; }
.login-logo img { width: 84px; height: 84px; max-height: 84px; object-fit: contain; filter: drop-shadow(0 8px 22px rgba(59,130,246,.5)); }
.uni-content .title {
  display: flex; padding: 16px 0 6px; font-weight: 700;
  flex-direction: column; font-size: 22px; color: var(--ink); letter-spacing: .5px;
}
.title-box { text-align: center; }
.tip { color: var(--text-3); font-size: 12.5px; margin: 6px 0 24px; text-align: center; }
.forms-item { padding-bottom: 4px; }
.input-box {
  height: 46px; width: 100%; background: #0c182a; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0 16px; font-size: 14px; outline: none;
  margin-bottom: 12px; transition: all .18s ease; color: var(--ink);
}
.input-box::placeholder { color: #4d6484; }
.input-box:focus { background: #0e1d33; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-glow); }
.uni-btn {
  width: 100%; height: 46px; line-height: 46px; margin: 14px 0 8px;
  color: #fff; border: none; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #4f93ff, #2563eb 60%, #1d4ed8);
  box-shadow: 0 14px 30px -14px rgba(59,130,246,.85);
}
.uni-btn:hover { transform: translateY(-1px); box-shadow: 0 18px 36px -14px rgba(59,130,246,.95); }
.link-box { display: flex; justify-content: space-between; margin-top: 16px; }
.link { color: var(--brand-2); cursor: pointer; font-size: 12px; }
.forget { font-size: 12px; color: var(--text-3); }

/* ================= 主框架 ================= */
.admin-shell { height: 100vh; display: flex; flex-direction: column; }

/* 顶栏 */
.navbar {
  height: var(--nav); width: 100%; flex: 0 0 var(--nav);
  background: linear-gradient(120deg, #060d18 0%, #0a1626 55%, #0a1c2c 100%);
  border-bottom: 1px solid rgba(90,140,210,.16);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px 0 20px; z-index: 100; position: relative;
  box-shadow: 0 10px 30px -22px #000;
}
.navbar-left { display: flex; align-items: center; }
.logo { display: flex; align-items: center; cursor: pointer; }
.logo-image { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 24px -4px rgba(59,130,246,.7); }
.logo-text { margin-left: 11px; font-size: 16.5px; font-weight: 600; color: #dce9fb; letter-spacing: .3px; }
.navbar-middle { position: absolute; left: 50%; transform: translateX(-50%); }
.title-text {
  font-size: 14px; color: #a9c6ea; font-weight: 500;
  padding: 8px 20px; border-radius: 999px;
  background: rgba(59,130,246,.10); border: 1px solid rgba(59,130,246,.28);
  box-shadow: 0 0 24px -12px rgba(59,130,246,.8) inset;
}
.navbar-right { display: flex; align-items: center; gap: 12px; }
.navbar-user {
  font-size: 13px; color: #9fbcdd; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.navbar-user::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok); margin-right: 7px; vertical-align: middle;
  box-shadow: 0 0 10px var(--ok);
}
.navbar .mini-btn.default {
  background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); color: #a9bdd6;
}
.navbar .mini-btn.default:hover { background: rgba(59,130,246,.14); border-color: rgba(59,130,246,.4); color: #fff; }

/* 侧边栏 */
.sidebar {
  position: fixed; top: var(--nav); left: 0; bottom: 0; width: var(--side);
  background: linear-gradient(180deg, #08131f 0%, #060f1b 100%);
  border-right: 1px solid rgba(90,140,210,.12);
  overflow-y: auto; padding: 10px 0 20px;
}
.menu-group-title {
  padding: 18px 18px 8px; font-size: 12px; letter-spacing: .8px;
  color: #4f6b8d; display: flex; align-items: center; cursor: pointer; user-select: none;
  font-weight: 600; text-transform: uppercase;
}
.menu-group-title .arrow { margin-right: 8px; transition: transform .2s; opacity: .7; }
.menu-group-title.collapsed .arrow { transform: rotate(-90deg); }
.menu-item {
  position: relative;
  display: flex; align-items: center; height: 46px; margin: 3px 10px; padding: 0 14px 0 16px;
  color: #93aac6; cursor: pointer; font-size: 14px;
  border-radius: 10px; transition: background .16s ease, color .16s ease;
}
.menu-item:hover { background: rgba(59,130,246,.08); color: #dbeafd; }
.menu-item.active {
  color: #ffffff; font-weight: 500;
  background: linear-gradient(90deg, rgba(59,130,246,.30), rgba(34,211,238,.10));
  box-shadow: inset 0 0 0 1px rgba(59,130,246,.36), 0 6px 18px -12px rgba(59,130,246,.9);
}
.menu-item.active::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px;
  border-radius: 3px; background: linear-gradient(180deg, #60a5fa, #22d3ee);
  box-shadow: 0 0 12px rgba(59,130,246,.95);
}
.menu-item .mi-dot { width: 6px; height: 6px; border-radius: 50%; background: #2b4260; margin-right: 10px; transition: background .16s; }
.menu-item.active .mi-dot { background: var(--brand-2); box-shadow: 0 0 10px var(--brand-2); }

/* 内容区 */
.main-body {
  margin-left: var(--side); margin-top: var(--nav); flex: 1;
  overflow-y: auto; padding: 18px 20px 30px;
}
.view { display: none; }
.view.active { display: block; animation: viewIn .3s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 页面头部 */
.uni-header {
  padding: 16px 20px; display: flex; min-height: 64px; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
  background: linear-gradient(180deg, rgba(20,38,60,.72), rgba(14,27,44,.72));
  border: 1px solid rgba(90,140,210,.16);
  border-radius: var(--radius); margin-bottom: 16px;
  box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.uni-title {
  margin-right: 10px; font-size: 17px; font-weight: 650; color: var(--ink);
  letter-spacing: .2px; position: relative; padding-left: 13px;
}
.uni-title::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 17px; border-radius: 4px;
  background: linear-gradient(180deg, #60a5fa, #22d3ee);
  box-shadow: 0 0 12px rgba(59,130,246,.8);
}
.uni-sub-title { margin-top: 0; font-size: 13px; color: var(--text-3); }
.uni-group { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.uni-search {
  height: 36px; width: 230px; border: 1px solid var(--line); border-radius: 999px;
  padding: 0 16px; font-size: 13px; outline: none; background: #0b1729; color: var(--ink);
  transition: all .18s ease;
}
.uni-search::placeholder { color: #4d6484; }
.uni-search:focus { background: #0e1e34; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-glow); }
.uni-select {
  height: 36px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 12px; font-size: 13px; color: var(--text); outline: none; background: #0b1729;
  transition: all .18s ease;
}
.uni-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-glow); }
.uni-container { padding: 0; }

/* 按钮 */
.mini-btn {
  padding: 9px 16px; font-size: 13px; border-radius: var(--radius-sm); line-height: 1.1;
  border: 1px solid transparent; background: rgba(255,255,255,.05); color: var(--text);
  font-weight: 500; white-space: nowrap;
}
.mini-btn:hover { background: rgba(255,255,255,.10); color: var(--ink); }
.mini-btn.primary {
  background: linear-gradient(135deg, #4f93ff, #2563eb); color: #fff; border-color: transparent;
  box-shadow: 0 10px 22px -12px rgba(59,130,246,.95);
}
.mini-btn.primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(59,130,246,1); }
.mini-btn.default { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--line); }
.mini-btn.default:hover { color: #cfe5ff; border-color: rgba(59,130,246,.45); background: rgba(59,130,246,.12); }
.mini-btn.warn { background: rgba(248,113,113,.10); color: #fca5a5; border-color: rgba(248,113,113,.32); }
.mini-btn.warn:hover { background: #ef4444; color: #fff; border-color: #ef4444; box-shadow: 0 10px 24px -12px rgba(239,68,68,.9); }
.mini-btn.success { background: linear-gradient(135deg, #34d399, #10b981); color: #04140f; border-color: transparent; font-weight: 600; }
.mini-btn.success:hover { transform: translateY(-1px); }
.mini-btn[disabled] { opacity: .4; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* 表格 */
.table-wrap {
  background: linear-gradient(180deg, rgba(18,34,55,.85), rgba(13,25,42,.85));
  border: 1px solid rgba(90,140,210,.14);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: auto;
}
.uni-table { width: 100%; min-width: 1080px; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.uni-table th, .uni-table td { white-space: nowrap; }
.uni-table th {
  position: sticky; top: 0; z-index: 2;
  background: #0d1c30; color: #8faac9; font-weight: 600;
  padding: 13px 12px; border-bottom: 1px solid var(--line);
  font-size: 12.5px; letter-spacing: .6px;
}
.uni-table td {
  padding: 13px 12px; border-bottom: 1px solid var(--line-2); color: var(--text);
  vertical-align: middle;
}
.uni-table tbody tr { transition: background .14s ease; }
.uni-table tbody tr:nth-child(even) { background: rgba(255,255,255,.018); }
.uni-table tbody tr:hover { background: rgba(59,130,246,.09); }
.uni-table tbody tr:last-child td { border-bottom: none; }
.col-check { width: 44px; }
.col-check input { width: 15px; height: 15px; accent-color: var(--brand); }
.td-actions { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.td-actions .mini-btn { padding: 6px 11px; font-size: 12px; border-radius: 7px; }
.empty-text { padding: 46px 0; text-align: center; color: var(--text-3); background: transparent; font-size: 13.5px; }

/* 状态标签 */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 500;
}
.tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.tag.success { background: rgba(52,211,153,.12); color: #5eead4; border: 1px solid rgba(52,211,153,.3); }
.tag.warning { background: rgba(251,191,36,.12); color: #fcd34d; border: 1px solid rgba(251,191,36,.3); }
.tag.error   { background: rgba(248,113,113,.12); color: #fca5a5; border: 1px solid rgba(248,113,113,.3); }
.tag.primary { background: rgba(59,130,246,.14); color: #93c5fd; border: 1px solid rgba(59,130,246,.34); }
.tag.info    { background: rgba(148,163,184,.12); color: #a3b6cd; border: 1px solid rgba(148,163,184,.26); }

/* 分页 */
.uni-pagination-box { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding: 18px 6px; }
.page-info { color: var(--text-3); font-size: 13px; }
.page-btns { display: flex; gap: 6px; }
.page-btns .mini-btn { border-radius: 999px; padding: 7px 14px; }
.page-btns .mini-btn[disabled] { background: rgba(255,255,255,.03); color: #43587a; border-color: #16263d; }

/* ================= 概览页 ================= */
.stat-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px; margin-bottom: 16px;
}
.stat-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(20,38,60,.92), rgba(13,25,42,.92));
  border: 1px solid rgba(90,140,210,.18);
  border-radius: var(--radius); padding: 20px 20px 14px;
  box-shadow: var(--shadow);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.stat-card:hover {
  transform: translateY(-3px); border-color: rgba(96,165,250,.45);
  box-shadow: 0 22px 46px -22px rgba(0,0,0,.95), 0 0 0 1px rgba(59,130,246,.2) inset;
}
.stat-card .stat-num {
  display: block; font-size: 30px; font-weight: 750; color: var(--ink);
  letter-spacing: -.5px; font-variant-numeric: tabular-nums; line-height: 1.15;
  text-shadow: 0 0 26px rgba(96,165,250,.35);
}
.stat-card .stat-label { font-size: 12.5px; color: var(--text-2); margin-top: 4px; letter-spacing: .3px; }
.stat-card .stat-spark { margin-top: 14px; height: 34px; border-radius: 8px; overflow: hidden; opacity: .9; }
.stat-card .stat-spark svg { display: block; width: 100%; height: 100%; }
.stat-card .stat-badge {
  position: absolute; right: 16px; top: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.panel-card {
  background: linear-gradient(180deg, rgba(18,34,55,.85), rgba(13,25,42,.85));
  border: 1px solid rgba(90,140,210,.18);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 22px 22px; margin-bottom: 16px;
}
.panel-card-header {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink); font-size: 14.5px; font-weight: 620; padding: 0 0 16px;
}
.status-dist { display: flex; gap: 16px; flex-wrap: wrap; }
.dist-item {
  text-align: center; flex: 1; min-width: 140px;
  padding: 22px 12px; border-radius: 12px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--line);
  transition: all .18s ease;
}
.dist-item:hover { border-color: rgba(59,130,246,.36); background: rgba(59,130,246,.07); }
.dist-item .dist-num { font-size: 28px; font-weight: 750; font-variant-numeric: tabular-nums; text-shadow: 0 0 22px currentColor; }
.dist-item .dist-label { font-size: 12.5px; color: var(--text-2); margin-top: 6px; }

/* 趋势图（折线 + 面积） */
.trend-chart { position: relative; height: 210px; padding: 6px 0 0; }
.trend-chart svg { display: block; width: 100%; height: 100%; }
.trend-legend { display: flex; gap: 16px; align-items: center; font-size: 12px; color: var(--text-2); }
.trend-legend span { display: inline-flex; align-items: center; gap: 7px; }
.trend-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }

/* ================= 弹窗 ================= */
.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(2,7,14,.72); backdrop-filter: blur(4px);
  animation: maskIn .2s ease both;
}
@keyframes maskIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: linear-gradient(180deg, #13243a, #0d1a2c);
  border: 1px solid rgba(90,140,210,.28);
  border-radius: 18px; z-index: 201;
  max-height: 86vh; overflow-y: auto;
  box-shadow: 0 40px 90px -30px #000, 0 0 0 1px rgba(255,255,255,.03) inset;
  animation: modalIn .24s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes modalIn { from { opacity: 0; transform: translate(-50%,-48%) scale(.98); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 2;
  background: #12223a; border-radius: 18px 18px 0 0;
}
.modal-header .modal-title { font-size: 16px; font-weight: 650; color: var(--ink); }
.modal-close {
  cursor: pointer; color: var(--text-3); font-size: 18px; border: none; background: none;
  width: 30px; height: 30px; border-radius: 8px; line-height: 1;
}
.modal-close:hover { background: rgba(255,255,255,.08); color: var(--ink); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; justify-content: center; gap: 12px; }
.wide-modal { width: 720px; }
.narrow-modal { width: 460px; }

/* 详情弹窗 */
.detail-card { padding: 0; color: var(--text); }
.detail-card .card-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line); padding-bottom: 15px;
}
.detail-card .card-header .title { font-size: 18px; font-weight: 700; color: var(--ink); }
.info-section { margin-bottom: 25px; }
.section-title {
  font-size: 14.5px; font-weight: 650; color: var(--ink); margin-bottom: 12px;
  padding-left: 10px; border-left: 3px solid var(--brand);
}
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.info-item { font-size: 13.5px; color: var(--text); line-height: 24px; }
.info-item .label { color: var(--text-3); }
.desc-text {
  font-size: 13.5px; color: var(--text); line-height: 1.65;
  background: rgba(255,255,255,.03); padding: 14px; border-radius: 10px;
  border: 1px solid var(--line);
}
.fish-types { display: flex; flex-wrap: wrap; align-items: center; margin: 10px 0; gap: 6px; }
.fish-types .label { color: var(--text-3); margin-right: 8px; }
.coords { margin-top: 8px; font-size: 12.5px; color: var(--text-2); }
.stats-row { display: flex; gap: 30px; }
.stats-row .stat-item { text-align: center; }
.stats-row .stat-num { display: block; font-size: 26px; font-weight: 750; color: #7dd3fc; font-variant-numeric: tabular-nums; }
.stats-row .stat-label { font-size: 12.5px; color: var(--text-3); }
.image-list { display: flex; flex-wrap: wrap; gap: 10px; }
.image-list img {
  width: 150px; height: 150px; border-radius: 12px; object-fit: cover; cursor: pointer;
  border: 1px solid var(--line); transition: transform .18s ease, border-color .18s ease;
}
.image-list img:hover { transform: scale(1.03); border-color: rgba(96,165,250,.6); }
.detail-actions { display: flex; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }

/* 表单 */
.form-card { background: transparent; }
.form-item { margin-bottom: 20px; }
.form-item label.f-label { display: block; font-size: 13.5px; color: var(--text); margin-bottom: 10px; font-weight: 500; }
.check-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.check-tag {
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 20px; min-width: 170px;
  border: 1.5px solid var(--line); border-radius: 12px; font-size: 13px;
  color: var(--text-2); background: rgba(255,255,255,.02); cursor: pointer;
  transition: all .18s ease;
}
.check-tag:hover { border-color: rgba(59,130,246,.35); background: rgba(59,130,246,.05); }
.check-tag.active {
  border-color: var(--brand); color: #93c5fd;
  background: rgba(59,130,246,.10); box-shadow: 0 0 0 4px var(--brand-glow);
}
.check-tag .key-label { font-size: 13px; color: var(--text-3); line-height: 1.4; }
.check-tag.active .key-label { color: #a9c8f0; }
.check-tag .key-size {
  font-size: 11px; color: #fcd34d; margin-top: 2px; padding: 2px 10px;
  background: rgba(251,191,36,.12); border-radius: 999px;
}
.check-tag .key-code { font-size: 13px; font-weight: 700; margin-top: 4px; word-break: break-all; text-align: center; }
.check-tag.active .key-code { color: #93c5fd; }
.form-input {
  width: 100%; height: 44px; background: #0b1729; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0 15px; font-size: 14px; outline: none;
  transition: all .18s ease; color: var(--ink);
}
.form-input::placeholder { color: #4d6484; }
.form-input:focus { background: #0e1e34; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-glow); }
textarea.form-input { height: 96px; padding: 12px 15px; resize: vertical; line-height: 1.6; }
.switch-row { display: flex; align-items: center; gap: 10px; }
.switch { position: relative; width: 48px; height: 26px; background: #1d2f48; border-radius: 999px; cursor: pointer; transition: background .2s; }
.switch.on { background: linear-gradient(135deg, #4f93ff, #2563eb); box-shadow: 0 0 18px -6px rgba(59,130,246,.9); }
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  background: #e7f0fb; border-radius: 50%; transition: left .2s; box-shadow: 0 2px 6px rgba(0,0,0,.4);
}
.switch.on::after { left: 25px; }
.submit-btn {
  width: 320px; height: 46px; line-height: 46px; color: #fff;
  font-size: 15px; font-weight: 600; border: none; border-radius: 999px;
  background: linear-gradient(135deg, #4f93ff, #2563eb);
  box-shadow: 0 14px 30px -14px rgba(59,130,246,.95);
}
.submit-btn:hover { transform: translateY(-1px); }
.submit-btn[disabled] { opacity: .55; }

/* 轻提示 toast */
.toast {
  position: fixed; top: 84px; left: 50%; transform: translateX(-50%);
  background: rgba(15,28,47,.94); color: #e8f0fb; padding: 12px 22px; border-radius: 12px;
  border: 1px solid rgba(96,165,250,.34);
  font-size: 13.5px; z-index: 400; max-width: 72%; text-align: center;
  box-shadow: 0 18px 44px -18px #000, 0 0 24px -14px rgba(59,130,246,.9);
  backdrop-filter: blur(8px);
  animation: toastIn .22s ease both;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* 滚动条 */
.sidebar::-webkit-scrollbar, .main-body::-webkit-scrollbar, .modal::-webkit-scrollbar, .table-wrap::-webkit-scrollbar { width: 8px; height: 8px; }
.sidebar::-webkit-scrollbar-thumb { background: #1a2c44; border-radius: 4px; }
.main-body::-webkit-scrollbar-thumb, .modal::-webkit-scrollbar-thumb, .table-wrap::-webkit-scrollbar-thumb { background: #20334d; border-radius: 4px; }
.sidebar::-webkit-scrollbar-track, .main-body::-webkit-scrollbar-track, .modal::-webkit-scrollbar-track, .table-wrap::-webkit-scrollbar-track { background: transparent; }

/* 总审核开关 */
.audit-switch { position: relative; display: inline-block; width: 42px; height: 23px; vertical-align: middle; }
.audit-switch input { opacity: 0; width: 0; height: 0; }
.audit-slider {
  position: absolute; inset: 0; cursor: pointer;
  background: #22344e; border-radius: 999px; transition: background .2s;
}
.audit-slider::before {
  content: ""; position: absolute; width: 19px; height: 19px; left: 2px; top: 2px;
  background: #e7f0fb; border-radius: 50%; transition: transform .2s; box-shadow: 0 2px 5px rgba(0,0,0,.4);
}
.audit-switch input:checked + .audit-slider { background: linear-gradient(135deg, #4f93ff, #2563eb); box-shadow: 0 0 18px -6px rgba(59,130,246,.9); }
.audit-switch input:checked + .audit-slider::before { transform: translateX(19px); }

/* ---------- 幸运大抽奖管理页 ---------- */
.lottery-settings {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px;
  background: rgba(251,191,36,.07); border: 1px solid rgba(251,191,36,.26); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 14px;
}
.ls-item { display: flex; align-items: center; gap: 8px; }
.ls-label { font-size: 13px; color: var(--text); white-space: nowrap; }
.ls-hint { font-size: 12px; color: var(--text-3); }
.ls-input { width: 72px; height: 32px; padding: 0 9px; }
.ls-input-wide { width: 320px; height: 32px; padding: 0 9px; }
.lottery-stats {
  display: flex; gap: 26px; margin-bottom: 14px; padding: 13px 18px;
  background: rgba(255,255,255,.025); border-radius: 12px; border: 1px solid var(--line);
}
.ls-stat { font-size: 13px; color: var(--text-2); }
.ls-stat b { color: #fca5a5; font-size: 15px; margin: 0 2px; font-variant-numeric: tabular-nums; }
.lottery-records-title { font-size: 14px; font-weight: 650; color: var(--ink-2); margin: 18px 0 10px; }

/* 鱼种标签管理 */
.fish-add-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 14px; padding: 14px 16px;
  background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 12px;
}
.fish-add-bar .form-input { width: 180px; height: 34px; }
.fish-add-bar .ls-hint { flex-basis: 100%; line-height: 1.6; }
.fish-rename-input { width: 160px; height: 32px; padding: 0 9px; text-align: center; }

/* ================= 窄屏适配 ================= */
@media (max-width: 1100px) {
  :root { --side: 200px; }
  .navbar-middle { display: none; }
  .uni-search { width: 170px; }
}
@media (max-width: 860px) {
  :root { --side: 0px; }
  .sidebar { display: none; }
  .main-body { margin-left: 0; padding: 14px 12px 24px; }
  .logo-text { font-size: 14.5px; }
  .navbar { padding: 0 14px; }
  .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-card { padding: 16px 16px 10px; }
  .stat-card .stat-num { font-size: 24px; }
  .stat-card .stat-badge { width: 28px; height: 28px; font-size: 12px; }
  .wide-modal, .narrow-modal { width: calc(100vw - 32px); }
}

/* 顶栏品牌编辑入口 */
.logo-edit {
  margin-left: 10px;
  width: 22px; height: 22px; line-height: 20px;
  text-align: center; font-size: 12px;
  color: var(--text-3);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: all .16s ease;
}
.logo-edit:hover { color: var(--brand-2); border-color: var(--brand); background: rgba(59, 130, 246, .12); }

/* ===== 关于我们 / 备案信息 ===== */
.about-tip {
  margin: 0 16px 10px;
  padding: 10px 12px;
  background: #f4f8ff;
  border: 1px solid #dbe7ff;
  border-radius: 6px;
  font-size: 13px;
  color: #5a6b8c;
  line-height: 1.7;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  padding: 6px 16px 16px;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-label {
  width: 118px;
  flex-shrink: 0;
  font-size: 13px;
  color: #606266;
  text-align: right;
}
.about-row .form-input {
  flex: 1;
  min-width: 0;
}
.about-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 16px 22px;
}
.about-hint {
  font-size: 12px;
  color: #909399;
}

/* Logo 上传行：输入框 + 上传按钮 + 预览缩略图 */
.about-logo-row { gap: 8px; }
.about-logo-preview {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px dashed #c8cdd6;
  background: #f7f8fa url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20'><text x='2' y='15' font-size='13' fill='%23b9bfc9'>+</text></svg>") center/20px 20px no-repeat;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

/* ---------- 发布规则提示 ---------- */
.pr-card {
  background: #fff;
  border-radius: 10px;
  padding: 16px 20px 20px;
  margin-bottom: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.pr-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f0f1f5;
}
.pr-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #1f2233;
}
.pr-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #4a4a55;
  cursor: pointer;
  user-select: none;
}
.pr-switch input {
  width: 15px;
  height: 15px;
  cursor: pointer;
}
.pr-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.pr-row-col {
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}
.pr-row .about-label {
  width: 120px;
  flex: 0 0 120px;
}
.pr-textarea {
  width: 100%;
  min-height: 160px;
  padding: 10px 12px;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: #1f2233;
  box-sizing: border-box;
  resize: vertical;
  font-family: inherit;
}
.pr-textarea:focus {
  outline: none;
  border-color: #409eff;
}
