body { font-family: monospace; background-color: #100F1C; color: #eee; margin: 0; padding: 0; box-sizing: border-box; min-height: 100vh; overflow-x: hidden; display: flex; flex-direction: column; padding-bottom: 80px; }
header { padding: 20px; position: sticky; top: 0; background-color: rgba(16, 15, 28, 0.95); backdrop-filter: blur(5px); z-index: 100; border-bottom: 1px solid #333; display: flex; align-items: center; justify-content: space-between; }
.back-btn { color: #e3e3e3; text-decoration: none; display: flex; align-items: center; justify-content: center; border: none; background: transparent; padding: 8px; border-radius: 50%; transition: all 0.2s; width: 32px; height: 32px; box-sizing: border-box; }
.back-btn:hover { background-color: rgba(255, 255, 255, 0.1); }
.back-btn svg { width: 18px; height: 18px; fill: currentColor; }
h2 { margin: 0; font-size: 0.8rem; color: #00ffa2; text-align: right; }
.comment-container { max-width: 800px; margin: 0 auto; width: 100%; padding: 20px; box-sizing: border-box; display: flex; flex-direction: column; gap: 15px; }
.comment-card { background-color: #0d0d0d; border: 1px solid #333; border-radius: 8px; padding: 15px; font-size: 0.7rem; animation: fade-in 0.5s ease-out; position: relative; transition: all 0.3s ease; overflow: visible; }
.comment-card.z-top { z-index: 500 !important; }
.comment-card.is-reply { border-top: 1px dashed #333; border-top-left-radius: 0; border-top-right-radius: 0; background-color: #141414; margin-top: -10px; position: relative; z-index: 1; }
.reply-context { font-size: 0.55rem; color: #888; margin-bottom: 5px; font-style: italic; display: block; padding-bottom: 4px; border-bottom: 1px solid #222; width: fit-content; }
.reply-context strong { color: #00ffa2; }
.comment-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; border-bottom: 1px solid #222; padding-bottom: 5px; }
.comment-user { color: #00ffa2; font-weight: bold; display: flex; align-items: center; gap: 2px; }
a.comment-user-link { color: inherit; text-decoration: none; border-bottom: none; cursor: pointer; display: inline-flex; align-items: center; }
.comment-user.system, .comment-user.admin { color: #00b7ff; }
.comment-user.system { gap: 0px; }
.link-icon { font-size: 12px !important; margin-left: 1px; opacity: 0.8; vertical-align: middle; color: inherit; }
.verified-icon-comment, .verified-icon-admin { width: 14px; height: 14px; object-fit: contain; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.verified-icon-comment { width: 18px; height: 18px; }
.comment-date { color: #666; font-size: 0.6rem; margin-left: auto; }
.comment-body { color: #ccc; line-height: 1.5; white-space: pre-wrap; word-break: break-word; margin-bottom: 8px; }
.comment-actions { display: flex; align-items: center; gap: 10px; }
.reply-action-btn { background: none; border: none; color: #555; font-family: monospace; font-size: 0.6rem; cursor: pointer; padding: 0; display: flex; align-items: center; gap: 4px; }
.reply-action-btn:hover { color: #00ffa2; text-decoration: underline; }
.menu-edit-icon { cursor: pointer; color: #555; display: flex; align-items: center; justify-content: center; transition: transform 0.2s, color 0.2s; margin-left: 6px; }
.menu-edit-icon:hover { color: #eee; }
.menu-edit-icon svg { width: 14px; height: 14px; fill: currentColor; }
.dropdown-container { position: relative; display: inline-block; }
.dropdown-content { display: none; position: absolute; right: 0; top: 20px; background-color: #1a1a1a; min-width: 100px; box-shadow: 0 4px 12px rgba(0,0,0,0.9); z-index: 1000; border: 1px solid #444; border-radius: 4px; overflow: hidden; }
.dropdown-content.show { display: block; }
.dropdown-item { color: #ccc; padding: 10px 12px; text-decoration: none; display: block; font-size: 0.65rem; cursor: pointer; transition: background 0.2s; }
.dropdown-item:hover { background-color: #333; }
.dropdown-item.delete { color: #ff4141; }
.dropdown-item.delete:hover { background-color: #330000; }
.fab-container { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 90; width: 90%; max-width: 300px; text-align: center; }
.add-btn { width: 100%; background-color: #005533; color: #eee; font-family: monospace; font-size: 0.8rem; padding: 12px; border: 1px solid #008855; border-radius: 8px; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.5); transition: transform 0.1s, background 0.2s; }
.add-btn:hover { background-color: #007744; transform: scale(1.02); }
.add-btn:active { transform: scale(0.98); }
.spam-msg { display: none; color: #ff4141; font-size: 0.6rem; background: rgba(13, 13, 13, 0.95); padding: 12px; border-radius: 8px; border: 1px solid #444; width: 100%; box-sizing: border-box; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.8); display: flex; justify-content: center; align-items: center; z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal.active { opacity: 1; pointer-events: auto; }
.modal-content { background-color: #1a1a1a; border: 1px solid #444; border-radius: 8px; width: 90%; max-width: 320px; padding: 20px; box-sizing: border-box; color: #eee; display: flex; flex-direction: column; gap: 10px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { margin: 0; font-size: 0.8rem; }
.modal-close { background: none; border: none; color: #ff4141; cursor: pointer; font-size: 1rem; }
.modal-input { width: 100%; background-color: #111; border: 1px solid #444; color: #00ffa2; padding: 8px; font-family: monospace; font-size: 0.7rem; box-sizing: border-box; margin-bottom: 10px; }
.modal-input:focus { outline: none; border-color: #00ffa2; }
.modal-textarea { width: 100%; background-color: #111; border: 1px solid #444; color: #eee; padding: 8px; font-family: monospace; font-size: 0.7rem; box-sizing: border-box; margin-bottom: 10px; resize: vertical; min-height: 80px; }
.modal-textarea:focus { outline: none; border-color: #00ffa2; }
.modal-btn { width: 100%; background-color: #0066cc; color: #eee; border: 1px solid #0055aa; border-radius: 4px; padding: 8px; cursor: pointer; font-family: monospace; font-size: 0.7rem; margin-bottom: 5px;}
.modal-btn:hover { background-color: #0077ee; }
.modal-btn.system-post { background-color: #444; border-color: #666; color: #00b7ff; }
.modal-btn.system-post:hover { background-color: #555; }
.modal-btn.danger { background-color: #800000; border-color: #aa0000; color: #eee; }
.modal-btn.danger:hover { background-color: #a00000; }
.warning-text { font-size: 0.55rem; color: #ccc; line-height: 1.5; margin-bottom: 10px; background-color: #222; padding: 10px; border-radius: 4px; border-left: 3px solid #ff9900; }
.warning-url { color: #00ffa2; word-break: break-all; font-weight: bold; }
.warning-alias { color: #fff; font-weight: bold; }
.warning-footer { font-size: 0.5rem; color: #666; text-align: center; margin-top: 5px; opacity: 0.7; }
#reply-indicator { font-size: 0.6rem; color: #888; margin-bottom: 5px; font-style: italic; display: none; }
#reply-indicator span { color: #00ffa2; }
#admin-indicator { font-size: 0.6rem; color: #00b7ff; margin-bottom: 10px; display: flex; align-items: center; gap: 5px; background: rgba(0, 183, 255, 0.1); padding: 8px; border-radius: 4px; border: 1px solid #00b7ff; }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }