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

:root {
    --primary: #6699cc;
    --primary-dark: #336699;
    --background: #000000;
    --surface: #000000;
    --surface-light: #1a1a1a;
    --border: #333333;
    --text: #cccccc;
    --text-light: #999999;
    --text-dark: #cccccc;
    --link: #6699cc;
    --link-hover: #99ccff;
    --online: #66ff66;
    --accent: #6699cc;
    --accent-dark: #336699;
}

body.accent-default {
    --primary: #6699cc;
    --primary-dark: #336699;
    --link: #6699cc;
    --link-hover: #99ccff;
    --accent: #6699cc;
    --accent-dark: #336699;
}

body.accent-orange {
    --primary: #e67300;
    --primary-dark: #b35900;
    --link: #e67300;
    --link-hover: #ff8c00;
    --accent: #e67300;
    --accent-dark: #b35900;
}

body.accent-red {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --link: #e74c3c;
    --link-hover: #ff6b5b;
    --accent: #e74c3c;
    --accent-dark: #c0392b;
}

body.accent-pink {
    --primary: #ff69b4;
    --primary-dark: #ff1493;
    --link: #ff69b4;
    --link-hover: #ff85c1;
    --accent: #ff69b4;
    --accent-dark: #ff1493;
}

body.accent-lime {
    --primary: #39ff14;
    --primary-dark: #32cd32;
    --link: #39ff14;
    --link-hover: #7fff00;
    --accent: #39ff14;
    --accent-dark: #32cd32;
}

body.accent-purple {
    --primary: #9370db;
    --primary-dark: #6a5acd;
    --link: #9370db;
    --link-hover: #ba55d3;
    --accent: #9370db;
    --accent-dark: #6a5acd;
}

body.light {
    --background: #ffffff;
    --surface: #ffffff;
    --surface-light: #f5f5f5;
    --border: #cccccc;
    --text: #333333;
    --text-light: #666666;
    --text-dark: #333333;
    --link: #336699;
    --link-hover: #004488;
    --primary: #6699cc;
    --primary-dark: #336699;
    background: #ffffff;
    color: #333333;
}

body.light.accent-default {
    --link: #336699;
    --link-hover: #004488;
    --primary: #6699cc;
    --primary-dark: #336699;
}

body.light.accent-lime {
    --link: #32cd32;
    --link-hover: #228b22;
    --primary: #32cd32;
    --primary-dark: #228b22;
}

body.light.accent-orange {
    --link: #cc6600;
    --link-hover: #b35900;
    --primary: #cc6600;
    --primary-dark: #b35900;
}

body.light.accent-red {
    --link: #e74c3c;
    --link-hover: #c0392b;
    --primary: #e74c3c;
    --primary-dark: #c0392b;
}

body.light.accent-pink {
    --link: #ff69b4;
    --link-hover: #ff1493;
    --primary: #ff69b4;
    --primary-dark: #ff1493;
}

body.light.accent-purple {
    --link: #9370db;
    --link-hover: #6a5acd;
    --primary: #9370db;
    --primary-dark: #6a5acd;
}

body.discord {
    --background: #36393f;
    --surface: #2f3136;
    --surface-light: #40444b;
    --border: #202225;
    --text: #dcddde;
    --text-light: #72767d;
    --text-dark: #ffffff;
    --link: #00aff4;
    --link-hover: #64b5f6;
    --primary: #5865f2;
    --primary-dark: #4752c4;
    background: #36393f;
    color: #dcddde;
}

body.discord.accent-default {
    --link: #00aff4;
    --link-hover: #64b5f6;
    --primary: #5865f2;
    --primary-dark: #4752c4;
}

body.discord.accent-lime {
    --link: #39ff14;
    --link-hover: #7fff00;
    --primary: #39ff14;
    --primary-dark: #32cd32;
}

body.discord.accent-orange {
    --link: #e67300;
    --link-hover: #cc6600;
    --primary: #e67300;
    --primary-dark: #b35900;
}

body.discord.accent-red {
    --link: #ed4245;
    --link-hover: #c93b3d;
    --primary: #ed4245;
    --primary-dark: #c93b3d;
}

body.discord.accent-pink {
    --link: #eb459e;
    --link-hover: #d63398;
    --primary: #eb459e;
    --primary-dark: #d63398;
}

body.discord.accent-purple {
    --link: #9b84ec;
    --link-hover: #7c6ad4;
    --primary: #9b84ec;
    --primary-dark: #7c6ad4;
}

body.discord a {
    color: var(--primary);
}

body.discord a:hover {
    color: var(--primary-dark);
}

body.discord .header {
    background: linear-gradient(to bottom, #2f3136, #36393f);
    border-color: #202225;
}

body.discord .box {
    background: #2f3136;
    border-color: #202225;
}

body.discord .box-header {
    background: #2f3136;
    border-color: #202225;
}

body.discord input[type="text"],
body.discord input[type="email"],
body.discord input[type="password"],
body.discord input[type="url"],
body.discord input[type="search"],
body.discord textarea,
body.discord select {
    background: #40444b;
    border: 1px solid #202225;
    color: #dcddde;
}

body.discord input:focus,
body.discord textarea:focus,
body.discord select:focus {
    border-color: var(--primary);
    outline: none;
}

body.discord .btn {
    background: #5865f2;
    color: #ffffff;
}

body.discord .btn:hover {
    background: #4752c4;
}

body.discord .btn-secondary {
    background: #4f545c;
    color: #ffffff;
}

body.discord .btn-secondary:hover {
    background: #3d4148;
}

body.discord .nav-links a {
    color: #b9bbbe;
}

body.discord .nav-links a:hover {
    background: #36393f;
}

body.discord .profile-header {
    background: #2f3136;
}

body.discord .menu-dropdown {
    background: #2f3136;
    border-color: #202225;
}

body.discord .menu-dropdown a {
    color: #b9bbbe;
}

body.discord .menu-dropdown a:hover {
    background: #36393f;
}

body.discord textarea {
    background: #40444b;
    color: #dcddde;
}

body.discord .online-badge {
    background: #3ba55c;
}

body.discord .settings-link {
    color: #b9bbbe;
}

body.discord .settings-link:hover {
    background: #36393f;
}

body.discord .chat-bubble {
    background: #40444b;
}

body.discord .chat-bubble.self {
    background: #5865f2;
}

body.discord .chat-input {
    border-color: #202225;
}

body.discord .chat-input textarea {
    background: #40444b;
    border-color: #202225;
    color: #dcddde;
}

body.discord .chat-container {
    background: #36393f;
    border-color: #202225;
}

body.discord .chat-users {
    background: #2f3136;
    border-color: #202225;
}

body.discord .chat-users h3 {
    background: #2f3136;
    border-color: #202225;
    color: #ffffff;
}

body.discord .chat-user {
    border-color: #36393f;
    color: #dcddde;
}

body.discord .chat-user:hover,
body.discord .chat-user.active {
    background: #36393f;
    border-color: #40444b;
}

body.discord .chat-header {
    background: #2f3136;
    border-color: #202225;
}

body.discord .chat-header-name {
    color: #ffffff;
}

body.discord .chat-header-status {
    color: #b9bbbe;
}

body.discord .chat-messages {
    background: #36393f;
    border-color: #202225;
}

body.discord .chat-message {
    color: #dcddde;
}

body.discord .chat-message.sent {
    background: #5865f2;
    color: #ffffff;
    border-radius: 12px;
    border-bottom-right-radius: 4px;
}

body.discord .chat-message.received {
    background: #40444b;
    color: #dcddde;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
}

body.discord .chat-message-time {
    color: #b9bbbe;
}

body.discord .chat-message-sender {
    color: var(--primary);
}

body.discord .chat-message-avatar img {
    border-color: #202225;
}

body.discord .send-button {
    background: #5865f2;
    color: #ffffff;
}

body.discord .send-button:hover {
    background: #4752c4;
}

body.discord .chat-user img {
    border-color: #202225;
}

body.discord .chat-header img {
    border-color: #202225;
}

body.discord .message-preview {
    background: #2f3136;
    border-color: #202225;
}

body.discord .message-preview:hover {
    background: #36393f;
    border-color: #40444b;
}

body.discord .message-preview .preview {
    color: #b9bbbe;
}

body.discord .form-group label {
    color: #b9bbbe;
}

body.discord table td:first-child {
    color: #b9bbbe;
}

body.discord .blurbs-section h4 {
    background: #2f3136;
    border-color: #202225;
    color: #b9bbbe;
}

body.discord .blurbs-section .content {
    border-color: #202225;
}

body.discord .search-results,
body.discord .friend-requests,
body.discord .requests-list {
    background: #2f3136;
    border-color: #202225;
}

body.discord .search-result,
body.discord .friend-request,
body.discord .request-item {
    border-color: #36393f;
}

body.discord .search-result:hover,
body.discord .friend-request:hover,
body.discord .request-item:hover {
    background: #36393f;
}

body.discord .modal-content {
    background: #2f3136;
    border-color: #202225;
}

body.discord .modal-header {
    background: #2f3136;
    border-color: #202225;
}

body.discord .modal-footer {
    border-color: #202225;
}

body.discord .close {
    color: #b9bbbe;
}

body.discord .close:hover {
    color: #ffffff;
}

body.discord hr {
    border-color: #40444b;
}

body.discord .divider {
    background: #40444b;
}

body.discord .tag {
    background: #5865f2;
    color: #ffffff;
}

body.discord .badge {
    background: #4f545c;
    color: #dcddde;
}

body.discord .mobile-notification-badge {
    background: #e53935 !important;
    background-color: #e53935 !important;
}

body.dark .mobile-notification-badge {
    background: #e53935 !important;
    background-color: #e53935 !important;
}

body.light .mobile-notification-badge {
    background: #e53935 !important;
    background-color: #e53935 !important;
}

body.dark .mobile-menu-toggle .mobile-notification-badge {
    background: #e53935 !important;
    background-color: #e53935 !important;
}

body.light .mobile-menu-toggle .mobile-notification-badge {
    background: #e53935 !important;
    background-color: #e53935 !important;
}

body.discord .mobile-menu-toggle .mobile-notification-badge {
    background: #e53935 !important;
    background-color: #e53935 !important;
}

body.discord .dropdown-menu {
    background: #2f3136;
    border-color: #202225;
}

body.discord .dropdown-item {
    color: #b9bbbe;
}

body.discord .dropdown-item:hover {
    background: #36393f;
}

body.discord .tab-content {
    background: #2f3136;
    border-color: #202225;
}

body.discord .nav-tabs a {
    color: #b9bbbe;
    border-color: #202225;
}

body.discord .nav-tabs a:hover {
    background: #36393f;
}

body.discord .nav-tabs a.active {
    background: #2f3136;
    border-color: #202225;
    color: #ffffff;
}

body.discord .card {
    background: #2f3136;
    border-color: #202225;
}

body.discord .card-header {
    background: #2f3136;
    border-color: #202225;
}

body.discord .wall-post {
    background: #2f3136;
    border-color: #202225;
}

body.discord .comment {
    background: #36393f;
    border-color: #202225;
}

body.discord textarea,
body.discord input[type="text"],
body.discord input[type="email"],
body.discord input[type="password"],
body.discord input[type="url"],
body.discord input[type="search"] {
    background: #40444b;
    color: #dcddde;
    border: 1px solid #202225;
}

body.discord .card-body {
    color: #dcddde;
}

body.discord .search-input input {
    background: #40444b !important;
    border: 1px solid #202225 !important;
    color: #dcddde !important;
}

body.discord .search-input input::placeholder {
    color: #72767d !important;
}

body.discord textarea::placeholder,
body.discord input::placeholder {
    color: #72767d !important;
}

body.discord select option {
    background: #2f3136;
    color: #dcddde;
}

body.discord .form-control {
    background: #40444b !important;
    border: 1px solid #202225 !important;
    color: #dcddde !important;
}

body.discord .message-unread-badge {
    background: #5865f2 !important;
    color: #ffffff !important;
}

body.discord .unread-badge {
    background: #5865f2 !important;
    color: #ffffff !important;
}

body.discord .status-select {
    background: #40444b !important;
    border: 1px solid #202225 !important;
    color: #dcddde !important;
}

body.discord textarea {
    background: #40444b !important;
    border: 1px solid #202225 !important;
    color: #dcddde !important;
}

body.discord input[type="text"],
body.discord input[type="email"],
body.discord input[type="password"],
body.discord input[type="url"],
body.discord input[type="search"] {
    background: #40444b !important;
    border: 1px solid #202225 !important;
    color: #dcddde !important;
}

body.light a {
    color: var(--primary);
}

body.light a:hover {
    color: var(--primary-dark);
}

body.light .header {
    background: linear-gradient(to bottom, #cccccc, #ffffff);
    border-color: #cccccc;
}

body.light .logo {
    color: var(--primary-dark);
}

body.light .nav a {
    color: #333333;
}

body.light .nav a:hover {
    background: #e0e0e0;
    color: #000000;
}

body.light .box {
    background: #ffffff;
    border-color: #cccccc;
}

body.light .box-header {
    background: linear-gradient(to bottom, #e0e0e0, #f5f5f5);
    color: #333333;
    border-color: #cccccc;
}

body.light .profile-header {
    background: #ffffff;
    border-color: #cccccc;
}

body.light .profile-photo {
    border-color: #cccccc;
}

body.light .profile-name {
    color: var(--primary-dark);
}

body.light .profile-status {
    color: #666666;
}

body.light .profile-nav a {
    background: #f5f5f5;
    border-color: #cccccc;
    color: var(--primary-dark);
}

body.light .profile-nav a:hover {
    background: #e0e0e0;
}

body.light .friend-item img {
    border-color: #cccccc;
}

body.light .friend-item a {
    color: var(--primary-dark);
}

body.light .wall-post {
    border-color: #eeeeee;
}

body.light .wall-post-avatar {
    border-color: #cccccc;
}

body.light .wall-post-date {
    color: #999999;
}

body.light .chat-users {
    border-color: #cccccc;
}

body.light .chat-users h3 {
    background: linear-gradient(to bottom, #e0e0e0, #f5f5f5);
    color: #333333;
    border-color: #cccccc;
}

body.light .chat-user {
    border-color: #f0f0f0;
}

body.light .chat-user:hover,
body.light .chat-user.active {
    background: #f5f5f5;
}

body.light .chat-header {
    background: linear-gradient(to bottom, #e0e0e0, #f5f5f5);
    border-color: #cccccc;
}

body.light .chat-messages {
    background: #fafafa;
}

body.light .chat-message.sent {
    background: #e6f0f7;
    border-color: #cce0f0;
    color: #333333;
    border-radius: 16px;
    border-bottom-right-radius: 4px;
}

body.light .chat-message.received {
    background: #f5f5f5;
    border-color: #e0e0e0;
    color: #333333;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
}

body.light .chat-input {
    border-color: #cccccc;
}

body.light .send-button {
    background: #e0e0e0;
    color: #333333;
    border-color: #cccccc;
}

body.light .send-button:hover {
    background: #d0d0d0;
}

body.light .theme-section {
    background: #f5f5f5;
    border-color: #e0e0e0;
}

body.light .visitor-counter {
    background: #ffffff;
    border-color: #cccccc;
}

body.light .music-player {
    background: #ffffff;
    border-color: #cccccc;
}

body.light .btn {
    background: #e0e0e0;
    border-color: #cccccc;
    color: #333333;
}

body.light .btn:hover {
    background: #d0d0d0;
    color: #000000;
}

body.light .btn-primary {
    background: #e6f0f7;
    border-color: #cce0f0;
    color: var(--primary-dark);
}

body.light .btn-primary:hover {
    background: #cce0f0;
}

body.light input,
body.light textarea,
body.light select {
    background: #ffffff;
    border-color: #cccccc;
    color: #333333;
}

body.light .wall-form textarea {
    background: #ffffff;
    border-color: #cccccc;
    color: #333333;
}

body.light .wall-form button {
    background: #e0e0e0;
    border-color: #cccccc;
    color: #333333;
}

body.light .wall-form button:hover {
    background: #d0d0d0;
}

body.light .auth-form {
    background: #ffffff;
    border-color: #cccccc;
}

body.light .form-group label {
    color: #333333;
}

body.light .empty-state {
    color: #999999;
}

body.light .error {
    background: #ffebee;
    border-color: #ffcdd2;
    color: #c62828;
}

body.light .success {
    background: #e8f5e9;
    border-color: #c8e6c9;
    color: #2e7d32;
}

body.light table td:first-child {
    color: #666666;
}

body.light .blurbs-section h4 {
    background: #f5f5f5;
    border-color: #cccccc;
    color: #666666;
}

body.light .blurbs-section .content {
    border-color: #cccccc;
}

body.light .custom-html-section {
    background: #f5f5f5;
}

body.light .visitor-counter {
    background: #ffffff;
    border-color: #cccccc;
    color: #333333;
}

body.light .music-player {
    background: #ffffff;
    border-color: #cccccc;
}

body.light .music-player strong {
    color: #333333;
}

body.light .profile-banner {
    border-color: #cccccc !important;
}

body.light .profile-title {
    color: #666666 !important;
}

body.light .profile-stats span {
    color: var(--primary-dark);
}

body.light .profile-nav a {
    background: #f5f5f5;
    border-color: #cccccc;
    color: var(--primary-dark);
}

body.light .profile-nav a:hover {
    background: #e0e0e0;
}

body.light .friend-item img {
    border-color: #cccccc;
}

body.light .friend-item a {
    color: var(--primary-dark);
}

body.light .wall-post {
    border-color: #eeeeee;
}

body.light .wall-post-avatar {
    border-color: #cccccc;
}

body.light .wall-post-date {
    color: #999999;
}

body.light .wall-post-content {
    color: #333333;
}

body.light .chat-container {
    background: #ffffff;
    border-color: #cccccc;
}

body.light .chat-users {
    border-color: #cccccc;
    background: #fafafa;
}

body.light .chat-users h3 {
    background: linear-gradient(to bottom, #e0e0e0, #f5f5f5);
    color: #333333;
    border-color: #cccccc;
}

body.light .chat-user {
    border-color: #f0f0f0;
}

body.light .chat-user:hover,
body.light .chat-user.active {
    background: #f5f5f5;
}

body.light .chat-header {
    background: linear-gradient(to bottom, #e0e0e0, #f5f5f5);
    border-color: #cccccc;
}

body.light .chat-header-name {
    color: #333333;
}

body.light .chat-messages {
    background: #fafafa;
}

body.light .chat-message.sent {
    background: #e6f0f7;
    border-color: #cce0f0;
    color: #333333;
    border-radius: 16px;
    border-bottom-right-radius: 4px;
}

body.light .chat-message.received {
    background: #f5f5f5;
    border-color: #e0e0e0;
    color: #333333;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
}

body.light .chat-message-avatar {
    border-color: #cccccc;
}

body.light .chat-input {
    border-color: #cccccc;
}

body.light .chat-input textarea {
    background: #ffffff;
    border-color: #cccccc;
    color: #333333;
}

body.light .message-preview {
    background: #fafafa;
    border-color: #e0e0e0;
}

body.light .message-preview:hover {
    background: #f5f5f5;
    border-color: #cccccc;
}

body.light .message-preview .preview {
    color: #666666;
}

body.light .chat-input textarea {
    background: #ffffff;
    border-color: #cccccc;
    color: #333333;
}

body.light .form-group label {
    color: #333333;
}

body.light table td:first-child {
    color: #666666;
}

body.light .blurbs-section h4 {
    background: #f5f5f5;
    border-color: #cccccc;
    color: #666666;
}

body.light .blurbs-section .content {
    border-color: #cccccc;
}

body.light .upload-btn {
    background: #f5f5f5;
    border-color: #cccccc;
    color: #333333;
}

body.light .upload-btn:hover {
    background: #e0e0e0;
    color: #000000;
}

body.light .color-option {
    border-color: #cccccc;
}

body.light .color-option:hover,
body.light .color-option.selected {
    border-color: var(--primary-dark);
}

body {
    font-family: Verdana, sans-serif;
    font-size: 11px;
    background: var(--background);
    color: var(--text);
    line-height: 1.4;
    margin: 0;
    padding: 15px;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}

.header {
    background: linear-gradient(to bottom, #333333, #000000);
    border: 2px solid #333333;
    padding: 10px 15px;
    margin-bottom: 15px;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none !important;
    font-family: Verdana, sans-serif;
}

.logo:hover {
    text-decoration: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    z-index: 10000;
    flex-shrink: 0;
}

 .mobile-menu-toggle span:not(.mobile-notification-badge) {
    display: block;
    width: 100%;
    height: 3px;
    background: #cccccc;
    border-radius: 2px;
    transition: 0.3s;
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

.nav {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.nav a {
    color: var(--primary);
    padding: 6px 12px;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
}

.nav a:hover {
    background: var(--surface-light);
    color: var(--primary-dark);
}

.nav a.active {
    background: var(--primary);
    color: #ffffff;
}

.main-content {
    display: flex;
    gap: 15px;
}

.sidebar {
    width: 210px;
    flex-shrink: 0;
}

.main-column {
    flex: 1;
    min-width: 0;
}

.right-sidebar {
    width: 210px;
    flex-shrink: 0;
}

.box {
    background: #000000;
    border: 1px solid #333333;
    margin-bottom: 15px;
}

.box-header {
    background: linear-gradient(to bottom, #333333, #1a1a1a);
    color: #cccccc;
    padding: 6px 10px;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    border-bottom: 1px solid #333333;
}

.box-content {
    padding: 10px;
}

.announcements-container {
    width: 70%;
    margin: 0 auto 25px auto;
}

@media (max-width: 900px) {
    .announcements-container {
        width: 100%;
    }
}

.announcements-container .announcement {
    background: linear-gradient(to bottom, #1a3a5c, #0d1f33) !important;
    border: 1px solid #2a4a6c !important;
    margin-bottom: 0;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .announcements-container .announcement {
        width: 100%;
    }
}

.announcements-container .announcement .box-header {
    background: linear-gradient(to bottom, #2a4a6c, #1a3a5c) !important;
    border-bottom: 1px solid #3a5a7c !important;
}

.announcements-container .announcement .box-content {
    padding: 12px;
}

.announcements-container .announcement .announcement-title {
    font-size: 13px;
    font-weight: bold;
    color: var(--primary) !important;
    margin-bottom: 6px;
}

.announcements-container .announcement .announcement-content {
    font-size: 11px;
    color: #cccccc !important;
    line-height: 1.4;
}

.announcements-container .announcement .announcement-meta {
    font-size: 10px;
    color: #888888 !important;
    margin-top: 8px;
}

.announcement-expired {
    color: #ff6666;
}

body.light .announcements-container {
    width: 70%;
}

@media (max-width: 900px) {
    body.light .announcements-container {
        width: 100%;
    }
}

body.light .announcements-container .announcement {
    background: linear-gradient(to bottom, #e6f0f7, #cce0f5) !important;
    border-color: #cce0f0 !important;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    body.light .announcements-container .announcement {
        width: 100%;
    }
}

body.light .announcements-container .announcement .box-header {
    background: linear-gradient(to bottom, #cce0f0, #b0d0e5) !important;
    border-color: #b0d0e5 !important;
}

body.light .announcements-container .announcement .announcement-title {
    color: var(--primary-dark) !important;
}

body.light .announcements-container .announcement .announcement-content {
    color: #333333 !important;
}

body.light .announcements-container .announcement .announcement-meta {
    color: #666666 !important;
}

.profile-header {
    background: #000000;
    border: 1px solid #333333;
    padding: 10px;
    margin-bottom: 15px;
}

.profile-top {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border: 2px solid #333333;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 3px;
}

.profile-status {
    font-size: 11px;
    color: #999999;
    margin-bottom: 8px;
}

.profile-stats {
    font-size: 11px;
    margin-bottom: 10px;
}

.profile-stats span {
    color: var(--primary);
    font-weight: bold;
    margin-right: 15px;
}

.profile-nav {
    display: flex;
    gap: 2px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.profile-nav a {
    background: #1a1a1a;
    border: 1px solid #333333;
    padding: 4px 10px;
    color: var(--primary);
    font-size: 10px;
    text-decoration: none;
}

.profile-nav a:hover {
    background: #333333;
    text-decoration: none;
}

.profile-content {
    display: flex;
    gap: 15px;
}

.profile-left {
    width: 200px;
    flex-shrink: 0;
}

.profile-right {
    flex: 1;
    min-width: 0;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.friend-item {
    text-align: center;
    padding: 4px;
}

.friend-item img {
    width: 50px;
    height: 50px;
    border: 1px solid #333333;
}

.friend-item a {
    font-size: 10px;
    color: var(--primary);
}

.wall-post {
    border-bottom: 1px solid #222222;
    padding: 10px 0;
}

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

.wall-post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.wall-post-avatar {
    width: 50px;
    height: 50px;
    border: 1px solid #333333;
}

.wall-post-info {
    flex: 1;
}

.wall-post-name {
    font-weight: bold;
    color: var(--primary);
    font-size: 11px;
}

.wall-post-date {
    font-size: 10px;
    color: #666666;
}

.wall-post-content {
    margin-left: 62px;
    font-size: 11px;
    line-height: 1.4;
    color: #cccccc;
}

.wall-post-actions {
    margin-left: auto;
    display: flex;
    gap: 4px;
}

.wall-post-actions button {
    background: none;
    border: none;
    cursor: pointer;
    color: #666666;
    padding: 2px;
    font-size: 11px;
}

.wall-post-actions button:hover {
    color: var(--primary);
}

.wall-form textarea {
    width: 100%;
    padding: 8px;
    background: #111111;
    border: 1px solid #333333;
    color: #cccccc;
    font-family: Verdana, sans-serif;
    font-size: 11px;
    resize: vertical;
    min-height: 80px;
}

.wall-form button {
    background: #333333;
    color: #cccccc;
    border: 1px solid #444444;
    padding: 6px 15px;
    cursor: pointer;
    font-size: 11px;
    margin-top: 6px;
}

.wall-form button:hover {
    background: #444444;
}

.auth-form {
    max-width: 350px;
    margin: 50px auto;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 20px;
}

.auth-form h1 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 18px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: bold;
    color: var(--text);
    font-size: 11px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: Verdana, sans-serif;
    font-size: 11px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.auth-form button {
    width: 100%;
    background: #333333;
    color: #cccccc;
    border: 1px solid #444444;
    padding: 8px;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
}

.auth-form button:hover {
    background: #444444;
}

.auth-form p {
    text-align: center;
    margin-top: 12px;
    font-size: 11px;
}

.messages-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message-preview {
    background: #0a0a0a;
    border: 1px solid #222222;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.message-preview:hover {
    border-color: #333333;
    background: #111111;
}

.message-preview.unread {
    border-left: 3px solid var(--primary);
    background: #0a0a0a;
}

.message-preview img {
    width: 40px;
    height: 40px;
    border: 1px solid #333333;
    object-fit: cover;
}



.message-preview .name {
    font-weight: bold;
    color: var(--primary);
    font-size: 11px;
}

.message-preview .preview {
    flex: 1;
    color: #666666;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-container {
    display: flex;
    height: 500px;
    background: #000000;
    border: 1px solid #333333;
    margin-bottom: 20px;
}

.chat-users {
    width: 180px;
    border-right: 1px solid #222222;
    overflow-y: auto;
    flex-shrink: 0;
}

.chat-users h3 {
    background: linear-gradient(to bottom, #333333, #1a1a1a);
    color: #cccccc;
    padding: 6px 8px;
    margin: 0;
    font-size: 10px;
    text-transform: uppercase;
    border-bottom: 1px solid #222222;
}

.chat-user {
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border-bottom: 1px solid #111111;
    font-size: 11px;
}

.chat-user:hover,
.chat-user.active {
    background: #1a1a1a;
}

.chat-user img {
    width: 30px;
    height: 30px;
    border: 1px solid #333333;
    object-fit: cover;
}



.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(to bottom, #333333, #1a1a1a);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #222222;
}

.chat-header img {
    width: 35px;
    height: 35px;
    border: 1px solid #333333;
    object-fit: cover;
}



.chat-header-name {
    font-weight: bold;
    color: #cccccc;
    font-size: 12px;
}

.chat-header-status {
    font-size: 10px;
    color: #666666;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #050505;
    min-height: 0;
}

.chat-message {
    max-width: 70%;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 11px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.chat-message-avatar {
    width: 32px;
    height: 32px;
    border: 1px solid #333333;
    flex-shrink: 0;
    object-fit: cover;
}

@media (max-width: 700px) {
    .chat-message-avatar {
        width: 28px !important;
        height: 28px !important;
    }
    
    .chat-message {
        padding: 5px;
        gap: 5px;
    }
    
    .chat-message-content {
        font-size: 10px;
    }
    
    .chat-message-time {
        font-size: 8px;
    }
    
    .message-preview img {
        width: 32px !important;
        height: 32px !important;
    }
    
    .chat-user img {
        width: 25px !important;
        height: 25px !important;
    }
    
    .chat-header img {
        width: 28px !important;
        height: 28px !important;
    }
    
    .chat-container {
        height: calc(100vh - 150px) !important;
        min-height: 300px;
        max-height: calc(100vh - 150px);
        overflow: hidden;
    }
    
    .chat-main {
        flex: 1;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    
    .chat-messages {
        flex: 1;
        overflow-y: auto !important;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        height: auto;
        min-height: 0;
    }
    
    .chat-users {
        max-height: 100px;
        min-height: 60px;
        height: auto !important;
    }
}

.chat-message-content {
    flex: 1;
    word-wrap: break-word;
}

.chat-message-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.chat-message-time {
    font-size: 9px;
    color: #666666;
    text-align: right;
}

.chat-message-sender {
    font-size: 10px;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 2px;
}

body.light .chat-message-time {
    color: #999999;
}

.chat-message.sent {
    background: #1a3a5c;
    color: #cccccc;
    align-self: flex-end;
    border: 1px solid #2a4a6c;
    border-radius: 16px;
    border-bottom-right-radius: 4px;
}

.chat-message.received {
    background: #1a1a1a;
    color: #cccccc;
    align-self: flex-start;
    border: 1px solid #333333;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
}

.chat-input {
    padding: 10px;
    border-top: 1px solid #222222;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.chat-input-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.textarea-and-button {
    display: flex;
    gap: 4px;
    align-items: flex-start;
}

.chat-input textarea {
    flex: 1;
    padding: 8px;
    background: #111111;
    border: 1px solid #333333;
    color: #cccccc;
    font-size: 11px;
    font-family: Verdana, sans-serif;
    resize: vertical;
    min-height: 36px;
    max-height: 150px;
}

.chat-input textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.send-button {
    background: #333333;
    color: #cccccc;
    border: 1px solid #444444;
    padding: 6px 15px;
    cursor: pointer;
    font-size: 11px;
    white-space: nowrap;
    height: 36px;
    margin-top: 0;
}

.send-button:hover {
    background: #444444;
}

.bbcode-toolbar {
    display: flex;
    gap: 4px;
    padding-right: 8px;
    border-right: 1px solid #333333;
    margin-right: 4px;
    align-items: center;
}

.bbcode-toolbar button {
    background: #222222;
    border: 1px solid #444444;
    color: #cccccc;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 11px;
    border-radius: 4px;
    min-width: 28px;
}

.bbcode-toolbar button:hover {
    background: #333333;
    border-color: var(--primary);
}

body.discord .bbcode-toolbar {
    border-right-color: #40444b;
}

body.discord .bbcode-toolbar button {
    background: #40444b;
    border-color: #36393f;
    color: #dcddde;
}

body.discord .bbcode-toolbar button:hover {
    background: #4f545c;
    border-color: var(--primary);
}

/* Matrix Theme - overrides accent theme */
body.matrix {
    --primary: #00FF00;
    --primary-rgb: 0, 255, 0;
    --link: #00FF00;
    --text: #00FF00;
    --text-light: #00CC00;
    --border: #00FF00;
    --surface: #000000;
    --surface-light: #001100;
    --background: #000000;
    --accent: #00FF00;
    --accent-dark: #00FF00;
    color: #00FF00 !important;
    background: #000000 !important;
}

body.matrix * {
    border-color: #00FF00 !important;
}

body.matrix a {
    color: #00FF00 !important;
}

body.matrix a:hover {
    color: #33FF33 !important;
}

body.matrix .header {
    background: #000800 !important;
    border-bottom: 1px solid #00FF00 !important;
}

body.matrix .box,
body.matrix .box-header,
body.matrix .box-content {
    background: #000800 !important;
    border: 1px solid #00FF00 !important;
}

body.matrix input[type="text"],
body.matrix input[type="email"],
body.matrix input[type="password"],
body.matrix input[type="url"],
body.matrix input[type="search"],
body.matrix textarea,
body.matrix select {
    background: #001100 !important;
    color: #00FF00 !important;
    border: 1px solid #00FF00 !important;
}

body.matrix input:focus,
body.matrix textarea:focus,
body.matrix select:focus {
    border-color: #00FF00 !important;
    box-shadow: 0 0 5px #00FF00 !important;
}

body.matrix .btn {
    background: #002200 !important;
    color: #00FF00 !important;
    border: 1px solid #00FF00 !important;
}

body.matrix .btn:hover {
    background: #00FF00 !important;
    color: #000000 !important;
}

body.matrix .nav a {
    color: #00FF00 !important;
}

body.matrix .nav a:hover {
    background: #002200 !important;
}

body.matrix .chat-bubble {
    background: #001100 !important;
    color: #00FF00 !important;
    border: 1px solid #00FF00 !important;
}

body.matrix .chat-bubble.self {
    background: #003300 !important;
}

body.matrix .chat-input textarea {
    background: #001100 !important;
    color: #00FF00 !important;
    border-color: #00FF00 !important;
}

body.matrix .chat-users {
    background: #000800 !important;
    border-right: 1px solid #00FF00 !important;
}

body.matrix .chat-user {
    color: #00FF00 !important;
}

body.matrix .chat-user:hover,
body.matrix .chat-user.active {
    background: #002200 !important;
}

body.matrix .profile-header {
    background: #001100 !important;
    border: 1px solid #00FF00 !important;
}

body.matrix .wall-post {
    background: #001100 !important;
    border: 1px solid #00FF00 !important;
}

body.matrix .comment {
    background: #001100 !important;
    border: 1px solid #00FF00 !important;
}

body.matrix .modal-content {
    background: #000800 !important;
    border: 1px solid #00FF00 !important;
}

body.matrix .dropdown-menu {
    background: #000800 !important;
    border: 1px solid #00FF00 !important;
}

body.matrix .dropdown-item {
    color: #00FF00 !important;
}

body.matrix .dropdown-item:hover {
    background: #002200 !important;
}

body.matrix .bbcode-toolbar {
    border-color: #00FF00 !important;
}

body.matrix .bbcode-toolbar button {
    background: #001100 !important;
    color: #00FF00 !important;
    border-color: #00FF00 !important;
}

body.matrix .bbcode-toolbar button:hover {
    background: #00FF00 !important;
    color: #000000 !important;
}

body.matrix .wall-form button[type="button"] {
    background: #001100 !important;
    color: #00FF00 !important;
    border: 1px solid #00FF00 !important;
    cursor: pointer;
}

body.matrix .wall-form button[type="button"]:hover {
    background: #00FF00 !important;
    color: #000000 !important;
}

body.matrix .wall-form textarea {
    background: #001100 !important;
    color: #00FF00 !important;
    border: 1px solid #00FF00 !important;
}

body.matrix .chat-input button[type="button"] {
    background: #001100 !important;
    color: #00FF00 !important;
    border: 1px solid #00FF00 !important;
    cursor: pointer;
}

body.matrix .chat-input button[type="button"]:hover {
    background: #00FF00 !important;
    color: #000000 !important;
}

body.matrix .chat-input textarea {
    background: #001100 !important;
    color: #00FF00 !important;
    border: 1px solid #00FF00 !important;
}

body.matrix .emoji-picker {
    background: #000800 !important;
    border: 1px solid #00FF00 !important;
}

body.matrix .emoji-category-btn {
    color: #00FF00 !important;
}

body.matrix .emoji-category-btn.active,
body.matrix .emoji-category-btn:hover {
    background: #002200 !important;
}

body.matrix .emoji-item:hover {
    background: #002200 !important;
}

body.matrix .post-options-btn {
    color: #00FF00 !important;
}

body.matrix .post-options-menu {
    background: #000800 !important;
    border: 1px solid #00FF00 !important;
}

body.matrix .post-options-menu button:hover {
    background: #002200 !important;
    color: #00FF00 !important;
}

body.matrix .success {
    background: #002200 !important;
    color: #00FF00 !important;
    border-color: #00FF00 !important;
}

body.matrix .error {
    background: #220000 !important;
    color: #FF0000 !important;
    border-color: #FF0000 !important;
}

body.matrix .site-footer {
    background: #000800 !important;
    border-top: 1px solid #00FF00 !important;
    color: #00FF00 !important;
}

body.matrix .site-footer a {
    color: #00FF00 !important;
}

body.matrix ::selection {
    background: #00FF00 !important;
    color: #000000 !important;
}

body.matrix ::-webkit-scrollbar {
    width: 8px;
}

body.matrix ::-webkit-scrollbar-track {
    background: #000800 !important;
}

body.matrix ::-webkit-scrollbar-thumb {
    background: #00FF00 !important;
}

body.matrix pre,
body.matrix code {
    background: #001100 !important;
    border: 1px solid #00FF00 !important;
    color: #00FF00 !important;
    padding: 10px !important;
    margin: 10px 0 !important;
    border-radius: 4px !important;
    font-family: 'Courier New', monospace !important;
    display: block !important;
}

body pre,
body code {
    background: var(--surface-light);
    border: 1px solid var(--border);
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    display: block;
}

body.light pre,
body.light code {
    background: #f5f5f5;
    border-color: #cccccc;
    color: #333333;
}

body.light .bbcode-toolbar {
    border-right-color: #cccccc;
}

body.light .bbcode-toolbar button {
    background: #f5f5f5;
    border-color: #cccccc;
    color: #333333;
}

body.light .bbcode-toolbar button:hover {
    background: #e0e0e0;
    border-color: var(--primary);
}

/* Chat Header Dropdown */
.chat-header {
    position: relative;
}

.chat-header-dropdown {
    margin-left: auto;
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: 1px solid #333;
    color: #ccc;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 3px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pencil-icon {
    font-size: 14px;
    line-height: 1;
}

.dropdown-toggle:hover {
    background: #333;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    z-index: 1000;
    min-width: 120px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.dropdown-menu.active {
    display: block !important;
    z-index: 10001;
}

.dropdown-item {
    display: block;
    padding: 8px 12px;
    color: #ccc;
    text-decoration: none;
    font-size: 11px;
    border-bottom: 1px solid #222;
    background: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background: #333;
    color: #fff;
}

.dropdown-item.delete {
    color: #ff6666;
}

.dropdown-item.delete:hover {
    background: #4a1a1a;
    color: #ff8888;
}

/* Mobile styles for chat options */
@media (max-width: 900px) {
    .chat-header-dropdown .dropdown-menu {
        display: none !important;
    }
}

/* Desktop dropdown */
.chat-header-dropdown .dropdown-menu.active {
    display: block !important;
    z-index: 10001;
}

.dropdown-menu.active {
    display: block;
}

.theme-section {
    background: #0a0a0a;
    border: 1px solid #222222;
    padding: 10px;
    margin-bottom: 12px;
}

.theme-section h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 11px;
}

.color-options {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.color-option {
    width: 25px;
    height: 25px;
    border: 2px solid #333333;
    cursor: pointer;
}

.color-option:hover,
.color-option.selected {
    border-color: var(--primary);
}

.upload-btn {
    display: inline-block;
    background: #1a1a1a;
    border: 1px solid #333333;
    padding: 6px 12px;
    cursor: pointer;
    color: #cccccc;
    font-size: 10px;
}

.upload-btn:hover {
    background: #222222;
    color: #ffffff;
}

input[type="file"] {
    display: none;
}

.visitor-counter {
    background: #000000;
    color: #66ff66;
    font-family: 'Courier New', monospace;
    padding: 3px 8px;
    border: 1px solid #333333;
    font-size: 14px;
}

.music-player {
    background: #000000;
    border: 1px solid #333333;
    padding: 8px;
    margin-bottom: 15px;
}

.music-player input {
    width: 100%;
    margin-top: 6px;
    background: #111111;
    border: 1px solid #333333;
    color: #cccccc;
}

.empty-state {
    text-align: center;
    padding: 30px;
    color: #666666;
    font-size: 11px;
}

.error {
    background: #2a0000;
    border: 1px solid #660000;
    color: #ff6666;
    padding: 8px;
    margin-bottom: 12px;
    font-size: 11px;
}

.success {
    background: #002a00;
    border: 1px solid #006600;
    color: #66ff66;
    padding: 8px;
    margin-bottom: 12px;
    font-size: 11px;
}

table {
    border-collapse: collapse;
    width: 100%;
}

table td {
    padding: 4px 8px;
    vertical-align: top;
}

table td:first-child {
    color: #999999;
    width: 100px;
}

.blurbs-section {
    margin-top: 15px;
}

.blurbs-section h4 {
    background: #1a1a1a;
    padding: 4px 8px;
    font-size: 10px;
    text-transform: uppercase;
    color: #999999;
    border: 1px solid #333333;
    border-bottom: none;
}

.blurbs-section .content {
    border: 1px solid #333333;
    padding: 8px;
    font-size: 11px;
    line-height: 1.4;
}

.url-link {
    color: var(--primary);
    font-size: 11px;
}

.btn {
    display: inline-block;
    background: #333333;
    color: #cccccc;
    border: 1px solid #444444;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 11px;
    font-family: Verdana, sans-serif;
    text-decoration: none;
}

.btn:hover {
    background: #444444;
    color: #ffffff;
    text-decoration: none;
}

.custom-html-section {
    margin-bottom: 15px;
    padding: 10px;
}

.btn-primary {
    background: #1a3a5c;
    border-color: #2a4a6c;
    color: #cccccc;
}

.btn-primary:hover {
    background: #2a4a6c;
    color: #ffffff;
}

@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
    }
    
    .sidebar, .right-sidebar {
        width: 100%;
    }
    
    .profile-content {
        flex-direction: column;
    }
    
    .profile-left {
        width: 100%;
    }
    
    .profile-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .chat-container {
        flex-direction: column;
        max-height: 600px;
        min-height: 300px;
        overflow: hidden;
        margin-bottom: 20px;
    }
    
    .chat-users {
        width: 100%;
        max-height: 150px;
        height: auto !important;
        flex-shrink: 0;
        border-bottom: 2px solid #333;
        margin-bottom: 10px;
        overflow-y: auto;
    }
    
    .chat-main {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }
    
    .chat-messages {
        flex: 1;
        min-height: 0;
        max-height: none;
        overflow-y: auto;
    }
    
    .chat-input {
        flex-shrink: 0;
        padding: 10px;
        border-top: 1px solid #333;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .header {
        overflow: visible;
    }
    
    .header-content {
        flex-wrap: wrap;
        position: relative;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        gap: 2px;
        margin-top: 10px;
        background: #000000;
        border: 1px solid #333333;
        padding: 5px;
        z-index: 9999;
        max-height: none;
        overflow-y: auto;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        padding: 12px 15px;
        border: 1px solid #333333;
        background: #1a1a1a;
        width: 100%;
        text-align: left;
    }
    
    body.light .nav {
        background: #ffffff;
        border-color: #cccccc;
    }
    
    body.light .nav a {
        background: #f5f5f5;
        border-color: #cccccc;
        color: #333333;
    }
    
     body.light .mobile-menu-toggle span:not(.mobile-notification-badge) {
        background: #333333;
    }
}

body.light select,
body.light input[type="text"],
body.light input[type="password"],
body.light input[type="email"],
body.light textarea {
    background: #ffffff !important;
    border-color: #cccccc !important;
    color: #333333 !important;
}

body.light .profile-photo img {
    border-color: #cccccc !important;
}

body.light .box-content table td {
    color: #333333;
}

.browse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.browse-user {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 15px;
    text-align: center;
    border-radius: 4px;
    position: relative;
}

.browse-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--border);
    object-fit: cover;
    margin-bottom: 10px;
    position: relative;
}

.browse-info {
    margin-bottom: 10px;
}

.browse-name {
    font-weight: bold;
    color: var(--primary);
    font-size: 12px;
    display: block;
}

.browse-username {
    color: var(--text);
    opacity: 0.7;
    font-size: 10px;
}

.browse-location {
    color: var(--text);
    opacity: 0.6;
    font-size: 10px;
    margin-top: 5px;
}

.browse-actions {
    margin-top: 10px;
}

/* Blog Styles */
.blog-post-item {
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    margin-bottom: 15px;
}

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

.blog-post-item h3 {
    margin-bottom: 5px;
}

.blog-post-item h3 a {
    color: var(--link);
    text-decoration: none;
}

.blog-post-item h3 a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

.blog-meta {
    font-size: 11px;
    color: #888;
    margin-bottom: 8px;
}

.blog-meta a {
    color: #888;
}

.blog-excerpt {
    color: var(--text);
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.read-more {
    font-size: 11px;
    color: var(--link);
}

.read-more:hover {
    color: var(--link-hover);
}

.blog-content {
    line-height: 1.6;
    margin-top: 15px;
}

.blog-content p {
    margin-bottom: 10px;
}

.blog-featured-image {
    margin: 15px 0;
    text-align: center;
}

.blog-featured-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border);
}

.category-list {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.category-list li {
    padding: 5px 0;
    border-bottom: 1px solid var(--border);
    margin-left: 0;
    text-align: center;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: var(--link);
    text-decoration: none;
    display: block;
    padding: 2px 0;
}

.category-list a:hover {
    color: var(--link-hover);
}

.comment-item {
    margin-bottom: 10px;
}

.empty-state {
    color: #888;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Photos Grid Styles */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.photo-item {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 3px;
}

.photo-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border: 1px solid #222;
    margin-bottom: 8px;
}

.photo-info {
    font-size: 11px;
}

.photo-info input[type="text"] {
    background: #111;
    border: 1px solid #333;
    color: #ccc;
    padding: 4px;
    width: 100%;
    margin-bottom: 5px;
}

.photo-info input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
}

.caption-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.site-footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text);
    font-size: 12px;
    width: 100%;
    display: block;
}

.site-footer a {
    color: var(--link);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}
