
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #1a1d23;
    color: #c9cdd4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: #7c8aff;
    transition: color 0.2s;
}

a:hover {
    color: #a5b0ff;
}


.site-header {
    background: linear-gradient(135deg, #1a1d23 0%, #2d1f3d 40%, #3d1f2d 70%, #1a1d23 100%);
    padding: 10px 0;
    position: relative;
    overflow: hidden;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(236, 72, 153, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    margin: 0;
    padding: 0;
}

.logo-image {
    max-width: 405px;
    height: auto;
    display: block;
    margin-left: -60px;
    margin-top: 0;
    margin-bottom: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: #e2e8f0;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.25);
}

.btn-register {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    color: #ffffff;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-register:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}


.primary-nav {
    background: #22252c;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    color: #8b92a0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.nav-tab:hover {
    color: #e2e8f0;
    background: rgba(255,255,255,0.03);
}

.nav-tab.active {
    color: #ffffff;
    border-bottom-color: #6366f1;
    background: rgba(99, 102, 241, 0.06);
}

.nav-tab.highlight {
    color: #fbbf24;
}

.nav-tab.highlight:hover {
    color: #fcd34d;
}

.badge-hot {
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.badge-verified {
    color: #22c55e;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}


.secondary-nav {
    background: #1e2128;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.secondary-nav .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}

.secondary-links {
    display: flex;
    gap: 24px;
}

.secondary-links a {
    color: #8b92a0;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 0;
    transition: color 0.2s;
}

.secondary-links a:hover {
    color: #e2e8f0;
}

.live-status {
    color: #ef4444;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.status-dot.red {
    background: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}

.status-dot.green {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

.home-thread-activity {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 38px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

.home-thread-activity-nav {
    margin: 0;
}

.home-thread-activity-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px 0 6px;
    color: #ff6457;
    background: transparent;
    border-right: 1px solid rgba(148, 163, 184, 0.16);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .55px;
    white-space: nowrap;
    text-shadow: none;
}

.home-thread-live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ff4d4f;
    box-shadow: 0 0 0 0 rgba(255,77,79,0.42);
    animation: homeThreadPulse 1.8s infinite;
    flex: 0 0 auto;
}

.home-thread-activity-window {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    background: transparent;
}

.home-thread-activity-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    min-height: 38px;
    padding: 0 6px;
    animation: homeThreadTicker 150s linear infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.home-thread-activity:hover .home-thread-activity-track {
    animation-play-state: running;
}

.home-thread-activity-event {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #b7c3d4;
    font-size: 12px;
    white-space: nowrap;
    min-width: 430px;
    max-width: 430px;
    flex: 0 0 430px;
    padding: 0 12px 0 10px;
    border-right: 1px solid rgba(148, 163, 184, 0.16);
}

.home-thread-activity-event i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #94a3b8;
    box-shadow: 0 0 7px rgba(148,163,184,0.3);
    flex-shrink: 0;
}

.home-thread-activity-event.hot i {
    background: #f97316;
    box-shadow: 0 0 10px rgba(249,115,22,0.45);
}

.home-thread-activity-event.reply i {
    background: #38bdf8;
    box-shadow: 0 0 10px rgba(56,189,248,0.42);
}

.home-thread-activity-user {
    color: #e7edf7;
    font-weight: 800;
    text-decoration: none;
    flex: 0 0 auto;
}

.home-thread-activity-action {
    color: #8f9db2;
    flex: 0 0 auto;
}

.home-thread-activity-title {
    color: #eef4ff;
    font-weight: 800;
    max-width: 220px;
    flex: 0 1 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    display: inline-block;
}

.home-thread-activity-title:hover {
    color: #ffffff;
    text-decoration: underline;
}

.home-thread-activity-time {
    color: #97a7bf;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .35px;
    text-transform: uppercase;
    flex: 0 0 84px;
    text-align: right;
    padding-left: 0;
    font-variant-numeric: tabular-nums;
}

@keyframes homeThreadTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes homeThreadPulse {
    70% { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
    100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}


.main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

.content-area {
    min-width: 0;
}


.breadcrumb {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}

.breadcrumb a {
    color: #8b92a0;
}

.breadcrumb a:hover {
    color: #e2e8f0;
}


.banner-row {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}

.banner-row.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.banner-row.two-col {
    grid-template-columns: repeat(2, 1fr);
}

.banner-ad-link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    transition: opacity 0.2s;
}

.banner-ad-link:hover {
    opacity: 0.9;
}

.banner-ad-img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-placeholder {
    background: linear-gradient(135deg, #1e2233 0%, #252a3a 100%);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    padding: 28px 16px;
    text-align: center;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.banner-placeholder i {
    font-size: 16px;
    color: #6366f1;
}


.forum-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 20px;
}

.title-bar {
    width: 4px;
    height: 28px;
    background: #6366f1;
    border-radius: 2px;
}

.forum-title h1 {
    font-size: 20px;
    font-weight: 700;
    color: #e2e8f0;
}

.live-digest {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0)),
        #1e2128;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(0,0,0,0.16);
}

.live-digest-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.012);
}

.live-metric {
    padding: 13px 16px;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.live-metric:last-child {
    border-right: 0;
}

.metric-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.live-metric strong {
    display: block;
    color: #e2e8f0;
    font-size: 19px;
    line-height: 1.15;
}

.live-feed {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: stretch;
    min-height: 112px;
    position: relative;
}

.live-feed-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-right: 1px solid rgba(255,255,255,0.05);
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.live-feed-head i {
    color: #22c55e;
}

.live-feed-list {
    min-width: 0;
    overflow: hidden;
}

.live-feed-item {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.035);
    animation: shoutIn 0.18s ease;
    min-height: 50px;
    transition: background 0.18s ease, transform 0.18s ease;
}

.live-feed-item:hover {
    background: rgba(99,102,241,0.035);
}

.live-feed-item:last-child {
    border-bottom: 0;
}

.live-feed-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(99,102,241,0.1);
    color: #818cf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.live-feed-text {
    min-width: 0;
    color: #94a3b8;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-feed-text a {
    color: #818cf8;
    font-weight: 700;
}

.live-feed-time {
    color: #475569;
    font-size: 11px;
    white-space: nowrap;
}

.top-live-activity,
.home-live-ticker,
.live-activity-ticker {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin: 0 0 16px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    background:
        linear-gradient(90deg, rgba(34,197,94,0.08), rgba(99,102,241,0.045) 42%, rgba(30,33,40,0) 100%),
        #1e2128;
    color: #94a3b8;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.025), 0 10px 28px rgba(0,0,0,0.14);
    overflow: hidden;
}

.top-live-activity::before,
.home-live-ticker::before,
.live-activity-ticker::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.55);
    animation: liveTickerPulse 1.8s infinite;
    flex: 0 0 auto;
}

.top-live-activity-track,
.home-live-ticker-track,
.live-activity-ticker-track {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    white-space: nowrap;
    animation: liveTickerDrift 36s linear infinite;
}

.top-live-activity:hover .top-live-activity-track,
.home-live-ticker:hover .home-live-ticker-track,
.live-activity-ticker:hover .live-activity-ticker-track {
    animation-play-state: paused;
}

.top-live-activity-item,
.home-live-ticker-item,
.live-activity-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: max-content;
    font-size: 12px;
    color: #94a3b8;
}

.top-live-activity-item a,
.home-live-ticker-item a,
.live-activity-ticker-item a {
    color: #c7d2fe;
    font-weight: 750;
}

@keyframes liveTickerPulse {
    70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

@keyframes liveTickerDrift {
    from { transform: translateX(0); }
    to { transform: translateX(-42%); }
}


.forum-category {
    margin-bottom: 16px;
}

.category-header {
    background: linear-gradient(135deg, #252a35 0%, #2a2f3a 100%);
    padding: 12px 18px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.06);
    border-bottom: none;
    transition: background 0.2s;
}

.category-header:hover {
    background: linear-gradient(135deg, #2a2f3a 0%, #2f3545 100%);
}

.category-header span {
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-header span i {
    color: #6366f1;
    font-size: 14px;
}

.category-header.restricted span i {
    color: #ef4444;
}

.toggle-icon {
    color: #64748b;
    font-size: 12px;
    transition: transform 0.3s;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

.category-body {
    background: #1e2128;
    border: 1px solid rgba(255,255,255,0.06);
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.category-body.collapsed {
    max-height: 0 !important;
    overflow: hidden;
    border: none;
}


.forum-row {
    display: grid;
    grid-template-columns: 48px 1fr 80px 240px;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s;
}

.forum-row:last-child {
    border-bottom: none;
}

.forum-row:hover {
    background: rgba(255,255,255,0.015);
}

.forum-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    background: #252a35;
}

.icon-blue { color: #3b82f6; }
.icon-red { color: #ef4444; }
.icon-green { color: #22c55e; }
.icon-yellow { color: #eab308; }
.icon-orange { color: #f97316; }
.icon-purple { color: #a855f7; }
.icon-pink { color: #ec4899; }
.icon-teal { color: #14b8a6; }
.icon-cyan { color: #06b6d4; }
.icon-indigo { color: #6366f1; }
.icon-emerald { color: #10b981; }
.icon-violet { color: #8b5cf6; }
.icon-sky { color: #0ea5e9; }
.icon-rose { color: #f43f5e; }
.icon-amber { color: #f59e0b; }
.icon-slate { color: #64748b; }
.icon-gold { color: #fbbf24; }

.forum-info {
    min-width: 0;
}

.forum-name {
    font-size: 15px;
    font-weight: 600;
    color: #e2e8f0;
    display: block;
    margin-bottom: 2px;
}

.forum-name:hover {
    color: #7c8aff;
}

.forum-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.4;
}

.forum-sublinks {
    display: flex;
    gap: 16px;
    margin-top: 6px;
}

.forum-sublinks a {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.forum-sublinks a:hover {
    color: #7c8aff;
}

.access-badge {
    display: inline-block;
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    margin-left: 8px;
    vertical-align: middle;
}

.forum-stats {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #e2e8f0;
}

.stat-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 1px;
    margin-top: 2px;
}

.forum-latest {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.latest-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.latest-info {
    min-width: 0;
}

.latest-title {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.latest-title:hover {
    color: #7c8aff;
}

.latest-meta {
    font-size: 11.5px;
    color: #475569;
    line-height: 1.5;
}

.latest-meta a {
    color: #6366f1;
    font-weight: 500;
}

.private-content {
    color: #475569;
    font-size: 13px;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 6px;
}


.ad-banner-inline {
    background: #1e2128;
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    color: #475569;
    font-size: 13px;
    margin-bottom: 16px;
}


.sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card {
    background: #1e2128;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-card-header {
    background: linear-gradient(135deg, #252a35 0%, #2a2f3a 100%);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 1px;
}

.sidebar-card-header span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-card-header i {
    color: #6366f1;
}

.staff-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e2a4a 100%);
}

.staff-header i {
    color: #fbbf24;
}

.recent-header {
    background: linear-gradient(135deg, #2a1f3d 0%, #251e35 100%);
}

.recent-header i {
    color: #a855f7;
}

.active-header {
    background: linear-gradient(135deg, #1e3d2a 0%, #1e352a 100%);
}

.active-header i {
    color: #22c55e;
}

.stats-header {
    background: linear-gradient(135deg, #3d2a1e 0%, #352a1e 100%);
}

.stats-header i {
    color: #f97316;
}

.online-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #22c55e;
    letter-spacing: 0.5px;
}

.sidebar-card-body {
    padding: 12px 16px;
}

.mirror-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mirror-item:last-child {
    border-bottom: none;
}

.mirror-name {
    font-size: 13px;
    color: #94a3b8;
    flex: 1;
}

.mirror-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.mirror-badge.main {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
}

.mirror-badge.tor-badge {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.tor-section {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 1px;
    padding: 10px 0 4px;
}

.mirror-item.tor .mirror-name {
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.staff-member {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.staff-member:last-child {
    border-bottom: none;
}

.staff-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.staff-info {
    flex: 1;
}

.staff-name {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    display: block;
}

.role-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.role-badge.admin {
    color: #ef4444;
}

.role-badge.gmod {
    color: #22c55e;
}

.staff-social {
    color: #38bdf8;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s;
}

.staff-social:hover {
    color: #60c8fa;
}

.recent-post {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.22s ease, transform 0.22s ease, opacity 0.22s ease;
}

.recent-post:last-child {
    border-bottom: none;
}

.recent-post.recent-enter {
    animation: recentEnter 0.38s ease;
    background: rgba(99,102,241,0.045);
    border-radius: 6px;
}

.recent-post.recent-shift {
    animation: recentShift 0.32s ease;
}

@keyframes recentEnter {
    from { opacity: 0; transform: translateY(-7px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes recentShift {
    from { transform: translateY(-6px); opacity: 0.72; }
    to { transform: translateY(0); opacity: 1; }
}

.recent-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}

.recent-info {
    min-width: 0;
}

.recent-title {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-title:hover {
    color: #7c8aff;
}

.recent-meta {
    font-size: 11px;
    color: #475569;
}

.ad-banner-wide {
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.ad-banner-wide a { display: block; }
.ad-banner-wide img { width: 100%; height: auto; display: block; }

.sidebar-ad-img {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.sidebar-ad-img a { display: block; }
.sidebar-ad-img img { width: 100%; height: auto; display: block; }

.sidebar-ad {
    background: #1e2128;
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    color: #475569;
    font-size: 12px;
}

.active-users-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 12px;
}

.user-count-badge {
    background: #22c55e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 10px;
    margin-left: auto;
}

.active-users-list {
    font-size: 12px;
    color: #64748b;
    line-height: 1.8;
    word-break: break-word;
}

.active-users-list a {
    color: #94a3b8;
    text-decoration: none;
}

.active-users-list a:hover {
    color: #e2e8f0;
}

.active-users-list a.role-admin {
    color: #ef4444;
    font-weight: 800;
}

.active-users-list a.role-admin:hover {
    color: #f87171;
}

.active-users-list a.role-mod {
    color: #22c55e;
    font-weight: 800;
}

.active-users-list a.role-mod:hover {
    color: #4ade80;
}

.active-users-more {
    font-size: 12px;
    color: #475569;
    font-style: italic;
    margin-top: 8px;
}

.stats-body {
    padding: 16px !important;
}

.stats-date {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.stat-icon.threads {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.stat-icon.members {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.stat-detail {
    display: flex;
    flex-direction: column;
}

.stat-detail-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 1px;
}

.stat-detail-value {
    font-size: 24px;
    font-weight: 800;
    color: #e2e8f0;
    line-height: 1.2;
}

.stat-detail-value.small {
    font-size: 16px;
    max-width: 170px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-detail-value.blurred-member {
    filter: blur(4.8px);
    color: #c7d2fe;
    user-select: none;
    text-shadow: 0 0 18px rgba(129,140,248,0.26);
}

.help-card {
    background: linear-gradient(135deg, #0088cc, #0099dd);
    border: none;
}

.help-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.help-inner:hover {
    opacity: 0.9;
}

.help-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.help-text {
    flex: 1;
}

.help-label {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.help-contact {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.help-arrow {
    color: rgba(255,255,255,0.6);
    font-size: 16px;
}


.site-footer {
    margin-top: 40px;
    padding: 24px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
}

.footer-inner a {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.footer-inner a:hover {
    color: #94a3b8;
}

.footer-copy {
    font-size: 12px;
    color: #475569;
}


@media (max-width: 1200px) {
    .main-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .primary-nav .nav-inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .forum-row {
        grid-template-columns: 40px 1fr;
        gap: 10px;
    }

    .forum-stats {
        display: none;
    }

    .forum-latest {
        grid-column: 2;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(255,255,255,0.04);
    }

    .latest-avatar img {
        width: 28px;
        height: 28px;
    }

    .latest-title {
        font-size: 12px;
    }

    .latest-meta {
        font-size: 10.5px;
    }

    .live-digest-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .live-metric:nth-child(2) {
        border-right: 0;
    }

    .live-feed {
        grid-template-columns: 1fr;
    }

    .live-feed-head {
        justify-content: flex-start;
        padding: 11px 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .live-feed-item {
        grid-template-columns: 28px 1fr;
    }

    .live-feed-time {
        display: none;
    }

    .top-live-activity,
    .home-live-ticker,
    .live-activity-ticker {
        min-height: 42px;
        padding: 9px 12px;
        border-radius: 8px;
    }

    .top-live-activity-track,
    .home-live-ticker-track,
    .live-activity-ticker-track {
        gap: 14px;
        animation-duration: 28s;
    }

    .auth-preview-shell,
    .locked-thread-preview,
    .locked-preview-shell {
        min-height: clamp(460px, 72vh, 660px) !important;
    }

    .auth-preview-card,
    .locked-preview-card,
    .locked-thread-preview-card {
        width: min(390px, calc(100vw - 30px)) !important;
    }

    .banner-row.three-col {
        grid-template-columns: 1fr;
    }

    .banner-row.two-col {
        grid-template-columns: 1fr;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .secondary-links {
        gap: 12px;
    }

    .live-status {
        display: none;
    }
}


::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1d23;
}

::-webkit-scrollbar-thumb {
    background: #2a2f3a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #353b48;
}


::selection {
    background: rgba(99, 102, 241, 0.3);
    color: #fff;
}


.main-wrapper.single-col {
    grid-template-columns: 1fr;
    max-width: 1000px;
}


.logo {
    text-decoration: none;
}

.auth-container {
    display: flex;
    justify-content: center;
    padding: 20px 0 40px;
}

.auth-card {
    background: #1e2128;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 460px;
}

.auth-card.wide {
    max-width: 640px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 6px;
}

.auth-header h1 i {
    color: #6366f1;
    margin-right: 8px;
}

.auth-header p {
    color: #64748b;
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i {
    color: #6366f1;
    font-size: 12px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    background: #252a35;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 12px 14px;
    color: #e2e8f0;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #475569;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-group select option {
    background: #252a35;
    color: #e2e8f0;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    accent-color: #6366f1;
    width: 16px;
    height: 16px;
}

.forgot-link {
    font-size: 13px;
    color: #6366f1;
}

.btn-submit {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border: none;
    color: #fff;
    padding: 13px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-register-submit {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.btn-register-submit:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.06);
}

.auth-social {
    display: flex;
    gap: 12px;
}

.btn-social {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #252a35;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-social:hover {
    background: #2a2f3a;
    border-color: rgba(255,255,255,0.12);
    color: #e2e8f0;
}

.btn-social.discord:hover { border-color: #5865f2; color: #5865f2; }
.btn-social.telegram:hover { border-color: #0088cc; color: #0088cc; }
.btn-social.github:hover { border-color: #f0f6fc; color: #f0f6fc; }

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #64748b;
}

.auth-footer a {
    color: #6366f1;
    font-weight: 600;
}


.activity-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 8px 18px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.08);
    background: transparent;
    color: #8b92a0;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: rgba(255,255,255,0.03);
    color: #e2e8f0;
}

.filter-btn.active {
    background: rgba(99, 102, 241, 0.1);
    border-color: #6366f1;
    color: #818cf8;
}

.activity-feed {
    display: flex;
    flex-direction: column;
}

.activity-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #1e2128;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    margin-bottom: 12px;
    transition: background 0.15s;
}

.activity-item:hover {
    background: #222730;
}

.activity-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
}

.activity-content {
    min-width: 0;
    flex: 1;
}

.activity-header {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 6px;
}

.activity-user {
    color: #6366f1;
    font-weight: 600;
}

.activity-action {
    margin: 0 4px;
}

.activity-location {
    color: #94a3b8;
    font-weight: 500;
}

.activity-title {
    font-size: 16px;
    font-weight: 600;
    color: #e2e8f0;
    display: block;
    margin-bottom: 6px;
}

.activity-title:hover {
    color: #7c8aff;
}

.activity-excerpt {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 10px;
}

.activity-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: #475569;
}

.activity-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #1e2128;
    border: 1px solid rgba(255,255,255,0.06);
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.page-btn:hover {
    background: #252a35;
    color: #e2e8f0;
}

.page-btn.active {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}

.page-btn.next {
    width: auto;
    padding: 0 14px;
}

.page-dots {
    display: flex;
    align-items: center;
    color: #475569;
    font-size: 14px;
    padding: 0 4px;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.service-card {
    background: #1e2128;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 24px;
    transition: all 0.2s;
}

.service-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 12px;
}

.service-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.tag {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
}

.tag.critical { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.tag.high { background: rgba(249, 115, 22, 0.15); color: #f97316; }
.tag.medium { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.tag.low { background: rgba(34, 197, 94, 0.15); color: #22c55e; }

.service-link {
    font-size: 13px;
    font-weight: 600;
    color: #6366f1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    color: #818cf8;
}

.info-box {
    display: flex;
    gap: 14px;
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 8px;
    padding: 18px;
}

.info-box > i {
    color: #6366f1;
    font-size: 18px;
    margin-top: 2px;
}

.info-box strong {
    color: #e2e8f0;
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.info-box p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}


.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.resource-card {
    background: #1e2128;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 24px;
}

.resource-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.resource-header i {
    font-size: 20px;
}

.resource-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #e2e8f0;
}

.icon-blue-text { color: #3b82f6; }
.icon-orange-text { color: #f97316; }
.icon-purple-text { color: #a855f7; }
.icon-green-text { color: #22c55e; }
.icon-red-text { color: #ef4444; }
.icon-teal-text { color: #14b8a6; }

.resource-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.resource-list li a {
    font-size: 13px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.resource-list li a:hover {
    color: #7c8aff;
}

.resource-list li a i {
    font-size: 10px;
    color: #475569;
}

.resource-count {
    font-size: 12px;
    color: #475569;
    font-weight: 500;
}


.bounty-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.bounty-stat-card {
    background: #1e2128;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.bounty-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.bounty-stat-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.bounty-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s;
}

.bounty-item:last-child { border-bottom: none; }
.bounty-item:hover { background: rgba(255,255,255,0.015); }

.bounty-reward {
    font-size: 18px;
    font-weight: 800;
    color: #ef4444;
    min-width: 80px;
    text-align: center;
}

.bounty-reward.high { color: #f97316; }
.bounty-reward.medium { color: #fbbf24; }
.bounty-reward.low { color: #22c55e; }

.bounty-info { flex: 1; min-width: 0; }

.bounty-title {
    font-size: 15px;
    font-weight: 600;
    color: #e2e8f0;
    display: block;
    margin-bottom: 4px;
}

.bounty-title:hover { color: #7c8aff; }

.bounty-desc {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 8px;
}

.bounty-tags {
    display: flex;
    gap: 6px;
}

.bounty-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #475569;
    text-align: right;
    white-space: nowrap;
}

.leaderboard {
    display: flex;
    flex-direction: column;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.leaderboard-item:last-child { border-bottom: none; }

.leaderboard-item.gold { background: rgba(251, 191, 36, 0.04); }
.leaderboard-item.silver { background: rgba(148, 163, 184, 0.04); }
.leaderboard-item.bronze { background: rgba(180, 83, 9, 0.04); }

.lb-rank {
    font-size: 16px;
    font-weight: 800;
    color: #64748b;
    min-width: 32px;
}

.leaderboard-item.gold .lb-rank { color: #fbbf24; }
.leaderboard-item.silver .lb-rank { color: #94a3b8; }
.leaderboard-item.bronze .lb-rank { color: #b45309; }

.leaderboard-item img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.lb-name {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    flex: 1;
}

.lb-findings {
    font-size: 13px;
    color: #64748b;
}

.lb-earned {
    font-size: 14px;
    font-weight: 700;
    color: #22c55e;
    min-width: 80px;
    text-align: right;
}


.staff-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    padding: 18px;
}

.staff-profile-card {
    background: #252a35;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
}

.staff-profile-card.compact {
    padding: 18px;
}

.staff-profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    margin-bottom: 12px;
}

.staff-profile-card.compact .staff-profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.staff-profile-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.staff-profile-card .role-badge {
    display: inline-block;
    margin-bottom: 10px;
}

.role-badge.smod {
    color: #f97316;
}

.staff-bio {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 14px;
}

.staff-profile-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 12px;
}

.staff-profile-stats div {
    text-align: center;
}

.staff-profile-stats strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #e2e8f0;
}

.staff-profile-stats span {
    font-size: 11px;
    color: #64748b;
}

.staff-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.staff-socials a {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
}

.staff-socials a:hover {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}


.guidelines-content {
    background: #1e2128;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 32px;
}

.guideline-section {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.guideline-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.guideline-section h2 {
    font-size: 17px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guideline-section h2 i {
    color: #6366f1;
    font-size: 16px;
}

.guideline-section p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.7;
}

.guideline-section ul {
    list-style: none;
    padding: 0;
}

.guideline-section ul li {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.7;
    padding: 4px 0 4px 20px;
    position: relative;
}

.guideline-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
}


.search-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-box {
    background: #1e2128;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 24px;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #252a35;
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    padding: 4px 4px 4px 16px;
}

.search-input-group i {
    color: #6366f1;
    font-size: 18px;
}

.search-input {
    flex: 1;
    background: none;
    border: none;
    color: #e2e8f0;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    padding: 10px 0;
}

.search-input::placeholder {
    color: #475569;
}

.btn-search {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border: none;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.btn-search:hover {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
}

.search-filters {
    background: #1e2128;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 24px;
}

.search-filters h3 {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 16px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.search-results-placeholder {
    background: #1e2128;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 60px 24px;
    text-align: center;
}

.search-results-placeholder > i {
    font-size: 48px;
    color: #2a2f3a;
    margin-bottom: 16px;
}

.search-results-placeholder p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

.popular-searches {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.popular-searches span {
    font-size: 13px;
    color: #475569;
    font-weight: 600;
}

.popular-searches a {
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(99, 102, 241, 0.08);
    color: #818cf8;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}

.popular-searches a:hover {
    background: rgba(99, 102, 241, 0.15);
}


.online-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.online-stat-box {
    background: #1e2128;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.online-stat-box > i {
    font-size: 24px;
    color: #6366f1;
}

.online-stat-box strong {
    color: #e2e8f0;
    font-size: 18px;
}

.online-stat-box span {
    color: #64748b;
    font-size: 13px;
    display: block;
}

.online-users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    padding: 16px;
}

.online-user-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #252a35;
    border-radius: 8px;
    transition: background 0.15s;
}

.online-user-item:hover {
    background: #2a2f3a;
}

.online-user-item img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.online-user-item span {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
}

.online-user-item small {
    margin-left: auto;
}


@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 24px;
    }

    .bounty-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .online-summary {
        grid-template-columns: 1fr;
    }

    .bounty-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .bounty-meta {
        flex-direction: row;
        text-align: left;
    }

    .staff-card-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .resource-grid {
        grid-template-columns: 1fr;
    }

    .activity-filters {
        flex-wrap: wrap;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .escrow-post {
        grid-template-columns: 1fr !important;
    }

    .escrow-trust-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .bounty-stats-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}


.escrow-title-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.official-badge {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.escrow-title-bar h1 {
    font-size: 22px;
    font-weight: 800;
    color: #e2e8f0;
    letter-spacing: 0.5px;
}

.escrow-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #64748b;
}

.escrow-author {
    color: #ef4444;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.escrow-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.escrow-post {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    background: #1e2128;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
}

.post-author-sidebar {
    background: linear-gradient(180deg, #1a1d24 0%, #181b22 100%);
    padding: 24px 16px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
    position: sticky;
    top: 0;
    align-self: start;
}

.author-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #6366f1;
    margin-bottom: 10px;
}

.author-name {
    font-size: 18px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.author-role {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 16px;
}

.author-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.author-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
}

.badge-admin {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
}

.badge-arbitrator {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.badge-moderator {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
}

.badge-veteran {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    color: #fff;
}

.author-deposit {
    background: linear-gradient(135deg, #1a1d27 0%, #1e1b2e 50%, #1a1d27 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 8px;
    padding: 8px 10px;
    margin: 8px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.05), inset 0 1px 0 rgba(255,255,255,0.04);
}
.author-deposit::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.06), transparent);
    animation: depositShimmer 4s ease-in-out infinite;
}
/* scanlines removed - matches thread deposit style */
@keyframes depositShimmer {
    0% { left: -100%; } 50% { left: 150%; } 100% { left: 150%; }
}

.deposit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.deposit-left {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: left;
    width: fit-content;
}

.deposit-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

.deposit-label {
    font-size: 9px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.deposit-amount {
    font-size: 22px;
    font-weight: 900;
    color: #fbbf24;
    line-height: 1;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3), 0 0 20px rgba(245, 158, 11, 0.12);
    animation: depositGlow 2.5s ease-in-out infinite alternate;
}
@keyframes depositGlow {
    0% { text-shadow: 0 0 10px rgba(251, 191, 36, 0.3), 0 0 20px rgba(245, 158, 11, 0.12); }
    100% { text-shadow: 0 0 16px rgba(251, 191, 36, 0.45), 0 0 30px rgba(245, 158, 11, 0.2); }
}

.deposit-secured {
    font-size: 8px;
    font-weight: 700;
    color: #34d399;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 5px;
    border-radius: 4px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.08);
    letter-spacing: 0.5px;
    margin-top: 1px;
    width: fit-content;
}
.deposit-secured i {
    font-size: 6px;
}
@keyframes lockPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.deposit-currency {
    font-size: 10px;
    font-weight: 700;
    color: #d97706;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.deposit-currency i {
    color: #627eea;
    font-size: 10px;
    filter: drop-shadow(0 0 3px rgba(98, 126, 234, 0.4));
}

.author-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.author-stat {
    background: #252a35;
    border-radius: 6px;
    padding: 10px 6px;
    text-align: center;
}

.author-stat-label {
    font-size: 9px;
    font-weight: 700;
    color: #475569;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 3px;
}

.author-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    display: block;
}

.author-stat-value.highlight-green {
    color: #22c55e;
}

.author-stat-value.highlight-red {
    color: #ef4444;
}

.author-stat-value.blurred {
    filter: blur(5px);
    user-select: none;
    color: #94a3b8;
    cursor: not-allowed;
    transition: filter 0.3s;
}

.author-joined {
    background: #252a35;
    border-radius: 6px;
    padding: 10px 6px;
    text-align: center;
    margin-top: 8px;
}

.post-content {
    padding: 0;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
}

.post-date {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.official-service-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-ribbon {
    position: absolute;
    top: 12px;
    right: -32px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 40px;
    transform: rotate(45deg);
}

.post-body {
    padding: 24px;
}

.post-body p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 16px;
}

.text-green {
    color: #22c55e;
}

.post-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: #e2e8f0;
    margin: 28px 0 16px;
}

.escrow-card {
    background: linear-gradient(135deg, #1a2233 0%, #1e2a3d 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    max-width: 480px;
    margin: 24px auto;
    overflow: hidden;
}

.escrow-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 0.5px;
}

.escrow-card-header i {
    color: #6366f1;
}

.escrow-active-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 5px;
    letter-spacing: 0.5px;
}

.escrow-card-body {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

.escrow-fee {
    flex: 1;
}

.fee-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.fee-value {
    font-size: 36px;
    font-weight: 800;
    color: #e2e8f0;
    line-height: 1;
}

.fee-per {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    margin-left: 4px;
}

.escrow-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.08);
}

.btn-start-deal {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-start-deal:hover {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    color: #fff;
}

.escrow-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.escrow-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: #252a35;
    border-radius: 8px;
    border-left: 3px solid #6366f1;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0;
}

.escrow-rules {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.escrow-rules li {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.6;
    padding: 6px 0 6px 22px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.escrow-rules li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6366f1;
}

.escrow-rules li strong {
    color: #e2e8f0;
}

.escrow-trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.trust-stat {
    background: #252a35;
    border-radius: 10px;
    padding: 18px 12px;
    text-align: center;
}

.trust-stat i {
    font-size: 22px;
    color: #6366f1;
    display: block;
    margin-bottom: 8px;
}

.trust-stat strong {
    font-size: 22px;
    font-weight: 800;
    color: #e2e8f0;
    display: block;
    margin-bottom: 4px;
}

.trust-stat span {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.escrow-signature {
    border-left: 3px solid #475569;
    padding: 10px 16px;
    color: #64748b;
    font-style: italic;
    font-size: 14px;
    margin-top: 24px;
}

.escrow-rules-section {
    margin-top: 24px;
    background: #16181e;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    overflow: hidden;
}

.escrow-rules-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
}

.escrow-rules-toggle:hover {
    background: rgba(255,255,255,0.02);
}

.escrow-rules-toggle i:first-child {
    color: #f59e0b;
    margin-right: 8px;
}

.escrow-rules-arrow {
    color: #475569;
    font-size: 12px;
    transition: transform 0.3s;
}

.escrow-rules-section.open .escrow-rules-arrow {
    transform: rotate(180deg);
}

.escrow-rules-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.escrow-rules-section.open .escrow-rules-body {
    max-height: 2000px;
}

.escrow-rules-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 18px;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.escrow-rules-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.escrow-rules-col ol {
    list-style: none;
    counter-reset: rule;
    padding: 0;
    margin: 0;
}

.escrow-rules-col ol li {
    counter-increment: rule;
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
    padding: 6px 0 6px 28px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.escrow-rules-col ol li:last-child {
    border-bottom: none;
}

.escrow-rules-col ol li::before {
    content: counter(rule) ".";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: #475569;
    font-size: 11px;
}

@media (max-width: 768px) {
    .escrow-rules-cols {
        grid-template-columns: 1fr;
    }
}

.post-ad {
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    color: #475569;
    font-size: 13px;
}

.post-reactions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.reaction-dots {
    display: flex;
    gap: -2px;
}

.reaction-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #1e2128;
    margin-right: -4px;
}

.reaction-dot.blue { background: #3b82f6; }
.reaction-dot.red { background: #ef4444; }
.reaction-dot.green { background: #22c55e; }

.reaction-count {
    font-size: 13px;
    color: #64748b;
}

.reaction-count strong {
    color: #94a3b8;
}

.auth-preview-shell,
.locked-thread-preview,
.locked-preview-shell {
    min-height: clamp(520px, 68vh, 760px) !important;
    border-radius: 12px !important;
    isolation: isolate;
}

.auth-preview-content,
.locked-preview-content,
.locked-thread-preview-content {
    min-height: inherit;
    filter: blur(10px) saturate(0.86) brightness(0.92) !important;
    transform: scale(1.018) !important;
    transform-origin: center top;
}

.auth-preview-overlay,
.locked-preview-overlay,
.locked-thread-preview-overlay {
    align-items: center !important;
    padding: clamp(18px, 4vw, 34px) !important;
    background:
        radial-gradient(ellipse at center, rgba(30,33,40,0.42) 0%, rgba(10,12,17,0.84) 72%),
        rgba(10,12,17,0.42) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
}

.auth-preview-card,
.locked-preview-card,
.locked-thread-preview-card {
    width: min(430px, calc(100vw - 40px)) !important;
    padding: clamp(24px, 4vw, 34px) !important;
    border-radius: 14px !important;
    box-shadow: 0 24px 70px rgba(0,0,0,0.54) !important;
}

.auth-preview-card h2,
.locked-preview-card h2,
.locked-thread-preview-card h2 {
    line-height: 1.2;
}

.auth-preview-login,
.locked-preview-login,
.locked-thread-preview-login {
    min-height: 38px;
    justify-content: center;
    padding: 0 6px;
}


.db-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.db-stat {
    background: #1e2128;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.db-stat > i {
    font-size: 20px;
    color: #6366f1;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(99,102,241,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.db-stat strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #e2e8f0;
    line-height: 1.1;
}

.db-stat span {
    display: block;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.db-search {
    background: #1e2128;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 20px;
}

.db-search-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #252a35;
    border: 2px solid rgba(99,102,241,0.15);
    border-radius: 8px;
    padding: 4px 4px 4px 14px;
    margin-bottom: 12px;
}

.db-search-inner i {
    color: #6366f1;
    font-size: 16px;
}

.db-search-inner input {
    flex: 1;
    background: none;
    border: none;
    color: #e2e8f0;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    padding: 8px 0;
}

.db-search-inner input::placeholder { color: #475569; }

.db-search-inner button {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border: none;
    color: #fff;
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.db-search-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.db-tag {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    background: #252a35;
    border: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
    transition: all 0.2s;
}

.db-tag:hover { color: #94a3b8; border-color: rgba(255,255,255,0.1); }
.db-tag.active { background: rgba(99,102,241,0.1); border-color: rgba(99,102,241,0.3); color: #818cf8; }

.db-entry {
    display: grid;
    grid-template-columns: 72px 1fr 100px 100px;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s;
}

.db-entry:last-child { border-bottom: none; }
.db-entry:hover { background: rgba(255,255,255,0.015); }

.db-severity {
    padding: 6px 0;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-align: center;
    color: #fff;
}

.db-severity.critical { background: linear-gradient(135deg, #ef4444, #dc2626); }
.db-severity.high { background: linear-gradient(135deg, #f97316, #ea580c); }
.db-severity.medium { background: linear-gradient(135deg, #f59e0b, #d97706); }
.db-severity.low { background: linear-gradient(135deg, #22c55e, #16a34a); }
.db-severity.ti-apt { background: linear-gradient(135deg, #ef4444, #9333ea); }
.db-severity.ti-malware { background: linear-gradient(135deg, #f97316, #ef4444); }
.db-severity.ti-campaign { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.db-severity.ti-osint { background: linear-gradient(135deg, #14b8a6, #0d9488); }

.db-entry-info { min-width: 0; }

.db-entry-title {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    display: block;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.db-entry-title:hover { color: #7c8aff; }

.db-entry-meta {
    font-size: 12px;
    color: #475569;
    margin-bottom: 6px;
}

.db-entry-tags {
    display: flex;
    gap: 5px;
}

.db-entry-tags span {
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    background: rgba(99,102,241,0.08);
    color: #818cf8;
}

.db-entry-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #475569;
}

.db-entry-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.db-entry-date {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    color: #475569;
    text-align: right;
}

.db-author {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.db-author a {
    color: #6366f1;
    font-weight: 500;
}

.db-author-av {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    object-fit: cover;
}

.db-live-feed {
    align-items: stretch !important;
}

.db-live-card {
    min-height: 66px !important;
    border-color: rgba(255,255,255,0.075) !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.026), rgba(255,255,255,0)),
        #1e2128 !important;
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.db-live-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.055) 42%, transparent 68%);
    transform: translateX(-115%);
    animation: dbLiveSweep 5.4s ease-in-out infinite;
    pointer-events: none;
}

.db-live-card:hover {
    transform: translateY(-1px);
    border-color: rgba(99,102,241,0.24) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,0.2);
}

.db-live-card i {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.035);
}

.db-live-card strong,
.db-live-card span {
    max-width: 100%;
}

.db-live-pill {
    box-shadow: inset 0 0 0 1px rgba(34,197,94,0.08);
}

.db-live-dot {
    animation: dbPulse 1.8s infinite, dbLiveBlink 3.2s ease-in-out infinite !important;
}

.db-row {
    min-height: 58px;
}

.db-rows {
    filter: blur(3.2px) saturate(0.84) !important;
}

@keyframes dbLiveSweep {
    0%, 44% { transform: translateX(-115%); }
    62%, 100% { transform: translateX(115%); }
}

@keyframes dbLiveBlink {
    0%, 100% { opacity: 0.72; }
    50% { opacity: 1; }
}

@media (max-width: 768px) {
    .db-stats-bar { grid-template-columns: repeat(2, 1fr); }
    .db-entry { grid-template-columns: 60px 1fr; }
    .db-entry-stats, .db-entry-date { display: none; }
}


@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes shoutIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes chatLineIn {
    0% {
        opacity: 0;
        transform: translateY(7px);
        background: rgba(99,102,241,0.08);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        background: transparent;
    }
}

.shoutbox {
    background: #1a1d23;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 14px 36px rgba(0,0,0,0.16);
}

.shoutbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0)),
        #1e2128;
    min-height: 43px;
}

.shoutbox-tabs {
    display: flex;
    gap: 0;
}

.shoutbox-tab {
    padding: 11px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
}

.shoutbox-tab:hover { color: #94a3b8; }
.shoutbox-tab.active { color: #e2e8f0; border-bottom-color: #6366f1; }

.shoutbox-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shoutbox-ctrl {
    font-size: 11px;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
}

.shoutbox-ctrl:hover { color: #94a3b8; }

.shoutbox-staff-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 16px;
    background: #1a1d23;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.sb-staff-label {
    font-size: 11px;
    color: #475569;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.sb-staff-label i {
    color: #6366f1;
    font-size: 11px;
}

.sb-staff-user {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s;
}

.sb-staff-user:hover {
    color: #e2e8f0;
}

.sb-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.shoutbox-body {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    background: #16181e;
}

.shoutbox-messages {
    height: clamp(230px, 28vh, 300px);
    overflow-y: auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
    scroll-behavior: smooth;
    background: #171a21;
    filter: blur(4.5px) saturate(0.78) brightness(1.02);
    transform: scale(1.012);
    user-select: none;
    pointer-events: none;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.82) 0%, #000 18%, #000 82%, rgba(0,0,0,0.72) 100%);
}

.shoutbox-blur {
    position: absolute;
    inset: 0;
    min-height: auto;
    background:
        radial-gradient(circle at 50% 45%, rgba(99,102,241,0.12), rgba(22,24,30,0) 42%),
        rgba(12,14,20,0.30);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 2;
    pointer-events: none;
}

.shoutbox-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 22px;
    border-radius: 7px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(99,102,241,0.25);
    pointer-events: auto;
    white-space: nowrap;
}

.shoutbox-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99,102,241,0.35);
    color: #fff;
}

.chat-msg {
    display: flex;
    align-items: baseline;
    gap: 0;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    animation: shoutIn 0.2s ease;
    font-size: 13px;
    line-height: 1.55;
    min-height: 26px;
}

.chat-msg-new {
    animation: chatLineIn 0.36s ease both;
}

.chat-msg:last-child { border-bottom: none; }
.chat-msg img { display: none; }
.chat-msg-body { display: contents; }
.chat-msg-header { display: contents; }

.chat-msg-time {
    font-size: 10px;
    color: #2d3748;
    margin-right: 8px;
    flex-shrink: 0;
    min-width: 38px;
}

.chat-msg-author {
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    margin-right: 6px;
    flex-shrink: 0;
    white-space: nowrap;
}

.chat-msg-author:hover { text-decoration: underline; }

.chat-msg-author.clr-0 { color: #818cf8; }
.chat-msg-author.clr-1 { color: #4ade80; }
.chat-msg-author.clr-2 { color: #fb923c; }
.chat-msg-author.clr-3 { color: #f87171; }
.chat-msg-author.clr-4 { color: #22d3ee; }
.chat-msg-author.clr-5 { color: #c084fc; }
.chat-msg-author.clr-6 { color: #fbbf24; }
.chat-msg-author.clr-7 { color: #f472b6; }

.chat-msg-text {
    font-size: 13px;
    color: #8b92a0;
    line-height: 1.6;
    word-break: break-word;
    display: inline;
}

.chat-reply {
    color: #c7d2fe;
    font-weight: 750;
    text-decoration: none;
    margin-right: 3px;
}

.chat-reply:hover {
    color: #e0e7ff;
    text-decoration: underline;
}

.shoutbox-message {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.025);
}

.shoutbox-avatar {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: cover;
}

.shoutbox-content {
    min-width: 0;
    color: #8b92a0;
    font-size: 13px;
    line-height: 1.45;
}

.shoutbox-user {
    color: #c7d2fe;
    font-weight: 750;
}

.shoutbox-time {
    color: #475569;
    font-size: 11px;
    margin-left: 6px;
    white-space: nowrap;
}

.chat-msg-text .chat-code {
    background: rgba(99,102,241,0.08);
    padding: 0 5px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #818cf8;
}

.shoutbox-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: #1a1d23;
}

.shoutbox-input-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    opacity: 0.4;
}

.shoutbox-input input {
    flex: 1;
    min-width: 0;
    background: #252a35;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    color: #475569;
    font-family: inherit;
    outline: none;
}

.shoutbox-input button {
    background: #252a35;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 8px 12px;
    color: #475569;
    cursor: not-allowed;
    font-size: 13px;
    flex: 0 0 auto;
}

.shoutbox-messages::-webkit-scrollbar { width: 4px; }
.shoutbox-messages::-webkit-scrollbar-track { background: #16181e; }
.shoutbox-messages::-webkit-scrollbar-thumb { background: #252a35; border-radius: 2px; }

@media (max-width: 560px) {
    .shoutbox-header,
    .shoutbox-staff-bar,
    .shoutbox-input {
        padding-left: 12px;
        padding-right: 12px;
    }

    .shoutbox-tabs,
    .shoutbox-controls,
    .shoutbox-staff-bar {
        min-width: 0;
        flex-wrap: wrap;
    }

    .shoutbox-messages {
        height: 230px;
        padding: 86px 12px 10px;
    }

    .shoutbox-blur {
        align-items: center;
        padding: 18px 12px;
    }

    .chat-msg {
        align-items: flex-start;
    }

    .chat-msg-time {
        min-width: 34px;
        margin-right: 6px;
    }

    .shoutbox-login-btn {
        width: min(100%, 280px);
        max-width: calc(100vw - 64px);
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    .db-live-card {
        min-height: 60px !important;
    }
}
