:root {
  --explore-transition-height: 32px;
  --explore-lilac: #d9cdf7;
  --explore-lilac-rgb: 217, 205, 247;
  --explore-lilac-border: #6f4bd8;
  --explore-lilac-border-rgb: 111, 75, 216;
  --explore-lilac-ink: #20143b;
  --explore-cream: #f4e9c7;
  --explore-cream-ink: #3b2709;
}

.has-explore-switcher .site-header { top: var(--explore-transition-height); }

.showcase-transition-bar {
  position: sticky;
  z-index: 110;
  top: 0;
  display: flex;
  min-height: var(--explore-transition-height);
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 5px 18px;
  background: #ff6f61;
  color: #160805;
  font-size: 12px;
  line-height: 1.2;
}

.showcase-transition-bar a {
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-weight: 720;
  text-decoration: none;
}

.showcase-explore-menu {
  position: relative;
  flex: 0 0 auto;
}

.showcase-explore-menu summary {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(59, 39, 9, 0.18);
  background: var(--explore-cream);
  box-shadow: none;
  color: #24221c;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  list-style: none;
  transition: background-color 170ms ease, border-color 170ms ease, color 170ms ease;
  white-space: nowrap;
}

.showcase-explore-menu summary::-webkit-details-marker { display: none; }
.showcase-explore-menu summary:hover { border-color: rgba(59, 39, 9, 0.3); background: #fff6dc; }
.showcase-explore-menu[open] summary { border-color: rgba(59, 39, 9, 0.34); background: #eadfbe; }

.showcase-menu-chevron {
  display: inline-block;
  font-size: 15px;
  transition: transform 180ms ease;
}

.showcase-explore-menu[open] .showcase-menu-chevron { transform: rotate(180deg); }

.showcase-explore-panel {
  position: absolute;
  z-index: 140;
  top: calc(100% + 9px);
  right: 0;
  left: auto;
  display: grid;
  width: 330px;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(244, 233, 199, 0.42);
  background: #151515;
  border-radius: 18px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.3);
  gap: 4px;
}

.showcase-explore-panel :is(button, a) {
  position: relative;
  display: grid;
  width: 100%;
  padding: 15px 16px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  gap: 4px;
}

.showcase-explore-panel :is(button, a):hover { background: rgba(255, 255, 255, 0.09); color: #fff; }

.showcase-explore-panel :is(button[aria-selected="true"], a[aria-current="page"]) {
  padding-right: 55px;
  background: var(--explore-cream);
  box-shadow: inset 0 0 0 1px rgba(59, 39, 9, 0.08);
  color: var(--explore-cream-ink);
}

.showcase-explore-panel :is(button[aria-selected="true"], a[aria-current="page"])::after {
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  width: 25px;
  height: 25px;
  content: "✓";
  background: var(--explore-cream-ink);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  transform: translateY(-50%);
  place-items: center;
}

.showcase-explore-panel b { font-size: 14px; }
.showcase-explore-panel span { font-size: 11px; line-height: 1.4; }

@media (max-width: 920px) {
  :root { --explore-transition-height: 34px; }
  .showcase-transition-bar { justify-content: space-between; padding-inline: 12px; font-size: 10px; }
}

@media (max-width: 480px) {
  .showcase-explore-panel {
    right: -66px;
    width: min(330px, calc(100vw - 24px));
  }

  .showcase-menu-brand { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-explore-menu summary,
  .showcase-menu-chevron { transition: none; }
}
