/* Creation is a focused, theme-native workspace, not a second posting system. */
:root .community-creation-v255{padding:0;overflow:hidden;margin:0 0 24px;border:1px solid var(--stroke);background:var(--surface);border-radius:calc(var(--round) + 4px)}
.community-creation-v255>summary{list-style:none;display:flex;align-items:center;gap:14px;padding:18px 20px;cursor:pointer;background:linear-gradient(120deg,var(--surface),var(--soft));min-height:76px}
.community-creation-v255>summary::-webkit-details-marker{display:none}.creation-plus-v255{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--stroke);border-radius:14px;font-size:30px;background:var(--surface);color:var(--ink);flex:none}.community-creation-v255>summary strong{display:block;font-size:20px;letter-spacing:-.025em}.community-creation-v255>summary small{display:block;margin-top:5px;color:var(--muted);font-size:13px}.creation-chevron-v255{margin-left:auto;font-size:22px}.community-creation-v255[open] .creation-chevron-v255{transform:rotate(180deg)}
:root .creation-form-v255{padding:clamp(14px,3vw,28px);gap:16px}.creation-workspace-v255{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:start}.creation-fields-v255{display:grid;gap:22px;min-width:0}.creation-fields-v255 section{display:grid;gap:9px;padding:0 0 18px;border-bottom:1px solid var(--stroke);min-width:0}.creation-fields-v255 h2{font-size:22px;letter-spacing:-.03em;margin:0 0 5px}.creation-fields-v255 .field{min-width:0}.creation-fields-v255 input,.creation-fields-v255 select,.creation-fields-v255 textarea{max-width:100%;min-width:0}.creation-fields-v255 .muted{line-height:1.45}.creation-privacy-v255{background:var(--soft);padding:12px;border-radius:10px;margin:0;line-height:1.5}.creation-preview-v255{min-width:0;display:grid;gap:12px}.creation-preview-card-v255{border:1px solid var(--stroke);border-radius:16px;overflow:hidden;background:var(--surface);box-shadow:0 12px 32px #0001;min-width:0}.creation-preview-card-v255 .community-banner-v206{aspect-ratio:2.8;background-image:var(--community-art)}.creation-mark-v255{display:grid;place-items:center;width:54px;height:54px;background:var(--surface);border:2px solid var(--community-accent);border-radius:16px;font-size:28px;position:relative;margin:-27px 16px 0}.creation-preview-copy-v255{padding:12px 16px 16px;display:grid;gap:8px;overflow-wrap:anywhere}.creation-preview-copy-v255 h3{font-size:24px;line-height:1.16;letter-spacing:-.035em;margin:0}.creation-preview-copy-v255 p{margin:0;line-height:1.5}.creation-preview-footer-v255{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;border-top:1px solid var(--stroke);padding-top:12px;font-size:12px;color:var(--muted)}.creation-submit-v255{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:14px;padding:14px 0 0}.creation-submit-v255 small{display:block;max-width:440px;color:var(--muted);line-height:1.4;margin-top:5px}.creation-submit-v255 .btn{min-height:46px}.community-search-v255{padding:14px 0 8px}.community-search-v255 input{width:100%;min-height:46px}.community-search-v255 p{min-height:1em;margin:8px 0}.community-auto-v255{font-size:12px;color:var(--muted);line-height:1.4}.edition-page--communities [data-community-search][hidden]{display:none!important}
@media(min-width:1050px){.creation-workspace-v255{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.creation-preview-v255{position:sticky;top:16px}}
@media(max-width:520px){.community-creation-v255>summary{padding:14px}.creation-submit-v255 .btn{width:100%}.creation-style-v255{grid-template-columns:repeat(2,minmax(0,1fr))}.creation-style-v255 .community-style-option-v206{padding:7px;gap:5px}.creation-style-v255 .community-style-copy-v206 small{font-size:11px}.creation-preview-v255{grid-row:1}.creation-preview-card-v255 .community-banner-v206{aspect-ratio:4}}

.creation-preview-jump-v255{display:none}@media(max-width:1049px){.creation-preview-jump-v255{display:inline-flex;justify-self:start}}
/* Explicit field styling: nested sections must not fall back to native inline controls. */
:root .creation-fields-v255 .field,:root .community-search-v255 .field{display:grid;gap:7px;font-size:13px;font-weight:650;color:var(--ink);line-height:1.4;min-width:0}
:root .creation-fields-v255 .field :is(input,select,textarea),:root .community-search-v255 input{display:block;width:100%;box-sizing:border-box;min-height:46px;border:1px solid var(--stroke);border-radius:10px;background:var(--surface);color:var(--ink);padding:11px 12px;font:inherit;font-size:16px;font-weight:400;line-height:1.45;box-shadow:0 1px 2px #00000008}
:root .creation-fields-v255 .field textarea{resize:vertical;min-height:94px}:root .creation-fields-v255 .field select{padding-right:24px;white-space:normal}:root .creation-fields-v255 .field :is(input,select,textarea):focus-visible,:root .community-search-v255 input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
:root .creation-fields-v255 .field :is(input,textarea)::placeholder,:root .community-search-v255 input::placeholder{color:var(--muted);opacity:.85}
.creation-fields-v255 [data-creation-count]{justify-self:end;font-variant-numeric:tabular-nums}.creation-preview-v255:focus{outline:2px solid var(--accent);outline-offset:4px;border-radius:12px}

/* v2.56 discovery interests and result types. Theme-aware, keyboard-friendly. */
.discovery-tags-v256{display:flex;flex-wrap:wrap;gap:.4rem;margin:.65rem 0;min-width:0}
.topic-chip-v256{display:inline-flex;align-items:center;max-width:100%;overflow-wrap:anywhere;border:1px solid currentColor;border-radius:999px;background:transparent;color:inherit;padding:.35rem .65rem;font:inherit;font-size:.8rem;line-height:1.3;text-align:left}
button.topic-chip-v256{cursor:pointer;min-height:36px}button.topic-chip-v256:hover{text-decoration:underline}
.search-tabs-v256{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0;padding:.5rem 0;border-bottom:1px solid currentColor}
.search-tabs-v256 .feed-tab{flex:1 1 auto;min-height:44px;white-space:nowrap}
.search-tabs-v256 button:focus-visible,.topic-chip-v256:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.creation-preview-copy-v255 .discovery-tags-v256:empty{display:none}
.search-tabs-v256{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;gap:.2rem;padding:.3rem .15rem .55rem;margin:.55rem 0 .85rem;border-bottom:1px solid color-mix(in srgb,currentColor 20%,transparent)}
.search-tabs-v256 .feed-tab{flex:1 0 auto;padding-inline:.65rem;font-size:.82rem}
.search-post-filters-v256{margin:0 0 1rem;padding:.25rem .65rem .55rem;border:1px solid color-mix(in srgb,currentColor 18%,transparent);border-radius:12px}
.search-post-filters-v256 summary{cursor:pointer;font-size:.85rem;font-weight:600;padding:.5rem 0;min-height:36px}
.search-post-filters-v256 .feed-tabs{margin-top:.5rem}
.topic-toolbar-v257{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.8rem;padding:1rem;margin:.65rem 0 1rem;border:1px solid color-mix(in srgb,currentColor 24%,transparent);border-radius:16px;background:color-mix(in srgb,var(--surface) 92%,var(--accent))}
.topic-toolbar-v257 strong{display:block;font-size:1.35rem;overflow-wrap:anywhere}.topic-toolbar-v257 small{display:block;max-width:40ch;opacity:.8}.topic-toolbar-v257 summary{cursor:pointer;min-height:32px;font-weight:600}.topic-actions-v257{display:flex;flex-wrap:wrap;gap:.5rem;min-width:0}.topic-actions-v257 button{min-height:44px;overflow-wrap:anywhere}.topic-actions-v257 button[aria-pressed=true]{font-weight:700;border-width:2px}.topic-actions-v257 button:disabled{opacity:.55}.topic-suggestions-v257{margin:.25rem 0 .7rem}
