.mando-release-stack {
    position: fixed;
    left: 22px;
    bottom: 24px;
    z-index: 930;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.mando-release-action {
    position: relative;
    display: inline-flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mando-release-action:hover {
    transform: translateY(-4px) scale(1.04);
}

.mando-release-action:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.78);
    outline-offset: 3px;
}

.mando-release-apk {
    background:
        radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.7), transparent 23%),
        linear-gradient(135deg, #ffb000 0%, #ff4d00 44%, #7c2cff 100%);
}

.mando-release-facebook {
    background: linear-gradient(135deg, #1877f2, #0b46b8);
}

.mando-release-action svg {
    width: 29px;
    height: 29px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
}

.mando-release-apk-label {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 18px;
    font-weight: 1000;
    letter-spacing: 0;
    line-height: 1;
    text-shadow: 0 3px 9px rgba(0, 0, 0, 0.38);
}

.mando-release-badge {
    position: absolute;
    top: -7px;
    right: -8px;
    min-width: 34px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #10d876;
    color: #07120d;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    box-shadow: 0 8px 18px rgba(16, 216, 118, 0.28);
}

.mando-release-tip {
    position: absolute;
    left: 74px;
    top: 50%;
    width: max-content;
    max-width: 230px;
    transform: translateY(-50%) translateX(-8px);
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(10, 12, 26, 0.96);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.mando-release-action:hover .mando-release-tip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.mando-release-pulse {
    position: absolute;
    inset: -5px;
    border: 2px solid rgba(255, 176, 0, 0.58);
    border-radius: inherit;
    animation: mandoReleasePulse 2.1s ease-out infinite;
}

.mando-release-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(2, 4, 12, 0.56);
    backdrop-filter: blur(9px) saturate(1.18);
}

.mando-release-modal.is-open {
    display: flex;
}

html.mando-apk-lock,
body.mando-apk-lock {
    overflow: hidden !important;
}

body.mando-apk-lock .mando-release-stack {
    display: none;
}

body.mando-apk-lock #mandotvMaintenanceAnnouncement {
    display: none !important;
    pointer-events: none !important;
}

.mando-release-card {
    position: relative;
    width: min(92vw, 520px);
    max-height: calc(100vh - 44px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background:
        radial-gradient(circle at top left, rgba(255, 176, 0, 0.34), transparent 36%),
        radial-gradient(circle at bottom right, rgba(255, 47, 109, 0.26), transparent 34%),
        rgba(9, 11, 24, 0.82);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.64);
}

.mando-release-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.06) 49% 51%, transparent 52% 100%),
        linear-gradient(0deg, transparent 0 48%, rgba(255, 255, 255, 0.04) 49% 51%, transparent 52% 100%);
    background-size: 42px 42px;
    opacity: 0.35;
    pointer-events: none;
}

.mando-release-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    z-index: 2;
    cursor: pointer;
    color: #fff;
    background: rgba(0, 0, 0, 0.54);
    font-size: 22px;
    line-height: 1;
}

.mando-release-content {
    position: relative;
    z-index: 1;
    padding: 38px 34px 34px;
    text-align: center;
}

.mando-release-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 176, 0, 0.35);
    border-radius: 999px;
    background: rgba(255, 176, 0, 0.11);
    color: #ffcf4d;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.mando-release-title {
    margin: 0;
    color: #fff;
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: clamp(34px, 6vw, 56px);
    font-weight: 900;
    line-height: 1;
}

.mando-release-title span {
    display: block;
    color: #ffb000;
}

.mando-release-copy {
    max-width: 430px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.mando-release-countdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 13px;
    border-radius: 8px;
    background: rgba(16, 216, 118, 0.12);
    color: #7dffba;
    font-weight: 900;
}

.mando-release-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0;
}

.mando-release-feature {
    min-height: 72px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
}

.mando-release-feature strong {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.mando-release-feature span {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    line-height: 1.25;
}

.mando-release-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.mando-release-primary,
.mando-release-secondary {
    display: inline-flex;
    flex: 0 1 360px;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    padding: 13px 16px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    color: #fff;
    font: inherit;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.1;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.mando-release-primary {
    background: linear-gradient(135deg, #ffb000 0%, #ff4d00 50%, #ff2f6d 100%);
    color: #fff;
}

.mando-release-modal.is-forced-download .mando-release-card {
    animation: mandoReleaseEnter 0.36s ease-out both;
}

.mando-release-modal.is-forced-download .mando-release-close,
.mando-release-modal.is-forced-download .mando-release-secondary,
.mando-release-modal.is-forced-download .mando-release-features,
.mando-release-modal.is-forced-download .mando-release-downloader,
.mando-release-modal.is-forced-download .mando-release-facebook-link {
    display: none !important;
}

.mando-release-secondary {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(135deg, #1877f2 0%, #6246ff 100%);
    color: #fff;
}

.mando-release-primary:hover,
.mando-release-secondary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
}

.mando-release-downloader {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding: 14px;
    border: 1px solid rgba(255, 176, 0, 0.2);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 176, 0, 0.12), rgba(24, 119, 242, 0.1));
}

.mando-release-downloader-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 800;
}

.mando-release-downloader-head strong {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(16, 216, 118, 0.16);
    color: #82ffbe;
    white-space: nowrap;
}

.mando-release-downloader-row {
    display: grid;
    grid-template-columns: minmax(116px, 0.45fr) minmax(0, 1fr);
    gap: 8px;
    align-items: center;
}

.mando-release-downloader-row span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 800;
}

.mando-release-downloader-row button {
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    cursor: pointer;
    background: rgba(5, 8, 20, 0.72);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.1;
    text-align: left;
    word-break: break-word;
}

.mando-release-downloader-row button:hover {
    border-color: rgba(255, 176, 0, 0.55);
    background: rgba(255, 176, 0, 0.13);
}

.mando-release-downloader p {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    line-height: 1.35;
}

.mando-release-facebook-link {
    display: inline-flex;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.mando-release-facebook-link:hover {
    color: #fff;
}

html.mando-page-tv .mando-release-stack {
    bottom: 136px;
}

@keyframes mandoReleasePulse {
    0% {
        opacity: 0.75;
        transform: scale(0.95);
    }
    70% {
        opacity: 0;
        transform: scale(1.28);
    }
    100% {
        opacity: 0;
        transform: scale(1.28);
    }
}

@keyframes mandoReleaseEnter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .mando-release-stack {
        left: 14px;
        bottom: 14px;
        gap: 9px;
    }

    html.mando-page-tv .mando-release-stack {
        bottom: 132px;
    }

    .mando-release-action {
        width: 54px;
        height: 54px;
    }

    .mando-release-tip {
        display: none;
    }

    .mando-release-content {
        padding: 30px 20px 26px;
    }

    .mando-release-features {
        grid-template-columns: 1fr;
    }

    .mando-release-primary,
    .mando-release-secondary {
        flex-basis: 100%;
        min-height: 60px;
    }
}
