html.has-overlay-page-scrollbar { scrollbar-width:none; }
.overlay-page-scrollbar {
  position:fixed;
  inset:0 0 0 auto;
  z-index:30002;
  width:32px;
  overflow:hidden scroll;
  overflow-anchor:none;
  scrollbar-color:var(--room-scrollbar-thumb) var(--room-scrollbar-track);
}
.overlay-page-scrollbar[hidden] { display:none; }
.overlay-page-scrollbar > div { width:1px; }
@media print { .overlay-page-scrollbar { display:none; } }

.community-masthead { position:relative; z-index:30; box-sizing:border-box; display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; height:96px; margin:0; padding:0 40px; border-bottom:1px solid var(--layout-divider,color-mix(in srgb,var(--room-line) 70%,transparent)); background:var(--room-header-background,var(--room-page-background)); }
.community-masthead .brand,.community-masthead .brand:is(:hover,:active,:focus) { display:inline-flex; align-items:center; flex:none; min-height:44px; margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; color:var(--room-ink); text-decoration:none!important; letter-spacing:normal; transform:none; }
.community-masthead .brand:focus:not(:focus-visible) { outline:none!important; }
.community-masthead .brand:active { outline:none!important; }
.community-masthead .brand:focus-visible { outline:2px solid var(--room-focus); outline-offset:4px; }
.community-masthead .brand__name { color:var(--room-ink); font:700 32px/1.4 var(--room-font-ui); text-shadow:none; }
.community-account-navigation { position:relative; z-index:1; display:flex; align-items:center; flex:none; gap:4px; }
.community-masthead .visual-room-icon-action { position:relative; display:grid; place-items:center; box-sizing:border-box; width:36px; height:36px; padding:7px; border:0; background:transparent; box-shadow:none; color:var(--room-button-ink); text-decoration:none; }
.community-masthead .visual-room-icon-action::after { top:calc(100% + 4px); right:2px; z-index:2; }
.community-masthead .visual-room-icon-action:first-child::after { left:0; right:auto; }
:is(body.visual-public-page,body.visual-room-page) .community-masthead iframe.public-corner-navigation { position:absolute!important; top:30px!important; right:40px!important; z-index:1!important; width:196px!important; max-width:none!important; height:82px!important; border:0; background:transparent; }
.community-masthead + :is(.settings-shell,.library-shell) { margin-top:24px; }
@media(max-width:800px),(hover:none) and (pointer:coarse) { .community-masthead .visual-room-icon-action { width:44px; height:44px; padding:11px; } :is(body.visual-public-page,body.visual-room-page) .community-masthead iframe.public-corner-navigation { top:26px!important; width:236px!important; } }
@media(max-width:800px) { .community-masthead { height:76px; padding:0 20px; } .community-masthead .brand__name { font-size:24px; } :is(body.visual-public-page,body.visual-room-page) .community-masthead iframe.public-corner-navigation { top:16px!important; right:20px!important; } }

:is(body.visual-public-page,body.visual-room-page) .community-masthead iframe.public-corner-navigation{width:236px!important}

.community-masthead--canvas{position:fixed;inset:0 0 auto;z-index:30001;background:transparent;border:0;pointer-events:none}
.community-masthead--canvas .brand{visibility:hidden}
.community-masthead--canvas :is(.community-account-navigation,iframe){pointer-events:auto}
.visual-editor-preview-active .community-masthead--canvas{display:none}
.visual-editor-preview-active [data-visual-action="publish"]{display:none!important}
@media(max-width:800px){.community-masthead--canvas{height:76px}}
.operation-notices{position:fixed;bottom:76px;left:24px;z-index:30000;max-width:min(420px,calc(100vw - 48px));max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain;display:grid;gap:8px}
.operation-notices[popover]{inset:auto auto 76px 24px;margin:0;padding:0;border:0;background:transparent;color:inherit}
.operation-notices[popover]:not(:popover-open){display:none}
[data-operation-feedback]:is(:empty,[hidden]){display:none!important}
.operation-notice{display:flex;align-items:center;gap:20px;padding:12px 16px;border:1px solid var(--room-line);background:var(--room-surface);color:var(--room-ink);font:14px/1.6 var(--room-font-ui);box-shadow:0 3px 12px #0002}
.operation-notice span{min-width:0;overflow-wrap:anywhere}
.operation-notice button{flex:none;border:0;background:transparent;color:inherit;cursor:pointer;padding:4px;min-width:32px;min-height:32px}
.operation-notices[popover] .operation-notice button{padding:4px;min-width:32px;min-height:32px;color:inherit}
.community-masthead a[aria-current="page"]{color:var(--room-primary);box-shadow:inset 0 -2px var(--room-primary)}

@media (max-width: 430px) {
  .community-masthead { padding-inline: 6px; gap: 4px; }
  .community-masthead .brand__name { font-size: 22px; }
  .community-account-navigation { gap: 0; }
  :is(body.visual-public-page,body.visual-room-page) .community-masthead iframe.public-corner-navigation {
    right: 6px !important;
    width: 220px !important;
  }
}
@media (max-width: 800px) {
  :is(body.visual-public-page,body.visual-room-page) .community-masthead iframe.public-corner-navigation {
    height: 60px !important;
  }
}
.public-header-body.navigation-mobile .visual-room-library-actions { gap: 0; }
