
/* access */
.access-lock{display:inline-flex;vertical-align:-2px;margin-inline-end:4px;color:var(--text-subtle)}.access-lock .icon{width:14px;height:14px}.access-when{display:none}.access-row .form-help{margin-top:4px}.access-pw{display:flex;gap:8px;justify-content:center;margin-top:12px}.access-pw input{max-width:220px}.access-hidden{margin:12px 0 0;padding:12px 14px;border:1px dashed var(--line);border-radius:var(--radius);background:var(--panel-2);color:var(--text-muted);font-size:var(--font-size-sm)}.access-hidden b{color:var(--text)}.access-shown{margin-top:12px;padding:12px 14px;border:1px solid var(--success);border-radius:var(--radius);background:var(--success-soft)}.access-shown > .access-shown-head{display:flex;align-items:center;gap:6px;margin-bottom:6px;color:var(--success);font-size:var(--font-size-sm);font-weight:600}.access-shown .icon{width:15px;height:15px}.access-private{color:var(--text-muted);font-style:italic}

/* attach_market */
/* Resource Market — the card on a topic, the Market page and its tiles.
   Only the core's CSS variables are used, every selector is scoped to this
   plugin, and the writing direction is handled with logical properties
   (inline-start / inline-end / text-align: start). */

/* ---------------------------------------------------------------- the card */

.attach_market-card {
  margin-block-start: .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  overflow: hidden;
}

.attach_market-card-head {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .8rem .9rem;
  border-block-end: 1px solid var(--line-soft);
  background: var(--panel);
}

.attach_market-card-mark {
  flex: 0 0 auto;
  inline-size: 2.25rem;
  block-size: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand);
}

.attach_market-card-mark .icon { inline-size: 1.25rem; block-size: 1.25rem; }

/* A resource that brought its own icon: an uploaded image, an emoji or a link
   to one elsewhere. The uploaded kind arrives as an <img class="icon">, so it
   has to be told to fill the tile the same way the built-in svg does. */
.attach_market-card-mark.is-icon .icon,
.attach_market-tile-mark.is-icon .icon { inline-size: 60%; block-size: 60%; object-fit: contain; }
.attach_market-card-mark.is-icon .icon-emoji,
.attach_market-tile-mark.is-icon .icon-emoji,
.attach_market-mark .icon-emoji { font-size: 1rem; line-height: 1; }

.attach_market-card-titles { flex: 1 1 auto; min-inline-size: 0; }

.attach_market-card-name {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text);
  overflow-wrap: anywhere;
}

.attach_market-card-summary {
  margin: .2rem 0 0;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  overflow-wrap: anywhere;
}

.attach_market-card-body { padding: .8rem .9rem; }

.attach_market-card-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-block-end: .7rem;
}

/* One badge per dimension: what it is, what it runs on, where it plugs in.
   The word comes from the classification the staff curates, not from the
   topic's own tags: a tag is whatever word each author typed, so one shelf
   would split into "Win" and "Windows" and neither would find the other. */
.attach_market-cat {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .05rem .45rem;
  border: 1px solid var(--brand-soft);
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: var(--font-size-xs);
  font-weight: 500;
  white-space: nowrap;
}

.attach_market-cat .icon { inline-size: .85rem; block-size: .85rem; }

.attach_market-card-cats { display: inline-flex; flex-wrap: wrap; gap: .3rem; }

.attach_market-fact {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  color: var(--text-muted);
  font-size: var(--font-size-xs);
}

.attach_market-fact .icon { inline-size: .95rem; block-size: .95rem; }

.attach_market-gate {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-inline-start: auto;
  padding: .15rem .5rem;
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  white-space: nowrap;
}

.attach_market-gate .icon { inline-size: .95rem; block-size: .95rem; }
.attach_market-gate-purchase { border-color: var(--warning); color: var(--warning); background: var(--warning-soft); }
.attach_market-gate-reply { border-color: var(--info); color: var(--info); background: var(--info-soft); }
.attach_market-gate-login { border-color: var(--line); }

.attach_market-card-foot {
  display: flex;
  justify-content: flex-end;
  padding: .5rem .9rem;
  border-block-start: 1px solid var(--line-soft);
}

.attach_market-card-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  text-decoration: none;
}

.attach_market-card-link:hover { color: var(--brand); }
.attach_market-card-link .icon { inline-size: .95rem; block-size: .95rem; }

/* ---------------------------------------------------------------- actions */

.attach_market-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.attach_market-action { max-inline-size: 100%; }
.attach_market-action span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attach_market-action-out { inline-size: .85rem; block-size: .85rem; opacity: .7; }

.attach_market-commands {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-block-start: .7rem;
}

.attach_market-command { display: flex; flex-direction: column; gap: .25rem; }

.attach_market-command-label {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  font-weight: 600;
}

.attach_market-command-label .icon { inline-size: .95rem; block-size: .95rem; }

.attach_market-command-box {
  display: flex;
  align-items: stretch;
  gap: .35rem;
  min-inline-size: 0;
}

.attach_market-code {
  flex: 1 1 auto;
  min-inline-size: 0;
  padding: .45rem .6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--font-size-sm);
  white-space: nowrap;
  overflow-x: auto;
  direction: ltr;
  text-align: start;
}

.attach_market-copy { flex: 0 0 auto; }
.attach_market-copy .icon { inline-size: .9rem; block-size: .9rem; }

.attach_market-copy.is-done { color: var(--success); border-color: var(--success); }

.attach_market-empty { margin: 0; color: var(--text-muted); font-size: var(--font-size-sm); }

/* ---------------------------------------------------------------- dialog */

.attach_market-dialog {
  max-inline-size: min(40rem, calc(100vw - 2rem));
  max-block-size: 80vh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow);
}

.attach_market-dialog::backdrop { background: rgba(0, 0, 0, .45); }

.attach_market-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: .7rem .9rem;
  border-block-end: 1px solid var(--line-soft);
}

.attach_market-dialog-body {
  padding: .9rem;
  overflow: auto;
  max-block-size: calc(80vh - 3.4rem);
  text-align: start;
}

.attach_market-dialog-body > :first-child { margin-block-start: 0; }
.attach_market-dialog-body > :last-child { margin-block-end: 0; }

/* ---------------------------------------------------------------- locked */

.attach_market-locked {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem;
  padding: .7rem .8rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
}

.attach_market-locked-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 2rem;
  block-size: 2rem;
  border-radius: 50%;
  background: var(--panel-2);
  color: var(--text-muted);
}

.attach_market-locked-text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-inline-size: 0;
  flex: 1 1 14rem;
}

.attach_market-locked-text b { color: var(--text); }
.attach_market-locked-text span { color: var(--text-muted); font-size: var(--font-size-xs); }

.attach_market-buy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .25rem;
}

.attach_market-balance { color: var(--text-muted); font-size: var(--font-size-xs); }

/* ---------------------------------------------------------------- the mark in lists */

/* One icon in front of the title, where the pinned and locked marks sit, and no
   words beside it: a badge spelling the plugin's name out made every resource
   row noticeably longer than the ones around it. It rides on .row-icon, so the
   size and the baseline are the core's; only the colour is the market's own, and
   it is set here rather than left to inherit so a read row's muted link colour
   does not wash the mark out. */
.attach_market-mark { color: var(--brand); }
.attach_market-mark .icon-img { border-radius: 2px; object-fit: contain; }

/* ---------------------------------------------------------------- the market page */

.attach_market-page { display: flex; flex-direction: column; gap: 1rem; }

.attach_market-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem;
}

.attach_market-head h1 { margin: 0; font-size: var(--font-size-2xl); }
.attach_market-head p { margin: .25rem 0 0; }

.attach_market-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  padding: .6rem .7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.attach_market-search {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex: 1 1 14rem;
  min-inline-size: 0;
  padding-inline: .5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.attach_market-search .icon { inline-size: 1rem; block-size: 1rem; color: var(--text-muted); flex: 0 0 auto; }

.attach_market-search input {
  flex: 1 1 auto;
  min-inline-size: 0;
  padding: .4rem 0;
  border: 0;
  background: transparent;
  color: var(--text);
}

.attach_market-filters select { max-inline-size: 12rem; }

.attach_market-chips { display: flex; flex-wrap: wrap; gap: .35rem; }

.attach_market-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .15rem .5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  text-decoration: none;
}

.attach_market-chip span { color: var(--text-subtle); }
.attach_market-chip:hover { border-color: var(--brand); color: var(--brand); }
.attach_market-chip.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.attach_market-chip .icon { inline-size: .85rem; block-size: .85rem; }

/* The four dimensions, one row each, all laid out flat: they answer different
   questions, so a visitor hunting for "a Chrome extension that works on
   Windows" wants to click both without opening a thing. */
.attach_market-chip-groups { display: flex; flex-direction: column; gap: .4rem; margin-block-end: .9rem; }

.attach_market-chip-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem; }

.attach_market-chip-lead {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  min-inline-size: 5.5rem;
  color: var(--text-subtle);
  font-size: var(--font-size-xs);
  font-weight: 600;
}

.attach_market-chip-lead .icon { inline-size: .85rem; block-size: .85rem; }

/* The answers of one dimension in the publish form: a row of boxes, any of
   which may be ticked — and "Any", which is the whole answer and so cannot
   sit beside the others. */
.attach_market-checks { display: flex; flex-wrap: wrap; gap: .35rem; }

.attach_market-check {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  cursor: pointer;
}

.attach_market-check input { margin: 0; }
.attach_market-check .icon { inline-size: .9rem; block-size: .9rem; }
.attach_market-check:hover { border-color: var(--brand); color: var(--brand); }
.attach_market-check:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }

.attach_market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
  gap: .75rem;
}

.attach_market-tile {
  position: relative; /* the stretched link below is measured against this */
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease;
}

.attach_market-tile:hover {
  border-color: var(--brand);
  box-shadow: 0 2px 10px rgb(0 0 0 / .06);
  transform: translateY(-1px);
}

/* The whole tile opens the resource. It is an empty anchor stretched across the
   tile instead of a link wrapped around everything, because the author, the
   topic and the chips are links of their own and an anchor cannot nest. */
.attach_market-tile-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.attach_market-tile-hit:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Anything a reader may click in its own right has to sit above the overlay. */
.attach_market-tile-topic,
.attach_market-tile-types,
.attach_market-tile-tags,
.attach_market-tile-foot { position: relative; z-index: 2; }

.attach_market-tile-head { display: flex; gap: .55rem; align-items: flex-start; }

.attach_market-tile-mark {
  flex: 0 0 auto;
  inline-size: 2rem;
  block-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  color: var(--text-muted);
  font-weight: 600;
}

.attach_market-tile-mark.is-icon { background: var(--brand-soft); color: var(--brand); }
.attach_market-tile-mark .icon { inline-size: 1.1rem; block-size: 1.1rem; }

.attach_market-tile-titles { min-inline-size: 0; flex: 1 1 auto; }

.attach_market-tile-titles h3 {
  margin: 0;
  font-size: var(--font-size-md);
  line-height: 1.3;
  color: var(--text);
  overflow-wrap: anywhere;
}

.attach_market-tile:hover .attach_market-tile-titles h3 { color: var(--brand); }

.attach_market-tile-topic {
  display: block;
  font-size: var(--font-size-xs);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attach_market-tile-summary {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  overflow-wrap: anywhere;
}

.attach_market-tile-types { display: flex; flex-wrap: wrap; gap: .3rem; }

/* The members' own tags, as links back into the filter. Muted, and lighter than
   a badge: they refine a shelf, they do not define it. */
.attach_market-tile-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin-block-start: .4rem;
  color: var(--text-subtle);
  font-size: var(--font-size-xs);
}

.attach_market-tile-tags .icon { inline-size: .8rem; block-size: .8rem; }

.attach_market-tag {
  padding: .05rem .4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
}

.attach_market-tag:hover { border-color: var(--brand); color: var(--brand); }

.attach_market-tile-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-block-start: auto;
  padding-block-start: .5rem;
  border-block-start: 1px solid var(--line-soft);
}

.attach_market-tile-foot .attach_market-gate { margin-inline-start: 0; }

/* The one bit of decoration that says the whole card is a way in. It slides a
   little on hover so the pointer has something to answer it. */
.attach_market-tile-go {
  margin-inline-start: auto;
  display: inline-flex;
  color: var(--text-subtle);
  transition: transform .12s ease, color .12s ease;
}

.attach_market-tile-go .icon { inline-size: 1rem; block-size: 1rem; }
.attach_market-tile:hover .attach_market-tile-go { color: var(--brand); transform: translateX(2px); }

/* ---------------------------------------------------------------- detail */

.attach_market-detail-head h1 { margin: 0; font-size: var(--font-size-2xl); overflow-wrap: anywhere; }

.attach_market-detail-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin-block-start: .35rem;
}

.attach_market-detail .attach_market-card { margin-block-start: 0; }
.attach_market-detail-links { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------------------------------------------------------------- the form */

.attach_market-form .attach_market-sep {
  margin-block: 1rem;
  border: 0;
  border-block-start: 1px solid var(--line-soft);
}

/* Where the resource is about to be filed, said before the writer fills anything in. */
.attach_market-dest {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-block: 0 .85rem;
}
.attach_market-dest .icon { flex: none; opacity: .75; }

.attach_market-buttons { display: flex; flex-direction: column; gap: .5rem; }

.attach_market-btn-labels,
.attach_market-btn-row {
  display: grid;
  grid-template-columns: 1.25rem minmax(6rem, 12rem) minmax(8rem, 14rem) minmax(10rem, 1fr) 2.25rem;
  gap: .45rem;
  align-items: start;
}

.attach_market-btn-labels {
  color: var(--text-muted);
  font-size: var(--font-size-xs);
}

.attach_market-btn-row + .attach_market-btn-row { padding-block-start: .5rem; border-block-start: 1px solid var(--line-soft); }

.attach_market-btn-grip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block-start: .5rem;
  color: var(--text-subtle);
}

.attach_market-btn-grip .icon { inline-size: 1rem; block-size: 1rem; }
.attach_market-btn-cell { min-inline-size: 0; }
.attach_market-btn-cell input,
.attach_market-btn-cell select,
.attach_market-btn-cell textarea { inline-size: 100%; }
.attach_market-btn-remove { margin-block-start: .15rem; }

/* The three target boxes of a row. All three stay in the page so that the form
   is still submittable with JavaScript off — then the browser simply shows the
   link box of every row, which is the first one and the safest default. */
.attach_market-btn-target[hidden] { display: none; }
.attach_market-btn-target > input,
.attach_market-btn-target > textarea { inline-size: 100%; }

/* The icon field of the publish and edit forms: the picker, and under it the
   one thing the picker will not take — a link to an image somewhere else. */
.attach_market-icon-now {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-block-end: .5rem;
  color: var(--text-muted);
  font-size: var(--font-size-xs);
}

.attach_market-icon-now .icon { flex: 0 0 auto; inline-size: 1.5rem; block-size: 1.5rem; object-fit: contain; }
.attach_market-icon-now code { overflow-wrap: anywhere; }
.attach_market-icon-link { margin-block-start: .5rem; }
.attach_market-icon-link input { inline-size: 100%; }

@media (max-width: 46rem) {
  .attach_market-btn-labels { display: none; }
  .attach_market-btn-row {
    grid-template-columns: 1fr 2.25rem;
    grid-template-areas: "label remove" "kind kind" "value value";
    padding-block: .6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }
  .attach_market-btn-grip { display: none; }
  .attach_market-btn-cell-label { grid-area: label; }
  .attach_market-btn-cell-kind { grid-area: kind; }
  .attach_market-btn-cell-value { grid-area: value; }
  .attach_market-btn-remove { grid-area: remove; }
  .attach_market-gate { margin-inline-start: 0; }
  .attach_market-buy { align-items: flex-start; }
}


/* code_highlight */
.post-content pre code.hljs{background:transparent;padding:0}.post-content pre,.editor-preview pre{position:relative;padding:34px 14px 14px;border-radius:6px;line-height:1.7;tab-size:4}.post-content pre.code-dark,.editor-preview pre.code-dark{background:#22272e;border-color:#2f3742;color:#d6dae1}.post-content pre.has-lines,.editor-preview pre.has-lines{padding-inline-start:56px}.code-lines{position:absolute;top:34px;inset-inline-start:0;width:42px;padding-inline-end:10px;text-align:end;color:var(--text-disabled);white-space:pre;user-select:none;-webkit-user-select:none;pointer-events:none;line-height:inherit;font-size:inherit}.code-dark .code-lines{color:#5b6675;border-inline-end:1px solid #2f3742}.code-copy{position:absolute;top:6px;inset-inline-end:8px;display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);color:var(--text-muted);font:inherit;font-size:var(--font-size-xs);line-height:1.6;cursor:pointer;opacity:.75;transition:opacity .15s,color .15s,border-color .15s}.code-copy svg{width:13px;height:13px}.code-copy:hover,.code-copy:focus-visible{opacity:1;color:var(--text)}.code-dark .code-copy{border-color:#39424f;background:#2b323b;color:#9aa6b5}.code-dark .code-copy:hover{color:#fff}.code-copy.done{opacity:1;color:var(--success);border-color:var(--success)}.code-dark .code-copy.done{color:#5dd39e;border-color:#3d7f63}@media(max-width:640px){.code-copy span{display:none}.code-copy{padding:4px 6px}}

/* comments */

/* =========================================================
 * COMMENTS MAIN CONTENT
 * ========================================================= */

.comments-content-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}


/* =========================================================
 * SPACE BEFORE ADD COMMENT
 * ========================================================= */

.comments-content-wrap .comments-form,
.comments-content-wrap .comments-login-notice {
    margin-top: 16px;
}

.comments-block {
    margin-top: 32px;
}


/* =========================================================
 * HEADER
 * ========================================================= */

.comments-header {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 18px;
    padding: 12px 16px;

    box-sizing: border-box;

    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);

    background: #fff;
}

.comments-title-wrap {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.comments-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 30px;
    height: 30px;

    border-radius: 8px;

    background: var(--panel-2);
    color: var(--text-muted);
}

.comments-title-icon svg,
.comments-title-icon i {
    width: 16px;
    height: 16px;
}

.comments-title {
    margin: 0;

    font-size: 1.25rem;
    line-height: 1.3;
}

.comments-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 26px;
    height: 24px;
    padding: 0 7px;

    box-sizing: border-box;

    border: 1px solid var(--line);
    border-radius: 999px;

    background: var(--panel-2);
    color: var(--text-muted);

    font-size: var(--font-size-xs);
    font-weight: 600;
    line-height: 1;
}


/* =========================================================
 * ADD COMMENT
 * ========================================================= */

.comments-form {
    margin-top: 16px;
    margin-bottom: 0;
    padding: 16px;
    box-sizing: border-box;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel-2);
}

.comments-form-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comments-textarea {
    width: 100%;
    min-height: 105px;
    padding: 11px 12px;
    box-sizing: border-box;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--panel);
    color: var(--text);
    font: inherit;
    line-height: 1.5;
    resize: vertical;
}

.comments-textarea:focus {
    outline: none;
    border-color: var(--text-muted);
}

.comments-form-actions {
    display: flex;
    justify-content: flex-end;
}

.comments-login-notice {
    margin-bottom: 24px;
    padding: 13px 15px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: var(--panel-2);
    color: var(--text-muted);
}


/* =========================================================
 * EMPTY
 * ========================================================= */

.comments-empty {
    padding: 28px 16px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--panel-2);
    color: var(--text-muted);
    text-align: center;
}


/* =========================================================
 * COMMENTS LIST
 * ========================================================= */

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comments-item {
    position: relative;
    padding: 17px 18px;
    box-sizing: border-box;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}


/* =========================================================
 * COMMENT HEADER
 * ========================================================= */

.comments-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.comments-author {
    min-width: 0;
}

.comments-author-profile {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.comments-author-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
}

.comments-author-avatar img {
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.comments-author-name {
    min-width: 0;
    font-weight: 600;
    line-height: 1.4;
}

.comments-date {
    flex: 0 0 auto;
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    white-space: nowrap;
}

.comments-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.comments-author-role {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    line-height: 1.3;
}

/* =========================================================
 * COMMENT CONTENT
 * ========================================================= */

.comments-content {
    color: var(--text);
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.comments-content > :first-child {
    margin-top: 0;
}

.comments-content > :last-child {
    margin-bottom: 0;
}

.comments-content p {
    margin-top: 0;
    margin-bottom: 10px;
}

.comments-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
 * ACTIONS
 * ========================================================= */

.comments-item-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--line-soft);
}

.comments-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 11px;
    box-sizing: border-box;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--panel-2);
    color: var(--text);
    text-decoration: none;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition:
        opacity .15s ease,
        background-color .15s ease;
}

.comments-action-button:hover {
    text-decoration: none;
    opacity: .88;
    background: var(--panel);
}

.comments-delete-form {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.comments-delete-form .comments-action-button {
    font-family: inherit;
}


/* =========================================================
 * PAGINATION
 * ========================================================= */

.comments-pagination {
    margin-top: 22px;
}


/* =========================================================
 * EDIT PAGE
 * ========================================================= */

.comments-edit-page {
    width: 100%;
    max-width: 760px;
    margin: 28px auto;
}

.comments-edit-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.comments-edit-heading {
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line-soft);
}

.comments-edit-heading h2 {
    display: block;
    margin: 0;
    color: var(--text);
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 600;
}

.comments-edit-heading p {
    display: block;
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

.comments-edit-label {
    display: block;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
}

.comments-edit-textarea {
    width: 100%;
    min-height: 190px;
    padding: 12px 13px;
    box-sizing: border-box;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--panel-2);
    color: var(--text);
    font: inherit;
    line-height: 1.6;
    resize: vertical;
}

.comments-edit-textarea:focus {
    outline: none;
    border-color: var(--text-muted);
}

.comments-edit-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
}

.comments-edit-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.comments-edit-cancel:hover {
    text-decoration: none;
}


/* =========================================================
 * MOBILE
 * ========================================================= */

@media (max-width: 600px) {

    .comments-block {
        margin-top: 26px;
    }

    .comments-header {
        margin-bottom: 14px;
    }

    .comments-title {
        font-size: 1.15rem;
    }

    .comments-form {
        padding: 13px;
    }

    .comments-item {
        padding: 14px;
    }

    .comments-item-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .comments-date {
        white-space: normal;
    }


    /* COMMENT ACTIONS */

    .comments-item-actions {
        justify-content: flex-end;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .comments-action-button {
        min-height: 36px;
        width: auto;
    }

    .comments-delete-form {
        display: inline-flex;
        width: auto;
    }


    /* COMMENT FORM */

    .comments-form-actions {
        justify-content: flex-end;
    }

    .comments-form-actions .btn {
        width: auto;
    }


    /* EDIT PAGE */

    .comments-edit-page {
        margin: 20px auto;
    }

    .comments-edit-form {
        padding: 14px;
    }

    .comments-edit-heading {
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    .comments-edit-heading h2 {
        font-size: 1.15rem;
    }

    .comments-edit-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 8px;
    }

    .comments-edit-actions .btn,
    .comments-edit-cancel {
        width: auto;
        box-sizing: border-box;
    }

    .comments-author-profile {
        gap: 9px;
    }

    .comments-author-avatar,
    .comments-author-avatar img {
        width: 40px;
        height: 40px;
    }



}


/* follow */
.follow-you{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:6px;background:var(--panel-2);color:var(--text-muted);font-size:var(--font-size-xs);font-weight:400;vertical-align:middle}.follow-list .follow-row{display:flex;align-items:center;gap:12px;padding:12px 16px;border-top:1px solid var(--line-soft)}.follow-list .follow-row:first-child{border-top:0}.follow-row-main{flex:1;min-width:0}.follow-row-name{font-weight:600}.follow-bio{color:var(--text-muted);font-size:var(--font-size-sm);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.follow-row .member-action-form{margin:0;flex:none}[data-action=follow]:not(.is-done):not(.btn-primary){color:var(--brand);border-color:var(--brand)}[data-action=follow].is-done:hover{color:var(--danger);border-color:var(--danger);background:var(--danger-soft)}.follow-suggest{border-bottom:1px solid var(--line-soft)}.follow-suggest-head{padding:12px 16px 0;color:var(--text-muted);font-size:var(--font-size-sm)}

/* market */
.market-filter-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.market-filter-row .tabs{margin:0}.market-search{margin-inline-start:auto;width:200px;height:32px;padding:0 10px}.market-search input{font-size:var(--font-size-sm)}.market-filter-row .icon-btn{width:32px;height:32px}.market-cat-form select{width:auto;max-width:220px;height:32px;padding:0 8px;font-size:var(--font-size-sm)}@media(max-width:640px){.market-search{width:100%;margin-inline-start:0;order:2}.market-filter-row .icon-btn{order:3}}.market-connect{padding:18px 16px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel-2);text-align:center}.market-connect p:first-child{max-width:520px;margin:0 auto 12px}.market-connect .btn-lg{margin:4px 0 8px}.market-token-fold{margin-top:14px}.market-token-fold summary{cursor:pointer}.market-token-fold .admin-form{margin-top:10px}@media(max-width:640px){.plugin-item{flex-direction:column;gap:10px}.plugin-ops{justify-content:flex-start}.market-account-card .btn-row{margin-inline-start:0}.admin-toolbar form.inline{margin:0}}.market-other{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;margin:0 0 14px;border-radius:var(--radius-sm);background:var(--warning-soft,var(--info-soft));color:var(--text)}.market-other svg{width:20px;height:20px;flex:none;margin-top:2px;color:var(--warning,var(--info))}.market-other p{margin:0 0 6px}.market-other-stop{background:var(--danger-soft)}.market-other-stop svg{color:var(--danger)}.market-tabs{margin-bottom:12px}.market-free{background:var(--success-soft,#dcfce7);color:var(--success,#15803d)}.market-paid{background:#fff1e6;color:#c2410c}[data-theme=dark] .market-paid{background:rgba(194,65,12,.25);color:#fdba74}.market-account{display:inline-flex;align-items:center;gap:6px;margin-inline-start:auto;color:var(--text-muted);font-size:var(--font-size-sm);white-space:nowrap}.market-account svg{width:16px;height:16px}.market-account b{color:var(--text)}.market-account-card{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:14px 16px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel-2)}.market-account-card>svg{width:28px;height:28px;color:var(--brand);flex:none}.market-account-card>div:first-of-type{flex:1;min-width:200px}.market-account-card .btn-row{margin-inline-start:auto}.plugin-ops small{display:block;text-align:right;margin-top:4px}.plugin-ops .btn[disabled]{opacity:.5;cursor:default}.market-foot{margin-top:14px}.market-theme-blank{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--text-subtle)}.market-theme-blank .icon{width:40px;height:40px}.market-theme-badges{margin:2px 0}.theme-ops small{display:block;width:100%}.market-publish-themes{margin-top:18px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel-2)}.market-publish-themes h3{margin:0 0 4px;font-size:var(--font-size-md)}.market-publish-themes p{margin:0}.market-publish-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.market-publish-list .muted{font-weight:400}

/* market */
.market-shots-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px}.market-shot{position:relative;aspect-ratio:3/2;border:1px solid var(--line);border-radius:var(--radius-sm);overflow:hidden;background:var(--panel-2);user-select:none;-webkit-user-select:none}.market-shot img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none;-webkit-user-drag:none}.market-shots.is-js .market-shot{cursor:grab}.market-shot.is-dragging{opacity:.45;pointer-events:none;outline:2px dashed var(--brand);outline-offset:-2px}.market-shots.is-sorting,.market-shots.is-sorting *{cursor:grabbing}.market-shot:first-child{border:2px solid var(--brand)}.market-shot-cover{display:none;position:absolute;left:5px;bottom:5px;padding:1px 7px;border-radius:4px;background:var(--brand);color:var(--brand-text,#fff);font-size:11px;font-weight:600;line-height:1.5}.market-shot:first-child .market-shot-cover{display:block}.market-shot-x,.market-shot-grip{position:absolute;top:5px;display:flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.62);color:#fff;font-size:16px;line-height:1;cursor:pointer}.market-shot-x{right:5px}.market-shot-x:hover{background:var(--danger,#dc2626)}.market-shot-grip{left:5px;cursor:grab;touch-action:none}.market-shot-grip:hover{background:rgba(0,0,0,.8)}.market-shot-x:focus-visible,.market-shot-grip:focus-visible{outline:2px solid var(--brand);outline-offset:1px}.market-shot-keep{position:absolute;left:5px;top:5px;display:flex;gap:4px;align-items:center;margin:0;padding:1px 6px;border-radius:4px;background:var(--panel);font-size:var(--font-size-xs)}.market-shots.is-js .market-shot-keep,.market-shots:not(.is-js) .market-shot-x,.market-shots:not(.is-js) .market-shot-grip{display:none}.market-shot-add{position:relative;aspect-ratio:3/2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;margin:0;border:1px dashed var(--text-subtle);border-radius:var(--radius-sm);color:var(--text-muted);font-size:var(--font-size-sm);font-weight:500;cursor:pointer}.market-shot-add:hover{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}.market-shot-add .icon{width:20px;height:20px}.market-shot-add[hidden],.market-shots-error[hidden]{display:none}.market-shots.is-js .market-shot-add input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.market-shots:not(.is-js) .market-shot-add{grid-column:1/-1;aspect-ratio:auto;align-items:stretch;border:0;cursor:default}.market-shots:not(.is-js) .market-shot-add .icon,.market-shots:not(.is-js) .market-shot-add span{display:none}.market-shots-error{margin:6px 0 0;color:var(--danger,#dc2626);font-size:var(--font-size-sm)}

/* oidc_center */
/* OIDC Center — consent screen, Third-party apps, Open platform and the admin page.
   Only core CSS variables are used, and every selector is scoped to this plugin. */

.oidc_center-shell { display: grid; gap: .75rem; }

.oidc_center-apps { display: flex; flex-direction: column; gap: .65rem; }

.oidc_center-app {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.oidc_center-app-icon {
  flex: 0 0 auto;
  inline-size: 2.5rem;
  block-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  color: var(--text-muted);
  font-size: var(--font-size-lg);
  font-weight: 600;
}

.oidc_center-app-icon img { inline-size: 100%; block-size: 100%; object-fit: cover; }

.oidc_center-app-body { flex: 1 1 auto; min-inline-size: 0; }

.oidc_center-app-name { font-weight: 600; color: var(--text); }
.oidc_center-app-name a { color: var(--text); }

.oidc_center-app-meta { color: var(--text-muted); font-size: var(--font-size-xs); }

.oidc_center-note { color: var(--text-muted); font-size: var(--font-size-xs); }

.oidc_center-empty {
  color: var(--text-muted);
  padding: 1rem;
  text-align: center;
}

.oidc_center-scopes { display: flex; flex-wrap: wrap; gap: .25rem; margin-block: .35rem; }

.oidc_center-scope {
  padding: .1rem .45rem;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--text);
  font-size: var(--font-size-xs);
}

.oidc_center-status {
  display: inline-block;
  padding: .1rem .45rem;
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  color: var(--text-muted);
  font-size: var(--font-size-xs);
}

.oidc_center-status[data-oidc_center-status="active"] { background: var(--success-soft); color: var(--success); }
.oidc_center-status[data-oidc_center-status="pending"] { background: var(--warning-soft); color: var(--warning); }
.oidc_center-status[data-oidc_center-status="rejected"] { background: var(--danger-soft); color: var(--danger); }
.oidc_center-status[data-oidc_center-status="suspended"] { background: var(--danger-soft); color: var(--danger); }

.oidc_center-mono {
  display: block;
  padding: .4rem .55rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  color: var(--text);
  font-size: var(--font-size-xs);
  word-break: break-all;
  overflow-wrap: anywhere;
}

.oidc_center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  margin-block-start: .5rem;
}

.oidc_center-actions form { display: inline-flex; margin: 0; }

.oidc_center-copy {
  padding: .15rem .55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  color: var(--text);
  font-size: var(--font-size-xs);
  cursor: pointer;
}

.oidc_center-copy:hover { background: var(--brand-soft); }

.oidc_center-consent-head {
  display: flex;
  gap: .75rem;
  align-items: center;
  margin-block-end: .75rem;
}

.oidc_center-consent-list {
  margin-block: .5rem;
  padding-inline-start: 1.1rem;
  color: var(--text-muted);
}

.oidc_center-consent-list li { margin-block: .2rem; }

.oidc_center-checks { display: grid; gap: .3rem; }

.oidc_center-check {
  display: flex;
  gap: .4rem;
  align-items: baseline;
  color: var(--text);
  font-size: var(--font-size-sm);
}

.oidc_center-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}

.oidc_center-stat { color: var(--text); font-size: var(--font-size-xl); font-weight: 600; }

.oidc_center-redirect { max-inline-size: 32rem; margin-inline: auto; margin-block: 3rem; }

.oidc_center-admin-note { margin-block-end: 1rem; }

.oidc_center-ok { color: var(--success); }
.oidc_center-bad { color: var(--danger); }


/* pages */
.pages-page h1{margin-bottom:4px}.pages-page .post-content{margin-top:16px}.pages-page .post-content h2{margin-top:26px}.pages-page .post-content h3{margin-top:18px}

/* poll */
.poll-box{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel-2);padding:14px;margin:14px 0}.poll-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.poll-head b{font-size:var(--font-size-md)}.poll-head svg{width:16px;height:16px;color:var(--brand)}.poll-tag{font-size:var(--font-size-xs);color:var(--text-muted);border:1px solid var(--line);border-radius:999px;padding:1px 8px}.poll-tag.poll-over{color:var(--text);border-color:var(--text-muted)}.poll-list{list-style:none;margin:0;padding:0}.poll-row{position:relative;display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel);overflow:hidden}.poll-row+.poll-row{margin-top:6px}.poll-fill{position:absolute;inset-inline-start:0;top:0;bottom:0;background:var(--brand);opacity:.14}.poll-pick{position:relative;display:flex;align-items:center;gap:8px;flex:1;cursor:pointer;margin:0}.poll-pick input{margin:0}.poll-label{position:relative;flex:1;display:flex;align-items:center;gap:6px}.poll-label.poll-mine{font-weight:600}.poll-label svg{width:14px;height:14px;color:var(--success)}.poll-num{position:relative;color:var(--text-muted);font-size:var(--font-size-sm);font-variant-numeric:tabular-nums;white-space:nowrap}.poll-voters{position:relative;display:flex;align-items:center;gap:2px}.poll-voters img{width:20px;height:20px;border-radius:50%;border:1px solid var(--panel)}.poll-more{color:var(--text-muted);font-size:var(--font-size-xs);margin-inline-start:2px}.poll-actions{margin-top:10px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.poll-foot{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px;color:var(--text-muted);font-size:var(--font-size-xs)}.poll-links{display:flex;gap:12px;margin-inline-start:auto;flex-wrap:wrap}.poll-links form{display:inline}.poll-links .danger{color:var(--danger,#d64545)}.poll-chip{display:inline-flex;align-items:center;gap:3px;margin-inline-start:6px;font-size:var(--font-size-xs);color:var(--brand);vertical-align:middle}.poll-chip svg{width:12px;height:12px}.poll-chip-over{color:var(--text-muted)}.poll-composer{border:1px solid var(--line);border-radius:var(--radius-sm);padding:10px 12px;margin-bottom:12px;background:var(--panel-2)}.poll-composer summary{cursor:pointer;display:flex;align-items:center;gap:6px;font-weight:600}.poll-composer summary svg{width:15px;height:15px;color:var(--brand)}.poll-composer[open] summary{margin-bottom:10px}.poll-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0 14px}.poll-locked{border:1px solid var(--line);border-radius:var(--radius-sm);padding:10px 12px;background:var(--panel-2)}

/* preset_avatars */
.preset_avatars-box{margin-block-end:4px}
.preset_avatars-current{display:flex;align-items:center;gap:12px;margin-block-end:10px}
.preset_avatars-current-text{color:var(--text-muted);font-size:var(--font-size-sm)}
.preset_avatars-note{color:var(--text-muted);font-size:var(--font-size-sm);margin-block:0 12px}
.preset_avatars-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(56px,1fr));gap:8px;margin-block-end:12px}
.preset_avatars-item{display:block;width:100%;padding:4px;cursor:pointer;appearance:none;font:inherit;background:var(--panel-2);border:1px solid var(--line);border-radius:var(--radius-sm);line-height:0}
.preset_avatars-item img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:var(--avatar-radius,50%)}
.preset_avatars-item:hover{border-color:var(--brand)}
.preset_avatars-item:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.preset_avatars-item-picked{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}
.preset_avatars-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.preset_avatars-box.is-busy,.preset_avatars-groups.is-busy{opacity:.6;pointer-events:none}
.preset_avatars-hidden{display:none}
.preset_avatars-thumb{display:block;border-radius:var(--avatar-radius,50%)}
.preset_avatars-row-form{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.preset_avatars-row-form input[type=text],.preset_avatars-row-form input:not([type]){width:11rem;max-width:100%}
.preset_avatars-row-form input[name=sort]{width:4rem}
.preset_avatars-id{color:var(--text-subtle);font-size:var(--font-size-xs)}
.preset_avatars-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-block-end:12px}
.preset_avatars-head-text{color:var(--text-muted);font-size:var(--font-size-sm)}
.preset_avatars-flag{margin-inline-start:6px}
.preset_avatars-library-actions{margin-block-start:12px}
.preset_avatars-groups-note{color:var(--text-subtle);font-size:var(--font-size-xs)}
.preset_avatars-multi{max-width:22rem;padding:6px 10px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-sm)}
.preset_avatars-multi>summary{cursor:pointer;font-size:var(--font-size-sm)}
.preset_avatars-multi-list{display:grid;gap:6px;max-height:14rem;overflow:auto;padding-block-start:8px}
.preset_avatars-multi-list label{display:flex;align-items:center;gap:8px;font-size:var(--font-size-sm)}
.preset_avatars-multi-list small{color:var(--text-subtle);font-size:var(--font-size-xs)}
