html[data-cloud-boot] body > :not(#cloudRoot):not(.cloud-dialog) { display: none !important; }
html[data-cloud-boot] { overflow: hidden; scrollbar-gutter: auto; background: #f8faf8; }
#cloudRoot { position: fixed; inset: 0; overflow: auto; overscroll-behavior: contain; z-index: 20000; background: #f8faf8; color: #203f37; font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
#cloudRoot[hidden] { display: none; }
#cloudRoot *, .cloud-dialog * { box-sizing: border-box; letter-spacing: 0; }
.cloud-auth { width: 100%; min-height: 100%; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cloud-scene { position: relative; isolation: isolate; flex: 0 0 auto; height: 300px; overflow: hidden; background: #e2ece6; border-bottom: 1px solid #b7c9bd; }
.cloud-scene-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; opacity: .55; z-index: -1; }
.cloud-brand { display: grid; justify-items: center; align-content: center; height: 100%; padding: max(24px, env(safe-area-inset-top)) 24px 24px; color: #163c33; text-align: center; }
.cloud-brand h1 { margin: 14px 0 10px; font: 600 56px/1.2 "Songti SC", "STSong", "SimSun", serif; color: inherit; text-shadow: 0 1px 12px #f1f6ed; }
.cloud-seal { display: grid; place-items: center; width: 28px; height: 45px; padding: 4px; border: 1px solid #9b4237; outline: 1px solid #9b4237; outline-offset: 2px; background: #9b4237; color: #fff7ef; font: 500 14px/1.15 "Songti SC", serif; writing-mode: vertical-rl; }
.cloud-brand-motto { margin: 0; font: 500 15px/1.6 "Songti SC", "SimSun", serif; color: #264c40; }
.cloud-auth-content { width: min(100% - 48px, 376px); margin: 30px auto 0; padding: 0; animation: cloud-content-arrive .35s ease-out both; }
.cloud-auth-content > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 0; font: 600 22px/1.4 "Songti SC", "SimSun", serif; color: #203f37; }
.cloud-auth-content > h2::before { content: ""; width: 3px; height: 17px; flex: 0 0 auto; background: #a14a40; }
.cloud-auth-content form { margin: 0; }
.cloud-field { min-width: 0; margin: 0 0 18px; }
.cloud-auth label, .cloud-dialog label { display: block; margin: 0 0 8px; font-size: 13px; line-height: 1.5; font-weight: 500; color: #405c50; }
.cloud-input-control { position: relative; }
.cloud-auth input, .cloud-dialog input { display: block; width: 100%; min-width: 0; min-height: 48px; border: 1px solid #c3d1c8; background: #fff; color: #203f37; border-radius: 5px; padding: 12px 14px; font: 16px/1.4 system-ui, sans-serif; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.cloud-auth input::placeholder, .cloud-dialog input::placeholder { color: #7d8d83; font-size: 14px; opacity: 1; }
.cloud-auth input:focus, .cloud-dialog input:focus { outline: none; border-color: #39795f; box-shadow: 0 0 0 3px #39795f15; }
.has-toggle input { padding-right: 52px; }
.cloud-auth button, .cloud-dialog button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid #c6d1cb; border-radius: 5px; padding: 10px 16px; color: #285444; background: #fff; box-shadow: none; cursor: pointer; font: 600 14px/1.5 system-ui, sans-serif; letter-spacing: 0; transition: background .15s, border-color .15s; touch-action: manipulation; }
.cloud-auth .cloud-primary, .cloud-dialog .cloud-primary { width: 100%; min-height: 48px; background: #285b47; border-color: #285b47; color: #fff; font-size: 16px; }
.cloud-auth .cloud-primary:hover, .cloud-dialog .cloud-primary:hover { background: #204a3b; border-color: #204a3b; }
.cloud-auth .cloud-primary:active, .cloud-dialog .cloud-primary:active { background: #193e31; }
.cloud-auth button:disabled, .cloud-dialog button:disabled { opacity: .55; cursor: not-allowed; }
.cloud-auth button:focus-visible, .cloud-dialog button:focus-visible { outline: 2px solid #a14a40; outline-offset: 3px; }
.cloud-auth .cloud-password-toggle, .cloud-dialog .cloud-password-toggle { position: absolute; right: 2px; top: 2px; width: 44px; height: 44px; min-height: 44px; padding: 12px; border: 0; background: transparent; border-radius: 3px; }
.cloud-password-toggle img { display: block; width: 20px; height: 20px; opacity: .8; }
.cloud-password-toggle:hover { background: #edf3ee !important; }
.cloud-auth-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding-bottom: 12px; border-bottom: 1px solid #dce4de; }
.cloud-auth-nav button { background: none; border-color: transparent; padding-inline: 0; font-weight: 500; }
.cloud-auth-nav button:last-child:not(:first-child) { color: #67776e; }
.cloud-auth-nav button:hover { color: #9b4237; }
.cloud-auth-footer { margin-top: auto; padding: 28px 20px max(22px, env(safe-area-inset-bottom)); text-align: center; color: #718278; font-size: 11px; line-height: 1.6; }
.cloud-error { margin: 12px 0; color: #a53636; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.cloud-error:empty { margin: 0; }
.cloud-muted { margin: 10px 0; color: #66796d; font-size: 12px; line-height: 1.7; }
.cloud-approval-message { margin: 0 0 18px; padding: 12px 0; border-block: 1px solid #d1ddd5; color: #476452; font-size: 13px; line-height: 1.8; }
.cloud-application-account { margin: 18px 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.cloud-dialog { width: min(430px, calc(100% - 24px)); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid #b8c6be; border-radius: 6px; padding: 22px; background: #f8faf7; color: #263e35; z-index: 30000; }
.cloud-dialog::backdrop { background: #15271fd9; }
.cloud-dialog h2 { font-size: 20px; overflow-wrap: anywhere; }
.cloud-dialog p { line-height: 1.7; font-size: 14px; }
.cloud-dialog > button { width: 100%; margin-top: 10px; }
.cloud-daily-gift { text-align: center; width: min(350px, calc(100% - 32px)); border-top: 3px solid #a24b3d; }
.cloud-daily-gift h2 { margin: 4px 0 18px; font-family: "Songti SC", "STSong", serif; }
.daily-gift-amount { display: block; color: #a24b3d; font-size: 38px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.cloud-daily-gift p { margin: 12px 0 20px; }
.cloud-status-button { flex-shrink: 0; min-height: 32px; padding: 4px 7px; border: 0; background: transparent; color: #3b6b56; font-size: 11px; font-weight: 600; letter-spacing: 0; }
.cloud-settings-account { min-height: 44px; width: 100%; margin-top: 12px; }
@keyframes cloud-content-arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1000px) and (min-height: 850px) { .cloud-scene { height: 340px; } .cloud-auth-content { margin-top: 36px; } }
@media (max-width: 600px) {
  .cloud-scene { height: 220px; }
  .cloud-scene-art { object-position: 60% 44%; }
  .cloud-brand h1 { font-size: 42px; margin: 12px 0 9px; }
  .cloud-seal { width: 25px; height: 39px; font-size: 12px; }
  .cloud-brand-motto { font-size: 14px; }
  .cloud-auth-content { margin-top: 28px; }
  .cloud-auth-footer { padding-top: 22px; }
  .cloud-status-button { padding-inline: 4px; font-size: 10px; }
}
@media (max-height: 740px) {
  .cloud-scene { height: 160px; }
  .cloud-brand { padding-block: max(14px, env(safe-area-inset-top)) 14px; }
  .cloud-brand h1 { font-size: 38px; margin-block: 10px 6px; }
  .cloud-seal { width: 23px; height: 34px; font-size: 11px; }
  .cloud-auth-content { margin-top: 22px; }
  .cloud-auth-content > h2 { margin-bottom: 18px; font-size: 21px; }
  .cloud-field { margin-bottom: 14px; }
  .cloud-auth-footer { padding-top: 16px; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (max-height: 450px) and (orientation: landscape) {
  .cloud-scene { height: 108px; }
  .cloud-seal, .cloud-brand-motto { display: none; }
  .cloud-auth-content { width: min(100% - 48px, 440px); }
}
@media (prefers-reduced-motion: reduce) { .cloud-auth-content { animation: none; } .cloud-auth button, .cloud-dialog button, .cloud-auth input, .cloud-dialog input { transition: none; } }
