.post-main {
    padding-top: 20px
}

.back-link {
    display: inline-flex;
    margin: 0 0 14px;
    color: #aaa;
    font-size: 13px
}

.post-hero {
    position: relative;
    width: min(100%, 920px);
    aspect-ratio: 16/9;
    min-height: 0;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    background: #151515;
    border: 1px solid rgba(255, 255, 255, .13);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 45, 63, .06)
}

.post-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 28%
}

.post-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .48) 48%, rgba(0, 0, 0, .14)), linear-gradient(0deg, rgba(0, 0, 0, .88), transparent 52%)
}

.post-hero-content {
    position: absolute;
    z-index: 2;
    left: 30px;
    right: 30px;
    bottom: 28px;
    max-width: 720px
}

.post-hero h1 {
    font-size: clamp(32px, 5vw, 58px);
    margin: 7px 0 8px
}

.post-views {
    color: #c3c8cf;
    font-size: 13px
}

.post-play {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(255, 45, 63, .94);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(255, 0, 38, .28)
}

.post-play span {
    font-size: 28px;
    margin-left: 5px
}

.action-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 11px;
    font-weight: 900;
    padding: 12px 14px;
    border: 1px solid var(--line)
}

.action-fast {
    background: #1b1f26
}

.action-watch {
    background: linear-gradient(135deg, #ff3146, #c80d27)
}

.action-download {
    background: #15171b
}

.description {
    background: #111318;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    margin: 22px 0
}

.description h2,
.recommend h2 {
    font-size: 20px;
    margin: 0 0 13px
}

.description p {
    color: #c2c8d0;
    line-height: 1.72;
    margin: 0;
    white-space: pre-wrap
}

.recommend {
    margin: 28px 0
}

.post-error {
    padding: 30px 0;
    color: #ff8b96
}

.action-row:empty {
    display: none
}

@media(max-width:768px) {
    .post-main {
        padding-top: 14px
    }

    .post-hero {
        width: min(100%, 760px);
        min-height: 0;
        border-radius: 13px
    }

    .post-hero-content {
        left: 18px;
        right: 18px;
        bottom: 18px
    }

    .post-play {
        width: 68px;
        height: 68px
    }

    .action-row {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:430px) {
    .post-hero {
        width: 100%;
        min-height: 0
    }

    .post-play {
        width: 62px;
        height: 62px
    }

    .action-row {
        grid-template-columns: 1fr
    }

    .action-btn {
        min-height: 50px
    }

    .description {
        padding: 16px
    }

    .post-hero h1 {
        font-size: 30px
    }
}

.telegram-float {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 17px;
    border-radius: 50px;
    background: #229ed9;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(34, 158, 217, .45);
    transition: transform .2s, box-shadow .2s;
    animation: telegram-pulse 2.5s infinite;
}

.telegram-float svg {
    width: 23px;
    height: 23px;
}

.telegram-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 9px 30px rgba(34, 158, 217, .65);
}

@keyframes telegram-pulse {
    50% {
        box-shadow: 0 6px 30px rgba(34, 158, 217, .75);
    }
}

@media (max-width: 600px) {
    .telegram-float {
        right: 12px;
        bottom: 18px;
        padding: 12px;
    }

    .telegram-float span {
        display: none;
    }
}