/* =========================
   VAPMA Member Dashboard
   ========================= */

.vapma-member-dashboard {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 16px 24px;
    color: #fff;
}

.vapma-md-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0 4px;
    margin-bottom: 2px;
    border-bottom: 1px solid #0d0d0d;
    background: transparent;
}

.vapma-md-logo {
    display: none;
}

.vapma-md-search {
    margin-right: auto;
}

.vapma-md-search input {
    width: 220px;
    height: 22px;
    background: transparent;
    border: 1px solid #141414;
    color: #7a7a7a;
    padding: 2 8px;
    border-radius: 13px;
    font-size: 14px;
    box-sizing: border-box;
    opacity: 0.55;
}

.vapma-md-search input:focus {
    opacity: 1;
    color: #ffffff;
    border-color: #cf2e2e;
}

.vapma-md-user {
    color: #6f6f6f;
    font-size: 14px;
    line-height: 1;
}

.vapma-md-user a {
    color: #cf2e2e;
    text-decoration: none;
}

.vapma-md-body {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.vapma-md-sidebar {
    width: 150px;
    flex: 0 0 150px;
    background: transparent;
    border-right: 1px solid #161616;
    padding: 0;
}

.vapma-md-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vapma-md-sidebar li {
    margin: 0 0 2px;
    padding: 0;
    list-style: none;
}

.vapma-md-sidebar a {
    display: block;
    padding: 5px 10px;
    color: #b8b8b8;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    border-left: 2px solid transparent;
    border-radius: 0;
    transition: all 0.2s ease;
}

.vapma-md-sidebar a:hover {
    background: #0f0f0f;
    color: #fff;
    border-left-color: #cf2e2e;
}

.vapma-md-sidebar a.active {
    background: #101010;
    color: #cf2e2e;
    border-left-color: #cf2e2e;
}

.vapma-md-main {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 854px;
}

.vapma-creator-layout {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.vapma-creator-showcase {
    width: 100%;
    padding: 12px 0 0;
    margin-top: 6px;
}

.vapma-creator-header {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1e1e1e;
}

.vapma-creator-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.vapma-creator-filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 7px 12px;
    border: 1px solid #2a2a2a;
    border-radius: 999px;
    background: #111;
    color: #cfcfcf;
    font-size: 12px;
    line-height: 1.1;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.vapma-creator-filter-button:hover {
    border-color: #cf2e2e;
    color: #ffffff;
    background: #181818;
}

.vapma-creator-filter-button.is-active {
    border-color: #cf2e2e;
    background: #2a1114;
    color: #ffffff;
}

.vapma-creator-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.vapma-creator-header .creator-alias {
    margin-left: 10px;
    font-size: 14px;
    color: #8d8d8d;
    font-weight: 500;
}

.vapma-creator-empty {
    text-align: center;
    padding: 60px 20px;
    color: #8d8d8d;
    font-size: 14px;
}

.vapma-md-welcome {
    margin-bottom: 12px;
}

.vapma-md-welcome h2 {
    margin: 0 0 4px;
    font-size: 20px;
    line-height: 1.15;
    color: #fff;
}

.vapma-md-welcome p {
    margin: 0;
    font-size: 13px;
    color: #9a9a9a;
}

.vapma-md-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.vapma-md-box {
    background: #0f0f0f;
    border: 1px solid #202020;
    padding: 14px 16px 14px;
    border-radius: 12px;
    flex: 1 1 320px;
    box-sizing: border-box;
    overflow: visible;
}

.vapma-md-home-rail .vapma-md-box {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #1a1a1a;
    flex: 0 0 auto;
}

.vapma-md-home-rail .vapma-md-box h3 {
    font-size: 14px;
    margin-bottom: 8px;
    color: #e6e6e6;
}

.vapma-md-home-rail .vapma-md-box p {
    font-size: 13px;
    margin-bottom: 8px;
    color: #b0b0b0;
}

.vapma-md-home-feed .vapma-md-box {
    border: none;
    background: transparent;
    padding: 0 2px;
}

.vapma-md-box[data-card="recent-media"],
.vapma-md-box[data-card="showcases"],
.vapma-md-box[data-card="message-center"],
.vapma-md-box[data-card="membership-snapshot"] {
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.vapma-md-box[data-card="recent-media"]:hover,
.vapma-md-box[data-card="showcases"]:hover,
.vapma-md-box[data-card="message-center"]:hover,
.vapma-md-box[data-card="membership-snapshot"]:hover {
    background: rgba(255,255,255,0.03);
    transform: none;
}

.vapma-md-home-feed .vapma-md-box[data-card="recent-media"]:hover,
.vapma-md-home-feed .vapma-md-box[data-card="showcases"]:hover,
.vapma-md-home-feed .vapma-md-box[data-card="message-center"]:hover,
.vapma-md-home-feed .vapma-md-box[data-card="membership-snapshot"]:hover {
    background: transparent;
    transform: none;
}

.vapma-md-box[data-card="recent-media"]:active,
.vapma-md-box[data-card="showcases"]:active,
.vapma-md-box[data-card="message-center"]:active,
.vapma-md-box[data-card="membership-snapshot"]:active {
    transform: translateY(0);
}

.vapma-md-home-feed .vapma-md-box h3 {
    padding: 0 2px;
    font-size: 15px;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.vapma-md-media-library {
    background: transparent;
    border: none;
    padding: 0;
    flex: 1 1 100%;
}

.vapma-md-media-library h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.2;
    color: #fff;
}

.vapma-md-media-library p {
    margin: 0 0 8px;
    color: #c8c8c8;
    font-size: 13.5px;
    line-height: 1.5;
}

.vapma-md-media-upload {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    flex-wrap: wrap;
}

.vapma-md-media-upload input[type="file"] {
    max-width: 100%;
    color: #bdbdbd;
    font-size: 12px;
}

.vapma-md-media-upload button {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #2a2a2a;
    background: #151515;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

.vapma-md-media-upload button:hover {
    border-color: #cf2e2e;
    color: #cf2e2e;
}

.vapma-md-media-upload button:disabled {
    opacity: 0.55;
    cursor: default;
}

.vapma-md-media-upload-status {
    font-size: 12px;
    color: #b8b8b8;
}

.vapma-md-media-upload-progress {
    width: 100%;
    max-width: 260px;
    height: 8px;
    background: #111;
    border: 1px solid #242424;
    border-radius: 999px;
    overflow: hidden;
}

.vapma-md-media-upload-progress-bar {
    width: 0%;
    height: 100%;
    background: #cf2e2e;
    transition: width 0.15s ease;
}

.vapma-md-box h3 {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.2;
    color: #fff;
}

.vapma-md-box label {
    display: block;
    margin: 0;
    color: #f2f2f2;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    text-align: right;
    padding-right: 6px;
}

.vapma-md-box fieldset {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.vapma-md-box fieldset > div {
    display: grid;
    grid-template-columns: 1fr 440px 110px;
    align-items: center;
    gap: 10px;
}

.vapma-md-box legend {
    margin: 0 0 10px;
    padding: 0;
    color: #d8d8d8;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    border-bottom: 1px solid #1f1f1f;
    padding-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vapma-md-box .vapma-password-master-toggle {
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    box-shadow: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    appearance: none;
    margin: 0;
}

.vapma-md-box .vapma-password-master-toggle .vapma-password-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.vapma-md-box .vapma-password-master-toggle .vapma-password-icon svg {
    width: 22px;
    height: 22px;
    display: block;
    stroke: #cf2e2e;
    fill: none;
    stroke-width: 2;
    opacity: 0.9;
}

.vapma-md-box .vapma-password-master-toggle .vapma-password-icon-open {
    display: block !important;
}

.vapma-md-box .vapma-password-master-toggle .vapma-password-icon-closed {
    display: none !important;
}

.vapma-md-box .vapma-password-master-toggle.is-visible .vapma-password-icon-open {
    display: none !important;
}

.vapma-md-box .vapma-password-master-toggle.is-visible .vapma-password-icon-closed {
    display: block !important;
}

.vapma-md-box .vapma-password-master-toggle:hover .vapma-password-icon svg,
.vapma-md-box .vapma-password-master-toggle:focus .vapma-password-icon svg {
    opacity: 1;
    stroke: #e11d2e;
}

.vapma-md-box p {
    margin: 0 0 5px;
    color: #c8c8c8;
    font-size: 13.5px;
    line-height: 1.45;
}

.vapma-md-box input[type="text"],
.vapma-md-box input[type="email"],
.vapma-md-box input[type="password"] {
    width: 100%;
    height: 36px;
    padding: 6px 10px;
    margin-bottom: 8px;
    background: #121212;
    border: 1px solid #2a2a2a;
    color: #ffffff;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 13px;
}

.vapma-md-box .vapma-password-wrapper {
    position: relative;
    width: 100%;
}

.vapma-md-box .vapma-password-wrapper input[type="password"],
.vapma-md-box .vapma-password-wrapper input[type="text"] {
    padding-right: 42px;
}

.vapma-md-box .vapma-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    box-shadow: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    appearance: none;
    margin-top: 0;
}

.vapma-md-box .vapma-password-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.vapma-md-box .vapma-password-icon svg {
    width: 22px;
    height: 22px;
    display: block;
    stroke: #cf2e2e;
    fill: none;
    stroke-width: 2;
    opacity: 0.9;
}

.vapma-md-box .vapma-password-icon-open {
    display: block !important;
}

.vapma-md-box .vapma-password-icon-closed {
    display: none !important;
}

.vapma-md-box .vapma-password-toggle.is-visible .vapma-password-icon-open {
    display: none !important;
}

.vapma-md-box .vapma-password-toggle.is-visible .vapma-password-icon-closed {
    display: block !important;
}

.vapma-md-box .vapma-password-toggle:hover .vapma-password-icon svg,
.vapma-md-box .vapma-password-toggle:focus .vapma-password-icon svg {
    opacity: 1;
    stroke: #e11d2e;
}

.vapma-md-box input[readonly] {
    background: #0a0a0a;
    border-color: #1a1a1a;
    color: #777;
    cursor: not-allowed;
    flex: 1 1 auto;
    min-width: 0;
}

.vapma-md-box input:focus, .vapma-edit-keywords input:focus {
    border-color: #cf2e2e;
    outline: none;
    background: #121212;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.vapma-md-box input:-webkit-autofill,
.vapma-md-box input:-webkit-autofill:hover,
.vapma-md-box input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #121212 inset;
    -webkit-text-fill-color: #ffffff;
    border: 1px solid #2a2a2a;
}

.vapma-md-box button {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #2a2a2a;
    background: #151515;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.2;
    margin-top: 6px;
}

.vapma-md-box input[readonly] + button {
    flex: 0 0 120px;
    margin-left: 10px;
    margin-top: 4px;
    padding: 6px 10px;
    background: transparent;
    border: 1px solid #2a2a2a;
    color: #cf2e2e;
    border-radius: 6px;
    font-size: 12px;
}

.vapma-md-box input[readonly] + button:hover {
    border-color: #cf2e2e;
}

.vapma-md-box button:hover {
    border-color: #cf2e2e;
    color: #cf2e2e;
}

.vapma-md-message-row {
    display: flex;
    flex-direction: column;
    margin: 10px 0 14px;
}

.vapma-md-message-row.is-mine {
    align-items: flex-end;
    padding-left: 56px;
}

.vapma-md-message-row.is-theirs {
    align-items: flex-start;
    padding-right: 56px;
}

.vapma-md-message-bubble {
    max-width: 62%;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.vapma-md-message-row.is-mine .vapma-md-message-bubble {
    background: rgba(0, 200, 120, 0.12);
    border: 1px solid rgba(0, 200, 120, 0.25);
}

.vapma-md-message-bubble p {
    margin: 0;
    color: #f2f2f2;
    font-size: 14px;
    line-height: 1.5;
}

.vapma-md-message-bubble .vapma-md-message-media-link {
    display: inline-block;
    margin: 0;
    color: #f2f2f2;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.vapma-md-message-bubble .vapma-md-message-media-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.vapma-md-message-media-embed {
    margin: 0;
}

.vapma-md-message-media-embed a {
    display: block;
    text-decoration: none;
}

.vapma-md-message-media-preview {
    display: block;
    width: 100%;
    max-width: 260px;
    height: auto;
    border-radius: 10px;
    background: #000;
}

.vapma-md-message-time {
    margin-top: 4px;
    font-size: 9px;
    line-height: 1.2;
    color: #6a6a6a;
    text-align: right;
    opacity: 0.75;
}

.vapma-md-message-row.is-theirs .vapma-md-message-time {
    text-align: left;
}

.vapma-md-box strong {
    color: #fff;
}

.vapma-md-box .button {
    display: inline-block;
    margin-top: 4px;
    padding: 8px 12px;
    border: 1px solid #2a2a2a;
    background: #151515;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1;
    transition: all 0.2s ease;
}

.vapma-md-box .button:hover {
    border-color: #cf2e2e;
    color: #cf2e2e;
}

.vapma-md-row:first-of-type .vapma-md-box {
    flex: 1 1 calc(50% - 6px);
}

.vapma-md-row + .vapma-md-row .vapma-md-box:first-child {
    flex: 1 1 100%;
}

.vapma-md-row + .vapma-md-row .vapma-md-box:last-child {
    flex: 1 1 100%;
}

.vapma-md-media-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
}

.vapma-md-media-grid > * {
    min-width: 0;
}

.vapma-md-media-grid > *:first-child {
    grid-column: auto;
}

.vapma-md-media-grid img,
.vapma-md-media-grid video {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    background: #000;
}

.vapma-md-edit-panel {
    display: none;
    padding: 8px;
    background: #0e0e0e;
    border: 1px solid #1f1f1f;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 8px;
}

.vapma-md-edit-panel.active {
    display: block;
}

.vapma-md-edit-panel input[type="text"] {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    height: 40px;
    padding: 6px 10px !important;
    background: #121212 !important;
    border: 1px solid #3a3a3a !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.2 !important;
}

.vapma-md-edit-panel select {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    height: 40px;
    padding: 0 10px;
    background: #121212 !important;
    border: 1px solid #3a3a3a;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    background-image: none;
}

.vapma-md-edit-panel textarea {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    min-height: 70px;
    height: auto;
    padding: 6px 10px;
    background: #121212 !important;
    border: 1px solid #3a3a3a;
    color: #ffffff !important;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.35;
    resize: vertical;
}

.vapma-md-edit-panel input::placeholder {
    color: #8a8a8a;
    opacity: 0.6;
}

.vapma-md-edit-panel textarea::placeholder,
.vapma-md-edit-panel input[type="text"]::placeholder {
    color: #7a7a7a !important;
    opacity: 1;
}

.vapma-member-dashboard .vapma-md-edit-panel input[type="text"]:focus,
.vapma-member-dashboard .vapma-md-edit-panel textarea:focus,
.vapma-member-dashboard .vapma-md-edit-panel select:focus {
    outline: none;
    border-color: #cf2e2e !important;
    color: #ffffff !important;
    background: #111;
}

.vapma-md-edit-panel button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #2a2a2a;
    background: #151515;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.2;
}

.vapma-md-edit-panel button:hover {
    border-color: #cf2e2e;
    color: #cf2e2e;
}

.vapma-md-edit-label {
    display: block;
    margin: 6px 0 4px;
    color: #e5e5e5;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.vapma-md-edit-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.vapma-md-edit-actions .vapma-save-edit {
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    color: #ffffff;
}

.vapma-md-edit-actions .vapma-save-edit:hover {
    background: #222222;
    border-color: #cf2e2e;
    color: #ffffff;
}

.vapma-md-edit-actions .vapma-cancel-edit {
    background: #1a1a1a;
    border: 1px solid #444;
    color: #ccc;
}

.vapma-md-edit-actions .vapma-cancel-edit:hover {
    border-color: #888;
    color: #fff;
}

.vapma-md-media-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 16px;
    padding: 8px 8px 6px;
    background: #0b0b0b;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    opacity: 0.92;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease, opacity 0.18s ease, filter 0.18s ease;
    cursor: grab;
}

.vapma-md-media-item.vapma-md-media-dragging {
    opacity: 1;
    transform: scale(1.02);
    box-shadow: 0 14px 28px rgba(0,0,0,0.45);
    filter: brightness(1.04);
}

.vapma-md-media-item:hover {
    transform: translateY(-2px);
}

.vapma-md-media-item.vapma-md-active {
    border: 1px solid #3a3a3a;
    background: #121212;
    opacity: 10;
}

.vapma-md-media-item.vapma-md-active .vapma-md-media-edit-button {
    display: none;
}

.vapma-md-media-name {
    font-size: 11px;
    color: #9a9a9a;
    line-height: 1.3;
    word-break: break-word;
}

.vapma-md-media-grip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 14px;
    cursor: grab;
    z-index: 5;

    background:
        repeating-linear-gradient(
            to bottom,
            rgba(255,255,255,0.35) 0px,
            rgba(255,255,255,0.35) 1px,
            transparent 1px,
            transparent 3px
        );

    opacity: 0.75;
    border-radius: 6px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.vapma-md-media-item:active .vapma-md-media-grip {
    cursor: grabbing;
    opacity: 0.9;
}

.vapma-md-media-actions {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 6px;
}

.vapma-md-media-actions button {
    flex: 1 1 auto;
    min-width: 0;
    padding: 7px 10px;
    border: 1px solid #2a2a2a;
    background: #151515;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 11px;
    line-height: 1.2;
    margin-top: 0;
    opacity: 0.85;
    transition: all 0.15s ease;
}

.vapma-md-media-edit-button {
    width: 100%;
    justify-content: center;
    background: #111;
    border-color: #303030;
    color: #d8d8d8;
    font-weight: 600;
}

.vapma-md-media-actions button:hover {
    background: #1f1f1f;
    border-color: #3a3a3a;
    opacity: 1;
}

.vapma-md-media-edit-button:hover {
    background: #181818;
    border-color: #4a4a4a;
    color: #ffffff;
}

.vapma-md-media-actions button:disabled {
    opacity: 0.55;
    cursor: default;
}

.vapma-md-media-thumb-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    isolation: isolate;
    margin-top: 14px;
}

.vapma-md-media-drag-handle {
    display: none !important;
}

.vapma-md-media-thumb-wrap .vapma-md-media-stats-strip {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    display: block;
    align-items: initial;
    gap: 0;
    z-index: auto;
}

.vapma-md-media-thumb-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    background: rgba(0,0,0,0.62);
    color: #f2f2f2;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    z-index: 6;
    transition: all 0.15s ease;
}

.vapma-md-media-thumb-edit {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    color: #cf2e2e;
    border: none;
    font-size: 14px;
    cursor: pointer;
    z-index: 7;
}

.vapma-md-media-thumb-remove:hover {
    border-color: #cf2e2e;
    color: #ffffff;
    background: rgba(120,0,0,0.72);
}

.vapma-md-media-grid a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.vapma-md-media-grid a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.0);
    transition: background 0.2s ease;
}

.vapma-md-media-grid a:hover::after {
    background: rgba(0,0,0,0.25);
}

.vapma-md-media-grid > div:first-child {
    position: relative;
}

.vapma-md-media-views-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    line-height: 1;
    z-index: 5;
}

.vapma-md-media-category-badge {
    position: absolute;
    left: 6px;
    bottom: 6px;
    background: rgba(0,0,0,0.72);
    color: #f2f2f2;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    line-height: 1;
    z-index: 6;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    max-width: calc(100% - 40px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vapma-md-media-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin: 6px 0 6px;
}

.vapma-md-media-mini-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 0;
    min-width: 0;
    min-height: 46px;
    padding: 4px 5px 5px;
    background: #0d0d0d;
    border: 1px solid #262626;
    border-radius: 7px;
    box-sizing: border-box;
    overflow: hidden;
}

.vapma-md-media-mini-stat canvas {
    position: relative;
    z-index: 2;
    opacity: 0.95;
    margin-top: auto;
    max-height: 18px;
}

.vapma-md-media-mini-stat-label {
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    height: 65%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
    opacity: 0.6;
}

.vapma-md-media-mini-stat-value {
    display: block;
    color: #f2f2f2;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.vapma-md-rox-icon {
    width: 14px !important;
    height: 14px !important;
    display: inline-block !important;
    vertical-align: middle;
    margin-right: 4px;
    background: transparent !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    filter: none;
}

.vapma-md-media-mini-stat-label::before {
    content: '';
    width: 22px;
    height: 22px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.75;
    filter: grayscale(1) brightness(1.05);
}

.vapma-md-media-mini-stat.views .vapma-md-media-mini-stat-label::before {
    background-image: url('/wp-content/uploads/eye.svg');
}

.vapma-md-media-mini-stat.rox .vapma-md-media-mini-stat-label::before {
    background-image: url('/wp-content/uploads/cropped-rox-icon.png');
}

.vapma-md-media-mini-stat.linked .vapma-md-media-mini-stat-label::before {
    background-image: url('/wp-content/uploads/link.svg');
}

.vapma-md-media-mini-stat.saved .vapma-md-media-mini-stat-label::before {
    background-image: url('/wp-content/uploads/bookmark.svg');
}

.vapma-md-media-mini-graph {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    width: 100%;
    height: 18px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
}

.vapma-md-media-bar {
    display: block;
    flex: 1 1 0;
    min-height: 2px;
    border-radius: 0;
    background: #cf2e2e;
}

.vapma-plan-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.vapma-plan-item {
    background: #111;
    border: 1px solid #242424;
    padding: 14px;
    border-radius: 10px;
}

.vapma-plan-item.active:not(.vapma-plan-item-creator-subscription) {
    border: 1px solid #cf2e2e;
    background: #111;
    box-shadow: none;
}

.vapma-plan-title {
    font-weight: 700;
    color: #fff;
    font-size: 14px;
}

.vapma-plan-price {
    color: #9f9f9f;
    font-size: 12px;
    margin-top: 2px;
}

.vapma-plan-action {
    margin-top: 8px;
    opacity: 0.95;
}

.vapma-plan-item.active:not(.vapma-plan-item-creator-subscription) .vapma-plan-action {
    display: none;
}

.vapma-plan-item-creator-subscription.active .vapma-plan-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.vapma-status-active {
    color: #cccccc;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.vapma-status-warning {
    color: #ff3b3b;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.vapma-status-danger {
    color: #e74c3c;
}

.vapma-md-showcase {
    background: transparent;
    border: none;
    padding: 0;
}

.vapma-md-showcase h3 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #fff;
}

.vapma-md-showcase p {
    margin: 0;
    font-size: 13px;
    color: #a6a6a6;
}

.vapma-creator-category-block {
    margin: 0 0 26px;
}

.vapma-creator-category-title {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.2;
    color: #ffffff;
    padding-bottom: 8px;
    border-bottom: 1px solid #1f1f1f;
}

.vapma-creator-preview-lock {
    margin: 40px 0 10px;
    padding: 28px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(140,0,0,0.35), rgba(0,0,0,0.9));
    border: 1px solid rgba(255,0,0,0.25);
    text-align: center;
}

.vapma-creator-preview-lock-inner {
    text-align: center;
}

.vapma-creator-preview-lock h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.15;
    color: #ffffff;
}

.vapma-creator-preview-lock p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #d0d0d0;
}

.vapma-creator-subscribe-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border: 1px solid #cf2e2e;
    border-radius: 999px;
    background: #2a1114;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.1;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.vapma-creator-subscribe-button:hover {
    background: #3a171b;
    border-color: #e03a3a;
    color: #ffffff;
}

.vapma-creator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 0;
}

.vapma-md-feed-card {
    background: #0b0b0b;
    border: 1px solid #1f1f1f;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
    transition: box-shadow 0.18s ease;
    cursor: default;
    text-decoration: none;
    margin-bottom: 18px;
}

.vapma-creator-card {
    position: relative;
    background: #0f0f0f;
    border: 1px solid #202020;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    cursor: grab;
    text-decoration: none;
}

.vapma-md-feed-card:active,
.vapma-creator-card:active {
    cursor: grabbing;
}

.vapma-md-feed-card:hover,
.vapma-creator-card:hover {
    transform: none;
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.vapma-md-feed-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px 8px;
}

.vapma-md-feed-card-identity {
    min-width: 0;
    flex: 1 1 auto;
}

.vapma-md-feed-card-name {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
}

.vapma-md-feed-card-name .creator-alias {
    margin-right: 8px;
}

.vapma-md-creator-tier-badge {
    display: inline-block;
    margin-left: 0px;
    margin-bottom: 2px;
    padding: 1px 5px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1.1;
    vertical-align: middle;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.08);
    color: #f5f5f5;
}

.vapma-md-creator-tier-badge.tier-bronze {
    border-color: rgba(205, 127, 50, 0.45);
    background: rgba(205, 127, 50, 0.16);
    color: #f2c094;
}

.vapma-md-creator-tier-badge.tier-silver {
    border-color: rgba(192, 192, 192, 0.45);
    background: rgba(192, 192, 192, 0.16);
    color: #f0f0f0;
}

.vapma-md-creator-tier-badge.tier-gold {
    border-color: rgba(255, 215, 0, 0.45);
    background: rgba(255, 215, 0, 0.16);
    color: #ffe27a;
}

.vapma-md-creator-tier-meta {
    font-size: 10px;
    color: #888;
    margin-top: 2px;
    line-height: 1.2;
}

.vapma-md-trending-ribbon {
    position: absolute;
    top: 10px;
    right: -32px;
    width: 124px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #ff1a1a, #ff4d4d);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    padding: 6px 0 5px;
    transform: rotate(45deg);
    z-index: 7;
    letter-spacing: 0.02em;
    box-sizing: border-box;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    box-shadow:
        0 0 12px rgba(255, 0, 0, 0.6),
        0 0 24px rgba(255, 0, 0, 0.4);
}

.vapma-md-feed-card-alias {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.2;
    color: #8d8d8d;
}

.vapma-md-feed-card-time {
    flex: 0 0 auto;
    font-size: 11px;
    line-height: 1.2;
    color: #777777;
    text-align: right;
    white-space: nowrap;
    padding-top: 2px;
}

.vapma-md-feed-card-media,
.vapma-creator-card {
    position: relative;
    background: #000;
    overflow: hidden;
}

.vapma-md-feed-card-media img,
.vapma-md-feed-card-media video {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: none;
    object-fit: cover;
    background: #000;
    transition: transform 0.25s ease;
}

.vapma-creator-card img,
.vapma-creator-card video {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    background: #000;
    transition: transform 0.25s ease;
}

.vapma-md-feed-card:hover .vapma-md-feed-card-media img,
.vapma-md-feed-card:hover .vapma-md-feed-card-media video,
.vapma-creator-card:hover img,
.vapma-creator-card:hover video {
    transform: scale(1.02);
}

.vapma-md-feed-card-media-fade,
.vapma-creator-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 68%, rgba(0,0,0,0.96) 100%);
    pointer-events: none;
}

.vapma-md-feed-card-access,
.vapma-creator-access-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(0,0,0,0.62);
    border: 1px solid rgba(255,255,255,0.12);
    color: #f2f2f2;
    font-size: 11px;
    line-height: 1;
    backdrop-filter: blur(4px);
}

.vapma-creator-category-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(0,0,0,0.62);
    border: 1px solid rgba(255,255,255,0.12);
    color: #f2f2f2;
    font-size: 11px;
    line-height: 1;
    backdrop-filter: blur(4px);
}

.vapma-md-feed-card-caption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 48px;
    z-index: 2;
    color: #f4f4f4;
    font-size: 13px;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.vapma-md-feed-card-actions {
    position: absolute;
    bottom: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vapma-md-feed-card-actions-left {
    left: 12px;
}

.vapma-md-feed-card-actions-right {
    right: 12px;
}

.vapma-md-feed-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    background: rgba(0,0,0,0.58);
    color: #f2f2f2;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}

.vapma-md-feed-action-count {
    display: inline-block;
    min-width: 8px;
    line-height: 1;
}

.vapma-md-feed-action-rox .vapma-md-rox-icon {
    width: 14px !important;
    height: 14px !important;
    display: inline-block !important;
    margin: 0;
    vertical-align: middle;
    object-fit: contain !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.vapma-md-feed-action:hover {
    background: rgba(18,18,18,0.78);
    border-color: rgba(255,255,255,0.24);
    color: #ffffff;
}

.vapma-md-feed-action.is-recorded {
    background: rgba(207,46,46,0.18);
    border-color: rgba(207,46,46,0.55);
    color: #ffffff;
}

.vapma-md-feed-action:active {
    transform: scale(0.97);
}

.vapma-md-feed-action-rox {
    color: #ffffff;
    border-color: rgba(207,46,46,0.35);
}

.vapma-md-feed-action-rox:hover {
    border-color: rgba(207,46,46,0.65);
}

.vapma-md-feed-action-subscribed {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    border: 1px solid rgba(0,255,136,0.28);
    background: rgba(0,255,136,0.10);
    color: #8fffc5;
    cursor: default;
}

.vapma-md-feed-action-subscribed:hover {
    background: rgba(0,255,136,0.10);
    border-color: rgba(0,255,136,0.28);
    color: #8fffc5;
}

/* Home layout: feed + right rail */

.vapma-md-home-layout {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.vapma-md-home-feed {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 600px;
}

.vapma-md-home-rail {
    width: 260px;
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 12px;
}

/* Lightbox */

body.vapma-md-lightbox-open {
    overflow: hidden;
}

.vapma-md-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 99999;
}

.vapma-md-lightbox.is-open {
    display: block;
}

.vapma-md-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
}

.vapma-md-lightbox-dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 980px);
    margin: 4vh auto 0;
    padding: 0;
}

.vapma-md-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.vapma-md-lightbox-content {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.vapma-md-lightbox-media {
    width: 100%;
    height: auto;
    display: block;
    max-height: 88vh;
    object-fit: contain;
    background: #000;
}

.vapma-md-lightbox-trigger {
    display: block;
    cursor: pointer;
}

.vapma-md-section-link {
    color: #fff;
    text-decoration: none;
}

.vapma-md-section-link:hover {
    color: #cf2e2e;
}

/* Video play indicator */

.vapma-md-media-grid a[data-media-type="video"] {
    position: relative;
}

.vapma-md-media-grid a[data-media-type="video"]::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: #fff;
    background: rgba(0,0,0,0.6);
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

/* =========================
   Messages Layout
   ========================= */

.vapma-md-messages-layout {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.vapma-md-messages-main {
    flex: 1 1 auto;
    min-width: 0;
}

.vapma-md-messages-sidebar {
    width: 280px;
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vapma-md-thread-search input {
    width: 100%;
    height: 34px;
    background: #111;
    border: 1px solid #242424;
    color: #fff;
    padding: 0 12px;
    border-radius: 10px;
    box-sizing: border-box;
}

.vapma-md-thread-search input::placeholder {
    color: #7f7f7f;
}

.vapma-md-messages-thread-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vapma-md-box[data-thread-id] {
    cursor: pointer;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #1f1f1f;
    background: #0d0d0d;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.vapma-md-box[data-thread-id]:hover {
    background: #141414;
    border-color: #2a2a2a;
}

.vapma-md-thread-card.is-active {
    border-color: #cf2e2e;
    background: rgba(0, 255, 136, 0.08);
    box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.25);
}

.vapma-md-thread-card.is-unread:not(.is-active) {
    border-color: #2c2c2c;
    background: #121212;
}

.vapma-md-thread-card.is-unread:not(.is-active) .vapma-md-thread-name {
    color: #ffffff;
    font-weight: 700;
}

.vapma-md-thread-card.is-unread:not(.is-active) .vapma-md-thread-preview {
    color: #cfcfcf;
}

.vapma-md-thread-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
}

.vapma-md-thread-name {
    min-width: 0;
    font-size: 14px;
    line-height: 1.2;
    color: #f2f2f2;
    font-weight: 600;
}

.vapma-md-thread-time {
    flex: 0 0 auto;
    font-size: 10px;
    line-height: 1.2;
    color: #7f7f7f;
    white-space: nowrap;
}

.vapma-md-thread-preview {
    font-size: 12px;
    line-height: 1.4;
    color: #9a9a9a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vapma-md-conversation {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
    height: 70vh;
    min-height: 0;
}

.vapma-md-conversation-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;

    -ms-overflow-style: none;
    scrollbar-width: none;
}

.vapma-md-conversation-body::-webkit-scrollbar {
    display: none;
}

.vapma-md-conversation-header {
    margin-bottom: 6px;
}

.vapma-md-back-to-messages {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    color: #7a7a7a;
    text-decoration: none;
    letter-spacing: 0.04em;
}

.vapma-md-back-to-messages:hover {
    color: #cf2e2e;
}

.vapma-md-conversation-kicker {
    margin: 0 0 4px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a8a8a;
}

.vapma-md-conversation-header h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.15;
    color: #fff;
}

.vapma-md-message-compose {
    flex: 0 0 auto;
    background: #0b0b0b;
    padding: 14px 0 0;
    margin-top: 4px;
    border-top: 1px solid #1a1a1a;
}

.vapma-md-message-compose input[type="text"],
.vapma-md-message-compose textarea {
    width: 100%;
    background: #111;
    border: 1px solid #242424;
    color: #fff;
    border-radius: 8px;
    padding: 10px 12px;
    box-sizing: border-box;
    margin-bottom: 8px;
}

.vapma-md-message-compose textarea {
    min-height: 96px;
    resize: vertical;
}

.vapma-md-message-compose button {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #2a2a2a;
    background: #151515;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

.vapma-md-message-compose button:hover {
    border-color: #cf2e2e;
    color: #cf2e2e;
}

.vapma-md-message-send-status {
    margin-top: 8px;
    font-size: 12px;
    color: #b8b8b8;
}

.vapma-md-message-tools {
    margin-bottom: 8px;
}

.vapma-md-message-library-picker {
    margin: 0 0 10px;
    padding: 10px;
    border: 1px solid #242424;
    border-radius: 10px;
    background: #101010;
}

.vapma-md-message-library-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

[data-card="recent-media"] .vapma-md-message-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.vapma-md-message-library-item {
    width: 100%;
    text-align: left;
    font-size: 12px;
    line-height: 1.35;
    padding: 8px;
}

.vapma-md-message-library-thumb-wrap {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.vapma-md-message-library-thumb {
    display: block;
    width: 100%;
    height: 110px;
    object-fit: cover;
    background: #000;
    border-radius: 8px;
}

[data-card="recent-media"] .vapma-md-message-library-thumb-wrap {
    margin-bottom: 0;
    border-radius: 6px;
}

[data-card="recent-media"] .vapma-md-message-library-thumb,
[data-card="recent-media"] video {
    width: 100%;
    height: 88px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.vapma-md-message-library-label {
    display: block;
    font-size: 11px;
    line-height: 1.3;
    color: #d0d0d0;
    word-break: break-word;
}

.vapma-md-message-library-selection {
    margin: 0 0 8px;
}

.vapma-md-message-library-selected {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 999px;
    background: rgba(0, 255, 136, 0.08);
    color: #d8ffe9;
    font-size: 12px;
    line-height: 1.2;
}

.vapma-md-access-toggle {
    display: flex;
    border: 1px solid #2a2a2a;
    border-radius: 999px;
    overflow: hidden;
    background: #0e0e0e;
    padding: 2px;
}

.vapma-md-access-toggle span {
    flex: 1;
    text-align: center;
    font-size: 10px;
    padding: 6px 0;
    color: #7f7f7f;
    border-radius: 999px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.vapma-md-access-toggle span.active {
    background: #1a1a1a;
    color: #ffffff;
}

.vapma-md-media-name-editable {
    font-size: 15px;
    margin-top: 2px;
    letter-spacing: normal;
    font-weight: 600;
    color: #ffffff;
    cursor: text;
    padding: 2px 4px;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.vapma-md-media-name-editable::after {
    content: '✎';
    font-size: 10px;
    margin-left: 6px;
    color: #cf2e2e;
    filter: none;
    position: relative;
    top: -1px;
}

.vapma-md-media-name-editable:hover {
    background: rgba(255, 255, 255, 0.04);
}

.vapma-md-media-name-editable:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.vapma-md-media-name-editable:focus::after {
    display: none;
}

.vapma-md-quick-access-pill {
    display: inline-flex;
    width: 100%;
    border: 1px solid #2a2a2a;
    border-radius: 999px;
    background: linear-gradient(180deg, #1c1c1c 0%, #121212 100%);
    padding: 2px;
    box-sizing: border-box;
    margin: 4px 0 2px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.vapma-md-quick-access-pill:hover {
    border-color: #5a5a5a;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 0 0 1px rgba(255,255,255,0.05),
        0 3px 8px rgba(0,0,0,0.5);
}

.vapma-md-quick-access-option {
    flex: 1 1 50%;
    border: 0;
    background: transparent;
    color: #9f9f9f;
    padding: 5px 8px;
    font-size: 11px;
    line-height: 1.2;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.vapma-md-quick-access-option:hover {
    background: rgba(255,255,255,0.05);
    color: #ccc;
}

/* Active state keeps outer rounding */
.vapma-md-quick-access-option.is-active[data-scope-value="general"] {
    border-radius: 999px 0 0 999px;
}

.vapma-md-quick-access-option.is-active[data-scope-value="special"] {
    border-radius: 0 999px 999px 0;
}

.vapma-md-quick-access-option:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.06);
}

/* Hover keeps outer rounding */
.vapma-md-quick-access-option:hover[data-scope-value="general"] {
    border-radius: 999px 0 0 999px;
}

.vapma-md-quick-access-option:hover[data-scope-value="special"] {
    border-radius: 0 999px 999px 0;
}

.vapma-md-quick-access-option.is-active {
    background: linear-gradient(180deg, #3a171b 0%, #2a1114 100%);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), inset 0 -2px 4px rgba(0,0,0,0.35);
}

.vapma-md-sidebar-wrap {
    width: 150px;
    flex: 0 0 150px;
}

.vapma-md-sidebar-toggle {
    display: none;
}

.vapma-md-edit-category-wrap {
    margin-top: 6px;
}

.vapma-md-category-input-wrap {
    position: relative;
}

.vapma-md-category-input-wrap .vapma-edit-category {
    padding-right: 38px !important;
}

.vapma-md-category-input-wrap .vapma-category-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    background: rgba(0,0,0,0.75);
    color: #ffffff;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    z-index: 30;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.vapma-md-category-input-wrap .vapma-category-clear:hover {
    border-color: #cf2e2e;
    color: #ffffff;
    background: rgba(120,0,0,0.72);
}

.vapma-md-edit-panel textarea.vapma-edit-description::placeholder,
.vapma-md-edit-panel input.vapma-edit-keywords::placeholder {
    color: #7a7a7a !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #7a7a7a !important;
}

.vapma-md-media-item.vapma-md-active .vapma-md-media-deactivate-button {
    display: none !important;
}

.vapma-request-panel {
    border: 1px solid #cf2e2e;
    background: #0f1a14;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.vapma-request-panel input[type="text"] {
    color: #ffffff;
    background: #0a0a0a;
    border: 1px solid #cf2e2e;
}

.vapma-request-panel button {
    border-color: #cf2e2e;
    color: #cf2e2e;
}

.vapma-request-panel button:hover {
    background: #cf2e2e;
    color: #000;
}

.vapma-md-media-ribbon {
    position: absolute;
    top: 8px;
    left: -18px;
    width: 64px;
    text-align: center;
    background: #cf2e2e;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 0 3px;
    transform: rotate(-45deg);
    z-index: 7;
    letter-spacing: 0.04em;
    box-sizing: border-box;
}

.vapma-md-media-edit {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 7;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(0,0,0,0.75);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 11px;
    line-height: 1.2;
    cursor: pointer;
}

.vapma-plan-item-creator-subscription {
    position: relative;
    display: grid;
    grid-template-columns: 78px 1fr;
    grid-template-areas:
        "avatar title"
        "avatar price"
        "avatar status";
    align-items: center;
    gap: 6px 14px;
    min-height: 132px;
    padding: 16px 16px 15px;
    background:
        radial-gradient(circle at top right, rgba(207, 46, 46, 0.18), transparent 32%),
        linear-gradient(180deg, #171717 0%, #101010 100%);
    border: 3px solid #3a3a3a;
    border-radius: 18px;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.vapma-plan-item-creator-subscription:hover {
    transform: translateY(-4px);
    border-color: #6a6a6a;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.vapma-plan-item-creator-subscription::before {
    content: "";
    position: absolute;
    inset: -120% auto -120% -40%;
    width: 55%;
    background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.055) 45%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.055) 55%, transparent 100%);
    transform: translateX(-140%) rotate(12deg);
    pointer-events: none;
    opacity: 0;
}

.vapma-plan-item-creator-subscription:hover::before {
    opacity: 1;
    transform: translateX(300%) rotate(12deg);
    transition: transform 0.8s ease, opacity 0.2s ease;
}

.vapma-plan-item-creator-subscription .vapma-creator-cover {
    display: none;
}

.vapma-plan-item-creator-subscription .vapma-creator-avatar {
    grid-area: avatar;
    width: 68px;
    height: 68px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(207, 46, 46, 0.38);
    background: #111;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    align-self: center;
}

.vapma-plan-item-creator-subscription .vapma-creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vapma-plan-item-creator-subscription .vapma-plan-title {
    grid-area: title;
    margin: 0;
    padding: 0;
    font-size: 20px;
    line-height: 1.05;
    font-weight: 700;
}

.vapma-plan-item-creator-subscription .vapma-plan-price {
    grid-area: price;
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: #f5f5f5;
}

.vapma-plan-item-creator-subscription .vapma-tier-badge {
    display: inline-block;
    margin: 0 0 6px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(207, 46, 46, 0.45);
    background: rgba(207, 46, 46, 0.12);
    color: #ffb3b3;
}

.vapma-plan-item-creator-subscription .vapma-tier-price {
    margin-top: 3px;
    font-size: 17px;
    line-height: 1.05;
    font-weight: 700;
    color: #f3f3f3;
}

.vapma-plan-item-creator-subscription .vapma-plan-action {
    grid-area: status;
    margin-top: 4px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.2;
}

.vapma-plan-item-creator-subscription .vapma-status-warning {
    display: inline-block;
    margin-top: 2px;
}

.vapma-plan-item-creator-subscription .vapma-creator-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 7px 12px;
    min-height: 32px;
    border: 1px solid #343434;
    border-radius: 9px;
    background: #1b1b1b;
    color: #f1f1f1;
    font-size: 12px;
    line-height: 1.1;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.vapma-plan-item-creator-subscription .vapma-creator-card-button:hover {
    background: #262626;
    border-color: #cf2e2e;
    color: #ffffff;
}

.vapma-plan-item-creator-subscription .vapma-creator-card-form {
    margin: 0;
}

.vapma-creator-subscription-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.vapma-creator-subscription-grid .vapma-plan-item-creator-subscription {
    min-height: 0;
}

.vapma-md-media-reset-stats-icon {
    position: absolute;
    top: 30px;
    left: 6px;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    background: rgba(0,0,0,0.72);
    color: #ffffff;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
    cursor: pointer;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vapma-md-media-reset-stats-icon:hover {
    border-color: #cf2e2e;
    background: rgba(120,0,0,0.72);
    color: #ffffff;
}

.vapma-performance-board-row .vapma-md-box {
    border: 1px solid #2a2a2a;
    background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
}

.vapma-performance-history-row .vapma-md-box {
    border: 1px solid #1f1f1f;
    background: #0b0b0b;
}

.vapma-performance-history p {
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 6px;
}

.vapma-performance-history p:last-child {
    border-bottom: none;
}

.vapma-performance-subscribers-title {
    margin: 20px 0 12px !important;
    padding-top: 14px;
    border-top: 1px solid #1f1f1f;
}

.vapma-performance-subscriber-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vapma-performance-subscriber-item {
    padding: 10px 12px;
    border: 1px solid #202020;
    border-radius: 10px;
    background: #0c0c0c;
    color: #d0d0d0;
    font-size: 13px;
    line-height: 1.5;
}

.vapma-performance-top-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 18px;
}

.vapma-performance-top-card {
    padding: 16px;
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 8%, rgba(0,0,0,0.6) 100%),
        radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,0.06) 0%, transparent 60%),
        #0a0a0a;
    border: 2px solid #2f2f2f;
    text-align: center;
    transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        inset 0 -8px 18px rgba(0,0,0,0.6);
}

.vapma-performance-top-card:hover {
    transform: translateY(-2px);
    border-color: #2a2a2a;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.92) 20%, rgba(0,0,0,0.98) 100%),
        radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,0.06) 0%, transparent 55%),
        #030303;
    box-shadow:
        0 16px 32px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.06),
        inset 0 -10px 22px rgba(0,0,0,0.85);
}

.vapma-performance-top-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8a8a8a;
    margin-bottom: 4px;
}

.vapma-performance-top-value {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.vapma-performance-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 16px;
}

.vapma-performance-stat {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(0,0,0,0.65) 100%),
        radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,0.05) 0%, transparent 60%),
        #0a0a0a;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    padding: 12px;
    transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        inset 0 -6px 14px rgba(0,0,0,0.55);
}

.vapma-performance-stat:hover {
    transform: translateY(-1px);
    border-color: #2a2a2a;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(0,0,0,0.92) 20%, rgba(0,0,0,0.98) 100%),
        radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,0.05) 0%, transparent 55%),
        #030303;
    box-shadow:
        0 14px 30px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.05),
        inset 0 -8px 18px rgba(0,0,0,0.8);
}

.vapma-performance-stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8a8a8a;
    margin-bottom: 8px;
}

.vapma-performance-stat-value {
    font-size: 22px;
    line-height: 1.1;
    font-weight: 700;
    color: #ffffff;
}

.vapma-performance-chart-wrap {
    margin: 16px 0 12px;
    padding: 12px 12px 8px;
    border-radius: 10px;
    background: #0b0b0b;
    border: 1px solid #1f1f1f;
}

#vapma-performance-chart {
    display: block;
    width: 100%;
    height: 100px;
}

.vapma-performance-chart-title {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a8a8a;
    margin-bottom: 6px;
}

.vapma-performance-hot {
    color: #ff4d4d;
    font-weight: 700;
}

.vapma-performance-hold {
    color: #ffaa33;
    font-weight: 600;
}

.vapma-performance-chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.vapma-performance-chart-legend {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.vapma-performance-chart-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #9a9a9a;
    line-height: 1;
}

.vapma-performance-chart-legend-line {
    display: inline-block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
}

.vapma-performance-chart-legend-line-views {
    background: #8f8f8f;
}

.vapma-performance-chart-legend-line-roxd {
    background: #cf2e2e;
}

.vapma-performance-chart-legend-line-shares {
    background: #ffffff;
}

.vapma-performance-media-strip {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px;
    margin: 0 0 4px;
    align-items: center;
}

.vapma-performance-media-card {
    background: #080808;
    border: 1px solid #1a1a1a;
    border-radius: 10px;
    padding: 8px;
    overflow: hidden;
    opacity: 0.85;
    transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease, opacity 0.12s ease;
}

.vapma-performance-media-card:hover {
    transform: translateY(-2px);
    border-color: #2f2f2f;
    background: #0e0e0e;
    opacity: 1;
}

.vapma-performance-media-card:hover {
    transform: translateY(-2px);
    border-color: #3a3a3a;
    background: #101010;
}

.vapma-performance-media-label {
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5f5f5f;
    margin-bottom: 6px;
}

.vapma-performance-media-image {
    display: block;
    width: 100%;
    max-height: 120px;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.9;
    background: #000;
}

.vapma-performance-media-image-profile {
    height: 80px;
    border-radius: 8px;
}

.vapma-performance-top-card-media {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.vapma-performance-top-media-image {
    width: 90%;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    background: #000;
}

.vapma-md-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vapma-md-user-chip {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid #2a2a2a;
    background: #000;
}

.vapma-md-user-name {
    display: inline-block;
}

.vapma-performance-compare {
    margin: 10px 0 14px;
}

.vapma-performance-compare h3 {
    margin: 0 0 6px;
    font-size: 14px;
    color: #ffffff;
}

.vapma-performance-compare-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.vapma-performance-compare-item {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.7) 100%),
        #0a0a0a;
    border: 2px solid #262626;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        inset 0 -6px 14px rgba(0,0,0,0.55);
}

.vapma-performance-compare-item:hover {
    transform: translateY(-1px);
    border-color: #2a2a2a;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(0,0,0,0.94) 25%, rgba(0,0,0,0.99) 100%),
        radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,0.05) 0%, transparent 55%),
        #030303;
    box-shadow:
        0 12px 26px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.05),
        inset 0 -8px 18px rgba(0,0,0,0.8);
}

.vapma-performance-compare-label {
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6f6f6f;
    margin-bottom: 4px;
}

.vapma-performance-compare-values {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
}

.vapma-performance-compare-you {
    color: #ffffff;
}

.vapma-performance-compare-sep {
    margin: 0 3px;
    color: #666;
}

.vapma-performance-compare-avg {
    color: #9a9a9a;
}

.vapma-performance-top-media-link {
    display: block;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.vapma-performance-top-media-link:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}

.vapma-performance-top-card,
.vapma-performance-stat,
.vapma-performance-compare-item {
    position: relative;
    overflow: hidden;
}

.vapma-performance-top-card::after,
.vapma-performance-stat::after,
.vapma-performance-compare-item::after {
    content: "";
    position: absolute;
    top: -120%;
    left: -40%;
    width: 50%;
    height: 260%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.0) 0%,
        rgba(255,255,255,0.03) 45%,
        rgba(255,255,255,0.07) 50%,
        rgba(255,255,255,0.03) 55%,
        rgba(255,255,255,0.0) 100%
    );
    transform: rotate(18deg);
    opacity: 0;
    pointer-events: none;
}

.vapma-performance-top-card:hover::after,
.vapma-performance-stat:hover::after,
.vapma-performance-compare-item:hover::after {
    opacity: 1;
    animation: vapma-shimmer 0.55s ease-out forwards;
}

@keyframes vapma-shimmer {
    0% {
        transform: translateX(-120%) rotate(18deg);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        transform: translateX(200%) rotate(18deg);
        opacity: 0;
    }
}

@media (max-width: 980px) {
    .vapma-creator-subscription-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .vapma-md-body {
        flex-direction: column;
    }

    .vapma-md-sidebar-wrap {
        width: 100%;
        flex: 1 1 100%;
    }

    .vapma-md-sidebar-toggle {
        display: inline-block;
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #2a2a2a;
        background: #151515;
        color: #fff;
        border-radius: 8px;
        cursor: pointer;
        text-align: left;
        font-size: 13px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .vapma-md-sidebar {
        display: none;
        width: 100%;
        border-right: 0;
        border-top: 1px solid #161616;
        padding-top: 8px;
    }

    .vapma-md-sidebar.is-open {
        display: block;
    }

    .vapma-md-main {
        width: 100%;
        max-width: 100%;
    }

    .vapma-md-media-grid {
        grid-template-columns: 1fr;
    }

    .vapma-md-message-bubble {
        max-width: 100%;
    }

    .vapma-md-message-you,
    .vapma-md-message-them {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 640px) {
    .vapma-creator-subscription-grid {
        grid-template-columns: 1fr;
    }
}