
html {
    font-size: 16px;
}


body {
    background-image: url('http://tool.2fk.cn/img/ssq.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 1.25rem; 
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}


.main-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1.25rem; 
    border-radius: 0.625rem;
    width: 90%; 
    max-width: 600px;
}


h1 {
    text-align: center;
    color: #333;
    margin-bottom: 1.25rem; 
}


.option-container,
.result-container,
.saved-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0.9375rem; 
    border-radius: 0.3125rem;
    margin-bottom: 1.25rem; 
}


input[type="radio"] {
    margin-right: 0.3125rem;
}


label {
    margin-right: 0.9375rem;
    color: #333;
}


button {
    padding: 0.3125rem 0.625rem; 
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 0.1875rem;
    cursor: pointer;
}


button:hover {
    background-color: #0056b3;
}


.number-group,
.saved-number-group {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 0.625rem; 
    margin-bottom: 0.625rem; 
    border-radius: 0.1875rem;
}


.number-group span,
.saved-number-group span {
    margin-right: 0.625rem;
}


.marquee-container {
    width: 100%; 
    overflow: hidden;
    margin-bottom: 1.25rem; 
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.625rem 0; 
    border-radius: 0.3125rem;
}


.marquee {
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    color: white;
    font-size: 1rem; 
}


@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}


@media (max-width: 480px) {
    body {
        padding: 0.625rem;
    }

    .main-container {
        width: 95%;
    }

    h1 {
        font-size: 1.5rem;
    }

    label {
        display: block;
        margin-bottom: 0.3125rem;
    }

    button {
        width: 100%;
        margin-top: 0.625rem;
    }
}