/* Focused Garage purchase sheet, shared by wallet and native store builds. */
.membership.membership--paywall { padding: 0; overflow: hidden; background: #07080bac; backdrop-filter: blur(12px); }
.membership--paywall > .membership__sheet { display: none; }
.garage-paywall { --paywall-accent: #e0b5ff; --paywall-button: #dbb2fb; position: absolute; inset: auto 0 0; z-index: 2; display: flex; flex-direction: column; width: min(100%, 500px); max-height: calc(100dvh - max(20px, env(safe-area-inset-top))); margin: 0 auto; overflow: hidden; border: 1px solid #ffffff24; border-bottom: 0; border-radius: 28px 28px 0 0; background: #141418; color: #faf8fc; box-shadow: 0 -16px 80px #0008; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; transform: translateY(var(--paywall-drag, 0px)); animation: garage-paywall-enter .32s cubic-bezier(.2,.8,.2,1); transition: transform .2s ease; }
.garage-paywall[data-plan="bull"] { --paywall-accent: #efc680; --paywall-button: #f0c37e; }
.garage-paywall.is-dragging { transition: none; }
.garage-paywall__handle { position: absolute; top: 0; left: 50%; z-index: 5; width: 100px; height: 28px; transform: translateX(-50%); touch-action: none; cursor: grab; }
.garage-paywall__handle::after { content: ''; position: absolute; top: 10px; left: 30px; width: 40px; height: 4px; border-radius: 9px; background: #ffffff70; box-shadow: 0 1px 8px #0007; }
.garage-paywall__close { position: absolute; top: 18px; right: 16px; z-index: 5; width: 44px; height: 44px; border: 1px solid #ffffff30; border-radius: 50%; background: #111319a8; color: #fff; font: 26px/1 Arial,sans-serif; cursor: pointer; backdrop-filter: blur(8px); }
.garage-paywall__scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #66616f #141418; }
.garage-paywall__hero { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #21172b; }
.garage-paywall__hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.garage-paywall__hero::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #141418); pointer-events: none; }
.garage-paywall__edition { position: absolute; z-index: 1; bottom: 13px; left: 24px; right: 24px; display: flex; flex-wrap: wrap; gap: 7px 12px; justify-content: space-between; color: #eee2f8; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.garage-paywall__edition span { color: #d2c6dca8; font-size: 9px; }
.garage-paywall__story { padding: 0 24px 18px; }
.garage-paywall__kicker { margin: 3px 0 6px; color: var(--paywall-accent); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.garage-paywall h2 { margin: 0; color: #fff; font-family: inherit; font-size: clamp(28px,7vw,36px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; text-transform: none; }
.garage-paywall__tagline { margin: 8px 0 0; color: #eee6f4; font-size: 16px; font-weight: 600; }
.garage-paywall__description { margin: 8px 0 15px; color: #ada7b7; font-size: 13px; line-height: 1.5; }
.garage-paywall__benefits { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.garage-paywall__benefits span { padding: 7px 9px; border: 1px solid #ffffff16; border-radius: 8px; background: #ffffff06; color: #d4cddc; font-size: 11px; }
.garage-paywall__includes { border-top: 1px solid #ffffff12; }
.garage-paywall__includes summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: 12px; color: #d7d1df; list-style: none; }
.garage-paywall__includes summary::-webkit-details-marker { display: none; }
.garage-paywall__includes summary > span { color: #a29aaf; }
.garage-paywall__includes summary > span::after { content: ' +'; margin-left: 6px; }
.garage-paywall__includes[open] summary > span::after { content: ' −'; }
.garage-paywall__includes ul { list-style: none; padding: 0; margin: 0; }
.garage-paywall__includes li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #ffffff09; color: #e1dbe8; font-size: 12px; }
.garage-paywall__includes small { display: block; color: #8f879d; font-size: 10px; margin-bottom: 3px; }
.garage-paywall__includes li > span:last-child { color: #8f879d; font-size: 10px; }
.garage-paywall__includes li.is-owned > span:last-child { color: #9bdcb5; }
.garage-paywall__ownership { margin: 8px 0 0; color: #afc3b9; font-size: 11px; line-height: 1.45; }
.garage-paywall__footer { flex: 0 0 auto; padding: 14px 24px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid #ffffff13; background: #19181eeF; box-shadow: 0 -12px 28px #09080c38; }
.garage-paywall__price { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.garage-paywall__price > div > span { display: block; margin-bottom: 3px; color: #a39aae; font-size: 9px; letter-spacing: .1em; }
.garage-paywall__price strong { font-size: 20px; line-height: 1.1; color: #f7f0fd; overflow-wrap: anywhere; }
.garage-paywall__price p { margin: 0; flex-shrink: 0; text-align: right; color: #a69eaf; font-size: 10px; line-height: 1.5; }
.garage-paywall__buy { display: flex; justify-content: center; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 12px 16px; border: 0; border-radius: 14px; background: var(--paywall-button); color: #25162e; font: 750 13px/1.35 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; cursor: pointer; touch-action: manipulation; }
.garage-paywall__buy > span { font-size: 21px; font-weight: 400; }
.garage-paywall__buy:not(:disabled):active { transform: scale(.985); }
.garage-paywall__buy:disabled { background: #34303b; color: #b4abba; cursor: default; }
.garage-paywall__status { margin-top: 8px; color: #aaa2b4; font-size: 11px; line-height: 1.4; text-align: center; }
.garage-paywall__status:empty { display: none; }
.garage-paywall__status[data-state="error"], .garage-paywall__status[data-state="unavailable"] { color: #edb18c; }
.garage-paywall__status[data-state="success"] { color: #9bdcb5; }
.garage-paywall__links { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 8px; margin-top: 4px; }
.garage-paywall__help summary { display: flex; align-items: center; min-height: 36px; color: #b7afc1; font-size: 11px; cursor: pointer; list-style: none; }
.garage-paywall__help summary::-webkit-details-marker { display: none; }
.garage-paywall__help-actions { position: absolute; z-index: 6; bottom: calc(100% + 6px); left: 0; right: 0; padding: 12px 16px; border: 1px solid #ffffff20; border-radius: 14px; background: #25212d; box-shadow: 0 6px 24px #0008; }
.garage-paywall__help-actions p { margin: 0 0 3px; color: #e1dbe8; font-size: 12px; }
.garage-paywall__help-actions button { display: block; width: 100%; text-align: left; }
.garage-paywall__links button { min-height: 36px; padding: 6px 0; border: none; background: none; color: #b7afc1; font: 11px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; cursor: pointer; }
.garage-paywall__links button:disabled { color: #6c6575; }
.garage-paywall__links > [data-membership-restore] { min-height: 44px; padding: 8px 4px; color: var(--paywall-accent); font-size: 13px; font-weight: 600; touch-action: manipulation; }
.garage-paywall__links > [data-membership-restore]:disabled { color: #8e819b; }
.garage-paywall button:focus-visible, .garage-paywall summary:focus-visible { outline: 2px solid var(--paywall-accent); outline-offset: 3px; }
@keyframes garage-paywall-enter { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (min-width: 700px) and (min-height: 600px) { .garage-paywall { bottom: 20px; border-bottom: 1px solid #ffffff24; border-radius: 28px; max-height: calc(100dvh - 40px); } }
@media (max-height: 540px) and (min-width: 600px) {
    .garage-paywall { width: min(760px, 100%); max-height: calc(100dvh - 12px); }
    .garage-paywall__content { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
    .garage-paywall__hero { position: sticky; top: 0; aspect-ratio: auto; height: 230px; }
    .garage-paywall__story { padding: 24px 18px 10px; }
    .garage-paywall h2 { font-size: 27px; }
    .garage-paywall__description { font-size: 12px; margin: 6px 0 10px; }
    .garage-paywall__tagline { font-size: 13px; }
    .garage-paywall__close { top: 10px; right: 10px; width: 36px; height: 36px; }
    .garage-paywall__footer { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; padding: 10px max(20px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left)); }
    .garage-paywall__price { margin-bottom: 0; }
    .garage-paywall__buy { min-height: 44px; }
    .garage-paywall__status { grid-column: 1 / -1; margin-top: 5px; }
    .garage-paywall__links { grid-column: 1 / -1; justify-content: center; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { .garage-paywall, .garage-paywall * { animation: none !important; transition: none !important; } }
