:root {
    --bg: #0f0e11;
    --wrap: #161519;
    --row: #1c1b20;
    --row-alt: #1f1e24;
    --row-hover: #24232a;
    --panel: #1e1d22;
    --line: #2c2a31;
    --line-2: #3b3843;
    --text: #e4e2e8;
    --muted: #9c98a5;
    --link: #c9a6ea;
    --link-hover: #e6cff8;
    --purple: #8e44ad;
    --purple-2: #9b59b6;
    --purple-dark: #5f4582;
    --cat-top: #7c5ea2;
    --cat-bot: #5c4280;
    --danger: #e74c3c;
    --danger-l: #ff8a7d;
    --warn: #f5b041;
    --ok: #58d68d;
    --info: #5dade2;
    --font: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { color-scheme: dark; }

body {
    font: 13px/1.5 var(--font);
    color: var(--text);
    background-color: var(--bg);
    background-image: radial-gradient(ellipse 80% 420px at 50% 0, rgba(142, 68, 173, 0.14), transparent 70%);
    background-repeat: no-repeat;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
code { font-family: Consolas, 'Courier New', monospace; background: #111014; border: 1px solid var(--line); border-radius: 2px; padding: 0 4px; font-size: 0.92em; }
h1 { font-size: 22px; line-height: 1.25; overflow-wrap: anywhere; }
h1 .sw-img { vertical-align: -2px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.center { text-align: center; }
.break { word-break: break-all; }
.hint { color: var(--muted); font-size: 12px; margin-top: 6px; }
.req { color: var(--danger-l); }
.sw-img { display: inline-block; vertical-align: -3px; image-rendering: auto; }

.site { max-width: 1310px; margin: 0 auto; padding: 0 10px; }

.userbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 34px;
    padding: 0 8px;
    background: linear-gradient(#2a2830, #1c1b20);
    border: 1px solid var(--line);
    border-top: none;
    border-radius: 0 0 4px 4px;
    font-size: 12.5px;
}
.userbar-left { display: flex; align-items: center; gap: 2px; min-width: 0; height: 100%; }
.ub-item {
    position: relative;
    display: flex; align-items: center; gap: 6px;
    height: 100%;
    padding: 0 7px;
    color: var(--muted);
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.ub-item i { color: var(--link); }
.ub-item:hover { color: #fff; text-decoration: none; }
.ub-item .fa-caret-down { font-size: 11px; opacity: 0.8; }
.ub-count {
    position: absolute; top: 4px; right: 3px;
    min-width: 15px; height: 15px; padding: 0 4px;
    border-radius: 8px;
    background: var(--danger);
    font-size: 9.5px; line-height: 15px; text-align: center; color: #fff;
}
.user-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }

.ub-search { position: relative; display: flex; width: 300px; height: 24px; }
.ub-search input {
    flex: 1; min-width: 0;
    padding: 0 10px;
    background: #111014;
    border: 1px solid var(--line-2);
    border-right: none;
    border-radius: 2px 0 0 2px;
    color: #fff;
    font-size: 12.5px;
    outline: none;
}
.ub-search input::placeholder { color: #77727f; }
.ub-search input:focus { border-color: var(--purple-2); }
.ub-search button { width: 30px; background: var(--purple-dark); border: 1px solid #8a6db0; border-radius: 0 2px 2px 0; color: #fff; cursor: pointer; font-size: 11px; }
.ub-search button:hover { background: var(--purple); }

.user-menu { position: relative; display: flex; }
.dropdown {
    position: absolute; left: 0; top: 100%;
    min-width: 220px;
    background: #222027;
    border: 1px solid var(--line-2);
    border-radius: 0 0 3px 3px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
    padding: 4px 0;
    z-index: 300;
}
.dropdown a, .dropdown button {
    display: flex; align-items: center; gap: 10px;
    width: 100%;
    padding: 5px 12px;
    background: none; border: none;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    text-decoration: none !important;
}
.dropdown i { width: 15px; text-align: center; color: var(--link); }
.dropdown a:hover, .dropdown button:hover { background: var(--purple-dark); color: #fff; }

.suggest-box {
    position: absolute; top: 100%; right: 0;
    width: 420px; max-width: calc(100vw - 20px);
    background: #1f1e24;
    border: 1px solid var(--line-2);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75);
    z-index: 300;
}
.suggest-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; color: var(--text); border-bottom: 1px solid var(--line); text-decoration: none !important; }
.suggest-item img { width: 38px; height: 38px; object-fit: cover; border-radius: 2px; background: #333; flex-shrink: 0; }
.suggest-text { min-width: 0; display: flex; flex-direction: column; }
.suggest-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--link); }
.suggest-name mark { background: none; color: #fff; font-weight: 700; }
.suggest-meta { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-dl { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; padding-left: 8px; }
.suggest-item.active, .suggest-item:hover { background: var(--row-hover); color: var(--text); }
.suggest-all { display: block; padding: 8px 10px; font-size: 12.5px; background: #19181c; text-align: center; }
.suggest-all.active, .suggest-all:hover { background: var(--purple-dark); color: #fff; text-decoration: none; }
.suggest-empty { padding: 12px; color: var(--muted); text-align: center; }

.masthead {
    display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
    min-height: 150px;
    margin-top: 10px;
    padding: 22px 18px 0;
    background: linear-gradient(90deg, rgba(10, 8, 18, 0.82) 0%, rgba(10, 8, 18, 0.45) 40%, rgba(10, 8, 18, 0.05) 75%), url('header.jpg') center / cover no-repeat, #1b2a5a;
    border: 1px solid var(--line);
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none !important; align-self: flex-start; }
.logo > span { display: flex; flex-direction: column; }
.logo-mark { font-size: 38px; color: var(--purple-2); filter: drop-shadow(0 0 8px rgba(155, 89, 182, 0.6)); }
.logo-text { font-size: 44px; font-weight: 300; letter-spacing: -1px; color: #d6b4f0; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); line-height: 1; }
.logo-text b { color: #fff; font-weight: 600; }
.tagline { font-size: 12px; color: #cdbfd9; letter-spacing: 0.4px; margin-top: 4px; text-shadow: 0 1px 2px #000; }

.mainnav { display: flex; align-items: flex-end; gap: 3px; margin-bottom: -1px; }
.mainnav a {
    padding: 7px 16px 6px;
    background: rgba(12, 10, 15, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    color: #e2dbe9;
    font-size: 13px; font-weight: 700;
    text-shadow: 0 1px 2px #000;
    white-space: nowrap;
    text-decoration: none !important;
}
.mainnav a:hover { background: rgba(40, 30, 52, 0.85); color: #fff; }
.mainnav a.active {
    position: relative;
    padding-bottom: 7px;
    background: var(--wrap);
    border-color: var(--line);
    color: #fff;
    text-shadow: none;
}

.wrapper {
    background: var(--wrap);
    border: 1px solid var(--line);
    border-radius: 0 0 4px 4px;
    padding: 10px 12px 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.crumbbar {
    display: flex; align-items: stretch; justify-content: space-between;
    background: linear-gradient(#222027, #1c1b20);
    border: 1px solid var(--line);
    border-radius: 2px;
    min-height: 30px;
    margin-bottom: 4px;
}
.crumbs { display: flex; list-style: none; min-width: 0; overflow: hidden; }
.crumbs li { position: relative; display: flex; align-items: center; padding: 0 10px 0 18px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.crumbs li:first-child { padding-left: 11px; }
.crumbs li::after, .crumbs li::before {
    content: ""; position: absolute; top: 0; right: -10px; z-index: 1;
    border-style: solid; border-width: 15px 0 15px 10px;
    border-color: transparent transparent transparent var(--line-2);
}
.crumbs li::before { right: -9px; z-index: 2; border-left-color: #1f1e24; }
.crumbs li:last-child::after, .crumbs li:last-child::before { display: none; }
.crumbs a { color: #fff; }
.crumbs span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; max-width: 320px; }

.announcement { margin: 10px 0 0; padding: 8px 12px; background: #24192e; border: 1px solid #4a2f5e; border-radius: 2px; }
.announcement > i { color: var(--link); margin-right: 4px; }

.cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; margin-top: 14px; }
.col-main > .page-head:first-child { margin-top: 4px; }
.cols-left { grid-template-columns: 290px minmax(0, 1fr); }
.col-main { min-width: 0; }
.page, .page-narrow, .page-form { width: 100%; margin: 0 auto; }
.page-narrow { max-width: 620px; }
.page-form { max-width: 920px; }

.page-head, .page-title, .title-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    margin: 18px 0 14px;
}
.page-title p { width: 100%; }
.page-sub { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.page-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.module, .panel {
    background: var(--row);
    border: 1px solid var(--line);
    border-radius: 3px;
    margin-bottom: 16px;
}
.panel { padding: 16px; }
.module-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    min-height: 0;
    padding: 4px 12px;
    background: linear-gradient(to bottom, var(--cat-top), var(--cat-bot));
    border: 1px solid #8f73b5;
    border-bottom-color: #3c2a55;
    margin: -1px -1px 0;
    border-radius: 3px 3px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.module-head h2 { font-size: 14px; font-weight: 700; color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45); }
.module-head h2 i { opacity: 0.85; margin-right: 2px; }
.module-head-right { display: flex; align-items: center; gap: 12px; }
.head-link, .module-link { color: #fff; font-size: 12px; font-weight: 700; opacity: 0.9; }
.head-link:hover { color: #fff; opacity: 1; }
.block-toggle {
    width: 20px; height: 20px;
    display: grid; place-items: center;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.8);
    font-size: 9px;
    cursor: pointer;
}
.block-toggle:hover { background: rgba(0, 0, 0, 0.45); color: #fff; }
.module.collapsed .module-body, .module.collapsed .tabbar { display: none; }
.module.collapsed .module-head { border-radius: 3px; }
.module-body { padding: 12px; }
.panel h2 { font-size: 15px; margin-bottom: 12px; }

.more-link { display: block; text-align: right; margin-top: 10px; font-size: 12px; font-weight: 700; }
.empty-state { color: var(--muted); padding: 22px 10px; text-align: center; }

.module-body > .frows { margin: -12px; }
.frow {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 100px 270px;
    gap: 14px;
    align-items: center;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
    background: var(--row);
}
.frow:nth-child(even) { background: var(--row-alt); }
.frow:last-child { border-bottom: none; }
.frow:hover { background: var(--row-hover); }
.frow-icon {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: linear-gradient(#3a3742, #2a2830);
    border: 1px solid #45414e;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #fff;
}
.frow-cover { border-radius: 3px; overflow: hidden; width: 44px; height: 44px; padding: 0; }
.frow-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frow-title { font-size: 14px; font-weight: 700; }
.frow-desc { color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.frow-subs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; margin: 2px 0 1px; font-size: 12.5px; font-weight: 700; }
.frow-subs a::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #6f6979; margin-right: 6px; vertical-align: 2px; }
.sub-elbow { color: #6f6979; margin-right: -4px; }
.frow-stats { text-align: right; line-height: 1.25; }
.frow-stats strong { display: block; font-size: 17px; font-weight: 400; color: #fff; }
.frow-stats span { font-size: 12px; color: var(--muted); }
.frow-last { display: flex; align-items: center; gap: 10px; min-width: 0; }
.frow-last > div { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.frow-last-title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frow-last span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frow-last-pic { flex-shrink: 0; }
.frow-last-pic img { width: 34px; height: 34px; border-radius: 3px; object-fit: cover; display: block; background: #333; }

.av { display: inline-block; flex-shrink: 0; border-radius: 3px; object-fit: cover; background: #333; vertical-align: middle; }
.av-letter { display: inline-grid; place-items: center; color: #fff; font-weight: 400; line-height: 1; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3); }
.av-inline { margin-right: 5px; vertical-align: -4px; }
.av-ub { border-radius: 2px; border: 1px solid rgba(0, 0, 0, 0.5); }
.user-link { font-weight: 700; white-space: nowrap; }

.tabbar {
    display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap;
    padding: 7px 14px;
    background: #1a191e;
    border-bottom: 1px solid var(--line);
}
.tabbar-label { color: var(--muted); font-size: 12.5px; margin-left: auto; }
.ttabs { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.ttab { background: none; border: none; padding: 0; color: var(--link); font-size: 13px; cursor: pointer; }
.ttab:hover { color: var(--link-hover); text-decoration: underline; }
.ttab.active { color: #f0a0ff; font-weight: 700; text-decoration: none; }
.tab-content { display: none; }
.tab-content.active { display: block; }

.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 22px 12px; padding: 6px 0; }
.thumb { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.thumb-frame {
    display: flex; align-items: center; justify-content: center;
    width: 158px; height: 158px;
    max-width: 100%;
}
.thumb-frame img {
    display: block;
    max-width: 150px; max-height: 150px;
    padding: 3px;
    background: #2b2930;
    border: 1px solid #45414e;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
    transition: border-color 0.12s, transform 0.12s;
}
.thumb-frame:hover img { border-color: var(--purple-2); transform: translateY(-2px); }
.thumb-title { margin-top: 6px; max-width: 100%; color: var(--text); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb-title:hover { color: var(--link-hover); }
.thumb-sub { font-size: 11.5px; color: var(--muted); }
.thumb-stat { font-size: 11.5px; color: var(--muted); }
.thumb-stat i { color: var(--purple-2); }

.widget { background: var(--row); border: 1px solid var(--line); border-radius: 3px; margin-bottom: 16px; }
.widget-head {
    padding: 4px 12px;
    background: linear-gradient(#2a2830, #222027);
    border-bottom: 1px solid var(--line);
    border-radius: 3px 3px 0 0;
    font-size: 13.5px; font-weight: 700; color: #fff;
}
.widget-head i { color: var(--link); margin-right: 3px; }
.widget-body { padding: 10px 12px; }
.wlist { list-style: none; margin: -10px -12px; }
.wlist li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.wlist li:last-child { border-bottom: none; }
.wlist-pic { flex-shrink: 0; }
.wlist-pic img { width: 36px; height: 36px; border-radius: 3px; object-fit: cover; display: block; background: #333; }
.wlist-main { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.wlist-title { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wlist-meta { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bubble {
    flex-shrink: 0;
    min-width: 30px; height: 30px; padding: 0 6px;
    border-radius: 15px;
    display: grid; place-items: center;
    background: #2c2a32;
    border: 1px solid var(--line-2);
    color: var(--muted); font-size: 11px;
}
.stat-table { width: 100%; border-collapse: collapse; }
.stat-table th, .stat-table td { padding: 5px 0; border-bottom: 1px dashed var(--line); text-align: left; }
.stat-table th { color: var(--muted); font-weight: 400; }
.stat-table td { text-align: right; }
.stat-table tr:last-child th, .stat-table tr:last-child td { border-bottom: none; }

.browse { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 14px; }
.tree-box { background: var(--row); border: 1px solid var(--line); border-radius: 3px; }
.tree-box > summary {
    list-style: none;
    padding: 11px 14px;
    background: linear-gradient(#2a2830, #222027);
    border-bottom: 1px solid var(--line);
    font-weight: 700; font-size: 13.5px; color: #fff;
    cursor: pointer;
}
.tree-box > summary::-webkit-details-marker { display: none; }
.tree-box > summary::after { content: "\f0d7"; font-family: 'Font Awesome 6 Free'; font-weight: 900; float: right; color: var(--muted); }
.tree-box:not([open]) > summary { border-bottom: none; }
.tree-section { padding: 8px 0 6px; border-bottom: 1px solid var(--line); }
.tree-section:last-child { border-bottom: none; }
.tree-section h4 { padding: 0 14px 3px; font-size: 13px; color: #fff; }
.tree-section a { display: flex; align-items: center; gap: 6px; padding: 2px 14px 2px 24px; font-size: 12.5px; }
.tree-section a span { margin-left: auto; font-size: 11px; color: var(--muted); }
.tree-section a.active { background: var(--purple-dark); color: #fff; font-weight: 700; text-decoration: none; }
.tree-section a.active span { color: #e3d4f0; }
.tree-section a.dim { color: #7f7987; }

.tabbar-top { border-radius: 3px 3px 0 0; background: linear-gradient(#24222a, #1c1b20); padding: 9px 14px; }
.tabbar-top .ttab { font-size: 13.5px; }
.captionbar {
    display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap;
    padding: 8px 14px;
    border-bottom: 1px solid var(--line);
    background: #19181c;
}
.caption { font-size: 13.5px; }
.caption b { color: #fff; }
.captionbar-tools { display: flex; align-items: center; gap: 8px; }
.viewswitch { display: flex; border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; }
.viewswitch a { display: grid; place-items: center; width: 26px; height: 22px; background: #232128; color: var(--muted); }
.viewswitch a + a { border-left: 1px solid var(--line-2); }
.viewswitch a:hover { color: #fff; text-decoration: none; }
.viewswitch a.active { background: var(--purple-dark); color: #fff; }
.filter-toggle .caret { font-size: 10px; transition: transform 0.15s; }
.filter-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.filter-toggle.has-active, .filter-toggle[aria-expanded="true"] { border-color: var(--purple-2); }

.adv-filters { margin-bottom: 14px; padding: 14px; background: #141317; border: 1px solid var(--line); border-radius: 3px; }
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 20px; }
.adv-wide { grid-column: 1 / -1; }
.adv-title { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 6px; }
.adv-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.format-group.disabled, .pitch-group.disabled { opacity: 0.4; }
.date-row { display: flex; align-items: center; gap: 8px; }
.date-row .input { flex: 1; min-width: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 10px;
    border-radius: 2px;
    background: #24222a;
    border: 1px solid var(--line-2);
    font-size: 12.5px;
    color: #d3cfda;
    user-select: none;
}
.chip:hover span { border-color: var(--purple-2); color: #fff; }
.chip input:checked + span { background: var(--purple-dark); border-color: #8a6db0; color: #fff; font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 1px; }

.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-bottom: 12px; font-size: 12.5px; }
.active-chip { display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px; border-radius: 2px; background: #2a2131; border: 1px solid #5c4280; color: #e3d0f2; font-size: 12px; }
.active-chip:hover { background: #3a1f1c; border-color: var(--danger); color: #fff; text-decoration: none; }
.active-chip .fa-xmark { font-size: 10px; opacity: 0.8; }
.clear-all { font-size: 12px; margin-left: 4px; }

.tooltip-icon {
    display: inline-grid; place-items: center;
    width: 15px; height: 15px; border-radius: 2px;
    background: var(--line-2); color: var(--text);
    font-size: 9px; cursor: help; position: relative;
    text-transform: none; letter-spacing: 0; vertical-align: middle;
}
.tooltip-icon:hover, .tooltip-icon:focus { background: var(--purple); outline: none; }
.tooltip-icon::after {
    content: attr(data-tooltip);
    position: absolute; bottom: 150%; left: -10px; width: 220px;
    padding: 7px 9px; background: #2c2a33; border: 1px solid #4a4652; border-radius: 3px;
    color: #fff; font-size: 12px; font-weight: 400; line-height: 1.4; text-align: left;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
    display: none; z-index: 20;
}
.tooltip-icon:hover::after, .tooltip-icon:focus::after { display: block; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 3px; margin: 20px 0 4px; }
.pagination a, .pagination span { padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 2px; background: #232128; color: var(--text); font-size: 12.5px; }
.pagination a:hover { border-color: var(--purple-2); text-decoration: none; }
.pagination .current { background: var(--purple-dark); border-color: #8a6db0; color: #fff; font-weight: 700; }
.pagination .gap, .pagination .page-of { border: none; background: none; color: var(--muted); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 4px 11px;
    border-radius: 3px;
    border: 1px solid var(--line-2);
    background: linear-gradient(#2e2c34, #26242b);
    color: var(--text);
    font-size: 12.5px; font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none !important;
}
.btn:hover { border-color: var(--purple-2); color: #fff; }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn-glass { }
.btn-primary { background: linear-gradient(#9b59b6, #7d3c98); border-color: #5e2a75; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-primary:hover { background: linear-gradient(#a96bc4, #8a47a6); border-color: #5e2a75; }
.btn-danger { background: linear-gradient(#e2574a, #c0392b); border-color: #7b241c; color: #fff; }
.btn-danger:hover { filter: brightness(1.1); border-color: #7b241c; }
.btn-warn { color: var(--warn); }
.btn-danger-outline, .btn-report { color: var(--danger-l); }
.btn-small { padding: 3px 9px; font-size: 12px; }
.btn-large { padding: 11px 26px; font-size: 13.5px; }
.btn-block { width: 100%; }

.count-pill { display: inline-block; min-width: 17px; padding: 0 5px; border-radius: 8px; background: var(--danger); color: #fff; font-size: 10px; line-height: 16px; text-align: center; }

.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 0 6px;
    border-radius: 2px;
    font-size: 10.5px; font-weight: 700;
    border: 1px solid transparent;
    vertical-align: middle;
    white-space: nowrap;
    line-height: 17px;
}
.badge-pending { background: rgba(245, 176, 65, 0.14); color: var(--warn); border-color: rgba(245, 176, 65, 0.4); }
.badge-hidden, .badge-broken { background: rgba(231, 76, 60, 0.14); color: var(--danger-l); border-color: rgba(231, 76, 60, 0.4); }
.badge-published { background: rgba(88, 214, 141, 0.12); color: var(--ok); border-color: rgba(88, 214, 141, 0.4); }
.badge-mod { background: rgba(93, 173, 226, 0.15); color: var(--info); border-color: rgba(93, 173, 226, 0.4); }
.badge-admin { background: var(--purple-dark); color: #fff; border-color: #8a6db0; }
.post-rank { font-size: 11.5px; color: var(--muted); }

.post { display: grid; grid-template-columns: 190px minmax(0, 1fr); background: var(--row); border: 1px solid var(--line); border-radius: 3px; margin-bottom: 16px; }
.post-author {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 14px 12px;
    background: #19181c;
    border-right: 1px solid var(--line);
    text-align: center;
}
.post-author-name { font-size: 14px; font-weight: 700; }
.post-av { border: 1px solid var(--line-2); padding: 0; }
.post-author-stats { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; width: 100%; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px; text-align: left; }
.post-author-stats dt { color: var(--muted); }
.post-author-stats dd { text-align: right; }
.post-body { padding: 0 16px 16px; min-width: 0; }
.post-meta { display: flex; gap: 14px; padding: 9px 0; margin-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.post-meta-right { margin-left: auto; }

.vb-hero-img {
    display: flex; justify-content: center; align-items: center;
    margin-bottom: 16px;
    background: #0e0d10;
    border: 1px solid var(--line);
    border-radius: 3px;
    overflow: hidden;
}
.vb-hero-img img { display: block; width: auto; max-width: 100%; height: auto; max-height: 620px; object-fit: contain; cursor: zoom-in; }

.vb-overview { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.vb-cover { flex-shrink: 0; display: block; }
.vb-cover img { display: block; width: auto; height: auto; max-width: 280px; max-height: 280px; cursor: zoom-in; }
.info-table { flex: 1; min-width: 0; }

.vb-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin-bottom: 18px; }
.vb-gallery-item { display: block; aspect-ratio: 1; overflow: hidden; background: #0e0d10; border: 1px solid var(--line-2); border-radius: 2px; }
.vb-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.15s, opacity 0.15s; }
.vb-gallery-item:hover { border-color: var(--purple-2); }
.vb-gallery-item:hover img { transform: scale(1.04); opacity: 0.92; }

.gallery-editor { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 4px; }
.gallery-editor:empty { display: none; }
.gallery-item { display: flex; flex-direction: column; gap: 5px; padding: 6px; background: #19181c; border: 1px solid var(--line); border-radius: 2px; }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #0e0d10; }
.gallery-item .input { width: 100%; }
.gallery-item-tools { display: flex; align-items: center; gap: 3px; }
.gallery-remove { margin-left: auto; font-size: 12px; color: var(--danger-l); }
.gallery-item:has(.gallery-remove input:checked) { opacity: 0.45; border-color: var(--danger); }
.gallery-new { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 6px; margin-top: 8px; }
.gallery-new img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px dashed var(--purple-2); }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 130px; color: var(--muted); font-weight: 400; background: #19181c; }
.info-table tr:first-child th, .info-table tr:first-child td { border-top: 1px solid var(--line); }

.post-section { font-size: 14px; padding-bottom: 6px; margin: 4px 0 10px; border-bottom: 2px solid var(--purple-dark); }
.post-section i { color: var(--link); }

.dl-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
.dl-table th { padding: 6px 10px; background: #232128; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; text-align: left; border-bottom: 1px solid var(--line); }
.dl-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dl-table tbody tr:nth-child(even) { background: var(--row-alt); }
.dl-table tbody tr:hover { background: var(--row-hover); }
.dl-table .num { text-align: right; width: 90px; }
.dl-name { font-weight: 700; overflow-wrap: anywhere; }
.dl-name > i { color: var(--purple-2); margin-right: 4px; }
.dl-host { color: var(--muted); font-size: 12px; }
.dl-host-sm { display: none; font-size: 11.5px; color: var(--muted); font-weight: 400; }
.dl-btn-cell { width: 1%; text-align: right; white-space: nowrap; }

.dl-table tr.is-broken td { background: rgba(231, 76, 60, 0.06) !important; }
.dl-table tr.is-broken .dl-label,
.dl-table tr.is-broken .dl-host,
.dl-table tr.is-broken .dl-host-sm { color: var(--danger-l); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--danger); }
.dl-table tr.is-broken .dl-name > i { color: var(--danger-l); }
.dl-table tr.is-broken .num { color: var(--danger-l); }
.dl-btn-cell .dl-staff { margin-right: 4px; }

.subtabs { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 22px; border-bottom: 2px solid var(--purple-dark); }
.subtab {
    padding: 7px 14px;
    border: 1px solid var(--line-2); border-bottom: none;
    border-radius: 3px 3px 0 0;
    background: #232128;
    color: var(--muted);
    font-weight: 700; font-size: 12.5px;
    cursor: pointer;
}
.subtab:hover { color: #fff; }
.subtab.active { background: var(--purple-dark); border-color: #8a6db0; color: #fff; }
.subtab-panels { padding: 14px 4px 0; }

.profile { --accent: #9b59b6; --accent-dark: #5b2c6f; margin: 14px 0 16px; background: var(--row); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }

.profile-cover {
    aspect-ratio: 4 / 1;
    max-height: 300px;
    width: 100%;
    background-color: #1c1b20;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(0, 0, 0, 0.6);
}
.profile-head { display: flex; align-items: flex-end; gap: 16px; padding: 0 18px 12px; flex-wrap: wrap; }
.profile-av { margin-top: -60px; border: 4px solid var(--row) !important; border-radius: 4px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6); }
.profile-id { flex: 1; min-width: 180px; }
.profile-tags { margin-top: 3px; }
.profile-actions { display: flex; gap: 6px; }
.profile-statbar { display: flex; border-top: 1px solid var(--line); background: #19181c; }
.profile-statbar > div { display: flex; flex-direction: column; padding: 8px 18px; border-right: 1px solid var(--line); }
.profile-statbar span { font-size: 11px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.5px; }
.profile-statbar strong { font-size: 15px; font-weight: 400; }

.input,
.field input[type="text"], .field input[type="email"], .field input[type="password"],
.field input[type="date"], .field input[type="url"], .field select, .field textarea,
.filter-bar input, .filter-bar select, .note-input, .inline-form select {
    width: 100%;
    padding: 6px 9px;
    background: #111014;
    border: 1px solid var(--line-2);
    border-radius: 2px;
    color: var(--text);
    outline: none;
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus, .filter-bar input:focus, .note-input:focus { border-color: var(--purple-2); box-shadow: 0 0 0 2px rgba(155, 89, 182, 0.2); }
.input:disabled, .field input:disabled { opacity: 0.55; }
textarea.input, .field textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
.input-small { width: auto; padding: 4px 8px; font-size: 12.5px; }

.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; flex: 1; min-width: 0; }
.field > span { font-size: 12.5px; font-weight: 700; color: #cfcbd6; }
.field-row { display: flex; gap: 0 14px; flex-wrap: wrap; }
.field-row > .field { min-width: 200px; }
.static-field { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; min-width: 0; overflow-wrap: anywhere; padding: 6px 9px; border-radius: 2px; background: #19181c; border: 1px dashed var(--line-2); font-weight: 700; }
.check-row { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: 12.5px; }
.check-row input, .radio-row input, .toggle-row input, .filter-checkbox input { accent-color: var(--purple-2); width: 15px; height: 15px; flex-shrink: 0; }
.filter-checkbox { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.radio-row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 2px; background: #19181c; margin-bottom: 5px; cursor: pointer; }
.radio-row:hover { border-color: #5c4280; }
.radio-row:has(input:checked) { border-color: var(--purple-2); background: #24192e; }
.release-date { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.release-date .input { width: 190px; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-name { font-size: 12px; margin-left: 6px; }
.cover-row, .avatar-edit { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.cover-preview { width: 150px; height: 150px; object-fit: cover; padding: 3px; background: #2b2930; border: 1px solid #45414e; }
.avatar-edit { margin-bottom: 14px; }
.avatar-preview { width: 96px; height: 96px; object-fit: cover; border-radius: 3px; border: 1px solid #45414e; background: #222; }
.swatches { display: flex; flex-wrap: wrap; gap: 7px; }
.swatch { cursor: pointer; position: relative; }
.swatch input { position: absolute; opacity: 0; }
.swatch span { display: block; width: 28px; height: 28px; border-radius: 3px; border: 2px solid var(--row); box-shadow: 0 0 0 1px var(--line-2); }
.swatch input:checked + span { box-shadow: 0 0 0 2px #fff; }
.swatch input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 3px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two-col .module { height: calc(100% - 16px); }

.h-captcha { min-height: 78px; }

.form-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 3px; border: 1px solid rgba(231, 76, 60, 0.4); background: rgba(231, 76, 60, 0.05); }
.danger-zone strong i { color: var(--danger-l); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.links-editor { counter-reset: link; }
.link-row { display: grid; grid-template-columns: 24px minmax(130px, 0.7fr) 1.6fr auto; gap: 7px; align-items: center; padding: 6px; margin-bottom: 5px; background: #19181c; border: 1px solid var(--line); border-radius: 2px; }
.link-num::before { counter-increment: link; content: counter(link); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 2px; background: var(--purple-dark); color: #fff; font-size: 11px; font-weight: 700; }
.link-row .input.invalid { border-color: var(--danger); }
.link-row-tools { display: flex; gap: 3px; align-items: center; }
.icon-mini { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 2px; background: #26242b; border: 1px solid var(--line-2); color: var(--muted); font-size: 11px; cursor: pointer; }
.icon-mini:hover:not(:disabled) { color: #fff; border-color: var(--purple-2); }
.icon-mini.danger:hover:not(:disabled) { color: var(--danger-l); border-color: var(--danger); }
.icon-mini:disabled { opacity: 0.35; cursor: default; }
.links-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.link-counter { color: #fff; }
.link-counter.full { color: var(--warn); }
.bulk-box { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }

.bb-editor { border: 1px solid var(--line-2); border-radius: 2px; overflow: hidden; background: #111014; }
.bb-editor textarea { border: none !important; border-radius: 0 !important; box-shadow: none !important; }
.bb-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 4px; background: linear-gradient(#2a2830, #222027); border-bottom: 1px solid var(--line-2); }
.bb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 26px; height: 25px; padding: 0 6px; border-radius: 2px; border: 1px solid transparent; background: none; color: #cfcbd6; font-size: 12px; cursor: pointer; position: relative; text-decoration: none !important; }
.bb-btn:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--line-2); color: #fff; }
.bb-btn.active { background: var(--purple-dark); border-color: #8a6db0; color: #fff; }
.bb-color input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.field .bb-toolbar select.bb-size, .bb-size { width: auto; height: 25px; padding: 0 3px; border-radius: 2px; background: #111014; border: 1px solid var(--line-2); box-shadow: none; font-size: 12px; cursor: pointer; }
.bb-sep { width: 1px; height: 16px; background: var(--line-2); margin: 0 3px; }
.bb-spacer { flex: 1; }
.bb-preview { padding: 10px 12px; border-top: 1px dashed var(--line-2); background: var(--row); max-height: 420px; overflow: auto; }
.bb-help-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.bb-help-table td { padding: 5px 7px; border-bottom: 1px solid var(--line); vertical-align: top; }
.bb-help-table td:first-child { width: 55%; }

.bbcode { overflow-wrap: anywhere; line-height: 1.6; }
.bbcode a { text-decoration: underline; }
.bbcode .bb-center { text-align: center; }
.bbcode .bb-right { text-align: right; }
.bbcode .bb-h { font-size: 16px; margin: 10px 0 4px; color: #fff; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.bbcode .bb-quote { margin: 8px 0; padding: 8px 12px; border: 1px solid var(--line); border-left: 3px solid var(--purple-2); background: #19181c; color: #d6d3dc; }
.bbcode .bb-quote cite { display: block; font-style: normal; font-weight: 700; font-size: 12px; color: var(--link); margin-bottom: 3px; }
.bbcode .bb-code { margin: 8px 0; padding: 9px 11px; background: #0e0d10; border: 1px solid var(--line); overflow-x: auto; font-size: 12px; }
.bbcode .bb-code code { background: none; border: none; padding: 0; white-space: pre; }
.bbcode .bb-spoiler { margin: 8px 0; border: 1px solid var(--line-2); background: #19181c; }
.bbcode .bb-spoiler summary { cursor: pointer; padding: 5px 10px; font-weight: 700; color: var(--link); background: #232128; }
.bbcode .bb-spoiler > div { padding: 8px 10px; }
.bbcode .bb-list { margin: 6px 0 6px 24px; }
.bbcode .bb-hr { border: none; border-top: 1px solid var(--line-2); margin: 12px 0; }
.bbcode .bb-img-link { display: inline-block; max-width: 100%; vertical-align: top; }
.bbcode .bb-img { display: inline-block; max-width: 100%; max-height: 480px; height: auto; object-fit: contain; cursor: zoom-in; vertical-align: top; }
.bbcode .bb-video { position: relative; max-width: 640px; aspect-ratio: 16 / 9; margin: 8px 0; background: #000; }
.bbcode .bb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bb-size-1 { font-size: 10px; } .bb-size-2 { font-size: 11.5px; } .bb-size-3 { font-size: 13px; }
.bb-size-4 { font-size: 16px; } .bb-size-5 { font-size: 19px; } .bb-size-6 { font-size: 24px; } .bb-size-7 { font-size: 29px; }

.flashes { margin-top: 10px; }
.flash { position: relative; display: flex; align-items: flex-start; gap: 9px; padding: 9px 36px 9px 12px; margin-bottom: 8px; border-radius: 2px; border: 1px solid; }
.flash > i { margin-top: 3px; }
.flash ul { margin-left: 18px; }
.flash-success { background: #172a1f; border-color: #2e6b47; }
.flash-success > i { color: var(--ok); }
.flash-error { background: #2e1715; border-color: #7b2f26; }
.flash-error > i { color: var(--danger-l); }
.flash-info { background: #16222e; border-color: #2f5878; }
.flash-info > i { color: var(--info); }
.flash-close { position: absolute; right: 9px; top: 8px; background: none; border: none; color: var(--muted); cursor: pointer; }
.flash-close:hover { color: #fff; }

.notice { padding: 9px 12px; border-radius: 2px; margin-bottom: 14px; }
.notice-pending { background: rgba(245, 176, 65, 0.08); border: 1px solid rgba(245, 176, 65, 0.4); }
.notice-hidden { background: rgba(231, 76, 60, 0.08); border: 1px solid rgba(231, 76, 60, 0.4); }

.modal { border: 1px solid var(--line-2); border-radius: 3px; background: var(--row); color: var(--text); width: min(520px, calc(100vw - 20px)); max-height: calc(100vh - 20px); margin: auto; padding: 0; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.8); }
.modal::backdrop { background: rgba(5, 4, 7, 0.75); }
.modal-body { padding: 0 16px 16px; }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 -16px 14px; padding: 11px 16px; background: linear-gradient(var(--cat-top), var(--cat-bot)); }
.modal-header h3 { font-size: 14px; color: #fff; overflow-wrap: anywhere; }
.modal-close { background: none; border: none; color: rgba(255, 255, 255, 0.8); font-size: 16px; cursor: pointer; }
.modal-close:hover { color: #fff; }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.reason-list { border: none; margin-bottom: 12px; }
.reason-list legend { font-size: 12.5px; font-weight: 700; color: #cfcbd6; margin-bottom: 7px; }

.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(5, 4, 7, 0.92); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 50px 60px 20px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: calc(100% - 40px); object-fit: contain; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8); cursor: default; }
.lightbox-caption { color: #e4e2e8; font-size: 13px; text-align: center; max-width: 800px; }
.lightbox-counter { position: absolute; top: 20px; left: 20px; color: var(--muted); font-size: 12.5px; }
.lightbox-close, .lightbox-nav { position: absolute; width: 38px; height: 38px; border-radius: 3px; border: 1px solid var(--line-2); background: #232128; color: #fff; cursor: pointer; }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--purple-dark); border-color: #8a6db0; }

.auth-form { margin-top: 20px; }
.auth-form h1 { text-align: center; margin-bottom: 14px; }
.auth-form p { margin-top: 12px; }
.notif-list { list-style: none; padding: 0 !important; overflow: hidden; }
.notif-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.notif-list li:nth-child(even) { background: var(--row-alt); }
.notif-list li:last-child { border-bottom: none; }
.notif-list li.unread { background: #24192e; box-shadow: inset 3px 0 0 var(--purple-2); }
.notif-list a { color: var(--text); overflow-wrap: anywhere; }
.notif-list a:hover { color: var(--link-hover); }
.notif-list time { white-space: nowrap; font-size: 12px; }

.admin-tabs { display: flex; gap: 3px; flex-wrap: wrap; margin-bottom: 16px; border-bottom: 2px solid var(--purple-dark); }
.tab-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line-2); border-bottom: none; border-radius: 3px 3px 0 0; background: #232128; color: var(--muted); font-weight: 700; font-size: 12.5px; text-decoration: none !important; }
.tab-btn:hover { color: #fff; }
.tab-btn.active { background: var(--purple-dark); border-color: #8a6db0; color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-bottom: 20px; }
.stat { display: flex; flex-direction: column; padding: 12px; border-radius: 3px; background: var(--row); border: 1px solid var(--line); border-top: 3px solid var(--purple-2); color: var(--muted); font-size: 12px; text-decoration: none !important; }
a.stat:hover { border-color: var(--purple-2); color: var(--muted); }
.stat-num { font-size: 24px; color: #fff; line-height: 1.2; }
section > h2 { font-size: 15px; margin: 4px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--purple-dark); }
.report-card { padding: 11px 13px; margin-bottom: 8px; border-radius: 2px; background: var(--row); border: 1px solid var(--line); border-left: 4px solid var(--warn); }
.report-card.status-resolved { border-left-color: var(--ok); }
.report-card.status-dismissed { border-left-color: #666; }
.report-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.report-top input[type="checkbox"] { accent-color: var(--purple-2); width: 15px; height: 15px; }
.report-vb { font-weight: 700; overflow-wrap: anywhere; }
.report-status { margin-left: auto; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.status-pill-open { color: var(--warn); }
.status-pill-resolved { color: var(--ok); }
.status-pill-dismissed { color: var(--muted); }
.report-meta { font-size: 12px; margin-top: 3px; }
.report-link { font-size: 12.5px; margin-top: 7px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.report-details { margin-top: 7px; padding: 7px 11px; border-left: 3px solid var(--line-2); background: #141317; font-size: 12.5px; overflow-wrap: anywhere; }
.report-note { margin-top: 7px; font-size: 12.5px; color: var(--muted); }
.report-actions { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 9px; align-items: center; }
.badge[class*="reason-"] { background: #2c2a33; color: var(--text); border-color: var(--line-2); }
.badge.reason-broken_link { background: rgba(245, 176, 65, 0.14); color: var(--warn); border-color: rgba(245, 176, 65, 0.4); }
.badge.reason-malware, .badge.reason-unauthorized, .badge.reason-inappropriate { background: rgba(231, 76, 60, 0.14); color: var(--danger-l); border-color: rgba(231, 76, 60, 0.4); }
.filter-bar { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; font-size: 12.5px; }
.filter-bar select { width: auto; }
.filter-bar input[type="search"] { width: auto; flex: 1; min-width: 160px; }
.inline-form { display: inline-flex; gap: 5px; align-items: center; flex-wrap: wrap; margin: 0; }
.inline-form select { width: auto; padding: 3px 6px; font-size: 12px; }
.note-input { width: 180px; padding: 3px 8px; font-size: 12px; }
.ban-form .filter-checkbox { font-size: 12px; }
.bulk-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 7px 11px; margin-bottom: 9px; border-radius: 2px; background: var(--row); border: 1px solid var(--line); }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--row); border: 1px solid var(--line); font-size: 12.5px; }
.admin-table th, .admin-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.admin-table th { background: linear-gradient(var(--cat-top), var(--cat-bot)); color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.admin-table tbody tr:nth-child(even) td { background: var(--row-alt); }
.admin-table tr:hover td { background: var(--row-hover); }
.admin-table tr.is-banned td { opacity: 0.7; }
.admin-table tr.subrow td { background: #141317; font-size: 12px; padding-left: 30px; }
.admin-table .row-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

.row-thumb { width: 42px; height: 28px; object-fit: cover; border-radius: 2px; background: #333; flex-shrink: 0; }
td.actions-cell > * { margin: 2px 4px 2px 0; }
.settings-form .toggle-row { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); margin-bottom: 11px; cursor: pointer; }
.settings-form .toggle-row input { margin-top: 3px; }

.site-footer { margin-top: 24px; background: #232128; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.footer-inner { max-width: 1310px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px 40px; padding: 22px 18px 32px; }
.footer-copy { text-align: right; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-links a { font-weight: 700; }

@media (max-width: 1100px) {
    .frow { grid-template-columns: 44px minmax(0, 1fr) 90px 220px; }
}

@media (max-width: 980px) {
    .cols, .cols-left { grid-template-columns: minmax(0, 1fr); }
    .browse { grid-template-columns: minmax(0, 1fr); }
    .frow { grid-template-columns: 44px minmax(0, 1fr) 90px; }
    .frow-last { display: none; }
}

@media (max-width: 700px) {
    body { font-size: 13.5px; }
    .site { padding: 0; }
    .userbar { padding: 0 6px; }
    .ub-item { padding: 0 7px; }
    .user-name, .hide-sm { display: none; }
    .ub-search { width: auto; flex: 1; min-width: 110px; }
    .masthead { margin-top: 0; border-radius: 0; border-left: none; border-right: none; min-height: 0; padding: 14px 10px 0; gap: 12px; }
    .logo-text { font-size: 32px; }
    .logo-mark { font-size: 26px; }
    .tagline { font-size: 11px; }
    .mainnav { overflow-x: auto; width: 100%; scrollbar-width: none; }
    .mainnav::-webkit-scrollbar { display: none; }
    .mainnav a { padding: 6px 11px 5px; font-size: 12px; }
    .wrapper { border-radius: 0; border-left: none; border-right: none; padding: 8px 8px 16px; }

    .page-head { margin: 14px 0 12px; }
    .page-actions { width: 100%; }
    .page-actions .btn { flex: 1 1 auto; }
    h1 { font-size: 19px; }

    .frow { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; padding: 10px; }
    .frow-stats strong { font-size: 15px; }
    .frow-desc { font-size: 12px; }

    .thumb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px; }
    .thumb-frame { width: 100%; height: auto; aspect-ratio: 1; }
    .thumb-frame img { max-width: 100%; max-height: 100%; }

    .tabbar, .captionbar { padding: 8px 10px; }
    .captionbar-tools { width: 100%; }
    .filter-toggle { flex: 1; }

    .post { grid-template-columns: minmax(0, 1fr); }
    .post-author { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; border-right: none; border-bottom: 1px solid var(--line); gap: 10px; }
    .post-author .post-av { width: 48px !important; height: 48px !important; order: -1; font-size: 26px !important; }
    .post-author-stats { display: flex; gap: 12px; width: 100%; margin-top: 0; }
    .post-author-stats dd { margin-right: 6px; }
    .post-body { padding: 0 10px 12px; }
    .vb-overview { flex-direction: column; align-items: stretch; }
    .vb-cover { align-self: center; }
    .vb-cover img { max-width: 100%; max-height: 300px; }
    .vb-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
    .lightbox { padding: 50px 8px 16px; }
    .lightbox-nav { top: auto; bottom: 14px; transform: none; }
    .info-table th { width: 110px; }
    .dl-table .num { display: none; }
    .dl-btn-cell { white-space: normal; }
    .dl-btn-cell .dl-staff { display: flex; justify-content: flex-end; margin: 0 0 4px; }
    .dl-host-sm { display: block; }
    .hide-sm { display: none; }

    .profile-head { flex-direction: column; align-items: flex-start; }
    .profile-statbar > div { flex: 1; padding: 7px 10px; }

    .two-col { grid-template-columns: 1fr; }
    .two-col .module { height: auto; }
    .link-row { grid-template-columns: 24px 1fr; grid-template-areas: "num label" "num url" "num tools"; }
    .link-num { grid-area: num; align-self: start; padding-top: 4px; }
    .link-row .link-label-input { grid-area: label; }
    .link-row .link-url-input { grid-area: url; }
    .link-row-tools { grid-area: tools; justify-content: flex-end; }
    .adv-grid { grid-template-columns: 1fr; }
    .note-input { width: 100%; }

    .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; width: 100%; }
    .admin-table { border: none; background: none; }
    .admin-table thead { display: none; }
    .admin-table tr { background: var(--row); border: 1px solid var(--line); border-radius: 3px; margin-bottom: 8px; padding: 5px 0; }
    .admin-table td, .admin-table tbody tr:nth-child(even) td { border: none; padding: 4px 10px; display: flex; gap: 10px; align-items: flex-start; background: none; }
    .admin-table td::before { content: attr(data-label); flex: 0 0 88px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
    td.actions-cell { flex-wrap: wrap; }
    td.actions-cell::before { flex-basis: 100%; }
    .admin-table tr.subrow td { padding-left: 10px; }
    .admin-table tr.subrow td::before { display: none; }
    .report-status { margin-left: 0; }
    .footer-inner { padding: 16px 16px 24px; flex-direction: column; }
    .footer-copy { text-align: left; }
}

.file-btn.disabled { opacity: 0.45; pointer-events: none; }

.gallery-item-tools .gallery-x { margin-left: auto; }
.gallery-new-item { position: relative; }
.gallery-new-item .gallery-x { position: absolute; top: 4px; right: 4px; background: rgba(20, 18, 24, 0.85); }

.toggle-row { display: flex; gap: 12px; align-items: flex-start; padding: 4px 0 14px; cursor: pointer; }
.toggle-row input { margin-top: 3px; }

.ban-notice { display: flex; align-items: flex-start; gap: 12px; margin: 14px 0 0; padding: 12px 14px; background: rgba(231, 76, 60, 0.1); border: 1px solid rgba(231, 76, 60, 0.55); border-left: 4px solid var(--danger); border-radius: 3px; }
.ban-notice > i { color: var(--danger-l); font-size: 20px; margin-top: 2px; }
.ban-notice strong { color: #fff; }
.profile.is-banned .profile-av { filter: grayscale(1); opacity: 0.6; }
.profile.is-banned h1 { text-decoration: line-through; text-decoration-color: var(--danger); }
.ban-panel { margin-top: 12px; }
.ban-panel .note-input { width: 100%; margin-bottom: 8px; }
.ban-panel .check-row { margin-bottom: 10px; }

.ico { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; flex-shrink: 0; image-rendering: auto; }
.btn .ico, .bb-btn .ico, .icon-mini .ico { vertical-align: middle; }
.module-head h2 .ico { margin-right: 3px; vertical-align: -2px; }
.badge .ico { width: 12px; height: 12px; vertical-align: -2px; }

.logo-img { display: block; height: 62px; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7)); }

.frow-engine { background: none; border: none; box-shadow: none; border-radius: 0; }
.logo { flex-direction: column; align-items: flex-start; gap: 2px; }
.logo .tagline { margin: 0 0 0 4px; }

.fav-count { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 2px; border-radius: 8px; background: rgba(0, 0, 0, 0.35); font-size: 11px; line-height: 16px; text-align: center; }
.fav-btn.is-fav { border-color: #c0547a; color: #ffb3cc; }

.banner-preview { display: block; width: 100%; max-width: none; aspect-ratio: 4 / 1; object-fit: cover; border: 1px solid var(--line-2); border-radius: 3px; background: #19181c; margin-bottom: 6px; }
.modal-wide { width: min(860px, calc(100vw - 20px)); }
.crop-stage { width: 100%; height: min(60vh, 460px); background: #0e0d10; margin: 6px 0 10px; }
.crop-stage img { display: block; max-width: 100%; }

.flash > i, .flash > .ico,
.announcement > i, .announcement > .ico,
.notice > i, .notice > .ico,
.ban-notice > i, .ban-notice > .ico,
.danger-zone strong > i, .danger-zone strong > .ico { display: none; }

.btn:not(.btn-icon):not(.filter-toggle) > i,
.btn:not(.btn-icon):not(.filter-toggle) > .ico,
.btn-download > i, .btn-download > .ico { display: none; }

.frows-compact .frow { padding: 8px 14px; gap: 12px; grid-template-columns: 32px minmax(0, 1fr) 100px 270px; }
.frows-compact .frow-icon { width: 32px; height: 32px; }
.frows-compact .frow-stats { line-height: 1.1; }
.frows-compact .frow-stats strong { font-size: 15px; }
.frows-compact .frow-stats span { font-size: 11.5px; }
.frows-compact .frow-last-pic img { width: 30px; height: 30px; }
.frows-compact .frow-last > div { line-height: 1.25; }
@media (max-width: 1100px) { .frows-compact .frow { grid-template-columns: 32px minmax(0, 1fr) 90px 220px; } }
@media (max-width: 980px) { .frows-compact .frow { grid-template-columns: 32px minmax(0, 1fr) 90px; } }
@media (max-width: 700px) { .frows-compact .frow { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; padding: 8px 12px; } }

.sliding { transition: height 0.25s ease, padding 0.25s ease, opacity 0.2s ease; }
.module.closing .module-head { transition: border-radius 0.25s ease; }

.verified { display: inline-block; width: 14px; height: 14px; margin-left: 4px; vertical-align: -2px; flex-shrink: 0; }
.verified-lg { width: 20px; height: 20px; margin-left: 7px; vertical-align: -1px; }

.about-text p + p, .faq-answer p + p { margin-top: 8px; }
.about-text { line-height: 1.65; }
.faq { margin: -12px; }
.faq-item { border-bottom: 1px solid var(--line); background: var(--row); }
.faq-item:nth-child(even) { background: var(--row-alt); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "\f067"; font: var(--fa-font-solid); font-size: 10px; color: var(--muted); width: 10px; }
.faq-item[open] summary::before { content: "\f068"; }
.faq-item summary:hover { background: var(--row-hover); }
.faq-answer { padding: 4px 22px 16px 38px; line-height: 1.65; color: var(--text); }
.faq-answer.sliding { overflow: hidden; }

.report-types { margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.modal-body > p + .field, .modal-body > .hint + .field { margin-top: 12px; }
.affiliates { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.affiliates img { display: block; max-width: 100%; height: auto; image-rendering: auto; }
.rules-list { margin: 0; padding-left: 26px; line-height: 1.65; }
.rules-list li + li { margin-top: 6px; }
.rules-list li::marker { color: var(--link); font-weight: 700; }
.affiliate-name { display: inline-block; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 3px; background: #19181c; font-weight: 700; }
.form-actions > .hint { flex-basis: 100%; margin: 0 0 2px; }
.ipban-form { margin-bottom: 14px; }
.ipban-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ipban-row .input { width: auto; flex: 1 1 160px; }
.ipban-row select.input { flex: 0 0 auto; }
.admin-table tr.is-expired td { opacity: 0.55; }

.forum-boards .frow-icon i, .forum-threads .frow-icon i { font-size: 18px; color: var(--link); }
.forum-threads .frow.is-pinned { background: #221d2b; }
.forum-boards .frow-stats, .forum-threads .frow-stats { display: grid; grid-template-columns: auto auto; justify-content: end; align-items: baseline; gap: 2px 6px; }
.forum-boards .frow-stats span, .forum-threads .frow-stats span { text-align: left; }
.thread-tag { display: inline-block; padding: 0 6px; margin-right: 4px; border-radius: 2px; background: #3a2a52; border: 1px solid #5c4280; color: #e3d0f2; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; vertical-align: 1px; }
.thread-tag.tag-locked { background: #3a1f1c; border-color: #7a3a33; color: #f2c9c3; }
.thread-pages { margin-left: 6px; font-size: 11.5px; }
.thread-pages a { padding: 0 3px; border: 1px solid var(--line-2); border-radius: 2px; }
.thread-flags { margin: -6px 0 12px; }
.thread-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; padding: 8px 12px; background: #1a191e; border: 1px solid var(--line); border-radius: 3px; }
.forum-post .post-text { min-height: 40px; }
.post-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-top: 16px; padding-top: 10px; border-top: 1px solid var(--line); }
.post-actions:empty { display: none; }
.post-edit .bb-editor { margin-bottom: 10px; }
.forum-compose { margin-top: 6px; }
.empty-note { padding: 6px 2px; }
.forum-activity .wlist-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.board-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.board-form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; flex: 1 1 520px; }
.board-form .input { width: auto; flex: 1 1 130px; }
.board-form .board-desc { flex: 2 1 220px; }
.board-form .board-pos { flex: 0 0 64px; }
.board-delete { display: flex; align-items: center; gap: 6px; }
.board-new-title { margin: 16px 0 8px; font-size: 14px; }
.report-post { font-style: italic; }
.post-actions { align-items: center; }
.post-reactions { display: flex; align-items: center; gap: 6px; }
.react-form { display: inline; }
.react-btn, .react-static { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 3px; border: 1px solid var(--line-2); background: #1d1c22; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.react-static { cursor: default; }
.react-btn:hover { color: #fff; border-color: #8a6db0; }
.react-like.on, .react-static { color: #ff8fb1; border-color: #7a3a55; background: #2a1a22; }
.react-bookmark.on { color: #f0c96a; border-color: #6e5a2a; background: #2a2418; }
.react-count:empty { display: none; }
.post-signature { margin-top: 18px; padding-top: 8px; border-top: 1px dashed var(--line-2); font-size: 12px; color: var(--muted); max-height: 120px; overflow: hidden; }
.bookmark-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.bookmark-item:last-child { border-bottom: none; }
.bookmark-main { flex: 1; min-width: 0; }
.bookmark-title { font-weight: 700; }
.bookmark-snippet { margin-top: 4px; font-size: 12.5px; color: var(--text); overflow-wrap: anywhere; }
.online-dot { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 50%; background: #5c5866; border: 1px solid #2a2830; vertical-align: 1px; flex-shrink: 0; }
.online-dot.is-online { background: #3ecf6e; box-shadow: 0 0 0 2px rgba(62, 207, 110, 0.18); }
h1 .online-dot { width: 12px; height: 12px; margin-right: 8px; vertical-align: 3px; }
.status-online { color: #5fe08a; font-weight: 700; }
.subforum-links { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 4px; font-size: 12px; }
.subforum-links a { font-weight: 700; }
.subforum-links i { opacity: 0.75; }
.thread-icon { display: inline-block; vertical-align: -3px; margin-right: 5px; image-rendering: pixelated; }
.thread-flags { display: flex; align-items: center; gap: 6px; }
.like-group { display: inline-flex; align-items: center; }
.like-group .react-btn { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.like-group .react-static { border-top-right-radius: 0; border-bottom-right-radius: 0; padding: 3px 8px; }
.react-count { padding: 3px 9px; border: 1px solid var(--line-2); border-left: none; border-radius: 0 3px 3px 0; background: #16151a; color: #ff8fb1; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.react-count:hover { background: #2a1a22; color: #fff; text-decoration: underline; }
.react-count[hidden] { display: none; }
.like-group:has(.react-count[hidden]) .react-btn { border-radius: 3px; }
.likers-list { list-style: none; margin: 0; padding: 0; max-height: 360px; overflow-y: auto; }
.likers-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 2px; border-bottom: 1px solid var(--line); }
.likers-list li:last-child { border-bottom: none; }
.likers-list a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.likers-list .av { border-radius: 3px; }
.forum-search { display: flex; gap: 6px; }
.forum-search .input { width: 200px; }
.page-actions .forum-search + .btn { margin-left: 4px; }
.forum-search-full { margin-bottom: 16px; }
.forum-search-full .field-row .field { flex: 1 1 180px; }
mark { background: #6c3483; color: #fff; padding: 0 2px; border-radius: 2px; }
.online-list { line-height: 1.8; }
.online-list .role-admin, .online-list .role-mod { font-weight: 700; }
.board-form .board-parent { flex: 1 1 170px; }
@media (max-width: 700px) { .forum-search { width: 100%; } .forum-search .input { flex: 1; width: auto; } }

.forum-boards a i, .forum-threads a i, .subforum-links a i, .forum-post a .av, .likers-list a .av, .likers-list a i,
a .thread-icon, a .online-dot, a.frow-icon, .forum-activity a i { display: inline-block; text-decoration: none !important; }
a.frow-icon:hover, a.frow-icon:focus { text-decoration: none; }
.forum-post .av, .forum-post .post-av, .likers-list .av, .forum-boards .frow-icon, .forum-threads .frow-icon, .thread-icon { border-radius: 0; }

.btn-following { background: #2a2131; border-color: #5c4280; color: #e3d0f2; }
.btn-following:hover { background: #3a1f1c; border-color: var(--danger); color: #fff; }
.btn-following:hover::after { content: " · Unfollow"; }
.mention { font-weight: 700; }
.field-row > .hint { flex-basis: 100%; margin-top: -6px; margin-bottom: 8px; }
.notify-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 18px; margin: 6px 0 10px; }
.notify-master { margin: 6px 0 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.vb-overview { flex-wrap: wrap; }
.vb-linked { flex: 0 0 210px; margin-left: auto; padding: 10px; background: #19181c; border: 1px solid var(--line); border-radius: 3px; }
.vb-linked h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 8px; }
.vb-linked-item { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 3px; text-decoration: none !important; }
.vb-linked-item + .vb-linked-item { margin-top: 4px; }
.vb-linked-item:hover { background: var(--row-hover); }
.vb-linked-item .vb-linked-cover { width: 44px; height: 44px; object-fit: cover; border-radius: 2px; flex-shrink: 0; background: #333; }
.vb-linked-item small { display: flex; align-items: center; gap: 4px; }
.vb-linked-item .sw-img { width: 14px; height: 14px; background: none; border-radius: 0; }
.vb-linked-item span { display: flex; flex-direction: column; min-width: 0; }
.vb-linked-item strong { color: var(--link); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vb-linked-item small { color: var(--muted); font-size: 11.5px; }
@media (max-width: 980px) { .vb-linked { flex: 1 1 100%; margin-left: 0; } }
.convo-list { margin: -12px; }
.convo-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none !important; }
.convo-item:last-child { border-bottom: none; }
.convo-item:hover { background: var(--row-hover); }
.convo-item.is-unread { background: #221d2b; }
.convo-item.is-unread .convo-snippet { color: #fff; font-weight: 700; }
.convo-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.convo-top { display: flex; justify-content: space-between; gap: 10px; }
.convo-snippet { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo { display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow-y: auto; margin-bottom: 12px; }
.msg { display: flex; flex-direction: column; max-width: 75%; }
.msg-mine { align-self: flex-end; align-items: flex-end; }
.msg-bubble { padding: 8px 12px; border-radius: 3px; background: #24222a; border: 1px solid var(--line-2); line-height: 1.55; overflow-wrap: anywhere; }
.msg-mine .msg-bubble { background: #3a2a52; border-color: #5c4280; }
.msg-meta { margin-top: 3px; }
.msg-compose textarea { width: 100%; }
.blocked-list { list-style: none; margin: 0; padding: 0; }
.blocked-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.blocked-list li:last-child { border-bottom: none; }
.blocked-list form { margin-left: auto; }
.vb-linked .vb-linked-edit { margin-top: 8px; width: 100%; justify-content: center; }
.vb-linked p { margin: 0 0 4px; }
.link-choices { max-height: 320px; overflow-y: auto; margin: 6px 0 10px; }
.link-choices .check-row { display: flex; align-items: center; gap: 6px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.post-signature { max-height: 160px; }
.post-signature .bb-img { max-height: 100px; max-width: 100%; width: auto !important; }
