/* 用到时再补（later.js，ADR-0152）：起 yapom 号、拍脸核对本人、核验年龄、设密码的弹层和第一页的卡。
   有的页面没有 ui.css，这里自己带齐 */
.lt-wrap {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(26, 24, 20, 0.4);
}

.lt-card,
.lt-card *,
.lt-pwd,
.lt-pwd * {
  box-sizing: border-box;
}

.lt-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: min(100%, 460px);
  max-height: 92dvh;
  overflow: auto;
  padding: 10px 18px calc(18px + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
  background: #fffdf8;
  color: var(--ink, #1a1814);
  text-align: left;
  font-size: 16px;
}

.lt-card::before {
  content: "";
  justify-self: center;
  width: 40px;
  height: 4px;
  margin-bottom: 4px;
  border-radius: 999px;
  background: #ddd5c7;
}

/* 起号那一块：拼音框别把一行撑出去 */
.lt-card .idp {
  grid-template-columns: minmax(0, 1fr);
}

.lt-card .idp-py {
  width: 0;
}

.lt-card h2 {
  margin: 0;
  font-size: 19px;
}

.lt-card p {
  margin: 0;
  color: var(--muted, #6f6a62);
  line-height: 1.5;
}

.lt-card .lt-small {
  font-size: 14px;
}

.lt-card .lt-small.bad {
  color: #b2452f;
}

.lt-card .lt-warn {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fdf0d5;
  color: #8a5a12;
  font-size: 14px;
}

.lt-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted, #6f6a62);
  line-height: 1.45;
}

.lt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #d9d1c3;
  border-radius: 14px;
  background: #fff;
  color: var(--ink, #1a1814);
  font: inherit;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}

.lt-btn.primary {
  min-height: 52px;
  border-color: var(--ink, #1a1814);
  background: var(--ink, #1a1814);
  color: #fff;
  font-size: 17px;
}

.lt-btn.small {
  width: auto;
  min-height: 38px;
  border-radius: 999px;
  font-size: 15px;
}

.lt-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.lt-btn:active:not(:disabled) {
  transform: scale(0.97);
}

.lt-row {
  display: flex;
  gap: 8px;
}

.lt-input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #d9d1c3;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 16px;
}

.lt-row .lt-eye {
  width: auto;
  flex: none;
}

/* 第一页的「设个密码」卡 */
.lt-pwd {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid var(--line, #e4ddd0);
  border-radius: 18px;
  background: var(--paper, #fffcf7);
}

.lt-pwd h2 {
  margin: 0;
  font-size: 17px;
}

.lt-pwd p {
  margin: 0;
  color: var(--muted, #6f6a62);
  line-height: 1.45;
}

.lt-pwd-actions {
  display: flex;
  gap: 8px;
}

.lt-pwd .lt-demo {
  font-size: 12px;
}
