.app {
    max-width: 1080px;
    margin: 0 auto;
    padding: 32px 24px;
}

body {
    background-color: #f7f5ef;
}

h1 {
    font-size: 50px;
}

.pair {
    display: flex;
    gap: 24px;
}

.painting-card {
    flex: 1;
    min-width: 0;
}

.painting-card img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: contain;
    background: #ebe8df;
}

button {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    background: #24594e;
    color: white;
    font: inherit;
    cursor: pointer;
}

@media (max-width: 700px) {
    .pair {
        flex-direction: column;
    }

    .app {
        padding: 24px 16px;
    }

    h1 {
        font-size: 28px;
    }

    .painting-card img {
        height: 280px;
    }
}

button:hover {
    background: #173e35;
    border-color: #173e35;
}

button:focus-visible {
    outline: 3px solid #a55a21;
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
}

button:disabled {
    opacity: 0.55;
    cursor: default;
}

#results {
    margin-top: 24px;
}

#results p {
    margin: 8px 0;
}

#nextButton,
#resetButton {
    max-width: 220px;
}

#stats,
#storageStatus,
footer {
    font-size: 14px;
}

#storageStatus {
    color: #8a460b;
}

#featureList {
    padding-left: 24px;
}

#featureList li {
    margin: 10px 0;
}

.feature-O {
    color: #24594e;
}

.feature-R {
    color: #86451b;
}

.feature-N {
    color: #555;
}

#roundSummary {
    margin-top: 24px;
}

.review-item {
    margin: 24px 0;
}

.review-pair {
    display: flex;
    gap: 16px;
}

.review-pair figure {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.review-pair img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

@media (max-width: 700px) {
    .review-pair {
        flex-direction: column;
    }
}
