@font-face {
  font-family: Manrope;
  src: url('assets/fonts/manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: Caveat;
  src: url('assets/fonts/caveat-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #f3f3ef;
  --ink: #191716;
  --muted: #554d46;
  --accent: #4f24d6;
  --accent-bright: #6236ff;
  --line: #bdb4ac;
  --line-strong: #8b8178;
  --surface: #ffffff;
  --soft: #eeebe7;
  --peach: #efeaff;
  --radius: 0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, 'Segoe UI', sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
button, a, input { touch-action: manipulation; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 4px;
}
[hidden] { display: none !important; }
::selection { background: #ddd2ff; color: var(--ink); }
.wrap { width: min(calc(100% - 80px), 1240px); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
}
.header { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-size: 24px; font-weight: 800; letter-spacing: -.8px; white-space: nowrap; }
.brand img { flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.header nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; }
.header nav a { color: var(--ink); }
.nav-browse { position: relative; padding-block: 12px; }
.nav-browse[aria-current='page'] { color: var(--accent); }
.nav-browse[aria-current='page']::after { content: ''; position: absolute; inset: auto 0 2px; height: 2px; background: var(--accent-bright); }
.github { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius); transition: border-color 180ms, box-shadow 180ms; }
.github:hover { text-decoration: none; border-color: var(--accent); background: var(--peach); }
.github svg { width: 19px; height: 19px; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 28px; align-items: center; padding: 36px 0 26px; }
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 -38px -30px;
  background: linear-gradient(#e8e4e052 1px,transparent 1px), linear-gradient(90deg,#e8e4e052 1px,transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(transparent,#000 18%,#000 62%,transparent);
  pointer-events: none;
}
.hero h1 { margin: 0; font-size: clamp(44px,4.65vw,68px); font-weight: 780; line-height: 1.1; letter-spacing: -2.9px; }
.hero p { max-width: 760px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-sketch { position: relative; width: 340px; height: 270px; }
.hero-sketch > img { display: block; width: 100%; height: 100%; }
.sketch-note { position: absolute; left: 222px; top: 93px; width: 136px; white-space: nowrap; color: var(--accent); font-family: Caveat, cursive; font-weight: 500; font-size: 26px; line-height: 1.05; transform: rotate(-6deg); }
.controls { display: flex; gap: 20px; align-items: center; margin: 0 0 24px; }
.search { display: flex; align-items: center; gap: 15px; min-width: 0; flex: 1; height: 56px; padding: 0 18px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: none; }
.search svg { width: 22px; height: 22px; flex-shrink: 0; stroke: var(--muted); stroke-width: 1.7; }
.search input { width: 100%; min-width: 0; height: 100%; border: none; background: none; color: var(--ink); font-size: 16px; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input:focus { outline: none; }
.search:focus-within { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
.categories { display: flex; flex-wrap: wrap; gap: 10px; }
.categories button { height: 48px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 650; transition: color 160ms, background 160ms, border-color 160ms; }
.categories button:hover { border-color: var(--accent); background: var(--peach); }
.categories button[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: none; }
#listings { display: grid; gap: 10px; }
.listing { display: grid; grid-template-columns: 80px minmax(0,1fr) 164px; gap: 20px; align-items: center; padding: 18px 20px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); transition: border-color 180ms, background 180ms; }
.listing:hover, .listing:focus-within { border-color: var(--accent); background: #fbfaff; }
.thumb { position: relative; width: 80px; height: 80px; border-radius: var(--radius); overflow: hidden; background: var(--peach); }
.thumb img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; background: var(--surface); }
.tool-initials { display: grid; place-items: center; width: 100%; height: 100%; font-size: 26px; font-weight: 800; color: var(--accent); }
.type-filter select { min-height: 56px; max-width: 100%; padding: 0 30px 0 12px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); font: inherit; }
.type-filter select:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; }
.listing-action { display: grid; gap: 3px; }
.listing h2 { margin: 0 0 6px; font-size: 21px; line-height: 1.22; letter-spacing: -.85px; font-weight: 780; }
.listing h2 a { color: var(--ink); }
.listing p { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.labels { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.label { padding: 4px 9px; border: 1px solid var(--line); border-radius: var(--radius); background: #e9e5e1; color: #403932; font-size: 11px; line-height: 1.45; font-weight: 650; }
.label.category { color: #3d1ab0; border-color: #b9a6f5; background: var(--peach); }
.label.boost { color: #79400c; border-color: #c9aa7b; background: #fff1d8; }
.listing-action { justify-self: end; }
.listing-action a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 14px; font-weight: 720; }
.listing-action span { display: flex; align-items: center; gap: 6px; margin-top: 1px; color: var(--muted); font-size: 12px; }
.footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 25px 32px; margin-top: 28px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); line-height: 1.6; }
.footer p { margin: 0; }
.footer div { display: flex; flex-wrap: wrap; gap: 24px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--accent); }
.empty, .loading { padding: 30px 0 60px; color: var(--muted); }
.skip { position: fixed; top: -100px; left: 20px; z-index: 30; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.skip:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.back { display: inline-block; margin: 28px 0 28px; font-size: 14px; font-weight: 600; }
.detail-head { padding-bottom: 27px; border-bottom: 1px solid var(--line); }
.detail-head h1 { margin: 0 0 14px; font-size: clamp(34px,4vw,54px); line-height: 1.14; letter-spacing: -2px; font-weight: 780; }
.detail-head p { margin: 0 0 20px; font-size: 19px; color: var(--muted); line-height: 1.6; }
.detail-head .label { font-size: 12px; padding: 6px 12px; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); gap: 48px; padding: 32px 0 24px; }
.detail-grid h2 { margin: 0 0 22px; font-size: 27px; line-height: 1.3; font-weight: 780; letter-spacing: -.8px; }
.detail-grid h3 { margin: 0 0 9px; font-size: 18px; font-weight: 730; line-height: 1.4; }
.detail-grid p, .detail-grid li { color: var(--muted); font-size: 15px; line-height: 1.75; }
.detail-grid p { margin: 0 0 15px; }
.install-steps { padding: 0; margin-top: 26px; list-style: none; counter-reset: steps; }
.install-steps > li { position: relative; padding-left: 46px; margin-bottom: 30px; counter-increment: steps; }
.install-steps > li::before { content: counter(steps); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; background: var(--accent); color: #fff; border-radius: var(--radius); font-size: 15px; font-weight: 720; }
.install-steps > li h3 { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin: 18px 0 20px; font-size: 14px; font-weight: 650; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: var(--radius); font-size: 14px; font-weight: 720; transition: background 160ms, box-shadow 160ms; }
.button:hover { background: #3c17b3; text-decoration: none; }
.codebox { position: relative; padding: 18px 17px 48px; margin: 17px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.codebox pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); font: 12px/1.85 'JetBrains Mono', Consolas, monospace; }
.copy { position: absolute; bottom: 10px; right: 10px; padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: 11px; font-weight: 650; transition: border-color 160ms; }
.copy:hover { border-color: var(--accent); }
.manual { padding-top: 23px; margin-top: 14px; border-top: 1px solid var(--line); }
.manual ul, .notes ul { padding-left: 18px; }
.manual li, .notes li { margin-bottom: 8px; }
.detail-aside { border-left: 1px solid var(--line); padding-left: 28px; }
.inside { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.inside div { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); font-size: 12px; line-height: 1.5; }
.inside strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 25px; font-weight: 750; }
.aside-section { border-top: 1px solid var(--line); padding-top: 21px; margin-top: 22px; }
.badge-offer { position: relative; padding: 22px 20px; margin-top: 26px; border: 1px solid #b9a6f5; border-radius: var(--radius); background: var(--peach); }
.badge-offer p { font-size: 13px; }
.badge-art { position: relative; width: 100%; min-height: 92px; display: flex; align-items: flex-end; padding-bottom: 9px; margin-top: 5px; }
.badge-art > img { max-width: 100%; height: 28px; }
.badge-note { position: absolute; top: 2px; left: 0; width: max-content; white-space: nowrap; color: var(--accent); font: 500 25px/.95 Caveat, cursive; transform: rotate(-5deg); }
.badge-pointer { position: absolute; width: 59px; height: 54px; top: 2px; left: 176px; }
.badge-art > .badge-pointer { height: 54px; }
.badge-offer .codebox { margin-top: 13px; background: rgba(255,255,255,.68); }
.badge-offer .codebox pre { font-size: 10px; }
.badge-offer > a { display: inline-block; margin-top: 12px; font-size: 12px; }
.review-link { font-size: 13px; }
.version-line { font-size: 12px !important; }
.error { padding: 28px 0 60px; }
main:focus { outline: none; }
.submission-callout { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 40px; align-items: center; margin-top: 46px; padding: 32px 0; border-block: 1px solid var(--line); }
.welcome-label { margin: 0 0 12px; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .04em; }
.submission-callout h2 { margin: 0 0 12px; font-size: 30px; letter-spacing: -1px; line-height: 1.25; }
.submission-callout p:not(.welcome-label) { max-width: 750px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.submission-callout p.submission-note { margin-top: 11px; font-size: 12px; }
.submission-action { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.welcome-hand { color: var(--accent); font: 500 25px/1.1 Caveat, cursive; transform: rotate(-4deg); }
.library-intro { max-width: 900px; padding-block: 30px 14px; }
.library-intro h2 { margin: 0 0 14px; font-size: 23px; letter-spacing: -.65px; }
.library-intro p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.no-js-note { margin-bottom: 20px; font-size: 14px; color: var(--muted); }
button:disabled, input:disabled { cursor: default; }
.guide-head { max-width: 870px; padding-bottom: 30px; }
.guide-head h1, .about-content h1 { margin: 0 0 22px; font-size: clamp(35px,4.2vw,58px); font-weight: 780; letter-spacing: -2px; line-height: 1.15; }
.guide-head > p:not(.welcome-label), .guide-lead { color: var(--muted); font-size: 18px; line-height: 1.8; }
.guide-head > p:not(.welcome-label) { margin: 10px 0; }
.guide-head .actions { margin-bottom: 0; }
.guide-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 64px; border-top: 1px solid var(--line); padding-block: 35px 22px; }
.submit-steps { list-style: none; counter-reset: submission; margin: 0; padding: 0; }
.submit-steps > li { position: relative; padding: 0 0 30px 48px; counter-increment: submission; }
.submit-steps > li::before { content: counter(submission); position: absolute; inset: 0 auto auto 0; display: grid; place-items: center; width: 31px; height: 31px; border-radius: var(--radius); background: var(--accent); color: #fff; font-size: 14px; font-weight: 750; }
.guide-grid h2, .faq-section h2 { margin: 0 0 14px; color: var(--ink); font-size: 25px; line-height: 1.4; letter-spacing: -.7px; }
.guide-grid h3 { margin: 25px 0 10px; font-size: 18px; }
.guide-grid p, .guide-grid li, .faq-list p, .about-content > p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.guide-grid p { margin: 0 0 15px; }
.guide-checklist { padding-top: 25px; border-top: 1px solid var(--line); }
.guide-checklist ul { padding-left: 20px; }
.guide-checklist li { margin-block: 9px; }
.submission-aside { padding-left: 28px; border-left: 1px solid var(--line); }
.submission-aside > a { font-size: 13px; }
.faq-section { padding-top: 28px; margin-bottom: 32px; border-top: 1px solid var(--line); }
.faq-list { margin-top: 20px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 19px 0; font-size: 15px; font-weight: 700; cursor: pointer; line-height: 1.6; }
.faq-list summary:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 4px; }
.faq-list summary::marker { color: var(--accent); }
.faq-list p { max-width: 850px; margin: 0 0 20px; }
.about-content { max-width: 920px; padding-bottom: 25px; }
.about-content h2 { margin: 33px 0 14px; font-size: 25px; letter-spacing: -.6px; line-height: 1.4; }
.about-content > p { margin: 0 0 17px; }
.about-content > p.guide-lead { font-size: 19px; }
@media (max-width:1100px) {
  .wrap { width: calc(100% - 56px); }
  .hero::before { inset-inline: -28px; }
  .hero { grid-template-columns: minmax(0,1fr) 280px; gap: 16px; padding-top: 42px; }
  .hero h1 { letter-spacing: -2.3px; }
  .hero-sketch { width: 280px; height: 223px; }
  .sketch-note { left: 188px; top: 78px; width: 116px; font-size: 23px; }
  .controls { flex-wrap: wrap; gap: 14px; }
  .search { flex-basis: 100%; }
  .listing { grid-template-columns: 72px minmax(0,1fr) 140px; gap: 18px; padding: 17px; }
  .thumb { width: 72px; height: 72px; }
  .listing h2 { font-size: 20px; }
  .listing p { font-size: 14px; }
  .listing-action a { font-size: 14px; }
  .detail-grid { gap: 30px; }
  .detail-aside { padding-left: 24px; }
  .inside div { padding: 12px; }
  .footer { flex-wrap: wrap; }
}
@media (max-width:850px) {
  .hero { grid-template-columns: minmax(0,1fr); padding: 42px 0 32px; }
  .hero h1 { font-size: 53px; }
  .hero p { max-width: 650px; font-size: 17px; }
  .hero-sketch { display: none; }
  .brand { font-size: 21px; }
  .brand img { width: 40px; }
  .header nav { gap: 21px; font-size: 13px; }
  .listing { grid-template-columns: 68px minmax(0,1fr); gap: 10px 16px; }
  .thumb { width: 68px; height: 68px; grid-row: span 2; align-self: start; }
  .listing-action { grid-column: 2; justify-self: start; }
  .listing-action span { display: none; }
  .detail-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .detail-aside { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .inside { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .badge-offer { max-width: 560px; }
  .submission-callout { gap: 24px; }
  .guide-grid { gap: 32px; }
}
@media (max-width:600px) {
  .wrap { width: calc(100% - 40px); }
  html { scroll-padding-top: 130px; }
  .header { height: auto; padding-block: 17px 14px; flex-wrap: wrap; gap: 12px; }
  .brand { font-size: 23px; gap: 9px; }
  .brand img { width: 42px; height: 37px; }
  .header nav { width: 100%; gap: 16px; justify-content: space-between; font-size: 12px; }
  .github { padding: 8px 11px; gap: 6px; }
  .github svg { width: 16px; height: 16px; }
  .hero { padding-block: 33px 28px; }
  .hero::before { inset-inline: -20px; background-size: 48px 48px; }
  .hero h1 { font-size: 39px; line-height: 1.13; letter-spacing: -1.6px; }
  .hero p { margin-top: 18px; font-size: 15px; line-height: 1.75; }
  .search { height: 52px; padding-inline: 14px; }
  .search input { font-size: 14px; }
  .categories { gap: 8px; }
  .categories button { height: 44px; padding-inline: 14px; font-size: 12px; }
  .controls { margin-bottom: 20px; }
  #listings { gap: 12px; }
  .listing { grid-template-columns: 58px minmax(0,1fr); gap: 8px 12px; padding: 16px 14px; border-radius: var(--radius); }
  .thumb { width: 58px; height: 58px; border-radius: var(--radius); }
  .listing h2 { font-size: 19px; line-height: 1.25; letter-spacing: -.6px; }
  .listing p { font-size: 13px; margin-bottom: 9px; line-height: 1.6; }
  .label { font-size: 11px; padding: 4px 8px; }
  .listing-action a { font-size: 13px; }
  .footer { margin-top: 24px; padding-block: 22px 28px; gap: 14px; font-size: 11px; }
  .footer div { gap: 16px; }
  .back { margin-block: 22px 25px; font-size: 13px; }
  .detail-head h1 { font-size: 34px; letter-spacing: -1.3px; }
  .detail-head p { font-size: 16px; }
  .detail-head .label { font-size: 10px; padding: 5px 9px; }
  .detail-grid { padding-top: 26px; gap: 24px; }
  .detail-grid h2 { font-size: 25px; }
  .detail-grid h3 { font-size: 17px; }
  .detail-grid p, .detail-grid li { font-size: 14px; }
  .install-steps > li { padding-left: 39px; }
  .install-steps > li::before { width: 27px; height: 27px; font-size: 13px; }
  .actions { font-size: 12px; gap: 14px; }
  .button { padding: 12px 16px; font-size: 12px; }
  .codebox { padding: 15px 13px 47px; }
  .codebox pre { font-size: 10px; }
  .inside { grid-template-columns: 1fr 1fr; }
  .badge-offer { padding: 20px 17px; }
  .submission-callout { grid-template-columns: minmax(0,1fr); margin-top: 30px; padding-block: 26px; gap: 24px; }
  .submission-callout h2 { font-size: 26px; }
  .submission-callout p:not(.welcome-label) { font-size: 14px; }
  .submission-action { align-items: flex-start; gap: 12px; }
  .library-intro { padding-block: 28px 5px; }
  .guide-head h1, .about-content h1 { font-size: 35px; letter-spacing: -1.4px; }
  .guide-head > p:not(.welcome-label), .about-content > p.guide-lead { font-size: 16px; }
  .guide-head { padding-bottom: 27px; }
  .guide-grid { grid-template-columns: minmax(0,1fr); gap: 25px; padding-top: 28px; }
  .guide-grid h2, .faq-section h2, .about-content h2 { font-size: 23px; }
  .guide-grid p, .guide-grid li, .faq-list p, .about-content > p { font-size: 14px; }
  .submit-steps > li { padding-left: 42px; }
  .submit-steps > li::before { width: 28px; height: 28px; font-size: 13px; }
  .submission-aside { padding: 25px 0 0; border-left: none; border-top: 1px solid var(--line); }
  .faq-list summary { font-size: 14px; }
}
@media (max-width:360px) {
  .hero h1 { font-size: 34px; letter-spacing: -1.3px; }
  .listing { grid-template-columns: 50px minmax(0,1fr); gap: 8px 11px; padding: 16px 12px; }
  .thumb { width: 50px; height: 50px; }
  .listing h2 { font-size: 18px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.icon { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.search .icon { fill: var(--muted); stroke: none; }
.listing-action span .icon { width: 15px; height: 15px; }

@media (max-width:850px) { .listing-action { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; } }
:where([data-account-page]) { margin: 56px 0 80px; }
.account-shell { max-width: 620px; margin: 64px auto; }
.account-shell h1 { font-size: clamp(28px,5vw,42px); }
.account-top { display:flex; justify-content:space-between; align-items:center; gap:24px; }
.workspace-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.45fr); gap:64px; margin:40px 0; align-items:start; }
:where([data-account-page]) form { display:grid; gap:18px; }
:where([data-account-page]) label { display:grid; gap:7px; font-weight:600; font-size:14px; }
:where([data-account-page]) label small { font-weight:400; color:#5c605f; }
:where([data-account-page]) input:not([type=checkbox]), :where([data-account-page]) textarea, :where([data-account-page]) select { width:100%; min-width:0; box-sizing:border-box; padding:12px 14px; border:1px solid #cbd2cf; border-radius:8px; background:#fff; color:#202422; font:inherit; }
:where([data-account-page]) textarea { resize:vertical; }
:where([data-account-page]) button { cursor:pointer; padding:11px 16px; border:1px solid #bac3be; border-radius:8px; background:#fff; color:#202422; font:inherit; font-size:14px; }
:where([data-account-page]) .button { background:#252727; color:white; border-color:#252727; }
:where([data-account-page]) .check { display:flex; align-items:flex-start; gap:10px; font-weight:400; }
:where([data-account-page]) input[type=checkbox] { margin-top:4px; }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.submission-row { padding:20px 0; border-bottom:1px solid #d9dedb; overflow-wrap:anywhere; }
.submission-row button { margin:8px 10px 0 0; }
.preserve-lines { white-space:pre-wrap; overflow-wrap:anywhere; }
.people-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:24px; margin:40px 0; }
.people-grid article { padding:24px; border:1px solid #d9dedb; border-radius:12px; }
.public-profile { margin:60px 0; max-width:900px; overflow-wrap:anywhere; }
.profile-avatar { border-radius:50%; object-fit:cover; }
#account-status { min-height:24px; color:#385a45; }
#account-status.error { color:#a02c20; }
input:focus-visible,textarea:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible { outline:3px solid var(--accent-bright); outline-offset:3px; }
@media(max-width:800px) { .workspace-grid { grid-template-columns:1fr; gap:36px; } .site-header nav { flex-wrap:wrap; gap:12px; } .header { align-items:flex-start; } .account-top { align-items:flex-start; } }
@media(max-width:440px) { .field-row { grid-template-columns:1fr; } .site-header .github { display:none; } }

.social-sign-in:not([hidden]) { display: grid; gap: 10px; margin: 24px 0; }
/* Compact catalog discovery. Keep complete text in HTML for crawlers. */
[data-page='home'] .hero { grid-template-columns:minmax(0,1fr) 230px; padding:28px 0 20px; gap:24px; }
[data-page='home'] .hero h1 { font-size:clamp(34px,3.5vw,48px); letter-spacing:-1.8px; }
[data-page='home'] .hero p { margin-top:14px; font-size:16px; line-height:1.6; max-width:740px; }
[data-page='home'] .hero-sketch { width:230px; height:180px; }
[data-page='home'] .sketch-note { left:150px; top:65px; font-size:19px; width:90px; }
[data-page='home'] .controls { margin-bottom:12px; gap:12px; }
.browse-toolbar { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.browse-toolbar .categories { gap:8px; }
.browse-toolbar .categories button { height:40px; padding:0 14px; }
.sort-filter { display:flex; align-items:center; gap:10px; font-size:13px; white-space:nowrap; }
.sort-filter select { font:inherit; min-height:44px; padding:0 30px 0 12px; background:var(--surface); color:var(--ink); border:1px solid var(--line-strong); }
select:focus-visible { outline:3px solid var(--accent-bright); outline-offset:3px; }
.sort-help { margin:8px 0 16px; font-size:12px; color:var(--muted); }
#listings { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
#listings .listing { grid-template-columns:44px minmax(0,1fr); grid-template-rows:auto 1fr auto auto; align-items:start; gap:10px 12px; padding:16px; min-width:0; }
#listings .thumb { width:44px; height:44px; grid-row:1; align-self:start; }
#listings .tool-initials { font-size:18px; }
#listings .listing-body { display:contents; }
#listings h2 { grid-column:2; margin:0; align-self:center; font-size:17px; line-height:1.3; letter-spacing:-.5px; overflow-wrap:anywhere; }
#listings .listing p { grid-column:1 / -1; margin:0; font-size:13px; line-height:1.55; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
#listings .labels { grid-column:1 / -1; gap:5px; }
#listings .label { padding:2px 6px; font-size:10px; }
#listings .listing-action { grid-column:1 / -1; justify-self:stretch; display:flex; justify-content:space-between; gap:12px; border-top:1px solid var(--soft); padding-top:4px; }
#listings .listing-action a { min-height:36px; font-size:12px; }
@media(max-width:1050px) { #listings { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:850px) { [data-page='home'] .hero { grid-template-columns:minmax(0,1fr); padding-top:26px; } }
@media(max-width:600px) {
  #listings { grid-template-columns:minmax(0,1fr); gap:10px; }
  #listings .listing { padding:14px; gap:8px 12px; }
  [data-page='home'] .hero h1 { font-size:34px; }
  [data-page='home'] .hero p { font-size:14px; }
  [data-page='home'] .controls { flex-wrap:wrap; }
  [data-page='home'] .search { flex-basis:100%; }
  .browse-toolbar { align-items:flex-start; }
}

/* Editorial grid: off-white page, hairline columns, ink rules, mono labels,
   flat violet blocks. Square corners stay from --radius. */
:root { --ink-rule: 2px solid var(--ink); --hairline: #e1e1db; --mono: 'JetBrains Mono', Consolas, monospace; }
body { background-image: repeating-linear-gradient(90deg, transparent 0 calc((min(100vw - 80px, 1240px) / 12) - 1px), var(--hairline) calc((min(100vw - 80px, 1240px) / 12) - 1px) calc(min(100vw - 80px, 1240px) / 12)); background-position: center top; background-size: min(calc(100vw - 80px), 1240px) 100%; background-repeat: repeat-y; }
.site-header { background: var(--bg); border-bottom: var(--ink-rule); }
.header nav a:not(.github) { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.github { border-color: var(--ink); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.github:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav-browse[aria-current='page']::after { height: 3px; }
.hero::before { display: none; }
.kicker, .welcome-label { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--ink); font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.kicker span, .welcome-label span { padding: 5px 7px; background: var(--ink); color: #fff; }
.kicker::after, .welcome-label::after { content: ''; flex: 1; max-width: 180px; height: 1px; background: var(--ink); }
.hero h1, .detail-head h1, .guide-head h1, .about-content h1 { font-weight: 800; letter-spacing: -.045em; }
.hl { padding: 0 .12em 0 0; background: linear-gradient(transparent 58%, #d9ceff 58%, #d9ceff 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-sketch { display: flex; flex-direction: column; gap: 8px; }
.hero-sketch > img { min-height: 0; flex: 1; border-bottom: 1px solid var(--ink); }
.sketch-note, [data-page='home'] .sketch-note { position: static; width: auto; transform: none; color: var(--muted); font: 500 10px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: normal; }
.welcome-hand, .badge-note { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; transform: none; }
.search, .type-filter select, .sort-filter select { border-color: var(--ink); }
.categories button { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; border-color: var(--ink); }
.categories button:hover { background: var(--peach); border-color: var(--accent); }
.sort-filter { font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; font-size: 11px; }
.sort-help { font-family: var(--mono); font-size: 11px; }
#listings { counter-reset: listing; }
#listings .listing { position: relative; counter-increment: listing; border-color: var(--ink); }
#listings .listing:not([hidden])::after { content: counter(listing, decimal-leading-zero); position: absolute; top: 14px; right: 16px; color: var(--muted); font: 500 11px/1 var(--mono); letter-spacing: .06em; }
#listings h2 { padding-right: 28px; letter-spacing: -.03em; font-weight: 800; }
#listings .listing:hover, #listings .listing:focus-within { border-color: var(--accent); background: var(--surface); box-shadow: 6px 6px 0 var(--accent); }
.label { font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; border-color: var(--hairline); background: var(--soft); }
.label.category { background: var(--ink); border-color: var(--ink); color: #cdbfff; }
.listing-action a, .back, .actions a:not(.button) { font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; font-size: 12px; }
.button { font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.submission-callout, .guide-grid, .faq-section, .detail-head { border-color: var(--ink); }
.submission-callout { border-top: var(--ink-rule); }
.library-intro h2, .submission-callout h2, .guide-grid h2, .faq-section h2, .about-content h2, .detail-grid h2 { letter-spacing: -.03em; font-weight: 800; }
.footer { border-top: var(--ink-rule); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.thumb { background: var(--peach); }
@media (max-width:1100px) { body { background-size: calc(100vw - 56px) 100%; background-image: repeating-linear-gradient(90deg, transparent 0 calc((100vw - 56px) / 6 - 1px), var(--hairline) calc((100vw - 56px) / 6 - 1px) calc((100vw - 56px) / 6)); } }
@media (max-width:600px) { body { background-size: calc(100vw - 40px) 100%; background-image: repeating-linear-gradient(90deg, transparent 0 calc((100vw - 40px) / 4 - 1px), var(--hairline) calc((100vw - 40px) / 4 - 1px) calc((100vw - 40px) / 4)); } .kicker::after { max-width: 60px; } }
@media (max-width:850px) { .hero-sketch { display: none; } }
.aside-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.aside-head h2 { margin: 0 !important; }
.aside-head .thumb { width: 52px; height: 52px; flex-shrink: 0; border: 1px solid var(--line); }
.aside-head .thumb img { padding: 6px; }
