
* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    margin: 0;
    background: #f5f4ef;
    color: #222;
    font-family: system-ui, sans-serif;
    min-height: 100dvh;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 32px 24px;
}

header {
    text-align: center;
    padding: 12px 0 28px;
}

h1 {
    font-size: 48px;
    letter-spacing: -2px;
    margin: 0;
}

.tagline {
    color: #777;
    font-size: 14px;
    margin: 8px 0 0;
}

.label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #777;
    margin: 0 0 12px;
}

.location-section {
    border-top: 1px solid #d8d7d2;
    padding: 20px 0;
}

#location {
    font-size: 14px;
    margin: 0;
    overflow-wrap: anywhere;
}

button {
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

button:disabled {
    opacity: 0.4;
    cursor: default;
}

.text-button {
    background: none;
    border: none;
    padding: 12px 0;
    color: #555;
    text-decoration: underline;
}

.primary-button {
    width: 100%;
    padding: 16px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
}

.quest-section {
    background: #fff;
    border: 1px solid #e4e3dd;
    border-radius: 12px;
    margin-top: 20px;
    padding: 24px;
    min-height: 150px;
}

#quest-title {
    font-size: 20px;
    margin: 0 0 12px;
}

#quest-description {
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.image-section {
    margin-top: 20px;
}

.upload-button {
    width: 100%;
    min-height: 140px;
    border: 1px dashed #999;
    border-radius: 12px;
    background: transparent;
    color: #444;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.camera-icon {
    font-size: 30px;
    font-weight: 300;
}

.upload-button small {
    color: #777;
    font-size: 12px;
}

#image-preview {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    margin-top: 16px;
    border-radius: 12px;
}

#completion-message {
    font-weight: bold;
    letter-spacing: 2px;
    color: #35654b;
    text-align: center;
}

footer {
    text-align: center;
    color: #999;
    font-size: 11px;
    margin-top: 32px;
}
