body {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f5f7fa;
    padding: 20px;
    max-width: 600px;
    margin: auto;
    color: #333;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 10px;
}

.note {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.q {
    margin-bottom: 18px;
}

.q p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

label {
    display: inline-block;
    margin-right: 15px;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 14px;
    font-size: 18px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #2980b9;
}

#result {
    margin-top: 20px;
    padding: 15px;
    background: #ecf0f1;
    border-left: 6px solid #3498db;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
}