.hg-account-page { background: #090e16; color: #eaf0fa; }
.hg-account { max-width: 1240px; margin: 0 auto; padding: 46px 24px 72px; box-sizing: border-box; }
.hg-account *, .hg-account *:before, .hg-account *:after { box-sizing: border-box; }
.hg-account a { color: inherit; text-decoration: none; }
.hg-account__intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.hg-account__eyebrow, .hg-account-card__label { margin: 0 0 8px; color: #d5a928; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.hg-account__intro h1, .hg-account-guest h1 { margin: 0; font-size: 30px; line-height: 1.25; color: #f7f9ff; }
.hg-account__intro p:not(.hg-account__eyebrow), .hg-account-guest > p:not(.hg-account__eyebrow) { margin: 10px 0 0; color: #93a0b4; }
.hg-account__outline-button, .hg-account__primary-button, .hg-account__gold-button { border: 0; border-radius: 10px; font-weight: 700; cursor: pointer; text-align: center; }
.hg-account__outline-button { padding: 11px 16px; border: 1px solid #3b4658; color: #dbe5f2; background: #141b26; }
.hg-account__primary-button { display: inline-block; padding: 12px 18px; color: #101820; background: linear-gradient(135deg, #2fe0a9, #39c994); }
.hg-account__gold-button { display: inline-block; padding: 11px 16px; color: #4a3305; background: linear-gradient(135deg, #ffe08b, #d8ad42); }
.hg-account__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; align-items: start; }
.hg-account__sidebar, .hg-account__main { display: grid; gap: 20px; }
.hg-account-card { border: 1px solid #242d3a; border-radius: 16px; background: #121821; box-shadow: 0 12px 30px rgba(0, 0, 0, .16); }
.hg-account-profile { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) 30px; gap: 12px; padding: 22px; }
.hg-account-avatar { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #f1c85a, #835d1d); color: #18202a; font-size: 22px; font-weight: 800; text-transform: uppercase; }
.hg-account-profile h2 { margin: 4px 0 4px; overflow: hidden; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.hg-account-profile p { margin: 0; color: #91a0b5; font-size: 13px; }
.hg-account-icon-link { display: grid; height: 30px; place-items: center; border: 1px solid #303b49; border-radius: 9px; color: #b9c4d4; }
.hg-account-profile__actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 10px; border-top: 1px solid #252e3b; }
.hg-account-profile__actions a { padding: 10px; border-radius: 9px; background: #1a222e; color: #cbd5e3; font-size: 13px; text-align: center; }
.hg-account-wallet { padding: 22px; }
.hg-account-wallet strong { display: block; margin: 3px 0 16px; color: #f5ca54; font-size: 34px; line-height: 1; }
.hg-account-wallet .hg-account__primary-button { width: 100%; }
.hg-account-mini-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 15px; }
.hg-account-mini-links a { color: #9aabc1; font-size: 13px; }
.hg-account-invite, .hg-account-vip { padding: 21px; }
.hg-account-invite > p:not(.hg-account-card__label) { margin: 0 0 14px; color: #9cabbd; font-size: 13px; line-height: 1.65; }
.hg-account-invite > a { color: #51ddaf; font-size: 14px; font-weight: 700; }
.hg-account-invite > a span { margin-left: 5px; }
.hg-account-vip { border-color: #5a4820; background: linear-gradient(135deg, #201c14, #15191f); }
.hg-account-vip h2 { margin: 0 0 15px; font-size: 17px; }
.hg-account-vip .hg-account-card__label { color: #e4bd55; }
.hg-account__main { min-width: 0; }
.hg-account-continue, .hg-account-checkin, .hg-account-library { padding: 24px; }
.hg-account-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.hg-account-section-heading h2 { margin: 0; color: #f5f7fb; font-size: 20px; }
.hg-account-section-heading > a { padding-top: 8px; color: #90a0b6; font-size: 13px; white-space: nowrap; }
.hg-account-empty { display: grid; min-height: 104px; place-items: center; border: 1px dashed #344153; border-radius: 12px; color: #8493a8; text-align: center; }
.hg-account-empty p { margin: 18px; }
.hg-account-continue-card { display: grid; grid-template-columns: 48px 1fr auto; gap: 13px; align-items: center; padding: 12px; border-radius: 12px; background: #18212c; }
.hg-account-continue-card__cover { display: grid; width: 48px; height: 62px; place-items: center; border-radius: 7px; background: linear-gradient(135deg, #4d3342, #213947); color: #f6d470; font-weight: 800; }
.hg-account-continue-card h3 { margin: 0 0 5px; font-size: 15px; }
.hg-account-continue-card p { margin: 0; color: #93a1b5; font-size: 13px; }
.hg-account-continue-card a { padding: 9px 13px; border-radius: 8px; color: #102017; background: #33d59e; font-size: 13px; font-weight: 700; }
.hg-account-checkin { border-color: #584821; background: linear-gradient(135deg, #181a1c, #171d23); }
.hg-account-checkin__summary { margin: 7px 0 0; color: #8f9db1; font-size: 13px; }
.hg-account-checkin__body { display: grid; gap: 16px; padding: 18px; border-radius: 12px; background: rgba(255,255,255,.035); }
.hg-account-checkin__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.hg-account-checkin__days span { display: grid; min-height: 61px; place-content: center; gap: 5px; border: 1px solid #2b3540; border-radius: 9px; background: #151b23; text-align: center; transition: .16s ease; }
.hg-account-checkin__days em { color: #8f9cb0; font-size: 11px; font-style: normal; }
.hg-account-checkin__days b { color: #e6ebf3; font-size: 15px; }
.hg-account-checkin__days span.is-completed { border-color: #695726; background: #252217; }
.hg-account-checkin__days span.is-completed b { color: #f0cc5f; font-size: 0; }
.hg-account-checkin__days span.is-completed b:after { font-size: 16px; content: '✓'; }
.hg-account-checkin__days span.is-current { border-color: #35c692; background: rgba(30,130,96,.18); box-shadow: inset 0 0 0 1px rgba(61,218,164,.15); }
.hg-account-checkin__days span.is-current b { color: #3ae0a5; }
.hg-account-checkin__footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-top: 15px; border-top: 1px solid #2a3037; }
.hg-account-checkin__footer strong { display: block; font-size: 15px; }
.hg-account-checkin__footer p { margin: 6px 0 0; color: #9da9b8; font-size: 12px; }
.hg-account-checkin__footer .hg-account__gold-button[disabled] { cursor: default; opacity: .62; }
.hg-account-checkin--ledger { padding: 24px; }
.hg-account-checkin--ledger .hg-account-section-heading { margin-bottom: 0; }
.hg-account-checkin__ledger { display: flex; align-items: center; justify-content: flex-start; gap: 16px; margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(83, 218, 165, .18); border-radius: 12px; background: rgba(36, 112, 82, .12); }
.hg-account-checkin__ledger strong { color: #70e0ae; font-size: 14px; }
.hg-account-checkin--ledger.is-complete .hg-account-checkin__ledger { border-color: rgba(83, 218, 165, .35); background: rgba(36, 112, 82, .18); }
.hg-account-library__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: 11px; background: #0d1219; }
.hg-account-library__tabs button { min-height: 38px; border: 0; border-radius: 8px; color: #8f9db0; background: transparent; font-size: 14px; font-weight: 750; cursor: pointer; }
.hg-account-library__tabs button:hover { color: #e8eef7; background: #161f2a; }
.hg-account-library__tabs button.is-active { color: #f4f7fb; background: #242c37; box-shadow: inset 0 0 0 1px #354152; }
.hg-account-library__panel { min-height: 164px; margin-top: 14px; }
.hg-account-library-state { display: grid; min-height: 148px; place-items: center; padding: 22px; border: 1px dashed #344153; border-radius: 12px; color: #8d9bae; text-align: center; }
.hg-account-library-state strong { display: block; color: #edf2fb; font-size: 16px; }
.hg-account-library-state p { margin: 8px 0 15px; font-size: 13px; }
.hg-account-library-state a { display: inline-block; padding: 9px 13px; border-radius: 8px; color: #102017; background: #33d59e; font-size: 13px; font-weight: 750; }
.hg-account-library-resume { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 13px; align-items: center; padding: 12px; border: 1px solid #273241; border-radius: 12px; background: #171f2a; }
.hg-account-library-resume__cover { display: grid; width: 48px; height: 62px; place-items: center; border-radius: 7px; background: linear-gradient(135deg, #4d3342, #213947); color: #f6d470; font-weight: 800; }
.hg-account-library-resume h3 { margin: 0 0 5px; color: #edf2fb; font-size: 15px; }
.hg-account-library-resume p { margin: 0; color: #91a0b4; font-size: 13px; }
.hg-account-library-resume a { padding: 9px 13px; border-radius: 8px; color: #102017; background: #33d59e; font-size: 13px; font-weight: 700; }
.hg-account-quick-links a { display: grid; gap: 7px; padding: 16px; border: 1px solid #273241; border-radius: 11px; background: #171f2a; transition: border-color .16s ease, transform .16s ease; }
.hg-account-quick-links a:hover { border-color: #4fd9a9; transform: translateY(-1px); }
.hg-account-quick-links b { color: #edf2fb; font-size: 15px; }
.hg-account-quick-links span { color: #91a0b4; font-size: 13px; line-height: 1.45; }
.hg-account-quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.hg-account-guest { max-width: 650px; margin: 54px auto; padding: 52px; text-align: center; }
.hg-account-guest .hg-account__primary-button { margin-top: 22px; }
@media (max-width: 850px) { .hg-account { padding: 28px 14px 52px; } .hg-account__grid { grid-template-columns: 1fr; } .hg-account__sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hg-account-profile { grid-column: 1 / -1; } .hg-account__intro { align-items: flex-start; } }
@media (max-width: 700px) { .hg-account-checkin__days { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hg-account__intro { display: block; } .hg-account__outline-button { display: inline-block; margin-top: 16px; } .hg-account__sidebar, .hg-account-quick-links { grid-template-columns: 1fr; } .hg-account-checkin__body, .hg-account-section-heading, .hg-account-checkin__footer { align-items: flex-start; flex-direction: column; } .hg-account-continue, .hg-account-checkin, .hg-account-library { padding: 18px; } .hg-account-checkin--ledger { padding: 18px; } .hg-account-checkin__ledger { margin-top: 14px; padding: 12px 13px; } .hg-account-continue-card, .hg-account-library-resume { grid-template-columns: 42px 1fr; } .hg-account-continue-card a, .hg-account-library-resume a { grid-column: 2; justify-self: start; } }

.hg-account-mobile-hub { display: none; }
@media (max-width: 760px) {
  .hg-account { width: min(calc(100% - 32px), 680px); margin: 0 auto; padding: 18px 0 52px; }
  .hg-account__intro, .hg-account__sidebar, .hg-account-quick-links { display: none; }
  .hg-account__grid { display: block; }
  .hg-account__main { gap: 14px; }
  .hg-account-mobile-hub { display: grid; gap: 14px; margin-bottom: 14px; }
  .hg-account-mobile-invite, .hg-account-mobile-vip { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 13px; align-items: center; min-height: 112px; padding: 18px; border-radius: 20px; text-decoration: none; }
  .hg-account-mobile-invite { border: 1px solid rgba(62, 213, 157, .45); background: radial-gradient(circle at 94% 0, rgba(237, 194, 73, .14), transparent 33%), linear-gradient(145deg, #15251f, #121a1d 72%); }
  .hg-account-mobile-vip { border: 1px solid rgba(225, 185, 75, .45); background: radial-gradient(circle at 92% 0, rgba(229, 187, 66, .2), transparent 32%), linear-gradient(145deg, #2a2515, #151819 72%); }
  .hg-account-mobile-invite__icon, .hg-account-mobile-vip__icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 16px; }
  .hg-account-mobile-invite__icon { color: #65e6b2; background: rgba(42, 202, 142, .16); }
  .hg-account-mobile-vip__icon { color: #f5cf65; background: linear-gradient(135deg, #fff0a8, #c38d27); }
  .hg-account-mobile-invite svg, .hg-account-mobile-vip svg, .hg-account-mobile-tools svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .hg-account-mobile-invite strong, .hg-account-mobile-vip strong { display: block; color: #f5f8fb; font-size: 18px; line-height: 1.25; }
  .hg-account-mobile-invite em, .hg-account-mobile-vip em { display: block; margin-top: 5px; color: #9daaba; font-size: 12px; font-style: normal; line-height: 1.55; }
  .hg-account-mobile-invite i, .hg-account-mobile-vip i { padding: 10px 12px; border-radius: 11px; color: #102017; background: #42d69e; font-size: 12px; font-style: normal; font-weight: 800; white-space: nowrap; }
  .hg-account-mobile-vip i { color: #3f2b04; background: linear-gradient(135deg, #ffe18c, #d7a73e); }
  .hg-account-mobile-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; padding: 19px 10px; border: 1px solid #283341; border-radius: 20px; background: #121821; }
  .hg-account-mobile-tools a { display: grid; min-width: 0; gap: 8px; justify-items: center; color: #eef3f8; text-align: center; text-decoration: none; }
  .hg-account-mobile-tools a > span { display: grid; width: 49px; height: 49px; place-items: center; border-radius: 16px; color: #e7edf5; background: #1c232d; }
  .hg-account-mobile-tools a:nth-child(5) > span, .hg-account-mobile-tools a:nth-child(6) > span, .hg-account-mobile-tools a:nth-child(7) > span { color: #55e1ad; background: rgba(38, 146, 103, .18); }
  .hg-account-mobile-tools a:nth-child(8) > span { color: #f2c95d; background: rgba(166, 123, 25, .18); }
  .hg-account-mobile-tools b { overflow: hidden; width: 100%; color: #e8edf4; font-size: 11px; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
  .hg-account-continue, .hg-account-checkin, .hg-account-library { padding: 18px; }
}
