* { margin: 0; padding: 0; box-sizing: border-box; } body { background: #f0e0d6; font-family: 'Arial', sans-serif; font-size: 14px; line-height: 1.4; color: #800000; } .container { max-width: 1200px; margin: 0 auto; padding: 10px; } .header { background: #efefef; border: 1px solid #b7c5d9; padding: 10px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; } .header h1 { font-size: 18px; font-weight: bold; color: #800000; } .home-link { color: #800000; text-decoration: none; } .home-link:hover { color: #ff6b6b; } .boards-btn, .logout-btn, .admin-btn { background: #d6daf0; border: 1px solid #b7c5d9; padding: 5px 10px; text-decoration: none; color: #800000; font-size: 12px; margin-left: 5px; } .boards-btn:hover, .logout-btn:hover, .admin-btn:hover { background: #e5e9f0; } .boards-container { background: #efefef; border: 1px solid #b7c5d9; margin-bottom: 10px; padding: 15px; } .boards-container h2 { color: #800000; margin-bottom: 15px; font-size: 16px; } .boards-list { display: grid; gap: 10px; } .board-item { background: #f0e0d6; border: 1px solid #d9bfb7; padding: 10px; transition: background 0.2s; } .board-item:hover { background: #e5d4c0; } .board-link { text-decoration: none; color: #800000; display: block; } .board-id { font-weight: bold; color: #ff6b6b; margin-right: 10px; } .board-name { font-weight: bold; margin-right: 10px; } .board-desc { color: #707070; font-size: 12px; } .motd-container { background: #efefef; border: 1px solid #b7c5d9; margin-bottom: 10px; padding: 15px; text-align: center; } .motd { color: #800000; font-size: 16px; font-weight: bold; } .board-container { background: #efefef; border: 1px solid #b7c5d9; margin-bottom: 10px; } .thread-container { padding: 10px; } .thread-header { background: #f0e0d6; border: 1px solid #d9bfb7; padding: 10px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; } .thread-header h2 { color: #800000; font-size: 16px; } .back-link { color: #ff6b6b; text-decoration: none; font-size: 12px; } .back-link:hover { text-decoration: underline; } .threads-container { padding: 10px; } .threads-list { max-height: 600px; overflow-y: auto; } .thread-item { background: #f0e0d6; border: 1px solid #d9bfb7; margin-bottom: 10px; padding: 10px; transition: background 0.2s; } .thread-item:hover { background: #e5d4c0; } .thread-link { text-decoration: none; color: #800000; } .thread-title { font-weight: bold; color: #ff6b6b; } .thread-info { color: #707070; font-size: 12px; margin-top: 5px; display: block; } .thread-file { margin: 10px 0; } .thread-image { max-width: 200px; max-height: 200px; border: 1px solid #d9bfb7; } .thread-description { color: #800000; margin-top: 10px; padding: 10px; background: #e5d4c0; border-left: 3px solid #ff6b6b; font-size: 13px; } .anonymous-id { color: #ff6b6b; font-weight: bold; margin-left: 10px; font-size: 12px; } .new-thread-button { text-align: center; margin: 20px 0; } .new-thread-btn { background: #ff6b6b; border: 1px solid #ff6b6b; padding: 15px 30px; color: #fff; text-decoration: none; font-size: 16px; font-weight: bold; border-radius: 5px; transition: background 0.2s; } .new-thread-btn:hover { background: #ff5252; } .new-thread-container { background: #efefef; border: 1px solid #b7c5d9; margin-bottom: 10px; padding: 20px; } .thread-form { background: #f0e0d6; border: 1px solid #d9bfb7; padding: 20px; margin-bottom: 20px; } .thread-form h2 { color: #800000; margin-bottom: 20px; font-size: 18px; } .markdown-help { background: #f0e0d6; border: 1px solid #d9bfb7; padding: 15px; } .markdown-help h3 { color: #800000; margin-bottom: 10px; font-size: 14px; } .markdown-help ul { list-style: none; padding: 0; } .markdown-help li { margin-bottom: 5px; font-size: 12px; color: #800000; } .markdown-help code { background: #e5d4c0; padding: 2px 4px; border-radius: 3px; font-family: monospace; } .cancel-btn { background: #d6daf0; border: 1px solid #b7c5d9; padding: 8px 15px; color: #800000; text-decoration: none; font-size: 14px; margin-left: 10px; } .cancel-btn:hover { background: #e5e9f0; } .post-message strong { font-weight: bold; } .post-message em { font-style: italic; } .post-message u { text-decoration: underline; } .post-message del { text-decoration: line-through; } .post-message code { background: #e5d4c0; padding: 2px 4px; border-radius: 3px; font-family: monospace; } .post-message ul { margin: 10px 0; padding-left: 20px; } .post-message li { margin-bottom: 5px; } .posts-container { max-height: 600px; overflow-y: auto; } .post { background: #f0e0d6; border: 1px solid #d9bfb7; margin-bottom: 10px; padding: 10px; border-left: 3px solid #ff6b6b; } .post-header { margin-bottom: 8px; font-size: 12px; border-bottom: 1px solid #d9bfb7; padding-bottom: 5px; } .post-id { font-weight: bold; color: #ff6b6b; } .post-time { color: #707070; margin-left: 10px; } .post-file { margin-bottom: 8px; } .post-image { max-width: 300px; max-height: 300px; border: 1px solid #d9bfb7; } .file-info { font-size: 11px; color: #707070; margin-top: 5px; } .post-message { white-space: pre-wrap; word-wrap: break-word; color: #800000; } .reply-link { color: #ffa500; text-decoration: none; font-weight: bold; } .reply-link:hover { text-decoration: underline; } .post-form { background: #efefef; border: 1px solid #b7c5d9; padding: 10px; } .form-row { margin-bottom: 10px; } .title-input { width: 100%; border: 1px solid #b7c5d9; padding: 8px; font-family: inherit; font-size: 14px; background: #f0e0d6; color: #800000; } .title-input:focus { outline: none; border-color: #ff6b6b; } .description-input { width: 100%; height: 60px; border: 1px solid #b7c5d9; padding: 8px; font-family: inherit; font-size: 14px; resize: vertical; background: #f0e0d6; color: #800000; } .description-input:focus { outline: none; border-color: #ff6b6b; } .message-input { width: 100%; height: 80px; border: 1px solid #b7c5d9; padding: 8px; font-family: inherit; font-size: 14px; resize: vertical; background: #f0e0d6; color: #800000; } .message-input:focus { outline: none; border-color: #ff6b6b; } .file-input { border: 1px solid #b7c5d9; padding: 5px; font-size: 12px; margin-right: 10px; background: #f0e0d6; color: #800000; } .send-btn { background: #d6daf0; border: 1px solid #b7c5d9; padding: 8px 15px; color: #800000; font-size: 14px; cursor: pointer; transition: background 0.2s; } .send-btn:hover { background: #e5e9f0; } .error { background: #ffd6d6; border: 1px solid #ff9999; color: #cc0000; padding: 10px; margin-bottom: 10px; font-size: 14px; } ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #f0e0d6; } ::-webkit-scrollbar-thumb { background: #d9bfb7; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #c4a6a0; } .post-message { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .theme-toggle { position: fixed; top: 20px; right: 20px; background: #f4d03f; border: 2px solid #e67e22; color: #8b4513; padding: 8px 12px; border-radius: 5px; cursor: pointer; font-weight: bold; z-index: 1000; transition: all 0.3s ease; } .theme-toggle:hover { background: #f39c12; transform: scale(1.05); } .dark-theme { background: #1a1a1a; color: #e0e0e0; } .dark-theme .header { background: #2d2d2d; border-bottom: 2px solid #444; } .dark-theme .header h1 { color: #f4d03f; } .dark-theme .header a { color: #f39c12; } .dark-theme .header a:hover { color: #e67e22; } .dark-theme .container { background: #2d2d2d; border: 2px solid #444; } .dark-theme .board-list { background: #333; border: 1px solid #555; } .dark-theme .board-item { background: #444; border: 1px solid #666; } .dark-theme .board-item:hover { background: #555; } .dark-theme .board-item a { color: #f4d03f; } .dark-theme .threads-table { background: #333; border: 1px solid #555; } .dark-theme .threads-table th { background: #444; color: #f4d03f; border-bottom: 2px solid #666; } .dark-theme .threads-table td { border-bottom: 1px solid #555; } .dark-theme .thread-id { color: #f39c12; } .dark-theme .thread-title { color: #e0e0e0; } .dark-theme .thread-title a { color: #f4d03f; } .dark-theme .thread-title a:hover { color: #f39c12; } .dark-theme .posts-container { background: #333; border: 1px solid #555; } .dark-theme .post { background: #444; border: 1px solid #666; } .dark-theme .post-header { background: #555; border-bottom: 1px solid #777; } .dark-theme .post-id { color: #f39c12; } .dark-theme .post-time { color: #aaa; } .dark-theme .post-content { color: #e0e0e0; } .dark-theme .post-image { border: 1px solid #666; } .dark-theme .form-container { background: #333; border: 1px solid #555; } .dark-theme .form-row { border-bottom: 1px solid #555; } .dark-theme .form-row:last-child { border-bottom: none; } .dark-theme input[type="text"], .dark-theme input[type="password"], .dark-theme textarea { background: #444; border: 1px solid #666; color: #e0e0e0; } .dark-theme input[type="text"]:focus, .dark-theme input[type="password"]:focus, .dark-theme textarea:focus { border-color: #f39c12; outline: none; } .dark-theme .btn { background: #f4d03f; border: 2px solid #e67e22; color: #8b4513; } .dark-theme .btn:hover { background: #f39c12; } .dark-theme .new-thread-btn { background: #f4d03f; border: 2px solid #e67e22; color: #8b4513; } .dark-theme .new-thread-btn:hover { background: #f39c12; } .dark-theme .error { background: #4a2c2c; border: 1px solid #8b4513; color: #ff6b6b; } .dark-theme .success { background: #2c4a2c; border: 1px solid #4a8b4a; color: #6bff6b; } .dark-theme .motd { background: #333; border: 1px solid #555; color: #f4d03f; } .dark-theme .admin-panel { background: #333; border: 1px solid #555; } .dark-theme .admin-panel h1, .dark-theme .admin-panel h2 { color: #f4d03f; } .dark-theme .delete-btn { background: #8b4513; border: 2px solid #a0522d; color: #fff; } .dark-theme .delete-btn:hover { background: #a0522d; } .dark-theme .theme-toggle { background: #f4d03f; border: 2px solid #e67e22; color: #8b4513; } .dark-theme .theme-toggle:hover { background: #f39c12; } .dark-theme .boards-container { background: #333; border: 1px solid #555; } .dark-theme .boards-container h2 { color: #f4d03f; } .dark-theme .board-item { background: #444; border: 1px solid #666; } .dark-theme .board-item:hover { background: #555; } .dark-theme .board-link { color: #e0e0e0; } .dark-theme .board-id { color: #f39c12; } .dark-theme .board-name { color: #f4d03f; } .dark-theme .board-desc { color: #aaa; } .dark-theme .motd-container { background: #333; border: 1px solid #555; } .dark-theme .thread-container { background: #333; border: 1px solid #555; } .dark-theme .thread-header { background: #444; border-bottom: 1px solid #666; } .dark-theme .thread-header h2 { color: #f4d03f; } .dark-theme .back-link { color: #f39c12; } .dark-theme .back-link:hover { color: #e67e22; } .dark-theme .threads-container { background: #333; border: 1px solid #555; } .dark-theme .threads-list { background: #333; } .dark-theme .thread-item { background: #444; border: 1px solid #666; } .dark-theme .thread-item:hover { background: #555; } .dark-theme .thread-link { color: #f4d03f; } .dark-theme .thread-title { color: #e0e0e0; } .dark-theme .thread-info { color: #aaa; } .dark-theme .thread-file { border: 1px solid #666; } .dark-theme .thread-image { border: 1px solid #666; } .dark-theme .thread-description { color: #e0e0e0; background: #444; border: 1px solid #666; padding: 8px; margin: 5px 0; } .dark-theme .anonymous-id { color: #f39c12; } .dark-theme .new-thread-button { background: #333; border: 1px solid #555; } .dark-theme .new-thread-container { background: #333; border: 1px solid #555; } .dark-theme .thread-form { background: #333; border: 1px solid #555; } .dark-theme .thread-form h2 { color: #f4d03f; } .dark-theme .markdown-help { background: #444; border: 1px solid #666; } .dark-theme .markdown-help h3 { color: #f4d03f; } .dark-theme .markdown-help ul { color: #e0e0e0; } .dark-theme .markdown-help li { color: #e0e0e0; } .dark-theme .markdown-help code { background: #555; color: #f39c12; } .dark-theme .cancel-btn { background: #8b4513; border: 2px solid #a0522d; color: #fff; } .dark-theme .cancel-btn:hover { background: #a0522d; } .dark-theme .post-message strong { color: #f4d03f; } .dark-theme .post-message em { color: #f39c12; } .dark-theme .post-message u { color: #e67e22; } .dark-theme .post-message del { color: #ff6b6b; } .dark-theme .post-message code { background: #555; color: #f39c12; } .dark-theme .post-message ul { color: #e0e0e0; } .dark-theme .post-message li { color: #e0e0e0; } .dark-theme .post-form { background: #333; border: 1px solid #555; } .dark-theme .form-row { border-bottom: 1px solid #555; } .dark-theme .form-row:last-child { border-bottom: none; } .dark-theme .title-input, .dark-theme .description-input, .dark-theme .message-input, .dark-theme .file-input { background: #444; border: 1px solid #666; color: #e0e0e0; } .dark-theme .title-input:focus, .dark-theme .description-input:focus, .dark-theme .message-input:focus, .dark-theme .file-input:focus { border-color: #f39c12; outline: none; } .dark-theme .description-input { background: #444 !important; border: 1px solid #666 !important; color: #e0e0e0 !important; } .dark-theme .description-input:focus { border-color: #f39c12 !important; outline: none !important; } .dark-theme .send-btn { background: #f4d03f; border: 2px solid #e67e22; color: #8b4513; } .dark-theme .send-btn:hover { background: #f39c12; } .dark-theme .file-info { color: #aaa; } .dark-theme .reply-link { color: #f39c12; } .dark-theme .reply-link:hover { color: #e67e22; } .dark-theme ::-webkit-scrollbar { width: 8px; } .dark-theme ::-webkit-scrollbar-track { background: #333; } .dark-theme ::-webkit-scrollbar-thumb { background: #666; border-radius: 4px; } .dark-theme ::-webkit-scrollbar-thumb:hover { background: #888; }