.app-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: var(--bg-page);
    box-shadow: var(--shadow);
    transition: border-color 0.3s var(--ease), background-color 0.6s var(--ease);
}

.app-frame:hover {
    border-color: var(--border-strong);
}

.app-frame__view {
    display: block;
    width: 1440px;
    height: 900px;
    border: 0;
    transform-origin: top left;
    background: transparent;
}

.app-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (max-width: 640px) {
    .app-frame {
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-frame {
        transition: none;
    }
}