html.theme-dawn {
  --bg-top: #D3E1EA;
  --bg-middle: #E7EDF0;
  --bg-bottom: #F3F0E9;
  --text-primary: #223147;
  --text-secondary: #657789;
  --text-muted: #8493A1;
  --gold-primary: #C79E55;
  --gold-soft: #A88955;
  --gold-pressed: #B58B45;
  --surface-photo: rgba(255, 255, 255, .80);
  --surface-input: rgba(248, 250, 251, .66);
  --surface-option: rgba(255, 255, 255, .52);
  --border-subtle: rgba(55, 75, 94, .10);
  --border-gold: rgba(181, 139, 74, .42);
}

html.theme-dawn body {
  background:
    radial-gradient(circle at 92% 4%, rgba(244, 194, 142, .16), transparent 48%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-middle) 42%, var(--bg-bottom) 100%);
  color: var(--text-primary);
}

html.theme-dawn.bg-mist {
  background-color: #F5F1E9;
}

html.theme-dawn.bg-mist body {
  background:
    radial-gradient(
      circle at 88% 6%,
      rgba(255, 243, 216, .205) 0%,
      rgba(255, 243, 216, .068) 20%,
      rgba(255, 243, 216, 0) 40%
    ),
    linear-gradient(
      180deg,
      #D8E4EA 0%,
      #E8EEF0 38%,
      #F0F1ED 70%,
      #F5F1E9 100%
    );
}

html.theme-dawn.bg-paper {
  background-color: #F6EFE5;
}

html.theme-dawn.bg-paper body {
  background:
    radial-gradient(
      circle at 86% 5%,
      rgba(255, 239, 203, .22) 0%,
      rgba(255, 239, 203, .07) 22%,
      rgba(255, 239, 203, 0) 42%
    ),
    linear-gradient(
      180deg,
      #DEE7E9 0%,
      #ECEFED 42%,
      #F3F1EB 72%,
      #F6EFE5 100%
    );
}

html.theme-dawn.bg-blue {
  background-color: #F4F1EA;
}

html.theme-dawn.bg-blue body {
  background:
    radial-gradient(
      circle at 90% 4%,
      rgba(255, 247, 225, .14) 0%,
      rgba(255, 247, 225, .04) 18%,
      rgba(255, 247, 225, 0) 36%
    ),
    linear-gradient(
      180deg,
      #D2E1E8 0%,
      #E4ECEF 40%,
      #EEF1EF 72%,
      #F4F1EA 100%
    );
}

html.theme-dawn .container {
  max-width: 430px;
  min-height: 100vh;
  padding: 28px 20px 72px;
}

html.theme-dawn .page-intro {
  margin-bottom: 28px;
  text-align: left;
}

html.theme-dawn .page-intro h1 {
  max-width: 360px;
  margin: 0 0 10px;
  color: var(--text-primary);
  font-size: 26px;
  line-height: 1.26;
  letter-spacing: 0;
}

html.theme-dawn .page-intro .subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

html.theme-dawn .page-intro::after {
  content: "✦ 区块链存证";
  display: block;
  margin-top: 18px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
}

html.theme-dawn #formSection.card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

html.theme-dawn .qr-id-hint {
  margin: 0 0 8px;
  color: #7A8997;
  font-size: 12px;
  line-height: 1.45;
}

html.theme-dawn .qr-id-hint strong {
  color: #526576;
  font-weight: 700;
}

html.theme-dawn .qr-id-hint a {
  color: var(--gold-soft);
  font-weight: 700;
}

html.theme-dawn label {
  display: block;
  margin: 26px 0 10px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
}

html.theme-dawn .field-hint {
  color: var(--text-muted);
  font-size: 13px;
}

html.theme-dawn .upload-area {
  min-height: 142px;
  margin: 0 0 14px;
  border: 1px dashed rgba(181, 139, 74, .40);
  border-radius: 8px;
  background: var(--surface-photo);
  box-shadow: 0 5px 15px rgba(66, 79, 91, .08);
  overflow: hidden;
}

html.theme-dawn .upload-area-placeholder {
  color: var(--text-primary);
  font-size: 18px;
}

html.theme-dawn .upload-area-placeholder::before {
  content: "+";
  display: block;
  margin-bottom: 12px;
  color: var(--gold-primary);
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
}

html.theme-dawn .upload-area.has-preview {
  display: block;
  min-height: 0;
  border-style: solid;
  border-color: rgba(55, 75, 94, .10);
  background: var(--surface-photo);
  box-shadow: 0 5px 15px rgba(66, 79, 91, .08);
}

html.theme-dawn .upload-area.has-preview .upload-area-placeholder {
  display: none;
}

html.theme-dawn .preview {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--surface-photo);
  box-shadow: 0 5px 15px rgba(66, 79, 91, .08);
}

html.theme-dawn .upload-area .preview {
  display: block;
  margin: 0;
  max-height: min(62vh, 520px);
  box-shadow: none;
}

html.theme-dawn .photo-change-link {
  display: inline-flex;
  width: auto;
  min-height: 0;
  margin: -2px 0 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gold-soft);
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

html.theme-dawn .photo-change-link:hover,
html.theme-dawn .photo-change-link:active {
  background: transparent;
  color: var(--gold-pressed);
  box-shadow: none;
  transform: none;
}

html.theme-dawn .photo-change-link.hidden {
  display: none;
}

html.theme-dawn .memory-input-shell {
  position: relative;
  margin: 0 0 22px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-input);
  box-shadow: none;
}

html.theme-dawn .memory-input-shell:focus-within {
  border-color: rgba(181, 139, 74, .50);
  background: rgba(248, 250, 251, .74);
}

html.theme-dawn .memory-input {
  min-height: 150px;
  margin: 0;
  padding: 12px 14px 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-primary);
  box-shadow: none;
  font-family: "Songti SC", STSong, serif;
  font-size: 16px;
  line-height: 1.7;
}

html.theme-dawn .memory-input::placeholder {
  color: #8A96A3;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

html.theme-dawn .memory-input:focus {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

html.theme-dawn #count {
  position: absolute;
  right: 14px;
  bottom: 12px;
  margin: 0;
  color: #7B8998;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 13px;
  line-height: 1.2;
  pointer-events: none;
  text-align: right;
}

html.theme-dawn .save-mode-card {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

html.theme-dawn .section-title {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
}

html.theme-dawn .mode-option {
  min-height: auto;
  margin: 0 0 10px;
  padding: 11px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-option);
  color: var(--text-primary);
  box-shadow: none;
}

html.theme-dawn .mode-option.selected {
  border-color: var(--border-gold);
  background: rgba(190, 150, 80, .08);
  box-shadow: none;
}

html.theme-dawn .mode-option::before {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border: 1px solid rgba(52, 72, 91, .24);
  background: transparent;
  box-shadow: none;
}

html.theme-dawn .mode-option.selected::before {
  border-color: var(--gold-primary);
  background: radial-gradient(circle, var(--gold-primary) 0 3px, transparent 3.5px);
  box-shadow: none;
}

html.theme-dawn .mode-option input[type="radio"] {
  width: 1px;
  height: 1px;
  -webkit-appearance: none;
  appearance: none;
  accent-color: transparent;
  outline: none;
  box-shadow: none;
}

html.theme-dawn .mode-option input[type="radio"]:focus,
html.theme-dawn .mode-option input[type="radio"]:focus-visible {
  outline: none;
  box-shadow: none;
}

html.theme-dawn .mode-option strong {
  color: var(--text-primary);
  font-size: 16px;
}

html.theme-dawn .mode-option small {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.45;
}

html.theme-dawn .brand-card {
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface-option);
  box-shadow: none;
}

html.theme-dawn .brand-preview,
html.theme-dawn .checkbox-row {
  color: var(--text-secondary);
}

html.theme-dawn .checkbox-row input[type="checkbox"] {
  accent-color: var(--gold-primary);
}

html.theme-dawn .btn {
  width: 100%;
  min-height: 48px;
  margin: 0;
  border-radius: 8px;
  background: var(--gold-primary);
  color: #162230;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

html.theme-dawn .btn:hover:not(:disabled),
html.theme-dawn .btn:active:not(:disabled) {
  background: var(--gold-pressed);
  box-shadow: none;
  transform: none;
}

html.theme-dawn .btn:disabled {
  background: rgba(201, 164, 94, .42);
  color: rgba(22, 34, 48, .62);
  box-shadow: none;
}

html.theme-dawn .message {
  margin-top: 14px;
  color: #A45F58;
  font-size: 13px;
  text-align: center;
}

/* H5 phone verification Dawn polish */
html.theme-dawn .auth-container {
  max-width: 430px;
  padding: 28px 20px 72px;
}

html.theme-dawn .auth-container .page-intro {
  margin-bottom: 24px;
}

html.theme-dawn .auth-card.login-card {
  padding: 20px;
  border: 1px solid rgba(52, 72, 91, .10);
  border-radius: 12px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 10px 30px rgba(66, 79, 91, .08);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html.theme-dawn .auth-card .wechat-login-hint {
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid rgba(181, 139, 74, .24);
  border-radius: 10px;
  background: rgba(201, 166, 100, .08);
  color: #7A623C;
  font-size: 13px;
  line-height: 1.6;
}

html.theme-dawn .auth-card .auth-method-title {
  margin: 0 0 8px;
  color: #223147;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.38;
}

html.theme-dawn .auth-card .auth-method-subtitle {
  margin: 0 0 20px;
  color: #68798A;
  font-size: 13px;
  line-height: 1.65;
}

html.theme-dawn .auth-card .auth-field-label {
  margin: 18px 0 8px;
  color: #223147;
  font-size: 15px;
  font-weight: 700;
}

html.theme-dawn .auth-container .login-input {
  min-height: 52px;
  border: 1px solid rgba(52, 72, 91, .12);
  border-radius: 14px;
  background: rgba(248, 250, 251, .72);
  box-shadow: none;
  overflow: hidden;
}

html.theme-dawn .auth-container .login-input:focus-within {
  border-color: rgba(181, 139, 74, .50);
  background: rgba(248, 250, 251, .82);
  box-shadow: none;
}

html.theme-dawn .auth-container .login-input input {
  height: 52px;
  color: #223147;
  font-size: 16px;
  box-shadow: none;
}

html.theme-dawn .auth-container .login-input input::placeholder {
  color: #8493A1;
}

html.theme-dawn .auth-container .login-input input:focus {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

html.theme-dawn .auth-container .country-code {
  color: #223147;
  font-weight: 700;
}

html.theme-dawn .auth-sms-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

html.theme-dawn .auth-sms-row:focus-within {
  border-color: transparent;
  background: transparent;
}

html.theme-dawn .auth-sms-row input {
  height: 52px;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid rgba(52, 72, 91, .12);
  border-radius: 14px;
  background: rgba(248, 250, 251, .72);
}

html.theme-dawn .auth-container .auth-sms-row input:focus {
  border-color: rgba(181, 139, 74, .50);
  background: rgba(248, 250, 251, .82);
}

html.theme-dawn .auth-sms-row .btn.sms-btn {
  width: 116px;
  min-width: 116px;
  height: 52px;
  min-height: 52px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid rgba(52, 72, 91, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .46);
  color: #A88955;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  opacity: 1;
  white-space: nowrap;
}

html.theme-dawn .auth-sms-row .btn.sms-btn:hover:not(:disabled),
html.theme-dawn .auth-sms-row .btn.sms-btn:active:not(:disabled) {
  border-color: rgba(158, 128, 80, .32);
  background: rgba(255, 255, 255, .58);
  color: #9E8050;
}

html.theme-dawn .auth-sms-row .btn.sms-btn:disabled {
  border-color: rgba(52, 72, 91, .10);
  background: rgba(255, 255, 255, .34);
  color: #8493A1;
  opacity: 1;
}

html.theme-dawn .auth-agreement {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 18px 0 0;
  color: #68798A;
  font-size: 14px;
  font-weight: 600;
}

html.theme-dawn .auth-agreement input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid rgba(52, 72, 91, .28);
  border-radius: 4px;
  background: rgba(255, 255, 255, .56);
  accent-color: #C79E55;
}

html.theme-dawn .login-card #registerBtn {
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
  border-radius: 14px;
  background: #C79E55;
  color: #162230;
  box-shadow: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .6px;
  opacity: 1;
}

html.theme-dawn .login-card #registerBtn:hover:not(:disabled),
html.theme-dawn .login-card #registerBtn:active:not(:disabled) {
  background: #B58B45;
  box-shadow: none;
  transform: none;
}

html.theme-dawn .login-card #registerBtn:disabled {
  background: rgba(199, 158, 85, .34);
  color: rgba(22, 34, 48, .48);
  box-shadow: none;
  opacity: 1;
}

html.theme-dawn .auth-card #message {
  min-height: 22px;
  color: #A45F58;
  text-align: center;
}

html.theme-dawn .overlay-panel {
  border: 1px solid rgba(55, 75, 94, .12);
  background:
    radial-gradient(circle at 92% 0%, rgba(244, 194, 142, .13), transparent 44%),
    rgba(248, 250, 251, .94);
  color: var(--text-primary);
  box-shadow: 0 20px 48px rgba(66, 79, 91, .18);
}

html.theme-dawn .overlay-title,
html.theme-dawn .confirm-preview-label {
  color: var(--text-primary);
}

html.theme-dawn .overlay-subtitle,
html.theme-dawn .confirm-preview-content.empty {
  color: var(--text-secondary);
}

html.theme-dawn .confirm-preview {
  border-color: rgba(55, 75, 94, .10);
  background: rgba(255, 255, 255, .56);
}

/* H5 record page Dawn final polish */
html.theme-dawn .record-page {
  --record-radius: 12px;
  max-width: 430px;
  padding: 24px 20px calc(28px + env(safe-area-inset-bottom));
}

html.theme-dawn .record-page .record-header {
  margin-bottom: 28px;
  text-align: left;
}

html.theme-dawn .record-page .page-intro::after {
  content: none;
  display: none;
}

html.theme-dawn .record-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  min-height: 40px;
  margin: 0 0 12px;
}

html.theme-dawn .record-phone-line {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  min-height: 40px;
  margin: 0 0 0 auto;
  color: #68798A;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}

html.theme-dawn .record-phone-line strong {
  color: inherit;
  font-weight: 400;
}

html.theme-dawn .record-phone-separator {
  margin: 0 7px;
  color: rgba(111, 127, 142, .82);
}

html.theme-dawn .record-phone-change {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #9E8050;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

html.theme-dawn .record-phone-change:focus,
html.theme-dawn .record-phone-change:focus-visible {
  border-radius: 4px;
  outline: 1px solid rgba(158, 128, 80, .36);
  outline-offset: 2px;
}

html.theme-dawn .record-page .page-intro h1 {
  max-width: none;
  margin: 0 0 9px;
  color: #223147;
  font-weight: 650;
  line-height: 1.34;
  letter-spacing: .2px;
}

html.theme-dawn .record-page .page-intro .subtitle {
  margin: 0;
  color: #68798A;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

html.theme-dawn .record-trust-line {
  display: block;
  margin-top: 18px;
}

html.theme-dawn .record-star-id,
html.theme-dawn .record-chain-note {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  line-height: 1.35;
}

html.theme-dawn .record-star-id {
  flex: 0 1 auto;
  min-width: max-content;
  color: #7A8997;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

html.theme-dawn .record-star-id strong {
  color: #526576;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 500;
}

html.theme-dawn .record-chain-note {
  color: #A88955;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .3px;
  white-space: nowrap;
}

html.theme-dawn .record-page #formSection.card {
  width: 100%;
  margin: 0;
}

html.theme-dawn .record-page .draft-notice {
  margin: 0 0 14px;
  padding: 8px 10px;
  border: 1px solid rgba(181, 139, 74, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .30);
  color: #68798A;
  font-size: 12.5px;
  line-height: 1.5;
  text-align: left;
}

html.theme-dawn .record-page .field-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}

html.theme-dawn .record-page .field-label-row label {
  margin: 0;
  color: #223147;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

html.theme-dawn .record-page .field-label-row .field-hint {
  flex: 0 0 auto;
  margin: 0;
  color: #8493A1;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

html.theme-dawn .record-page .upload-area {
  width: 100%;
  min-height: 142px;
  margin: 0 0 12px;
  border-radius: var(--record-radius);
  box-sizing: border-box;
}

html.theme-dawn .record-page .upload-area-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  line-height: 1.25;
}

html.theme-dawn .record-page .upload-area-placeholder::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 0 2px;
  font-size: 28px;
  line-height: 1;
}

html.theme-dawn .record-page #uploadActionText {
  display: block;
  margin: 0;
  line-height: 1.25;
}

html.theme-dawn .record-page .upload-area.has-preview {
  border-radius: var(--record-radius);
}

html.theme-dawn .record-page .upload-area .preview {
  border-radius: var(--record-radius);
  max-height: min(60vh, 500px);
}

html.theme-dawn .record-page .photo-change-link {
  min-height: 40px;
  margin: -4px 0 20px;
  padding: 0 2px;
}

html.theme-dawn .record-page .memory-input-shell {
  display: flex;
  flex-direction: column;
  margin: 0 0 24px;
  border-radius: var(--record-radius);
  overflow: hidden;
}

html.theme-dawn .record-page .memory-input {
  min-height: 152px;
  padding: 12px 14px 8px;
  border-radius: var(--record-radius) var(--record-radius) 0 0;
  resize: none;
}

html.theme-dawn .record-page #count {
  position: static;
  align-self: stretch;
  margin: 0;
  padding: 0 14px 12px;
  color: #7E8D9A;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 12.5px;
  line-height: 1.25;
  text-align: right;
}

html.theme-dawn .record-page .save-mode-card {
  margin: 0 0 20px;
}

html.theme-dawn .record-page .section-title {
  margin: 0 0 10px;
  color: #223147;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

html.theme-dawn .record-page .mode-option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 0 11px;
  padding: 12px 14px;
  border-radius: var(--record-radius);
  box-sizing: border-box;
  outline: none;
  box-shadow: none;
}

html.theme-dawn .record-page .mode-option::before {
  content: "";
  display: inline-flex;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border: 1px solid rgba(82, 101, 118, .34);
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
  transform: none;
}

html.theme-dawn .record-page .mode-option.selected {
  border-color: rgba(199, 158, 85, .62);
  background: rgba(190, 150, 80, .06);
  box-shadow: none;
  outline: none;
}

html.theme-dawn .record-page .mode-option.selected::before {
  border-color: #C79E55;
  background: radial-gradient(circle, #C79E55 0 3px, transparent 3.6px);
}

html.theme-dawn .record-page .mode-option::after {
  content: none;
  display: none;
}

html.theme-dawn .record-page .mode-option:focus-within {
  outline: none;
  box-shadow: none;
}

html.theme-dawn .record-page .mode-option input[type="radio"] {
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  accent-color: transparent;
  border: 0;
  outline: none;
  opacity: 0;
}

html.theme-dawn .record-page .mode-option input[type="radio"]:focus-visible + span {
  border-radius: 6px;
  outline: 1px solid rgba(112, 128, 143, .28);
  outline-offset: 3px;
}

html.theme-dawn .record-page .mode-option strong {
  font-size: 15px;
  line-height: 1.35;
}

html.theme-dawn .record-page .mode-option small {
  margin-top: 3px;
  color: #667889;
  font-size: 12px;
  line-height: 1.45;
}

html.theme-dawn .record-page .brand-card {
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 8px;
  padding: 6px 12px 8px;
  border-color: rgba(55, 75, 94, .06);
  border-radius: var(--record-radius);
  background: rgba(255, 255, 255, .22);
}

html.theme-dawn .record-page .brand-preview {
  grid-column: 2;
  margin: 0 0 4px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #637586;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
}

html.theme-dawn .record-page .brand-card .checkbox-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin-top: 0;
}

html.theme-dawn .record-page .brand-card .checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: #C79E55;
}

html.theme-dawn .record-page .brand-card .checkbox-row label {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  color: #526576;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

html.theme-dawn .record-page #submitBtn {
  width: 100%;
  min-height: 50px;
  height: 50px;
  border-radius: var(--record-radius);
  background: #C79E55;
  color: #162230;
  box-shadow: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .6px;
}

html.theme-dawn .record-page #submitBtn:hover:not(:disabled),
html.theme-dawn .record-page #submitBtn:active:not(:disabled) {
  background: #B58B45;
  box-shadow: none;
  transform: none;
}

html.theme-dawn .record-page #submitBtn:disabled {
  background: rgba(199, 158, 85, .38);
  color: rgba(22, 34, 48, .54);
}

html.theme-dawn .record-page .message {
  margin: 12px 0 0;
}

html.theme-dawn .record-page .overlay {
  align-items: flex-end;
}

html.theme-dawn .record-page .overlay-mask {
  background: rgba(22, 34, 48, .24);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html.theme-dawn .record-page .overlay-panel {
  width: min(430px, calc(100% - 24px));
  max-height: calc(100vh - 32px - env(safe-area-inset-bottom));
  margin: 0 12px calc(16px + env(safe-area-inset-bottom));
  padding: 20px;
  border: 1px solid rgba(55, 75, 94, .12);
  border-radius: var(--record-radius);
  background: rgba(248, 250, 251, .96);
  color: #223147;
  box-shadow: 0 12px 28px rgba(66, 79, 91, .12);
}

html.theme-dawn .record-page .overlay-title {
  color: #223147;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.35;
}

html.theme-dawn .record-page .overlay-subtitle {
  color: #68798A;
  opacity: 1;
}

html.theme-dawn .record-page .overlay-subtitle strong {
  color: #526576;
}

html.theme-dawn .record-page .confirm-preview {
  margin-top: 14px;
  border: 0;
  background: transparent;
}

html.theme-dawn .record-page .confirm-preview-photo {
  min-height: 210px;
  border: 1px solid rgba(55, 75, 94, .10);
  border-radius: var(--record-radius);
  background: rgba(255, 255, 255, .76);
}

html.theme-dawn .record-page .confirm-preview-image {
  max-height: min(52vh, 500px);
  border-radius: var(--record-radius);
  object-fit: contain;
}

html.theme-dawn .record-page .confirm-preview-text {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(55, 75, 94, .10);
  border-radius: var(--record-radius);
  background: rgba(255, 255, 255, .56);
}

html.theme-dawn .record-page .confirm-preview-label {
  color: #718392;
  font-size: 12px;
}

html.theme-dawn .record-page .confirm-preview-content {
  color: #526576;
  font-family: "Songti SC", STSong, serif;
}

html.theme-dawn .record-page .confirm-preview-content.empty {
  color: #8493A1;
}

html.theme-dawn .record-page .confirm-notice-card {
  margin: 12px 0 4px;
  padding: 11px 12px;
  border: 1px solid rgba(55, 75, 94, .08);
  border-radius: var(--record-radius);
  background: rgba(255, 255, 255, .36);
  color: #68798A;
}

html.theme-dawn .record-page .btn.btn-secondary,
html.theme-dawn .record-page #cancelSubmitBtn,
html.theme-dawn .record-page #myRecordsBtn {
  border: 1px solid rgba(82, 101, 118, .22);
  background: rgba(255, 255, 255, .38);
  color: #223147;
}

html.theme-dawn .record-page .btn.btn-secondary:hover:not(:disabled),
html.theme-dawn .record-page .btn.btn-secondary:active:not(:disabled),
html.theme-dawn .record-page #cancelSubmitBtn:hover:not(:disabled),
html.theme-dawn .record-page #cancelSubmitBtn:active:not(:disabled),
html.theme-dawn .record-page #myRecordsBtn:hover:not(:disabled),
html.theme-dawn .record-page #myRecordsBtn:active:not(:disabled) {
  border-color: rgba(158, 128, 80, .34);
  background: rgba(255, 255, 255, .54);
  color: #223147;
}

html.theme-dawn .record-page #confirmSubmitBtn,
html.theme-dawn .record-page #shareBtn {
  background: #C79E55;
  color: #162230;
}

html.theme-dawn .record-page #resultSection.card {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

html.theme-dawn .record-page #resultSection .result-success-banner {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  text-align: left;
}

html.theme-dawn .record-page #resultSection .result-success-title {
  margin: 0 0 8px;
  color: #223147;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: .2px;
}

html.theme-dawn .record-page #resultSection .result-success-sub {
  margin: 0;
  color: #68798A;
  opacity: 1;
  font-size: 14px;
  line-height: 1.5;
}

html.theme-dawn .record-page #resultSection .memory-card {
  padding: 0;
  border: 0;
}

html.theme-dawn .record-page #resultSection .result-image {
  display: block;
  width: 100%;
  max-height: min(62vh, 520px);
  border-radius: var(--record-radius);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 5px 15px rgba(66, 79, 91, .08);
  object-fit: contain;
}

html.theme-dawn .record-page #resultSection .memory-content {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(55, 75, 94, .08);
  border-radius: var(--record-radius);
  background: rgba(255, 255, 255, .48);
  color: #526576;
  font-family: "Songti SC", STSong, serif;
}

html.theme-dawn .record-page #resultSection .credential-card {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(55, 75, 94, .08);
  border-radius: var(--record-radius);
  background: rgba(255, 255, 255, .28);
  color: #68798A;
  box-shadow: none;
}

html.theme-dawn .record-page #resultSection .credential-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 7px;
}

html.theme-dawn .record-page #resultSection .credential-row:last-of-type {
  margin-bottom: 0;
}

html.theme-dawn .record-page #resultSection .credential-label {
  margin: 0;
  color: #718392;
  font-weight: 400;
}

html.theme-dawn .record-page #resultSection .credential-value {
  min-width: 0;
  color: #526576;
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
}

html.theme-dawn .record-page #resultSection #resultQrId,
html.theme-dawn .record-page #resultSection .credential-hash {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

html.theme-dawn .record-page #resultSection .hash-toggle {
  margin-top: 8px;
  border: 0;
  border-bottom: 1px solid rgba(168, 137, 85, .38);
  color: #A88955;
  background: transparent;
}

html.theme-dawn .record-page #resultSection .credential-detail {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(55, 75, 94, .08);
}

html.theme-dawn .record-page #resultSection .credential-hash {
  color: #526576;
}

html.theme-dawn .record-page #resultSection .credential-brand {
  color: #526576;
}

html.theme-dawn .record-page #resultSection .result-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

html.theme-dawn .record-page #resultSection .result-actions .btn {
  margin: 0;
}

html.theme-dawn .record-page #resultSection .project-link {
  color: #A88955;
  text-decoration: none;
}

html.theme-dawn .record-page #resultSection .result-visibility-hint {
  margin: 10px 0 0;
  color: #8493A1;
  text-align: center;
}

html.theme-dawn .record-page #resultSection.result-animate .result-success-title {
  animation: textRiseIn .24s ease .12s forwards;
  filter: none;
  text-shadow: none;
}

/* My records and record detail Dawn polish */
html.theme-dawn .my-records-page,
html.theme-dawn .record-detail-page {
  --record-radius: 12px;
  max-width: 430px;
  padding: 24px 20px calc(28px + env(safe-area-inset-bottom));
}

html.theme-dawn .my-records-page .page-intro,
html.theme-dawn .record-detail-page .page-intro {
  margin-bottom: 24px;
}

html.theme-dawn .my-records-page .page-intro::after,
html.theme-dawn .record-detail-page .page-intro::after {
  content: none;
  display: none;
}

html.theme-dawn .my-records-page .account-meta-line,
html.theme-dawn .record-detail-page .account-meta-line {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 16px 0 0;
  color: #6F7F8E;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
}

html.theme-dawn .my-records-page .account-meta-line strong,
html.theme-dawn .record-detail-page .account-meta-line strong {
  color: inherit;
  font-weight: 400;
}

html.theme-dawn .my-records-page .account-meta-separator,
html.theme-dawn .record-detail-page .account-meta-separator {
  margin: 0 7px;
  color: rgba(111, 127, 142, .82);
}

html.theme-dawn .my-records-page .account-meta-link,
html.theme-dawn .record-detail-page .account-meta-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #9E8050;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

html.theme-dawn .my-records-page .account-meta-link:focus-visible,
html.theme-dawn .record-detail-page .account-meta-link:focus-visible {
  border-radius: 4px;
  outline: 1px solid rgba(158, 128, 80, .36);
  outline-offset: 2px;
}

html.theme-dawn .my-records-page .message,
html.theme-dawn .record-detail-page .message {
  margin: 8px 0 0;
  color: #A45F58;
  text-align: left;
}

html.theme-dawn .my-records-page .empty-card,
html.theme-dawn .my-records-page .support-card {
  padding: 16px 14px;
  border: 1px solid rgba(55, 75, 94, .08);
  border-radius: var(--record-radius);
  background: rgba(255, 255, 255, .36);
  box-shadow: none;
  backdrop-filter: none;
}

html.theme-dawn .my-records-page .empty-title {
  margin: 0 0 6px;
  color: #223147;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
}

html.theme-dawn .my-records-page .empty-card .subtitle {
  margin: 0 0 14px;
  color: #68798A;
  line-height: 1.55;
}

html.theme-dawn .my-records-page .record-feed {
  display: grid;
  gap: 18px;
  margin: 0 0 20px;
}

html.theme-dawn .my-records-page .record-item.card {
  padding: 0;
  border: 1px solid rgba(55, 75, 94, .08);
  border-radius: var(--record-radius);
  background: rgba(255, 255, 255, .42);
  box-shadow: none;
  overflow: hidden;
  backdrop-filter: none;
}

html.theme-dawn .my-records-page .record-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--record-radius) var(--record-radius) 0 0;
  background: rgba(255, 255, 255, .72);
  object-fit: cover;
}

html.theme-dawn .my-records-page .record-body {
  padding: 12px 14px 14px;
}

html.theme-dawn .my-records-page .record-content {
  margin: 0 0 11px;
  color: #526576;
  font-family: "Songti SC", STSong, serif;
  font-size: 15px;
  line-height: 1.55;
}

html.theme-dawn .my-records-page .record-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html.theme-dawn .my-records-page .record-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  margin: 0 0 10px;
}

html.theme-dawn .my-records-page .record-meta-item {
  margin: 0;
  color: #8493A1;
  font-size: 12px;
  line-height: 1.4;
}

html.theme-dawn .my-records-page .record-star-id strong {
  color: #526576;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-weight: 500;
}

html.theme-dawn .my-records-page .record-status-hint {
  margin: 0 0 10px;
  color: #A88955;
  font-size: 12px;
  line-height: 1.4;
}

html.theme-dawn .my-records-page .record-detail-link,
html.theme-dawn .my-records-page .empty-action,
html.theme-dawn .my-records-page .support-link {
  display: inline-flex;
  width: auto;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(168, 137, 85, .28);
  border-radius: 0;
  background: transparent;
  color: #A88955;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 38px;
  text-decoration: none;
}

html.theme-dawn .my-records-page .record-detail-link:hover,
html.theme-dawn .my-records-page .record-detail-link:active,
html.theme-dawn .my-records-page .empty-action:hover,
html.theme-dawn .my-records-page .empty-action:active,
html.theme-dawn .my-records-page .support-link:hover,
html.theme-dawn .my-records-page .support-link:active {
  border-color: rgba(168, 137, 85, .46);
  background: transparent;
  color: #9E8050;
  box-shadow: none;
  transform: none;
}

html.theme-dawn .record-detail-page .detail-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  margin-top: 18px;
}

html.theme-dawn .record-detail-page .detail-star-id {
  margin: 0;
  color: #7A8997;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}

html.theme-dawn .record-detail-page .detail-star-id strong {
  color: #526576;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-weight: 500;
}

html.theme-dawn .record-detail-page .detail-meta-line .account-meta-line {
  margin: 0;
}

html.theme-dawn .record-detail-page .detail-card.card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

html.theme-dawn .record-detail-page .detail-cover {
  display: block;
  width: 100%;
  max-height: min(62vh, 520px);
  border-radius: var(--record-radius);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 5px 15px rgba(66, 79, 91, .08);
  object-fit: contain;
}

html.theme-dawn .record-detail-page .detail-body {
  display: grid;
  gap: 16px;
  padding: 0;
  margin-top: 16px;
}

html.theme-dawn .record-detail-page .detail-memory-group,
html.theme-dawn .record-detail-page .detail-credential-group,
html.theme-dawn .record-detail-page .detail-brand-group,
html.theme-dawn .record-detail-page .result-comments {
  padding: 12px 14px;
  border: 1px solid rgba(55, 75, 94, .08);
  border-radius: var(--record-radius);
  background: rgba(255, 255, 255, .42);
  box-shadow: none;
  backdrop-filter: none;
}

html.theme-dawn .record-detail-page .detail-memory-group {
  background: rgba(255, 255, 255, .54);
}

html.theme-dawn .record-detail-page .detail-section-label,
html.theme-dawn .record-detail-page .section-title {
  margin: 0 0 8px;
  color: #718392;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

html.theme-dawn .record-detail-page .record-content {
  margin: 0;
  color: #526576;
  font-family: "Songti SC", STSong, serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

html.theme-dawn .record-detail-page .detail-info-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 9px;
  color: #8493A1;
  font-size: 13px;
  line-height: 1.45;
}

html.theme-dawn .record-detail-page .detail-info-row strong {
  min-width: 0;
  color: #526576;
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
}

html.theme-dawn .record-detail-page .detail-hash-group {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(55, 75, 94, .08);
}

html.theme-dawn .record-detail-page .detail-hash-value {
  margin: 0 0 8px;
  color: #526576;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.55;
  word-break: normal;
  overflow-wrap: normal;
}

html.theme-dawn .record-detail-page .detail-hash-value.is-expanded {
  overflow-wrap: anywhere;
}

html.theme-dawn .record-detail-page .detail-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin: 0 0 8px;
}

html.theme-dawn .record-detail-page .text-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(168, 137, 85, .28);
  border-radius: 0;
  background: transparent;
  color: #A88955;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 34px;
  text-decoration: none;
}

html.theme-dawn .record-detail-page .text-button:hover,
html.theme-dawn .record-detail-page .text-button:active {
  border-color: rgba(168, 137, 85, .46);
  background: transparent;
  color: #9E8050;
  box-shadow: none;
  transform: none;
}

html.theme-dawn .record-detail-page .detail-hash-note {
  margin: 0;
  color: #68798A;
  font-size: 12px;
  line-height: 1.5;
}

html.theme-dawn .record-detail-page .hash-message {
  margin-top: 8px;
  color: #68798A;
}

html.theme-dawn .record-detail-page .credential-brand {
  margin: 0;
  color: #526576;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

html.theme-dawn .record-detail-page .comment-head {
  color: #526576;
}

html.theme-dawn .record-detail-page .comment-item p {
  color: #526576;
}

html.theme-dawn .record-detail-page .detail-back-link {
  width: 100%;
  margin-top: 20px;
  border: 1px solid rgba(82, 101, 118, .22);
  background: rgba(255, 255, 255, .38);
  color: #223147;
  box-shadow: none;
}

html.theme-dawn .record-detail-page .detail-back-link:hover,
html.theme-dawn .record-detail-page .detail-back-link:active {
  border-color: rgba(158, 128, 80, .34);
  background: rgba(255, 255, 255, .54);
  color: #223147;
  box-shadow: none;
  transform: none;
}

@media (max-width: 340px) {
  html.theme-dawn .record-meta-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  html.theme-dawn .record-phone-line {
    margin-left: 0;
  }

  html.theme-dawn .record-detail-page .detail-meta-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  html.theme-dawn .my-records-page .account-meta-line,
  html.theme-dawn .record-detail-page .account-meta-line {
    flex-wrap: wrap;
    white-space: normal;
  }

  html.theme-dawn .record-detail-page .detail-info-row {
    display: block;
  }

  html.theme-dawn .record-detail-page .detail-info-row strong {
    display: block;
    margin-top: 3px;
    text-align: left;
  }

  html.theme-dawn .auth-sms-row {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 8px;
  }

  html.theme-dawn .auth-sms-row .btn.sms-btn {
    width: 104px;
    min-width: 104px;
    padding: 0 8px;
    font-size: 13px;
  }
}
