*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0;height:100%}
body{background:#0f1116;color:#cfd4df;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:12.5px;line-height:1.4;overflow-x:hidden;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:#ff9f43;transition:color .12s}
a:hover{color:#ee8b2c}
img{max-width:100%}
button{font-family:inherit}
h1,h2,h3,h4{margin:0 0 10px;color:#fff;font-weight:700}
h1{font-size:19px}h2{font-size:16px}h3{font-size:13.5px}
p{margin:0 0 9px}
hr{border:0;border-top:1px solid #2a2e3a;margin:12px 0}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-track{background:#0f1116}
::-webkit-scrollbar-thumb{background:#2a2e3a;border-radius:6px}
::-webkit-scrollbar-thumb:hover{background:#3a4250}

/* SIDEBAR */
.sidebar{position:fixed;left:0;top:0;bottom:0;width:220px;background:#0f1116;border-right:1px solid #1a1d26;padding:10px 8px 30px;overflow-y:auto;z-index:100;transition:transform .25s ease}
.sidebar-logo{padding:4px 6px 10px;border-bottom:1px solid #1a1d26;margin-bottom:8px}
.sidebar-logo-title{font-size:12.5px;font-weight:700;color:#fff;line-height:1.2}
.sidebar-logo-sub{font-size:9px;color:#8a8f9b;letter-spacing:.5px;margin-top:3px;text-transform:uppercase}
.sidebar-user{margin-bottom:6px}
.sidebar-user-inner{display:flex;align-items:center;gap:8px;padding:8px;background:#181b22;border:1px solid #2a2e3a;border-radius:8px}
.sidebar-user-inner img{width:32px;height:32px;border-radius:50%;object-fit:cover;flex-shrink:0}
.sidebar-user-nick{font-weight:700;color:#fff;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar-user-sub{font-size:10px;color:#8a8f9b;margin-top:2px}
.sidebar-guest{display:flex;align-items:center;gap:8px;padding:8px;background:#181b22;border:1px solid #2a2e3a;border-radius:8px}
.sidebar-guest-icon{font-size:18px}
.sidebar-guest-title{font-weight:700;color:#fff;font-size:12px}
.sidebar-guest-sub{font-size:10px;color:#8a8f9b}
.sidebar-nav{display:flex;flex-direction:column;gap:4px;margin-top:10px}
.sidebar-nav a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;color:#cfd4df;font-size:12.5px;font-weight:500;background:#131722;border:1px solid transparent;transition:background .12s,border-color .12s}
.sidebar-nav a:hover{background:#1a1d26;border-color:#2a2e3a;color:#fff}
.sidebar-nav a.active{background:#ff9f43;color:#1a1a1a;font-weight:700;border-color:#ff9f43}
.sidebar-nav a .ico{width:20px;text-align:center;flex-shrink:0;font-size:14px}
.sidebar-nav .nav-sep{height:1px;background:#2a2e3a;margin:8px 4px}
.sidebar-btn{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:8px;color:#cfd4df;font-size:12px;background:#131722;border:1px solid transparent;width:100%;text-align:left;cursor:pointer;margin-top:4px;font-weight:500;transition:background .12s,border-color .12s}
.sidebar-btn:hover{background:#1a1d26;border-color:#2a2e3a;color:#fff}
.sidebar-btn.danger{color:#f88}
.sidebar-btn.danger:hover{background:#3a1414;border-color:#5a2020;color:#fff}
.sidebar-footer{display:none}
.notif-count{background:#e74c3c;color:#fff;font-size:9.5px;font-weight:700;padding:1px 6px;border-radius:10px;margin-left:auto;line-height:1.5}
.burger{display:none;position:fixed;top:10px;left:10px;z-index:200;width:38px;height:38px;background:#181b22;border:1px solid #2a2e3a;border-radius:9px;cursor:pointer;padding:0;flex-direction:column;justify-content:center;align-items:center;gap:4px}
.burger span{display:block;width:18px;height:2px;background:#cfd4df;border-radius:2px}
.sidebar-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:90}
.sidebar-overlay.show{display:block}
.content{margin-left:220px;padding:16px 16px 50px;min-height:100vh}

/* CARDS */
.card{background:#181b22;border:1px solid #2a2e3a;border-radius:10px;padding:14px;margin-bottom:12px}
.card h1:first-child,.card h2:first-child,.card h3:first-child{margin-top:0}

/* BTN */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:7px 13px;border:1px solid transparent;border-radius:7px;background:#232734;color:#fff;font-size:12.5px;font-weight:600;cursor:pointer;transition:.12s;text-decoration:none;line-height:1.2}
.btn:hover{background:#2c3140;color:#fff}
.btn.ok{background:#ff9f43;color:#1a1a1a;border-color:#ff9f43}
.btn.ok:hover{background:#ee8b2c;border-color:#ee8b2c}
.btn.alt{background:transparent;border-color:#2a2e3a;color:#cfd4df}
.btn.alt:hover{border-color:#3a4250;color:#fff;background:#1a1d26}
.btn.danger{background:#8b1a1a;color:#fff;border-color:#8b1a1a}
.btn.danger:hover{background:#a52222;border-color:#a52222}
.btn:disabled{opacity:.55;cursor:not-allowed}
.btn:focus{outline:none}

/* BADGES */
.badge-role,.badge-vip,.badge-ban{display:inline-block;font-size:9.5px;font-weight:700;padding:1px 6px;border-radius:5px;margin-left:5px;text-transform:uppercase;letter-spacing:.3px;vertical-align:middle;line-height:1.6}
.badge-ban{background:#3a1414;color:#f88}
.badge-role,.badge-vip{background-size:200% 200%!important;animation:roleGlow 3s ease infinite!important;color:#fff!important;text-shadow:0 0 3px rgba(0,0,0,.5)}
@keyframes roleGlow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.role-owner{background-image:linear-gradient(90deg,#f5a623,#ffdc5c,#f5a623)!important;color:#1a1a1a!important;text-shadow:none!important}
.role-founder{background-image:linear-gradient(90deg,#e74c3c,#ff7b7b,#e74c3c)!important}
.role-tech_admin{background-image:linear-gradient(90deg,#9b59b6,#d78dea,#9b59b6)!important}
.role-deputy_founder{background-image:linear-gradient(90deg,#e67e22,#ffb066,#e67e22)!important}
.role-curator{background-image:linear-gradient(90deg,#3498db,#7fc6f0,#3498db)!important}
.role-server_leader{background-image:linear-gradient(90deg,#16a085,#4cd1b3,#16a085)!important}
.role-deputy_leader{background-image:linear-gradient(90deg,#1abc9c,#5ee0c4,#1abc9c)!important}
.role-admin{background-image:linear-gradient(90deg,#2ecc71,#75e6a1,#2ecc71)!important}
.role-moderator{background-image:linear-gradient(90deg,#95a5a6,#cfd9da,#95a5a6)!important}
.role-trainee{background-image:linear-gradient(90deg,#7f8c8d,#b6bfc0,#7f8c8d)!important}
.vip-starter{background-image:linear-gradient(90deg,#95a5a6,#cfd9da,#95a5a6)!important}
.vip-pro{background-image:linear-gradient(90deg,#2980b9,#6bb6f0,#2980b9)!important}
.vip-master{background-image:linear-gradient(90deg,#9b59b6,#d78dea,#9b59b6)!important}
.vip-ultra{background-image:linear-gradient(90deg,#f1c40f,#fff275,#f1c40f)!important;color:#1a1a1a!important;text-shadow:none!important}
.vip-viptest{background-image:linear-gradient(90deg,#e67e22,#ffb066,#e67e22)!important}

/* AVATARS */
.avatar{border-radius:50%;object-fit:cover;background:#232734;flex-shrink:0}
.avatar.sm{width:28px;height:28px}
.avatar.md{width:42px;height:42px}
.avatar.lg{width:68px;height:68px}

/* MODALS */
.modal-bg{position:fixed;inset:0;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;z-index:9500;padding:16px;animation:fadeIn .15s ease}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.modal{background:#181b22;border:1px solid #2a2e3a;border-radius:12px;padding:18px;width:100%;max-width:500px;max-height:92vh;overflow-y:auto;color:#cfd4df}
.modal h2{margin-top:0;color:#fff;font-size:16px}

/* TOASTS */
.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%) translateY(50px);background:#232734;color:#fff;padding:9px 16px;border-radius:9px;font-size:12.5px;font-weight:600;opacity:0;transition:opacity .25s,transform .25s;z-index:10000;border:1px solid #2a2e3a;box-shadow:0 8px 24px rgba(0,0,0,.5);max-width:90vw;text-align:center}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.toast.ok{background:#1e4a2b;border-color:#2ecc71}
.toast.err{background:#4a1e1e;border-color:#e74c3c}

/* NOTIFS */
.notif-panel{position:fixed;top:50px;right:14px;width:320px;max-width:calc(100vw - 28px);max-height:72vh;background:#181b22;border:1px solid #2a2e3a;border-radius:10px;z-index:9000;display:none;overflow:hidden;flex-direction:column;box-shadow:0 10px 40px rgba(0,0,0,.55)}
.notif-panel.open{display:flex}
.notif-head{padding:10px 12px;border-bottom:1px solid #1a1d26;display:flex;justify-content:space-between;align-items:center;color:#fff;font-size:13px}
.notif-head-actions{display:flex;gap:5px}
.notif-head-actions .btn{padding:4px 9px;font-size:11px}
.notif-list{overflow-y:auto;max-height:60vh}
.notif-item{padding:9px 12px;border-bottom:1px solid #1a1d26;display:flex;gap:8px;cursor:pointer;position:relative;transition:background .12s}
.notif-item:hover{background:#1c1f28}
.notif-item.unread{background:#1a1d26}
.notif-item.unread::before{content:'';position:absolute;left:4px;top:50%;transform:translateY(-50%);width:5px;height:5px;border-radius:50%;background:#ff9f43}
.notif-body{flex:1;min-width:0}
.notif-text{font-size:12px;color:#cfd4df;word-break:break-word}
.notif-time{font-size:10px;color:#8a8f9b;margin-top:3px}
.notif-del{background:transparent;border:0;color:#8a8f9b;cursor:pointer;font-size:13px;padding:0 4px;align-self:flex-start}
.notif-del:hover{color:#f88}

/* LOADER */
.loader{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:50px 0;color:#8a8f9b;gap:12px;font-size:12px}
.spinner{width:34px;height:34px;border:3px solid #2a2e3a;border-top-color:#ff9f43;border-radius:50%;animation:spin .9s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* PROFILE */
.profile-actions{display:flex;flex-wrap:wrap;gap:6px}
.comment{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid #1a1d26}
.comment:last-child{border-bottom:0}
.comment-body{flex:1;min-width:0}
.comment-head{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:12px}
.comment-time{font-size:10px;color:#8a8f9b;margin-left:auto}
.comment-text{margin-top:4px;font-size:12.5px;color:#cfd4df;word-break:break-word}
.comment-attachments{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}
.comment-attachments img{max-width:110px;max-height:110px;border-radius:7px;cursor:pointer;object-fit:cover;border:1px solid #2a2e3a}
.comment-actions{display:flex;gap:8px;align-items:center;margin-top:7px}
.comment-actions label{color:#8a8f9b;cursor:pointer;font-size:12px}
.comment-actions label:hover{color:#ff9f43}
.attach-preview{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}
.attach-preview .item img{width:68px;height:68px;border-radius:5px;object-fit:cover;border:1px solid #2a2e3a}

/* EDITOR */
.editor-wrap{background:#0f1116;border:1px solid #2a2e3a;border-radius:9px;padding:9px 10px;min-height:100px}
.rich-toolbar{display:flex;flex-wrap:wrap;gap:2px;padding:5px;background:#181b22;border:1px solid #2a2e3a;border-radius:7px;margin-bottom:7px}
.rich-toolbar button{background:transparent;border:1px solid transparent;color:#cfd4df;padding:3px 6px;border-radius:5px;cursor:pointer;font-size:12px;line-height:1}
.rich-toolbar button:hover{background:#232734;color:#fff}
.rich-toolbar .sep{width:1px;background:#2a2e3a;margin:3px 3px}
.rich-editor{outline:none;min-height:90px;font-size:12.5px;line-height:1.5;color:#cfd4df}
.rich-editor .line{margin:0}
.rich-editor .txt{display:block}
.rich-content{line-height:1.5;color:#cfd4df;word-break:break-word}
.rich-content a{color:#ff9f43}

/* ============================================================
 *  RED-BG — тёмно-красный вместо ярко-красного
 * ============================================================ */
.red-bg,
.rich-editor .line .txt .red-bg,
.rich-content .line .txt .red-bg,
.rich-content .red-bg {
  display: inline;
  background: #6b0f0f;
  color: #f0d0d0;
  padding: 2px 8px 2px 6px;
  border-left: 3px solid #8b1a1a;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-weight: 500;
}

/* TABS */
.tabs{display:flex;flex-wrap:wrap;gap:3px;background:#0f1116;border:1px solid #2a2e3a;border-radius:9px;padding:3px}
.tabs button{background:transparent;border:0;color:#cfd4df;padding:7px 12px;border-radius:6px;font-weight:600;font-size:12.5px;cursor:pointer;transition:.12s}
.tabs button:hover{background:#181b22;color:#fff}
.tabs button.active{background:#ff9f43;color:#1a1a1a}

/* ============================================================
 *  ФОРМЫ — полностью тёмные, без белого
 * ============================================================ */
label{display:block;font-size:11px;color:#8a8f9b;margin:10px 0 4px;font-weight:500}
input, textarea, select {
  width: 100%;
  padding: 8px 10px;
  background: #0b0d12 !important;
  border: 1px solid #2a2e3a !important;
  border-radius: 7px;
  color: #e6e6ea !important;
  font-size: 12.5px;
  font-family: inherit;
  outline: none;
  transition: border-color .12s, background .12s;
}
input::placeholder, textarea::placeholder {
  color: #5a6070 !important;
  opacity: 1;
}
input:hover, textarea:hover, select:hover {
  background: #0f1116 !important;
  border-color: #3a4050 !important;
}
input:focus, textarea:focus, select:focus {
  background: #101218 !important;
  border-color: #ff9f43 !important;
  box-shadow: 0 0 0 3px rgba(255,159,67,.10) !important;
}
input:disabled, textarea:disabled, select:disabled {
  opacity: .55;
  cursor: not-allowed;
}
input[type=file] {
  padding: 8px 10px;
  color: #cfd4df;
}
input[type=file]::file-selector-button {
  background: #232734;
  color: #e6e6ea;
  border: 1px solid #2a2e3a;
  border-radius: 6px;
  padding: 6px 12px;
  margin-right: 10px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
}
input[type=file]::file-selector-button:hover {
  background: #2c3140;
  border-color: #3a4050;
}
input[type=checkbox], input[type=radio] {
  width: auto;
  accent-color: #ff9f43;
}
textarea { resize: vertical; min-height: 55px; }

/* Автозаполнение — тёмный фон, белый текст */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  -webkit-box-shadow: 0 0 0 1000px #0b0d12 inset !important;
  box-shadow: 0 0 0 1000px #0b0d12 inset !important;
  caret-color: #fff !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

/* GRIDS */
.grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:9px}
.stat-card{padding:12px;background:#0f1116;border:1px solid #2a2e3a;border-radius:9px;text-align:center}
.stat-val{font-size:19px;font-weight:800;color:#fff;line-height:1.15}
.stat-lbl{font-size:10px;color:#8a8f9b;margin-top:3px;text-transform:uppercase;letter-spacing:.3px}
.stat-card.green .stat-val{color:#2ecc71}
.stat-card.red .stat-val{color:#e74c3c}
.stat-card.blue .stat-val{color:#3498db}
.stat-card.purple .stat-val{color:#9b59b6}

/* TABLES */
.table-wrap{overflow-x:auto;border-radius:7px}
table{width:100%;border-collapse:collapse;font-size:12px}
th{text-align:left;padding:8px 6px;color:#8a8f9b;font-weight:600;font-size:10.5px;border-bottom:1px solid #2a2e3a;text-transform:uppercase;letter-spacing:.3px}
td{padding:8px 6px;border-bottom:1px solid #1a1d26;vertical-align:middle}
tr:hover td{background:#1c1f28}
tr:last-child td{border-bottom:0}

/* HERO */
.hero-banner{background:linear-gradient(135deg,#181b22,#101218);border:1px solid #2a2e3a;border-radius:12px;padding:20px 18px;margin-bottom:16px;position:relative;overflow:hidden}
.hero-banner::before{content:'';position:absolute;top:-80px;right:-80px;width:300px;height:300px;background:radial-gradient(circle,rgba(255,159,67,.15),transparent 70%);pointer-events:none}
.hero-title{font-size:20px;margin:0 0 7px;color:#fff;font-weight:800;line-height:1.2;position:relative}
.hero-title span{color:#ff9f43}
.hero-desc{color:#8a8f9b;margin:0 0 12px;font-size:12.5px;position:relative}
.hero-actions{display:flex;gap:6px;flex-wrap:wrap;position:relative}

/* SERVER CARD */
.servers-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,300px));gap:12px;margin-bottom:16px;justify-content:start}
@media(max-width:720px){.servers-grid{grid-template-columns:1fr}}
.server-card{background:#181b22;border:1px solid #2a2e3a;border-radius:10px;overflow:hidden;transition:border-color .15s;max-width:300px}
.server-card:hover{border-color:#3a4250}
.server-card-head{padding:10px 12px;display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.server-card-name{font-weight:700;color:#fff;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.server-card-map{font-size:11px;color:#8a8f9b;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.server-card-status{font-size:10.5px;font-weight:700;padding:3px 7px;border-radius:5px;display:flex;align-items:center;gap:4px;flex-shrink:0}
.server-card-status.online{background:#1e4a2b;color:#2ecc71}
.server-card-status.offline{background:#3a1414;color:#f88}
.server-card-preview{position:relative;aspect-ratio:16/9;background:#0f1116;overflow:hidden;max-height:130px}
.server-card-preview img{width:100%;height:100%;object-fit:cover;display:block}
.server-card-players{position:absolute;left:8px;bottom:8px;background:rgba(0,0,0,.75);padding:4px 8px;border-radius:6px;font-size:11px;color:#fff;display:flex;align-items:center;gap:6px;backdrop-filter:blur(4px)}
.server-card-players .bar{display:inline-block;width:50px;height:4px;background:#2a2e3a;border-radius:3px;overflow:hidden}
.server-card-players .bar i{display:block;height:100%;background:#ff9f43;transition:width .3s}
.server-card-body{padding:10px 12px}
.server-card-ip{font-family:Consolas,monospace;font-size:12px;color:#cfd4df;cursor:pointer;user-select:all;padding:5px 0;transition:color .12s}
.server-card-ip:hover{color:#ff9f43}
.server-card-actions{display:flex;gap:5px;margin-top:6px;flex-wrap:wrap}

/* SECTION HEAD */
.section-head{display:flex;justify-content:space-between;align-items:center;margin:18px 0 10px;flex-wrap:wrap;gap:6px}
.section-head h2{margin:0;color:#fff;font-size:16px}
.section-head .count{font-size:12px;color:#8a8f9b}

/* PHOTO VIEWER */
.photo-viewer{position:fixed;inset:0;background:rgba(0,0,0,.93);display:flex;align-items:center;justify-content:center;z-index:10000;cursor:zoom-out;animation:fadeIn .15s}
.photo-viewer img{max-width:92vw;max-height:92vh;transition:transform .12s ease-out;user-select:none;will-change:transform}
.photo-viewer .close{position:fixed;top:12px;right:14px;background:rgba(0,0,0,.7);color:#fff;border:1px solid rgba(255,255,255,.2);font-size:17px;width:36px;height:36px;border-radius:50%;cursor:pointer;z-index:10001}
.photo-viewer .close:hover{background:#c0392b}
.photo-viewer .controls{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);display:flex;gap:5px;background:rgba(0,0,0,.75);padding:5px;border-radius:10px;z-index:10001}
.photo-viewer .controls button{background:transparent;border:0;color:#fff;font-size:17px;width:36px;height:36px;border-radius:7px;cursor:pointer}
.photo-viewer .controls button:hover{background:rgba(255,255,255,.15)}

/* MSG */
.msg-layout{display:grid;grid-template-columns:260px 1fr;gap:12px;min-height:60vh}
.msg-sidebar{background:#0f1116;border:1px solid #2a2e3a;border-radius:9px;padding:8px;overflow-y:auto;max-height:72vh}
.msg-dlg-row{display:flex;gap:8px;padding:6px;border-radius:7px;cursor:pointer;align-items:center;transition:background .12s}
.msg-dlg-row:hover{background:#181b22}
.msg-dlg-row img{width:32px;height:32px;border-radius:50%;object-fit:cover;flex-shrink:0}
.msg-preview{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8a8f9b;margin-top:2px}
.msg-unread{background:#e74c3c;color:#fff;font-size:9.5px;padding:1px 6px;border-radius:10px;font-weight:700;line-height:1.6}
.msg-sep{font-size:10.5px;color:#8a8f9b;text-transform:uppercase;margin:10px 5px 3px;letter-spacing:.5px;font-weight:600}
.msg-chat{background:#0f1116;border:1px solid #2a2e3a;border-radius:9px;display:flex;flex-direction:column;min-height:60vh}
.msg-header{padding:9px 12px;border-bottom:1px solid #1a1d26;display:flex;align-items:center;gap:8px}
.msg-header img{width:32px;height:32px;border-radius:50%}
.msg-body{flex:1;padding:12px;overflow-y:auto;max-height:60vh;display:flex;flex-direction:column;gap:8px}
.msg-empty{display:flex;align-items:center;justify-content:center;flex:1;min-height:40vh}
.msg-bubble-wrap{display:flex;gap:7px;align-items:flex-start}
.msg-bubble-wrap.mine{flex-direction:row-reverse}
.msg-avatar{width:26px;height:26px;border-radius:50%;object-fit:cover;flex-shrink:0}
.msg-bubble{background:#181b22;padding:6px 10px;border-radius:9px;max-width:78%;word-break:break-word}
.msg-bubble-wrap.mine .msg-bubble{background:#232734}
.msg-bubble-head{font-size:10.5px;color:#8a8f9b;margin-bottom:3px}
.msg-text{font-size:12.5px;color:#cfd4df;white-space:pre-wrap}
.msg-composer{border-top:1px solid #1a1d26;padding:9px}
.msg-composer-row{display:flex;gap:7px;align-items:flex-end}
.msg-composer textarea{resize:none;min-height:38px;max-height:110px;margin:0}

.muted{color:#8a8f9b}
.settings-row{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px solid #1a1d26}
.settings-row:last-child{border-bottom:0}
#chatBox>div{animation:fadeIn .2s}

@media(max-width:900px){
  .content{margin-left:0;padding:56px 12px 40px}
  .sidebar{width:240px;transform:translateX(-100%);box-shadow:6px 0 24px rgba(0,0,0,.5)}
  .sidebar.open{transform:translateX(0)}
  .burger{display:flex}
  .msg-layout{grid-template-columns:1fr}
  .msg-sidebar{max-height:40vh}
  .notif-panel{top:56px;right:10px;left:10px;width:auto}
}
@media(max-width:600px){
  body{font-size:12px}
  .hero-title{font-size:17px}
  .card{padding:12px}
  .modal{padding:14px}
  .comment-attachments img{max-width:90px;max-height:90px}
  .btn{padding:7px 11px;font-size:12px}
  h1{font-size:17px}h2{font-size:14.5px}
  .server-card-players .bar{width:40px}
}
@media(max-width:400px){
  .sidebar-nav a{font-size:12px;padding:8px}
  .notif-panel{top:52px}
}