* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fffbf0;
    padding: 40px 20px;
    line-height: 1.6;
    color: #2d2d2d;
}

.container {
    max-width: 600px;
    margin: 0 auto;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2d2d2d;
}

.subtitle {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1em;
}

.question {
    margin-bottom: 20px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border: 1px solid #f0e6d2;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #2d2d2d;
}

.input-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

select {
    flex: 1;
    min-width: 200px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-family: inherit;
    font-size: 1em;
}

select:focus {
    outline: none;
    border-color: #ffb84d;
}

.weight-label {
    font-size: 0.85em;
    color: #666;
    white-space: nowrap;
}

input[type="range"] {
    width: 100px;
    -webkit-appearance: none;
    height: 4px;
    background: #f0e6d2;
    outline: none;
    border-radius: 2px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #ffb84d;
    cursor: pointer;
    border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #ffb84d;
    cursor: pointer;
    border: none;
    border-radius: 50%;
}

.weight-value {
    width: 20px;
    text-align: center;
    font-weight: 600;
    color: #ffb84d;
}

button {
    width: 100%;
    padding: 14px;
    margin-top: 20px;
    border: 2px solid #ffb84d;
    background: #ffb84d;
    font-family: inherit;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    color: #2d2d2d;
    transition: all 0.2s;
}

button:hover {
    background: #ffa31a;
    border-color: #ffa31a;
    transform: translateY(-1px);
}

#results {
    display: none;
}

#results h2 {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2d2d2d;
}

.cheese {
    padding: 20px;
    margin-bottom: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #f0e6d2;
}

.cheese h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d2d2d;
}

.country {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 10px;
}

.detail {
    color: #666;
    font-size: 0.9em;
    margin: 4px 0;
}

.cheese a {
    color: #ffb84d;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 10px;
}

.cheese a:hover {
    text-decoration: underline;
}

.no-match {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }
    
    .input-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .weight-label {
        margin-top: 10px;
    }
    
    input[type="range"] {
        width: 100%;
    }
}