/* OneInMoscow 2026 v1.0.11 — responsive forum skin */
.category-table,.threads-table,.posts-table{width:100%;border-collapse:separate!important;border-spacing:0;background:transparent;color:var(--oim-text)}
.category-table,.threads-table{overflow:hidden;border:1px solid var(--oim-border);border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(33,73,139,.04)}
.category-table-header td,.threads-table-header td{padding:.85rem 1rem!important;background:linear-gradient(135deg,#2463eb,#3d76f1)!important;color:#fff!important;border:0!important;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.025em}
.category-table tbody tr,.threads-table tbody tr{background:#fff!important;transition:background .2s ease,transform .2s ease}
.category-table tbody tr:hover,.threads-table tbody tr:hover{background:#f7faff!important}
.category-table td,.threads-table td{padding:1rem!important;border:0!important;border-top:1px solid #edf1f7!important;vertical-align:middle}
.category-table tbody tr:first-child td,.threads-table tbody tr:first-child td{border-top:0!important}
.category-ceil{min-width:340px}.category-title,.thread-link{font-size:1rem;font-weight:800;line-height:1.3}.category-title a,.thread-link a{color:var(--oim-text)!important}.category-description,.thread-desc{margin-top:.28rem;color:var(--oim-muted);font-size:.82rem;line-height:1.5}
.category-icon{float:left;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin-right:.8rem;border-radius:12px;background:var(--oim-primary-soft);color:var(--oim-primary);overflow:hidden}.category-icon img{width:100%;height:100%;object-fit:cover}.category-icon.default_icon:before{content:'✦';font-weight:900}
.threads-count,.posts-count,.threads-table-stats{width:100px;text-align:center;color:#52617b;font-variant-numeric:tabular-nums}.last-post,.threads-table-last-post{width:300px;color:var(--oim-muted);font-size:.78rem;line-height:1.45}.last-post-thread,.last-post-user{display:block;font-weight:700}.last-post-thread a{color:var(--oim-primary)!important}
.category-as-folder td{background:#f6f9ff!important}.category-as-folder .category-title{font-size:1.05rem}.sub-category-ceil{padding:.7rem 1rem!important;background:#fbfcff!important}.sub-category-titles{display:flex;flex-wrap:wrap;gap:.5rem}.sub-category-title{padding:.35rem .55rem;border:1px solid var(--oim-border);border-radius:9px;background:#fff;font-size:.78rem}
.new_thread_button,.all-threads-view{margin:.85rem 0}.new_thread_button a,.all-threads-view a{display:inline-flex;align-items:center;min-height:40px;padding:.5rem .8rem;border:1px solid #b9cdf7;border-radius:11px;background:#fff;color:var(--oim-primary)!important;font-weight:800;transition:.2s ease}.new_thread_button a:before{content:'＋';margin-right:.35rem}.new_thread_button a:hover,.all-threads-view a:hover{transform:translateY(-1px);background:var(--oim-primary);border-color:var(--oim-primary);color:#fff!important;box-shadow:0 8px 20px rgba(36,99,235,.16)}
.thread-icon{float:left;margin-right:.65rem}.thread-info{display:flex;align-items:center;flex-wrap:wrap;gap:.25rem;margin-top:.45rem;color:var(--oim-muted);font-size:.74rem}.thread-info-avatar{width:24px;height:24px;overflow:hidden;border-radius:50%}.thread-info-avatar img{width:100%!important;height:100%!important;object-fit:cover}.threads-table-stats-title{color:var(--oim-muted);font-size:.7rem}.threads-table-stats-count{font-weight:800;color:var(--oim-text)}
.posts-table{border-spacing:0 12px!important}.posts-header td{padding:.58rem .9rem!important;border:1px solid var(--oim-border)!important;border-bottom:0!important;border-radius:16px 16px 0 0!important;background:#f4f8ff!important;color:#52617b!important}.posts-table-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.post-date{font-size:.76rem}.post-date a{font-weight:800}.post-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.25rem;font-size:0!important}.post-links a{display:inline-flex;align-items:center;min-height:30px;padding:.3rem .48rem;border-radius:8px;color:#63728d!important;font-size:.69rem!important;transition:.18s ease}.post-links a:hover{background:#eaf2ff;color:var(--oim-primary)!important}
.posts-contents td{border:1px solid var(--oim-border)!important;border-top:0!important;background:#fff!important;vertical-align:top}.post-user-cell{width:185px;padding:1rem!important;border-right:0!important;border-radius:0 0 0 16px!important;background:#fbfcff!important;text-align:center}.post-content-cell{position:relative;padding:1.15rem 1.25rem!important;border-left:0!important;border-radius:0 0 16px 0!important;font-size:.92rem;line-height:1.65}.post-user-link{font-weight:800;margin-bottom:.55rem}.post-user-avatar{display:flex;justify-content:center;margin:.35rem 0 .65rem}.post-user-avatar img,.post-user-avatar .avatar{width:72px!important;height:72px!important;object-fit:cover;border-radius:50%!important;box-shadow:0 0 0 4px #fff,0 0 0 5px var(--oim-border)}.post-user-cell .details{list-style:none;margin:.6rem 0 0;padding:0;color:var(--oim-muted);font-size:.71rem;line-height:1.55}.post-user-cell .details li{margin:.15rem 0!important}.post-user-cell .online{display:inline-flex;padding:.15rem .42rem;border-radius:999px;background:#e8f8ef;color:#159657;font-weight:800}
.post-content-cell blockquote,.post-content-cell .bb_quote{margin:.85rem 0;padding:.8rem 1rem  .85rem 1.05rem;border:1px solid #dfe8f7;border-left:4px solid #3d76f1;border-radius:12px;background:#f7faff;color:#34435e;box-shadow:none}.post-content-cell blockquote:before,.post-content-cell .bb_quote:before{color:#92ace2;opacity:.5}.post-content-cell img{max-width:100%;height:auto;border-radius:10px}.post-content-cell a{word-break:break-word}
.post-user-cell-mobile{padding:.75rem!important;background:#fbfcff!important;border-color:var(--oim-border)!important}.post-user-avatar-mobile img{width:48px!important;height:48px!important;object-fit:cover;border-radius:50%}.post-user-link-mobile{font-weight:800}.post-content-cell-mobile{padding:1rem!important;background:#fff!important;border:1px solid var(--oim-border)!important;border-radius:0 0 14px 14px}
.post-rating{display:flex;align-items:center;justify-content:flex-end;gap:.35rem;margin-top:1rem}.post-rating a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--oim-border);border-radius:9px;background:#fff}.post-rating a:hover{transform:translateY(-1px);box-shadow:0 5px 15px rgba(35,76,145,.10)}
.forum_rss_icon{display:flex;gap:.45rem;justify-content:flex-end;margin:.5rem 0}.forum_rss_icon a{padding:.35rem .55rem;border:1px solid var(--oim-border);border-radius:8px;background:#fff;font-size:.72rem}.category-view-description{display:flex;gap:1rem;margin:0 0 1rem;padding:1rem;border:1px solid var(--oim-border);border-radius:14px;background:#fff;color:var(--oim-muted)}
@media(max-width:767.98px){
 .category-table,.category-table tbody,.threads-table,.threads-table tbody{display:block;border:0;background:transparent;box-shadow:none}
 .category-table thead,.threads-table thead{display:none}
 .category-table tr,.threads-table tr{display:grid!important;grid-template-columns:1fr auto auto;margin-bottom:.7rem;border:1px solid var(--oim-border);border-radius:14px;overflow:hidden;background:#fff!important;box-shadow:0 5px 18px rgba(35,76,145,.035)}
 .category-table td,.threads-table td{display:block;width:auto!important;border:0!important;padding:.72rem!important}
 .category-table .category-ceil,.threads-table .threads-table-links{grid-column:1/-1;min-width:0;border-bottom:1px solid #edf1f7!important}
 .category-table .threads-count,.category-table .posts-count{display:flex;align-items:center;justify-content:center;min-width:58px;background:#fbfcff;font-size:.8rem;font-weight:800}
 .category-table .last-post,.threads-table .threads-table-last-post{grid-column:1/-1;width:auto!important;border-top:1px solid #edf1f7!important;background:#fbfcff;color:var(--oim-muted)}
 .threads-table .threads-table-stats{display:flex;gap:.5rem;width:auto!important;text-align:left}
 .posts-table,.posts-table tbody{display:block;width:100%;border-spacing:0!important}
 .posts-table tr,.posts-table td{display:block;width:100%!important}
 .posts-header{margin-top:.75rem}.posts-header td{border-radius:14px 14px 0 0!important}.posts-table-header{display:block}.post-links{justify-content:flex-start;margin-top:.45rem}
 .posts-contents{display:grid!important;grid-template-columns:72px minmax(0,1fr);border:1px solid var(--oim-border);border-top:0;border-radius:0 0 14px 14px;overflow:hidden;background:#fff}
 .posts-contents td{border:0!important;border-radius:0!important}.post-user-cell{grid-column:1/-1;width:100%!important;display:grid!important;grid-template-columns:64px minmax(0,1fr);text-align:left;border-bottom:1px solid #edf1f7!important}.post-user-avatar{grid-column:1;grid-row:1/4;margin:0}.post-user-avatar img,.post-user-avatar .avatar{width:52px!important;height:52px!important}.post-user-link{grid-column:2;margin:0}.post-user-cell .details{grid-column:2;margin:.2rem 0 0;display:flex;flex-wrap:wrap;gap:.15rem .55rem}.post-content-cell{grid-column:1/-1;padding:1rem!important}
 .category-view-description{display:block}.category-view-icon{margin-bottom:.6rem}
}

/* ONEINMOSCOW forum SEO/GEO and permanent post anchors */
.forum-post-anchor {
    display: block;
    position: relative;
    top: -88px;
    visibility: hidden;
}
.oim-section-seo {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, .08);
    line-height: 1.7;
}
.oim-section-seo h2 {
    margin-bottom: 14px;
}
.oim-section-seo h3 {
    margin-top: 22px;
    margin-bottom: 10px;
}
.oim-section-seo p:last-child {
    margin-bottom: 0;
}


/* OneInMoscow forum 1.0.1 — avatar normalization and layout polish */
.thread-info-avatar,
.thread-info-avatar a,
.thread-info-avatar img,
.thread-info-avatar .avatar {
    display: inline-flex;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px;
    min-height: 24px;
    overflow: hidden;
    border-radius: 50% !important;
    object-fit: cover;
    vertical-align: middle;
}
.post-user-avatar a,
.post-user-avatar-mobile a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
}
.post-user-avatar,
.post-user-avatar-mobile {
    line-height: 0;
}
.post-user-avatar img,
.post-user-avatar .avatar,
.post-user-avatar a,
.post-user-avatar a img,
.post-user-avatar a .avatar {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px;
    min-height: 72px;
    max-width: 72px;
    max-height: 72px;
    object-fit: cover;
    border-radius: 50% !important;
}
.post-user-avatar-mobile img,
.post-user-avatar-mobile .avatar,
.post-user-avatar-mobile a,
.post-user-avatar-mobile a img,
.post-user-avatar-mobile a .avatar {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    object-fit: cover;
    border-radius: 50% !important;
}
.post-user-cell .details,
.details_mobile {
    list-style: none;
    padding-left: 0;
}
.post-user-cell .details li,
.details_mobile li {
    list-style: none;
}
.thread-fast-edit,
.thread-append-html,
.oim-section-seo {
    background: #fff;
    border: 1px solid #e4ebf5;
    border-radius: 16px;
    padding: 18px 20px;
}
.thread-fast-edit { margin-top: 16px; }
.thread-append-html { margin-top: 18px; }
@media(max-width:767.98px){
    .post-user-avatar img,
    .post-user-avatar .avatar,
    .post-user-avatar a,
    .post-user-avatar a img,
    .post-user-avatar a .avatar {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px;
        min-height: 52px;
        max-width: 52px;
        max-height: 52px;
    }
}


/* OneInMoscow forum 1.0.2 — visual refresh */
:root {
    --forum-accent: #1677ff;
    --forum-accent-2: #4b8dff;
    --forum-accent-soft: #eef5ff;
    --forum-card: #ffffff;
    --forum-bg-soft: #f7faff;
    --forum-line: #e4ebf5;
    --forum-text: #14213a;
    --forum-muted: #73819a;
}
.forum-category-hero,
.forum-thread-hero {
    position: relative;
    overflow: hidden;
    margin: 8px 0 22px;
    padding: 22px 24px;
    border: 1px solid var(--forum-line);
    border-radius: 20px;
    background:
        radial-gradient(circle at 92% 12%, rgba(22,119,255,.13), transparent 34%),
        linear-gradient(135deg, #fff 0%, #f8fbff 100%);
    box-shadow: 0 14px 40px rgba(34,76,145,.06);
}
.forum-category-hero:before,
.forum-thread-hero:before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--forum-accent), #67a4ff);
}
.forum-category-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.forum-category-hero-main { display:flex; align-items:center; gap:16px; min-width:0; }
.forum-category-hero-icon {
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 58px;
    width:58px;
    height:58px;
    overflow:hidden;
    border-radius:18px;
    background:linear-gradient(135deg,#eaf3ff,#f7fbff);
    box-shadow:inset 0 0 0 1px #dbe9ff;
}
.forum-category-hero-icon img { width:100%; height:100%; object-fit:cover; }
.forum-category-hero-icon-default { color:var(--forum-accent); font-size:25px; font-weight:900; }
.forum-category-hero h1,
.forum-thread-hero h1 { margin:0; color:var(--forum-text); line-height:1.16; }
.forum-category-hero-desc { margin-top:7px; color:var(--forum-muted); font-size:.92rem; }
.forum-category-hero-stats { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.forum-category-hero-stats span,
.forum-thread-hero-meta span {
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:7px 10px;
    border:1px solid #dce9fb;
    border-radius:999px;
    background:rgba(255,255,255,.82);
    color:#5e6d86;
    font-size:.76rem;
    white-space:nowrap;
}
.forum-category-hero-stats b { color:var(--forum-text); font-size:.86rem; }
.forum-thread-hero-kicker {
    margin-bottom:7px;
    color:var(--forum-accent);
    font-size:.72rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.06em;
}
.forum-thread-hero-meta { display:flex; gap:8px; margin-top:12px; }

/* categories and topic lists */
.category-table,
.threads-table {
    border: 1px solid var(--forum-line) !important;
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 10px 34px rgba(34,76,145,.05) !important;
}
.category-table-header td,
.threads-table-header td {
    background: #f4f8fe !important;
    color: #5b6a82 !important;
    border-bottom: 1px solid var(--forum-line) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: .74rem !important;
}
.category-table tbody tr,
.threads-table tbody tr { transition: background .16s ease, box-shadow .16s ease; }
.category-table tbody tr:hover,
.threads-table tbody tr:hover { background: #f9fbff !important; }
.threads-table-links { position:relative; }
.threads-table-links:before {
    content:'';
    position:absolute;
    left:0;
    top:12px;
    bottom:12px;
    width:3px;
    border-radius:4px;
    background:#dce9ff;
}
.thread-link a { color:#155ed8 !important; }
.thread-link a:hover { color:#0f4eb5 !important; }
.thread-info { min-height:28px; gap:7px !important; }
.thread-info-avatar { box-shadow:0 0 0 2px #fff,0 0 0 3px #dbe7f7; }
.thread-info-avatar img,
.thread-info-avatar .avatar,
.thread-info-avatar a img,
.thread-info-avatar a .avatar {
    display:block !important;
    width:28px !important;
    height:28px !important;
    min-width:28px !important;
    min-height:28px !important;
    max-width:28px !important;
    max-height:28px !important;
    object-fit:cover !important;
    border-radius:50% !important;
}
.threads-table-stats { background:#fbfcff; }
.threads-table-stats-count { font-size:.82rem; }
.threads-table-last-post { background:#fbfcff; }

/* posts */
.posts-table { border-spacing:0 14px !important; }
.posts-header td {
    border-color:var(--forum-line)!important;
    background:linear-gradient(180deg,#f9fbff,#f4f8fe)!important;
}
.posts-contents td { border-color:var(--forum-line)!important; }
.post-user-cell { width:165px!important; background:#f9fbff!important; }
.post-content-cell { font-size:.94rem!important; line-height:1.7!important; }
.post-user-link a { color:#155ed8!important; }
.post-user-avatar img,
.post-user-avatar .avatar,
.post-user-avatar a,
.post-user-avatar a img,
.post-user-avatar a .avatar {
    width:76px!important;
    height:76px!important;
    min-width:76px!important;
    min-height:76px!important;
    max-width:76px!important;
    max-height:76px!important;
}
.post-content-cell blockquote,
.post-content-cell .bb_quote {
    background:#f5f8fc!important;
    border-left-color:var(--forum-accent)!important;
}
.post-rating a { border-color:var(--forum-line)!important; }
.thread-navbar { width:100%; margin:18px 0; border-collapse:separate; border-spacing:8px 0; }
.thread-navbar td { padding:12px 14px; border:1px solid var(--forum-line); border-radius:12px; background:#fff; }
.thread-fast-edit { box-shadow:0 10px 30px rgba(34,76,145,.04); }
.thread-fast-edit-header { font-weight:800; color:var(--forum-text); margin-bottom:10px; }
.thread-fast-edit .markItUp,
.thread-fast-edit textarea { width:100%!important; }
.thread-fast-edit textarea { min-height:150px!important; border-color:#dce5f1!important; border-radius:0 0 12px 12px!important; }
.thread-fast-edit .markItUpHeader { border-radius:12px 12px 0 0; background:#f8faff; border-color:#dce5f1; }

/* smile panel from stock MarkItUp */
.markItUpHeader .smilepanel {
    z-index: 50;
    max-width: 430px;
    padding: 10px;
    border: 1px solid var(--forum-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(26,55,110,.16);
}
.markItUpHeader .smilepanel img {
    width:auto!important;
    height:auto!important;
    max-width:38px;
    max-height:38px;
    margin:4px;
    padding:3px;
    border-radius:8px;
    cursor:pointer;
}
.markItUpHeader .smilepanel img:hover { background:var(--forum-accent-soft); }

@media(max-width:767.98px){
    .forum-category-hero { align-items:flex-start; flex-direction:column; padding:18px; }
    .forum-category-hero-stats { justify-content:flex-start; }
    .forum-category-hero-icon { flex-basis:50px; width:50px; height:50px; border-radius:15px; }
    .forum-thread-hero { padding:18px; }
    .post-user-cell { width:100%!important; }
    .post-user-avatar img,
    .post-user-avatar .avatar,
    .post-user-avatar a,
    .post-user-avatar a img,
    .post-user-avatar a .avatar {
        width:52px!important;
        height:52px!important;
        min-width:52px!important;
        min-height:52px!important;
        max-width:52px!important;
        max-height:52px!important;
    }
}


/* OneInMoscow forum 1.0.3 — integrated site-style redesign */
.forum-thread-head {
    display:flex; align-items:flex-start; justify-content:space-between; gap:24px;
    margin:10px 0 18px; padding:24px 26px; background:#fff; border:1px solid #e3eaf4;
    border-radius:18px; box-shadow:0 8px 28px rgba(28,65,122,.045);
}
.forum-thread-head-main { min-width:0; flex:1 1 auto; }
.forum-thread-context { margin-bottom:8px; font-size:.78rem; font-weight:700; }
.forum-thread-context a { display:inline-flex; align-items:center; gap:7px; color:#6b7a93!important; }
.forum-thread-context a:hover { color:#1268e8!important; }
.forum-thread-head h1 { margin:0; color:#11213b; font-size:clamp(1.7rem,2.6vw,2.35rem); line-height:1.14; letter-spacing:-.025em; }
.forum-thread-head-desc { margin-top:9px; color:#71809a; font-size:.91rem; line-height:1.5; }
.forum-thread-metrics { display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:15px; color:#6f7e95; font-size:.78rem; }
.forum-thread-metrics span { display:inline-flex; align-items:center; gap:6px; }
.forum-thread-metrics i { color:#4388ef; }
.forum-thread-metrics b { color:#24344f; }
.forum-thread-head-actions { display:flex; align-items:center; gap:9px; flex:0 0 auto; }
.forum-thread-head-actions .btn { min-height:40px; display:inline-flex; align-items:center; gap:7px; border-radius:10px; font-weight:700; box-shadow:none!important; }
.forum-thread-subscribe { margin:0!important; padding:0!important; }
.forum-thread-subscribe > * { margin:0!important; }
.forum-thread-subscribe .btn, .forum-thread-subscribe a { min-height:40px!important; display:inline-flex!important; align-items:center!important; border-radius:10px!important; }

/* The old before-body hero is no longer used */
.forum-thread-hero { display:none!important; }

/* forum section cards */
.forum-category-hero { background:#fff!important; box-shadow:0 8px 28px rgba(28,65,122,.04)!important; border-radius:18px!important; }
.forum-category-hero:before { width:3px!important; }
.forum-category-hero-icon { border-radius:14px!important; background:#eef5ff!important; }
.forum-category-hero-stats span { border:0!important; background:#f3f7fc!important; color:#687993!important; }

.category-table, .threads-table { border-radius:16px!important; box-shadow:0 8px 28px rgba(28,65,122,.035)!important; }
.category-table-header td, .threads-table-header td { padding:.72rem 1rem!important; background:#f7f9fc!important; color:#72809a!important; font-weight:700!important; }
.category-table td, .threads-table td { padding:.88rem 1rem!important; }
.category-as-folder td { background:#f4f7fb!important; }
.category-as-folder .category-title a { color:#24344e!important; }
.category-icon { width:40px!important; height:40px!important; border-radius:11px!important; background:#edf4ff!important; }
.category-icon.default_icon:before { content:'\f075'!important; font-family:'Font Awesome 5 Free'; font-weight:900; color:#2676e8; }
.category-title a { color:#172942!important; font-weight:800; }
.category-description { color:#7b879b!important; }
.forum-count { display:inline-flex; align-items:center; gap:6px; color:#6e7d94; }
.forum-count i { color:#4a8bea; }
.forum-count b { color:#243650; }
.last-post-date i { color:#7fa6dc; margin-right:3px; }

/* topic rows */
.threads-table-links { padding-left:58px!important; }
.thread-icon-modern { position:absolute; left:14px; top:50%; transform:translateY(-50%); }
.forum-thread-status { display:flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:10px; background:#eef5ff; color:#2676e8!important; }
.forum-thread-status-new { background:#e9f7f0; color:#1aa565!important; }
.forum-thread-status-pinned { background:#fff5e8; color:#d88918!important; }
.forum-thread-status-closed { background:#f1f3f7; color:#7b879a!important; }
.threads-table-links:before { display:none!important; }
.thread-link { font-size:.95rem!important; }
.thread-link a { color:#135fcf!important; }
.thread-desc { color:#7b879a!important; font-size:.78rem!important; }
.thread-info { margin-top:6px!important; color:#8490a3!important; }
.threads-table-stats { width:120px!important; background:transparent!important; }
.forum-topic-stat { display:flex; align-items:center; gap:7px; margin:4px 0; color:#738099; font-size:.76rem; white-space:nowrap; }
.forum-topic-stat i { width:15px; color:#508ee7; text-align:center; }
.forum-topic-stat span { color:#2e405d; font-weight:700; }
.threads-table-last-post { background:transparent!important; }
.forum-lastpost-user, .forum-lastpost-date { display:flex; align-items:center; gap:6px; margin:3px 0; }
.forum-lastpost-user i, .forum-lastpost-date i { width:14px; color:#80a4d6; text-align:center; }

/* modern post cards */
.posts-table { display:none!important; }
.forum-posts-modern { display:flex; flex-direction:column; gap:14px; margin-top:12px; }
.forum-post-card { position:relative; overflow:hidden; background:#fff; border:1px solid #e2e9f3; border-radius:16px; box-shadow:0 7px 24px rgba(28,65,122,.035); }
.forum-post-card.is-deleted { opacity:.72; }
.forum-post-card.is-bad { border-color:#f0d7d7; }
.forum-post-card-head { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; padding:14px 16px; border-bottom:1px solid #edf1f6; background:#fbfcfe; }
.forum-post-author { display:flex; align-items:center; gap:11px; min-width:0; }
.forum-post-avatar { position:relative; display:flex; flex:0 0 46px; width:46px; height:46px; overflow:visible!important; border-radius:50%; }
.forum-post-avatar img, .forum-post-avatar .avatar { display:block!important; width:46px!important; height:46px!important; min-width:46px!important; min-height:46px!important; max-width:46px!important; max-height:46px!important; object-fit:cover!important; border-radius:50%!important; box-shadow:0 0 0 3px #fff,0 0 0 4px #dfe7f2!important; }
.forum-online-dot { position:absolute; right:-1px; bottom:2px; width:10px; height:10px; border:2px solid #fff; border-radius:50%; background:#22b573; }
.forum-post-author-copy { min-width:0; }
.forum-post-author-name { line-height:1.2; }
.forum-post-author-name a { color:#135fcf!important; font-weight:800; }
.forum-post-author-meta { display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px; margin-top:5px; color:#8490a3; font-size:.7rem; }
.forum-post-author-meta span { display:inline-flex; align-items:center; gap:4px; }
.forum-post-author-meta i { color:#77a0d8; }
.forum-post-head-right { display:flex; flex-direction:column; align-items:flex-end; gap:8px; min-width:0; }
.forum-post-date { display:flex; align-items:center; gap:7px; color:#8995a7; font-size:.72rem; white-space:nowrap; }
.forum-post-date .post-finder { display:inline-flex; align-items:center; justify-content:center; min-width:29px; height:25px; padding:0 7px; border-radius:7px; background:#edf4ff; color:#1769dc!important; font-weight:800; }
.forum-post-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:5px; }
.forum-post-action { display:inline-flex; align-items:center; gap:5px; min-height:28px; padding:4px 8px; border:1px solid #e1e8f1; border-radius:8px; background:#fff; color:#6d7b91!important; font-size:.68rem; }
.forum-post-action:hover { border-color:#c8daf5; background:#f3f7fd; color:#1769dc!important; }
.forum-post-groups { display:flex; flex-wrap:wrap; gap:6px; padding:8px 16px 0; }
.forum-post-group { padding:3px 7px; border-radius:999px; background:#f1f5fa; color:#6c7a90; font-size:.66rem; font-weight:700; }
.forum-post-body { position:relative; padding:18px 18px 16px; font-size:.91rem; line-height:1.72; color:#263750; }
.forum-post-title { margin:0 0 12px; font-weight:800; }
.forum-post-body .post-content { min-height:28px; }
.forum-post-body .post-content img { max-width:100%; height:auto; }
.forum-post-body blockquote, .forum-post-body .bb_quote { margin:14px 0; padding:12px 14px; border:0; border-left:3px solid #3d7fe5; border-radius:0 10px 10px 0; background:#f3f6fa; color:#43536b; }
.forum-post-attachment { display:flex; align-items:center; gap:8px; margin-top:14px; padding:10px 12px; border-radius:10px; background:#f7f9fc; color:#71809a; }
.forum-post-attachment i { color:#4e89df; }
.post-edit-date, .post-auto-deleted, .post-from-thread { margin-top:12px; color:#8a96a8; font-size:.69rem; }
.post-user-signature { margin-top:16px; padding-top:12px; border-top:1px dashed #e0e7f0; color:#7c899c; font-size:.78rem; }
.forum-post-body .votes-links { float:right; margin:0 0 10px 12px; }

/* SEO block closer to site cards */
.oim-section-seo { margin-top:28px!important; padding:24px 26px!important; border:1px solid #e2e9f3!important; border-radius:16px!important; background:#fff!important; box-shadow:0 7px 24px rgba(28,65,122,.03); }

/* quick reply */
.thread-fast-edit { padding:20px!important; border-radius:16px!important; }
.thread-fast-edit-header { display:flex; align-items:center; gap:7px; font-size:.92rem; }
.thread-fast-edit-header:before { content:'\f3e5'; font-family:'Font Awesome 5 Free'; font-weight:900; color:#3d7fe5; }

@media(max-width:991.98px){
    .forum-thread-head { flex-direction:column; }
    .forum-thread-head-actions { width:100%; justify-content:flex-start; }
    .forum-post-card-head { flex-direction:column; }
    .forum-post-head-right { width:100%; align-items:flex-start; }
    .forum-post-actions { justify-content:flex-start; }
}
@media(max-width:767.98px){
    .forum-thread-head { padding:18px; border-radius:15px; }
    .forum-thread-head-actions { flex-wrap:wrap; }
    .forum-thread-head-actions .btn, .forum-thread-subscribe .btn, .forum-thread-subscribe a { flex:1 1 auto; justify-content:center; }
    .threads-table-links { padding-left:50px!important; }
    .thread-icon-modern { left:10px; }
    .forum-post-card { border-radius:13px; }
    .forum-post-card-head { padding:12px; }
    .forum-post-body { padding:15px 13px; font-size:.89rem; }
    .forum-post-action span { display:none; }
    .forum-post-action { width:30px; height:30px; justify-content:center; padding:0; }
    .forum-post-author-meta span:nth-child(n+4) { display:none; }
}


/* OneInMoscow forum 1.0.4 — SVG icons + cleaner topic header/actions */
.forum-svg{display:inline-block;width:16px;height:16px;flex:0 0 16px;vertical-align:-3px;color:currentColor}
.category-icon .forum-svg{width:20px;height:20px;color:#2676e8}
.forum-count .forum-svg,.last-post-date .forum-svg,.forum-topic-stat .forum-svg,.forum-lastpost-user .forum-svg,.forum-lastpost-date .forum-svg{width:15px;height:15px;color:#6f9bd8}
.forum-thread-status .forum-svg{width:17px;height:17px}
.forum-thread-context .forum-svg,.forum-thread-metrics .forum-svg{width:15px;height:15px}
.forum-thread-reply .forum-svg{width:16px;height:16px}
.forum-post-author-meta .forum-svg{width:13px;height:13px;color:#77a0d8}
.forum-post-date .forum-svg{width:14px;height:14px}
.forum-post-action .forum-svg{width:15px;height:15px}
.forum-post-attachment .forum-svg{width:16px;height:16px;color:#4e89df}

/* Header follows the same clean page hierarchy as dating/profile pages, not a detached banner. */
.forum-thread-head{
    margin:12px 0 16px!important;padding:4px 0 14px!important;border:0!important;border-bottom:1px solid #e3eaf4!important;
    border-radius:0!important;background:transparent!important;box-shadow:none!important;align-items:flex-end!important;
}
.forum-thread-context{margin-bottom:6px!important}
.forum-thread-context a{padding:4px 8px;border-radius:8px;background:#edf4ff;color:#256fcf!important;font-size:.72rem}
.forum-thread-head h1{font-size:clamp(1.65rem,2.3vw,2.2rem)!important}
.forum-thread-head-desc{max-width:760px;margin-top:7px!important}
.forum-thread-metrics{margin-top:10px!important;gap:7px 14px!important}
.forum-thread-metrics span{padding:0!important;border:0!important;background:transparent!important;color:#7a879a!important}
.forum-thread-head-actions{padding-bottom:1px;gap:8px!important}
.forum-thread-head-actions .btn,.forum-thread-subscribe .subscriber{
    min-height:38px!important;padding:7px 12px!important;border-radius:9px!important;font-size:.78rem!important;font-weight:800!important;
}
.forum-thread-subscribe .subscribe_wrap{display:flex!important;align-items:center!important;margin:0!important}
.forum-thread-subscribe .count-subscribers{display:none!important}
.forum-thread-subscribe .subscriber{display:inline-flex!important;align-items:center!important;gap:6px!important;background:#fff!important;border:1px solid #cbdcf5!important;color:#1a67d3!important}
.forum-thread-subscribe .subscriber svg{width:15px!important;height:15px!important}
.forum-thread-subscribe .subscriber svg path{stroke:currentColor!important}
.forum-thread-subscribe .subscriber:hover{background:#edf5ff!important}

/* Category/forum table: icons are deliberate SVGs rather than font glyph fallbacks. */
.category-icon.default_icon:before{display:none!important;content:none!important}
.category-icon a{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.category-as-folder .category-icon{background:#e8f1ff!important}
.category-as-folder .category-icon .forum-svg{color:#175fca}
.category-table tbody tr:not(.category-as-folder):hover .category-icon{transform:translateY(-1px);box-shadow:0 4px 14px rgba(30,101,205,.10)}
.category-icon{transition:transform .16s ease,box-shadow .16s ease}

/* Post actions: reduce visual noise. Text remains in title/tooltip; icons are always visible. */
.forum-post-actions{gap:4px!important}
.forum-post-action{width:30px!important;height:30px!important;min-height:30px!important;justify-content:center!important;padding:0!important;border-radius:8px!important}
.forum-post-action span{display:none!important}
.forum-post-action.delete,.forum-post-action.remove,.forum-post-action.trash{color:#cf5160!important}
.forum-post-action:hover{transform:translateY(-1px)}
.forum-post-card-head{padding:12px 14px!important;background:#fcfdff!important}
.forum-post-body{padding:16px 16px 15px!important}
.forum-post-card{border-radius:14px!important;box-shadow:0 5px 18px rgba(28,65,122,.03)!important}
.forum-posts-modern{gap:10px!important}
.forum-post-date{font-size:.69rem!important}
.forum-post-date .post-finder{height:24px!important;min-width:27px!important}

/* Quick reply visually belongs to the discussion. */
.thread-fast-edit{margin-top:14px!important;padding:16px!important;border-radius:14px!important;box-shadow:0 5px 18px rgba(28,65,122,.03)!important}
.thread-fast-edit-header:before{display:none!important;content:none!important}
.thread-fast-edit-header{font-size:.88rem!important;margin-bottom:8px!important}

@media(max-width:991.98px){
    .forum-thread-head{align-items:flex-start!important}
    .forum-thread-head-actions{width:auto!important}
}
@media(max-width:767.98px){
    .forum-thread-head{padding-bottom:12px!important}
    .forum-thread-head-actions{width:100%!important}
    .forum-thread-head-actions .btn,.forum-thread-subscribe{flex:1 1 0}
    .forum-thread-subscribe .subscribe_wrap,.forum-thread-subscribe .subscriber{width:100%!important;justify-content:center!important}
}
