.note-directory, .note-profile { max-width: 1040px; margin: 0 auto; }
.note-directory > p { line-height: 1.7; }
.note-search { display: block; margin: 18px 0; font-weight: 700; }
.note-search input { display: block; width: min(100%, 420px); box-sizing: border-box; margin-top: 6px; padding: 11px; border: 1px solid var(--site-line, #cad8d3); border-radius: 8px; font: inherit; }
.note-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 14px; padding: 0; }
.note-card { border: 1px solid var(--site-line, #cad8d3); padding: 18px; border-radius: 12px; min-width: 0; }
.note-card h2 { font-size: 17px; overflow-wrap: anywhere; margin: 10px 0 5px; }
.note-card p { margin: 8px 0; line-height: 1.6; }
.note-avatar { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #edf2f1; color: #233f43; font-weight: 800; object-fit: cover; }
.note-handle { color: #536b68; overflow-wrap: anywhere; }
.note-profile dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; }
.note-profile dt { font-weight: 700; }
.note-profile dd { margin: 0; overflow-wrap: anywhere; }
.note-profile-link { display: inline-block; padding: 8px 0; }
.note-screenshot { display: block; width: 100%; height: auto; }
.note-directory-entry { margin: 12px 0; }
[data-review-report] { margin-top: 8px; }
[data-review-report] select { max-width: 100%; }
[data-review-report] button { margin-left: 6px; }
.note-card[hidden], .note-search[hidden] { display: none; }

:is(#note-kana-filters, #youtube-kana-filters) { display: flex; flex-wrap: wrap; gap: 6px; }
:is(#note-kana-filters, #youtube-kana-filters)[hidden] { display: none; }
:is(#note-kana-filters, #youtube-kana-filters) button { font: inherit; cursor: pointer; min-height: 40px; padding: 6px 10px; border: 1px solid var(--site-line, #cad8d3); border-radius: 8px; background: #fff; color: inherit; }
:is(#note-kana-filters, #youtube-kana-filters) button[aria-pressed="true"] { background: #233f43; border-color: #233f43; color: #fff; font-weight: 700; }

span.note-avatar { background: #e9f3fc url("/note-predictor-silhouette.svg") center / 31px 31px no-repeat; font-size: 0; }

.note-card .note-average-score {
  display: inline-block;
  width: fit-content;
  margin: 2px 0 6px;
  padding: 2px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: #526666;
  font-size: .8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.note-card .note-average-score.has-average { color: inherit; }

.note-review-link { display: block; width: fit-content; margin-top: .6rem; }
