.topic-author,.post-user{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.topic-author b,.post-user b{font-size:14px}.topic-author small,.post-user small{width:100%;color:var(--muted);font-size:11px}.role{padding:2px 6px;background:#35405a;color:#cbd6ff;font-size:10px}.post-user>.avatar{width:44px;height:44px}.topic-actions{display:flex;align-items:center;gap:22px}.topic-actions a,.topic-actions span{display:flex;align-items:center;gap:5px}.topic-actions .icon{width:16px;height:16px}.post-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.post-images img{width:100%;max-height:360px;object-fit:cover;border:1px solid var(--line)}.post-controls{display:flex;gap:14px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}.post-controls a{display:flex;align-items:center;gap:5px;font-size:12px}.post-controls .icon{width:15px}.pagination{display:flex!important;flex-direction:row!important;gap:4px;padding:12px 0}.pagination a{display:block!important;width:auto!important;height:auto!important;padding:7px 11px!important;border:1px solid var(--line);font-size:12px!important}.pagination a:before{display:none!important}.pagination a.active{background:var(--accent);color:#111}.danger-button{background:#a32832!important;color:#fff!important}.admin-tabs{display:flex!important;flex-direction:row!important;gap:0;margin-bottom:14px;border:1px solid var(--line);overflow-x:auto}.admin-tabs a{display:block!important;width:auto!important;height:auto!important;padding:10px 14px!important;border-right:1px solid var(--line);font-size:13px!important;white-space:nowrap}.admin-tabs a:before{display:none!important}.admin-sections .admin-card{width:100%}.admin-row{grid-template-columns:minmax(0,1fr) 140px auto;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.admin-user{grid-template-columns:minmax(180px,1fr) minmax(160px,1fr) 120px auto;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}@media(max-width:650px){.post-images{grid-template-columns:1fr}.admin-row,.admin-user{grid-template-columns:1fr}.topic-author small,.post-user small{width:auto}.thread h1{font-size:24px}}
.md-editor{display:grid;gap:7px}.md-toolbar{display:flex;gap:5px}.md-toolbar button{min-width:38px;padding:7px 10px;border-radius:5px;background:var(--soft);border:1px solid var(--line);color:var(--text)}.md-editor small{color:var(--muted)}.post-body img{display:block;max-width:100%;max-height:520px;margin:12px 0}.post-body code{padding:2px 5px;border-radius:4px;background:var(--soft)}.share-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(240px,2fr) auto auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.share-row div{display:grid}.share-row small{color:var(--muted)}.invite-list{margin-top:20px}
html[data-theme="light"]{color-scheme:light;--bg:#f7f8fa;--soft:#e9edf2;--line:#c9d0d8;--text:#17202a;--muted:#59636e}html[data-theme="light"] body,html[data-theme="light"] header,html[data-theme="light"] .account-menu,html[data-theme="light"] .form-card,html[data-theme="light"] .thread,html[data-theme="light"] .reply-form,html[data-theme="light"] .profile,html[data-theme="light"] .admin-card,html[data-theme="light"] .notice-item,html[data-theme="light"] input,html[data-theme="light"] textarea,html[data-theme="light"] select{background:var(--bg);color:var(--text)}
@media(prefers-color-scheme:light){html[data-theme="system"]{color-scheme:light;--bg:#f7f8fa;--soft:#e9edf2;--line:#c9d0d8;--text:#17202a;--muted:#59636e}html[data-theme="system"] body,html[data-theme="system"] header,html[data-theme="system"] .account-menu,html[data-theme="system"] .form-card,html[data-theme="system"] .thread,html[data-theme="system"] .reply-form,html[data-theme="system"] .profile,html[data-theme="system"] .admin-card,html[data-theme="system"] .notice-item,html[data-theme="system"] input,html[data-theme="system"] textarea,html[data-theme="system"] select{background:var(--bg);color:var(--text)}}
@media(max-width:650px){.share-row{grid-template-columns:1fr}.share-row input{font-size:12px}}
.avatar img,.big-avatar img{width:100%;height:100%;display:block;object-fit:cover;border-radius:inherit}.avatar-form{max-width:360px;margin:22px auto;text-align:left}.profile-share{display:inline-block;padding:10px 18px;border:1px solid var(--line);border-radius:999px}.profile .create-button{width:auto}
