/* The cabinet introduction has one quiet lockup; app.js owns its reveal. */
#brandBadge {
  display: none;
  position: absolute;
  left: 404px;
  top: 66px;
  width: 60px;
  height: 46px;
  place-items: center;
  border: 1px solid #202020;
  border-radius: 5px;
  background: #f7f5f0;
  color: #171717;
  font-family: var(--ht-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}
#brandBadge::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid #22222215;
  border-radius: 2px;
  pointer-events: none;
}
body[data-monitor="left"] #brandHeader { width: 480px; }
body[data-monitor="left"] #brandBadge { display: grid; }
body[data-monitor="left"] #brandCaption { display: none; }
#portal { background: var(--ht-paper, #f7f5f0); }
body[data-monitor="right"] #brandCaption {
  left: auto;
  right: max(24px, calc((100% - 620px) / 2 + 24px));
  top: calc(42px + var(--safe-top));
  color: #272727;
  font-family: var(--ht-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  z-index: 4;
  pointer-events: none;
}
body[data-monitor="right"] #portalContent {
  top: calc(112px + var(--safe-top));
}
body[data-monitor="left"] #portalContent {
  top: calc(126px + var(--safe-top));
  border-top: 1px solid #cbc9c260;
  border-radius: 0;
  background: #f7f5f0;
  box-shadow: none;
  will-change: transform, opacity;
}
@media (max-height: 600px) {
  body[data-monitor="right"] #brandCaption { top: calc(27px + var(--safe-top)); font-size: 20px; }
  body[data-monitor="right"] #portalContent { top: calc(90px + var(--safe-top)); }
  body[data-monitor="left"] #portalContent {
    top: calc(108px + var(--safe-top));
  }
}
