.pp-account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 10px;
  min-height: 40px;
  border: 1px solid #34d39955;
  border-radius: 12px;
  background: #16322a;
  color: #a7f3d0;
  font:
    700 12px Barlow,
    sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s;
}
.pp-account-trigger:active {
  transform: scale(0.95);
}
.pp-account-drawer {
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  gap: 12px;
  cursor: pointer;
}
.pp-account-overlay {
  position: fixed;
  inset: 0;
  background: #06100dc9;
  z-index: 200000;
  display: flex;
  justify-content: flex-end;
  animation: pp-account-fade 0.24s both;
}
.pp-account-sheet {
  width: min(480px, 100%);
  height: 100%;
  overflow-y: auto;
  background: #0b1a16;
  color: #e6f0eb;
  padding: 24px;
  box-shadow: inset 1px 0 #ffffff14;
  font:
    500 14px Barlow,
    sans-serif;
  animation: pp-account-slide 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  overflow-wrap: anywhere;
}
.pp-account-sheet header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.pp-account-sheet h2 {
  font-size: 24px;
  font-weight: 800;
}
.pp-account-sheet h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}
.pp-account-sheet button {
  cursor: pointer;
}
.pp-account-sheet header button {
  display: grid;
  place-items: center;
  border: 1px solid #34d39933;
  background: #16322a;
  color: #e6f0eb;
  border-radius: 12px;
  min-width: 42px;
  min-height: 42px;
}
.pp-account-person {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.pp-account-person > div {
  flex: 1;
  min-width: 0;
}
.pp-account-person b {
  font-size: 18px;
}
.pp-account-tier {
  padding: 5px 10px;
  border-radius: 20px;
  background: #34d39920;
  color: #6ee7b7;
  font-weight: 800;
}
.pp-account-sheet p {
  line-height: 1.6;
  margin: 12px 0;
}
.pp-account-muted,
.pp-account-sheet small {
  color: #a5bdb3;
  font-size: 12px;
}
.pp-account-sheet label {
  display: block;
  font-weight: 700;
}
.pp-account-sheet input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: 13px;
  border: 1px solid #34d39944;
  border-radius: 12px;
  background: #10241e;
  color: inherit;
  font: inherit;
  margin: 8px 0;
}
.pp-account-sheet button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.pp-account-primary,
.pp-account-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 12px;
  padding: 11px 16px;
  font:
    700 14px Barlow,
    sans-serif;
  width: 100%;
  border: 1px solid #34d39944;
  margin: 14px 0;
  transition: transform 0.2s;
}
.pp-account-primary {
  background: #34d399;
  color: #0b1a16;
}
.pp-account-secondary {
  background: #16322a;
  color: #d1fae5;
}
.pp-account-sheet button:active {
  transform: scale(0.96);
}
.pp-account-progress {
  margin: 22px 0;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid #34d39933;
  background: #10241e;
  box-shadow: inset 0 1px #ffffff12;
}
.pp-account-progress > div {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.pp-account-progress > div > span {
  font-size: 12px;
  color: #a5bdb3;
}
.pp-account-progress > b {
  display: block;
  color: #6ee7b7;
  margin-bottom: 12px;
}
.pp-account-progress progress {
  width: 100%;
  height: 9px;
  accent-color: #34d399;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
}
.pp-account-progress progress::-webkit-progress-bar {
  background: #16322a;
}
.pp-account-progress progress::-webkit-progress-value {
  background: #34d399;
}
.pp-account-order {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  border-bottom: 1px solid #34d39922;
  padding: 14px 0;
  color: inherit;
  text-decoration: none;
}
.pp-account-order > span {
  min-width: 0;
}
.pp-account-order > span:last-child {
  text-align: right;
  flex-shrink: 0;
}
.pp-account-order b,
.pp-account-order small,
.pp-account-order span > span {
  display: block;
}
.pp-account-order small {
  margin-top: 5px;
}
.pp-account-overlay.leaving {
  animation: pp-account-fade 0.24s reverse both;
}
.pp-account-overlay.leaving .pp-account-sheet {
  animation: pp-account-slide 0.24s reverse both;
}
html[data-theme='light'] .pp-account-trigger,
html[data-theme='light'] .pp-account-secondary,
html[data-theme='light'] .pp-account-sheet header button {
  background: #eef1ec;
  color: #047857;
}
html[data-theme='light'] .pp-account-sheet {
  background: #fff;
  color: #12261f;
}
html[data-theme='light'] .pp-account-progress,
html[data-theme='light'] .pp-account-sheet input {
  background: #eef1ec;
  color: #12261f;
}
html[data-theme='light'] .pp-account-tier {
  color: #047857;
  background: #d1fae5;
}
html[data-theme='light'] .pp-account-muted,
html[data-theme='light'] .pp-account-sheet small,
html[data-theme='light'] .pp-account-progress > div > span {
  color: #4a665b;
}
html[data-theme='light'] .pp-account-progress > b {
  color: #047857;
}
@media (max-width: 600px) {
  main > div.sticky .pp-brand-link {
    gap: 5px !important;
  }
  main > div.sticky .pp-brand {
    white-space: normal;
    max-width: 66px;
  }
  main > div.sticky .pp-brand b {
    font-size: 10.5px !important;
    line-height: 1.05 !important;
    white-space: normal;
  }
  main > div.sticky .pp-brand i {
    font-size: 8px !important;
  }
  main > div.sticky .pp-brand-link img {
    height: 32px !important;
  }
  main > div.sticky .pp-pref-theme {
    width: 32px !important;
    height: 36px !important;
    min-width: 32px !important;
    padding: 6px !important;
  }
  main > div.sticky .pp-pref-lang {
    padding: 7px 5px !important;
    gap: 3px !important;
    height: 36px !important;
  }
  main > div.sticky .pp-pref-lang .pp-pref-ic {
    display: none;
  }
  main > div.sticky .pp-account-trigger {
    max-width: 54px;
    min-width: 44px;
    white-space: normal;
    line-height: 1.1;
    justify-content: center;
    font-size: 11px;
    padding: 7px 5px;
  }
  main > div.sticky .pp-account-trigger > svg {
    display: none;
  }
  main > div.sticky .m-navmenu-btn {
    width: 20px !important;
    height: 20px !important;
  }
  main > div.sticky .justify-end {
    flex: 0 0 auto !important;
  }
}
@keyframes pp-account-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes pp-account-slide {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@media (max-width: 600px) {
  .pp-account-sheet {
    padding: 20px 18px 36px;
  }
  .pp-account-trigger {
    padding: 7px 8px;
    gap: 4px;
  }
  .pp-account-trigger svg {
    width: 15px;
  }
  .pp-account-trigger ~ .pp-pref-header {
    gap: 3px;
  }
  main > div.sticky .justify-end {
    gap: 5px !important;
  }
  main > div.sticky .justify-between {
    gap: 7px !important;
  }
}
