:root {
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #0b0b0b;
  color: #e5e7eb;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}
.app {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.topbar {
  padding: 10px 14px;
  border-bottom: 1px solid #1f2937;
  background: #0d0d0d;
}
.title {
  font-size: 18px;
  font-weight: 700;
}
.subtitle {
  font-size: 12px;
  color: #9ca3af;
}

.stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top) 12px 12px 12px;
}

.image-wrap {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
}
.image-wrap img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: calc(100vh - 180px);
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  background: #111;
}

.overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: transparent; /* no darkening layer over the image */
  border-radius: 12px;
}
.overlay.hidden { display: none; }
.overlay .icon {
  font-size: min(36vw, 240px); /* make the check/cross a bit larger */
  line-height: 1;
  font-weight: 800;
  text-shadow: 0 6px 16px rgba(0,0,0,.7);
}
.overlay.real .icon { color: rgba(34,197,94,0.85); } /* green with slight transparency */
.overlay.fake .icon { color: rgba(239,68,68,0.85); } /* red with slight transparency */

.bottombar {
  padding: 10px 14px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #1f2937;
  background: #0d0d0d;
}

.vote-wrap {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.vote-wrap.hidden { display: none; }

.vote-btn {
  flex: 1 1 0;
  max-width: 240px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #374151;
  background: #111827;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.vote-btn.fake { background: #7f1d1d; border-color: #991b1b; }
.vote-btn.real { background: #14532d; border-color: #166534; }
.vote-btn.selected {
  outline: 3px solid #facc15;
}

.thanks {
  margin-top: 8px;
  text-align: center;
  color: #9ca3af;
}
.hidden { display: none; }