﻿/* 玉兔摸金 · 粉色主题 */
:root {
  --pink-50: #fff6fa;
  --pink-100: #ffe9f2;
  --pink-150: #ffdcec;
  --pink-200: #ffcfe3;
  --pink-300: #ffa8cb;
  --pink-400: #ff7cb2;
  --pink-500: #ff4f97;
  --pink-600: #ef2f7f;
  --pink-700: #c81c67;
  --pink-900: #5b1332;
  --ink: #4a2135;
  --ink-soft: #8a5c72;
  --mint: #2fbf94;
  --amber: #f0a12b;
  --violet: #a06bff;
  --card: rgba(255, 255, 255, 0.86);
  --line: #ffd7e8;
  --shadow: 0 22px 48px -30px rgba(200, 28, 103, 0.55);
  --shadow-soft: 0 10px 26px -20px rgba(200, 28, 103, 0.6);
  --radius: 22px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  overflow-x: hidden;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system,
    "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1100px 620px at 8% -8%, #ffe2f0 0%, rgba(255, 226, 240, 0) 62%),
    radial-gradient(900px 560px at 92% 4%, #ffe7f6 0%, rgba(255, 231, 246, 0) 58%),
    radial-gradient(900px 700px at 50% 110%, #ffd9ec 0%, rgba(255, 217, 236, 0) 62%),
    linear-gradient(180deg, #fff7fb 0%, #fff1f8 55%, #ffe9f4 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--pink-600); text-decoration: none; }
a:hover { text-decoration: underline; }

.hidden { display: none !important; }

/* ---------------- 背景装饰 ---------------- */
.bg-blobs { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(46px); opacity: 0.55; }
.b1 { width: 380px; height: 380px; left: -110px; top: 8%; background: #ffb8d6; }
.b2 { width: 300px; height: 300px; right: -90px; top: 28%; background: #ffcbe6; }
.b3 { width: 420px; height: 420px; left: 38%; bottom: -220px; background: #ffd4ea; }
.float { position: absolute; font-size: 26px; opacity: 0.5; animation: drift 16s ease-in-out infinite; }
.e1 { left: 6%; top: 16%; animation-delay: -1s; }
.e2 { left: 88%; top: 12%; font-size: 30px; animation-delay: -4s; }
.e3 { left: 14%; top: 72%; animation-delay: -7s; }
.e4 { left: 78%; top: 66%; font-size: 30px; animation-delay: -2.5s; }
.e5 { left: 46%; top: 8%; animation-delay: -6s; }
.e6 { left: 62%; top: 84%; font-size: 30px; animation-delay: -9s; }
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-6deg); }
  50% { transform: translate3d(10px, -22px, 0) rotate(8deg); }
}

/* ---------------- 顶栏 ---------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 12px clamp(16px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(255, 249, 252, 0.94), rgba(255, 240, 247, 0.82));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pink-200);
  box-shadow: 0 12px 30px -26px rgba(200, 28, 103, 0.8);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-rabbit {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  font-size: 26px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 25%, #ffffff, #ffd3e7 70%);
  border: 1px solid var(--pink-200);
  box-shadow: inset 0 1px 0 #fff, 0 10px 20px -14px rgba(200, 28, 103, 0.9);
  animation: bob 3.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-4px) } }
.brand-text h1 {
  margin: 0;
  font-size: 19px;
  letter-spacing: 2px;
  white-space: nowrap;
  background: linear-gradient(120deg, var(--pink-700), var(--pink-500) 60%, var(--pink-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-text p { margin: 2px 0 0; font-size: 10px; letter-spacing: 3px; color: var(--pink-400); }

.topbar-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--pink-700);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--pink-200);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}
.chip.mono { font-variant-numeric: tabular-nums; letter-spacing: 0.4px; }
.chip .k { color: var(--ink-soft); font-weight: 500; }
.chip.live-on { color: #1f7f65; border-color: #b7ecdb; background: #f1fffa; }
.chip.live-off { color: #b0641f; border-color: #ffe0bb; background: #fffaf2; }
.chip.demo { color: #8a53d6; border-color: #e3d2ff; background: #faf5ff; }

/* ---------------- 按钮 / 输入 ---------------- */
.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #ff8cc0, var(--pink-500) 48%, var(--pink-600));
  box-shadow: 0 14px 26px -16px rgba(239, 47, 127, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn.primary:hover { box-shadow: 0 18px 32px -14px rgba(239, 47, 127, 0.95); transform: translateY(-1px); }
.btn.soft {
  color: var(--pink-700);
  background: var(--pink-100);
  border-color: var(--pink-200);
}
.btn.soft:hover { background: var(--pink-150); }
.btn.ghost {
  color: var(--pink-700);
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--pink-200);
}
.btn.ghost:hover { background: #fff; }
.btn.danger { color: #fff; background: linear-gradient(135deg, #ff8fa8, #f2405f); }
.btn.block { width: 100%; padding: 13px 18px; font-size: 15px; }
.btn.xs { padding: 5px 10px; font-size: 11px; border-radius: 999px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 12px; font-weight: 700; color: var(--pink-700); margin-bottom: 6px; letter-spacing: 0.6px; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], select {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--pink-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
input::placeholder { color: #d0a8bd; }
input:focus, select:focus {
  border-color: var(--pink-400);
  box-shadow: 0 0 0 4px rgba(255, 124, 178, 0.18);
}

.tabs { display: flex; gap: 8px; padding: 5px; background: var(--pink-100); border: 1px solid var(--pink-200); border-radius: 999px; margin-bottom: 18px; }
.tab {
  flex: 1;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  color: var(--pink-700);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab.active { background: #fff; box-shadow: 0 8px 18px -14px rgba(200, 28, 103, 0.9); }

/* ---------------- 舞台 / 登录 ---------------- */
.stage { position: relative; z-index: 1; padding: clamp(18px, 2.6vw, 30px); }
.view { animation: rise 0.34s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.login-wrap { min-height: calc(100vh - 150px); display: grid; place-items: center; padding: 10px; }
.login-card {
  width: min(440px, 100%);
  padding: 30px 28px 22px;
  background: var(--card);
  border: 1px solid var(--pink-200);
  border-radius: 30px;
  box-shadow: 0 40px 80px -50px rgba(200, 28, 103, 0.75), inset 0 1px 0 #fff;
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.login-card::before {
  content: "";
  position: absolute;
  inset: -60% -30% auto -30%;
  height: 220px;
  background: radial-gradient(ellipse at center, rgba(255, 168, 203, 0.55), rgba(255, 168, 203, 0));
  pointer-events: none;
}
.login-mascot {
  width: 82px; height: 82px;
  margin: -4px auto 8px;
  display: grid; place-items: center;
  font-size: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #ffffff, #ffd9ea 68%, #ffc2dd);
  border: 2px solid #fff;
  box-shadow: 0 18px 34px -20px rgba(200, 28, 103, 0.95);
  animation: bob 3s ease-in-out infinite;
}
.login-card h2 {
  margin: 6px 0 4px;
  text-align: center;
  font-size: 26px;
  letter-spacing: 3px;
  background: linear-gradient(120deg, var(--pink-700), var(--pink-500) 55%, var(--pink-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.login-sub { margin: 0 0 20px; text-align: center; font-size: 12.5px; color: var(--ink-soft); }
.login-form { margin: 0; }
.login-foot { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; }
.link-btn {
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: 12px; font-family: inherit; color: var(--pink-600); font-weight: 700;
}
.link-btn:hover { color: var(--pink-700); text-decoration: underline; }
.dot-sep { color: var(--pink-300); }
.login-note { margin: 12px 0 0; text-align: center; font-size: 11px; color: #bd8fa7; line-height: 1.6; }
.turnstile-box { margin-bottom: 14px; }
.turnstile-mount { margin-bottom: 8px; min-height: 4px; }
.turnstile-box input { font-size: 12px; }

/* ---------------- 控制台骨架 ---------------- */
.console {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}
.console > * { min-width: 0; }
.pane { min-width: 0; }
.side {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--pink-200);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 4px;
  border: none;
  border-radius: 16px;
  background: transparent;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}
.nav-item b { font-size: 18px; font-weight: 400; line-height: 1; filter: saturate(1.05); }
.nav-item:hover { background: var(--pink-100); color: var(--pink-700); }
.nav-item.active {
  color: #fff;
  background: linear-gradient(140deg, #ff8cc0, var(--pink-500) 60%, var(--pink-600));
  box-shadow: 0 14px 24px -16px rgba(239, 47, 127, 0.95);
}
.content { min-width: 0; display: flex; flex-direction: column; gap: 16px; }

.live {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 120px);
  background: var(--card);
  border: 1px solid var(--pink-200);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.live-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; font-size: 12.5px; font-weight: 800; color: var(--pink-700);
  border-bottom: 1px dashed var(--pink-200);
  background: linear-gradient(180deg, #fff, rgba(255, 240, 247, 0.6));
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #d9bfcd; box-shadow: 0 0 0 4px rgba(255, 207, 227, 0.5); }
.live-dot.on { background: var(--mint); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(47, 191, 148, 0.22) } 50% { box-shadow: 0 0 0 7px rgba(47, 191, 148, 0.05) } }
.live-log { flex: 1; overflow-y: auto; padding: 10px 12px; font-size: 11.5px; line-height: 1.55; }
.live-log .row { padding: 5px 0; border-bottom: 1px dashed rgba(255, 207, 227, 0.7); color: var(--ink); word-break: break-all; }
.live-log .row time { color: var(--pink-400); font-variant-numeric: tabular-nums; margin-right: 6px; }
.live-log .row.k-sys { color: var(--ink-soft); }
.live-log .row.k-ok { color: #1f7f65; }
.live-log .row.k-warn { color: #b0641f; }
.live-log .row.k-bad { color: #c62a4d; }
.live-foot { padding: 10px 14px; font-size: 11px; color: var(--ink-soft); border-top: 1px dashed var(--pink-200); background: rgba(255, 246, 250, 0.8); }

/* ---------------- 卡片 ---------------- */
.card {
  background: var(--card);
  border: 1px solid var(--pink-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  padding: 18px 20px;
  animation: rise 0.3s ease both;
}
.card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.card-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--pink-700); letter-spacing: 0.4px; }
.card-title .emoji { font-size: 18px; }
.card-sub { font-size: 11.5px; color: var(--ink-soft); }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.grid { display: grid; gap: 14px; }
.grid.stats { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.stat {
  position: relative;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--pink-200);
  background: linear-gradient(160deg, #fff, #fff4f9);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.stat::after {
  content: attr(data-emoji);
  position: absolute; right: 12px; top: 10px;
  font-size: 26px; opacity: 0.22;
}
.stat .label { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.5px; }
.stat .value { margin-top: 6px; font-size: 25px; font-weight: 800; letter-spacing: 0.5px; color: var(--pink-700); font-variant-numeric: tabular-nums; }
.stat .value small { font-size: 12px; color: var(--ink-soft); font-weight: 600; margin-left: 4px; }
.stat .hint { margin-top: 4px; font-size: 11px; color: #bd8fa7; }
.stat.accent { background: linear-gradient(150deg, #fff, #ffeaf4); }
.stat.mint .value { color: #1f8f70; }

/* ---------------- 表格 ---------------- */
.tbl-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--pink-150); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 560px; }
table.tbl.compact { min-width: 0; }
table.tbl th {
  text-align: left; padding: 10px 12px; font-size: 11px; letter-spacing: 0.6px;
  color: var(--pink-700); background: linear-gradient(180deg, #fff6fa, #ffeaf3);
  border-bottom: 1px solid var(--pink-200); white-space: nowrap; font-weight: 800;
}
table.tbl td { padding: 10px 12px; border-bottom: 1px dashed var(--pink-150); color: var(--ink); vertical-align: middle; }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl tbody tr:hover { background: #fff7fb; }
table.tbl .num { font-variant-numeric: tabular-nums; font-weight: 700; }
.tbl .muted { color: var(--ink-soft); }
.tbl .acct { font-weight: 800; color: var(--pink-700); }

.pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: var(--pink-100); color: var(--pink-700); border: 1px solid var(--pink-200);
  white-space: nowrap;
}
.pill.ok { background: #effdf8; color: #1c8a68; border-color: #b8ecda; }
.pill.warn { background: #fff8ec; color: #b0641f; border-color: #ffe2b8; }
.pill.bad { background: #fff0f3; color: #c62a4d; border-color: #ffc9d5; }
.pill.info { background: #f4f0ff; color: #7346cf; border-color: #ddd0ff; }
.pill.mute { background: #f7f2f5; color: #8a5c72; border-color: #eedde6; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-item {
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: #fff; border: 1px dashed var(--pink-300); color: var(--pink-700);
}
.chip-item.hot { background: linear-gradient(135deg, #ff8cc0, var(--pink-500)); color: #fff; border: none; box-shadow: 0 10px 20px -14px rgba(239, 47, 127, 0.95); }

/* ---------------- 用量 / 图表 ---------------- */
.bars { display: flex; align-items: flex-end; gap: 4px; height: 130px; padding: 8px 4px 0; border-bottom: 1px dashed var(--pink-200); }
.bars .bar {
  flex: 1; min-width: 3px; border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #ffa8cb, var(--pink-500));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: height 0.4s ease, filter 0.2s ease;
  position: relative;
}
.bars .bar:hover { filter: brightness(1.06) saturate(1.1); }
.bars .bar.empty { background: #ffe3ee; box-shadow: none; }
.bars-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10.5px; color: var(--ink-soft); }

.windows { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.window {
  padding: 12px; border-radius: 16px; border: 1px solid var(--pink-150);
  background: linear-gradient(160deg, #fff, #fff5fa); text-align: center;
}
.window .k { font-size: 11px; color: var(--ink-soft); font-weight: 700; }
.window .v { font-size: 17px; font-weight: 800; color: var(--pink-700); margin-top: 4px; font-variant-numeric: tabular-nums; }
.window .sub { font-size: 10.5px; color: #bd8fa7; margin-top: 2px; }

.meter { height: 7px; border-radius: 999px; background: #ffe3ee; overflow: hidden; margin-top: 8px; }
.meter > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ffb0d0, var(--pink-500)); transition: width 0.4s ease; }

/* ---------------- 空状态 ---------------- */
.empty { padding: 26px 10px; text-align: center; color: var(--ink-soft); font-size: 12.5px; }
.empty .big { display: block; font-size: 34px; margin-bottom: 8px; opacity: 0.85; }

/* ---------------- 弹窗 / Toast ---------------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center;
  background: rgba(91, 19, 50, 0.28); backdrop-filter: blur(4px); padding: 18px;
}
.modal {
  width: min(440px, 100%); padding: 24px;
  background: #fff; border-radius: 26px; border: 1px solid var(--pink-200);
  box-shadow: 0 40px 90px -46px rgba(200, 28, 103, 0.9);
  animation: rise 0.24s ease both;
}
.modal h3 { margin: 0 0 6px; font-size: 17px; color: var(--pink-700); }
.modal p { margin: 0 0 14px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; }

.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: flex; flex-direction: column; gap: 8px; }
.toast {
  padding: 11px 16px; border-radius: 14px; font-size: 12.5px; font-weight: 700;
  background: #fff; color: var(--pink-700); border: 1px solid var(--pink-200);
  box-shadow: 0 20px 40px -26px rgba(200, 28, 103, 0.9);
  animation: rise 0.22s ease both; max-width: 320px;
}
.toast.ok { color: #1c8a68; border-color: #b8ecda; }
.toast.bad { color: #c62a4d; border-color: #ffc9d5; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1280px) {
  .console { grid-template-columns: 88px minmax(0, 1fr); }
  .live { display: none; }
}
@media (max-width: 860px) {
  .console { grid-template-columns: 1fr; }
  .side {
    position: sticky; top: 74px; z-index: 20;
    flex-direction: row; overflow-x: auto; gap: 4px; padding: 8px; border-radius: 18px;
  }
  .nav-item { flex: 0 0 auto; min-width: 58px; padding: 8px 6px; }
  .topbar { padding: 10px 14px; }
  .brand-text p { display: none; }
  .brand-text h1 { font-size: 16px; }
  .chip { padding: 6px 10px; font-size: 11px; }
  .stage { padding: 12px; }
  .card { padding: 15px; border-radius: 18px; }
  .login-card { padding: 24px 18px 18px; }
}

@media (max-width: 760px) {
  .tbl-wrap table.tbl th.col-opt,
  .tbl-wrap table.tbl td.col-opt { display: none; }
  .grid.two { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .topbar { flex-direction: column; align-items: stretch; gap: 8px; }
  .topbar-right {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .topbar-right::-webkit-scrollbar { display: none; }
  .brand-rabbit { width: 40px; height: 40px; font-size: 22px; }
  .brand-text h1 { font-size: 17px; }
  .content form.grid,
  .card form.grid { grid-template-columns: 1fr !important; }
  .grid.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  table.tbl { min-width: 0; }
  .stat .value { font-size: 21px; }
  .pane .card { padding: 14px 13px; }
  .modal { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ================= 玉兔摸金 2.0 追加样式 ================= */

/* 粉色兔子雨 */
.rabbit-rain {
  position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.rain-rabbit {
  position: absolute; top: -8vh;
  font-size: 20px;
  opacity: 0.6;
  animation: rabbitFall linear infinite;
  will-change: transform;
  filter: drop-shadow(0 4px 6px rgba(200, 28, 103, 0.16));
}
@keyframes rabbitFall {
  0%   { transform: translate3d(0, -10vh, 0) rotate(0deg); opacity: 0; }
  12%  { opacity: 0.75; }
  100% { transform: translate3d(var(--drift, 40px), 112vh, 0) rotate(360deg); opacity: 0; }
}

/* 人机验证提示条 */
.ts-banner {
  margin: 0 0 14px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.6;
  color: #9b2f5f;
  background: #fff0f7;
  border: 1px dashed var(--pink-300);
  border-radius: var(--radius-sm);
}
.ts-banner b { color: var(--pink-700); }

.form-hint { margin: 10px 0 0; font-size: 11.5px; line-height: 1.65; color: #b07d96; }
.link-btn.tiny { font-size: 11px; opacity: 0.85; }
.login-form .btn.block + .btn.block { margin-top: 8px; }
.login-form .btn.block { margin-top: 4px; }
.tabs .tab { padding: 9px 6px; font-size: 12.5px; white-space: nowrap; }

/* 登录页兔子更密一点 */
.login-mascot::after {
  content: "🐰🐇";
  position: absolute;
  margin-top: 58px;
  font-size: 13px;
  letter-spacing: 3px;
  opacity: 0.75;
}
.login-card::after {
  content: "🥕 🐰 💗 🐇 🥕";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 6px;
  opacity: 0.32;
  pointer-events: none;
}

/* 顶部品牌副标题带域名 */
.brand-text p { letter-spacing: 1.2px; }

@media (max-width: 560px) {
  .login-card { padding: 24px 18px 20px; border-radius: 24px; }
  .tabs .tab { font-size: 11.5px; padding: 8px 4px; }
  .rain-rabbit { font-size: 16px; }
}

/* 人机验证还没渲染出来时给个占位提示（渲染出 iframe 后自动消失） */
.turnstile-mount:empty::after {
  content: "🐰 人机验证加载中…（没出来就点下面的重试）";
  display: block;
  font-size: 11.5px;
  line-height: 1.6;
  color: #c98aa8;
}
