/* ===================================================================
   全站共享样式
   - 头顶横批（放大版，46px / 17px 字）
   - 底部提示条（不遮挡页面，不拦截点击）
   - 收录表单
   =================================================================== */

/* ---------- 头顶横批 ---------- */
#veridrop-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 8px 52px 8px 18px;
  box-sizing: border-box;
  background: #0e7a53;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .01em;
  text-align: center;
  flex-wrap: wrap;
  font-family: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}

#veridrop-bar a.veridrop-bar-link {
  display: inline-block;
  padding: 5px 18px;
  border-radius: 999px;
  background: #fff;
  color: #0e7a53;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

#veridrop-bar a.veridrop-bar-link:hover {
  background: #e8f5ee;
  text-decoration: underline;
}

#veridrop-bar-spacer {
  display: block;
  width: 100%;
  flex: none;
}

@media (max-width: 640px) {
  #veridrop-bar {
    font-size: 14px;
    min-height: 38px;
    padding: 6px 38px 6px 12px;
    gap: 8px;
  }
  #veridrop-bar a.veridrop-bar-link {
    font-size: 13px;
    padding: 3px 12px;
  }
}

/* ---------- 底部提示条 ----------
   不使用全屏遮罩，改成右下角浮动卡片：
   - 不覆盖页面主体，用户可以直接点击页面任何位置
   - 只有卡片本身可交互
*/
#veridrop-sheet {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  max-width: 340px;
  pointer-events: none;              /* 容器不拦截 */
  font-family: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
}

.veridrop-sheet-mask {
  display: none;                     /* 不再需要遮罩 */
}

.veridrop-sheet-panel {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 16px 16px 13px;
  box-shadow: 0 8px 32px rgba(18, 28, 24, .26);
  border: 1px solid #dbe5e0;
  text-align: center;
  box-sizing: border-box;
  pointer-events: auto;              /* 只有卡片可点 */
}

.veridrop-sheet-title {
  font-size: 14px;
  font-weight: 800;
  color: #0e7a53;
  margin-bottom: 10px;
}

.veridrop-sheet-link {
  display: block;
  margin-bottom: 10px;
  padding: 10px 18px;
  border-radius: 8px;
  background: #0e7a53;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  word-break: break-all;
}

.veridrop-sheet-link:hover {
  background: #0b5c3f;
}

.veridrop-sheet-close {
  display: block;
  width: 100%;
  padding: 8px;
  border: 1px solid #d8e0dc;
  border-radius: 7px;
  background: #f4f7f5;
  color: #6a7a74;
  font-size: 13px;
  cursor: pointer;
}

.veridrop-sheet-close:hover {
  background: #e9efec;
}

@media (max-width: 640px) {
  #veridrop-sheet {
    right: 8px;
    left: 8px;
    bottom: 8px;
    max-width: none;
  }
  .veridrop-sheet-panel {
    padding: 13px 13px 11px;
  }
}

/* ---------- 收录表单 ---------- */
.mail-form {
  display: grid;
  gap: 16px;
  font-family: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
}

.mail-form .mf-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .mail-form .mf-row {
    grid-template-columns: 1fr 1fr;
  }
}

.mail-form .mf-field {
  display: grid;
  gap: 6px;
}

.mail-form .mf-field > label {
  font-size: 12.5px;
  font-weight: 600;
  color: #4a5751;
}

.mail-form input[type="text"],
.mail-form input[type="email"],
.mail-form textarea,
.mail-form select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #d8e0dc;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  background: #fff;
}

.mail-form textarea {
  min-height: 110px;
  resize: vertical;
}

.mail-form input:focus,
.mail-form textarea:focus,
.mail-form select:focus {
  outline: none;
  border-color: #0e7a53;
  box-shadow: 0 0 0 3px rgba(14, 122, 83, .12);
}

.mail-form .mf-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.mail-form .mf-checks label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  cursor: pointer;
}

.mail-form .mf-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}

.mail-form button[type="submit"] {
  justify-self: start;
  padding: 10px 26px;
  border: none;
  border-radius: 8px;
  background: #0e7a53;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.mail-form button[type="submit"]:hover {
  background: #0b5c3f;
}

.mail-form button[type="submit"]:disabled {
  opacity: .6;
  cursor: default;
}

.mail-form .mf-error {
  font-size: 13.5px;
  color: #c0392b;
}

.mail-form .mf-ok {
  font-size: 13.5px;
  color: #0e7a53;
  font-weight: 600;
}

/* ---------- 联系方式 ---------- */
.veridrop-contact {
  font-size: 13.5px;
  color: #4a5751;
  line-height: 1.9;
}

.veridrop-contact code {
  padding: 1px 6px;
  border-radius: 4px;
  background: #eef3f0;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12.5px;
}
