/* Unified desktop navigation for the catalog and account pages. */
.nr-header .nr-library-group{position:relative;display:flex;align-items:center;flex:none}
.nr-header .nr-library-panel{position:absolute;z-index:150;top:100%;right:0;width:220px;padding:7px;border:1px solid rgba(76,130,160,.23);border-radius:15px;background:#f8fcff;box-shadow:0 18px 42px rgba(13,51,77,.2);display:grid;gap:2px;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-5px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease}
.nr-header .nr-library-group:hover .nr-library-panel,.nr-header .nr-library-group:focus-within .nr-library-panel{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.nr-header .nr-library-panel :is(a,button){display:flex!important;align-items:center!important;justify-content:flex-start!important;min-height:38px!important;height:auto!important;width:100%!important;padding:7px 11px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#174662!important;font-size:12px!important;font-weight:600!important;box-shadow:none!important;text-align:right;text-decoration:none;white-space:normal}
.nr-header .nr-library-panel :is(a,button):hover,.nr-header .nr-library-panel :is(a,button):focus-visible{background:#e6f3fa!important}
.nr-site.dark .nr-header .nr-library-panel{background:#163348;border-color:#5e8ca7}
.nr-site.dark .nr-header .nr-library-panel :is(a,button){color:#e9f6fc!important}
.nr-site.dark .nr-header .nr-library-panel :is(a,button):hover{background:#2b5670!important}
@media(min-width:768px){
  .nr-header .nr-primary-nav{display:flex;align-items:center;gap:3px;flex-wrap:nowrap;white-space:nowrap}
  body.nr-site .nr-header #homeNav > :is(a,button),body.nr-site .nr-header #homeNav .nr-library-group > button,
  .nr-account .nr-header .nr-primary-nav > a,.nr-account .nr-header .nr-library-group > a{
    box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;gap:5px;
    height:40px!important;min-height:40px!important;margin:0;padding:0 10px!important;
    border:1px solid transparent!important;border-radius:12px!important;
    background:transparent!important;box-shadow:none!important;
    font-size:12px!important;font-weight:600!important;line-height:1.3!important;
    text-decoration:none;cursor:pointer;white-space:nowrap
  }
  body.nr-site .nr-header #homeNav > :is(a,button),body.nr-site .nr-header #homeNav .nr-library-group > button{color:var(--repair-ink,#174662)!important}
  body.nr-site .nr-header #homeNav > :is(a,button):hover,body.nr-site .nr-header #homeNav .nr-library-group > button:hover,
  .nr-account .nr-header .nr-primary-nav > a:hover,.nr-account .nr-header .nr-library-group > a:hover{background:rgba(117,188,219,.17)!important}
  body.nr-site .nr-header #homeNav > a[href="/subscription/"],body.nr-site .nr-header #homeNav > a.nc-entry-support,
  body.nr-site .nr-header #homeNav > .nr-game-link{border-color:transparent!important;background:transparent!important;font-weight:600!important}
  body.nr-site .nr-header #homeNav > .nr-game-link:hover{box-shadow:none!important}
  .nr-header .nr-primary-nav .nr-game-link img{width:20px;height:20px;object-fit:contain}
  .nr-account .nr-header .nr-primary-nav > a,.nr-account .nr-header .nr-library-group > a{color:#eef7ff!important}
  .nr-account .nr-header .nr-library-panel{background:#f8fcff}
  .nr-account .nr-primary-nav{margin:0!important}
  .nr-account .nr-header-inner{gap:14px!important}
  .nr-account .nr-account-utilities{display:flex;align-items:center;gap:3px;margin-inline-start:auto}
  .nr-account .nr-account-utilities a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 8px;border-radius:10px;color:#eef7ff;text-decoration:none;font-size:11px;font-weight:600;white-space:nowrap}
  .nr-account .nr-account-utilities a:hover{background:#ffffff1c}
}
@media(max-width:767px){
  body.nr-site .nr-header #homeNav.nr-open .nr-library-group{width:100%;display:block}
  body.nr-site .nr-header #homeNav.nr-open .nr-library-group > button{width:100%;text-align:center}
  body.nr-site .nr-header #homeNav.nr-open .nr-library-panel{position:static;width:100%;transform:none;opacity:1;visibility:visible;pointer-events:auto;box-shadow:none;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:4px}
  body.nr-site .nr-header #homeNav.nr-open .nr-library-panel :last-child{grid-column:1/-1}
  .nr-account .nr-header .nr-library-panel{display:none}
  .nr-account .nr-account-utilities{display:flex;gap:8px}
  .nr-account .nr-account-utilities a{color:#fff;text-decoration:none;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.nr-header .nr-library-panel{transition:none}}

body.nr-account .nr-header .nr-primary-nav > a.nc-entry-support{color:#eef7ff!important}
.nr-header .nr-library-group.nr-dismissed .nr-library-panel{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
