*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 100%;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: #f4f4f2;
    color: #1c1c1c;
    line-height: 1.5;
}

.game {
    width: 100%;
    max-width: 22rem;
    text-align: center;
    background: #fff;
    padding: 2rem 1.75rem;
    border-radius: 12px;
    border: 1px solid #e8e8e4;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
}

.game h1 {
    margin: 0 0 0.35rem;
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.tagline {
    margin: 0 0 2rem;
    font-size: 0.875rem;
    color: #5c5c5c;
}

.choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.choices button {
    flex: 1 1 auto;
    min-width: 5.5rem;
    padding: 0.65rem 1rem;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1c1c1c;
    background: #f4f4f2;
    border: 1px solid #d4d4d0;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.choices button:hover {
    background: #eaeae8;
    border-color: #b8b8b4;
}

.choices button:active {
    transform: scale(0.98);
}

.score {
    padding-top: 1.5rem;
    border-top: 1px solid #d4d4d0;
    font-size: 0.9rem;
    color: #3a3a3a;
}

.score p {
    margin: 0.4rem 0;
}

.score p:first-child {
    margin-top: 0;
}

.score span {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: #1c1c1c;
}

#result {
    min-height: 1.5em;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0dc;
    font-size: 0.875rem;
    color: #4a4a4a;
}

#result:empty {
    border-top-color: transparent;
    padding-top: 0;
    margin-top: 0.5rem;
}
