/* Game ID web app (/app), club pages (Buck Inventory to Score a Buck): build 113's look. Phone first (390 px), then
   tablet (820) and laptop (1280) with more columns and a page width, not a stretched phone. Every control 44 px+. */
.gb-top { background: var(--ga-blaze); color: #fff; padding: max(env(safe-area-inset-top), 8px) 16px 16px; }
.gb-top-row { display: flex; align-items: center; gap: 8px; min-height: 52px; }
.gb-back { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 38px; line-height: 1; color: #fff !important; border-radius: 12px; }
.gb-add { min-width: 48px; min-height: 48px; border-radius: 50%; background: #fff; color: var(--ga-blaze) !important; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; }
.gb-top h1 { margin: 6px 0 2px 52px; font-size: 27px; font-weight: 700; letter-spacing: -.01em; }
.gb-sub { margin: 0 0 0 52px; opacity: .92; }
.gb-main { padding: 14px 16px 40px; }
.gb-narrow { max-width: 720px; }
.gb-lead { color: var(--ga-ink-2); line-height: 1.45; margin: 4px 0 12px; }
.gb-h2 { font-size: 22px; margin: 8px 0 4px; }
.gb-empty { color: var(--ga-muted); background: var(--ga-bg-2); border-radius: 16px; padding: 22px 18px; text-align: center; line-height: 1.45; }
.gb-note { margin: 8px 0 12px; }

/* Buck Inventory tools */
.gb-tools { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.gb-search { display: flex; gap: 8px; }
.gb-search input, .gb-fields input, .gb-fields select, .gb-fields textarea, .gb-measure input, .gb-measure select {
  min-height: 48px; border-radius: 12px; border: 1.5px solid #D8D2CC; padding: 0 14px; font: inherit; font-size: 16px; background: #fff; color: var(--ga-ink); width: 100%; }
.gb-fields textarea { padding: 12px 14px; min-height: 110px; resize: vertical; }
.gb-search input:focus, .gb-fields input:focus, .gb-fields select:focus, .gb-fields textarea:focus, .gb-measure input:focus, .gb-measure select:focus { border-color: var(--ga-blaze); outline: none; box-shadow: 0 0 0 3px rgba(226,107,43,.2); }
.gb-fields input[readonly], .gb-fields select:disabled, .gb-fields textarea[readonly] { background: var(--ga-bg-2); color: var(--ga-ink-2); }
.gb-btn { min-height: 48px; padding: 0 16px; border-radius: 12px; border: 0; background: var(--ga-blaze); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.gb-toolrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.gb-chip { min-height: 44px; padding: 0 14px; border-radius: 99px; border: 1.5px solid #D8D2CC; background: #fff; color: var(--ga-ink-2); font: inherit; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.gb-chip .ga-svg { width: 20px; height: 20px; color: var(--ga-blaze); }
.gb-chip.on { background: var(--ga-blaze); border-color: var(--ga-blaze); color: #fff; }
.gb-chip.on .ga-svg { color: #fff; }
.gb-tokens { margin-left: auto; font-weight: 600; color: var(--ga-ink-2); }
.gb-banner { display: flex; align-items: center; gap: 10px; justify-content: space-between; background: var(--ga-blaze-tint); border-radius: 16px; padding: 10px 14px; margin-bottom: 12px; }
.gb-banner div { display: flex; flex-direction: column; }
.gb-banner span { color: var(--ga-ink-2); font-size: 14px; }

/* Cards */
.gb-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.gb-buck { position: relative; border: 1.5px solid var(--ga-line); border-radius: 20px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.gb-buck-photo { display: block; aspect-ratio: 4 / 3; background: var(--ga-bg-2); border: 0; padding: 0; width: 100%; cursor: pointer; }
/* Buck Inventory cards (Oct 20 2026): a fixed 4:3 frame showing the WHOLE photo (object-fit: contain, so antlers are never
   cut off), over the same photo blurred and enlarged to fill the frame. */
.gb-buck-photo { position: relative; overflow: hidden; }
.gb-buck-photo .gb-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); filter: blur(16px) brightness(.8) saturate(.9); }
.gb-buck-photo .gb-whole { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; }
.gb-nophoto { display: flex; height: 100%; align-items: center; justify-content: center; color: var(--ga-muted); }
.gb-buck-body { padding: 10px 14px 14px; }
.gb-buck-body p { margin: 4px 0 0; color: var(--ga-ink-2); font-size: 15px; }
.gb-buck-body b { color: var(--ga-ink); }
.gb-buck-name { font-size: 19px; font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }
.gb-date { color: var(--ga-muted) !important; font-size: 13.5px !important; }
.gb-star { position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #9AA0A4; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.gb-star.on { background: var(--ga-blaze); color: #fff; }
.gb-star[disabled] { opacity: .6; }
.gb-more { display: flex; justify-content: center; margin-top: 16px; }

/* Filter & Sort sheet */
.gb-sheet-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 40; }
.gb-sheet { position: fixed; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 24px 24px 0 0; z-index: 41; padding: 6px 16px 28px; }
.gb-sheet-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; position: sticky; top: 0; background: #fff; padding: 6px 0; z-index: 1; }
.gb-sheet-head h2 { margin: 0; font-size: 19px; }
.gb-sheet-head > :last-child { justify-self: end; }
.gb-sheet-head > :first-child { justify-self: start; }
.gb-sheet h3 { font-size: 12.5px; letter-spacing: .1em; color: var(--ga-muted); margin: 18px 0 8px; }
.gb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gb-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; border-bottom: 1px solid var(--ga-line); }
.gb-switch span { display: flex; flex-direction: column; }
.gb-switch small { color: var(--ga-muted); }
.gb-switch input, .gb-check input { width: 26px; height: 26px; accent-color: var(--ga-blaze); }

/* Deer Submission form */
.gb-form-grid { display: grid; gap: 14px; }
.gb-card { border: 1.5px solid var(--ga-line); border-radius: 20px; padding: 16px; background: #fff; }
.gb-label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ga-muted); margin: 0 0 8px; font-weight: 600; }
.gb-strong { font-size: 17px; font-weight: 700; margin: 0 0 10px; }
.gb-fields { display: flex; flex-direction: column; gap: 12px; }
.gb-fields label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.gb-check { flex-direction: row !important; align-items: center; min-height: 44px; }
.gb-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gb-thumb { position: relative; margin: 0; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--ga-bg-2); }
.gb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gb-thumb.new { outline: 3px solid var(--ga-blaze); outline-offset: -3px; }
.gb-x { position: absolute; top: 2px; right: 2px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 18px; cursor: pointer; }
.gb-x.static { position: static; background: var(--ga-bg-2); color: var(--ga-ink); }
.gb-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gb-file { position: relative; overflow: hidden; }
.gb-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.gb-touch-only { display: none; }
@media (pointer: coarse) { .gb-touch-only { display: inline-flex; } }
.gb-examples { display: inline-flex; min-height: 44px; align-items: center; color: var(--ga-blaze) !important; font-weight: 600; margin-top: 6px; }
.gb-save { margin-top: 16px; }
.gb-done { margin: 12px 0 !important; }
.gc .viewer { border-radius: 16px; overflow: hidden; }

/* Document lists */
.gb-row-off { opacity: .6; }
.gb-score-row { border: 1.5px solid var(--ga-line); border-radius: var(--ga-r); margin-top: 16px; }
.gb-examples-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.gb-examples-strip img { flex: none; width: min(86vw, 420px); scroll-snap-align: center; border-radius: 16px; border: 1.5px solid var(--ga-line); background: #fff; }
.gb-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 14px 0; }
.gb-dl dt { color: var(--ga-muted); }
.gb-dl dd { margin: 0; font-weight: 600; text-align: right; }

/* Score a Buck */
.gb-progress { height: 6px; background: var(--ga-line); border-radius: 99px; overflow: hidden; margin: 6px 0 8px; }
.gb-progress span { display: block; height: 100%; background: var(--ga-blaze); }
.gb-cats { display: grid; gap: 10px; margin-bottom: 14px; }
.gb-cat { text-align: left; border: 2px solid var(--ga-line); border-radius: 18px; background: #fff; padding: 14px 16px; min-height: 64px; font: inherit; display: flex; flex-direction: column; gap: 4px; cursor: pointer; color: var(--ga-ink); }
.gb-cat.on { border-color: var(--ga-blaze); background: var(--ga-blaze-tint); }
.gb-cat small { color: var(--ga-ink-2); }
.gb-measures { display: grid; grid-template-columns: 1fr; gap: 6px 12px; align-items: center; }
.gb-measures label { font-weight: 600; margin-top: 6px; }
.gb-measure { display: inline-grid; grid-template-columns: 1fr 92px; gap: 6px; width: 100%; max-width: 230px; }
.gb-bad { color: var(--ga-bad); font-size: 13px; }
.gb-sides { display: flex; flex-direction: column; gap: 8px; }
.gb-sides-head, .gb-sides-row { display: grid; grid-template-columns: 1fr; gap: 6px; align-items: center; }
.gb-sides-head { display: none; color: var(--ga-muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.gb-sides-row { border-top: 1px solid var(--ga-line); padding-top: 8px; }
.gb-sides-row > span { font-weight: 600; }
.gb-abn { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: center; margin-bottom: 10px; }
.gb-seg { display: inline-flex; border: 1.5px solid #D8D2CC; border-radius: 12px; overflow: hidden; }
.gb-seg button { min-height: 44px; min-width: 72px; border: 0; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.gb-seg button.on { background: var(--ga-blaze); color: #fff; }
.gb-livebar { position: sticky; bottom: 8px; display: flex; justify-content: space-between; align-items: center; background: var(--ga-ink); color: #fff; border-radius: 16px; padding: 10px 16px; margin-top: 14px; }
.gb-livebar b { font-size: 24px; }
.gb-steps-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 18px; }
.gb-steps-nav .ga-btn { flex: 1; }
.gb-result { text-align: center; }
.gb-cap { color: #9A4A1C; font-weight: 600; letter-spacing: .04em; margin: 0; }
.gb-net { display: block; font-size: 64px; color: var(--ga-blaze); line-height: 1.05; margin: 6px 0; }
.gb-result .gb-dl { text-align: left; }
.gb-save-status { font-weight: 600; color: var(--ga-ink-2); }
.gb-actions { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }

/* Tablet: wider forms, two or three columns of bucks */
@media (min-width: 760px) {
  .gb-top { padding-left: 28px; padding-right: 28px; }
  .gb-main { padding: 22px 28px 48px; }
  .gb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gb-tools { flex-direction: row; align-items: center; justify-content: space-between; }
  .gb-search { flex: 1; max-width: 460px; }
  .gb-toolrow { margin-bottom: 0; }
  .gb-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .gb-form-grid > section:first-child { grid-row: span 2; }
  .gb-thumbs { grid-template-columns: repeat(4, 1fr); }
  .gb-save { width: auto !important; min-width: 260px; }
  .gb-sheet { left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%, -50%); width: min(560px, 92vw); border-radius: 24px; }
  .gb-measures { grid-template-columns: 1fr auto; }
  .gb-sides-head, .gb-sides-row { grid-template-columns: 1.2fr 1fr 1fr; }
  .gb-sides-head { display: grid; }
  .gb-cats { grid-template-columns: 1fr 1fr; }
  .gb-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .gb-narrow { margin: 0 auto; }
}
/* Laptop: a page width, four columns of bucks */
@media (min-width: 1180px) {
  .gb-top { padding: 18px max(40px, calc((100vw - 1240px) / 2)) 22px; }
  .gb-main { max-width: 1320px; margin: 0 auto; padding: 26px 40px 56px; }
  .gb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gb-form-page .gb-form-grid { grid-template-columns: 1.2fr 1fr; }
  .gb-narrow { max-width: 760px; }
}
/* Links styled as buttons keep the button's colours (.ga a inherits otherwise). */
.gc a.ga-btn { color: var(--ga-blaze); }
.gc a.ga-btn.primary { color: #fff; }

/* /app/score: pick the Hunting Club the score is saved to (or none). */
.gb-clubpick { margin: 12px 0; }
.gb-clubpick .gb-chip { white-space: normal; text-align: left; line-height: 1.25; padding: 8px 14px; }

/* Deer Submission photos: drop photos on the area (desktop), the Available Tokens line on a new submission. */
.gb-drop { transition: border-color .15s, background-color .15s; }
.gb-drop.over { border-color: var(--ga-blaze); border-style: dashed; background: var(--ga-blaze-tint); }
.gb-drop-hint { margin: 8px 0 0; }
@media (pointer: coarse) { .gb-drop-hint { display: none; } }
.gb-tokens-line { margin: 0 0 12px; font-weight: 600; color: var(--ga-ink-2); }

/* A Biologist asked for more photos (Oct 21 2026): the request leads the deer form, and the photo area stands out. */
.gb-asked { background: var(--ga-blaze-tint); border: 2px solid var(--ga-blaze); border-radius: 16px; padding: 14px 16px; margin: 0 0 14px; }
.gb-asked h2 { margin: 0 0 6px; font-size: 18px; color: var(--ga-ink); }
.gb-asked-note { margin: 0 0 6px; font-weight: 600; color: var(--ga-ink); }
.gb-asked-zone { border-color: var(--ga-blaze); border-width: 2px; }
.gb-flag { display: inline-block; margin-top: 6px; background: var(--ga-blaze); color: #fff; font-size: 12.5px; font-weight: 700; border-radius: 99px; padding: 3px 10px; letter-spacing: .02em; }

/* Share this buck (Oct 21 2026): the app's share card, drawn in the browser. */
.gb-share-open { margin: 0 0 12px; }
.gb-share { margin: 0 0 14px; display: grid; gap: 10px; }
.gb-share-canvas { width: 100%; max-width: 420px; aspect-ratio: 1080 / 1350; border-radius: 12px; background: #141618; justify-self: center; }
.gb-share-photo { display: flex; align-items: center; justify-content: center; gap: 12px; }
.gb-fields-inline { display: grid; gap: 6px; font-weight: 600; }
.gb-fields-inline input { min-height: 48px; border-radius: 12px; border: 1.5px solid #D8D2CC; padding: 0 14px; font: inherit; font-size: 16px; }

/* My Targets on the deer page (as the app's "☆ Add to My Targets" / "★ In My Targets"). */
.gb-target-toggle { float: right; min-height: 44px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--ga-blaze); background: #fff; color: var(--ga-blaze); font: inherit; font-weight: 700; cursor: pointer; }
.gb-target-toggle.on { background: var(--ga-blaze); color: #fff; }

/* Trophy Room groups: the app's Share Trophy Room, Join a group and Leave, as cards under the header. */
.gb-trophy-actions { flex-wrap: wrap; margin-bottom: 8px; }
.gb-trophy-panel { display: grid; gap: 10px; margin-bottom: 14px; }
.gb-trophy-panel input[type=search], .gb-trophy-panel input[type=text] { min-height: 48px; border-radius: 12px; border: 1.5px solid #D8D2CC; padding: 0 14px; font: inherit; font-size: 16px; width: 100%; box-sizing: border-box; }
.gb-trophy-panel .ga-row.on { color: var(--ga-blaze); font-weight: 700; }
.gb-pad { padding: 10px 14px; }

/* A Deer Submission's own actions (114 app: Merge, Move to Trophy Room, Request more photos, Delete submission). */
.gb-deer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; align-self: stretch; justify-content: flex-start; width: 100%; }
.gb-danger { border-color: var(--ga-bad) !important; color: var(--ga-bad) !important; }
.gb-danger-fill { background: var(--ga-bad) !important; border-color: var(--ga-bad) !important; color: #fff !important; }
.gb-action-panel { margin-top: 16px; }
.gb-action-panel h2 { font-size: 20px; margin: 0 0 6px; }
.gb-action-panel p { color: var(--ga-ink-2); line-height: 1.45; }
.gb-action-panel .gb-fields { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.gb-action-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gb-confirm { font-weight: 600; color: var(--ga-ink) !important; }
.gb-choices { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 12px; }
.gb-choice { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--ga-line); border-radius: 14px; padding: 8px 10px; min-height: 56px; }
.gb-choice img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; }
.gb-choice > div { flex: 1; display: flex; flex-direction: column; }
.gb-choice span { color: var(--ga-muted); font-size: 14px; }
.gb-action-done { background: var(--ga-blaze-tint); border-radius: 12px; padding: 12px 14px; margin-top: 12px; }
