body {
    font-family: system-ui, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    background: #f5f5f5;
}

main {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    padding: 2rem;
}

img {
    width: 240px;
    max-width: 60vw;
    margin-bottom: 0;
    transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.18s ease;
    cursor: pointer;
}

img:hover {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
}

label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(84vw, 680px);
    height: 340px;
    padding: 0;
    border: 3px dashed #bbb;
    border-radius: 14px;
    cursor: pointer;
    background: #fff;
    font-size: 1.05rem;
    color: #444;
}

label:hover,
label.over {
    border-color: #4a90d9;
    background: #f0f7ff;
}

input {
    display: none;
}

p {
    margin-top: 0.6rem;
    font-size: 0.98rem;
    color: #6b6b6b;
}

.err {
    color: #c0392b;
}

.ok {
    color: #27ae60;
}