/* LOWiSPIKE · "Last meal today?" after Log as eaten (6 Nov 2026, design review point 1; last-meal-ask.js).
   The block (inside the photo meal's Saved sheet) and the small card over the screen (after the scan card) share one look:
   the question, then two buttons of the same height, Yes the filled one. */
.lma { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 14px; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.lma-q { font-size: 17px; line-height: 1.25; font-weight: 750; letter-spacing: -.01em; color: #fff; }
.lma-acts { display: flex; gap: 10px; }
.lma-acts button { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 0 12px; border-radius: 999px; font: inherit; font-size: 15.5px; font-weight: 700; line-height: 1.15; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lma-acts .lma-yes { flex-grow: 1.35; }
.lma-yes { color: #06231b; background: linear-gradient(135deg, #7af0c8, #43c9a0); border: 0; box-shadow: 0 6px 18px rgba(67, 201, 160, .28); }
.lma-no { color: #eaf6ff; background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(200, 235, 255, .35); }
.lma-acts button:active { transform: scale(.97); }
.lma-acts button:focus-visible { outline: 3px solid #9fd8ff; outline-offset: 2px; }
/* the card over the screen: at the bottom, above the round back button */
.lma-card { position: fixed; z-index: 9200; left: 16px; right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); max-width: 420px; margin: 0 auto; opacity: 0; transform: translateY(16px); transition: opacity .22s ease, transform .26s cubic-bezier(.2, .9, .3, 1.2); }
.lma-card.in { opacity: 1; transform: none; }
.lma-card.out { opacity: 0; transform: translateY(10px); pointer-events: none; }
.lma-card .lma { margin: 0; background: rgba(28, 31, 42, .82); border-color: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 14px 40px rgba(0, 0, 0, .45); }
html[data-ui=light] .lma { background: rgba(10, 30, 60, .05); border-color: rgba(10, 30, 60, .14); }
html[data-ui=light] .lma-q { color: #111318; }
html[data-ui=light] .lma-no { color: #0a5bd8; background: rgba(10, 132, 255, .06); border-color: rgba(10, 132, 255, .4); }
html[data-ui=light] .lma-card .lma { background: rgba(250, 251, 255, .9); }
@media (prefers-reduced-motion: reduce) { .lma-card, .lma-card.in, .lma-card.out { transition: none; transform: none; } .lma-acts button:active { transform: none; } }
