/* get.unifiedradios.com's styles (index.php), a file so the page's CSP needs no 'unsafe-inline' in style-src. */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #015fb8;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    padding: 20px 10px;
}
.container {
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
    text-align: center;
    max-width: 500px;
    min-width: 300px;
    width: 95%;
    margin: 20px auto;
}
.logo {
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo img {
    max-height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .1));
}
h1 {
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 22px;
    font-weight: 600;
}
.subtitle {
    color: #718096;
    font-size: 15px;
    margin-bottom: 20px;
}
.version-box {
    background: #f7fafc;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 16px 0;
    border-left: 4px solid #015fb8;
    text-align: left;
}
.version-box .ver {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}
.download-btn {
    background: #015fb8;
    color: #fff;
    border: none;
    padding: 20px 24px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
    text-decoration: none;
    display: block;
    width: 100%;
    margin: 16px 0;
    touch-action: manipulation;
    min-height: 62px;
}
.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(1, 95, 184, .4);
}
.download-btn:active {
    transform: translateY(0);
}
.store-btn {
    background: #fff;
    color: #015fb8;
    border: 2px solid #015fb8;
}
.platform {
    color: #4a5568;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: left;
    margin-top: 24px;
}
.download-btn.done {
    background: #48bb78;
    cursor: default;
}
.post-download {
    background: #c6f6d5;
    color: #22543d;
    border: 2px solid #9ae6b4;
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
    display: none;
    text-align: left;
    font-size: 15px;
    line-height: 1.6;
}
.post-download.visible {
    display: block;
}
.post-download strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}
.post-download ol {
    margin: 8px 0 0 18px;
}
.post-download li {
    margin: 6px 0;
}
.footer {
    margin-top: 20px;
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
}
.footer a {
    color: #015fb8;
}
.not-on-radio {
    background: #f7fafc;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #015fb8;
    text-align: left;
}
.not-on-radio p {
    margin-bottom: 8px;
    font-size: 15px;
    color: #4a5568;
}
.fdroid summary {
    color: #718096;
    font-size: 14px;
    cursor: pointer;
}
.fdroid img {
    display: block;
    margin: 8px auto 12px;
    width: 180px;
    height: 180px;
    image-rendering: pixelated;
}
.fdroid .fingerprint {
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 12px;
    color: #2d3748;
    word-break: break-all;
    user-select: all;
}
.short-url {
    background: #edf2f7;
    border: 2px dashed #cbd5e0;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    letter-spacing: .5px;
    margin: 8px 0 16px;
    user-select: all;
    text-align: center;
}
@media (max-width: 480px) {
    body {
        padding: 0;
        background: #fff;
        align-items: stretch;
    }
    .container {
        background: #fff;
        border-radius: 0;
        padding: 20px 16px;
        margin: 0;
        max-width: none;
        min-height: 100vh;
        width: 100vw;
        box-shadow: none;
        border: none;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    h1 {
        font-size: 20px;
    }
    .download-btn {
        padding: 18px 20px;
        font-size: 17px;
        min-height: 58px;
    }
}

/* What were style="" attributes; each wins as the attribute did, hence !important. */
.u-logo { max-height: 80px !important; width: auto !important; }
.u-none-box { border-left-color: #dc3545 !important; }
.u-none-text { color: #dc3545 !important; }
.u-radio-help { margin-top: 16px !important; text-align: left !important; }
.u-radio-help > summary { color: #718096 !important; font-size: 14px !important; cursor: pointer !important; }
