.auth-page{min-height:100vh;background:radial-gradient(circle at 80% 10%,rgba(255,138,0,.13),transparent 30%),#090909;color:#fff}
.auth-page-nav{height:76px;padding:0 max(24px,5vw);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #252525;background:rgba(8,8,8,.94)}
.auth-page-nav>a:last-child{color:#d2d2d2;text-decoration:none;font-weight:700}
.auth-shell{min-height:calc(100vh - 76px);display:grid;place-items:center;padding:48px 20px}
.auth-card{width:min(100%,500px);background:#111;border:1px solid #2b2b2b;border-radius:22px;padding:34px;box-shadow:0 30px 90px rgba(0,0,0,.45)}
.auth-card h1{font-size:38px;letter-spacing:-1.5px;line-height:1.05;margin:12px 0}
.auth-intro{color:#aaa;line-height:1.65;margin:0 0 24px}
.auth-form{display:grid;gap:15px}
.auth-form label{font-size:13px;color:#ddd}.auth-field-help{display:block;margin-top:6px;color:#747474;font-size:10px;line-height:1.45}
.auth-form input{background:#090909;border-color:#333;padding:13px}
.auth-primary,.auth-secondary{display:inline-flex;justify-content:center;align-items:center;text-decoration:none;border-radius:10px;padding:13px 17px;font-weight:800}
.auth-primary{background:var(--hh-orange);color:#090909;border:1px solid var(--hh-orange)}
.auth-secondary{background:#202020;color:#fff;border:1px solid #3a3a3a}
.auth-form .auth-primary{width:100%;margin-top:4px}
.auth-message{min-height:24px;margin-top:16px;font-size:14px;color:#bbb}
.auth-message[data-type="error"],.auth-system-message{color:#ff9ca7}
.auth-message[data-type="success"]{color:#72e7b9}
.auth-system-message:empty{display:none}
.auth-links{margin-top:18px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#999;font-size:13px}
.auth-links a{color:var(--hh-orange);text-decoration:none;font-weight:700}
.account-summary{display:grid;gap:12px;margin:24px 0}
.account-summary>div{display:grid;gap:5px;padding:15px;border:1px solid #2b2b2b;border-radius:12px;background:#0b0b0b}
.account-summary span{color:#888;font-size:12px}
.account-summary strong{overflow-wrap:anywhere}
.account-id{font-size:12px;color:#bbb}
.account-actions{display:grid;gap:10px}
.account-button{width:100%}
@media(max-width:560px){.auth-card{padding:25px}.auth-card h1{font-size:32px}.auth-links{display:grid}}

.account-profile-form{margin:24px 0;padding-top:22px;border-top:1px solid #2b2b2b}
.profile-heading h2{margin:0 0 5px;font-size:22px;letter-spacing:-.5px}
.profile-heading p{margin:0;color:#888;font-size:13px;line-height:1.5}
[data-profile-message]{min-height:24px;margin:-8px 0 20px;font-size:14px;color:#bbb}
[data-profile-message][data-type="error"]{color:#ff9ca7}
[data-profile-message][data-type="success"]{color:#72e7b9}

/* 19.0.4 account redesign */
.account-page .auth-shell.account-shell{place-items:start center;padding:42px 22px 70px}
.account-page .account-page-card{width:min(1180px,100%);padding:0;overflow:hidden;background:radial-gradient(circle at 88% 0,rgba(255,138,0,.14),transparent 28%),linear-gradient(145deg,#141414,#0b0b0b);border-color:#37312b}
.account-page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:31px 34px 24px;border-bottom:1px solid #2c2926;background:rgba(12,12,12,.72)}
.account-page-heading h1{margin:10px 0 7px}
.account-page-heading .auth-intro{margin:0}
.account-page-card>.auth-system-message{margin:18px 34px 0}
.account-overview{grid-template-columns:repeat(3,minmax(0,1fr));margin:22px 34px 16px}
.account-overview>div{padding:17px;background:#0d0d0d}
.account-overview strong{font-size:15px}
.account-page-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:0 34px}
.account-page-section{min-width:0;padding:22px;border:1px solid #303030;border-radius:16px;background:linear-gradient(145deg,#131313,#0d0d0d)}
.account-page-section.account-profile-form{margin:0;padding-top:22px;border-top:1px solid #303030}
.account-page-section .profile-heading h2{font-size:22px}
.account-page-section .profile-summary{margin:17px 0 0}
.account-page-section .profile-lock-note{margin:12px 0 0;color:#777;font-size:11px}
.current-plan-section{background:radial-gradient(circle at 90% 5%,rgba(255,138,0,.13),transparent 32%),linear-gradient(145deg,#16120f,#0d0d0d)}
.account-plan-section{margin:17px 34px 0;padding:24px;border:1px solid #34302c;border-radius:18px;background:#0d0d0d}
.account-plan-heading{margin-bottom:17px}
.account-plan-heading h2{margin:0 0 6px;font-size:26px;letter-spacing:-.03em}
.account-plan-heading p:not(.section-kicker){margin:0;color:#858585;font-size:12px;line-height:1.6}
.account-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;align-items:stretch}
.account-plan-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:22px;border:1px solid #303030;border-radius:16px;background:linear-gradient(145deg,#151515,#0c0c0c)}
.account-plan-card.popular{border-color:#965610;background:radial-gradient(circle at 90% 0,rgba(255,138,0,.17),transparent 34%),linear-gradient(145deg,#19130d,#0d0d0d)}
.account-plan-badge{position:absolute;right:14px;top:14px;padding:5px 8px;border-radius:999px;background:var(--hh-orange);color:#080808;font-size:8px;font-weight:950;letter-spacing:.08em}
.account-plan-name{font-size:16px;font-weight:900}
.account-plan-price{margin:15px 0 9px;color:var(--hh-orange);font-size:37px;font-weight:950;letter-spacing:-.04em}
.account-plan-price small{color:#777;font-size:10px;font-weight:700;letter-spacing:0}
.account-plan-card>p{min-height:43px;margin:0;color:#888;font-size:11px;line-height:1.55}
.account-plan-card ul{margin:16px 0 22px;padding:0;list-style:none;display:grid;gap:9px;color:#c7c7c7;font-size:11px}
.account-plan-card li{position:relative;padding-left:18px}
.account-plan-card li:before{content:'✓';position:absolute;left:0;color:var(--hh-orange);font-weight:950}
.account-plan-card button{margin-top:auto;width:100%;padding:11px;border:1px solid #383838;border-radius:10px;background:#1a1a1a;color:#777;font-weight:850;cursor:not-allowed}
.account-plan-card.popular button{border-color:#72430f;background:rgba(255,138,0,.10);color:#be8240}
.account-page-actions{grid-template-columns:1fr 1fr 1fr;margin:18px 34px 0;padding-top:18px;border-top:1px solid #292929}
.account-page-card>.auth-message{margin:12px 34px 22px}
@media(max-width:900px){
  .account-page-grid{grid-template-columns:1fr}
  .account-plan-grid{grid-template-columns:1fr}
  .account-plan-card>p{min-height:0}
}
@media(max-width:660px){
  .account-page .auth-shell.account-shell{padding:18px 12px 40px}
  .account-page-heading{display:grid;padding:25px 20px 20px}
  .account-page-heading .auth-primary{width:100%}
  .account-overview{grid-template-columns:1fr;margin:18px 20px 14px}
  .account-page-grid{padding:0 20px}
  .account-plan-section{margin:14px 20px 0;padding:18px}
  .account-page-actions{grid-template-columns:1fr;margin:16px 20px 0}
  .account-page-card>.auth-message{margin:12px 20px 20px}
}


/* 19.0.5 username identity */
.account-username-form{display:grid;gap:8px;margin:17px 0;padding:16px;border:1px solid #4b3620;border-radius:13px;background:linear-gradient(145deg,rgba(255,138,0,.08),#0b0b0b)}
.account-username-form>label{color:var(--hh-orange);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.account-username-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
.account-username-control input{min-width:0;padding:12px;border:1px solid #443d36;border-radius:10px;background:#080808;color:#fff;font-weight:800}
.account-username-control input:focus{outline:0;border-color:var(--hh-orange);box-shadow:0 0 0 3px rgba(255,138,0,.12)}
.account-username-control .auth-primary{padding:11px 16px;white-space:nowrap}
.account-username-form>small{color:#777;font-size:10px;line-height:1.5}
.account-username-message{min-height:18px;margin:0}
@media(max-width:560px){.account-username-control{grid-template-columns:1fr}}

/* HedgeHub 19.0.7 locked account identity */
.locked-profile-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.locked-profile-summary>div{min-width:0}
.locked-profile-summary strong{overflow-wrap:anywhere}
.locked-profile-summary small{display:block;margin-top:5px;color:#777;font-size:9px}
.profile-lock-note strong{display:block;margin-bottom:3px;color:var(--hh-orange)}
@media(max-width:620px){.locked-profile-summary{grid-template-columns:1fr!important}}

/* HedgeHub authentication reliability update */
.auth-callback-card{text-align:center}
.auth-callback-icon{width:58px;height:58px;display:grid;place-items:center;margin:0 auto 18px;border:1px solid rgba(255,138,0,.45);border-radius:18px;color:var(--hh-orange);background:rgba(255,138,0,.10);font-size:25px;font-weight:950}
.auth-callback-action{width:100%;margin-top:4px;cursor:pointer}
.auth-callback-action:disabled{opacity:.6;cursor:wait}
.auth-callback-progress{display:flex;align-items:center;justify-content:center;gap:10px;margin:18px 0;color:#aaa;font-size:13px}
.auth-spinner{width:16px;height:16px;border:2px solid #3a3a3a;border-top-color:var(--hh-orange);border-radius:50%;animation:hh-auth-spin .8s linear infinite}
@keyframes hh-auth-spin{to{transform:rotate(360deg)}}
.auth-resend-form{display:grid;gap:12px;margin-top:18px;padding:18px;border:1px solid #303030;border-radius:14px;background:#0b0b0b;text-align:left}
.auth-resend-form label{display:grid;gap:7px;color:#ddd;font-size:12px}
.auth-resend-form input{width:100%;padding:12px;border:1px solid #333;border-radius:10px;background:#080808;color:#fff}
.auth-resend-form .auth-secondary{width:100%;cursor:pointer}
.auth-callback-links{justify-content:center}
[data-password-recovery-link][hidden]{display:none!important}


.auth-referral-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0;padding:14px 15px;border:1px solid #5b3b1c;border-radius:14px;background:linear-gradient(135deg,rgba(255,148,31,.12),rgba(255,148,31,.035));text-align:left}.auth-referral-banner div>span,.auth-referral-banner div>strong,.auth-referral-banner div>small{display:block}.auth-referral-banner div>span{color:#ff9b2d;font-size:9px;font-weight:950;letter-spacing:1.4px}.auth-referral-banner div>strong{margin-top:5px;color:#fff;font-size:12px}.auth-referral-banner div>strong b{color:#ffb35d}.auth-referral-banner div>small{margin-top:4px;color:#aaa;font-size:10px}.auth-referral-banner code{flex:0 0 auto;padding:7px 9px;border:1px solid #5a3a1c;border-radius:9px;background:#17100a;color:#ffc17b;font-size:10px;font-weight:900;letter-spacing:1px}@media(max-width:560px){.auth-referral-banner{align-items:flex-start;flex-direction:column}}
