

#forumposts, #postmodify, #preview_body, .roundframe, .windowbg, .content, .cat_bar, .title_bar, .information,
.current_page, .navigate_section, .pagesection, .poster, .messageindex, .help_page,
.login, #admin_content, .tborder, .moderationbuttons, .quick_edit, .quickbuttons, .forumposts, .buttonlist {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#preview_section {
    margin: auto;
}

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

a:hover {
    color: #ff0000;
}

.topic-meta a {
    color: inherit; 
}

a.admin {
    color: #ca0000 !important;
    font-weight: bold;
}

a.moderator {
    color: #eab308 !important;
    font-weight: bold;
}

a.regularmember, a.guest {
    color: #d1d5db !important;
}

a.newbie {
    color: #9ca3af !important;
}

a.vip {
    color: #8b5cf6 !important;
    font-weight: bold;
}

.developer-gradient-soft {
    background: linear-gradient(90deg, #6366f1 0%, #38bdf8 50%, #22d3ee 100%);
    background-size: 200% 200%;
    animation: devSoftGradientMove 4s ease-in-out infinite alternate;
    box-shadow: 0 0 8px 2px #38bdf8, 0 0 16px 4px #6366f1;
}
@keyframes devSoftGradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.developer-text-soft {
    text-shadow: 0 0 4px #38bdf8, 0 0 8px #6366f1;
    letter-spacing: 1px;
}
.developer-icon-animate {
    color: #38bdf8 !important;
    animation: devIconPulse 1.5s infinite alternate;
    text-shadow: 0 0 6px #38bdf8, 0 0 12px #6366f1;
}
@keyframes devIconPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.forum-list-item .md\:w-2\/12 a:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.forum-list-item .md\:w-2\/12 .text-white {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topic-meta {
    font-size: 0.75rem;
    color: #9ca3af;
}

.group {
    position: relative;
}

.group > .group-hover\:block,
.group > .group-focus-within\:block {
    visibility: hidden;
    opacity: 0;
    display: block;
    transition: visibility 0s linear 0.3s, opacity 0.3s ease;
    pointer-events: none;
    transform: translateY(10px);
}

.group:hover > .group-hover\:block,
.group:focus-within > .group-hover\:block,
.group:hover > .group-focus-within\:block,
.group:focus-within > .group-focus-within\:block {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
    display: block;
    pointer-events: auto;
    transform: translateY(0);
}

.group > button::after,
.group > .group-hover\:block::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
    display: block;
}

.group > button::after {
    bottom: -20px;
    z-index: 48;
    pointer-events: none;
}

.group > .group-hover\:block::before {
    top: -20px;
    z-index: 48;
}

.group > .group-hover\:block > * {
    position: relative;
    z-index: 50;
}

#wrapper {
    background: transparent;
    padding: 0;
    border: none;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

#upper_section, #content_section, #main_content_section {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.navigate_section ul, .pagesection {
    background: transparent;
    border: none;
    padding: 0.5rem 0;
    margin: 0 0 1rem 0;
}

:root {
    --dayz-red: #ca0000;
    --dayz-dark: #121212;
    --dayz-gray-800: #1f2937;
    --dayz-gray-700: #374151;
    --dayz-gray-600: #4b5563;
    --dayz-gray-500: #6b7280;
    --dayz-gray-400: #9ca3af;
    --dayz-gray-300: #d1d5db;
    --dayz-gray-200: #e5e7eb;
    --dayz-gray-100: #f3f4f6;
}

.cat_bar, .title_bar {
    background: linear-gradient(to right, rgba(24, 24, 24, 0.95), rgba(30, 30, 30, 0.9)) !important;
    border-left: 3px solid #ca0000 !important;
    border-radius: 6px 6px 0 0;
    padding: 0.5rem 0.75rem;
    margin: 0 0 -1px 0;
}

.catbg, .catbg2, .catbg3, .titlebg, .titlebg2 {
    padding: 0;
    background: transparent;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
}

.catbg a, .titlebg a {
    color: #ffffff;
}

.catbg a:hover, .titlebg a:hover {
    color: #ca0000;
}

.windowbg, .roundframe, .information, .errorbox, .noticebox, .infobox {
    background-color: rgba(24, 24, 24, 0.9) !important;
    border: 1px solid rgba(40, 40, 40, 0.8) !important;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(4px);
    padding: 1rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.errorbox {
    background-color: rgba(153, 27, 27, 0.5) !important;
    border-color: rgba(185, 28, 28, 0.5) !important;
    color: #fecaca;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 6px;
}

.noticebox {
    background-color: rgba(30, 64, 175, 0.5) !important;
    border-color: rgba(37, 99, 235, 0.5) !important;
    color: #bfdbfe;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 6px;
}

.button, .button_submit, input[type="submit"], input[type="button"], .submit_link {
    background-color: #ca0000 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.button:hover, .button_submit:hover, input[type="submit"]:hover, input[type="button"]:hover, .submit_link:hover {
    background-color: #a00000 !important;
    transform: translateY(-1px);
    text-decoration: none;
}

.buttonlist > a {
    background-color: #ca0000 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px;
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
    margin: 0 0.25rem;
    text-decoration: none !important;
}

.buttonlist > a:hover {
    background-color: #a00000 !important;
    transform: translateY(-1px);
}

.button:active, .button_submit:active, input[type="submit"]:active, input[type="button"]:active, .submit_link:active {
    background-color: #800000 !important;
    transform: translateY(1px);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.button:focus, .button_submit:focus, input[type="submit"]:focus, input[type="button"]:focus, .submit_link:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(202, 0, 0, 0.4);
}

.button:disabled, .button_submit:disabled, input[type="submit"]:disabled, input[type="button"]:disabled {
    background-color: #555555 !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-dayz:active {
    background-color: #800000 !important;
    transform: translateY(1px);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-dayz:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(202, 0, 0, 0.4);
}

.modern-btn:active {
    background-color: #800000;
    transform: translateY(1px);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.modern-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(202, 0, 0, 0.4);
}

.modern-btn.active {
    background-color: #ca0000;
    color: white;
    border-color: #ca0000;
}

.quickbuttons li a:active {
    background-color: #800000;
    transform: translateY(1px);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.quickbuttons li a.active {
    background-color: #ca0000;
    color: white;
    border-color: #ca0000;
}

.pagelinks a.active {
    background-color: #ca0000;
    color: white;
}

input[type="text"]:active, input[type="password"]:active, input[type="email"]:active, textarea:active, select:active {
    border-color: #ca0000;
}

.dropmenu li.active > a {
    background-color: rgba(202, 0, 0, 0.2);
    color: #ca0000;
}

ul.tabs li a.active {
    background-color: rgba(24, 24, 24, 0.9);
    border-bottom: 2px solid #ca0000;
    color: #ca0000;
}

.nav-link.active {
    color: #ca0000 !important;
    font-weight: 600;
}

.nav-link.active::after {
    width: 80%;
    background-color: #ca0000;
}

.tab-button.active {
    color: white !important;
    border-bottom: 2px solid #ca0000;
}

.toggle-button.active {
    background-color: #ca0000;
    color: white;
}

input[type="checkbox"], input[type="radio"] {
    accent-color: #ca0000;
}

::selection {
    background-color: rgba(202, 0, 0, 0.3);
    color: white;
}

.button-group .button.active {
    background-color: #800000 !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

#mobile_menu_toggle.active .menu-icon {
    color: #ca0000;
}

#mobile_menu .submenu.active {
    border-left: 2px solid #ca0000;
}

.menu-icon.active {
    color: #ca0000;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(202, 0, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(202, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(202, 0, 0, 0); }
}

.pulse {
    animation: pulse 1.5s infinite;
}

.button.disabled, .btn-dayz.disabled, .modern-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #555 !important;
}

.nav-tabs .nav-link.active {
    border-bottom: 2px solid #ca0000;
    color: white;
    font-weight: 600;
}

.loading-spinner {
    border: 3px solid rgba(60, 60, 60, 0.3);
    border-radius: 50%;
    border-top: 3px solid #ca0000;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.button.loading, .btn-dayz.loading, .modern-btn.loading {
    position: relative;
    color: transparent !important;
}

.button.loading::after, .btn-dayz.loading::after, .modern-btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-bottom-color: #fff;
    animation: spin 0.8s ease infinite;
}

blockquote, .bbc_quote {
    background-color: #1a1a1a !important;
    border-left: 4px solid #8b0000 !important;
    border-radius: 4px !important;
    color: #cccccc !important;
    padding: 10px 15px !important;
    margin: 10px 0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

blockquote cite, .bbc_quote cite, .quoteheader {
    display: block !important;
    color: #8b0000 !important;
    font-style: italic !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
    font-size: 0.9em !important;
}

.quoteheader {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 5px !important;
}

blockquote blockquote, .bbc_quote .bbc_quote {
    background-color: #222222 !important;
    border-color: #550000 !important;
    margin: 8px 0 8px 10px !important;
}

blockquote a, .bbc_quote a {
    color: #ff4444 !important;
    text-decoration: none !important;
}

blockquote a:hover, .bbc_quote a:hover {
    text-decoration: underline !important;
}

.bbc_code {
    background-color: #1a1a1a !important;
    border: 1px solid #333333 !important;
    color: #dcdcdc !important;
    padding: 10px !important;
    border-radius: 4px !important;
    font-family: monospace !important;
    margin: 10px 0 !important;
    white-space: pre-wrap !important;
}

.bbc_code code {
    color: #e0e0e0 !important;
}

.quickbuttons {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quickbuttons li {
    margin: 0;
    padding: 0;
}

.quickbuttons li a {
    background-color: rgba(24, 24, 24, 0.7);
    color: #d1d5db;
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 4px;
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.quickbuttons li a:hover {
    background-color: #ca0000;
    color: white;
    border-color: #a00000;
    text-decoration: none;
}

textarea #report_description:hover {
    background-color: rgba(30, 30, 30, 0.7) !important;
}

input[type="text"], input[type="password"], input[type="email"], textarea, select {
    background-color: rgba(30, 30, 30, 0.7);
    border: 1px solid #333;
    color: white;
    border-radius: 4px;
    padding: 0.4rem 1.65rem;
    font-size: 0.875rem;
    transition: all 0.2s;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, textarea:focus, select:focus {
    border-color: #ca0000;
    box-shadow: 0 0 0 1px rgba(202, 0, 0, 0.5);
    outline: none;
}

.pagelinks {
    color: #d1d5db;
    font-size: 0.8rem;
}

.current_page {
    background-color: #ca0000 !important;
    color: white;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
}

.nav_page {
    background-color: rgba(24, 24, 24, 0.7);
    color: #d1d5db;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    margin: 0 0.125rem;
}

.nav_page:hover {
    background-color: rgba(202, 0, 0, 0.7);
    color: white;
}

.navigate_section ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navigate_section ul li {
    color: #9ca3af;
    font-size: 0.8rem;
}

.navigate_section ul li a {
    color: #d1d5db;
}

.navigate_section ul li a:hover {
    color: #ca0000;
}

table.table_list, table.table_grid {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1rem;
}

table.table_list td, table.table_grid td, 
table.table_list th, table.table_grid th {
    padding: 0.5rem;
    border-bottom: 1px solid rgba(60, 60, 60, 0.3);
    text-align: left;
}

table.table_list th, table.table_grid th {
    background-color: rgba(18, 18, 18, 0.9);
    color: #e0e0e0;
    font-weight: 600;
}

.forum-list-item {
    transition: all 0.2s;
    border-bottom: 1px solid rgba(60, 60, 60, 0.3);
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    line-height: 1.3;
}

.forum-list-item:hover {
    background-color: rgba(35, 35, 35, 0.8);
}

.topic_table .subject {
    font-size: 0.9rem;
    font-weight: 500;
}

.topic_table .stats {
    font-size: 0.75rem;
    color: #9ca3af;
}

.topic_table .lastpost {
    font-size: 0.75rem;
    color: #9ca3af;
}

.topic_table .sticky {
    background-color: rgba(35, 35, 35, 0.6);
}

.topic_table .locked {
    background-color: rgba(30, 30, 30, 0.6);
}

.topic_table .sticky::before {
    content: '\f08d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #eab308;
    margin-right: 0.5rem;
}

.topic_table .locked::before {
    content: '\f023';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #9ca3af;
    margin-right: 0.5rem;
}

.stat-block {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stat-block {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        border-right: 1px solid #1f2937;
    }
    .stat-block:last-child {
        border-right: 0;
    }
}

@media (max-width: 768px) {
    .stat-block {
        width: 50%;
        border-bottom: 1px solid #1f2937;
        margin-bottom: 0.25rem;
    }
    .stat-block:nth-child(even) {
        border-right: 0;
    }
    .stat-block:nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

.post-container {
    
    
    border-radius: 0.5rem;
    
    
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.post-container:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.user-avatar {
    border: 1px solid #ca0000;
    transition: all 0.2s;
    border-radius: 50%;
    overflow: hidden;
}

.user-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 1px rgba(202, 0, 0, 0.5);
}

.clip-hexagon {
  -webkit-clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
}

@keyframes pulse-slow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.animate-pulse-slow {
  animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.animate-ping {
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

#quickreply {
    background-color: rgba(24, 24, 24, 0.9) !important;
    border: 1px solid rgba(40, 40, 40, 0.8) !important;
    border-radius: 6px;
    margin-top: 1rem;
}

#quickreply h3 {
    background: linear-gradient(to right, rgba(24, 24, 24, 0.95), rgba(30, 30, 30, 0.9)) !important;
    border-left: 3px solid #ca0000 !important;
    border-radius: 6px 6px 0 0;
    padding: 0.5rem 0.75rem;
    color: white;
}

.sceditor-container {
    background-color: rgba(30, 30, 30, 0.7) !important;
    border: 1px solid #333 !important;
    border-radius: 4px;
}

.sceditor-toolbar {
    background-color: rgba(18, 18, 18, 0.9) !important;
    border-bottom: 1px solid #333 !important;
}

.sceditor-button {
    border-radius: 2px !important;
}

.sceditor-container iframe, .sceditor-container textarea {
    background-color: rgba(24, 24, 24, 0.7) !important;
    color: #e0e0e0 !important;
}
.sceditor-button-divbox div {
    background-image: url('https://cdn-icons-png.flaticon.com/128/1828/1828884.png') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 18px 18px !important;
}

.sceditor-insertemoticon {
    width: auto !important;
    min-width: 260px !important;
    display: block !important;
    padding: 8px !important;
}

.sceditor-insertemoticon > div {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 8px !important;
}

.sceditor-insertemoticon img {
    margin: 0 !important;
    padding: 3px !important;
    border-radius: 4px !important;
    transition: all 0.15s ease !important;
    cursor: pointer !important;
    
}

.sceditor-insertemoticon img:hover {
    transform: scale(1.2) !important;
}

.sceditor-dropdown {
    border: 1px solid rgba(40, 40, 40, 0.8) !important;
    background-color: rgba(24, 24, 24, 0.95) !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3) !important;
    border-radius: 4px !important;
    padding: 5px !important;
    max-height: none !important;
}

.sceditor-dropdown-insertemoticon {
    width: auto !important;
    min-width: 280px !important;
    max-height: none !important;
}

.board_icon, .icon {
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 4px !important;
    margin: 0 0.5rem 0 0 !important;
    padding: 0 !important;
}

.new_posts {
    background-color: rgba(202, 0, 0, 0.3) !important;
}

.main_icons {
    background-image: none !important;
    text-indent: 0 !important;
    position: relative !important;
    width: auto !important;
    height: auto !important;
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    font-size: 0.9rem !important;
    color: #d1d5db !important;
}

.main_icons::before {
    margin-right: 0.25rem;
}

.main_icons.help::before { content: '\f059'; }
.main_icons.search::before { content: '\f002'; }
.main_icons.inbox::before { content: '\f0e0'; }
.main_icons.profile::before { content: '\f007'; }
.main_icons.logout::before { content: '\f2f5'; }
.main_icons.login::before { content: '\f2f6'; }
.main_icons.register::before { content: '\f234'; }
.main_icons.post_moderation::before { content: '\f0ae'; }
.main_icons.moderate::before { content: '\f0b1'; }
.main_icons.settings::before { content: '\f013'; }
.main_icons.package::before { content: '\f187'; }
.main_icons.reports::before { content: '\f080'; }
.main_icons.memberlist::before { content: '\f0c0'; }
.main_icons.calendar::before { content: '\f133'; }
.main_icons.attachment::before { content: '\f0c6'; }

.main_icons.watch::before { content: '\f06e'; }
.main_icons.unwatch::before { content: '\f070'; }
.main_icons.poll::before { content: '\f080'; }
.main_icons.merge::before { content: '\f0c9'; }
.main_icons.split::before { content: '\f0c8'; }
.main_icons.approve::before { content: '\f00c'; }
.main_icons.unapprove::before { content: '\f00d'; }
.main_icons.sticky::before { content: '\f08d'; }

.character-card {
    display: none;
    animation: fadeIn 0.3s ease;
}

.character-card.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

[data-tooltip] {
    position: relative;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    padding: 0.35rem 0.75rem;
    background-color: #4b5563;
    color: #e5e7eb;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

[data-tooltip]:hover:before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 576px) {
    .cat_bar, .title_bar {
        padding: 0.4rem 0.5rem;
    }
    
    .windowbg, .roundframe {
        padding: 0.5rem;
    }
    
    .button, .button_submit, input[type="submit"], input[type="button"] {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .navigate_section ul li {
        font-size: 0.7rem;
    }
}

.nav-link {
    position: relative;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    transition: all 0.3s;
    text-decoration: none !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #ca0000;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

#admin_content, #pm_container, #preview_body {
    background-color: rgba(24, 24, 24, 0.9) !important;
    color: #e0e0e0 !important;
}

.dropmenu > li > a {
    color: #e0e0e0 !important;
}

.dropmenu > li > a:hover {
    color: #ca0000 !important;
}

.dropmenu li ul {
    background-color: rgba(18, 18, 18, 0.95) !important;
    border: 1px solid rgba(40, 40, 40, 0.8) !important;
}

.dropmenu li ul li a:hover {
    background-color: rgba(202, 0, 0, 0.2) !important;
    color: #ca0000 !important;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
    border-radius: 0.25rem;
    transition: all 0.2s;
    font-weight: 500;
    text-decoration: none !important;
    border: 1px solid transparent;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.action-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.message-actions .action-btn {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.message-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

@media (max-width: 576px) {
    .action-btn {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }
    
    .message-actions {
        gap: 0.25rem;
    }
}

[data-confirm] {
    cursor: help;
}

.modern-container {
    background-color: rgba(24, 24, 24, 0.9);
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(40, 40, 40, 0.8);
    backdrop-filter: blur(4px);
    transition: transform 0.2s, box-shadow 0.2s;
}

.modern-container:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(202, 0, 0, 0.1);
}

.modern-btn {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    background-color: rgba(30, 30, 30, 0.7);
    color: #d1d5db;
    border: 1px solid rgba(75, 85, 99, 0.4);
}

.modern-btn:hover {
    background-color: #ca0000;
    color: white;
    border-color: #a00000;
    transform: translateY(-1px);
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(202, 0, 0, 0.5), transparent);
    margin: 1rem auto;
    width: 90%;
}

.text-2xs {
    font-size: 0.65rem;
}

.forum-category {
    background: linear-gradient(to right, rgba(24, 24, 24, 0.95), rgba(30, 30, 30, 0.9));
    border-left: 3px solid #ca0000;
    border-radius: 6px 6px 0 0;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    line-height: 1.2;
}

#search_form, .forumposts h3, .forumposts h3.catbg, .pagesection h2.icon, .buttonlist hr,
.topic_table th:empty, .windowbg > br:first-child, .windowbg > br:last-child {
    display: none !important;
}

.combined-header {
    background-color: #1a1a1a;
    position: relative;
    z-index: 1;
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.prose {
    max-width: none;
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.75;
}

.prose a {
    color: #ca0000;
    text-decoration: underline;
    font-weight: 500;
}

.prose a:hover {
    text-decoration: none;
    color: #ff0000;
}

.prose blockquote {
    font-weight: 500;
    font-style: italic;
    color: #e0e0e0;
    border-left: 0.25rem solid rgba(75, 85, 99, 0.4);
    padding-left: 1rem;
    margin: 1rem 0;
}

.prose code {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 0.875rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
}

.prose pre {
    color: #e5e7eb;
    background-color: rgba(0, 0, 0, 0.3);
    overflow-x: auto;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 1rem 0;
    border-radius: 0.375rem;
    padding: 1rem;
}

.tab-button {
    position: relative;
    transition: all 0.2s ease;
}

.tab-button:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #ca0000;
    transition: all 0.2s ease;
    transform: translateX(-50%);
}

.tab-button.active {
    color: white;
}

.tab-button.active:after {
    width: 80%;
}

.tab-button:hover:after {
    width: 40%;
}

.category-item {
    transition: all 0.2s ease;
}

.category-item.hidden {
    display: none;
}

.inventory-item {
    transition: all 0.3s ease;
}

.inventory-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.group-card {
    transition: all 0.3s ease;
}

.group-card:hover {
    transform: translateY(-2px);
}

.admin-stat-card {
    transition: all 0.3s ease;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.admin-action-card {
    transition: all 0.2s ease;
}

.admin-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#preview_body {
    padding: 4rem;
}

#preview_body .bbc_img {
    display: inline-block !important;
    vertical-align: top !important;
    max-width: 100%;
    height: auto !important;
    margin: 0.1rem 0;
    
}

.message-body {
    font-size: 0.85rem !important;
    padding: 1.5rem !important; 
}

@media (max-width: 768px) {
    .message-body {
        padding: 1rem !important;
    }
}

.message-body .prose {
    max-width: none;
}

.message-body .bbc_img {
    display: inline-block !important;
    max-width: 100%;
    height: auto !important;
    margin: 0.5rem 0 !important;
}

.message-body p {
    margin-bottom: 1rem;
}

.message-body p:last-child {
    margin-bottom: 0;
}

.message-body .bbc_center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.message-body .bbc_left {
    text-align: left;
}

.message-body .bbc_right {
    text-align: right;
}

.list_posts {
    padding: 4rem;
}

#preview_body p {
    margin-bottom: 1rem;
    clear: both; 
}

.bbc_center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.bbc_left {
    text-align: left;
    margin-right: auto;
    margin-left: 0;
}

.bbc_right {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

img.bbc_img {
    display: inline-block !important; 
    max-width: 100%;
    height: auto !important;
    margin: 0.5rem 0.5rem 0.5rem 0; 
    vertical-align: top; 
}

@media (min-width: 768px) {
    img.bbc_img {
        max-width: 100%;
        height: auto !important;
    }
    
    img.bbc_img[width="1"], 
    img.bbc_img[width="2"],
    img.bbc_img[width="3"],
    img.bbc_img[width="4"],
    img.bbc_img[width="5"],
    img.bbc_img[width="6"],
    img.bbc_img[width="7"],
    img.bbc_img[width="8"],
    img.bbc_img[width="9"],
    img.bbc_img[style*="width: 1"],
    img.bbc_img[style*="width: 2"],
    img.bbc_img[style*="width: 3"],
    img.bbc_img[style*="width: 4"],
    img.bbc_img[style*="width: 5"],
    img.bbc_img[style*="width: 6"],
    img.bbc_img[style*="width: 7"],
    img.bbc_img[style*="width: 8"],
    img.bbc_img[style*="width: 9"] {
        display: inline-block !important;
    }
    
    
    img.bbc_img:not([width]):not([style*="width"]), 
    img.bbc_img[width^="10"], 
    img.bbc_img[width^="11"],
    img.bbc_img[width^="12"],
    img.bbc_img[width^="13"],
    img.bbc_img[width^="14"],
    img.bbc_img[width^="15"],
    img.bbc_img[width^="16"],
    img.bbc_img[width^="17"],
    img.bbc_img[width^="18"],
    img.bbc_img[width^="19"],
    img.bbc_img[width^="20"],
    img.bbc_img[width^="30"],
    img.bbc_img[width^="40"],
    img.bbc_img[width^="50"],
    img.bbc_img[width^="60"],
    img.bbc_img[width^="70"],
    img.bbc_img[width^="80"],
    img.bbc_img[width^="90"],
    img.bbc_img[style*="width: 10"],
    img.bbc_img[style*="width: 20"],
    img.bbc_img[style*="width: 30"],
    img.bbc_img[style*="width: 40"],
    img.bbc_img[style*="width: 50"],
    img.bbc_img[style*="width: 60"],
    img.bbc_img[style*="width: 70"],
    img.bbc_img[style*="width: 80"],
    img.bbc_img[style*="width: 90"] {
        display: inline !important;
        margin: 0.5rem auto 1rem auto;
        clear: both;
    }
}

img.bbc_img[width="100%"],
img.bbc_img[style*="width: 100%"] {
    display: block !important;
    margin: 0.5rem auto 1rem auto;
    clear: both;
}

.bbc_center img.bbc_img {
    margin-left: auto;
    margin-right: auto;
}

.bbc_left img.bbc_img {
    margin-right: auto;
    margin-left: 0;
}

.bbc_right img.bbc_img {
    margin-left: auto;
    margin-right: 0;
}

img.bbc_img.inline {
    display: inline !important;
    vertical-align: middle !important;
    margin: 0 0.25rem;
    clear: none;
}

img.bbc_img.block {
    display: block !important;
    margin: 0.5rem auto 1rem auto;
    clear: both;
}

.prose pre, .prose pre code, 
pre, pre.bbc_pre {
    background-color: transparent !important; 
    color: #e5e7eb !important;

    border-radius: 0.375rem;
    padding: 1rem;
    font-family: inherit !important;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
    box-shadow: none !important;
}

.bbc_code {
    background-color: transparent !important;
    border: 1px solid rgba(75, 85, 99, 0.3);
    color: #e5e7eb !important;
}

.prose pre code {
    padding: 0 !important;
    border: none !important;
    color: inherit !important;
    font-size: 0.9em !important;
}

code, pre code {
    font-family: inherit !important; 
    font-size: inherit !important;
}

.bbc_pre, .bbc_code {
    font-family: inherit !important;
    font-size: inherit !important;
}

.prose pre, .prose code, .prose pre code {
    font-family: inherit !important;
    font-size: inherit !important;
}

.prose pre, pre.bbc_pre, div.bbc_code {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    overflow-x: auto;
    background-color: transparent !important;
}

.prose-invert {
    --tw-prose-pre-bg: transparent !important;
}

.bbc_center img.bbc_img {
    margin-left: auto;
    margin-right: auto;
}

.bbc_left img.bbc_img {
    margin-right: auto;
    margin-left: 0;
}

.bbc_right img.bbc_img {
    margin-left: auto;
    margin-right: 0;
}

.bbc_center iframe, .bbc_center audio, .bbc_center video, .bbc_center canvas, .bbc_center embed, .bbc_center object, .bbc_center svg {
    margin-left: auto;
    margin-right: auto;
}

.bbc_left iframe, .bbc_left audio, .bbc_left video, .bbc_left canvas, .bbc_left embed, .bbc_left object, .bbc_left svg {
    margin-right: auto;
    margin-left: 0;
}

.bbc_right iframe, .bbc_right audio, .bbc_right video, .bbc_right canvas, .bbc_right embed, .bbc_right object, .bbc_right svg {
    margin-left: auto;
    margin-right: 0;
}

.bbc_img {
    display: inline-block !important;
}

.bbc_center .bbc_img {
    display: block !important;
}

.bbc_divbox {
    padding: 12px;
    margin: 12px 0;
    background: rgba(30,30,30,0.7);
    border: 1px solid rgba(60, 60, 60, 0.6);
    border-radius: 4px;
    color: #e0e0e0;
    transition: box-shadow 0.3s ease;
}
.bbc_divbox:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.bbc_divbox.transparent {
    background: transparent !important;
    border: 1px dashed rgba(60, 60, 60, 0.3);
}
.bbc_divbox.warning {
    background: rgba(100,30,30,0.7) !important;
    border-color: #a44;
}
.bbc_divbox.info {
    background: rgba(30,30,80,0.7) !important;
    border-color: #44a;
}
.bbc_divbox.success {
    background: rgba(30,80,30,0.7) !important;
    border-color: #4a4;
}

.bbc_iframe {
    max-width: 100%;
    margin: 1em 0;
    position: relative;
    overflow: hidden;
}

.bbc_iframe iframe {
    border: none;
    width: 100%;
    max-width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(60, 60, 60, 0.4);
    border-radius: 4px;
}

.bbc_spoiler {
    background-color: rgba(24, 24, 24, 0.9);
    border: 1px solid rgba(60, 60, 60, 0.6);
    border-radius: 0.375rem;
    margin: 1em 0;
    overflow: hidden;
}

.bbc_spoiler_header {
    background-color: rgba(36, 36, 36, 0.95);
    border-bottom: 1px solid rgba(60, 60, 60, 0.6);
    padding: 0.5rem 1rem;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.bbc_spoiler_header:hover {
    background-color: rgba(45, 45, 45, 0.95);
}

.bbc_spoiler_header::before {
    content: "\25BC"; 
    margin-right: 0.5rem;
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.bbc_spoiler.hidden_content .bbc_spoiler_header::before {
    content: "\25B6"; 
}
.bbc_spoiler_content {
    padding: 1rem;
    
}

.bbc_spoiler.hidden .bbc_spoiler_content {
    display: none;
}

.bbc_spoiler_header::after {
    content: "\f077";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 0.5em;
    transition: transform 0.3s;
}

.bbc_spoiler_header.collapsed::after {
    transform: rotate(180deg);
}

.bbc_spoiler_content {
    padding: 1em;
    border-top: 1px solid rgba(60, 60, 60, 0.6);
}

.bbc_spoiler.hidden_content .bbc_spoiler_content {
    display: none;
}

.bbc_hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(202, 0, 0, 0.5), transparent);
    margin: 1.5em auto;
    width: 90%;
}

img.bbc_img {
    max-width: 100%;
    margin-bottom: 1rem;
    height: auto !important;
}

.bbc_float_left {
    float: left;
    margin-right: 1em;
    margin-bottom: 0.5em;
}

.bbc_float_right {
    float: right;
    margin-left: 1em;
    margin-bottom: 0.5em;
}

.bbc_clear {
    clear: both;
}

img, svg, video {
    display: inline !important;
    vertical-align: bottom !important;
}
.navigate_section ul, .popup_content, .up_contain {
    background: rgba(24, 24, 24, 0.9) !important; 
    background-image: linear-gradient(to bottom, rgba(30, 30, 30, 0.95) 0%, rgba(18, 18, 18, 0.9) 95%) !important; 
    border-color: rgba(60, 60, 60, 0.4) !important;
}

.up_contain {
    overflow: hidden;
    border: 1px solid rgba(60, 60, 60, 0.4) !important;
    margin: 0 0 3px 0;
    display: flex;
    flex-wrap: wrap;
    border-radius: 6px; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 
}

#board_10_children, .children {
    background: rgba(24, 24, 24, 0.9) !important; 
    background-image: linear-gradient(to bottom, rgba(30, 30, 30, 0.95) 0%, rgba(18, 18, 18, 0.9) 95%) !important;
    border-top: 1px solid rgba(60, 60, 60, 0.4) !important;
    border-radius: 0 0 6px 6px;
    padding: 10px !important;
}

.children p strong {
    color: #ca0000 !important;
    margin-right: 8px;
    font-size: 0.9em;
}

.children span a {
    color: #d1d5db !important;
    background-color: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(60, 60, 60, 0.4);
    border-radius: 4px;
    padding: 2px 8px;
    display: inline-block;
    margin: 3px;
    transition: all 0.2s;
}

.children span a:hover {
    color: #ffffff !important;
    background-color: rgba(202, 0, 0, 0.7);
    border-color: #ca0000;
    text-decoration: none;
}

    
    .character-radio:checked + .character-card {
        border-left: 2px solid #c92a2a;
        background-color: rgba(41, 41, 41, 0.6);
        box-shadow: inset 0 0 10px rgba(0,0,0,0.2), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    
    
    [data-tooltip] {
        position: relative;
    }
    
    [data-tooltip]:before {
        content: attr(data-tooltip);
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 5px;
        padding: 5px 8px;
        border-radius: 4px;
        background-color: rgba(0, 0, 0, 0.8);
        color: #fff;
        text-align: center;
        font-size: 0.7rem;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: all 0.2s ease;
        z-index: 10;
    }
    
    [data-tooltip]:after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 100%;
        transform: translateX(-50%);
        border: 4px solid transparent;
        border-top: 4px solid rgba(0, 0, 0, 0.8);
        opacity: 0;
        transition: all 0.2s ease;
    }
    
    [data-tooltip]:hover:before,
    [data-tooltip]:hover:after {
        opacity: 1;
    }
    
    
    .character-card {
        display: none;
    }
    
    .character-card.active {
        display: block;
        animation: fadeIn 0.3s ease forwards;
        background-color: #090909 !important;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(5px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    
    .avatar-wrapper img {
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0));
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0));
    }
    
    @media (max-width: 768px) {
        .user-character-info {
            padding-left: 1rem;
            padding-right: 1rem;
        }
    }

.user-character-info {
    background-color: rgb(0 0 0/0.4);
}

