:root { color-scheme: dark; font: 100%/1.5 "Segoe UI", sans-serif; background: #101815; color: #eff6ef; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at top right,#244938,transparent 55%); padding: 1.5rem; }
header { display: flex; align-items: center; gap: .65rem; font-weight: 750; font-size: 1.4rem; max-width: 65rem; margin: auto; }
.brand-logo { display: block; width: 165px; height: auto; border-radius: .4rem; }
@media (max-width: 480px) { .brand-logo { width: 46px; } }
main { margin: clamp(2rem,7vh,5rem) auto; max-width: 32rem; padding: clamp(1.25rem,4vw,2.75rem); background: #1b2822; border: 1px solid #405448; border-radius: 1.5rem; }
h1 { font-size: clamp(1.8rem,5vw,2.5rem); letter-spacing: -.045em; margin: 0 0 1.25rem; line-height: 1.15; }
form,label { display: grid; gap: 1rem; }
label { gap: .35rem; font-weight: 550; }
.choice { display: flex; align-items: center; gap: .6rem; padding: .4rem 0; overflow-wrap: anywhere; }
.choice input { width: 1.2rem; height: 1.2rem; flex: none; }
.password-field p { margin: .35rem 0 0; color: #c9ddce; font-size: .95rem; }
.names { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
input,select,textarea,button { width: 100%; min-width: 0; font: inherit; border-radius: .6rem; padding: .7rem .85rem; }
input,select,textarea { background: #111c16; border: 1px solid #65796b; color: inherit; }
button { border: 0; background: #b7eaca; color: #173b28; font-weight: 700; cursor: pointer; }
a { color: #b7eaca; }
.lost { background: #a4202c; color: white; padding: .85rem; border-radius: .65rem; text-align: center; font-weight: 700; }
.contact-action { display: block; border: 1px solid #719780; border-radius: .6rem; padding: .7rem; overflow-wrap: anywhere; }
article { padding: .8rem; border-left: 3px solid #a8dab8; background: #132019; overflow-wrap: anywhere; }
article + article,form + form { margin-top: 1rem; }
:focus-visible { outline: 3px solid #fdd586; outline-offset: 3px; }
.pet-photo { display: block; width: 100%; max-height: 20rem; object-fit: contain; border-radius: .6rem; margin-bottom: .75rem; }
.pet-photo[hidden] { display: none; }
fieldset { min-width: 0; border: 1px solid #65796b; border-radius: .6rem; padding: .8rem; }
fieldset label + .names { margin-top: 1rem; }
form > p, fieldset p { font-size: .9rem; color: #c9ddce; margin: 0 0 .75rem; }
@media(max-width: 380px) { .names { grid-template-columns: 1fr; } }
#camera-status:not(:empty) { display: block; padding: .75rem 1rem; border-left: 3px solid #fdd586; background: #27352d; }
#tiles { width: 100%; display: block; background: #344355; cursor: crosshair; }
.spot-options { display:flex; flex-wrap:wrap; gap:.5rem; }
.spot-options button { width:auto; padding:.5rem .75rem; }
#picker { position:relative; overflow:hidden; margin-top:.75rem; border-radius:.65rem; }
#tiles { touch-action:none; cursor:grab; user-select:none; }
#tiles:active { cursor:grabbing; }
#tiles:focus-visible { outline-offset:-3px; }
.map-zoom { position:absolute; top:.5rem; right:.5rem; display:grid; gap:1px; }
.map-zoom button { width:2.5rem; height:2.5rem; padding:0; font-size:1.35rem; background:#fff; color:#17241d; }
.map-credit { position:absolute; right:0; bottom:0; background:#fff; color:#173b28; padding:0 .25rem; font-size:.7rem; }
