/* PikaFind — volt identity: electric yellow #FFCB05, ink #26313D
   outlines + press shadows, paper #FAF6EF ground, red cheek-dot
   sparing as the found-it marker. Tool hue only — no bot-amber. */
:root {
  --volt: #FFCB05;
  --volt-dark: #C79A00;
  --bg: #FAF6EF;
  --card: #FFFDF8;
  --ink: #26313D;
  --muted: #7A7263;
  --line: #E9E2D0;
  --cheek: #E3350D;
  --green: #15803D;
  --red: #B91C1C;
  --teal: #0F766E;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { margin: 0; font-family: system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--ink); font-size: 18px; line-height: 1.45; }
h1, h2, h3 { font-family: system-ui, sans-serif; font-weight: 800; }
.hidden { display: none !important; }
.screen { max-width: 620px; margin: 0 auto; padding: 16px 16px 60px; }
.hdr-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
header h1 { margin: 8px 0 0; font-size: 32px; }
.bolt { color: var(--volt-dark); }
.home-link { flex: none; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; box-shadow: 2px 2px 0 var(--ink); }
.muted { color: var(--muted); margin: 2px 0 12px; }
.muted-sm { color: var(--muted); font-size: 14px; font-weight: 400; }
h2 { font-size: 22px; margin: 26px 0 10px; }
h3 { font-size: 17px; margin: 16px 0 6px; }
a { color: var(--teal); font-weight: 600; }
.honesty { background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 10px 12px; font-size: 15px; box-shadow: 3px 3px 0 var(--ink); }
.card { background: var(--card); border: 2px solid var(--ink); border-radius: 16px; padding: 16px; margin: 10px 0; box-shadow: 3px 3px 0 var(--ink); }
label { display: block; margin: 10px 0; font-weight: 600; font-size: 16px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
label.check input { width: 26px; height: 26px; margin: 0; flex: none; }
input, select, textarea { display: block; width: 100%; font-size: 17px; padding: 12px; margin-top: 6px; border: 1px solid #D8CFB8; border-radius: 12px; background: #fff; min-height: 50px; color: var(--ink); font-family: inherit; }
textarea { min-height: 0; resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
button { font-size: 17px; border-radius: 999px; border: 2px solid var(--ink); padding: 13px 18px; min-height: 52px; background: #fff; cursor: pointer; font-weight: 700; color: var(--ink); }
button.primary { background: var(--volt); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
button.primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
button.secondary { background: #fff; width: 100%; }
button.big { width: 100%; margin-top: 14px; }
.row { display: flex; gap: 10px; margin-top: 10px; } .row button { flex: 1; }
.btn-volt { background: var(--volt); color: var(--ink); font-weight: 800; text-decoration: none; border: 2px solid var(--ink); border-radius: 999px; padding: 10px 16px; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; box-shadow: 2px 2px 0 var(--ink); }
.demo-cta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 10px 0; }
.demo-banner { display: flex; gap: 10px; align-items: center; justify-content: space-between; background: var(--volt); border: 2px solid var(--ink); border-radius: 14px; padding: 10px 12px; font-size: 15px; margin-bottom: 8px; flex-wrap: wrap; box-shadow: 3px 3px 0 var(--ink); }
.error { background: #fef2f2; color: var(--red); border: 1px solid #fca5a5; border-radius: 10px; padding: 12px; margin: 10px 0; font-size: 16px; }
.sample-chip { background: var(--ink); color: var(--volt); font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 10px; vertical-align: middle; letter-spacing: .06em; }
.cheek-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--cheek); vertical-align: middle; margin-right: 6px; }
/* hunt cards: official card art in its own captioned frame when the
   card is identified; initials tile stays the fallback (packs,
   unidentified cards) */
.hunt { display: flex; gap: 14px; }
.art-frame { flex: none; width: 118px; margin: 0; }
.art-frame img { width: 118px; height: auto; display: block; border: 2px solid var(--ink); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); background: #fff; }
.art-frame figcaption { font-size: 10px; line-height: 1.3; color: var(--muted); margin-top: 4px; }
.reveal-card .art-frame { margin-bottom: 10px; }
.seller-photo-zone { border: 2px dashed var(--muted); border-radius: 12px; padding: 10px 12px; font-size: 14px; margin: 8px 0; background: #fff; }
.your-number { background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 8px 12px; margin: 8px 0; font-weight: 800; box-shadow: 2px 2px 0 var(--ink); }
.your-number .math-line { display: block; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.your-number .yn-delta { display: block; font-size: 15px; margin-top: 2px; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 2px; }
.buy-caption { margin: 2px 0 8px; }
.dotd-head .bolt-icon, .steal-banner .bolt-icon { width: 20px; height: 20px; vertical-align: -3px; }
.dotd-margin { font-weight: 800; }
.ph { flex: none; width: 84px; height: 112px; border: 2px solid var(--ink); border-radius: 10px; background: var(--volt); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; box-shadow: 3px 3px 0 var(--ink); }
.ph.pack { background: #fff; }
.hunt-body { flex: 1; min-width: 0; }
.hunt-title { font-weight: 800; font-size: 17px; }
.price-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 6px 0; }
.deal-badge { font-weight: 800; border: 2px solid var(--ink); border-radius: 999px; padding: 3px 12px; font-size: 14px; background: #fff; }
.deal-badge.Steal { background: var(--volt); }
.deal-badge.Deal { background: #CCFBF1; }
.deal-badge.Over { background: #FEE2E2; }
.stamp { display: inline-block; font-weight: 800; border: 3px solid; border-radius: 10px; padding: 4px 12px; transform: rotate(-2deg); font-size: 16px; }
.stamp.real { color: var(--green); border-color: var(--green); background: #F0FDF4; }
.stamp.twice { color: var(--teal); border-color: var(--teal); background: #F0FDFA; }
.stamp.fake { color: var(--red); border-color: var(--red); background: #FEF2F2; }
@keyframes shake { 0%,100%{transform:translateX(0) rotate(-2deg)} 25%{transform:translateX(-4px) rotate(-2deg)} 75%{transform:translateX(4px) rotate(-2deg)} }
.stamp.fake { animation: shake .35s ease-in-out 2; }
.checklist { list-style: none; padding: 0; margin: 10px 0; }
.checklist li { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; margin: 6px 0; background: #fff; font-size: 15px; }
.checklist .reason { color: var(--muted); display: block; font-size: 14px; }
.failed-tells { background: #FEF2F2; border: 1px solid #fca5a5; border-radius: 10px; padding: 10px 14px; font-size: 15px; }
.questions { background: #F0FDFA; border: 1px solid #99F6E4; border-radius: 10px; padding: 10px 14px; font-size: 15px; }
.fake-card { border-color: var(--red); box-shadow: 4px 4px 0 var(--red); }
.fake-banner { background: var(--red); color: #fff; font-weight: 800; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; font-size: 17px; }
.steal-banner { background: var(--volt); border: 2px solid var(--ink); font-weight: 800; border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; font-size: 16px; }
@keyframes boltflash { 0% { box-shadow: 0 0 0 0 rgba(255,203,5,.0); } 30% { box-shadow: 0 0 0 8px rgba(255,203,5,.65); } 100% { box-shadow: 3px 3px 0 var(--ink); } }
.steal-card { animation: boltflash 1s ease-out 2; }
.stamp-big { font-size: 22px; padding: 8px 16px; border-width: 4px; }
.deal-badge.fake-price { background: #FEE2E2; color: var(--red); border-color: var(--red); }
details summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.comp-line { font-size: 13px; color: var(--muted); }
.stats-strip { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 8px 12px; font-size: 14px; margin-top: 10px; }
.stats-strip b { font-variant-numeric: tabular-nums; }
.sound-toggle { display: inline-flex !important; gap: 6px; align-items: center; margin: 0 !important; font-size: 13px; font-weight: 600; }
.sound-toggle input { width: 20px; height: 20px; min-height: 20px; margin: 0; }
/* the Reveal */
.reveal-item { opacity: 0; transform: translateX(-6px); transition: opacity .18s ease, transform .18s ease; }
.reveal-item.on { opacity: 1; transform: none; }
.scan-sweep { position: relative; overflow: hidden; }
.scan-sweep::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(255,203,5,.45) 50%, transparent 58%); transform: translateY(-100%); animation: sweep 1.1s ease-in-out 1; pointer-events: none; }
@keyframes sweep { to { transform: translateY(100%); } }
.stamp-pending { opacity: 0; transform: scale(2.2) rotate(-14deg); }
@keyframes stampdown { 0% { opacity: 0; transform: scale(2.2) rotate(-14deg); } 60% { opacity: 1; transform: scale(.92) rotate(-2deg); } 100% { opacity: 1; transform: scale(1) rotate(-2deg); } }
.stamp-land { animation: stampdown .28s ease-out forwards; }
.reward-line { font-size: 21px; font-weight: 800; margin: 10px 0; }
.reward-line .mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.reward-line.fake-win { color: var(--green); }
.calm-line { font-size: 17px; font-weight: 700; color: var(--teal); margin: 10px 0; }
.confetti-bit { position: absolute; width: 9px; height: 14px; border-radius: 2px; pointer-events: none; z-index: 5; }
@keyframes confetti-fall { to { transform: translateY(190px) rotate(560deg); opacity: 0; } }
/* badges, plan chip, the Watch */
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; }
.badge-chip { border: 2px solid var(--line); color: var(--muted); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; background: #fff; }
.badge-chip.earned { border-color: var(--ink); color: var(--ink); background: var(--volt); box-shadow: 2px 2px 0 var(--ink); }
.plan-chip { display: inline-block; background: var(--volt); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 15px; box-shadow: 2px 2px 0 var(--ink); }
#trial-ended { background: #fff; border: 2px dashed var(--ink); border-radius: 12px; padding: 10px 12px; font-size: 15px; }
@keyframes newpulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.new-pulse { display: inline-block; background: var(--volt); border: 2px solid var(--ink); color: var(--ink); font-weight: 800; font-size: 12px; border-radius: 999px; padding: 1px 8px; animation: newpulse .7s ease-in-out 3; }
.hunt-match { margin: 4px 0; }
@media (prefers-reduced-motion: reduce) { .new-pulse { animation: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal-item { opacity: 1; transform: none; transition: none; }
  .scan-sweep::after { animation: none; }
  .stamp.fake, .steal-card { animation: none; }
}
