/* Match portrait frames to the actual screen proportions and clip both rounded edges. */
body.rd-public#homepage #main_content .rd-device:is(.rd-device--iphone, .rd-device--samsung, .rd-device--mobile-web) {
    width: min(100%, 300px);
    height: auto !important;
    padding: 6px;
    border: 2px solid #34383f;
    border-radius: 36px;
    background: #15181d;
    overflow: hidden;
    box-shadow: 0 18px 28px -18px #17294466;
}
body.rd-public#homepage #main_content .rd-device:is(.rd-device--iphone, .rd-device--samsung, .rd-device--mobile-web)::before,
body.rd-public#homepage #main_content .rd-device:is(.rd-device--iphone, .rd-device--samsung, .rd-device--mobile-web)::after {
    content: none;
    display: none;
}
body.rd-public#homepage #main_content .rd-device:is(.rd-device--iphone, .rd-device--samsung, .rd-device--mobile-web) > .rd-capture-link {
    display: block;
    width: 100%;
    height: auto !important;
    margin: 0;
    padding: 0;
    border-radius: 28px;
    overflow: hidden;
    line-height: 0;
    background: #fff;
}
body.rd-public#homepage #main_content .rd-device:is(.rd-device--iphone, .rd-device--samsung, .rd-device--mobile-web) img.banner {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    border-radius: inherit;
    object-fit: contain;
}
