html { scrollbar-gutter: stable; }

body.nlapp {
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-body);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.pf9-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 12px var(--header-inset);
  background: rgba(7, 19, 45, .86);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(0, 81, 255, .16);
  box-shadow: 0 10px 32px rgba(3, 9, 24, .35);
}

.pf9-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 81, 255, 0) 15%, rgba(0, 81, 255, .65) 50%, rgba(0, 81, 255, 0) 85%, transparent 100%);
  pointer-events: none;
}

.pf9-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1400px;
  margin: 0 auto;
}

.pf9-logo {
  flex: none;
  display: inline-flex;
  align-items: center;
  transition: transform var(--dur) var(--ease-out);
}
.pf9-logo:hover { transform: translateY(-1px); }
.pf9-logo img { height: 30px; width: auto; filter: drop-shadow(0 2px 12px rgba(0, 81, 255, .35)); }

.pf9-nav { display: flex; align-items: center; gap: 2px; flex: 0 1 auto; min-width: 0; margin-inline: auto; justify-content: center; }
.pf9-drop { min-width: 0; }
.pf9-navitem { min-width: 0; }
.pf9-navitem > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pf9-navitem {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--periwinkle);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.pf9-navitem:hover { color: var(--white); background: rgba(255, 255, 255, .05); }
.pf9-navitem.is-active { color: var(--blue-light); }
.pf9-navitem.is-active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--blue) 20%, var(--blue) 80%, transparent);
  box-shadow: 0 0 10px rgba(0, 81, 255, .7);
}

.pf9-ic {
  width: 17px;
  height: 17px;
  flex: none;
  transform-origin: center;
  transition: transform .4s cubic-bezier(.2, .7, .3, 1.4), color var(--dur) var(--ease-out);
  will-change: transform;
}

.pf9-navitem:hover .pf9-ic-passport,
.pf9-drop__item:hover .pf9-ic-passport { transform: translateY(-2px) rotate(-8deg); }
.pf9-navitem:hover .pf9-ic-bill,
.pf9-drop__item:hover .pf9-ic-bill { transform: rotate(6deg) translateY(-1px); }
.pf9-navitem:hover .pf9-ic-dl-eu,
.pf9-drop__item:hover .pf9-ic-dl-eu,
.pf9-navitem:hover .pf9-ic-dl-usa,
.pf9-drop__item:hover .pf9-ic-dl-usa,
.pf9-navitem:hover .pf9-ic-ssn,
.pf9-drop__item:hover .pf9-ic-ssn { animation: pf9-ic-pulse .55s ease; }
.pf9-navitem:hover .pf9-ic-history { transform: rotate(360deg); transition-duration: .7s; }
.pf9-navitem:hover .pf9-ic-plans,
.pf9-drop__item:hover .pf9-ic-plans { transform: rotate(72deg) scale(1.08); }
.pf9-iconbtn:hover .pf9-ic-faq { animation: pf9-ic-wobble .55s ease; }
.pf9-iconbtn:hover .pf9-ic-telegram { transform: translateX(3px) translateY(-3px) rotate(10deg); }
.pf9-iconbtn:hover .pf9-ic-shield { transform: translateY(-2px) scale(1.08); }
.pf9-iconbtn:hover .pf9-ic-logout { transform: translateX(3px); }
.pf9-iconbtn:hover .pf9-ic-user { transform: scale(1.12); }

@keyframes pf9-ic-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.25); }
}
@keyframes pf9-ic-wobble {
  0%, 100% { transform: rotate(0); }
  25%      { transform: rotate(-14deg); }
  75%      { transform: rotate(14deg); }
}
@keyframes pf9-balance-zap {
  0%, 100% { transform: scale(1) rotate(0); }
  30%      { transform: scale(1.15) rotate(-8deg); }
  60%      { transform: scale(1.05) rotate(6deg); }
}
@keyframes pf9-sheet-in {
  0%   { opacity: 0; transform: translate3d(0, -18px, 0); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

.pf9-caret { width: 12px; height: 12px; flex: none; opacity: .5; transition: transform .25s var(--ease-out), opacity var(--dur) var(--ease-out); }
.pf9-drop:hover .pf9-caret, .pf9-drop.is-open .pf9-caret { opacity: 1; }
.pf9-drop.is-open .pf9-caret { transform: rotate(180deg); }

.pf9-drop { position: relative; display: inline-flex; align-items: center; }

.pf9-drop__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 320px;
  padding: 8px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(13, 28, 61, .98) 0%, rgba(7, 19, 45, .98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 24px 60px rgba(3, 9, 24, .6),
    0 0 0 1px rgba(0, 81, 255, .14);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px) scale(.97);
  transition: opacity .2s var(--ease-out), transform .24s cubic-bezier(.2, .7, .3, 1.4), visibility .2s;
  z-index: 95;
}
.pf9-drop__menu::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px; height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: rgba(13, 28, 61, .98);
  border-left: 1px solid rgba(0, 81, 255, .18);
  border-top: 1px solid rgba(0, 81, 255, .18);
}
.pf9-drop.is-open .pf9-drop__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.pf9-drop__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--periwinkle);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.pf9-drop__item:hover { background: rgba(255, 255, 255, .05); color: var(--white); }
.pf9-drop__item.is-active { background: linear-gradient(90deg, rgba(0, 81, 255, .22) 0%, rgba(0, 81, 255, .04) 100%); color: var(--white); }
.pf9-drop__ic {
  display: grid;
  place-content: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 10px;
  background: rgba(0, 81, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(0, 81, 255, .2);
  color: var(--blue-light);
  transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.pf9-drop__item:hover .pf9-drop__ic { background: rgba(0, 81, 255, .24); box-shadow: inset 0 0 0 1px rgba(0, 81, 255, .38), 0 0 18px rgba(0, 81, 255, .22); }
.pf9-drop__item.is-active .pf9-drop__ic {
  background: linear-gradient(180deg, var(--blue-light), var(--blue));
  box-shadow: 0 4px 16px rgba(0, 81, 255, .5);
  color: var(--white);
}
.pf9-drop__ic .pf9-ic { width: 20px; height: 20px; }
.pf9-drop__t { display: block; font-size: 13.5px; font-weight: 500; color: inherit; }
.pf9-drop__s { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.pf9-drop__item.is-active .pf9-drop__s { color: rgba(156, 192, 255, .8); }

.pf9-right { display: flex; align-items: center; gap: 6px; flex: none; }

.pf9-balance {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(0, 81, 255, .18) 0%, rgba(0, 81, 255, .06) 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 81, 255, .3);
  color: var(--white);
  line-height: 1;
  overflow: hidden;
  transition: background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.pf9-balance::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(120, 165, 255, .22) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform .6s ease;
  pointer-events: none;
}
.pf9-balance:hover {
  background: linear-gradient(180deg, rgba(0, 81, 255, .3) 0%, rgba(0, 81, 255, .1) 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 81, 255, .55), 0 0 0 4px rgba(0, 81, 255, .1), 0 6px 20px rgba(0, 81, 255, .28);
  transform: translateY(-1px);
}
.pf9-balance:hover::before { transform: translateX(100%); }
.pf9-balance__ic {
  display: grid;
  place-content: center;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--blue-light), var(--blue));
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0, 81, 255, .55);
}
.pf9-balance__ic svg { width: 16px; height: 16px; }
.pf9-balance:hover .pf9-balance__ic { animation: pf9-balance-zap .55s ease; }
.pf9-balance__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; min-width: 78px; }
.pf9-balance__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pf9-balance__lab { font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pf9-balance__val { font-size: 13.5px; font-weight: 500; color: var(--blue-light); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.pf9-balance__val small { font-size: 11px; font-weight: 400; color: var(--muted); }
.pf9-balance__bar { position: relative; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.pf9-balance__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  box-shadow: 0 0 8px rgba(0, 81, 255, .7);
  transition: width .5s var(--ease-out);
}
.pf9-balance.is-unlim .pf9-balance__val { color: #9CC0FF; text-shadow: 0 0 14px rgba(0, 81, 255, .6); }
.pf9-balance.is-off { background: linear-gradient(180deg, rgba(255, 255, 255, .075) 0%, rgba(255, 255, 255, .02) 100%); box-shadow: inset 0 0 0 1px rgba(147, 170, 219, .24); }
.pf9-balance.is-off:hover { background: linear-gradient(180deg, rgba(0, 81, 255, .3) 0%, rgba(0, 81, 255, .1) 100%); box-shadow: inset 0 0 0 1px rgba(0, 81, 255, .55), 0 0 0 4px rgba(0, 81, 255, .1), 0 6px 20px rgba(0, 81, 255, .28); }
.pf9-balance.is-off .pf9-balance__body { min-width: 0; }
.pf9-balance.is-off .pf9-balance__val { color: var(--white); white-space: nowrap; }

.pf9-iconbtn {
  display: grid;
  place-content: center;
  width: 38px; height: 38px;
  flex: none;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--periwinkle);
  cursor: pointer;
  overflow: hidden;
  transition: color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.pf9-iconbtn:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
.pf9-iconbtn.is-active { color: var(--blue-light); }
.pf9-iconbtn svg { width: 17px; height: 17px; }
.pf9-iconbtn .lang-flag { width: 20px; height: 20px; display: inline-flex; }
.pf9-iconbtn .lang-flag svg { width: 100%; height: 100%; border-radius: 50%; }
.pf9-logout-btn:hover { color: #FF8A80; background: rgba(214, 69, 69, .12); }
.pf9-logout-form { display: inline-flex; margin: 0; }

.pf9-langwrap { position: relative; display: inline-flex; }
.pf9-lang__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  padding: 7px;
  border-radius: 14px;
  background: rgba(13, 28, 61, .98);
  box-shadow: inset 0 0 0 1px rgba(0, 81, 255, .16), 0 18px 46px rgba(3, 9, 24, .6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .17s var(--ease-out), transform .17s var(--ease-out), visibility .17s;
  z-index: 95;
}
.pf9-langwrap.is-open .pf9-lang__menu { opacity: 1; visibility: visible; transform: none; }
.pf9-lang__item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--periwinkle);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.pf9-lang__item:hover { background: rgba(255, 255, 255, .06); color: var(--white); }
.pf9-lang__item.is-active { color: var(--blue-light); }
.pf9-lang__item .lang-flag { width: 20px; height: 20px; flex: none; display: inline-flex; }
.pf9-lang__item .lang-flag svg { width: 100%; height: 100%; border-radius: 50%; }
.pf9-lang__name { flex: 1; }
.pf9-lang__check { width: 15px; height: 15px; flex: none; opacity: 0; }
.pf9-lang__item.is-active .pf9-lang__check { opacity: 1; }

.pf9-burger {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  color: var(--white);
  z-index: 92;
  transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.pf9-burger:hover { background: rgba(255, 255, 255, .09); transform: translateY(-1px); }
.pf9-burger[aria-expanded="true"] {
  background: linear-gradient(180deg, rgba(0, 81, 255, .32) 0%, rgba(0, 81, 255, .12) 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 81, 255, .55), 0 0 0 4px rgba(0, 81, 255, .1);
  color: var(--blue-light);
}
.pf9-burger svg {
  position: absolute;
  top: 50%; left: 50%;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  transition: opacity .26s cubic-bezier(.4, 0, .2, 1), transform .38s cubic-bezier(.22, .74, .32, 1.24);
  will-change: transform, opacity;
}
.pf9-burger .pf9-bars { opacity: 1; transform: scale(1) rotate(0); }
.pf9-burger .pf9-close { opacity: 0; transform: scale(.55) rotate(-90deg); }
.pf9-burger[aria-expanded="true"] .pf9-bars { opacity: 0; transform: scale(.55) rotate(90deg); }
.pf9-burger[aria-expanded="true"] .pf9-close { opacity: 1; transform: scale(1) rotate(0); }

.pf9-sheet {
  display: none;
  position: fixed;
  top: var(--pf9-header-h, 70px);
  left: 0; right: 0; bottom: 0;
  z-index: 89;
  padding: 16px 18px calc(28px + env(safe-area-inset-bottom, 0px));
  background: rgba(7, 19, 45, .985);
  border-top: 1px solid rgba(255, 255, 255, .06);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 81, 255, .45) transparent;
}
.pf9-sheet::-webkit-scrollbar { width: 6px; }
.pf9-sheet::-webkit-scrollbar-track { background: transparent; }
.pf9-sheet::-webkit-scrollbar-thumb { background: rgba(0, 81, 255, .45); border-radius: 3px; }
.pf9-sheet.is-open { display: block; animation: pf9-sheet-in .42s cubic-bezier(.22, .68, .24, 1.01) both; }

.pf9-mplan {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(0, 81, 255, .24) 0%, rgba(0, 81, 255, .05) 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 81, 255, .34), inset 0 1px 0 rgba(255, 255, 255, .05), 0 6px 20px rgba(3, 9, 24, .3);
  color: var(--white);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.pf9-mplan:active { transform: scale(.985); }
.pf9-mplan.is-off { background: linear-gradient(160deg, rgba(255, 255, 255, .085) 0%, rgba(255, 255, 255, .02) 100%); box-shadow: inset 0 0 0 1px rgba(147, 170, 219, .26), inset 0 1px 0 rgba(255, 255, 255, .05), 0 6px 20px rgba(3, 9, 24, .3); }
.pf9-mplan__ic {
  display: grid;
  place-content: center;
  width: 50px; height: 50px;
  flex: none;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--blue-light), var(--blue));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 81, 255, .5);
}
.pf9-mplan__ic svg { width: 26px; height: 26px; }
.pf9-mplan__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pf9-mplan__hi { font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.1; }
.pf9-mplan__line { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; line-height: 1; }
.pf9-mplan__lab { font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pf9-mplan__val { font-size: 17px; font-weight: 500; color: var(--blue-light); font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1; }
.pf9-mplan__val small { font-size: 12px; font-weight: 400; color: var(--muted); }
.pf9-mplan.is-unlim .pf9-mplan__val { font-size: 15px; text-shadow: 0 0 14px rgba(0, 81, 255, .6); }
.pf9-mplan.is-off .pf9-mplan__val { font-size: 15px; color: var(--white); }
.pf9-mplan__bar { position: relative; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.pf9-mplan__bar i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%); box-shadow: 0 0 10px rgba(0, 81, 255, .6); }

.pf9-mlinks { display: flex; flex-direction: column; gap: 2px; }

.pf9-mlink {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--periwinkle);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  text-align: start;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.pf9-mlink .pf9-ic { width: 18px; height: 18px; color: var(--blue-light); opacity: .75; }
.pf9-mlink:hover { background: rgba(255, 255, 255, .05); color: var(--white); }
.pf9-mlink:hover .pf9-ic { opacity: 1; }
.pf9-mlink.is-active { background: linear-gradient(90deg, rgba(0, 81, 255, .22), rgba(0, 81, 255, .03)); color: var(--white); }
.pf9-mlink.is-active .pf9-ic { opacity: 1; }
.pf9-mlink--logout { color: #FF8A80; }
.pf9-mlink--logout .pf9-ic { color: #FF8A80; }
.pf9-mlink--logout:hover { background: rgba(214, 69, 69, .12); color: #FF8A80; }

.pf9-mgroup { display: block; }
.pf9-mgroup__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--periwinkle);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -.01em;
  text-align: start;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.pf9-mgroup__btn:hover { background: rgba(255, 255, 255, .05); color: var(--white); }
.pf9-mgroup__btn.is-active { color: var(--blue-light); }
.pf9-mgroup__lab { flex: 1; }
.pf9-mgroup__btn .pf9-caret {
  width: 14px; height: 14px;
  padding: 7px;
  box-sizing: content-box;
  border-radius: 10px;
  background: rgba(0, 81, 255, .18);
  box-shadow: inset 0 0 0 1px rgba(0, 81, 255, .3);
  color: var(--blue-light);
  opacity: 1;
  transition: transform .42s cubic-bezier(.45, .05, .25, 1.25), background-color .26s ease, box-shadow .26s ease, color .22s ease;
}
.pf9-mgroup.is-open .pf9-mgroup__btn .pf9-caret {
  transform: rotate(180deg);
  background: linear-gradient(180deg, var(--blue-light), var(--blue));
  box-shadow: 0 4px 12px rgba(0, 81, 255, .45);
  color: var(--white);
}
.pf9-mgroup__items {
  max-height: 0;
  overflow: hidden;
  padding-left: 14px;
  margin-left: 10px;
  border-left: 2px solid transparent;
  transition: max-height .4s cubic-bezier(.4, 0, .2, 1), border-left-color .26s ease, padding-top .4s cubic-bezier(.4, 0, .2, 1), padding-bottom .4s cubic-bezier(.4, 0, .2, 1);
}
.pf9-mgroup.is-open .pf9-mgroup__items { max-height: 240px; border-left-color: rgba(0, 81, 255, .38); padding-top: 4px; padding-bottom: 6px; }
.pf9-msub {
  font-size: 13.5px;
  padding: 10px 14px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s ease, transform .34s cubic-bezier(.2, .7, .3, 1), background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.pf9-mgroup.is-open .pf9-msub { opacity: 1; transform: translateX(0); transition-delay: .12s; }

.pf9-mlang { padding: 15px 6px 4px; margin-top: 6px; border-top: 1px solid rgba(255, 255, 255, .08); }
.pf9-mlang__cap { display: flex; align-items: center; gap: 8px; margin: 0 6px 12px; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pf9-mlang__cap svg { width: 15px; height: 15px; }
.pf9-mlang__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pf9-mlang__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  color: var(--periwinkle);
  font-size: 14px;
  font-weight: 500;
  transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.pf9-mlang__opt:hover { box-shadow: inset 0 0 0 1px rgba(0, 81, 255, .45); color: var(--white); }
.pf9-mlang__opt.is-active { background: rgba(0, 81, 255, .16); box-shadow: inset 0 0 0 1px rgba(0, 81, 255, .5); color: var(--blue-light); }
.pf9-mlang__opt .lang-flag { width: 20px; height: 20px; flex: none; display: inline-flex; }
.pf9-mlang__opt .lang-flag svg { width: 100%; height: 100%; border-radius: 50%; }

.pf9-foot { margin-top: auto; }

@media (max-width: 1280px) {
  .pf9-header { padding-inline: 24px; }
  .pf9-header__inner { gap: 12px; }
  .pf9-navitem { padding: 9px 10px; font-size: 13px; gap: 6px; }
  .pf9-nav { gap: 0; }
}

@media (max-width: 1180px) {
  .pf9-header { padding-inline: 20px; }
  .pf9-nav > a.pf9-navitem { padding: 9px 9px; }
  .pf9-nav > a.pf9-navitem > span { display: none; }
}

@media (max-width: 1100px) {
  .pf9-navitem { font-size: 12.5px; padding: 8px 8px; gap: 5px; }
  .pf9-ic { width: 16px; height: 16px; }
  .pf9-balance__lab { display: none; }
}

@media (max-width: 1010px) {
  .pf9-caret { display: none; }
  .pf9-navitem { padding: 8px 5px; }
  .pf9-right { gap: 2px; }
}

@media (max-width: 960px) {
  .pf9-header__inner { gap: 0; justify-content: center; position: relative; }
  .pf9-nav, .pf9-right { display: none; }
  .pf9-burger { display: block; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
  .pf9-burger:hover { transform: translateY(-50%) translateY(-1px); }
  .pf9-logo img { height: 32px; }
}

@media (max-width: 640px) {
  .pf9-header { padding-inline: 14px; }
  .pf9-logo img { height: 28px; }
  .pf9-sheet { padding: 12px 14px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .pf9-mlink { padding: 11px 12px; font-size: 14px; }
  .pf9-mgroup__btn { padding: 12px; font-size: 14px; }
}

@media (max-width: 400px) {
  .pf9-burger { width: 42px; height: 42px; }
  .pf9-mlang__opts { grid-template-columns: 1fr; }
}

.pf9-supwrap { position: relative; display: inline-flex; flex: none; }
.pf9-badge {
  position: absolute; top: -3px; right: -3px;
  min-width: 17px; height: 17px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--blue); color: var(--white);
  font-family: var(--font-body); font-size: 10.5px; font-weight: 500; font-style: normal;
  line-height: 1; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px var(--navy-900);
  pointer-events: none;
}
.pf9-mcount {
  margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--blue); color: var(--white);
  font-size: 11.5px; font-weight: 500; font-style: normal;
  font-variant-numeric: tabular-nums;
}
.pf9-burger.has-unread::after {
  content: ''; position: absolute; top: 7px; right: 7px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 2px rgba(7, 19, 45, .9);
}
.pf9-burger[aria-expanded="true"].has-unread::after { display: none; }
@keyframes pf9-ic-pop {
  0%   { transform: none; }
  35%  { transform: translateY(-3px) scale(1.12); }
  65%  { transform: translateY(0) scale(.97); }
  100% { transform: none; }
}
.pf9-iconbtn:hover .pf9-ic-support { animation: pf9-ic-pop .5s ease; }
@media (prefers-reduced-motion: reduce) {
  .pf9-iconbtn:hover .pf9-ic-support { animation: none; }
}

.pf9-header,
.pf9-sheet,
.pf9-scrim { line-height: normal; -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }
.pf9-header svg,
.pf9-sheet svg { display: inline; }
.pf9-header .pf9-ic,
.pf9-header .pf9-iconbtn svg,
.pf9-header .pf9-burger svg,
.pf9-sheet .pf9-ic { display: block; }
.pf9-header button,
.pf9-sheet button { font: inherit; background: none; border: 0; cursor: pointer; }
.pf9-header ul,
.pf9-sheet ul { list-style: none; margin: 0; padding: 0; }
.pf9-header a,
.pf9-sheet a { text-decoration: none; }
