/* ============================================================
   组件样式 - Header / Footer / Banner / Modal / Cards
   ============================================================ */

/* ---------- TopBar ---------- */
.topbar {
  background: var(--slate-100);
  color: var(--slate-500);
  font-size: 0.75rem;
  padding: 0.625rem 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.topbar-item { display: inline-flex; align-items: center; gap: 0.375rem; }
.topbar-item.fw-medium { font-weight: 500; }
@media (max-width: 767px) {
  .topbar { display: none; }
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  --header-text: var(--slate-800);
  --header-text-muted: var(--slate-600);

  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.site-header > .container {
  position: relative;
  z-index: 2;
}

/* 导航底部向下延伸的柔和阴影，融入 banner */
.site-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 40px;
  pointer-events: none;
  z-index: 3;
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--brand);
}
.brand .icon { width: 32px; height: 32px; }
.brand-logo {
  height: 38px;
  object-fit: contain;
  display: block;
}
@media (max-width: 767px) {
  .brand-logo { height: 2rem; }
}
.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--header-text, var(--slate-800));
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: color 0.8s ease;
}
.brand-sub {
  font-size: 10px;
  color: var(--header-text-muted, var(--slate-500));
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 2px;
  transition: color 0.8s ease;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2.5rem;
  height: 100%;
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}
/* 1024~1200px 过渡区间：收窄间距防止跑版 */
@media (min-width: 1024px) and (max-width: 1200px) {
  .nav-desktop { gap: 1.2rem; }
  .nav-link { font-size: 0.875rem; }
  .header-cta-btn { padding: 0.5rem 0.875rem; font-size: 0.8rem; }
  .header-weather { gap: 0.3rem; }
  .header-weather .hw-text { display: none; }
  .brand-logo { height: 30px; }
  .brand-title { font-size: 1.05rem; }
  .brand-sub { display: none; }
}
.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 100%;
  padding: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--header-text, var(--slate-700));
  letter-spacing: 0.02em;
  transition: color 0.8s ease, opacity var(--transition);
}
.nav-link:hover { color: #0e3a93; opacity: 1; }
.nav-link.active { color: #0e3a93; }
.nav-link .chev {
  width: 12px; height: 12px;
  opacity: 0.55;
  transition: transform var(--transition);
}
.nav-item:hover .nav-link .chev,
.nav-item.is-open .nav-link .chev { transform: rotate(180deg); opacity: 1; }

.nav-dropdown {
  position: absolute;
  top: 100%; 
  left: 50%;
  transform: translate(-50%, -4px);
  padding-top: 0.5rem;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility 0s var(--transition);
}
.nav-item:hover .nav-dropdown,
.nav-item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity var(--transition), transform var(--transition);
}
.nav-dropdown-inner {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 18px 40px rgba(15, 35, 80, 0.12), 0 2px 6px rgba(15, 35, 80, 0.06);
  border: 1px solid rgba(78, 146, 229, 0.08);
  padding: 0.5rem;
  min-width: 168px;
  overflow: hidden;
  position: relative;
}
.nav-dropdown-inner::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: #fff;
  border-top: 1px solid rgba(78, 146, 229, 0.08);
  border-left: 1px solid rgba(78, 146, 229, 0.08);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-700);
  transition: all 0.2s ease;
  gap: 0.625rem;
  white-space: nowrap;
}
.nav-dropdown-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--slate-300);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.nav-dropdown a:hover {
  background: rgba(78, 146, 229, 0.08);
  color: var(--brand);
}
.nav-dropdown a:hover .nav-dropdown-dot {
  background: var(--brand);
  width: 6px; height: 6px;
  box-shadow: 0 0 0 3px rgba(78, 146, 229, 0.15);
}

.header-cta { display: none; align-items: center; gap: 0.75rem; }
@media (min-width: 1024px) {
  .header-cta { display: flex; }
}
.header-cta-btn {
  background: var(--brand);
  color: #fff;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(78,146,229,0.25);
  transition: background var(--transition);
}
.header-cta-btn:hover { background: var(--brand-hover); }

/* 顶部右侧：天气图标 + 温度 + 天气文字 */
.header-weather {
  display: none;
  align-items: center;
  gap: 0.4rem;
  color: var(--header-text, var(--slate-700));
  line-height: 1;
  white-space: nowrap;
  transition: color 0.8s ease;
  width: 130px;
  justify-content: flex-start;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .header-weather { display: inline-flex; }
}
.header-weather .hw-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header-weather .hw-icon-img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.header-weather .hw-temp {
  color: var(--header-text, var(--slate-800));
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  transition: color 0.8s ease;
}
.header-weather .hw-text {
  color: var(--header-text-muted, var(--slate-600));
  font-size: 0.875rem;
  transition: color 0.8s ease;
}
.header-weather .hw-text:empty { display: none; }

/* 天气加载骨架 */
.header-weather.is-loading .hw-icon-img,
.header-weather.is-loading .hw-temp,
.header-weather.is-loading .hw-text {
  visibility: hidden;
}
.header-weather.is-loading::after {
  content: '';
  position: absolute;
  width: 110px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(0,0,0,0.06) 25%, rgba(0,0,0,0.11) 50%, rgba(0,0,0,0.06) 75%);
  background-size: 200% 100%;
  animation: weather-shimmer 1.4s ease infinite;
}
@keyframes weather-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--slate-600);
}
@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}
.mobile-toggle:hover { color: var(--brand); }
.mobile-toggle .icon-close { display: none; }
.mobile-toggle.is-active .icon-menu { display: none; }
.mobile-toggle.is-active .icon-close { display: inline-block; }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15,23,42,0.12);
  z-index: 1299;
  overflow-y: auto;
}
.nav-mobile.is-open { display: block; }
@media (max-width: 1023px) {
  .site-header { position: fixed; width: 100%; }
  .site-shell { padding-top: var(--header-h); }
}
body.mobile-menu-open { overflow: hidden; }
@media (min-width: 1024px) {
  .nav-mobile, .nav-mobile.is-open { display: none; }
}
.nav-mobile-inner {
  padding: 0;
}
.nav-mobile-inner > div {
  border-bottom: 1px solid var(--slate-100);
}
.nav-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-700);
  text-align: left;
  transition: color var(--transition), background var(--transition);
}
.nav-mobile-link:hover { background: var(--slate-50); color: var(--brand); }
.nav-mobile-link.active { color: var(--brand); }
.nav-mobile-toggle { cursor: pointer; user-select: none; }
.nav-mobile-arrow {
  font-size: 0.75rem;
  color: var(--slate-400);
  transition: transform 0.2s ease;
}
.nav-mobile-item.has-sub.is-open .nav-mobile-arrow {
  transform: rotate(90deg);
}
.nav-mobile-children {
  display: none;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
}
.nav-mobile-item.is-open .nav-mobile-children { display: block; }
.nav-mobile-children a {
  display: block;
  padding: 0.75rem 2.5rem;
  font-size: 1rem;
  color: var(--slate-500);
  text-align: left;
  border-bottom: 1px solid var(--slate-100);
  transition: color var(--transition);
}
.nav-mobile-children a:last-child { border-bottom: none; }
.nav-mobile-children a:hover { color: var(--brand); }
.nav-mobile-cta {
  display: none;
  margin: 1rem 1rem 0.5rem;
  text-align: center;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ---------- Footer ---------- */
.site-footer {
  width: 100%;
  background: var(--slate-900);
  padding: 3.5rem 0 5.5rem;
  color: #cbd5e1;
}

/* ---- footer 主体：品牌 | 竖线 | 4信息列 ---- */
.footer-main {
  padding: 0 0 2rem;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.footer-main::after {
  content: '';
  display: table;
  clear: both;
}

/* 品牌列 */
.footer-brand-col {
  float: left;
}
.footer-brand-logo {
  height: 56px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: block;
}

/* 竖分隔线 */
.footer-vline {
  flex: 1;
  display: flex;
  justify-content: center;
  align-self: stretch;
}
.footer-vline::after {
  content: '';
  display: block;
  width: 1px;
  background: rgba(255,255,255,0.15);
}

/* 信息列容器：靠右浮动 */
.footer-cols-right {
  float: right;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

/* 信息列 */
.footer-col {
  float: left;
  padding-right: 5.5rem;
}
.footer-col--last {
  padding-right: 0;
}
.footer-col + .footer-col {
  border-left: none;
}
.footer-col-title {
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.footer-addr-group {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.625rem;
}
.footer-addr-group + .footer-addr-group {
  margin-top: 0.5rem;
}
.footer-col-body p {
  font-size: 1rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.65;
}
.footer-col-body a {
  color: #94a3b8;
  transition: color var(--transition);
}
.footer-col-body a:hover { color: #fff; }

/* 底部版权栏 */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.footer-bottom p a {
  color: #64748b;
  transition: color var(--transition);
}
.footer-bottom p a:hover {
  color: #fff;
}

/* 1000~1200px 过渡区间：收窄列间距 */
@media (min-width: 1000px) and (max-width: 1200px) {
  .footer-col { padding-right: 0.5rem; }
  .footer-col-title { font-size: 0.875rem; }
  .footer-col-body p { font-size: 0.875rem; }
  .footer-brand-logo { height: 36px; }
}

@media (max-width: 900px) {
  .footer-main { padding: 2rem 0; flex-wrap: wrap; }
  .footer-vline { display: none; }
  .footer-brand-col { float: none; width: 100%; padding-right: 0; margin-bottom: 1.5rem; }
  .footer-cols-right { float: none; width: 100%; flex-wrap: wrap; gap: 1.5rem 0; }
  .footer-col { padding-right: 0; margin-bottom: 0; width: 50%; }
  .footer-col--last { padding-right: 0; }
}
@media (max-width: 767px) {
  .site-footer { padding: 1.75rem 0 1.25rem; }
  .footer-brand-col { text-align: center; }
  .footer-brand-logo { margin: 0 auto; }
  .footer-cols-right { flex-direction: column; gap: 0.75rem; align-items: center; }
  .footer-col { width: 100%; float: none; text-align: center; }
  .footer-addr-group {
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
  }
  .footer-addr-group + .footer-addr-group { margin-top: 0.375rem; }
  .footer-col-title { margin-bottom: 0; white-space: nowrap; }
}

/* 保留旧类兼容 */
.footer-row { display: none; }
.footer-row-extra .footer-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  color: #cbd5e1;
  font-size: 0.75rem;
}
.footer-qr-img--circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-qr-img--circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.footer-qr-img--circle.is-placeholder {
  background: rgba(255,255,255,0.12);
  border: 1px dashed rgba(255,255,255,0.25);
  position: relative;
}
.footer-qr-img--circle.is-placeholder::after {
  content: '\f1d7';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--slate-800);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(5, 1fr); }
}
.footer-brand { grid-column: span 1; }
@media (min-width: 1024px) {
  .footer-brand { grid-column: span 2; padding-right: 3rem; }
}

/* 三栏版：品牌 / 联系方式 / 二维码 */
@media (min-width: 1024px) {
  .footer-grid--3 { grid-template-columns: 2fr 1.2fr 1.4fr; }
  .footer-grid--3 .footer-brand { grid-column: span 1; padding-right: 2.5rem; }
}
.footer-qr-list {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  color: #cbd5e1;
  font-size: 0.8125rem;
}
.footer-qr-img {
  width: 96px;
  height: 96px;
  border-radius: 0.5rem;
  background: #fff;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.footer-qr-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-qr-img.is-placeholder {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border: 1px dashed var(--slate-600);
  color: var(--slate-500);
  font-size: 0.7rem;
  position: relative;
}
.footer-qr-img.is-placeholder::after {
  content: '二维码';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #fff;
  margin-bottom: 1.5rem;
}
.footer-brand-title .icon {
  color: var(--brand);
  width: 32px; height: 32px;
}
.footer-brand-logo {
  height: 36px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.footer-brand-title span {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.footer-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 24rem;
  color: #94a3b8;
}
.social-circles { display: flex; gap: 0.75rem; }
.social-circles div {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--slate-800);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #cbd5e1;
  transition: background var(--transition);
  font-size: 10px;
  font-weight: 700;
}
.social-circles div:hover { background: var(--brand); }


.footer-list { display: flex; flex-direction: column; gap: 0.875rem; font-size: 0.875rem; }
.footer-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition);
}
.footer-list a .icon { color: var(--slate-600); width: 12px; height: 12px; }
.footer-list a:hover { color: var(--brand); }
.footer-contact { display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-contact .icon { color: var(--brand); width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }
.footer-contact .tel { color: #fff; font-weight: 700; }

.footer-bottom {
  font-size: 0.75rem;
  color: var(--slate-500);
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}
.footer-bottom-links a { color: inherit; transition: color var(--transition); }
.footer-bottom-links a:hover { color: #fff; }
.footer-bottom-links span { color: inherit; }

/* ---------- 底部固定查询条 ---------- */
.bottom-verify-bar {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  width: calc(100% - 3rem);
  max-width: 1080px;
  background: #deeafc;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(37,99,235,0.12);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
/* 收起时整个 bar 隐藏 */
.bottom-verify-bar.is-collapsed {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
}

/* 收起后单独悬浮的展开按钮 */
.bottom-verify-expand-btn {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1101;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #deeafc;
  border: none;
  color: #2563eb;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,99,235,0.15);
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.15s, transform 0.15s;
}
.bottom-verify-expand-btn.is-visible {
  display: flex;
}
.bottom-verify-expand-btn:hover {
  box-shadow: 0 6px 24px rgba(37,99,235,0.22);
  transform: translateX(-50%) scale(1.08);
}

.bottom-verify-inner {
  padding: 0 1.25rem 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.bottom-verify-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.bottom-verify-label > i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(37,99,235,0.12);
  color: #2563eb;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.bottom-verify-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  color: #1e3a6e;
}
.bottom-verify-sub {
  display: block;
  font-size: 0.72rem;
  color: #4b6fa8;
  line-height: 1.3;
  margin-top: 0.1rem;
}
.bottom-verify-form {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.bottom-verify-input-wrap {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(37,99,235,0.2);
  border-radius: 8px;
  padding: 0 0.875rem;
  height: 42px;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.bottom-verify-input-wrap:focus-within {
  background: #fff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.bottom-verify-input-wrap i {
  color: #4b6fa8;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.bottom-verify-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #1e3a6e;
  font-size: 0.9375rem;
  min-width: 0;
}
.bottom-verify-input-wrap input::placeholder { color: #8aaad4; }
.bottom-verify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0 1.375rem;
  min-width: 132px;
  height: 42px;
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--brand, #2563eb);
  color: #fff;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 2px 10px rgba(37,99,235,0.25);
}
.bottom-verify-btn:hover { background: #1d4ed8; box-shadow: 0 4px 14px rgba(37,99,235,0.35); }
.bottom-verify-btn:active { transform: scale(0.97); }
.bottom-verify-btn--scan {
  background: rgba(37,99,235,0.08);
  color: #2563eb;
  border: 1.5px solid rgba(37,99,235,0.25);
  box-shadow: none;
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 148px;
}
.bottom-verify-btn--scan:hover { background: rgba(37,99,235,0.14); }

/* 收起按钮（bar 内右侧） */
.bottom-verify-collapse-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(37,99,235,0.1);
  border: 1.5px solid rgba(37,99,235,0.3);
  color: #2563eb;
  font-size: 0.875rem;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 0.25rem;
  transition: background 0.15s;
}
.bottom-verify-collapse-btn:hover { background: rgba(37,99,235,0.15); }

@media (max-width: 767px) {
  .bottom-verify-bar {
    width: calc(100% - 1.5rem);
    bottom: 0.75rem;
    border-radius: 14px;
  }
  .bottom-verify-expand-btn { bottom: 0.75rem; }
  .bottom-verify-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
    position: relative;
  }
  .bottom-verify-label { width: 100%; }
  .bottom-verify-form { width: 100%; flex-wrap: wrap; }
  .bottom-verify-input-wrap { flex: 1; min-width: 0; }
  .bottom-verify-btn--scan { width: 100%; justify-content: center; }
  .bottom-verify-collapse-btn { position: absolute; top: 0.75rem; right: 1rem; margin: 0; }
}
/* verify 页面本身不显示底部条，避免重叠 */
body.page-verify .bottom-verify-bar { display: none; }
body.page-verify .bottom-verify-expand-btn { display: none !important; }
body.page-verify .site-footer { padding-bottom: 0; }

/* ---------- Floating verify button ---------- */
/* ---------- Floating right-side dock (胶囊形) ---------- */
.float-dock {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 640px) { .float-dock { right: 1.5rem; } }
@media (max-width: 767px) { .float-dock { display: none; } }

.float-dock-pill {
  width: 68px;
  padding: 0.75rem 0;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(78, 146, 229, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.float-dock-cell {
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--slate-700);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.float-dock-cell + .float-dock-cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 1px;
  background: var(--slate-100);
}
.float-dock-cell:hover {
  color: var(--brand);
  background: rgba(78,146,229,0.04);
}
.float-dock-cell i { font-size: 18px; }
.float-dock-cell span { font-size: 11px; letter-spacing: 0.02em; }
.float-dock-cell[hidden] { display: none; }

/* ---------- Modal (Report Verification) ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  padding: 1rem;
}
.modal-overlay.is-open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 32rem;
  overflow: hidden;
  position: relative;
}
.modal-header {
  background: var(--brand);
  padding: 1.75rem 2rem;
  color: #fff;
}
.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.modal-header p {
  color: #dbeafe;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  line-height: 1.55;
}
.modal-header p .underline { text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.modal-body { padding: 2rem; }
.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.4); }

/* ---------- Page Banner ---------- */
/* ---------- 通用二级页 Banner（统一结构） ---------- */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, #1a4a8a, #2a6ac8 50%, #4e92e5);
  overflow: hidden;
  height: 280px;
  display: flex;
  align-items: center;
}
@media (max-width: 767px) {
  .page-banner { height: 240px; }
}
.page-banner--img { background: #1a4a8a; }
.page-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-banner--img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26,74,138,0.55), rgba(42,106,200,0.45) 50%, rgba(78,146,229,0.55)),
    rgba(10, 32, 64, 0.18);
  pointer-events: none;
  z-index: 0;
}
.page-banner .deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.page-banner .deco-1 { right: -5%; top: -20%; width: 600px; height: 600px; border: 1px solid rgba(255,255,255,0.05); }
.page-banner .deco-2 { right: 5%; top: 0;    width: 400px; height: 400px; border: 1px solid rgba(255,255,255,0.08); }
.page-banner .deco-3 { right: 15%; top: 20%; width: 250px; height: 250px; border: 1px solid rgba(255,255,255,0.1); }
.page-banner .deco-4 { left: -5%; bottom: -30%; width: 400px; height: 400px; background: rgba(255,255,255,0.03); }
.page-banner-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}
.page-banner h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0;
}
.page-banner--img h1 { text-shadow: 0 2px 12px rgba(0,0,0,0.25); }
@media (min-width: 768px) {
  .page-banner h1 { font-size: 2.875rem; }
}
