/* "Adelya on Instagram": a small stack of real post cards (functions/adelya-posts.php). */
.aap{--aap-ink:var(--aduk-page-ink,#29332c);--aap-muted:var(--aduk-page-muted,#536054);--aap-line:var(--aduk-page-line,#d6dcd5);--aap-action:var(--aduk-page-action,#294b3c);--aap-paper:var(--aduk-page-paper,#f4f2eb);width:100%;max-width:400px;margin:0 auto;color:var(--aap-ink);font-size:15px;line-height:1.45}
.aap-inside{padding:8px 0 24px}
.aap-stack{display:grid;position:relative;margin-right:28px;outline:0;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.aap-stack:focus-visible{outline:3px solid var(--aduk-page-focus,#8b491f);outline-offset:6px;border-radius:10px}
.aap-card{grid-area:1/1;display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--aap-line);border-radius:10px;overflow:hidden;box-shadow:0 22px 44px -30px rgba(41,51,44,.5);transform-origin:50% 100%;transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .35s ease-out}
.aap-card:not(:first-child){visibility:hidden}
.aap.is-ready .aap-card{visibility:visible}
.aap.is-ready .aap-card[data-pos="0"]{z-index:4}
.aap.is-ready .aap-card[data-pos="1"]{z-index:3;transform:translate(14px,-6px) rotate(2.4deg) scale(.97)}
.aap.is-ready .aap-card[data-pos="2"]{z-index:2;transform:translate(26px,-10px) rotate(4.6deg) scale(.94)}
.aap.is-ready .aap-card[data-pos="hidden"]{z-index:1;opacity:0;transform:translate(26px,-10px) rotate(4.6deg) scale(.94)}
.aap.is-ready .aap-card:not([data-pos="0"]){pointer-events:none}
.aap.is-ready .aap-card:not([data-pos="0"]) .aap-photo img{filter:saturate(.85) brightness(.97)}
.aap-card.is-dragging{transition:none;cursor:grabbing}
.aap-card.is-leaving{opacity:0}
.aap-head{display:flex;align-items:center;gap:10px;padding:10px 12px}
.aap-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px var(--aap-line)}
.aap-who{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.aap-who b{font-size:14px;font-weight:600}
.aap-who span{font-size:12px;color:var(--aap-muted)}
.aap-photo{position:relative;aspect-ratio:4/5;background:var(--aap-paper);overflow:hidden}
.aap-photo img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;-webkit-user-drag:none;pointer-events:none}
.aap-body{padding:10px 14px 14px}
.aap-stats{display:flex;gap:16px;margin:0 0 6px;font-size:14px;font-weight:600}
.aap-stat{display:inline-flex;align-items:center;gap:6px}
.aap-stat svg,.aap-arrow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.aap-caption{margin:0;font-size:14px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.aap-caption b{font-weight:600;margin-right:2px}
.aap-date{margin:6px 0 0;font-size:12px;letter-spacing:.02em;color:var(--aap-muted)}
.aap-date a{color:inherit!important;text-decoration:none!important}
.aap-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.aap-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 28px 0 0}
.aap-nav[hidden]{display:none}
.aap .aap-arrow{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px!important;min-height:0!important;margin:0!important;padding:0!important;border:1px solid var(--aap-line)!important;border-radius:50%!important;background:#fff!important;color:var(--aap-ink)!important;letter-spacing:0!important;cursor:pointer;transition:border-color .15s ease-out}
.aap .aap-arrow:hover{border-color:var(--aap-action)!important}
.aap .aap-arrow:focus-visible{outline:3px solid var(--aduk-page-focus,#8b491f);outline-offset:2px}
.aap-dots{display:flex;gap:6px}
.aap-dot{width:6px;height:6px;border-radius:50%;background:var(--aap-line);transition:background .2s ease-out,width .2s ease-out}
.aap-dot.is-current{width:18px;border-radius:3px;background:var(--aap-action)}
.aap-follow{display:inline-block;margin-top:14px;font-size:14px;color:var(--aap-muted)!important;text-underline-offset:4px}
@media(max-width:600px){.aap{max-width:340px}.aap-stack,.aap-nav{margin-right:22px}}
@media(prefers-reduced-motion:reduce){.aap-card,.aap-dot{transition:none}}
@media print{.aap-nav{display:none}}
