/* Dash-Bored store. Dark only. One accent. See dash-bored-shots/BRAND.md */

@font-face { font-family: "Mona Sans"; src: url("../assets/fonts/mona-sans-var.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../assets/fonts/geist-mono-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --panel: #111113;
  --panel-2: #18181b;
  --line: #242427;
  --line-2: #3a3a3f;
  --text: #f4f4f2;
  --muted: #a6a6ab;
  --faint: #7f7f85;
  --pink: #ff54e1;
  --main: #f4f4f2;
  --main-ink: #0a0a0b;
  --head: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(20px, 3.4vw, 48px);
  --max: 1520px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
.nb { white-space: nowrap; }
h1, h2, h3, p, dl, dd, ul, ol, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code, pre { font-family: var(--mono); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--main); outline-offset: 2px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 30; padding: 10px 16px; border-radius: 8px; background: var(--text); color: var(--bg); font-weight: 600; }
.skip:focus { top: 12px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(10, 10, 11, .62); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top__in { display: flex; align-items: center; gap: 8px clamp(10px, 2vw, 28px); min-height: 68px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 11px; min-height: 44px; }
.brand__mark { width: 52px; height: 38px; object-fit: contain; filter: drop-shadow(0 0 9px rgba(255, 45, 170, .4)); }
.word { font: 620 20px/1 var(--head); letter-spacing: -.02em; white-space: nowrap; }
.word i { display: inline-block; width: .4em; height: .125em; margin: 0 .07em; border-radius: .03em; background: var(--pink); vertical-align: .24em; overflow: hidden; color: transparent; font-style: normal; font-size: inherit; line-height: 0; }
.nav { display: flex; align-items: center; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a, .subnav a { display: inline-flex; flex: none; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--muted); font-size: 15px; font-weight: 500; white-space: nowrap; transition: color .12s; }
.nav a:hover, .nav a[aria-current="page"], .subnav a:hover, .subnav a[aria-current="page"] { color: var(--text); }
.subnav { display: none; }
.subnav__in { display: flex; gap: 2px; padding-inline: calc(var(--gutter) - 12px); overflow-x: auto; scrollbar-width: none; }
.subnav__in::-webkit-scrollbar { display: none; }
.nav-under .nav { display: none; }
.nav-under .subnav { display: block; border-bottom: 1px solid var(--line); }
.nav-under .hero { margin-top: 0; padding-top: 0; }
.i { display: block; width: 20px; height: 20px; flex: none; }
.tools { display: flex; flex: none; align-items: center; gap: 8px; margin-left: auto; }
.searchbox { display: flex; align-items: center; gap: 10px; width: clamp(200px, 22vw, 340px); height: 44px; padding: 0 9px 0 13px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: rgba(255, 255, 255, .05); color: var(--muted); font-size: 15px; text-align: left; transition: border-color .12s, color .12s, background .12s; }
@media (hover: hover) { .searchbox:hover { border-color: rgba(255, 255, 255, .28); color: var(--text); background: rgba(255, 255, 255, .08); } }
.searchbox__text { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.searchbox__key { flex: none; margin-left: auto; padding: 2px 7px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; color: var(--muted); font: 500 13px/1.35 var(--mono); }
.iconbtn { position: relative; display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; background: rgba(10, 10, 11, .66); color: var(--text); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .12s, background .12s, color .12s; }
.iconbtn:hover { border-color: rgba(255, 255, 255, .36); background: rgba(24, 24, 27, .86); }
.iconbtn--top { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); -webkit-backdrop-filter: none; backdrop-filter: none; }
.iconbtn--plain { border-color: transparent; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.iconbtn--plain:hover { border-color: var(--line-2); background: var(--panel-2); }
.iconbtn[aria-current="page"] { border-color: var(--main); }
.iconbtn .i--done { display: none; }
.iconbtn.is-on { border-color: var(--main); background: var(--main); color: var(--main-ink); }
.iconbtn.is-on:hover { border-color: #ffffff; background: #ffffff; }
.iconbtn.is-on .i--add { display: none; }
.iconbtn.is-on .i--done { display: block; }
.iconbtn[aria-pressed="true"] { border-color: rgba(255, 255, 255, .6); color: var(--main); }
.iconbtn[aria-pressed="true"] .i--heart { fill: var(--main); }
.count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--main); color: var(--main-ink); font: 600 13px/20px var(--body); text-align: center; }
.textbtn { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14.5px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: color .12s, text-decoration-color .12s; }
.textbtn:hover { color: var(--text); text-decoration-color: var(--main); }
.morelink { display: inline-flex; flex: none; align-items: center; gap: 7px; min-height: 44px; color: var(--text); font-size: 15px; font-weight: 500; white-space: nowrap; transition: color .12s; }
.morelink:hover { color: var(--main); }
.morelink .i { width: 16px; height: 16px; }

/* Type bits */
.h1 { font: 650 clamp(35px, 10.9vw, 88px)/1.04 var(--head); letter-spacing: -.032em; }
.h1 span { display: block; }
.h1--page { font-size: clamp(36px, 6vw, 64px); }
.lede { color: var(--muted); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; letter-spacing: -.006em; max-width: 44em; text-wrap: pretty; }
.h2 { font: 620 clamp(24px, 2.4vw, 30px)/1.2 var(--head); letter-spacing: -.02em; }
.link { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color .12s; }
.link:hover { text-decoration-color: var(--main); }

/* Buttons and chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 16px; white-space: nowrap; transition: background .12s; }
.btn:hover { background: #fff; }
.btn--main { background: var(--main); color: var(--main-ink); }
.btn--main:hover { background: #ffffff; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: var(--panel-2); }
.btn[disabled] { background: var(--panel-2); color: var(--muted); border: 1px solid var(--line-2); cursor: not-allowed; }
.btn--block { width: 100%; }
.btn .i { width: 18px; height: 18px; }
.btn.is-on { background: transparent; color: var(--text); border: 1px solid var(--main); }
.btn.is-on:hover { background: rgba(255, 255, 255, .08); }
.btn[aria-pressed="true"] { border-color: rgba(255, 255, 255, .6); }
.btn[aria-pressed="true"] .i { color: var(--main); fill: var(--main); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500; white-space: nowrap; transition: color .12s, border-color .12s, background .12s; }
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { border-color: var(--main); color: var(--text); background: rgba(255, 255, 255, .08); }
.chip__n { color: var(--faint); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.chip[disabled] { opacity: .45; cursor: default; }
.chip--file { min-height: 38px; padding: 0 13px; border-radius: 8px; font: 500 13px/1 var(--mono); }

/* Hero. The glass dashboard from the logo sits behind everything, and the page header floats on it. */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(600px, 50vw, 1300px); margin-top: -69px; padding-top: 69px; overflow: hidden; }
.hero__art { position: absolute; inset: 0; z-index: -2; }
.hero__art img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 100% 52%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10, 10, 11, .78) 24%, rgba(10, 10, 11, .18) 44%, transparent 56%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 10, 11, .5) 5%, transparent 15%); }
.hero__in { padding-block: clamp(36px, 4vw, 64px); }
.h1--hero { font-size: clamp(35px, 5.2vw, 84px); }
.hero .lede { margin-top: clamp(14px, 1.6vw, 22px); max-width: min(27em, 42vw); }
.hero__do { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: clamp(22px, 2.4vw, 30px); }
.facts { margin-top: 16px; max-width: 42vw; color: var(--muted); font-size: 14.5px; text-wrap: balance; }
.shelf { position: relative; margin-top: clamp(4px, 1vw, 16px); }
.shelf__row { margin-top: clamp(10px, 1vw, 16px); }
.shelf__row:not([hidden]) + .shelf__row { margin-top: clamp(26px, 2.8vw, 40px); }
.shelf__head { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 44px; margin-bottom: clamp(10px, 1.1vw, 16px); }
.shelf__end-do { display: flex; align-items: center; gap: 14px; }
.shelf__count { color: var(--muted); font-size: 15px; }
.shelf__head--all .chips { margin-left: auto; }
.few .shelf__head .chip__n, .few .shelf__count { display: none; }
.filters__group.filters__group--one { display: none; }
.shelf__end { display: flex; justify-content: center; margin-top: clamp(22px, 2.4vw, 32px); }
.arrows { display: flex; gap: 2px; }
.strip { --gap: clamp(12px, 1.2vw, 16px); display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--gap) * 2) / 3); gap: var(--gap); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip > .card { scroll-snap-align: start; }
.page-head { padding-block: clamp(36px, 4.6vw, 60px) clamp(22px, 2.6vw, 32px); }
.page-head .lede { margin-top: 12px; }
.page-head .chips { margin-top: 22px; }

/* Cards */
.grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.7vw, 24px); }
.card { position: relative; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s; }
.card:hover { border-color: var(--line-2); }
.card:hover .card__name { color: var(--main); }
.card--wide { grid-column: 1 / -1; }
/* A filtered-out card stays alive and keeps its size. Its demo never gets a zero-size frame. */
.card.is-out { position: absolute; left: -300vw; top: 0; width: 640px; visibility: hidden; }
.card:has(.card__link:focus-visible) { outline: 2px solid var(--main); outline-offset: 2px; }
/* The name is the link, and it stretches over the whole card. The buttons sit above it. */
.card__link { color: inherit; outline: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__end { display: flex; align-items: center; gap: 14px; }
.card__do { position: relative; z-index: 2; display: flex; gap: 6px; }
.card .iconbtn { background: transparent; border-color: var(--line-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
.card .iconbtn:hover { background: var(--panel-2); }
.card .iconbtn.is-on { background: var(--main); border-color: var(--main); }
.card .iconbtn[aria-pressed="true"] { border-color: rgba(255, 255, 255, .6); }
.card__new { color: var(--main); font-weight: 600; }
.card__new::after { content: ""; display: inline-block; width: .55em; }
.tag-new--flat { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 8px; background: rgba(255, 255, 255, .08); color: var(--main); font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #050506; border-bottom: 1px solid var(--line); }
.card--wide .media { aspect-ratio: 16 / 9; }
.media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.media video { opacity: 0; transition: opacity .35s; }
.media video.is-on { opacity: 1; }
.live { position: absolute; left: 0; top: 0; transform-origin: 0 0; opacity: 0; transition: opacity .35s; }
.live.is-on { opacity: 1; }
.live iframe { width: 100%; height: 100%; max-width: none; border: 0; pointer-events: none; background: transparent; }
.card__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3px 20px; padding: 14px 16px 18px 22px; }
.card__name { font: 620 20px/1.3 var(--head); letter-spacing: -.012em; transition: color .12s; }
.card__price { font: 620 19px/1.35 var(--head); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.card__line { grid-column: 1 / -1; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.card__kind { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; margin-top: 6px; color: var(--faint); font-size: 13.5px; }
.card__line { padding-right: 6px; }
/* The New row: same card, smaller, with the picture on the left and the buttons by the price. */
.card--mini { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); min-height: 152px; }
.card--mini .media { aspect-ratio: auto; height: 100%; border-bottom: 0; border-right: 1px solid var(--line); }
.card--mini .card__end { display: contents; }
.card--mini .card__do { position: absolute; bottom: 10px; right: 10px; }
.card--mini .card__body { display: flex; flex-direction: column; gap: 3px; padding: 12px 12px 10px 14px; }
.card--mini .card__name { font-size: 17.5px; }
.card--mini .card__line { order: 1; font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.card--mini .card__price { order: 2; margin-top: auto; padding-top: 4px; font-size: 17px; line-height: 44px; }

.empty { padding: clamp(40px, 7vw, 88px) clamp(20px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); text-align: center; }
.empty p { color: var(--muted); max-width: 32em; margin-inline: auto; }
.empty h2 + p { margin-top: 8px; }
.none__do { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.grid--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--row[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--row[data-count="1"] { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

/* Browse page */
.market { padding-top: clamp(30px, 3.6vw, 48px); }
.market__head { padding-bottom: clamp(16px, 1.8vw, 24px); }
.market__head .h1--page { font-size: clamp(30px, 3.2vw, 44px); }
.market__head .lede { margin-top: 6px; font-size: 16.5px; }
.market__body { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.filters { position: sticky; top: 88px; display: grid; gap: 22px; }
.field { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); color: var(--muted); transition: border-color .12s; }
.field:focus-within { border-color: var(--main); }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--text); font: 400 16px/1.2 var(--body); -webkit-appearance: none; appearance: none; }
.field input::placeholder { color: var(--muted); opacity: 1; }
.field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.filters__label { margin-bottom: 8px; color: var(--faint); font: 500 13.5px/1.3 var(--body); }
.facets { display: grid; gap: 2px; }
.facet { justify-content: space-between; width: 100%; min-height: 40px; padding: 0 12px; border: 1px solid transparent; border-radius: 8px; text-align: left; }
.facet:hover:not([disabled]) { background: var(--panel-2); }
.facet[aria-pressed="true"] { border-color: transparent; background: var(--panel-2); }
.facet[aria-pressed="true"]:not([data-val=""]) { border-color: var(--main); background: rgba(255, 255, 255, .08); }
.facet__name { overflow: hidden; text-overflow: ellipsis; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; min-height: 44px; margin-bottom: clamp(12px, 1.2vw, 16px); }
.bar__count { color: var(--muted); font-size: 15px; }
.sort { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.sort select { height: 44px; padding: 0 34px 0 13px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23a6a6ab' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E") right 11px center / 12px no-repeat; color: var(--text); font: 500 15px/1.2 var(--body); cursor: pointer; -webkit-appearance: none; appearance: none; }
.sort select:hover { border-color: #55555b; }
.grid.is-empty { min-height: 0; }
.market__body.is-bare { grid-template-columns: minmax(0, 1fr); }
.market__body.is-bare .filters, .market__body.is-bare .bar { display: none; }
.market__more { display: flex; justify-content: center; margin-top: clamp(20px, 2.2vw, 28px); }
.market__more:has([hidden]) { margin-top: 0; }

/* Search */
.finder { position: fixed; inset: 0; z-index: 40; display: flex; justify-content: center; align-items: flex-start; padding: clamp(10px, 9vh, 96px) 16px 16px; }
.finder__back { position: absolute; inset: 0; background: rgba(5, 5, 6, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.finder__panel { position: relative; display: flex; flex-direction: column; width: min(680px, 100%); max-height: 100%; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); overflow: hidden; }
.finder__bar { display: flex; flex: none; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.finder__bar input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: none; color: var(--text); font: 400 17px/1.2 var(--body); -webkit-appearance: none; appearance: none; }
.finder__bar input::placeholder { color: var(--muted); opacity: 1; }
.finder__bar input::-webkit-search-cancel-button { -webkit-appearance: none; }
.finder__list { flex: 1 1 auto; min-height: 0; padding: 4px 8px 10px; overflow-y: auto; overscroll-behavior: contain; }
.finder__label { padding: 12px 10px 5px; color: var(--faint); font-size: 13.5px; font-weight: 500; }
.finder__hint { flex: none; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; }
.finder__hint kbd { margin-right: 5px; padding: 1px 6px; border: 1px solid var(--line-2); border-radius: 5px; color: var(--muted); font: 500 13px/1.3 var(--mono); }
.finder__hint kbd + kbd { margin-left: -1px; }
.finder__none { padding: 28px 12px 24px; text-align: center; color: var(--muted); }
.finder__none-title { color: var(--text); font: 620 19px/1.3 var(--head); letter-spacing: -.01em; overflow-wrap: anywhere; }
.finder__none p + p { margin-top: 6px; }
.finder__do { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.row { display: flex; align-items: center; gap: 13px; min-height: 48px; padding: 7px 10px; border-radius: 9px; color: var(--text); }
.row:hover, .row.is-active { background: var(--panel-2); }
.row.is-active { box-shadow: inset 0 0 0 1px var(--line-2); }
.row__thumb { flex: none; width: 74px; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: 6px; background: #050506; overflow: hidden; }
.row__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.row__text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.row__name { font-weight: 600; font-size: 15.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.row__line { color: var(--muted); font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.row__end { flex: none; color: var(--muted); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.row--link .row__name { font-weight: 500; }
.row--all { margin-top: 6px; }
.row--all .row__name { font-weight: 500; }
.row--all .i { width: 16px; height: 16px; }
.row mark { background: none; color: var(--main); }

/* Cart */
.drawer { position: fixed; inset: 0; z-index: 40; }
.drawer__back { position: absolute; inset: 0; background: rgba(5, 5, 6, .66); opacity: 0; transition: opacity .2s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(460px, 100%); border-left: 1px solid var(--line-2); background: var(--panel); outline: 0; transform: translateX(102%); transition: transform .24s cubic-bezier(.2, .8, .2, 1); }
.drawer.is-in .drawer__back { opacity: 1; }
.drawer.is-in .drawer__panel { transform: none; }
.drawer__head { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding: 8px 12px 8px 22px; border-bottom: 1px solid var(--line); }
.drawer__title { font: 620 21px/1.2 var(--head); letter-spacing: -.015em; }
.drawer__items { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.drawer__none { display: grid; justify-items: center; gap: 6px; padding: 56px 24px; text-align: center; color: var(--muted); }
.drawer__none-title { color: var(--text); font: 620 20px/1.3 var(--head); letter-spacing: -.01em; }
.drawer__none .btn { margin-top: 12px; }
.items { padding: 0 22px; }
.item { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.item__thumb { display: block; align-self: start; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: 8px; background: #050506; overflow: hidden; }
.item__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.item__name { font: 620 17px/1.3 var(--head); letter-spacing: -.01em; transition: color .12s; }
.item__name:hover { color: var(--main); }
.item__line { margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.item .textbtn { min-height: 44px; margin-bottom: -10px; font-size: 14px; }
.item__price { font: 620 17px/1.3 var(--head); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.drawer__foot { flex: none; display: grid; gap: 10px; padding: 16px 22px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.drawer__foot[hidden] { display: none; }
.drawer__sum { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 16px; color: var(--muted); }
.drawer__sum strong { color: var(--text); font: 650 24px/1.2 var(--head); letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.drawer__pay { display: grid; gap: 8px; }
.drawer__note { color: var(--faint); font-size: 13.5px; line-height: 1.45; }
html.is-held { overflow: hidden; }
html.is-held body { padding-right: var(--bar, 0); }

/* The note after adding */
.toast { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px); padding: 8px 8px 8px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel-2); box-shadow: 0 16px 44px rgba(0, 0, 0, .5); font-size: 15px; font-weight: 500; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .16s, transform .16s, visibility .16s; }
.toast.is-in { opacity: 1; visibility: visible; transform: none; }
.toast__do { display: inline-flex; flex: none; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 9px; background: var(--text); color: var(--bg); font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.toast__do:hover { background: #fff; }
.has-pd-bar--in .toast { bottom: 84px; }
@media (prefers-reduced-motion: reduce) {
  .drawer__panel, .drawer__back, .toast { transition: none; }
}

/* Product page */
.crumb { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; color: var(--faint); font-size: 14.5px; }
.crumb a { display: inline-flex; align-items: center; min-height: 28px; color: var(--muted); }
.crumb a:hover { color: var(--text); }
.crumb span { display: inline-flex; align-items: center; min-height: 28px; }
.pd-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 48px; padding-block: 18px clamp(22px, 2.6vw, 32px); }
.pd-head .lede { margin-top: 10px; }
.pd-title { min-width: 0; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; max-width: 760px; }
.tag { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; transition: color .12s, border-color .12s; }
.tag:hover { color: var(--text); border-color: #55555b; }
.pd-buy { display: grid; gap: 10px; width: 360px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.pd-buy__price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 2px 2px 4px; }
.pd-buy__do { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.pd-price { font: 650 clamp(30px, 3vw, 38px)/1 var(--head); letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.pd-note { color: var(--faint); font-size: 14px; }
.pd-bar { display: none; }

.demo { position: relative; width: 100%; aspect-ratio: 16 / 10; max-height: 84vh; min-height: 420px; overflow: hidden; background: #050506; border: 1px solid var(--line); border-radius: var(--radius); }
.demo .live { opacity: 1; }
.demo .live iframe { pointer-events: auto; }
.demo.is-covered .live iframe { pointer-events: none; }
.demo__cover { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; justify-content: center; padding: 18px; width: 100%; }
.demo__cover:focus-visible { outline-offset: -3px; }
.demo__cover span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 15px; box-shadow: 0 8px 28px rgba(0, 0, 0, .45); transition: opacity .14s; }
@media (hover: hover) {
  .demo__cover span { opacity: 0; }
  .demo__cover:hover span, .demo__cover:focus-visible span { opacity: 1; }
}
.demo-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-top: 10px; color: var(--faint); font-size: 14.5px; }
.demo-foot a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--text); font-weight: 500; }
.demo-foot a:hover { color: var(--main); }
.demo-foot svg { width: 13px; height: 13px; }

.sec { padding-top: clamp(44px, 5.4vw, 76px); }
.sec > .h2 { margin-bottom: clamp(16px, 1.8vw, 24px); }
.sec__sub { color: var(--muted); margin: -10px 0 18px; }
.about { display: grid; gap: 12px; max-width: 50em; color: var(--muted); font-size: clamp(16px, 1.2vw, 17.5px); line-height: 1.55; text-wrap: pretty; }
.folder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px); align-items: start; }
.folder--clip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(220px, 300px); }
.rows { border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rows dt { color: var(--muted); }
.rows dd { font-weight: 500; }
.files { border-top: 1px solid var(--line); }
.files li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.files code { font: 500 14px/1.5 var(--mono); overflow-wrap: anywhere; }
.files small { color: var(--faint); font: 400 13px/1.6 var(--mono); white-space: nowrap; }
.files em { grid-column: 1 / -1; color: var(--muted); font-style: normal; font-size: 14.5px; }
.clip { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #050506; }
.clip video { width: 100%; height: auto; }

.code { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.code__tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; border-bottom: 1px solid var(--line); }
.code pre { max-height: 560px; overflow: auto; padding: 16px 0; font: 400 13px/1.65 var(--mono); tab-size: 2; color: #d9d9d6; }
.code code { display: block; width: max-content; min-width: 100%; }
.code .ln { display: block; padding: 0 20px 0 0; white-space: pre; }
.code .ln::before { content: attr(data-n); display: inline-block; width: 3.4em; margin-right: 1.2em; text-align: right; color: #55555b; user-select: none; -webkit-user-select: none; }
.code .c { color: #77777d; }
.code .s { color: #ff9dec; }
.code .k { color: #ff54e1; }
.code .n { color: #f4f4f2; font-weight: 500; }
.code__note { padding: 11px 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }

.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 58px; padding: 14px 0; font: 600 17px/1.35 var(--body); letter-spacing: -.005em; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 12px; height: 2px; border-radius: 1px; background: var(--faint); box-shadow: none; }
.qa details:not([open]) summary::after { background: linear-gradient(var(--faint), var(--faint)) center / 100% 2px no-repeat, linear-gradient(var(--faint), var(--faint)) center / 2px 100% no-repeat; height: 12px; }
.qa details[open] summary::after { background: var(--main); }
.qa div { padding: 0 0 20px; max-width: 46em; color: var(--muted); }
.qa div a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.qa--page { max-width: 880px; }

/* Plain text pages */
.doc { max-width: 760px; padding-bottom: 12px; }
.doc .doc__draft { margin-top: 14px; color: var(--main); font-weight: 600; }
.doc h2 { margin-top: 30px; font: 620 19px/1.3 var(--head); letter-spacing: -.01em; }
.doc p { margin-top: 6px; color: var(--muted); }
.doc .lede { margin-top: 12px; }

/* Footer */
.foot { margin-top: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; padding-block: 32px 36px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 22px; justify-content: flex-end; }
.foot__links a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--muted); font-size: 15px; }
.foot__links a:hover { color: var(--text); }
.foot p { color: var(--faint); font-size: 14.5px; }
.foot__base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.foot__base a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.ph { color: var(--muted); }

@media (min-width: 721px) {
  .market__main .card--wide .media { aspect-ratio: 2 / 1; }
}
@media (max-width: 1180px) {
  .strip { grid-auto-columns: minmax(320px, 46%); }
  .searchbox__key { display: none; }
}
@media (max-width: 960px) {
  .searchbox { width: 44px; padding: 0; justify-content: center; }
  .searchbox__text, .searchbox__key { display: none; }
}
@media (max-width: 1000px) {
  .market__body { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .filters { position: static; gap: 12px; }
  .filters__group { display: flex; align-items: center; gap: 10px; min-width: 0; }
  .filters__label { flex: none; width: 66px; margin: 0; }
  .facets { display: flex; gap: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .facets::-webkit-scrollbar { display: none; }
  .facet { flex: none; width: auto; min-height: 44px; padding: 0 14px; border-color: var(--line-2); border-radius: 999px; }
  .facet[aria-pressed="true"] { border-color: var(--line-2); }
  .pd-head { align-items: start; }
  .grid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .folder, .folder--clip { grid-template-columns: minmax(0, 1fr); }
  .clip { max-width: 300px; }
}
@media (max-width: 720px) {
  /* The bar with the search and icons stays on screen. The links under it scroll away. */
  .top { background: rgba(10, 10, 11, .86); }
  .top__in { min-height: 60px; }
  .nav { display: none; }
  .subnav { display: block; border-bottom: 1px solid var(--line); }
  .tools { gap: 0; margin-right: -8px; }
  .searchbox, .iconbtn--top { border-color: transparent; background: none; }
  .count { top: 1px; right: 1px; }
  .hero { display: block; min-height: 0; margin-top: 0; padding-top: 0; }
  .hero__art { inset: auto 0 0 0; height: 100vw; }
  .hero__art img { object-position: 50% 50%; }
  .hero::after { background: linear-gradient(180deg, var(--bg) calc(100% - 100vw), rgba(10, 10, 11, 0) calc(100% - 84vw), rgba(10, 10, 11, 0) calc(100% - 22vw), var(--bg) 100%); }
  .hero__in { padding-block: 24px 86vw; }
  .shelf__head--all { display: block; }
  .shelf__head--all .chips { margin: 8px calc(var(--gutter) * -1) 0; width: calc(100% + var(--gutter) * 2); padding-inline: var(--gutter); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .shelf__head--all .chips::-webkit-scrollbar { display: none; }
  .hero .lede, .facts { max-width: none; }
  .hero__do .btn { width: 100%; }
  /* One row of chips that slides sideways, edge to edge. The page itself never scrolls sideways. */
  .shelf__head .chips, .page-head .chips { flex-wrap: nowrap; width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .shelf__head .chips::-webkit-scrollbar, .page-head .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .card--mini { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); }
  .strip { grid-auto-columns: min(92%, 340px); width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .arrows { display: none; }
  .grid, .grid--row, .grid--row[data-count] { grid-template-columns: minmax(0, 1fr); }
  .market { padding-top: 18px; }
  .market__head .lede { display: none; }
  .market__head { padding-bottom: 12px; }
  .filters { gap: 8px; }
  .filters__group { display: block; }
  .filters__label { display: none; }
  .facets { width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .bar__count { flex: 1; }
  .sort span { display: none; }
  .finder { padding: 8px; }
  .finder__hint { display: none; }
  .row__thumb { width: 62px; }
  .drawer__panel { width: 100%; border-left: 0; }
  .item { grid-template-columns: 84px minmax(0, 1fr) auto; }
  .toast { left: 12px; right: 12px; bottom: 12px; max-width: none; justify-content: space-between; }
  .has-pd-bar--in .toast { bottom: 78px; }
  .pd-buy { width: 100%; padding: 14px; }
  .pd-tags { flex-wrap: nowrap; width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .pd-tags::-webkit-scrollbar { display: none; }
  .tag { flex: none; min-height: 44px; }
  .searchbox { color: var(--text); }
  .chip--file { min-height: 44px; }
  .pd-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-2); background: var(--panel); transform: translateY(110%); visibility: hidden; transition: transform .2s, visibility .2s; }
  .pd-bar.is-in { transform: none; visibility: visible; }
  .pd-bar__text { display: grid; min-width: 0; }
  .pd-bar__text strong { font: 620 16px/1.25 var(--head); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .pd-bar__text span { color: var(--muted); font-size: 14.5px; }
  .pd-bar__add { flex: none; min-height: 48px; padding: 0 16px; }
  .has-pd-bar .foot { padding-bottom: 72px; }
  .card--wide .media { aspect-ratio: 16 / 10; }
  .card__body { padding: 11px 10px 15px 16px; }
  .pd-head { grid-template-columns: minmax(0, 1fr); align-items: start; padding-top: 6px; }
  .crumb { padding-top: 8px; }
  .crumb a, .crumb span { min-height: 44px; }
  .crumb a { min-width: 44px; }
  .item__name { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .demo { aspect-ratio: auto; height: min(78vh, 680px); min-height: 480px; }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
  .foot__links { justify-content: flex-start; }
}
@media (max-width: 360px) {
  .top__in { gap: 4px; }
  .brand { gap: 6px; }
  .brand__mark { width: 40px; height: 29px; }
  .word { font-size: 17px; }
  .subnav a { padding: 0 9px; font-size: 14px; }
}
