.brand{display:inline-flex;align-items:center;gap:10px;font-size:1rem;font-weight:900;letter-spacing:.15em}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,var(--primary),var(--primary-2));font-size:.92rem;letter-spacing:0;box-shadow:0 10px 28px rgba(139,92,246,.22)}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:0 18px;border:1px solid transparent;border-radius:12px;font-weight:750;cursor:pointer;transition:.18s ease}.button:hover{transform:translateY(-1px)}.button:disabled{opacity:.5;cursor:not-allowed;transform:none}.button-primary{background:linear-gradient(135deg,var(--primary),#a855f7 58%,var(--primary-2));box-shadow:0 14px 35px rgba(139,92,246,.2)}.button-ghost{background:var(--surface);border-color:var(--border);color:var(--text-soft)}.button-ghost:hover{background:var(--surface-2);color:var(--text)}.button-soft{background:var(--primary-soft);border-color:rgba(139,92,246,.22);color:#c4b5fd}.button-small{min-height:36px;padding:0 13px;font-size:.84rem}.button-large{min-height:52px;padding:0 24px}.button-full{width:100%}.button-row{display:flex;align-items:center;gap:10px}.icon-button{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;border:1px solid var(--border);background:var(--surface);cursor:pointer}.icon-button:hover{background:var(--surface-2)}.icon-button.danger:hover{color:#f87171;border-color:rgba(239,68,68,.3)}.card{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius);box-shadow:0 1px 0 rgba(255,255,255,.015)}.avatar{display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:linear-gradient(145deg,#2b2b37,var(--surface-2));border:1px solid #353542;color:#fff;font-weight:800;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.avatar-tiny{width:24px;height:24px;font-size:.68rem}.avatar-small{width:32px;height:32px;font-size:.76rem}.avatar-medium{width:42px;height:42px}.avatar-large{width:56px;height:56px;font-size:1.15rem}.avatar-xl{width:76px;height:76px;font-size:1.5rem}.avatar-xxl{width:108px;height:108px;font-size:2rem;border-radius:24px}.game-badge{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:4px 8px;border-radius:999px;font-size:.63rem;font-weight:900;letter-spacing:.08em;border:1px solid var(--border);background:var(--surface-2);color:var(--text-soft)}.game-badge.fivem{color:#c4b5fd;background:rgba(139,92,246,.11);border-color:rgba(139,92,246,.22)}.game-badge.redm{color:#fbbf24;background:rgba(245,158,11,.09);border-color:rgba(245,158,11,.22)}.game-badge.both{color:#93c5fd;background:rgba(59,130,246,.1);border-color:rgba(59,130,246,.2)}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:30px}.page-header h1{font-size:2.35rem;margin:7px 0 9px}.page-header p{max-width:690px;margin:0;color:var(--text-soft)}.section-heading{margin-bottom:38px}.section-heading.centered{text-align:center;max-width:760px;margin-inline:auto;margin-bottom:50px}.section-heading h2{margin:8px 0 13px}.section-heading p{color:var(--text-soft);max-width:680px}.section-heading.split{display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.text-link{display:inline-flex;align-items:center;gap:9px;color:#c4b5fd;font-weight:750}.text-link:hover{color:#fff}.section-subheading{display:flex;align-items:center;justify-content:space-between;margin:34px 0 18px}.section-subheading h2{font-size:1.35rem;margin:0}.section-subheading a{color:#c4b5fd;font-size:.88rem}.form-stack,.form-card{display:flex;flex-direction:column;gap:18px}.form-card{padding:24px}.form-card.wide{max-width:920px}.form-card h2,.form-card h3{margin-bottom:4px}.form-grid{display:grid;gap:18px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}label{display:flex;flex-direction:column;gap:8px;color:var(--text-soft);font-size:.86rem;font-weight:650}label small{font-weight:400;color:var(--muted)}input,textarea,select{width:100%;border:1px solid var(--border);border-radius:12px;background:var(--input-bg);color:var(--text);padding:12px 13px;outline:none;transition:.18s ease}textarea{resize:vertical}input:focus,textarea:focus,select:focus{border-color:rgba(139,92,246,.62);box-shadow:0 0 0 3px rgba(139,92,246,.11)}.form-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:4px}.check-row,.toggle-row{flex-direction:row;align-items:center;justify-content:space-between;gap:14px}.check-row span,.toggle-row span{display:flex;flex-direction:column;gap:3px}.check-row input[type=checkbox],.toggle-row input[type=checkbox]{position:relative;flex:0 0 auto;width:52px;height:32px;margin:0;border:0;border-radius:999px;background:#222230;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);cursor:pointer;appearance:none;-webkit-appearance:none;transition:background .22s ease,box-shadow .22s ease}.check-row input[type=checkbox]::before,.toggle-row input[type=checkbox]::before{content:"";position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:50%;background:linear-gradient(180deg,#fff,#d8d8e5);box-shadow:0 4px 12px rgba(0,0,0,.35);transition:transform .22s ease}.check-row input[type=checkbox]:checked,.toggle-row input[type=checkbox]:checked{background:linear-gradient(135deg,var(--primary),#a855f7 58%,var(--primary-2));box-shadow:0 0 0 1px rgba(139,92,246,.32),0 10px 25px rgba(139,92,246,.18)}.check-row input[type=checkbox]:checked::before,.toggle-row input[type=checkbox]:checked::before{transform:translateX(20px)}.check-row input[type=checkbox]:focus-visible,.toggle-row input[type=checkbox]:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(139,92,246,.15),inset 0 0 0 1px rgba(139,92,246,.4)}.check-row input[type=checkbox]:disabled,.toggle-row input[type=checkbox]:disabled{opacity:.5;cursor:not-allowed}.toast-stack{position:fixed;top:20px;right:20px;z-index:1000;display:flex;flex-direction:column;gap:10px;width:min(380px,calc(100% - 40px))}.toast{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:14px 15px;border-radius:14px;background:var(--surface-elevated);border:1px solid var(--border);box-shadow:var(--shadow)}.toast button{border:0;background:transparent;cursor:pointer;color:var(--muted)}.toast-success>i{color:#4ade80}.toast-error>i{color:#f87171}.toast-info>i{color:#60a5fa}.modal-backdrop{position:fixed;inset:0;z-index:900;background:rgba(3,3,6,.78);display:grid;place-items:center;padding:22px}.modal-card{width:min(720px,100%);max-height:88vh;overflow:auto;background:var(--surface-elevated);border:1px solid var(--border);border-radius:22px;box-shadow:var(--shadow)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:22px;border-bottom:1px solid var(--border-soft)}.modal-header h2{margin:5px 0 0}.modal-content{padding:22px}.empty-state{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:240px;padding:40px;border:1px dashed var(--border-strong);border-radius:var(--radius);background:rgba(255,255,255,.012)}.empty-state h3{margin:16px 0 7px}.empty-state p{max-width:460px;color:var(--muted)}.empty-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:var(--primary-soft);color:#c4b5fd;font-size:1.2rem}.filter-bar{display:flex;align-items:center;gap:9px;padding:10px;margin-bottom:24px;overflow-x:auto}.filter-chip{padding:9px 14px;border-radius:10px;color:var(--muted);white-space:nowrap;font-weight:700;font-size:.84rem}.filter-chip:hover,.filter-chip.active{background:var(--surface-3);color:var(--text)}.table-card{overflow:auto}.table-card table{width:100%;border-collapse:collapse}.table-card th,.table-card td{text-align:left;padding:15px 17px;border-bottom:1px solid var(--border-soft)}.table-card th{color:var(--muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.08em}.table-card td small{display:block;color:var(--muted)}.status-pill{padding:5px 9px;border-radius:999px;background:var(--primary-soft);color:#c4b5fd;font-size:.72rem;font-weight:800}.disclosure{padding:18px;margin-bottom:24px}.disclosure summary{cursor:pointer;font-weight:750}.disclosure form{margin-top:20px}.dashboard-tabs{display:flex;gap:7px;margin-bottom:22px}.dashboard-tabs a{padding:10px 15px;border-radius:10px;color:var(--muted)}.dashboard-tabs a.active{background:var(--surface-2);color:var(--text)}

.profile-cover,
.server-profile-cover,
.server-banner {
  position: relative;
  overflow: hidden;
}
.profile-cover > img,
.server-profile-cover > img,
.server-banner > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.server-banner .server-status { z-index: 2; }


.button-primary{color:var(--primary-contrast)}
.icon-button,.identity-current,.modal-card,.toast,.card{background:var(--surface)}
.button-soft{background:var(--primary-soft)}
html[data-theme="light"] .button-ghost{background:var(--surface)}
html[data-theme="light"] .button-ghost:hover{background:var(--surface-2)}
html[data-theme="light"] .modal-backdrop{background:rgba(15,23,42,.35);backdrop-filter:blur(6px)}

.theme-toggle-floating{
  position:fixed; top:18px; right:18px; z-index:160;
}
.theme-toggle-floating .theme-toggle-button{width:44px;height:44px}

.custom-file-upload{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px dashed var(--border-strong);border-radius:14px;background:var(--primary-softer)}
.custom-file-upload span{display:flex;flex-direction:column;gap:4px}
.custom-file-upload small{color:var(--muted)}
.custom-file-upload input{display:none}

.media-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}
.media-preview-card{overflow:hidden;border:1px solid var(--border);border-radius:16px;background:var(--surface-2)}
.media-preview-card img,.media-preview-card video{width:100%;height:210px;object-fit:cover;background:var(--surface-4)}
.media-preview-card footer{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;color:var(--muted);font-size:.82rem}

.mention-helper{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--border-soft);border-radius:14px;background:var(--surface-2)}
.mention-helper-row{display:flex;flex-wrap:wrap;gap:8px}
.mention-chip{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-soft);cursor:pointer;transition:.16s ease}
.mention-chip:hover{transform:translateY(-1px);border-color:rgba(139,92,246,.35);color:var(--text)}
.mention-chip i{color:#a78bfa}
.mention-suggestions{display:none;flex-wrap:wrap;gap:8px}
.mention-suggestions.is-visible{display:flex}

.form-hint{color:var(--muted);font-size:.8rem;line-height:1.45}
