.vapma-md-dashboard-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    padding: 34px 38px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.07);

    background:
        radial-gradient(circle at top center, rgba(180,20,20,0.20) 0%, transparent 52%),
        linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.96) 100%);

    box-shadow:
        0 30px 60px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

.vapma-md-dashboard-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            120deg,
            transparent 0%,
            rgba(255,255,255,0.025) 35%,
            transparent 60%
        );
}

.vapma-md-dashboard-hero-kicker {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.55);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.vapma-md-dashboard-hero h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 38px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.vapma-md-dashboard-hero > p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,0.80);
    font-size: 16px;
    line-height: 1.8;
}

.vapma-md-dashboard-hero-callout {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);

    background:
        linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0.45) 100%);

    color: rgba(255,255,255,0.84);
    font-size: 14px;
    line-height: 1.7;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.03);
}

.vapma-md-dashboard-hero-callout strong {
    color: #ffffff;
}

.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-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 {
    padding-bottom: 0;
    margin-bottom: 8px;
    font-size: 13px;
    color: #b0b0b0;
}

.vapma-md-home-rail .vapma-md-box p:last-child {
    margin-bottom: 0;
}

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

.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-home-feed .vapma-md-box h3 {
    padding: 0 0 8px;
    font-size: 16px;
    margin: 0 0 12px;
    letter-spacing: 0;
    border-bottom: 0;
}

.vapma-md-home-feed .vapma-md-box h3::after {
    display: none;
}

.vapma-md-home-feed > .vapma-md-row > .vapma-md-box {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.vapma-md-home-feed > .vapma-md-row > .vapma-md-box:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
    background: transparent;
}

/* 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;
    position: relative;
    z-index: 2;
}

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

@media (max-width: 768px) {
    .vapma-md-home-layout {
        display: block;
    }

    .vapma-md-home-feed,
    .vapma-md-home-rail {
        width: 100%;
        max-width: 100%;
    }

    .vapma-md-home-rail {
        position: static;
        margin-top: 16px;
    }
}

.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-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: 12px;
    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(143, 88, 52, 0.45);
    background: rgba(143, 88, 52, 0.16);
    color: #c79a74;
}

.vapma-md-creator-tier-badge.tier-silver {
    border-color: rgba(184, 199, 214, 0.40);
    background: rgba(184, 199, 214, 0.12);
    color: #d9e2ea;
}

.vapma-md-creator-tier-badge.tier-gold {
    border-color: rgba(201, 151, 61, 0.45);
    background: rgba(201, 151, 61, 0.14);
    color: #d8b06a;
}

.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, #cf2e2e, #8f1d1d);
    color: #ffffff;
    font-size: 12px;
    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 10px rgba(207,46,46,0.35),
        0 0 20px rgba(207,46,46,0.18);
}

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

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

.vapma-md-feed-card-media {
    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: 12px;
    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: 12px;
    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: 12px;
    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: 12px;
    line-height: 1;
    border: 1px solid rgba(184,199,214,0.28);
    background: rgba(184,199,214,0.10);
    color: #b8c7d6;
    cursor: default;
}

.vapma-md-feed-action-subscribed:hover {
    background: rgba(184,199,214,0.10);
    border-color: rgba(184,199,214,0.28);
    color: #b8c7d6;
}

.vapma-md-feed-card-media a[data-media-type="video"] {
    position: relative;
    display: block;
}

.vapma-md-feed-card-media a[data-media-type="video"]::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(0,0,0,0.62);
    border: 1px solid rgba(255,255,255,0.18);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    z-index: 6;
    pointer-events: none;
}