/* 基础样式：移动端优先 + 轻量美化 */
html, body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; color: #0f172a; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
body{
  background:
    radial-gradient(1200px 500px at 10% 0%, rgba(99,102,241,.18), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(236,72,153,.12), transparent 55%),
    radial-gradient(900px 500px at 50% 100%, rgba(59,130,246,.10), transparent 55%),
    #f7f8fc;
  background-image:
    url('../images/bg.jpg'),
    radial-gradient(1200px 500px at 10% 0%, rgba(99,102,241,.18), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(236,72,153,.12), transparent 55%),
    radial-gradient(900px 500px at 50% 100%, rgba(59,130,246,.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.85));
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 420px 420px, auto, auto, auto, auto;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
}
.container { max-width: 980px; margin: 0 auto; padding: 14px; padding-bottom: 74px; }
.card { background: rgba(255,255,255,.88); border-radius: 16px; padding: 16px; box-shadow: 0 10px 30px rgba(15,23,42,.08); border: 1px solid rgba(148,163,184,.22); backdrop-filter: blur(8px); }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.col { flex: 1 1 220px; }
.title { font-size: 20px; font-weight: 800; margin: 0 0 10px; letter-spacing: .2px; }
.muted { color: #666; font-size: 13px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 16px; border-radius: 12px; background: linear-gradient(135deg, #4f46e5, #2563eb); color: #fff; border: none; cursor: pointer; font-weight: 700; box-shadow: 0 10px 22px rgba(37,99,235,.22); }
.btn.secondary { background: #111827; }
.btn.ghost { background: rgba(255,255,255,.7); color: #1d4ed8; border: 1px solid rgba(147,197,253,.7); box-shadow: none; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.nav .brand { font-weight: 900; letter-spacing: .6px; }
.nav .brand a{ display:inline-flex; align-items:center; gap:10px; }
.brand-dot{ width:10px; height:10px; border-radius:999px; background: linear-gradient(135deg,#4f46e5,#ec4899); box-shadow: 0 6px 16px rgba(236,72,153,.25); }
.badge { display: inline-flex; align-items: center; justify-content: center; padding: 4px 10px; border-radius: 999px; background: rgba(239,246,255,.85); color: #1d4ed8; font-size: 12px; border: 1px solid rgba(191,219,254,.8); }
.hero{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: 0 14px 40px rgba(15,23,42,.10);
  background: #fff;
}
.hero img{ display:block; width:100%; height:auto; }
.hero .hero-body{ padding: 14px 14px 0 14px; }
.hero .hero-title{ font-size: 22px; font-weight: 900; margin: 0; }
.hero .hero-desc{ margin: 8px 0 0 0; color:#475569; font-size: 13px; line-height: 1.6; }
.hero .hero-actions{ display:flex; gap:10px; flex-wrap:wrap; padding: 12px 14px 14px 14px; }
.btn.block{ width:100%; }
.btn.pill{ border-radius: 999px; }
.btn.soft{ background: rgba(255,255,255,.9); color:#1e40af; border:1px solid rgba(191,219,254,.9); box-shadow:none; }
.btn:active{ transform: translateY(1px); }
.btn.ghost:active{ transform: translateY(1px); }
.divider{ height:1px; background: rgba(226,232,240,.8); margin: 14px 0; }
.q { padding: 14px 0; border-bottom: 1px dashed #e5e7eb; }
.q:last-child { border-bottom: none; }
.q h3 { margin: 0 0 10px; font-size: 16px; }
.opt { display: block; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 10px; margin-bottom: 10px; cursor: pointer; }
.opt input { margin-right: 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.alert { padding: 10px 12px; border-radius: 10px; background: #fef3c7; color: #92400e; margin: 10px 0; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #eee; font-size: 14px; vertical-align: top; }
.input, .textarea { width: 100%; box-sizing: border-box; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 12px; font-size: 14px; outline: none; }
.textarea { min-height: 120px; resize: vertical; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

/* 右侧竖直悬浮按钮 */
.fab-rail{
  position: fixed;
  right: 10px;
  top: 42%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}
.fab-btn{
  width: 44px;
  border-radius: 14px;
  padding: 10px 8px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(148,163,184,.28);
  box-shadow: 0 12px 26px rgba(15,23,42,.12);
  color: #0f172a;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.1;
  text-align: center;
}
.fab-btn span{ display:block; }
.fab-btn.primary{
  background: linear-gradient(135deg, rgba(79,70,229,.96), rgba(37,99,235,.96));
  color: #fff;
  border-color: rgba(255,255,255,.22);
}
.fab-btn:active{ transform: translateY(1px); }
@media (max-width: 360px){
  .fab-btn{ width:40px; border-radius: 12px; padding: 9px 7px; }
  .fab-rail{ right: 8px; }
}

/* 底部小字入口 */
.footer-note{
  margin-top: 12px;
  color: rgba(71,85,105,.95);
  font-size: 12px;
  text-align: center;
}
.footer-note a{ color: rgba(71,85,105,.95); text-decoration: underline; }
