body:has(duranki-payment-header > header.compact-member-bar) {--member-bar-height:4.25rem;padding-top:var(--member-bar-height)}
duranki-payment-header:has(>header.compact-member-bar) ~ header {display:none}
body.community-themed duranki-payment-header header.compact-member-bar {background:color-mix(in srgb,var(--community-secondary) 8%,white)}
duranki-payment-header header.compact-member-bar {font-family:"Segoe UI",system-ui,sans-serif}
header.compact-member-bar {
  box-sizing:border-box; position:fixed; inset:0 0 auto; z-index:20;
  display:grid; grid-template: "platform community account" 1fr / minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr);
  align-items:center; height:var(--member-bar-height); min-height:0; margin:0;
  padding:2px clamp(10px,2.5%,32px); gap:6px; background:#fff;
  color:var(--brand-ink,#163948); border-bottom:2px solid var(--community-secondary,#248079);

.platform-mark,.community-mark,.account-trigger {min-width:0;display:flex;align-items:center}
.platform-mark {grid-area:platform;gap:10px}
.platform-mark a {display:flex;gap:8px;align-items:center;max-width:100%;min-width:0;min-height:44px;text-decoration:none;color:inherit}
.platform-mark img {width:54px;height:44px;object-fit:contain;flex:none}
.platform-mark img,.community-mark img {background:transparent;mix-blend-mode:multiply}
.platform-mark span {font-weight:650}
.community-mark {grid-area:community;flex-direction:column;justify-content:center;gap:1px;text-align:center}
.community-mark .community-brand-logo {display:block;width:100%;height:35px;max-width:100px;object-fit:contain;flex:none}
.community-mark strong,.platform-mark span {max-width:100%;line-height:1.1;overflow-wrap:anywhere;font-size:13px}
.account-trigger {grid-area:account;justify-self:end;gap:8px;min-height:44px;padding:3px 8px;border:1px solid #cbd6dc;border-radius:6px;background:white;color:inherit;font-family:inherit;font-size:14px;font-weight:650;cursor:pointer}
.initials {display:grid;place-items:center;width:28px;height:28px;border-radius:50%;overflow:hidden;background:var(--brand-action,#175967);color:white;font-size:12px}
.initials img {width:100%;height:100%;object-fit:cover}
.chevron {width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:-3px 2px 0 0}
.account-panel {box-sizing:border-box;position:fixed;inset:calc(var(--member-bar-height) + 4px) 10px auto auto;
  margin:0;width:min(20rem,calc(100% - 20px));max-height:calc(100dvh - var(--member-bar-height) - 16px);overflow:auto;
  padding:16px;background:white;color:#143646;border:1px solid #bfced2;border-radius:8px;box-shadow:0 8px 30px #17364825}
.account-panel:popover-open {display:grid;gap:14px}
.account-panel app-role-switcher,.account-panel app-language-selector {display:block;min-width:0;max-width:100%}
.subscription-total {display:flex;justify-content:space-between;gap:10px;font-size:14px}
.account-panel nav {display:grid;border-top:1px solid #dbe5e8;padding-top:6px}
.account-panel nav :is(a,button) {box-sizing:border-box;display:flex;align-items:center;min-height:44px;width:100%;padding:8px 10px;border:none;border-radius:4px;background:white;color:#164654;text-align:start;text-decoration:none;font:inherit;font-weight:650;cursor:pointer}
.account-panel nav :is(a,button):hover,.account-trigger:hover {background:#eff5f6}
:is(button,a):focus-visible {outline:2px solid currentColor;outline-offset:2px}
@media(max-width:580px) {
  .platform-mark {flex-direction:column;align-items:flex-start;gap:0}
  .platform-mark img {height:33px;width:44px}
  .platform-mark a {flex-direction:column;align-items:flex-start;justify-content:center;gap:1px}
  .platform-mark span {font-size:11px}
  .account-label {display:none}
  .community-mark strong {font-size:12px}
  .community-mark .community-brand-logo {height:29px}
}
}
header.compact-member-bar .member-actions {grid-area:account;display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
header.compact-member-bar a.my-community-button {
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:44px;min-width:44px;padding:0 14px;border:1px solid transparent;border-radius:6px;
  background:var(--brand-action,#254e60);color:white;text-decoration:none;
  box-shadow:inset 0 1px 0 #ffffff24,0 1px 2px #15283a24;
  font:650 14px/1.2 "Segoe UI",system-ui,sans-serif;white-space:nowrap;
}
header.compact-member-bar a.my-community-button:hover {background:color-mix(in srgb,var(--brand-action,#254e60) 84%,black)}
header.compact-member-bar a.my-community-button:focus-visible {outline:2px solid var(--brand-ink,#163948);outline-offset:2px}
header.compact-member-bar a.my-community-button:active {box-shadow:inset 0 1px 3px #0004}
header.compact-member-bar .my-community-button .home-symbol {width:18px;height:18px;display:block;flex:none}
@media(max-width:820px) {
  header.compact-member-bar .my-community-button .home-label {display:none}
  header.compact-member-bar a.my-community-button {width:44px;padding:0}
}
@media(max-width:410px) {
  header.compact-member-bar .member-actions {gap:3px}
  header.compact-member-bar .member-actions .account-trigger {min-width:38px;padding:3px 5px}
  header.compact-member-bar .member-actions .chevron {display:none}
}
