/*
  PapsLab concept bar, shared by every /redesigns/ page.
  Everything is scoped under .pl- and sets its own font, colour and spacing,
  so concept stylesheets (resets included) cannot restyle it by accident.
*/
body {
  margin: 0;
}

.pl-skip {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: #0c0e12;
  color: #fff;
  font: 600 14px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
  text-decoration: none;
}

.pl-skip:focus {
  top: 8px;
}

.pl-bar {
  position: relative;
  z-index: 999;
  margin: 0;
  padding: 0;
  background: #0c0e12;
  color: #d7dbe0;
  font: 400 13px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}

.pl-bar *,
.pl-bar *::before,
.pl-bar *::after {
  box-sizing: border-box;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
}

.pl-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 16px;
}

.pl-bar a {
  color: inherit;
  text-decoration: none;
}

.pl-bar a:focus-visible,
.pl-bar summary:focus-visible {
  outline: 2px solid #3ddc97;
  outline-offset: 2px;
  border-radius: 6px;
}

.pl-bar__home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  font-weight: 600;
  color: #fff;
}

.pl-bar__mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #fff;
  color: #0c0e12;
  font-weight: 700;
  font-size: 12px;
}

.pl-bar__note {
  flex: 1 1 260px;
  margin: 0;
  color: #aeb4bc;
}

.pl-bar__note strong {
  color: #fff;
  font-weight: 600;
}

.pl-bar__switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: #1c2027;
}

.pl-bar__switch a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  color: #aeb4bc;
  font-weight: 600;
}

.pl-bar__switch a:hover {
  color: #fff;
}

.pl-bar__switch a[aria-current="page"] {
  background: #3ddc97;
  color: #0c0e12;
}

.pl-bar__notes {
  position: relative;
}

.pl-bar__notes summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 4px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.pl-bar__notes summary::-webkit-details-marker {
  display: none;
}

.pl-bar__notes summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.pl-bar__notes[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.pl-bar__notes ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(380px, calc(100vw - 32px));
  margin: 0;
  padding: 14px 16px 14px 32px;
  border-radius: 12px;
  background: #1c2027;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  color: #d7dbe0;
  list-style: disc;
}

.pl-bar__notes li + li {
  margin-top: 6px;
}

@media (max-width: 640px) {
  .pl-bar__home span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .pl-bar__notes ul {
    right: auto;
    left: 0;
  }
}

.pl-credits {
  margin: 0;
  padding: 20px 16px 28px;
  background: #0c0e12;
  color: #aeb4bc;
  font: 400 12px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: left;
}

.pl-credits > * {
  max-width: 1280px;
  margin-inline: auto;
}

.pl-credits p {
  margin-top: 0;
  margin-bottom: 8px;
}

.pl-credits strong {
  color: #fff;
}

.pl-credits ul {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 18px;
  list-style: disc;
}

.pl-credits li {
  display: list-item;
}

.pl-credits a {
  color: #d7dbe0;
}
