/* 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: #fff;
    min-height: calc(100vh - 50px);
}

.or-header {
    background: #fff;
}
.or-sr-bar {
    background: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 11px;
    color: #444;
    padding: 3px 10px;
}
.or-sr-bar a { color: #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: #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: #369;
    text-decoration: none;
    background: #eff7ff;
    border: 1px solid var(--or-border);
    border-bottom: none;
    border-radius: 3px 3px 0 0;
}
.or-tabmenu .selected a {
    background: #fff;
    color: #ff4500;
    border-bottom: 1px solid #fff;
    position: relative;
    z-index: 1;
}

.or-wrap {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 10px 8px 32px;
    background: #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 #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: #c6c6c6; border-top-width: 0; margin-bottom: 2px; }
.or-arrow.or-down { border-top-color: #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: #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 #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: #369; font-weight: 700; text-decoration: none; white-space: nowrap; }
.or-author:hover { text-decoration: underline; }
.or-exp { font-size: 11px; color: #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-spacer { margin-bottom: 12px; }
.or-subscribe {
    display: inline-block;
    background: #fff;
    border: 1px solid #c4dbf1;
    border-radius: 2px;
    color: #369;
    font: 700 12px verdana, arial, sans-serif;
    padding: 3px 10px 4px;
    cursor: pointer;
}
.or-subscribe:hover { background: #eff7ff; }
.or-subscribe.is-on {
    background: #eff7ff;
    color: #ff4500;
}
.or-titlebox {
    border: 1px solid #ddd;
    background: #fafafa;
    padding: 10px;
    font-size: 12px;
}
.or-side-name { font-size: 18px; margin: 0 0 4px; color: #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: #222; }
.or-md a { color: #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: #f0fff0;
    border-bottom-color: #d4e6d4;
}
.or-stickied .or-title a { color: #228822; }
.or-stickied .or-title a:visited { color: #1a661a; }
.or-thumb-sticky { background: #228822; }
.or-sticky-tag {
    display: inline-block;
    color: #228822;
    font-weight: 700;
    text-transform: lowercase;
    margin-right: 4px;
}
.or-mod {
    color: #228822;
    font-weight: 700;
    margin-left: 2px;
}
.or-selfpost {
    margin: 16px 0 8px;
    padding: 12px 14px 16px;
    border: 1px solid #d4e6d4;
    background: #f7fff7;
    scroll-margin-top: 60px;
}
.or-selfpost-title {
    font-size: 18px;
    color: #228822;
    margin: 0 0 6px;
    font-weight: 700;
}
.or-selfpost-body {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #d4e6d4;
}
