/*
 * Action Stack — right-rail icon buttons over video
 * ------------------------------------------------- */

.action-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Each action item: icon + label + optional count */
.action-stack__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.action-stack__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.15s;
}

.action-stack__icon:active {
    background: rgba(255, 255, 255, 0.15);
}

.action-stack__icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.6));
}

/* Avatar circle variant */
.action-stack__icon--avatar {
    overflow: hidden;
    border: 2px solid #fff;
}

.action-stack__icon--avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.action-stack__count {
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1;
}

.action-stack__label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1;
}

/* Secondary actions (share, report) hidden until expanded */
.action-stack__item--secondary {
    display: none;
}

.action-stack.is-expanded .action-stack__item--secondary {
    display: flex;
}

/* Expand toggle */
.action-stack__expand {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-stack__expand svg {
    width: 16px;
    height: 16px;
    color: #fff;
}