:root {
    --bg-body: #121212;
    --bg-sidebar: color-mix(in srgb, #151515, transparent 10%);
    --bg-card: #1e1e1e;
    --bg-input: #2a2a2a;
    --bg-hover: rgba(255, 255, 255, 0.05);
    --bg-section: #191919;
    --bg-header-mobile: #1c1d1f;
    --config-theme-color: #ffffff;

    --text-primary: #ffffff;
    --text-secondary: #adb5bd;
    --text-sidebar: #ced4da;
    --text-sidebar-hover: #ffffff;
    
    --border-color: #333333;
    --accent-blue: #0d6efd;
    --accent-red: #dc3545;
    
    --btn-secondary-bg: #333333;
    --btn-secondary-color: #ffffff;
    --btn-secondary-border: #444444;

    --comment-count-color: #888; 
    --modal-bg: #2a2a2a;
    --table-head-bg: rgba(0,0,0,0.2);
    --win-input-bg: rgba(0,0,0,0.5);
    --auth-bg-overlay: rgba(0,0,0,0.4);
    
    --link-color: var(--link-color-dark, #e69720);
    --ext-link-color: var(--ext-link-color-dark, #009900);
    
    --pin-color: #888888; 
    --filter-active-bg: #0d6efd;
    --filter-inactive-text: #adb5bd;

    --notice-bar-bg: rgba(255, 255, 255, 0.05);

    --quote-bg: #2d2f34;
    --quote-border: #383b40;
    --quote-text: #ddd;
    --quote-accent: #666c75;
}

body.light-mode {
    --bg-body: #f5f7fa;
    --bg-sidebar: color-mix(in srgb, var(--bg-card), transparent 10%);
    --bg-card: #ffffff;
    --bg-input: #ffffff;
    --bg-hover: rgba(0, 0, 0, 0.05);
    --bg-section: #f8f9fa;
    --bg-header-mobile: linear-gradient(135deg in oklab, #00bfff, #689fff, #5cd2ef);

    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-sidebar: #495057;
    --text-sidebar-hover: #000000;
    
    --border-color: #dee2e6;
    --accent-blue: #0d6efd; 
    
    --btn-secondary-bg: #e9ecef;
    --btn-secondary-color: #333333;
    --btn-secondary-border: #ced4da;
    
    --comment-count-color: #888; 
    --modal-bg: #ffffff;
    --table-head-bg: #e9ecef;
    --win-input-bg: rgba(255,255,255,0.8);
    --auth-bg-overlay: rgba(255,255,255,0.1);
    
    --link-color: var(--link-color-light, #0275d8);
    --ext-link-color: var(--ext-link-color-light, #009900);
    
    --pin-color: #888888;
    --filter-active-bg: #0d6efd;
    --filter-inactive-text: #495057;

    --notice-bar-bg: rgba(255, 255, 255, 0.05);

    --quote-bg: #eee;
    --quote-border: #ccc;
    --quote-text: #212529;
    --quote-accent: #71bc6d;
}

body, html { margin:0; padding:0; width:100%; height:100%; font-family:'Segoe UI Variable', 'Segoe UI', sans-serif; background:var(--bg-body); color:var(--text-primary); overflow:hidden; transition: background 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
* { box-sizing:border-box; } .hidden { display:none !important; }

*, *::before, *::after {
    transition: background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                border-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.custom-link { color: var(--link-color) !important; text-decoration: none; font-weight: inherit; cursor: pointer; }
.custom-link.external { color: var(--ext-link-color) !important; }
.custom-link:hover { text-decoration: underline; }

#r-content .custom-color .custom-link, #r-content [style*="color"] .custom-link,
.comment-content .custom-color .custom-link, .comment-content [style*="color"] .custom-link {
    color: inherit !important;
}

#r-content .custom-color .custom-link, #r-content [style*="color"] .custom-link,
.comment-content .custom-color .custom-link, .comment-content [style*="color"] .custom-link {
    color: inherit !important;
}

.custom-link:has(.custom-color):hover, 
.custom-link:has([style*="color"]):hover {
    text-decoration: none !important;
}
.custom-link:hover .custom-color,
.custom-link:hover [style*="color"] {
    text-decoration: underline;
}

.ql-toolbar.ql-snow button:hover, .ql-toolbar.ql-snow button.ql-active { color: var(--link-color) !important; }
.ql-toolbar.ql-snow .ql-picker-label:hover { color: var(--link-color) !important; }

body.light-mode .ql-toolbar.ql-snow button:hover, body.light-mode .ql-toolbar.ql-snow button.ql-active { color: var(--link-color) !important; }
body.light-mode .ql-toolbar.ql-snow .ql-picker-label:hover { color: var(--link-color) !important; }

.mention-link { color: var(--link-color) !important; font-weight: bold; cursor: pointer; background: color-mix(in srgb, var(--link-color), transparent 90%); padding: 0 4px; border-radius: 4px; transition: all 0.2s; text-decoration: none; display: inline-block; }
.mention-link:hover { background: color-mix(in srgb, var(--link-color), transparent 80%); opacity: 0.9; }
.user-link { color: var(--link-color) !important; cursor: pointer; font-weight: bold; }

blockquote {
    background: var(--quote-bg);
    border: 2px dashed var(--quote-border);
    border-left: 5px solid var(--quote-accent);
    color: var(--quote-text);
    display: table;
    margin: 1em 0;
    padding: 1em;
    border-radius: 4px;
    max-width: 100%;
}

.wiki-list-item {
    display: list-item;
    list-style-type: disc;
    margin-left: 25px;
    padding-left: 0px;
    margin-bottom: 2px;
}

hr { border: 0; border-top: 1px solid var(--border-color); margin: 20px 0; }

#auth-screen { width:100%; height:100%; position:absolute; top:0; left:0; z-index:2000; background:url('https://s.widget-club.com/images/YyiR86zpwIMIfrCZoSs4ulVD9RF3/c00b57557743e709b8b96933432e0dfa/XvIwUiFBt7fLHRskPhKJ.jpg?q=70&w=768') center/cover; display:flex; flex-direction:column; justify-content:center; align-items:center; }
#auth-overlay { position:absolute; width:100%; height:100%; background:var(--auth-bg-overlay); backdrop-filter:blur(8px); }
.center-container { position:relative; z-index:2; width:360px; text-align:center; color:white; animation:fadeIn 0.5s ease; }
body.light-mode .center-container { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.profile-img-large { width:130px; height:130px; background:rgba(255,255,255,0.2); border-radius:50%; margin:0 auto 20px; display:flex; align-items:center; justify-content:center; backdrop-filter:blur(5px); border:2px solid rgba(255,255,255,0.1); }
.profile-img-large svg { width:65px; fill:white; }
.auth-links { margin-top:20px; font-size:13px; color:#ddd; cursor:pointer; }

.win-input, .form-input, .form-select, .form-textarea, .comment-input { width:100%; padding:12px; background:var(--bg-input); border:1px solid var(--border-color); border-radius:6px; color:var(--text-primary); margin-bottom:10px; outline:none; font-family:inherit; transition: background-color 0.3s, border-color 0.3s; }
.win-input { background:var(--win-input-bg); border:1px solid rgba(255,255,255,0.3); color: white; }
body.light-mode .win-input { border:1px solid #ccc; color: #000; }
::placeholder { color: var(--text-secondary) !important; opacity: 1; }
.btn-primary { width:100%; padding:12px; background:var(--accent-blue); color:white; border:none; border-radius:6px; font-weight:bold; cursor:pointer; }

#board-screen { width:100%; height:100%; display:flex; position:relative; }
#sidebar { width:280px; background:var(--bg-sidebar); border-right:1px solid var(--border-color); display:flex; flex-direction:column; z-index:1000; transition:0.3s; }
.sidebar-brand { height:60px; display:flex; align-items:center; padding-left:20px; font-weight:bold; font-size:20px; color: var(--text-primary); border-bottom: 1px solid var(--border-color); }

.menu-list { flex:1; padding:10px 0; overflow-y:auto; -ms-overflow-style: none; scrollbar-width: none; }
.menu-list::-webkit-scrollbar { display: none; }

.menu-item { padding:12px 20px; cursor:pointer; color:var(--text-sidebar); display:flex; align-items:center; gap:12px; transition:0.2s; font-size: 15px; }
.menu-item:hover, .menu-item.active { background:var(--bg-hover); color:var(--text-sidebar-hover); }
.menu-icon { font-size: 18px; color: currentColor; }
.sidebar-footer { padding:20px; border-top:1px solid var(--border-color); background: var(--bg-sidebar); display: flex; flex-direction: column; gap: 10px; }

#content-area { flex:1; padding:40px; overflow-y:auto; position:relative; }

#site-notice-bar { width: 100%; padding: 15px; margin-bottom: 20px; background: var(--notice-bar-bg); border-radius: 8px; border: 1px solid var(--border-color); align-items: flex-start; gap: 10px; position: relative; z-index: 1; background-clip: padding-box; transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; }
#site-notice-bar::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 2px; background: var(--config-theme-color); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s; }
#site-notice-bar:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); border-color: transparent; }
#site-notice-bar:hover::before { opacity: 1; }
body.light-mode #site-notice-bar:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.2); border-color: transparent; }

#site-notice-content { font-size: 14px; }

.board-card { background:var(--bg-card); border:1px solid var(--border-color); border-radius:8px; min-height:500px; display:flex; flex-direction:column; transition: background 0.3s; overflow: hidden; }
.board-header { padding:20px; border-bottom:1px solid var(--border-color); display:flex; justify-content:space-between; align-items:center; }
.btn-write, .btn-cancel, .btn-update, .btn-delete, .btn-trash, .btn-restore, .btn-settings, .btn-camera { border:none; padding:8px 10px; border-radius:4px; font-weight:bold; cursor:pointer; font-size:14px; min-width: 60px; }
.btn-write, .btn-update { background:var(--accent-blue); color:white; }
.btn-cancel, .btn-settings, .btn-camera { background: var(--btn-secondary-bg); color: var(--btn-secondary-color); border: 1px solid var(--btn-secondary-border); }
.btn-delete { background: var(--accent-red); color: white; }
.btn-trash { background: #6c757d; color: white; margin-left: 10px; }
.btn-restore { background: #28a745; color: white; margin-left: 10px; }
.btn-settings { margin-left: 8px; }
.btn-camera { padding: 5px 12px; font-size: 13px; display: flex; align-items: center; gap: 5px; }
.btn-camera:hover { background: var(--bg-hover); }

.btn-theme-toggle { width:100%; padding:8px; background: transparent; border: 1px solid var(--border-color); color: var(--text-secondary); border-radius:6px; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; font-size:13px; }
.btn-theme-toggle:hover { background: var(--bg-hover); color: var(--text-primary); }
.header-right-actions { position: absolute; top: 20px; right: 20px; display: flex; gap: 8px; z-index: 10; }
.btn-list-top { position: static; padding: 6px 12px; font-size: 13px; background: var(--btn-secondary-bg); color: var(--btn-secondary-color); border: 1px solid var(--btn-secondary-border); border-radius: 4px; font-weight: bold; cursor: pointer; }
#post-btn-group button { font-size: 12px; min-width: auto; }
.btn-logout { width:100%; padding:12px; background:var(--accent-red); color:white; border:none; border-radius:6px; font-weight:bold; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; }

table { width:100%; border-collapse:collapse; font-size:14px; }
th { text-align:left; padding:15px; background:var(--table-head-bg); border-bottom:1px solid var(--border-color); color:var(--text-secondary); }
td { padding:15px; border-bottom:1px solid var(--border-color); color: var(--text-primary); }
.post-id { color:var(--text-secondary); font-weight: normal; } 
.admin-nick { font-weight:bold; color:var(--text-primary); }
.pagination { display: flex; justify-content: center; gap: 5px; padding: 20px; }
.page-btn { padding: 5px 12px; background: var(--bg-input); border: 1px solid var(--border-color); color: var(--text-primary); cursor: pointer; border-radius: 4px; font-weight: bold; }
.page-btn.active { background: var(--accent-blue); color: white; border: 1px solid var(--accent-blue); }

.pinned-post td { background: rgba(var(--accent-blue-rgb), 0.05); font-weight: bold; }
.icon-pin { font-size: 12px; color: var(--pin-color); vertical-align: middle; margin-right: 4px; }

.tag-filter-bar { display: flex; gap: 10px; padding: 15px 20px; border-bottom: 1px solid var(--border-color); overflow-x: auto; white-space: nowrap; }
.tag-filter-item { padding: 6px 12px; border-radius: 15px; cursor: pointer; color: var(--filter-inactive-text); font-size: 14px; font-weight: bold; transition: 0.2s; }
.tag-filter-item:hover { color: var(--text-primary); background: var(--bg-hover); }
.tag-filter-item.active { background: var(--filter-active-bg); color: white; }

.mobile-list { display: none !important; flex-direction:column; gap:15px; padding: 0; }
.m-card { background: var(--bg-card); padding: 15px; border: 1px solid var(--border-color); border-radius: 6px; cursor: pointer; display: flex; flex-direction: column; gap: 8px; position: relative; }
.m-title { font-weight: bold; font-size: 16px; color: var(--text-primary); margin-bottom: 5px; line-height: 1.4; }
.m-tag { font-size: 14px; color: var(--text-primary); font-weight: bold; margin-right: 5px; }
.m-meta { font-size: 13px; color: var(--text-secondary); display: flex; justify-content: space-between; align-items: center; }
.comment-count-text { color: var(--comment-count-color); font-weight:bold; font-size:13px; margin-left: 5px; }

.comment-section { background:var(--bg-section); padding:20px; border-top:1px solid var(--border-color); }
.comment-item { border: 1px solid var(--border-color); background: var(--bg-card); border-radius: 4px; margin-bottom: 15px; display:flex; flex-direction:column; overflow: hidden; }
.comment-depth-1 { margin-left: 20px; border-left: 3px solid var(--border-color); }
.comment-depth-2 { margin-left: 40px; border-left: 3px solid var(--border-color); }
.comment-depth-3 { margin-left: 60px; border-left: 3px solid var(--border-color); }
.comment-header { display: flex; justify-content: space-between; align-items: center; background: var(--bg-hover); padding: 8px 12px; border-bottom: 1px solid var(--border-color); font-size: 13px; }
.comment-user-info { display: flex; align-items: center; gap: 6px; font-weight: normal; color: var(--text-primary); white-space: nowrap; }
.comment-user-icon { font-size: 12px; color: var(--text-secondary); } 
.btn-ban-small { background: var(--accent-red); color: white; border: none; padding: 2px 5px; border-radius: 3px; font-size: 13px; font-weight: bold; cursor: pointer; margin-left: 4px; line-height: 1; }
.comment-meta-right { color: var(--text-secondary); display: flex; align-items: center; gap: 8px; font-size: 12px; }
.comment-btn-link { padding: 4px 2px; cursor: pointer; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; font-size: 12px; }
.comment-btn-link:hover { color: var(--text-primary); }
.comment-sep { color: #555; margin: 0 1px; }
.comment-edited-mark { font-size: 12px; color: var(--text-secondary); padding: 5px 12px 0 12px; font-weight: bold; }
.comment-content { padding: 12px 15px; font-size:14px; line-height:1.6; color:var(--text-primary); word-break: break-all; min-height: 40px; }
.comment-reply-form, .comment-edit-form { padding: 10px; background: var(--bg-input); border-top: 1px solid var(--border-color); }
.form-textarea { min-height: 400px; }

.config-card { display: flex; flex-direction: column; width: 100%; height: 100%; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.config-header { padding: 15px; background: var(--table-head-bg); border-bottom: 1px solid var(--border-color); font-weight: bold; font-size: 16px; }
.config-body { flex: 1; padding: 0; display: flex; flex-direction: column; }
.config-editor { width: 100%; background: #1e1e1e; color: #d4d4d4; border: none; padding: 15px; font-family: 'Consolas', 'Monaco', monospace; font-size: 14px; line-height: 1.5; resize: none; outline: none; box-sizing: border-box; }
body.light-mode .config-editor { background: #f8f9fa; color: #212529; }
.config-footer { padding: 10px; border-top: 1px solid var(--border-color); background: var(--bg-card); }

.settings-container { max-width: 900px; margin: 0 auto; padding: 40px 20px; }
.setting-group { margin-bottom: 25px; }
.setting-label { display: block; margin-bottom: 8px; font-weight: bold; color: var(--text-secondary); font-size: 15px; }
.setting-flex { display: flex; gap: 10px; align-items: flex-start; }
.setting-flex .form-input { flex-grow: 1; margin-bottom: 0; height: 42px; }
.setting-flex .btn-update { width: 100px; height: 42px; padding: 0; }
.btn-icon-only { width: 42px; height: 42px; padding: 0; display: flex; align-items: center; justify-content: center; }

.grant-wrapper { margin-top: -20px; padding: 30px; }
.grant-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.grant-checkbox-list { display: flex; flex-direction: column; gap: 10px; }
.grant-item { display: flex; align-items: center; justify-content: space-between; padding: 12px; background: var(--bg-hover); border-radius: 4px; border: 1px solid var(--border-color); }
.grant-item label { font-weight: bold; color: var(--text-primary); }

.modal-overlay { position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.6); z-index:2900; }
.modal-box { position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); background: var(--modal-bg); padding:25px; border-radius:8px; z-index:3000; width:350px; box-shadow:0 15px 50px rgba(0,0,0,0.7); border:1px solid var(--border-color); }
.modal-title { color:var(--text-primary); margin-top:0; margin-bottom:15px; font-size:18px; border-bottom:1px solid var(--border-color); padding-bottom:10px; }
.modal-menu-item { display:block; width:100%; padding:12px 15px; text-align:left; background: var(--bg-input); border: 1px solid var(--border-color); margin-bottom: 8px; border-radius: 6px; color:var(--text-primary); cursor:pointer; font-size:14px; transition: background 0.2s; }
.modal-menu-item:hover { background: var(--bg-hover); color:var(--text-primary); }
#mobile-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 900; }

.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px; padding-top: 10px; }
.home-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; padding: 20px; cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 15px; height: 100%; }
.home-card:hover { background: var(--bg-hover); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-color: var(--accent-blue); }
.home-card-icon { width: 45px; height: 45px; flex-shrink: 0; fill: var(--accent-blue); background: rgba(var(--accent-blue-rgb), 0.1); display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.home-card-icon svg { width: 28px; height: 28px; fill: var(--text-primary); }
.home-card-info { flex: 1; }
.home-card-info h3 { margin: 0 0 5px 0; color: var(--text-primary); font-size: 17px; }
.home-card-info p { margin: 0; color: var(--text-secondary); font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.home-divider { border-top: 1px solid var(--border-color); margin: 30px 0; }
.recent-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; background: var(--bg-card); }
.recent-item { padding: 12px 15px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; cursor: pointer; transition: background 0.2s; }
.recent-item:last-child { border-bottom: none; }
.recent-item:hover { background: var(--bg-hover); }
.recent-title { color: var(--text-primary); font-size: 14px; text-decoration: none; display: flex; align-items: center; gap: 8px; font-weight: bold; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 70%; }
.recent-meta { color: var(--text-secondary); font-size: 12px; display: flex; align-items: center; gap: 10px; }
.recent-badge { font-size: 11px; padding: 2px 6px; border-radius: 4px; background: var(--quote-bg); color: var(--text-secondary); flex-shrink: 0; }
.recent-comment-count { color: var(--comment-count-color); font-size: 12px; margin-left: -3px; }

.not-found-container { display:flex; flex-direction:column; align-items:center; justify-content:center; height:100%; text-align:center; padding: 20px; }
.not-found-code { font-size: 80px; font-weight: bold; color: var(--accent-blue); margin: 0; line-height: 1; }
.not-found-text { font-size: 20px; color: var(--text-primary); margin: 20px 0; }
.btn-home { padding: 10px 20px; background: var(--bg-input); border: 1px solid var(--border-color); border-radius: 30px; color: var(--text-primary); cursor: pointer; text-decoration: none; font-weight: bold; transition: 0.2s; }
.btn-home:hover { background: var(--accent-blue); color: white; border-color: var(--accent-blue); }

@media (max-width: 768px) {
    #sidebar { position:fixed; left:-280px; height:100%; top: 0; background: var(--bg-sidebar); box-shadow: 5px 0 15px rgba(0,0,0,0.5); padding-top: 0; z-index: 2000; } 
    #sidebar.open { transform:translateX(280px); }
    .sidebar-brand { background: var(--bg-sidebar); color: var(--text-primary); border-bottom: 1px solid var(--border-color); }
    #mobile-header { display:flex !important; height:60px; align-items:center; padding:0 20px; background: var(--bg-header-mobile); border-bottom: 1px solid rgba(0,0,0,0.1); color: white; position: fixed; width: 100%; top: 0; left: 0; z-index: 500; }
    #content-area { padding: 15px; padding-top: 80px; height: 100%; overflow-y: scroll; margin-top: 0; }
    .board-header { padding: 0; border: none; margin-bottom: 20px; }
    .board-header h2 { font-size: 24px; }
    table { display:none; } 
    .mobile-list { display:flex !important; }
    .btn-list-top { display: none; }
    .btn-settings { margin-left: 0; font-size: 13px; padding: 6px 10px; }
    .form-textarea { min-height: 300px; }
    #mobile-overlay.show { display: block; }
    .setting-flex { flex-direction: column; }
    .setting-flex .btn-update { width: 100%; margin-top: 5px; }
    .settings-container { padding: 20px 0; }
    .grant-wrapper { max-width: 600px; }
    .grant-header { flex-direction: column; align-items: stretch; gap: 5px; }
    .grant-header input { margin-bottom: 10px; }
    .grant-header label { margin-bottom: 5px; width: 100%; }
    .pagination { padding: 10px 0; }
    .comment-header { flex-direction: row; justify-content: space-between; align-items: center; gap: 5px; padding: 8px 10px; font-size: 13px; }
    .comment-user-info { max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .comment-meta-right { flex-shrink: 0; gap: 5px; font-size: 13px; }
    .comment-btn-link { padding: 4px 2px; }
    .btn-ban-small { font-size: 12px; padding: 2px 5px; }
    .tag-filter-bar { padding: 10px 0; }
    .btn-icon-only { width: 100%; }
    
    #view-config {
        height: calc(100vh - 100px); 
        display: flex;
        flex-direction: column;
    }
    .config-card { border: none; background: transparent; }
    .config-body { border: 1px solid var(--border-color); border-radius: 4px; }
    
    .board-grid { grid-template-columns: 1fr; }
    .recent-item { flex-direction: column; align-items: flex-start; gap: 5px; }
    .recent-title { max-width: 100%; }
    .recent-meta { width: 100%; justify-content: space-between; margin-top: 5px; }
}