#qso-overlay {
    position: fixed; z-index: 9999; top:0; left:0; width:100vw; height:100vh;
    display: flex; align-items: center; justify-content: center;
}
.qso-overlay-bg {
    position: absolute; width: 100vw; height: 100vh; background: rgba(0,0,0,0.8); top:0; left:0;
}
.qso-center {
    position: relative; z-index: 2; background: #fff; border-radius: 10px; padding: 2em 2em 1em 2em; min-width: 320px; max-width: 90vw;
    display: flex; flex-direction: column; align-items: center;
}
#qso-form {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 1em;
    flex-direction: row;
    justify-content: center;
}

#qso-input {
    flex: 1 1 auto;
    padding: .5em 1em;
    font-size: 1.3em;
    border-radius: 5px;
    border: 1px solid #ccc;
    min-width: 0; /* allow shrinking */
}

#qso-submit {
    background: none;
    border: none;
    font-size: 1.5em;
    color: #666;
    cursor: pointer;
    padding: .5em 1em;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #f3f3f3;
    margin-left: 0;
    margin-top: 0;
    /* REMOVE width: 100%; from desktop! */
    flex: 0 0 auto; /* Only as wide as content */
}

@media (max-width: 600px) {
    #qso-form {
        flex-direction: column;
        gap: 0.75em;
        align-items: stretch;
    }
    #qso-input, #qso-submit {
        width: 100%;
        font-size: 1.1em;
    }
    #qso-submit {
        font-size: 1.1em;
    }
}