.header__profile-section{display:flex;align-items:center;justify-content:flex-end;gap:16px;grid-column:2/-1;min-height:56px;padding:8px 0}.header__controls-inline,.header__middle-section{display:flex;align-items:center;gap:12px;flex-shrink:0}.header__auth-section,.header__middle-section{justify-content:flex-end}.header__auth-section{display:flex;align-items:center;flex-shrink:0}.header__box{display:grid;align-items:center;grid-template-columns:auto 1fr auto auto;width:100%;grid-column-gap:8px;column-gap:8px;min-height:64px;padding:8px 0}.header__nav{display:flex;align-items:center;gap:2px;padding:0 8px}.header__nav-link{display:inline-flex;align-items:center;padding:7px 13px;border-radius:8px;font-size:14px;font-weight:500;color:var(--text-color);text-decoration:none;white-space:nowrap;transition:background .18s,color .18s;-webkit-text-fill-color:var(--text-color)}.header__nav-link:hover{background:var(--select-hovers-color,rgba(0,0,0,.06))}.header__nav-link--active{background:var(--main-gradient-color);color:#fff;-webkit-text-fill-color:#fff}.header__nav-link--active:hover{opacity:.9}@media screen and (max-width:1100px){.header__nav{gap:0}.header__nav-link{padding:7px 10px;font-size:13px}}@media screen and (max-width:768px){.header__box{grid-template-columns:1fr auto;column-gap:8px;min-height:52px;padding:6px 0}.header__auth-section,.header__middle-section,.header__nav,.header__profile-section{display:none}}@media screen and (min-width:1440px){.header__box{column-gap:16px}.header__nav{padding:0 16px;gap:4px}.header__nav-link{padding:8px 16px}}@media screen and (max-width:768px){.header__auth-section--desktop-only{display:none}}.header-auth-desktop{display:flex;align-items:center;gap:14px}.header-auth-desktop__user{display:flex;align-items:center;gap:10px}.header-auth-desktop__avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;flex-shrink:0}.header-auth-desktop__avatar--blurred{filter:blur(10px);pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.header-auth-desktop__info{display:flex;flex-direction:column;gap:1px;line-height:1.2}.header-auth-desktop__name{font-size:14px;font-weight:600;color:var(--text-color,#1a1a2e);white-space:nowrap;max-width:120px;overflow:hidden;text-overflow:ellipsis}.header-auth-desktop__balance{font-size:16px;font-weight:500;background:var(--main-gradient-color,linear-gradient(135deg,#667eea,#764ba2));background-clip:text;-webkit-background-clip:text;color:rgba(0,0,0,0);white-space:nowrap}.header-auth-desktop__balance .currency-amount{font-weight:600;color:var(--text-color,#1a1a2e)}.header-auth-desktop__balance .card__currency{font-size:16px}.header-auth-desktop__topup{display:inline-flex;align-items:center;justify-content:center;padding:8px 18px;border-radius:10px;background:linear-gradient(135deg,var(--gradient-start),var(--gradient-end));color:#fff;font-size:13px;font-weight:600;height:36px;text-decoration:none;white-space:nowrap;transition:opacity .2s,transform .15s}.header-auth-desktop__topup:hover{opacity:.88;transform:translateY(-1px)}.header-auth-desktop__settings{position:relative}.header-auth-desktop__gear-btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;border-radius:10px;background:var(--card-background-color,#f2f3f7);color:var(--text-subtitle-color,#6b7280);font-size:16px;cursor:pointer;transition:background .2s,color .2s}.header-auth-desktop__gear-btn:hover{background:var(--select-hovers-color,#e2e2e2);color:var(--text-color,#1a1a2e)}.header-auth-desktop__dropdown{position:absolute;top:calc(100% + 8px);right:0;min-width:180px;background:var(--border-color,white);border-radius:10px;box-shadow:0 4px 20px rgba(0,0,0,.15);padding:6px 0;z-index:100;animation:headerDropdownFade .15s ease}.header-auth-desktop__dropdown-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 16px;font-size:14px;color:var(--text-color,#1a1a2e);text-decoration:none;border:none;background:none;cursor:pointer;transition:background .15s}.header-auth-desktop__dropdown-item:hover{background:var(--select-hovers-color,rgba(0,0,0,.05))}.header-auth-desktop__dropdown-item svg{width:16px;color:var(--text-subtitle-color,#6b7280)}.header-auth-desktop__dropdown-item--logout{border-top:1px solid var(--border-color,rgba(0,0,0,.1));color:#f44}.header-auth-desktop__dropdown-item--logout svg{color:#f44}@media screen and (max-width:1024px){.header-auth-desktop{gap:10px}.header-auth-desktop__name{max-width:80px}.header-auth-desktop__topup{padding:6px 14px;font-size:12px}}@keyframes headerDropdownFade{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}