/* Generated from web/frontend/css/v1-h5-account.css by node scripts/build-web.mjs. Do not edit. */
/* H5 account frames 163 / 166 / 169 / 218 / 234 / 305.
   Account state, permissions and validation still come from the existing controllers. */
.v1-account-h5-only{display:none}
.cg-record-time-h5{display:none}
@media(max-width:1023px){
  .v1-account-h5-only{display:block}
  .cg-member[data-member-page],.cg-service.cg-member-reports{display:block;box-sizing:border-box;width:100%;max-width:none;margin:0 auto;padding:0 16px 20px;min-height:0;color:#ffffffb3;font-family:"PingFang SC","Microsoft YaHei",sans-serif}
  .cg-member[data-member-page]>aside,.cg-member-reports>.v1-member-nav{display:none}
  .cg-member-notice,.cg-record-notice{width:100%;max-width:none;margin:0}
  .cg-member-notice .hg-notice,.cg-record-notice .hg-notice{width:auto;max-width:none;margin:0 10px}
  .cg-member[data-member-page] .cg-member-back,.cg-member[data-member-page] .v1-member-back,.cg-member-reports .v1-member-back,.cg-member[data-member-page] .cg-message-back{box-sizing:border-box;display:flex;align-items:center;gap:4px;min-height:42px;margin:0 -16px 16px;padding:9px 16px;font-size:14px;line-height:20px;color:#ffffff80;text-decoration:none}
  .cg-member[data-member-page] .cg-member-back:before,.cg-member[data-member-page] .v1-member-back:before,.cg-member-reports .v1-member-back:before{content:"";width:24px;height:24px;flex:none;background:url(/static/web/images/figma/h5-breadcrumb-back.svg) center/contain no-repeat}
  .cg-member[data-member-page] h1,.cg-member[data-member-page]>section>h1,.cg-member-reports h1,.hg-settings.v1-member-frame .hg-settings__titles h1{font-size:22px;line-height:1.25;font-weight:600;color:#fff;margin:0 0 14px;gap:0}
  .hg-settings__titles h1:before,.cg-member-reports h1:before{display:none}
  /* Personal center: 343px content, 100px identity card, three columns of 74px entries. */
  .cg-member[data-member-page=home]{padding-top:12px;padding-bottom:14px}
  .cg-member[data-member-page=home]>section{gap:12px}
  .v1-account-pc-chevron{display:none}
  .cg-member[data-member-page=home] .cg-member-user{box-sizing:border-box;height:100px;padding:14px 16px;gap:14px;margin:0;border:0;border-radius:12px;background:#191919;box-shadow:inset 0 0 0 .5px #ffffff1f}
  .cg-member[data-member-page=home] .cg-member-user>img{width:64px;height:64px;flex:0 0 64px}
  .cg-member[data-member-page=home] .cg-member-user>div{min-width:0;display:flex;flex-direction:column;gap:5px}
  .cg-member[data-member-page=home] .cg-member-user strong{font-size:18px;line-height:23px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .cg-member[data-member-page=home] .cg-member-user p{margin:0;font-size:12px;line-height:16px;color:#ffffff80}
  .cg-member[data-member-page=home] .cg-member-user a{display:flex;align-items:center;gap:2px;font-size:12px;line-height:16px;color:#ff7d00}
  .cg-member[data-member-page=home] .cg-member-user a img{width:12px;height:12px;flex:none;border-radius:0}
  .cg-member[data-member-page=home] .cg-member-user a .v1-account-pc-chevron{display:none}
  .cg-member[data-member-page=home] nav.cg-member-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .cg-member[data-member-page=home] .cg-member-grid>a{box-sizing:border-box;height:74px;min-height:74px;padding:0 4px;gap:7px;border:0;border-radius:8px;background:#191919;box-shadow:inset 0 0 0 1px #ffffff14;font-size:12px;line-height:16px;font-weight:500;white-space:nowrap;overflow:hidden}
  .cg-member[data-member-page=home] .cg-member-entry-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#ffffff0a}
  .cg-member[data-member-page=home] .cg-member-entry-icon img{display:block;width:18px;height:18px}
  .cg-member[data-member-page=home] .cg-member-grid .hg-unread-badge{top:6.5px;right:6.5px;background:#f04452;min-width:18px;height:18px;padding:0 3px;font-size:10px;line-height:18px;transform:none}
  .cg-member[data-member-page=home] [data-member-content]+p{margin:0}
  .cg-member[data-member-page=home] [data-member-logout]{height:36px;min-height:36px;margin:0;padding:0;border:1px solid #ffffff24;border-radius:6px;font-size:13px;line-height:18px;color:#ffffffb3}
  /* Collections and likes: keep the real per-type totals and whole-video cancellation. */
  .cg-member[data-member-page] [data-member-list-panel],.v1-history-panel{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
  .cg-member[data-member-page] [data-member-tabs],.v1-history-types,.cg-member-reports .cg-record-tabs{display:flex;flex-wrap:nowrap;gap:12px;height:44px;margin:0;border-bottom:1px solid #ffffff1f}
  .cg-member[data-member-page] [data-member-type],.v1-history-types a,.cg-member-reports .cg-record-tabs a{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:80px;width:auto;height:44px;padding:0 8px;line-height:20px;font-size:14px;border-bottom:2px solid transparent}
  .cg-member[data-member-page] [data-member-type][aria-current],.v1-history-types a[aria-current]{border-color:#ff7d00}
  .cg-member-reports .cg-record-tabs a[aria-current]:after{width:100%;border-radius:0}
  .cg-member[data-member-page] .cg-member-list{margin:0}
  .cg-member[data-member-page] .cg-member-card{flex-wrap:nowrap;gap:10px;padding:10px 0;border-bottom:1px solid #ffffff1f}
  .cg-member[data-member-page] .cg-member-card>a{flex:1;min-width:0;grid-template-columns:96px minmax(0,1fr);gap:10px}
  .cg-member[data-member-page] .cg-member-thumb{box-sizing:border-box;width:96px;height:60px;border:0;border-radius:6px;background:#ffffff0d}
  .cg-member[data-member-page] .cg-member-card h2{font-size:13px;line-height:1.4;font-weight:600}
  .cg-member[data-member-page] .cg-member-card p{font-size:11px;line-height:1.4;margin:4px 0 0;color:#ffffff80}
  .cg-member[data-member-page] .cg-member-card>button{flex:none;margin:0;padding:7px 10px;border:1px solid #ffffff1f;border-radius:6px;font-size:11px;line-height:15px;max-width:76px}
  .cg-member[data-member-page] .cg-member-empty{gap:0;padding:28px 0;color:#ffffff99}
  .cg-member[data-member-page] .cg-member-empty-icon{display:none}
  .cg-member-empty>.v1-account-h5-only{box-sizing:border-box;width:206px;height:140px;padding:20.1199px 10.37px;object-fit:contain;margin-bottom:12px}
  .cg-member[data-member-page] .cg-member-empty p{font-size:14px;line-height:20px}
  .cg-member[data-member-page] .cg-member-empty p+p{font-size:12px;line-height:18px;margin-top:4px}
  .cg-member[data-member-page] .cg-member-empty a{margin-top:16px;padding:8px 18px;border:1px solid #ffffff1f;color:#ffffffb3;font-size:13px}
  /* Follows and history remain account scoped; the per-type history contract is retained. */
  .hg-profile-follows.v1-member-frame .hg-follow-grid{padding:0;border:0;background:transparent;box-shadow:none}
  .hg-profile-follows.v1-member-frame .hg-follow-card{flex-wrap:nowrap;padding:12px 0;gap:10px}
  .hg-profile-follows .hg-follow-card__main{flex:1;min-width:0;gap:10px}
  .hg-profile-follows.v1-member-frame .hg-follow-card__avatar,.hg-profile-follows .hg-follow-card__avatar img{width:48px;height:48px;flex-basis:48px}
  .hg-profile-follows .hg-profile-follows__head{margin-bottom:14px}
  .hg-profile-follows .hg-follow-card__name{font-size:13px;line-height:18px}
  .hg-profile-follows.v1-member-frame .hg-follow-card__bio{font-size:12px;line-height:1.5;margin:4px 0 0}
  .hg-profile-follows .hg-follow-card__stats{font-size:11px;line-height:16px}
  .hg-profile-follows.v1-member-frame .hg-follow-card__btn{flex:none;margin:0;padding:7px 10px;font-size:11px;line-height:15px;border-color:#ffffff1f}
  .v1-history-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px 8px;margin:0 0 14px}
  .v1-history-head>div{display:contents}
  .cg-member[data-member-page] .v1-history-head h1{grid-column:1/-1;margin:0}
  .v1-history [data-history-status]{font-size:12px;line-height:18px;margin:0}
  .v1-history .v1-member-content button{font-size:11px;line-height:15px;padding:6px 10px;border-color:#ffffff1f}
  .v1-history [data-history-list]{gap:14px}
  .v1-history [data-history-list]>section>h2{font-size:12px;line-height:17px;color:#ffffffb3;margin:14px 0 4px;font-weight:500}
  .v1-history-card{flex-wrap:nowrap;padding:10px 0;gap:10px}
  .v1-history-card>a{flex:1;gap:10px}
  .v1-history-card h3{font-size:13px;line-height:1.4}
  .v1-history-card p{margin-top:4px;font-size:11px;line-height:15px}
  .v1-history-card>button{margin:0}
  /* System messages: no invented unread count and no read action while checking fixtures. */
  .hg-profile-msg.v1-member-frame .hg-profile-msg__head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px 8px;margin:0 0 16px}
  .hg-profile-msg.v1-member-frame .hg-profile-msg__titles{display:contents}
  .cg-member[data-member-page] .hg-profile-msg__titles h1{grid-column:1/-1;margin:0}
  .hg-profile-msg.v1-member-frame .hg-profile-msg__count{font-size:13px;line-height:18px;color:#ffffff80}
  .hg-profile-msg.v1-member-frame .hg-profile-msg__edit{height:29px;min-height:0;padding:7px 11px;font-size:11px;line-height:15px;border:1px solid #ffffff1f;border-radius:6px}
  .hg-profile-msg.v1-member-frame .hg-msg-list{padding:0;border:0;background:transparent;border-radius:0;box-shadow:none}
  .hg-profile-msg.v1-member-frame .hg-msg-card{display:grid;grid-template-columns:8px minmax(0,1fr) 62px;align-items:center;gap:10px;padding:12px 0;border:0;border-bottom:1px solid #ffffff1f;border-radius:0;background:transparent;box-shadow:none;flex-wrap:nowrap}
  .hg-profile-msg.v1-member-frame .hg-msg-card>.cg-message-icon{display:none}
  .hg-profile-msg.v1-member-frame .cg-msg-unread{position:static;grid-column:1;width:8px;height:8px;transform:none}
  .hg-profile-msg.v1-member-frame .hg-msg-card__body{grid-column:2;grid-row:1;min-width:0}
  .hg-profile-msg.v1-member-frame .hg-msg-card__body h3{margin:0;font-size:13px;line-height:18px;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .hg-profile-msg.v1-member-frame .hg-msg-card__content{font-size:12px;line-height:1.5;margin:4px 0 0;color:#ffffff80;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .hg-profile-msg.v1-member-frame .hg-msg-card__time{grid-column:3;grid-row:1;margin:0;font-size:10px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;color:#ffffff4d}
  .hg-profile-msg.v1-member-frame .cg-message-detail{padding:0;margin:0}
  .hg-profile-msg.v1-member-frame .cg-message-panel{padding:16px;border:0;border-radius:8px;background:#1a1a1a;box-shadow:inset 0 0 0 .5px #ffffff1f}
  .hg-profile-msg.v1-member-frame .cg-message-back img{width:24px;height:24px}
  .hg-profile-msg.v1-member-frame .cg-message-heading{gap:0;border:0;padding:0;margin:0 0 12px}
  .hg-profile-msg.v1-member-frame .cg-message-heading>.cg-message-icon{display:none}
  .hg-profile-msg.v1-member-frame .cg-message-heading h2{font-size:21px;line-height:1.4;margin:0 0 10px}
  .hg-profile-msg.v1-member-frame .cg-message-heading time{font-size:12px;line-height:17px;color:#ffffff80}
  .hg-profile-msg.v1-member-frame .cg-message-content{border:0;font-size:14px;line-height:1.85;padding:0;margin:0;color:#ffffffb3}
  /* Account settings retain the real current-password/email/upload restrictions. */
  .hg-settings.v1-member-frame .hg-settings__head{margin:0 0 18px}
  .hg-settings.v1-member-frame .hg-settings__titles h1{margin:0}
  .hg-settings .cg-settings-panel{padding:14px;border-radius:8px;gap:18px;background:#1a1a1a;box-shadow:inset 0 0 0 .5px #ffffff1f}
  .hg-settings .cg-settings-group,.hg-settings .cg-settings-panel>.cg-settings-group:first-child{gap:8px}
  .hg-settings .cg-settings-group h2{font-size:14px;line-height:20px}
  .hg-settings .cg-settings-group h2.cg-settings-label{font-size:12px;line-height:17px}
  .hg-settings .cg-settings-group h2 small{font-size:11px}
  .hg-settings .cg-settings-label,.hg-settings .cg-settings-field{font-size:12px;line-height:17px;gap:6px}
  .hg-settings .cg-settings-row{flex-wrap:nowrap;gap:8px}
  .hg-settings .cg-settings-row>.cg-settings-field{flex:1;min-width:0}
  .hg-settings .cg-settings-avatar-row{flex-wrap:nowrap;gap:10px}
  .hg-settings .cg-settings-avatar-row .hg-settings__hint{flex:1;min-width:0}
  .hg-settings.v1-member-frame .hg-settings__avatar,.hg-settings .hg-settings__avatar img,.hg-settings .hg-settings__avatar .hg-avatar{width:64px;height:64px;flex-basis:64px}
  .hg-settings.v1-member-frame .hg-settings__input{height:42px;padding:0 12px;font-size:13px;border-radius:6px;background:#ffffff0d;border-color:#ffffff1f;--settings-autofill-bg:#252525}
  .hg-settings.v1-member-frame .hg-settings__ghost,.hg-settings.v1-member-frame .hg-settings__save{height:34px;padding:8px 14px;font-size:13px;line-height:18px;border-radius:6px;border-color:#ffffff1f}
  .hg-settings.v1-member-frame .hg-settings__save{color:#fff}
  .hg-settings.v1-member-frame .cg-settings-required{color:#ff5b61}
  .hg-settings .cg-settings-avatar-row .hg-settings__ghost{height:auto;padding:7px 11px;font-size:11px;line-height:15px}
  .hg-settings.v1-member-frame [data-nick-form] .hg-settings__ghost{height:42px}
  .hg-settings [data-email-form]{gap:12px}
  .hg-settings [data-email-form] .cg-settings-row>button{width:96px;height:42px;padding:0 4px;font-size:11px}
  .hg-settings.v1-member-frame .hg-settings__hint,.hg-settings [data-email-step]{font-size:11px;line-height:16px}
  .hg-settings.v1-member-frame [data-language]{height:auto;padding:8px 13px;font-size:12px;line-height:17px}
  .hg-settings.v1-member-frame [data-language][aria-pressed=true]{background:#2f1905;border-color:#ff7d00;color:#ff7d00}
  /* Narrow tables deliberately scroll: keep the real record fields instead of cards. */
  .cg-member-reports .cg-record-tabs{margin:0 0 16px}
  .cg-member-reports .cg-record-table{overflow-x:auto;border-radius:8px;background:transparent;box-shadow:inset 0 0 0 .5px #ffffff1f;overscroll-behavior-x:contain}
  .cg-member-reports .cg-record-header,.cg-member-reports .cg-report-row{display:grid;grid-template-columns:52px 145px 82px 82px 82px 44px;gap:8px;min-width:539px;padding:12px 6px;font-size:11px;line-height:1.5}
  .cg-member-reports .cg-record-header{display:grid!important;height:auto;padding-top:10px;padding-bottom:10px;background:#ffffff08;font-size:11px;line-height:15px;color:#ffffff99}
  .cg-member-reports[data-service-page=appeal-mine] .cg-record-header,.cg-member-reports .cg-appeal-row{grid-template-columns:145px 70px 100px 48px 44px;gap:8px;min-width:451px;padding:12px 6px;font-size:11px;line-height:1.5}
  .cg-member-reports .cg-report-label{display:none}
  .cg-member-reports .cg-report-cell,.cg-member-reports .cg-appeal-row>div,.cg-member-reports .cg-service-row h2{padding:0;font-size:11px;line-height:1.5}
  .cg-member-reports .cg-service-row time{font-size:10px;line-height:1.5}
  .cg-member-reports .cg-record-badge{padding:0;background:transparent;font-size:10px;line-height:1.4;font-weight:400}
  .cg-member-reports .cg-record-badge.is-done{color:#1ac88b}
  .cg-member-reports .cg-report-cell:nth-child(2){color:#fff}
  .cg-member-reports .cg-record-help{font-size:11px;line-height:1.6}
  /* Auxiliary tables and their clipped H5 instances: preserve column widths. */
  .cg-member-reports .cg-report-row,.cg-member-reports .cg-appeal-row{min-height:0;border:0;box-shadow:inset 0 -.5px 0 #ffffff1f}
  .cg-member-reports .cg-report-row{align-items:center}
  .cg-member-reports .cg-report-row .cg-report-cell:first-child{line-height:15px}
  .cg-member-reports .cg-report-row .cg-report-cell:nth-child(2),.cg-member-reports .cg-report-row .cg-report-cell:nth-child(3){line-height:17px}
  .cg-member-reports .cg-report-row .cg-report-cell:nth-child(2),.cg-member-reports .cg-report-row .cg-report-cell:nth-child(2) a{color:#fff}
  .cg-member-reports .cg-report-row .cg-report-cell:nth-child(n+4){font-size:10px;line-height:14px;color:#ffffff80}
  .cg-member-reports .cg-report-row .cg-record-badge.is-pending{color:#f50}
  .cg-member-reports .cg-report-row .cg-record-result{color:#ffffff80}
  .cg-member-reports[data-service-page=appeal-mine] .cg-record-header{padding-top:10px;padding-bottom:10px;line-height:15px}
  .cg-member-reports .cg-appeal-row{align-items:start}
  .cg-member-reports .cg-appeal-row>div{line-height:15px}
  .cg-member-reports .cg-appeal-row>div:first-child{color:#fff}
  .cg-member-reports .cg-appeal-row>div:nth-child(3),.cg-member-reports .cg-appeal-row .cg-record-badge{font-size:11px;line-height:15px;color:#ffffff80}
  .cg-member-reports .cg-appeal-row a{color:#00b2ff}
  .cg-member-reports .cg-record-time-pc{display:none}
  .cg-member-reports .cg-record-time-h5{display:inline}
  .cg-member-reports .cg-service-row time{font-size:10px;line-height:14px}
  .cg-member-reports .cg-appeal-row time{font-size:11px;line-height:15px}
  /* Auth popup only: accepted default page shell is unaffected. */
  #hgAuthModal{padding:16px}
  #hgAuthModal .hg-auth-modal__box,#hgAuthModal .hg-auth-card,#hgAuthModal[data-auth-mode=register] .hg-auth-card{box-sizing:border-box;width:343px;max-width:100%;border-radius:12px}
  #hgAuthModal .hg-auth-card{max-height:calc(100dvh - 32px);overflow-y:auto;background:#262523;box-shadow:0 18px 44px #0006}
  #hgAuthModal .hg-auth-modal__backdrop{background:#050505d9}
  #hgAuthModal .hg-auth-tabs{height:48px;padding:0 18px;gap:28px}
  #hgAuthModal .hg-auth-tabs__track{height:48px;gap:28px}
  #hgAuthModal .hg-auth-tabs__item{padding:13px 0 0}
  #hgAuthModal .hg-auth-tabs__item,#hgAuthModal:has(.has-field-error) .hg-auth-tabs__item,#hgAuthModal:has(.has-login-challenge) .hg-auth-tabs__item{flex:0 0 58px;height:48px;font-size:16px;font-weight:600;line-height:22px}
  #hgAuthModal .hg-auth-tabs__item.is-active:after,#hgAuthModal:has(.has-field-error) .hg-auth-tabs__item.is-active:after,#hgAuthModal:has(.has-login-challenge) .hg-auth-tabs__item.is-active:after{height:2px}
  #hgAuthModal .hg-auth-card__close{top:15px;right:14px;width:18px;height:18px}
  #hgAuthModal .hg-auth-card__close img{width:18px;height:18px}
  #hgAuthModal .hg-auth-form,#hgAuthModal [data-auth-form=login],#hgAuthModal [data-auth-form=login].has-login-challenge{padding:16px 18px;--auth-form-gap:12px;gap:var(--auth-form-gap)}
  #hgAuthModal [data-auth-form=register]{padding-top:14px;--auth-form-gap:10px;gap:var(--auth-form-gap)}
  #hgAuthModal .hg-auth-credentials,#hgAuthModal .has-login-challenge .hg-auth-credentials{grid-template-columns:minmax(0,1fr);--auth-credentials-gap:12px;gap:var(--auth-credentials-gap)}
  #hgAuthModal .hg-auth-field,#hgAuthModal .has-field-error .hg-auth-field,#hgAuthModal .has-login-challenge .hg-auth-field{--auth-field-gap:5px;gap:var(--auth-field-gap)}
  #hgAuthModal .hg-auth-field__label,#hgAuthModal .has-field-error .hg-auth-field__label,#hgAuthModal .has-login-challenge .hg-auth-field__label{height:18px;font-size:13px;line-height:18px;font-weight:400;color:#ffffffb3}
  #hgAuthModal .hg-auth-field__box,#hgAuthModal .has-field-error .hg-auth-field__box,#hgAuthModal .has-login-challenge .hg-auth-field__box{height:48px;min-height:48px;padding:0 11px;border-radius:6px;background:#ffffff0d;box-shadow:inset 0 0 0 1px #ffffff1f;--auth-autofill-bg:#31302e}
  #hgAuthModal .hg-auth-field__input,#hgAuthModal .has-field-error .hg-auth-field__input,#hgAuthModal .has-login-challenge .hg-auth-field__input{height:48px;font-size:13px;line-height:18px}
  #hgAuthModal .hg-auth-submit{height:44px;min-height:44px;border-radius:6px;font-size:15px;line-height:21px}
  #hgAuthModal .hg-auth-forgot,#hgAuthModal .has-login-challenge .hg-auth-forgot{height:auto;font-size:12px;line-height:17px}
  #hgAuthModal .hg-auth-captcha-note,#hgAuthModal .has-login-challenge .hg-auth-captcha-note{height:auto;font-size:12px;line-height:18px}
  #hgAuthModal .hg-auth-captcha-row,#hgAuthModal .has-field-error .hg-auth-captcha-row,#hgAuthModal .has-login-challenge .hg-auth-captcha-row{height:48px;flex-wrap:nowrap;gap:8px}
  #hgAuthModal .hg-auth-captcha-row>.hg-auth-field__box,#hgAuthModal [data-auth-form=register].has-field-error .hg-auth-captcha-row>.hg-auth-field__box{flex:1;min-width:0}
  #hgAuthModal .hg-auth-captcha-image,#hgAuthModal [data-captcha-image],#hgAuthModal .has-field-error .hg-auth-captcha-image,#hgAuthModal .has-field-error [data-captcha-image],#hgAuthModal .has-login-challenge .hg-auth-captcha-image,#hgAuthModal .has-login-challenge [data-captcha-image]{width:96px;height:48px;border-radius:6px}
  #hgAuthModal .hg-auth-captcha-refresh,#hgAuthModal .has-field-error .hg-auth-captcha-refresh,#hgAuthModal .has-login-challenge .hg-auth-captcha-refresh{flex:0 0 94px;width:94px;text-align:left;font-size:11px;line-height:16px}
  #hgAuthModal .hg-auth-agreement{height:auto;gap:4px;align-items:flex-start;font-size:11px;line-height:16px}
  #hgAuthModal .hg-auth-agreement>span{min-width:0}
  #hgAuthModal .hg-auth-tip{padding:14px 18px 0;font-size:12px;line-height:18px}
  #hgAuthModal [data-auth-registered]{padding:20px 18px!important;font-size:12px;line-height:18px}
  #hgAuthModal[data-auth-mode=registered] .hg-auth-card{padding-top:0;border-radius:20px;background:#1b1b1b;box-shadow:inset 0 0 0 1px #ffffff1f,0 18px 48px #0006}
  #hgAuthModal[data-auth-mode=registered] .hg-auth-modal__backdrop{background:#000000b8}
  #hgAuthModal [data-auth-registered]>div:last-child button[data-auth-close]{border:0!important;box-shadow:inset 0 0 0 1px #ffffff1f;background:#ffffff0d}
  #hgAuthModal[data-auth-mode=registered] .hg-auth-card__close{top:20px;right:20px;width:20px;height:20px}
  #hgAuthModal[data-auth-mode=registered] .hg-auth-card__close img{width:20px;height:20px}
  #hgAuthModal[data-auth-mode=registered] .hg-auth-card__close picture{display:none}
  #hgAuthModal[data-auth-mode=registered] .hg-auth-card__close-box{background:url('../images/figma/h5-share-close.svg') center/20px 20px no-repeat}
  #hgAuthModal [data-auth-registered]{padding:0!important}
  #hgAuthModal .v1-account-success-head{padding:0 20px;height:60px;display:flex;align-items:center;text-align:left;font-size:16px;font-weight:600;border-bottom:1px solid #ffffff1f}
  #hgAuthModal .v1-account-success-symbol{display:grid;place-items:center;width:64px;height:64px;margin:38px auto 14px;border:1px solid #ff7d00;border-radius:50%;background:#2f1905;box-sizing:border-box}
  #hgAuthModal .v1-account-success-symbol img{width:30px;height:30px}
  #hgAuthModal [data-auth-registered] h2{font-size:16px!important;line-height:22px;margin:0 20px 14px!important}
  #hgAuthModal [data-register-description]{font-size:14px;line-height:20px!important;color:#ffffff99;margin:0 20px!important}
  #hgAuthModal [data-auth-registered]>div:last-child{flex-wrap:nowrap!important;gap:10px!important;padding:14px 20px 14px 13px;margin-top:38px;border:0;box-shadow:inset 0 1px #ffffff1f}
  #hgAuthModal [data-auth-registered]>div:last-child button{flex:1;min-width:0;width:auto!important;height:44px;padding:0!important;border-radius:10px!important;font-size:14px}
  /* Forgot account, reset and result states (actual 8–20 password validation preserved). */
  /* The extra backend-required captcha has no standalone draft; reuse the H5 panel. */
  .cg-forgot-challenge{width:343px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:20px;border-radius:20px;background:#1b1b1b;overflow:auto;overscroll-behavior:contain}
  .cg-service[data-service-page=forgot] .cg-forgot-challenge form{max-width:none;gap:16px}
  .cg-forgot-challenge h2{font-size:16px;line-height:22px}
  .cg-forgot-challenge .cg-captcha{margin:0;gap:8px}
  .cg-service[data-service-page=forgot] .cg-forgot-challenge .cg-captcha input{flex:1;min-width:0;margin:0}
  .cg-forgot-challenge .cg-captcha img{width:96px;height:48px;object-fit:contain;border-radius:6px}
  .cg-forgot-challenge [data-forgot-challenge-status]:empty{display:none}
  .cg-forgot-challenge [data-forgot-challenge-status]{margin:0;color:#ff5b61;font-size:12px;line-height:18px}
  .cg-forgot-challenge .cg-forgot-actions{flex-wrap:nowrap;gap:10px}
  .cg-service[data-service-page=forgot] .cg-forgot-challenge .cg-forgot-actions button{flex:1;min-width:0;width:0;height:44px;padding:0;border-radius:10px}
  /* Avatar crop is an existing flow without an independent H5 draft. */
  .hg-avatar-pick__box{width:343px;padding:20px;border-color:#ffffff1f;border-radius:20px;background:#1b1b1b;color:#fff;overscroll-behavior:contain}
  .hg-avatar-pick__box h2{margin:0;font-size:16px;line-height:22px;font-weight:600}
  .hg-avatar-pick__box>p{color:#ffffff99;font-size:14px;line-height:22px}
  .hg-avatar-pick__box>label{margin-top:12px;color:#ffffffb3;font-size:13px;line-height:20px}
  .hg-avatar-pick__actions{gap:10px;margin-top:20px}
  .hg-avatar-pick__actions button{flex:1;min-width:0;width:auto;height:44px;padding:0 12px;border:1px solid #ffffff1f;border-radius:10px;background:#ffffff0d;color:#fff;font-size:14px;line-height:20px;font-weight:600}
  .hg-avatar-pick__actions button.hg-avatar-pick__ok{background:#ff7d00;border-color:transparent;color:#fff}
  .v1-auth-page #app-header{padding-top:48px!important}
  .v1-auth-page .hg-header,.v1-auth-page .hg-header__inner{height:48px!important}
  .v1-auth-page>.v1-forgot-content{padding:20px 0}
  .v1-auth-page>.v1-forgot-notice{flex:none}
  .v1-auth-page>.v1-forgot-notice[hidden]{display:none}
  .v1-auth-page .cg-forgot-breadcrumb{width:100%;height:42px;margin:0;padding:9px 16px;gap:4px}
  .v1-auth-page .cg-forgot-breadcrumb>a{display:flex;align-items:center;gap:4px}
  .cg-service[data-service-page=forgot],.cg-service[data-service-page=forgot][data-forgot-stage=reset]{width:calc(100% - 32px);max-width:none;margin:0 auto;padding:12px 12px 16px;border-radius:8px;background:#ffffff08;box-shadow:inset 0 0 0 1px #ffffff1f}
  .cg-service[data-service-page=forgot] h1{height:auto;font-size:20px;line-height:28px;font-weight:600;margin:0 0 16px}
  .cg-service[data-service-page=forgot] .cg-forgot-steps,.cg-service[data-service-page=forgot][data-forgot-stage=reset] .cg-forgot-steps{height:auto;margin:0 0 16px}
  .cg-service[data-service-page=forgot] .cg-forgot-steps li{gap:6px;font-size:13px;line-height:18px}
  .cg-forgot-steps li:after{display:none}
  .cg-forgot-steps li>span{width:28px;height:28px;font-size:13px}
  .cg-service[data-service-page=forgot] form,.cg-service[data-service-page=forgot][data-forgot-stage=reset] form{gap:16px}
  .cg-service[data-service-page=forgot][data-forgot-stage=reset] h1{margin-bottom:16px}
  .cg-service[data-service-page=forgot] input{height:48px;min-height:48px;padding:0 11px;border-radius:6px;font-size:13px;background:#ffffff0d;--auth-autofill-bg:#242424}
  .cg-service[data-service-page=forgot] button{height:44px;border-radius:6px;font-size:14px;line-height:20px}
  .cg-service[data-service-page=forgot] small{height:auto;font-size:11px;line-height:16px}
  .cg-service[data-service-page=forgot] .cg-forgot-mail-note{height:auto;min-height:64px;padding:12px;gap:8px;font-size:12px;line-height:20px}
  .cg-forgot-mail-note picture{flex:none;width:17px;height:17px}
  .cg-forgot-mail-note img{width:17px;height:17px}
  .cg-forgot-passwords{grid-template-columns:minmax(0,1fr);gap:16px}
  .cg-forgot-mail-code{gap:8px}
  .cg-service[data-service-page=forgot] .cg-forgot-mail-code button{width:96px;height:48px;font-size:12px}
  .cg-forgot-actions{gap:8px}
  .cg-forgot-actions button[type=button]{width:70px;padding:0}
  .cg-service[data-service-page=forgot] .cg-forgot-unbound{height:auto;margin:8px 0 0;font-size:13px;line-height:20px}
  .cg-forgot-toast{width:max-content;max-width:calc(100% - 24px);top:50%;transform:translate(-50%,-50%);height:auto;min-height:64px}
  /* 038 reset card and 061 completion card; real 8–20 password rules remain. */
  .cg-service[data-service-page=forgot][data-forgot-stage=reset]{padding:16px 12px 12px;border:0;box-shadow:inset 0 0 0 1px #ffffff1f;background:#ffffff08}
  .cg-service[data-service-page=forgot][data-forgot-stage=reset] .cg-forgot-steps{justify-content:space-between}
  .cg-service[data-service-page=forgot][data-forgot-stage=reset] .cg-forgot-steps li{flex:none;width:82px}
  .cg-service[data-service-page=forgot][data-forgot-stage=reset] .cg-forgot-label{font-weight:500}
  .cg-service[data-service-page=forgot][data-forgot-stage=reset] input{border:0;box-shadow:inset 0 0 0 1px #ffffff1f}
  .cg-service[data-service-page=forgot][data-forgot-stage=reset] .cg-forgot-mail-note{min-height:64px;font-size:13px;line-height:20px;margin:0;border:0;box-shadow:inset 0 0 0 1px #ffffff1f}
  .cg-service[data-service-page=forgot][data-forgot-stage=reset] .cg-forgot-passwords .cg-forgot-label{margin-bottom:5px}
  .cg-forgot-mail-note>span{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}
  .cg-forgot-mail-note [data-forgot-send-note]{display:block}
  .cg-forgot-mail-note .cg-forgot-mail-address{display:flex;flex-wrap:wrap;align-items:center;line-height:20px}
  .cg-forgot-mail-note strong{font-weight:600}
  .cg-service[data-service-page=forgot][data-forgot-stage=reset] .cg-forgot-steps li.is-complete,.cg-service[data-service-page=forgot][data-forgot-stage=reset] .cg-forgot-steps li[aria-current]{font-weight:500}
  .cg-service[data-service-page=forgot][data-forgot-stage=reset] small{font-size:12px;line-height:18px}
  .cg-service[data-service-page=forgot][data-forgot-stage=reset] .cg-forgot-mail-code button{background:#ffffff08;border-color:#ffffff1f}
  .cg-service[data-service-page=forgot][data-forgot-stage=reset] .cg-forgot-actions button{height:48px;font-size:15px;border-color:#ffffff1f}
  .cg-service[data-service-page=forgot][data-forgot-stage=reset] .cg-forgot-actions button[type=button]{background:#ffffff08}
  .cg-forgot-toast{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:173px;max-width:calc(100% - 24px);min-height:64px;height:auto;background:#000000b3;font-weight:600}
  .cg-forgot-toast span{width:100%;overflow-wrap:anywhere}
  .cg-service[data-service-page=forgot][data-forgot-stage=done]{padding:20px;border:0;box-shadow:inset 0 0 0 1px #ffffff1f;border-radius:14px}
  .cg-service[data-service-page=forgot][data-forgot-stage=done] h1{font-size:16px;line-height:22px;margin-bottom:24px}
  .cg-service[data-service-page=forgot][data-forgot-stage=done] .cg-forgot-steps{display:none}
  .cg-service[data-service-page=forgot] [data-forgot-success]{display:flex;flex-direction:column;align-items:center;gap:14px;padding:10px 0;text-align:center}
  [data-forgot-success]>.v1-account-done-pc,[data-forgot-success] .v1-account-done-pc{display:none}
  [data-forgot-success]>.v1-forgot-success-symbol{display:grid;place-items:center;flex:none;width:64px;height:64px;border:1px solid #ff7d00;border-radius:50%;background:#2f1905;box-sizing:border-box}
  .v1-forgot-success-symbol img{width:30px;height:30px}
  .cg-service[data-service-page=forgot] [data-forgot-success] p{margin:0;font-size:14px;line-height:20px;color:#ffffff99}
  .cg-service[data-service-page=forgot] [data-forgot-success]>.v1-account-done-title{font-size:16px;line-height:22px;font-weight:600;color:#fff}
  .cg-service[data-service-page=forgot] [data-forgot-success] button{width:100%;height:44px;border-radius:10px;font-size:14px}

  /* 234:27622 uses a roomier validation layout than the default form. */
  #hgAuthModal [data-auth-form=register].has-field-error{padding:20px;--auth-form-gap:12px;gap:var(--auth-form-gap)}
  #hgAuthModal [data-auth-form=register].has-field-error .hg-auth-field{--auth-field-gap:7px;gap:var(--auth-field-gap)}
  #hgAuthModal [data-auth-form=register].has-field-error .hg-auth-field__label{height:20px;font-size:14px;line-height:20px;font-weight:500;color:#fff}
  #hgAuthModal [data-auth-form=register].has-field-error .hg-auth-field__box{padding:0 14px;border-radius:10px}
  #hgAuthModal [data-auth-form=register].has-field-error .hg-auth-field__input{font-size:14px;line-height:1.55}
  #hgAuthModal .has-field-error .hg-auth-field__box:has([aria-invalid=true]){box-shadow:inset 0 0 0 1px #ff5b5b}
  #hgAuthModal [data-auth-form=register].has-field-error .hg-auth-field-error,#hgAuthModal [data-auth-form=register].has-field-error .hg-auth-form__error{font-size:12px;line-height:17px;min-height:0}
  #hgAuthModal [data-auth-form=register].has-field-error [data-name-status]{font-size:12px;line-height:17px}
  #hgAuthModal [data-auth-form=register].has-field-error .hg-auth-agreement{font-size:12px;line-height:18px}
  #hgAuthModal:has([data-auth-form=register].has-field-error) .hg-auth-modal__backdrop{background:#000000b8}
  #hgAuthModal .hg-auth-field__box:has(.hg-auth-field__eye),#hgAuthModal .has-field-error .hg-auth-field__box:has(.hg-auth-field__eye),#hgAuthModal .has-login-challenge .hg-auth-field__box:has(.hg-auth-field__eye),#hgAuthModal [data-auth-form=register].has-field-error .hg-auth-field__box:has(.hg-auth-field__eye){padding-right:48px}

}
