.ampt-overlay-frame {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    container-type: inline-size;
    line-height: 0;
    background: #fff;
}

.ampt-overlay-image {
    display: block;
    width: 100%;
    height: auto;
}

.ampt-overlay-patch {
    position: absolute;
    z-index: 2;
    display: block;
    box-sizing: border-box;
    background-color: #fff;
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
}

.ampt-overlay-title {
    left: 17%;
    top: 4.6%;
    width: 44%;
    height: 10%;
    background-image: url('ampt-title-generated-patch.png');
}

.ampt-overlay-logo {
    right: 2.6%;
    bottom: 4.2%;
    z-index: 3;
    width: 17.2%;
    height: 16.7%;
    border-radius: 2px;
    background-image: url('ampt-logo-generated-patch-v3.png');
}

.ampt-overlay-previous-draw {
    position: absolute;
    left: 50%;
    bottom: 9%;
    z-index: 4;
    display: block;
    width: 88%;
    color: #e00000;
    font-family: SimSun, "Songti SC", serif;
    font-size: clamp(7px, 1.95cqw, 14px);
    font-weight: 900;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(255, 255, 255, .95);
    transform: translateX(-50%);
    pointer-events: none;
}

.ampt-overlay-frame--fallback [data-ampt-overlay] {
    display: none;
}

