/* ========================================= */
/* REELS VIEWER (Stand-alone) */
/* ========================================= */
body {
    background: #000 !important;
}
.reels-back-btn {
    position: absolute;
    top: 20px;
    left: 15px;
    color: #fff;
    font-size: 24px;
    z-index: 10001;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
}
.reels-container {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
}
.reels-container::-webkit-scrollbar {
    display: none;
}
.reels-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.reels-item {
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}
.reels-item video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}
.reels-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 70px; /* sağdaki butonlar için boşluk */
    color: #fff;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 15px 20px 15px;
}
.reels-author {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.reels-author img, .reels-author .reels-avatar-placeholder, .reels-author > div:first-child {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #fff;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.reels-desc {
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.reels-actions {
    position: absolute;
    bottom: 20px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    z-index: 2;
}
.reels-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    transition: transform 0.1s;
}
.reels-action-btn:active {
    transform: scale(0.9);
}
.reels-action-btn span {
    font-size: 13px;
    margin-top: 5px;
    font-weight: bold;
}
.reels-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 70px;
    color: rgba(255,255,255,0.7);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.reels-mute-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 3;
    backdrop-filter: blur(4px);
}
.reels-loader {
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
