.card {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.18);
}

.card-header {
    height: 50px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    background: #fff;
}

.logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.3);
}

.site-name {
    margin-left: 12px;
    font-size: 14px;
    font-weight: 400;
    color: #222;
}

.poster {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.poster img {
    width: 100%;
    height: 100%;
    object-fit: inherit;
}

/* Bottom section */
.card-actions {
    height: 40px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 2px;
}

.left-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-actions svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #111;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.like-count {
    font-size: 12px;
    font-weight: 700;
    color: #111;
    line-height: 1;
}

.save-svg {
    width: 23px;
    height: 23px;
}

.heart-icon.liked {
    fill: #e11d48 !important;
    stroke: #e11d48 !important;
}


/* reals */

.reels-box {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.18);
}

.reels-box video {
    width: 100%;
    height: calc(100% - 48px);
    object-fit: cover;
    display: block;
}

.reels-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(100% - 48px);
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.05) 30%,
            rgba(0, 0, 0, 0.15));
    z-index: 1;
    pointer-events: none;
}

.reels-header {
    position: absolute;
    top: 15px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    z-index: 2;
    color: #fff;
}

.reels-logo-ring {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf);
    flex-shrink: 0;
}

.reels-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
}

.reels-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
}

.reels-user-info {
    margin-left: 10px;
}

.reels-username {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.reels-audio {
    font-size: 12px;
    opacity: 0.5;
}

.reels-menu {
    margin-left: auto;
    font-size: 26px;
}

/* Reels bottom white section */
.reels-actions {
    height: 48px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 2px;
}

.reels-left-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reels-actions svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #111;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

.reels-action-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.reels-like-count {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    line-height: 1;
}

.reels-save-svg {
    width: 23px;
    height: 23px;
}

.reels-heart.liked {
    fill: #e11d48;
    stroke: #e11d48;
}