/* Den of Misfits · the top bar (site-bar.js draws it). Den gold + the swarm calculator's cyan.
   Pinned to the top like the old "Under Construction" bar; the script adds its height to the page's top padding,
   so it never covers anything. Class names avoid the words ad blockers hide (no "ad", "ads", "banner", "sponsor"). */
.dsb {
  position: fixed; top: 0; left: 0; right: 0; z-index: 44;   /* under the landing's code gate (50) and the dashboard's full-screen cards (60) */
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(90deg, #06192c 0%, #0b1120 55%, #191408 100%);
  border-bottom: 1px solid rgba(240, 198, 116, .55);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .35);
  color: #e8e8f0;
  font: 500 14px/1.3 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.dsb-in {
  display: flex; align-items: center; gap: 10px;
  max-width: 1080px; min-height: 42px; margin: 0 auto;
  padding: 0 max(4px, env(safe-area-inset-right, 0px)) 0 max(14px, env(safe-area-inset-left, 0px));
}
.dsb-ico {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; line-height: 1;
  background: rgba(31, 176, 200, .16); box-shadow: inset 0 0 0 1px rgba(31, 176, 200, .6);
}
.dsb-go {
  flex: 1 1 auto; min-width: 0; display: flex; align-items: baseline; gap: 8px;
  padding: 11px 0; color: inherit; text-decoration: none; white-space: nowrap;
}
.dsb-t1 { font-weight: 700; color: #fff; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dsb-sep { color: #6c7189; }
.dsb-t2 { color: #b9bfd2; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dsb-t3 { margin-left: auto; padding-left: 6px; flex: 0 0 auto; color: #f0c674; font-weight: 700; }
.dsb-t3 .dsb-short { display: none; }
.dsb-go:hover .dsb-t3, .dsb-go:focus-visible .dsb-t3 { text-decoration: underline; text-underline-offset: 3px; }
.dsb-x {
  flex: 0 0 auto; width: 36px; height: 36px; margin: 3px 0; padding: 0;
  border: 0; border-radius: 8px; background: transparent; color: #9a9ab0;
  font: 400 22px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; cursor: pointer;
}
.dsb-x:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.dsb-go:focus-visible, .dsb-x:focus-visible { outline: 2px solid #f0c674; outline-offset: 2px; border-radius: 6px; }

/* phones: the short version (name + "Compare"), never wider than the screen */
@media (max-width: 720px) {
  .dsb { font-size: 13px; }
  .dsb-sep, .dsb-t2 { display: none; }
  .dsb-t3 .dsb-long { display: none; }
  .dsb-t3 .dsb-short { display: inline; }
}
@media print { .dsb { display: none !important; } }
@media (forced-colors: active) { .dsb { border-bottom: 1px solid CanvasText; } .dsb-ico { box-shadow: none; } }
