.header-right .sip-header-fullscreen {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 40px; width: 40px; height: 40px; padding: 9px;
  border: 1px solid #164869; border-radius: 10px;
  background: #00192f; color: #f5f7ff; cursor: pointer;
  box-sizing: border-box; transition: background-color .15s, border-color .15s;
}
.header-right .sip-header-fullscreen:hover { background: #00244b; border-color: #53b0ff; }
.header-right .sip-header-fullscreen:focus-visible { outline: 2px solid #53b0ff; outline-offset: 3px; }
.header-right .sip-header-fullscreen[aria-pressed="true"] { background: #00244b; border-color: #b496ff; color: #b496ff; }
.header-right .sip-header-fullscreen:disabled { cursor: wait; opacity: .6; }
.header-right .sip-header-fullscreen svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sip-header-fullscreen .sip-fullscreen-collapse,
.sip-header-fullscreen[aria-pressed="true"] .sip-fullscreen-expand { display: none; }
.sip-header-fullscreen[aria-pressed="true"] .sip-fullscreen-collapse { display: initial; }
.sip-fullscreen-notice {
  position: fixed; z-index: 2147483647; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: max-content; max-width: calc(100vw - 32px); padding: 12px 16px;
  background: #00192f; color: #f5f7ff; border: 1px solid #24517c; border-radius: 10px;
  font: 14px/1.5 system-ui,sans-serif; box-shadow: 0 8px 28px #0006;
}
.sip-fullscreen-notice[hidden] { display: none; }
@media (max-width: 1023px) {
  [data-sip-header-fullscreen], .sip-header-fullscreen { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .header-right .sip-header-fullscreen { transition: none; } }

/* Member actions stay hidden until the shared header confirms sign-in. */
.header-right:not([data-sip-member-actions="true"]) .sip-header-fullscreen,
.header-right:not([data-sip-member-actions="true"]) .sip-header-chat,
.header-right:not([data-sip-member-actions="true"]) > :has(> .icon-chat),
.header-right:not([data-sip-member-actions="true"]) > :has(> .icon-notification),
.header-right:not([data-sip-member-actions="true"]) > :has(> .icon-bell) { display: none !important; }
