/* ============================================================
   广州中和格致技术开发有限公司 - 企业官网
   风格：简约大气 / 现代商务
   ============================================================ */
:root {
  --navy: #0d5f8f;
  --ink: #1b3d55;
  --muted: #567d97;
  --accent: #0090d8;
  --accent-dark: #0b7ab8;
  --bg: #ffffff;
  --soft: #f0f8fd;
  --line: #d9ecf8;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(7, 43, 69, 0.08);
  --shadow-lg: 0 24px 64px rgba(7, 43, 69, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 40px; width: auto; display: block; }
.logo-text { font-weight: 700; font-size: 19px; color: var(--navy); letter-spacing: 1px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 15px; color: var(--muted); padding: 6px 0;
  border-bottom: 2px solid transparent; transition: all 0.2s;
}
.nav a:hover { color: var(--navy); }
.nav a.active { color: var(--navy); font-weight: 600; border-bottom-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; font-size: 15px; font-weight: 600;
  padding: 10px 22px; border: 1px solid transparent;
  transition: all 0.2s; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }

.user-chip {
  display: none; align-items: center; gap: 10px;
}
.user-chip .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--navy));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
}
.user-chip .uname { font-size: 14px; color: var(--navy); font-weight: 600; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-logout { background: none; border: none; color: var(--muted); font-size: 13px; }
.btn-logout:hover { color: var(--accent); }

.menu-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--navy); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 118px 0 96px;
  background:
    linear-gradient(100deg, rgba(30,120,175,0.62) 0%, rgba(40,145,195,0.42) 48%, rgba(60,165,210,0.15) 100%),
    url("../assets/banner-home.jpg") center 40% / cover no-repeat;
  color: #fff;
}
.hero-device { display: none; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(10px); pointer-events: none;
}
.hero::before {
  width: 560px; height: 560px; right: -140px; top: -180px;
  background: radial-gradient(circle, rgba(0, 144, 216, 0.16), transparent 65%);
}
.hero::after {
  width: 420px; height: 420px; left: -120px; bottom: -200px;
  background: radial-gradient(circle, rgba(0, 144, 216, 0.10), transparent 65%);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-tag {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25); font-size: 13px;
  color: #cfe8f7; letter-spacing: 2px; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 60px); line-height: 1.25;
  font-weight: 700; letter-spacing: 1px; margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(5, 43, 71, 0.45);
}
.hero h1 em { font-style: normal; color: #6cc3f2; }
.hero p.lead {
  font-size: 18px; color: #d5eafa; max-width: 620px; margin-bottom: 42px;
  text-shadow: 0 1px 6px rgba(5, 43, 71, 0.5);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-primary { box-shadow: 0 12px 30px rgba(0, 144, 216, 0.35); }
.hero .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.hero-device {
  position: absolute; right: 4%; bottom: 0; z-index: 0;
  width: min(480px, 34vw); opacity: 0.9;
}

/* ---------------- 区块通用 ---------------- */
.section { padding: 96px 0; }
.section.soft { background: var(--soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-head .kicker {
  color: var(--accent); font-size: 14px; font-weight: 700;
  letter-spacing: 4px; display: block; margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--navy); letter-spacing: 1px; }
.section-head p { color: var(--muted); margin-top: 14px; }

/* 优势卡片 */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; align-items: center; }

.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; transition: all 0.25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card .icon {
  width: 52px; height: 52px; border-radius: 13px; margin: 0 auto 20px;
  background: linear-gradient(135deg, #e1f3fc, #cfeafb);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.feature-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; text-align: center; }
.feature-card p { font-size: 14px; color: var(--muted); }

/* 产品卡片 */
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: all 0.25s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-visual {
  height: 190px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.product-visual.v1 { background: linear-gradient(135deg, #d3edfb, #7fc6ef); }
.product-visual.v2 { background: linear-gradient(135deg, #c4e5f9, #a3d8f4); }
.product-visual.v3 { background: linear-gradient(135deg, #d8f0fc, #6fbce8); }
.product-visual svg { width: 96px; height: 96px; }
.product-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.product-body p { font-size: 14px; color: var(--muted); flex: 1; }
.product-body .price {
  margin-top: 20px; font-size: 13px; color: var(--accent); font-weight: 700;
}
.product-body .price strong { font-size: 22px; margin: 0 2px; }

/* 数据 */
.stats-band { background: linear-gradient(135deg, #e8f6fe, #c9e9fb); color: #0d5f8f; padding: 72px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: 44px; font-weight: 700; color: #0090d8; letter-spacing: 1px; }
.stat .num sup { font-size: 20px; }
.stat .label { margin-top: 8px; font-size: 14px; color: #4f7f9d; letter-spacing: 2px; }

/* 流程 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid var(--line); position: relative;
}
.step .no {
  font-size: 40px; font-weight: 800; color: #cfeafb; line-height: 1; margin-bottom: 14px;
}
.step h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* 价格表 */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 18px 24px; text-align: left; font-size: 15px; }
.price-table thead th { background: #0090d8; color: #fff; font-weight: 600; letter-spacing: 1px; }
.price-table tbody tr { border-bottom: 1px solid var(--line); }
.price-table tbody tr:last-child { border-bottom: none; }
.price-table tbody tr:hover { background: #eff8fd; }
.price-table td.price { color: var(--accent); font-weight: 700; }

/* 页面 banner（内页顶部） */
.page-hero {
  padding: 136px 0 68px;
  background:
    linear-gradient(180deg, rgba(30,120,175,0.50) 0%, rgba(45,140,190,0.28) 100%),
    url("../assets/banner-about.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
}
body[data-page="services"] .page-hero {
  background-image: linear-gradient(180deg, rgba(30,120,175,0.50) 0%, rgba(45,140,190,0.28) 100%), url("../assets/banner-services.jpg");
}
body[data-page="contact"] .page-hero {
  background-image: linear-gradient(180deg, rgba(30,120,175,0.50) 0%, rgba(45,140,190,0.28) 100%), url("../assets/banner-contact.jpg");
}
.page-hero .kicker { color: #aee0f7; font-size: 14px; letter-spacing: 4px; font-weight: 700; display: block; margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: 2px; text-shadow: 0 2px 10px rgba(7,43,69,0.45); }
.page-hero p { color: #e3f3fc; margin-top: 16px; font-size: 17px; text-shadow: 0 1px 6px rgba(7,43,69,0.5); }

/* 关于我们 */
.about-visual {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #cfeafa, #8ecdf2);
  min-height: 380px; display: flex; align-items: center; justify-content: center;
}
.about-visual img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.about-visual svg { width: 70%; max-width: 420px; }
.about-text h2 { font-size: 30px; color: var(--navy); margin-bottom: 20px; letter-spacing: 1px; }
.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 15px; }
.about-points { margin-top: 28px; display: grid; gap: 12px; }
.about-points li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.about-points .dot { color: var(--accent); font-weight: 800; }

.timeline { position: relative; margin-top: 20px; padding-left: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px;
  width: 2px; background: var(--line);
}
.timeline-item { position: relative; padding: 0 0 30px 20px; }
.timeline-item::before {
  content: ""; position: absolute; left: -26px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 3px solid #cfeafb;
}
.timeline-item .year { color: var(--accent); font-weight: 700; font-size: 15px; }
.timeline-item p { color: var(--muted); font-size: 14px; margin-top: 4px; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; text-align: center;
}
.value-card .zh { font-size: 30px; color: var(--accent); font-weight: 800; }
.value-card h3 { font-size: 17px; color: var(--navy); margin-top: 10px; }
.value-card p { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* 联系我们 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px;
}
.info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.info-item:last-child { border-bottom: none; }
.info-item .ic {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: #e1f3fc; color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.info-item h4 { font-size: 15px; color: var(--navy); }
.info-item p { font-size: 14px; color: var(--muted); margin-top: 2px; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.form-field label .req { color: #e5484d; }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  outline: none; transition: border 0.2s; background: #fbfcfe; color: var(--ink);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--accent); background: #fff;
}
.form-hint { font-size: 12px; color: var(--muted); }
.file-row { display: flex; align-items: center; gap: 12px; }
.file-row input[type="file"] { flex: 1; border: none; background: none; padding: 6px 0; }
.file-clear { background: none; border: none; color: #e5484d; font-size: 13px; }

/* 我的留言 */
.my-messages { margin-top: 56px; }
.msg-list { display: grid; gap: 14px; }
.msg-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 24px; display: flex; justify-content: space-between; gap: 20px; align-items: flex-start;
}
.msg-item .m-body { flex: 1; }
.msg-item .m-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.msg-item .m-type { background: #e1f3fc; color: var(--accent); font-size: 12px; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.msg-item .m-time { color: var(--muted); font-size: 12px; }
.msg-item .m-content { font-size: 14px; color: var(--ink); }
.msg-item .m-att { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--accent); }
.msg-item .m-att img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.tag-status { font-size: 12px; padding: 4px 12px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.tag-status.pending { background: #fff4e0; color: #b7791f; }
.empty-tip { text-align: center; color: var(--muted); padding: 40px 0; font-size: 14px; }

/* ---------------- CTA 条 ---------------- */
.cta-band {
  background: linear-gradient(135deg, #ddf1fc, #bde6f9);
  border-radius: 20px; padding: 64px 56px; color: #0d5f8f;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { font-size: 28px; letter-spacing: 1px; }
.cta-band p { color: #3f6e8d; margin-top: 10px; }
.cta-band .btn-primary { box-shadow: 0 12px 30px rgba(0, 144, 216, 0.3); }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #edf7fd; color: #527b95; padding: 70px 0 0; border-top: 1px solid #d9ecf8; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px;
}
.footer-grid h4 { color: #0d5f8f; font-size: 15px; margin-bottom: 18px; letter-spacing: 1px; }
.footer-grid a, .footer-grid p { display: block; font-size: 14px; color: #527b95; padding: 5px 0; }
.footer-grid a:hover { color: #0090d8; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-img { height: 36px; width: auto; display: block; }
.footer-logo .logo-text { color: #0d5f8f; font-size: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(13, 95, 143, 0.14);
  padding: 22px 0; text-align: center; font-size: 13px; color: #6f93a9;
}

/* ---------------- 登录弹窗 ---------------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(4, 40, 62, 0.6); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.open { display: flex; }
.modal {
  background: #fff; border-radius: 18px; width: 100%; max-width: 420px;
  padding: 40px 36px; position: relative; animation: pop 0.25s ease;
  box-shadow: var(--shadow-lg);
}
@keyframes pop { from { transform: translateY(16px) scale(0.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; right: 16px; top: 14px; background: none; border: none;
  font-size: 22px; color: var(--muted); line-height: 1;
}
.modal-close:hover { color: var(--navy); }
.modal h3 { text-align: center; font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.modal .modal-sub { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.auth-tabs { display: flex; background: var(--soft); border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.auth-tabs button {
  flex: 1; border: none; background: none; padding: 10px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--muted); transition: all 0.2s;
}
.auth-tabs button.active { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(7,43,69,0.1); }
.auth-form { display: none; flex-direction: column; gap: 14px; }
.auth-form.active { display: flex; }
.auth-form input {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  outline: none; background: #fbfcfe; transition: border 0.2s;
}
.auth-form input:focus { border-color: var(--accent); background: #fff; }
.auth-form .btn { width: 100%; margin-top: 6px; }
.auth-err { color: #e5484d; font-size: 13px; min-height: 18px; text-align: center; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: #fff; padding: 13px 26px; border-radius: 999px;
  font-size: 14px; z-index: 300; opacity: 0; pointer-events: none;
  transition: all 0.3s; box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: #0e9f6e; }
.toast.error { background: #e5484d; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
  .grid-4, .grid-3, .values-grid, .steps, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 104px 0 80px; }
  .hero-device { display: none; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; background: #fff;
    flex-direction: column; gap: 0; padding: 10px 6%;
    border-bottom: 1px solid var(--line); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: none; width: 100%; }
  .menu-toggle { display: block; }
}
@media (max-width: 560px) {
  .grid-4, .grid-3, .values-grid, .steps, .stats-grid, .form-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta-band { padding: 44px 30px; }
  .header-actions .btn-ghost { display: none; }
}

/* ---------------- 公告条 ---------------- */
.notice-bar {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 12px;
  width: min(1160px, 92%); margin: 0 auto 34px;
  background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(13, 95, 143, 0.18);
  border-radius: 999px; padding: 8px 18px;
  font-size: 14px; color: #1f5b83; font-weight: 500;
}
.notice-bar .n-tag {
  flex-shrink: 0; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 999px;
  letter-spacing: 2px;
}
.notice-bar .n-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- 登录弹窗：验证码行 ---------------- */
.otp-row { display: flex; gap: 10px; }
.otp-row input { flex: 1; min-width: 0; }
.otp-send { flex-shrink: 0; padding: 10px 14px; font-size: 13px; }
.otp-send:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---------------- 管理后台 ---------------- */
.num-big { font-size: 36px; font-weight: 800; color: var(--accent); }
.card-title { font-size: 17px; color: var(--navy); margin-bottom: 18px; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.form-card textarea, .form-card input {
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px;
  font-size: 14px; outline: none; background: #fbfcfe; width: 100%; color: var(--ink);
}
.form-card textarea:focus, .form-card input:focus { border-color: var(--accent); background: #fff; }
.form-card .form-field label { font-size: 13px; }
.save-btn { margin-top: 18px; }
.toolbar { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar select {
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px;
  font-size: 14px; background: #fff; color: var(--ink); outline: none;
}
.admin-table-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; }
.admin-table th, .admin-table td { font-size: 13px; padding: 12px 14px; vertical-align: top; }
.admin-table .nowrap { white-space: nowrap; }
.admin-table .sub { color: var(--muted); font-size: 12px; }
.admin-table .content-cell { min-width: 220px; max-width: 360px; }
.admin-table td input { padding: 6px 10px; font-size: 13px; min-width: 120px; }
.status-select {
  border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px;
  font-size: 13px; background: #fff; color: var(--ink); outline: none;
}
.del-btn {
  background: none; border: 1px solid #ffd7d9; color: #e5484d;
  border-radius: 8px; padding: 5px 10px; font-size: 12px; transition: all 0.2s;
}
.del-btn:hover { background: #fff1f2; }
.att-link { color: var(--accent); font-size: 13px; }

/* ---------- 版本切换浮标（临时，确定版本后可移除）---------- */
.ver-switch {
  position: fixed; left: 20px; bottom: 24px; z-index: 900;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 26px rgba(14, 140, 207, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ver-switch:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(14, 140, 207, 0.45); }
.ver-switch .vs-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}
@media (max-width: 560px) {
  .ver-switch { left: 14px; bottom: 14px; padding: 9px 14px; font-size: 12px; }
}
