.mvp-swipe { width: 100%; max-width: 440px; margin: 0 auto; }
.mvp-swipe__stack {
	position: relative; width: 100%; aspect-ratio: var(--mvp-card-ratio, 4 / 5); max-height: 64svh; margin-inline: auto; touch-action: pan-y;
}
.mvp-swipe__card {
	position: absolute; inset: 0; border-radius: var(--mvp-r-lg, 24px); overflow: hidden;
	background: var(--mvp-surface, #fff); border: 2px solid var(--mvp-ink, #111);
	box-shadow: 6px 6px 0 var(--mvp-pop, #ffd84a); user-select: none; cursor: grab;
	transform: translateY(calc(var(--depth, 0) * 10px)) scale(calc(1 - var(--depth, 0) * .045));
	transition: transform .2s ease;
}
.mvp-swipe__card:not(.is-top) { box-shadow: none; }
.mvp-swipe__card.is-top[data-dir="buy"] { border-color: var(--mvp-good, #0e9f6e); }
.mvp-swipe__card.is-top[data-dir="skip"] { border-color: var(--mvp-bad, #d6334a); }
.mvp-swipe__card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.mvp-swipe__info {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 18px 18px; color: #fff;
	background: linear-gradient(transparent, rgba(0, 0, 0, .78));
}
.mvp-swipe__info h3 { margin: 0; color: #fff !important; font-size: 1.4rem; }
.mvp-swipe__info p { margin: 4px 0 0; }
.mvp-swipe__price { font-weight: 800; font-size: 1.2rem; }
.mvp-swipe__vendor { opacity: .85; font-size: .9rem; }
.mvp-swipe__empty { text-align: center; padding: 40% 16px; }
.mvp-swipe ul.mvp-swipe__chips { padding-left: 0; display: flex; gap: 8px; margin: 0 0 12px; padding: 2px 0 6px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.mvp-swipe__chips li { flex: none; margin: 0; }
.mvp-swipe__chips button { min-height: 44px; padding: .5em 1.1em; border-radius: 999px; border: 2px solid var(--mvp-line, #ddd); background: var(--mvp-surface, #fff); color: var(--mvp-ink, #111); font-weight: 700; cursor: pointer; box-shadow: none; }
.mvp-swipe__chips button[aria-pressed="true"] { background: var(--mvp-ink, #111); color: var(--mvp-paper, #fff); border-color: var(--mvp-ink, #111); }
.mvp-swipe__meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin: 0 0 12px; color: var(--mvp-muted, #666); font-size: .9rem; }
.mvp-swipe__hint { margin: 0; }
.mvp-swipe__progress { flex: none; font-weight: 700; color: var(--mvp-ink, #111); }
.mvp-swipe__cat { margin: 0 0 2px; font-size: .8rem; opacity: .85; }
.mvp-swipe__bar { display: flex; gap: 12px; margin-top: 26px; }
.mvp-swipe__btn--undo { flex: 0 0 auto; padding-inline: 1.1em; background: var(--mvp-surface, #fff); color: var(--mvp-ink, #111); }
.mvp-sheet { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, .5); }
.mvp-sheet__panel { position: relative; width: 100%; max-width: 520px; max-height: 80svh; overflow: auto; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: var(--mvp-r-lg, 24px) var(--mvp-r-lg, 24px) 0 0; background: var(--mvp-surface, #fff); color: var(--mvp-ink, #111); }
.mvp-sheet__panel h3 { margin: 0 32px 4px 0; }
.mvp-sheet__price { font-weight: 800; font-size: 1.2rem; margin: 0 0 4px; }
.mvp-sheet__cat { color: var(--mvp-muted, #666); margin: 0 0 12px; }
.mvp-sheet__close { position: absolute; top: 12px; right: 12px; min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--mvp-ink, #111); font-weight: 700; cursor: pointer; }
.mvp-sheet__more { display: inline-block; margin-top: 8px; font-weight: 700; }
@media (min-width: 768px) { .mvp-sheet { align-items: center; } .mvp-sheet__panel { border-radius: var(--mvp-r-lg, 24px); } }
.mvp-swipe__btn {
	flex: 1; min-height: 56px; border-radius: 999px; border: 2px solid var(--mvp-ink, #111); font-weight: 800; font-size: 1.05rem;
	cursor: pointer; box-shadow: 3px 3px 0 var(--mvp-ink, #111); transition: transform .12s, box-shadow .12s;
}
.mvp-swipe__btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--mvp-ink, #111); }
.mvp-swipe__btn--skip { background: var(--mvp-surface, #fff); color: var(--mvp-ink, #111); }
.mvp-swipe__btn--buy { background: var(--mvp-accent, #2740ff); color: var(--mvp-accent-ink, #fff); }
.mvp-swipe__btn:disabled { opacity: .45; cursor: default; box-shadow: none; }
.mvp-swipe__status { min-height: 1.6em; text-align: center; margin: 14px 0 0; color: var(--mvp-muted, #666); font-size: .95rem; }
.mvp-swipe__cart { display: block; text-align: center; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .mvp-swipe__card { transition: none; } }

.mvp-swipe__empty { display: grid; gap: 12px; justify-items: center; align-content: center; height: 100%; padding: 16px; text-align: center; }
.mvp-swipe__again { min-height: 48px; padding: 0 1.4em; border-radius: 999px; border: 2px solid var(--mvp-ink, #111); background: var(--mvp-accent, #2740ff); color: var(--mvp-accent-ink, #fff); font-weight: 700; cursor: pointer; }
.mvp-swipe__shoplink { font-weight: 700; }
.mvp-swipe__btn:focus-visible, .mvp-swipe__chips button:focus-visible, .mvp-swipe__card:focus-visible { outline: 3px solid var(--mvp-accent, #2740ff); outline-offset: 3px; }

.mvp-swipe__save { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--mvp-ink, #111); background: var(--mvp-surface, #fff); color: var(--mvp-line, #ccc); cursor: pointer; padding: 0; }
.mvp-swipe__save[aria-pressed="true"] { color: var(--mvp-bad, #d6334a); }
.mvp-swipe__saved { display: block; text-align: center; font-weight: 700; margin-top: 4px; }
.mvp-swipe__skeleton { position: absolute; inset: 0; border-radius: var(--mvp-r-lg, 24px); background: linear-gradient(100deg, var(--mvp-line, #ddd) 30%, var(--mvp-surface, #eee) 50%, var(--mvp-line, #ddd) 70%); background-size: 200% 100%; animation: mvp-shimmer 1.2s linear infinite; }
@keyframes mvp-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .mvp-swipe__skeleton { animation: none; } }
.mvp-saved__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.mvp-saved__grid li { margin: 0; display: grid; gap: 6px; }
.mvp-saved__grid a { display: grid; gap: 2px; text-decoration: none; color: var(--mvp-ink, #111); }
.mvp-saved__grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--mvp-r, 16px); }
.mvp-saved__grid button { min-height: 44px; border-radius: 999px; border: 2px solid var(--mvp-line, #ddd); background: var(--mvp-surface, #fff); color: var(--mvp-ink, #111); font-weight: 700; cursor: pointer; }
@media (min-width: 768px) { .mvp-saved__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

html.mvp-sheet-open { overflow: hidden; }
.mvp-swipe__card { touch-action: pan-y; }

/* Settings-driven */
.mvp-swipe__card { box-shadow: calc(var(--mvp-sh, 3px) * 2) calc(var(--mvp-sh, 3px) * 2) 0 var(--mvp-pop, #ffd84a); }
.mvp-swipe__card:not(.is-top) { box-shadow: none; }
.mvp-swipe__btn { border-radius: var(--mvp-btn-r, 999px); box-shadow: var(--mvp-sh, 3px) var(--mvp-sh, 3px) 0 var(--mvp-ink, #111); }
.mvp-swipe__chips button, .mvp-swipe__again { border-radius: var(--mvp-btn-r, 999px); }
