/* TokenFlow auth mobile polish */
@media (max-width: 640px){
  html,body{max-width:100%;overflow-x:hidden}
  body{background:#f6f7f9}

  /* 顶部空白收紧，表单靠上 */
  .container.flex.items-center{padding-top:84px!important;align-items:flex-start!important}

  /* 表单列内边距 */
  .container > div.mx-auto{padding-left:18px!important;padding-right:18px!important;padding-top:0!important;padding-bottom:28px!important}

  /* 卡片 */
  .container > div.mx-auto > div.w-full{
    background:#fff;border:1px solid #e9edf2;border-radius:18px;
    padding:22px 16px 20px;box-shadow:0 10px 34px rgba(15,23,42,.07)
  }

  /* 标题左对齐、字号 */
  .container h2{text-align:left!important;font-size:23px!important;line-height:1.3!important}
  .container > div.mx-auto > div.w-full > div.space-y-2{margin-bottom:18px!important}

  /* 输入框：高度与字号（防 iOS 聚焦放大） */
  input[data-slot="form-control"],select[data-slot="form-control"]{
    height:46px!important;font-size:16px!important;border-radius:12px!important;
    padding-left:14px!important;padding-right:14px!important
  }
  textarea[data-slot="form-control"]{font-size:16px!important;border-radius:12px!important}

  /* 密码可见性按钮点击区 */
  input[data-slot="form-control"] + button,
  .relative.rounded-md > button[type="button"]{
    min-width:44px!important;min-height:44px!important;right:2px!important
  }

  /* 主按钮 */
  button[type="submit"],form button[type="submit"]{
    height:48px!important;font-size:16px!important;border-radius:12px!important;font-weight:600!important
  }

  /* 字段间距 */
  form.grid{gap:16px!important}

  /* 密码强度与规则说明 */
  .mt-2.flex.min-h-5{font-size:12.5px!important}
  .text-xs{font-size:12.5px!important}
  .grid.grid-cols-4.gap-1.5 > div{height:5px!important;border-radius:3px!important}
}/* 密码规则列表压缩 */
@media (max-width: 640px){
  .container .text-xs{font-size:12px!important;line-height:1.55!important}
  .container .text-xs svg, .container .text-xs .lucide{width:11px!important;height:11px!important}
  .container .flex.items-center.gap-2.text-xs{gap:6px!important}
  .container .mb-1.5{margin-bottom:2px!important}
  .container .space-y-1.5 > * + *{margin-top:4px!important}
  .container form{padding-bottom:6px}
  .container .mt-2.flex.min-h-5{margin-top:6px!important;margin-bottom:2px!important}
}