/* Página /adm/ — visual inspirado no old reddit, isolado em .oldreddit (sempre claro) */
.adm-main {
    max-width: none;
    padding: 0;
    align-self: stretch;
}

.oldreddit {
    --or-blue: #cee3f8;
    --or-link: #0000ff;
    --or-visited: #551a8b;
    --or-text: #333;
    --or-muted: #888;
    --or-border: #5f99cf;
    font-family: verdana, arial, helvetica, sans-serif;
    color: var(--or-text);
    background: var(--t-surface, #fff);
    min-height: calc(100vh - 50px);
}

.or-header {
    background: var(--t-surface, #fff);
}
.or-sr-bar {
    background: var(--t-surface2, #f0f0f0);
    border-bottom: 1px solid var(--t-border, #e0e0e0);
    font-size: 11px;
    color: var(--t-text, #444);
    padding: 3px 10px;
}
.or-sr-bar a { color: var(--t-link2, #369); text-decoration: none; font-weight: 700; }
.or-header-main {
    background: var(--or-blue);
    border-bottom: 1px solid var(--or-border);
    padding: 4px 10px 0 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px 10px;
    min-height: 58px;
}
.or-snoo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #ff4500;
    color: #fff;
    font: italic 700 28px Palatino, "Times New Roman", serif;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-bottom: 4px;
    flex-shrink: 0;
}
.or-pagename {
    font-size: 22px;
    font-weight: 700;
    margin: 0 10px 6px 0;
    line-height: 1;
}
.or-pagename a { color: var(--t-text, #000); text-decoration: none; }
.or-tabmenu {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    gap: 4px;
    margin: 0 0 -1px 0;
    padding: 0;
    align-items: flex-end;
    width: 100%;
    justify-content: flex-end;
    overflow-x: auto;
}
.or-tabmenu a {
    display: block;
    padding: 3px 8px 2px;
    font-size: 12px;
    font-weight: 700;
    color: var(--t-link2, #369);
    text-decoration: none;
    background: var(--t-info-bg, #eff7ff);
    border: 1px solid var(--or-border);
    border-bottom: none;
    border-radius: 3px 3px 0 0;
}
.or-tabmenu .selected a {
    background: var(--t-surface, #fff);
    color: #ff4500;
    border-bottom: 1px solid var(--t-border, #fff);
    position: relative;
    z-index: 1;
}

.or-periodo {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 10px;
    margin: 6px 0 0;
    padding: 0;
    width: 100%;
    justify-content: flex-end;
    font-size: 12px;
}
.or-periodo a { color: var(--t-link2, #369); text-decoration: none; font-weight: 600; }
.or-periodo .selected a { color: #ff4500; }
.or-periodo[hidden] { display: none; }

.or-wrap {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 10px 8px 32px;
    background: var(--t-surface, #fff);
}
.or-listing { flex: 1; min-width: 0; }
.or-side {
    width: 300px;
    flex-shrink: 0;
}

.or-thing {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 4px 0 8px;
    border-bottom: 1px solid var(--t-border, #f0f0f0);
}
.or-rank {
    width: 18px;
    text-align: right;
    color: var(--or-muted);
    font-size: 13px;
    font-weight: 700;
    padding-top: 16px;
    flex-shrink: 0;
}
.or-midcol {
    width: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    padding-top: 2px;
}
.or-arrow {
    width: 0;
    height: 0;
    border: 8px solid transparent;
    background: none;
    padding: 0;
    cursor: pointer;
}
.or-arrow.or-up { border-bottom-color: var(--t-border, #c6c6c6); border-top-width: 0; margin-bottom: 2px; }
.or-arrow.or-down { border-top-color: var(--t-border, #c6c6c6); border-bottom-width: 0; margin-top: 2px; }
.or-arrow.or-up:hover, .or-arrow.or-up.is-on { border-bottom-color: #ff8b60; }
.or-arrow.or-down:hover, .or-arrow.or-down.is-on { border-top-color: #9494ff; }
.or-score {
    font-size: 11px;
    font-weight: 700;
    color: var(--t-text2, #646464);
    line-height: 1.2;
}
.or-midcol.is-up .or-score { color: #ff8b60; }
.or-midcol.is-down .or-score { color: #9494ff; }

.or-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border: 1px solid var(--t-border, #ccc);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    text-decoration: none;
}
.or-entry { min-width: 0; flex: 1; padding-top: 1px; }
.or-title { font-size: 16px; line-height: 1.3; margin: 0 0 2px; }
.or-title a { color: var(--or-link); text-decoration: none; }
.or-title a:visited { color: var(--or-visited); }
.or-title a:hover { text-decoration: underline; }
.or-domain { font-size: 10px; color: var(--or-muted); font-weight: 400; }
.or-tagline { font-size: 10px; color: var(--or-muted); margin: 0 0 2px; }
.or-author { color: var(--t-link2, #369); font-weight: 700; text-decoration: none; white-space: nowrap; }
.or-author:hover { text-decoration: underline; }
.or-exp { font-size: 11px; color: var(--t-text2, #555); margin: 0 0 4px; line-height: 1.35; }
.or-buttons { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.or-buttons a, .or-buttons button {
    font-size: 10px;
    font-weight: 700;
    color: var(--or-muted);
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}
.or-buttons a:hover, .or-buttons button:hover { text-decoration: underline; }
.or-buttons button.is-on { color: #ff8b60; }

.or-titlebox {
    border: 1px solid var(--t-border, #ddd);
    background: var(--t-surface2, #fafafa);
    padding: 10px;
    font-size: 12px;
}
.or-side-name { font-size: 18px; margin: 0 0 4px; color: var(--t-text, #000); }
.or-side-meta { font-size: 11px; color: var(--or-muted); margin: 0 0 10px; }
.or-md p { margin: 0 0 8px; line-height: 1.45; color: var(--t-text, #222); }
.or-md a { color: var(--t-link2, #369); word-break: break-all; }

@media (max-width: 900px) {
    .or-wrap { flex-direction: column; }
    .or-side { width: 100%; }
}
@media (max-width: 640px) {
    .or-thumb { width: 56px; height: 56px; font-size: 20px; }
    .or-title { font-size: 15px; }
    .or-header-main { padding-bottom: 0; }
    .or-tabmenu { margin-left: 0; width: 100%; }
    .or-rank { display: none; }
}

.or-stickied {
    background: var(--t-ok-bg, #f0fff0);
    border-bottom-color: var(--t-ok-border, #d4e6d4);
}
.or-stickied .or-title a { color: var(--t-green, #228822); }
.or-stickied .or-title a:visited { color: var(--t-green-dark, #1a661a); }
.or-thumb-sticky { background: #228822; }
.or-sticky-tag {
    display: inline-block;
    color: var(--t-green, #228822);
    font-weight: 700;
    text-transform: lowercase;
    margin-right: 4px;
}
.or-mod {
    color: var(--t-green, #228822);
    font-weight: 700;
    margin-left: 2px;
}
.or-selfpost {
    margin: 16px 0 8px;
    padding: 12px 14px 16px;
    border: 1px solid var(--t-ok-border, #d4e6d4);
    background: var(--t-ok-bg, #f7fff7);
    scroll-margin-top: 60px;
}
.or-selfpost-title {
    font-size: 18px;
    color: var(--t-green, #228822);
    margin: 0 0 6px;
    font-weight: 700;
}
.or-selfpost-body {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--t-ok-border, #d4e6d4);
}

/* Painel /b e formulário de postagem */
.or-empty {
    font-size: 13px;
    color: var(--or-muted);
    padding: 12px 8px 18px;
    margin: 0;
}
.or-submit {
    background: var(--t-surface2, #fafafa);
    border: 1px solid var(--t-border, #e0e0e0);
    margin: 8px 0 14px;
    padding: 12px 12px 10px;
}
.or-submit h2 {
    font-size: 14px;
    margin: 0 0 8px;
    color: var(--t-text, #000);
}
.or-submit-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.or-submit-form label {
    font-size: 11px;
    font-weight: 700;
    color: var(--t-text, #333);
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.or-submit-form input[type="text"],
.or-submit-form input[type="url"],
.or-submit-form textarea {
    width: 100%;
    box-sizing: border-box;
    font: 13px verdana, arial, helvetica, sans-serif;
    padding: 6px 8px;
    border: 1px solid var(--t-info-border, #a8b8c8);
    border-radius: 2px;
    background: var(--t-surface, #fff);
    color: var(--t-text, #000);
}
.or-submit-form textarea { min-height: 90px; resize: vertical; }
.or-submit-form button[type="submit"] {
    appearance: none;
    border: 1px solid #5f99cf;
    background: var(--t-info-bg, #cee3f8);
    color: var(--t-link2, #369);
    font-weight: 700;
    font-size: 12px;
    padding: 6px 12px;
    cursor: pointer;
    align-self: flex-start;
}
.or-submit-form button[type="submit"]:hover { background: var(--t-info-bg, #b9d3ef); }
.or-submit-form button[type="submit"]:disabled { opacity: 0.7; cursor: wait; }
.or-submit-note {
    font-size: 11px;
    color: var(--t-text2, #555);
    margin: 0 0 8px;
}
.or-as-user { font-size: 12px; margin: 0; color: var(--t-text, #333); }
.or-panel-list { display: flex; flex-direction: column; gap: 10px; padding: 12px 8px 24px; }
.or-sub {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--t-border, #e0e0e0);
    background: var(--t-surface, #fff);
    padding: 12px 14px;
}
.or-sub:hover { border-color: #5f99cf; background: var(--t-surface2, #f5f9fc); }
.or-sub-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--t-link, #0000ff);
    margin: 0 0 4px;
}
.or-sub-desc { font-size: 13px; color: var(--t-text, #333); margin: 0 0 6px; line-height: 1.4; }
.or-sub-meta { font-size: 11px; color: var(--t-text3, #888); margin: 0; }
.or-post-body {
    font-size: 14px;
    line-height: 1.5;
    margin: 10px 0 16px;
    white-space: pre-wrap;
    word-break: break-word;
}
.or-post-link { font-size: 13px; margin: 0 0 12px; }
.or-post-link a { color: var(--t-link, #0000ff); }
.or-back { font-size: 12px; margin: 0 0 10px; }
.or-back a { color: var(--t-link2, #369); }


.or-postar-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 6px;
    padding: 0;
}
.or-postar-btn {
    appearance: none;
    background: var(--t-surface, #fff);
    border: 1px solid var(--t-info-border, #c4dbf1);
    border-radius: 2px;
    color: var(--t-link2, #369);
    font: 700 12px verdana, arial, sans-serif;
    padding: 3px 10px 4px;
    cursor: pointer;
    line-height: 1.3;
}
.or-postar-btn:hover {
    background: var(--t-info-bg, #eff7ff);
}
.or-postar-btn[aria-expanded="true"] {
    background: var(--t-info-bg, #eff7ff);
    color: #ff4500;
    border-color: #5f99cf;
}
.or-submit {
    scroll-margin-top: 60px;
}
.or-submit[hidden] {
    display: none !important;
}
.or-submit-cancel {
    appearance: none;
    border: 1px solid var(--t-border, #ccc);
    background: var(--t-surface2, #f6f6f6);
    color: var(--t-text2, #555);
    font: 700 12px verdana, arial, sans-serif;
    padding: 6px 12px;
    cursor: pointer;
}
.or-submit-cancel:hover {
    background: var(--t-surface2, #ececec);
}

/* ---- /b: ações no cabeçalho (>>> e unir-se) ---- */
.or-head-actions {
    margin-left: auto;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    padding: 2px 0 4px;
    flex-shrink: 0;
}
.or-members-link {
    font: 700 13px/1 verdana, arial, sans-serif;
    color: var(--t-link2, #369);
    text-decoration: none;
    letter-spacing: 1px;
    padding: 2px 2px;
}
.or-members-link:hover { color: #ff4500; text-decoration: underline; }
.or-join-btn {
    appearance: none;
    background: var(--t-surface, #fff);
    border: 1px solid #5f99cf;
    border-radius: 2px;
    color: var(--t-link2, #369);
    font: 700 12px verdana, arial, sans-serif;
    padding: 3px 12px 4px;
    cursor: pointer;
    white-space: nowrap;
    min-width: 76px;
}
.or-join-btn:hover { background: var(--t-info-bg, #eff7ff); }
.or-join-btn.is-member {
    background: var(--t-info-bg, #eff7ff);
    color: #ff4500;
    border-color: #ff8b60;
}
.or-join-btn.is-member::before { content: "✓ "; }
.or-join-btn:disabled { opacity: .6; cursor: progress; }
.or-mod-link {
    font: 700 12px verdana, arial, sans-serif;
    color: var(--t-link2, #369);
    text-decoration: none;
    border: 1px solid #5f99cf;
    border-radius: 2px;
    padding: 3px 10px 4px;
    background: var(--t-surface, #fff);
    white-space: nowrap;
}
.or-mod-link:hover { background: var(--t-info-bg, #eff7ff); color: #ff4500; text-decoration: none; }
html.compact .or-mod-link, body.compact .or-mod-link, .nav-compact .or-mod-link { padding: 1px 7px 2px; font-size: 11px; }
.or-join-msg {
    margin: 0;
    padding: 6px 10px;
    font: 12px verdana, arial, sans-serif;
    background: var(--t-warn-bg, #fffbe6);
    border-bottom: 1px solid var(--t-warn-border, #f0e3a0);
    color: var(--t-text, #333);
}
.or-join-msg a { color: var(--t-link2, #369); font-weight: 700; }

/* ---- /b: criar comunidade ---- */
.or-criar-b { margin: 0 0 10px; }
.or-criar-b .or-submit { margin-top: 8px; }
.bd-comments-status.is-error { color: #c00; }
.bd-comments-status.is-ok { color: var(--t-green, #228822); }
.bd-comments-status.is-ok a { color: var(--t-link2, #369); font-weight: 700; }

/* ---- caixa de moderação na lateral das comunidades ---- */
.or-modbox {
    margin-top: 12px;
    border: 1px solid var(--t-border, #ddd);
    background: var(--t-surface2, #fafafa);
    padding: 8px 10px;
    font-size: 12px;
}
.or-modbox h3 {
    margin: 0 0 6px;
    font-size: 12px;
    color: var(--t-text3, #888);
    text-transform: lowercase;
}
.or-modbox p { margin: 0 0 6px; line-height: 1.5; }
.or-modbox a { color: var(--t-link2, #369); }
.or-modlist .bm-user { white-space: nowrap; }

/* ---- /b/membros/ ---- */
.bm-section { margin: 0 0 18px; }
.bm-section > h2 {
    font-size: 14px;
    margin: 0 0 6px;
    padding: 0 0 4px;
    border-bottom: 1px solid var(--t-border, #e0e0e0);
    color: var(--t-text, #000);
}
.bm-section > h2 small { font-weight: 400; color: var(--t-text3, #888); font-size: 11px; margin-left: 6px; }
.bm-list { list-style: none; margin: 0; padding: 0; }
.bm-list li { padding: 4px 0; font-size: 13px; border-bottom: 1px dotted var(--t-border, #eee); }
.bm-list li:last-child { border-bottom: 0; }
.bm-empty { color: var(--t-text3, #888); font-style: italic; }
.bm-user .user-mention { color: var(--t-link2, #369); font-weight: 700; text-decoration: none; }
.bm-user .user-mention:hover { text-decoration: underline; }
.bm-badge {
    display: inline-block;
    margin-left: 5px;
    font-size: 10px;
    font-weight: 700;
    vertical-align: 1px;
}
.bm-badge-adm { color: var(--t-green, #228822); }
.bm-badge-prim { color: #b8860b; }
.bm-note, .bm-when { color: var(--t-text3, #888); font-size: 11px; }
.bm-comm { margin: 0 0 10px; }
.bm-comm h4 { margin: 0 0 2px; font-size: 13px; }
.bm-comm h4 a { color: var(--t-link, #0000ff); text-decoration: none; }
.bm-comm .bm-list { padding-left: 12px; }
#bd-membros-page { align-self: stretch; width: 100%; }

/* ---- membros por comunidade ---- */
.or-modcount { color: var(--t-text2, #555); }
.bm-foco { border: 1px solid var(--t-info-border, #c4dbf1); background: var(--t-surface2, #f5f9fc); padding: 8px 10px; }
.bm-foco-links { font-size: 12px; margin: 0 0 8px; }
.bm-foco-links a { color: var(--t-link2, #369); font-weight: 700; }
.bm-h3 { font-size: 13px; margin: 10px 0 4px; color: var(--t-text, #000); }
.bm-h3 small { font-weight: 400; color: var(--t-text3, #888); font-size: 11px; margin-left: 4px; }
.bm-label { margin: 6px 0 2px 12px; font-size: 11px; color: var(--t-text3, #888); font-weight: 700; }
.bm-focus-link { font-size: 11px; color: var(--t-link2, #369) !important; margin-left: 4px; }
.bm-comm { border-bottom: 1px solid var(--t-border, #f0f0f0); padding-bottom: 6px; }
#bm-todos[hidden], .bm-foco[hidden] { display: none; }

/* ---- cartões editáveis ---- */
.or-card-head { display: flex; align-items: baseline; gap: 8px; }
.or-card-head .or-side-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.or-card-edit {
    appearance: none; background: none; border: 0; padding: 0;
    font: 700 11px verdana, arial, sans-serif; color: var(--t-link2, #369); cursor: pointer;
}
.or-card-edit:hover { text-decoration: underline; color: #ff4500; }
.or-titlebox.is-editing [data-card-subtitle],
.or-titlebox.is-editing [data-card-body] { display: none; }
.or-card-form { margin: 6px 0 10px; display: flex; flex-direction: column; gap: 6px; }
.or-card-form label { display: flex; flex-direction: column; gap: 3px; font-size: 11px; font-weight: 700; color: var(--t-text2, #555); }
.or-card-form input, .or-card-form textarea {
    font: 12px verdana, arial, sans-serif; padding: 5px 6px; border: 1px solid var(--t-border, #ccc); border-radius: 2px;
    width: 100%; box-sizing: border-box; background: var(--t-surface, #fff); color: var(--t-text, #222);
}
.or-card-form textarea { resize: vertical; min-height: 90px; }
.or-card-hint { margin: 0; font-size: 10px; color: var(--t-text3, #888); }
.or-card-form .bd-comments-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.or-card-form button { font: 700 12px verdana, arial, sans-serif; padding: 4px 10px; cursor: pointer; }
.or-card-body p:last-child { margin-bottom: 8px; }
.or-side-meta[hidden] { display: none; }

/* Temas (ver style.css): paleta do old reddit */
[data-theme="dark"] .oldreddit {
    --or-blue: #1d2a3a;
    --or-link: #8ab4f8;
    --or-visited: #c58af9;
    --or-text: #e4e6eb;
    --or-muted: #8a8d91;
    --or-border: #34506e;
}
[data-theme="papel"] .oldreddit {
    --or-blue: #e6d8b8;
    --or-link: #7a3410;
    --or-visited: #6b2c5e;
    --or-text: #3b2f20;
    --or-muted: #85735a;
    --or-border: #b39a6a;
}

/* ===== Painel lateral (computador): postagens recentes + comunidades, abaixo do cartão da b/ ===== */
.or-painel { display: none; }
@media (min-width: 901px) {
    .or-painel { display: block; }
}
@media (min-width: 1500px) {
    .or-side { width: 360px; }
}
.or-painel-box {
    border: 1px solid var(--t-border, #ddd);
    background: var(--t-surface, #fff);
    padding: 8px 10px 10px;
    margin-top: 10px;
    font-size: 12px;
}
.or-painel-h {
    font-size: 11px; font-weight: 700; text-transform: lowercase; color: var(--or-muted);
    margin: 0 0 6px; padding-bottom: 4px; border-bottom: 1px solid var(--t-border, #eee);
}
.or-painel-list { list-style: none; margin: 0; padding: 0; }
.or-painel-list > li { padding: 5px 0; border-bottom: 1px solid var(--t-border, #f0f0f0); }
.or-painel-list > li:last-child { border-bottom: 0; padding-bottom: 0; }
.or-painel-titulo { color: var(--or-link); text-decoration: none; font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }
.or-painel-titulo:visited { color: var(--or-visited); }
.or-painel-titulo:hover, .or-painel-comm-nome:hover, .or-painel-meta a:hover, .or-painel-mais a:hover { text-decoration: underline; }
.or-painel-dominio { font-size: 10px; color: var(--or-muted); }
.or-painel-meta { font-size: 10px; color: var(--or-muted); margin: 2px 0 0; line-height: 1.4; }
.or-painel-meta a { color: var(--t-link2, #369); text-decoration: none; }
.or-painel-autor { font-weight: 700; }
.or-painel-autor.is-guest { color: var(--t-text2, #555); }
.or-painel-selo { color: var(--accent-red, #c0392b); font-weight: 700; }
.or-painel-fixado { color: var(--t-green, #228822); font-weight: 700; }
.or-painel-post.is-fixado .or-painel-titulo { color: var(--t-green, #228822); }
.or-painel-comm-nome { color: var(--or-link); font-weight: 700; text-decoration: none; font-size: 13px; }
.or-painel-comm-alt { color: var(--t-text2, #555); }
.or-painel-comm.is-atual { background: var(--or-blue); margin: 0 -6px; padding-left: 6px; padding-right: 6px; }
.or-painel-vazio { margin: 0; color: var(--t-text2, #555); line-height: 1.45; }
.or-painel-vazio a, .or-painel-mais a { color: var(--t-link2, #369); }
.or-painel-mais { margin: 8px 0 0; font-size: 11px; }

/* ===== Feed com threads abertas (estilo chan) — padrão. "Navegação Compacta" usa a lista acima. ===== */
.bd-feed-threads .or-thing.bd-thread { display: block; padding: 10px 4px 12px; border-bottom: 1px solid var(--t-border, #ddd); }
.bd-feed-threads .or-thing.bd-thread.or-fixado { background: var(--t-ok-bg, #f0fff0); }
.bd-thread-head {
    display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px;
    font-size: 12px; color: var(--or-muted); line-height: 1.45;
}
.bd-thread-toggle {
    font-family: "Courier New", Courier, monospace; font-size: 13px; font-weight: 700;
    background: none; border: 0; padding: 0 2px; margin: 0; cursor: pointer;
    color: var(--t-link2, #369); flex: 0 0 auto;
}
.bd-thread-toggle:hover { text-decoration: underline; }
.bd-thread-toggle:focus-visible { outline: 2px solid var(--t-link2, #369); outline-offset: 1px; }
.bd-thread-titleline { min-width: 0; overflow-wrap: anywhere; }
.bd-thread-title { font-size: 15px; font-weight: 700; color: var(--or-link); text-decoration: none; }
.bd-thread-title:visited { color: var(--or-visited); }
.bd-thread-title:hover { text-decoration: underline; }
.or-fixado .bd-thread-title { color: var(--t-green, #228822); }
.bd-thread-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 4px; color: var(--t-text2, #555); }
.bd-thread-meta .ascii-avatar { margin: 0 2px 0 0; }
.bd-thread-meta time { color: var(--t-text2, #555); }
.bd-thread-rel { color: var(--or-muted); }
.bd-thread-resumo { display: none; }
.bd-thread-resumo a { color: var(--t-link2, #369); text-decoration: none; }
.bd-thread-body { margin: 6px 0 0 24px; display: flow-root; }
.bd-thread-body[hidden] { display: none; }
.bd-thread-body .or-post-link { margin: 0 0 6px; overflow-wrap: anywhere; }
.bd-thread-media { float: left; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 2px 14px 8px 0; max-width: 260px; }
.bd-img-thread .bd-img { max-width: 260px; max-height: 260px; }
.bd-thread-text { margin: 0 0 10px; font-size: 14px; color: var(--t-text, #222); }
.bd-thread .bd-poll { clear: both; max-width: 560px; margin: 4px 0 10px; }
.bd-thread-actions { clear: both; }
/* Encolhida: só a linha do cabeçalho */
.bd-thread.is-collapsed { padding-top: 6px; padding-bottom: 6px; }
.bd-thread.is-collapsed .bd-thread-head { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
.bd-thread.is-collapsed .bd-thread-titleline { overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
.bd-thread.is-collapsed .bd-thread-title { font-size: 13px; }
.bd-thread.is-collapsed .bd-thread-meta .ascii-avatar,
.bd-thread.is-collapsed .bd-thread-rel,
.bd-thread.is-collapsed .or-poll-badge { display: none; }
.bd-thread.is-collapsed .bd-thread-meta { flex-wrap: nowrap; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; }
.bd-thread.is-collapsed .bd-thread-resumo { display: inline; flex: 0 0 auto; }
html.bd-noimg .bd-thread-media { display: none; }
@media (max-width: 640px) {
    .bd-thread-body { margin-left: 0; }
    .bd-thread-media { float: none; max-width: 100%; }
    .bd-img-thread .bd-img { max-width: 100%; max-height: 360px; }
    .bd-thread.is-collapsed .bd-thread-meta { display: none; }
}

/* MOR-39 / MOR-58: botão «editar arte» ao lado do avatar, «criar wiki» e aba wiki */
.or-arte-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    margin-bottom: 2px;
}
.or-arte-wrap .or-snoo { margin-bottom: 0; }
.or-editar-arte,
.or-criar-wiki {
    appearance: none;
    font: 700 11px/1.2 verdana, arial, sans-serif;
    color: var(--t-link2, #369);
    background: var(--t-surface, #fff);
    border: 1px solid #5f99cf;
    border-radius: 2px;
    padding: 3px 8px;
    cursor: pointer;
    white-space: nowrap;
}
.or-editar-arte:hover,
.or-criar-wiki:hover { background: var(--t-surface2, #ececec); text-decoration: underline; }
.or-editar-arte:disabled,
.or-criar-wiki:disabled { opacity: 0.6; cursor: default; }
.or-wiki-msg { margin: 4px 10px 0; font-size: 12px; color: var(--t-muted, #888); }
.or-arte-editor-host {
    margin: 10px;
    max-width: 920px;
}
.or-arte-prev-head {
    display: flex;
    align-items: center;
    gap: 8px;
}
.or-arte-prev-head .or-snoo { width: 48px; height: 48px; margin: 0; }
