#map {
    height: 750px;
    width: 750px;
    border-radius: 15px;
}

#place-image {
    width: 100%;
    max-width: 400px;
    height: 260px;
    object-fit: contain;
}

.game-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 24px;

    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f3ee;
    color: #283c32;
}

header {
    text-align: center;
    padding: 28px 20px 10px;
}

header h1 {
    margin: 0;
    font-size: 36px;
}

header p {
    margin: 8px 0 0;
    color: #626e66;
}

.clue-panel, .game-panel {
    padding: 20px;
    background: white;
    border: 1px solid #dfe4dd;
    border-radius: 15px;
}

.clue-panel h2 {
    font-size: 20px;
    margin-top: 0;
}

#map {
    width: 100%;
    height: 60vh;
    min-height: 350px;
}

#place-image {
    border-radius: 10px;
    background: #f4f3ee;
}

.photo-credit {
    font-size: 12px;
    margin-bottom: 24px;
}

a {
    color: #276347;
}

.guess-marker {
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

#hints {
    padding-left: 20px;
    line-height: 1.5;
}

#hints li {
    margin-bottom: 12px;
}

#attempts {
    font-weight: bold;
}

#guess-button {
    background: #276347;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f3ee;
    color: #283c32;
}

header {
    text-align: center;
    padding: 28px 20px 10px;
}

header h1 {
    margin: 0;
    font-size: 36px;
}

header p {
    margin: 8px 0 0;
    color: #626e66;
}

.clue-panel,
.game-panel {
    padding: 20px;
    background: white;
    border: 1px solid #dfe4dd;
    border-radius: 15px;
}

.clue-panel h2 {
    font-size: 20px;
    margin-top: 0;
}

#map {
    width: 100%;
    height: 60vh;
    min-height: 350px;
}

#place-image {
    border-radius: 10px;
    background: #f4f3ee;
}

.photo-credit {
    font-size: 12px;
    margin-bottom: 24px;
}

a {
    color: #276347;
}

#hints {
    padding-left: 20px;
    line-height: 1.5;
}

#hints li {
    margin-bottom: 12px;
}

#attempts {
    font-weight: bold;
}

#guess-button {
    background: #276347;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}

#guess-button:hover:not(:disabled) {
    background: #1c4934;
}

#guess-button:disabled {
    background: #dce3dc;
    color: #59645b;
    cursor: default;
}

#feedback {
    line-height: 1.5;
    min-height: 1.5em;
}

@media (max-width: 760px) {
    .game-layout {
        grid-template-columns: 1fr;
    }
}


#tutorial {
    box-sizing: border-box;
    width: calc(100% - 40px);
    max-width: 460px;
    padding: 28px;
    border: none;
    border-radius: 15px;
    background: #ffffff;
    color: #283c32;
    line-height: 1.6;
}

#tutorial::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

#tutorial h2 {
    margin-top: 0;
}

#tutorial ol {
    padding-left: 22px;
}

#tutorial li {
    margin-bottom: 10px;
}

#how-to-play-button,
#close-tutorial-button {
    padding: 10px 18px;
    background: #276347;
    color: white;
    border: none;
    border-radius: 8px;
    font: inherit;
    cursor: pointer;
}

#how-to-play-button {
    margin-top: 12px;
}

#location-image {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: contain;
    border-radius: 10px;
    background: #f4f3ee;
}

#location-result {
    font-weight: bold;
}

