/* Imported from marvinkwhite.com/discover.css */
.discover-bar {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  gap: 0;
  background: #fff;
  color: #171717;
  border: 1px solid #222;
  border-radius: 40px;
  box-shadow: 0 4px 24px #0002;
  padding: 5px;
  max-width: calc(100% - 24px);
  width: max-content
}

.discover-bar button {
  font: 500 13px/1.4 system-ui, sans-serif;
  background: none;
  color: inherit;
  border: 0;
  padding: 12px 18px;
  cursor: pointer;
  white-space: nowrap
}

.discover-bar button+button {
  border-left: 1px solid #ddd
}

.discover-bar button:hover {
  background: #f2eee8;
  border-radius: 30px
}

.discover-dialog {
  box-sizing: border-box;
  background: #faf9f6;
  color: #181818;
  border: 1px solid #222;
  padding: clamp(20px, 4vw, 60px);
  width: min(1240px, 96vw);
  max-width: 96vw;
  max-height: 90dvh;
  overflow: auto
}

.discover-dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(4px)
}

.discover-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px
}

.discover-dialog h2 {
  font: 400 clamp(28px, 4vw, 52px)/1.1 Georgia, serif;
  margin: 8px 0 20px
}

.discover-kicker {
  font: 11px/1.5 system-ui, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin: 18px 0 7px
}

.discover-close {
  padding: 10px;
  background: transparent;
  border: 1px solid #999;
  color: inherit;
  cursor: pointer;
  white-space: nowrap;
  font: 13px system-ui
}

.discover-intro,
.discover-note {
  font: 15px/1.6 system-ui, sans-serif
}

.discover-search {
  display: block;
  font: 12px system-ui;
  margin: 25px 0 16px
}

.discover-search input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid #666;
  background: transparent;
  padding: 14px 0;
  font: 20px Georgia;
  color: #181818;
  border-radius: 0
}

.discover-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.discover-filters button {
  font: 12px system-ui;
  padding: 9px 13px;
  background: transparent;
  border: 1px solid #bbb;
  color: #222;
  cursor: pointer
}

.discover-filters button[aria-pressed=true] {
  background: #222;
  color: white;
  border-color: #222
}

.discover-status {
  font: 12px system-ui;
  margin: 22px 0
}

.discover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px 22px
}

.discover-note {
  margin-top: 35px;
  color: #555;
  border-top: 1px solid #ccc;
  padding-top: 18px
}

.discover-bar button:focus-visible,
.discover-dialog :focus-visible {
  outline: 3px solid #905d2d;
  outline-offset: 4px
}

body:has(.discover-dialog[open]) {
  overflow: hidden
}

body {
  padding-bottom: 85px !important
}

@media(max-width:650px) {
  .discover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px
  }

  .discover-bar button {
    padding: 11px 12px;
    font-size: 12px
  }

  .discover-head {
    gap: 10px
  }

  .discover-close {
    font-size: 11px
  }
}
