.jp-3d-header,
.jp-3d-footer {
  padding: 0;
  background: #282321;
  color: #f9f2e6;
  font: .875rem/1.5 system-ui, "Microsoft YaHei", sans-serif;
}

.jp-3d-bar {
  width: min(100% - 2rem, 76rem);
  min-height: 60px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 1rem;
}

.jp-3d-bar a {
  display: inline-flex;
  float: none;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}

.jp-3d-bar a:hover { text-decoration: underline; text-underline-offset: .2em; }
.jp-3d-bar a:focus-visible { outline: 2px solid #5eead4; outline-offset: 2px; }
.jp-3d-bar img { display: block; }
.jp-3d-footer { border-top: 1px solid #ffffff26; }
.jp-3d-footer nav { display: flex; flex-wrap: wrap; column-gap: 1rem; }
.jp-3d-catalog { min-height: 100svh; display: flex; flex-direction: column; }
.jp-3d-catalog > main { flex: 1; }

.jp-3d-skip {
  position: fixed;
  z-index: 20;
  top: .5rem;
  left: .5rem;
  padding: .5rem;
  transform: translateY(-200%);
  background: #fff;
  color: #282321;
}

.jp-3d-skip:focus { transform: none; }
body.recording > :is(.jp-3d-header, .jp-3d-footer, .jp-3d-skip) { display: none; }
