/* Mobile personal sub-pages — unified with exchange-modern */
.ex-sub-page {
  min-height: 100vh;
  background: var(--ex-bg, #f5f5f5);
  padding-bottom: 24px;
}

.ex-sub-page .no_header,
.ex-sub-page .no_header[style] {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 50px;
  line-height: 50px;
  padding: 0 12px !important;
  background: #fff !important;
  border-bottom: 1px solid var(--ex-border, #eaecef);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
}

.ex-sub-page .no_header .fl,
.ex-sub-page .no_header .fr {
  float: none !important;
  width: auto !important;
  flex: 0 0 44px;
}

.ex-sub-page .no_header #centerbox,
.ex-sub-page .no_header .fl.allhg:not(.txtl):not(.bhalf) {
  flex: 1;
  text-align: center !important;
  line-height: 50px !important;
  width: auto !important;
}

.ex-sub-page .no_header .fcc,
.ex-sub-page .no_header .fzmmm,
.ex-sub-page .no_header .fzmm {
  font-size: 16px !important;
  font-weight: 600;
  color: var(--ex-text, #1e2329) !important;
}

.ex-sub-page .no_header .bi-arrow-left {
  font-size: 22px !important;
  color: var(--ex-text, #1e2329) !important;
}

.ex-sub-page .no_content,
.ex-sub-page .no_content[style] {
  width: 100% !important;
  max-width: 480px;
  margin: 0 auto !important;
  padding: 66px 16px 24px !important;
}

.ex-sub-page .no_title {
  background: transparent !important;
  padding: 0 0 12px !important;
  height: auto !important;
  line-height: 1.4 !important;
}

.ex-sub-page .no_title .title_txt {
  font-size: 22px;
  font-weight: 700;
  color: var(--ex-text, #1e2329);
}

.ex-sub-page .no_inbox {
  background: #fff;
  border: 1px solid var(--ex-border, #eaecef);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ex-sub-page .lbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px !important;
  line-height: 56px !important;
  padding: 0 16px;
  border-bottom: 1px solid var(--ex-border, #eaecef);
  margin: 0;
}

.ex-sub-page .lbox:last-child {
  border-bottom: none;
}

.ex-sub-page .lbox_l,
.ex-sub-page .lbox_r {
  float: none !important;
  width: auto !important;
  height: auto !important;
  line-height: inherit !important;
}

.ex-sub-page .lbox_l span {
  font-size: 15px !important;
  color: var(--ex-text, #1e2329) !important;
}

.ex-sub-page .lbox_r .bi-chevron-right {
  color: #b7bdc6 !important;
  font-size: 18px !important;
}

.ex-sub-page input[type="text"],
.ex-sub-page input[type="password"],
.ex-sub-page input[type="number"] {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  margin-top: 10px;
  border: 1px solid var(--ex-border, #eaecef);
  border-radius: 8px;
  background: #fafafa;
  font-size: 14px;
  color: var(--ex-text, #1e2329);
  box-sizing: border-box;
}

.ex-sub-page input:focus {
  background: #fff !important;
  border-color: var(--ex-primary, #0052fe) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(0, 82, 254, 0.12) !important;
}

.ex-sub-page .bmbtn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--ex-border, #eaecef);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}

.ex-sub-page .bmbtn_l,
.ex-sub-page .bmbtn_r,
.ex-sub-page .allbtn {
  width: 100% !important;
  float: none !important;
  height: 44px !important;
  line-height: 44px !important;
  border-radius: 8px !important;
  font-size: 15px;
  font-weight: 600;
}

.ex-sub-page .bmbtn_r,
.ex-sub-page .allbtn {
  background: #14ac5a !important;
  color: #fff !important;
}

.ex-sub-page .bmbtn_l {
  background: #f5f6f7 !important;
  color: var(--ex-text, #1e2329) !important;
}

.ex-sub-page .ex-empty-state {
  padding: 48px 16px;
  text-align: center;
  color: var(--ex-text-secondary, #707a8a);
  font-size: 14px;
}

.ex-sub-page .ex-empty-state .bi {
  display: block;
  font-size: 32px;
  margin-bottom: 10px;
  color: #c5cdd8;
}

.ex-sub-page .ex-list-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ex-border, #eaecef);
  text-decoration: none !important;
  color: inherit;
}

.ex-sub-page .ex-list-item:last-child {
  border-bottom: none;
}

.ex-sub-page .ex-list-item__icon {
  flex: 0 0 24px;
  font-size: 20px;
  color: var(--ex-primary, #0052fe);
  margin-top: 2px;
}

.ex-sub-page .ex-list-item__main {
  flex: 1;
  min-width: 0;
}

.ex-sub-page .ex-list-item__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ex-text, #1e2329);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ex-sub-page .ex-list-item__desc {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ex-text-secondary, #707a8a);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ex-sub-page .ex-list-item__time {
  margin-top: 6px;
  font-size: 11px;
  color: #b7bdc6;
}

.ex-sub-page .inputbox {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ex-border, #eaecef);
}

.ex-sub-page .inputbox:last-child {
  border-bottom: none;
}

.ex-sub-page .input_title {
  margin-bottom: 8px;
}

.ex-sub-page .input_title span {
  font-size: 13px !important;
  color: var(--ex-text-secondary, #707a8a) !important;
}

.ex-sub-page .cinput {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--ex-border, #eaecef);
  border-radius: 8px;
  background: #fafafa;
  font-size: 14px;
  box-sizing: border-box;
}

.ex-sub-page .inputbox .allbtn {
  margin-top: 8px;
  text-align: center;
  cursor: pointer;
}

.ex-sub-page .no_inbox .inputbox.boxh:last-child {
  padding-top: 8px;
  border-bottom: none;
}

.ex-sub-page .no_header .fr.allhg.txtr {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 14px;
  color: var(--ex-primary, #0052fe);
}

.ex-sub-page .bmbtn {
  display: flex;
  gap: 12px;
}

.ex-sub-page .bmbtn_l,
.ex-sub-page .bmbtn_r {
  flex: 1;
  width: auto !important;
}

.ex-sub-page .no_title .ex-tip-warn {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: #f6465d !important;
  padding: 0 4px 12px;
}
