* { box-sizing: border-box; }
:root {
  --teal-dark: #1f4e55;   /* ad background teal */
  --teal: #2a6a73;
  --orange: #e85c33;      /* ad accent orange */
  --green: #3da35d;       /* "smell something. say something." green */
  --paper: #ffffff;
  --ink: #1c2321;
  --muted: #5f6d6a;
  --line: #c5cec9;
  /* Smell MyCity 1-5 rating ramp (yellow -> dark red, as in the app) */
  --r1: #ffffb2; --r2: #fecc5c; --r3: #fd8d3c; --r4: #f03b20; --r5: #bd0026;
}
body {
  font-family: system-ui, -apple-system, sans-serif;
  margin: 0; padding: 1rem; background: var(--teal-dark); color: var(--ink);
  line-height: 1.45;
}
main { max-width: 28rem; margin: 0 auto; }
h1 { font-size: 1.4rem; margin: 0.5rem 0; color: #fff; }
.tagline { margin-top: 0; color: #cfe3e0; }
form, #thanks { background: var(--paper); border-radius: 12px; padding: 1rem; box-shadow: 0 1px 4px rgb(0 0 0 / 0.25); }
fieldset { border: none; padding: 0; margin: 0 0 1rem; }
legend { font-weight: 600; padding: 0; margin-bottom: 0.5rem; }
label { display: block; font-weight: 600; margin: 0.75rem 0 0.25rem; }
.hint { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.field-note { font-size: 0.85rem; color: var(--muted); margin: 0.75rem 0 0; }
input[type="text"], textarea {
  width: 100%; padding: 0.6rem; border: 1px solid var(--line); border-radius: 8px; font-size: 1rem;
}
#rating-buttons { display: grid; gap: 0.35rem; }
/* App-style rating rows like Smell MyCity: white row, small color chip, plain text */
#rating-buttons button {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 0.7rem; border: 1px solid var(--line); border-radius: 6px;
  font-size: 1rem; text-align: left; cursor: pointer; color: var(--ink); background: #fff;
}
#rating-buttons button::before {
  content: ""; flex: 0 0 auto; width: 0.9rem; height: 0.9rem; border-radius: 3px;
  border: 1px solid rgb(0 0 0 / 0.15);
}
#rating-buttons button:nth-child(1)::before { background: var(--r1); }
#rating-buttons button:nth-child(2)::before { background: var(--r2); }
#rating-buttons button:nth-child(3)::before { background: var(--r3); }
#rating-buttons button:nth-child(4)::before { background: var(--r4); }
#rating-buttons button:nth-child(5)::before { background: var(--r5); }
#rating-buttons button[aria-checked="true"] {
  border-color: var(--teal); border-width: 2px; padding: calc(0.55rem - 1px) calc(0.7rem - 1px);
  font-weight: 700; background: #f0f7f5;
}
button { font: inherit; }
#use-location, #find-address, #location-yes, #location-no, #report-again {
  margin-top: 0.5rem; padding: 0.6rem 1rem; border: 1px solid var(--teal); border-radius: 8px;
  background: #fff; color: var(--teal); cursor: pointer;
}
#submit {
  width: 100%; margin-top: 1rem; padding: 0.9rem; border: none; border-radius: 8px;
  background: var(--orange); color: #fff; font-size: 1.1rem; font-weight: 700; cursor: pointer;
}
#submit:disabled { background: #b9aca6; cursor: not-allowed; }
.app-cta { font-size: 0.9rem; color: var(--ink); margin: 0.75rem 0 0; }
.app-cta p { margin: 0 0 0.5rem; font-weight: 600; }
/* Official store badges (self-hosted artwork). The Google badge PNG carries built-in
   padding, so it gets a taller box to render at the same visual size as Apple's. */
.store-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.badge-appstore { height: 44px; width: auto; display: block; }
.badge-play { height: 66px; width: auto; display: block; margin: -11px 0; }
#form-error { color: #a3242a; font-weight: 600; }
.privacy { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; }
.hp { position: absolute; left: -9999px; top: -9999px; }
