.codex-realname-menu {
  cursor: pointer;
}

.mine-page .mine-grid[data-v-dfdda197] {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.mine-page .mine-grid[data-v-dfdda197] .big-menu[data-v-dfdda197] {
  min-width: 0 !important;
  padding-left: 2px !important;
  padding-right: 2px !important;
}

.mine-page .mine-grid[data-v-dfdda197] .big-menu[data-v-dfdda197] > text:first-child {
  max-width: 100% !important;
  white-space: nowrap !important;
  font-size: 12px !important;
}

.mine-page .mine-grid[data-v-dfdda197] .round-icon[data-v-dfdda197] {
  width: 54px !important;
  height: 54px !important;
}

.codex-realname-menu .round-icon {
  background: #3475ec;
}

.codex-identity-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow-y: auto;
  background: #f6f6f6;
  color: #242428;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.codex-identity-page {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 36px;
  background: #f6f6f6;
}

.codex-identity-nav {
  height: 82px;
  padding: 25px 16px 0;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  background: #e92720;
  color: #fff;
}

.codex-identity-nav h1 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
}

.codex-identity-back {
  position: relative;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
}

.codex-identity-back::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 11px;
  width: 13px;
  height: 13px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.codex-identity-card {
  margin: 14px 12px 0;
  padding: 20px 18px 24px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(100, 25, 30, 0.08);
}

.codex-identity-status {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff3f1;
  color: #dc2a22;
  font-size: 13px;
  line-height: 1.5;
}

.codex-identity-status.verified {
  background: #ecfaf1;
  color: #219653;
}

.codex-identity-field {
  margin-bottom: 16px;
}

.codex-identity-field label {
  display: block;
  margin-bottom: 7px;
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.codex-identity-field label::after {
  content: " *";
  color: #e92720;
}

.codex-identity-input,
.codex-identity-select,
.codex-identity-textarea,
.codex-withdraw-readonly {
  width: 100%;
  border: 1px solid #ececef;
  border-radius: 8px;
  background: #f8f8f9;
  color: #29292d;
  box-sizing: border-box;
  font-size: 15px;
}

.codex-identity-input,
.codex-identity-select,
.codex-withdraw-readonly {
  height: 48px;
  padding: 0 13px;
}

.codex-identity-select {
  appearance: auto;
}

.codex-identity-code-row {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 9px;
}

.codex-identity-code-btn {
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: #fff0ee;
  color: #e92720;
  font-size: 14px;
}

.codex-identity-code-btn:disabled {
  color: #999;
  background: #f1f1f1;
}

.codex-identity-submit,
.codex-identity-goto {
  width: 100%;
  height: 50px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: #e92720;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.codex-identity-submit:disabled {
  opacity: 0.65;
}

.codex-withdraw-amount {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  margin-bottom: 18px;
  border-bottom: 1px solid #eee;
}

.codex-withdraw-amount span {
  font-size: 30px;
  font-weight: 800;
}

.codex-withdraw-amount input {
  height: 62px;
  border: 0;
  outline: 0;
  background: #fff;
  font-size: 17px;
}

.codex-withdraw-row {
  display: grid;
  grid-template-columns: 94px 1fr;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.codex-withdraw-row .codex-withdraw-readonly {
  height: 42px;
  border: 0;
  background: #f5f5f6;
  color: #555;
}

.codex-identity-textarea {
  min-height: 92px;
  padding: 12px 13px;
  resize: vertical;
  line-height: 1.5;
}

.codex-withdraw-note label::after {
  content: "";
}

.codex-withdraw-tip {
  margin: 18px 0;
  color: #929398;
  font-size: 13px;
  line-height: 1.7;
}

.codex-identity-loading,
.codex-identity-empty {
  padding: 50px 16px;
  text-align: center;
  color: #888;
  line-height: 1.8;
}

@media (min-width: 700px) {
  .codex-identity-page {
    box-shadow: 0 0 36px rgba(0, 0, 0, 0.12);
  }
}
