/* V2-only primary navigation. Loaded by include_header_general_v2.tpl. */

/* Brand logo sizing: the PNG has no intrinsic display size, and these rules
   must out-rank all.css .logo img{width:100%;height:100%}. */
.header .logo{align-items:center;padding-bottom:0;height:70px}
.header .logo img{height:60px;width:auto;display:block}
@media screen and (max-width:767px){
  .header .logo{height:auto}
  .header .logo img{height:44px;max-width:none}
}

.header .v2-primary-nav{
  display:flex;align-items:center;gap:4px;flex:0 0 auto;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.header .v2-primary-nav a{
  min-height:44px;display:inline-flex;align-items:center;padding:8px 10px;
  border-radius:6px;color:#a68b97;font-size:14px;font-weight:600;white-space:nowrap;
  transition:color .2s ease,background-color .2s ease;
}

.header .v2-primary-nav a:hover,
.header .v2-primary-nav a:focus-visible{background:#331723;color:#f3e9ed}

.header .v2-header-spacer{flex:1 1 auto;min-width:12px}

/* Labeled account trigger replacing the avatar button. The .drop-auth wrapper,
   its data hooks, and the dropdown are stock and untouched. */
.header .profile-btn.v2-acct{display:flex;align-items:center;gap:8px}
.header .v2-acct-text{display:flex;flex-direction:column;align-items:flex-start;line-height:1.25;text-align:left}
.header .v2-acct-hi{font-size:11px;color:#a68b97;white-space:nowrap;max-width:150px;overflow:hidden;text-overflow:ellipsis}
.header .v2-acct-main{font-size:14px;font-weight:700;color:#f3e9ed;white-space:nowrap}

/* Gold Premium link, desktop nav and mobile drawer. */
.header .v2-primary-nav a.v2-nav-premium{color:#d9a441}
.header .v2-primary-nav a.v2-nav-premium:hover,
.header .v2-primary-nav a.v2-nav-premium:focus-visible{color:#e6b95c;background:rgba(217,164,65,.10)}
.header a.item.v2-nav-premium,
.header a.item.v2-nav-premium span{color:#d9a441}
.header a.item.v2-nav-premium .svg-icon{fill:#d9a441}

/* Telegram-blue Community link, desktop nav and mobile drawer. */
.header .v2-primary-nav a.v2-nav-telegram{color:#2AABEE;display:inline-flex;align-items:center;gap:7px}
.header .v2-primary-nav a.v2-nav-telegram .svg-icon{width:15px;height:15px;fill:currentColor;flex:0 0 auto}
.header .v2-primary-nav a.v2-nav-telegram:hover,
.header .v2-primary-nav a.v2-nav-telegram:focus-visible{color:#4dbdf5;background:rgba(42,171,238,.10)}
.header a.item.v2-nav-telegram,
.header a.item.v2-nav-telegram span{color:#2AABEE}
.header a.item.v2-nav-telegram .svg-icon{fill:#2AABEE}

@media screen and (max-width:1180px){
  .header .v2-primary-nav{display:none}
}

@media screen and (max-width:767px){
  .header .v2-header-spacer{display:none}
}

@media (prefers-reduced-motion:reduce){
  .header .v2-primary-nav a{transition:none}
}
