* { box-sizing: border-box; }
:root {
  --brand: #1A73E8;
  --brand-soft: rgba(26, 115, 232, 0.10);
  --ink: #1f2937;
  --muted: #6b7280;
  --line: rgba(15, 23, 42, 0.06);
}
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  background: #F4F6F8;
  color: var(--ink);
  font: 14px/1.7 system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  position: relative;
  overflow-x: hidden;
}
body::before, body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}
body::before {
  width: 480px; height: 480px;
  top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(120, 170, 255, 0.28), transparent 65%);
}
body::after {
  width: 420px; height: 420px;
  bottom: -140px; left: -120px;
  background: radial-gradient(circle, rgba(130, 220, 230, 0.22), transparent 65%);
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; }

.topbar {
  position: relative;
  z-index: 2;
  width: 980px;
  max-width: calc(100% - 32px);
  margin: 16px auto 0;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 6px 24px -12px rgba(31, 41, 55, 0.12);
  padding: 0 18px;
  height: 52px;
  line-height: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar .brand { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: 0.3px; }
.topbar .nav a { color: var(--muted); margin-left: 18px; transition: color .18s, transform .18s; display: inline-block; }
.topbar .nav a:hover { color: var(--brand); transform: translateX(3px); }

.wrap { position: relative; z-index: 1; width: 980px; max-width: calc(100% - 32px); margin: 20px auto 40px; }

.panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.08);
  margin-bottom: 18px;
  overflow: hidden;
}
.panel .hd {
  padding: 18px 24px 6px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.panel .bd { padding: 18px 24px 24px; }

table { width: 100%; border-collapse: separate; border-spacing: 0; background: transparent; }
table th, table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
table th { color: var(--muted); font-weight: 600; font-size: 12px; letter-spacing: 0.4px; background: transparent; }
table tr:last-child td { border-bottom: none; }
table tr:hover td { background: rgba(26, 115, 232, 0.03); }

input[type=text], input[type=password], input[type=email], select, textarea {
  border: 1px solid transparent;
  background: #F2F4F7;
  padding: 10px 14px;
  font: 14px system-ui, sans-serif;
  color: var(--ink);
  height: 42px;
  border-radius: 12px;
  outline: none;
  transition: background .2s, box-shadow .2s, border-color .2s;
}
textarea { height: auto; width: 100%; }
input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, select:focus, textarea:focus {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.btn {
  border: 1px solid transparent;
  background: #EEF1F6;
  color: var(--ink);
  padding: 0 18px;
  height: 42px;
  line-height: 40px;
  border-radius: 12px;
  cursor: pointer;
  font: 14px system-ui, sans-serif;
  font-weight: 500;
  transition: transform .28s cubic-bezier(.22,1.4,.36,1), box-shadow .2s, background .2s, color .2s;
}
.btn:hover { background: #E3E8F0; }
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(26, 115, 232, 0.55);
}
.btn-primary:hover { background: #1564d0; transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(26, 115, 232, 0.6); }
.btn-danger { background: #FDECEC; color: #b42318; }
.btn-danger:hover { background: #fbd8d8; }
.btn-link { background: none; border: none; color: var(--brand); cursor: pointer; padding: 0; font: 14px system-ui; }
.btn-link:hover { text-decoration: underline; }

.msg-ok { border: 1px solid rgba(34,160,90,0.2); background: rgba(34,160,90,0.08); color: #166534; padding: 10px 14px; border-radius: 12px; margin-bottom: 14px; }
.msg-err { border: 1px solid rgba(200,60,60,0.18); background: rgba(220,60,60,0.06); color: #b42318; padding: 10px 14px; border-radius: 12px; margin-bottom: 14px; }
.tip { color: var(--muted); font-size: 12px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: inline-block; width: 110px; color: var(--muted); font-size: 13px; }
.form-row .hint { color: #9ca3af; margin-left: 8px; }
.pager { padding: 12px 0; color: var(--muted); }
.pager a { margin-right: 10px; }
.tag-on { color: #166534; font-weight: 600; }
.tag-off { color: #b42318; font-weight: 600; }
.foot { text-align: center; color: #9ca3af; padding: 20px 0 30px; font-size: 12px; }
.mono { font-family: ui-monospace, Consolas, monospace; }
.code-box { background: #F2F4F7; padding: 3px 10px; border-radius: 8px; font-family: ui-monospace, Consolas, monospace; }

.tip-card { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; text-align: center; box-shadow: 0 8px 30px -12px rgba(15,23,42,0.12); }
.tip-card img { width: 180px; height: 180px; border-radius: 12px; display: block; }
.tip-card p { margin: 8px 0 0; font-size: 12px; color: var(--muted); }

@media (max-width: 720px) {
  .wrap { margin: 12px 8px 30px; }
  .panel .hd { font-size: 18px; }
  .panel .bd { padding: 16px; }
  table { display: block; overflow-x: auto; white-space: nowrap; }
  .form-row label { width: 100%; display: block; margin-bottom: 6px; }
  input[type=text], input[type=password], select, textarea { width: 100%; }
  .btn { width: 100%; height: 44px; }
  .topbar { height: auto; line-height: 1.4; padding: 12px 16px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .topbar .nav a { margin: 0 14px 0 0; }
}
