body {
    margin: 0;
    padding: 0;
    background: #111111;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #dddddd;
}

.wrapper {
    width: 70%;
    min-width: 980px;
    margin: 18px auto;
}

.topbox {
    background: #272727;
    border: 1px solid #3f3f3f;
    border-radius: 4px;
    overflow: hidden;
}

.logo {
    padding: 6px 16px;
    background: #272727;
    border-bottom: 1px solid #333333;
    font-size: 20px;
    line-height: 1.5;
}

.logo a {
    text-decoration: none;
    display: inline-block;
    line-height: 1.2;
}

.logo-white {
    color: #f2f2f2;
}

.logo-green {
    color: #99cc33;
}

.maintab {
    background: #3a3a3a;
    padding: 12px 16px;
    border-bottom: 1px solid #313131;
}

.maintab a {
    display: inline-block;
    color: #f5f5f5;
    text-decoration: none;
    margin-right: 24px;
    font-size: 14px;
    vertical-align: middle;
}

.maintab a:hover {
    color: #62a8ff;
}

.menu-icon {
    display: inline-block;
    margin-right: 18px;
    color: #f0f0f0;
    font-size: 15px;
    vertical-align: middle;
}

.login-status {
    background: #272727;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 12px;
}

.status-main {
    margin-bottom: 3px;
}

.status-sub {
    color: #d7d7d7;
    font-size: 12px;
}

.block {
    margin-top: 16px;
    background: #272727;
    border: 1px solid #3f3f3f;
    border-radius: 4px;
    overflow: hidden;
}

.block-title {
    background: #3a3a3a;
    padding: 11px 12px;
    font-weight: bold;
    font-size: 12px;
    color: #e7e7e7;
}

.block-body {
    padding: 14px 14px 18px 14px;
    background: #272727;
    color: #f1f1f1;
}

.block-body p {
    margin: 0 0 8px 0;
}

.block-body a {
    color: #58a6ff;
    text-decoration: none;
}

.block-body a:hover {
    text-decoration: underline;
}

.forum-fieldset {
    border: 1px solid #4e4e4e;
    margin: 18px 10px;
    padding: 18px 14px 16px 14px;
    background: transparent;
}

.forum-fieldset legend {
    color: #45a0ff;
    padding: 0 8px;
    font-size: 12px;
}

.forum-fieldset label {
    display: block;
    margin-bottom: 6px;
    color: #f3f3f3;
    font-weight: bold;
    font-size: 15px;
}

.normal-label {
    display: inline;
    margin: 0;
    font-weight: normal !important;
    font-size: 13px !important;
    color: #f3f3f3;
}

.forum-input,
.forum-select {
    background: #202020;
    border: 1px solid #4c4c4c;
    color: #ffffff;
    font-size: 12px;
    padding: 2px 5px;
    box-sizing: border-box;
    height: 21px;
    outline: none;
}

.forum-input:focus,
.forum-select:focus {
    border-color: #62a8ff;
}

.short-input {
    width: 212px;
}

.medium-input {
    width: 396px;
}

.mini-input {
    width: 144px;
}

.login-input {
    width: 210px;
}

.twofa-input {
    width: 262px;
}

.timezone-input {
    width: 418px;
}

.inline-fields {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.inline-field {
    display: inline-block;
}

.forum-text {
    margin: 10px 0 0 0;
    color: #f1f1f1;
    font-size: 15px;
    line-height: 1.35;
}

.forum-text-top {
    margin-top: 0;
    margin-bottom: 10px;
}

.check-line,
.radio-line {
    margin-top: 10px;
    font-size: 15px;
    color: #f1f1f1;
}

.check-line input,
.radio-line input {
    margin-right: 8px;
    vertical-align: middle;
}

.login-check-line {
    margin-top: 10px;
}

.login-help-text {
    margin-top: 10px;
    margin-bottom: 6px;
}

.login-links {
    margin: 0;
}

.login-links a {
    margin-right: 18px;
}

.submit-row {
    margin: 0 10px 4px 10px;
}

.forum-button {
    background: #2d2d2d;
    border: 1px solid #4d4d4d;
    color: #ffffff;
    font-size: 13px;
    padding: 6px 12px;
    cursor: pointer;
}

.forum-button:hover {
    background: #373737;
}

.message {
    margin: 0 10px 16px 10px;
    padding: 12px 14px;
    border: 1px solid #4b4b4b;
}

.message.error {
    background: #341f1f;
    color: #ffb8b8;
}

.message.success {
    background: #1f3422;
    color: #b9f3c0;
}

.message ul {
    margin: 0;
    padding-left: 18px;
}

.captcha-placeholder {
    margin-top: 8px;
}

.captcha-box {
    width: 376px;
    height: 92px;
    background: #f1f1f1;
    border: 1px solid #c8c8c8;
    border-radius: 3px;
    color: #222222;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 18px;
    box-sizing: border-box;
}

.captcha-check {
    width: 28px;
    height: 28px;
    border: 1px solid #b8b8b8;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #17a05d;
    margin-right: 14px;
    line-height: 1;
}

.captcha-text {
    font-size: 17px;
    color: #222222;
}

.captcha-brand {
    position: absolute;
    right: 16px;
    bottom: 14px;
    font-size: 16px;
    color: #666666;
}

.announce-red {
    color: #ff3232;
}

.premium-link {
    color: #ff3a3a !important;
    font-weight: bold;
}

.executive-link {
    color: #00fff2 !important;
    font-weight: bold;
}

.admin-link {
    color: #ffd447 !important;
    font-weight: bold;
}

.chatbox-body {
    padding-bottom: 10px;
}

.chat-lines {
    height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #5a5a5a;
    padding: 8px;
    margin-bottom: 10px;
    background: #262626;
    scrollbar-width: thin;
    scrollbar-color: #7a7a7a #2e2e2e;
}

.chat-lines::-webkit-scrollbar {
    width: 12px;
}

.chat-lines::-webkit-scrollbar-track {
    background: #2e2e2e;
}

.chat-lines::-webkit-scrollbar-thumb {
    background: #7a7a7a;
    border-radius: 8px;
    border: 2px solid #2e2e2e;
}

.chat-lines::-webkit-scrollbar-thumb:hover {
    background: #8b8b8b;
}

.chat-lines::-webkit-scrollbar-corner {
    background: #2e2e2e;
}

.chat-empty {
    color: #9c9c9c;
    font-size: 13px;
}

.chat-line {
    font-size: 13px;
    margin-bottom: 4px;
    position: relative;
    padding-right: 150px;
    word-wrap: break-word;
}

.chat-user {
    font-weight: bold;
}

.chat-time {
    position: absolute;
    right: 0;
    top: 0;
    color: #8d8d8d;
    font-size: 11px;
}

.member-user {
    color: #9acd32;
}

.admin-user {
    color: #ffd447;
}

.executive-user {
    color: #ff3b3b;
}

.owner-user {
    background: linear-gradient(90deg, #ff4fd8 0%, #7aa2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.chat-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-form label {
    margin: 0;
    font-size: 12px;
}

.chat-form input {
    flex: 1;
    background: #202020;
    border: 1px solid #4c4c4c;
    color: #ffffff;
    height: 22px;
    padding: 2px 5px;
    box-sizing: border-box;
}

.chat-form button {
    background: #2d2d2d;
    border: 1px solid #4d4d4d;
    color: #ffffff;
    font-size: 12px;
    padding: 4px 10px;
    cursor: pointer;
}

.forum-table {
    background: #272727;
}

.forum-table-header {
    display: flex;
    border-top: 1px solid #8cb000;
    background: #313131;
    color: #cccccc;
    font-size: 12px;
    font-weight: bold;
}

.forum-row {
    display: flex;
    border-top: 1px solid #3a3a3a;
}

.forum-col {
    padding: 10px 12px;
}

.forum-col-main {
    flex: 1;
}

.forum-col-last {
    width: 260px;
    color: #d5d5d5;
    font-size: 12px;
}

.forum-name {
    font-weight: bold;
    color: #f0f0f0;
    margin-bottom: 3px;
}

.forum-desc {
    color: #999999;
    font-size: 12px;
}

.footer {
    margin-top: 16px;
    background: #272727;
    border: 1px solid #3f3f3f;
    border-radius: 4px;
    padding: 12px 14px;
    color: #f1f1f1;
}

.members-layout {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.members-sidebar {
    width: 300px;
    flex: 0 0 300px;
}

.members-results {
    flex: 1;
}

.members-fieldset {
    margin: 0;
}

.members-search-input {
    width: 100%;
    margin-bottom: 10px;
}

.members-submit-row {
    margin: 14px 0 0 0;
}

.members-results-title {
    background: #3a3a3a;
    border: 1px solid #4a4a4a;
    color: #e7e7e7;
    font-weight: bold;
    font-size: 12px;
    padding: 10px 12px;
    margin-bottom: 0;
}

.members-empty {
    border: 1px solid #4a4a4a;
    border-top: none;
    background: #272727;
    color: #cfcfcf;
    padding: 14px 12px;
}

.members-table {
    border: 1px solid #4a4a4a;
    border-top: none;
}

.members-table-header,
.members-row {
    display: flex;
}

.members-table-header {
    background: #313131;
    color: #d8d8d8;
    font-size: 12px;
    font-weight: bold;
    border-top: 1px solid #88a800;
}

.members-row {
    background: #272727;
    border-top: 1px solid #3b3b3b;
}

.members-col {
    padding: 10px 12px;
    box-sizing: border-box;
    font-size: 12px;
    color: #f1f1f1;
}

.members-col-uid {
    width: 90px;
}

.members-col-name {
    flex: 1;
}

.members-col-role {
    width: 130px;
}

.members-col-date {
    width: 190px;
}

.forum-name a {
    color: #f0f0f0;
    text-decoration: none;
}

.forum-name a:hover {
    color: #62a8ff;
}

.forum-breadcrumb {
    margin-bottom: 10px;
    color: #cfcfcf;
    font-size: 12px;
}

.forum-breadcrumb a {
    color: #58a6ff;
    text-decoration: none;
}

.forum-breadcrumb a:hover {
    text-decoration: underline;
}

.forum-section-desc {
    margin-bottom: 16px !important;
    color: #bcbcbc;
}

.forum-textarea {
    width: 100%;
    min-height: 140px;
    resize: vertical;
    background: #202020;
    border: 1px solid #4c4c4c;
    color: #ffffff;
    font-size: 13px;
    padding: 8px;
    box-sizing: border-box;
    outline: none;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

.forum-textarea:focus {
    border-color: #62a8ff;
}

.forum-submit-row-clean {
    margin: 14px 0 0 0;
}

.thread-list {
    margin-top: 18px;
}

.thread-empty {
    background: #232323;
    border: 1px solid #404040;
    padding: 14px;
    color: #bbbbbb;
}

.thread-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    background: #202020;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    padding: 16px 18px;
    margin-bottom: 12px;
}

.thread-main {
    flex: 1;
}

.thread-title a {
    color: #ff4fa0;
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
}

.thread-title a:hover {
    color: #ff79bb;
}

.thread-meta {
    margin-top: 8px;
    color: #a9a9a9;
    font-size: 13px;
}

.thread-stats {
    width: 150px;
    text-align: right;
    color: #dadada;
    font-size: 13px;
    line-height: 1.6;
}

.post-view {
    display: flex;
    border: 1px solid #3d3d3d;
    background: #1d1d1d;
    min-height: 520px;
}

.post-sidebar {
    width: 180px;
    border-right: 1px solid #333333;
    padding: 18px 14px;
    box-sizing: border-box;
    text-align: center;
}

.post-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #3a3a3a;
    margin: 0 auto 12px auto;
}

.post-author {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
}

.post-role {
    color: #e5e5e5;
    font-size: 13px;
}

.post-content-wrap {
    flex: 1;
    padding: 14px 18px 20px 18px;
    box-sizing: border-box;
}

.post-date {
    color: #8f86d9;
    font-size: 14px;
    margin-bottom: 18px;
}

.post-content {
    color: #f4f4f4;
    font-size: 16px;
    line-height: 1.7;
    min-height: 360px;
}

.post-footer-meta {
    margin-top: 30px;
    text-align: right;
    color: #8f86d9;
    font-size: 13px;
}

.forum-name a {
    color: #f0f0f0;
    text-decoration: none;
}

.forum-name a:hover {
    color: #62a8ff;
    text-decoration: underline;
}

.forum-page-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.new-post-button {
    display: inline-block;
    padding: 5px 10px;
    background: #2f2f2f;
    border: 1px solid #4a4a4a;
    border-radius: 3px;
    color: #f1f1f1;
    text-decoration: none;
    font-size: 12px;
    font-weight: normal;
}

.new-post-button:hover {
    color: #62a8ff;
    border-color: #5a5a5a;
}

.forum-name a {
    color: #f0f7e6;
    text-decoration: none;
}

.forum-name a:hover {
    color: #62a8ff;
    text-decoration: none;
}

.forum-breadcrumb {
    margin-bottom: 10px;
    color: #cfcfcf;
    font-size: 12px;
}

.forum-breadcrumb a {
    color: #58a6ff;
    text-decoration: none;
}

.forum-breadcrumb a:hover {
    text-decoration: underline;
}

.forum-section-desc {
    margin-bottom: 16px !important;
    color: #bcbcbc;
}

.forum-textarea {
    width: 100%;
    min-height: 140px;
    resize: vertical;
    background: #202020;
    border: 1px solid #4c4c4c;
    color: #ffffff;
    font-size: 13px;
    padding: 8px;
    box-sizing: border-box;
    outline: none;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

.forum-textarea:focus {
    border-color: #62a8ff;
}

.forum-file-input {
    display: block;
    width: 100%;
    color: #e7e7e7;
    font-size: 12px;
    margin-top: 6px;
}

.forum-submit-row-clean {
    margin: 14px 0 0 0;
}

.thread-list {
    margin-top: 18px;
}

.thread-empty {
    background: #232323;
    border: 1px solid #404040;
    padding: 14px;
    color: #bbbbbb;
}

.thread-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    background: #232323;
    border: 1px solid #343434;
    border-radius: 3px;
    padding: 12px 14px;
    margin-bottom: 8px;
}

.thread-main {
    flex: 1;
}

.thread-title a {
    color: #dff2cf;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.thread-title a:hover {
    color: #62a8ff;
}

.thread-meta {
    margin-top: 6px;
    color: #a9a9a9;
    font-size: 12px;
}

.thread-stats {
    width: 140px;
    text-align: right;
    color: #dadada;
    font-size: 12px;
    line-height: 1.5;
}

.post-view {
    display: flex;
    border: 1px solid #3d3d3d;
    background: #1d1d1d;
    min-height: 520px;
}

.post-sidebar {
    width: 180px;
    border-right: 1px solid #333333;
    padding: 18px 14px;
    box-sizing: border-box;
    text-align: center;
}

.post-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #3a3a3a;
    margin: 0 auto 12px auto;
}

.post-author {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
}

.post-role {
    color: #e5e5e5;
    font-size: 13px;
}

.post-content-wrap {
    flex: 1;
    padding: 14px 18px 20px 18px;
    box-sizing: border-box;
}

.post-date {
    color: #8f86d9;
    font-size: 14px;
    margin-bottom: 18px;
}

.post-content {
    color: #f4f4f4;
    font-size: 16px;
    line-height: 1.7;
    min-height: 120px;
}

.post-image-wrap {
    margin-top: 18px;
}

.post-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #404040;
    border-radius: 4px;
    display: block;
}

.post-footer-meta {
    margin-top: 30px;
    text-align: right;
    color: #8f86d9;
    font-size: 13px;
}

.forum-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forum-topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.new-post-link {
    background: none;
    border: none;
    color: #7a1bbd;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.new-post-link:hover {
    color: #62a8ff;
}

.forum-topbar-dot {
    width: 10px;
    height: 10px;
    background: #ff2a2a;
    border-radius: 50%;
}

.forum-name a {
    color: #e8f6dc;
    text-decoration: none;
}

.forum-name a:hover {
    color: #62a8ff;
    text-decoration: none;
}

.forum-breadcrumb {
    margin-bottom: 10px;
    color: #cfcfcf;
    font-size: 12px;
}

.forum-breadcrumb a {
    color: #58a6ff;
    text-decoration: none;
}

.forum-breadcrumb a:hover {
    text-decoration: underline;
}

.forum-section-desc {
    margin-bottom: 16px !important;
    color: #bcbcbc;
}

.thread-list {
    margin-top: 14px;
}

.thread-empty {
    background: #232323;
    border: 1px solid #404040;
    padding: 14px;
    color: #bbbbbb;
}

.thread-card {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 14px;
    background: #232323;
    border: 1px solid #3a3a3a;
    border-radius: 3px;
    padding: 10px 14px;
    margin-bottom: 8px;
    min-height: 40px;
}

.thread-main {
    flex: 1;
}

.thread-title a {
    color: #dff2cf;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.2;
}

.thread-title a:hover {
    color: #62a8ff;
}

.thread-meta {
    margin-top: 8px;
    color: #a9a9a9;
    font-size: 12px;
}

.thread-stats {
    width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    color: #f1f1f1;
    font-size: 12px;
    line-height: 1.5;
    text-align: right;
}

.forum-textarea {
    width: 100%;
    min-height: 140px;
    resize: vertical;
    background: #202020;
    border: 1px solid #4c4c4c;
    color: #ffffff;
    font-size: 13px;
    padding: 8px;
    box-sizing: border-box;
    outline: none;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

.forum-textarea:focus {
    border-color: #62a8ff;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}

.modal-overlay.modal-open {
    display: flex;
}

.modal-box {
    width: 100%;
    max-width: 760px;
    background: #222222;
    border: 1px solid #444444;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #343434;
    color: #f1f1f1;
    padding: 12px 14px;
    font-weight: bold;
}

.modal-close {
    background: none;
    border: none;
    color: #f1f1f1;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.modal-body {
    padding: 16px;
}

.modal-body label {
    display: block;
    margin-bottom: 6px;
    color: #f3f3f3;
    font-weight: bold;
    font-size: 14px;
}

.modal-input {
    width: 100%;
}

.modal-textarea {
    min-height: 180px;
}

.upload-hidden-input {
    display: none;
}

.upload-dropzone {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    border: 2px dashed #8d8d8d;
    border-radius: 6px;
    background: transparent;
    color: #d7d7d7;
    text-align: center;
    cursor: pointer;
    padding: 18px;
    box-sizing: border-box;
    margin-top: 6px;
}

.upload-dropzone:hover {
    border-color: #a9a9a9;
    color: #ffffff;
}

.upload-dropzone-main {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 6px;
}

.upload-dropzone-sub {
    font-size: 12px;
    color: #acacac;
    margin-bottom: 8px;
}

.upload-dropzone-file {
    font-size: 12px;
    color: #62a8ff;
}

.post-view {
    display: flex;
    border: 1px solid #3d3d3d;
    background: #1d1d1d;
    min-height: 420px;
}

.post-sidebar {
    width: 180px;
    border-right: 1px solid #333333;
    padding: 18px 14px;
    box-sizing: border-box;
    text-align: center;
}

.post-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #3a3a3a;
    margin: 0 auto 12px auto;
}

.post-author {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
}

.post-role {
    color: #e5e5e5;
    font-size: 13px;
}

.post-content-wrap {
    flex: 1;
    padding: 14px 18px 16px 18px;
    box-sizing: border-box;
}

.post-date {
    color: #8f86d9;
    font-size: 14px;
    margin-bottom: 18px;
}

.post-content {
    color: #f4f4f4;
    font-size: 16px;
    line-height: 1.7;
}

.post-image-wrap {
    margin-top: 18px;
}

.post-image {
    display: block;
    max-width: 100%;
    max-height: 420px;
    width: auto;
    height: auto;
    border: 1px solid #404040;
    border-radius: 4px;
}

.post-footer-meta {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    color: #8f86d9;
    font-size: 13px;
}

.delete-thread-form {
    margin-top: 18px;
    text-align: left;
}

.delete-thread-button {
    background: none;
    border: none;
    color: #ff3b3b;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

.delete-thread-button:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

.post-bottom-row {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.post-bottom-left {
    display: flex;
    align-items: flex-end;
}

.delete-thread-form-inline {
    margin: 0;
}

.delete-thread-link {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #ff3b3b;
    font-size: 13px;
    cursor: pointer;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    line-height: 1;
}

.delete-thread-link:hover {
    color: #ff6666;
    text-decoration: underline;
}

.post-footer-meta {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    color: #8f86d9;
    font-size: 13px;
}

.profile-layout {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.profile-sidebar {
    width: 260px;
    flex: 0 0 260px;
    background: #232323;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    padding: 18px 16px;
    box-sizing: border-box;
    text-align: center;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #3a3a3a;
    margin: 0 auto 14px auto;
    border: 1px solid #4a4a4a;
}

.profile-username {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 6px;
    word-break: break-word;
}

.profile-role {
    color: #d6d6d6;
    font-size: 14px;
    margin-bottom: 10px;
}

.profile-uid {
    color: #a8a8a8;
    font-size: 13px;
}

.profile-main {
    flex: 1;
}

.profile-panel {
    background: #232323;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    margin-bottom: 16px;
    overflow: hidden;
}

.profile-panel-title {
    background: #343434;
    color: #f1f1f1;
    font-weight: bold;
    font-size: 13px;
    padding: 10px 12px;
    border-bottom: 1px solid #3d3d3d;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
}

.profile-info-label,
.profile-info-value {
    padding: 10px 12px;
    border-top: 1px solid #323232;
    font-size: 13px;
}

.profile-info-label {
    color: #b8b8b8;
    background: #262626;
    font-weight: bold;
}

.profile-info-value {
    color: #f2f2f2;
    background: #202020;
}

.profile-badges {
    padding: 14px 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #4a4a4a;
}

.badge-on {
    background: #2e3a26;
    color: #baf58c;
    border-color: #4f6e37;
}

.badge-off {
    background: #2a2a2a;
    color: #9e9e9e;
    border-color: #444444;
}

.profile-subscription-box {
    padding: 14px 12px;
}

.profile-subscription-active {
    color: #9be45d;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 6px;
}

.profile-subscription-date {
    color: #e8e8e8;
    font-size: 13px;
}

.profile-subscription-inactive {
    color: #c2c2c2;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .profile-layout {
        flex-direction: column;
    }

    .profile-sidebar {
        width: 100%;
        flex: none;
    }

    .profile-info-grid {
        grid-template-columns: 1fr;
    }
}

.site-splash {
    position: fixed;
    inset: 0;
    background: #111111;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-splash-hide {
    opacity: 0;
    visibility: hidden;
}

.site-splash-topline {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #2d6cff 0%, #b100ff 45%, #ff00a8 75%, #c8ff00 100%);
    flex: 0 0 auto;
}

.site-splash-center {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-4%);
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.site-splash-logo {
    font-size: 108px;
    line-height: 1;
    font-weight: 300;
    letter-spacing: -3px;
    font-family: Arial, Helvetica, sans-serif;
}

.site-splash-logo-white {
    color: #f3f3f3;
}

.site-splash-logo-green {
    color: #6dd400;
}

.site-splash-text {
    margin-top: 42px;
    color: #f2f2f2;
    font-size: 28px;
    font-weight: 300;
    font-family: Arial, Helvetica, sans-serif;
}

.site-splash-dots {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
}

.site-splash-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f2f2f2;
    display: inline-block;
    opacity: 0.3;
    animation: splashDotPulse 1.2s infinite ease-in-out;
}

.site-splash-dots span:nth-child(2) {
    animation-delay: 0.25s;
}

@keyframes splashDotPulse {
    0%, 100% {
        opacity: 0.25;
        transform: scale(0.75);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 900px) {
    .site-splash-logo {
        font-size: 72px;
        letter-spacing: -2px;
    }

    .site-splash-text {
        font-size: 24px;
        margin-top: 28px;
    }
}

@media (max-width: 520px) {
    .site-splash-logo {
        font-size: 52px;
    }

    .site-splash-text {
        font-size: 20px;
    }
}

html.splash-lock,
body.splash-lock {
    overflow: hidden;
}

.site-splash {
    position: fixed;
    inset: 0;
    background: #111111;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-splash-hide {
    opacity: 0;
    visibility: hidden;
}

.site-splash-topline {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #2d6cff 0%, #b100ff 45%, #ff00a8 75%, #c8ff00 100%);
    flex: 0 0 auto;
}

.site-splash-center {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-4%);
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.site-splash-logo {
    font-size: 108px;
    line-height: 1;
    font-weight: 300;
    letter-spacing: -3px;
    font-family: Arial, Helvetica, sans-serif;
}

.site-splash-logo-white {
    color: #f3f3f3;
}

.site-splash-logo-green {
    color: #6dd400;
}

.site-splash-text {
    margin-top: 42px;
    color: #f2f2f2;
    font-size: 28px;
    font-weight: 300;
    font-family: Arial, Helvetica, sans-serif;
}

.site-splash-dots {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
}

.site-splash-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f2f2f2;
    display: inline-block;
    opacity: 0.3;
    animation: splashDotPulse 1.2s infinite ease-in-out;
}

.site-splash-dots span:nth-child(2) {
    animation-delay: 0.25s;
}

@keyframes splashDotPulse {
    0%, 100% {
        opacity: 0.25;
        transform: scale(0.75);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 900px) {
    .site-splash-logo {
        font-size: 72px;
        letter-spacing: -2px;
    }

    .site-splash-text {
        font-size: 24px;
        margin-top: 28px;
    }
}

@media (max-width: 520px) {
    .site-splash-logo {
        font-size: 52px;
    }

    .site-splash-text {
        font-size: 20px;
    }
}

.profile-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-edit-link {
    background: none;
    border: none;
    color: #d8d8d8;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

.profile-edit-link:hover {
    color: #62a8ff;
}

.profile-layout {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.profile-sidebar {
    width: 260px;
    flex: 0 0 260px;
    background: #232323;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    padding: 18px 16px;
    box-sizing: border-box;
    text-align: center;
}

.profile-avatar,
.profile-avatar-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #3a3a3a;
    margin: 0 auto 14px auto;
    border: 1px solid #4a4a4a;
    display: block;
    object-fit: cover;
}

.profile-username {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 6px;
    word-break: break-word;
}

.profile-username-visible {
    color: #f3f3f3 !important;
}

.profile-role {
    color: #d6d6d6;
    font-size: 14px;
    margin-bottom: 10px;
}

.profile-uid {
    color: #a8a8a8;
    font-size: 13px;
}

.profile-tags {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.profile-tag {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    color: #d5d5d5;
    background: #2d2d2d;
    border: 1px solid #4a4a4a;
}

.profile-main {
    flex: 1;
}

.profile-panel {
    background: #232323;
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    margin-bottom: 16px;
    overflow: hidden;
}

.profile-panel-title {
    background: #343434;
    color: #f1f1f1;
    font-weight: bold;
    font-size: 13px;
    padding: 10px 12px;
    border-bottom: 1px solid #3d3d3d;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
}

.profile-info-label,
.profile-info-value {
    padding: 10px 12px;
    border-top: 1px solid #323232;
    font-size: 13px;
}

.profile-info-label {
    color: #b8b8b8;
    background: #262626;
    font-weight: bold;
}

.profile-info-value {
    color: #f2f2f2;
    background: #202020;
}

.profile-about-box {
    padding: 14px 12px;
    color: #f0f0f0;
    line-height: 1.7;
    background: #202020;
}

.profile-muted-text {
    color: #a5a5a5;
}

.profile-direct-link {
    color: #62a8ff;
    text-decoration: none;
}

.profile-direct-link:hover {
    text-decoration: underline;
}

.profile-badges {
    padding: 14px 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #4a4a4a;
}

.badge-on {
    background: #2e3a26;
    color: #baf58c;
    border-color: #4f6e37;
}

.badge-off {
    background: #2a2a2a;
    color: #9e9e9e;
    border-color: #444444;
}

.profile-subscription-box {
    padding: 14px 12px;
}

.profile-subscription-active {
    color: #9be45d;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 6px;
}

.profile-subscription-date {
    color: #e8e8e8;
    font-size: 13px;
}

.profile-subscription-inactive {
    color: #c2c2c2;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .profile-layout {
        flex-direction: column;
    }

    .profile-sidebar {
        width: 100%;
        flex: none;
    }

    .profile-info-grid {
        grid-template-columns: 1fr;
    }
}

.profile-role-colored {
    font-weight: bold;
}

.profile-username {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 6px;
    word-break: break-word;
}

.profile-role {
    font-size: 14px;
    margin-bottom: 10px;
}

.members-profile-link {
    text-decoration: none;
    font-weight: bold;
}

.members-profile-link:hover {
    text-decoration: underline;
}

.profile-tags-editor {
    margin-top: 6px;
}

.profile-tags-editor-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-tag-editor-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #262626;
    border: 1px solid #444444;
    border-radius: 999px;
    padding: 6px 10px;
}

.profile-tag-remove {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    border: none;
    background: #3a3a3a;
    color: #f0f0f0;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.profile-tag-remove:hover {
    background: #a83d3d;
}

.profile-tag-editor-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: #f3f3f3;
    box-shadow: none !important;
    padding: 4px 2px !important;
}

.profile-tag-editor-input:focus {
    outline: none;
}

.profile-tag-add-button {
    margin-top: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #4d4d4d;
    background: #2e2e2e;
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.profile-tag-add-button:hover {
    background: #3a3a3a;
}

.profile-tag-add-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.profile-tag-limit-note {
    margin-top: 8px;
    font-size: 12px;
    color: #a7a7a7;
}

.profile-tags-editor {
    margin-top: 6px;
}

.profile-tags-editor-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-tag-editor-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    background: #2b2b2b;
    border: 1px solid #444444;
    border-radius: 999px;
    padding: 0 12px;
    box-sizing: border-box;
}

.profile-tag-editor-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    background: #1a1a1a;
}

.profile-tag-editor-input {
    flex: 1;
    min-width: 0;
    height: 36px;
    background: transparent;
    border: none;
    outline: none;
    color: #f1f1f1;
    font-size: 14px;
    box-shadow: none;
    padding: 0;
}

.profile-tag-editor-input::placeholder {
    color: #9e9e9e;
}

.profile-tag-remove {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: none;
    background: transparent;
    color: #bdbdbd;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.profile-tag-remove:hover {
    color: #ffffff;
}

.profile-tag-add-button {
    margin-top: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #4a4a4a;
    background: #2f2f2f;
    color: #f2f2f2;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.profile-tag-add-button:hover {
    background: #3a3a3a;
}

.profile-tag-add-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.post-author-link-wrap {
    display: block;
    text-align: center;
    text-decoration: none;
}

.post-author-link-wrap:hover .post-author {
    text-decoration: underline;
}

.post-avatar-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #3a3a3a;
    margin: 0 auto 14px auto;
    border: 1px solid #4a4a4a;
    display: block;
    object-fit: cover;
}

.pm-layout {
    display: flex;
    gap: 16px;
    min-height: 620px;
}

.pm-sidebar {
    width: 320px;
    flex: 0 0 320px;
    background: #232323;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
    overflow: hidden;
}

.pm-sidebar-title {
    background: #343434;
    color: #f2f2f2;
    font-weight: bold;
    padding: 12px 14px;
    border-bottom: 1px solid #3c3c3c;
}

.pm-new-chat-box {
    padding: 14px;
    border-bottom: 1px solid #383838;
    background: #262626;
}

.pm-new-chat-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.pm-uid-input {
    flex: 1;
}

.pm-empty-sidebar {
    padding: 14px;
    color: #acacac;
}

.pm-conversation-list {
    display: flex;
    flex-direction: column;
}

.pm-conversation-item {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid #353535;
    text-decoration: none;
    color: inherit;
    background: #232323;
    transition: background 0.15s ease;
}

.pm-conversation-item:hover {
    background: #2b2b2b;
}

.pm-conversation-active {
    background: #2f2f2f;
}

.pm-conversation-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.pm-conversation-name {
    font-weight: bold;
}

.pm-conversation-uid {
    color: #9e9e9e;
    font-size: 12px;
}

.pm-conversation-preview {
    color: #dddddd;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-conversation-date {
    margin-top: 6px;
    color: #929292;
    font-size: 11px;
}

.pm-main {
    flex: 1;
    background: #232323;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pm-placeholder {
    margin: auto;
    text-align: center;
    color: #d2d2d2;
    padding: 20px;
}

.pm-placeholder-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.pm-placeholder-text {
    color: #aaaaaa;
    max-width: 500px;
    line-height: 1.6;
}

.pm-chat-header {
    padding: 14px 16px;
    border-bottom: 1px solid #3a3a3a;
    background: #2a2a2a;
}

.pm-chat-user-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pm-chat-avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: #3a3a3a;
    border: 1px solid #4a4a4a;
    object-fit: cover;
    display: block;
}

.pm-chat-user-name a {
    text-decoration: none;
    color: inherit;
}

.pm-chat-user-name a:hover {
    text-decoration: underline;
}

.pm-chat-user-sub {
    margin-top: 4px;
    color: #a6a6a6;
    font-size: 13px;
}

.pm-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #1f1f1f;
    min-height: 360px;
    max-height: 360px;
}

.pm-empty-chat {
    color: #a8a8a8;
}

.pm-message-row {
    display: flex;
    margin-bottom: 12px;
}

.pm-message-row-me {
    justify-content: flex-end;
}

.pm-message-row-other {
    justify-content: flex-start;
}

.pm-message-bubble {
    max-width: 70%;
    border-radius: 14px;
    padding: 10px 12px;
    box-sizing: border-box;
}

.pm-message-bubble-me {
    background: #3a3a3a;
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.pm-message-bubble-other {
    background: #2c2c2c;
    color: #f0f0f0;
    border-bottom-left-radius: 4px;
}

.pm-message-text {
    line-height: 1.6;
    word-break: break-word;
}

.pm-message-meta {
    margin-top: 6px;
    font-size: 11px;
    color: #b2b2b2;
}

.pm-send-form {
    border-top: 1px solid #3a3a3a;
    padding: 14px 16px;
    background: #262626;
}

.pm-textarea {
    min-height: 110px;
    resize: vertical;
}

.pm-submit-row {
    margin-top: 10px;
}

@media (max-width: 980px) {
    .pm-layout {
        flex-direction: column;
    }

    .pm-sidebar {
        width: 100%;
        flex: none;
    }

    .pm-messages {
        max-height: none;
    }

    .pm-message-bubble {
        max-width: 88%;
    }
}

.pm-page-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pm-layout {
    display: flex;
    gap: 16px;
    min-height: 620px;
}

.pm-sidebar {
    width: 320px;
    flex: 0 0 320px;
    background: #232323;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
    overflow: hidden;
}

.pm-sidebar-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #343434;
    border-bottom: 1px solid #3c3c3c;
    padding: 12px 14px;
}

.pm-sidebar-title {
    color: #f2f2f2;
    font-weight: bold;
}

.pm-plus-trigger {
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

.pm-start-box {
    padding: 14px;
    border-bottom: 1px solid #383838;
    background: #262626;
}

.pm-start-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.pm-start-input {
    flex: 1;
}

.pm-conversation-list {
    display: flex;
    flex-direction: column;
}

.pm-conversation-item {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid #353535;
    text-decoration: none;
    color: inherit;
    background: #232323;
    transition: background 0.15s ease;
}

.pm-conversation-item:hover {
    background: #2b2b2b;
}

.pm-conversation-active {
    background: #2f2f2f;
}

.pm-conversation-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.pm-conversation-name {
    font-weight: bold;
}

.pm-conversation-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #c62828;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.pm-conversation-preview {
    color: #dddddd;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-conversation-date {
    margin-top: 6px;
    color: #929292;
    font-size: 11px;
}

.pm-main {
    flex: 1;
    background: #232323;
    border: 1px solid #3c3c3c;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pm-placeholder {
    margin: auto;
    text-align: center;
    color: #d2d2d2;
    padding: 20px;
}

.pm-placeholder-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.pm-placeholder-text {
    color: #aaaaaa;
    max-width: 500px;
    line-height: 1.6;
}

.pm-chat-header {
    padding: 14px 16px;
    border-bottom: 1px solid #3a3a3a;
    background: #2a2a2a;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.pm-chat-user-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pm-chat-avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: #3a3a3a;
    border: 1px solid #4a4a4a;
    object-fit: cover;
    display: block;
}

.pm-chat-user-name a {
    text-decoration: none;
    color: inherit;
}

.pm-chat-user-name a:hover {
    text-decoration: underline;
}

.pm-chat-user-sub {
    margin-top: 4px;
    color: #a6a6a6;
    font-size: 13px;
}

.pm-chat-header-right {
    padding-top: 2px;
}

.pm-block-text {
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    font-weight: bold;
}

.pm-block-text-red {
    color: #ff3b3b;
}

.pm-unblock-text {
    color: #ff7a7a;
}

.pm-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #1f1f1f;
    min-height: 360px;
    max-height: 360px;
    scrollbar-color: #666 #1f1f1f;
}

.pm-messages::-webkit-scrollbar {
    width: 10px;
}

.pm-messages::-webkit-scrollbar-track {
    background: #1f1f1f;
}

.pm-messages::-webkit-scrollbar-thumb {
    background: #5a5a5a;
    border-radius: 10px;
    border: 2px solid #1f1f1f;
}

.pm-empty-chat {
    color: #a8a8a8;
}

.pm-message-row {
    display: flex;
    margin-bottom: 12px;
}

.pm-message-row-me {
    justify-content: flex-end;
}

.pm-message-row-other {
    justify-content: flex-start;
}

.pm-message-bubble {
    max-width: 70%;
    border-radius: 14px;
    padding: 10px 12px;
    box-sizing: border-box;
}

.pm-message-bubble-me {
    background: #3a3a3a;
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.pm-message-bubble-other {
    background: #2c2c2c;
    color: #f0f0f0;
    border-bottom-left-radius: 4px;
}

.pm-message-text {
    line-height: 1.6;
    word-break: break-word;
}

.pm-message-meta {
    margin-top: 6px;
    font-size: 11px;
    color: #b2b2b2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.pm-seen-ticks {
    letter-spacing: -2px;
    font-size: 13px;
}

.pm-send-form {
    border-top: 1px solid #3a3a3a;
    padding: 14px 16px;
    background: #262626;
}

.pm-textarea-wrap {
    position: relative;
}

.pm-emoji-toggle {
    position: absolute;
    top: 10px;
    right: 12px;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    font-size: 18px;
    z-index: 2;
}

.pm-emoji-toggle {
    position: absolute;
    top: 10px;
    right: 12px;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    font-size: 18px;
    z-index: 3;
}

.pm-emoji-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    width: 700px;
    max-width: calc(100vw - 60px);
    height: 460px;
    background: #202020;
    border: 1px solid #3e3e3e;
    border-radius: 18px;
    overflow: hidden;
    z-index: 10;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.pm-emoji-topbar {
    height: 54px;
    border-bottom: 1px solid #333333;
    background: #1b1b1b;
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.pm-emoji-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
}

.pm-emoji-tabs::-webkit-scrollbar {
    height: 0;
}

.pm-emoji-tab {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: none;
    background: transparent;
    color: #d7d7d7;
    font-size: 20px;
    border-radius: 10px;
    cursor: pointer;
}

.pm-emoji-tab:hover {
    background: #2b2b2b;
}

.pm-emoji-tab-active {
    background: #2f2f2f;
    box-shadow: inset 0 -2px 0 #2ee07a;
}

.pm-emoji-search-wrap {
    padding: 12px 16px;
    border-bottom: 1px solid #333333;
    background: #202020;
}

.pm-emoji-search {
    width: 100%;
    height: 44px;
    border-radius: 999px;
    border: 2px solid #2ee07a;
    background: #1c1c1c;
    color: #f2f2f2;
    padding: 0 16px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

.pm-emoji-groups {
    height: calc(460px - 54px - 69px);
    overflow-y: auto;
    padding: 12px 16px 16px 16px;
    scrollbar-color: #5d5d5d #202020;
}

.pm-emoji-groups::-webkit-scrollbar {
    width: 10px;
}

.pm-emoji-groups::-webkit-scrollbar-track {
    background: #202020;
}

.pm-emoji-groups::-webkit-scrollbar-thumb {
    background: #5d5d5d;
    border-radius: 10px;
    border: 2px solid #202020;
}

.pm-emoji-group {
    margin-bottom: 18px;
}

.pm-emoji-group-title {
    color: #cfcfcf;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 12px;
}

.pm-emoji-grid {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 8px;
}

.pm-emoji-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    height: 42px;
    border-radius: 10px;
    user-select: none;
}

.pm-emoji-item:hover {
    background: #2d2d2d;
}

.pm-seen-ticks {
    letter-spacing: -2px;
    font-size: 13px;
    color: #a6a6a6;
}

.pm-seen-ticks-seen {
    color: #7ec8ff;
}

@media (max-width: 980px) {
    .pm-emoji-panel {
        width: calc(100vw - 40px);
        right: 0;
        left: auto;
        height: 420px;
    }

    .pm-emoji-groups {
        height: calc(420px - 54px - 69px);
    }

    .pm-emoji-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}

.pm-textarea {
    min-height: 110px;
    resize: vertical;
    padding-right: 42px !important;
}

.pm-submit-row {
    margin-top: 10px;
}

.pm-nav-link-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.pm-nav-badge {
    margin-left: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #c62828;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 980px) {
    .pm-layout {
        flex-direction: column;
    }

    .pm-sidebar {
        width: 100%;
        flex: none;
    }

    .pm-messages {
        max-height: none;
    }

    .pm-message-bubble {
        max-width: 88%;
    }

    .pm-emoji-panel {
        width: 100%;
        left: 0;
        right: auto;
        grid-template-columns: repeat(7, 1fr);
    }
}

