.engine-update-panel {
    display: flex !important;
    flex-direction: column;
}

#tab-extra #rvtik-update-card.engine-update-panel[hidden] {
    display: none !important;
}

.engine-update-panel .engine-update-banner {
    display: block;
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 220px;
    flex: 1 1 0;
    object-fit: cover;
    object-position: center;
}

.rvtik-update-card-content {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: grid;
    gap: 14px;
    padding: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rvtik-update-card-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 18px;
}

.rvtik-update-card-heading i {
    color: #67e8f9;
}

.rvtik-update-version {
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    font-weight: 700;
}

.rvtik-update-status {
    min-height: 24px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.5;
}

.rvtik-update-progress {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
}

.rvtik-update-progress[hidden] {
    display: none;
}

.rvtik-update-progress-track {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.rvtik-update-progress-bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22d3ee, #60a5fa);
    transition: width 180ms ease;
}

.rvtik-update-progress-text {
    min-width: 38px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.rvtik-update-action {
    justify-self: start;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(103, 232, 249, 0.35);
    border-radius: 12px;
    color: #e6fbff;
    background: rgba(34, 211, 238, 0.12);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.rvtik-update-action:hover:not(:disabled) {
    background: rgba(34, 211, 238, 0.2);
}

.rvtik-update-action:disabled {
    cursor: wait;
    opacity: 0.55;
}

.rvtik-update-action[hidden] {
    display: none;
}
