/* =========================================================
   TASK 12A — Header Geometry 最终锁定
              × 社区 HOME 图片化
              × HOME/FORUM 无感切换
   本文件为最高优先级收口层（置于 task11* 之后）
   ========================================================= */

/* —— 1. scrollbar 稳定：避免有无滚动条导致版心横跳 —— */
html {
  scrollbar-gutter: stable;
}

:root {
  --plaza-shell-max: 1480px;
  --plaza-shell-gutter: 48px;
  --plaza-cta-slot-w: 118px;
  --plaza-font: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --plaza-line: #e2e6ee;
  --plaza-brand: #4f6ef7;
}

/* —— 2. Header：全站统一 Geometry（含活动 / 账户） —— */
#main-topbar.plaza-redesign-topbar {
  display: block !important;
  position: sticky !important;
  top: 0;
  z-index: 90;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border-bottom: 1px solid var(--plaza-line);
  background: #fff !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  box-sizing: border-box;
}

#main-topbar.plaza-redesign-topbar .plaza-redesign-topbar-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center;
  width: min(calc(100% - var(--plaza-shell-gutter)), var(--plaza-shell-max)) !important;
  min-height: 68px;
  margin-inline: auto !important;
  gap: 16px !important;
  box-sizing: border-box;
  padding-inline: 0 !important;
}

#main-topbar.plaza-redesign-topbar .brand {
  justify-self: start !important;
}

#main-topbar.plaza-redesign-topbar .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: none;
}

#main-topbar.plaza-redesign-topbar .brand strong {
  font-size: 14px;
  line-height: 1.2;
}

#main-topbar.plaza-redesign-topbar .plaza-channels {
  justify-self: center !important;
}

#main-topbar.plaza-redesign-topbar .plaza-channels-list {
  gap: clamp(22px, 1.6vw, 36px) !important;
}

#main-topbar.plaza-redesign-topbar .top-actions {
  display: flex !important;
  align-items: center;
  justify-self: end !important;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

/* 发帖 CTA：字多大框多大（隐藏时仍占位，避免频道中轴跳动） */
#main-topbar.plaza-redesign-topbar .plaza-top-publish {
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  max-width: none;
  padding: 0 12px;
  justify-self: auto;
  flex: 0 0 auto;
  white-space: nowrap;
}

#main-topbar.plaza-redesign-topbar .plaza-top-publish[hidden],
#main-topbar.plaza-redesign-topbar .plaza-top-publish.is-cta-slot-reserved {
  display: inline-flex !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0;
}

/* 活动页：CTA / 角色切换占位隐藏（保留宽度，避免 brand / 频道中轴偏移） */
body:has(:is(#view-activities.active, #view-activity-detail.active))
  #main-topbar.plaza-redesign-topbar
  .plaza-top-publish,
body:has(:is(#view-activities.active, #view-activity-detail.active))
  #main-topbar.plaza-redesign-topbar
  #role-switch {
  display: inline-flex !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0;
}

/* 账户页：CTA 已 hidden，槽位仍保留 */
body:has(:is(#view-profile.active, #view-my-publish.active, #view-points.active, #view-points-ledger.active, #view-points-checkout.active))
  #main-topbar.plaza-redesign-topbar
  .plaza-top-publish {
  display: inline-flex !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* —— 3. 社区：删除二级 Tab —— */
#view-forum .plaza-community-mode-nav {
  display: none !important;
}

/* —— 4. 社区 Shell：贴 Header，无滚动标语 —— */
#view-forum.plaza-forum {
  width: 100%;
  padding-top: 0 !important;
  font-family: var(--plaza-font);
}

#view-forum .plaza-community-shell {
  width: min(calc(100% - var(--plaza-shell-gutter)), var(--plaza-shell-max)) !important;
  margin-inline: auto;
  padding: 0 0 48px !important;
  box-sizing: border-box;
}

/* —— 5. HOME + FORUM 连续滚动（同页上下叠放，可滑回首页） —— */
/* 覆盖 11ab：forum 模式不再隐藏 home（隐藏会导致文档高度塌缩、无法上滑） */
#view-forum[data-community-mode="forum"] .plaza-community-home,
#view-forum[data-community-mode="home"] .plaza-community-home,
#view-forum .plaza-community-home {
  display: block !important;
  padding: 0 0 8px !important;
  margin: 0 !important;
  overflow: visible !important;
  max-height: none !important;
}

#view-forum[data-community-mode="home"] .plaza-community-forum,
#view-forum[data-community-mode="forum"] .plaza-community-forum,
#view-forum .plaza-community-forum {
  display: block !important;
  margin-top: 8px;
  padding-top: 0;
}

/* —— 6. HOME Hero：主 2/3 + 副 1/3 —— */
#view-forum .plaza-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
  margin: 0 0 18px;
}

#view-forum .plaza-home-hero-primary,
#view-forum .plaza-home-hero-secondary {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid #e4e8f2;
  border-radius: 18px;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

#view-forum .plaza-home-hero-primary:hover,
#view-forum .plaza-home-hero-secondary:hover {
  border-color: #cfd6ea;
  transform: translateY(-1px);
}

#view-forum .plaza-home-hero-primary {
  padding: 28px 28px 26px;
  background:
    radial-gradient(ellipse 60% 80% at 88% 40%, rgba(120, 150, 255, 0.28), transparent 55%),
    linear-gradient(135deg, #f4f7ff 0%, #eef2ff 45%, #f7f5ff 100%);
}

#view-forum .plaza-home-hero-secondary {
  padding: 24px 22px 22px;
  background:
    radial-gradient(circle at 70% 70%, rgba(140, 170, 255, 0.22), transparent 50%),
    linear-gradient(160deg, #f0f5ff 0%, #e8f0ff 100%);
}

#view-forum .plaza-home-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 22em;
}

#view-forum .plaza-home-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #6b7385;
  font-size: 11px;
  font-weight: 650;
}

#view-forum .plaza-home-pill--soft {
  background: rgba(79, 110, 247, 0.1);
  color: #4f6ef7;
}

#view-forum .plaza-home-hero-primary h1 {
  margin: 14px 0 0;
  color: #1a2340;
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 740;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

#view-forum .plaza-home-hero-secondary h2 {
  margin: 14px 0 0;
  color: #1a2340;
  font-size: 22px;
  font-weight: 720;
  line-height: 1.3;
}

#view-forum .plaza-home-hero-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  color: #6b7385;
  font-size: 13px;
}

#view-forum .plaza-home-meta-ico {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1.5px solid #8a93a6;
  border-radius: 2px;
  box-shadow: inset 0 -5px 0 -4px #8a93a6;
}

#view-forum .plaza-home-hero-desc {
  margin: 12px 0 0;
  color: #4f586a;
  font-size: 14px;
  line-height: 1.55;
}

#view-forum .plaza-home-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 40px;
  margin-top: 22px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--plaza-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}

#view-forum .plaza-home-hero-cta--text {
  margin-top: auto;
  padding: 0;
  min-height: 0;
  background: transparent;
  color: var(--plaza-brand);
  font-size: 14px;
}

#view-forum .plaza-home-hero-visual {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

#view-forum .plaza-home-hero-primary .plaza-home-hero-visual {
  right: 6%;
  bottom: 8%;
  width: min(42%, 280px);
  aspect-ratio: 1;
}

#view-forum .plaza-home-hero-secondary .plaza-home-hero-visual {
  right: 8%;
  bottom: 18%;
  width: 46%;
  aspect-ratio: 1;
  opacity: 0.9;
}

/* CSS / SVG-like 几何装饰 */
#view-forum .plaza-home-visual--cube,
#view-forum-post .plaza-home-visual--cube {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.05)),
    linear-gradient(145deg, #6a8cff 0%, #7b6cf0 55%, #5b8dff 100%);
  border-radius: 22px;
  box-shadow:
    0 18px 40px rgba(79, 110, 247, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  transform: rotate(12deg) skewY(-4deg);
}

#view-forum .plaza-home-visual--cube::after,
#view-forum-post .plaza-home-visual--cube::after {
  position: absolute;
  inset: 18%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.35), transparent 60%);
  content: "";
}

#view-forum .plaza-home-visual--play {
  background:
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(145deg, #8eb6ff, #6a8cff);
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(90, 120, 255, 0.25);
}

#view-forum .plaza-home-visual--play::before {
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%);
  content: "";
}

/* —— 7. Promo Tiles 4×2 —— */
#view-forum .plaza-home-promo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 18px;
}

#view-forum .plaza-home-promo-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 132px;
  padding: 16px 16px 14px;
  overflow: hidden;
  border: 1px solid #e6e9f0;
  border-radius: 14px;
  background: #f7f9fc;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: transform 150ms ease, border-color 150ms ease;
}

#view-forum .plaza-home-promo-tile:hover {
  transform: translateY(-2px);
  border-color: #d0d7e6;
}

#view-forum .plaza-home-promo-tile.tone-blue {
  background: linear-gradient(145deg, #eef4ff, #f7f9ff);
}
#view-forum .plaza-home-promo-tile.tone-violet {
  background: linear-gradient(145deg, #f2efff, #f8f7ff);
}
#view-forum .plaza-home-promo-tile.tone-teal {
  background: linear-gradient(145deg, #eaf7f4, #f5fbfa);
}
#view-forum .plaza-home-promo-tile.tone-amber {
  background: linear-gradient(145deg, #fff5ea, #fffaf5);
}
#view-forum .plaza-home-promo-tile.tone-lavender {
  background: linear-gradient(145deg, #f0edff, #f8f7ff);
}
#view-forum .plaza-home-promo-tile.tone-pink {
  background: linear-gradient(145deg, #fff0f5, #fff8fb);
}
#view-forum .plaza-home-promo-tile.tone-green {
  background: linear-gradient(145deg, #eaf8ef, #f5fcf7);
}
#view-forum .plaza-home-promo-tile.tone-navy {
  background: linear-gradient(145deg, #e8eef8, #f4f7fb);
}

#view-forum .plaza-home-promo-status {
  display: inline-flex;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #5c6578;
  font-size: 11px;
  font-weight: 650;
}

#view-forum .plaza-home-promo-title {
  position: relative;
  z-index: 1;
  max-width: 70%;
  margin: 12px 0 0;
  color: #1a2332;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

#view-forum .plaza-home-promo-visual {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 56px;
  height: 56px;
  opacity: 0.92;
}

#view-forum .plaza-home-visual--calendar {
  border-radius: 12px;
  background: linear-gradient(160deg, #7aa2ff, #4f6ef7);
  box-shadow: 0 8px 18px rgba(79, 110, 247, 0.25);
}
#view-forum .plaza-home-visual--calendar::before {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.85);
  content: "";
}
#view-forum .plaza-home-visual--ai {
  border-radius: 50% 50% 40% 50%;
  background: linear-gradient(145deg, #9b8cff, #6a7dff);
}
#view-forum .plaza-home-visual--traffic {
  border-radius: 14px;
  background: linear-gradient(180deg, #2d3a4a, #1a2332);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}
#view-forum .plaza-home-visual--traffic::before,
#view-forum .plaza-home-visual--traffic::after {
  position: absolute;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translateX(-50%);
  content: "";
}
#view-forum .plaza-home-visual--traffic::before {
  top: 12px;
  background: #ff6b6b;
}
#view-forum .plaza-home-visual--traffic::after {
  top: 28px;
  background: #ffd166;
}
#view-forum .plaza-home-visual--queue {
  border-radius: 10px;
  background: linear-gradient(145deg, #ffb86b, #ff8f4f);
}
#view-forum .plaza-home-visual--queue::after {
  position: absolute;
  inset: 14px 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  content: "8′";
}
#view-forum .plaza-home-visual--prism {
  clip-path: polygon(50% 6%, 92% 78%, 8% 78%);
  background: linear-gradient(145deg, #ff9ec7, #c084fc);
}
#view-forum .plaza-home-visual--robot {
  border-radius: 14px 14px 10px 10px;
  background: linear-gradient(160deg, #5eead4, #34d399);
}
#view-forum .plaza-home-visual--planet {
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #93c5fd, #3b82f6 55%, #1e3a8a);
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.35);
}

#view-forum .plaza-home-scroll-hint {
  display: flex;
  justify-content: center;
  padding: 6px 0 4px;
  color: #c0c6d4;
  font-size: 14px;
}

#view-forum .plaza-home-chevron {
  display: inline-block;
  margin: 0;
  padding: 4px 10px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  animation: plaza-home-bounce 1.8s ease-in-out infinite;
}

@keyframes plaza-home-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  50% {
    transform: translateY(4px);
    opacity: 0.85;
  }
}

/* 旧文字栏目彻底隐藏（若残留） */
#view-forum .plaza-community-happening,
#view-forum .plaza-community-altruism,
#view-forum .plaza-community-home-foot,
#view-forum .plaza-community-hero-kicker,
#view-forum .plaza-community-hero-actions {
  display: none !important;
}

/* —— 8. FORUM 顶部无空白衔接 —— */
#view-forum .plaza-forum-layout {
  margin-top: 4px;
}

#view-forum .plaza-forum-promo-card {
  position: relative;
  overflow: hidden;
}

#view-forum .plaza-forum-promo-visual {
  position: absolute;
  right: 10px;
  top: 14px;
  width: 64px;
  height: 64px;
  opacity: 0.85;
}

#view-forum .plaza-forum-promo-flash .flash-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid #eef0f4;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

#view-forum .plaza-forum-promo-flash .flash-item b {
  grid-column: 1;
  color: #1a2332;
  font-size: 13px;
}

#view-forum .plaza-forum-promo-flash .flash-item span {
  grid-column: 1;
  color: #8a93a6;
  font-size: 11px;
}

#view-forum .plaza-forum-promo-flash .flash-item em {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--plaza-brand);
  font-style: normal;
  font-size: 12px;
  font-weight: 650;
}

/* —— 9. 响应式 —— */
@media (max-width: 1499px) {
  #view-forum .plaza-home-hero-primary,
  #view-forum .plaza-home-hero-secondary {
    min-height: 300px;
  }

  #view-forum .plaza-home-promo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 1199px) {
  #view-forum .plaza-home-hero {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 14px;
  }

  #view-forum .plaza-home-hero-primary,
  #view-forum .plaza-home-hero-secondary {
    min-height: 260px;
  }

  #view-forum .plaza-home-promo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  #view-forum .plaza-home-hero {
    grid-template-columns: 1fr;
  }

  #view-forum .plaza-home-hero-primary,
  #view-forum .plaza-home-hero-secondary {
    min-height: 220px;
  }

  #view-forum .plaza-home-promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #main-topbar.plaza-redesign-topbar .top-actions {
    flex-wrap: wrap;
  }

  #main-topbar.plaza-redesign-topbar #role-switch {
    display: none !important;
  }
}

@media (max-width: 640px) {
  #view-forum .plaza-home-promo-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   TASK 12A direct fix — 2026-09-04
   1) 清掉社区旧 fixed-header 时代遗留的 68px margin-top
   2) 社区 / 活动共用完全一致的 Header 组件尺寸
   3) 不把不同控件强行做成同样大小，只锁定“同一组件跨页面一致”
   ========================================================= */

/* 旧 plaza-task1.css 仍有 #view-forum { margin-top:68px }，
   现在 Header 已是 sticky 且本身占据文档流，这 68px 会变成重复空白。 */
#view-forum.plaza-forum {
  margin: 16px 0 0 !important;
}

/* Header 品牌：社区 / 作品 / 点子 / 人才 / 活动完全共用同一字体和尺寸。 */
#main-topbar.plaza-redesign-topbar .brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0;
}

#main-topbar.plaza-redesign-topbar .brand-mark {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
}

#main-topbar.plaza-redesign-topbar .brand strong {
  font-family: var(--plaza-font) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.015em !important;
}

#main-topbar.plaza-redesign-topbar .brand small {
  font-family: var(--plaza-font) !important;
  font-size: 9px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.06em !important;
}

/* 旧 TASK 1/3 只在部分 View 隐藏频道计数，活动页会重新露出 14/10/6/3，
   导致每个频道宽度和中心位置都发生变化。这里由最终壳层统一裁决。 */
#main-topbar.plaza-redesign-topbar .plaza-channel-count {
  display: none !important;
}

#main-topbar.plaza-redesign-topbar .plaza-channels-list {
  display: flex !important;
  align-items: stretch !important;
  height: 68px !important;
  gap: clamp(22px, 1.6vw, 36px) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

#main-topbar.plaza-redesign-topbar .plaza-channel {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 68px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--plaza-font) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  white-space: nowrap;
}

#main-topbar.plaza-redesign-topbar .plaza-channel-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
}

#main-topbar.plaza-redesign-topbar .plaza-channel-icon svg {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
}

/* 测试角色切换器在广场域不参与 Header 几何；活动页不再保留一个隐形大槽位。 */
#main-topbar.plaza-redesign-topbar #role-switch {
  display: none !important;
}

/* 同一积分组件跨页面保持同一尺寸；不是把所有框统一成这一尺寸。 */
#main-topbar.plaza-redesign-topbar .points-chip {
  min-height: 32px !important;
  padding: 0 7px !important;
  border: 0 !important;
  border-radius: 7px !important;
  color: #566172 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px !important;
}

/* 同一账户组件跨页面保持同一尺寸。 */
#main-topbar.plaza-redesign-topbar .account-btn {
  min-height: 36px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #354054 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#main-topbar.plaza-redesign-topbar .account-copy strong {
  font-family: var(--plaza-font) !important;
}

/* +发帖 / +发布作品 / +发布点子恢复克制尺寸；只改该 CTA 自身。 */
#main-topbar.plaza-redesign-topbar .plaza-top-publish {
  min-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

/* 活动页旧规则曾把 role-switch 设为 invisible 占位；与社区不同。最终统一为不参与布局。 */
body:has(:is(#view-activities.active, #view-activity-detail.active))
  #main-topbar.plaza-redesign-topbar #role-switch,
body:has(:is(#view-plaza.active, #view-forum.active, #view-forum-post.active, #view-forum-compose.active,
  #view-project-detail.active, #view-idea-detail.active, #view-maker-profile.active,
  #view-publish-project.active, #view-publish-idea.active, #view-profile.active,
  #view-my-publish.active, #view-points.active, #view-points-ledger.active,
  #view-points-checkout.active)) #main-topbar.plaza-redesign-topbar #role-switch {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
