.certify-page {
  background: linear-gradient(165deg, #e8f0fe 0%, #f5f7fa 45%, #eef6ff 100%);
  min-height: 100vh;
}

.certify-page--seller {
  background: linear-gradient(165deg, #bfdbfe 0%, #eff6ff 38%, #f8fafc 72%, #dbeafe 100%);
}

.certify-page--influencer {
  background: linear-gradient(165deg, #fed7aa 0%, #fff7ed 38%, #f8fafc 72%, #ffedd5 100%);
}

.certify-page--merchant {
  background: linear-gradient(165deg, #fbcfe8 0%, #fdf2f8 38%, #f8fafc 72%, #fce7f3 100%);
}

.certify-main {
  padding: 110px 0 48px;
  min-height: calc(100vh - var(--site-header-height));
}

.certify-main__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px 0;
}

.certify-intro {
  text-align: center;
  margin-bottom: 40px;
}

.certify-intro__title {
  font-size: 26px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: 12px;
}

.certify-intro__desc {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
}

.certify-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.certify-card {
  position: relative;
  border-radius: 16px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.certify-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.certify-card--seller {
  background: linear-gradient(160deg, #eef6ff 0%, #dbeafe 55%, #bfdbfe 100%);
}

.certify-card--influencer {
  background: linear-gradient(160deg, #fff8ed 0%, #ffedd5 55%, #fed7aa 100%);
}

.certify-card--merchant {
  background: linear-gradient(160deg, #fdf2f8 0%, #fce7f3 55%, #fbcfe8 100%);
}

.certify-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  min-width: 0;
}

.certify-card__head > div:last-child {
  min-width: 0;
  flex: 1;
}

.certify-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
  color: #fff;
  overflow: hidden;
}

.certify-card__icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.certify-card--seller .certify-card__icon {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.certify-card--influencer .certify-card__icon {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.certify-card--merchant .certify-card__icon {
  background: linear-gradient(135deg, #ec4899, #db2777);
}

.certify-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.certify-card__subtitle {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
}

.certify-card__features {
  list-style: none;
  flex: 1;
  margin: 0 0 24px;
  padding: 0;
}

.certify-card__features li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: #444;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.certify-card__features li:last-child {
  border-bottom: none;
}

.certify-card__feature-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.certify-card__feature-name-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.certify-card__check {
  width: 16px;
  height: 16px;
  color: #22c55e;
  flex-shrink: 0;
}

.certify-card__feature-value {
  color: #888;
  font-size: 13px;
  flex-shrink: 0;
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}

.certify-card__btn {
  display: block;
  width: 100%;
  padding: 14px 0;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.certify-card__btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: #fff;
}

.certify-card--seller .certify-card__btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
}

.certify-card--influencer .certify-card__btn {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%);
}

.certify-card--merchant .certify-card__btn {
  background: linear-gradient(135deg, #f472b6 0%, #ec4899 50%, #db2777 100%);
}

.certify-note {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: #999;
}

.certify-panel {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.certify-panel__title {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.certify-panel__text {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 12px;
}

.certify-panel__reason {
  font-size: 14px;
  color: #c00;
  line-height: 1.8;
  margin-bottom: 20px;
}

.certify-form-panel {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 24px 56px 48px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.certify-form-panel__topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.certify-form-panel__back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid #dbeafe;
  background: #f8fafc;
  color: #2563eb;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.certify-form-panel__back-btn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.certify-form-panel__hero {
  margin-bottom: 28px;
}

.certify-form-panel__hero-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.certify-form-panel__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  overflow: hidden;
}

.certify-form-panel__icon .certify-card__icon-img {
  width: 30px;
  height: 30px;
}

.certify-form-panel__icon--seller {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.certify-form-panel__icon--influencer {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.certify-form-panel__icon--merchant {
  background: linear-gradient(135deg, #ec4899, #db2777);
}

.certify-form-panel__hero-text {
  min-width: 0;
  flex: 1;
  padding-top: 2px;
}

.certify-form-panel__title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}

.certify-form-panel__subtitle {
  margin: 0;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
}

.certify-form-panel__benefits {
  list-style: none;
  margin: 0;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.certify-form-panel__benefit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
  white-space: nowrap;
}

.certify-form-panel__benefit-check {
  width: 16px;
  height: 16px;
  color: #22c55e;
  flex-shrink: 0;
}

.certify-form-panel__benefit-text em {
  font-style: normal;
  color: #2563eb;
  font-weight: 600;
}

.certify-form-panel__divider {
  height: 1px;
  margin: 0 0 32px;
  background: linear-gradient(90deg, transparent, #e5e7eb 12%, #e5e7eb 88%, transparent);
}

.certify-form-panel--seller {
  border-top: 4px solid #3b82f6;
}

.certify-form-panel--influencer {
  border-top: 4px solid #f59e0b;
}

.certify-form-panel--merchant {
  border-top: 4px solid #ec4899;
}

.certify-form-panel .layui-form-item {
  margin-bottom: 24px;
}

.certify-form-panel .layui-form-label {
  width: 132px;
  padding: 9px 16px 9px 0;
  white-space: nowrap;
  text-align: right;
  line-height: 38px;
  color: #333;
  font-weight: 500;
  box-sizing: border-box;
}

.certify-label--required::before {
  content: '*';
  color: #ef4444;
  margin-right: 4px;
}

.certify-city-pickers {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.certify-city-pickers .certify-select,
.certify-city-picker-city {
  flex: 1;
  min-width: 0;
}

.certify-city-picker-city {
  flex: 1;
  min-width: 0;
}

.certify-merchant-body.is-locked {
  position: relative;
}

.certify-merchant-body.is-locked::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: not-allowed;
}

.certify-form-panel .layui-input-block {
  margin-left: 148px;
  min-height: 38px;
}

.certify-field-hint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #999;
}

.certify-field-hint.is-error,
.certify-field.is-error .certify-field-hint {
  color: #ef4444;
}

.certify-field.is-error .layui-input {
  border-color: #ef4444;
}

.certify-gender-group {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 38px;
  padding-top: 2px;
}

.certify-radio {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  user-select: none;
}

.certify-radio__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.certify-radio__icon {
  width: 18px;
  height: 18px;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.certify-radio__icon::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3b82f6;
  transform: scale(0);
  transition: transform 0.15s;
}

.certify-radio__input:checked + .certify-radio__icon {
  border-color: #3b82f6;
}

.certify-radio__input:checked + .certify-radio__icon::after {
  transform: scale(1);
}

.certify-radio__text {
  line-height: 1.4;
}

.certify-checkbox {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  user-select: none;
}

.certify-checkbox__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.certify-checkbox__icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.certify-checkbox__icon::after {
  content: '';
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) scale(0);
  margin-top: -2px;
  transition: transform 0.15s;
}

.certify-checkbox__input:checked + .certify-checkbox__icon {
  border-color: #3b82f6;
  background: #3b82f6;
}

.certify-checkbox__input:checked + .certify-checkbox__icon::after {
  transform: rotate(45deg) scale(1);
}

.certify-checkbox__text a {
  color: #0064ff;
  text-decoration: none;
}

.certify-checkbox__text a:hover {
  text-decoration: underline;
}

.certify-checkbox__text a:visited,
.certify-checkbox__text a:active {
  color: #0064ff;
}

.certify-agree-item .layui-form-checkbox {
  display: none !important;
}

.certify-agree-item.layui-form-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.certify-agree-item .layui-form-label {
  float: none;
  flex: 0 0 132px;
  width: 132px;
  padding: 0 16px 0 0;
  line-height: 1.5;
  height: auto;
}

.certify-agree-item .layui-input-block {
  margin-left: 0;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
}

.certify-agree-item .certify-checkbox {
  align-items: center;
}

.certify-agree-item .certify-checkbox__icon {
  margin-top: 0;
}

.certify-upload-item .layui-input-block {
  min-height: auto;
}

.certify-upload-box {
  position: relative;
  width: 200px;
  height: 126px;
  border: 1px dashed #d9d9d9;
  border-radius: 8px;
  background: #fafafa;
  overflow: hidden;
}

.certify-upload-trigger {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
}

.certify-upload-trigger:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.certify-upload-plus {
  font-size: 36px;
  line-height: 1;
  color: #bfbfbf;
  font-weight: 300;
}

.certify-upload-trigger__text {
  font-size: 13px;
  color: #999;
  line-height: 1.4;
}

.certify-upload-status {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
}

.certify-upload-status.is-active {
  display: flex;
}

.certify-upload-status[hidden] {
  display: none !important;
}

.certify-upload-status__text {
  margin: 0;
  font-size: 13px;
  color: #3b82f6;
  line-height: 1.4;
}

.certify-upload-status__track {
  width: 100%;
  max-width: 140px;
  height: 4px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.certify-upload-box.is-ocr-loading .certify-upload-status__track {
  display: none;
}

.certify-upload-status__bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #60a5fa, #3b82f6);
  transition: width 0.15s ease;
}

.certify-upload-preview {
  position: absolute;
  inset: 0;
}

.certify-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.certify-upload-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.certify-upload-caption {
  font-size: 13px;
  color: #666;
}

.certify-term-row {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  min-width: 0;
  max-width: 100%;
}

.certify-term-input {
  flex: 0 0 auto;
  width: 150px;
  max-width: 150px;
  min-width: 0;
  box-sizing: border-box;
}

.certify-date-input:not(:disabled) {
  cursor: pointer;
  background-color: #fff;
}

.certify-term-long-wrap {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  line-height: 1;
}

.certify-term-long-wrap .layui-form-switch {
  margin-top: 0;
  vertical-align: middle;
  height: 28px;
  line-height: 28px;
  min-width: 58px;
  padding: 0 6px;
}

.certify-term-long-wrap .layui-form-switch i {
  width: 22px;
  height: 22px;
  top: 3px;
  left: 3px;
}

.certify-term-long-wrap .layui-form-switch.layui-form-onswitch {
  min-width: 58px;
}

.certify-term-long-wrap .layui-form-switch.layui-form-onswitch i {
  left: 100%;
  margin-left: -25px;
}

.certify-term-long-wrap .layui-form-switch em {
  font-size: 13px;
}

.certify-term-long-wrap .layui-form-switch:not(.layui-form-onswitch) em {
  color: #666;
}

.certify-term-input.layui-disabled,
.certify-term-input:disabled {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

.certify-sms-row {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.certify-sms-input {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: 100%;
}

.certify-sms-btn {
  flex-shrink: 0;
  height: 42px;
  padding: 0 18px;
  border: 1px solid #3b82f6;
  border-radius: 8px;
  background: #fff;
  color: #3b82f6;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.certify-sms-btn:hover:not(:disabled) {
  background: #eff6ff;
}

.certify-sms-btn:disabled {
  color: #999;
  border-color: #d9d9d9;
  cursor: not-allowed;
}

.certify-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.certify-form-panel .layui-input {
  height: 42px;
  line-height: 42px;
  border-radius: 8px;
  border-color: #e5e7eb;
}

/* layui.css 默认隐藏 .layui-form 内 select；桌面端使用原生下拉，移动端由底部弹层接管 */
@media (min-width: 769px) {
  .certify-form.layui-form select.certify-select:not(.demand-sheet-select__native),
  .certify-form.layui-form .demand-sheet-select-wrap:not(.is-searchable) select.certify-select {
    display: block !important;
    width: 100%;
    height: 42px;
    line-height: 42px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    appearance: auto;
    -webkit-appearance: menulist;
    box-sizing: border-box;
  }

  .certify-form.layui-form .demand-sheet-select-wrap.is-searchable select.certify-select,
  .certify-form.layui-form .demand-sheet-select-wrap.is-searchable .demand-sheet-select__native {
    display: none !important;
  }

  .certify-form.layui-form select.certify-select:focus {
    border-color: #3b82f6;
    outline: none;
  }

  .certify-form.layui-form select.certify-select option:disabled {
    color: #9ca3af;
  }
}

.certify-form-panel .layui-input:focus {
  border-color: #3b82f6;
}

.certify-form-panel .layui-btn-normal {
  border-radius: 8px;
  padding: 0 28px;
  height: 40px;
  line-height: 40px;
}

.certify-form-panel .layui-btn-primary {
  border-radius: 8px;
  height: 40px;
  line-height: 40px;
}

.certify-form-panel .layui-form-item:last-child .layui-input-block {
  padding-top: 8px;
}

.certify-result-status {
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 28px;
}

.certify-result-status__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}

.certify-result-status__text,
.certify-result-status__reason,
.certify-result-status__meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.certify-result-status__reason {
  margin-top: 8px;
  font-weight: 500;
}

.certify-result-status__meta {
  margin-top: 8px;
  opacity: 0.85;
}

.certify-result-status--pending {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.certify-result-status--pending.certify-result-status--seller {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.certify-result-status--pending.certify-result-status--influencer {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.certify-result-status--pending.certify-result-status--merchant {
  background: #fdf2f8;
  border-color: #fbcfe8;
  color: #be185d;
}

.certify-result-status--rejected {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.certify-form--readonly .layui-form-item {
  margin-bottom: 24px;
}

.certify-result-value {
  min-height: 38px;
  line-height: 38px;
  color: #333;
  font-size: 14px;
  word-break: break-all;
}

.certify-result-images img {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

.certify-result-actions .layui-input-block {
  padding-top: 8px;
}

@media (max-width: 960px) {
  .certify-main {
    padding: 88px 0 32px;
  }

  .certify-main__inner {
    padding: 24px 12px 0;
    max-width: 100%;
    overflow-x: clip;
  }

  .certify-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .certify-intro__title {
    font-size: 22px;
  }

  .certify-form-panel {
    padding: 20px 16px 32px;
    max-width: 100%;
    overflow-x: clip;
    box-sizing: border-box;
  }

  .certify-form-panel__title {
    font-size: 22px;
  }

  .certify-form-panel__benefits {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
  }

  .certify-form-panel__benefit {
    white-space: normal;
  }

  .certify-form-panel .layui-form-item {
    display: flow-root;
  }

  .certify-form-panel .layui-form-label {
    float: none;
    display: block;
    width: 100%;
    text-align: left;
    padding: 0 0 8px;
    line-height: 1.5;
    white-space: normal;
  }

  .certify-form-panel .layui-input-block {
    float: none;
    clear: both;
    margin-left: 0;
    width: 100%;
    min-width: 0;
  }

  .certify-agree-item.layui-form-item {
    display: flow-root;
    align-items: stretch;
    gap: 0;
  }

  .certify-agree-item .layui-form-label {
    flex: none;
    width: 100%;
  }

  .certify-agree-item .layui-input-block {
    display: block;
  }

  .certify-city-pickers {
    flex-direction: column;
    align-items: stretch;
  }

  .certify-city-picker-city {
    width: 100%;
  }

  .certify-form-panel .layui-input-block > .layui-input,
  .certify-form-panel .layui-input-block > .layui-textarea,
  .certify-form-panel .layui-input-block > .certify-select,
  .certify-form-panel .layui-input-block > select.certify-select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .certify-term-row {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
    max-width: 100%;
  }

  .certify-term-input {
    width: 132px;
    max-width: 132px;
    flex: 0 0 132px;
    min-width: 0;
  }

  .certify-term-long-wrap {
    flex: 0 0 auto;
  }

  .certify-sms-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }

  .certify-sms-input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .certify-sms-btn {
    width: auto;
    min-width: 96px;
    padding: 0 10px;
    font-size: 13px;
    white-space: nowrap;
  }
}

.member-certify-section {
  margin-top: 0;
}

.member-center-page .member-certify-section .certify-intro {
  margin-bottom: 28px;
}

.member-center-page .member-certify-section .certify-intro__title {
  font-size: 20px;
}

.user-certify-result__lead {
  margin: 0 0 12px;
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

.user-certify-result__lead--danger {
  color: #b91c1c;
}

.user-certify-result__note,
.user-certify-result__reason,
.user-certify-result__meta {
  margin: 0 0 12px;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

.user-certify-result__reason {
  color: #b91c1c;
}

.user-certify-result__meta {
  margin-bottom: 20px;
  color: #999;
}

.user-certify-result__table {
  margin-top: 8px;
}

.user-certify-result__img {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

.user-certify-result__actions {
  margin-top: 24px;
}

.certify-back-link {
  margin: 0 0 16px;
  font-size: 14px;
}

.certify-back-link a {
  color: #2563eb;
  text-decoration: none;
}

.certify-back-link a:hover {
  text-decoration: underline;
}

.identity-confirm-layer .layui-layer-title {
  height: 52px;
  line-height: 52px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  border-bottom: 1px solid #eef2f7;
  background: #fafbfc;
}

.identity-confirm-layer .layui-layer-content {
  padding: 24px 28px 8px !important;
  overflow: visible;
}

.identity-confirm-layer .layui-layer-btn {
  padding: 14px 24px 22px;
  text-align: right;
  border-top: 1px solid #eef2f7;
  background: #fafbfc;
}

.identity-confirm-layer .layui-layer-btn a {
  min-width: 96px;
  height: 38px;
  line-height: 38px;
  margin: 0 0 0 12px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
}

.identity-confirm-layer .layui-layer-btn .layui-layer-btn0 {
  border-color: #2563eb;
  background-color: #2563eb;
}

.identity-confirm-layer .layui-layer-btn .layui-layer-btn1 {
  border-color: #d1d5db;
  background-color: #fff;
  color: #4b5563;
}

.identity-confirm {
  padding: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.85;
}

.identity-confirm__lead {
  margin: 0 0 14px;
  font-size: 16px;
  color: #1a1a1a;
}

.identity-confirm__lead strong {
  color: #2563eb;
  font-weight: 600;
}

.identity-confirm__text {
  margin: 0 0 18px;
  color: #555;
}

.identity-confirm__notice {
  margin: 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 14px;
  line-height: 1.75;
}

button.certify-card__btn {
  border: none;
  cursor: pointer;
  font: inherit;
  text-align: center;
  text-decoration: none;
}

.portal-certify-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 28px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.portal-certify-panel__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
}

.portal-certify-panel__text {
  margin: 0 0 20px;
  color: #666;
  font-size: 15px;
  line-height: 1.8;
}

/* 认证页移动端：底部弹层选择器（与发布需求共用组件） */
.demand-sheet-select-wrap {
  position: relative;
  width: 100%;
}

.demand-sheet-select__trigger,
.demand-sheet-action-btn {
  display: none;
}

@media (min-width: 769px) {
  .demand-sheet-select-wrap.is-searchable .demand-sheet-select__native,
  .demand-sheet-select-wrap.is-searchable .layui-form-select,
  .certify-form.layui-form .demand-sheet-select-wrap.is-searchable select.certify-select {
    display: none !important;
  }

  .demand-sheet-select-wrap.is-searchable .demand-sheet-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .demand-sheet-select-wrap.is-searchable .demand-sheet-select__trigger.is-placeholder {
    color: #94a3b8;
  }

  .demand-sheet-select-wrap.is-searchable .demand-sheet-select__trigger:hover {
    border-color: #cbd5e1;
  }

  .demand-sheet-select-wrap.is-searchable .demand-sheet-select__trigger:focus-visible {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  }

  .demand-sheet-select-wrap.is-searchable .demand-sheet-select__trigger.is-disabled,
  .demand-sheet-select-wrap.is-searchable .demand-sheet-select__trigger:disabled {
    cursor: not-allowed;
    background: #f8fafc;
    color: #94a3b8;
  }
}

.demand-picker-search {
  padding: 8px 10px;
  border-bottom: 1px solid #f1f5f9;
  flex-shrink: 0;
  background: #fff;
}

.demand-picker-search__input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #334155;
  background: #fff;
  box-sizing: border-box;
  outline: none;
}

.demand-picker-search__input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.demand-picker-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.demand-picker-sheet__list,
.demand-picker-dropdown__list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.demand-picker-dropdown {
  position: fixed;
  z-index: 1300;
}

.demand-picker-dropdown[hidden] {
  display: none !important;
}

.demand-picker-dropdown__panel {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.demand-picker-dropdown__search-slot:empty {
  display: none;
}

.demand-picker-dropdown .demand-picker-sheet__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #334155;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.demand-picker-dropdown .demand-picker-sheet__option:hover {
  background: #f8fafc;
}

.demand-picker-dropdown .demand-picker-sheet__option.is-selected {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 500;
}

.demand-picker-dropdown .demand-picker-sheet__empty {
  margin: 16px 8px;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
}

@media (max-width: 768px) {
  .certify-city-pickers .demand-sheet-select-wrap,
  .certify-merchant-region .demand-sheet-select-wrap,
  .certify-field .demand-sheet-select-wrap {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }

  .certify-form.layui-form .demand-sheet-select-wrap select.certify-select,
  .certify-form.layui-form .demand-sheet-select-wrap .demand-sheet-select__native,
  .demand-sheet-select-wrap .demand-sheet-select__native,
  .demand-sheet-select-wrap .layui-form-select {
    display: none !important;
  }

  .demand-sheet-select__trigger,
  .demand-sheet-action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 15px;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .demand-sheet-select__trigger.is-placeholder,
  .demand-sheet-action-btn.is-placeholder {
    color: #94a3b8;
  }

  .demand-sheet-select__trigger.is-disabled,
  .demand-sheet-select__trigger:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }

  .demand-sheet-select__trigger:active:not(:disabled) {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  }

  .demand-sheet-select__value,
  .demand-sheet-action-btn__text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .demand-sheet-select__chevron,
  .demand-sheet-action-btn__chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transform: rotate(-45deg);
    flex-shrink: 0;
    margin-top: -2px;
  }

  .demand-picker-sheet {
    position: fixed;
    inset: 0;
    z-index: 1300;
  }

  .demand-picker-sheet[hidden] {
    display: none !important;
  }

  .demand-picker-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
  }

  .demand-picker-sheet__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: min(78vh, 560px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
  }

  .demand-picker-sheet__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 12px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
  }

  .demand-picker-sheet__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
  }

  .demand-picker-sheet__close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
  }

  .demand-picker-sheet__body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    flex: 1;
    min-height: 0;
  }

  .demand-picker-sheet__body .demand-picker-search {
    padding: 10px 12px 8px;
  }

  .demand-picker-sheet__body .demand-picker-sheet__list {
    padding: 0 12px 8px;
  }

  .demand-picker-sheet__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #334155;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
  }

  .demand-picker-sheet__option.is-selected {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 500;
  }

  .demand-picker-sheet__option-check {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
  }

  .demand-picker-sheet__option.is-selected .demand-picker-sheet__option-check {
    border-color: #2563eb;
    background: #2563eb;
  }

  .demand-picker-sheet__option.is-selected .demand-picker-sheet__option-check::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }

  .demand-picker-sheet__empty {
    margin: 24px 8px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
  }

  body.demand-picker-sheet-open {
    overflow: hidden;
  }
}
