/* Kagn Cats: the Scan tab, only what app.css does not already cover.
   Colours are the app's (forest, sand, green, gold). No corner brackets are drawn. */

.stack { display: flex; flex-direction: column; gap: 10px; }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 220px; padding: 20px; border-radius: 20px; background: #f5f0e8; border: 1px solid var(--line); text-align: center; }
.drop-title { font-size: 18px; font-weight: 600; }

/* a visible-label file button: the real input is there for the keyboard and the screen reader */
.pick { position: relative; overflow: hidden; }
.pick-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0; }
.pick:focus-within, .shot-add:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }

.promo { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--forest); text-decoration: none; }
.promo-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.promo-title { font: 600 20px/1.2 var(--serif); color: var(--cream); }
.promo-sub { font-size: 15px; color: #d7e6dc; }

.scan-photo { display: block; width: 100%; height: 300px; object-fit: cover; border-radius: 20px; background: var(--line); }
.scan-photo-wide { height: 250px; border-radius: 0; }
.shots { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.shot { position: relative; display: block; width: 64px; height: 64px; }
.shot img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; border: 2px solid var(--green); }
.shot-x { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 14px; background: var(--forest); color: #fff; font: 700 18px/1 var(--sans); cursor: pointer; }
.shot-add { display: flex; align-items: center; justify-content: center; border: 1.5px dashed #7a8a7f; border-radius: 12px; color: var(--green); font-size: 28px; cursor: pointer; overflow: hidden; }
.shots-note { flex: 1; min-width: 140px; line-height: 1.3; }
.btn-gap { width: 10px; }
.link-btn { align-self: center; min-height: 44px; padding: 10px 14px; border: 0; background: transparent; color: var(--green); font: 700 17px var(--sans); text-decoration: underline; cursor: pointer; }

/* the result: three breeds, each a card that opens the breed's page */
.results { display: flex; flex-direction: column; gap: 14px; }
.result { display: flex; align-items: center; gap: 14px; padding: 12px; color: var(--ink); text-decoration: none; }
.result-img { flex: none; width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--line); }
.result-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.result-line { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 19px; font-weight: 700; }
.result-name { overflow-wrap: anywhere; }
.meter { display: block; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 8px; border-radius: 4px; background: var(--green); }
.btn-gold { border-color: var(--gold-text); color: var(--gold-text); }
.gold-text { color: var(--gold-text); }

/* a paying user: the line about the cat, the notice before a closer look, a reason under a breed, the free row */
.note-field { display: flex; flex-direction: column; gap: 6px; }
.note-label { font-weight: 700; }
.note-box { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: 16px/1.4 var(--sans); resize: vertical; }
.plus-notice { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.plus-notice p { margin: 0; line-height: 1.4; }
.result-why { font-size: 15px; font-weight: 400; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere; }
.plus-row { margin: 0; line-height: 1.4; }
.plus-row a { color: var(--green); font-weight: 700; text-underline-offset: 2px; }
