/* Oct 25 2026: "Give a hand" (gift-basket.js). It sits on the Shop panel's glass (.stp-ov / .stp-card from store-picks.css);
   these are only its own bits, in the same soft membrane look. */
.gb-entry { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; margin: 10px 0 14px; padding: 12px 14px; border-radius: 22px; }
.gb-entry-i { font-size: 24px; line-height: 1; flex: 0 0 auto; }
.gb-head { padding-bottom: 6px; }
.gb-tabs { margin-top: 4px; }
.gb-msg { display: none; margin: 0 16px 6px; padding: 9px 12px; border-radius: 16px; font-size: 14px; line-height: 1.35; background: rgba(143, 231, 255, .14); }
.gb-msg.on { display: block; }
.gb-msg.gb-good { background: rgba(120, 230, 170, .18); }
.gb-msg.gb-low { background: rgba(255, 170, 120, .2); }
.gb-intro { font-size: 14.5px; line-height: 1.4; margin: 10px 4px 6px; opacity: .92; }
.gb-money { font-size: 12.5px; line-height: 1.4; margin: 10px 4px 12px; padding: 10px 12px; border-radius: 16px; border: 1px dashed rgba(170, 214, 255, .4); opacity: .9; }
.gb-basket { margin: 10px 0; padding: 12px 14px 14px; border-radius: 22px; border: 1px solid rgba(170, 214, 255, .28); background: rgba(255, 255, 255, .06); }
.gb-basket header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 8px; }
.gb-basket header b { font-size: 16px; font-weight: 800; }
.gb-basket header small { font-size: 13px; opacity: .78; }
.gb-basket header .gb-badge { margin-left: auto; }
.gb-badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; background: rgba(143, 231, 255, .2); }
.gb-badge.gb-good { background: rgba(120, 230, 170, .26); }
.gb-badge.gb-low { background: rgba(255, 170, 120, .26); }
.gb-badge.gb-new { background: rgba(255, 255, 255, .14); }
.gb-items { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gb-items li { padding: 5px 10px; border-radius: 999px; font-size: 13.5px; background: rgba(120, 230, 170, .14); border: 1px solid rgba(120, 230, 170, .3); }
.gb-items li::before { content: "\2713\00a0"; opacity: .7; }
.gb-total { margin: 6px 2px 10px; font-size: 14px; }
.gb-ask { margin: 8px 2px; font-size: 14px; font-weight: 700; }
.gb-state { margin: 6px 2px 0; font-size: 13.5px; opacity: .9; }
.gb-state.gb-good, .gb-linkmsg { color: inherit; }
.gb-state.gb-low, .gb-linkmsg.gb-low { color: #ffc49a; }
.gb-basket .stp-go, .gb-basket .stp-pill, a.gb-pay { text-decoration: none; text-align: center; min-height: 46px; box-sizing: border-box; }
.gb-basket .stp-foot-acts { margin: 8px 0 0; }
.gb-receipt { margin: 8px 0; border-radius: 16px; overflow: hidden; background: rgba(0, 0, 0, .2); text-align: center; }
.gb-receipt img { display: block; width: 100%; max-height: 420px; object-fit: contain; }
.gb-receipt-wait { display: block; padding: 18px; font-size: 13px; opacity: .8; }
.gb-moment { display: flex; gap: 12px; align-items: center; margin: 8px 0 4px; padding: 12px 14px; border-radius: 22px; background: rgba(120, 230, 170, .16); border: 1px solid rgba(120, 230, 170, .4); }
.gb-moment > span { font-size: 30px; animation: gb-bob 1.6s ease-in-out infinite; }
.gb-moment b { display: block; font-size: 15.5px; }
.gb-moment small { font-size: 13px; opacity: .85; }
@keyframes gb-bob { 50% { transform: translateY(-4px) rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .gb-moment > span { animation: none; } }
.gb-score { display: flex; align-items: center; justify-content: space-between; margin: 12px 4px 0; font-weight: 700; }
.gb-chosen, .gb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.gb-chosen .stp-chip, .gb-chips .stp-chip { white-space: normal; text-align: left; }
.gb-empty { font-size: 13.5px; opacity: .75; padding: 6px 2px; }
.gb-sub { margin: 12px 4px 4px; font-size: 13px; font-weight: 800; opacity: .8; }
.gb-addf { margin: 4px 0 6px; }
.gb-field { display: flex; flex-direction: column; gap: 5px; margin: 12px 0 0; font-size: 13.5px; font-weight: 700; }
.gb-field input { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(170, 214, 255, .3); background: rgba(0, 0, 0, .22); color: inherit; font: inherit; font-size: 16px; font-weight: 500; box-sizing: border-box; width: 100%; }
.gb-check { display: flex; align-items: center; gap: 10px; margin: 14px 2px 0; font-size: 14px; min-height: 32px; }
.gb-check input { width: 22px; height: 22px; flex: 0 0 auto; }
.gb-linkmsg { margin: 6px 6px 0; font-size: 13px; min-height: 1em; }
.gb-fine { margin-top: 6px; }
.gb-share { margin: 6px 0 4px; }
.gb-file { position: relative; overflow: hidden; cursor: pointer; }
.gb-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.gb-hist { list-style: none; margin: 0; padding: 0; }
.gb-hist li { display: flex; flex-direction: column; padding: 8px 4px; border-bottom: 1px solid rgba(170, 214, 255, .14); font-size: 14px; }
.gb-hist small { opacity: .8; font-size: 12.5px; }
html[data-theme="light"] .gb-field input, html.light .gb-field input { background: rgba(255, 255, 255, .6); }
html[data-theme="light"] .gb-state.gb-low, html[data-theme="light"] .gb-linkmsg.gb-low, html.light .gb-state.gb-low, html.light .gb-linkmsg.gb-low { color: #a8461b; }

/* Oct 26 Give a hand swipe deck (MAYA-HANDOFF 0.22): right = pay for these groceries, left = skip */
.gb-deck { position: relative; margin: 10px 0 4px; padding-bottom: 14px; }
.gb-swipe { position: relative; z-index: 3; margin: 0; background: rgba(22, 38, 66, .96); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); touch-action: pan-y; user-select: none; -webkit-user-select: none; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; --gb-pay: 0; --gb-skip: 0; }
.gb-swipe.gb-dragging { transition: none; cursor: grabbing; }
.gb-swipe.gb-fly { transition: transform .22s cubic-bezier(.25, .6, .4, 1), opacity .22s ease-out; opacity: 0; } /* leaves at the finger's speed (duration set from it), no ease-in seam */
.gb-swipe.gb-picked { border-color: rgba(120, 240, 190, .75); box-shadow: 0 0 0 2px rgba(120, 240, 190, .25), 0 10px 30px rgba(0, 0, 0, .35); }
.gb-stamp { position: absolute; top: 14px; padding: 3px 10px; border: 3px solid currentColor; border-radius: 10px; font-size: 18px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.gb-stamp-pay { left: 14px; color: #78f0be; transform: rotate(-12deg); opacity: var(--gb-pay); }
.gb-stamp-skip { right: 14px; color: #ff9a9a; transform: rotate(12deg); opacity: var(--gb-skip); }
.gb-peek { position: absolute; left: 0; right: 0; top: 0; bottom: 14px; border-radius: 22px; border: 1px solid rgba(170, 214, 255, .2); background: rgba(255, 255, 255, .05); padding: 12px 14px; overflow: hidden; display: flex; flex-direction: column; gap: 4px; }
.gb-peek span { font-size: 13px; opacity: .6; }
.gb-peek1 { z-index: 2; transform: translateY(8px) scale(.96); opacity: .7; }
.gb-peek2 { z-index: 1; transform: translateY(16px) scale(.92); opacity: .4; }
.gb-swipe-hint, .gb-pick-msg { margin: 8px 0 0; font-size: 13.5px; opacity: .8; }
.gb-pick-msg { opacity: 1; color: #b9ffe0; margin-bottom: 8px; }
.gb-deck-btns { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 8px 0 14px; }
.gb-round { width: 68px; height: 68px; border-radius: 50%; border: 1px solid rgba(170, 214, 255, .35); background: rgba(255, 255, 255, .08); color: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; cursor: pointer; touch-action: manipulation; }
.gb-round span { font-size: 24px; line-height: 1; }
.gb-round small { font-size: 11px; font-weight: 700; opacity: .85; }
.gb-skip span { color: #ff9a9a; }
.gb-yes { border-color: rgba(120, 240, 190, .6); background: rgba(120, 240, 190, .14); }
.gb-round:disabled { opacity: .4; }
.gb-round:active { transform: scale(.94); }
.gb-count { min-width: 52px; text-align: center; font-size: 13px; opacity: .7; }
@media (prefers-reduced-motion: reduce) { .gb-swipe, .gb-swipe.gb-fly, .gb-round:active { transition: none; transform: none; } }
/* Oct 26 2026 (MAYA-HANDOFF 0.34): the whole cart as a basket ("Someone else pays" in the Supermarket cart) */
.gb-items .gb-q { font-style: normal; font-weight: 700; opacity: .8; margin-left: 2px; }
.gb-fromcart .gb-items { margin-top: 4px; }
.gb-left { margin: 4px 4px 2px; }
.gb-wholecart, .gb-cartoff { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin: 6px 0 4px; white-space: normal; line-height: 1.2; }
.gb-cartoff { margin-top: 10px; opacity: .9; }
/* Oct 28 2026 (Emmanuel: Hilf mit felt like a new window): opened from Einkaufen it takes the same frame. No fade, no zoom, no
   second dark backdrop; the Einkaufen card under it is hidden, so the tab bar and the card stay put and only the content changes. */
.stp-ov.gb-ov.gb-inframe, .stp-ov.gb-ov.gb-inframe .stp-card { transition: none !important; animation: none !important; }
.stp-ov.gb-ov.gb-inframe { background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.stp-ov.gb-ov.gb-inframe .stp-card { transform: none !important; }
html.gb-inframe-on .stp-ov:not(.gb-ov) > .stp-card { visibility: hidden; }

/* Nov 5 2026: short basket preview, the rest opens in place */
.gb-more { margin: 2px 0 6px; }
.gb-more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); font-size: 13px; opacity: .9; }
.gb-more > summary::-webkit-details-marker { display: none; }
.gb-more[open] > summary { margin-bottom: 4px; }

/* Nov 11 2026 (Emmanuel: "more like Tinder"): the swipe card as a tall profile card. The "photo" is the food. */
.gb-swipe.gb-tinder { padding: 0; overflow: hidden; border-radius: 28px; display: flex; flex-direction: column; background: rgba(16, 28, 48, .98); border-color: rgba(170, 214, 255, .4); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.gb-photo { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 8px; padding: 56px 12px 84px; min-height: min(41vh, 350px);
  background: radial-gradient(120% 80% at 20% 0%, rgba(111, 216, 255, .28), transparent 60%), radial-gradient(120% 80% at 90% 30%, rgba(143, 240, 200, .22), transparent 62%), linear-gradient(180deg, #1b2c48, #101a2c); }
.gb-photo.gb-n1 { grid-template-columns: 1fr; } .gb-photo.gb-n2, .gb-photo.gb-n4 { grid-template-columns: repeat(2, 1fr); }
.gb-tile { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px 4px; border-radius: 20px; text-align: center;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.gb-tile i { font-style: normal; font-size: 40px; line-height: 1; }
.gb-n1 .gb-tile i, .gb-n2 .gb-tile i { font-size: 64px; }
.gb-tile b { font-size: 13.5px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gb-tile em { font-style: normal; opacity: .8; }
.gb-tile-more i { font-size: 28px; font-weight: 800; }
.gb-price { position: absolute; top: 14px; right: 14px; padding: 6px 12px; border-radius: 999px; font-size: 14px; background: rgba(8, 14, 24, .78); border: 1px solid rgba(255, 255, 255, .3); }
.gb-price b { font-size: 17px; }
.gb-photo .gb-id { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 34px 16px 14px; background: linear-gradient(180deg, transparent, rgba(6, 10, 18, .92) 62%); }
.gb-photo .gb-id b { font-size: 28px; font-weight: 800; letter-spacing: -.01em; }
.gb-photo .gb-id small { font-size: 16px; opacity: .88; }
.gb-photo .gb-id .gb-badge { margin-left: auto; align-self: center; }
.gb-tinder .gb-stamp { z-index: 4; top: 16px; font-size: 22px; background: rgba(6, 10, 18, .55); }
.gb-tinder .gb-stamp-skip { right: auto; left: 14px; top: 62px; }
.gb-tinder .gb-all { margin: 8px 14px 0; }
.gb-tinder .gb-all summary { min-height: 44px; display: flex; align-items: center; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.gb-tinder .gb-swipe-hint, .gb-tinder .gb-pick-msg { margin: 4px 16px 12px; }
.gb-tinder > .stp-go, .gb-tinder > .gb-ask, .gb-tinder > .stp-foot-acts, .gb-tinder > a.gb-pay { margin-left: 14px; margin-right: 14px; margin-bottom: 14px; }
.gb-deck-btns .gb-round { width: 72px; height: 72px; }
.gb-deck-btns .gb-skip { border-color: rgba(255, 140, 140, .6); }
.gb-deck-btns .gb-skip span { color: #ff8f8f; }
.gb-deck-btns .gb-yes { border-color: rgba(120, 240, 190, .75); background: linear-gradient(180deg, rgba(143, 240, 200, .35), rgba(47, 168, 132, .3)); box-shadow: 0 0 22px rgba(120, 240, 190, .3); }
.gb-deck-btns .gb-undo-r { width: 52px; height: 52px; border-color: rgba(255, 215, 122, .6); }
.gb-deck-btns .gb-undo-r span { font-size: 18px; color: #ffd77a; }
.gb-after { margin-top: 6px; opacity: .92; }
.gb-after .gb-intro { font-size: 14px; }
.gb-tinder ~ .gb-peek, .gb-deck .gb-peek { border-radius: 28px; }

.gb-tinder > .gb-swipe-hint { display: none; } /* the hint sits under the buttons (gb-hint-out), the card stays a picture */
.gb-hint-out { text-align: center; margin: 0 0 10px; }
