/* Three levels of tabs: the main menu, the Game Preferences sub-menu, and property tabs. */

.main-nav { display: flex; gap: 5px; border-bottom: 1px solid #33404b; }
.main-nav.account-nav { margin-bottom: 24px; }
.nav-item { border: 0; border-bottom: 2px solid transparent; background: none; padding: 17px 22px 18px; margin-bottom: -1px; color: #a4afb9; font-weight: 600; font-size: 19px; }
.nav-item.active { color: #f4e3bd; border-color: #d6aa59; }
.nav-item:hover { color: #fff; }
.nav-icon { margin-right: 7px; font-size: 18px; vertical-align: -1px; }
.nav-count { color: #d9bd85; margin-left: 8px; border: 1px solid #4d4b40; padding: 2px 7px; border-radius: 10px; font-size: 15px; }

/* The sub-menu, property tabs, and character page tabs share one underlined-tab style. */
.sub-nav, .property-tabs, .detail-tabs { display: flex; overflow-x: auto; border-bottom: 1px solid #35434e; padding: 0 var(--gutter); gap: 25px; }
.sub-nav { margin: 8px 0 0; }
.property-tabs { margin: 8px 0 12px; }
.sub-nav-item, .property-tab, .detail-tab { padding: 13px 8px 14px; border: 0; border-bottom: 2px solid transparent; background: none; color: #9eacb6; font-size: 19px; font-weight: 700; margin-bottom: -1px; white-space: nowrap; }
.sub-nav-item.selected, .property-tab.selected, .detail-tab.selected { color: var(--gold-selected); border-color: var(--gold-underline); }
.sub-nav-item:hover, .property-tab:hover, .detail-tab:hover { color: #fff; }
.sub-nav-item .nav-count { margin-left: 8px; font-size: 14px; }

@media (max-width: 560px) {
  .main-nav { overflow-x: auto; }
  .nav-item { padding: 13px 10px; font-size: 16px; white-space: nowrap; }
  .nav-icon { display: none; }
  .nav-count { margin-left: 2px; }
  .sub-nav { gap: 14px; }
  .detail-tabs { gap: 4px; } /* Four character tabs fit a 390px phone. */
  .sub-nav-item, .detail-tab { font-size: 16px; padding-left: 4px; padding-right: 4px; }
}
