:root{--bg:#0f1419;--surface:#1a2332;--surface-hover:#243044;--border:#2d3a4f;--text:#e7ecf3;--muted:#8b9cb3;--accent:#4f8cff;--accent-hover:#6ba0ff;--federated:#7c5cff;--danger:#ff6b6b;--radius:10px;--shadow:0 8px 32px #00000059}*{box-sizing:border-box}body{background:radial-gradient(circle at top, #1a2744 0%, var(--bg) 55%);color:var(--text);min-height:100dvh;padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom);margin:0;font-family:Segoe UI,system-ui,-apple-system,sans-serif}a{color:var(--accent);text-decoration:none}a:hover{color:var(--accent-hover)}.app-shell{flex-direction:column;min-height:100vh;display:flex}.app-body{flex:1;min-height:0;display:flex}.app-body-with-nav{align-items:stretch}.app-header{padding:calc(1rem + env(safe-area-inset-top)) 2rem 1rem;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:10;background:#0f1419d9;justify-content:space-between;align-items:center;gap:1rem;display:flex;position:sticky;top:0}.header-bar{flex:1;justify-content:space-between;align-items:center;gap:1rem;min-width:0;display:flex}.header-search{flex:1;min-width:8rem;max-width:22rem}.header-search input{width:100%;padding:.45rem .75rem}.search-page-form{gap:.5rem;max-width:36rem;margin:0 0 1.5rem;display:flex}.search-page-form input[type=search]{flex:1;min-width:0}.header-actions{display:none}.brand{color:var(--text);align-items:center;gap:.75rem;font-size:1.25rem;font-weight:700;display:flex}.brand:hover{color:var(--text)}.brand-mark{background:linear-gradient(135deg, var(--accent), var(--federated));color:#fff;border-radius:8px;justify-content:center;align-items:center;width:2rem;height:2rem;font-weight:800;display:inline-flex}.nav-toggle{color:var(--text);border:1px solid var(--border);font:inherit;cursor:pointer;background:0 0;border-radius:8px;padding:.45rem .85rem;display:none}.nav-links{align-items:center;gap:1.25rem;display:flex}.nav-link{color:var(--muted);font-weight:500}.nav-link:hover{color:var(--accent-hover)}.nav-link-active{color:var(--text)}.user-menu{position:relative}.user-menu-trigger{color:var(--muted);border:1px solid var(--border);font:inherit;cursor:pointer;background:0 0;border-radius:8px;padding:.45rem .85rem;font-size:.9rem}.user-menu-trigger:hover,.user-menu-trigger[aria-expanded=true]{color:var(--text);border-color:var(--muted)}.user-menu-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);z-index:20;flex-direction:column;gap:.15rem;min-width:11rem;padding:.5rem;display:flex;position:absolute;top:calc(100% + .4rem);right:0}.user-menu-panel a,.user-menu-logout{text-align:left;width:100%;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.55rem .75rem;text-decoration:none;display:block}.user-menu-panel a:hover,.user-menu-logout:hover{background:var(--surface-hover);color:var(--text)}.user-menu-logout{color:var(--muted);border-top:1px solid var(--border);border-radius:0 0 6px 6px;margin-top:.25rem}.user-badge{color:var(--muted);font-size:.9rem}.server-context-banner{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin:0 0 1.25rem;padding:.85rem 1rem}.server-context-banner strong{margin-bottom:.2rem;display:block}.server-context-banner .card-meta{margin:0}.app-main{flex:1;width:min(960px,100%);min-width:0;margin:0 auto;padding:2rem 1.5rem 3rem}.forum-browser-backdrop,.forum-browser{display:none}.app-body-with-nav .forum-browser{border-right:1px solid var(--border);background:#0f1419eb;flex-direction:column;flex-shrink:0;align-self:flex-start;width:280px;max-height:calc(100vh - 4.75rem);display:flex;position:sticky;top:4.75rem;overflow:auto}.forum-browser-inner{padding:1rem .75rem 2rem}.forum-browser-header-row{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.forum-browser-labels{z-index:3;text-overflow:ellipsis;white-space:nowrap;background:var(--surface);border:1px solid var(--border);min-width:0;box-shadow:var(--shadow);color:var(--muted);letter-spacing:.02em;text-transform:none;pointer-events:none;border-radius:6px;padding:.15rem .4rem .25rem;font-size:.7rem;font-weight:600;display:none;position:absolute;top:calc(100% - .15rem);left:.35rem;right:.35rem;overflow:hidden}.forum-browser-link-row:hover .forum-browser-labels,.forum-browser-link-row:focus-within .forum-browser-labels{display:block}.forum-browser-menu-heading{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin:.35rem 0 .15rem;padding:.2rem .5rem;font-size:.7rem;font-weight:700}.forum-browser-menu-order{align-items:center;gap:.35rem;padding:.15rem .5rem;font-size:.8rem;display:flex}.forum-browser-menu-order span{flex:1}.forum-browser-menu-order button{width:auto;padding:.2rem .4rem}.forum-browser-title{margin:0;font-size:1rem;font-weight:700}.forum-browser-browse{color:var(--accent);font-size:.85rem;font-weight:600}.forum-browser-toggle{flex-wrap:wrap;gap:.35rem;display:flex}.forum-browser-empty{color:var(--muted);margin:0 .35rem 1rem;font-size:.9rem}.forum-browser-section{margin-bottom:.75rem}.forum-browser-section>summary,.forum-browser-subgroup>summary{cursor:pointer;color:var(--muted);letter-spacing:.04em;text-transform:uppercase;align-items:center;gap:.35rem;padding:.35rem .5rem;font-size:.75rem;font-weight:700;list-style:none;display:flex}.forum-browser-section>summary::-webkit-details-marker{content:none;display:none}.forum-browser-subgroup>summary::-webkit-details-marker{content:none;display:none}.forum-browser-section>summary::marker{content:none;display:none}.forum-browser-subgroup>summary::marker{content:none;display:none}.forum-browser-caret{border-bottom:1.5px solid;border-right:1.5px solid;flex-shrink:0;width:.45rem;height:.45rem;transition:transform .15s;display:inline-block;transform:rotate(-45deg)}details[open]>summary>.forum-browser-caret,.forum-browser-caret-btn.is-open .forum-browser-caret{transform:rotate(45deg)}.forum-browser-caret-btn{width:1.25rem;height:1.25rem;color:var(--muted);cursor:pointer;background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.forum-browser-caret-spacer{flex-shrink:0;width:1.25rem}.forum-browser-summary-label{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.forum-browser-summary-extra{flex-shrink:0;align-items:center;display:inline-flex}.forum-browser-subgroup>summary{text-transform:none;letter-spacing:0;color:var(--text);font-size:.8rem}.forum-browser-tree{margin:0;padding:0;list-style:none}.forum-browser-tree-row,.forum-browser-link-row{align-items:center;gap:.15rem;min-width:0;display:flex}.forum-browser-link-row{flex:1;min-width:0;position:relative}.forum-browser-link{min-width:0;color:var(--text);border-radius:8px;flex-direction:column;flex:1;align-items:stretch;padding:.4rem .35rem;font-size:.9rem;display:flex}.forum-browser-link-main{align-items:center;gap:.35rem;min-width:0;display:flex}.forum-browser-add,.forum-browser-menu-trigger{color:var(--muted);cursor:pointer;width:1.4rem;height:1.4rem;font:inherit;background:0 0;border:none;border-radius:6px;flex-shrink:0;line-height:1}.forum-browser-add:hover,.forum-browser-menu-trigger:hover{background:var(--surface-hover);color:var(--text)}.forum-browser-menu{flex-shrink:0;position:relative}.forum-browser-menu-panel{z-index:5;background:var(--surface);border:1px solid var(--border);min-width:11rem;box-shadow:var(--shadow);border-radius:8px;padding:.3rem;position:absolute;top:100%;right:0}.forum-browser-menu-panel button{text-align:left;width:100%;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.4rem .5rem;font-size:.8rem;display:block}.forum-browser-menu-panel button:hover{background:var(--surface-hover)}.forum-browser-name-form{gap:.35rem;padding:.35rem .5rem .5rem;display:flex}.forum-browser-name-form input{flex:1;min-width:0;padding:.3rem .45rem;font-size:.8rem}.forum-browser-link:hover{background:var(--surface-hover);color:var(--text)}.forum-browser-link-active{color:var(--accent);background:#4f8cff29}.forum-browser-link-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.forum-avatar{background:linear-gradient(135deg, var(--surface-hover), var(--surface));border:1px solid var(--border);color:var(--text);text-transform:uppercase;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;font-weight:700;line-height:1;display:inline-flex;overflow:hidden}.forum-avatar img{object-fit:cover;width:100%;height:100%}.forum-browser-link .forum-avatar,.forum-browser-link .forum-avatar img{pointer-events:none}.forum-hero{margin-bottom:1.5rem}.forum-hero-has-banner{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);overflow:hidden}.forum-banner{background:var(--surface-hover);height:10rem;overflow:hidden}.forum-banner img{object-fit:cover;width:100%;height:100%;display:block}.forum-hero-body{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.forum-hero-has-banner .forum-hero-body{padding:1rem 1.1rem 1.15rem}.forum-hero-head{align-items:flex-start;gap:.85rem;min-width:0;display:flex}.forum-hero-copy{min-width:0}.forum-hero-copy .page-title{margin-bottom:.35rem}.forum-hero-title-row{align-items:center;gap:.35rem;min-width:0;display:flex}.forum-hero-title-row .page-title{min-width:0;margin-bottom:0}.forum-header-favorite{width:1.85rem;height:1.85rem;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;padding:0;font-size:1.15rem;line-height:1;display:inline-flex}.forum-header-favorite:hover,.forum-header-favorite.forum-browser-star-on{color:var(--accent);background:var(--surface)}.forum-header-menu{flex-shrink:0;position:relative}.forum-header-menu-trigger{border:1px solid var(--border);width:1.85rem;height:1.85rem;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border-radius:6px;justify-content:center;align-items:center;padding:0;font-size:1.1rem;line-height:1;display:inline-flex}.forum-header-menu-trigger:hover,.forum-header-menu-trigger[aria-expanded=true]{color:var(--text);border-color:var(--muted);background:var(--surface)}.forum-header-menu-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);z-index:30;flex-direction:column;gap:.15rem;min-width:10.5rem;padding:.45rem;display:flex;position:absolute;top:calc(100% + .35rem);left:0;box-shadow:0 8px 24px #0000001f}.forum-header-menu-panel a,.forum-header-menu-panel button{text-align:left;width:100%;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.5rem .7rem;font-size:.92rem;text-decoration:none;display:block}.forum-header-menu-panel a:hover,.forum-header-menu-panel button:hover{background:var(--bg)}.forum-header-menu-panel button:disabled{opacity:.6;cursor:wait}.forum-view-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem;display:flex}.forum-view-toolbar .sort-bar{margin-top:0}.forum-view-toolbar-actions{flex-wrap:wrap;align-items:center;gap:.5rem;margin-left:auto;display:flex}.forum-hero-copy .page-subtitle{margin-bottom:0}.forum-appearance-grid{grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:1.25rem;display:grid}.forum-appearance-label{color:var(--muted);margin:0 0 .4rem;font-size:.8rem;font-weight:700}.forum-appearance-avatar-row{align-items:center;gap:.75rem;display:flex}.forum-appearance-banner-preview{border:1px solid var(--border);border-radius:8px;height:5.5rem;margin-bottom:.5rem;overflow:hidden}.forum-appearance-banner-preview img{object-fit:cover;width:100%;height:100%;display:block}.subforum-card{align-items:center;gap:.65rem;display:flex}.browse-forum-row>:nth-child(2){flex:1;min-width:0}.forum-browser-star{color:var(--muted);cursor:pointer;background:0 0;border:none;flex-shrink:0;padding:0 .15rem;font-size:.95rem;line-height:1}.forum-browser-star:hover,.forum-browser-star-on{color:#f5c542}.forum-browser-link-row-hidden .forum-browser-link-name{color:var(--muted)}.app-footer{text-align:center;color:var(--muted);border-top:1px solid var(--border);padding:1.5rem;font-size:.875rem}.page-title{margin:0 0 .5rem;font-size:2rem}.page-subtitle{color:var(--muted);margin:0 0 2rem}.settings-nav{flex-wrap:wrap;gap:.35rem;margin:-1rem 0 1.25rem;display:flex}.settings-nav .btn-ghost{min-height:2.15rem;padding:.3rem .85rem;font-weight:600}.settings-section{flex-direction:column;display:flex}.settings-section>.card:first-child{margin-top:0}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.25rem}.card+.card{margin-top:1rem}.card-link{color:inherit;transition:background .15s,transform .15s;display:block}.card-link:hover{background:var(--surface-hover);color:inherit;transform:translateY(-1px)}.card-title{margin:0 0 .35rem;font-size:1.15rem}.card-meta{color:var(--muted);font-size:.85rem}.badge{color:var(--accent);background:#4f8cff26;border-radius:999px;margin-left:.5rem;padding:.15rem .5rem;font-size:.75rem;font-weight:600;display:inline-block}.badge-pending{color:#c98500;background:#faa61a2e}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.image-upload{box-sizing:border-box;border:1px dashed var(--border);background:var(--bg);min-height:2.5rem;color:var(--muted);cursor:pointer;border-radius:8px;align-items:center;gap:.55rem;padding:.45rem .85rem;display:flex}.image-upload-compact{flex:1;min-width:12rem}.image-upload:hover,.image-upload.is-dragover{border-color:var(--accent);background:var(--surface-hover);color:var(--text)}.image-upload.is-disabled{opacity:.6;cursor:not-allowed}.image-upload-preview{object-fit:contain;flex:0 0 2rem;width:2rem;height:2rem}.image-upload-copy{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.form-group{flex-direction:column;gap:.35rem;margin-bottom:1rem;display:flex}.form-row{grid-template-columns:1fr 1fr;gap:0 1rem;display:grid}.form-row>.form-group{min-width:0}@media (width<=520px){.form-row{grid-template-columns:1fr}}.form-group label{color:var(--muted);font-size:.875rem}select,input,textarea{background:var(--bg);border:1px solid var(--border);color:var(--text);font:inherit;border-radius:8px;padding:.65rem .85rem}textarea{resize:vertical;min-height:120px}button{font:inherit;cursor:pointer;border:none;border-radius:8px;padding:.65rem 1.1rem}.btn-primary,.btn-primary-link,.btn-ghost{box-sizing:border-box;min-height:2.5rem;font:inherit;white-space:nowrap;cursor:pointer;vertical-align:middle;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;padding:.45rem 1.1rem;font-weight:600;line-height:1.2;text-decoration:none;display:inline-flex}.page-actions{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:.5rem;display:flex}.btn-primary,.btn-primary-link{background:var(--accent);color:#fff;border-color:var(--accent)}a.btn-primary,a.btn-primary-link{color:#fff}.btn-primary:hover,.btn-primary-link:hover,a.btn-primary:hover,a.btn-primary-link:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:#fff}.btn-ghost{background:var(--surface);color:var(--text);border-color:var(--border)}a.btn-ghost{color:var(--text)}.btn-ghost:hover,a.btn-ghost:hover{background:var(--surface-hover);color:var(--text);border-color:var(--muted)}.btn-ghost.forum-browser-star-on{color:#f5c542;border-color:#f5c54273}.btn-primary:disabled,.btn-ghost:disabled{opacity:.6;cursor:not-allowed}.error-banner{color:var(--danger);background:#ff6b6b1f;border:1px solid #ff6b6b59;border-radius:8px;margin-bottom:1rem;padding:.75rem 1rem}.nsfw-age-card{margin-bottom:1rem}.nsfw-age-card label{align-items:flex-start;gap:.5rem;display:flex}.thread-page{text-align:left}.thread-back{color:var(--muted);margin-bottom:1.15rem;display:inline-block}.post-tree{margin-top:1rem}.post-item-op>.thread-replies-heading,.post-item-op>.post-tree{margin-left:4.5rem}.post-item{border-left:2px solid var(--border);margin-top:1rem;margin-left:.25rem;padding-left:1.25rem}.post-item .post-item .post-tree{margin-left:1.25rem}.post-item-op{border-left:none;margin:0;padding:0}.post-item-op>.post-item-header{background:linear-gradient(165deg, #4f8cff1f 0%, #7c5cff0f 42%, var(--surface) 100%);border:1px solid #4f8cff73;border-radius:12px;padding:1.35rem 1.4rem 1.25rem;position:relative;box-shadow:0 0 0 1px #7c5cff1f,0 16px 40px #00000052}.post-item-op>.post-item-header:before{background:linear-gradient(90deg, var(--accent), var(--federated));content:"";border-radius:12px 12px 0 0;height:3px;position:absolute;top:0;left:0;right:0}.post-item-op .thread-root-title{color:var(--text);letter-spacing:-.03em;margin:.2rem 0 .75rem;font-size:1.75rem;font-weight:750;line-height:1.2}.post-item-op .post-body{font-size:1.05rem;line-height:1.65}.post-item-op .thread-badges{margin-top:0}.post-item-op .upvote-btn{background:#0f141973;margin-top:.15rem}.thread-replies-heading{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin-top:1.5rem;margin-bottom:.15rem;font-size:.85rem;font-weight:650}.thread-badge-op{color:#c4b5ff;background:#7c5cff33}.post-author{font-weight:600}.post-time{color:var(--muted);margin-left:.5rem;font-size:.8rem}.post-body{white-space:pre-wrap;margin:.5rem 0;line-height:1.55}.post-body-emotes{white-space:pre-wrap}.inline-emote{vertical-align:-.25em;object-fit:contain;width:1.35em;height:1.35em;margin:0 .05em;display:inline-block}.emote-picker{display:inline-flex;position:relative}.emote-picker-panel{z-index:20;border:1px solid var(--border,#2a3142);background:var(--card,#151922);border-radius:10px;width:min(18rem,80vw);padding:.75rem;position:absolute;bottom:calc(100% + .35rem);left:0;box-shadow:0 8px 24px #00000059}.modal-dialog .emote-picker-panel{top:calc(100% + .35rem);bottom:auto}.emote-picker-grid{flex-wrap:wrap;gap:.25rem;display:flex}.emote-picker-item{cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:2.1rem;height:2.1rem;padding:0;font-size:1.15rem;display:inline-flex}.emote-picker-item:hover{background:#ffffff14}.emote-autocomplete{position:relative}.emote-autocomplete-menu{z-index:30;border:1px solid var(--border,#2a3142);background:var(--card,#151922);border-radius:10px;width:max(100%,16rem);min-width:min(18rem,90vw);max-height:16rem;margin:0;padding:.35rem;list-style:none;position:absolute;top:calc(100% - .15rem);left:0;overflow:hidden auto;box-shadow:0 8px 24px #00000059}.emote-autocomplete-item{width:100%;color:var(--text,#e8eaef);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;grid-template-columns:minmax(6.5rem,1fr) 1.75rem;align-items:center;column-gap:.65rem;padding:.4rem .5rem;display:grid}.emote-autocomplete-item.is-active,.emote-autocomplete-item:hover{background:#ffffff14}.emote-autocomplete-text{flex-direction:column;align-items:flex-start;gap:.1rem;min-width:0;display:flex}.emote-autocomplete-code{color:var(--text,#e8eaef);white-space:nowrap;font-family:ui-monospace,Consolas,monospace;font-size:.95rem;display:inline-block}.emote-autocomplete-code:before{content:":" attr(data-code) ":"}.emote-autocomplete-name{color:var(--muted,#9aa3b5);white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:.75rem;overflow:hidden}.emoji-glyph{font-variant-emoji:emoji;font-family:Segoe UI Emoji,Segoe UI Symbol,Apple Color Emoji,Noto Color Emoji,Twemoji Mozilla,sans-serif;font-style:normal;line-height:1}.emote-autocomplete-glyph{justify-content:center;align-items:center;width:1.75rem;height:1.75rem;display:flex}.emote-autocomplete-glyph img{object-fit:contain;width:1.75rem;height:1.75rem}.emote-autocomplete-glyph .emoji-glyph{font-size:1.25rem}.emote-picker-item img{object-fit:contain;width:1.4rem;height:1.4rem}.reaction-bar{flex-wrap:wrap;align-items:center;gap:.35rem;margin:.35rem 0 .15rem;display:flex}.reaction-chip{border:1px solid var(--border,#2a3142);color:inherit;cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:.3rem;padding:.1rem .45rem;font-size:.8rem;display:inline-flex}.reaction-chip img{object-fit:contain;width:1rem;height:1rem}.reaction-chip-active{background:#4f8cff26;border-color:#4f8cff}.reaction-chip-empty{opacity:.85}.emote-picker-toggle{min-width:2.1rem}.emote-highlight-toggle{color:var(--muted);white-space:nowrap;align-items:center;gap:.35rem;font-size:.8rem;display:flex}.emote-current-glyph{justify-content:center;align-items:center;font-size:1.35rem;display:inline-flex}.emote-catalog-group{margin:.85rem 0 .35rem;padding:0;list-style:none}.emote-catalog-group-title{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:0;font-size:.75rem;font-weight:650}.emote-catalog-row{align-items:center}.emote-catalog-row.is-highlighted{box-shadow:inset 3px 0 0 var(--accent)}.emote-catalog-row-main{align-items:center;gap:.75rem;min-width:0;display:flex}.emote-catalog-row-main img,.emote-catalog-row-main>span:first-child{object-fit:contain;flex:0 0 2rem;width:2rem;height:2rem;font-size:1.35rem;line-height:2rem}.emote-current-image{object-fit:contain;flex:0 0 2.25rem;width:2.25rem;height:2.25rem}.emote-catalog-row .emote-draft-form,.list-browser-entry-editing .emote-draft-form{flex-direction:column;flex:1;gap:.5rem;width:100%;min-width:0;margin:0;display:flex}.list-browser-entry-fields.emote-catalog-fields{flex-wrap:nowrap;align-items:center;gap:.75rem;width:auto;max-width:100%;display:flex}.emote-catalog-fields .image-upload-compact{box-sizing:border-box;background:0 0;border-color:#0000;flex:0 0 2rem;justify-content:center;width:2rem;min-width:2rem;height:2rem;padding:0;overflow:hidden}.emote-catalog-fields .image-upload-compact:not(:has(img)):not(:has(.emote-edit-glyph)){border-color:var(--border)}.emote-catalog-fields .image-upload-copy{display:none}.emote-catalog-fields input{box-sizing:border-box;flex:0 0 7.5rem;width:7.5rem;min-width:0}.emote-catalog-fields input+input{flex-basis:8.5rem;width:8.5rem}.emote-catalog-row .image-upload-preview,.emote-catalog-fields .emote-edit-glyph{object-fit:contain;flex:0 0 2rem;justify-content:center;align-items:center;width:2rem;height:2rem;font-size:1.35rem;line-height:2rem;display:flex}.emote-inline-emoji{box-sizing:border-box;width:2.5rem;min-width:2.5rem;min-height:2.5rem;color:var(--text);text-align:center;cursor:text;background:0 0;border:none;flex:0 0 2.5rem;justify-content:center;align-items:center;margin:0;padding:0;font-size:1.15rem;line-height:1;display:inline-flex}.inline-form{gap:.5rem;margin-top:.75rem;display:flex}.inline-form input{flex:1}.grid-2{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.badge-server{color:#86efac;background:#22c55e1f}.filter-chips{flex-wrap:wrap;gap:.5rem;margin-bottom:1.25rem;display:flex}.filter-chip{background:var(--surface);border:1px solid var(--border);color:var(--muted);cursor:pointer;border-radius:999px;padding:.35rem .85rem;font-size:.85rem}.filter-chip:hover{border-color:var(--accent);color:var(--text)}.filter-chip-active{border-color:var(--accent);color:var(--accent);background:#4f8cff26}.server-row{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0;display:flex}.server-row:first-of-type{border-top:none;padding-top:0}.server-row-actions{flex-shrink:0;align-items:center;gap:.5rem;display:flex}.browse-forums-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.75rem;display:flex}.browse-forums-heading .page-title{margin-bottom:.25rem}.browse-forums-toolbar{margin-bottom:1.5rem}.browse-forums-search{width:100%;max-width:28rem;display:block}.browse-forum-group{margin-bottom:2rem}.browse-forum-group-title{margin:0 0 .75rem;font-size:1.1rem}.browse-forum-row .page-subtitle{margin-bottom:.35rem}.admin-shell{--on-accent:#0f1419;--admin-wash:#2a1f44;background:radial-gradient(circle at top, var(--admin-wash) 0%, var(--bg) 55%)}.admin-shell[data-admin=content]{--accent:#2dd4bf;--accent-hover:#5eead4;--federated:#14b8a6;--admin-wash:#0f3d38}.admin-shell[data-admin=hub]{--accent:#818cf8;--accent-hover:#a5b4fc;--federated:#6366f1;--admin-wash:#1e1b4b}.admin-shell[data-admin=auth]{--accent:#fbbf24;--accent-hover:#fcd34d;--federated:#f59e0b;--admin-wash:#3d2e0f}.admin-shell .btn-primary,.admin-shell .btn-primary-link,.admin-shell .btn-primary:hover,.admin-shell .btn-primary-link:hover{color:var(--on-accent)}.admin-shell .btn-primary:disabled{opacity:.65;cursor:wait}.admin-badge{letter-spacing:.08em;text-transform:uppercase;background:var(--accent);color:var(--on-accent);border-radius:999px;margin-left:.5rem;padding:.1rem .5rem;font-size:.7rem;font-weight:800;display:inline-block}.checklist-header{flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin-bottom:.35rem;display:flex}.checklist-header .card-title{margin:0}.checklist-summary{flex:1;min-width:8rem;margin:0}.checklist{margin:.65rem 0 0;padding:0;list-style:none}.checklist li{border-top:1px solid var(--border);align-items:flex-start;gap:.75rem;padding:.65rem 0;display:flex}.checklist li:first-child{border-top:none;padding-top:0}.checklist-status{text-transform:uppercase;flex-shrink:0;min-width:4.5rem;padding-top:.15rem;font-size:.75rem;font-weight:700}.admin-header{border-bottom-color:color-mix(in srgb, var(--accent) 45%, var(--border))}.permission-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.35rem 1rem;display:grid}.permission-check{flex-wrap:wrap;align-items:flex-start;gap:.15rem .4rem;min-width:0;font-size:.875rem;display:flex;position:relative}.permission-check>input{flex-shrink:0;margin-top:.2rem}.permission-check:hover,.permission-check:focus-within{z-index:2}.hover-expand-hint{min-width:0;max-width:calc(100% - 1.35rem);color:var(--muted);flex:100%;margin-left:1.35rem;font-size:.8em;line-height:1.3;position:relative}.hover-expand-hint-snip{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.hover-expand-hint-full{z-index:4;background:var(--surface);border:1px solid var(--border);min-width:12rem;max-width:min(22rem,70vw);box-shadow:var(--shadow);color:var(--muted);white-space:normal;pointer-events:none;border-radius:6px;padding:.2rem .45rem .3rem;font-size:.75rem;font-weight:600;line-height:1.35;display:none;position:absolute;top:calc(100% - .1rem);left:0;right:auto}.hover-expand-hint:hover .hover-expand-hint-full,.hover-expand-hint:focus-within .hover-expand-hint-full{display:block}.role-row{align-items:flex-start}.list-browser-header+.role-row,.card>.card-meta+.role-row{border-top:1px solid var(--border);margin-top:.75rem;padding-top:1rem}.role-row-header{justify-content:space-between;align-items:center;gap:1rem;width:100%;display:flex}.role-edit-bar{flex-wrap:wrap;align-items:end;gap:.65rem;width:auto;max-width:100%;display:flex}.role-edit-bar .form-group{margin-bottom:0}.role-edit-name{flex:none}.role-edit-name input{box-sizing:border-box;width:11rem;max-width:11rem}.role-edit-color{flex:none}.role-edit-color input[type=color]{box-sizing:border-box;cursor:pointer;width:2.5rem;height:2.5rem;padding:.15rem}.role-edit-starter{flex:0 16rem;min-width:10rem;max-width:16rem}.role-edit-starter select{box-sizing:border-box;width:100%}.list-browser-entry-form.has-extra{flex-wrap:wrap;justify-content:flex-start;align-items:end;display:flex}.list-browser-entry-form.has-extra .list-browser-entry-main{flex:0 auto;width:auto}.list-browser-entry-form.has-extra .list-browser-entry-actions{align-self:end;margin-left:auto;padding-top:0}.list-browser-entry-extra{flex:1 0 100%;width:100%;min-width:0}.list-browser-entry-extra>.form-group:last-child{margin-bottom:0}.member-role-bar{flex-wrap:wrap;align-items:end;gap:.65rem;width:auto;max-width:100%;display:flex}.member-role-bar .form-group{margin-bottom:0}.member-role-user{flex:none;width:11rem}.member-role-user input,.member-role-flair select{box-sizing:border-box;width:100%}.flair-select{font-family:Segoe UI,system-ui,Segoe UI Emoji,Segoe UI Symbol,Apple Color Emoji,Noto Color Emoji,sans-serif}.member-role-flair{flex:none;width:10rem}.member-role-picks{flex-wrap:wrap;gap:.45rem .85rem;display:flex}.subforum-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem;display:grid}.section-title{margin:0 0 .5rem;font-size:1.35rem}.sort-bar{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:1.5rem;display:flex}.sort-bar-label{color:var(--muted);margin-right:.25rem;font-size:.85rem}.thread-card{padding:.85rem 1rem}.thread-card-main{align-items:flex-start;gap:.75rem;display:flex}.thread-card-body{flex:1;min-width:0}.thread-card-title{margin:.35rem 0 .25rem;font-size:1.05rem;font-weight:650;line-height:1.35}.feed-more{justify-content:center;margin:1rem 0 2rem;display:flex}.thread-root-title{letter-spacing:-.03em;margin:.2rem 0 .75rem;font-size:1.75rem;font-weight:750;line-height:1.2}.thread-reply-preview{border-left:2px solid var(--border);margin-top:.55rem;padding-left:.65rem;position:relative}.thread-reply-preview-label{color:var(--muted);margin-bottom:.15rem;font-size:.75rem;display:block}.thread-reply-preview-short,.thread-reply-preview-long{color:var(--text);margin:0;font-size:.9rem}.thread-reply-preview-long{background:var(--surface);border:1px solid var(--border);z-index:5;border-radius:8px;padding:.65rem .75rem;display:none;position:absolute;top:calc(100% + .25rem);left:0;right:0;box-shadow:0 8px 24px #00000040}.thread-reply-preview:hover .thread-reply-preview-long,.thread-reply-preview:focus-within .thread-reply-preview-long{display:block}.post-attachments{flex-wrap:wrap;gap:.5rem;margin-top:.75rem;display:flex}.post-attachment{border:1px solid var(--border);border-radius:8px;max-width:min(100%,280px);display:block;overflow:hidden}.post-attachment img{object-fit:cover;width:100%;height:auto;max-height:240px;display:block}.nsfw-attachment{max-width:min(100%,320px);position:relative}.nsfw-censor{filter:none;object-fit:cover;width:100%;height:160px;display:block}.nsfw-censor-empty{background:#1a1a1a}.nsfw-veil{background:#080808b8;gap:.5rem;padding:.75rem;display:grid;position:absolute;inset:0}.nsfw-cover{color:#fff;margin:0;font-size:.9rem}.nsfw-mark-btn,.nsfw-mark-form{margin:.4rem .5rem .5rem}.create-post-nsfw{align-items:center;gap:.35rem;padding:.25rem .4rem;font-size:.8rem;display:flex}.create-post-cover{width:calc(100% - .7rem);margin:0 .35rem .4rem;font-size:.8rem}.feed-thumb{max-width:220px;margin-top:.6rem}.feed-thumb img,.feed-thumb-empty{object-fit:cover;border-radius:8px;width:100%;height:120px;display:block}.feed-thumb-empty{background:#222}.feed-thumb-nsfw{position:relative}.feed-thumb-nsfw p{color:#fff;background:#000000b3;margin:0;padding:.35rem .5rem;font-size:.8rem;position:absolute;bottom:0;left:0;right:0}.modal-overlay{padding:calc(2rem + env(safe-area-inset-top)) 1rem calc(2rem + env(safe-area-inset-bottom));z-index:1000;background:#0000008c;justify-content:center;align-items:flex-start;display:flex;position:fixed;inset:0;overflow-y:auto}.modal-dialog{background:var(--bg);border:1px solid var(--border);border-radius:12px;width:100%;max-width:640px;padding:1.25rem 1.35rem 1.35rem;box-shadow:0 16px 48px #00000059}.modal-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.35rem;display:flex}.modal-actions{justify-content:flex-end;gap:.5rem;margin-top:1rem;display:flex}.create-post-previews{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.75rem;margin-top:.75rem;display:grid}.create-post-preview{border:1px solid var(--border);border-radius:8px;position:relative;overflow:hidden}.create-post-preview img{aspect-ratio:1;object-fit:cover;width:100%;display:block}.create-post-preview-status{color:#fff;background:#000000a6;padding:.2rem .35rem;font-size:.7rem;position:absolute;bottom:2.1rem;left:0;right:0}.create-post-preview-error{background:#8c1414d9}.create-post-preview-remove{width:100%;min-height:0;padding:.25rem .4rem;font-size:.75rem}.thread-badges{flex-wrap:wrap;gap:.35rem;margin:.25rem 0 .35rem;display:flex}.thread-badge{letter-spacing:.02em;text-transform:uppercase;border-radius:4px;padding:.1rem .45rem;font-size:.7rem;font-weight:600}.thread-badge-pinned{color:#7eb0ff;background:#4f8cff2e}.thread-badge-locked{color:#ffb86c;background:#ffb45026}.thread-badge-following{color:#c4b0ff;background:#a078ff29}.post-item-header{align-items:flex-start;gap:.75rem;display:flex}.post-item-content{flex:1;min-width:0}.post-item-deleted .post-body{color:var(--muted);font-style:italic}.post-actions{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.5rem;display:flex}.post-actions .btn-ghost{min-height:2rem;padding:.25rem .6rem;font-size:.85rem}.btn-icon,a.btn-icon{box-sizing:border-box;border:1px solid var(--border);background:var(--surface);width:2.15rem;height:2.15rem;min-height:0;color:var(--text);cursor:pointer;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;padding:0;text-decoration:none;display:inline-flex}.btn-icon svg,a.btn-icon svg{width:1.05rem;height:1.05rem;display:block}.btn-icon:hover,a.btn-icon:hover{background:var(--surface-hover);border-color:var(--muted);color:var(--text)}.btn-icon-primary,a.btn-icon-primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn-icon-primary:hover,a.btn-icon-primary:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:#fff}.btn-icon-danger,a.btn-icon-danger{color:var(--danger);border-color:#ff6b6b73}.btn-icon-danger:hover,a.btn-icon-danger:hover{border-color:var(--danger);color:#ffb4b4}.btn-icon:disabled{opacity:.55;cursor:not-allowed}.btn-danger{color:var(--danger);border-color:#ff6b6b73}.btn-danger:hover{border-color:var(--danger);color:#ffb4b4}.post-history{border-left:2px solid var(--border);margin-top:.75rem;padding-left:.75rem}.post-history-item{margin-bottom:.75rem}.change-history-item{border-bottom:1px solid var(--border);margin-bottom:.75rem;padding-bottom:.75rem}.change-history-json{background:var(--surface);border:1px solid var(--border);white-space:pre-wrap;border-radius:8px;margin-top:.5rem;padding:.5rem .75rem;font-size:.8rem;overflow:auto}.upvote-btn{background:var(--surface);border:1px solid var(--border);color:var(--muted);border-radius:8px;flex-direction:column;flex-shrink:0;align-items:center;min-width:2.5rem;display:flex}.upvote-btn-inner{color:inherit;cursor:pointer;font:inherit;background:0 0;border:none;flex-direction:column;align-items:center;gap:.1rem;width:100%;padding:.35rem .5rem;text-decoration:none;display:flex}.upvote-btn:hover,.upvote-btn-inner:hover{border-color:var(--accent);color:var(--accent)}.upvote-btn-active{border-color:var(--accent);color:var(--accent);background:#4f8cff1f}.upvote-btn-compact{min-width:2.25rem}.upvote-btn-compact .upvote-btn-inner{padding:.25rem .4rem}.upvote-btn-own:hover,.upvote-btn-own .upvote-btn-inner:hover{border-color:var(--border);color:var(--muted)}.upvote-btn-own .upvote-btn-inner:disabled{cursor:default;opacity:.7}.upvote-arrow{font-size:.75rem;line-height:1}.upvote-count{font-size:.8rem;font-weight:600;line-height:1}@media (width<=640px){.grid-2,.list-browser-entry-fields,.list-browser-entry-fields.is-create,.list-detail-fields,.list-browser-entry-fields.emote-catalog-fields{grid-template-columns:1fr}.list-browser-item-head,.list-browser-entry-form{flex-direction:column}.list-browser-entry-actions{width:100%;margin-left:0}.app-header{flex-direction:column;align-items:stretch;gap:.75rem;padding:.85rem 1rem}.header-bar{flex-wrap:wrap}.header-search{flex:100%;order:3;max-width:none}.header-actions{align-items:center;gap:.5rem;display:flex}.nav-toggle{display:inline-flex}.app-body-with-nav .forum-browser{padding-top:env(safe-area-inset-top);z-index:30;width:min(320px,88vw);max-height:none;box-shadow:var(--shadow);display:none;position:fixed;top:0;bottom:0;left:0}.app-body-with-nav .forum-browser-open{display:flex}.forum-browser-backdrop{z-index:20;background:#00000073;border:none;padding:0;display:block;position:fixed;inset:0}.nav-links{flex-direction:column;align-items:stretch;gap:.35rem;padding-top:.25rem;display:none}.nav-links-open{display:flex}.nav-link,.btn-primary,.btn-primary-link{text-align:left;width:100%}.user-menu-panel{min-width:0;margin-top:.35rem;position:static}.post-item-op>.post-item-header{padding:1.1rem 1rem 1rem}.thread-root-title{font-size:1.4rem}.post-item-op>.thread-replies-heading,.post-item-op>.post-tree{margin-left:1.25rem}.post-item{margin-left:.15rem;padding-left:.85rem}.post-item .post-item .post-tree{margin-left:.65rem}}.btn-ghost.is-active{border-color:var(--accent);background:var(--surface-hover)}.list-browser-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.list-browser{display:block}.list-browser-filters{flex-wrap:wrap;gap:.35rem;margin-bottom:.75rem;display:flex}.list-browser-rows{margin:0;padding:0;list-style:none}.list-browser-item{border:1px solid var(--border);background:var(--surface);border-radius:8px;margin:0 0 .55rem}.list-browser-item.is-expanded{border-color:var(--accent)}.list-browser-item-head{justify-content:space-between;align-items:flex-start;gap:.75rem;padding:.55rem .7rem;display:flex}.list-browser-item-head.list-browser-entry-form,.list-browser-item-head.list-browser-entry-editing{align-items:flex-end}.list-browser-row{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:none;flex-direction:column;flex:1;align-items:flex-start;gap:.2rem;margin:0;padding:0;display:flex}.list-browser-row-title{align-items:center;gap:.4rem;display:inline-flex}.list-detail-fields{grid-template-columns:minmax(7rem,1fr) minmax(8rem,1.3fr) minmax(7rem,8.25rem) 4.25rem minmax(5.75rem,6.75rem);align-items:end;gap:.65rem;width:100%;display:grid}.list-detail-fields .form-group{margin-bottom:0}.list-detail-badge,.list-detail-badge .emote-autocomplete,.list-detail-badge input{width:100%;min-width:0}.list-detail-public-toggle{white-space:nowrap;align-items:center;gap:.35rem;min-height:2.4rem;display:inline-flex}.list-browser-members{border-top:1px solid var(--border);background:#0000002e;padding:.75rem .85rem .35rem}.list-browser-members-head{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.5rem;display:flex}.list-browser-members-head .card-title{margin:0}.list-browser-entries{margin:0 0 1rem;padding:0;list-style:none}.list-browser-entry{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:.75rem;padding:.55rem 0;display:flex}.list-browser-entry-main{flex:1;min-width:0}.list-browser-entry-actions{flex-shrink:0;justify-content:flex-end;align-items:center;gap:.5rem;margin-left:auto;display:flex}.list-browser-entry.is-ignored{opacity:.55}.list-browser-entry-form{justify-content:space-between;align-items:flex-end;gap:.75rem;width:100%;margin:0;display:flex}.list-browser-entry-user{font-weight:650}.list-browser-entry-fields{grid-template-columns:minmax(0,1fr) 5.75rem minmax(0,1.4fr);gap:.65rem;display:grid}.list-browser-entry-fields.is-create{grid-template-columns:minmax(8rem,10rem) minmax(0,1fr) 5.75rem minmax(0,1.4fr)}.flair-box{border:2px solid var(--muted);background:var(--bg);vertical-align:middle;box-sizing:border-box;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;gap:.15rem;min-width:1.45rem;height:1.45rem;padding:0 .28rem;line-height:1;display:inline-flex}.user-flair-box{border-style:solid;border-radius:5px}.flair-box .flair-badge{justify-content:center;align-items:center;font-size:.82rem;line-height:1;display:flex}.flair-box img{border-radius:3px;width:14px;height:14px;display:block}.list-flair-box{border-style:dashed;border-radius:999px;padding:0 .32rem}.list-flair-split{border-left:1px solid var(--muted);flex-shrink:0;width:0;height:.85rem}.list-browser-entry-badge{min-width:0}.list-browser-entry-badge .emote-autocomplete{width:100%}.list-browser-entry-badge input{width:100%;min-width:0}.list-browser-entry-fields .form-group{margin-bottom:0}.list-transfer{border-bottom:1px solid var(--border);margin-bottom:1rem;padding-bottom:.25rem}.list-transfer .card-meta{margin:.25rem 0 .5rem}.list-members-search{align-items:flex-end;gap:.75rem;margin-bottom:1rem;display:flex}.list-members-search .form-group{flex:1;margin-bottom:0}.list-members-pager{flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:1rem;display:flex}.list-person-hits{border-bottom:1px solid var(--border);margin:0 0 1rem;padding-bottom:1rem}.list-person-hits .card-title{margin:0 0 .35rem}.cooler-quote{border-left:3px solid var(--accent,#4f8cff);background:color-mix(in srgb, var(--card,#111) 80%, transparent);margin:.5rem 0;padding:.5rem .75rem}.cooler-composer{z-index:5;position:sticky}.cooler-composer-bottom{bottom:0}.cooler-composer-top{margin-bottom:1rem;top:4.75rem}.cooler-channel{flex-direction:column;gap:.5rem;display:flex}.nav-badge{background:var(--accent,#4f8cff);color:#fff;text-align:center;border-radius:999px;min-width:1.25rem;margin-left:.4rem;padding:.05rem .35rem;font-size:.75rem;line-height:1.3;display:inline-block}.alert-row{color:inherit;margin-bottom:.75rem;text-decoration:none;display:block}.alert-row-unread{border-color:var(--accent,#4f8cff)}.thread-alert-setting{color:var(--muted);align-items:center;gap:.5rem;margin:.75rem 0 0;font-size:.875rem;display:flex}.avatar-wrap{flex-shrink:0;position:relative}.avatar{background:linear-gradient(135deg, var(--surface-hover), var(--surface));border:2px solid var(--border);color:var(--text);border-radius:50%;justify-content:center;align-items:center;font-weight:700;display:flex}.avatar-ring{border-style:solid;border-width:3px}.avatar-ring-pulse{animation:2s ease-in-out infinite avatar-pulse}@keyframes avatar-pulse{0%,to{box-shadow:0 0 #ef444473}50%{box-shadow:0 0 0 6px #ef444400}}@media (prefers-reduced-motion:reduce){.avatar-ring-pulse{animation:none}}.avatar-corner{border:2px solid var(--bg);border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;font-size:10px;line-height:1;display:flex;position:absolute;bottom:-2px;right:-2px}.avatar-corner-list{background:color-mix(in srgb, var(--federated) 35%, var(--surface));border-color:color-mix(in srgb, var(--federated) 70%, var(--bg));border-radius:4px}.user-byline{margin-bottom:.5rem}.byline-row{align-items:flex-start;gap:.75rem;display:flex}.byline-text{min-width:0}.byline-names{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.byline-mark-split{border-left:2px dotted var(--text);opacity:.45;align-self:center;width:0;height:1.05rem;margin:0 .1rem}.display-name{font-weight:600}.byline-meta{color:var(--muted);font-size:.82rem}.status-line{color:var(--accent);margin-top:.25rem;font-size:.875rem}.status-expiry{color:var(--muted);font-size:.78rem}.flair-badge{cursor:default;align-items:center;font-size:.95rem;display:inline-flex}.flair-badge img{border-radius:3px}.annotation-badge{cursor:help;align-items:center;display:inline-flex;position:relative}.annotation-badge.severity-3,.annotation-badge.severity-4{box-shadow:0 0 0 1px #f59e0bb3}.annotation-popover{z-index:20;background:var(--surface);border:1px solid var(--border);min-width:220px;max-width:280px;box-shadow:var(--shadow);color:var(--text);border-radius:8px;flex-direction:column;gap:.25rem;padding:.65rem .75rem;font-size:.82rem;font-weight:400;display:flex;position:absolute;top:calc(100% + 6px);left:0}.annotation-popover strong{color:var(--accent)}.annotation-list-name{color:var(--muted);font-size:.78rem}.annotation-popover small{color:var(--muted)}.profile-section{margin-top:1.5rem}.preset-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.5rem;margin-bottom:1rem;display:grid}.preset-btn{border:1px solid var(--border);background:var(--bg);color:var(--text);cursor:pointer;text-align:left;font:inherit;border-radius:8px;padding:.65rem}.preset-btn:hover,.preset-btn.active{border-color:var(--accent);background:#4f8cff14}.preset-btn .preset-emoji{margin-bottom:.25rem;font-size:1.25rem;display:block}.forum-layout-stack{flex-direction:column;min-width:0;display:flex}.forum-layout-stack-child{min-width:0}.forum-layout-columns{grid-template-columns:var(--forum-cols-template,minmax(0, 1fr));width:100%;min-width:0;display:grid}.forum-layout-columns-child{min-width:0}.forum-layout-columns[data-collapsed="1"]{grid-template-columns:minmax(0,1fr)!important}.forum-layout-grid{width:100%;min-width:0;display:grid}.forum-layout-grid-child{min-width:0}.forum-layout-editor-grid-cell.is-drop-before{box-shadow:inset 3px 0 0 var(--accent,#2563eb)}.forum-layout-editor-canvas-wrap{border:1px solid var(--border,#ccc);background:var(--bg-elevated,#f6f6f6);border-radius:6px;padding:.75rem;overflow:auto}.forum-layout-editor-canvas{min-height:12rem;margin:0 auto}.forum-layout-editor-box{border:1px dashed var(--muted,#888);background:var(--bg,#fff);box-sizing:border-box;border-radius:4px;min-height:2.5rem;position:relative}.forum-layout-editor-box.is-selected{border-color:var(--accent,#2563eb);box-shadow:0 0 0 1px var(--accent,#2563eb);border-style:solid}.forum-layout-editor-box-label{color:var(--muted,#666);cursor:pointer;-webkit-user-select:none;user-select:none;padding:.35rem .5rem;font-size:.75rem}.forum-layout-editor-box.is-selected>.forum-layout-editor-box-label{color:var(--accent,#2563eb);font-weight:600}.forum-layout-editor-gutter{cursor:col-resize;z-index:1;background:0 0;flex:0 0 8px;position:relative}.forum-layout-editor-gutter:after{content:"";background:var(--border,#ccc);border-radius:2px;position:absolute;inset:.25rem 2px}.forum-layout-editor-gutter:hover:after,.forum-layout-editor-gutter.is-dragging:after{background:var(--accent,#2563eb)}.forum-layout-editor-gutter-row{cursor:row-resize;flex:0 0 8px;width:100%;height:8px}.forum-layout-editor-grid{grid-template-columns:minmax(9rem,11rem) minmax(16rem,1.6fr) minmax(14rem,1fr);gap:1rem;display:grid}.forum-layout-palette-list{flex-direction:column;gap:.35rem;margin:.5rem 0 0;padding:0;list-style:none;display:flex}.forum-layout-palette-item{text-align:left;cursor:grab;width:100%}.forum-layout-palette-item:active{cursor:grabbing}.forum-layout-editor-box.is-drop-hover{outline:2px dashed var(--accent,#2563eb);outline-offset:2px}.forum-layout-drop-slot{border-radius:3px;flex:0 0 10px;min-height:10px;transition:background .1s}.forum-layout-drop-slot.is-vertical{align-self:stretch;width:10px;min-height:auto}.forum-layout-drop-slot.is-active{background:var(--accent,#2563eb)}.forum-layout-editor:focus{outline:none}.forum-layout-editor:focus-visible{outline:2px solid var(--accent,#2563eb);outline-offset:2px}@media (width<=960px){.forum-layout-editor-grid{grid-template-columns:1fr}}
